1 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
5 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
10 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
12 * text2.C: fixed the fix, extended to other case.
14 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
16 * text2.C: fix for cursor up/down stuck in math [bug 1792]
18 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
20 * text2.C (cursorUp): get rid of a crash
21 * text.C (x2pos): add an assert
23 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
25 * lyxfunc.C (getStatus): fix warning when assertions are disabled
29 * dociterator.C: include <boost/current_function.hpp>, which is
30 needed when assertions are disabled.
32 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
34 * text2.C: fix for stuck cursor when traversing two
35 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
37 2005-02-25 Andreas Vox <avox@arcor.de>
39 * output_docbook.C (makeParagraph): suppress trailing newline
40 after a run of paragraphs
42 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
44 * paragraph.C: fix for confused change tracker when pasting
45 text that begins with a lineseparator. [bug 1827]
46 (setChange(0, Change::INSERTED);)
48 * paragraph_funcs.C: fix for lost changes on triple-paste
49 in change tracking mode [bug 1827] (par.setChange()).
51 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
53 * text2.C (updateCounters, setCounter, expandLabel): move to
56 * buffer_funcs.C (updateCounters): turn into a free standing
57 function and add a buffer parameter. Remove dead code for tracking
59 (setCounter): change into a free-standing function which gets a
60 dociterator as argument. Use this iterator to fix captions in a
61 simple way. When no float is found above the caption, use the
62 labelstring of the caption layout as default.
64 * text.C (breakParagraph, backspace):
65 * text2.C (init, setLayout, changeDepth):
67 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
70 * dociterator.C (forwardPar): make it much faster by calling
71 forwardPos() only when really necessary.
73 * output_docbook.C (makeCommand): adapt to expandLabel move.
75 * cursor.C: remove unused variable
77 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
79 * paragraph_funcs.C: fix crash when pasting insets in change
80 tracking mode [bug 1277] (honour change type in moveItem).
82 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
84 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
86 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * BufferView.C (setCursor): change to use a DocIterator.
89 (gotoLabel): use BufferView::setCursor (other part of bug 781).
90 (putSelectionAt): adapt to BufferView::setCursor change.
92 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
93 moved here from LyXText and rewritten to use proper cursor
94 methods. Fixes bug 1787, 616 and 835.
96 * BufferView_pimpl.C (restorePosition): set the cursor correctly
97 when inside an inset (part of bug 781).
98 (dispatch): adapt to change of BufferView::setCursor.
99 (getStatus, dispatch): handle LFUN_GOTOERROR,
100 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
102 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
103 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
104 * text3.C (gotoNextInset, gotoInset): removed.
106 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
108 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
110 2005-02-15 Angus Leeming <leeming@lyx.org>
112 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
113 can be used meaningfully in a comparison.
115 2005-02-13 André Pönitz <poenitz@gmx.net>
117 * bufferview_funcs.C (coordOffset): improve cursor drawing
119 2005-02-13 André Pönitz <poenitz@gmx.net>
121 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
122 * Cursor.C (dispatch): use fixIfBroken
123 * lyxfunc.C (getStatus): use fixIfBroken
125 2005-02-15 Angus Leeming <leeming@lyx.org>
127 * lyx_main.C (error_handler):
129 * lyxrc.C (setDefaults):
131 #include "environment.h".
133 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
135 2005-02-15 Angus Leeming <leeming@lyx.org>
137 * lyxserver.C (startPipe): squash MSVC warning "local variable
138 'fd' used without having been initialized".
140 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
142 * BufferView_pimpl.C: revert accidental commit.
144 2005-02-14 André Pönitz <poenitz@gmx.net>
146 * dociterator.[Ch]: new member forwardPosNoDescent(),
147 which doesn't enter nested insets.
148 * text2.C (setFont): use forwardPosNoDescent() instead
149 of ForwardPos() (fixes crash on font change).
151 2005-02-13 Angus Leeming <leeming@lyx.org>
153 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
154 only if lyxrc.path_prefix is not empty.
156 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
158 * bufferparams.C (readGraphicsDriver): prevent crash
160 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
162 * text2.C (setCounter): check for inInset() == 0
164 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
167 but use update() to get correct screen display; use convert
168 instead of istringstream.
169 (getStatus): handle LFUN_GOTO_PARAGRAPH
171 * lyxfunc.C (dispatch, getStatus): do not handle
172 LFUN_GOTO_PARAGRAPH here.
174 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
176 * text3.C (dispatch): size() -> depth()
178 * text2.C: remove some debug output
180 * paragraph.C: ws changes only
182 * lyxfunc.C (getStatus): size() -> depth()
184 * dociterator.h (clear, push_back, pop_back, internalData,
185 operator[], resize, empty): new functions
186 Make StableDocIterator and operator== be friends. Don't inherit
187 from std::vector use a privat class variable slices_ instead.
190 * dociterator.C: update because of not inheriting from std::vector
191 anymore. Call explictly to slices_ instead. Use depth() instead of
192 size() and top() instead of back()
194 * cursor.C: chagne size() -> depth and back() -> top(). Also
195 remove some direct operator[](i) calls in favour of foo[i]
196 (getFont): remove some dead code
198 * bufferview_funcs.C (coordOffset): size() -> depth()
200 * buffer.C: ws changes only
202 * CutAndPaste.C (eraseSelection): back() -> top()
204 * BufferView_pimpl.C (selectionRequested): back() -> top()
206 * BufferView.C (setCursor): size() -> depth()
208 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
210 * text3.C (cursorPrevious): return true if depm changed something
212 (dispatch): rename sl to oldTopSlice, remove moving use the new
213 NoUpdate func attrib instead. Make sure that needsUpdate is set
214 for function that have NoUpdate, but where depm might have changed
217 * text2.C (cursorLeft): make us return true if depm changed
220 (cursorUpParagraph): ditto
221 (curosrDownParagraph): ditto
222 (cursorUp, cursorDown): ditto, make sure to read comments in code
223 (deleteEmptyParagraphMechanism): remove an assert, also return
224 true if just a single char was deleted.
226 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
227 cursor that we modify, to avoid modifying an active cursor before
228 we call setCursor. This allows depm to run. Also return true if
229 depm deleted something.
231 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
232 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
233 cursorDownParagraph, cursorPrevious and cursorNext, return true if
234 something was changed in the buffer because of them (ie. depm run)
236 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
237 debug messages. Make update by default be false. Make sure that
238 the result of update is retained throught several calls down to
241 * LyXAction.h: add a new func_attrib: NoUpdate
243 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
244 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
245 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
247 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
249 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
252 bv_->owner(), bv_->buffer() by direct references to the private
254 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
255 (getStatus): isSavedPosition() is in BufferView::Pimpl.
256 (fitCursor): center() is in BufferView::Pimpl.
257 (getStatus, trackChanges, dispatch): no need for a temporary buf
259 (fitCursor, workAreaDispatch): use workarea().workheight()
261 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
263 * CutAndPaste.C (pasteSelectionHelper): fix a crash
265 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
267 * buffer.C: format up to 241.
268 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
269 break if pasting into ERT
270 * lyxfunc.C (getStatus): suppress mathpanel and
271 LFUN_DIALOG_SHOW_NEW_INSET in ERT
273 2005-02-01 Angus Leeming <leeming@lyx.org>
275 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
277 2005-02-01 Angus Leeming <leeming@lyx.org>
279 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
280 calling fs::is_directory().
282 2005-01-31 Angus Leeming <leeming@lyx.org>
284 * lyx_main.C (priv_exec): specify explicitly the relative location
285 of the top level build directory when run in-place.
287 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
290 LyXText containing the cursor, not the top-level one.
292 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
294 (insertStringAsLines): rename par to pit; use temporary variable
295 par to hold a Paragraph; do not store par.layout() in a variable,
296 since the pointer may die when breaking paragraphs; pass pars to
297 breakParagraph() instead of Buffer::paragraphs().
299 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
301 * lyxlex_pimpl.h: #include <fstream>.
303 * BufferView.[Ch] (getLyXText): add a const version.
305 * BufferView_pimpl.C: add debug aids.
310 * paragraph_funcs.h: add commentary explaining what the class does.
313 * coordcache.[Ch]: add lots of commentary.
314 (startUpdating, doneUpdating): debug aids.
315 (arrays, insets, parPos, getParPos): accessors to private data.
317 * cursor_slice.[Ch] (text): add a const version.
318 * dociterator.[Ch] (text, innerText): add const versions.
320 * lyxtext.h (breakParagraph): change the keep_layout arg to a
323 * paragraph.C (getRow, pos2ros): add asserts.
325 * paragraph.h: add commentary. Lots of.
327 * paragraph.[Ch] (metrucs, draw): removed.
330 * rowpainter.[Ch]: const-correct changes.
332 * text.C: various obvious clean-ups. Removal of ancient cruft.
335 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
337 * vc-backend.C (find_file): rewrite to use boost.filesystem
340 * main.C (main): set default name check for boost.filesystem to
343 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
346 (actOnUpdatedPrefs): ditto
348 * lyx_main.C (init): rewrite to use boost.filesystem
349 (queryUserLyXDir): ditto
351 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
352 (getContentsOfAsciiFile): ditto
354 * lastfiles.C (readFile): rewrite to use boost.filesystem
356 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
358 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
361 * buffer.C (Buffer): adjust for destroydir
362 (getLogName): rewrite to use boost.filesystem
364 (save): use fs::copy_file (from fs_extras)
366 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
368 * LaTeX.C (run): rewrite to use boost.filesystem
369 (scanAuxFiles): ditto
370 (handleFoundFile): ditto
372 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
374 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
376 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
378 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
380 * lyxlayout.[Ch]: change some vars from float to double
382 * buffer.C (readFile): make a local var const
384 * Several files: use convert<> instead of atoi,strToXXX and friends
386 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
388 * LaTeXFeatures.[Ch]: Add a static list packages_ that
389 holds the contents of packages.lst. New functions getAvailable
390 and isAvailable to parse and check that list, resp.
394 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
396 * bufferparams.[Ch]: new param output_changes.
398 * Buffer.C: increase file format to 240.
399 Use output_changes and isVailable.
403 * paragraph_pimpl.C: Use output_changes and isVailable.
405 2005-01-23 Angus Leeming <leeming@lyx.org>
407 * output_latex.C: #include "insetbibitem.h", rather than
408 forward declare function bibitemWidest.
410 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
412 * lyx_main.C (init): make it compile on the Mac.
414 2005-01-20 Angus Leeming <leeming@lyx.org>
416 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
417 (setLyXMisc): (char string literal) != (char string literal) is
418 performing a comparison on the addresses. Convert one operand
419 explicitly to string to guarantee expected behaviour.
422 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
425 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
427 * output_plaintext.C: remove unneeded #include gzstream.h.
429 2005-01-20 Angus Leeming <leeming@lyx.org>
431 * SpellBase.h: rename some of the elements of the Result enum.
438 * pspell.C (check): ditto
440 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
442 * buffer.C: add #include <fstream>.
444 * lyx_main.C (init): Compile fix.
446 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
448 2005-01-20 Angus Leeming <leeming@lyx.org>
450 * mover.h: change commentary to reflect the changed meaning of
453 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * output_linuxdoc.C (linuxdocParagraphs): silence warning
457 * lyxfind.C (MatchString::operator()): remove bogus semicolon
459 2005-01-20 Angus Leeming <leeming@lyx.org>
461 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
462 printing diagnostic data by not dereferecing an iterator past the
465 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
467 * buffer.C (readHeader): use "&&" rather than "and".
469 * lyxserver.h (inPipeName, outPipeName): make these const.
471 2005-01-19 Angus Leeming <leeming@lyx.org>
473 * lyx_main.C (error_handler, init): protect SIGHUP with
474 #ifdef SIGHUP guards.
476 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
480 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * text.C (setHeightOfRow): add a margin at the top and bottom of
483 the document (bug 1761)
485 2005-01-17 Angus Leeming <leeming@lyx.org>
487 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
488 with "python ". Workaround for a brain-dead Windows.
490 2005-01-16 Angus Leeming <leeming@lyx.org>
492 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
493 for MacOSX and Windows to use prependEnvPath.
494 Strip out the hard-coded block to add elements to the PATH for
495 MacOSX and replace it with a call to prependEnvPath using the
496 contents of LyXRC::path_prefix.
497 (queryUserLyXDir): strip out the code to run reconfigure, instead
498 returning a boolean indicating the necessity to do so.
499 (reconfigureUserLyXDir): contains the code to reconfigure the
500 user support directory. Is now called after the various LyXRC data
501 files have been read.
503 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
505 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
507 * converter.[Ch] (convert): take a new parameter try_default. Use
508 a default converter (imagemagick) if try_default is true.
510 2005-01-13 Angus Leeming <leeming@lyx.org>
512 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
514 (write): output LyXRC::cygwin_path_fix as necessary.
516 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
519 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
521 2005-01-12 Angus Leeming <leeming@lyx.org>
523 * lyx_main.C (init): set the PATH variable to include the
524 directory containing the LyX binary when running on Mac or Windows.
526 2005-01-12 Angus Leeming <leeming@lyx.org>
528 * lyx_main.C (init): remove cruft that purports to set the locale
529 dir. It doesn't and is not needed anyway.
531 2005-01-10 Angus Leeming <leeming@lyx.org>
533 * Makefile.am: remove the lyx_main.C special casing.
535 * BufferView_pimpl.C:
541 * messages.C: use support/package.h to provide the paths to the
542 various directories used by LyX.
544 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
546 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
547 layout if pasting into an empty paragraph)
549 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * tex-accent.C: add <string>
553 2005-01-06 José Matos <jamatos@lyx.org>
555 * ParagraphParameters.C (write): put every parameter in its own line.
556 * paragraph.C (write): reduce number of consecutive empty lines exported.
557 * buffer.C (LYX_FORMAT): increase file format to 239.
559 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
561 * everywhere: change support/tostr.h -> support/convert.h
563 * tabular.C: make all write_attributes templates, tostr -> convert
565 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
566 (emptyTag): and -> &&, and fix type for ret from getChar
567 (getFirstWord): fix type for ret from getChar
568 (onlyText): and -> &&
569 (simpleDocBookOnePar): and not -> && !, fix type for ret from
572 * toc.C (goTo, action):
573 * text3.C (dispatch):
574 * text.C (currentState):
575 * tex-accent.C (DoAccent):
578 * lyxfunc.C (menuNew):
579 * lyxfinc.C (replace):
580 * counters.C (laberItem):
581 * bufferview_funcs.C (font2string):
582 * bufferparams.C (writeFile):
583 * buffer.C (readFile):
585 * MenuBackend.C: tostr -> convert
587 * LaTeX.C (runMessage): fix format
588 (scanAuxFiles): tostr -> convert
590 * BufferView_pimpl.C (savePosition): fix format
591 (restorePosition): ditto
594 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
596 * Spacing.[Ch]: New method getValueAsString().
600 * ParagraphParameters.C:
603 * text3.C: store/read spacing value as string.
605 * rowpainter.C: change float value (spacing_val) to double.
607 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
608 broken custom document spacing).
610 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
612 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
613 namespace, also more use of temp references and const
615 * cursor.[Ch] (getStatus): move to lyxfunc.C
617 * bufferparams.C: reformat slightly
619 * bufferview_funcs.C (font2string): constify arg
625 * buffer_funcs.C: (many funcs): constify arg on function
626 definitions, also make more local vars const, also add ASSERTS on
629 * buffer.C (LYX_FORMAT): put const in correct place
630 (many funcs): constify arg on function definitions, also make
631 more local vars const
633 * aspell_local.h: remove "struct" from typdef setup
635 * aspell.C (check): make word_ok const
636 (nextMiss): simplify slightly
639 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
641 * lyxrc.[Ch]: store all float values as strings.
642 use int (not float) for lyxrc.dpi.
644 2005-01-04 Angus Leeming <leeming@lyx.org>
646 * lyx_cb.C (Reconfigure):
647 * lyx_main.C (queryUserLyXDir):
648 to run the <system_lyxdir>/configure correctly on Windows, prefix
649 the path to the script with "sh " when generating the string that
650 is passed to system().
652 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
654 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
656 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * lyxlength.C (asLatexString): get rid of setprecision
660 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
662 * text2.C (setLayout): remove unused variable endpit.
663 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
665 * paragraph.C (onlyText): remove unused variable style.
667 * cursor.C (bruteFind): remove unused variables beg and end.
669 * Makefile.am (dist_noinset_DATA): not needed anymore
671 * cheaders/*: remove.
673 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
675 * text3.C: fix LFUN_MATH_MODE.
677 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
679 * buffer_funcs.C (countWords): new function. Counts words between
682 * BufferView_pimpl.C (getStatus, dispatch): handle
685 * LyXAction.C (init):
686 * lfuns.h: add LFUN_WORDS_COUNT.
688 2004-12-19 Angus Leeming <leeming@lyx.org>
690 * buffer.C (save): s/slashify_path/internal_path/.
692 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
694 * lyxfind.C (findChange): do not search for end of pars, because
695 the change tracker cannot handle this (fixes bug 1719).
697 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
699 * paragraph.[Ch] (autoBreakRows): remove
701 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
703 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
704 avoid using the paragraph one
706 * text2.C (LyXText, insertStringAsLines): adjust
708 2004-12-16 Angus Leeming <leeming@lyx.org>
712 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
714 2004-12-14 Angus Leeming <leeming@lyx.org>
716 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
718 * bufferlist.C (emergencyWrite):
719 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
722 2004-12-14 Angus Leeming <leeming@lyx.org>
724 * main.C: (main): no longer pass pointers to os::init.
726 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
728 * undo.C (textUndoOrRedo): simplify logic, fix a crash
729 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
731 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
734 * text3.C: remove selection_possible global flag
736 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
738 * text2.C (getSelectionSpan): remove
739 (changeDepth, changeDepthAllowed): adjust
741 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
743 * Makefile.am (BOOST_LIBS): use boost variables
745 2004-12-03 José Matos <jamatos@lyx.org>
747 * buffer.C: format up to 238.
749 2004-12-03 José Matos <jamatos@lyx.org>
751 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
753 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
755 * cursor.C (goUpDown): remove call to idxUpDown2
757 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
759 * tabular.[Ch]: use size_t-like types for cell, row and column
762 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * lyxfunc.C (getStatus): do not lose previous information when
765 calling BufferView::getStatus; do not set a default "Command
766 disabled" message at the beginning, but just before returning.
768 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
770 * cursor.h (getStatus): add better comment from src/cursor.C
772 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
774 * text3.C (getStatus): return false when the lfun is not handled
776 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * broken_headers.h: remove
780 * Makefile.am (lyx_SOURCES): remove broken_headers.h
782 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
784 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
787 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
788 top_y_, merge fitcursor with update
789 (updateScrollbar, scrollDocView, fitCursor, center, update): new
792 (workAreaDispatch): adapt to new coord scheme
793 (redoCurrentBuffer): remove
795 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
797 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
800 * coordcache.[Ch]: add paragraph cache and helpers
802 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
805 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
806 (targetX, setTargetX): introduce
808 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
809 baseline -> ascent, as the rest of lyx
811 * lyxtext.h: remove redoParagraphs, updateParPositions,
812 fullRebreak, redoParagraphInternal. move dist to anon namespace in
813 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
814 have ascent/descent (ascent is ascent of first par)
816 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
819 * paragraph.[Ch]: unify dimension handling with the rest of lyx
821 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
823 * pariterator.C: fix infinite loop introduced in par->pit renaming
825 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
826 in insets and LyXText, draw two off-screen paragraphs using
827 NullPainter, and adapt to new coord scheme
831 * text3.C: adapt lfun handlers to the new coord scheme, which
832 means: there's only guaranteed coord information for onscreen pars
833 plus one above and one below. This implies that one can do search
834 from y coordinates in the range [-1,workHeight]
836 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
838 * rename a lot of InsetOld to InsetBase
840 2004-11-25 Angus Leeming <leeming@lyx.org>
842 * BufferView_pimpl.C:
844 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
846 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
848 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
849 call BufferView::getStatus if LCursor::getStatus did nothing
850 (setStatusMessage, getStatusMessage): removed.
852 * FuncStatus.C (message): new methods. Used to provide an error
853 message indicating why a command is disabled.
854 (clear, |=, FuncStatus): update for message.
856 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
858 * lyxfunc.C (dispatch): always call sendDispatchMessage
860 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
863 * BufferView_pimpl.C:
877 * undo.C: par->pit renaming
879 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
881 * tabular.C (cellstruct): use initialization, store a shared_ptr
882 to insettext instead of the insettext directly, adjust to fit.
883 (operator=): new function
885 (rowstruct): use initialization
886 (columnstruct): use initialization
887 (ltType): use initialization
890 * lyxlength.h (swap): new function
892 * LColor.[Ch] (operator=): use the common semantics
894 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * lyxfind.C (findNextChange): update the bufferview after setting
899 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
901 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
902 number of InsetOptArgs has already been inserted.
904 * output_latex.C (latexOptArgInsets): new method. This outputs all
905 the optarg insets, up to the limit defined in the layout file.
906 (optArgInset): removed
907 (TeXOnePar): call latexOptArgInsets; correctly update texrow
909 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * paragraph.C (isLetter): remove special spellchecker-related
912 code; return true also for digits
913 (isWord, isKomma): remove
915 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
916 * lyxfind.C (MatchString()): use isLetter instead of isWord
918 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
920 * pariterator.h (operatir=): comment out un-implemented member
923 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
926 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
928 * lyxfont.h: include LColor.h to satisfy concept checks.
930 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
932 * pariterator.h: add typdefs for value_type, difference_type,
933 pointer and reference to satisfy concept checks. Also add default
934 constructor for same reason.
936 * pariterator.C (operator++): add post-increment operator to
937 satisfy concept checks.
939 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
942 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
944 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
945 checks. Also rename base_type to BaseType to follow naming
948 * FloatList.h: include Floating.h to satisfy concept checks.
950 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
952 * lyxfunc.C (getStatus): when the origin of the request is menu or
953 toolbar, and the LyXView does not have focus, do as if there was
956 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
957 FuncRequest to individual entries of LFUN_SEQUENCE
959 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
961 * output_latex.C (TeXOnePar): override runparams.moving_arg
962 according to the needprotect value of the current paragraph (bug
965 * paragraph.C (simpleTeXOnePar): no need to override
966 runparams.moving_args here
968 2004-11-14 John Spray <spray_john@users.sourceforge.net>
970 * vspace.C: fix off-by-one-error, related to fix #1682
972 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * lengthcommon.C: a more general fix for bug 1682
976 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
978 * text.C (backspace): fix crash
980 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
982 * format.[Ch] (getFormatFromFile): new method
983 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
985 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
987 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
989 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * lyxfunc.C (dispatch): remove the verbose argument
992 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
995 * kbmap.C (defkey): set the origin of func to KEYBOARD
997 * MenuBackend.C (MenuItem):
998 * ToolbarBackend.C (add): set the origin of func to UI
1000 * funcrequest.[Ch]: add origin member, which indicates which part
1001 of LyX requests an action
1003 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1005 * converter.C (move): don't lie in the error message
1006 * converter.h (isReachable, move): document
1008 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1010 * buffer.C: remove unused using lyx::support::atoi
1011 * paragraph_funcs.C: ditto
1013 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1015 * bufferlist.C (exists): use bind and equal_to instead of
1018 * lyxtextclasslist.C (NumberOfClass): ditto
1020 * cursor.C (insert): use for_each instead of explicit for loop
1022 * bufferlist.C (getFileNames): use std::transform and
1023 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1025 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1028 * buffer.C (changeLanguage): use for_each instead of explicit for
1030 (hasParWithID): implement using getParFromID
1032 * LaTeXFeatures.C: ws change only
1034 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1037 * BufferView_pimpl.C (trackChanges): use for_each instead of
1040 2004-11-04 André Pönitz <poenitz@gmx.net>
1043 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1045 * dociterator.C (asDocIterator): use hard assert again.
1047 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1049 * lyxlength.C (asLatexString): rewrite so that it does not use
1052 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * text3.C (specialChar, dispatch): make sure cursor moves to the
1055 right after inserting an inset
1057 2004-11-02 José Matos <jamatos@lyx.org>
1059 * output_docbook.C (docbook):
1060 * paragraph.C (getID):
1061 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1062 garantee that the output is always legal.
1064 * tabular.C (docbook):
1065 * outputprams.[Ch]: remove mixed contents.
1067 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1069 * text2.C (setCounter): prevent endless loop
1071 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1073 * exporter.C (copyFile): use the mover instead of support::copy()
1074 * exporter.C (Export): pass format and latex name to copyFile()
1075 * exporter.h (addExternalFile): document
1076 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1078 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1080 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1082 2004-10-30 José Matos <jamatos@lyx.org>
1084 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1085 text and no inset or font change. This allows to use CDATA
1086 sections just for the whole paragraph.
1088 2004-10-30 José Matos <jamatos@lyx.org>
1090 * paragraph.C (getFirstWord): remove unused variable.
1092 2004-10-30 José Matos <jamatos@lyx.org>
1094 * paragraph.C (getFirstWord): the content should always be escaped
1096 (simpleDocBookOnePar):
1097 * output_docbook.C (makeEnvironment): replace reference to CDATA
1100 2004-10-30 José Matos <jamatos@lyx.org>
1102 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1104 2004-10-30 José Matos <jamatos@lyx.org>
1106 * output_docbook.C (makeParagraphs):
1107 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1108 standard paragraph has only a given type of content drop the wrapper.
1110 2004-10-29 José Matos <jamatos@lyx.org>
1112 * output_docbook.C (makeEnvironment):
1114 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1116 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1118 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1119 (cleanID): sanitize any id.
1121 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1123 * buffer.C, lyxlex_pimpl.C:
1124 * lyxlex_pimpl.C (setFile):
1125 s/getExtFromContents/getFormatFromContents/
1127 2004-10-28 José Matos <jamatos@lyx.org>
1129 * output_docbook.C (makeEnvironment): move id to broadest possible
1132 * sgml.C (openTag): apply substitution of <> for all attributes.
1134 2004-10-28 José Matos <jamatos@lyx.org>
1136 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1137 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1138 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1140 * sgml.[Ch]: new version for open and closeTag for paragraph and
1141 for strings. Now they handle the ids of paragraphs.
1143 2004-10-26 Angus Leeming <leeming@lyx.org>
1145 * Makefile.am: add mover.[Ch].
1147 * converter.C (convert, move): use the new Movers to move external
1148 files to the temp directory.
1150 * lyx_main.C (init): ensure that the global system_movers data
1153 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1156 * mover.[Ch]: new files, defining a Mover as a utility to move an
1157 external file between directories and, if necessary, manipulate this
1158 file using a helper script.
1160 2004-10-25 José Matos <jamatos@lyx.org>
1162 * output_docbook.C (makeCommand): merge two if's that tested the
1165 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 * sgml.C (escapeString): fix warning in a better way
1169 2004-10-25 José Matos <jamatos@lyx.org>
1171 * sgml.C (escapeString): import the require boosts header file for
1172 tie, and avoid a signed unsigned comparison.
1174 2004-10-25 José Matos <jamatos@lyx.org>
1176 * sgml.h: add #include <string>
1178 2004-10-25 José Matos <jamatos@lyx.org>
1180 * sgml.[Ch] (escapeString): new function to escape all the string.
1182 2004-10-24 José Matos <jamatos@lyx.org>
1184 * paragraph.[Ch] (getFirstWord): new function to get the first
1185 word. Useful for description.
1186 (simpleDocBookOnePar): remove depth argument, add another that
1187 says where to start the paragraph.
1189 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1190 use the new functions to fix cleanly the support for descriptions.
1192 2004-10-24 José Matos <jamatos@lyx.org>
1194 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1195 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1196 * output_linuxdoc.C (linuxdocParagraphs):
1197 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1198 add buffer as argument.
1200 2004-10-24 José Matos <jamatos@lyx.org>
1202 * output_docbook.C (makeEnvironment, searchEnvironment): place
1203 CDATA inside paragraphs and fix scope for listitems.
1205 2004-10-24 José Matos <jamatos@lyx.org>
1207 * output_docbook.C: remove using statement for stack.
1209 2004-10-23 José Matos <jamatos@lyx.org>
1211 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1212 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1213 docbook. The new scheme is recursive and makes use of iterators, the
1214 same as latex export works.
1215 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1216 directly with the paragraph contents. This code was moved up to
1217 output_docbook.C (docbookParagraphs).
1218 * sgml.C (openTag, closeTag): removed unneeded newlines.
1219 (closeEnvTags) removed.
1221 2004-10-23 André Pönitz <poenitz@gmx.net>
1223 * undo.C (textUndoOrRedo):
1224 * dociterator.C (asDocIterator): work around crash
1226 * cursor.C (getStatus): replace ASSERT by more verbose error message
1227 and manual correction of the problem. Should increase stability
1228 while providing more sensible information.
1230 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1234 * bufferlist.C (previous, next): new methods
1237 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1239 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1241 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1242 entities to preamble.
1244 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1246 * messages.C (Pimpl): strip off translation context information
1248 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1250 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1251 the cursor is correct (bug 1694)
1253 2004-10-13 José Matos <jamatos@lyx.org>
1255 * output_docbook.C (docbookParagraphs): fix closing tags in the
1256 end of the document.
1258 2004-10-09 José Matos <jamatos@lyx.org>
1260 * buffer.C: format up to 237.
1261 * bufferparams.C (write): use tostr to convert booleans to strings.
1263 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1265 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1267 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1269 * LaTeX.C: implement use of babel language in xindy.
1271 2004-10-05 José Matos <jamatos@lyx.org>
1273 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1274 Add new translators to help reading and writing the lyx file.
1276 2004-10-05 José Matos <jamatos@lyx.org>
1278 * ParagraphParameters.C (read):
1279 * text.C (readParToken): replace nexToken by more appropriate lex
1282 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1284 * LaTeX.C (runMakeIndex):
1285 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1286 (usually 'makeindex') configurable.
1288 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1289 with a variable rather than with a number.
1291 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * output_latex.C (TeXOnePar): make sure font setting is the first
1294 thing that gets output (and the last at the end). Should fix bug
1297 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1299 * pch.h: use proper signal include
1301 * LaTeX.h: Use preferred calling of Boost.Signal
1304 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1306 * pch.h: dont include <boost/function/function0.hpp>
1308 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1310 * paragraph_pimpl.h: remove usage of ShareContainer
1312 * paragraph_pimpl.C: remove initialization of ShareContainer.
1314 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * BufferView.C (putSelectionAt): change the semantics when
1319 backwards == true: now, this just swaps cursor and anchor wrt the
1322 * BufferView.h (putSelectionAt): add some documentation
1324 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1325 make sure backwardChar is done at least once (to avoid getting
1327 (findNextChange): use putSelectionAt in the forward direction
1328 (operator()): use Paragraph::isWord
1330 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1332 * Spacing.C (set): c_str fix
1334 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1336 * lyx_cb.C (Reconfigure): quote the name of configure script in
1337 case it contains spaces
1339 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1343 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1344 (BOOST_LIBS): use top_buildir when looking for the file
1346 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1348 * pch.h: do not use include boost/format.hpp, multiple symbols
1349 will result (gcc bug)
1352 2004-08-23 José Matos <jamatos@lyx.org>
1354 * bufferparams.C (readToken): fix reading of the author field.
1356 2004-08-20 José Matos <jamatos@lyx.org>
1358 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1360 2004-08-20 José Matos <jamatos@lyx.org>
1362 * lyxlex.[Ch] (findToken): remove function.
1364 * ParagraphParameters.C (findToken):
1365 * bufferparams.C (findToken): replace call for previous function
1366 with local copy. This local function has one more argument, the
1367 read string argument.
1369 2004-08-16 José Matos <jamatos@lyx.org>
1371 * ParagraphParameters.C (write):
1372 * Spacing.C (writeFile):
1373 * bufferparams.C (writeLaTeX):
1374 * lyx_cb.C (Reconfigure):
1375 * paragraph.C (write):
1376 * tabular.C (write): remove unnecessary space at end of line.
1379 2004-08-16 José Matos <jamatos@lyx.org>
1381 * text.C (readParagraph): remove debug message.
1383 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1385 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1388 * output_plaintext.C (asciiParagraph): set depth correctly
1390 * outputparams.h: add member depth
1392 * paragraph_funcs.C (ownerPar): remove.
1394 * text2.C (setCounter): remove first_pit; comment out some
1395 non-working code that uses ownerPar
1397 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1400 2004-08-16 José Matos <jamatos@lyx.org>
1402 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1403 For the same level of importance use the same chanel to report problems.
1404 (read): add code to deal with \begin_body and \end_body.
1407 2004-08-15 José Matos <jamatos@lyx.org>
1409 * lyxlex.C (getString): fix comment, buffer::readBody is now
1410 buffer:readDocument.
1412 * tex-strings.C (string_papersize): Default -> default,
1413 Custom -> custom, for consistency with other options.
1415 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1419 * Makefile.am: support pch
1421 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1423 * text.C (readParToken): remove the static LyXFont variable and
1424 pass it as a parameter instead. This fixes a nasty bug where an
1425 inset will be inserted with a bad font in some situations
1426 (readParagraph): adapt
1428 * text2.C (setCounter): reduce number of calls to pars_[pit]
1430 * text.C (singleWidth): add an assert, fix a test
1432 * rowpainter.C (paintText): reduce number of calls to singleWidth
1434 * paragraph.C (isHfill):
1435 (isNewline): ws only
1437 2004-08-14 André Pönitz <poenitz@gmx.net>
1442 * lyxtext.h (several functions): use a Paragraph & argument
1445 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1447 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1449 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1451 * text.C (singleWidth): remove useless test
1453 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1455 * tabular.h: remove bogus comments
1457 * tabular.C (getDescentOfRow):
1458 (isPartOfMultiColumn): add assertions
1460 * lyxlength.C (inPixels): remove #warning
1462 2004-08-14 André Pönitz <poenitz@gmx.net>
1464 * paragraph.h: inline getChar()
1466 * BufferView.h: remove unused declarations
1468 2004-08-14 José Matos <jamatos@lyx.org>
1470 * Buffer.[Ch] (readDocument): new name for old readBody.
1471 * Buffer.C: new file format, new keywords: \begin_document,
1472 \begin_header, \begin_body, \end_body.
1474 * bufferparams.C (readToken): replace all calls to lex.nextToken
1475 by lex.next(). Do the same to eatLine except where really needed.
1477 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1478 line when writing to the lyx file.
1480 * output_plaintext.C (asciiParagraph): fix Bibliography style
1483 * text.C (read): fix end of file handling.
1485 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1487 * MenuBackend.C (Menu::operator[]): new method to access
1488 individual menu items
1489 (Menu::hasFunc): new method. search for an item that corresponds
1491 (MenuBackend::specialMenu): new method
1492 (MenuBackend::expand): if a special menu has been set, skip
1493 entries whose func() appears in this menu
1495 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1497 * text3.C: use Debug::DEBUG a bit more
1499 * text.C (leftMargin): try to simplify a tiny bit change var x to
1500 l_margin. Dont output the wide margins always.
1501 (rightMargin): no margin in inner texts
1503 * rowpainter.h (nestMargin): new func
1504 (changebarMargin): new func
1505 (rightMargin): new func
1507 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1511 * factory.C (createInset): modify setDrawFrame
1513 * cursor.C: use Debug::DEBUG a bit more
1515 2004-08-14 André Pönitz <poenitz@gmx.net>
1518 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1519 cache for all insets in (at least partially) visible (top-level)
1522 * BufferView_pimpl.C: reset external coord cache before every update.
1523 This means the coord cache only contains valid entries.
1525 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1528 * BufferView_pimpl.C (getInsetByCode): move function out of class
1529 and change in to a template in anon namespace. Also fix to do what
1532 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1535 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1537 (breakParagraph): rename par to par_offset and use a local
1538 reference. Add code to keep the language over a rebreak.
1539 (breakParagraphConservative): rename par to par_offset, use a
1541 (mergeParagraph): ditto
1543 (isFirstInSequence): ditto
1544 (outerFont): rename pit to par_offset
1546 * paragraph.C: ws change
1547 * paragraph.h: ditto
1551 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1553 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1556 * paragraph.C (simpleTeXOnePar): when we have a \item with
1557 optional argument, enclose the argument with curly brackets (in
1558 case it contains a closing square bracket)
1562 * text3.C (checkInsetHit): constify
1564 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1567 documents (bug 1629)
1569 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 Fix toggling of collapsable insets with the mouse (bug 1558)
1573 * lyxfunc.C (dispatch): adapt to LCursor changes
1575 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1576 make sure that dispatch is not invoked twice
1578 * cursor.C (needsUpdate): new method
1579 (dispatch): return void
1580 (result): new method, to access the DispatchResult of the cursor.
1582 2004-08-13 José Matos <jamatos@lyx.org>
1584 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1586 2004-08-13 André Pönitz <poenitz@gmx.net>
1588 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1590 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1593 2004-08-12 André Pönitz <poenitz@gmx.net>
1595 * text3.C: take out the 'cursor right' form insertInset and only
1596 do it in those places when it is really needed. Fixes crash on
1599 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1603 * BufferView_pimpl.C (setBuffer): initialize the current font of
1604 the underlying LyXText
1606 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1608 * kbsequence.C (print): use UI native formatting for menu
1611 * text.C (insertChar): call Paragraph::insertChar with a font
1614 * paragraph.C (insertInset, insertChar): the version that takes a
1615 LyXFont argument is now a wrapper around the other one (the
1616 opposite used to be true).
1618 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1619 argument. Font setting is done in Paragraph now.
1621 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1623 * outputparams.h: add new members intitle and lang.
1625 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1626 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1628 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1630 * text3.C (dispatch): remove special handling of button 4 and 5,
1631 it is now taken care of in the frontend code.
1633 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1635 * Spacing.h: add <string> (STLPort compile fix)
1637 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1639 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1641 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1643 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1646 * converter.C (showMessage): inherit from unary_function, make
1649 * buffer.C (writeFile): initialize retval
1651 * InsetList.h: rename private variable list to list_
1652 * InsetList.[Ch]: adjust accordingly.
1654 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1656 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1657 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1658 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1659 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1660 * ParagraphParameters.C, LaTeXFeatures.C: replace
1661 "support/std_sstream.h" with <sstream>
1663 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1665 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1666 * lyxsocket.C (LyXServerSocket): ditto
1667 (serverCallback): ditto
1669 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1671 * LaTeXFeatures.C: check release date when loading jurabib.
1673 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1675 * lyxserver.C (startPipe): call register_socket_callback
1676 (endPipe): call unregister_socket_callback
1678 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1680 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1681 (LyXServerSocket): register the callback
1682 (LyXServerSocket): unregister the callback
1683 (fd): delete function
1684 (serverCallback): improve error checking and setup the callbacks.
1685 (dataCallback): change arg to fd.
1686 (writeln): new func (copied fro the client socket) used for server
1688 (LyXDataSocket): simplify
1689 (~LyXDataSocket): close ann unregiser callback
1690 (server): delete function
1691 (fd): delete function
1692 (readln): small changes, improve some std::string usage
1693 (writeln): constify a bit
1695 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1697 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1700 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1702 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1703 after it has been populated
1705 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * text2.C (insertInset): move cursor when inserting inset.
1709 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1711 * kbmap.C (findbindings): a couple of new methods. returns a
1712 container of kb_sequence objects. The real work is done by the
1713 private recursive version
1714 (printbindings): uses findbindings to print out a bracketed list
1715 of bindings (renamed from findbinding).
1717 * MenuBackend.C (binding): use kb_keymap::findbindings
1719 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1721 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1723 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1725 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1727 * paragraph.C (isWord): return true on insets that report
1730 * text.C (getWord): use Paragraph::isWord to decide what is in a
1731 word and what is not; fix bug 1609.
1733 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1735 * tex-strings.C: add "none" to string_paperpackages[], fixes
1736 off-by-one-error in the paperpackage selection.
1739 * tex-strings.[Ch]: char const * string[n]
1740 -> char const * const string[]
1742 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1744 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1745 command, return early.
1747 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1749 * debug.h: add DEBUG to enum and fix size of ANY.
1751 * debug.C: add support for Debug::DEBUG
1752 (showTags): cast errorTags.level to unsigned int
1754 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1755 (redoCurrentBuffer): ditto
1756 (updateScrollbar): ditto
1757 * cursor.C (dispatch): ditto
1758 * text2.C (setLayout): ditto
1760 (updateCounters): ditto
1762 (deleteEmptyParagraphMechanism): ditto
1764 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1766 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1767 annotations to cleanup the Makefile slightly.
1769 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1771 * lyxrc.C: do not set user_email to a default value but use empty
1772 instead. The entry used to be translated, which does not work
1773 since at the point where lyxrc is constructed there is no
1774 translation service available
1776 * messages.C (getLocaleDir): remove and use directly
1777 lyx_localedir() instead
1779 2004-06-02 Angus Leeming <leeming@lyx.org>
1781 Fix crash caused by dereferencing null pointer 'exportdata' in
1782 OutputParams by creating a new ExportData variable on the heap,
1783 storing it in a boost::shared_ptr.
1784 The crash was triggered when generating an Instant Preview
1785 of an external inset.
1787 * Makefile.am: add outputparams.C
1789 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1790 (c-tor): allocate memory to it.
1792 * exporter.C (c-tor): associated changes.
1794 2004-06-01 Angus Leeming <leeming@lyx.org>
1796 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1797 contains data before calling isInset(0). (Bug 1513.)
1799 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1801 * exporter.C (checkOverwrite): new method
1802 * exporter.C (copyFile): new method
1803 * exporter.C (Export): copy referenced files to the document dir
1804 * exporter.[Ch]: new class ExportedFile
1805 * exporter.[Ch]: new class ExportData. Contains currently the
1806 names of referenced external files
1807 * outputparams.h: add exportdata member.
1809 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1811 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1814 2004-05-19 Angus Leeming <leeming@lyx.org>
1819 * lyxfunc.C: small changes due to the introduction of namespace
1820 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1822 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1824 * text3.C (dispatch): supress update when only moving the cursor
1825 * cursor.C (selHandle): remove commented code
1827 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1829 * paragraph.C (startTeXParParams): correct column count
1830 * CutAndPaste.C (pasteSelection): remove const_cast
1831 * output_docbook.C (docbookParagraphs): remove const_cast
1832 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1833 const_cast and return ParagraphList::const_iterator
1834 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1835 * output_plaintext.C (writeFileAscii): remove const_cast
1836 * paragraph.[Ch] (simpleTeXOnePar): make const
1837 * paragraph_funcs.C (outerPar): use const iterators
1838 * paragraph_pimpl.C (validate): use const iterators
1839 * text.C (setHeightOfRow): use const iterators
1841 2004-05-17 Angus Leeming <leeming@lyx.org>
1844 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1846 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1847 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1848 if the citation engine has changed.
1850 2004-05-14 José Matos <jamatos@lyx.org>
1852 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1853 if the textclass does not provide it. Have it different for sgml and
1855 support the language of document.
1856 * output_docbook.C (docbookParagraphs):
1857 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1858 first anchor as the id of the paragraph, remove special case code.
1859 * sgml.C (escapeChar): escape only < & >.
1861 2004-05-14 Angus Leeming <leeming@lyx.org>
1863 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1864 dependencies on src/frontends/controllers/biblio.h. Define a
1865 CiteEngine_enum wrapper class to enable the enum to be forward
1868 2004-05-12 Angus Leeming <leeming@lyx.org>
1870 * buffer.C: up LYX_FORMAT to 234.
1871 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1872 use_numerical_citations with a single biblio::CiteEngine cite_engine
1874 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1876 2004-05-13 José Matos <jamatos@lyx.org>
1879 * converter.C (Converter, readFlags): add xml member.
1880 * outputparams.h: add XML flavor.
1881 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1883 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1885 * lyxfunc.C (dispatch):
1886 (getStatus): fix handling of LFUN_SEQUENCE
1888 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1890 * debug.C (showLevel): do not forget the end-of-line marker
1892 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1894 * kbmap.C (read): do not stop parsing a bind file when an error
1897 2004-04-29 Angus Leeming <leeming@lyx.org>
1902 * text2.C: wrap a bunch of #warning statements
1903 inside #ifdef WITH_WARNINGS blocks.
1905 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1907 * buffer.C: increment format to 233.
1909 2004-04-28 Angus Leeming <leeming@lyx.org>
1911 * BufferView_pimpl.C:
1914 s/updateToolbar()/updateToolbars()/
1915 s/Toolbar.h/Toolbars.h/
1917 2004-04-28 Angus Leeming <leeming@lyx.org>
1919 * BufferView.[Ch] (c-tor):
1920 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1921 No longer passes these data to the WorkArea generator.
1923 2004-04-28 Angus Leeming <leeming@lyx.org>
1925 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1927 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1929 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1931 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1933 * output_latex.C (TeXEnvironment): make sure that there is a line
1934 break before \end{foo} for the last paragraph of a document
1935 (TeXOnePar): if the paragraph is at the end of the document (or
1936 inset) and the language has to be reset, then make sure that the
1937 line break is _before_ the language command, not after (fixes bug
1938 1225); also make sure that the language reset command is the first
1939 thing after the paragraph (to ensure proper nesting of
1940 environments and thus fix bug 1404)
1942 2004-04-21 John Levon <levon@movementarian.org>
1945 * ToolbarBackend.C: make "name" be a programmatic name
1946 and a gui_name field.
1948 * lyxfunc.C: display the minibuffer on M-x
1950 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1952 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1955 2004-04-19 Angus Leeming <leeming@lyx.org>
1957 * BufferView_pimpl.C (setBuffer): changed preview interface.
1959 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1962 2004-04-19 John Levon <levon@movementarian.org>
1964 * BufferView_pimpl.C:
1965 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1967 2004-04-05 Angus Leeming <leeming@lyx.org>
1969 * text.C (redoParagraphs): add call to updateCounters(), thereby
1970 fixing the missing "Figure #:" label from the caption of a
1973 2004-04-13 Angus Leeming <leeming@lyx.org>
1975 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1976 cursor is clicked out of an inset.
1978 2004-04-13 Angus Leeming <leeming@lyx.org>
1980 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1981 than an InsetOld one.
1983 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1985 * format.[Ch]: add editor to Format
1986 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1987 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1989 2004-04-08 André Pönitz <poenitz@gmx.net>
1991 * metricsinfo.h: remove PainterInfo::width member
1993 2004-04-08 Angus Leeming <leeming@lyx.org>
1995 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1996 "\providecommand" rather than "\newcommand", thereby preventing
1997 clashes with packages that define "\boldsymbol" themselves.
2000 2004-04-08 Angus Leeming <leeming@lyx.org>
2002 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2003 thereby squashing an unnecessary warning.
2005 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2007 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2010 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2012 * BufferView.C (setCursor): call redoParagraph (some insets could
2014 (putSelectionAt): remove the 'double update' trick
2016 * BufferView_pimpl.C (fitCursor): call refreshPar
2017 (workAreaDispatch): remove an uneeded update call
2018 (dispatch): remove some manual update calls
2020 * cursor.[Ch]: remove cached_y_, updatePos
2021 (selHandle): set noUpdate when appropriate
2023 * lyxfunc.C (dispatch): track if we need an update
2025 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2027 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2028 (paintSelection): cheap optimization, do not call cursorX when not
2030 (paintPars): change signature
2033 (paintTextInset): adjust
2037 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2039 * lengthcommon.C: compilation fix: remove explicit array size from
2040 unit_name[] and friends
2042 2004-04-05 Angus Leeming <leeming@lyx.org>
2044 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2046 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2047 present only for the preferences dialog.
2048 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2050 2004-04-05 Angus Leeming <leeming@lyx.org>
2052 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2053 to enable the frontends to export changes to lyxrc correctly.
2055 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2057 2004-04-07 André Pönitz <poenitz@gmx.net>
2059 * cursor.[Ch] (selClear, adjust): remove math
2061 * cursor_slice.C: more agressive assert
2064 * BufferView_pimpl.C: rework mouse event dispatch
2071 2004-04-05 André Pönitz <poenitz@gmx.net>
2073 * cursor.[Ch] (valign, halign...): remove unneeded functions
2075 2004-04-05 Angus Leeming <leeming@lyx.org>
2077 * lyxlength.[Ch] (unit_name et al.): const-correct.
2079 2004-04-05 Angus Leeming <leeming@lyx.org>
2081 * BufferView_pimpl.C:
2090 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2092 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2094 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2096 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2098 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2099 * BufferView_pimpl.[Ch] (getStatus)
2100 * BufferView.[Ch] (getStatus): add
2101 * lyxfunc.C (getStatus): move lfuns handled in
2102 BufferView::dispatch to te function above
2103 * Cursor.C (setSelection): set selection() = true
2105 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2107 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2109 2004-03-31 Angus Leeming <leeming@lyx.org>
2111 * lyxfunc.C (dispatch): Fall through to the generic
2112 Dialogs::show("preamble").
2114 2004-03-31 Angus Leeming <leeming@lyx.org>
2116 * lyxfunc.C (dispatch): Fall through to the generic
2117 Dialogs::show("spellchecker").
2119 2004-03-31 Angus Leeming <leeming@lyx.org>
2121 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2124 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2129 * insetiterator.[Ch]:
2134 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2136 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2138 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2139 insets where we are putting the cursor.
2141 2004-03-31 Angus Leeming <leeming@lyx.org>
2144 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2146 * lyxrc.[Ch] (read, write): overloaded member functions taking
2147 a std::[io]stream arguments.
2149 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2151 2004-03-31 Angus Leeming <leeming@lyx.org>
2153 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2154 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2156 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2157 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2159 2004-03-31 Angus Leeming <leeming@lyx.org>
2161 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2162 the LFUN_ALL_INSETS_TOGGLE code.
2164 2004-03-30 Angus Leeming <leeming@lyx.org>
2166 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2167 has died. Fall through to the generic Dialogs::show("document").
2169 2004-03-30 Angus Leeming <leeming@lyx.org>
2172 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2173 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2175 * lyxfunc.C (getStatus, dispatch): define the actions for these
2176 lfuns. Little more than a cut and pste job from ControlDocument.C
2178 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2180 2004-03-30 Angus Leeming <leeming@lyx.org>
2183 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2184 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2186 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2187 open/closed state of ollapsable insets. Usage:
2189 all-inset-toggle <state> <name>, where
2190 <state> == "open" || "closed" || "toggle" and
2191 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2193 * lyxtext.h, text2.C (toggleInset): removed.
2195 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2196 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2197 now passes LFUN_INSET_TOGGLE to the found inset.
2199 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2200 is now invoked as "all-insets-toggle toggle branch".
2202 2004-03-30 Angus Leeming <leeming@lyx.org>
2206 * pariterator.[Ch]: added/corrected header blurb.
2208 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2210 * dociterator.[Ch]: add an inset_ member
2211 (backwardPos): implemented
2212 (backwardPos, forwardPos): use inset_ when the stack is empty.
2213 (doc_iterator_begin, doc_iterator_end): implemented
2214 * pariterator.[Ch]: adjust, add begin, end
2215 * insetiterator.[Ch]: adjust, add begin, end
2219 * BufferView_pimpl.C:
2220 * CutAndPaste.C: adjust
2222 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2224 * buffer.C: increment file format to 232.
2225 * LaTeXFeatures.C: add bibtopic package.
2226 * bufferparams.[Ch]: param \use_bibtopic.
2228 * lyxrc.[Ch]: add lyxrc bibtex_command
2229 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2231 * buffer.C: increment file format to 231.
2233 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2235 * dociterator.C: implement forwardPar
2236 * iterators.[Ch]: remove, replaced by
2237 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2239 * BufferView_pimpl.C:
2242 * bufferview_funcs.C:
2248 * Makefile.am: adjust
2250 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2252 * CutAndPaste.C (pasteSelection): fix 2 crashes
2253 (eraseSelection): fix a crash
2254 * paragraph_funcs.C: remove a warning
2256 2004-03-28 Angus Leeming <leeming@lyx.org>
2259 * LyXAction.C (init): new LFUN_PRINT.
2261 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2263 2004-03-27 Angus Leeming <leeming@lyx.org>
2266 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2268 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2270 2004-03-27 Angus Leeming <leeming@lyx.org>
2272 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2273 insetlist always contains non-null pointers to insets.
2275 2004-03-26 Angus Leeming <leeming@lyx.org>
2277 * src/BufferView_pimpl.C:
2278 * src/CutAndPaste.C:
2281 * src/output_plaintext.C:
2282 * src/outputparams.h:
2283 * src/paragraph_funcs.C:
2287 * src/frontends/controllers/ControlErrorList.C:
2288 * src/frontends/gtk/FileDialogPrivate.C:
2289 * src/frontends/gtk/GPainter.C:
2290 * src/frontends/gtk/GToolbar.C:
2291 * src/frontends/qt2/QRef.C:
2292 * src/mathed/math_scriptinset.C: squash compiler warnings.
2294 2004-03-26 Angus Leeming <leeming@lyx.org>
2296 * ispell.C (LaunchIspell::start):
2297 * lyx_cb.C (AutoSaveBuffer::start):
2298 invoke run(DontWait) rather than runNonBlocking().
2300 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2302 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2304 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2306 * kbsequence.C (print): adjust
2308 * kbmap.C (printKeySym): rename and change signature
2309 (printKey): use LyXKeySym::print()
2311 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2313 * undo.C: add using std::advance to compile for stlport
2315 2004-03-24 Angus Leeming <leeming@lyx.org>
2317 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2318 it leads to a crash when no buffer is present.
2320 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2321 Martin Vermeer <martin.vermeer@hut.fi>
2323 * lyxfunc.C (dispatch):
2324 * bufferparams.C (readToken): use the new LColor::setColor
2326 * LColor.[Ch] (setColor): new version that takes two strings as
2327 argument and creates a new color entry if necessary
2329 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2331 * buffer.C (makeLaTeXFile): if the main latex file that is
2332 processed is usually a subdocument of some master, then pretend
2333 for a while that it is actually the master
2335 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2337 * buffer.C (getLabelList):
2338 (getBibkeyList): use getMasterBuffer()
2339 (getMasterBuffer): new method. Returns the main document in the
2340 case where one is using included documents.
2342 2004-03-25 André Pönitz <poenitz@gmx.net>
2346 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2348 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2350 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2351 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2353 * ParameterStruct.h: merge with ParagraphParameters
2355 * lyxtext.h: remove LyXText::parOffset() and getPar()
2357 * text3.C: Remove all 'manual' update calls. We do now one per user
2358 interaction which is completely sufficient.
2362 * BufferView_pimpl.C:
2363 * FontIterator.[Ch]:
2365 * ParagraphParameters.[Ch]:
2370 * cursor_slice.[Ch]:
2377 * output_docbook.[Ch]:
2378 * output_latex.[Ch]:
2379 * output_linuxdoc.[Ch]:
2380 * output_plaintext.[Ch]:
2382 * paragraph_funcs.[Ch]:
2383 * paragraph_pimpl.[Ch]:
2391 * frontends/controllers/ControlDocument.C:
2392 * frontends/controllers/ControlErrorList.C:
2393 * frontends/controllers/ControlSpellchecker.C:
2396 * insets/insetbase.h:
2397 * insets/insetbibitem.C:
2398 * insets/insetbox.C:
2399 * insets/insetbranch.C:
2400 * insets/insetcaption.C:
2401 * insets/insetcharstyle.C:
2402 * insets/insetcharstyle.h:
2403 * insets/insetcollapsable.C:
2404 * insets/insetcollapsable.h:
2405 * insets/insetert.C:
2406 * insets/insetfloat.C:
2407 * insets/insetfoot.C:
2408 * insets/insetmarginal.C:
2409 * insets/insetnote.C:
2410 * insets/insetoptarg.C:
2411 * insets/insettabular.C:
2412 * insets/insettext.C:
2413 * insets/insettext.h:
2414 * insets/insetwrap.C:
2415 * mathed/math_mboxinset.C:
2416 * mathed/math_nestinset.C:
2417 * mathed/math_scriptinset.C:
2418 * mathed/math_scriptinset.h:
2421 2004-03-24 Angus Leeming <leeming@lyx.org>
2423 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2424 deal with any child processes that have finished but are waiting to
2425 communicate this fact to the rest of LyX.
2427 2004-03-24 Angus Leeming <leeming@lyx.org>
2429 64-bit compile fixes.
2431 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2432 (c-tor): pass lyx::pos_types rather than ints.
2434 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2437 * text.C (Delete): compile fix.
2438 (getPar): ensure that function declaration is the same as that in
2441 2004-03-23 Angus Leeming <leeming@lyx.org>
2443 * ispell.C (LaunchIspell):
2444 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2445 a boost::shred_ptr rather than a std::auto_ptr.
2447 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2449 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2450 handle LFUN_FILE_INSERT_*
2452 * lyxrc.C (setDefaults, getDescription, output, read):
2453 * lyxrc.h: remove ps_command
2455 2004-03-22 Angus Leeming <leeming@lyx.org>
2457 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2458 Ensure that error_handler is processed once only and that all data
2459 is saved before attempting to output any warning messages.
2461 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2463 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2465 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2467 2004-03-19 André Pönitz <poenitz@gmx.net>
2469 * cursor.[Ch] (reset): take main text inset as argument
2471 * BufferView: adjust
2472 * BufferView_pimpl.C: adjust
2474 * paragraph.[Ch]: fix completely broken operator=()
2476 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * LColor.C (getFromLyXName): make sure that the color name is used
2481 2004-03-17 Angus Leeming <leeming@lyx.org>
2484 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2486 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2487 dialog and to kill a forked process.
2489 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2491 * text2.C (setCursorFromCoordinates): fix font problem
2493 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2495 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2496 bogus "rebuild cursor" code
2498 2004-03-11 André Pönitz <poenitz@gmx.net>
2500 * buffer.[Ch]: use InsetText instead of LyXText as container for
2503 * dociterator.[Ch]: drop the BufferView * member which is not needed
2504 anymore after the change to buffer.C
2506 * paragraph_funcs.C:
2510 * BufferView_pimpl.[Ch]:
2512 * cursor_slice.[Ch]: adjust
2514 * text3.C: fix bug in mathDispatch
2516 2004-03-08 André Pönitz <poenitz@gmx.net>
2518 * undo.[Ch]: use 'StableDocumentIterator' as base for
2521 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2524 * bufferparams.[Ch]: add jurabib support and param.
2526 * LaTeX.C: add FIXME/comment.
2528 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2530 * buffer.C: increment file format to 230.
2532 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2534 * cursor.C (dispatch): avoid infinite loops
2536 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2538 * rowpainter.C (paintSelection): fix x coordinates
2540 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2542 * text.C (rowBreakPoint): fix breaking before displayed insets
2544 2004-03-01 André Pönitz <poenitz@gmx.net>
2546 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2548 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2552 * BufferView_pimpl.C:
2560 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2566 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2567 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2569 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2571 * Bidi.[Ch] (computeTables): const correctness
2572 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2573 fill_hfill, fill_label_hfill and x from Row
2574 * lyxtext.h: prepareToPrint returns a RowMetrics
2575 * rowPainter.C: adjust
2576 * text.C (prepareToPrint): use width, not textWidth. adjust
2577 (redoParagraphInternal, cursorX): adjust
2578 * text2.C (getColumnNearX): adjust
2579 (init): put a default value to the top LyXText::width
2581 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2583 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2585 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2587 * lyxtext.h: add FontIterator class
2589 * text.C (FontIterator, operator*, operator->, operator++): add
2590 (rowBreakPoint, setRowWidth): adjust (fixing a
2593 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2595 * BufferView_pimpl.C (workAreaDispatch): allow also
2596 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2598 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2600 * text.C (rowBreakPoint): fix a bug showing with very large insets
2602 2004-02-25 André Pönitz <poenitz@gmx.net>
2605 * cursor.[Ch]: move some mathed specific code to mathed
2607 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2609 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2610 use_tempdir in preferences
2611 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2613 * lyx_main.C: ensure that tempdir is valid
2614 * lyxlex.h: correct typo
2615 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2616 * paragraph.[Ch] (isMultiLingual): make const
2617 * cursor.[Ch] (openable): make const
2619 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2621 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2623 2004-02-20 André Pönitz <poenitz@gmx.net>
2625 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2627 * cursor.[Ch]: prepare for localized getStatus()
2633 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2635 2004-02-20 André Pönitz <poenitz@gmx.net>
2637 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2639 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2641 * text2.C (setCursorFromCoordinates): switch to absolute coords
2643 (cursorDown): adjust
2644 * text3.C (dispatch): adjust
2646 2004-02-16 André Pönitz <poenitz@gmx.net>
2648 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2651 * cursor_slice.[Ch]: remove unneeded acessor function
2653 * lyxtext.h: rename rtl() to isRTL()
2661 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2663 * rowpainter.C (paintSelection): coord fix
2665 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2667 * Spacing.C: compile fix
2669 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2671 * cursor.C (dispatch): restore current_ before returning
2673 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2675 * text2.C (cursorUp, cursorDown): fix coords
2678 2004-02-12 André Pönitz <poenitz@gmx.net>
2683 * text3.C: add LCursor & parameter to most cursor movement functions
2684 remove usage of LyXText::cursorRow() and cursorPar()
2686 * cursor.[Ch]: add textRow() needed members
2689 * BufferView_pimpl.C:
2692 * BufferView_pimpl.C: adjust
2694 2004-02-11 André Pönitz <poenitz@gmx.net>
2698 * BufferView_pimpl.C: shift undo/redo handling
2700 * cursor.[Ch]: fix mathed crash
2703 * lyxtext.h: move selectionAsText to LCursor
2711 * rowpainter.C: fix excessive drawing
2713 2004-02-06 André Pönitz <poenitz@gmx.net>
2716 * BufferView_pimpl.[Ch]:
2717 * text3.C: move some text specific LFUN handling
2719 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2721 * text3.C (checkInsetHit): adjust coords
2722 * text2.C (getColumnNearX): adjust coords
2723 (edit): adjust coords
2724 * text.C (getRowNearY): add two asserts
2726 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2729 * format.C: add using std::distance to compile on gcc 2.95/stlport
2731 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2733 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2735 2004-02-04 André Pönitz <poenitz@gmx.net>
2737 * BufferView.[Ch] (insertInset):
2738 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2743 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2745 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2746 on the default clause of the switch
2747 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2748 wasn't catched by LCursor::dispatch
2750 2004-02-03 André Pönitz <poenitz@gmx.net>
2753 * cursor.[Ch]: some additional asserts
2755 * undo.[Ch]: remove LyXText dependency in interface
2759 * lyxtext.h (firstPar, lastPar): remove dead functions
2764 * paragraph.[Ch]: adjust
2766 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2768 * lyxfind.C (find): fix argument order in call to ::find
2770 2004-02-02 André Pönitz <poenitz@gmx.net>
2772 * cursor.[Ch]: remove direct access to anchor
2774 * text.C: remove findText() hack
2776 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2778 * iterators.[Ch] (lockPath): remove in favour of...
2779 * BufferView.[Ch] (setCursor): this addition
2780 * BufferView.C (putSelectionAt): adjust
2781 * undo.C (performUndoOrRedo): adjust
2782 * lyxfunc.C (dispatch): adjust
2784 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2786 * iterators.C (lockPath): add a missing slice
2787 * undo.C (performUndoOrRedo): remove redundant positioning code
2789 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2791 * vc-backend.C (scanMaster): ";" -> ';'
2793 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2795 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2796 std::binary_function
2798 * lyxtextclass.C (compare_name): rename to...
2799 (LayoutNamesEqual): ...this
2801 * lyxlex_pimpl.C (compare_tags): inherit from
2802 std::binary_function, put back into anon namespace
2804 * lyxfind.C (MatchString): inherig from std::binary_function
2805 (findChange): use empty() istead of !size()
2807 * format.C (FormatNamesEqual): new functor
2814 * converter.C (compare_Converter): rename to...
2815 (ConverterEqual): ...this, and fixup a bit.
2816 (getConverter): use it, and make function const
2817 (getNumber): use it, and make function const
2821 * bufferlist.C: add using boost::bind
2823 * MenuBackend.C (MenuNamesEqual): new functor
2824 (hasMenu): use it, and make function const
2825 (hasSubmenu): use nested bind to get rid of compare_memfun.
2827 2004-01-30 André Pönitz <poenitz@gmx.net>
2829 * BufferView_pimpl.C:
2832 * cursor_slice.[Ch]:
2835 * paragraph_funcs.C:
2836 * paragraph_funcs.h:
2840 * text3.C: move some of the edit(x,y) handling to the insets
2841 some coordinate changes.
2843 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2845 * text.C: add using statements for std::advance and std::distance
2847 * paragraph.C: add using statement for std::distance
2849 * lyxfind.C: add using statement for std::advance
2851 * cursor.C (region): remove std:: from swap
2852 (openable): use nucleus in stead of operator->
2854 * BufferView.C: add using statements for std::distance and std::swap
2856 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2858 * iterators.C: Remove the pimple, move the needed structures to
2859 the header file. Create accessor for the positions stack.
2860 (asPosIterator): remove function
2862 * PosIterator.C (PosIterator): move constructors to top of file
2863 (PosIterator): reimplement the constructor taking a ParIterator in
2865 (setFrom): new function
2866 (operator!=): inline it
2868 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2870 * lyxfind.C (replaceAll): use std::advance
2872 * iterators.h: inherit from std::iterator.
2874 * PosIterator.C (advance, distance): remove
2875 * PosIterator.h: interit from std::iterator.
2877 2004-01-26 André Pönitz <poenitz@gmx.net>
2880 * BufferView_pimpl.[Ch]:
2884 * bufferview_funcs.C:
2894 * output_linuxdoc.C:
2895 * output_plaintext.C:
2897 * paragraph_funcs.[Ch]:
2898 * paragraph_pimpl.[Ch]:
2904 * text3.C: more IU: dumps most of the rest of the mathcursor
2905 implementation into cursor.[Ch]; "globalize" a bit of it.
2907 2004-01-25 Angus Leeming <leeming@lyx.org>
2909 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2911 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2913 * LaTeXFeatures.h: add nice_ and nice() const
2914 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2916 2004-01-20 André Pönitz <poenitz@gmx.net>
2919 * BufferView_pimpl.C:
2921 * bufferview_funcs.C:
2923 * cursor_slice.[Ch]:
2934 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2935 LCursor and mathcursor parts to LCursor and InsetBase.
2937 2004-01-15 André Pönitz <poenitz@gmx.net>
2939 * cursor_slice.[Ch]: add a few covienience functions
2941 * funcrequest.[Ch]: remove BufferView * member
2943 * BufferView_pimpl.C:
2950 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2952 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2954 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2955 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2957 2004-01-13 André Pönitz <poenitz@gmx.net>
2960 * lyxtext.h: hide cursor and selection anchor behind accessor function
2963 * BufferView_pimpl.[Ch]:
2965 * bufferview_funcs.C:
2975 * cursor_slice.[Ch]: some integer type changes for inset unification
2977 * lyxcursor.[hC]: remove, it's CursorSlice now.
2980 * BufferView_pimpl.[Ch]:
2981 * bufferview_funcs.C:
2987 * textcursor.[Ch]: adjust
2989 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2991 * text2.C (undoSpan): add and use
2992 * text.C (breakParagraph): use undoSpan (fix bug 578)
2995 2004-01-08 Angus Leeming <leeming@lyx.org>
2997 * BufferView_pimpl.C (MenuInsertLyXFile):
2998 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2999 * lyxfunc.C (menuNew, open, doImport):
3000 FileFilterList change to the FileDialog open and save functions.
3002 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3004 * ShareContainer.h: make isEqual and isUnique adaptable
3006 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3008 2004-01-07 Angus Leeming <leeming@lyx.org>
3011 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3013 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3015 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3016 functions replacing find, replace and replaceAll.
3018 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3019 LFUN_WORDFIND(FORWARD|BACKWARD).
3021 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3023 * text.C (breakParagraph): remove an outdated #warning
3025 2004-01-07 André Pönitz <poenitz@gmx.net>
3027 * lyxfind.C: somewhat clearer logic
3029 * text.C: prevent crash in cursorX on unitialized row cache
3031 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3033 * lyxcursor.[Ch] (operator>): add
3034 * textcursor.C (selStart, selEnd): use std::min and std::max
3036 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3038 * Chktex.C: include boost/format.hpp
3040 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3042 * InsetList.C: replace functor MathcIt with adaptable functor
3044 (insetIterator): modify accordingly
3046 * BranchList.h: move the BranchNamesEqual functor here from...
3047 * BranchList.C: ... to here
3049 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3051 (add): replace a finding loop with std::find_if.
3053 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3055 * output_docbook.C: moving LatexParam functionality into
3058 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3060 * buffer.C: increment format to 229.
3062 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3065 * lyx_sty.[Ch]: remove minipageindent_def
3071 * text3.C: remove LFUN_INSET_MINIPAGE
3073 2003-12-28 Angus Leeming <leeming@lyx.org>
3075 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3077 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3079 * text2.C (setParagraph): fix off-by-one crash
3081 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3083 * output_docbook.C: header stuff for AGU
3085 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3087 * text2.C (redoCursor): remove
3090 * BufferView_pimpl.C: remove calls to redoCursor and
3091 setCursor(cursor.par(), cursor.pos()) all around
3093 2003-12-15 Angus Leeming <leeming@lyx.org>
3095 * buffer.C: up the format to 228.
3097 2003-12-15 André Pönitz <poenitz@gmx.net>
3099 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3104 * BufferView_pimpl.C:
3113 2003-12-15 Angus Leeming <leeming@lyx.org>
3115 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3116 than getFromGUIName to manipulate the color.
3118 2003-12-14 Angus Leeming <leeming@lyx.org>
3120 * BranchList.[Ch]: minimize the API.
3121 (Branch::getBranch, getColor): now return a 'const &'.
3122 (Branch::setSelected) now returns a bool set to true if the
3123 selection status changes.
3124 (BranchList::clear, size, getColor, setColor, setSelected,
3125 allBranches, allSelected, separator): removed.
3126 (BranchList::find): new functions, returning the Branch with
3128 (BranchList::add, remove): return a bool indicating that
3129 the operation was successful.
3131 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3132 new InsetBranch::isBranchSlected member function.
3134 * LColor.[Ch]: mimimize the API.
3135 (fill): renamed as addColor and made private.
3136 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3137 versions of these functions taking a string arg have been removed.
3139 * bufferparams.C (readToken):
3140 * lyxfunc.C (dispatch):
3141 * lyxrc.C (read): changes due to the altered BranchList and
3144 * factory.C (createInset, readInset): changes due to altered
3147 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3150 * lyxfunc.C: remove insetminipage. "minipage-insert"
3151 now produces a frameless minipage box inset.
3153 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3155 * textcursor.[Ch] (selStart,selEnd): add new methods
3156 remove selection::start, end, use LyXCursor::operator<
3157 * lyxcursor.[Ch] (operator<): add
3158 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3159 * BufferView.[Ch] (unsetXSel): add
3160 * text2.C (clearSelection): use unsetXSel,adjust
3163 * rowpainter.C: adjust
3164 * bufferview_funcs.C (put_selection_at): adjust
3166 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3168 * BufferView_pimpl.C: small coord. correction
3170 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3172 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3173 dragging over the splash screen.
3175 2003-12-11 Angus Leeming <leeming@lyx.org>
3177 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3178 as it is now handled in LyXText::dispatch.
3180 * text3.C (doInsertInset): remove a level of nesting.
3182 2003-12-11 Angus Leeming <leeming@lyx.org>
3184 * factory.C (createInset): changes due to the changed interface to
3185 InsetCommandMailer::string2params.
3187 2003-12-10 Angus Leeming <leeming@lyx.org>
3189 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3190 'dialog-show-new-inset <inset name>'
3192 2003-12-10 Angus Leeming <leeming@lyx.org>
3194 * buffer.C: up the format to 227.
3196 * factory.C: the box inset is now identified simply by 'Box'.
3198 2003-12-10 Angus Leeming <leeming@lyx.org>
3200 * buffer.C: up the format to 226.
3202 * factory.C: the note inset is now identified simply by 'Note'.
3204 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3206 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3207 when a pit is enough. Standarize a couple of loops.
3209 2003-12-05 Angus Leeming <leeming@lyx.org>
3211 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3212 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3213 data to the re-worked "log" dialog.
3215 2003-12-03 André Pönitz <poenitz@gmx.net>
3221 * paragraph_funcs.C:
3223 * text2.C: use Inset::getText instead of Inset::getParagraph
3225 2003-12-03 André Pönitz <poenitz@gmx.net>
3229 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3230 InsetText::read() as LyXText::read()
3232 2003-12-02 Angus Leeming <leeming@lyx.org>
3234 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3235 type. Add a comment in the implementation that the function uses
3236 the stream's bad() function rather than fail() as the std::streams
3239 2003-12-02 André Pönitz <poenitz@gmx.net>
3241 * lyxlex.[Ch]: make interface more similar to std::stream
3243 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3245 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3247 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3249 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3251 * vspace.[Ch]: remove VSpace::NONE
3253 2003-12-01 André Pönitz <poenitz@gmx.net>
3256 * lyxtext.h: move ParagraphList member to LyXText
3257 rename LyXText::ownerParagraphs to LyXText::paragraph
3260 * bufferview_funcs.C:
3270 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3272 * undo.C: fix cursor positioning
3274 2003-12-01 John Levon <levon@movementarian.org>
3276 * BufferView_pimpl.C: fix a crash on exit with
3279 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3281 * BranchList.C: fix setSelected() method.
3283 2003-11-28 André Pönitz <poenitz@gmx.net>
3285 * ParagraphParameters.[Ch]:
3286 * ParameterStruct.h: remove space above/below from Paragraph to
3289 * BufferView_pimpl.C:
3295 * paragraph_funcs.C:
3301 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3303 * factory.C: Syntax change for CharStyles
3305 2003-11-28 André Pönitz <poenitz@gmx.net>
3310 * buffer.[Ch]: move LyXText member
3312 2003-11-28 André Pönitz <poenitz@gmx.net>
3314 * BufferView.[Ch]: make LyXText * text a private member
3316 * BufferView_pimpl.C:
3327 * output_plaintext.C: cleanup
3329 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3332 * lyxtextclass.[Ch]: parametrize SGML document header
3334 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3337 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3340 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3342 * text2.C (setFont): rework using PosIterator (no more recursive)
3343 (setCharFont): no more needed
3344 (setLayout): no more selection cursors fiddling (done by redoCursor)
3345 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3346 destroy remaining ones)
3348 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3350 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3352 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3355 * text3.C: adjust + re-allow multi par depth changes
3356 * textcursor.C: simplify a bit
3358 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3364 * src/output_docbook.C:
3365 * src/output_latex.C:
3370 * src/text2.C: Introducing a number of tags parametrizing various
3371 XML formats that we may want to support
3373 2003-11-25 André Pönitz <poenitz@gmx.net>
3375 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3377 * lyxtext.h (leftMargin/rightMargin): simplify interface
3384 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3386 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3387 master file to any child files. Fixes bug 546.
3389 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3391 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3393 2003-11-24 André Pönitz <poenitz@gmx.net>
3395 * rowpainter.C: simplification
3397 * text2.C (updateCounters): remove call to redoParagraph on
3398 changed labels as this is far too expensive.
3400 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3402 * converter.C (convert): fix a crash: this function gets
3403 called with buffer == 0 from importer code.
3405 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3407 * text3.C (cursorPrevious): make sure that we do not compare
3408 iterators form different containers.
3411 * rowpainter.C (paintSelection): make sure that we do not compare
3412 iterators from different containers.
3414 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3415 iterators from different ParagraphList containers.
3418 * text2.C (LyXText): change order of initialization slightly
3419 (operator=): new function. copy all variables except cache_par_
3420 (moveUp): make sure that we do not compare iterators from
3421 different ParagraphList constainers.
3424 * text.C (firstPar): new function
3425 (lastPar): new function
3426 (endPar): new function
3428 * lyxtext.h: move things around and group public functions, public
3429 variables, private functions, private variables
3431 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3433 * factory.C: change call to InsetERT constructor to avoid
3434 additional invocation of method status
3435 * text2.C (toggleInset): remove redundant update() call
3436 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3437 instead of a Bufferview pointer
3439 2003-11-21 André Pönitz <poenitz@gmx.net>
3441 * rowpainter.C: simplification
3443 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3445 * text3.C (dispatch): make possible to extend a word/row selection
3448 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3450 * lyxtext.h: x0_,y0_ -> xo_,yo_
3451 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3452 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3453 * rowpainter.C (paintRows): paint full paragraphs
3455 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3457 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3460 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3462 * lyxtext.h: add x0_, y0_
3463 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3464 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3466 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3468 * text2.C (setCursorIntern): move the x_target update here *
3469 * text3.C: change some bv() to true/false in calls to
3470 cursorUp/Down/Right/Left
3471 * cursor.C: use helper function.
3473 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3475 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3476 * paragraph_funcs.[Ch]: correct comment
3477 * rowpainter.C: do not paint selections away from bv->cursor()
3478 Fix a long standing selection painting bug.
3479 * text3.C: generalize mouse-selection code to LyXTexts other that
3481 * textcursor.C: do not use y coords if we can use par offsets
3483 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3485 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3486 cursor position after e.g. inset insert)
3488 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3490 * lyxfind.C (replace): adjust to locking removal + some
3493 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3495 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3498 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3501 * output_docbook.C: XML sanitation: new layout
3502 parameters InnerTag and CommandDepth
3504 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3506 * BufferView_pimpl.C:
3508 * text3.C: Fix the insertion and modification of button-style
3511 2003-11-13 André Pönitz <poenitz@gmx.net>
3513 * InsetList.[Ch]: remove deleteLyXText
3515 * paragraph.[Ch]: cache beginOfBody position
3520 * text3.C: remove superfluous update() calls
3524 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3526 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3527 * BufferView.C (fitLockedInsetCursor): remove
3528 * cursor.[Ch] (getDim): add
3529 * text.C (getRowNearY): add faster version
3530 * text3.C: remove some update calls
3532 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3544 * text3.C: The Character Style /XML short element patch.
3546 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3549 * factory.C: Small step to solving 'unable to insert some insets'
3552 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3554 * cursor.[Ch] (updatePos): new function for updating the y
3555 position of the tip inset
3556 * bufferview_funcs.C (put_selection_at):
3557 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3559 2003-11-11 André Pönitz <poenitz@gmx.net>
3561 * text.C: remove big comment on invalid Paragraph pointers as it is
3564 2003-11-11 André Pönitz <poenitz@gmx.net>
3566 * text_funcs.[Ch]: merge with ...
3574 * Makefile.am: remove text_funcs.[Ch]
3576 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3578 * cursor.C (getPos): return absolute cached y coord
3580 * BufferView_pimpl.C (fitCursor): new simplistic code
3581 (workAreaDispatch): add a fitCursor call
3583 2003-11-10 André Pönitz <poenitz@gmx.net>
3586 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3588 2003-11-10 André Pönitz <poenitz@gmx.net>
3590 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3591 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3592 indicate that the cursor needs to leave an inset
3594 * lyxtext.h: remove inset locking
3596 * cursor.[Ch]: re-implement functionality provided by inset locking
3599 * BufferView_pimpl.[Ch]:
3601 * bufferview_funcs.[Ch]:
3613 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3615 * PosIterator.[Ch]: replace the stack with a vector, add inset
3617 * iterators.[C]: adjust
3619 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3621 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3623 * paragraph_funcs.C (readParToken): put the correct id in the
3624 error item, not the id of the top paragraph
3626 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3628 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3629 * bufferview_funcs.C (put_selection_at): use the above
3631 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3633 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3635 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3637 * output_linuxdoc.h:
3638 * output_plaintext.h:
3640 * output_docbook.h: add #include statements
3642 2003-11-05 José Matos <jamatos@lyx.org>
3644 * output_docbook.[Ch]:
3645 * output_latex.[Ch]:
3646 * output_linuxdoc.[Ch]:
3647 * output_plaintext.[Ch]: New files for output formats.
3648 * output.[Ch]: New file for helper functions.
3651 * paragraph_funcs.[Ch]: output functions moved to new files.
3653 * outputparams.h: rename of latexrunparams.h
3661 * paragraph_funcs.[Ch]:
3662 * paragraph_pimpl.[Ch]:
3663 * tabular.[Ch]: rename ascii to plaintext
3664 and LatexRunParams to OutputParams.
3666 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3668 * iterators.[Ch] (text): require bv argument
3669 * undo.C (recordUndo):
3670 * lyxfunc.C (dispatch):
3671 * bufferview_funcs.C (put_selection_at): adjust
3673 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3675 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3677 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3679 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3682 2003-11-04 André Pönitz <poenitz@gmx.net>
3684 * cursor.[Ch]: restructure
3687 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3689 * iterators.[Ch] (asCursor): remove
3691 * lfuns.h: remove LFUN_INSET_EDIT
3697 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3699 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3701 * lyxfind.[Ch]: complete overhaul
3702 * BufferView_pimpl.C:
3704 * paragraph.[Ch] (insert): add
3706 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3710 * text.C: remove dead spellcheck code
3712 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * dispatchresult.h: add a val setter
3716 * cursor.C (dispatch): use a tempvar for data_[i]
3718 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3720 * PosIterator.[Ch]: compile fix
3722 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3724 * text.C (cursorPar): deactivate the cursor cache
3726 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3728 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3730 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * text3.C (dispatch): adjust for new DisptchResult semantics.
3734 * lyxfunc.C (dispatch): handle update when return from
3735 Cursor::dispatch, adjust for new DispatchResult semantics.
3737 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3738 DispatchResult(true) mean to not update. Add class functions for
3739 setting dispatched and update, as well as reading.
3741 * cursor.C (dispatch): don't handle update here
3743 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3746 * trans_mgr.C: adjust
3748 * paragraph_funcs.C (readParToken): exception safety
3750 * lyxvc.h: store the vcs pointer in a scoped_ptr
3753 * lyxsocket.C (serverCallback): exception safety
3755 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3757 * ispell.C (clone): make it return a auto_ptr
3759 * factory.C (createInset): exception safety
3760 (readInset): exception safety
3762 * bufferlist.C (newBuffer): exception safety
3764 * Thesaurus.C (Thesaurus): use initialization for aik_
3766 * MenuBackend.C (expandToc): exception safety.
3768 2003-11-03 André Pönitz <poenitz@gmx.net>
3772 * bufferview_funcs.C: remove getInsetFromId()
3775 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3781 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3783 * PosIterator.C (distance, advance): new
3784 * bufferview_funcs.[Ch] (put_selection_at): new
3785 * iterators.[Ch] (lockPath): new
3787 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3789 * iterators.[Ch] (asPosIterator): added
3790 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3791 * PosIterator.[Ch]: added
3793 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3797 * cursor.C (dispatch):
3798 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3800 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3801 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3802 contructor, add a class function dispatched. Remove operator>=
3804 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * debug.C: only use the default constructor for debugstream
3809 * main.C (main): include debug.h and setup the lyxerr streambuf
3812 2003-10-31 José Matos <jamatos@lyx.org>
3814 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3816 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3817 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3818 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3819 * paragraph_pimpl.C (simpleTeXSpecialC):
3820 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3821 add LatexRunParams argument.
3823 * exporter.C (Export): change call accordingly.
3825 * latexrunparams.h: add new member to take care of the other backends.
3826 2003-10-30 José Matos <jamatos@lyx.org>
3828 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3829 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3830 factorise code for paragraph output.
3832 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3835 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * text3.C (dispatch):
3838 * lyxfunc.C (dispatch):
3839 * cursor.C (dispatch):
3840 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3842 * dispatchresult.h: make the dispatch_result_t ctor explicit
3844 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3847 * buffer.C: small refactoring of docbook stuff
3849 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3854 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3857 operator dispatch_result_t, and operators for == != and >=
3859 * cursor.C (dispatch): adjust for operator dispatch_result_t
3860 removal. comment out call to update
3862 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3864 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3875 * dispatchresult.h: new file, DispatchResult broken out of
3878 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3880 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3882 * text.C (rowBreakPoint): put a hack inside #if 0
3884 2003-10-28 André Pönitz <poenitz@gmx.net>
3888 * paragraph_funcs.C:
3891 * text2.C: general cleanup (lots of small stuff)
3893 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3895 * text2.C (cursorEnd): simple fix to the "end key goes to one
3896 before the end on last row" bug
3898 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3900 * text.C (backspace): fix the "zombie characters"
3902 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3904 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3906 2003-10-27 André Pönitz <poenitz@gmx.net>
3908 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3910 * factory.C: handle new InsetPagebreak, InsetLine
3912 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3913 and move handling into new InsetPagebreak, InsetLine
3915 * BufferView_pimpl.C:
3917 * ParagraphParameters.C:
3918 * ParameterStruct.h:
3923 * paragraph_funcs.C:
3924 * paragraph_pimpl.C:
3930 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3933 * lyxrow_funcs.[Ch]:
3939 * text3.C: remove lastPos uses in favour of Row::endpos
3941 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3943 * undo.C (performUndoOrRedo): fix two crashes by setting a
3944 cursor by hand and reordering some calls. Use bv->lockInset instead
3945 of inset->edit because the latter loses cursor information
3947 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3949 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3951 (rowBreakPoint): fix width. change point to point + 1.
3952 Add a missing check.
3954 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3957 * lyxfunc.C: fix (at least partly) the problems
3958 with the Nav menu and headers inside branch insets
3961 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3963 * paragraph.C (getChar): add strong asserts
3965 * lyxrow_funcs.C (lastPos): remove hideous hack
3967 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3968 (fill): adjust to that (avoid an infinite loop)
3970 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3972 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3974 2003-10-23 André Pönitz <poenitz@gmx.net>
3976 * RowList_fwd.h: change list<> to vector<> to gain speed
3977 after suggestion from Alfredo
3979 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3981 * lyxtext.h: move the bidi stuff from here...
3984 * Bidi.[Ch]: ... to here
3986 2003-10-23 André Pönitz <poenitz@gmx.net>
3989 * text.C (isLastRow, isFirstRow): new functions
3991 * paragraph.h: new width cache member
3993 * rowpainter.C: replace RowList::iterator with Row & where possible
3995 * lyxfunc.C: replace several view()->text with a single call
3997 * toc.C: fix 'unused' warning
3999 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4002 when woring with stream::pos_type
4003 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4005 2003-10-22 André Pönitz <poenitz@gmx.net>
4008 * text.C: use Row & instead of RowList::iterator
4010 * lyxrow.h: rename end() to endpos()
4016 2003-10-22 Angus Leeming <leeming@lyx.org>
4018 * buffer.[Ch] (fully_loaded): new member function, returning true
4019 only when the file has been loaded fully.
4020 Used to prevent the premature generation of previews and by the
4021 citation inset to prevent computation of the natbib-style label.
4023 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4024 templates are all set up.
4026 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4028 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4030 * text.C: fixed an "oops" in the "is a bit silly"
4033 2003-10-21 André Pönitz <poenitz@gmx.net>
4035 * FuncStatus.[Ch]: small stuff, whitespace
4037 * lyxfont.[Ch]: operator<<() for debug reasons
4041 * lyxtext.h: whitespace, spelling
4043 * paragraph.C: naming of variables
4046 * text2.C: small stuff
4049 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4051 * text.C: (1) finish off the inset display() work;
4052 (2) fix the "is a bit silly" bug (accessing char
4055 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4057 * text.C: re-introduce display() for insets, fixing the
4058 various bugs (stretch of line above, math inset
4061 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4063 * text.C (rightMargin): remove spurious semicolon
4065 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4068 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4070 * text3.C: fix one crash due to wrong cursor def
4072 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * vc-backend.C (scanMaster): make the regex static
4076 * LaTeX.C (scanAuxFile): make the regexs static
4078 * text3.C (doInsertInset, dispatch, dispatch):
4079 * text2.C (cursorUp, cursorDown):
4080 * text.C (selectNextWordToSpellcheck):
4081 * BufferView_pimpl.C (dispatch):
4082 * lyxfunc.C (dispatch): localDispatch -> dispatch
4084 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4086 * lyxsocket.C: include <cerrno>
4088 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * lyxfunc.C (dispatch): remove textcache stuff
4092 * bufferlist.C (release): remove textcache stuff
4095 * TextCache.C: delete file
4096 * TextCache.h: delete file
4098 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4100 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4101 delete of the bv_->text.
4102 (resizeCurrentBuffer): remove texcache stuff
4103 (workAreaResize): ditto
4105 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4107 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4110 2003-10-16 André Pönitz <poenitz@gmx.net>
4117 * text3.C: speed up by storing y positions per paragraph plus per-row
4118 offset instead of having a 'full' y position in the row.
4120 2003-10-15 André Pönitz <poenitz@gmx.net>
4124 * undo.[Ch]: make undo aware of inner insets
4126 2003-10-14 Angus Leeming <leeming@lyx.org>
4128 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4129 static member functions LyX::ref() and LyX::cref.
4130 (lastfiles): new accessor functions for the new lastfiles_ member var.
4131 (addLyXView, views_): add a new LyXView to the list of views_.
4132 (updateInset): loop over all LyXViews to call their own updateInset
4133 member function, returning a pointer to the Buffer owning the inset.
4135 * BufferView_pimpl.C (loadLyXFile):
4136 * MenuBackend.C (expandLastfiles):
4137 * bufferlist.C (MenuWrite, QuitLyX):
4138 lastfiles is no longer a global variable.
4139 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4141 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4142 static function. Access through LyX::cref().emergencyCleanup().
4144 2003-10-14 André Pönitz <poenitz@gmx.net>
4146 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4148 * undo.[Ch]: restoring part of 'undo in insets'
4151 * undo_funcs.[Ch]: merge with undo.[Ch]
4153 * tabular.C: small cleansing stuff
4155 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4157 * paragraph_funcs.C (readParToken): report unknown insets as error
4158 boxes. Use the outer paragraph as location (also for unknown
4161 * factory.C (readInset): do not abort on reading an unknown inset.
4162 Eat it and return 0.
4164 2003-10-13 Angus Leeming <leeming@lyx.org>
4166 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4168 * lyxrc.C: displayTranslator is now a function,
4169 declared in GraphicsTypes.h.
4171 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4173 * format.C: new placeholder $$a to pass the socket address.
4175 * bufferlist.[Ch]: new function getBufferFromTmp.
4177 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4178 files in the temporary dir.
4180 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4182 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4184 * Makefile.am: add lyxsocket.[Ch].
4186 * lyx_main.C (error_handler): handle SIGPIPE.
4188 2003-10-13 André Pönitz <poenitz@gmx.net>
4190 * BufferView_pimpl.C:
4195 * undo_funcs.[Ch]: use paroffset_type instead of
4196 ParagraphList::iterators to prevent multiple conversion
4197 (and get a more robust interface)
4199 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4203 * text3.C (dispatch): ditto
4205 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4208 move the onlyfile, use onlyfile instead of foundfile in a couple
4211 * DepTable.C (update): flush the error stream a bit more
4213 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * lyxserver.C (callback): adjust
4217 * lyxfunc.C (getStatus): add a missing brace in commented code
4218 (ensureBufferClean): reindent
4219 (dispatch): delete version taking a string
4221 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * LaTeX.C (deplog): move found file handlig from here...
4224 (handleFoundFile): .. to new function here.
4225 (deplog): make sure to discover several files mentioned on the
4228 2003-10-10 André Pönitz <poenitz@gmx.net>
4235 * text3.C: fix some of the tabular crashes
4237 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4239 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4241 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4243 2003-10-09 André Pönitz <poenitz@gmx.net>
4245 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4248 * BufferView_pimpl.C:
4249 * bufferview_funcs.C:
4260 * undo_funcs.C: adjust
4262 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * text2.C (incrementItemDepth): new function, use a backtracking
4265 algorithm to discover the correct item depth.
4266 (resetEnumCounterIfNeeded): new function, use a backtracking
4267 algorithm to discover if counter reset is needed.
4268 (setCounter): use them. Simplify a bit. Add different labels for
4269 different item depths for itemize.
4271 * paragraph.C (Paragraph): remove initialization of enumdepth
4274 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4275 enumerate and itemize. Change the type of itemdepth to signed char.
4277 2003-10-08 André Pönitz <poenitz@gmx.net>
4279 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4284 * tabular.[Ch]: fix crash after 'row-insert'
4286 2003-10-08 Angus Leeming <leeming@lyx.org>
4288 Fix doxygen warnings.
4290 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4291 Remove CutAndPaste:: prefix from header file declaration.
4293 * LColor.h (fill): remove LColor:: prefix from declaration.
4295 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4296 use lyx::depth_type rather than Paragraph::depth_type so that
4297 header file and .C file match.
4299 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4301 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4302 * aspell.C: \file aspell_local.C -> \file aspell.C
4303 * gettext.C: \file gettext.C -> \file src/gettext.C
4304 * gettext.h: \file gettext.h -> \file src/gettext.h
4305 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4306 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4307 * text.C: \file text.C -> \file src/text.C
4309 * toc.C: move comment so that doxygen is not confused.
4311 2003-10-07 Angus Leeming <leeming@lyx.org>
4313 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4315 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4318 * aspell_local.h: add forgotten std::string's.
4320 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4327 * text3.C: The Box patch. Fancybox support, minipage, parbox
4329 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4335 * ParagraphParameters.h:
4345 * lyxtextclasslist.h:
4348 * paragraph_pimpl.C:
4349 * textcursor.h: add <string> and other small fixes to make Lars'
4350 std::string patch compile with STLport.
4352 2003-10-06 Angus Leeming <leeming@lyx.org>
4354 * LColor.h: Add missing #include <string>.
4356 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * All most all file in all subdirs: Make <string> be the prefered
4359 way of getting to std::string, add using declarations.
4361 2003-10-06 André Pönitz <poenitz@gmx.net>
4363 * metricsinfo.C: initialize LyXFont before changing attribute.
4364 (fixes the 'math in \emph is upright' bug)
4366 2003-10-06 André Pönitz <poenitz@gmx.net>
4368 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4370 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4373 * paragraph_pimpl.C: Small fixes to build using STLport
4375 2003-10-02 André Pönitz <poenitz@gmx.net>
4378 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4380 2003-10-01 André Pönitz <poenitz@gmx.net>
4382 * factory.C: assert early
4384 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * lyx_main.C: remove the global debug object
4388 * debug.h: adjust for new debugstream
4390 * debug.C: adjust for new debugstream and keep the global debug
4393 2003-09-22 Angus Leeming <leeming@lyx.org>
4395 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4396 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4397 an incomplete class LyXFont.
4399 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4401 * factory.C: bug fix in branches
4403 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4405 * lyxfunc.C (processKeySym): adjust
4407 (dispatch): change arg name from ev to func, adjust
4408 (sendDispatchMessage): ditto
4410 * lyx_main.C (defaultKeyBindings): adjust keybindings
4411 (deadKeyBindings): ditto
4413 * kbsequence.C (addkey): return a FuncRequest
4415 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4417 * kbmap.C (bind): take a FuncRequest as arg, adjust
4420 (defkey): change to take a FuncRequest as arg, adjust
4421 (findbinding): take a FuncRequest as arg, adjust.
4423 * funcrequest.h (operator=): added
4425 * funcrequest.C (FuncRequest): default kb_action changed from
4426 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4428 * buffer.C (dispatch): simplify
4429 (dispatch): adjust to take a FuncRequest as arg, adjust
4431 * boost.C (assertion_failed): change assertion message slightly
4433 * ToolbarBackend.C (read): simplify
4435 * MenuBackend.C (binding): adjust call to findbinding, add a
4436 message if no binding is found.
4438 (expandToc): correct by adding a empty FuncRequest
4440 * LyXAction.C: include <boost/assert.hpp>
4441 (isPseudoAction): delete function
4442 (LookupFunc): change name to...
4443 (lookupFunc): this. change return type to FuncRequest.
4444 (getActionName): take kb_action as arg, simplify
4445 (funcHasFlag): add an assert, simplify.
4447 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * toc.C (action): return a FuncRequest, simplify
4451 * lyxfunc.C (processKeySym): adjust
4452 (getStatus): delete version that takes an int.
4454 (dispatch): delete version that takes action as int
4456 (sendDispatchMessage): simplify and adjust
4458 * funcrequest.C (getArg): take unsigned int as arg
4460 * ToolbarBackend.C (read): adjust
4461 (add): delete version that takes func as a string.
4462 (getIton): take a FuncRequest as arg
4464 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4467 * MenuBackend.C (MenuItem): add a new construct that only takes a
4468 Kind, simplify the constructor use for submenus.
4470 (expandLastfiles): adjust
4471 (expandDocuments): adjust
4472 (expandFormats): adjust
4473 (expandFloatListInsert): adjust
4474 (expandFloatInsert): adjust
4475 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4477 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4478 Remove class variables lyx_pseudo_map and lyx_arg_map
4480 * LyXAction.C (searchActionArg): delete function
4481 (getPseudoAction): delete function
4482 (retrieveActionArg): delete function
4483 (LookupFunc): make it return kb_action, simplify.
4484 (getActionName): simplify
4486 * factory.C (createInset): fix new bug
4488 2003-09-19 Angus Leeming <leeming@lyx.org>
4490 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4491 masterFilename_ parameter in the include inset.
4493 * factory.C (createInset): changes due to the changes to InsetInclude.
4495 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4497 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4499 2003-09-18 Angus Leeming <leeming@lyx.org>
4502 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4503 Inset::fillWithBibKeys.
4504 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4506 2003-09-18 Angus Leeming <leeming@lyx.org>
4508 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4510 (ctor): pass and store a 'Buffer const &'
4511 (buffer): new member function.
4513 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4514 '*this' to the LaTeXFeatures ctor.
4516 2003-09-18 Angus Leeming <leeming@lyx.org>
4522 * text.C: rename EnumLColor as LColor_color.
4524 2003-09-18 Angus Leeming <leeming@lyx.org>
4526 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4527 remove #include "insets/insetbase.h" from cursor.h.
4529 2003-09-18 Angus Leeming <leeming@lyx.org>
4531 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4532 InsetOld_code to remove #include "inset.h".
4534 * iterators.C: add #include "insets/inset.h"
4536 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4538 * BufferView.C: remove more locking stuff that apparently doesn't
4539 do anything sensible.
4541 2003-09-16 André Pönitz <poenitz@gmx.net>
4544 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4547 2003-09-16 Angus Leeming <leeming@lyx.org>
4549 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4551 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4554 * paragraph.h: remove #include "lyxfont.h". Forward declare
4557 2003-09-16 Angus Leeming <leeming@lyx.org>
4559 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4560 of support/textutils.h.
4561 (isWord): move the contents of support/textutils.h's IsWordChar here.
4567 * text2.C: add #include "paragraph.h".
4570 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4572 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * LaTeX.C: use namespace alias for lyx::support::os
4580 2003-09-16 Angus Leeming <leeming@lyx.org>
4583 * bufferview_funcs.C:
4586 * paragraph_pimpl.C:
4588 * text.C: add #include "LColor.h".
4590 2003-09-16 Angus Leeming <leeming@lyx.org>
4592 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4593 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4595 Store the FontBits::color variable as an int rather than as an
4596 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4599 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4600 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4601 string calls together.
4603 * lyxrc.C: add #include "LColor.h".
4605 2003-09-15 Angus Leeming <leeming@lyx.org>
4607 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4610 2003-09-15 Angus Leeming <leeming@lyx.org>
4612 * LColor.h: add an EnumLColor wrapper for LColor::color.
4614 * lyxfont.[Ch] (color, setColor, realColor):
4615 * lyxtext.h, text.C (backgroundColor):
4616 pass EnumLColor args to/from the functions, rather than LColor::color
4620 * lyxtext.h: forward declare EnumLColor.
4622 * lyx_main.C: add #include "LColor.h".
4624 2003-09-15 Angus Leeming <leeming@lyx.org>
4626 * .cvsignore: add lyx-gtk.
4628 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * ParagraphParameters.C
4637 * bufferview_funcs.C
4647 * vc-backend.C: remove usage of STRCONV
4649 2003-09-15 Angus Leeming <leeming@lyx.org>
4651 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4652 explicitly define the color passed to the painter.
4654 2003-09-15 Angus Leeming <leeming@lyx.org>
4656 * bufferparams.C (BufferParams): reorder member initializers to avoid
4659 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4661 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4662 * text.C (updateRowPositions): remove an unusual nop
4664 2003-09-12 André Pönitz <poenitz@gmx.net>
4666 * BufferView_pimpl.C:
4675 * Counters.[Ch]: finish the 'automatic counters' job
4677 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4679 * aspell.C: include <boost/assert.cpp> (compile fix)
4681 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4683 * boost.C (assertion_failed): use lyx::support::abort instead of
4686 2003-09-10 Angus Leeming <leeming@lyx.org>
4688 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4689 with their _fwd progeny.
4691 2003-09-09 Angus Leeming <leeming@lyx.org>
4693 134 files throughtout the source tree: replace 'using namespace abc;'
4694 directives with the appropriate 'using abc::xyz;' declarations.
4696 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4698 * boost.C (emergencyCleanup): moved here from LAssert.c
4699 (assertion_failed): new function, called by BOOST_ASSERT
4701 * several files: change Assert to BOOST_ASSERT
4703 2003-09-09 Angus Leeming <leeming@lyx.org>
4705 * buffer.[Ch]: Add an Impl class and move Buffer's member
4706 variables into it. As a result move several header files out of
4709 Add header files to lots of .C files all over the tree as a result.
4711 2003-09-09 Angus Leeming <leeming@lyx.org>
4713 * buffer.[Ch]: make Buffer's member variables private. Add
4716 Lots of changes all over the tree as a result.
4718 2003-09-08 Angus Leeming <leeming@lyx.org>
4720 * graph.C: #include <config.h>.
4722 2003-09-08 Angus Leeming <leeming@lyx.org>
4726 * BufferView_pimpl.C:
4755 * toc.C: remove redundant using directives.
4757 2003-09-07 Angus Leeming <leeming@lyx.org>
4759 * LaTeXFeatures.h: remove #include "support/types.h".
4760 * ToolbarBackend.h: remove #include <algorithm>.
4761 * changes.h: remove #include <ctime>.
4762 * debug.h: remove #include <iosfwd>.
4763 * graph.h: remove #include "support/std_string.h".
4764 * lyx_main.h: remove #include <csignal>.
4765 * lyxlex_pimpl.h: remove #include <fstream>.
4766 * sgml.h: remove #include <algorithm>, <utility>.
4767 * toc.h: remove #include "support/std_ostream.h".
4768 Add #include <iosfwd>.
4770 2003-09-07 Angus Leeming <leeming@lyx.org>
4772 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4774 * converter.h: forward declare LatexRunParams.
4775 * encoding.h: remove #include "lyxrc.h".
4776 * lyxtext.h: remove #include "LColor.h".
4777 * lyxtextclass.h: remove #include "support/types.h".
4778 * trans.h: remove #include "tex-accent.h".
4779 * trans_mgr.h: remove #include "tex-accent.h".
4780 * insets/inset.h: remove #include "support/types.h", <vector>.
4781 * insets/insetcollapsable.h: remove #include "LColor.h".
4782 * insets/insetinclude.h: remove #include "dimension.h".
4783 * insets/insetlatexaccent.h: remove #include "dimension.h".
4784 * insets/insetoptarg.h:: remove #include "insettext.h".
4785 * insets/insettext.h: remove #include "dimension.h",
4786 <boost/shared_ptr.hpp>
4788 * insets/renderers.h: add #include "dimension.h".
4789 * insets/updatableinset.h: add #include "support/types.h".
4791 * many .C files: Associated changes.
4793 2003-09-06 Angus Leeming <leeming@lyx.org>
4795 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4796 one, inside testInvariant.
4798 * PrinterParams.C: new file.
4799 * PrinterParams.[Ch]: move the function bodies out of line.
4801 2003-09-06 Angus Leeming <leeming@lyx.org>
4803 * ParagraphParameters.h: forward declare ParameterStruct rather than
4804 including its header file.
4805 (depth): moved out-of-line.
4807 2003-09-06 Angus Leeming <leeming@lyx.org>
4809 * BufferView_pimpl.h:
4812 * lyxfunc.h: forward declare LyXKeySym rather than
4813 #include "frontends/LyXKeySym.h".
4815 * BufferView_pimpl.C:
4818 * lyxfunc.C: associated changes.
4820 2003-09-06 Angus Leeming <leeming@lyx.org>
4822 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4823 As a result, can remove the #include "insets/inset.h" from BufferView.h
4825 2003-09-06 Angus Leeming <leeming@lyx.org>
4827 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4828 As a result, can remove the #include "insets/inset.h" from BufferView.h
4830 2003-09-06 Angus Leeming <leeming@lyx.org>
4836 * bufferview_funcs.C:
4837 * BufferView_pimpl.C:
4842 * ParagraphParameters.C:
4847 * frontends/controllers/ControlDocument.C:
4848 * insets/insetcaption.C: rearrange the #includes into some sort of
4851 * buffer.h: remove #includes ErrorList.h, undo.h
4853 2003-09-06 Angus Leeming <leeming@lyx.org>
4855 * support/types.h: add a 'depth_type' typedef, used to store the
4856 nesting depth of a paragraph.
4859 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4860 defining explicitly.
4863 * paragraph_funcs.h:
4864 * ParagraphParameters.h:
4865 * sgml.h: use lyx::depth_type rather than Paragraph or
4866 ParameterStruct's depth_type.
4869 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4872 * BufferView_pimpl.C:
4874 * ParagraphParameters.C:
4877 * bufferview_funcs.C:
4884 * frontends/LyXView.C:
4885 * frontends/controllers/ControlDocument.C:
4886 * frontends/controllers/ControlErrorList.C:
4887 * insets/insetbibitem.C:
4888 * insets/insetbranch.C:
4889 * insets/insetcaption.C:
4890 * insets/insetcollapsable.C:
4891 * insets/insetenv.C:
4892 * insets/insetert.C:
4893 * insets/insetfloat.C:
4894 * insets/insetfoot.C:
4895 * insets/insetfootlike.C:
4896 * insets/insetnewline.C:
4897 * insets/insetquotes.C:
4898 * insets/insettabular.C:
4899 * insets/insettext.C:
4900 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4902 * frontends/controllers/ControlChanges.C: #include "changes.h".
4904 2003-09-06 Angus Leeming <leeming@lyx.org>
4906 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4907 than #including paragraph.h.
4910 * RowList.h: deleted. Superfluous.
4920 * insets/insettext.h: use ParagraphList_fwd.h rather than
4923 * paragraph.h: don't forward declare ParagraphList.
4926 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4927 rather than ParagraphList.h. paragraph.h is still needed for the
4928 Paragraph::depth_type parameters.
4930 * textcursor.h: enable it to compile stand-alone in light of the
4933 * bufferview_funcs.C:
4945 * frontends/controllers/ControlParagraph.C:
4946 * frontends/controllers/ControlTabular.C:
4947 * insets/insetmarginal.C:
4948 * insets/insetminipage.C:
4949 * insets/insetnote.C:
4950 * insets/insetoptarg.C: add header files needed to compile again.
4952 2003-09-06 Angus Leeming <leeming@lyx.org>
4954 * RowList_fwd.h: new file, forward-declaring Row rather than
4955 #including lyxrow.h.
4960 * insets/insettext.h: use it instead of RowList.h
4962 * bufferview_funcs.C:
4969 * text3.C: #include "RowList.h".
4971 2003-09-05 Angus Leeming <leeming@lyx.org>
4973 * factory.C (createInset):
4974 * vspace.C (c-tor): replace sscanf call with an istringstream.
4975 * ispell.C: re-add missing HP/UX headers.
4976 * lyxserver.C: re-add missing os2 headers.
4978 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4987 * text3.C: re-add missing system headers, needed for 2.95.2.
4989 2003-09-05 Angus Leeming <leeming@lyx.org>
4991 Changes most place everywhere due to the removal of using directives
4992 from support/std_sstream.h.
4994 2003-09-05 Angus Leeming <leeming@lyx.org>
4996 Replace LString.h with support/std_string.h,
4997 Lsstream.h with support/std_sstream.h,
4998 support/LIstream.h with support/std_istream.h,
4999 support/LOstream.h with support/std_ostream.h.
5001 Changes resulting throughout the tree.
5003 2003-09-05 Angus Leeming <leeming@lyx.org>
5005 * sgml.h: ensure that the header file can be compiled stand-alone.
5006 * *.C: strip out redundant #includes. (320 in total.)
5008 2003-09-04 Angus Leeming <leeming@lyx.org>
5010 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5011 here (from getPackages).
5013 * debug.[Ch]: add a new EXTERNAL tag.
5015 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5017 * text2.C (cursorEnd): simplify
5019 (getColumnNearX): adjust
5021 * text.C (computeBidiTables): adjust
5024 * rowpainter.C (paintChars): adjust
5025 (paintSelection): adjust
5026 (paintChangeBar): adjust
5029 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5031 (numberOfSeparators): adjust
5033 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5039 * text3.C: Restricts the mouse click functionality
5040 of insets like bibtex, include, toc and floatlist to the visible
5041 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5042 up the dialogs. Cursor has to be in front of the inset (i.e.
5043 start of row) for this to function.
5045 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5047 * bufferview_funcs.C (currentState): output row information
5049 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5051 * bufferview_funcs.C (currentState): output paragraph position
5053 2003-09-04 Angus Leeming <leeming@lyx.org>
5055 * FloatList.h: move out #include "Floating.h".
5056 * LaTeX.h: move out #include "DepTable.h".
5057 * LyXAction.h: move out #include "funcrequest.h".
5058 * buffer.h: move out #include "author.h", "iterators.h".
5059 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5060 * lyx_main.h: move out #include "errorlist.h".
5061 * lyxfunc.h: move out #include "FuncStatus.h".
5062 * lyxtext: move out #include "lyxcursor.h".
5063 * paragraph_pimpl.h: move out #include "counters.h".
5065 2003-09-03 Angus Leeming <leeming@lyx.org>
5067 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5068 preamble_snippets list, enabling us to add snippets to the preamble
5069 only if the snippet was not there already.
5071 2003-09-04 Angus Leeming <leeming@lyx.org>
5073 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5075 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5080 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5082 * BranchList.C: point fix, earlier forgotten
5084 2003-09-02 Angus Leeming <leeming@lyx.org>
5086 * box.C (contains): renamed from 'contained' after a fantastic
5089 2003-09-02 John Levon <levon@movementarian.org>
5095 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5097 2003-09-02 John Levon <levon@movementarian.org>
5099 * text2.C: simplification of cursorEnd(), including partial
5102 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * buffer.C (readFile): add a space
5106 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5108 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5110 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * buffer.C (readFile): new function, take a filename and a
5113 ParagraphList::iterator
5115 (readFile): adjust, make it private. don't use setStream, make
5116 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5117 always contain the filename.
5119 * BufferView.C (insertLyXFile): simplify and make it work for
5122 2003-08-30 John Levon <levon@movementarian.org>
5124 * Makefile.am: fix dist (from Kayvan)
5126 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5128 * most files: change to use const Buffer refs
5130 2003-08-27 André Pönitz <poenitz@gmx.net>
5132 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5133 on top of ownerPar().
5135 2003-08-27 John Levon <levon@movementarian.org>
5137 * funcrequest.C: properly initialise POD members
5139 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5141 * lyxtext.h (top_y): move top_y from here
5146 * BufferView_pimpl.[Ch]: to here
5147 * frontends/screen.C:
5148 * insets/insettabular.C:
5149 * insets/insettext.C: adjust
5150 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5152 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5155 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5157 2003-08-26 André Pönitz <poenitz@gmx.net>
5159 * paragraph_func.[Ch] (outerPar): new function
5162 * paragraph_funcs.C:
5163 * paragraph_funcs.h:
5164 * paragraph_pimpl.C:
5165 * text2.C: remove Inset::par_owner
5167 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5172 * text2.C: eliminates the needFullRow/display() stuff
5173 altogether, putting the logic in metrics/draw in the insets.
5175 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5177 * text2.C (redoParagraphInternal, redoParagraphs):
5178 * text.C (redoParagraph): add a call to updateRowPositions at the
5179 end of each 'metrics-like' call. Remove all others.
5180 (getRow): remove the 'y-computing' version.
5181 (getRowNearY): do not compute nor return the real y. Solve the
5182 'y < 0' problem and simplify.
5184 2003-08-22 Angus Leeming <leeming@lyx.org>
5186 * *.[Ch]: clean-up of licence and author blurbs.
5187 Also move config.h out of a few .h files and into a few .C files.
5189 2003-08-22 André Pönitz <poenitz@gmx.net>
5191 * lyxrow.[Ch]: add x_ and *fill_ members
5196 * text2.C: adjust/remove prepareToPrint() calls
5198 2003-08-22 André Pönitz <poenitz@gmx.net>
5200 * lyxrow.[Ch]: add end_ member
5202 * lyxrow_funcs.C: use LyXRow::end_
5204 * lyxtext.h (singleWidth): add LyXFont parameter
5207 * text2.C: adjust LyXText::singleWidth() calls
5209 * text.C (redoParagraph): simplify row breaking logic
5212 2003-08-19 André Pönitz <poenitz@gmx.net>
5214 * funcrequest.C: initialize button_ member
5217 * rowpainter.[Ch]: interface consolidation
5219 2003-08-18 André Pönitz <poenitz@gmx.net>
5222 * BufferView_pimpl.C:
5224 * paragraph_funcs.C:
5226 * text3.C: remove LyXScreen::draw() and fitCursor calls
5228 * BranchList.h: remove spurious semicolons
5230 * MenuBackend.C: fix branchlist related crash
5232 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5240 * bufferparams.[Ch]:
5244 * text3.C: implements the 'branch inset'
5245 idea. This allows the output of various versions of a document
5246 from a single source version, selectively outputing or suppressing
5247 output of parts of the text.
5248 This implementation contains a 'branch list editor' in a separate
5249 tab of the document settings dialog. Branches are user definable
5250 and have a "display colour" to distinguish them on-screen.
5252 ColorHandler was somewhat cleaned up.
5253 (1) make possible a dynamically growing LColor list by allowing
5254 the graphic context cache to grow along (vector);
5255 (2) eliminate an IMHO unnecessary step in colour allocation.
5257 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5259 * BufferView_pimpl.C: compile fix
5261 2003-08-15 André Pönitz <poenitz@gmx.net>
5263 * rowpainter.C: remove extra metrics calls
5265 * lyxtext.h: merge the two constructors into a single one,
5266 pass reference to owner's par list
5268 * BufferView_pimpl.C:
5272 2003-08-15 André Pönitz <poenitz@gmx.net>
5274 * lyxrow_funcs.[Ch]:
5277 * paragraph_funcs.C:
5282 * text_funcs.C: split LyXText::rowlist_ into individual
5283 Paragraph::rows_ chunks
5286 * BufferView_pimpl.[Ch]:
5289 * text3.C: remove toggleSelection()
5291 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5293 * bufferlist.C: beautify two alerts (shorter text of buttons)
5294 * buffer.C: Remove redundant ' ' from message
5296 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5297 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5298 rename VALIGN_CENTER to VALIGN_MIDDLE
5300 2003-08-11 André Pönitz <poenitz@gmx.net>
5302 * lyxtext.h (getPar):
5303 * text.C: new function
5305 2003-08-11 André Pönitz <poenitz@gmx.net>
5308 * tracer.[Ch]: remove unneeded files
5310 * InsetList.[Ch]: remove resizeInsetsLyXText()
5315 * text3.C: merge insertParagraphs() and appendParagraph()
5316 remove breakAgain(), update()
5318 * BufferView_pimpl.[Ch]:
5319 * bufferview_funcs.[Ch]:
5323 * tabular.C: adjust after text & InsetList changes.
5325 2003-08-08 André Pönitz <poenitz@gmx.net>
5327 * text.C (insertChar, backspace): replace rowlist fiddling
5328 with rebreak of full par
5331 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5332 checkParagraph, updateInset): removed
5334 2003-08-07 André Pönitz <poenitz@gmx.net>
5337 * text3.C: merge some LFUN handlers, remove dead code
5339 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5341 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5343 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5345 * text2.C (DEPM): fix part of bug 1255 and 1256
5347 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5349 * BufferView_pimpl.C (workAreaDispatch): change to use
5350 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5351 that are no mouse related.
5353 2003-08-05 André Pönitz <poenitz@gmx.net>
5356 * BufferView_pimpl.[Ch]:
5357 * bufferview_funcs.C:
5359 * text3.C: rip out "deep update"
5361 * textcursor.[Ch] (last_sel_cursor): remove unused member
5363 2003-08-04 André Pönitz <poenitz@gmx.net>
5366 * BufferView_pimpl.[Ch]:
5367 * ParagraphParameters.C:
5368 * bufferview_funcs.C:
5374 * text3.C: replace "complicated" BufferView::update(...) calls with
5377 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5379 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5381 * Makefile.am (lyx_SOURCES): add paper.h
5383 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5385 * Makefile.am: move things around so that both lyx-qt and
5386 lyx-xforms can be built (according to --with-frontend). Then lyx
5387 is a symbolic link to lyx-[firstfrontend]
5389 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5391 * Always use std::endl with lyxerr
5393 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5395 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5397 2003-08-01 André Pönitz <poenitz@gmx.net>
5400 * BufferView_pimpl.[Ch]:
5402 * text3.C: merge BufferView::repaint() and BufferView::update()
5404 2003-08-01 José Matos <jamatos@lyx.org>
5406 * buffer.[Ch]: file_format is no longer a buffer data element.
5408 2003-08-01 André Pönitz <poenitz@gmx.net>
5413 * text2.C: make redoParagraph more independent of current cursor
5415 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5417 * text2.C: remove unneeded members
5419 2003-07-30 André Pönitz <poenitz@gmx.net>
5421 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5423 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5424 create a single function...
5426 * paragraph_funcs.C (moveItem): ... here.
5429 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5431 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5433 * LColor.[Ch]: Add comment and greyedout logical colors.
5435 2003-07-30 André Pönitz <poenitz@gmx.net>
5437 * tabular.C: don't use Assert too heavily. This crashes where it
5440 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5442 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5443 is disabled (bug 1232)
5445 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5447 * factory.C: limited 'arg' scope
5449 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5451 * factory.C: fixed Note submenu issues
5453 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5455 * factory.C: submenu for Note/Comment/Greyedout
5457 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5460 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5462 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5465 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5466 greyedout. Patch provided by Jürgen Spitzmüller.
5468 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5470 * kbmap.C (read): fix error message when reading bind files
5472 2003-07-29 Angus Leeming <leeming@lyx.org>
5474 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5475 certainly does not do what it purports to do. I am doing it, and
5476 us, a favour by killing it.
5478 2003-07-28 José Matos <jamatos@lyx.org>
5480 * buffer.C (readBody, do_writeFile):
5481 * paragraph.C(readParagraph): \end_document replaces \the_end.
5483 2003-07-29 André Pönitz <poenitz@gmx.net>
5486 * BufferView_pimpl.[Ch]:
5490 * textcursor.[Ch]: remove toggleToggle & Co
5492 2003-07-28 José Matos <jamatos@fep.up.pt>
5494 * buffer.C (readParagraph):
5495 * params_func (readParToken, readParagraph):
5496 * paragraph.C (write): \layout -> \begin_layout.
5498 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * lyxlex_pimpl.C (setFile): clean up slightly.
5502 * bufferparams.h: add compressed var
5504 * buffer_funcs.C (readFile): adjust for LyXLex change
5505 (newFile): ditto + simplify
5507 * buffer.C (writeFile): handle writing of compressed files
5509 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5510 Check if the file is compressed and set a bufferparm if so.
5512 * Makefile.am (lyx_LDADD): remove explicit -lz
5514 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5516 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5517 makeDocBookFile): put the real LyX version in the first line of
5521 * version.C.in: remove lyx_docversion
5523 * tabular.C (write_attribute): add a template-based version to
5524 write enums properly
5526 2003-07-28 André Pönitz <poenitz@gmx.net>
5531 * text3.C: use doubles again for x-coordinates. They are needed.
5533 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * messages.C (getLocaleDir): use lyx_localedir()
5537 * lyxlex_pimpl.C (setFile): compress stuff
5539 * buffer.C (writeFile): add some compression stuff
5540 (do_writeFile): new func, dont call expliti close... will this
5543 * Makefile.am (lyx_LDADD): add -lz
5545 2003-07-28 José Matos <jamatos@fep.up.pt>
5547 * buffer.C: increment file format.
5548 * paragraph_funcs (readParagraph, readParToken):
5549 * paragraph.C (readParagraph): add \end_layout.
5551 2003-07-27 Angus Leeming <leeming@lyx.org>
5553 * Makefile.am: remove special casing for configure-time setting of
5554 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5556 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5557 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5559 2003-07-26 André Pönitz <poenitz@gmx.net>
5561 * paragraph_func.[Ch]:
5562 * paragraph.C (realizeFont): inline it whereever it is used
5567 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5570 2003-07-26 André Pönitz <poenitz@gmx.net>
5574 * text2.C: get rid of LyXText::need_break_row
5576 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5578 * toc.[Ch]: put namespace toc inside namespace lyx
5580 * MenuBackend.C (expandToc2): adjust for lyx::toc
5583 * lyxfunc.C (dispatch): adjust for lyx::find
5585 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5586 lyx::find instead. Reorganize a bit.
5587 (LyXReplace): rename to replace
5588 (LyXFind): rename to find
5590 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5593 2003-07-26 André Pönitz <poenitz@gmx.net>
5595 * text.C (setHeightOfRow): restrict scope of temporary variable
5597 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5598 code (never has been used?)
5600 2003-07-27 Asger Alstrup <alstrup@local>
5602 * text.C (fill): Optimise algorithm to exploit that we can reuse
5603 the LyXFont for many characters.
5604 (setHeightOfRow): Same thing.
5605 (rowBreakPoint): Same thing.
5607 2003-07-26 Asger Alstrup <alstrup@local>
5609 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5611 * text.C (singleWidth): Spurious font copying in hot-spot
5612 singleWidth avoided. Reorder tests for arabic for efficiency.
5614 * text.C (fill): handle empty paragraphs better.
5616 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5619 * encoding.h: add includes
5621 * lyxrc.C: remove reading of bind files
5623 * lyx_main.C (init): setup bindings and menus only if we have a
5626 * kbmap.C (read): new method. Do the actual reading of bind
5629 * converter.C (dvipdfm_options):
5632 (output): adapt PAPER_* enums.
5634 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5636 * bufferparams.h: remove paper-related enums from there
5638 * paper.h: New file. A trivial header file to hold paper-related
5639 enums. It should later expand to contain many paper-related
5642 * lyxrc.C: declare extern displayTranslator
5644 2003-07-27 José Matos <jamatos@fep.up.pt>
5646 * tabular.[Ch] (linuxdoc): add support for tables and figures
5649 2003-07-27 José Matos <jamatos@fep.up.pt>
5651 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5652 consistency in both functions.
5653 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5655 2003-07-26 Asger Alstrup <alstrup@local>
5657 * rowpainter.C (paintRows): Change algorithm to work directly on
5658 the insets rather than asking every character in the document
5659 whether its an inset.
5661 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5663 * buffer.C (openFileWrite): factorize some code
5665 2003-07-26 Angus Leeming <leeming@lyx.org>
5668 * lyx_main.[Ch]: replace occurances of system_tempdir with
5671 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * rename Inset to InsetOld
5675 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5677 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5678 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5679 which I think is a bit clearer. EDIT is gone, since it was
5680 premature optimisation, and broken for mathed anyway.
5681 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5682 with cursor positioning in insets as well (math insets still do not
5683 work, but that's a different story anyway.) It mysteriously
5684 crashes sometimes with undo in the first paragraph, but I'm fairly
5685 confident that this is a compiler bug.
5687 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * paragraph.C (Paragraph): adjust for new clone return type
5691 (copyIntoMinibuffer): ditto
5693 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5695 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5696 by not having a special case, and always doing a full rebreak of
5697 the document after undo.
5699 2003-07-23 Angus Leeming <leeming@lyx.org>
5701 * factory.C (createInset): InsetExternal::setParams now takes a
5704 2003-07-23 Angus Leeming <leeming@lyx.org>
5706 * factory.C (createInset): changed interface to the external and
5707 graphics mailers' string2params functions.
5709 2003-07-23 Angus Leeming <leeming@lyx.org>
5711 * factory.C (createInset): pass a
5712 Buffer const * parameter to InsetExternalMailer's string2params.
5714 2003-07-22 John Levon <levon@movementarian.org>
5716 * Thesaurus.h: include the right aiksaurus header
5718 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5720 * MenuBackend.C (expand): check menu shortcuts unconditionally
5722 2003-07-21 Angus Leeming <leeming@lyx.org>
5724 * factory.C (createInset): pass a
5725 buffer_path parameter to InsetGraphicsMailer's string2params.
5727 2003-07-21 Angus Leeming <leeming@lyx.org>
5729 * BufferView_pimpl.C (buffer):
5732 * lyxfunc.C (dispatch):
5733 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5734 rather than the grfx shortcut.
5736 2003-07-21 André Pönitz <poenitz@gmx.net>
5738 * rowpainter.C: remove unused variables
5741 * tabular_funcs.h: move to tabular.C
5742 * Makefile.am: adjust
5744 * tabular.[Ch]: basic optical cleaning
5746 * author.h: pass references, not values
5748 2003-07-18 André Pönitz <poenitz@gmx.net>
5756 * text3.C: two-phase drawing for InsetText and InsetTabular
5757 some float -> int changes.
5759 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5761 * lyx_main.C: fix the fix
5763 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5765 * lyx_main.C: fix a crash in batch mode if no files specified
5768 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5770 * format.[Ch] (papersize): moved to BufferParams
5771 * converter.[Ch] (dvips_options): moved to BufferParams
5772 (dvipdfm_options): moved to anon namespace
5773 * bufferparams.[Ch]: added above functions.
5775 2003-07-17 André Pönitz <poenitz@gmx.net>
5779 * text2.C: don't call inset->update() anymore
5781 * metricsinfo.[Ch]: add convenience constructor
5783 2003-07-16 André Pönitz <poenitz@gmx.net>
5788 * text2.C: replace the LyXCursor::irow_ member with
5789 on-demand computation of the value
5791 2003-07-16 John Levon <levon@movementarian.org>
5793 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5795 2003-07-15 André Pönitz <poenitz@gmx.net>
5798 * text2.C: remove no more needed refresh_row
5800 2003-07-15 André Pönitz <poenitz@gmx.net>
5805 * text3.C: refresh_status tristate -> need_update bool
5807 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5809 * lyxtext.h (init): remove reinit argument (act as if always true)
5810 * text2.C: adjust to that
5812 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5814 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5815 * text3.C: use it to delete selections in some cases
5816 (bugs 441, 673, 702, 954).
5818 2003-07-14 André Pönitz <poenitz@gmx.net>
5820 * rowpainter.[Ch]: reduce interface
5822 2003-07-14 André Pönitz <poenitz@gmx.net>
5824 * BufferView_pimpl.C:
5825 * text2.C: adjust after removing unused BufferView * argument
5827 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5829 * text2.C (init): fix a crash fired on resize
5831 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5833 * buffer.[Ch]: added new closing signal
5834 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5835 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5836 BufferView::Pimpl via the closing the signal
5838 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5840 * buffer.[Ch]: take out all bv-related from buffer
5842 * BufferView_pimpl.[Ch]: connect to new signals
5843 * CutAndPaste.C: removed useless asserts
5844 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5847 * lyxfunc.C: moved view-related funciontality from vc here
5848 * paragraph.C: removed outdated comments
5851 2003-07-10 André Pönitz <poenitz@gmx.net>
5853 * BufferView_pimpl.C:
5857 * text2.C: remove InsetText::InnerCache, clean up consequences
5859 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5861 * ispell.C: fix two typos in error messages
5863 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5865 * Extend Note inset to other forms of annotation like Comment
5866 and Greyedout. Right button click gives dialog.
5868 Files modified or added (+):
5872 * ControlNote.[Ch] +
5874 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5875 frontends/controllers
5879 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5881 * aspell.C: add missing namespace lyx::support
5883 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5885 * BufferView.[Ch] (newFile): Add
5886 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5887 * LaTeX.[Ch] (message): added this signal and use it
5888 * buffer.[Ch] (busy, message): added these signals and use them
5889 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5893 * importer.C: use buffer signals instead of direct bv calling
5894 * lyx_cb.[Ch] (ShowMessage): removed
5897 * paragraph_funcs.C:
5898 * text2.C: use buffer signals
5900 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * introduce namespace lyx::graphics
5904 2003-07-02 André Pönitz <poenitz@gmx.net>
5906 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5908 2003-07-01 André Pönitz <poenitz@gmx.net>
5915 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5916 text*.C to text_func.C
5918 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * introduce namespace lyx::support
5922 2003-06-30 André Pönitz <poenitz@gmx.net>
5927 * text.C: re-enable --with-included-string
5929 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * textcursor.C: add <config.h>
5933 * text.C (getWord): remove const from word_location arg
5935 * lyxvc.C (getLogFile): fix const type order
5937 * lyxtext.h: remove const from word_location arg, add arg name
5939 * lyxlayout.h: currect type on labeltype.
5941 * importer.C: correct \file
5943 * converter.C (intToFormat): use std:: on ret val, ws changes
5945 * bufferlist.h: correct \file
5947 * buffer.C (makeLinuxDocFile): fix const type order
5948 (makeDocBookFile): ditto
5949 (fillWithBibKeys): use std:: on stdlib args.
5951 * CutAndPaste.C: fix authors.
5952 (availableSelections): use std:: on return vector
5954 2003-06-27 André Pönitz <poenitz@gmx.net>
5956 * BufferView_pimpl.C:
5957 * bufferview_funcs.C:
5965 * text3.C: remove LyXCursor::row_ member
5968 * text.C: rename fullRebreak() to partialRebreak() and implement
5969 a fullRebreak() that really bereks fully
5971 * textcursor.h: new struct for cursor-related data
5973 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5975 * lyx_main.C (LyX): get full path of document loaded on the
5978 2003-06-26 André Pönitz <poenitz@gmx.net>
5980 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5981 remove unused/broken operator>,<,>=.
5983 * text.C: remove only use of broken operator<= in an Assert().
5985 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5987 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5988 moved errorlist_.clear to showErrorList
5990 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5992 * converter.C (scanLog, runLaTeX):
5993 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5994 move the bv->showErrorList call to the callers
5995 * lyxfunc.C: i.e. here...
5997 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5998 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5999 namespace, the second to...
6000 * buffer_funcs (BufferFormat, parseErrors): added
6001 * errorlist.C (ErrorList(TeXErrors const &)): removed
6003 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6005 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6007 2003-06-24 "Garst R. Reese" <reese@isn.net>
6011 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6013 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6015 * version.C.in: change docversion to 1.4
6017 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6019 * buffer.C: fix a bug just introduced
6021 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6023 * buffer.[Ch]: added the parseError signal and use it, removed
6025 * BufferView.[Ch] (addError): moved to ...
6026 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6027 to the Buffer::parseError signal to catch (guess what) parse errors
6028 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6030 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6032 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6033 ability to create a buffer and to return an existing one from
6034 the list. Moved these functions to...
6035 * buffer_funcs.[Ch]: added
6036 * BufferView.[Ch] (loadLyXFile): added
6037 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6038 job removed from bufferlist::loadLyXFile.
6039 * buffer.C (setReadOnly): make it work without view
6040 (i.e added an if (users))
6042 2003-06-19 Angus Leeming <leeming@lyx.org>
6045 * LyXAction.C (init):
6046 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6047 with LFUN_DIALOG_SHOW <name> <data>.
6049 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6051 * CutAndPaste.C (availableSelections): small compilation fix for
6052 ancient (gcc 2.9x) compilers
6054 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * text3.C (cursorNext): add tmp var
6058 * text2.C (updateCounters): for function calling out of for clause
6059 (replaceSelectionWithString): ditto
6060 (insertStringAsParagraphs): ditto
6061 (getColumnNearX): add tmp var
6062 (setCursorFromCoordinates): add tmp var
6063 (cursorDownParagraph): add tmp var
6064 (deleteEmptyParagraphMechanism): add tmp var
6066 * text.C (insertChar): add tmp var
6068 * rowpainter.C (paintDepthBar): add tmp var
6070 * CutAndPaste.C (availableSelections): potentially check all
6071 paragraphs in a cut to fill the shown strings.
6073 2003-06-18 André Pönitz <poenitz@gmx.net>
6075 * kbmap.[Ch]: use vector<> instead of list<>
6077 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6079 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6080 pasteSelection with index
6082 * text2.C (pasteSelection): modify, call pasteSelection with index
6084 * paragraph.C (asString): reimplement version with no interval to
6085 call the one with interval.
6087 * lyxtext.h: add index arg to pasteSelection
6089 * MenuBackend.C (MenuItem): handle PasteRecent
6090 (Menu::read::Menutags): add md_pasterecent
6092 (expandPasteRecent): new function
6095 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6097 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6099 (availableSelections): new function
6101 2003-06-17 Angus Leeming <leeming@lyx.org>
6103 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6105 2003-06-17 Angus Leeming <leeming@lyx.org>
6108 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6110 * lyxfunc.C (dispatch): invoke it.
6112 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6114 * iterators.C (operator++, ParPosition): reintroduce some
6115 const_cast for the benefit of older compilers.
6117 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6119 * text3.C (dispatch): do not modify clipboard when doing
6120 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6121 LFUN_DELETE_SKIP on a selection selection
6123 2003-06-16 André Pönitz <poenitz@gmx.net>
6129 * tabular.[Ch]: IU of clone() and getLabelList();
6131 2003-06-13 André Pönitz <poenitz@gmx.net>
6133 * tabular.h: compactification
6135 2003-06-12 André Pönitz <poenitz@gmx.net>
6139 * tabular_funcs.h: some renaming plus whitespace
6141 2003-06-12 André Pönitz <poenitz@gmx.net>
6144 * BufferView_pimpl.C:
6150 * toc.C: Return a Paragraph & for ParIterator::operator*()
6152 2003-06-11 John Levon <levon@movementarian.org>
6156 * ToolbarBackend.C: add "Toolbars" section and
6159 2003-06-10 Angus Leeming <leeming@lyx.org>
6162 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6164 * lyxfunc.C (dispatch): invoke it.
6166 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6168 * main.C: protect <ios> with HAVE_IOS
6169 (main): protect sync_with_stdio with HAVE_IOS
6171 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6173 * text2.C (cutSelection): adjust
6174 (pasteSelection): adjust
6176 * messages.C: handle get of empty string
6178 * main.C (main): use sync_with_stdio(false)
6180 * lyxfunc.C (dispatch): adjust
6182 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6183 (WriteAs): remove unneeded BufferView arg.
6185 * bufferparams.h: use correct types on papersize, papersize2 and
6188 * bufferparams.C (readToken): adjust for type
6189 (writeLaTeX): add missing cases to switch.
6191 * bufferlist.C (quitWriteBuffer): adjust
6194 * buffer.C (asciiParagraph): remove some commented code.
6196 * CutAndPaste.C: remove current_view extern variable.
6197 (cutSelection): add BufferParams arg.
6198 (eraseSelection): add BufferParams arg.
6199 (pasteSelection): add Buffer const & arg
6201 2003-06-07 John Levon <levon@movementarian.org>
6204 * paragraph_funcs.C:
6205 * paragraph_pimpl.C:
6209 * paragraph.C: allow InsetERT to freely space lines,
6210 and some consolidation of code
6212 2003-06-06 José Matos <jamatos@fep.up.pt>
6214 * buffer.C (makeDocBookFile): fix bug #821
6216 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6218 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6220 2003-06-04 Angus Leeming <leeming@lyx.org>
6222 * buffer.C: bump format to 224.
6224 2003-06-05 André Pönitz <poenitz@gmx.net>
6226 * text2.C (redoParagraphs): remove two const_cast<>
6228 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6230 * ParagraphList.h: remove last remnants of NO_STD_LIST
6232 2003-06-03 Angus Leeming <leeming@lyx.org>
6234 * factory.C (createInset): small change to the way InsetExternal's params
6237 2003-06-04 André Pönitz <poenitz@gmx.net>
6239 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6241 * paragraph_pimpl.h:
6242 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6244 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6246 * undo_funcs.C: make some simple cases of undo work again
6248 2003-06-03 John Levon <levon@movementarian.org>
6250 * ispell.C: HPUX doesn't have sys/select.h
6253 2003-06-03 John Levon <levon@movementarian.org>
6255 * CutAndPaste.C: update tabular and include inset
6260 * paragraph.C: remove owningBuffer(), don't pass Buffer
6263 * factory.C: insetGraphicsParams changed
6265 2003-06-02 John Levon <levon@movementarian.org>
6271 * text3.C: remove insetparent
6273 2003-06-02 John Levon <levon@movementarian.org>
6276 * buffer.C: fix inset_iterator.end(), move out of line
6279 2003-06-01 John Levon <levon@movementarian.org>
6281 * text3.C: use a proper cut/paste when doing inset
6282 insert (from Jürgen Spitzmüller)
6284 2003-06-01 John Levon <levon@movementarian.org>
6286 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6288 2003-05-30 André Pönitz <poenitz@gmx.net>
6290 * rowpainter.C: unify second drawing phase
6292 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * trans_mgr.C: remove one case of current_view
6296 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6298 * paragraph_funcs.h: remove paragraph.h include
6300 * paragraph.h: delete NO_STD_LIST stuff
6302 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6304 * buffer.h: remove paragraph.h include
6306 * ParagraphList.C: delete file
6308 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6310 * toc.C (getTocList): adjust
6312 * paragraph_pimpl.C (validate): adjust
6314 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6316 * paragraph.C (Paragraph): adjust
6317 (getPositionOfInset): use const_iterator, adjust
6318 (bibitem): use const_iterator, adjust
6319 (setInsetOwner): adjust
6321 * iterators.C (operator++): adjust
6323 * InsetList.[Ch]: Replace selfmade iterator with standard
6324 vector::iterator also introduce const_iterator. Remove getPos,
6325 getInset and setInset from InsetTable. Adjust accordingly.
6327 * BufferView.C (lockInset): adjust
6328 (ChangeInsets): adjust
6330 * tabular.[Ch]: delete commented same_id functions
6332 2003-05-28 John Levon <levon@movementarian.org>
6334 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6336 2003-05-28 André Pönitz <poenitz@gmx.net>
6338 * metricsinfo.[Ch]: remove 'fullredraw' member
6340 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6342 * lyxtextclass.C (operator): remove caching.
6344 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * text2.C (cursorBottom): adjust
6349 (setCounter): use ParagraphList::find, adjust
6351 * text.C (workWidth): use ParagraphList::find, adjust
6353 * lyxcursor.C (LyXCursor): adjust
6355 * buffer.C (inset_iterator): adjust
6357 * ParagraphList.h: make iterator(value_type) private, make
6358 ParagraphList a friend of iterator.
6360 * ParagraphList.C (find): new function
6362 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6364 2003-05-27 André Pönitz <poenitz@gmx.net>
6366 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6368 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6370 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6372 2003-05-26 John Levon <levon@movementarian.org>
6374 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6376 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * remove same_id from function signatures, adjust.
6380 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6384 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6386 * paragraph.C (Paragraph): get rid of same_ids parameter
6388 * ParagraphList.C (insert): adjust
6391 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * paragraph_funcs.C (breakParagraph): adjust
6394 (breakParagraphConservative): adjust
6396 * buffer.C (readParagraph): adjust
6398 * ParagraphList.C (insert): take a reference instead of a pointer
6401 * paragraph.[Ch] (id): new function
6403 * bufferlist.C (newFile): adjust
6405 * ParagraphList.C (ParagraphList): adjust
6407 (push_back): take a reference instead of a pointer.
6409 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6411 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6414 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6415 set else use old code.
6417 * ParagraphList.C: remove all NO_NEXT code and only compile this
6418 code of NO_STD_LIST is set.
6420 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6422 * BufferView_pimpl.C:
6432 * graphics/GraphicsConverter.C:
6433 * graphics/PreviewLoader.C: header adjustment
6435 2003-05-23 Angus Leeming <leeming@lyx.org>
6437 * LaTeXFeatures.[Ch] (useBabel): new method.
6438 * bufferparams.C (writeLaTeX): use it.
6440 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6442 * ParagraphList.h (set): remove unused function.
6444 2003-05-23 André Pönitz <poenitz@gmx.net>
6447 * BufferView_pimpl.C:
6451 * undo_funcs.C: setUndo reworked
6453 * iterators.[Ch]: add access to topmost ParagraphList
6455 * lyxtext.[Ch] (workWidth): add a const
6457 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6459 * texrow.[Ch] (increasePos): remove function
6460 * exporter.C (export): removed unused var and outdated comment
6462 2003-05-23 Angus Leeming <leeming@lyx.org>
6464 * latexrunparams.h: rename fragile as moving_arg.
6465 * paragraph.C (simpleTeXOnePar): ditto.
6466 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6468 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6470 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6472 (textUndoOrRedo): comment out a currently unused var.
6474 * paragraph.h (NO_NEXT): enable NO_NEXT
6476 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6478 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6480 * exporter.C (Export): adjust for removeAutoInsets removal.
6482 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6484 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6486 * BufferView.[Ch] (removeAutoInsets): delete function
6488 2003-05-22 Angus Leeming <leeming@lyx.org>
6490 * latexrunparams.h: add a free_spacing variable.
6492 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6493 to pass moving_arg, as the data is stored in runparams.fragile.
6495 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6496 to Inset::latexOptional or to simpleTeXOnePar.
6498 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6499 free_spacing arg to Inset::latexOptional.
6501 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6504 2003-05-22 Angus Leeming <leeming@lyx.org>
6506 * latexrunparams.h: add fragile and use_babel variables.
6508 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6509 * buffer.C (makeLaTeXFile): store this returned value in
6510 runparams.use_babel, thus passing it to the inset::latex methods.
6512 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6513 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6515 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6516 longer has a fragile arg, as it is stored in runparams.fragile.
6518 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6519 moving_arg parameter as the data is stored in runparams.fragile.
6521 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6522 a fragile parameter as the data is stored in runparams.fragile.
6524 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6526 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6528 2003-05-22 Angus Leeming <leeming@lyx.org>
6530 * latexrunparams.h: add a 'bool nice' which defaults to false.
6532 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6533 now encapsulated within runparams.
6535 * bufferlist.C (updateIncludedTeXfiles):
6536 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6538 2003-05-22 Angus Leeming <leeming@lyx.org>
6540 * latexrunparams.h: new file containing struct LatexRunParams.
6541 * Makefile.am: add new file.
6543 * LaTeX.[Ch] (c-tor, run):
6544 * buffer.[Ch] (makeLaTeXFile):
6545 * bufferlist.[Ch] (updateIncludedTeXfiles):
6546 * converter.C (convert, scanLog):
6547 * converter.[Ch] (runLaTeX):
6548 * exporter.C (Export):
6549 * paragraph.[Ch] (simpleTeXOnePar):
6550 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6551 * paragraph_funcs.[Ch] (latexParagraphs):
6552 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6553 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6554 pass around a LatexRunParams parameter.
6556 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * paragraph.[Ch]: remove unused constructor
6560 * ParagraphList.C (erase): new function, taking two iterators
6562 2003-05-22 André Pönitz <poenitz@gmx.net>
6564 * undo_funcs.C: remove duplicated code
6566 * iterator.[Ch]: operator=
6568 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * tabular.C (SetMultiColumn): ws changes
6572 * rowpainter.C (paintFirst): get rid of a ->previous
6574 * lyx_cb.C (getPossibleLabel): parlist simplification
6576 * BufferView.C (ChangeInsets): simplify slightly.
6578 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6580 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6581 * lfuns.h: new LFUN_SPACE
6582 * lyxfunc.C: protected space has a new lfun
6583 * paragraph_funcs.C: read new space insets
6585 * factory.C: handle new space insets
6587 2003-05-22 André Pönitz <poenitz@gmx.net>
6590 * BufferView_pimpl.C:
6593 * undo_funcs.C: return a ParIterator from getParFromID.
6595 * iterators.[Ch]: add two const's
6597 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * toc.C (getTocList): adjust
6601 * iterators.[Ch]: rework for parlist
6603 * buffer.C (par_iterator_begin): adjust
6604 (par_iterator_end): adjust
6606 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6608 * BufferView.C (removeAutoInsets): adjust
6609 (ChangeInsets): adjust
6611 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6613 * text.C (top_y): fix bug 1110
6615 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6617 * errorlist.[Ch]: added
6620 * BufferView_pimpl.C:
6621 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6624 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * Makefile.am: ensure that lyx is relinked upon changes to the
6627 various "convenience" libs.
6629 2003-05-20 Angus Leeming <leeming@lyx.org>
6631 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6632 files are compiled in alphabetical order again.
6634 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6636 2003-05-19 Angus Leeming <leeming@lyx.org>
6638 * gettext.[Ch]: remove "char const * _(char const *)".
6640 2003-05-19 André Pönitz <poenitz@gmx.net>
6642 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6651 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6653 2003-05-19 André Pönitz <poenitz@gmx.net>
6657 * lyxtextclass.[Ch]:
6659 * paragraph_funcs.[Ch]:
6661 * text3.C: more insetenv work
6663 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6665 * ParagraphParameters.C (params2string): small bug fixed
6667 2003-05-16 André Pönitz <poenitz@gmx.net>
6670 * bufferview_funcs.C: patch from Kornel Benko to prevent
6671 crash when _(...) is called twice in a statement
6673 2003-05-16 André Pönitz <poenitz@gmx.net>
6680 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6682 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6684 * lyx_main.C (init): remove spurious static_cast
6686 2003-05-14 André Pönitz <poenitz@gmx.net>
6688 * BufferView.C: fix format string
6690 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6692 * BufferView.[Ch] (insertErrors): removed
6693 * BufferView.[Ch] (showErrorList): added
6694 * buffer.C (runChkTeX):
6695 * converter.C (scanLog): call showErrorList instead of inserterrors
6697 2003-05-13 André Pönitz <poenitz@gmx.net>
6699 * BufferView_pimpl.C:
6701 * bufferview_func.C:
6708 * tabular_funcs.h: tostr() from its own header
6710 * ParagraphParameters.C:
6715 * text3.C: STRCONV()
6717 2003-05-12 André Pönitz <poenitz@gmx.net>
6720 * BufferView_pimpl.C:
6724 * ParagraphParameters.C:
6728 * bufferview_funcs.C:
6741 * paragraph_funcs.C:
6745 * text3.C: boost::format -> bformat all over the place
6748 2003-05-09 André Pönitz <poenitz@gmx.net>
6750 * LColor.[Ch]: Pimpl the #include <map> away
6752 2003-05-09 John Levon <levon@movementarian.org>
6754 * bufferlist.C: never remove emergency saves
6756 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * Makefile.am: better lib building
6760 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6762 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6764 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6765 (simpleTeXSpecialChars): adjust
6766 (simpleTeXSpecialChars): adjust
6767 * paragraph.C (simpleTeXOnePar): adjust
6768 * buffer.C (makeLaTeXFile): adjust
6770 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6772 * text2.C (changeDepth): parlist cleanup
6773 (getColumnNearX): ditto
6775 * rowpainter.C (getLabelFont): parlist cleanup
6777 * bufferlist.C (newFile): parlist cleanup
6779 * CutAndPaste.C (eraseSelection): parlist cleanup
6781 * BufferView_pimpl.C (trackChanges): parlist cleanup
6784 * BufferView.C (lockInset): parlist cleanup.
6785 (ChangeInsets): ditto
6787 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * CutAndPaste.h: Update file header.
6791 * CutAndPaste.C: Update file header.
6792 Store the parts cut out of the Document in a limited_stack.
6793 (copySelection): adjust
6794 (pasteSelection): new function, takes the index in the limited stack.
6795 (nrOfParagraphs): adjust
6796 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6797 simplify error inset insertion.
6798 (checkPastePossible): adjust
6800 2003-05-06 John Levon <levon@movementarian.org>
6802 * text2.C: don't cast wrap inset to float
6804 2003-05-05 André Pönitz <poenitz@gmx.net>
6807 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6809 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6810 few naked Paragraph *.
6812 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6814 * bufferparams.C: Output warning if a document with missing
6815 TeX document class is loaded
6816 * exporter.C: Disable TeX exports if the document class is missing
6819 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6820 isTeXClassAvailable()
6822 2003-05-03 John Levon <levon@movementarian.org>
6825 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6826 explicit cursor show/hide
6828 * BufferView_pimpl.h:
6829 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6830 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6832 * lyxfunc.C: hide cursor before dispatching.
6837 * text3.C: remove explicit cursor hides
6839 2003-05-02 André Pönitz <poenitz@gmx.net>
6841 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6844 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6847 * text2.C: tiny whitespace
6849 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * undo_funcs.C: almost only ws changes.
6853 * ParagraphList.C (splice): just return if pl is empty.
6855 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * ParagraphList.C (splice): new function.
6859 * CutAndPaste.C (pasteSelection): use it
6861 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * CutAndPaste.C (pasteSelection): remove the last next and
6864 previous from this file.
6866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * CutAndPaste.C (pasteSelection): more clean up, user proper
6869 ParagraphList functions for pasteing.
6871 * ParagraphList.C (insert): new function, three arg insert
6873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * ParagraphList.C (insert): new function, three arg insert
6877 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6880 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6884 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6888 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6891 (copySelection): clean up a bit.
6892 (pasteSelection): use make_pair
6894 * ParagraphList.C (ParagraphList): implement copy constructor
6895 (operator=): implement, base on copy constructor.
6898 * paragraph.C (erase): return a bool
6900 * paragraph_pimpl.C (erasePos): remove function, move contents...
6901 (erase): ... here. Return a bool.
6902 (erase): call erase instead of erasePos.
6904 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6906 * ParagraphList.h: define PitPosPair
6907 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6908 ParagraphList, fix a bug on pasting multiple pars
6909 * text2.C: change interface to C&P
6911 2003-04-30 André Pönitz <poenitz@gmx.net>
6913 * undo_func.C: revert part of yesterday's patch 2
6915 2003-04-30 John Levon <levon@movementarian.org>
6917 * LColor.C: s/tabular/table/
6919 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * text3.C (dispatch): do not convert iterator -> pointer
6922 * undo_funcs.C (setCursorParUndo): ditto
6923 * text_funcs.C (transposeChars): ditto
6925 * text2.C (setLayout): ws changes only
6927 * text.C (breakParagraph): do not convert iterator -> pointer
6929 (acceptChange): ditto
6930 (rejectChange): ditto
6935 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6938 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6940 * text3.C (gotoInset): YABG (yet another bad getChar)
6942 2003-04-29 André Pönitz <poenitz@gmx.net>
6944 * paragraph.h: make operator= private unimplemented as long as
6947 * ParagraphList.C: whitespace
6950 * paragraph_pimpl.[Ch]:
6951 * paragraph_funcs.C:
6953 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6956 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6958 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6960 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6961 * paragraph.[Ch] (erase):
6962 * paragraph_pimpl.[Ch] (erase): change return type and value
6963 * text2.C (cutSelection): some rework
6965 2003-04-28 John Levon <levon@movementarian.org>
6967 * bufferlist.C: changes for unsaved changes dialog
6969 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6971 * bufferlist.C (newFile): set language (messages_) for new
6974 * buffer.C (readFile): ws changes only.
6976 2003-04-28 André Pönitz <poenitz@gmx.net>
6981 * BufferView_pimpl.C:
6982 * BufferView.C: getParFromID related ParagraphList::iterator changes
6984 2003-04-28 André Pönitz <poenitz@gmx.net>
6986 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6989 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * messages.C: remove one more localedir class variable.
6993 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * messages.C (getLocaleDir): singleton generation function
6997 (Messages): add a default constructor.
6999 * main.C (main): do not setup localedir here, do not call
7002 * gettext.C (_): use it.
7003 (gettext_init): delete funciton
7005 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * gettext.C (getLyXMessages): new singleton generating function.
7009 * buffer.C (updateDocLang): adjust
7011 * Makefile.am (messages.o): add target
7012 (main.o): remove target
7014 2003-04-27 John Levon <levon@movementarian.org>
7019 * lyxvc.C: specify cancel button in Alert::prompt
7021 2003-04-26 John Levon <levon@movementarian.org>
7026 * LyXAction.C: add LFUN_INSET_SETTINGS
7028 * lyxfunc.C: don't enable tabular-feature when there's
7029 just any locking inset
7031 2003-04-26 John Levon <levon@movementarian.org>
7033 * bufferlist.C: re-add Cancel to buffer close question
7035 * lyxfunc.C: fix import UI a bit
7037 2003-04-25 John Levon <levon@movementarian.org>
7039 * gettext.C: remove the broken asserts for now
7041 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * messages.C: make case where setlocale cannot comply work better.
7045 * buffer.C (updateDocLang): new function
7046 (changeLanguage): use it
7049 * text2.C (setCounter): use B_ a bit.
7051 * lyxlayout.C (Read): be sure to trim the label strings.
7053 * messages.C (Messages): fix typo in comment
7055 * buffer.C (readFile): set message_ after file is loaded.
7056 (makeDocBookFile): remove double return
7057 (changeLanguage): reset message_ upon language change.
7058 (B_): new func, use this to get translated buffer strings.
7060 * main.C: add myself and Jean Marc as authors.
7062 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7064 * messages.[hC]: pimplify Messages, and three different pimpls to be
7065 used in different circumstances.
7067 * gettext.[Ch]: change for use with new message code.
7069 2003-04-24 André Pönitz <poenitz@gmx.net>
7071 * factory.C: support for eqref
7073 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7075 * messages.[Ch]: add missing char
7077 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7079 * messages.[Ch]: New files
7081 2003-04-18 John Levon <levon@movementarian.org>
7085 * BufferView_pimpl.C:
7089 * text2.C: remove layout-copy/paste (bug 778)
7091 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7093 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7095 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7097 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7098 if they succeed. Act accordingly.
7100 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * text2.C (setCharFont): adjust
7103 (setCounter): adjust
7104 (insertStringAsLines): adjust
7106 * text.C (leftMargin): adjust
7107 (setHeightOfRow): adjust
7109 * rowpainter.C (paintFirst): adjust
7112 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7114 (isFirstInSequence): ditto
7115 (getEndLabel): ditto
7118 * paragraph.C (getParLanguage): comment out some hard stuff.
7120 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7122 (simpleDocBookOnePar): ditto
7123 (makeDocBookFile): use ParagraphList::iterator
7125 * CutAndPaste.C (pasteSelection): adjust
7127 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * text2.C (getFont): adjust
7130 (getLayoutFont): adjust
7131 (getLabelFont): adjust
7133 * paragraph_funcs.C (TeXOnePar): adjust
7135 * buffer.C (simpleLinuxDocOnePar): adjust
7136 (simpleDocBookOnePar): adjust
7138 * CutAndPaste.C (pasteSelection): adjust
7140 * BufferView.C (getEncoding): adjust
7142 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7144 2003-04-16 John Levon <levon@movementarian.org>
7146 * lyxfind.C: use parlist stuff for search/changes
7148 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7152 * text2.C (deleteEmptyParagraphMechanism): adjust
7154 * text2.[Ch] (ownerParagraph): delete func (both of them
7156 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7158 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7160 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7162 * ParagraphList.C: prepare for NO_NEXT
7164 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7166 * text2.C (getFont): adjust
7167 (getLayoutFont): adjust
7168 (getLabelFont): adjust
7170 * paragraph.C (getFont): adjust
7171 (getLabelFont): adjust
7172 (getLayoutFont): adjust
7174 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7176 2003-04-15 John Levon <levon@movementarian.org>
7180 * lyx_main.C: handle Include in .ui files
7182 2003-04-15 John Levon <levon@movementarian.org>
7184 * MenuBackend.C: make the doc files length shorter
7187 * ToolbarBackend.C: handle toolbar placement flags,
7190 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7195 * paragraph_funcs.C (TeXOnePar): adjust
7197 * paragraph.C (getLabelFont): add outerfont arg, adjust
7198 (getLayoutFont): ditto
7199 (simpleTeXOnePar): adjust
7201 * paragraph_pimpl.C (realizeFont): delete func
7203 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7205 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7206 row argument, constify cur argument.
7208 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * text2.C (getFont): adjust
7211 (getLayoutFont): adjust
7212 (getLabelFont): adjust
7214 * paragraph_funcs.C (TeXOnePar): adjust
7215 (outerFont): new func...
7216 (realizeFont): ...moved out from here, changed this to facilitate
7219 * paragraph.C (getFont): take outerfont as arg, adjust
7220 (simpleTeXOnePar): add outerfont arg, adjust
7222 * buffer.C (simpleLinuxDocOnePar): adjust
7223 (simpleDocBookOnePar): adjust
7225 * CutAndPaste.C (pasteSelection): adjust
7227 * BufferView.C (getEncoding): adjust
7229 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7231 * text2.C (setCharFont): adjust
7232 (setCounter): adjust
7234 * text.C (leftMargin): adjust
7235 (setHeightOfRow): adjust
7237 * rowpainter.C (paintFirst): adjust
7240 * paragraph_pimpl.C (realizeFont): adjust
7242 * paragraph.C (isFirstInSequence): move from here...
7243 * paragraph_funcs.C (isFirstInSequence): ...to here
7245 * paragraph.C (outerHook): move from here...
7246 * paragraph_funcs.C (outerHook): ...to here
7248 * paragraph.C (depthHook): move from here...
7249 * paragraph_funcs.C (depthHook): ...to here
7251 * paragraph.C (getEndLabel): move from here...
7252 * paragraph_funcs.C (getEndLabel): ...to here
7254 * text2.C (realizeFont): move from here...
7255 * paragraph_funcs.C (realizeFont): ...to here
7257 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7261 2003-04-14 Angus Leeming <leeming@lyx.org>
7263 * LColor.[Ch]: scrap LColor mathcursor.
7265 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7267 * lyxlex.[Ch] (text): delete function
7268 * trans.C (Load): adjust
7269 * paragraph_funcs.C (readParToken): adjust
7271 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7274 vector<char> instead of a char[].
7276 * lyxlex_pimpl.C (getString): adjust
7278 (lex): use getString
7282 * lyxlex.C (text): use pimpl_->getString()
7286 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7289 (makeFontEntriesLayoutSpecific): temp var for par.size()
7290 (setLayout): temp var for ownerParagraphs().end()
7291 (fullRebreak): temp var for rows().end()
7292 (selectionAsString): temp var for boost::next(startpit), realize
7293 that the while really is a regular for loop.
7294 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7295 setCursor in one place.
7296 (setParagraph): temp vr for ownerParagraphs().end()
7297 (updateCounters): make the while loop a for loop
7298 (cutSelection): temp var for ownerParagraphs().end()
7299 (updateInset): make the do {} while() a regular for loop
7300 (getCursorX): use temp vars
7301 (setCurrentFont): use temp vars
7302 (getColumnNearX): use temp vars
7304 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * text.C (transformChar): use temp var for getChar
7307 (computeBidiTables): use temp var for row->par()
7308 (fill): move temp vars for row->par() and pit->layout() earlier in
7310 (labelFill): use temp var for row->par()
7311 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7312 asc and desc, realize that pit never changes and that firstpit is
7313 just a duplicate and not needed. Exchange rit->par() with pit in a
7315 (breakAgain): use a temp var for boost::next(rit)
7316 (breakAgainOneRow): ditto
7317 (breakParagraph): use a temp var for rows().begin()
7318 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7319 (cursorRightOneWord): use temp var for cursor.par() and
7320 cursor.pos(), remove usage of tmpcursor.
7321 (cursorLeftOneWord): use temp var for cursor.par() and
7322 cursor.pos() only set cur at end of function.
7324 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7326 * text.C, text2.C: exchange all usage of Paragraph::next with
7327 boost::next(ParagraphList::iterator)
7329 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7331 * text2.C (cursorTop): simplify implementation
7332 (cursorBottom): ditto
7333 (setParagraph): use ParagraphList::iterator
7334 (setCurrentFont): adjust
7335 (getColumnNearX): adjust
7336 (cursorRight): adjust
7337 (cursorLeft): remove usage of Paragraph::previous
7338 (cursorUpParagraph): ditto
7339 (deleteEmptyParagraphMechanism): slight cleanup
7341 * text.C (isBoundary): take a Paragraph const & instead of a
7343 (addressBreakPoint): ditto
7344 (leftMargin): remove usage of Paragraph::previous.
7345 (setHeightOfRow): ditto
7346 (cursorLeftOneWord): ditto
7347 (selectNextWordToSpellcheck): ditto
7350 (breakParagraph): remove one usage of Paragraph::next
7351 (redoParagraph): ditto
7352 (acceptChange): ditto
7353 (insertChar): adjust
7354 (rowBreakPoint): adjust
7356 * bufferview_funcs.C (toggleAndShow): adjust
7358 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7360 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7361 methods to access it.
7363 * text.C: Added updateRowPositions to compute all row positions.
7364 Make top_y and getRowNearY() to use the cached y position
7366 2003-04-11 John Levon <levon@movementarian.org>
7368 * text.C (rowBreakPoint): reintroduce the labelEnd
7369 checks, code copied from the row fill stuff. Deep voodoo.
7371 * text.C (fill): add a comment and debugging for the
7374 2003-04-11 John Levon <levon@movementarian.org>
7376 * text.C: make sure fullrow insets get wrapped to the next line,
7377 even when they're in a manual label
7379 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * text2.C (insertParagraph): make it take ParagraphList::iterator
7383 (setLayout): make it return ParagraphList::iterator
7384 (redoParagraphs): ditto
7386 (checkParagraph): ditto
7388 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7390 * text2.C: adjust several funcs.
7391 (realizeFont): take a ParagraphList::iterator as arg.
7392 (getLayoutFont): ditto
7393 (getLabelFont): ditto
7394 (setCharFont): ditto
7396 * text.C: adjust several funcs.
7398 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7400 * text.C (selectNextWordToSpellcheck): don't accidentally
7403 2003-04-10 John Levon <levon@movementarian.org>
7405 * ToolbarBackend.C (getIcon): special handling for
7408 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7410 * text2.C (cursorRight): a getChar assert fixed
7412 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7414 * text2.C (getFont): change to take a ParagraphList::iterator
7415 instead of Paragraph*
7416 Adjust several functions.
7418 * text.C (transformChar): change to take a ParagraphList::iterator
7419 instead of Paragraph*
7420 (singleWidth): ditto
7421 Adjust several functions.
7423 * rowpainter.C: adjust several functions
7424 * rowpainter.h:store a ParagraphList::iterator and not a
7428 2003-04-09 John Levon <levon@movementarian.org>
7433 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7434 and the "help" bits as well
7436 2003-04-09 John Levon <levon@movementarian.org>
7439 * ToolbarBackend.C: allow multiple toolbars
7441 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * undo_funcs.C (setCursorParUndo): adjust
7445 * text_funcs.C (transposeChars): adjust
7447 * text3.C (gotoNextInset): adjust
7450 * text2.C (setLayout): adjust
7451 (changeDepth): adjust
7453 (redoParagraphs): adjust
7454 (selectionAsString): adjust
7455 (setParagraph): adjust
7456 (insertInset): adjust
7457 (cutSelection): adjust
7458 (copySelection): adjust
7459 (pasteSelection): adjust
7460 (insertStringAsLines): adjust
7461 (updateInset): adjust
7462 (setCursor): change to take a ParagraphList::iterator parameter
7463 (setCursorIntern): change to take a ParagraphList::iterator parameter
7464 (setCurrentFont): adjust
7465 (cursorLeft): adjust
7466 (cursorRight): adjust
7467 (deleteEmptyParagraphMechanism): adjust
7469 * text.C (breakParagraph): adjust
7470 (insertChar): adjust
7471 (acceptChange): adjust
7472 (rejectChange): adjust
7473 (selectNextWordToSpellcheck): adjust
7474 (changeCase): adjust
7478 * lyxfind.C (SearchForward): adjust
7479 (SearchBackward): adjust
7480 (nextChange): adjust
7482 * lyxcursor.C (par): adjust
7484 * lyxcursor.h: store a ParagraphList::iterator instead of a
7487 * lyx_cb.C (getPossibleLabel): adjust
7489 * bufferview_funcs.C (toggleAndShow): adjust
7491 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7494 * BufferView.C (removeAutoInsets): adjust
7495 (lockedInsetStoreUndo): adjust
7497 2003-04-09 John Levon <levon@movementarian.org>
7499 * ToolbarBackend.C: try icon without argument
7500 if with argument fails
7502 2003-04-08 John Levon <levon@movementarian.org>
7505 * ToolbarBackend.C: add getIcon(), handle tooltip,
7506 and change from "Icon" to "Item".
7508 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7510 * BufferView.C (lockInset): another bad getchar crunched
7512 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7514 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7517 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7519 * lyxfind.C (searchForward, searchBackwards): bug 782
7521 2003-04-07 John Levon <levon@movementarian.org>
7523 * paragraph.C: remove dead comment
7525 * text.C: remove troublesome depth-fiddling code
7526 in leftMargin() and rightMargin() (bug 1017)
7528 * text.C: fix breaking of rows in nested lists
7531 * text2.C (updateCounters): fix up depth values
7534 2003-04-07 John Levon <levon@movementarian.org>
7536 * BufferView_pimpl.C: clear message when doc finishes resizing,
7537 and after a mouse event
7539 * lyxfunc.C: clear message after exiting inset
7541 2003-04-07 John Levon <levon@movementarian.org>
7543 * bufferview_funcs.C: show math status not outside
7544 status in the statusbar
7546 2003-04-07 John Levon <levon@movementarian.org>
7548 * lyxfunc.C: note status changed after a depth change
7550 2003-04-04 Angus Leeming <leeming@lyx.org>
7552 * LaTeX.h: move AuxInfo operator==, != out of line.
7553 Remove LaTeX virtual destructor; nothing derives from it.
7554 Move operator()() out of public area and rename it startscript().
7555 Change protected for private.
7557 2003-04-04 Angus Leeming <leeming@lyx.org>
7560 * text2.C: remove unneeded #includes.
7562 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7564 * text2.C (dEPM): fix the heigth of the next row
7566 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7568 * text.C: squashed an invalid getChar requester + some ws changes
7570 2003-04-03 John Levon <levon@movementarian.org>
7572 * bufferview_funcs.h:
7573 * bufferview_funcs.C:
7576 * text2.C: make getStatus work for the env depth lfuns
7578 2003-04-03 John Levon <levon@movementarian.org>
7580 * bufferview_funcs.h:
7581 * bufferview_funcs.C:
7584 * text2.C: parlistize decDepth(), by merging it with incDepth()
7586 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7588 * lyxrow.h: store a ParagraphList::iterator instead of a
7589 Paragraph* and adjust other class functions to suit.
7591 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7594 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7596 * text2.C (setCursor): do not anchor to cursor row for the time being
7598 2003-04-02 John Levon <levon@movementarian.org>
7605 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7607 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * paragraph.h: make ParagraphList and ParagraphList::iterator
7610 friends of Paragraph.
7612 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7614 * ParagraphList.C: Use the private next_ and previous_ from
7617 2003-04-01 John Levon <levon@movementarian.org>
7621 * Makefile.am: rename, remove defaults gunk
7624 * MenuBackend.C: remove defaults gunk
7627 * Languages.C: remove defaults gunk
7630 * lyx_main.C: error out if files couldn't be found.
7632 2003-04-02 John Levon <levon@movementarian.org>
7634 * text2.C: make incDepth() use parlist
7636 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7638 * undo_funcs.C (firstUndoParagraph): adjust
7640 * text3.C (gotoInset): adjust
7641 (dispatch): adjust, and rewrite loop.
7643 * text2.C (init): adjust, and rewrite loop.
7644 (redoParagraphs): adjust
7645 (updateInset): adjust, and rewrite loop.
7646 (deleteEmptyParagraphMechanism): adjust
7648 * tabular.C (LyXTabular): adjust
7649 (SetMultiColumn): adjust
7652 * lyxtext.[Ch] (ownerParagraph): delete function
7653 (ownerParagraphs): new function returns a ParagraphList.
7655 * BufferView.C (removeAutoInsets): adjust
7656 (insertErrors): adjust
7657 (setCursorFromRow): adjust
7659 2003-04-01 Angus Leeming <leeming@lyx.org>
7661 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7664 2003-04-02 John Levon <levon@movementarian.org>
7670 * text_funcs.C: make transposeChars a free function
7672 * lyxrow_funcs.C: remove wrong comment
7674 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * rowpainter.C: adjust
7682 * lyxrow_funcs. [Ch]: new files
7684 * lyxrow.[Ch]: remove next and previous pointers
7685 (next,previous): remove accessor functions
7686 (isParEnd): move to lyxrow_funcs
7687 (lastPos): move to lyxrow_funcs
7688 (nextRowIsAllInset): move to lyxrow_funcs
7689 (lastPrintablePos): move to lyxrow_funcs
7690 (numberOfSeparators): move to lyxrow_funcs
7691 (numberOfHfills): move to lyxrow_funcs
7692 (numberOfLabelHfills): move to lyxrow_funcs
7693 (hfillExpansion): move to lyxrow_funcs
7697 * bufferview_funcs.C (toggleAndShow): adjust
7699 * RowList.h: Remove class RowList from file leave just a
7702 * RowList.C: delete file
7704 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7707 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7709 * text3.C (cursorPrevious): adjust
7710 (cursorNext): adjust
7713 * text2.C (redoHeightOfParagraph): adjust
7714 (redoDrawingOfParagraph): adjust
7717 * text.C (breakParagraph): adjust
7718 (insertChar): adjust
7721 * rowpainter.C (RowPainter): adjust
7722 (leftMargin): simplify and adjust
7723 (most rowpainter functions): adjust.
7725 * rowpainter.h: store the row as RowList::iterator not as Row*
7727 * lyxcursor.C (row): taka RowList::iterator as arg
7730 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7733 2003-04-01 Angus Leeming <leeming@lyx.org>
7735 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7736 stuff like bool Bool.
7738 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7740 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7743 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7745 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7748 * lyxtext.h (rows): drop one version and leve a const variant that
7749 returns a RowList::iterator.
7751 2003-03-31 Angus Leeming <leeming@lyx.org>
7753 * text.C (fill): ensure that the signature is the same as that in the
7756 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * text2.C (redoParagraphs): adjust
7759 (updateCounters): adjust
7760 (checkParagraph): adjust
7761 (getColumnNearX): adjust and reformat a bit.
7763 * text.C (top_y): adjust
7765 (leftMargin): adjust
7766 (prepareToPrint): adjust
7768 (getRowNearY): adjust
7770 * lyxtext.h: make rowlist_ mutable.
7772 * RowList.h: add const_iterator
7773 * RowList.C: adjust for RowList::const_iterator.
7775 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7778 2003-03-31 John Levon <levon@movementarian.org>
7781 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7783 * lyx_main.C: set default fonts from using lyx_gui funcs
7785 * exporter.C: pdf_mode moved from lyxrc
7788 * lyxfunc.C: changes from above
7790 2003-03-31 John Levon <levon@movementarian.org>
7792 * lyx_main.C: fix to the last fix
7794 2003-03-31 John Levon <levon@movementarian.org>
7796 * bufferlist.C: "Load original" -> "Load Original"
7802 * format.C: more Alert cleanups
7804 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * text2.C (removeParagraph): make it take a RowList::iterator as
7808 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7809 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7811 * text.C (anchor_row): make it take a RowList::iterator as arg,
7813 (computeBidiTables): make it take a const reference to Row instead
7814 of Row pointer, adjust.
7815 (leftMargin): make it take a RowList::iterator as arg, adjust.
7816 (rowBreakPoint): adjust
7817 (breakAgainOneRow): make it take a RowList::iterator as arg,
7819 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7821 * bufferview_funcs.C (toggleAndShow): adjust
7823 2003-03-30 John Levon <levon@movementarian.org>
7827 * boost-inst.C: moved to support
7829 * several files: changes as a result
7831 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7833 * text2.C (LyXText): adjust.
7835 (removeRow): make it take a RowList::iterator as arg, adjust.
7836 (fullRebreak): adjust
7837 (deleteEmptyParagraphMechanism): adjust
7838 (clearPaint): adjust
7841 * text.C (top_y): adjust
7842 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7843 (breakAgain): make it take a RowList::iterator as arg, adjust.
7844 (breakParagraph): adjust
7845 (insertChar): adjust
7848 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7849 need_break_row, and refresh_row.
7851 * text3.C (dispatch): adjust
7853 * text2.C (checkParagraph): adjust
7855 (setCursorFromCoordinates): adjust
7857 * text.C (top_y): adjust
7859 (getRow): make it return a RowList::iterator, adjust
7860 (getRowNearY): make it return a RowList::iterator, adjust
7862 * text2.C (init): adjust
7863 (insertRow): remove function
7864 (insertParagraph): adjust
7865 (redoParagraphs): adjust
7866 (fullRebreak): adjust
7867 (updateCounters): adjust
7869 * text.C (top_y): rewrite to use RowList iterators.
7871 (setHeightOfRow): rewrite to sue RowList iterators.
7872 (appendParagraph): adjust
7873 (breakAgain): adjust
7874 (breakAgainOneRow): adjust
7875 (breakParagraph): adjust
7877 (getRowNearY): adjust, and remove commented code.
7879 * lyxtext.h (firstRow): delete function
7880 (lastRow): delete function
7881 (rows): new function (const and non-const versions.)
7882 (insertRow): delete function
7884 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7886 2003-03-29 John Levon <levon@movementarian.org>
7888 * BufferView_pimpl.C: always update scrollbar top
7889 because pasting text when we're anchored could mean we
7890 miss an update altogether
7892 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * text2.C (init): use rowlist_.end() and not 0.
7895 (insertRow): change to take a RowList::iterator as arg, adjust
7897 (insertParagraph): change to take a RowList::iterator as arg,
7899 (redoParagraphs): remove some debug msgs.
7901 * text.C (appendParagraph): change to take a RowList::iterator
7902 arg, adjust for this.
7903 (breakAgain): add an assert
7904 (breakAgainOneRow): ditto
7906 2003-03-29 John Levon <levon@movementarian.org>
7908 * text2.C: do not clear selection after inc/decDepth
7911 2003-03-29 John Levon <levon@movementarian.org>
7914 * buffer.C: fix broken strerrors according to Lars
7916 2003-03-29 John Levon <levon@movementarian.org>
7918 * converters.C: more Alert cleanups
7920 2003-03-29 John Levon <levon@movementarian.org>
7922 * bufferview_funcs.C: remove pointless Alert
7924 * buffer.C: fix confusing error message when
7925 a template is chmoded 000
7927 2003-03-29 John Levon <levon@movementarian.org>
7931 * BufferView_pimpl.C: Alert fixes
7935 * tabular-old.C: remove unused table compat reading
7937 2003-03-29 John Levon <levon@movementarian.org>
7942 * lyx_cb.C: more Alert cleanups
7944 * lyxfunc.C: don't allow chktex if not latex document
7946 2003-03-29 John Levon <levon@movementarian.org>
7950 * buffer.C: warnings pushed down from support/,
7953 2003-03-29 John Levon <levon@movementarian.org>
7955 * lyxfunc.C: safety check for C-r (revert)
7957 2003-03-29 John Levon <levon@movementarian.org>
7960 * bufferlist.C: several UI fixes using Alert::prompt.
7961 Fix the pointless looping quit code. Fix stupid revert
7966 * lyx_cb.C: use Alert::prompt
7968 * lyx_main.C: remove a silly question
7970 * lyxfunc.C: remove a couple of silly questions,
7973 2003-03-28 John Levon <levon@movementarian.org>
7975 * text2.C: fix bug 974 (End on empty par)
7977 2003-03-28 John Levon <levon@movementarian.org>
7979 * BufferView_pimpl.C:
7981 * lfuns.h: remove do-nothing math greek lfuns
7983 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * lyxgluelength.h (isValidGlueLength): add default arg on
7986 parameter 2. Remove default arg from friend in class.
7988 * lyxlength.h (isValidLength): add default arg on parameter 2.
7989 Remove default arg from friend in class.
7991 * text2.C (LyXText): adjust, initialize refresh_row.
7995 (insertParagraph): adjst
7996 (redoParagraphs): adjust
7997 (fullRebreak): adjust
7998 (updateCounters): adjust
7999 (deleteEmptyParagraphMechanism): first attempt at fixing a
8002 * text.C (top_y): adjust
8003 (setHeightOfRow): adjust
8005 (getRowNearY): adjust
8007 * lyxtext.h: include RowList.h
8008 (~LyXText): not needed anymore, deleted.
8009 (firstRow): modify for RowList
8010 (lastRow): new function
8011 Delete firstrow and lastrow class variables, add a Rowlist
8012 rowlist_ class variable.
8014 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8017 * RowList.C (insert): fix case where it == begin().
8019 2003-03-26 Angus Leeming <leeming@lyx.org>
8021 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8022 the thesaurus dialog.
8024 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8026 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8028 * RowList.[Ch]: new files
8030 * ParagraphList.C (erase): handle the case where it == begin
8033 2003-03-25 John Levon <levon@movementarian.org>
8037 * aspell.C: add new aspell support
8040 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8043 2003-03-25 Angus Leeming <leeming@lyx.org>
8046 * LyXAction.C (init): new LFUN_INSET_INSERT.
8048 * BufferView_pimpl.C (dispatch): split out part of the
8049 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8051 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8054 2003-03-25 Angus Leeming <leeming@lyx.org>
8056 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8058 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8061 * text3.C: remove useless row->height(0)
8063 2003-03-25 John Levon <levon@movementarian.org>
8067 * text3.C: rename the refreshing stuff to better names
8069 2003-03-24 John Levon <levon@movementarian.org>
8071 * BufferView_pimpl.h:
8072 * BufferView_pimpl.C: update layout choice on a mouse
8075 2003-03-23 John Levon <levon@movementarian.org>
8077 * Makefile.am: fix commandtags.h reference
8079 2003-03-22 John Levon <levon@movementarian.org>
8081 * BufferView_pimpl.C:
8086 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8088 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8091 * text.C: take the rtl methods out of line
8093 2003-03-21 André Pönitz <poenitz@gmx.net>
8095 * metricsinfo.[Ch]: new files containing structures to be passed around
8096 during the two-phase-drawing...
8098 2003-03-21 André Pönitz <poenitz@gmx.net>
8100 * lyxtextclass.C: read 'environment' tag.
8102 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8104 * text2.C (removeRow): fix bug 964
8106 2003-03-20 John Levon <levon@movementarian.org>
8110 * text2.C: paint cleanups. Inset::update() dropped font
8113 2003-03-19 John Levon <levon@movementarian.org>
8115 * lyxfunc.C: only fitcursor/markDirty if available()
8117 2003-03-19 John Levon <levon@movementarian.org>
8119 * commandtags.h: rename to ...
8121 * lfuns.h: ... this, and renumber / cleanup
8123 2003-03-19 John Levon <levon@movementarian.org>
8125 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8126 fit the cursor after an lfun
8130 * BufferView_pimpl.h:
8131 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8133 * LyXAction.C: layout-character should have ReadOnly
8135 * ParagraphParameters.C:
8137 * bufferview_funcs.C:
8144 * undo_funcs.C: changes from above
8146 2003-03-18 John Levon <levon@movementarian.org>
8148 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8149 remove it from update()
8151 * lyxfunc.C: update layout choice after an lfun
8153 * text3.C: remove extra updateLayoutChoice()s
8155 2003-03-18 John Levon <levon@movementarian.org>
8157 * text.C: top_y change means full repaint, fix
8158 a drawing bug with cursor movement
8160 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8164 * text2.C: anchor row on setCursor
8166 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8168 * lyxtext.h: remove almost all mutable keywords
8171 * text3.C: remove const keywords accordingly
8173 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8177 (TeXEnvironment): ditto
8180 2003-03-17 John Levon <levon@movementarian.org>
8182 * text.C (rowBreakPoint): remove attempt to fix displayed
8183 math insets inside a manual label
8185 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * lyxtext.h: remove BufferView* as first arg from almost all class
8189 * other files: adjust.
8191 2003-03-17 John Levon <levon@movementarian.org>
8195 * text2.C: more paint cleanups
8197 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8200 * rowpainter.C: remove "smart" background painting code
8202 2003-03-16 John Levon <levon@movementarian.org>
8207 * text3.C: add helper functions for setting refresh_row/y
8209 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8211 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8212 newline inset which *can* get inserted in the pass_thru layouts.
8213 This is primarily for literate documents.
8215 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8217 * buffer.C: increment LYX_FORMAT to 223
8219 2003-03-14 André Pönitz <poenitz@gmx.net>
8221 * textclass.h: prepare for environment handling, ws changes
8222 * lyxlayout.C: read latexheader and latexfooter tags
8224 2003-03-14 John Levon <levon@movementarian.org>
8226 * text2.C: rewrite ::status() a bit
8228 2003-03-13 John Levon <levon@movementarian.org>
8230 * lyxtext.h: add some docs
8232 2003-03-13 John Levon <levon@movementarian.org>
8237 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8239 2003-03-13 John Levon <levon@movementarian.org>
8241 * text3.C: fix appendix redrawing
8243 2003-03-13 John Levon <levon@movementarian.org>
8245 * text.C (setHeightOfRow):
8247 * rowpainter.C: make appendix mark have the text
8248 "Appendix" so the user knows what it is
8251 * LColor.C: s/appendixline/appendix/ from above
8253 2003-03-13 John Levon <levon@movementarian.org>
8255 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8257 * text.C: fix a getChar(pos) bug properly
8259 2003-03-13 Angus Leeming <leeming@lyx.org>
8262 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8263 Probably only temporary. Let's see how things pan out.
8265 * BufferView.C (unlockInset):
8266 * BufferView_pimpl.C (fitCursor):
8267 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8269 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8270 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8272 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8273 new functions that convert ParagraphParameters to and from a string.
8275 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8276 BufferView::Pimpl's dispatch.
8277 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8279 2003-03-13 André Pönitz <poenitz@gmx.net>
8283 * factory.C: make it aware of InsetEnv
8285 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8287 * text2.C (setCursor): never ask for one past last
8288 (setCursor): add some debugging messages.
8290 * text.C (singleWidth): never ask for one past last
8291 (singleWidth): ditto
8293 (rightMargin): ditto
8294 (rowBreakPoint): ditto
8295 (setHeightOfRow): ditto
8296 (prepareToPrint): ditto
8298 * rowpainter.C (paintBackground): never ask for one past last
8299 (paintText): never ask for one past last
8301 * paragraph_pimpl.C (getChar): make the assert stricter, never
8302 allow the one past last pos to be taken
8304 * paragraph.C (getChar): ws changes only
8306 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8307 (numberOfSeparators): ditto
8308 (numberOfHfills): ditto
8310 2003-03-12 John Levon <levon@movementarian.org>
8316 * paragraph_funcs.C: fix per-buffer authorlists
8318 2003-03-12 John Levon <levon@movementarian.org>
8320 * text.C: fix newline in right address
8322 2003-03-12 Angus Leeming <leeming@lyx.org>
8324 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8325 duplicate those in LyXFunc::dispatch.
8329 * ToolbarDefaults.C:
8330 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8331 Add LFUN_FONTFREE_UPDATE.
8333 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8334 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8336 * bufferview_func.[Ch]: several new functions to facilliate
8337 transfer of data to and from the character dialog.
8339 2003-03-12 John Levon <levon@movementarian.org>
8344 * paragraph_funcs.C:
8345 * paragraph_pimpl.C:
8349 * text3.C: remove META_NEWLINE in favour of an inset
8352 * rowpainter.C: remove paintNewline (done by inset)
8354 2003-03-12 John Levon <levon@movementarian.org>
8356 * paragraph_pimpl.C: complain about bad getChar()s
8357 for a while at least
8359 2003-03-12 John Levon <levon@movementarian.org>
8362 * buffer.C: move paragraph read into a separate function,
8363 a little renaming to reflect that.
8366 * bufferparams.C: remove the author_ids map, not necessary now
8369 * factory.C: moved Buffer::readInset to here
8371 * paragraph_funcs.h:
8372 * paragraph_funcs.C: readParagraph free function moved from
8375 * tabular.C: name change
8377 2003-03-12 John Levon <levon@movementarian.org>
8380 * ParagraphParameters.C: move par params input to
8383 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8384 behave like a normal read from the stream wrt reading
8385 a line vs. a \\token
8387 2003-03-12 John Levon <levon@movementarian.org>
8390 * ParagraphParameters.h:
8391 * ParagraphParameters.C: move output code to a
8394 2003-03-12 John Levon <levon@movementarian.org>
8396 * BufferView.C (insertLyXFile):
8399 * tabular.C: use a parlist iterator for creating the
8402 2003-03-12 John Levon <levon@movementarian.org>
8404 * buffer.C: make current_change static local not
8407 2003-03-12 John Levon <levon@movementarian.org>
8409 * buffer.C: fix insertStringAsLines for change tracking
8411 2003-03-12 John Levon <levon@movementarian.org>
8418 * bufferparams.C: move author list into params. Rename some
8419 functions. Move the header reading into a separate token
8420 loop. Move the header token reading into BufferParams.
8422 2003-03-12 John Levon <levon@movementarian.org>
8424 * changes.C: put debug inside lyxerr.debugging() checks
8426 2003-03-11 André Pönitz <poenitz@gmx.net>
8428 * factory.C: make it aware of InsetHFill
8430 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8432 * buffer.C (latexParagraphs): move function from here...
8433 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8436 2003-03-10 Angus Leeming <leeming@lyx.org>
8438 * LyXAction.C (init): fix bug in poplating array with multiple entries
8439 with the same LFUN (spotted by JMarc).
8441 2003-03-10 John Levon <levon@movementarian.org>
8444 * text2.C: move getColumnNearX() near its
8447 2003-03-10 John Levon <levon@movementarian.org>
8449 * text.C: fix break before a minipage
8451 2003-03-10 John Levon <levon@movementarian.org>
8453 * text.C: fix the last commit
8455 2003-03-09 John Levon <levon@movementarian.org>
8459 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8460 bug 365 (don't break before insets unless needed). Don't
8461 return a value > last under any circumstances.
8463 2003-03-09 Angus Leeming <leeming@lyx.org>
8465 * BufferView_pimpl.C (trackChanges, dispatch): call
8466 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8468 2003-03-09 Angus Leeming <leeming@lyx.org>
8470 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8471 than Dialogs::showAboutlyx().
8473 2003-03-09 Angus Leeming <leeming@lyx.org>
8475 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8476 than Dialogs::showTabularCreate().
8478 2003-03-09 John Levon <levon@movementarian.org>
8482 * text2.C: 3rd arg to nextBreakPoint was always the same.
8485 2003-03-08 John Levon <levon@movementarian.org>
8492 * text2.C: Remove the "main" bit from the "main body"
8495 2003-03-08 John Levon <levon@movementarian.org>
8497 * text.C (leftMargin): The left margin of an empty
8498 manual label paragraph should not include the label width
8501 * text.C (prepareToPrint): don't attempt to measure hfills
8502 for empty manual label paragraphs - the answer should be 0
8504 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * CutAndPaste.C: remove commented code and reindent.
8508 2003-03-08 John Levon <levon@movementarian.org>
8511 * lyxfunc.C: move reloadBuffer()
8514 * BufferView.C: to here
8516 * lyxvc.C: add comment
8519 * vc-backend.C: call bv->reload() to avoid
8520 getStatus() check on MENURELOAD
8522 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8524 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8525 to an old format .dep file.
8527 2003-03-07 Angus Leeming <leeming@lyx.org>
8529 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8530 when the LFUN_MOUSE_RELEASE should have been handled by
8531 inset->localDispatch.
8533 2003-03-07 Angus Leeming <leeming@lyx.org>
8535 * BufferView_pimpl.C (dispatch):
8536 * LyXAction.C (init):
8537 * ToolbarDefaults.C (init):
8539 * lyxfunc.C (getStatus):
8540 remove LFUN_INSET_GRAPHICS.
8542 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8544 2003-03-07 Angus Leeming <leeming@lyx.org>
8547 * LyXAction.C (init):
8548 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8550 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8553 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8555 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8556 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8558 2003-03-07 Angus Leeming <leeming@lyx.org>
8560 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8563 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8565 * ParagraphList.C (front): new function
8568 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8570 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8571 and top_row_offset_. removed var first_y.
8573 * text2.C (LyXText, removeRow):
8575 * BufferView_pimpl.C:
8576 use these methods instead of using first_y
8578 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8580 * text2.C (pasteSelection): adjust for checkPastePossible
8582 * CutAndPaste.C: remove Paragraph * buf and replace with
8583 ParagraphList paragraphs.
8584 (DeleteBuffer): delete
8585 (cutSelection): change the tc type to textclass_type
8586 (copySelection): change the tc type to textclass_type
8587 (copySelection): adjust for ParagraphList
8588 (pasteSelection): change the tc type to textclass_type
8589 (pasteSelection): adjust for Paragraphlist
8590 (nrOfParagraphs): simplify for ParagraphList
8591 (checkPastePossible): simplify for ParagraphList
8592 (checkPastePossible): remove unused arg
8594 * ParagraphList.C (insert): handle the case where there are no
8597 * CutAndPaste.h: make CutAndPaste a namespace.
8599 * text3.C (dispatch): adjust
8601 * text.C (breakParagraph): add a ParagraphList as arg
8603 * paragraph_funcs.C (breakParagraph): change to take a
8604 BufferParams and a ParagraphList as args.
8605 (breakParagraphConservative): ditto
8606 (mergeParagraph): ditto
8607 (TeXDeeper): add a ParagraphList arg
8608 (TeXEnvironment): ditto
8611 * buffer.C (readLyXformat2): adjust
8612 (insertStringAsLines): adjust
8613 (latexParagraphs): adjust
8615 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8616 (cutSelection): adjust
8617 (pasteSelection): adjust
8619 * BufferView_pimpl.C (insertInset): adjust
8621 2003-03-05 Angus Leeming <leeming@lyx.org>
8624 * LyXAction.C (init):
8625 * BufferView_pimpl.C (dispatch):
8626 * lyxfunc.C (getStatus):
8627 remove LFUN_CHILD_INSERT.
8629 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8631 2003-03-05 Angus Leeming <leeming@lyx.org>
8634 * LyXAction.C (init):
8635 * src/factory.C (createInset):
8636 * lyxfunc.C (getStatus):
8637 * text3.C (dispatch):
8638 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8640 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8642 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8644 * ParagraphList.C (insert): handle insert right before end()
8645 (erase): fix cases where it can be first or last paragraph.
8647 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8649 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8650 Paragraph::next and Paragraph::previous
8653 * text.C (breakParagraph): adjust
8655 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8656 BufferParams& as arg.
8657 (breakParagraph): use ParagraphList::insert
8658 (breakParagraphConservative): take a Buffer* instead of a
8659 BufferParams& as arg.
8660 (breakParagraphConservative): use ParagraphList::insert.
8662 * buffer.C (insertStringAsLines): un-const it
8663 (insertStringAsLines): adjust
8665 * ParagraphList.C (insert): new function
8667 * CutAndPaste.C (pasteSelection): adjust
8669 * text.C (backspace): adjust
8671 * tabular.C (SetMultiColumn): adjust
8673 * CutAndPaste.C (cutSelection): adjust
8674 (pasteSelection): adjust
8676 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8677 Buffer const * as arg
8679 * ParagraphList.C (erase): new function
8680 * paragraph_funcs.C (mergeParagraph): use it
8681 (mergeParagraph): make it take a Buffer* instead of a
8682 BufferParams* as arg
8684 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8686 (breakParagraphConservative): ditto
8688 * paragraph.h: remove the breakParagraph friend
8690 * paragraph.C (eraseIntern): new function
8691 (setChange): new function
8693 * paragraph_funcs.C (mergeParagraph): make it take a
8694 ParagraphList::iterator instead of a Paragraph *, adjust
8697 * paragraph.h: move an #endif so that the change tracking stuff
8698 also works in the NO_NEXT case.
8700 2003-03-04 Angus Leeming <leeming@lyx.org>
8703 * LyXAction.C: new LFUN_INSET_MODIFY.
8705 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8706 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8708 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8710 * several files: ws changes only
8712 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8713 (TeXEnvironment): ditto
8716 * buffer.C (makeLaTeXFile): adjust
8717 (latexParagraphs): make it take ParagraphList::iterator as args
8719 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8721 * buffer.C (latexParagraphs): adjust
8723 * paragraph.C (TeXOnePar): move function...
8724 (optArgInset): move function...
8725 (TeXEnvironment): move function...
8726 * paragraph_pimpl.C (TeXDeeper): move function...
8727 * paragraph_funcs.C: ...here
8729 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8731 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8733 * buffer.C (readInset): remove compability code for old Figure and
8736 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * buffer.C: ws changes
8741 * BufferView_pimpl.C: ditto
8744 * bufferlist.h: ditto
8748 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8750 * converter.[Ch]: split into itself +
8753 * Makefile.am: += graph.[Ch] + format.[Ch]
8760 * lyxrc.C: added #include "format.h"
8762 2003-02-27 Angus Leeming <leeming@lyx.org>
8764 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8767 * factory.C (createInset): add "label" to the factory.
8769 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8770 string and do no more.
8772 2003-02-27 Angus Leeming <leeming@lyx.org>
8775 * LyXAction.C (init):
8776 * factory.C (createInset):
8777 * BufferView_pimpl.C (dispatch):
8778 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8780 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8782 * lyxfunc.C (dispatch):
8783 * text3.C (dispatch): pass name to params2string.
8785 2003-02-26 Angus Leeming <leeming@lyx.org>
8787 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8789 Rearrange the ~includes. Strip out the unnecessary ones.
8791 * factory.C (createInset): reformat.
8792 create new insets for the various LFUN_XYZ_APPLY lfuns.
8794 2003-02-26 John Levon <levon@movementarian.org>
8797 * lyxrow.C: add isParStart,isParEnd helpers
8799 * paragraph.h: make isInserted/DeletedText take refs
8801 * paragraph_funcs.h:
8802 * paragraph_funcs.C: remove #if 0'd code
8807 * text.C: use lyxrow helpers above.
8808 Move draw and paint routines to RowPainter.
8809 Make several methods use refs not pointers.
8810 Make backgroundColor() const.
8811 Add markChangeInDraw(), isInInset().
8812 Merge changeRegionCase into changeCase.
8813 Make workWidth() shouldn't-happen code into an Assert.
8816 * rowpainter.C: new class for painting a row.
8819 * vspace.C: make inPixels take a ref
8821 2003-02-26 Angus Leeming <leeming@lyx.org>
8823 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8826 2003-02-25 John Levon <levon@movementarian.org>
8828 * ispell.C: give the forked command a more accurate name
8830 2003-02-22 John Levon <levon@movementarian.org>
8833 * toc.C: make TocItem store an id not a Paragraph *
8836 2003-02-21 Angus Leeming <leeming@lyx.org>
8838 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8839 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8840 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8841 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8842 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8843 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8845 * BufferView_pimpl.C (dispatch):
8846 * LyXAction.C (init):
8847 * factory.C (createInset):
8848 * lyxfunc.C (getStatus, dispatch):
8849 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8851 2003-02-21 Angus Leeming <leeming@lyx.org>
8853 * BufferView_pimpl.C (MenuInsertLyXFile):
8854 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8855 * lyxfunc.C (menuNew, open, doImport):
8856 no longer pass a LyXView & to fileDlg.
8858 2003-02-21 Angus Leeming <leeming@lyx.org>
8860 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8861 * LyXAction.C: change, BIBKEY to BIBITEM.
8862 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8863 Change InsetBibKey to InsetBibitem.
8864 Change BIBKEY_CODE to BIBITEM_CODE.
8865 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8866 * factory.C: replace insetbib.h with insetbibitem.h.
8867 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8868 * paragraph.C: replace insetbib.h with insetbibitem.h.
8869 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8870 Change bibkey() to bibitem().
8871 * text.C: remove insetbib.h.
8872 * text2.C: replace insetbib.h with insetbibitem.h.
8873 change bibkey() to bibitem().
8874 * text3.C: remove insetbib.h.
8875 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8877 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8879 * lyxrc.C (output): enclose user email in quotes (in case there are
8882 2003-02-18 John Levon <levon@movementarian.org>
8884 * buffer.h: add std::
8886 2003-02-17 John Levon <levon@movementarian.org>
8892 * pspell.C: reworking. Especially in ispell, a large
8893 number of clean ups and bug fixes.
8895 * lyxfunc.C: fix revert to behave sensibly
8897 2003-02-17 André Pönitz <poenitz@gmx.net>
8900 * commandtags.h: new LFUN_INSERT_BIBKEY
8910 * paragraph_func.C: remove special bibkey handling
8912 2003-02-17 John Levon <levon@movementarian.org>
8914 * text.C (Delete): fix case where delete at the end of
8915 the very first paragraph would not merge the pars
8917 2003-02-17 John Levon <levon@movementarian.org>
8919 * lyxrow.C: fix lastPrintablePos()
8921 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8923 * bufferparams.C (writeLaTeX): add a std:here
8925 * buffer.C: and remove a using directive there
8927 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * buffer.C (makeLaTeXFile): move the code that generates the
8932 * bufferparams.C (writeLaTeX): ... in this new method
8934 * LaTeXFeatures.C (getEncodingSet): make const
8935 (getLanguages): make const
8937 * MenuBackend.C (binding): returns the binding associated to this
8939 (add): sets the status of each item by calling getStatus. Adds
8941 (read): add support for OptSubMenu
8942 (expand): remove extra separator at the end of expanded menu
8944 2003-02-15 John Levon <levon@movementarian.org>
8947 * BufferView_pimpl.C:
8949 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8950 inset code that had no actual effect. Remove unneeded status
8953 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8955 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8958 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8960 * text.C (drawLengthMarker): also draw an arrow marker for
8961 symbolic lengths (medskip...)
8963 2003-02-14 John Levon <levon@movementarian.org>
8966 * tabular.C: better method names
8968 2003-02-14 John Levon <levon@movementarian.org>
8970 * BufferView_pimpl.C:
8975 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8976 it's a more accurate name. Remove some pointless uses.
8978 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8980 * text2.C (LyXText): change order of initilizers to shut off
8983 2003-02-14 John Levon <levon@movementarian.org>
8985 * buffer.C: use ParIterator for getParFromID()
8989 * paragraph_pimpl.h:
8990 * paragraph_pimpl.C: remove unused getParFromID()
8992 2003-02-14 John Levon <levon@movementarian.org>
8994 * buffer.C: remove some very old #if 0'd parse code
8996 2003-02-13 John Levon <levon@movementarian.org>
9000 * text2.C: move hfillExpansion(), numberOfSeparators(),
9001 rowLast(), rowLastPrintable(), numberofHfills(),
9002 numberOfLabelHfills() ...
9005 * lyxrow.C: ... to member functions here.
9010 * text.C: remove LyXText::beginningOfMainBody(), and call
9011 p->beginningOfMainBody() directly. Move the check for
9012 LABEL_MANUAL into the latter.
9019 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9025 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9026 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9028 2003-02-13 John Levon <levon@movementarian.org>
9030 * CutAndPaste.C: remove debug
9032 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * paragraph.C (asString): remove two unused variables
9036 * lyxtextclass.C (readTitleType):
9038 (LyXTextClass): handle new members titletype_ and titlename_
9040 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9042 2003-02-09 John Levon <levon@movementarian.org>
9045 * buffer.C: replace hand-coded list with a map for the dep clean
9047 2003-02-08 John Levon <levon@movementarian.org>
9049 * LaTeX.C: consolidate code into showRunMessage() helper
9051 2003-02-08 John Levon <levon@movementarian.org>
9056 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9057 and pass the size in explicitly
9059 * BufferView_pimpl.h:
9060 * BufferView_pimpl.C:
9062 * BufferView.C: add getCurrentChange()
9064 * BufferView_pimpl.h:
9065 * BufferView_pimpl.C: handle change lfuns
9067 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9068 for changes. Mark pasted paragraphs as new.
9070 * support/lyxtime.h:
9071 * support/lyxtime.C:
9072 * DepTable.C: abstract time_t as lyx::time_type
9075 * LColor.C: add colours for new text, deleted text, changebars
9077 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9078 package use "usenames" option.
9082 * LyXAction.C: add change lfuns
9086 * author.C: author handling
9089 * buffer.C: add a per-buffer author list, with first entry as
9090 current author. Handle new .lyx tokens for change tracking. Output
9091 author list to .lyx file. Output dvipost stuff to .tex preamble.
9092 Bump lyx format to 222.
9095 * bufferlist.C: add setCurrentAuthor() to reset current author details
9099 * bufferparams.C: add param for tracking
9101 * bufferview_funcs.C: output change info in minibuffer
9105 * changes.C: add change-tracking structure
9108 * debug.C: add CHANGES debug flag
9111 * lyxfind.C: add code for finding the next change piece
9114 * lyxrc.C: add user_name and user_email
9117 * lyxrow.C: add a metric for the top of the text line
9120 * text.C: implement accept/rejectChange()
9123 * text.C: paint changebars. Paint new/deleted text in the chosen
9124 colours. Strike through deleted text.
9128 * paragraph_pimpl.h:
9129 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9130 in the current change to the insert functions. Rework erase to
9131 mark text as deleted, adding an eraseIntern() and a range-based
9132 erase(). Implement per-paragraph change lookup and
9135 * paragraph_funcs.C: Fixup paste for change tracking.
9137 * tabular.C: mark added row/columns as new.
9139 * text.C: fix rowLast() to never return -1. Don't allow
9140 spellchecking of deleted text. Track transpose changes. Don't
9141 allow paragraph break or merge where appropriate.
9143 * text2.C: leave cursor at end of selection after a cut.
9145 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9147 * text.C (getLengthMarkerHeight):
9148 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9149 visible on screen too.
9151 2003-02-07 John Levon <levon@movementarian.org>
9153 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9155 2003-02-05 Angus Leeming <leeming@lyx.org>
9157 * lyxserver.C (read_ready): revert my patch of 11 September last year
9158 as it sends PC cpu through the roof. Presumably this means that
9159 the lyxserver will no longer run on an Alpha...
9161 2003-01-30 Angus Leeming <leeming@lyx.org>
9163 * factory.C (createInset): create an InsetCommandParam of type "index"
9164 and use it to 'do the right thing'.
9166 * text2.C (getStringToIndex): ensure that cursor position is always
9167 reset to the reset_cursor position.
9169 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9171 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9174 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9178 * lyxfunc.C: Output messages with identical spelling, punctuation,
9181 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9183 * MenuBackend.C (expandFormats): List only viewable export formats
9186 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9189 * lyxfunc.C (getStatus): Make sure that formats other than
9190 "fax" can also be disabled
9192 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9194 * text3.C (dispatch): put the lfuns that insert insets in 3
9195 groups, and call doInsertInset with appropriate arguments.
9196 (doInsertInset): new function, that creates an inset and inserts
9197 it according to some boolean parameters.
9199 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * buffer.C (readFile): remember to pass on 'par' when calling
9202 readFile recursively.
9204 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9206 * MenuBackend.C (expandFormats): add "..." to import formats.
9208 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9210 * paragraph.C (asString): Remove XForms RTL hacks.
9212 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9213 * buffer.C: fix typo
9215 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9217 * Makefile.am (LIBS): delete var
9218 (lyx_LDADD): add @LIBS@ here instead.
9220 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9222 * Clarify the meaning of "wheel mouse jump"
9224 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9226 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9229 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9231 * importer.C (Loaders): do not preallocate 3 elements in the
9232 vector, since one ends up with 6 elements otherwise
9234 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9236 * DepTable.C (write): write the file name as last element of the
9237 .dep file (because it may contain spaces)
9238 (read): read info in the right order
9240 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9242 * paragraph_pimpl.C (simpleTeXBlanks):
9243 (simpleTeXSpecialChars):
9244 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9246 * tabular.C (latex): add some missing case statements. Reindent.
9248 * MenuBackend.C (expandToc): remove unused variable.
9250 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9259 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9262 2003-01-05 John Levon <levon@movementarian.org>
9265 * BufferView.C: add getEncoding()
9268 * kbsequence.C: do not store last keypress
9271 * lyxfunc.C: store last keypress here instead. Pass encoding
9274 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9276 * lyx_main.C (init): remove annoying error message when following
9277 symbolic links (bug #780)
9279 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9281 * text.C (insertChar):
9282 * lyxrc.C (getDescription): remove extra spaces
9284 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9286 * lyxrc.C (getDescription): remove extra spaces
9288 2002-12-20 John Levon <levon@movementarian.org>
9290 * text3.C: hack fix for page up/down across tall rows
9292 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9294 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9297 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9300 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9301 thesaurus is not compiled in
9303 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9305 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9307 2002-12-16 Angus Leeming <leeming@lyx.org>
9310 * lyx_main.C (init): remove override_x_deadkeys stuff.
9312 2002-12-12 John Levon <levon@movementarian.org>
9314 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9315 insert. Only remove shift modifier under strict
9318 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9320 * MenuBackend.C (expandToc): fix crash.
9322 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9324 * MenuBackend.C (expandToc): gettext on float names.
9326 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9328 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9329 implement bool empty() [bug 490]
9331 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9333 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9335 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9337 * several files: ws changes
9339 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9341 * text2.C (setCounter): clean up a bit, use boost.format.
9342 (updateCounters): initialize par upon declaration.
9344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9345 if the layout exists. We do not just store the layout any more.
9346 (SwitchLayoutsBetweenClasses): use boost.format
9348 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9350 * converter.C (convert): if from and to files are the same, use a
9351 temporary files as intermediary
9353 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9356 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9358 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9360 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9362 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9364 * tabular.C (asciiPrintCell): use string(size, char) instead of
9367 * sgml.C (openTag): fix order of arguments to string constructor
9370 * lyxfunc.C (dispatch): use boost.format
9372 * lots of files: change "c" -> 'c'
9374 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9376 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9378 2002-11-25 Angus Leeming <leeming@lyx.org>
9380 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9382 * lyx_main.C (init): compile fix.
9384 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9386 * lyx_cb.C (start): boost.formatify
9387 do not include <iostream>
9389 * lengthcommon.C: ws only
9391 * boost-inst.C,BoostFormat.h: add more explict instantations
9393 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9395 * lots of files: handle USE_BOOST_FORMAT
9397 2002-11-21 John Levon <levon@movementarian.org>
9399 * pspell.C: fix compile
9401 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9403 * lyxfunc.C (dispatch): use boost::format
9407 * lyxfont.C (stateText): use boost::format
9409 * lyx_main.C (LyX): use boost::format
9411 (queryUserLyXDir): ditto
9414 (typedef boost::function): use the recommened syntax.
9416 * importer.C (Import): use boost::format
9418 * debug.C (showLevel): use boost::format
9420 * converter.C (view): use boost::format
9425 * bufferview_funcs.C (currentState): use boost::format
9427 * bufferlist.C (emergencyWrite): use boost::format
9429 * buffer.C (readLyXformat2): use boost::format
9430 (parseSingleLyXformat2Token): ditto
9432 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9434 * LaTeX.C (run): use boost::format
9436 * Chktex.C (scanLogFile): use boost::format
9438 * BufferView_pimpl.C (savePosition): use boost::format
9439 (restorePosition): ditto
9440 (MenuInsertLyXFile): ditto
9442 * BoostFormat.h: help file for explicit instation.
9444 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9446 * tabular.C (latex): Support for block alignment in fixed width
9449 2002-11-17 John Levon <levon@movementarian.org>
9451 * BufferView_pimpl.C:
9453 * lyxfunc.C: split filedialog into open/save
9455 2002-11-08 Juergen Vigna <jug@sad.it>
9457 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9458 by my last patch (hopefully).
9460 2002-11-08 John Levon <levon@movementarian.org>
9469 * toc.C: ParConstIterator, and use it (from Lars)
9471 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9473 * lyxtextclass.[Ch]: revise and add doxygen comments
9475 2002-11-07 John Levon <levon@movementarian.org>
9477 * text.C: fix progress value for spellchecker
9479 * toc.C: fix navigate menu for insetwrap inside minipage
9481 * paragraph_funcs.C: added FIXME for suspect code
9483 2002-11-07 John Levon <levon@movementarian.org>
9485 * BufferView_pimpl.C: fix redrawing of insets
9488 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9490 * text2.C (updateCounters): fix bug 668
9492 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9494 * text3.C (dispatch): Do not make the buffer dirty when moving the
9497 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9499 * vc-backend.C: STRCONV
9502 * text2.C (setCounter): STRCONV
9504 * paragraph.C (asString): STRCONV
9506 * lyxlength.C (asString): STRCONV
9507 (asLatexString): ditto
9509 * lyxgluelength.C (asString): STRCONV
9510 (asLatexString): ditto
9512 * lyxfunc.C (dispatch): STRCONV
9515 * lyxfont.C (stateText): STRCONV
9517 * importer.C (Import): STRCONV
9519 * counters.C (labelItem): STRCONV
9520 (numberLabel): ditto
9521 (numberLabel): remove unused ostringstream o
9526 * bufferview_funcs.C (currentState): STRCONV
9528 * buffer.C (readFile): STRCONV
9529 (asciiParagraph): ditto
9530 (makeLaTeXFile): ditto
9532 * Spacing.C (writeEnvirBegin): STRCONV
9534 * LaTeXFeatures.C (getLanguages): STRCONV
9535 (getPackages): ditto
9537 (getBabelOptions): ditto
9538 (getTClassPreamble): ditto
9539 (getLyXSGMLEntities): ditto
9540 (getIncludedFiles): ditto
9544 (scanAuxFile): ditto
9547 * LString.h: add the STRCONV macros
9549 * BufferView_pimpl.C (savePosition): STRCONV
9550 (restorePosition): ditto
9551 (MenuInsertLyXFile): ditto
9553 * vc-backend.C (scanMaster): change from submatch[...] to
9556 * funcrequest.C: include config.h
9558 * factory.C: include config.h
9560 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9562 * box.C: include config.h
9564 * LaTeX.C (scanAuxFile): change from submatch[...] to
9568 2002-10-25 Angus Leeming <leeming@lyx.org>
9570 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9572 * ispell.[Ch] (setError): new method.
9573 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9574 Use setError() insetead of goto END.
9576 * lyx_cb.C (AutoSave): move out child process into new class
9579 2002-10-30 John Levon <levon@movementarian.org>
9581 * text3.C: make start appendix undoable
9583 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9585 * lyxlength.C (inPixels): Fix returned value.
9587 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9590 2002-10-24 Angus Leeming <leeming@lyx.org>
9592 * lyxgluelength.h: no need to forward declare BufferParams
9593 or BufferView, so don't.
9595 2002-10-21 John Levon <levon@movementarian.org>
9597 * BufferView.C: menuUndo ->undo, redo
9599 * BufferView.h: document, remove dead, make some methods private
9601 * paragraph_funcs.h:
9602 * paragraph_funcs.C:
9603 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9608 * sgml.C: move sgml open/close tag into sgml.C
9610 * bufferview_funcs.h: unused prototype
9613 * lyxfunc.C: remove unused
9616 * text.C: remove unused
9618 2002-10-21 John Levon <levon@movementarian.org>
9622 * BufferView_pimpl.h:
9623 * BufferView_pimpl.C: fix mouse wheel handling based on
9624 patch from Darren Freeman
9626 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9628 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9630 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9632 * lyxlength.C (inPixels): Fix hanfling of negative length.
9633 Fix LyXLength::MU case.
9635 2002-10-16 John Levon <levon@movementarian.org>
9637 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9639 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9641 * converter.C (view): add support for $$i (file name) and $$p
9642 (file path) for the viewer command. If $$i is not specified, then
9643 it is appended to the command (for compatibility with old syntax)
9645 2002-10-14 Juergen Vigna <jug@sad.it>
9647 * undo_funcs.C (textHandleUndo): alter the order in which the
9648 new undopar is added to the LyXText, as we have to set first
9649 the right prev/next and then add it as otherwise the rebuild of
9650 LyXText is not correct. Also reset the cursor to the right paragraph,
9651 with this IMO we could remove the hack in "redoParagraphs()".
9653 2002-10-09 Angus Leeming <leeming@lyx.org>
9655 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9656 to turn off an optimisation if a new inset is to be inserted.
9658 2002-10-11 André Pönitz <poenitz@gmx.net>
9660 * lyxtext.h: make some functions public to allow access
9661 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9663 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9665 * text3.C (dispatch): when changing layout, avoid an infinite loop
9668 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9670 * lyxrc.C (read): treat a viewer or converter command of "none" as
9673 * MenuBackend.C (expandFormats): for an update, also allow the
9674 formats that are not viewable
9676 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9677 script if it is newer than the lyxrc.defaults in user directory
9679 2002-10-07 André Pönitz <poenitz@gmx.net>
9681 * text.C: Vitaly Lipatov's small i18n fix
9683 2002-09-25 Angus Leeming <leeming@lyx.org>
9685 * ispell.h: doxygen fix.
9687 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9689 * buffer.h (readFile): Add a new argument to the method, to allow
9690 reading of old-format templates.
9692 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9694 * toc.C (getTocList): Get TOC from InsetWrap.
9696 2002-09-16 John Levon <levon@movementarian.org>
9698 * lyxfunc.C: check tabular for cut/copy too
9700 2002-09-12 John Levon <levon@movementarian.org>
9705 * factory.C: add header
9707 * paragraph_funcs.h:
9708 * paragraph_funcs.C: cleanup
9710 2002-09-11 John Levon <levon@movementarian.org>
9712 * PrinterParams.h: odd/even default to true
9714 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9716 * PrinterParams.h: update printer parameters for new xforms dialog
9718 2002-09-11 Angus Leeming <leeming@lyx.org>
9720 * lyxserver.C (read_ready): re-write to make it more transparent
9721 and to make it work in coherent fashion under Tru64 Unix.
9723 2002-09-11 André Pönitz <poenitz@gmx.net>
9727 * text3.C: implement LFUN_WORDSEL
9729 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9731 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9732 make floatlist_ a boost::shared_ptr<FloatList>
9734 * lyxtextclass.C: include FloatList.h
9735 (LyXTextClass): initialize floatlist_
9736 (TextClassTags): add TC_NOFLOAT
9737 (Read): match "nofloat" to TC_NOFLOAT and use it.
9738 (readFloat): modify call to floatlist_
9742 * FloatList.[Ch] (FloatList): remove commented out float
9744 (erase): new function
9746 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9748 * MenuBackend.C (expandToc): fix crash when there is no document
9751 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9753 * many files: Add insetwrap.
9755 2002-09-09 John Levon <levon@movementarian.org>
9757 * text2.C: remove confusing and awkward depth wraparound
9759 2002-09-09 John Levon <levon@movementarian.org>
9761 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9764 * buffer.C: remove getIncludeonlyList()
9767 * lyxfunc.C: remove headers
9769 2002-09-09 Juergen Vigna <jug@sad.it>
9771 * text.C (getColumnNearX): fix form Michael this is most
9772 probably a cut&paste bug.
9774 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9776 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9778 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9779 references, ws changes.
9781 * text2.C (init): update counters after init
9782 (insertParagraph): no need to set counter on idividual paragraphs.
9783 (setCounter): access the counters object in the textclass object
9784 on in the buffer object.
9785 (updateCounters): ditto
9787 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9788 shared_ptr<Counters> to avoid loading counters.h in all
9790 (LyXTextClass): initialize ctrs_
9791 (TextClassTags): add TC_COUNTER, and ...
9792 (Read): use it here.
9793 (CounterTags): new tags
9794 (readCounter): new function
9795 (counters): new funtion
9796 (defaultLayoutName): return a const reference
9798 * counters.C (Counters): remove contructor
9799 (newCounter): remove a couple of unneeded statements.
9800 (newCounter): simplify a bit.
9801 (numberLabel): some small formatting changes.
9803 * buffer.[Ch]: remove all traces of counters, move the Counters
9804 object to the LyXTextClass.
9806 2002-09-06 Alain Castera <castera@in2p3.fr>
9808 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9809 package to set the horizontal alignment on fixed width columns.
9812 * lyx_sty.h: added tabularnewline macro def.
9814 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9816 2002-09-06 John Levon <levon@movementarian.org>
9818 * LyXAction.C: tooltips for sub/superscript
9820 * MenuBackend.C: a bit more verbose
9822 * lyxfunc.C: tiny clean
9824 * undo_funcs.C: document undo_frozen
9826 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9828 * counters.C (Counters): add missing algorithm counter.
9830 * text2.C (setCounter): lookup the counter with layouts latexname
9831 instead of by section number.
9832 (setCounter): use a hackish way to lookup the correct enum
9834 a float name->type change
9835 reset enum couners with counter name directly instead of depth value.
9837 * counters.C (Counters): remove the push_backs, change to use the
9838 float type not the float name.
9839 (labelItem): remove unused string, float name->type change
9841 * counters.h: don't include vector, loose the enums and sects vectors
9843 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9845 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9846 (Read): add float->TC_FLOAT to textclassTags
9847 (Read): and handle it in the switch
9848 (readFloat): new function
9850 * FloatList.C (FloatList): comment out the hardcoded float
9853 * lyxlayout.h: ws change.
9855 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9857 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9859 2002-09-03 Angus Leeming <leeming@lyx.org>
9861 * BufferView_pimpl.h: qualified name is not allowed in member
9862 declaration: WorkArea & Pimpl::workarea() const;
9864 * factory.C: added using std::endl directive.
9866 * text3.C: added using std::find and std::vector directives.
9868 2002-08-29 André Pönitz <poenitz@gmx.net>
9871 * text2.C: remove unused member number_of_rows
9874 * BufferView2.C: remove file, move contents to...
9875 * BufferView.C: ... here
9877 * BufferView_pimpl.C:
9878 * factory.C: move more inset creation to factory
9880 * vspace.C: avoid direct usage of LyXText, ws changes
9883 don't provide direct access to WorkArea, use two simple
9884 acessors haveSelction() and workHeight() instead
9887 2002-08-29 John Levon <levon@movementarian.org>
9889 * BufferView_pimpl.C (dispatch): do not continue when
9892 2002-08-28 André Pönitz <poenitz@gmx.net>
9894 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9897 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9899 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9901 * buffer.C: increment LYX_FORMAT to 221
9903 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9904 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9906 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9908 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9910 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9912 * factory.C (createInset): use LyXTextClass::floats
9914 * MenuBackend.C (expandFloatListInsert):
9915 (expandFloatInsert):
9918 * text2.C (setCounter):
9920 * LaTeXFeatures.C (useFloat):
9921 (getFloatDefinitions):
9923 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9925 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9926 floatlist_, with accessor floats().
9928 * FloatList.h: remove global FloatList
9930 2002-08-26 André Pönitz <poenitz@gmx.net>
9932 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9936 * BufferView_pimpl.C:
9937 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9939 2002-08-25 John Levon <levon@movementarian.org>
9941 * LyXAction.C: fix margin note description
9943 2002-08-24 John Levon <levon@movementarian.org>
9947 * bufferview_funcs.C:
9949 * undo_funcs.C: cleanups
9951 * lyxfunc.C: disable CUT/COPY when no selection
9953 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9955 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9956 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9958 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9959 Add backward compatibility to "mono", "gray" and "no".
9961 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9963 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9964 (and file_format >= 200).
9966 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9968 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9970 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9974 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9976 * BufferView_pimpl.C:
9983 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9984 inset and code to make it work with the paragraph code. The inset
9985 can be anywhere in the paragraph, but will only do the expected
9986 thing in LaTeX if the layout file contains the parameter line
9988 (or more generally, a nonzero value) for that layout.
9990 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9992 * paragraph.h: remove the declaration of undefined counters class
9995 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9997 * text2.C (setCounter): fixed enumeration mis-count as reported by
9998 Dr. Richard Hawkins.
10000 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10002 * paragraph_funcs.h: remove some unneeded includes
10004 * text.C (backspace): pasteParagraph now in global scipe
10006 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10007 (pasteSelection): ditto
10009 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10010 * paragraph_funcs.C (pasteParagraph): ... here
10012 2002-08-20 André Pönitz <poenitz@gmx.net>
10014 * commandtags.h: new LFUNs for swapping/copying table row/colums
10017 * lyxfunc.C: support for new lfuns
10019 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10022 * buffer.[Ch]: remove NO_COMPABILITY stuff
10024 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10026 * boost.C (throw_exception): new file, with helper function for
10027 boost compiled without exceptions.
10032 * ParameterStruct.h:
10033 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10035 * bufferlist.C (emergencyWriteAll): use boost bind
10037 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10039 * text.C: include paragraph_funcs.h
10040 (breakParagraph): breakParagraph is now in global scope
10042 * paragraph_funcs.[Ch]: new files
10044 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10047 * buffer.C: include paragraph_funcs.h
10048 (insertStringAsLines): breakParagraph is now in global scope
10050 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10053 * CutAndPaste.C: include paragraph_funcs.h
10054 (cutSelection): breakParagraphConservative is now in global scope
10055 (pasteSelection): ditto
10057 * buffer.h: declare oprator== and operator!= for
10058 Buffer::inset_iterator
10060 * bufferlist.C (emergencyWrite): don't use fmt(...)
10062 * text3.C: add using std::endl
10064 * BufferView.C (moveCursorUpdate): remove default arg
10066 2002-08-20 André Pönitz <poenitz@gmx.net>
10068 * buffer.[Ch]: move inline functions to .C
10071 * BufferView_pimpl.C:
10073 * buffer.[Ch]: use improved inset_iterator
10076 * paragraph.[Ch]: write one paragraph at a time
10078 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10080 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10081 style if style is not specified.
10083 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10085 * text2.C (setCounter): when searching for right label for a
10086 caption, make sure to recurse to parent insets (so that a caption
10087 in a minipage in a figure float works) (bug #568)
10089 2002-08-20 André Pönitz <poenitz@gmx.net>
10091 * text3.C: new file for LyXText::dispatch() and helpers
10093 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10095 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10097 2002-08-19 André Pönitz <poenitz@gmx.net>
10100 * text.C: new LyXText::dispatch()
10102 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10104 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10106 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10108 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10111 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * Makefile.am: use $(variables) instead of @substitutions@
10115 2002-08-15 André Pönitz <poenitz@gmx.net>
10118 * BufferView_pimpl.C: streamlining mathed <-> outer world
10122 * LyXAction.C: remove unused LFUN_MATH
10124 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10126 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10128 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10130 * paragraph.C (Paragraph): reformat a bit
10131 (cutIntoMinibuffer): use builtin InsetList function instad of
10135 * buffer.C: include boost/bind.hpp, add using std::for_each
10136 (writeFileAscii): use ParagraphList iterators
10137 (validate): use for_each for validate traversal of paragraphs
10138 (getBibkeyList): use ParagraphList iterators
10139 (resizeInsets): use for_each to resizeInsetsLyXText for all
10141 (getParFromID): use ParagraphList iterators
10143 * BufferView2.C (lockInset): use paragraph list and iterators
10145 2002-08-14 John Levon <levon@movementarian.org>
10147 * lyxserver.C: remove spurious xforms include
10149 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10151 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10153 2002-08-13 André Pönitz <poenitz@gmx.net>
10156 * lyxfunc.C: further cleaning
10158 2002-08-13 André Pönitz <poenitz@gmx.net>
10160 * funcrequest.h: new constructor
10162 * funcrequest.C: move stuff here from .h
10165 * BufferView_pimpl.C:
10168 * lyxfunc.C: subsequent changes
10170 * lyxfunc.h: new view() member function
10172 * lyxfunc.C: subsequent changes
10174 2002-08-13 Angus Leeming <leeming@lyx.org>
10177 * BufferView_pimpl.C:
10185 changes due to the changed LyXView interface that now returns references
10186 to member variables not pointers.
10188 2002-08-13 Angus Leeming <leeming@lyx.org>
10190 * WordLangTuple (word, lang_code): return references to strings,
10195 * lyxtext.h: forward-declare WordLangTuple.
10200 * text.C: #include "WordLangTuple.h".
10203 * text.C: (selectNextWordToSpellcheck): constify return type.
10205 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10211 * paragraph_pimpl.h:
10214 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10215 suggested by Angus.
10216 Made updateCounter always count from start of buffer, and removed
10217 second argument (par).
10218 Reverted floats number display to '#'. Perhaps I'll try again when the
10219 code base is sanitized a bit.
10221 2002-08-12 Angus Leeming <leeming@lyx.org>
10223 * buffer.[Ch] (getLabelList): constify.
10225 2002-08-07 André Pönitz <poenitz@gmx.net>
10227 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10229 * funcrequest.h: extension to keep mouse (x,y) position
10231 2002-08-12 Juergen Vigna <jug@sad.it>
10233 * BufferView2.C (insertErrors): forbid undo when inserting error
10236 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10238 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10240 * ParagraphList.[Ch]: new files
10242 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10244 * BufferView2.C (lockInset): ParagraphList changes
10247 * bufferlist.C: ditto
10251 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10253 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10254 unused class variable counter_,
10256 * paragraph.[Ch] (getFirstCounter): delete unused function
10258 * counters.C: include LAssert.h
10259 (reset): add a new function with no arg, change other version to
10260 not have def. arg and to not allow empty arg.
10262 * text2.C (setCounter): remove empty arg from call to Counters::reset
10264 2002-08-11 John Levon <levon@movementarian.org>
10266 * Makefile.am: add WordLangTuple.h
10268 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10270 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10271 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10273 * insets/insettext.C: InsetList changes
10275 * graphics/GraphicsSupport.C (operator()): InsetList changes
10277 * toc.C (getTocList): InsetList changes
10279 * paragraph_pimpl.[Ch]: InsetList changes
10281 * paragraph.[Ch]: InsetList changes
10283 * buffer.C (inset_iterator): InsetList changes
10284 (setParagraph): ditto
10285 * buffer.h (inset_iterator): ditto
10286 * iterators.C (operator++): ditto
10287 * iterators.h: ditto
10289 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10291 * InsetList.[Ch]: new files, most InsetList handling moved out of
10294 * BufferView2.C (removeAutoInsets): InsetList changes
10296 (ChangeInsets): ditto
10298 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10300 * paragraph_pimpl.h (empty): new function
10302 * paragraph.[Ch] (empty): new function
10304 * other files: use the new Paragraph::empty function
10306 2002-08-09 John Levon <levon@movementarian.org>
10308 * lyxtext.h: remove unused refresh_height
10310 2002-08-09 John Levon <levon@movementarian.org>
10317 * paragraph.C: move sgml char escaping out of paragraph
10320 * paragraph.C: remove id setter
10324 * paragraph_pimpl.C: remove dead tex_code_break_column
10326 * bufferview_funcs.C: small cleanup
10328 * lyxfunc.C: remove dead proto
10330 * lyxtext.h: make some stuff private. Remove some dead stuff.
10332 * lyxgluelength.C: make as[LyX]String() readable
10334 2002-08-08 John Levon <levon@movementarian.org>
10339 * ToolbarDefaults.C:
10342 * toc.C: lyxaction cleanup
10344 2002-08-08 John Levon <levon@movementarian.org>
10346 * BufferView2.C: small cleanup
10349 * lyxfind.C: move unnecessary header into the .C
10351 2002-08-08 John Levon <levon@movementarian.org>
10353 * funcrequest.h: just tedious nonsense
10356 * lyx_main.C: cleanups
10359 * vspace.C: remove dead header lyx_main.h
10361 2002-08-07 Angus Leeming <leeming@lyx.org>
10364 * paragraph_pimpl.h:
10365 Forward declare class Counters in paragraph.h by moving the ctrs member
10366 variable into Paragraph::Pimpl.
10367 (counters): new method, returning a reference to pimpl_->ctrs.
10369 * text2.C: ensuing changes.
10371 2002-08-07 John Levon <levon@movementarian.org>
10373 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10375 * BufferView_pimpl.C: announce X selection on double/triple
10378 * lyx_main.C: use correct bool in batch dispatch
10380 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10382 2002-08-07 André Pönitz <poenitz@gmx.net>
10384 * funcrequest.h: new class to wrap a kb_action and its argument
10387 * BufferView_pimpl[Ch]:
10391 * lyxrc.C: subsequent changes
10394 2002-08-07 John Levon <levon@movementarian.org>
10396 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10397 document options change.
10399 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10404 * makefile.am: move counters functionality over from
10405 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10407 2002-08-06 John Levon <levon@movementarian.org>
10409 * WordLangTuple.h: new file for word + language code tuple
10420 * BufferView2.C: use WordLangTuple
10423 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10425 2002-08-06 John Levon <levon@movementarian.org>
10427 * lyx_main.C: fix cmdline batch handling
10429 2002-08-06 André Pönitz <poenitz@gmx.net>
10431 * lyxrc.C: set default for show_banner to true
10433 2002-08-06 John Levon <levon@movementarian.org>
10435 * pspell.C: fix a crash, and allow new aspell to work
10437 2002-08-06 John Levon <levon@movementarian.org>
10440 * kbmap.C: small cleanup
10443 * vspace.C: add const
10445 2002-08-05 John Levon <levon@movementarian.org>
10447 * LyXAction.C: back to tabular-insert
10449 2002-08-04 John Levon <levon@movementarian.org>
10452 * BufferView.C: cosmetic change
10454 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10464 * BufferView2.C: purge all "Lyx" not "LyX" strings
10467 * lyxcursor.C: attempt to add some documentation
10472 * ToolbarDefaults.C:
10473 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10474 merge with LFUN_TABULAR_INSERT
10481 * pspell.C: split up i/pspell implementations into separate
10482 files, many cleanups
10484 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10486 * text2.C: some cleanup
10488 * lyxfunc.C: don't check for isp_command == "none" any more, it
10489 didn't make any sense
10491 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10496 * makefile.am: move counters functionality over
10497 from text2.C/paragraph.[Ch] to counters.[Ch], and
10499 2002-08-02 John Levon <levon@movementarian.org>
10501 * buffer.C: s/lyxconvert/lyx2lyx/
10503 2002-08-02 Angus Leeming <leeming@lyx.org>
10505 * lyxlex.C: revert John's change as it breaks reading of the user
10508 2002-08-02 Angus Leeming <leeming@lyx.org>
10510 * importer.C (Import):
10511 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10512 changes due to LyXView::view() now returning a boost::shared_ptr.
10514 2002-08-02 John Levon <levon@movementarian.org>
10516 * lyxlex.C: small cleanup
10518 2002-08-02 John Levon <levon@movementarian.org>
10520 * text2.C (status): small cleanup, no logic change
10522 2002-08-01 John Levon <levon@movementarian.org>
10525 * buffer.C (writeFile): don't output alerts, caller
10529 * lyx_cb.C: from above
10531 * lyxfunc.C: allow to open non-existent files
10533 2002-07-31 John Levon <levon@movementarian.org>
10535 * lyxserver.C: don't let incidental errors get
10538 2002-07-30 John Levon <levon@movementarian.org>
10540 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10542 2002-07-30 John Levon <levon@movementarian.org>
10545 * lyxserver.C: remove I/O callback too
10547 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10549 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10552 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10554 * many files: strip,frontStrip -> trim,ltrim,rtrim
10556 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10558 * PrinterParams.h: remove extern containsOnly, and include
10559 support/lstrings.h instead.
10561 * LaTeX.C (scanAuxFile): modify because of strip changes
10563 * buffer.C (makeLaTeXFile): ditto
10564 * bufferparams.C (writeFile): ditt
10565 * lyxfont.C (stateText): ditto
10566 * lyxserver.C (read_ready): ditto
10567 * vc-backend.C (scanMaster): ditto
10569 * BufferView_pimpl.h: ws changes
10571 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10573 2002-07-26 André Pönitz <poenitz@gmx.net>
10575 * kb_sequence.C: remove unnedred usings
10577 2002-07-26 Juergen Vigna <jug@sad.it>
10579 * lyxfind.C (LyXReplace): we have to check better if the returned
10580 text is not of theLockingInset()->getLockingInset().
10582 2002-07-25 Juergen Vigna <jug@sad.it>
10584 * lyxfind.C (LyXReplace): don't replace if we don't get the
10587 * undo_funcs.C (createUndo): remove debugging code.
10589 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10591 * buffer.C (parseSingleLyXformat2Token): Use default placement
10592 when reading old floats.
10594 * FloatList.C (FloatList): Change the default placement of figure
10595 and tables to "tbp".
10597 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10599 * MenuBackend.C: using std::max
10601 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * MenuBackend.C (expandToc):
10604 (expandToc2): code moved from xforms menu frontend. It is now
10605 generic and TOCs are transparent to menu frontends.
10607 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * toc.C (getTocList): protect against buf=0
10611 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10612 Menu as first parameter. Now, this calls itself recursively to
10613 expand a whole tree (this will be useful for TOC handling)
10614 (expandFloatInsert): remove 'wide' version of floats
10616 * MenuBackend.h (submenuname): returns the name of the submenu.
10617 (submenu): returns the submenu itself, provided it has been
10618 created by MenuBackend::expand
10620 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10623 insets which have noFontChange == true. (bug #172)
10625 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10627 * BufferView_pimpl.C: add connection objects and use them...
10630 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10632 * MenuBackend.C (expandLastfiles):
10635 (expandFloatListInsert):
10636 (expandFloatInsert):
10637 (expand): split expand in parts
10639 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10641 * lyx_gui.C: use lyx_gui::exit()
10643 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10645 * LyXAction.C: show the failing pseudo action
10647 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10649 * buffer.C (readFile): Run the lyxconvert script in order to read
10652 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10656 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10658 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10662 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10664 2002-07-22 Herbert Voss <voss@lyx.org>
10667 * lyxlength.[Ch]: add support for the vertical lengths
10669 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10671 * toc.[Ch]: std:: fixes
10673 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10675 * lyxrc.C: do not include lyx_main.h
10677 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10683 * BufferView2.C: include "lyxlex.h"
10686 * bufferparams.h: do not #include "lyxlex.h"
10688 * lyxtextclasslist.C (Add): remove method
10689 (classlist): renamed to classlist_
10691 * paragraph_pimpl.C:
10695 * bufferview_funcs.C:
10700 * toc.C (getTocList): use BufferParams::getLyXTextClass
10702 * toc.C (getTocList): use InsetFloat::addToToc
10704 * toc.[Ch]: new files, containing helper functions to handle table
10707 * lyxfunc.C (dispatch): no need to remove spaces around command
10709 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10710 first command of the sequence; it is not very clever, but I do not
10711 have a better idea, actually
10713 * LyXAction.C (LookupFunc): make sure to remove space at the
10714 beginning and end of the command
10716 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10718 * MenuBackend.C (getMenubar): new method: return the menubar of
10720 (read): treat differently reading of menu and menubar (in
10721 particular, the menubar has no name now)
10722 (Menu::menubar): remove
10724 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10727 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10729 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10730 a bibitem inset in a RTL paragraph.
10732 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10734 * paragraph_pimpl.C: constify
10736 * BufferView_pimpl.C:
10738 * lyxfunc.C: fix dispatch in a nicer way
10740 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10742 * lyxfunc.C (dispatch):
10743 * BufferView_pimpl.C:
10744 * BufferView_pimpl.h:
10746 * BufferView.h: rename Dispatch() to dispatch()
10748 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10750 * lyxlayout.C (Read): honor DependsOn tag
10752 * lyxlayout.[Ch] (depends_on): new method
10754 * version.C.in: update lyx_docversion
10756 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10758 * paragraph.C (validate): remove from here...
10759 * paragraph_pimpl.C (validate): ... and move here
10760 (isTextAt): make it const
10762 * buffer.C (getLists): ws cleanup
10764 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10766 * language.C (read): Use iso8859-1 encoding in latex_lang
10767 (this prevents LyX from crashing when using iso10646-1 encoding).
10769 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10771 * text2.C (toggleInset): if cursor is inside an inset, close the
10772 inset and leave cursor _after_ it
10774 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10776 * lyxfunc.C: move minibuffer completion handling out of here
10778 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView_pimpl.C:
10781 * LaTeX.C: fix dispatch calls
10783 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10785 * text.C (drawChars): Fix Arabic text rendering.
10787 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10791 * lyxfunc.C: remove message-push/pop
10795 * lyxfunc.C: rationalise some code by removing verboseDispatch
10796 in favour of a bool argument to dispatch()
10798 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * lyx_main.C (init): make sure to read symlinks as absolute paths
10802 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10805 * lyxfunc.C: no need for commandshortcut to be a member
10807 2002-07-15 André Pönitz <poenitz@gmx.net>
10809 * converter.C: add support for $$s (scripts from lib/scripts dir)
10810 * lyx_main.C: white space
10812 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10816 * lyxrc.C: remove second exit confirmation
10818 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10823 * BufferView_pimpl.h:
10824 * BufferView_pimpl.C:
10825 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10827 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * MenuBackend.C (expand): add numeric shortcuts to document menu
10831 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10833 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * lyxfont.C (setLyXFamily):
10842 * buffer.C (asciiParagraph): use ascii_lowercase
10844 2002-07-15 Mike Fabian <mfabian@suse.de>
10846 * lyxlex_pimpl.C (search_kw):
10847 * lyxlex.C (getLongString):
10848 * converter.h (operator<):
10849 * converter.C (operator<):
10850 * buffer.C (parseSingleLyXformat2Token):
10852 * ToolbarDefaults.C (read):
10853 * MenuBackend.C (checkShortcuts):
10855 * LColor.C (getFromGUIName):
10856 (getFromLyXName): use the compare_ascii_no_case instead of
10857 compare_no_case, because in turkish, 'i' is not the lowercase
10858 version of 'I', and thus turkish locale breaks parsing of tags.
10860 2002-07-16 Angus Leeming <leeming@lyx.org>
10862 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10863 now takes a Buffer const & argument.
10865 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10867 * BufferView.C (resize): check there's a buffer to resize
10869 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10871 * lyxfunc.C: remove dead code
10874 * lyxserver.C: use lyx_guii::set_read_callback
10876 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10878 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10879 an inset in a RTL paragraph.
10881 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10883 * lyxfunc.C: repaint after a font size update
10885 2002-07-15 André Pönitz <poenitz@gmx.net>
10887 * lyxlength.C: inBP should be able to return negative values
10889 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10891 * lyxfunc.C: use lyx_gui::update_fonts()
10893 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10895 * lyxfunc.C: use lyx_gui::update_color()
10897 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10903 * lyxrc.C: remove file->new asks for name option, and let
10904 buffer-new take an argument
10906 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10908 * BufferView_pimpl.C: remove unneeded extra repaint()
10910 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10912 * LyXAction.C: allow command-sequence with NoBuffer
10914 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10916 2002-07-10 Angus Leeming <leeming@lyx.org>
10918 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10920 2002-07-09 Angus Leeming <leeming@lyx.org>
10922 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10924 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10926 * lengthcommon.h: whitespace
10928 * lyxfunc.C: update scrollbar after goto paragraph
10930 * lyxtext.h: factor out page break drawing, and fix it so
10931 page break/added space paints as selected nicely
10933 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10935 * BufferView_pimpl.C: add FIXMEs, clean up a little
10937 2002-07-09 André Pönitz <poenitz@gmx.net>
10939 * lyxfont.[Ch]: support for wasy symbols
10941 2002-07-08 André Pönitz <poenitz@gmx.net>
10943 * BufferView_pimpl.C: apply John's patch for #93.
10945 2002-07-05 Angus Leeming <leeming@lyx.org>
10947 * BufferView_pimpl.C (buffer): generate previews if desired.
10949 * LColor.h: add "preview" to the color enum.
10951 * LColor.C (LColor): add a corresponding entry to the items array.
10953 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10956 2002-07-05 Angus Leeming <leeming@lyx.org>
10958 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10959 The body of the code is now in the method that is passed an ostream &
10960 rather than a file name.
10961 Pass an additional only_preamble parameter, useful for the forthcoming
10964 2002-07-03 André Pönitz <poenitz@gmx.net>
10966 * lyxfunc.C: simplify getStatus() a bit for math stuff
10968 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10970 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10972 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * text.C (changeRegionCase): do not change case of all the
10975 document when region ends at paragraph end (bug #461)
10977 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10979 * paragraph.C (startTeXParParams):
10980 (endTeXParParams): add \protect when necessary
10982 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * BufferView_pimpl.C (workAreaExpose): remove warning
10986 2002-06-27 Angus Leeming <leeming@lyx.org>
10988 * Makefile.am: add lyxlayout_ptr_fwd.h.
10990 2002-06-26 André Pönitz <poenitz@gmx.net>
10992 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10994 2002-06-25 Angus Leeming <leeming@lyx.org>
10996 * lyxfunc.C (dispatch): Comment out the call to
10997 grfx::GCache::changeDisplay. The method no longer exists now that the
10998 pixmap generation part of the graphics loader has been moved into
11001 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11003 * text2.C: layout as layout
11005 * text.C: layout as layout
11007 * tabular.C (OldFormatRead): layout as layout
11009 * paragraph_pimpl.C (TeXDeeper): layout as layout
11010 (realizeFont): layout as layout
11012 * paragraph.C (writeFile): layout as layout
11013 (validate): layout as layout
11014 (getFont): layout as layout
11015 (getLabelFont): layout as layout
11016 (getLayoutFont): layout as layout
11017 (breakParagraph): layout as layout
11018 (stripLeadingSpaces): layout as layout
11019 (getEndLabel): layout as layout
11020 (getMaxDepthAfter): layout as layout
11021 (applyLayout): layout as layout
11022 (TeXOnePar): layout as layout
11023 (simpleTeXOnePar): layout as layout
11024 (TeXEnvironment): layout as layout
11025 (layout): layout as layout
11026 (layout): layout as layout
11028 * lyxtextclass.C (compare_name): new functor to work with
11029 shared_ptr, layout as layout
11030 (Read): layout as layout
11031 (hasLayout): layout as layout
11032 (operator): layout as layout
11033 (delete_layout): layout as layout
11034 (defaultLayout): layout as layout
11036 * lyxlayout_ptr_fwd.h: new file
11038 * lyxlayout.C (Read): layout as layout
11040 * lyx_cb.C (MenuInsertLabel): layout as layout
11042 * bufferlist.C (newFile): layout as layout
11044 * buffer.C (readLyXformat2): layout as layout
11045 (parseSingleLyXformat2Token): layout as layout
11046 (insertStringAsLines): layout as layout
11047 (asciiParagraph): layout as layout
11048 (latexParagraphs): layout as layout
11049 (makeLinuxDocFile): layout as layout
11050 (simpleLinuxDocOnePar): layout as layout
11051 (makeDocBookFile): layout as layout
11052 (simpleDocBookOnePar): layout as layout
11053 (getLists): layout as layout
11055 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11057 * CutAndPaste.C (cutSelection): layout as layout
11058 (pasteSelection): layout as layout
11059 (SwitchLayoutsBetweenClasses): layout as layout
11061 * BufferView_pimpl.C (Dispatch): layout as layout
11062 (smartQuote): layout as layout
11064 * BufferView2.C (unlockInset): layout as layout
11066 2002-06-24 André Pönitz <poenitz@gmx.net>
11068 * lyxfunc.C: fix #487
11070 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11074 * lyxfunc.C: remove display_shortcuts, show_banner
11076 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11078 * Buffer_pimpl.C: oops, update on resize
11080 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11087 * BufferView.C: use repaint()
11089 * BufferView_pimpl.h:
11090 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11091 as it's a clearer description. Remove superfluous
11094 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11096 * text.C: fix bug 488. Not ideal, but getting
11097 getWord() to work properly for the insets that
11098 matter is more difficult ...
11100 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11102 * BufferView_pimpl.C:
11105 * lyxfunc.C: remove the six million index lyxfuncs to just
11106 one, and DTRT (bug 458)
11108 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11112 * BufferView_pimpl.h:
11113 * BufferView_pimpl.C: clean up resize() stuff,
11114 and unnecessary updateScreen()s
11116 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11120 * BufferView_pimpl.h:
11121 * BufferView_pimpl.C:
11124 * minibuffer.C: remove focus management of workarea,
11125 not needed. Use screen's greyOut()
11127 2002-06-17 Herbert Voss <voss@lyx.org>
11129 * converter.C: (convert) do not post a message, when converting
11130 fails, let the calling function decide what to do in this case
11132 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11134 * lyxfunc.C: tidy up a little
11136 2002-06-16 <alstrup@diku.dk>
11138 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11139 Got rid of FORMS_H_LOCATION include. Now we are
11142 2002-06-15 LyX Development team <lyx@rilke>
11144 * buffer.[Ch] (sgmlOpenTag):
11145 (sgmlCloseTag): Added support for avoiding pernicious mixed
11146 content. Return number of lines written.
11148 (makeLinuxDocFile):
11149 (makeDocBookFile): Fixed calls to sgml*Tag.
11150 Simple white space clean.
11152 (simpleDocBookOnePar): Simple white space clean.
11154 * tabular.[Ch] (docBook): Renamed to docbook and got another
11155 argument to related with the pernicious mixed content.
11157 (docbookRow): Fixed calls for docbook inset method.
11159 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11161 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11162 so it's X11 independent.
11166 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11168 2002-06-15 Lyx Development team <lyx@electronia>
11170 * intl.h: Renamed getTrans to getTransManager.
11172 2002-06-14 Angus Leeming <leeming@lyx.org>
11174 * Makefile.am: nuke forgotten stl_string_fwd.h.
11176 2002-06-12 Angus Leeming <leeming@lyx.org>
11178 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11180 2002-06-13 Angus Leeming <leeming@lyx.org>
11183 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11185 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11187 * kbmap.C (getiso): add support for cyrillic and greek
11189 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11193 * BufferView_pimpl.h:
11194 * BufferView_pimpl.C: move bogus scrolling logic
11197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11200 * BufferView_pimpl.C: view->resize() change
11202 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11204 * BufferView_pimpl.C: topCursorVisible
11207 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11211 * lyx_gui.C: move to frontends/
11215 * lyx_main.C: changes from above
11217 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11224 * lyx_main.C: minor tidy
11226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11228 * BufferView_pimpl.h:
11229 * BufferView_pimpl.C:
11231 * BufferView.C: make painter() const,
11234 * BufferView2.C: use screen() accessor
11237 * lyx_main.C: some minor cleanup
11239 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11241 * BufferView_pimpl.h:
11242 * BufferView_pimpl.C: remove enter/leaveView,
11245 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11250 * BufferView_pimpl.h:
11251 * BufferView_pimpl.C: only construct screen once,
11254 * lyxrc.C: remove pointless comment
11256 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11259 * BufferView.C: remove active() and belowMouse()
11261 * BufferView_pimpl.h:
11262 * BufferView_pimpl.C: use workarea() not workarea_,
11263 and make it use a scoped_ptr instead
11265 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11267 * lyx_gui.C: add debug message on BadWindow
11269 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * sp_spell.C: fdopen is not part of the C++ standard.
11273 * paragraph.C (InsetIterator): use >= instead of ==
11275 2002-06-07 Angus Leeming <leeming@lyx.org>
11277 Fixes needed to compile with Compaq cxx 6.5.
11278 * BufferView_pimpl.C:
11285 * lyxtextclasslist.C:
11290 all c-library variables have been moved into namespace std. Wrap
11291 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11296 Add a using std::abs declaration.
11298 * kbmap.h (modifier_pair):
11299 * paragraph.h (InsetTable, InsetList):
11300 * lyxfont.h (FontBits):
11301 type definition made public.
11303 * bufferlist.C (emergencyWriteAll): the compiler complains that
11304 there is more than one possible lyx::class_fun template to choose from.
11305 I re-named the void specialisation as lyx::void_class_fun.
11307 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11309 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11310 the compiler is is unable to find tostr in write_attribute.
11312 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11314 * buffer.C (sgmlError): hide #warning
11316 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11318 * xtl/*: get rid of xtl, which is not in use anyway
11320 * LyXAction.C (init):
11321 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11322 were unimplemented xtl experimentation
11324 2002-06-04 André Pönitz <poenitz@gmx.net>
11326 * lyxfunc.C: disable array operation on simple formulae
11328 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11330 * converter.C: constify a bit
11332 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11334 * lyx_gui.C: check xforms version correctly
11336 2002-04-30 Herbert Voss <voss@lyx.org>
11338 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11341 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11343 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11344 attempt to register it with a VCS)
11346 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * lyx_main.C (init): honor variables LYX_DIR_13x and
11351 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11355 * lyx_main.C: fix a crash on bad command line,
11356 and give a useful exit status on error
11358 * lyxfunc.C (doImport): allow -i lyx to work
11360 2002-03-30 André Pönitz <poenitz@gmx.net>
11362 * lyxfunc.C: mathed font changes
11364 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11379 * trans_mgr.h: srcdocs, and some minor cleanups
11381 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11383 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11384 call getFont all the time)
11386 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * switch from SigC signals to boost::signals
11390 2002-05-29 André Pönitz <poenitz@gmx.net>
11392 * paragraph_pimpl.C (getChar): don't call size() too often...
11394 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11396 * paragraph_pimpl.C (insertChar): do not try to update tables when
11397 appending (pos == size())
11399 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11400 in order to reduce drastically the number of comparisons needed to
11401 parse a large document
11403 2002-05-29 André Pönitz <poenitz@gmx.net>
11409 * textclasslist.[Ch]:
11410 * sp_ispell.h: whitespace change
11412 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11414 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11415 lyxaction directly now.
11417 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11421 * lyxvc.C: remove unused headers
11423 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11430 * undo_funcs.C: some cleanups. Use shared_ptr
11431 and a template for the undo stacks.
11433 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11435 * BufferView_pimpl.h:
11436 * BufferView_pimpl.C:
11443 * text2.C: use key_state/mouse_state
11445 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11447 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11450 * chset.C: change include order
11451 (loadFile): use boost regex and get rid of LRegex and LSubstring
11453 * Makefile.am (BOOST_LIBS): new variable
11454 (lyx_LDADD): use it
11456 * LaTeX.C: change include order.
11457 (scanAuxFile): use boost regex and get rid of LRegex and
11461 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11466 * FontInfo.C: moved to frontends/xforms/
11469 * FontLoader.C: moved into frontends for GUIIzation
11474 * lyxfunc.C: changes from above
11476 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11478 * LColor.C: remove spurious X include
11480 * BufferView_pimpl.C:
11485 * text2.C: move font metrics to frontends/
11487 2002-05-24 Juergen Vigna <jug@sad.it>
11489 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11490 setting the undo_cursor.
11492 * ParagraphParameters.h: include local includes first.
11494 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11496 * BufferView_pimpl.C:
11497 * BufferView_pimpl.h:
11501 * screen.C: move WorkArea into frontends/
11507 * BufferView2.C: move LyXScreen into frontends/
11511 * lyx_gui.C: move lyxlookup into frontends/xforms/
11513 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11516 * BufferView_pimpl.C:
11526 * bufferview_funcs.C:
11539 * vc-backend.C: move LyX/XFormsView into frontends/
11541 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11553 * text2.C: move Painter to frontends/
11555 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11557 * buffer.C: comment out some some code that depend upon lyx_format
11560 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11561 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11563 * buffer.h (NO_COMPABILITY): turn off compability
11565 * ColorHandler.C: include scoped_array.hpp
11567 * font.C: Use more specific smart_ptr header.
11570 * ShareContainer.h: ditto
11571 * lyx_main.h: ditto
11573 * FontInfo.h: ditto
11574 * BufferView_pimpl.h: ditto
11575 * ColorHandler.h: ditto
11577 * kbmap.C (defkey): change call to shared_ptr::reset
11579 2002-05-21 Juergen Vigna <jug@sad.it>
11581 * buffer.C (insertErtContents): fix to insert ert asis if it is
11582 non empty. Skip it completely if it contains only whitespaces.
11584 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11586 * BufferView_pimpl.C:
11587 * BufferView2.C: clear selection on paste (bug 393)
11589 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11591 * DepTable.C: include ctime
11593 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11595 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11597 2002-05-14 Juergen Vigna <jug@sad.it>
11599 * text.C (breakParagraph): fixed function to honor the keepempty
11600 layout in the right maner and also to permit the right breaking
11601 algorithm on empty or non empyt keepempty paragraphs.
11603 * paragraph.C (breakParagraph): we have to check also if the par
11604 is really empty (!size()) for isempty otherwise we do the wrong
11607 2002-05-10 Juergen Vigna <jug@sad.it>
11609 * buffer.[Ch] : The following are only changes to the ert
11610 compatibility read reading old LaTeX layout and font stuff and
11611 convert it to ERTInsets.
11613 * buffer.h: added isErtInset().
11615 * buffer.C (struct ErtComp): add a fromlayout bool to check
11616 if we're inside a LaTeX layout.
11617 (isErtInset): new helper function.
11618 (insertErtContents): look for other ert insets before this one
11619 and insert the contents there, so that we don't have subsequent
11620 ERT insets with nothing between them. This way we create only one
11621 inset with multiple paragraphs. Also check if we don't insert only
11622 spaces ' ' as they are ignored anyway afterwards in the .tex file
11623 so if we have only spaces we will ignore this latex part in the
11625 (parseSingleLyXformat2Token \\layout): better compatibility when
11626 reading layout-latex stuff.
11627 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11629 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11630 stuff after reading the inset only get the information back from
11633 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11635 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11637 * LaTeXFeatures.C (getBabelOptions): New method.
11639 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * BufferView_pimpl.C (Dispatch): work around missing argument for
11644 2002-05-08 Juergen Vigna <jug@sad.it>
11646 * text.C (leftMargin): handle paragraph leftindent.
11648 * paragraph.C (writeFile): write the new \\leftindent tag.
11649 (validate): handle leftindent code.
11650 (TeXEnvironment): handle paragraphleftindent code again.
11652 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11654 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11655 for paragrap_extra indent code and new token \\leftindent.
11656 (latexParagraphs): handle the leftindent as environment.
11658 * ParameterStruct.h: added leftindent support.
11660 * ParagraphParameters.C (leftIndent): added support functions for
11661 the paragraph left indent.
11663 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11666 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11668 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11671 * text.C (computeBidiTables): No bidi in insetERT.
11673 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11676 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11678 * version.C.in: pre 5
11680 2002-05-02 José Matos <jamatos@fep.up.pt>
11681 * buffer.C (makeDocBookFile): white space changes, add newline to
11683 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11685 * tabular.C (docBook): fix typo.
11687 2002-05-03 Juergen Vigna <jug@sad.it>
11689 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11690 change in LyXText as we can not be sure it was not freed.
11691 (drawOneRow): remove unused code.
11693 * text.C (drawInset): redo the calculation of the need_break_row as
11694 it could have a row which was already freed.
11695 (draw): look at the return value of drawInset and return false if
11696 it also returned false.
11697 (paintRowText): look at the return value of draw and return false if
11698 it also returned false.
11700 * lyxtext.h: added bool return type to drawInset() and draw() so that
11701 if we have a change in the row so that the rowbreak has to be redone
11702 we abort drawing as it will be called again.
11704 2002-05-02 Juergen Vigna <jug@sad.it>
11706 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11707 a change in the maintext also if we're inside an inset.
11708 (Dispatch): set the cursor again after a break line and after the
11709 screen has been updated as it could be we're in a different row.
11711 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11712 to set the cursor behind the pargraph with > size().
11713 (setCursor): check also for the same paragraph when checking where
11714 to put the cursor if we have a NFR inset.
11716 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11717 parts of layout read further up as it still was in the wrong
11720 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11722 * screen.C (drawFromTo): change sine fullRebreak always return
11725 * buffer.C (parseSingleLyXformat2Token): reindent some
11727 * BufferView_pimpl.C (update): change since fullRebreak always
11729 (Dispatch): git rid of the last hardcoded "Standard"s.
11731 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * text2.[Ch] (fullRebreak): make it return void now that we always
11736 2002-04-30 Juergen Vigna <jug@sad.it>
11738 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11739 ert compatibility check for "latex" layout.
11741 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11743 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11744 minipages: use col% instead of p%, and also use the current font.
11745 (makeLaTeXFile): Fix use babel condition.
11746 (parseSingleLyXformat2Token): Correct font when reading old floats.
11748 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11750 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11751 inserting list of floats.
11753 2002-04-25 Herbert Voss <voss@lyx.org>
11755 * MenuBackend.C (expand): don't add the graphics extensions to the
11758 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11760 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11761 non-existing layout, do not complain if it was the default layout
11762 of the original class (bug #342)
11764 2002-04-24 Juergen Vigna <jug@sad.it>
11766 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11767 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11769 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11771 * buffer.C (getBibkeyList): If using \bibliography, return the
11772 option field with the reference itself. Enables us to provide natbib
11773 support when using \bibliography.
11775 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11777 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11779 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11780 natbib is provided by the LaTeX class.
11782 2002-04-23 Juergen Vigna <jug@sad.it>
11784 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11787 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11789 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11791 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11793 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11794 ensuremath around textordmasculine, textordfeminine and
11797 2002-04-19 Juergen Vigna <jug@sad.it>
11799 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11800 reinitializing the buffer otherwise row-dimensions may be wrong.
11801 (update): reset also the selection cursors if they do exits otherwise
11802 their x/y positions may be wrong.
11804 * text2.C (cursorDown): don't enter the inset if we came from a row
11805 above and are one row over the inset.
11807 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11808 really leaving an inset.
11810 2002-04-18 Juergen Vigna <jug@sad.it>
11812 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11813 of the selected paragraph does not have the selected layout also if
11816 * text2.C (setLayout): fixed bug which did not change last selected
11819 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11820 changed the read and substituted \\end_float with \\end_inset!
11822 * BufferView_pimpl.C (cursorPrevious):
11823 (cursorNext): fixed to make it work with rows heigher than the work
11824 area without moving the cursor only the draw of the row.
11825 (workAreaMotionNotify): fix jumping over high rows.
11827 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11832 2002-04-16 Juergen Vigna <jug@sad.it>
11834 * text2.C (setCursor): set also the irow().
11835 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11837 (cursorDown): support for locking an inset if the x_fix value goes
11838 inside it. That way I can transverse insets too with cursor up/down.
11840 * lyxrow.h: added irow helper function same as other (i) functions.
11842 * BufferView_pimpl.C (cursorPrevious):
11843 (cursorNext): fixed for insets!
11845 2002-04-15 Juergen Vigna <jug@sad.it>
11847 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11848 position otherwise it is wrong in some cases.
11850 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11851 inside the inset before the call.
11853 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11855 * buffer.[Ch] (getBibkeyList): make it const.
11857 2002-04-12 Juergen Vigna <jug@sad.it>
11859 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11861 * text2.C (getCursorX): new helper function
11862 (setCursor): compute also ix_
11863 (setCursorFromCoordinates): set also ix.
11865 * lyxcursor.h: added ix_ and helper functions.
11867 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11869 * buffer.C (insertStringAsLines): dont break paragraph if the this
11870 paragraph is inside an inset which does not permit it!
11872 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11873 also with no chars on this paragraph.
11874 (paintRowText): only paint stuff if it's inside the workarea!
11876 * paragraph.C (breakParagraph): honor keepempty flag and break the
11877 paragraph always below not above.
11879 * BufferView2.C (unlockInset): update the paragraph layout on inset
11880 unlock as we changed paragraph in such a case.
11882 * lyxfind.C (LyXFind): clear the former selection if not found!
11884 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11885 again called in insertChar().
11887 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11888 an inset which uses the whole row!
11889 (rightMargin): ditto.
11890 (insertChar): force a rebreak if we inserted an inset!
11892 2002-03-28 Herbert Voss <voss@lyx.org>
11894 * lyxlength.[Ch]: add inBP() to get the right PS-point
11895 units (BigPoint). With inPixels we have rounding errors
11897 2002-04-11 Juergen Vigna <jug@sad.it>
11899 * text2.C (setCursorFromCoordinates): set iy to the right value.
11900 (setCursor): add check if row->previous exists!
11902 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11903 an old float_type as this was the case in the old code!
11905 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11907 * BufferView2.C (showLockedInsetCursor): use iy
11908 (fitLockedInsetCursor): ditto
11910 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11911 locked insets as there we have the right value now.
11913 * lyxcursor.C: added iy_ variable and iy functions to set to the
11914 baseline of cursor-y of the locked inset.
11916 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11917 (setCursor): fixed for insets which need a full row.
11919 * text.C (rowLastPrintable): don't ignore the last space when before
11920 an inset which needs a full row.
11921 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11922 as last character of a row when before a inset which needs a full row.
11924 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11926 * version.C.in: update date
11928 * text2.C (fullRebreak): try to always return true and see what
11931 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11933 * MenuBackend.C (expand): use Floating::listName
11935 * FloatList.C (FloatList): add listName argument to the built-in
11938 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11939 text associated with the float.
11941 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11945 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * ShareContainer.h: add a couple of missing typenames.
11949 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11951 * lyxrc.C (getDescription): use _() correctly rather than N_().
11953 2002-03-28 Herbert Voss <voss@lyx.org>
11955 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11956 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11958 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11960 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11961 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11963 2002-03-29 Juergen Vigna <jug@sad.it>
11965 * lyxfunc.C (dispatch): add a missing fitCursor call.
11967 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11968 it was scrolled by a cursor move, so return the bool status.
11970 * BufferView.C (fitCursor): return the bool flag also to the outside
11971 world as this is needed.
11973 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11975 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11976 call the edit() as it is not needed (and wrong) IMO.
11977 (workAreaButtonPress): set the screen_first variable before evt.
11978 unlock the inset as this may change screen_first and then we have
11979 a wrong y position for the click!
11981 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11983 * MenuBackend.C (expand): another translation that I missed
11985 2002-03-28 Juergen Vigna <jug@sad.it>
11987 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11989 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11991 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11995 * MenuBackend.C (expand): fix export/view/update when there is no
11998 2002-03-27 Herbert Voss <voss@lyx.org>
12000 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12003 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * bufferview_funcs.C (currentState): only show paragraph number
12006 for is DEVEL_VERSION is set.
12008 * lyxfunc.C (dispatch): put warning in INFO channel
12010 * MenuBackend.C (expand): translate the name of floats
12012 * FloatList.C (FloatList): mark the float names for translation
12014 * converter.C (convert): use LibScriptSearch
12016 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12018 * MenuBackend.C (defaults): fix default menu (we might as well get
12021 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12023 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12026 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12028 * lyxvc.C: reorder includes.
12030 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12032 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12035 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12037 * CutAndPaste.C: change layouts earlier on paste
12038 to avoid crashing when calling getFont()
12040 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12042 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12045 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12047 * WorkArea.C: remove 'Pending' debug message.
12049 * most files: ws cleanup
12051 * buffer.[Ch]: ws changes
12053 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12055 2002-03-21 Juergen Vigna <jug@sad.it>
12057 * tabular.C (SetMultiColumn): collapse also the contents of the
12058 cells and set the last border right. Added a Buffer const * param.
12060 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12062 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12065 2002-03-19 Juergen Vigna <jug@sad.it>
12067 * text2.C (clearSelection): reset also xsel_cache.
12069 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12070 where it needs to be called (John tells us to do so too :)
12071 (selectionLost): reset sel_cache.
12073 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12075 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12077 * text2.C (setCursorIntern): put debuging code in INSETS channel
12079 2002-03-19 André Pönitz <poenitz@gmx.net>
12081 * lyxfunc.C: tiny whitespace change
12083 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12085 * ToolbarDefaults.C (init):
12086 * LyXAction.C (init):
12088 * BufferView_pimpl.C (Dispatch):
12089 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12091 2002-03-19 Allan Rae <rae@lyx.org>
12093 * exporter.C (Export): removeAutoInsets before doing anything else.
12094 While I've just introduced a dependency on BufferView this really is
12095 the best place to clean the buffer otherwise you need to cleanup in
12096 a dozen places before calling export or cleanup in a dozen functions
12099 * converter.C (runLaTeX):
12100 (scanLog): Better handling of removeAutoInsets and screen updates.
12102 * lyxfunc.C (dispatch): small whitespace changes
12104 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12106 * WorkArea.C (C_WorkAreaEvent): return a value.
12107 (event_cb): return 1 if we handled the event, 0 otherwise.
12109 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12111 2002-03-18 Juergen Vigna <jug@sad.it>
12113 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12114 (GetAdditionalWidth): ditto.
12115 (RightLine): ditto.
12118 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12119 inset if we're there actually (probably not used right now but this
12120 is the direction to go for unifying code).
12121 (paste): disable code to clear the selection.
12123 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12124 inside an InsetText and move the check further up as it is in the
12127 * text2.C (pasteSelection): set a selection over the pasted text.
12129 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12131 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12132 and libgraphics to build on Cygwin.
12134 2002-03-15 Juergen Vigna <jug@sad.it>
12136 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12137 inserting an Inset into the paragraph. I know this is not the best
12138 fix but we already use current_view in CutAndPaste so we will remove
12139 all of it's using at the same time.
12141 * buffer.C (sgmlError): deactivated function till it is rewritten in
12142 the right mode, now it can create problems.
12144 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12145 before accessing it.
12147 2002-03-14 Juergen Vigna <jug@sad.it>
12149 * undo_funcs.C (textHandleUndo): do the right thing when updating
12150 the inset after the undo/redo.
12152 * text2.C (setCursor): just some testcode for #44 not ready yet.
12154 * undo_funcs.C (textHandleUndo): set the next() and previous()
12155 pointers of the paragraph to 0 before deleting otherwise we have
12156 problems with the Paragraph::[destructor].
12158 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12159 on a paragraph insertion.
12161 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * buffer.C (asciiParagraph): use += operator for char append to
12166 * paragraph.C (getFontSettings): compare >= not just >
12167 (highestFontInRange): ditto
12170 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12172 * paragraph.C: change several algorithm to be more appripriate for
12173 the problem domain. This is lookip in FontList and in the InsetList.
12175 2002-03-13 André Pönitz <poenitz@gmx.net>
12178 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12180 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12185 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12187 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * Painter.C (display): anon helper function, adjust code for this
12191 (pixmap): remove function.
12193 * Painter.h: remove private display variable.
12195 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12197 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12199 * WorkArea.[Ch]: remove figinset_canvas cruft.
12201 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * lyxtextclass.C (operator): add one item cache optimization.
12205 * bufferlist.h: doxy changes
12207 * bufferlist.C: ws changes
12209 * DepTable.[Ch] (ext_exist): place const in the right spot.
12211 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12213 (workAreaExpose): call resizeInsets when the with BufferView changes.
12214 (Dispatch): adjust for protectedBlank removal
12215 (specialChar): call updateInset if the insert went ok.
12217 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12218 specialChar instead.
12220 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12222 * BufferView.h: doxy change
12224 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12226 * lyxtextclass.C (operator[]): remove non-const version
12227 (defaultLayout): remove non-const version
12229 2002-03-12 Juergen Vigna <jug@sad.it>
12231 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12232 did resize the LyXText too.
12234 * buffer.C (readLyXformat2): set layout information on newly allocated
12237 * tabular.C (OldFormatRead): set layout information on the paragraph.
12239 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12241 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12243 2002-03-11 Juergen Vigna <jug@sad.it>
12245 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12247 (resizeCurrentBuffer): force also the insets to resize themselfes.
12248 (moveCursorUpdate): fixed up for InsetText.
12250 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12253 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12254 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12255 value of Dialogs::tooltipsEnabled().
12256 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12258 2002-03-08 Juergen Vigna <jug@sad.it>
12260 * BufferView_pimpl.C (updateInset): update inset inside inset also
12261 if it isn't inside theLockingInset().
12263 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * buffer.C (asciiParagraph): redo some of the word and line length
12267 (getLists): look for Caption instead of caption.
12269 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12271 * buffer.C (Buffer): initialize niceFile to true
12273 (makeLinuxDocFile):
12274 (makeDocBookFile): make sure niceFile is true on exit
12276 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12278 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12280 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12282 * LyXSendto.C: remove.
12283 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12284 * lyx_gui.C: remove now-redundant comment.
12285 * ColorHandler.h: remove forward declaration of class WorkArea.
12286 * lyxfunc.C: remove #include "WorkArea.h".
12288 2002-03-07 Juergen Vigna <jug@sad.it>
12290 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12291 got moved away with the DEPM and also set the inset_owner always
12292 right which before could have been omitted.
12294 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12296 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12297 wanted layout is not found.
12299 2002-03-07 Juergen Vigna <jug@sad.it>
12301 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12303 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12305 * paragraph.C (breakParagraph): use default layout not layout of
12307 (Paragraph): clear ParagraphParameters.
12309 2002-03-06 Juergen Vigna <jug@sad.it>
12311 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12312 otherwise it would not be a valid lenght. Fixed a special case in
12313 the minipage compatibility read where we end the document with a
12316 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12317 was set as it could be 0 for InsetTexts first entry.
12319 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * paragraph.C (writeFile): if layout is empty write out
12322 defaultLayoutName().
12324 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12325 file without named layout we set layout to defaultLayoutName().
12327 2002-03-06 Juergen Vigna <jug@sad.it>
12329 * CutAndPaste.C (copySelection): set layout for new paragraph.
12331 * text.C (prepareToPrint): leave ERT inset left aligned
12332 (leftMargin): don't indent paragraphs inside ERT insets
12334 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * paragraph.C (breakParagraph): dont call clear do the work manually
12338 * paragraph.[Ch] (clear): remove function
12340 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12342 * paragraph.C (Paragraph): dont call clear, the work has already
12345 * lyxtextclass.C (operator): assert if n is empty
12347 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12348 work manually instead.
12350 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12352 * BufferView_pimpl.C: protect selectionLost against text == 0
12354 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12356 * text.C (breakParagraph): fix a setting layout to '0' problem.
12358 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12360 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12361 final location of file, for the included files, and graphics.
12363 2002-03-05 Juergen Vigna <jug@sad.it>
12365 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12367 2002-03-04 Juergen Vigna <jug@sad.it>
12369 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12371 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12372 last column of multicolumn cells.
12373 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12375 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12377 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12378 file if it doesn't go to a temporary file.
12380 * buffer.C (sgmlOpenTag):
12381 (sgmlCloseTag): remove extra newline insertion.
12383 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * text.C (getRowNearY): comment out debug msg
12387 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * text2.C: first -> first_y
12391 * text.C (getRowNearY): add some attemts at a possible
12392 optimization, not working.
12394 * tabular.[Ch]: add BufferParams to several function so that newly
12395 created paragraph can be initialized to he default layotu for the
12398 * tabular-old.C (ReadOld): add buf->params to call of Init
12400 * screen.C: rename text->first to text->first_y
12402 * paragraph.C (breakParagraph): always set layout in the broken
12405 * lyxtextclass.C (Read): remove lowercase
12408 (delete_layout): ditto
12410 * lyxtext.h: rename first -> first_y
12412 * lyxlayout.C (Read): remove lowercase
12415 (obsoleted_by): ditto
12417 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12419 * buffer.C (insertErtContents): add params are to InsetERT
12420 (parseSingleLyXformat2Token): add code to check if a paragraphs
12421 layout really exist.
12422 (parseSingleLyXformat2Token): add params to several inset
12424 (asciiParagraph): remove lowercase, do the layout comparisons with
12427 * BufferView_pimpl.C (cursorNext): first -> first_y
12428 (resizeCurrentBuffer): first -> first_y
12429 (updateScrollbar): first -> first_y
12430 (scrollCB): first -> first_y
12431 (workAreaMotionNotify): first -> first_y
12432 (workAreaButtonPress): first -> first_y
12433 (checkInsetHit): first -> first_y
12434 (cursorPrevious): first -> first_y
12435 (cursorNext): first -> first_y
12436 (Dispatch): add buffer_->params to severl inset contructors
12438 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * lyxlayout.C (Read): remove some debug info that I forgot.
12442 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12443 clean up the code slightly.
12444 (makeLinuxDocFile): ditto
12445 (makeDocBookFile): ditto
12447 * text2.C: layout as string
12449 * text.C: layout as string
12451 * paragraph_pimpl.C: layout as string
12453 * paragraph.[Ch]: layout as string
12455 * lyxtextclasslist.[Ch]: layout as string
12457 * lyxtextclass.[Ch]: layout as string
12459 * lyxtext.h: layout as string
12461 * lyxlayout.[Ch]: layout as string
12463 * lyx_cb.C: layout as string
12465 * bufferview_funcs.C: layout as string
12467 * bufferparams.C: layout as string
12469 * buffer.C: layout as string
12471 * LyXView.[Ch]: layout as string
12473 * LaTeXFeatures.[Ch]: layout as string
12475 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12477 * BufferView_pimpl.C: change current_layout to string, remove
12482 (workAreaButtonRelease): layout as string
12484 * BufferView2.C (unlockInset): adjust
12486 * vspace.C (asLatexCommand): use an explict temp variable.
12488 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12490 * Makefile.am: use FRONTEND_*
12492 2002-03-01 Juergen Vigna <jug@sad.it>
12494 * tabular.C (SetWidthOfMulticolCell): changed to something better
12495 I hope but still work in progress.
12496 (recalculateMulticolumnsOfColumn): renamed function from
12497 recalculateMulticolCells as it is more appropriate now.
12498 (SetWidthOfCell): calculate multicols better.
12500 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12502 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12504 * lyxfunc.C (processKeySym): print sequence also if it is
12505 `deleted' (complete)
12507 * kbsequence.C (print): print sequence even if it is deleted
12508 (complete would be a better word, actually).
12510 * lyxfunc.C (dispatch): print complete options after a prefix key
12512 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12514 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12516 * text2.C (setCharFont): eliminate setCharFont code duplication.
12518 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12521 LFUN_TABULAR_FEATURE (bug #177)
12523 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12525 * Makefile.am: remove figure.h
12527 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12529 * Bufferview_pimpl.C:
12541 * text2.C: remove #include "lyx_gui_misc.h".
12543 * LaTeX.C: added #include <cstdio>
12545 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12547 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12548 that the paragraph following this one can have.
12550 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12552 * vspace.C (asLatexCommand): fix bogus gcc warning
12554 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12556 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12558 * text2.C (setLayout): get rid of redundant code
12560 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12562 * text2.C (incDepth): make sure depth cannot be increased beyond
12565 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12567 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12568 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12570 * PainterBase.h (image):
12571 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12572 a LyXImage const *.
12574 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12578 * BufferView_pimpl.C:
12579 * BufferView_pimpl.h:
12599 * sp_spell.C: remove fig inset, and the crap house of
12600 cards that follows it
12602 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12607 * os2_errortable.h:
12608 * nt_defines.h: move .h into support/
12610 * vms_defines.h: remove
12612 * WorkArea.C: add space in debug output
12616 * buffer.C: add WITH_WARNINGS
12620 * bufferlist.C: s/retrive/retrieve/, add docs
12629 * chset.C: add docs
12631 * lyxgui.C: add ID to X error handler
12633 * lyxtestclass.c: fix typo
12635 2002-02-26 Juergen Vigna <jug@sad.it>
12637 * tabular_funcs.C (write_attribute): changed so that some default
12638 attributes are not written at all.
12639 (getTokenValue): set default values before trying to read the
12640 value so we have the return value always set as default if we don't
12641 find the token we search for.
12643 * tabular.C (Write): write bools as bools not as strings!
12645 2002-02-22 Juergen Vigna <jug@sad.it>
12647 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12648 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12650 * text.C (leftMargin): don't add an indent for paragraphs inside
12651 tabular cells (fix #208).
12653 2002-02-21 José Matos <jamatos@fep.up.pt>
12655 * tabular.C (docBook): fixed support for long tables.
12657 2002-02-20 Juergen Vigna <jug@sad.it>
12659 * text2.C (getFont): get the drawing font of the Inset if this
12660 paragraph is inside an inset (only important for InsetERT for now).
12662 * buffer.C (insertErtContents): use new lanugage params in ERT
12665 * CutAndPaste.C: commenting out seemingly uneeded code.
12667 2002-02-19 Allan Rae <rae@lyx.org>
12669 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12670 Iterators might be simple to use but they also get invalidated.
12671 (removeAutoInsets): renamed saved cursor tracking variables and added
12672 some comments to clarify what everything does.
12674 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12681 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12682 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12685 * vc-backend.h: remove #include "support/syscall.h"
12689 * converter.C: rearrange #includes in Lars' approved fashion.
12691 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12692 forward declare class Timeout in the header file.
12694 * XFormsView.C: changes due to the above.
12696 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12697 similar to LyXView.
12699 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12700 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12702 2002-02-18 José Matos <jamatos@fep.up.pt>
12704 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12707 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12709 * a lot of small ws changes
12710 * add a lot of using std::XXX
12711 * use std construcs some places where approp.
12712 * use some exisint stuff from lyxfunctional where approp.
12713 * Make file changes to use partial linking (lets test this now...)
12715 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12719 remove #include "support/syscontr.h" as it's redundant. Always has been.
12727 change Systemcalls::System to Systemcalls::Wait and
12728 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12729 No change of functionality, just reflects the stripped down Systemcalls
12732 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12734 * debug.[Ch]: add a GRAPHICS type to the enum.
12736 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12738 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12740 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12743 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12745 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12746 match the changes below.
12748 * text2.C (toggleInset): if there is not editable inset at cursor
12749 position, try to see if cursor is _inside_ a collapsable inset
12752 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12754 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12755 document menu has a nice checkbox
12757 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12759 * lyxlength.C (asLatexString): change PW to output as percent of
12762 * lengthcommon.C: change '%' to 't%'
12764 * lyxfunc.C (dispatch): a few comments from Martin
12766 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12770 * BufferView_pimpl.h:
12771 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12774 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * vspace.C (inPixels): fix compiler warning
12778 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12780 * lyxfunc.C (getStatus): fix status message for disabled commands.
12782 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12784 * BufferView_pimpl.C: fix crash on close buffer
12785 during selection (#227)
12787 2002-01-27 Herbert Voss <voss@lyx.org>
12789 * buffer.C: link old Figure to new graphic inset
12791 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12793 * FontLoader.C (getFontinfo): Change the latex font names in order
12794 to match the names of type1inst.
12796 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12798 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12800 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12801 (extchanged): ditto
12803 (remove_files_with_extension): ditto
12804 (remove_file): ditto
12807 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12808 document is smaller than the work area height. Do not initialize
12809 static variables to 0.
12811 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12813 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12815 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12816 LFUN_LAYOUT_PARAGRAPHS.
12818 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12819 tabular. It is possible to provide a possible cell, which will
12820 typically be the actcell from the corresponding insettabular
12822 * lyxfunc.C (getStatus): small cleanup; disable
12823 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12826 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12828 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12830 * paragraph.C (startTeXParParams):
12831 (endTeXParParams): new methods. The LaTeX code to
12832 start/end paragraph formatting
12833 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12834 empty (fixes bug #200)
12836 * vspace.C (inPixels): adapt to the change below
12837 (inPixels): [later] more cleanups (remove unused variables)
12839 * lyxlength.C (inPixels): change to use a width and a height as
12842 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12844 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12845 Replaced with \paperwidth
12847 * DepTable.C (insert): add std:: qualifier
12849 2002-01-18 Allan Rae <rae@lyx.org>
12851 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12854 * text.C (drawInset): Turned out I didn't know enough about how
12855 rebreaking worked. This fixes most of the redraw problems. I see
12856 an occasional cursor trail when a line is broken now and the cursor
12857 placement can seem out by a few pixels also after a rebreak.
12859 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12861 * buffer.C (parseSingleLyXformat2Token): update because minipage
12862 width is now a LyXLength
12864 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12866 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12869 2002-01-17 Juergen Vigna <jug@sad.it>
12871 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12873 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12874 is set correctly and the inset is updated correctly.
12876 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12878 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12879 the beginning of the loop.
12881 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12883 * lyxrc.C: improve help for use_scalable_fonts
12885 2002-01-17 Allan Rae <rae@lyx.org>
12887 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12889 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12891 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12892 make sure to set their inset_owner to the right value (bug #171)
12894 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12897 * DepTable.C: Implement mtime checking to reduce time spent doing
12900 2002-01-16 Juergen Vigna <jug@sad.it>
12902 * tabular.C (GetAdditionalHeight): one of error fixed.
12904 * lyxrc.C (output): small fix in writing use_pspell.
12906 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12908 * sp_base.h: #include LString.h
12910 2002-01-16 Allan Rae <rae@lyx.org>
12912 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12913 Can someone check this please?
12915 * text.C (drawInset): It was possible that p.row would be removed by
12916 breakAgainOneRow upsetting a few other settings. There may be another
12917 small tweak possible by setting need_break_row = 0 when p.row has been
12918 removed but I don't know enough about the logic here.
12920 2002-01-15 Allan Rae <rae@lyx.org>
12922 * text.C (insertChar): removed conditional truism.
12924 * BufferView2.C (removeAutoInsets): More tweaks.
12925 cur_par_prev could be a stray pointer. Check for trailing empty line
12926 in case last line was cur_par and only had an error inset on it.
12928 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12930 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12933 * vc-backend.C (most methods):
12934 * exporter.C (Export):
12935 * converter.C (convert):
12937 * LyXSendto.C (SendtoApplyCB):
12938 * lyxfunc.C (dispatch):
12942 * lyx_cb.C (AutoSave):
12944 * BufferView_pimpl.C (MenuInsertLyXFile):
12945 * buffer.C (runChktex): use Buffer::filePath().
12947 * buffer.h: rename filename to filename_; rename filepath to
12948 filepath_ and make it private
12949 (filePath): new method
12951 * buffer.C (writeFile): use fileName()
12954 * lyx_main.C (init): fix starting of LyX when the binary is a
12955 link from so,ewhere else.
12957 * minibuffer.C: include <cctype> for isprint
12959 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12961 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12962 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12963 name clash with InsetCollapsable's width function.
12965 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * lastfiles.C: include <iterator>
12969 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12971 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12974 * buffer.C (makeLaTeXFile): ditto.
12975 Also make loop operation more transparent.
12977 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12979 * ToolbarDefaults.C: remove trailing comma closing namespace.
12981 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12983 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12986 * trans.C (Load): comment out unused variable, allowed.
12988 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12990 * minibuffer.[Ch] (append_char): new method to recieve input from the
12991 drop-down completion browser. If a key was pressed, then recieve this
12992 char and append it to the existing string.
12993 (peek_event): modify the positioning data passed to the completion
12994 browser so that it can be placed above the minibuffer rather than below.
12995 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12997 * LyXAction.C (init): alloe error-next for readonly documents.
12999 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13002 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * bufferlist.C (readFile): create the buffer _after_ checking that
13007 * lyxfunc.C (verboseDispatch): fix handling of arguments
13009 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13011 * lyxrc.C: use string::erase() instead of initializing to "".
13014 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13016 * BufferView_pimpl.h:
13017 * BufferView_pimpl.C:
13020 * text2.C: tell X when we have made a selection for copying
13022 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13024 * BufferView_pimpl.C (MenuInsertLyXFile):
13025 * lyxfunc.C (menuNew):
13027 (doImport): add shortcuts to directory buttons
13029 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13032 * lyxfunc.C (setStatusMessage):
13033 (getStatusMessage): new methods
13034 (getStatus):use setStatusMessage instead of setErrorMessage
13035 (dispatch): when function is disabled, set error message here
13036 [instead of in getStatus previously]
13038 * BufferView_pimpl.C (workAreaButtonRelease): update
13039 toolbar/menubar here too.
13041 2002-01-13 Allan Rae <rae@lyx.org>
13043 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13044 Now seems indestructible. Remaining task is to audit all other
13045 code affected by deleteEmptyParagraphMechanism. One small quirk
13046 left is that an empty document with an error in the preamble can
13047 be made to report an error but no error box appears. I don't know
13049 (removeAutoInsets): Improved comments.
13051 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13054 * Thesaurus.C: update for Aiksaurus 0.14
13056 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * text2.C (firstParagraph): removed member function, all uses
13059 replaces with ownerParagraph
13060 (redoParagraphs): here
13061 (updateInset): here
13062 (toggleAppendix): here
13063 * BufferView2.C (insertErrors): here
13064 (setCursorFromRow): here
13066 2002-01-13 Allan Rae <rae@lyx.org>
13068 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13069 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13070 There is still a way to segfault this although you may have to do this
13071 multiple times: Have an InsetERT with an unknown command in it.
13072 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13073 <down-arrow>, <Enter> again, View->DVI, BANG!
13075 * text2.C (setCursor):
13076 (deleteEmptyParagraphMechanism):
13077 * lyxtext.h (setCursor):
13078 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13079 Making use of the return value may help fix other bugs.
13081 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13083 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13085 * LyXView.C (updateMenubar): call MenuBar::update here
13086 (updateToolbar): but not here
13087 (showState): do not update toolbar/menubar
13089 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13090 should need to care about that.
13092 * lyxfunc.C (verboseDispatch): simplify a bit
13093 (getStatus): have a version which takes a pseudoaction, and
13094 another which requires a (kb_action,string).
13096 * LyXAction.C (retrieveActionArg): make it work also when action
13097 is not a pseudo-action.
13098 (getActionName): simplify a bit
13101 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13103 * lyxfunc.C (verboseDispatch): new families of methods with
13104 several ways to specify a command and a bool to indicate whether
13105 the command name and shortcut should be displayed in minibuffer
13106 (eventually, we could extend that to a finer bitmask like
13107 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13108 (dispatch): the pristine dispatch command which just, well,
13109 dispatchs! Note it still sets its result to minibuffer; I'm not
13112 * lyxfunc.h: remove setHintMessage
13114 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13116 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13118 * BufferView_pimpl.C (specialChar): delete new inset if we have
13119 not been able to insert it.
13121 * kbmap.C: revert to using int instead of kb_action, since all we
13122 are dealing with is pseudo-actions.
13124 * LyXAction.C (searchActionArg): change to return int instead of
13125 kb_action, since the result is a pseudoaction.
13127 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13129 * buffer.C (insertErtContents): Fix (partially) the font bug.
13131 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13133 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13134 as the other one is broken on my machine!
13136 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13139 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13141 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13143 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13144 reflect their actual use. Provide compatibility code for older lyxrc
13147 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13149 change names of popup font variables in line with the changes to lyxrc.C
13151 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13153 * buffer.C (asciiParagraph): avoid outputing a word twice after
13156 * lyxrc.C (getDescription): document that document_path and
13157 template_path can be empty.
13159 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13161 * LaTeXFeatures.C (getMacros):
13162 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13164 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13166 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13168 (getPackages): rename feature "floats" to "float". Use an array to
13169 iterate over 'simple' features (i.e. just a \usepackage). Add
13170 handling of "amsmath" (renamed from "amsstyle").
13172 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13174 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13177 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13179 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13180 FuncStaus::FuncStatus & FuncStaus::some_method().
13182 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13184 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13185 of the func_satus stuff. Edited and massaged in various ways by
13188 * lyxfunc.C (getStatus): use FuncStatus
13190 2002-01-08 Juergen Vigna <jug@sad.it>
13192 * text.C (nextBreakPoint): use function Inset::isChar().
13194 * paragraph.C (TeXOnePar): use function
13195 Inset::forceDefaultParagraphs.
13197 * buffer.C (latexParagraphs): use function
13198 Inset::forceDefaultParagraphs.
13200 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13202 * lyx_gui.C (init): set the style of the menu popups to
13203 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13205 2002-01-07 Juergen Vigna <jug@sad.it>
13207 * text.C (setHeightOfRow): small fix
13208 (prepareToPrint): don't look at alignment if we don't have the place
13211 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13213 * box.C: New file. Move the Box methods and functions out of box.h,
13214 following Lars' suggestion.
13216 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13218 * box.h: #include "support/LOstream.h", needed for inlined function.
13221 * lyxtextclasslist.C: added some using std declarations.
13223 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13225 * box.h: make signed dimensions to allow insets wider than
13226 the screen (bug #162)
13228 * BufferView_pimpl.C: add some insetHit debug
13230 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13232 * vc-backend.C: add FIXME
13234 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13236 * lyxfunc.C (getStatus): enable code for showing math font status
13239 2002-01-07 Juergen Vigna <jug@sad.it>
13241 * text.C (nextBreakPoint): removed debug output not needed anymore.
13243 2002-01-06 Juergen Vigna <jug@sad.it>
13245 * text.C (nextBreakPoint): fixed up this function we had this bug
13246 since ever but now hopefully we break row better.
13247 (insertChar): we have to check if an inset is the next char as it
13248 could now happen that a large inset is causing a break.
13250 2002-01-05 Juergen Vigna <jug@sad.it>
13252 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13253 if it doesn't like to be drawed.
13255 2002-01-04 Juergen Vigna <jug@sad.it>
13257 * BufferView2.C (lockInset): forgot to set a cursor.
13259 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13261 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13263 * FormMathsPanel.C:
13266 * form_maths_panel.C:
13267 * form_maths_panel.h:
13268 * form_maths_panel.fd: implemented sub- and super- buttons in math
13271 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13272 (or ^ space) to be used as in TeX (req'd by André).
13274 * lyxfunc.C: Allow ^ and _ again to be used both as
13275 super/subscript (mathed) and as themselves (in text).
13277 2002-01-03 Allan Rae <rae@lyx.org>
13279 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13280 "LyX" or the filename of the current buffer if it has one. This is a
13281 modified form of John Levon's patch.
13283 * XFormsView.C (setWindowTitle): also set icon title.
13285 * LyXView.h (setWindowTitle): signature changed.
13286 * XFormsView.h (setWindowTitle): ditto.
13288 2002-01-02 Juergen Vigna <jug@sad.it>
13290 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13292 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * screen.C (topCursorVisible): introduce a temp var for
13295 text->cursor.row(), handle the case where this row is null. (kindo
13298 * text2.C (setCursor): add a couple of asserts.
13300 * paragraph.h (inset_iterator): add -> operator
13302 * paragraph.[Ch] (autoDeleteInsets): remove member function
13304 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13305 cursor pos correctly and handle inset deletion by itself.
13306 (insertErrors): move iterator declaration out of for expression
13308 * lyxtextclass.C: add <algorithm>
13310 * Makefile.am: added the new files to sources, removed layout.C
13312 * layout.C: removed file
13314 * layout.h: remove LYX_DUMMY_LAYOUT
13316 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13320 * lyxtextclass.[Ch]:
13321 * lyxtextclasslist.[Ch]: new files
13323 * include order changes to a lot of files, also changes because of
13326 2001-12-27 Juergen Vigna <jug@sad.it>
13328 * buffer.C (asciiParagraph): more fixes.
13330 * tabular.C (ascii): make ascii export support export of only the
13331 data separated by a column-delimiter.
13332 (ascii): better support for ascii export.
13334 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13336 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * tabular_funcs.C: use a "using std::getline" instead of the
13339 previous fix from Angus (necessary for cxx + lyxstring)
13341 2001-12-24 Juergen Vigna <jug@sad.it>
13343 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13345 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13346 problems. First check a minipage also if we have some ert-contents
13347 (not only on par->size(), second set the right depth of the paragraph
13348 on the relink to the root-paragraph-list!
13350 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13351 which then did not anymore update the main paragraphs on undo/redo!
13353 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13355 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13356 code. Support all font-changing funcs (even those which are not in
13357 menu currently). Support for reporting font settings in
13358 mathed (disabled until Andre provides a function on mathed's side).
13360 * func_status.h (toggle): small helper function to set toggle
13363 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13365 * tabular_funcs.C: getline -> std::getline
13367 2001-12-21 Juergen Vigna <jug@sad.it>
13369 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13370 accessed and could be 0 (I couldn't generate this but it seems
13373 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13376 * tabular_funcs.h: here and include iosfwd
13378 2001-12-20 Juergen Vigna <jug@sad.it>
13380 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13381 inside inset but undo_par was.
13383 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13385 * Thesaurus.C: always include <config.h> in sources.
13389 * box.h: do not include <config.h> in header files
13391 * text.C (paintLastRow): remove unused variable
13393 * text.C (transformChar):
13395 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13397 * Painter.C (text):
13398 * font.C (width): rewrite to use uppercase() instead of
13401 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13403 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13405 * lyxfind.C: clean up of find failure position change
13407 2001-12-20 Juergen Vigna <jug@sad.it>
13409 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13411 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13412 (TeXRow): added to LaTeX a single tabular row.
13413 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13414 (Latex): simplified and finally good LT-h/f support.
13415 (various_functions): just small adaptions for LT-h/f support.
13417 * tabular_funcs.[hC]: added and moved here all not classfunctions
13420 2001-12-19 Juergen Vigna <jug@sad.it>
13422 * tabular.[Ch]: better support for longtabular options (not finished
13425 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * text.C (paintLastRow): use the label font instead of the font of
13428 the last character to compute the size of *_BOX. This makes more
13429 sense and avoids a crash with empty paragraphs.
13430 Use Painter::rectangle to draw EMPTY_BOX.
13432 2001-12-19 Juergen Vigna <jug@sad.it>
13434 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13435 the paragraphs if the replaced paragraph is not the first one!
13436 Tried to delete not used paragraphs but does not work yet so for
13437 now it's inside #ifdef's and by default off!
13439 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13441 * MenuBackend.C: include "lyx_main.h" instead of declaring
13442 lastfiles (actually was declared as LastFiles* instead of a
13445 2001-12-17 Juergen Vigna <jug@sad.it>
13447 * tabular.C (AppendColumn): applied John's fix
13449 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13453 * BufferView_pimpl.h:
13454 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13457 * box.h: new start of class for above
13459 * lyxfunc.C: ignore space-only minibuffer dispatches.
13460 Show the command name when it doesn't exist
13462 * minibuffer.C: don't add empty lines to the history
13464 * minibuffer.C: add a space on dropdown completion
13466 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13468 * text.C: fix line above/below drawing in insets
13470 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * lyxlength.C (LyXLength): Initialize private variables.
13474 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13476 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13477 when inserting error insets.
13479 2001-12-13 Juergen Vigna <jug@sad.it>
13481 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13482 actually sometimes the before-paragraph.
13483 (setUndo): don't clear the redostack if we're not actually undoing!
13485 2001-12-06 Juergen Vigna <jug@sad.it>
13487 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13488 and fixed redoing of main paragraph, so we can use it now ;)
13490 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13492 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13494 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13497 2001-12-13 André Pönitz <poenitz@gmx.net>
13500 * undo_func.C: minor cleanup
13502 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13504 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13505 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13506 font in urw-fonts package which is marked as -urw-fontspecific and
13507 does not work (incidentally, changing the encoding in the
13508 fonts.dir of this package to -adobe-fontspecific fixes the
13511 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13512 is a crash when undoing first paragraph (Juergen, please take a
13513 look). THis does not mean the undo fix is wrong, just that it
13516 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13517 the (Paragraph*) version when needed instead of duplicating the
13520 * text.C (workWidth): use Inset::parOwner to find out where the
13521 inset has been inserted. This is a huge performance gain for large
13522 documents with lots of insets. If Inset::parOwner is not set, fall
13523 back on the brute force method
13525 * paragraph_pimpl.C (insertInset):
13526 * paragraph.C (Paragraph):
13527 (cutIntoMinibuffer): set parOwner of insets when
13528 inserting/removing them
13530 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13532 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13538 * mathed/formulabase.C:
13539 * mathed/math_cursor.[Ch]:
13540 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13543 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13545 * lyxlength.[Ch] (operator!=): new function
13547 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13549 * text.C (workWidth): use Inset::parOwner to find out where the
13550 inset has been inserted. This is a huge performance gain for large
13551 documents with lots of insets. If Inset::parOwner is not set, fall
13552 back on the brute force method
13554 * paragraph_pimpl.C (insertInset):
13555 * paragraph.C (Paragraph):
13556 (cutIntoMinibuffer): set parOwner of insets when
13557 inserting/removing them
13559 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13561 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13563 * tabular-old.C (getTokenValue):
13564 * tabular.C (getTokenValue):
13565 (write_attribute): new versions for LyXLength
13566 (everywhere): adjust the use of widths
13568 * tabular.h: change the type of widths from string to LyXLength
13570 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13572 * paragraph.C: fixed missing line number count when exporting
13573 Environments to LaTeX file
13575 * buffer.C: added informational message for checking line numbers.
13577 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13579 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13580 paragraph, do the 'double space' part, but not the 'empty
13583 * text.C (workWidth): small optimization
13584 (getLengthMarkerHeight): use minimal size for negative lengths.
13586 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13588 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13590 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13592 2001-12-11 André Pönitz <poenitz@gmx.net>
13595 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13597 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13599 * text2.C: keep selection on a setFont()
13601 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13603 * lyx_cb.C: another bv->text misuse, from insert label
13605 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13608 * kbsequence.C: re-instate nmodifier mask
13610 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13612 * lyx_main.h: make lyxGUI private.
13614 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13616 * lyxfind.C: place the cursor correctly on failed search
13618 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13620 * text.C (getLengthMarkerHeight): for small heights, the arrows
13621 are not always on top/bottom of the text
13622 (drawLengthMarker): smaller arrows; take the left margin in
13623 account; draw also vfills.
13625 (paintLastRow): remove special code for vfill and standard spaces,
13626 since everything is handled in drawLengthMarker now.
13628 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13630 * buffer.C (insertErtContents): try to handle font and language
13631 interaction a bit better.g
13633 * ColorHandler.C (updateColor): change the hash to cover the whole
13634 LColor enum, ws cleanup
13635 (getGCLinepars): ditto
13636 (getGCLinepars): only lookup in the linecache once.
13638 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13640 * iterators.C (operator++): Make the iterator more robust
13642 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13644 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13646 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13649 * text.C: better added space drawing
13651 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13654 * BufferView2.C: fix layout combo update on inset unlock
13656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13658 * Makefile.am: don't compile unused files
13660 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13664 * LyXAction.C: remove old LFUN_LAYOUTNO
13666 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13668 * paragraph_pimpl.h:
13669 * paragraph_pimpl.C: isTextAt() doesn't need font param
13671 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13674 * lyxlex.C: little cleanup
13676 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13678 * BufferView_pimpl.C: fix insertAscii for insets
13680 2001-12-05 Juergen Vigna <jug@sad.it>
13682 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13683 set the right font on the "multi" paragraph paste!
13685 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * lyxlength.C: remove out-commented code.
13693 * BufferView_pimpl:
13707 * vc-backend.C: change "while(" to "while ("
13709 * lyxlength.[Ch]: add zero function to check if length is zero or
13711 * lyxgluelength.C: use it
13713 2001-12-05 Allan Rae <rae@lyx.org>
13715 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13716 Works for 2.95.3, from what I understand of Garst's reports this should
13717 work for other g++ versions. We're screwed if the abs(int) definition
13718 changed between bugfix releases of gcc.
13720 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13722 * text.C: fix chapter label offset !
13724 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13727 * text.C: fix hfill at end of line, clean up
13729 2001-12-04 Juergen Vigna <jug@sad.it>
13731 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13732 that we force an update of the inset and it's owners if neccessary.
13734 2001-12-03 Juergen Vigna <jug@sad.it>
13736 * text.C (rowLast): simplified code
13738 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13740 * lyxfunc.C: fix show options on timeout
13742 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13744 * screen.C (topCursorVisible): scroll half a page when the cursor
13745 reached top of bottom of screen
13747 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13749 * minibuffer.C: deactivate on loss of focus
13751 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13753 * vspace.[Ch] (operator!=): add operator.
13755 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13757 * BufferView_pimpl.C: refuse to open an inset when
13758 there's a selection.
13760 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13762 * BufferView_pimpl.C: allow to click on RHS of full row insets
13764 2001-11-30 Juergen Vigna <jug@sad.it>
13766 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13767 insets for undo reasons.
13769 2001-11-28 André Pönitz <poenitz@gmx.net>
13771 * vspace.[Ch]: cosmetical changes
13773 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13783 * kbsequence.C: part re-write of old kb code
13786 * WorkArea.C: remove Lgb_bug_find_hack
13788 2001-11-30 José Matos <jamatos@fep.up.pt>
13790 * buffer.C (makeDocBookFile): add a comment to point a hack.
13791 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13792 Fixed a double write of labels.
13794 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13797 * LaTeX.h Fixed bug in LaTeX class where it would not
13798 re-run latex if no depfiles were changed, but the .dvi was removed.
13800 2001-11-28 André Pönitz <poenitz@gmx.net>
13802 * all the files from the change on 2001/11/26:
13803 use lyx::layout_type instead of LyXTextClass::size_type
13804 use lyx::textclass_type instead of LyXTextClassList::size_type
13806 2001-11-29 Juergen Vigna <jug@sad.it>
13808 * text.C: added support for paragraph::isFreeSpacing()
13810 * buffer.C: same as above
13812 * paragraph.h: inserted isFreeSpacing() function to enable
13813 FreeSpacing inside InsetERT.
13815 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13816 of the paragraph's in the cut/copy buffer to 0!
13818 * text2.C (removeRow): remove the assert as it can!
13820 * lyxtext.h: added helper function firstRow returning firstrow and
13821 made firstrow private again.
13823 * BufferView2.C (lockInset): don't relock if we're already locked!
13825 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13826 the only paragraph.
13827 (removeRow): added Assert::(firstrow)
13829 * debug.C: forgot to add INSETTEXT here.
13831 2001-11-28 Juergen Vigna <jug@sad.it>
13833 * sp_spell.C (initialize): changed error text to more general
13834 spellchecker command use (not only ispell!)
13836 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13838 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13840 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13842 * vspace.C: initialise lyxgluelength on failure
13844 2001-11-28 Allan Rae <rae@lyx.org>
13846 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13847 declaration & definition that looks like a function declaration.
13849 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * BufferView2.C (copy):
13852 (copyEnvironment): do not clear the selection when doing a copy.
13854 * text.C (paintFirstRow): compilation fix
13856 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13858 * tabular.C (Latex): correct line count when writing latex.
13860 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13862 * paragraph_pimpl.h:
13863 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13866 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13870 * LColor.C: change vfillline->added_space
13872 * text.C: add markers and text for added space
13874 * vspace.C: fix comment
13876 2001-11-28 André Pönitz <poenitz@gmx.net>
13878 * paragraph.C: whitespace changes
13879 * all the other files from the change on 2001/11/26:
13880 change *::pos_type into lyx::pos_type
13882 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13884 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13885 language of the document when inserting error insets.
13887 2001-11-26 André Pönitz <poenitz@gmx.net>
13889 * BufferView_pimpl.[Ch]:
13897 * paragraph_pimpl.[Ch]:
13900 * text2.C: reduce header dependencies, introduce type for positions
13902 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13904 * <various>: change to use Alert.h
13906 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13908 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13909 when encountering an unknown token.
13910 (readLyXformat2): Show an error message if there were unknown tokens.
13912 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13915 * BufferView_pimpl.C:
13919 * text2.C: use par->isInset()
13921 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13923 * paragraph_pimpl.h:
13924 * paragraph_pimpl.C: cleanup
13926 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13928 * text2.C (removeRow):
13929 * text.C (setHeightOfRow): remove useless (and costly) call to
13932 2001-11-20 Allan Rae <rae@lyx.org>
13934 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13935 Now need Inset*::checkInsertChar() to return true for appropriate
13936 cases so that the characters in the minibuffer will actually be
13939 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * text.C: change the order of the includes.
13942 (workWidth): initialize it at once.
13943 (workWidth): make maxw unsigned
13944 (setHeightOfRow): remove unused variable (inset)
13945 (selectSelectedWord): remove unused variable (inset)
13946 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13948 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13950 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13951 server is not running.
13953 (closeConnection): add debug info when server is disabled.
13955 * ColorHandler.C (getGCForeground): send debug message to GUI
13958 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13960 * kbmap.C (bind): modify because return conventions of
13961 kb_sequence::parse have changed.
13963 * kbsequence.C (parse): only ignore spaces and not any stupid
13964 control character. This avoids tests like s[i] <= ' ', which are
13965 guaranteed to fail with 8bit characters and signed chars.
13966 Change return code to string::npos when there have been no error
13967 (0 was a bad idea when error is at first character)
13969 2001-11-14 José Matos <jamatos@fep.up.pt>
13972 * buffer.C (simpleDocBookOnePar): removed unused argument.
13974 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13976 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13977 insets which are part of a word. Paragraph::isLetter takes care of
13978 that now. Use Paragraph::isInset to identify insets.
13979 (selectSelectedWord): do not test for hyphenation break.
13981 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13982 that protected spaces are considered as spaces.
13984 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13987 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13990 * lyxserver.C: fix it. and small cleanup.
13992 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13994 * BufferView_pimpl.C: use inline helpers
13997 * LaTeXFeatures.C: fix typos
14000 * Spacing.C: move spacing_string into class
14002 * ToolbarDefaults.C: move stuff into namespace anon
14004 * layout.h: update enum
14006 * lyxfunc.C: use better debug
14008 * minibuffer.h: fix typo
14012 * WorkArea.C: add and use Debug::WORKAREA
14016 * text2.C: code re-organisation, inline helpers
14018 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14020 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14021 std::vector.empty().
14023 2001-11-09 Allan Rae <rae@lyx.org>
14025 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14026 '\n's after tables. Tabular and ERT inset work now makes this no
14029 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14032 * minibuffer.C: fix crash, improve drop-down completion
14034 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14037 * lyxserver.C: invalidate fd's when doing endPipe()
14039 2001-11-08 José Matos <jamatos@fep.up.pt>
14041 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14042 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14045 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14047 2001-11-07 José Matos <jamatos@fep.up.pt>
14050 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14053 * buffer.C (sgmlOpenTag):
14054 * buffer.C (sgmlCloseTag): removed debug info.
14056 * buffer.h (sgmlOpenTag):
14057 * buffer.h (sgmlCloseTag): made public.
14059 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14061 * buffer.C (saveParamsAsDefaults):
14062 * lyx_cb.C (MenuLayoutSave): remove
14064 * LyXAction.C (init):
14066 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14068 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * buffer.C (setPaperStuff): removed from here...
14072 * bufferparams.C (setPaperStuff): ... and moved there.
14074 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14078 * XFormsView.C: add support for drop-down completion
14080 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14082 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14085 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14087 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14090 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14092 * lyx_main.C: change ref to known bugs
14094 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14096 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14097 to work around older babel problems.
14099 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14101 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14103 2001-10-24 Juergen Vigna <jug@sad.it>
14105 * tabular-old.C (ReadOld): below variable changes reflected.
14107 * tabular.[Ch]: added ltType struct for longtable header/footer
14108 defines and changed all instances where they are used. Added
14109 future support for double top/bottom rows.
14111 2001-10-24 José Matos <jamatos@fep.up.pt>
14113 * buffer.h (docbookHandleCaption):
14114 * buffer.C (docbookHandleCaption): removed unused function.
14115 (makeDocBookFile): moved docbook supported version to v4.1.
14117 2001-10-24 José Matos <jamatos@fep.up.pt>
14120 * tabular.C (docbookRow): new function to export docbook code of a row.
14121 (DocBook): now honors the longtable flags.
14123 2001-10-23 José Matos <jamatos@fep.up.pt>
14126 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14127 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14129 * buffer.C (makeLinuxDocFile):
14130 (makeDocBookFile): reworked the preamble, more clean, and with
14131 support for lyx defined entities. Changed the document declaration
14132 to be more XML friendly.
14134 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14135 if we need to output XML that should be done with a filter.
14137 2001-10-22 Juergen Vigna <jug@sad.it>
14139 * sp_pspell.h (class PSpell): add alive function needed in the
14140 controller to see if the spellchecker could be started.
14142 2001-10-22 Juergen Vigna <jug@sad.it>
14144 * buffer.C (insertStringAsLines): modify the font for inserting
14145 chars in certain conditions by calling checkInsertChar(font).
14147 2001-10-19 Juergen Vigna <jug@sad.it>
14149 * text.C (workWidth): use getRow instead of wrong algorithm.
14150 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14152 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14157 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14159 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * text.C (workWidth): do not search for the exact row when
14162 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14163 optimization for big documents.
14165 2001-10-18 Juergen Vigna <jug@sad.it>
14167 * text.C (workWidth): new function with added Inset * parameter.
14169 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14171 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14173 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14174 change return type of getColumnNearX.
14177 * text.C (changeRegionCase): use uppercase/lowercase instead of
14180 (rightMargin): simplify code by factoring out the uses of
14185 (appendParagraph): use Paragraph::size_type
14187 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * vspace.C (asLatexString): add a missing break
14191 2001-10-15 Herbert Voss <voss@perce.de>
14193 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14195 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14197 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14200 2001-10-10 André Pönitz <poenitz@gmx.net>
14202 * lyxfunc.C: removed greek_kb_flag.
14204 2001-10-10 Herbert Voss <voss@perce.de>
14206 * lyx_main.C: delete global string help_lyxdir.
14208 2001-10-09 Herbert Voss <voss@perce.de>
14210 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14212 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14214 * lyx_main.C: added global string help_lyxdir.
14216 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14218 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14220 * lyxrc.C (set_font_norm_type): support iso8859-4
14222 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14224 * LaTeX.C (deplog): add another regex for MikTeX
14226 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14228 * lyxrc.C (set_font_norm_type): support iso8859-3
14230 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14234 * LaTeXFeatures.C: remove special case of french and index
14236 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14237 before \begin{document}). This solves several incompatibilities.
14239 2001-10-03 Garst Reese <reese@isn.net>
14241 * lyx_cb.C: change CheckTex error msg.
14243 2001-10-03 José Matos <jamatos@fep.up.pt>
14245 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14247 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14249 * .cvsignore: update
14251 * lyx_main.C (commandLineVersionInfo): use new style version info.
14253 * buffer.C (writeFile):
14255 (makeLinuxDocFile):
14256 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14258 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14260 * version.h: update to use stuff in version.C
14262 * version.C.in: new file. Contains version information determined
14263 at compile time. This is a merging of version.h and
14266 2001-10-03 Juergen Vigna <jug@sad.it>
14268 * BufferView_pimpl.C (update): don't change "dirty" status in
14271 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14273 * WorkArea.C (c-tor): re-position version string slightly.
14275 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14277 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14278 revert to previous code.
14280 WorkArea.[Ch]: (show, destroySplash): methods removed.
14282 WorkArea.C: rework code so that it's an amalgam of the codes before and
14283 after the splash screen was moved to WorkArea.
14285 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14288 * vspace.C (inPixels):
14291 * buffer.C (insertStringAsLines):
14292 (asciiParagraph): fix types to be large enough
14294 * lyxlex_pimpl.h: change member status from short to int
14296 * layout.h: fix type of endlabeltype
14299 * kbsequence.C (parse): change return type to string::size_type
14301 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14304 * Bullet.C (bulletSize):
14305 (bulletEntry): do not use short ints as parameters
14307 * BufferView2.C (insertLyXFile): change a char to an int.
14309 * WorkArea.C (WorkArea): remove unneeded floats in computation
14311 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14313 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14315 * paragraph.C (asString): Do not ignore newline/hfill chars when
14316 copying to the clipboard.
14318 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14320 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14321 after a multi-line inset.
14323 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14325 * paragraph.C (validate): Set NeedLyXFootnoteCode
14327 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14329 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14330 and decrease-error to decrease.
14332 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14334 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14335 it more readable (should be equivalent)
14337 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14339 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14341 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14344 of a cursor (row, etc.) after a character has been deleted
14345 (deleteEmptyParagraphMechanism): call the method above on _all_
14346 cursors held by the LyXText when a double space has been
14349 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14351 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14353 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14355 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14356 background. Use greyOut() and the new show() methods to toggle between
14357 the foreground and background. Add code to remove the splash after
14358 its initial showing.
14360 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14361 (create_forms): no longer call Dialogs::showSplash.
14363 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14365 * .cvsignore: add version_info.h
14367 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14369 * version_info.h.in: new file
14371 * Makefile.am: add version_info.h.in
14373 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14374 version_info.h instead of VERSION_INFO
14376 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14378 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14379 The ERT inset now returns string().
14381 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14383 * lyxtext.h, text.C (selectNextWord): renamed as
14384 selectNextWordToSpellcheck.
14386 * text.C (selectNextWordToSpellcheck): Modified to not select
14387 words inside an ERT inset.
14389 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14391 * lyx_cb.C (MenuLayoutSave): change a bit the question
14393 * sp_base.h: include <sys/types.h>
14395 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14397 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14399 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14401 * several files: fix typos in user-visible strings
14403 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * text2.C (pasteSelection): do not set the selection, since it
14406 will be cleared later. Actually, the intent was to fix the way the
14407 selection was set, but I figured rmoving the code was just as good.
14409 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14411 * FontLoader.C (available): Check if font is available without
14414 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14416 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14418 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14420 * lyxrc.[Ch]: added display_graphics variable and associated code.
14422 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * bufferparams.C (hasClassDefaults): new method. Returns true if
14425 the buffer parameters correspond to known class defaults
14427 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14429 * XFormsView.C (show): set minimum size to the main window.
14431 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * text2.C (copySelection):
14435 * lyxfind.C (LyXReplace):
14436 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14437 LyXText::selectionAsString.
14439 * paragraph.C (asString): add "label" argument to the second form
14441 * text2.C (selectionAsString): add "label" argument and pass it to
14442 Paragraph::asString.
14444 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14446 * lyx_main.C (commandLineHelp): remove version information
14448 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14450 * lyx_main.C: add -version commandline option
14452 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * paragraph.h: make the optional constructor arg required instead.
14455 some modifications to other files because of this.
14457 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14459 * lyxserver.C (C_LyXComm_callback): make it static
14461 * lyx_main.C (error_handler): make it static
14463 * lyx_gui.C (LyX_XErrHandler): make it static
14465 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14467 * WorkArea.C: make the extern "C" methods static.
14469 * Makefile.am (lyx_LDADD): simplify
14471 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14473 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14474 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14476 * LyXAction.C (init):
14477 * lyxfunc.C (dispatch): associated code removal.
14479 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14481 * lyxfont.h (isSymbolFont): shut off warning
14483 * text.C (setHeightOfRow):
14484 (getVisibleRow): fix crash with empty paragraphs which have a
14487 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14489 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14492 2001-09-04 José Matos <jamatos@fep.up.pt>
14495 * tabular.C (docbook): rename docBook method to docbook.
14497 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14499 * Makefile.am: add dependencies to main.o.
14501 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14503 * FontLoader.C (available): Return false if !lyxrc.use_gui
14505 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14507 * FontInfo.C (query):
14508 * converter.C (view):
14509 * importer.C (Import):
14510 * exporter.C (Export): Can not -> cannot.
14512 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14514 * BufferView_pimpl.C: allow to create index inset even if
14517 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14519 * buffer.C (getLists): replace boost::tie code with an explicit pair
14520 as boost::tie can break some compilers.
14522 * iterators.h: Added a std:: declaration to the return type of
14525 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14527 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14530 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14532 * iterators.[Ch]: New files. Provide paragraph iterators.
14534 * buffer.C (changeLanguage): Use paragraph iterators.
14535 (isMultiLingual): ditto
14537 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14539 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14541 * FontLoader.C: Support for cmr font.
14543 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14545 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14546 (available): New method.
14548 * FontInfo.C (getFontname): Use scalable fonts even when
14549 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14552 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14554 * converter.C (Formats::view): reverted! Incorrect fix.
14556 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14558 * converter.C (Formats::view): only output the -paper option
14559 if the dvi viewer is xdvi, thereby fixing bug #233429.
14561 2001-08-23 Herbert Voss <voss@perce>
14563 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14565 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14567 * Spacing.h (Spacing): Set space to Default on in the default
14570 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14572 * vc-backend.h (RCS::versionString): add RCS to version
14573 (CVS::versionString): add CVS to version
14575 * vc-backend.C (scanMaster): do not add CVS to version.
14576 (scanMaster): do not add RCS to version
14578 * lyxvc.C (versionString): new method
14580 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14582 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14584 * Spacing.C (set): initialize fval
14586 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14588 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14591 2001-08-16 Juergen Vigna <jug@sad.it>
14593 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14595 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14597 * BufferView_pimpl.C:
14600 * text2.C: setParagraph takes linespacing now
14602 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14604 * LyxAction.C: add internal LFUN_CITATION_INSERT
14606 * LyXView.C: actually apply fix
14608 * bufferlist.C: fix open non-existent file
14610 * lyxfind.C: fix indentation
14612 * lyxfunc.C: remove unneeded assert, fix typo
14614 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14616 * MenuBackend.C: use "Floatname List"
14618 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14620 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14621 when converting LaTeX layout to insetERT.
14622 Generate a non-collapsed float when reading old float
14624 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14626 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14629 2001-08-13 Juergen Vigna <jug@sad.it>
14631 * text.C (fill): return 0 instead of 20 as this seems to be the more
14634 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14636 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14639 2001-08-13 Juergen Vigna <jug@sad.it>
14641 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14643 (SearchBackward): comment out the unlocking of the inset_owner this
14644 should not be needed!
14646 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14648 * Many files: Remove inherit_language, and add latex_language
14650 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14651 collapsible insets.
14653 2001-08-10 Juergen Vigna <jug@sad.it>
14655 * text.C (prepareToPrint): fixed hfill-width in draw!
14657 * BufferView2.C (selectLastWord): save the selection cursor as this
14658 now is cleared in the function LyXText::clearSelection!
14660 2001-08-08 Juergen Vigna <jug@sad.it>
14662 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14663 BACKSPACE type functions.
14665 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14666 is only cutted from the document but not put in the cut-buffer, where
14667 still the old stuff should be.
14669 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14671 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14673 * tabular.C (SetWidthOfCell): fixed special case where the width
14675 (LeftLine): handle '|' in align_special.
14677 (LeftAlreadyDrawed): ditto
14678 (SetWidthOfCell): ditto
14680 2001-08-07 Juergen Vigna <jug@sad.it>
14682 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14684 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14686 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14687 * lyxlex.[hC]: ditto
14689 2001-08-06 Juergen Vigna <jug@sad.it>
14691 * text.C (getVisibleRow): fix up row clearing a bit.
14693 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14695 * minibuffer.C: make sure the X server sees the changes in the input.
14697 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14699 * paragraph.C (getFont): split into...
14700 (getLabelFont): this
14701 (getLayoutFont): and this
14702 * paragraph_pimpl.C (realizeFont): calling this
14704 * text2.C (getFont): split into...
14705 (getLayoutFont): this
14706 (getLabelFont): and this
14707 (realizeFont): all three calling this
14709 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14712 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14714 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14716 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14718 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14719 layouts from the Quote inset insertion.
14721 2001-08-03 Juergen Vigna <jug@sad.it>
14723 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14725 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14726 only if status not is already CHANGED_IN_DRAW (second level).
14728 * text.C (draw): don't set the need_break_row when inside an
14731 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * buffer.C (parseSingleLyXformat2Token): handle more latex
14736 * bufferview_funcs.[hC]: change function names to
14737 begin with small char, adjust other files.
14739 2001-08-02 André Pönitz <poenitz@gmx.net>
14742 BufferView_pimpl.C: remove broken special code for math-greek
14744 2001-08-02 Juergen Vigna <jug@sad.it>
14746 * BufferView_pimpl.C (update): redone this function so that we
14747 update the text again if there was a CHANGE_IN_DRAW.
14749 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14750 (drawFromTo): added a new internal bool which is used by draw() and
14752 (general): some cursor drawing problems fixed.
14754 2001-08-01 Juergen Vigna <jug@sad.it>
14756 * lyxfind.C (LyXFind): fixed
14757 (SearchForward): ditto
14758 (SearchBackward): ditto
14760 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14761 spurius drawing of the cursor in the main area.
14763 * text2.C (status): small fix which could lead to a segfault!
14764 (clearSelection): remove unneeded BufferView param.
14766 2001-08-01 André Pönitz <poenitz@gmx.net>
14768 * lyxfunc.C: small change due to changed mathed interface
14770 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14774 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14776 * lyxfunc.c: fail gracefully if file doesn't exist
14781 * BufferView_pimpl.C: IsDirWriteable() proto changed
14783 * LyXView.C: fix updateWindowTitle() to store the last title
14785 2001-07-31 Juergen Vigna <jug@sad.it>
14787 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14788 the font (wrong since using of Paragraph::highestFontInRange).
14790 * paragraph.C (highestFontInRange): added a default_size parameter.
14792 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14793 (setHeightOfRow): reformat
14795 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14797 * converter.[hC] + affected files: move to (inital-char)lowercase
14800 * ParagraphParameters.C (ParagraphParameters): remove commented code
14802 * PainterBase.[Ch]: remove commented code
14804 * LaTeXFeatures.h: add "bool floats" for float.sty
14806 * LaTeXFeatures.C (LaTeXFeatures): init floats
14807 (require): handle float
14808 (getPackages): do it with floats
14810 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * BufferView_pimpl.C (Dispatch): improve handling of
14813 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14815 * commandtags.h: #include lyxfont.h here temporarily to avoid
14818 * bufferlist.h: include LString.h here.
14820 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * text2.C (getStringToIndex): new method.
14824 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14826 * *: Reduced header file dependencies all over.
14828 2001-07-30 Baruch Even <baruch@lyx.org>
14830 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14832 2001-07-29 Baruch Even <baruch@lyx.org>
14834 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14836 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * ParameterStruct.h (endif): add a default constructor to make
14839 sure that all variables is initialized.
14841 * ParagraphParameters.C (ParagraphParameters): adjust
14843 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14845 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14846 index; also, check that there is something to index, and that it
14847 does not span over several paragraphs.
14848 (doubleClick): use WHOLE_WORD_STRICT for double click.
14850 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14852 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14855 2001-07-26 Baruch Even <baruch@lyx.org>
14857 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14858 an InsetFig figure, backwards compatible reading of old figure code.
14860 2001-07-27 Juergen Vigna <jug@sad.it>
14862 * text2.C: font.realize function adaption.
14864 * text.C (draw): add a warnings lyxerr text if needed.
14866 * layout.C: font.realize function adaption.
14868 * language.C: add inherit_language and implement it's handlings
14870 * bufferview_funcs.C (StyleReset): remove language parameter from
14871 font creation (should be language_inherit now).
14873 * bufferparams.C (writeFile): handle ignore_language.
14875 * paragraph.C (getFontSettings): the language has to be resolved
14876 otherwise we have problems in LyXFont!
14878 * lyxfont.C (lyxWriteChanges): added document_language parameter
14879 (update): removed unneeded language parameter
14881 * paragraph.C (validate): fixed wrong output of color-package when
14882 using interface colors for certain fonts in certain environments,
14883 which should not seen as that on the final output.
14885 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14887 * BufferView_pimpl.C:
14892 * LyXAction.C: add thesaurus support
14895 * lyxfind.C: add "once" parameter, for thesaurus, to not
14896 move to the next match
14898 2001-07-26 Juergen Vigna <jug@sad.it>
14900 * lyxfont.C (realize): honor ignore_language too!
14903 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14905 * text.C (draw): one place more for ignore_language to not draw
14908 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14910 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14912 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14915 the minipage conversion problem.
14917 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14919 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14922 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14924 * BufferView.h: don't forward declare WorkArea
14926 * BufferView.C: don't include WorkArea.h
14928 2001-07-25 André Pönitz <poenitz@gmx.net>
14932 * lyxfunc.C: new LFUN 'math-space'
14934 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14936 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14938 * text2.C (toggleInset): call open/close
14940 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14942 * lyxfunc.C (dispatch): add debug for the disabled case
14944 * font.C (buttonText): make similar to rectText
14946 * buffer.C (readInset): comment out parsing of insetlist and
14949 * PainterBase.C (rectText): small correction
14951 * BufferView_pimpl.C: comment out insettheorem and insetlist
14952 * LyXAction.C: ditto
14953 * commandtags.h: ditto
14955 2001-07-24 Juergen Vigna <jug@sad.it>
14957 * text.C (draw): honor the ignore_language.
14959 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14961 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14963 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14966 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14968 * lyxtext.h: remove unused (and unimplemented) methods
14970 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14972 * text.C (getVisibleRow): honor background color
14975 * Painter.h: remove default color argument for fillRectangle
14977 * text.C (backgroundColor): new method
14979 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14981 * text.C (getVisibleRow): adjust
14983 * font.[Ch] (rectText): new method, metrics
14984 (buttonText): new method, metrics
14986 * PainterBase.[hC]: make rectText and buttonText always draw and take
14989 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14991 * ToolbarDefaults.C (read):
14992 * MenuBackend.C (read): allow escaping in all strings
14994 * BufferView_pimpl.C (insertAndEditInset): new method.
14995 (Dispatch): use insertAndEditInset whenever appropriate.
14997 * BufferView_pimpl.C (insertNote): removed
14999 * BufferView_pimpl.C (smartQuote): new method, moved from
15000 BufferView; if an insetquote cannot be inserted, insert a '"'
15003 * BufferView2.C: remove insertCorrectQuote();
15005 * lyxfunc.C (getStatus): Add support for all remaingin
15006 inset-insert lfuns.
15008 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15010 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15011 command (necessary to pass " as parameter of self-insert.
15013 * text.C (selectWordWhenUnderCursor):
15014 (selectWord): add word_location parameter
15015 (selectWordWhenUnderCursor): same + remove special code for word
15017 (selectNextWord): use kind() to guess type of insetspecialchar,
15020 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15021 (insertErtContents): create ert insets as collapsed.
15022 (readInset): better compatibility code for Info inset.
15024 2001-07-20 Juergen Vigna <jug@sad.it>
15026 * lyxfunc.C (dispatch): use always LyXFind now!
15028 * text2.C (init): add a reinit flag so that the LyXText can be
15029 reinited instead of deleted and reallocated (used in InsetText).
15031 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15037 2001-07-18 Juergen Vigna <jug@sad.it>
15039 * text.C (selectNextWord): handle insets inside inset by calling
15040 always the bv->text functions so that we can go up the_locking_inset!
15042 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15043 in strange locations when inside an inset!
15045 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15046 handling to include insets.
15048 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15050 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15052 * LyXAction.C (init):
15054 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15055 LIGATURE_BREAK, since the name is so stupid.
15057 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15059 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15062 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15064 * sp_form.[Ch]: remove.
15066 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15068 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15071 * src/buffer.C (readInset): ditto.
15073 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15075 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15076 menuSeparator(), endOfSentenceDot(), ldots() and
15077 hyphenationPoint(), which are therefore removed.
15078 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15080 * LyXAction.C (init):
15081 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15083 * paragraph.C (getWord): removed.
15085 * BufferView_pimpl.C (Dispatch): use last word or selection for
15086 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15088 * lyx_main.C (queryUserLyXDir): do not ask before creating
15089 user_dir, except if it has been named explicitely.
15091 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15093 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15094 a document of zero size.
15096 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15098 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15099 approriately in the c-tor and in require().
15100 (getPackages): output the appropriate LaTeX for natbib support.
15102 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15103 variables "use_natbib" and "use_numerical_citations" when reading the
15105 (readInset): read the various natbib cite commands.
15106 (validate): white-space change.
15108 * bufferparams.[Ch]: new variables "bool use_natbib" and
15109 "bool use_numerical_citations".
15110 (writeFile): output them in the LyX file.
15112 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15114 * lyxfunc.C (getStatus): add support for all the inset insertion
15117 * text2.C (insertInset):
15118 * paragraph.C (insetAllowed):
15119 * BufferView_pimpl.C (insertInset): update to take in account the
15120 renaming of insertInsetAllowed
15122 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15124 * text2.C (getInset): new method. returns inset at cursor position.
15126 * BufferView_pimpl.C (Dispatch): changes because of this.
15128 * LyXAction.C (init): rename open-stuff to inset-toggle.
15130 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15132 * text2.C (toggleInset): renamed from openStuff; use
15135 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15137 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15139 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15141 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15143 * buffer.C (readLyXformat2): Add filename to the error dialog
15145 2001-07-18 Juergen Vigna <jug@sad.it>
15147 * tabular.C (GetCellNumber): put an assert here instead of the check!
15149 2001-07-17 Juergen Vigna <jug@sad.it>
15151 * BufferView_pimpl.C (toggleSelection): adapted too.
15153 * text.C (selectNextWord): adapted for use with insets.
15154 (selectSelectedWord): ditto
15156 2001-07-17 Juergen Vigna <jug@sad.it>
15158 * sp_spell.C (PSpell): fix initialitation order.
15160 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15162 * paragraph.C: spacing
15164 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15166 * sp_spell.C: repair language selection for pspell
15168 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * lyxfunc.h: change more methods to begin with lower char.
15172 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15174 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15175 for unknown layouts.
15177 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15179 * buffer.C (readLyXformat2): Generate an error dialog if there are
15182 2001-07-16 Juergen Vigna <jug@sad.it>
15184 * sp_spell.C: always compile ISpell part.
15186 * lyxrc.C: added use_pspell entry and it's handling.
15188 2001-07-13 Juergen Vigna <jug@sad.it>
15190 * sp_spell.C: removed double includes.
15192 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15194 Consistent use of Lsstream.h:
15195 * Lsstream.h: added using std::stringstream for consistencies sake.
15197 * buffer.C: removed using std::stringstream
15199 * lyxfont.C (stateText):
15200 * paragraph.C (asString):
15201 * text.C (selectNextWord, selectSelectedWord):
15202 * text2.C (setCounter):
15203 * vspace.C (asString, asLatexString):
15204 std::ostringstream -> ostringstream.
15206 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15208 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15209 * commandtags.h: add LFUN_HELP_ABOUTLYX
15210 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15212 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15214 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15216 * lyx_gui_misc.C: remove spellchecker
15217 * lyxfunc.C: showSpellchecker
15219 * sp_ispell.h: added
15220 * sp_pspell.h: added
15221 * sp_spell.C: added
15222 * sp_form.[Ch]: removed
15223 * spellchecker.[Ch]: removed
15225 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15227 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15229 (simpleTeXSpecialChars): Simply print the input character without
15230 any special translation if pass_thru is set.
15232 * layout.h: Added bool pass_thru to layout class for being able to
15233 implement pass through of a paragraph for Literate Programming.
15235 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15236 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15237 * layout.C (Read): add "passthru" to list of layout tags and add
15238 code to set the pass_thru boolean when it is read.
15240 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15242 * trans_decl.h: remove allowed from KmodInfo
15244 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15245 remove allowed code
15248 * paragraph_pimpl.C (erase): use boost::prior
15250 * Painter.C (text): use data() instead of c_str() when length is
15252 * WorkArea.C (putClipboard): ditto
15253 * font.h (width): ditto
15255 * BufferView2.C: use it-> instead of (*it). for iterators
15257 * paragraph_pimpl.C: ditto
15258 * paragraph.C: ditto
15259 * minibuffer.C: ditto
15260 * language.C: ditto
15262 * encoding.C: ditto
15263 * counters.C: ditto
15264 * converter.C: ditto
15266 * Variables.C: ditto
15267 * TextCache.C: ditto
15268 * MenuBackend.C: ditto
15269 * LyXAction.C: ditto
15271 * FloatList.C: ditto
15272 * DepTable.C: ditto
15273 * ColorHandler.C (LyXColorHandler): ditto
15275 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15277 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15279 * text2.C (openStuff): reintroduce this method (which had been
15280 nuked in NEW_INSETS frenzy).
15282 * lyxfunc.C (Dispatch): when an action has not been handled, use
15283 its name in the error message, not its number.
15285 * paragraph.C (inInset): change method name to begin with lowercase.
15288 * text2.C: updates because of this.
15290 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15292 * ToolbarDefaults.C (add): add spaces in error message
15294 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15297 (readLyXformat2): rename return_par to first_par, use lyxlex's
15298 pushToken and remove the manual push handling.
15299 (parseSingleLyXformat2Token): add another ert comp. variable:
15300 in_tabular, rename return_par to first_par. handle newlines better
15302 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15304 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15306 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15308 * text2.C (getParFromID): removed
15310 * buffer.C (getParFromID): new method moved form lyxtext.
15311 * BufferView2.C (insertErrors): adjust
15312 (setCursorFromRow): adjust
15313 * BufferView_pimpl.C (restorePosition): adjust
15314 * lyxfunc.C (Dispatch): adjust
15315 * undo_funcs.C (textUndo): adjust
15317 (textHandleUndo): adjust
15318 (textHandleUndo): adjust
15320 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15322 * buffer.C: up' the LYX_FORMAT
15324 * lyxfont.h: turn NO_LATEX on as default
15326 * buffer.C (insertErtContents): new methods of tex style compability.
15327 (parseSingleLyXformat2Token): use it several places.
15328 * tabular.C (OldFormatRead): and here
15330 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15332 * text2.C: remove some commented code.
15335 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15336 * trans.C: changes because of the above.
15338 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15340 * text2.C (setCounter): Fix counters bug with bibliography layout.
15342 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15344 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15345 own member functions
15346 (simpleTeXSpecialChars): ditto
15348 2001-07-06 Juergen Vigna <jug@sad.it>
15350 * a lot of files: changed the access to LyXText::status and the
15351 call of undo-functions.
15353 * undo.[Ch]: added a inset_id to the undo informations.
15355 * undo_funcs.[Ch]: added and moved here all undo functions.
15357 * lyxtext.h: give the status enum a weight, made status_ a private
15358 variable and made accessor functions for it, removed the whole bunch
15359 of undo-functions as they are now in their own file, make some
15360 functions publically available. Added function ownerParagraph with
15363 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15364 made InInset() a const function, added getParFromID() function.
15366 * buffer.[Ch]: added const version for inset_iterator functions,
15367 added getInsetFromID() function.
15369 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15370 changed undo functions for new version.
15372 2001-07-05 Juergen Vigna <jug@sad.it>
15374 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15375 unknow mechanism does not call the proper constructor but only this
15376 one also if I request the other!?
15378 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15380 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15382 * text2.C (LyXText): use initialization lists.
15384 * lyxtext.h (Selection): initialize set_ and mark_
15385 (init): remove method
15387 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15389 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15391 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15393 * screen.[Ch]: change method names to begin with lowercase
15395 * BufferView_pimpl.C (updateScrollbar): simplify further and
15396 hopefully make it a bit faster.
15398 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15401 calling directly xforms functions.
15403 * Painter.C (Painter):
15404 * lyx_cb.C (MenuWrite):
15405 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15408 * lyx_gui.C: remove bogus guiruntime extern declaration.
15410 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15414 (redoDrawingOfParagraph): ditto
15415 (redoParagraphs): ditto
15416 (cutSelection): don't create a object for CutAndPaste use the
15417 static method directly
15418 (pasteSelection): ditto
15420 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15423 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * modifications to some other files because of this.
15427 * Makefile.am (lyx_SOURCES): add XFormsView
15429 * XFormsView.[Ch]: new files
15431 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15432 the main window. Move the gui dependent stuff to XFormsView
15434 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * tabular.C (GetCellInset): update cur_cell also in the row/col
15437 version of this function.
15439 * lyxfunc.C: no need to include figure_form.h here.
15445 * lyxvc.C: no need to include forms.h here.
15447 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15449 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15451 * lyxfunc.C (Dispatch):
15453 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15454 constructor argument.
15456 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15458 * paragraph.C (Paragraph): dont't clear, and just set layout.
15459 (makeSameLayout): use params's copy contructor.
15461 * ParagraphParameters.[Ch] (makeSame): delete method
15463 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15465 * Variables.[Ch]: fix indentation, rename set to isSet
15467 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15469 * lyxfunc.C (Dispatch): fix typo
15471 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15473 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15476 * bufferlist.C: include assert.h for emergencyWrite().
15478 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15480 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15481 give up at last (bug #425202) !
15483 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15489 * spellchecker.C: strip spellchecker options and bring up
15490 preferences tab instead
15492 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15495 the istringstream constructor
15497 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * paragraph.C (getLayout): fix return value
15501 * paragraph.h: do not declare getLayout as inline.
15503 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15505 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15507 * lyxcursor.h (operator<): new func
15508 (operator>): new func
15509 (operator>=): new func
15510 (operator<=): new func
15512 * text.C (changeCase): use selection.start and selection.end
15513 (changeRegionCase): require from to be <= to. Require par to be a
15516 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15518 2001-06-27 Juergen Vigna <jug@sad.it>
15520 * text.C (cursorLeftOneWord): changed to return the cursor and added
15521 overlay with BufferView * parameter which calls this one.
15523 (selectWord): use new getWord function.
15524 (changeCase): renamed from changeWordCase as and extended to work
15525 also on selections.
15527 * lyxtext.h: added enum word_location
15529 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15530 changeCase as this operates now also on selections.
15532 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15534 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15536 * many files: send debug output to Debug::INFO instead of
15539 * converter.C (View):
15541 (Move): send debug output to Debug::FILES instead of console.
15543 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15545 * lyxfunc.C (getStatus): use func_status
15547 * func_status.h: new header, describing the results of
15548 LyXFunc::getStatus;
15550 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15553 2001-06-25 The LyX Project <jug@sad.it>
15555 * buffer.C (sgmlOpenTag):
15557 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15559 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * text2.C: remove some dead code
15563 * tabular.C (GetCellInset): store the last cell checked (gotten)
15565 * tabular.h: add the helper for the speedup
15567 * lyxtext.h: remove some dead code
15569 2001-06-26 The LyX Project <Asger>
15571 * paragraph.C: Change export to LaTeX of alignment to
15572 \begin{center} and family for better roundtrip work with reLyX.
15574 * Tune the math drawing a bit.
15576 2001-06-25 The LyX Project <Asger>
15578 * LColor.C (LColor): New color for math background. New color
15581 2001-06-25 The LyX Project <jug@sad.it>
15583 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15585 * lyxfunc.C (Open):
15586 * bufferlist.C (newFile): do not restrict to files ending with
15589 * BufferView_pimpl.C (MenuInsertLyXFile):
15591 2001-06-24 The LyX Project <jug@sad.it>
15593 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15596 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15598 * lyxtext.h: rename most methods to begin with a small char.
15599 Lots of changes because of this.
15601 * paragraph.C (Paragraph): do not call fitToSize
15602 (erase): call Pimpl::erase
15603 (insertChar): call Pimpl::insertChar
15604 (insertInset): call Pipl::insertInset
15605 (breakParagraph): do not call fitToSize
15606 (breakParagraphConservative): do not call fitToSize
15607 (fitToSize): remove method
15609 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15611 2001-06-24 The LyX Project <Asger>
15613 * Fix Qt compilation^2
15615 2001-06-24 The LyX Project <jug@sad.it>
15617 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15618 depthHook(getDepth()-1).
15621 * ParagraphParameters.h:
15622 * ParameterStruct.h: change type of depth to unsigned int ==
15623 depth_type. Many adaptations to other files before of that.
15625 2001-06-24 The LyX Project <Asger>
15627 * Fix Qt compilation.
15629 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15631 * paragraph.h: renamed several methods to begin with small letter.
15632 several changes to many parts of the code because of this.
15634 2001-06-23 The LyX Project <jug@sad.it>
15636 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15637 rewritten to discard all double spaces when KeepEmpty is off
15638 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15639 to only handle newlines but not fiddle with spaces and friends.
15641 * lyxfunc.C (MenuNew): when doing 'new from template', use
15642 template_path as default directory
15644 2001-06-23 The LyX Project <Asger>
15646 * Clean-up of header file includes all over
15647 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15649 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15651 * paragraph.h: renamed from lyxparagraph.h
15653 2001-06-23 Asger <lyx@violet.home.sad.it>
15655 * Buffer.h: Removed Buffer::resize
15656 * BufferList.h: Removed BufferList::resize
15657 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15658 the document lazily when we change the width, or the font settings.
15660 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15662 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15664 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15666 * buffer.h: remove out of date comment
15668 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15671 * screen.C: fix "theoretical" GC leak
15673 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15675 * LaTeX.C (scanAuxFile):
15676 (deplog): remove trailing \r when reading stream (useful under
15679 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15681 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15682 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15683 and BufferView::theLockingInset(Inset*), so should use them and not
15684 access bv_->text->the_locking_inset directly.
15686 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15688 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15691 * tex-defs.h: remove old unused file
15693 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15695 * BufferView_pimpl.C: fix typo, remove minibuffer message
15696 when buffer has loaded
15698 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15700 * lyxfunc.C (Dispatch): use stringstream
15701 (MenuNew): use stringstream
15702 (Open): use stringstream
15704 * importer.C (Import): use stringstream
15706 * bufferview_funcs.C (CurrentState): use stringstream
15708 * LaTeX.C (run): use stringstream
15710 * BufferView_pimpl.C (savePosition): use stringstream
15711 (restorePosition): use stringstream
15712 (MenuInsertLyXFile): use stringstream
15714 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15727 * vspace.C: removed // -*- C++ -*- as first line.
15730 * version.h: added // -*- C++ -*- as first line.
15732 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15736 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15739 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15741 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15744 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15746 * gettext.C: include LString.h even when --disable-nls is on.
15748 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15750 * converter.h (Get): changed argument type from int to
15751 FormatList::size_type to avoid unnecessary conversion.
15753 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15756 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15758 * gettext.h: include LString.h even when --disable-nls is on.
15760 2001-06-07 Juergen Vigna <jug@sad.it>
15762 * text.C (BreakAgain): subst spaces with tabs.
15764 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15765 (resizeInsetsLyXText): set force on resizeLyXText.
15767 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15769 * gettext.h (gettext_init):
15770 (locale_init): use a real definition instead of a macro
15772 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15774 * Bufferview_pimpl.C:
15776 * LColor.C: further lcolor tidies
15778 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15780 * BufferView_pimpl.C (updateScrollbar): simplify.
15782 * BufferView2.C: don't include insets/insetinfo.h, change
15783 prototype for insertInset and call the Pimpl version. let
15784 updateInset call Pimpl version.
15786 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15787 gotoInset to BufferView::Pimpl
15789 2001-06-01 Juergen Vigna <jug@sad.it>
15791 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15792 inside a LockingInset (is the update needed at all?).
15794 2001-05-31 Juergen Vigna <jug@sad.it>
15796 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15797 here not the old one otherwise how should we compare it afterwards
15800 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15805 * FontInfo.C: bring C functions into global namespace when
15808 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15810 * LString.h: make sure config.h has been loaded before LString.h.
15812 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15813 (one for each char read by EatLine!).
15815 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15818 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15820 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15821 to the same as the par we break from
15823 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15825 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15827 * MenuBackend.C (expand): also create menu entries for wide
15828 versions of the floats.
15830 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15832 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15834 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15835 frontends/Makefile.am
15841 * tabular.C (getTokenValue): add std::
15843 * tabular-old.C (getTokenValue): add std::
15844 (getTokenValue): ditto
15845 (getTokenValue): ditto
15847 * screen.C (ToggleSelection): adjust
15849 * lyxtext.h: put selection cursors inside a Selection struct.
15851 * lyxfunc.C (moveCursorUpdate): adjust
15853 * lyxfont.C (latexWriteStartChanges): add std::
15855 * lyxfind.C: adjust
15857 * font.h: delete with(char const *, LyXFont const &)
15859 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15861 * FontInfo.C (getFontname): add std::
15863 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15864 (workAreaButtonPress): adjust
15865 (tripleClick): adjust
15867 (moveCursorUpdate): adjust
15870 * BufferView2.C (gotoInset): adjust
15872 2001-05-30 Juergen Vigna <jug@sad.it>
15874 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15875 to check pspell I add this as default as I now have new pspell
15876 libraries and they seem to use this.
15878 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15880 * text2.C (CutSelection): make the cursor valid before the call to
15883 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15885 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15886 relied on 0 terminated strings and other horrors. Bug found due to
15887 the new assert in lyxstring!
15889 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15892 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15894 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15897 * lyxfunc.C (processKeySym): change method of getting to the
15900 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15901 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15902 * BufferView_pimpl.[Ch]: here as private methods.
15904 2001-05-28 Juergen Vigna <jug@sad.it>
15906 * text.C (SetHeightOfRow): added the update() call again as it is
15907 needed to initialize inset dimensions!
15909 2001-05-16 Juergen Vigna <jug@sad.it>
15911 * text2.C (SetCharFont): Add new function with BufferView * and
15912 bool toggleall parameters for setting insets internal fonts.
15913 (SetFont): Freeze the undo as we may change fonts in Insets and
15914 all this change should be inside only one Undo!
15916 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15917 setting font's in insets as for them we have the SetFont function!
15919 2001-05-15 Juergen Vigna <jug@sad.it>
15921 * text2.C (ClearSelection): to be sure we REALLY don't have any
15924 * tabular.C (TeXCellPreamble): fixed the left border problem for
15927 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15929 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15932 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15934 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15935 LFUN_BREAKPARAGRAPH.
15937 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15938 help test to "internal only", similar for LFUN_INSERT_URL
15940 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15941 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15942 auto_region_delete and deadkeys.
15944 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15947 * LColor.C: remove some dead entries, tidy a little
15949 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15951 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15953 (Dispatch): implement LFUN_ESCAPE
15955 * commandtags.h: add LFUN_ESCAPE
15957 * LyXAction.C (init): add entry for LFUN_ESCAPE
15959 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15960 Remove commented code.
15961 (insertNote): moved here
15962 (open_new_inset): moved here
15964 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15967 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15969 * kbmap.C (findbinding): clean it up and make it work correctly.
15971 * lyx_main.C (init): do not pass argc and argv as parameters
15973 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15975 * buffer.C: fix path for OS/2 & Win32
15979 * lyx_main.C: Added os:: class.
15981 * os2_defines.h: update
15983 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15985 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15986 better by trying again with reduced state.
15988 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15990 * lyxrc.C (read): print error about invalid key sequence only when
15991 debugging (because not all latinX keysyms are known to some X
15994 * kbsequence.C (getiso): add a few std:: qualifiers
15995 (getiso): comment out extra return statement.
15997 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15999 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16001 (Dispatch): enhance the accent inset a bit. (not perfect)
16003 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16007 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16009 * bufferlist.C (emergencyWrite): fix assert() call
16011 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16013 * text.C (InsertChar): Added trivial patch to only send the "you
16014 can not do multiple spaces this way" message once during a
16017 2001-05-08 Baruch Even <baruch@lyx.org>
16019 * Makefile.am: Changed order of libraries to get LyX to link properly
16020 with the gnome frontend.
16022 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16024 * LaTeXFeatures.h: add a std:: qualifier
16026 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16028 * paragraph.C (String): use stringstream
16030 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16032 * paragraph.C (writeFile): remove footflag arg
16034 * buffer.C (makeLaTeXFile): use stringstream
16035 (latexParagraphs): remove footnot gurba
16037 * LaTeXFeatures.C (getPackages): use stringstream
16038 (getMacros): likewise
16039 (getTClassPreamble): likewise
16040 (getFloatDefinitions): new method
16042 * paragraph.C (writeFile): reindent
16045 * WorkArea.h: revert the xpos + etc changes.
16047 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16049 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16051 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16052 (pasteSelection): likewise
16053 * text2.C (CreateUndo): likewise
16055 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16057 * minibuffer.C (peek_event): temporarily reduce the functionality
16058 of the minibuffer (to allow args on lfuns)
16060 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16061 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16063 * buffer.C (readInset): add compability reading of old float
16064 lists, add reading of new style float list.
16065 (readInset): avoid reevaluation of inscmd.getCmdName()
16066 (getLists): reindent
16068 * MenuBackend.C (MenuItem): implement parsing of
16069 md_floatlistinsert and md_floatinsert.
16070 (expand::LastFiles): move initalizaton of iterators out of loop,
16071 avoid reevaluation.
16072 (expand::Documents): introduce typdedef vector<string> Strings,
16074 (expand::ExportFormats): introduce typedef vector<Format const *>
16075 Formats, and use it.
16076 (expand): implement FloatListInsert and FloatInsert.
16078 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16079 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16080 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16082 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16084 (Dispatch::LFUN_FLOAT_LIST): implement
16086 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16088 * LaTeX.C (run): Fix problem with --export code.
16090 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16092 * BufferView.[Ch] (workarea): removed.
16093 (getClipboard) new method; wrapper for workarea()->getClipboard()
16095 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16098 * WorkArea.h (width, height, xpos, ypos): These methods all
16099 returned the dimensions of the work_area sub-area of WorkArea,
16100 resulting in a position error if the WorkArea were resized. Now
16101 return the dimensions of the entire WorkArea.
16103 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16105 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16107 * LaTeX.C (deplog): correct the syntax of regex reg1
16109 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16111 * undo.C: remove !NEW_INSETS cruft
16113 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16115 * text2.C: remove !NEW_INSETS cruft
16117 * text.C: remove !NEW_INSETS cruft
16119 * tabular.C: remove !NEW_INSETS cruft
16121 * spellchecker.C: remove !NEW_INSETS cruft
16123 * lyxtext.h: remove !NEW_INSETS cruft
16125 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16127 * lyxfunc.C: remove !NEW_INSETS cruft
16129 * lyxfind.C: remove !NEW_INSETS cruft
16131 * lyx_cb.C: remove !NEW_INSETS cruft
16133 * figureForm.C: remove !NEW_INSETS cruft
16135 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16137 * buffer.[Ch]: remove !NEW_INSETS cruft
16139 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16141 * CutAndPaste.C: remove !NEW_INSETS cruft
16143 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16145 * BufferView2.C: remove !NEW_INSETS cruft
16147 * BufferView.h: remove !NEW_INSETS cruft
16149 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16151 * Lsstream.h: include LString.h before the sstream headers to
16152 fix problem with gcc 2.95.3 and lyxstring
16154 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16156 * lyx_main.C: add using directives when needed for C functions
16157 declared in std:: namespace.
16159 2001-04-27 Juergen Vigna <jug@sad.it>
16161 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16162 (SetHeightOfRow): comment out the update call should not be needed!
16164 2001-04-13 Juergen Vigna <jug@sad.it>
16166 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16167 (LyXTabular): tried to minimize operator= operations (and realized
16168 hopfully Lars wish).
16170 2001-04-27 Juergen Vigna <jug@sad.it>
16172 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16174 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16176 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16178 * buffer.C (readInset): hack to make listof algorithm work
16180 * BufferView_pimpl.C: hack to make listof algorithm work
16182 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16184 * LyXAction.C: removed all !NEW_INSETS cruft
16185 (init): moved lfun_item in method
16187 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16189 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16191 * BufferView2.C (theLockingInset): white space.
16193 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16195 * minibuffer.C: include <iostream>
16197 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16199 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16201 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16203 * text.[Ch] (TransposeChars): new method
16205 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16207 * call message directly through LyXView instead of through LyXFunc
16208 * BufferView2.C: adjust
16209 * BufferView_pimpl.C: adjust
16210 * FontLoader.C: adjust
16212 * bufferview_funcs.C: adjust
16213 * converter.C: adjust
16214 * figureForm.C: adjust
16215 * importer.C: adjust
16217 * lyx_gui_misc.C: adjust
16218 * lyxfunc.C: adjust
16221 + more files in subdirs
16223 * lyxparagraph.h (size): move up int file
16226 * adjust all uses of Assert to lyx::Assert.
16228 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16229 lyxfunctional in namespace lyx
16230 * layout.C (hasLayout): ditto
16233 (delete_layout): ditto
16234 (NumberOfClass): ditto
16235 * converter.C (GetFormat): ditto
16240 * bufferlist.C (getFileNames): ditto
16241 (emergencyWriteAll): ditto
16244 * MenuBackend.C (hasSubmenu): ditto
16247 * BufferView_pimpl.C (getInsetByCode): ditto
16249 2001-04-18 Juergen Vigna <jug@sad.it>
16251 * vspace.C (asLatexString): fixed the 100% problem.
16253 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16255 * lyxfunc.C (Dispatch):
16257 * minibuffer.h: add a few std:: qualifiers
16259 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16261 * minibuffer.[Ch]: reimplement so that commands is initiated and
16262 run from lyxfunc, simplified som handling, and made the completion
16263 and history code for complete. wip.
16265 * lyxfunc.C (processKeySym): call message
16266 (miniDispatch): new temporary method
16267 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16268 (LFUN_MESSAGE): implement
16269 (LFUN_MESSAGE_PUSH): implement
16270 (LFUN_MESSAGE_POP): implement
16271 (initMiniBuffer): the initial/defualt minibuffer message.
16273 * lyxfont.[Ch]: inline some more getters
16275 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16277 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16279 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16280 (AutoSave): use LFUN_MESSAGE
16281 (Reconfigure): ditto
16283 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16285 * figureForm.C: use LFUN_MESSAGE
16287 * converter.C (runLaTeX): use LFUN_MESSAGE
16289 * bufferview_funcs.C: use LFUN_MESSAGE
16291 (changeDepth): ditto
16293 * bufferparams.h: use boost::
16295 * bufferlist.h: inherit privately from noncopyable
16297 * bufferlist.C (loadLyXFile): remove some commented code.
16299 * buffer.C (runChktex): use LFUN_MESSAGE
16301 * ShareContainer.h: inherit privately from noncopyable
16303 * ParagraphParameters.[hC] (depth): inline it.
16305 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16307 (message): new method
16308 (messagePush): ditto
16309 (messagePop): ditto
16310 (show): init minibuffer
16311 (showState): direct call
16313 * LaTeX.[Ch]: inherit privately from noncopyable
16314 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16315 instead of WriteStatus.
16317 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16319 * BufferView_pimpl.C (buffer): don't init minibuffer
16320 (workAreaButtonPress): use LFUN_MESSAGE
16321 (workAreaButtonRelease): ditto
16322 (savePosition): ditto
16323 (restorePosition): ditto
16324 (MenuInsertLyXFile): ditto
16325 (workAreaExpose): don't init minibuffer
16326 (update): remove commented code, simplify
16328 * BufferView2.C (openStuff): use LFUN_MESSAGE
16329 (toggleFloat): ditto
16332 (copyEnvironment): ditto
16333 (pasteEnvironment): ditto
16338 (updateInset): remove some commented code
16340 * lastfiles.h: inherit privately from noncopyable
16343 * lyx_main.h: ditto
16345 * lyxlex_pimpl.h: ditto
16347 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16348 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16349 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16351 * LyXAction.h: inherit privately from noncopyable, add methods
16352 func_begin, func_end, returning iterators to the func map.
16354 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16355 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16356 (func_begin): new method
16357 (func_end): new method
16359 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16361 (copySelection): ditto
16362 (pasteSelection): ditto
16364 * BufferView.C: whitespace change
16365 * BufferView.h: inherit privately from noncopyable
16367 2001-04-16 Allan Rae <rae@lyx.org>
16369 * tabular-old.C (l_getline):
16370 * spellchecker.C (sc_check_word):
16371 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16372 an unrecognised preprocessor directive. So ensure they're wrapped.
16374 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16376 * src/exporter.C (Export): Give an error message when path to file
16379 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16381 * LaTeX.C (deplog): Always check that foundfile exists.
16383 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16386 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16388 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16390 * tabular.[Ch] (getLabelList): implement new method
16392 * minibuffer.h: comment ouf setTiimer
16394 * minibuffer.C (ExecutingCB): constify res
16395 (peek_event): constify s
16396 (Set): constify ntext
16397 (Init): constify nicename
16399 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16401 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16402 (savePosition): use two params to Minibuffer::Set
16403 (restorePosition): ditto
16405 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16407 * lyx_main.C: include language.h
16409 * Makefile.am (lyx_main.o): add language.h
16411 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16417 * CutAndPaste.C: include gettext.h
16419 * lyxfont.h: remove old hack with ON and OFF.
16422 * lyxfont.h: do not include language.h...
16427 * bufferview_funcs.C:
16433 * paragraph.C: ... but do it here instead
16435 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16437 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16439 * tabular.C: small reformat
16441 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16444 (BreakParagraph): ditto
16445 (SetOnlyLayout): ditto
16448 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16451 * lastfiles.C: removed most using decl, add std:: where needed
16453 * buffer.C: ws changes
16455 * MenuBackend.C (class compare_format): put into anon namespace
16456 (expand): constify label, names, action, action2
16459 * text.C (SingleWidth): constify font
16460 (IsBoundary): constify rtl2
16461 (GetVisibleRow): constify ww
16463 * LaTeX.C (deplog): constify logfile
16465 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16467 (workAreaExpose): constify widthChange, heightChange
16469 * lyxrow.C (par): moved
16472 * lyxrow.h: as inlines here
16474 * lyxfont.h (shape): moved from lyxfont.C
16475 (emph): moved from lyxfont.C
16477 * lyxfont.C (LyXFont): use initialization list for all
16479 (shape): move to lyxfont.h as inline
16480 (emph): move to lyxfont.h as inline
16483 2001-04-04 Juergen Vigna <jug@sad.it>
16485 * vspace.C: had to include stdio.h for use of sscanf
16487 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16490 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16491 independent of xforms.
16493 2001-04-02 Juergen Vigna <jug@sad.it>
16495 * spellchecker.C: fixed namespace placing!
16497 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16499 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16500 the LyXParagraph * is 0.
16502 2001-03-29 Juergen Vigna <jug@sad.it>
16504 * vspace.C: added support for %, c%, p%, l%.
16505 (stringFromUnit): added helper function.
16506 (asLatexString): changed to give right results for the %-values.
16508 * buffer.C: convert the widthp in a width%.
16510 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16512 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16515 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16516 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16518 * lyx_cb.[Ch]: see above.
16520 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16524 * lyx.[Ch]: replaced by figure_form.[Ch].
16528 * lyxfunc.C: changed headers associated with above changes.
16530 2001-03-27 Juergen Vigna <jug@sad.it>
16532 * BufferView_pimpl.C: set the temporary cursor right!
16534 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16536 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16538 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16540 * LString.h: removed "using std::getline"!
16542 * BufferView_pimpl.C (Dispatch): changes due to changes in
16543 InsetInclude::Params.
16545 * buffer.C (tag_name): removed redundant break statements as they were
16546 producing lots of warnings with my compiler.
16548 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16550 * LString.h: add "using std::getline" when using the real <string>.
16552 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16554 * buffer.C: removed bitset usage.
16555 PAR_TAG moved to an anonymous name space.
16556 (tag_name): new funtion, also in the anonymous namespace.
16557 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16558 (makeDocBookFile): clean code. Completed transition from string arrays
16560 (SimpleDocBookOnePar): code clean.
16562 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16564 * tabular.C: add some comments.
16566 2001-03-22 Juergen Vigna <jug@sad.it>
16568 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16569 compatibility read a bit and fixed bug with minipage in different
16572 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16574 * buffer.C (pop_tag): removed.
16575 (push_tag): removed.
16576 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16577 array replaced with vector. Added support for CDATA sections.
16578 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16580 (makeDocBookFile): XML conformant declaration of CDATA section,
16581 fixed bug related to <emphasis> in the first paragraph char.
16582 (sgmlOpenTag): exclude empty tags.
16583 (sgmlCloseTag): ditto.
16585 * buffer.h (pop_tag): removed.
16586 (push_tag): removed.
16588 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16590 * language.h (Languages): added size_type and size().
16592 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16594 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16595 response on compability reading of minipages. One probliem is that
16596 the old usage of minipages was «flertydig»
16598 * several files here and in subdirs: don't use static at file
16599 scope use anon namespaces instead.
16601 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16603 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16604 LaTeX output. This is necessary for Literate document
16607 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16609 * buffer.C: insert hfill when needed.
16611 * tabular.C (l_getline): use string::erase, small whitespace change.
16613 * BufferView_pimpl.C: try the anon namespace.
16614 * WorkArea.C: ditto
16616 2001-03-16 Juergen Vigna <jug@sad.it>
16618 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16619 otherwise it won't open options-dialogs.
16621 * buffer.C: honor pextraWidth(p) on converting minipages.
16623 * tabular.C (l_getline): changed the functions to strip trailing \r.
16625 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16627 * BufferView_pimpl.C:
16628 * minibuffer..C: added "using SigC::slot" declaration.
16630 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16632 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16638 * paragraph.C: ditto
16640 * lyxtext.h: NO_PEXTRA
16642 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16644 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16645 * ParameterStruct.h: ditto
16646 * ParagraphParameters.h: ditto
16647 * lyxparagraph.h: ditto
16649 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16651 * buffer.C: add compability for minipage alignment.
16652 (latexParagraphs): remove unwanted pextra check.
16654 * several files: remove CXX_WORKING_NAMESPACES
16656 * buffer.C (pop_tag): tie is in namespace boost
16658 * BufferView.h: noncopyable is in namespace boost
16660 * lyx_main.h: ditto
16663 * lastfiles.h: ditto
16664 * bufferlist.h: ditto
16665 * ShareContainer.h: ditto
16667 * LyXAction.h: ditto
16670 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16672 * Merging changes from BRANCH_MVC back into HEAD.
16674 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16676 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16678 * BufferView_pimpl.C: change from intl.C
16682 * Makefile.am: move combox.*
16688 * intl.C: remove dialog (covered by prefs)
16690 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16692 * lyxfunc.C (Dispatch): removed redundant break statement.
16694 2001-03-14 Juergen Vigna <jug@sad.it>
16696 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16698 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16700 * buffer.C: add hack to fix compability reading of minipages.
16702 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16704 * buffer.C (getLists): Cleanup.
16706 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16708 * lyxfont.C (update): don't honor toggleall on font size.
16710 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16714 * Makefile.am: moved to frontends/xforms/
16718 * BufferView_pimpl.C: changes for moved mathpanel
16720 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16722 * gettext.h: fix gettext_init() in --disable-nls
16724 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16726 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16728 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16731 * lyx.h: strip external form
16733 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16735 * BufferView_pimpl.C: add comment, destroySplash()
16737 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16739 * BufferView_pimpl.C:
16743 * lyxfunc.C: use re-worked insetinclude
16745 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16747 * buffer.C: add using std::stringstream.
16749 * lyx_cb.C: readd using std::ios.
16751 * buffer.C: add using std::map.
16753 * BufferView_pimpl.C: add using std::vector.
16755 * ShareContainer.h: add std:: to swap.
16757 * buffer.h: add some typedefs
16758 * buffer.C (getLists): use them
16759 (getLists): renamed from getTocList.
16760 add a counter for the different float types and use it in the
16762 (getLists): use the same counter for the NEW_INSETS and the "non"
16765 * lyx_cb.h: remove unused items, includes, using etc.
16767 * ShareContainer.h: remove some commented code, add more comments
16768 and "documentation".
16770 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16772 * buffer.C (getTocList): make the list also when NEW_INSETS is
16775 * buffer.h: remove TocType
16777 * buffer.C (getTocList): change to return a map<string,
16778 vector<TocItem> >, implement for dynamic number of list.
16780 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16781 * text2.C (PasteSelection): adjust
16782 * CutAndPaste.C (pasteSelection): adjust
16784 * FloatList.C (FloatList): update from the new_insets branch.
16785 * Floating.[Ch]: ditto
16786 * LaTeXFeatures.C: ditto
16788 * lyxlex_pimpl.C: ditto
16790 * paragraph.C (Last): remove when NEW_INSETS is defined.
16792 * other file: changes because of the above.
16794 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16796 * lyxparagraph.h: rename next to next_, previous to previous_,
16797 make them private for NEW_INSETS. Rename Next() to next(),
16798 Previous() to previous().
16800 * other files: changes because of the above.
16802 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16805 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16808 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16810 * main.C (main): pass lyx_localedir to gettext_init().
16812 * gettext.h: remove locale_init and gettext_init macros
16814 * gettext.C (locale_init): new function
16815 (gettext_init): new function
16817 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16820 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16822 * Moved credits to frontends:
16823 * credits.[Ch]: removed
16824 * credits_form.[Ch]: removed
16825 * lyx_gui_misc.C: remove credits stuff
16828 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16830 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16832 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16833 unneeded destructor.
16835 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16836 a standalone pointer again.
16838 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16840 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16846 * ToolbarDefaults.C:
16855 * BufferView_pimpl.C: use new file dialog in GUII
16858 * lyx_cb.C: remove LayoutsCB to Toolbar
16860 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16862 * ShareContainer.h (get): add std:: qualifier
16864 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16866 * ShareContainer.h: define a proper ShareContainer::value_type
16867 type (and use typename to please compaq cxx)
16869 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16871 * lyxparagraph.h: move serveral local vars to
16872 ParameterStruct/ParagraphParameters., use ShareContainer in
16873 FontTable., make vars in FontTable private and add getter and
16876 * paragraph.C: changes because of the above.
16878 * lyxfont.h: remove copy constructor and copy assignment. (the
16879 default ones is ok), move number inside FontBits. move inlines to
16882 * lyxfont.C: add number to initializaton of statics, move several
16883 inlines here. constify several local vars. some whitespace
16884 cleanup. Dont hide outerscope variables.
16886 * Spacing.h: add two new constructors to match the set methods.
16888 * ShareContainer.h: new file, will perhaps be moved to support
16890 * ParameterStruct.h: new file
16892 * ParagraphParameters.h: new file
16894 * ParagraphParameters.C: new file
16896 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16897 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16899 * BufferView_pimpl.C: ParagraphParameter changes.
16900 * buffer.C: Likewise.
16901 * bufferview_funcs.C: Likewise.
16902 * text.C: Likewise.
16903 * text2.C: Likewise.
16905 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16907 * lyxfind.C (LyXReplace): do not redefine default argument in
16909 (IsStringInText): ditto
16910 (SearchForward): ditto
16911 (SearchBackward): ditto
16913 2001-03-06 Juergen Vigna <jug@sad.it>
16915 * lyxfind.C (IsStringInText): put parentes around expressions.
16917 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16919 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16921 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16923 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16925 * stl_string_fwd.h: add comment
16927 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16930 * tabular.C: remove unused DocBook methods
16936 killed DO_USE_DEFAULT_LANGUAGE
16938 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16940 * lyx_gui.C: do not include language.h.
16942 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16943 arguments in function implementation.
16945 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16947 * BufferView_pimpl.C: add <ctime>
16949 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16951 * BufferView_pimpl.C: add using std::find_if
16953 2001-02-27 José Matos <jamatos@fep.up.pt>
16955 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16958 2001-02-11 José Matos <jamatos@fep.up.pt>
16960 * buffer.C (makeDocBookFile): command styles now have a parameter as
16961 "title" by default.
16963 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16965 * layout_forms.[Ch]: removed
16966 * lyx_cb.[Ch]: out character
16967 * lyx_gui.C: out character
16968 * lyx_gui_misc.C: out character
16969 * bufferview_funcs.C: : out character,
16970 added toggleall as parameter in ToggleAndShow
16972 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16974 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16976 * text2.C (SetCurrentFont): Disable number property at boundary.
16978 2001-02-26 Juergen Vigna <jug@sad.it>
16980 * lyxfunc.C (getStatus): added a string argument override function so
16981 that this is correctly called from LyXFunc::Dispatch if it contains a
16982 do_not_use_argument which is used!
16983 (Dispatch): added check for "custom" export and call appropriate func.
16985 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16987 * lyxrc.C: Add language_command_local, language_use_babel and
16988 language_global_options.
16990 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16992 * buffer.C (makeLaTeXFile): Use language_use_babel and
16993 language_global_options.
16995 2001-02-23 Juergen Vigna <jug@sad.it>
16997 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16998 which works with LyXText and putted it inside BufferView. Here now we
16999 only call for that part the BufferView::Dispatch() function.
17001 * BufferView.C (Dispatch): added.
17003 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17004 functions which needs to use a LyXText over from LyXFunc.
17005 (MenuInsertLyXFile): added
17006 (getInsetByCode): added
17007 (moveCursorUpdate): added
17008 (static TEXT): added
17010 2001-02-22 Juergen Vigna <jug@sad.it>
17012 * BufferView_pimpl.C (update): call a status update to see if LyXText
17015 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17017 * vc-backend.C (revert): implement for CVS
17018 (getLog): implement for CVS
17020 2001-02-20 Juergen Vigna <jug@sad.it>
17022 * text2.C (ClearSelection): added BufferView param for inset_owner call
17024 * lyxfunc.C (TEXT): added this function and use it instead of
17025 directly owner->view()-text of getLyXText().
17027 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17029 * src/layout_forms.C: out preamble
17030 * src/layout_forms.h: out preamble
17031 * src/lyx_cb.C: out preamble
17032 * src/lyx_cb.h: out preamble
17033 * src/lyx_gui.C: out preamble
17034 * src/lyx_gui_misc.C: out preamble
17035 * src/lyxfunc.C: connect with guii preamble
17037 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17039 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17041 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17043 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17044 whether to run bibtex.
17046 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17048 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17050 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17052 * Makefile.am (lyx_SOURCES): removed bibforms.h
17054 * vspace.h: doxygen
17056 * text.C (GetVisibleRow): make several local vars const
17058 * tabular.C: small cleanup.
17060 * lyxserver.C (callback): use compare instead of strncmp
17062 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17063 inlines to after class or to paragraph.C
17065 * lyxfont.h: remove friend operator!=
17067 * converter.h: move friend bool operator< to non friend and after
17070 * combox.h: small cleanup
17072 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17073 to inlines after class def.
17075 * buffer.C (pop_tag): use string operations instead of strcmp
17077 * bmtable.c: doxygen, small cleanup
17079 * LaTeX.h: remove friend operator==
17081 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17093 * BufferView_pimpl.C:
17094 * BufferView.[Ch]: remove cruft
17096 2001-02-14 Juergen Vigna <jug@sad.it>
17098 * lyxfunc.C: removed #if 0 unused code
17100 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17102 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17104 * text2.C (SetSelection): added a BufferView * parameter
17106 2001-02-13 Juergen Vigna <jug@sad.it>
17108 * lyxfunc.C (Dispatch): fixed protected blank problem.
17109 * BufferView2.C (protectedBlank): added LyxText * parameter.
17111 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17112 (AppendColumn): same as above for column_info.
17114 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17115 (moveCursorUpdate): use a LyXText param for support of InsetText.
17117 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17118 (tripleClick): ditto
17120 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17122 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17124 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17126 * text2.C (SetSelection): set correct update status if inset_owner
17127 (ToggleFree): ditto
17129 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17131 * tabular.C: remove some commented code.
17133 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17135 * BufferView_pimpl.C: call hideSplash()
17137 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17140 * bibforms.h: remove
17143 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17144 add LFUN_CHILD_CREATE
17146 * counters.h: fix tiny typo
17151 * lyx.C: move splash to frontends/xforms/
17153 * lyx_gui_misc.C: move Include and Bibform to frontends
17155 * lyxvc.h: clarify comment
17157 * vspace.C: tiny housekeeping
17159 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17161 * text.C (PrepareToPrint): RTL Fix.
17163 * paragraph.C (GetUChar): New method.
17164 (String): Use GetUChar.
17166 * buffer.C (asciiParagraph): Use GetUChar.
17168 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17170 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17172 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17175 * buffer.C: rename to getLogName(), handle
17176 build log / latex log nicely
17178 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17181 * MenuBackend.h: remove support for reference menuitem type.
17183 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17185 * BufferView_pimpl.C: housekeeping
17186 * BufferView_pimpl.h:
17191 * minibuffer.h: move Timeout GUI-I
17193 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17195 * lyxrc.C (read): Update converters data-structures.
17197 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17199 * LaTeX.h (operator!=): add operator != for Aux_Info
17201 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17203 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17205 * LaTeXLog.C: deleted, useful code moved to Buffer
17208 * buffer.C: new function getLatexLogName()
17214 * lyxfunc.C: use frontends for LaTeX and VC logs
17216 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17218 * LaTeX.h: yet another std:: that Allan forgot.
17220 * Variables.C (set): renamed from isset(), because this clashes
17221 with some HP-UX macros (grr).
17223 2001-02-06 Allan Rae <rae@lyx.org>
17225 * LaTeX.h: Another bug fix. Missing std:: this time.
17227 2001-02-04 Allan Rae <rae@lyx.org>
17229 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17230 floats problem. I've left it commented out because it's not quite
17231 correct. It should also test that the current object is a table or
17232 figure inset. But I haven't gotten around to figuring out how to do
17233 that. I *think* it'll be something like: "table" == inset.type()
17235 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17238 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17240 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17241 all the citation/databases/styles in the auxilary file.
17242 (run): Rerun latex if there was a babel language error.
17244 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17246 * text.C (Backspace): Preserve the font when changing newline char
17248 (BreakParagraph): If the cursor is before a space, delete the space.
17250 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17252 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17254 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17255 new argument (code).
17256 (ChangeCitationsIfUnique): New method.
17258 * paragraph.C (GetPositionOfInset): Handle bibkey.
17260 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17262 * BufferView_pimpl.h: change type of Position::par_pos to
17263 LyXParagraph::size_type.
17265 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17267 * BufferView_pimpl.C (savePosition, restorePosition): Write
17268 messages to minibuffer.
17270 2001-01-28 José Matos <jamatos@fep.up.pt>
17272 * buffer.C (makeDocBookFile): adds support for document language.
17273 A silly restriction on the name of LatexCommand types where removed.
17274 Added support for CDATA sections, allows to chars unescaped, used
17275 among others in code, to avoid escape < and >.
17277 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17279 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17280 saved positions instrad of a stack. Furthermore, a position is
17281 stored using paragraph id/paragraph position.
17283 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17284 Remove LFUN_REF_BACK.
17286 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17288 * converter.C (dvipdfm_options): New method.
17290 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17292 * vspace.C (isValidLength): Fix for empty input string.
17294 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17296 * LyXAction.C (init): change description of LFUN_FIGURE to
17299 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17301 * LaTeX.C: add using directive
17303 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17305 * MenuBackend.C (expand): Fix the sorting of the formats.
17307 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17309 * lyx_main.C: tiny error message fix
17311 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17313 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17314 calling fl_initialize(). This fixes the problem with ',' as
17315 decimal separator in text files.
17317 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17319 * trans.C (process): Fix the keymap bug.
17321 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17323 * LaTeX.C (scanAuxFiles): New method. Provides support for
17324 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17325 (scanLogFile) Scan for "run BibTeX" messages.
17327 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17328 OT1 font encoding. Also, load the aecompl package if the ae
17331 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17333 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17335 * texrow.C (increasePos): turn two error messages into debug
17338 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17340 * LaTeX.C (scanAux): Handle the \@input macro.
17341 (runBibTeX): Use scanAux().
17343 * language.C (latex_options_): New field.
17345 * LaTeXFeatures.C (getMacros): Add language macros.
17347 * buffer.C (makeLaTeXFile): Small fix.
17349 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17351 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17353 * text2.C: add a using directive.
17355 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17360 * lyxfunc.C: kill LyXBell.
17362 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17364 * text.C (IsBoundary): Remove the error message
17366 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17368 * lyxrc.C (setDefaults): Correct initialization value for
17371 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17373 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17376 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17377 and GotoNextNote().
17379 * src/LyXAction.C: Added reference-next.
17381 * text.C (InsertChar): Use contains instead of strchr.
17383 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17385 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17387 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17388 alignment commands (when needed).
17390 * text.C (InsertChar): Add ':' to number separator chars.