1 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
4 output of \item arguments without trailing text.
6 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * FontIterator.C (operator*): avoid a copy of the font.
10 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
12 * rowpainter.C (getFont): fix language bug from previous fix
14 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
16 * rowpainter.C (RowPainter, getFont): fix font inside inset
19 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
21 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
22 preventing inserted font, deco, delim insets jumping to start of
25 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * lyxfunc.C (dispatch): translate message before sending it to the
30 2005-03-29 Angus Leeming <leeming@lyx.org>
32 * lyx_main.C (priv_exec): call os::internal_path on each file passed
33 to LyX on the command line.
35 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
37 * vc-backend.C: use QuoteName to protect file names wherever
40 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
43 * BranchList.h: fix bugs 1844,1845: document settings don't
46 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * lyxrc.C (setDefaults, read, output, getDescription): add support
49 for tex_allows_spaces.
51 * exporter.C (Export): allows files in directory containing spaces
52 if tex_allows_spaces is true.
54 * buffer.C (makeLaTeXFile): if the document path contains spaces,
55 output it in double quotes.
57 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
59 * rowpainter.C: use default text height for drawing change tracker
62 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
64 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
66 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
71 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
73 * text2.C: fixed the fix, extended to other case.
75 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
77 * text2.C: fix for cursor up/down stuck in math [bug 1792]
79 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
81 * text2.C (cursorUp): get rid of a crash
82 * text.C (x2pos): add an assert
84 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * lyxfunc.C (getStatus): fix warning when assertions are disabled
90 * dociterator.C: include <boost/current_function.hpp>, which is
91 needed when assertions are disabled.
93 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
95 * text2.C: fix for stuck cursor when traversing two
96 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
98 2005-02-25 Andreas Vox <avox@arcor.de>
100 * output_docbook.C (makeParagraph): suppress trailing newline
101 after a run of paragraphs
103 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
105 * paragraph.C: fix for confused change tracker when pasting
106 text that begins with a lineseparator. [bug 1827]
107 (setChange(0, Change::INSERTED);)
109 * paragraph_funcs.C: fix for lost changes on triple-paste
110 in change tracking mode [bug 1827] (par.setChange()).
112 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * text2.C (updateCounters, setCounter, expandLabel): move to
117 * buffer_funcs.C (updateCounters): turn into a free standing
118 function and add a buffer parameter. Remove dead code for tracking
120 (setCounter): change into a free-standing function which gets a
121 dociterator as argument. Use this iterator to fix captions in a
122 simple way. When no float is found above the caption, use the
123 labelstring of the caption layout as default.
125 * text.C (breakParagraph, backspace):
126 * text2.C (init, setLayout, changeDepth):
127 * text3.C (dispatch):
128 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
131 * dociterator.C (forwardPar): make it much faster by calling
132 forwardPos() only when really necessary.
134 * output_docbook.C (makeCommand): adapt to expandLabel move.
136 * cursor.C: remove unused variable
138 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
140 * paragraph_funcs.C: fix crash when pasting insets in change
141 tracking mode [bug 1277] (honour change type in moveItem).
143 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
145 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
147 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * BufferView.C (setCursor): change to use a DocIterator.
150 (gotoLabel): use BufferView::setCursor (other part of bug 781).
151 (putSelectionAt): adapt to BufferView::setCursor change.
153 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
154 moved here from LyXText and rewritten to use proper cursor
155 methods. Fixes bug 1787, 616 and 835.
157 * BufferView_pimpl.C (restorePosition): set the cursor correctly
158 when inside an inset (part of bug 781).
159 (dispatch): adapt to change of BufferView::setCursor.
160 (getStatus, dispatch): handle LFUN_GOTOERROR,
161 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
163 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
164 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
165 * text3.C (gotoNextInset, gotoInset): removed.
167 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
171 2005-02-15 Angus Leeming <leeming@lyx.org>
173 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
174 can be used meaningfully in a comparison.
176 2005-02-13 André Pönitz <poenitz@gmx.net>
178 * bufferview_funcs.C (coordOffset): improve cursor drawing
180 2005-02-13 André Pönitz <poenitz@gmx.net>
182 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
183 * Cursor.C (dispatch): use fixIfBroken
184 * lyxfunc.C (getStatus): use fixIfBroken
186 2005-02-15 Angus Leeming <leeming@lyx.org>
188 * lyx_main.C (error_handler):
190 * lyxrc.C (setDefaults):
192 #include "environment.h".
194 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
196 2005-02-15 Angus Leeming <leeming@lyx.org>
198 * lyxserver.C (startPipe): squash MSVC warning "local variable
199 'fd' used without having been initialized".
201 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
203 * BufferView_pimpl.C: revert accidental commit.
205 2005-02-14 André Pönitz <poenitz@gmx.net>
207 * dociterator.[Ch]: new member forwardPosNoDescent(),
208 which doesn't enter nested insets.
209 * text2.C (setFont): use forwardPosNoDescent() instead
210 of ForwardPos() (fixes crash on font change).
212 2005-02-13 Angus Leeming <leeming@lyx.org>
214 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
215 only if lyxrc.path_prefix is not empty.
217 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
219 * bufferparams.C (readGraphicsDriver): prevent crash
221 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
223 * text2.C (setCounter): check for inInset() == 0
225 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
228 but use update() to get correct screen display; use convert
229 instead of istringstream.
230 (getStatus): handle LFUN_GOTO_PARAGRAPH
232 * lyxfunc.C (dispatch, getStatus): do not handle
233 LFUN_GOTO_PARAGRAPH here.
235 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
237 * text3.C (dispatch): size() -> depth()
239 * text2.C: remove some debug output
241 * paragraph.C: ws changes only
243 * lyxfunc.C (getStatus): size() -> depth()
245 * dociterator.h (clear, push_back, pop_back, internalData,
246 operator[], resize, empty): new functions
247 Make StableDocIterator and operator== be friends. Don't inherit
248 from std::vector use a privat class variable slices_ instead.
251 * dociterator.C: update because of not inheriting from std::vector
252 anymore. Call explictly to slices_ instead. Use depth() instead of
253 size() and top() instead of back()
255 * cursor.C: chagne size() -> depth and back() -> top(). Also
256 remove some direct operator[](i) calls in favour of foo[i]
257 (getFont): remove some dead code
259 * bufferview_funcs.C (coordOffset): size() -> depth()
261 * buffer.C: ws changes only
263 * CutAndPaste.C (eraseSelection): back() -> top()
265 * BufferView_pimpl.C (selectionRequested): back() -> top()
267 * BufferView.C (setCursor): size() -> depth()
269 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
271 * text3.C (cursorPrevious): return true if depm changed something
273 (dispatch): rename sl to oldTopSlice, remove moving use the new
274 NoUpdate func attrib instead. Make sure that needsUpdate is set
275 for function that have NoUpdate, but where depm might have changed
278 * text2.C (cursorLeft): make us return true if depm changed
281 (cursorUpParagraph): ditto
282 (curosrDownParagraph): ditto
283 (cursorUp, cursorDown): ditto, make sure to read comments in code
284 (deleteEmptyParagraphMechanism): remove an assert, also return
285 true if just a single char was deleted.
287 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
288 cursor that we modify, to avoid modifying an active cursor before
289 we call setCursor. This allows depm to run. Also return true if
290 depm deleted something.
292 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
293 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
294 cursorDownParagraph, cursorPrevious and cursorNext, return true if
295 something was changed in the buffer because of them (ie. depm run)
297 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
298 debug messages. Make update by default be false. Make sure that
299 the result of update is retained throught several calls down to
302 * LyXAction.h: add a new func_attrib: NoUpdate
304 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
305 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
306 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
308 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
310 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
313 bv_->owner(), bv_->buffer() by direct references to the private
315 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
316 (getStatus): isSavedPosition() is in BufferView::Pimpl.
317 (fitCursor): center() is in BufferView::Pimpl.
318 (getStatus, trackChanges, dispatch): no need for a temporary buf
320 (fitCursor, workAreaDispatch): use workarea().workheight()
322 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
324 * CutAndPaste.C (pasteSelectionHelper): fix a crash
326 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
328 * buffer.C: format up to 241.
329 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
330 break if pasting into ERT
331 * lyxfunc.C (getStatus): suppress mathpanel and
332 LFUN_DIALOG_SHOW_NEW_INSET in ERT
334 2005-02-01 Angus Leeming <leeming@lyx.org>
336 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
338 2005-02-01 Angus Leeming <leeming@lyx.org>
340 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
341 calling fs::is_directory().
343 2005-01-31 Angus Leeming <leeming@lyx.org>
345 * lyx_main.C (priv_exec): specify explicitly the relative location
346 of the top level build directory when run in-place.
348 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
351 LyXText containing the cursor, not the top-level one.
353 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
355 (insertStringAsLines): rename par to pit; use temporary variable
356 par to hold a Paragraph; do not store par.layout() in a variable,
357 since the pointer may die when breaking paragraphs; pass pars to
358 breakParagraph() instead of Buffer::paragraphs().
360 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
362 * lyxlex_pimpl.h: #include <fstream>.
364 * BufferView.[Ch] (getLyXText): add a const version.
366 * BufferView_pimpl.C: add debug aids.
371 * paragraph_funcs.h: add commentary explaining what the class does.
374 * coordcache.[Ch]: add lots of commentary.
375 (startUpdating, doneUpdating): debug aids.
376 (arrays, insets, parPos, getParPos): accessors to private data.
378 * cursor_slice.[Ch] (text): add a const version.
379 * dociterator.[Ch] (text, innerText): add const versions.
381 * lyxtext.h (breakParagraph): change the keep_layout arg to a
384 * paragraph.C (getRow, pos2ros): add asserts.
386 * paragraph.h: add commentary. Lots of.
388 * paragraph.[Ch] (metrucs, draw): removed.
391 * rowpainter.[Ch]: const-correct changes.
393 * text.C: various obvious clean-ups. Removal of ancient cruft.
396 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
398 * vc-backend.C (find_file): rewrite to use boost.filesystem
401 * main.C (main): set default name check for boost.filesystem to
404 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
407 (actOnUpdatedPrefs): ditto
409 * lyx_main.C (init): rewrite to use boost.filesystem
410 (queryUserLyXDir): ditto
412 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
413 (getContentsOfAsciiFile): ditto
415 * lastfiles.C (readFile): rewrite to use boost.filesystem
417 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
419 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
422 * buffer.C (Buffer): adjust for destroydir
423 (getLogName): rewrite to use boost.filesystem
425 (save): use fs::copy_file (from fs_extras)
427 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
429 * LaTeX.C (run): rewrite to use boost.filesystem
430 (scanAuxFiles): ditto
431 (handleFoundFile): ditto
433 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
435 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
437 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
439 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
441 * lyxlayout.[Ch]: change some vars from float to double
443 * buffer.C (readFile): make a local var const
445 * Several files: use convert<> instead of atoi,strToXXX and friends
447 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
449 * LaTeXFeatures.[Ch]: Add a static list packages_ that
450 holds the contents of packages.lst. New functions getAvailable
451 and isAvailable to parse and check that list, resp.
455 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
457 * bufferparams.[Ch]: new param output_changes.
459 * Buffer.C: increase file format to 240.
460 Use output_changes and isVailable.
464 * paragraph_pimpl.C: Use output_changes and isVailable.
466 2005-01-23 Angus Leeming <leeming@lyx.org>
468 * output_latex.C: #include "insetbibitem.h", rather than
469 forward declare function bibitemWidest.
471 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
473 * lyx_main.C (init): make it compile on the Mac.
475 2005-01-20 Angus Leeming <leeming@lyx.org>
477 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
478 (setLyXMisc): (char string literal) != (char string literal) is
479 performing a comparison on the addresses. Convert one operand
480 explicitly to string to guarantee expected behaviour.
483 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
486 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
488 * output_plaintext.C: remove unneeded #include gzstream.h.
490 2005-01-20 Angus Leeming <leeming@lyx.org>
492 * SpellBase.h: rename some of the elements of the Result enum.
499 * pspell.C (check): ditto
501 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
503 * buffer.C: add #include <fstream>.
505 * lyx_main.C (init): Compile fix.
507 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
509 2005-01-20 Angus Leeming <leeming@lyx.org>
511 * mover.h: change commentary to reflect the changed meaning of
514 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * output_linuxdoc.C (linuxdocParagraphs): silence warning
518 * lyxfind.C (MatchString::operator()): remove bogus semicolon
520 2005-01-20 Angus Leeming <leeming@lyx.org>
522 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
523 printing diagnostic data by not dereferecing an iterator past the
526 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
528 * buffer.C (readHeader): use "&&" rather than "and".
530 * lyxserver.h (inPipeName, outPipeName): make these const.
532 2005-01-19 Angus Leeming <leeming@lyx.org>
534 * lyx_main.C (error_handler, init): protect SIGHUP with
535 #ifdef SIGHUP guards.
537 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
541 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
543 * text.C (setHeightOfRow): add a margin at the top and bottom of
544 the document (bug 1761)
546 2005-01-17 Angus Leeming <leeming@lyx.org>
548 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
549 with "python ". Workaround for a brain-dead Windows.
551 2005-01-16 Angus Leeming <leeming@lyx.org>
553 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
554 for MacOSX and Windows to use prependEnvPath.
555 Strip out the hard-coded block to add elements to the PATH for
556 MacOSX and replace it with a call to prependEnvPath using the
557 contents of LyXRC::path_prefix.
558 (queryUserLyXDir): strip out the code to run reconfigure, instead
559 returning a boolean indicating the necessity to do so.
560 (reconfigureUserLyXDir): contains the code to reconfigure the
561 user support directory. Is now called after the various LyXRC data
562 files have been read.
564 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
566 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
568 * converter.[Ch] (convert): take a new parameter try_default. Use
569 a default converter (imagemagick) if try_default is true.
571 2005-01-13 Angus Leeming <leeming@lyx.org>
573 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
575 (write): output LyXRC::cygwin_path_fix as necessary.
577 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
580 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
582 2005-01-12 Angus Leeming <leeming@lyx.org>
584 * lyx_main.C (init): set the PATH variable to include the
585 directory containing the LyX binary when running on Mac or Windows.
587 2005-01-12 Angus Leeming <leeming@lyx.org>
589 * lyx_main.C (init): remove cruft that purports to set the locale
590 dir. It doesn't and is not needed anyway.
592 2005-01-10 Angus Leeming <leeming@lyx.org>
594 * Makefile.am: remove the lyx_main.C special casing.
596 * BufferView_pimpl.C:
602 * messages.C: use support/package.h to provide the paths to the
603 various directories used by LyX.
605 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
607 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
608 layout if pasting into an empty paragraph)
610 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
612 * tex-accent.C: add <string>
614 2005-01-06 José Matos <jamatos@lyx.org>
616 * ParagraphParameters.C (write): put every parameter in its own line.
617 * paragraph.C (write): reduce number of consecutive empty lines exported.
618 * buffer.C (LYX_FORMAT): increase file format to 239.
620 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
622 * everywhere: change support/tostr.h -> support/convert.h
624 * tabular.C: make all write_attributes templates, tostr -> convert
626 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
627 (emptyTag): and -> &&, and fix type for ret from getChar
628 (getFirstWord): fix type for ret from getChar
629 (onlyText): and -> &&
630 (simpleDocBookOnePar): and not -> && !, fix type for ret from
633 * toc.C (goTo, action):
634 * text3.C (dispatch):
635 * text.C (currentState):
636 * tex-accent.C (DoAccent):
639 * lyxfunc.C (menuNew):
640 * lyxfinc.C (replace):
641 * counters.C (laberItem):
642 * bufferview_funcs.C (font2string):
643 * bufferparams.C (writeFile):
644 * buffer.C (readFile):
646 * MenuBackend.C: tostr -> convert
648 * LaTeX.C (runMessage): fix format
649 (scanAuxFiles): tostr -> convert
651 * BufferView_pimpl.C (savePosition): fix format
652 (restorePosition): ditto
655 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
657 * Spacing.[Ch]: New method getValueAsString().
661 * ParagraphParameters.C:
664 * text3.C: store/read spacing value as string.
666 * rowpainter.C: change float value (spacing_val) to double.
668 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
669 broken custom document spacing).
671 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
673 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
674 namespace, also more use of temp references and const
676 * cursor.[Ch] (getStatus): move to lyxfunc.C
678 * bufferparams.C: reformat slightly
680 * bufferview_funcs.C (font2string): constify arg
686 * buffer_funcs.C: (many funcs): constify arg on function
687 definitions, also make more local vars const, also add ASSERTS on
690 * buffer.C (LYX_FORMAT): put const in correct place
691 (many funcs): constify arg on function definitions, also make
692 more local vars const
694 * aspell_local.h: remove "struct" from typdef setup
696 * aspell.C (check): make word_ok const
697 (nextMiss): simplify slightly
700 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
702 * lyxrc.[Ch]: store all float values as strings.
703 use int (not float) for lyxrc.dpi.
705 2005-01-04 Angus Leeming <leeming@lyx.org>
707 * lyx_cb.C (Reconfigure):
708 * lyx_main.C (queryUserLyXDir):
709 to run the <system_lyxdir>/configure correctly on Windows, prefix
710 the path to the script with "sh " when generating the string that
711 is passed to system().
713 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
715 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
717 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * lyxlength.C (asLatexString): get rid of setprecision
721 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * text2.C (setLayout): remove unused variable endpit.
724 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
726 * paragraph.C (onlyText): remove unused variable style.
728 * cursor.C (bruteFind): remove unused variables beg and end.
730 * Makefile.am (dist_noinset_DATA): not needed anymore
732 * cheaders/*: remove.
734 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
736 * text3.C: fix LFUN_MATH_MODE.
738 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
740 * buffer_funcs.C (countWords): new function. Counts words between
743 * BufferView_pimpl.C (getStatus, dispatch): handle
746 * LyXAction.C (init):
747 * lfuns.h: add LFUN_WORDS_COUNT.
749 2004-12-19 Angus Leeming <leeming@lyx.org>
751 * buffer.C (save): s/slashify_path/internal_path/.
753 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
755 * lyxfind.C (findChange): do not search for end of pars, because
756 the change tracker cannot handle this (fixes bug 1719).
758 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
760 * paragraph.[Ch] (autoBreakRows): remove
762 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
764 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
765 avoid using the paragraph one
767 * text2.C (LyXText, insertStringAsLines): adjust
769 2004-12-16 Angus Leeming <leeming@lyx.org>
773 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
775 2004-12-14 Angus Leeming <leeming@lyx.org>
777 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
779 * bufferlist.C (emergencyWrite):
780 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
783 2004-12-14 Angus Leeming <leeming@lyx.org>
785 * main.C: (main): no longer pass pointers to os::init.
787 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
789 * undo.C (textUndoOrRedo): simplify logic, fix a crash
790 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
792 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
795 * text3.C: remove selection_possible global flag
797 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
799 * text2.C (getSelectionSpan): remove
800 (changeDepth, changeDepthAllowed): adjust
802 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
804 * Makefile.am (BOOST_LIBS): use boost variables
806 2004-12-03 José Matos <jamatos@lyx.org>
808 * buffer.C: format up to 238.
810 2004-12-03 José Matos <jamatos@lyx.org>
812 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
814 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
816 * cursor.C (goUpDown): remove call to idxUpDown2
818 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
820 * tabular.[Ch]: use size_t-like types for cell, row and column
823 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
825 * lyxfunc.C (getStatus): do not lose previous information when
826 calling BufferView::getStatus; do not set a default "Command
827 disabled" message at the beginning, but just before returning.
829 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
831 * cursor.h (getStatus): add better comment from src/cursor.C
833 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * text3.C (getStatus): return false when the lfun is not handled
837 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
839 * broken_headers.h: remove
841 * Makefile.am (lyx_SOURCES): remove broken_headers.h
843 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
845 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
848 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
849 top_y_, merge fitcursor with update
850 (updateScrollbar, scrollDocView, fitCursor, center, update): new
853 (workAreaDispatch): adapt to new coord scheme
854 (redoCurrentBuffer): remove
856 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
858 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
861 * coordcache.[Ch]: add paragraph cache and helpers
863 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
866 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
867 (targetX, setTargetX): introduce
869 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
870 baseline -> ascent, as the rest of lyx
872 * lyxtext.h: remove redoParagraphs, updateParPositions,
873 fullRebreak, redoParagraphInternal. move dist to anon namespace in
874 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
875 have ascent/descent (ascent is ascent of first par)
877 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
880 * paragraph.[Ch]: unify dimension handling with the rest of lyx
882 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
884 * pariterator.C: fix infinite loop introduced in par->pit renaming
886 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
887 in insets and LyXText, draw two off-screen paragraphs using
888 NullPainter, and adapt to new coord scheme
892 * text3.C: adapt lfun handlers to the new coord scheme, which
893 means: there's only guaranteed coord information for onscreen pars
894 plus one above and one below. This implies that one can do search
895 from y coordinates in the range [-1,workHeight]
897 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
899 * rename a lot of InsetOld to InsetBase
901 2004-11-25 Angus Leeming <leeming@lyx.org>
903 * BufferView_pimpl.C:
905 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
907 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
909 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
910 call BufferView::getStatus if LCursor::getStatus did nothing
911 (setStatusMessage, getStatusMessage): removed.
913 * FuncStatus.C (message): new methods. Used to provide an error
914 message indicating why a command is disabled.
915 (clear, |=, FuncStatus): update for message.
917 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
919 * lyxfunc.C (dispatch): always call sendDispatchMessage
921 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
924 * BufferView_pimpl.C:
938 * undo.C: par->pit renaming
940 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
942 * tabular.C (cellstruct): use initialization, store a shared_ptr
943 to insettext instead of the insettext directly, adjust to fit.
944 (operator=): new function
946 (rowstruct): use initialization
947 (columnstruct): use initialization
948 (ltType): use initialization
951 * lyxlength.h (swap): new function
953 * LColor.[Ch] (operator=): use the common semantics
955 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * lyxfind.C (findNextChange): update the bufferview after setting
960 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
963 number of InsetOptArgs has already been inserted.
965 * output_latex.C (latexOptArgInsets): new method. This outputs all
966 the optarg insets, up to the limit defined in the layout file.
967 (optArgInset): removed
968 (TeXOnePar): call latexOptArgInsets; correctly update texrow
970 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * paragraph.C (isLetter): remove special spellchecker-related
973 code; return true also for digits
974 (isWord, isKomma): remove
976 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
977 * lyxfind.C (MatchString()): use isLetter instead of isWord
979 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
981 * pariterator.h (operatir=): comment out un-implemented member
984 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
987 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
989 * lyxfont.h: include LColor.h to satisfy concept checks.
991 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
993 * pariterator.h: add typdefs for value_type, difference_type,
994 pointer and reference to satisfy concept checks. Also add default
995 constructor for same reason.
997 * pariterator.C (operator++): add post-increment operator to
998 satisfy concept checks.
1000 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1003 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1005 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1006 checks. Also rename base_type to BaseType to follow naming
1009 * FloatList.h: include Floating.h to satisfy concept checks.
1011 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1013 * lyxfunc.C (getStatus): when the origin of the request is menu or
1014 toolbar, and the LyXView does not have focus, do as if there was
1015 no buffer (bug 1720)
1017 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1018 FuncRequest to individual entries of LFUN_SEQUENCE
1020 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1022 * output_latex.C (TeXOnePar): override runparams.moving_arg
1023 according to the needprotect value of the current paragraph (bug
1026 * paragraph.C (simpleTeXOnePar): no need to override
1027 runparams.moving_args here
1029 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1031 * vspace.C: fix off-by-one-error, related to fix #1682
1033 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1035 * lengthcommon.C: a more general fix for bug 1682
1037 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1039 * text.C (backspace): fix crash
1041 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1043 * format.[Ch] (getFormatFromFile): new method
1044 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1046 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1048 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1050 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1052 * lyxfunc.C (dispatch): remove the verbose argument
1053 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1056 * kbmap.C (defkey): set the origin of func to KEYBOARD
1058 * MenuBackend.C (MenuItem):
1059 * ToolbarBackend.C (add): set the origin of func to UI
1061 * funcrequest.[Ch]: add origin member, which indicates which part
1062 of LyX requests an action
1064 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1066 * converter.C (move): don't lie in the error message
1067 * converter.h (isReachable, move): document
1069 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1071 * buffer.C: remove unused using lyx::support::atoi
1072 * paragraph_funcs.C: ditto
1074 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1076 * bufferlist.C (exists): use bind and equal_to instead of
1079 * lyxtextclasslist.C (NumberOfClass): ditto
1081 * cursor.C (insert): use for_each instead of explicit for loop
1083 * bufferlist.C (getFileNames): use std::transform and
1084 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1086 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1089 * buffer.C (changeLanguage): use for_each instead of explicit for
1091 (hasParWithID): implement using getParFromID
1093 * LaTeXFeatures.C: ws change only
1095 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1098 * BufferView_pimpl.C (trackChanges): use for_each instead of
1101 2004-11-04 André Pönitz <poenitz@gmx.net>
1104 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1106 * dociterator.C (asDocIterator): use hard assert again.
1108 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * lyxlength.C (asLatexString): rewrite so that it does not use
1113 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1115 * text3.C (specialChar, dispatch): make sure cursor moves to the
1116 right after inserting an inset
1118 2004-11-02 José Matos <jamatos@lyx.org>
1120 * output_docbook.C (docbook):
1121 * paragraph.C (getID):
1122 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1123 garantee that the output is always legal.
1125 * tabular.C (docbook):
1126 * outputprams.[Ch]: remove mixed contents.
1128 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1130 * text2.C (setCounter): prevent endless loop
1132 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1134 * exporter.C (copyFile): use the mover instead of support::copy()
1135 * exporter.C (Export): pass format and latex name to copyFile()
1136 * exporter.h (addExternalFile): document
1137 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1139 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1141 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1143 2004-10-30 José Matos <jamatos@lyx.org>
1145 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1146 text and no inset or font change. This allows to use CDATA
1147 sections just for the whole paragraph.
1149 2004-10-30 José Matos <jamatos@lyx.org>
1151 * paragraph.C (getFirstWord): remove unused variable.
1153 2004-10-30 José Matos <jamatos@lyx.org>
1155 * paragraph.C (getFirstWord): the content should always be escaped
1157 (simpleDocBookOnePar):
1158 * output_docbook.C (makeEnvironment): replace reference to CDATA
1161 2004-10-30 José Matos <jamatos@lyx.org>
1163 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1165 2004-10-30 José Matos <jamatos@lyx.org>
1167 * output_docbook.C (makeParagraphs):
1168 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1169 standard paragraph has only a given type of content drop the wrapper.
1171 2004-10-29 José Matos <jamatos@lyx.org>
1173 * output_docbook.C (makeEnvironment):
1175 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1177 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1179 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1180 (cleanID): sanitize any id.
1182 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1184 * buffer.C, lyxlex_pimpl.C:
1185 * lyxlex_pimpl.C (setFile):
1186 s/getExtFromContents/getFormatFromContents/
1188 2004-10-28 José Matos <jamatos@lyx.org>
1190 * output_docbook.C (makeEnvironment): move id to broadest possible
1193 * sgml.C (openTag): apply substitution of <> for all attributes.
1195 2004-10-28 José Matos <jamatos@lyx.org>
1197 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1198 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1199 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1201 * sgml.[Ch]: new version for open and closeTag for paragraph and
1202 for strings. Now they handle the ids of paragraphs.
1204 2004-10-26 Angus Leeming <leeming@lyx.org>
1206 * Makefile.am: add mover.[Ch].
1208 * converter.C (convert, move): use the new Movers to move external
1209 files to the temp directory.
1211 * lyx_main.C (init): ensure that the global system_movers data
1214 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1217 * mover.[Ch]: new files, defining a Mover as a utility to move an
1218 external file between directories and, if necessary, manipulate this
1219 file using a helper script.
1221 2004-10-25 José Matos <jamatos@lyx.org>
1223 * output_docbook.C (makeCommand): merge two if's that tested the
1226 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * sgml.C (escapeString): fix warning in a better way
1230 2004-10-25 José Matos <jamatos@lyx.org>
1232 * sgml.C (escapeString): import the require boosts header file for
1233 tie, and avoid a signed unsigned comparison.
1235 2004-10-25 José Matos <jamatos@lyx.org>
1237 * sgml.h: add #include <string>
1239 2004-10-25 José Matos <jamatos@lyx.org>
1241 * sgml.[Ch] (escapeString): new function to escape all the string.
1243 2004-10-24 José Matos <jamatos@lyx.org>
1245 * paragraph.[Ch] (getFirstWord): new function to get the first
1246 word. Useful for description.
1247 (simpleDocBookOnePar): remove depth argument, add another that
1248 says where to start the paragraph.
1250 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1251 use the new functions to fix cleanly the support for descriptions.
1253 2004-10-24 José Matos <jamatos@lyx.org>
1255 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1256 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1257 * output_linuxdoc.C (linuxdocParagraphs):
1258 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1259 add buffer as argument.
1261 2004-10-24 José Matos <jamatos@lyx.org>
1263 * output_docbook.C (makeEnvironment, searchEnvironment): place
1264 CDATA inside paragraphs and fix scope for listitems.
1266 2004-10-24 José Matos <jamatos@lyx.org>
1268 * output_docbook.C: remove using statement for stack.
1270 2004-10-23 José Matos <jamatos@lyx.org>
1272 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1273 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1274 docbook. The new scheme is recursive and makes use of iterators, the
1275 same as latex export works.
1276 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1277 directly with the paragraph contents. This code was moved up to
1278 output_docbook.C (docbookParagraphs).
1279 * sgml.C (openTag, closeTag): removed unneeded newlines.
1280 (closeEnvTags) removed.
1282 2004-10-23 André Pönitz <poenitz@gmx.net>
1284 * undo.C (textUndoOrRedo):
1285 * dociterator.C (asDocIterator): work around crash
1287 * cursor.C (getStatus): replace ASSERT by more verbose error message
1288 and manual correction of the problem. Should increase stability
1289 while providing more sensible information.
1291 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1295 * bufferlist.C (previous, next): new methods
1298 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1300 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1302 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1303 entities to preamble.
1305 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1307 * messages.C (Pimpl): strip off translation context information
1309 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1311 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1312 the cursor is correct (bug 1694)
1314 2004-10-13 José Matos <jamatos@lyx.org>
1316 * output_docbook.C (docbookParagraphs): fix closing tags in the
1317 end of the document.
1319 2004-10-09 José Matos <jamatos@lyx.org>
1321 * buffer.C: format up to 237.
1322 * bufferparams.C (write): use tostr to convert booleans to strings.
1324 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1326 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1328 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1330 * LaTeX.C: implement use of babel language in xindy.
1332 2004-10-05 José Matos <jamatos@lyx.org>
1334 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1335 Add new translators to help reading and writing the lyx file.
1337 2004-10-05 José Matos <jamatos@lyx.org>
1339 * ParagraphParameters.C (read):
1340 * text.C (readParToken): replace nexToken by more appropriate lex
1343 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1345 * LaTeX.C (runMakeIndex):
1346 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1347 (usually 'makeindex') configurable.
1349 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1350 with a variable rather than with a number.
1352 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 * output_latex.C (TeXOnePar): make sure font setting is the first
1355 thing that gets output (and the last at the end). Should fix bug
1358 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1360 * pch.h: use proper signal include
1362 * LaTeX.h: Use preferred calling of Boost.Signal
1365 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1367 * pch.h: dont include <boost/function/function0.hpp>
1369 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1371 * paragraph_pimpl.h: remove usage of ShareContainer
1373 * paragraph_pimpl.C: remove initialization of ShareContainer.
1375 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1379 * BufferView.C (putSelectionAt): change the semantics when
1380 backwards == true: now, this just swaps cursor and anchor wrt the
1383 * BufferView.h (putSelectionAt): add some documentation
1385 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1386 make sure backwardChar is done at least once (to avoid getting
1388 (findNextChange): use putSelectionAt in the forward direction
1389 (operator()): use Paragraph::isWord
1391 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1393 * Spacing.C (set): c_str fix
1395 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * lyx_cb.C (Reconfigure): quote the name of configure script in
1398 case it contains spaces
1400 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1404 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1405 (BOOST_LIBS): use top_buildir when looking for the file
1407 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1409 * pch.h: do not use include boost/format.hpp, multiple symbols
1410 will result (gcc bug)
1413 2004-08-23 José Matos <jamatos@lyx.org>
1415 * bufferparams.C (readToken): fix reading of the author field.
1417 2004-08-20 José Matos <jamatos@lyx.org>
1419 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1421 2004-08-20 José Matos <jamatos@lyx.org>
1423 * lyxlex.[Ch] (findToken): remove function.
1425 * ParagraphParameters.C (findToken):
1426 * bufferparams.C (findToken): replace call for previous function
1427 with local copy. This local function has one more argument, the
1428 read string argument.
1430 2004-08-16 José Matos <jamatos@lyx.org>
1432 * ParagraphParameters.C (write):
1433 * Spacing.C (writeFile):
1434 * bufferparams.C (writeLaTeX):
1435 * lyx_cb.C (Reconfigure):
1436 * paragraph.C (write):
1437 * tabular.C (write): remove unnecessary space at end of line.
1440 2004-08-16 José Matos <jamatos@lyx.org>
1442 * text.C (readParagraph): remove debug message.
1444 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1446 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1449 * output_plaintext.C (asciiParagraph): set depth correctly
1451 * outputparams.h: add member depth
1453 * paragraph_funcs.C (ownerPar): remove.
1455 * text2.C (setCounter): remove first_pit; comment out some
1456 non-working code that uses ownerPar
1458 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1461 2004-08-16 José Matos <jamatos@lyx.org>
1463 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1464 For the same level of importance use the same chanel to report problems.
1465 (read): add code to deal with \begin_body and \end_body.
1468 2004-08-15 José Matos <jamatos@lyx.org>
1470 * lyxlex.C (getString): fix comment, buffer::readBody is now
1471 buffer:readDocument.
1473 * tex-strings.C (string_papersize): Default -> default,
1474 Custom -> custom, for consistency with other options.
1476 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * Makefile.am: support pch
1482 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * text.C (readParToken): remove the static LyXFont variable and
1485 pass it as a parameter instead. This fixes a nasty bug where an
1486 inset will be inserted with a bad font in some situations
1487 (readParagraph): adapt
1489 * text2.C (setCounter): reduce number of calls to pars_[pit]
1491 * text.C (singleWidth): add an assert, fix a test
1493 * rowpainter.C (paintText): reduce number of calls to singleWidth
1495 * paragraph.C (isHfill):
1496 (isNewline): ws only
1498 2004-08-14 André Pönitz <poenitz@gmx.net>
1503 * lyxtext.h (several functions): use a Paragraph & argument
1506 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1510 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1512 * text.C (singleWidth): remove useless test
1514 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1516 * tabular.h: remove bogus comments
1518 * tabular.C (getDescentOfRow):
1519 (isPartOfMultiColumn): add assertions
1521 * lyxlength.C (inPixels): remove #warning
1523 2004-08-14 André Pönitz <poenitz@gmx.net>
1525 * paragraph.h: inline getChar()
1527 * BufferView.h: remove unused declarations
1529 2004-08-14 José Matos <jamatos@lyx.org>
1531 * Buffer.[Ch] (readDocument): new name for old readBody.
1532 * Buffer.C: new file format, new keywords: \begin_document,
1533 \begin_header, \begin_body, \end_body.
1535 * bufferparams.C (readToken): replace all calls to lex.nextToken
1536 by lex.next(). Do the same to eatLine except where really needed.
1538 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1539 line when writing to the lyx file.
1541 * output_plaintext.C (asciiParagraph): fix Bibliography style
1544 * text.C (read): fix end of file handling.
1546 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * MenuBackend.C (Menu::operator[]): new method to access
1549 individual menu items
1550 (Menu::hasFunc): new method. search for an item that corresponds
1552 (MenuBackend::specialMenu): new method
1553 (MenuBackend::expand): if a special menu has been set, skip
1554 entries whose func() appears in this menu
1556 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1558 * text3.C: use Debug::DEBUG a bit more
1560 * text.C (leftMargin): try to simplify a tiny bit change var x to
1561 l_margin. Dont output the wide margins always.
1562 (rightMargin): no margin in inner texts
1564 * rowpainter.h (nestMargin): new func
1565 (changebarMargin): new func
1566 (rightMargin): new func
1568 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1572 * factory.C (createInset): modify setDrawFrame
1574 * cursor.C: use Debug::DEBUG a bit more
1576 2004-08-14 André Pönitz <poenitz@gmx.net>
1579 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1580 cache for all insets in (at least partially) visible (top-level)
1583 * BufferView_pimpl.C: reset external coord cache before every update.
1584 This means the coord cache only contains valid entries.
1586 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1589 * BufferView_pimpl.C (getInsetByCode): move function out of class
1590 and change in to a template in anon namespace. Also fix to do what
1593 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1596 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1598 (breakParagraph): rename par to par_offset and use a local
1599 reference. Add code to keep the language over a rebreak.
1600 (breakParagraphConservative): rename par to par_offset, use a
1602 (mergeParagraph): ditto
1604 (isFirstInSequence): ditto
1605 (outerFont): rename pit to par_offset
1607 * paragraph.C: ws change
1608 * paragraph.h: ditto
1612 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1617 * paragraph.C (simpleTeXOnePar): when we have a \item with
1618 optional argument, enclose the argument with curly brackets (in
1619 case it contains a closing square bracket)
1623 * text3.C (checkInsetHit): constify
1625 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1628 documents (bug 1629)
1630 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1632 Fix toggling of collapsable insets with the mouse (bug 1558)
1634 * lyxfunc.C (dispatch): adapt to LCursor changes
1636 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1637 make sure that dispatch is not invoked twice
1639 * cursor.C (needsUpdate): new method
1640 (dispatch): return void
1641 (result): new method, to access the DispatchResult of the cursor.
1643 2004-08-13 José Matos <jamatos@lyx.org>
1645 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1647 2004-08-13 André Pönitz <poenitz@gmx.net>
1649 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1651 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1654 2004-08-12 André Pönitz <poenitz@gmx.net>
1656 * text3.C: take out the 'cursor right' form insertInset and only
1657 do it in those places when it is really needed. Fixes crash on
1660 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1662 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1664 * BufferView_pimpl.C (setBuffer): initialize the current font of
1665 the underlying LyXText
1667 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1669 * kbsequence.C (print): use UI native formatting for menu
1672 * text.C (insertChar): call Paragraph::insertChar with a font
1675 * paragraph.C (insertInset, insertChar): the version that takes a
1676 LyXFont argument is now a wrapper around the other one (the
1677 opposite used to be true).
1679 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1680 argument. Font setting is done in Paragraph now.
1682 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * outputparams.h: add new members intitle and lang.
1686 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1687 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1689 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1691 * text3.C (dispatch): remove special handling of button 4 and 5,
1692 it is now taken care of in the frontend code.
1694 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1696 * Spacing.h: add <string> (STLPort compile fix)
1698 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1700 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1702 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1704 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1707 * converter.C (showMessage): inherit from unary_function, make
1710 * buffer.C (writeFile): initialize retval
1712 * InsetList.h: rename private variable list to list_
1713 * InsetList.[Ch]: adjust accordingly.
1715 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1717 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1718 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1719 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1720 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1721 * ParagraphParameters.C, LaTeXFeatures.C: replace
1722 "support/std_sstream.h" with <sstream>
1724 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1726 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1727 * lyxsocket.C (LyXServerSocket): ditto
1728 (serverCallback): ditto
1730 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1732 * LaTeXFeatures.C: check release date when loading jurabib.
1734 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1736 * lyxserver.C (startPipe): call register_socket_callback
1737 (endPipe): call unregister_socket_callback
1739 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1741 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1742 (LyXServerSocket): register the callback
1743 (LyXServerSocket): unregister the callback
1744 (fd): delete function
1745 (serverCallback): improve error checking and setup the callbacks.
1746 (dataCallback): change arg to fd.
1747 (writeln): new func (copied fro the client socket) used for server
1749 (LyXDataSocket): simplify
1750 (~LyXDataSocket): close ann unregiser callback
1751 (server): delete function
1752 (fd): delete function
1753 (readln): small changes, improve some std::string usage
1754 (writeln): constify a bit
1756 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1758 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1761 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1764 after it has been populated
1766 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * text2.C (insertInset): move cursor when inserting inset.
1770 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1772 * kbmap.C (findbindings): a couple of new methods. returns a
1773 container of kb_sequence objects. The real work is done by the
1774 private recursive version
1775 (printbindings): uses findbindings to print out a bracketed list
1776 of bindings (renamed from findbinding).
1778 * MenuBackend.C (binding): use kb_keymap::findbindings
1780 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1782 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1784 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1786 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1788 * paragraph.C (isWord): return true on insets that report
1791 * text.C (getWord): use Paragraph::isWord to decide what is in a
1792 word and what is not; fix bug 1609.
1794 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1796 * tex-strings.C: add "none" to string_paperpackages[], fixes
1797 off-by-one-error in the paperpackage selection.
1800 * tex-strings.[Ch]: char const * string[n]
1801 -> char const * const string[]
1803 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1805 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1806 command, return early.
1808 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1810 * debug.h: add DEBUG to enum and fix size of ANY.
1812 * debug.C: add support for Debug::DEBUG
1813 (showTags): cast errorTags.level to unsigned int
1815 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1816 (redoCurrentBuffer): ditto
1817 (updateScrollbar): ditto
1818 * cursor.C (dispatch): ditto
1819 * text2.C (setLayout): ditto
1821 (updateCounters): ditto
1823 (deleteEmptyParagraphMechanism): ditto
1825 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1827 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1828 annotations to cleanup the Makefile slightly.
1830 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * lyxrc.C: do not set user_email to a default value but use empty
1833 instead. The entry used to be translated, which does not work
1834 since at the point where lyxrc is constructed there is no
1835 translation service available
1837 * messages.C (getLocaleDir): remove and use directly
1838 lyx_localedir() instead
1840 2004-06-02 Angus Leeming <leeming@lyx.org>
1842 Fix crash caused by dereferencing null pointer 'exportdata' in
1843 OutputParams by creating a new ExportData variable on the heap,
1844 storing it in a boost::shared_ptr.
1845 The crash was triggered when generating an Instant Preview
1846 of an external inset.
1848 * Makefile.am: add outputparams.C
1850 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1851 (c-tor): allocate memory to it.
1853 * exporter.C (c-tor): associated changes.
1855 2004-06-01 Angus Leeming <leeming@lyx.org>
1857 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1858 contains data before calling isInset(0). (Bug 1513.)
1860 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1862 * exporter.C (checkOverwrite): new method
1863 * exporter.C (copyFile): new method
1864 * exporter.C (Export): copy referenced files to the document dir
1865 * exporter.[Ch]: new class ExportedFile
1866 * exporter.[Ch]: new class ExportData. Contains currently the
1867 names of referenced external files
1868 * outputparams.h: add exportdata member.
1870 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1872 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1875 2004-05-19 Angus Leeming <leeming@lyx.org>
1880 * lyxfunc.C: small changes due to the introduction of namespace
1881 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1883 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1885 * text3.C (dispatch): supress update when only moving the cursor
1886 * cursor.C (selHandle): remove commented code
1888 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1890 * paragraph.C (startTeXParParams): correct column count
1891 * CutAndPaste.C (pasteSelection): remove const_cast
1892 * output_docbook.C (docbookParagraphs): remove const_cast
1893 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1894 const_cast and return ParagraphList::const_iterator
1895 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1896 * output_plaintext.C (writeFileAscii): remove const_cast
1897 * paragraph.[Ch] (simpleTeXOnePar): make const
1898 * paragraph_funcs.C (outerPar): use const iterators
1899 * paragraph_pimpl.C (validate): use const iterators
1900 * text.C (setHeightOfRow): use const iterators
1902 2004-05-17 Angus Leeming <leeming@lyx.org>
1905 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1907 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1908 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1909 if the citation engine has changed.
1911 2004-05-14 José Matos <jamatos@lyx.org>
1913 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1914 if the textclass does not provide it. Have it different for sgml and
1916 support the language of document.
1917 * output_docbook.C (docbookParagraphs):
1918 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1919 first anchor as the id of the paragraph, remove special case code.
1920 * sgml.C (escapeChar): escape only < & >.
1922 2004-05-14 Angus Leeming <leeming@lyx.org>
1924 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1925 dependencies on src/frontends/controllers/biblio.h. Define a
1926 CiteEngine_enum wrapper class to enable the enum to be forward
1929 2004-05-12 Angus Leeming <leeming@lyx.org>
1931 * buffer.C: up LYX_FORMAT to 234.
1932 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1933 use_numerical_citations with a single biblio::CiteEngine cite_engine
1935 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1937 2004-05-13 José Matos <jamatos@lyx.org>
1940 * converter.C (Converter, readFlags): add xml member.
1941 * outputparams.h: add XML flavor.
1942 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1944 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1946 * lyxfunc.C (dispatch):
1947 (getStatus): fix handling of LFUN_SEQUENCE
1949 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1951 * debug.C (showLevel): do not forget the end-of-line marker
1953 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * kbmap.C (read): do not stop parsing a bind file when an error
1958 2004-04-29 Angus Leeming <leeming@lyx.org>
1963 * text2.C: wrap a bunch of #warning statements
1964 inside #ifdef WITH_WARNINGS blocks.
1966 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1968 * buffer.C: increment format to 233.
1970 2004-04-28 Angus Leeming <leeming@lyx.org>
1972 * BufferView_pimpl.C:
1975 s/updateToolbar()/updateToolbars()/
1976 s/Toolbar.h/Toolbars.h/
1978 2004-04-28 Angus Leeming <leeming@lyx.org>
1980 * BufferView.[Ch] (c-tor):
1981 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1982 No longer passes these data to the WorkArea generator.
1984 2004-04-28 Angus Leeming <leeming@lyx.org>
1986 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1988 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1990 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1992 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1994 * output_latex.C (TeXEnvironment): make sure that there is a line
1995 break before \end{foo} for the last paragraph of a document
1996 (TeXOnePar): if the paragraph is at the end of the document (or
1997 inset) and the language has to be reset, then make sure that the
1998 line break is _before_ the language command, not after (fixes bug
1999 1225); also make sure that the language reset command is the first
2000 thing after the paragraph (to ensure proper nesting of
2001 environments and thus fix bug 1404)
2003 2004-04-21 John Levon <levon@movementarian.org>
2006 * ToolbarBackend.C: make "name" be a programmatic name
2007 and a gui_name field.
2009 * lyxfunc.C: display the minibuffer on M-x
2011 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2013 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2016 2004-04-19 Angus Leeming <leeming@lyx.org>
2018 * BufferView_pimpl.C (setBuffer): changed preview interface.
2020 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2023 2004-04-19 John Levon <levon@movementarian.org>
2025 * BufferView_pimpl.C:
2026 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2028 2004-04-05 Angus Leeming <leeming@lyx.org>
2030 * text.C (redoParagraphs): add call to updateCounters(), thereby
2031 fixing the missing "Figure #:" label from the caption of a
2034 2004-04-13 Angus Leeming <leeming@lyx.org>
2036 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2037 cursor is clicked out of an inset.
2039 2004-04-13 Angus Leeming <leeming@lyx.org>
2041 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2042 than an InsetOld one.
2044 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2046 * format.[Ch]: add editor to Format
2047 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2048 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2050 2004-04-08 André Pönitz <poenitz@gmx.net>
2052 * metricsinfo.h: remove PainterInfo::width member
2054 2004-04-08 Angus Leeming <leeming@lyx.org>
2056 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2057 "\providecommand" rather than "\newcommand", thereby preventing
2058 clashes with packages that define "\boldsymbol" themselves.
2061 2004-04-08 Angus Leeming <leeming@lyx.org>
2063 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2064 thereby squashing an unnecessary warning.
2066 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2068 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2071 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2073 * BufferView.C (setCursor): call redoParagraph (some insets could
2075 (putSelectionAt): remove the 'double update' trick
2077 * BufferView_pimpl.C (fitCursor): call refreshPar
2078 (workAreaDispatch): remove an uneeded update call
2079 (dispatch): remove some manual update calls
2081 * cursor.[Ch]: remove cached_y_, updatePos
2082 (selHandle): set noUpdate when appropriate
2084 * lyxfunc.C (dispatch): track if we need an update
2086 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2088 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2089 (paintSelection): cheap optimization, do not call cursorX when not
2091 (paintPars): change signature
2094 (paintTextInset): adjust
2098 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2100 * lengthcommon.C: compilation fix: remove explicit array size from
2101 unit_name[] and friends
2103 2004-04-05 Angus Leeming <leeming@lyx.org>
2105 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2107 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2108 present only for the preferences dialog.
2109 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2111 2004-04-05 Angus Leeming <leeming@lyx.org>
2113 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2114 to enable the frontends to export changes to lyxrc correctly.
2116 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2118 2004-04-07 André Pönitz <poenitz@gmx.net>
2120 * cursor.[Ch] (selClear, adjust): remove math
2122 * cursor_slice.C: more agressive assert
2125 * BufferView_pimpl.C: rework mouse event dispatch
2132 2004-04-05 André Pönitz <poenitz@gmx.net>
2134 * cursor.[Ch] (valign, halign...): remove unneeded functions
2136 2004-04-05 Angus Leeming <leeming@lyx.org>
2138 * lyxlength.[Ch] (unit_name et al.): const-correct.
2140 2004-04-05 Angus Leeming <leeming@lyx.org>
2142 * BufferView_pimpl.C:
2151 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2153 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2155 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2157 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2159 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2160 * BufferView_pimpl.[Ch] (getStatus)
2161 * BufferView.[Ch] (getStatus): add
2162 * lyxfunc.C (getStatus): move lfuns handled in
2163 BufferView::dispatch to te function above
2164 * Cursor.C (setSelection): set selection() = true
2166 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2168 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2170 2004-03-31 Angus Leeming <leeming@lyx.org>
2172 * lyxfunc.C (dispatch): Fall through to the generic
2173 Dialogs::show("preamble").
2175 2004-03-31 Angus Leeming <leeming@lyx.org>
2177 * lyxfunc.C (dispatch): Fall through to the generic
2178 Dialogs::show("spellchecker").
2180 2004-03-31 Angus Leeming <leeming@lyx.org>
2182 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2185 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2190 * insetiterator.[Ch]:
2195 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2197 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2199 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2200 insets where we are putting the cursor.
2202 2004-03-31 Angus Leeming <leeming@lyx.org>
2205 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2207 * lyxrc.[Ch] (read, write): overloaded member functions taking
2208 a std::[io]stream arguments.
2210 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2212 2004-03-31 Angus Leeming <leeming@lyx.org>
2214 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2215 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2217 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2218 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2220 2004-03-31 Angus Leeming <leeming@lyx.org>
2222 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2223 the LFUN_ALL_INSETS_TOGGLE code.
2225 2004-03-30 Angus Leeming <leeming@lyx.org>
2227 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2228 has died. Fall through to the generic Dialogs::show("document").
2230 2004-03-30 Angus Leeming <leeming@lyx.org>
2233 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2234 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2236 * lyxfunc.C (getStatus, dispatch): define the actions for these
2237 lfuns. Little more than a cut and pste job from ControlDocument.C
2239 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2241 2004-03-30 Angus Leeming <leeming@lyx.org>
2244 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2245 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2247 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2248 open/closed state of ollapsable insets. Usage:
2250 all-inset-toggle <state> <name>, where
2251 <state> == "open" || "closed" || "toggle" and
2252 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2254 * lyxtext.h, text2.C (toggleInset): removed.
2256 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2257 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2258 now passes LFUN_INSET_TOGGLE to the found inset.
2260 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2261 is now invoked as "all-insets-toggle toggle branch".
2263 2004-03-30 Angus Leeming <leeming@lyx.org>
2267 * pariterator.[Ch]: added/corrected header blurb.
2269 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2271 * dociterator.[Ch]: add an inset_ member
2272 (backwardPos): implemented
2273 (backwardPos, forwardPos): use inset_ when the stack is empty.
2274 (doc_iterator_begin, doc_iterator_end): implemented
2275 * pariterator.[Ch]: adjust, add begin, end
2276 * insetiterator.[Ch]: adjust, add begin, end
2280 * BufferView_pimpl.C:
2281 * CutAndPaste.C: adjust
2283 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2285 * buffer.C: increment file format to 232.
2286 * LaTeXFeatures.C: add bibtopic package.
2287 * bufferparams.[Ch]: param \use_bibtopic.
2289 * lyxrc.[Ch]: add lyxrc bibtex_command
2290 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2292 * buffer.C: increment file format to 231.
2294 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2296 * dociterator.C: implement forwardPar
2297 * iterators.[Ch]: remove, replaced by
2298 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2300 * BufferView_pimpl.C:
2303 * bufferview_funcs.C:
2309 * Makefile.am: adjust
2311 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2313 * CutAndPaste.C (pasteSelection): fix 2 crashes
2314 (eraseSelection): fix a crash
2315 * paragraph_funcs.C: remove a warning
2317 2004-03-28 Angus Leeming <leeming@lyx.org>
2320 * LyXAction.C (init): new LFUN_PRINT.
2322 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2324 2004-03-27 Angus Leeming <leeming@lyx.org>
2327 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2329 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2331 2004-03-27 Angus Leeming <leeming@lyx.org>
2333 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2334 insetlist always contains non-null pointers to insets.
2336 2004-03-26 Angus Leeming <leeming@lyx.org>
2338 * src/BufferView_pimpl.C:
2339 * src/CutAndPaste.C:
2342 * src/output_plaintext.C:
2343 * src/outputparams.h:
2344 * src/paragraph_funcs.C:
2348 * src/frontends/controllers/ControlErrorList.C:
2349 * src/frontends/gtk/FileDialogPrivate.C:
2350 * src/frontends/gtk/GPainter.C:
2351 * src/frontends/gtk/GToolbar.C:
2352 * src/frontends/qt2/QRef.C:
2353 * src/mathed/math_scriptinset.C: squash compiler warnings.
2355 2004-03-26 Angus Leeming <leeming@lyx.org>
2357 * ispell.C (LaunchIspell::start):
2358 * lyx_cb.C (AutoSaveBuffer::start):
2359 invoke run(DontWait) rather than runNonBlocking().
2361 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2363 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2365 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2367 * kbsequence.C (print): adjust
2369 * kbmap.C (printKeySym): rename and change signature
2370 (printKey): use LyXKeySym::print()
2372 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2374 * undo.C: add using std::advance to compile for stlport
2376 2004-03-24 Angus Leeming <leeming@lyx.org>
2378 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2379 it leads to a crash when no buffer is present.
2381 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2382 Martin Vermeer <martin.vermeer@hut.fi>
2384 * lyxfunc.C (dispatch):
2385 * bufferparams.C (readToken): use the new LColor::setColor
2387 * LColor.[Ch] (setColor): new version that takes two strings as
2388 argument and creates a new color entry if necessary
2390 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2392 * buffer.C (makeLaTeXFile): if the main latex file that is
2393 processed is usually a subdocument of some master, then pretend
2394 for a while that it is actually the master
2396 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2398 * buffer.C (getLabelList):
2399 (getBibkeyList): use getMasterBuffer()
2400 (getMasterBuffer): new method. Returns the main document in the
2401 case where one is using included documents.
2403 2004-03-25 André Pönitz <poenitz@gmx.net>
2407 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2409 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2411 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2412 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2414 * ParameterStruct.h: merge with ParagraphParameters
2416 * lyxtext.h: remove LyXText::parOffset() and getPar()
2418 * text3.C: Remove all 'manual' update calls. We do now one per user
2419 interaction which is completely sufficient.
2423 * BufferView_pimpl.C:
2424 * FontIterator.[Ch]:
2426 * ParagraphParameters.[Ch]:
2431 * cursor_slice.[Ch]:
2438 * output_docbook.[Ch]:
2439 * output_latex.[Ch]:
2440 * output_linuxdoc.[Ch]:
2441 * output_plaintext.[Ch]:
2443 * paragraph_funcs.[Ch]:
2444 * paragraph_pimpl.[Ch]:
2452 * frontends/controllers/ControlDocument.C:
2453 * frontends/controllers/ControlErrorList.C:
2454 * frontends/controllers/ControlSpellchecker.C:
2457 * insets/insetbase.h:
2458 * insets/insetbibitem.C:
2459 * insets/insetbox.C:
2460 * insets/insetbranch.C:
2461 * insets/insetcaption.C:
2462 * insets/insetcharstyle.C:
2463 * insets/insetcharstyle.h:
2464 * insets/insetcollapsable.C:
2465 * insets/insetcollapsable.h:
2466 * insets/insetert.C:
2467 * insets/insetfloat.C:
2468 * insets/insetfoot.C:
2469 * insets/insetmarginal.C:
2470 * insets/insetnote.C:
2471 * insets/insetoptarg.C:
2472 * insets/insettabular.C:
2473 * insets/insettext.C:
2474 * insets/insettext.h:
2475 * insets/insetwrap.C:
2476 * mathed/math_mboxinset.C:
2477 * mathed/math_nestinset.C:
2478 * mathed/math_scriptinset.C:
2479 * mathed/math_scriptinset.h:
2482 2004-03-24 Angus Leeming <leeming@lyx.org>
2484 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2485 deal with any child processes that have finished but are waiting to
2486 communicate this fact to the rest of LyX.
2488 2004-03-24 Angus Leeming <leeming@lyx.org>
2490 64-bit compile fixes.
2492 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2493 (c-tor): pass lyx::pos_types rather than ints.
2495 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2498 * text.C (Delete): compile fix.
2499 (getPar): ensure that function declaration is the same as that in
2502 2004-03-23 Angus Leeming <leeming@lyx.org>
2504 * ispell.C (LaunchIspell):
2505 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2506 a boost::shred_ptr rather than a std::auto_ptr.
2508 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2510 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2511 handle LFUN_FILE_INSERT_*
2513 * lyxrc.C (setDefaults, getDescription, output, read):
2514 * lyxrc.h: remove ps_command
2516 2004-03-22 Angus Leeming <leeming@lyx.org>
2518 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2519 Ensure that error_handler is processed once only and that all data
2520 is saved before attempting to output any warning messages.
2522 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2524 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2526 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2528 2004-03-19 André Pönitz <poenitz@gmx.net>
2530 * cursor.[Ch] (reset): take main text inset as argument
2532 * BufferView: adjust
2533 * BufferView_pimpl.C: adjust
2535 * paragraph.[Ch]: fix completely broken operator=()
2537 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2539 * LColor.C (getFromLyXName): make sure that the color name is used
2542 2004-03-17 Angus Leeming <leeming@lyx.org>
2545 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2547 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2548 dialog and to kill a forked process.
2550 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2552 * text2.C (setCursorFromCoordinates): fix font problem
2554 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2556 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2557 bogus "rebuild cursor" code
2559 2004-03-11 André Pönitz <poenitz@gmx.net>
2561 * buffer.[Ch]: use InsetText instead of LyXText as container for
2564 * dociterator.[Ch]: drop the BufferView * member which is not needed
2565 anymore after the change to buffer.C
2567 * paragraph_funcs.C:
2571 * BufferView_pimpl.[Ch]:
2573 * cursor_slice.[Ch]: adjust
2575 * text3.C: fix bug in mathDispatch
2577 2004-03-08 André Pönitz <poenitz@gmx.net>
2579 * undo.[Ch]: use 'StableDocumentIterator' as base for
2582 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2585 * bufferparams.[Ch]: add jurabib support and param.
2587 * LaTeX.C: add FIXME/comment.
2589 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2591 * buffer.C: increment file format to 230.
2593 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2595 * cursor.C (dispatch): avoid infinite loops
2597 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2599 * rowpainter.C (paintSelection): fix x coordinates
2601 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2603 * text.C (rowBreakPoint): fix breaking before displayed insets
2605 2004-03-01 André Pönitz <poenitz@gmx.net>
2607 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2609 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2613 * BufferView_pimpl.C:
2621 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2627 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2628 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2630 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2632 * Bidi.[Ch] (computeTables): const correctness
2633 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2634 fill_hfill, fill_label_hfill and x from Row
2635 * lyxtext.h: prepareToPrint returns a RowMetrics
2636 * rowPainter.C: adjust
2637 * text.C (prepareToPrint): use width, not textWidth. adjust
2638 (redoParagraphInternal, cursorX): adjust
2639 * text2.C (getColumnNearX): adjust
2640 (init): put a default value to the top LyXText::width
2642 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2644 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2646 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2648 * lyxtext.h: add FontIterator class
2650 * text.C (FontIterator, operator*, operator->, operator++): add
2651 (rowBreakPoint, setRowWidth): adjust (fixing a
2654 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2656 * BufferView_pimpl.C (workAreaDispatch): allow also
2657 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2659 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2661 * text.C (rowBreakPoint): fix a bug showing with very large insets
2663 2004-02-25 André Pönitz <poenitz@gmx.net>
2666 * cursor.[Ch]: move some mathed specific code to mathed
2668 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2670 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2671 use_tempdir in preferences
2672 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2674 * lyx_main.C: ensure that tempdir is valid
2675 * lyxlex.h: correct typo
2676 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2677 * paragraph.[Ch] (isMultiLingual): make const
2678 * cursor.[Ch] (openable): make const
2680 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2682 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2684 2004-02-20 André Pönitz <poenitz@gmx.net>
2686 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2688 * cursor.[Ch]: prepare for localized getStatus()
2694 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2696 2004-02-20 André Pönitz <poenitz@gmx.net>
2698 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2700 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2702 * text2.C (setCursorFromCoordinates): switch to absolute coords
2704 (cursorDown): adjust
2705 * text3.C (dispatch): adjust
2707 2004-02-16 André Pönitz <poenitz@gmx.net>
2709 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2712 * cursor_slice.[Ch]: remove unneeded acessor function
2714 * lyxtext.h: rename rtl() to isRTL()
2722 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2724 * rowpainter.C (paintSelection): coord fix
2726 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2728 * Spacing.C: compile fix
2730 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2732 * cursor.C (dispatch): restore current_ before returning
2734 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2736 * text2.C (cursorUp, cursorDown): fix coords
2739 2004-02-12 André Pönitz <poenitz@gmx.net>
2744 * text3.C: add LCursor & parameter to most cursor movement functions
2745 remove usage of LyXText::cursorRow() and cursorPar()
2747 * cursor.[Ch]: add textRow() needed members
2750 * BufferView_pimpl.C:
2753 * BufferView_pimpl.C: adjust
2755 2004-02-11 André Pönitz <poenitz@gmx.net>
2759 * BufferView_pimpl.C: shift undo/redo handling
2761 * cursor.[Ch]: fix mathed crash
2764 * lyxtext.h: move selectionAsText to LCursor
2772 * rowpainter.C: fix excessive drawing
2774 2004-02-06 André Pönitz <poenitz@gmx.net>
2777 * BufferView_pimpl.[Ch]:
2778 * text3.C: move some text specific LFUN handling
2780 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2782 * text3.C (checkInsetHit): adjust coords
2783 * text2.C (getColumnNearX): adjust coords
2784 (edit): adjust coords
2785 * text.C (getRowNearY): add two asserts
2787 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2790 * format.C: add using std::distance to compile on gcc 2.95/stlport
2792 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2794 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2796 2004-02-04 André Pönitz <poenitz@gmx.net>
2798 * BufferView.[Ch] (insertInset):
2799 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2804 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2806 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2807 on the default clause of the switch
2808 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2809 wasn't catched by LCursor::dispatch
2811 2004-02-03 André Pönitz <poenitz@gmx.net>
2814 * cursor.[Ch]: some additional asserts
2816 * undo.[Ch]: remove LyXText dependency in interface
2820 * lyxtext.h (firstPar, lastPar): remove dead functions
2825 * paragraph.[Ch]: adjust
2827 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2829 * lyxfind.C (find): fix argument order in call to ::find
2831 2004-02-02 André Pönitz <poenitz@gmx.net>
2833 * cursor.[Ch]: remove direct access to anchor
2835 * text.C: remove findText() hack
2837 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2839 * iterators.[Ch] (lockPath): remove in favour of...
2840 * BufferView.[Ch] (setCursor): this addition
2841 * BufferView.C (putSelectionAt): adjust
2842 * undo.C (performUndoOrRedo): adjust
2843 * lyxfunc.C (dispatch): adjust
2845 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2847 * iterators.C (lockPath): add a missing slice
2848 * undo.C (performUndoOrRedo): remove redundant positioning code
2850 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2852 * vc-backend.C (scanMaster): ";" -> ';'
2854 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2856 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2857 std::binary_function
2859 * lyxtextclass.C (compare_name): rename to...
2860 (LayoutNamesEqual): ...this
2862 * lyxlex_pimpl.C (compare_tags): inherit from
2863 std::binary_function, put back into anon namespace
2865 * lyxfind.C (MatchString): inherig from std::binary_function
2866 (findChange): use empty() istead of !size()
2868 * format.C (FormatNamesEqual): new functor
2875 * converter.C (compare_Converter): rename to...
2876 (ConverterEqual): ...this, and fixup a bit.
2877 (getConverter): use it, and make function const
2878 (getNumber): use it, and make function const
2882 * bufferlist.C: add using boost::bind
2884 * MenuBackend.C (MenuNamesEqual): new functor
2885 (hasMenu): use it, and make function const
2886 (hasSubmenu): use nested bind to get rid of compare_memfun.
2888 2004-01-30 André Pönitz <poenitz@gmx.net>
2890 * BufferView_pimpl.C:
2893 * cursor_slice.[Ch]:
2896 * paragraph_funcs.C:
2897 * paragraph_funcs.h:
2901 * text3.C: move some of the edit(x,y) handling to the insets
2902 some coordinate changes.
2904 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2906 * text.C: add using statements for std::advance and std::distance
2908 * paragraph.C: add using statement for std::distance
2910 * lyxfind.C: add using statement for std::advance
2912 * cursor.C (region): remove std:: from swap
2913 (openable): use nucleus in stead of operator->
2915 * BufferView.C: add using statements for std::distance and std::swap
2917 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2919 * iterators.C: Remove the pimple, move the needed structures to
2920 the header file. Create accessor for the positions stack.
2921 (asPosIterator): remove function
2923 * PosIterator.C (PosIterator): move constructors to top of file
2924 (PosIterator): reimplement the constructor taking a ParIterator in
2926 (setFrom): new function
2927 (operator!=): inline it
2929 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2931 * lyxfind.C (replaceAll): use std::advance
2933 * iterators.h: inherit from std::iterator.
2935 * PosIterator.C (advance, distance): remove
2936 * PosIterator.h: interit from std::iterator.
2938 2004-01-26 André Pönitz <poenitz@gmx.net>
2941 * BufferView_pimpl.[Ch]:
2945 * bufferview_funcs.C:
2955 * output_linuxdoc.C:
2956 * output_plaintext.C:
2958 * paragraph_funcs.[Ch]:
2959 * paragraph_pimpl.[Ch]:
2965 * text3.C: more IU: dumps most of the rest of the mathcursor
2966 implementation into cursor.[Ch]; "globalize" a bit of it.
2968 2004-01-25 Angus Leeming <leeming@lyx.org>
2970 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2972 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2974 * LaTeXFeatures.h: add nice_ and nice() const
2975 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2977 2004-01-20 André Pönitz <poenitz@gmx.net>
2980 * BufferView_pimpl.C:
2982 * bufferview_funcs.C:
2984 * cursor_slice.[Ch]:
2995 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2996 LCursor and mathcursor parts to LCursor and InsetBase.
2998 2004-01-15 André Pönitz <poenitz@gmx.net>
3000 * cursor_slice.[Ch]: add a few covienience functions
3002 * funcrequest.[Ch]: remove BufferView * member
3004 * BufferView_pimpl.C:
3011 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3013 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3015 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3016 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3018 2004-01-13 André Pönitz <poenitz@gmx.net>
3021 * lyxtext.h: hide cursor and selection anchor behind accessor function
3024 * BufferView_pimpl.[Ch]:
3026 * bufferview_funcs.C:
3036 * cursor_slice.[Ch]: some integer type changes for inset unification
3038 * lyxcursor.[hC]: remove, it's CursorSlice now.
3041 * BufferView_pimpl.[Ch]:
3042 * bufferview_funcs.C:
3048 * textcursor.[Ch]: adjust
3050 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3052 * text2.C (undoSpan): add and use
3053 * text.C (breakParagraph): use undoSpan (fix bug 578)
3056 2004-01-08 Angus Leeming <leeming@lyx.org>
3058 * BufferView_pimpl.C (MenuInsertLyXFile):
3059 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3060 * lyxfunc.C (menuNew, open, doImport):
3061 FileFilterList change to the FileDialog open and save functions.
3063 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3065 * ShareContainer.h: make isEqual and isUnique adaptable
3067 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3069 2004-01-07 Angus Leeming <leeming@lyx.org>
3072 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3074 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3076 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3077 functions replacing find, replace and replaceAll.
3079 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3080 LFUN_WORDFIND(FORWARD|BACKWARD).
3082 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3084 * text.C (breakParagraph): remove an outdated #warning
3086 2004-01-07 André Pönitz <poenitz@gmx.net>
3088 * lyxfind.C: somewhat clearer logic
3090 * text.C: prevent crash in cursorX on unitialized row cache
3092 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3094 * lyxcursor.[Ch] (operator>): add
3095 * textcursor.C (selStart, selEnd): use std::min and std::max
3097 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3099 * Chktex.C: include boost/format.hpp
3101 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3103 * InsetList.C: replace functor MathcIt with adaptable functor
3105 (insetIterator): modify accordingly
3107 * BranchList.h: move the BranchNamesEqual functor here from...
3108 * BranchList.C: ... to here
3110 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3112 (add): replace a finding loop with std::find_if.
3114 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3116 * output_docbook.C: moving LatexParam functionality into
3119 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3121 * buffer.C: increment format to 229.
3123 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3126 * lyx_sty.[Ch]: remove minipageindent_def
3132 * text3.C: remove LFUN_INSET_MINIPAGE
3134 2003-12-28 Angus Leeming <leeming@lyx.org>
3136 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3138 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3140 * text2.C (setParagraph): fix off-by-one crash
3142 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3144 * output_docbook.C: header stuff for AGU
3146 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3148 * text2.C (redoCursor): remove
3151 * BufferView_pimpl.C: remove calls to redoCursor and
3152 setCursor(cursor.par(), cursor.pos()) all around
3154 2003-12-15 Angus Leeming <leeming@lyx.org>
3156 * buffer.C: up the format to 228.
3158 2003-12-15 André Pönitz <poenitz@gmx.net>
3160 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3165 * BufferView_pimpl.C:
3174 2003-12-15 Angus Leeming <leeming@lyx.org>
3176 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3177 than getFromGUIName to manipulate the color.
3179 2003-12-14 Angus Leeming <leeming@lyx.org>
3181 * BranchList.[Ch]: minimize the API.
3182 (Branch::getBranch, getColor): now return a 'const &'.
3183 (Branch::setSelected) now returns a bool set to true if the
3184 selection status changes.
3185 (BranchList::clear, size, getColor, setColor, setSelected,
3186 allBranches, allSelected, separator): removed.
3187 (BranchList::find): new functions, returning the Branch with
3189 (BranchList::add, remove): return a bool indicating that
3190 the operation was successful.
3192 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3193 new InsetBranch::isBranchSlected member function.
3195 * LColor.[Ch]: mimimize the API.
3196 (fill): renamed as addColor and made private.
3197 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3198 versions of these functions taking a string arg have been removed.
3200 * bufferparams.C (readToken):
3201 * lyxfunc.C (dispatch):
3202 * lyxrc.C (read): changes due to the altered BranchList and
3205 * factory.C (createInset, readInset): changes due to altered
3208 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3211 * lyxfunc.C: remove insetminipage. "minipage-insert"
3212 now produces a frameless minipage box inset.
3214 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3216 * textcursor.[Ch] (selStart,selEnd): add new methods
3217 remove selection::start, end, use LyXCursor::operator<
3218 * lyxcursor.[Ch] (operator<): add
3219 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3220 * BufferView.[Ch] (unsetXSel): add
3221 * text2.C (clearSelection): use unsetXSel,adjust
3224 * rowpainter.C: adjust
3225 * bufferview_funcs.C (put_selection_at): adjust
3227 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3229 * BufferView_pimpl.C: small coord. correction
3231 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3233 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3234 dragging over the splash screen.
3236 2003-12-11 Angus Leeming <leeming@lyx.org>
3238 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3239 as it is now handled in LyXText::dispatch.
3241 * text3.C (doInsertInset): remove a level of nesting.
3243 2003-12-11 Angus Leeming <leeming@lyx.org>
3245 * factory.C (createInset): changes due to the changed interface to
3246 InsetCommandMailer::string2params.
3248 2003-12-10 Angus Leeming <leeming@lyx.org>
3250 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3251 'dialog-show-new-inset <inset name>'
3253 2003-12-10 Angus Leeming <leeming@lyx.org>
3255 * buffer.C: up the format to 227.
3257 * factory.C: the box inset is now identified simply by 'Box'.
3259 2003-12-10 Angus Leeming <leeming@lyx.org>
3261 * buffer.C: up the format to 226.
3263 * factory.C: the note inset is now identified simply by 'Note'.
3265 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3267 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3268 when a pit is enough. Standarize a couple of loops.
3270 2003-12-05 Angus Leeming <leeming@lyx.org>
3272 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3273 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3274 data to the re-worked "log" dialog.
3276 2003-12-03 André Pönitz <poenitz@gmx.net>
3282 * paragraph_funcs.C:
3284 * text2.C: use Inset::getText instead of Inset::getParagraph
3286 2003-12-03 André Pönitz <poenitz@gmx.net>
3290 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3291 InsetText::read() as LyXText::read()
3293 2003-12-02 Angus Leeming <leeming@lyx.org>
3295 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3296 type. Add a comment in the implementation that the function uses
3297 the stream's bad() function rather than fail() as the std::streams
3300 2003-12-02 André Pönitz <poenitz@gmx.net>
3302 * lyxlex.[Ch]: make interface more similar to std::stream
3304 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3306 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3308 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3310 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3312 * vspace.[Ch]: remove VSpace::NONE
3314 2003-12-01 André Pönitz <poenitz@gmx.net>
3317 * lyxtext.h: move ParagraphList member to LyXText
3318 rename LyXText::ownerParagraphs to LyXText::paragraph
3321 * bufferview_funcs.C:
3331 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3333 * undo.C: fix cursor positioning
3335 2003-12-01 John Levon <levon@movementarian.org>
3337 * BufferView_pimpl.C: fix a crash on exit with
3340 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3342 * BranchList.C: fix setSelected() method.
3344 2003-11-28 André Pönitz <poenitz@gmx.net>
3346 * ParagraphParameters.[Ch]:
3347 * ParameterStruct.h: remove space above/below from Paragraph to
3350 * BufferView_pimpl.C:
3356 * paragraph_funcs.C:
3362 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3364 * factory.C: Syntax change for CharStyles
3366 2003-11-28 André Pönitz <poenitz@gmx.net>
3371 * buffer.[Ch]: move LyXText member
3373 2003-11-28 André Pönitz <poenitz@gmx.net>
3375 * BufferView.[Ch]: make LyXText * text a private member
3377 * BufferView_pimpl.C:
3388 * output_plaintext.C: cleanup
3390 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3393 * lyxtextclass.[Ch]: parametrize SGML document header
3395 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3398 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3401 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3403 * text2.C (setFont): rework using PosIterator (no more recursive)
3404 (setCharFont): no more needed
3405 (setLayout): no more selection cursors fiddling (done by redoCursor)
3406 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3407 destroy remaining ones)
3409 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3411 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3413 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3416 * text3.C: adjust + re-allow multi par depth changes
3417 * textcursor.C: simplify a bit
3419 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3425 * src/output_docbook.C:
3426 * src/output_latex.C:
3431 * src/text2.C: Introducing a number of tags parametrizing various
3432 XML formats that we may want to support
3434 2003-11-25 André Pönitz <poenitz@gmx.net>
3436 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3438 * lyxtext.h (leftMargin/rightMargin): simplify interface
3445 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3447 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3448 master file to any child files. Fixes bug 546.
3450 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3452 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3454 2003-11-24 André Pönitz <poenitz@gmx.net>
3456 * rowpainter.C: simplification
3458 * text2.C (updateCounters): remove call to redoParagraph on
3459 changed labels as this is far too expensive.
3461 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3463 * converter.C (convert): fix a crash: this function gets
3464 called with buffer == 0 from importer code.
3466 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3468 * text3.C (cursorPrevious): make sure that we do not compare
3469 iterators form different containers.
3472 * rowpainter.C (paintSelection): make sure that we do not compare
3473 iterators from different containers.
3475 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3476 iterators from different ParagraphList containers.
3479 * text2.C (LyXText): change order of initialization slightly
3480 (operator=): new function. copy all variables except cache_par_
3481 (moveUp): make sure that we do not compare iterators from
3482 different ParagraphList constainers.
3485 * text.C (firstPar): new function
3486 (lastPar): new function
3487 (endPar): new function
3489 * lyxtext.h: move things around and group public functions, public
3490 variables, private functions, private variables
3492 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3494 * factory.C: change call to InsetERT constructor to avoid
3495 additional invocation of method status
3496 * text2.C (toggleInset): remove redundant update() call
3497 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3498 instead of a Bufferview pointer
3500 2003-11-21 André Pönitz <poenitz@gmx.net>
3502 * rowpainter.C: simplification
3504 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3506 * text3.C (dispatch): make possible to extend a word/row selection
3509 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3511 * lyxtext.h: x0_,y0_ -> xo_,yo_
3512 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3513 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3514 * rowpainter.C (paintRows): paint full paragraphs
3516 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3518 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3521 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3523 * lyxtext.h: add x0_, y0_
3524 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3525 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3527 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3529 * text2.C (setCursorIntern): move the x_target update here *
3530 * text3.C: change some bv() to true/false in calls to
3531 cursorUp/Down/Right/Left
3532 * cursor.C: use helper function.
3534 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3536 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3537 * paragraph_funcs.[Ch]: correct comment
3538 * rowpainter.C: do not paint selections away from bv->cursor()
3539 Fix a long standing selection painting bug.
3540 * text3.C: generalize mouse-selection code to LyXTexts other that
3542 * textcursor.C: do not use y coords if we can use par offsets
3544 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3546 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3547 cursor position after e.g. inset insert)
3549 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3551 * lyxfind.C (replace): adjust to locking removal + some
3554 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3556 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3559 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3562 * output_docbook.C: XML sanitation: new layout
3563 parameters InnerTag and CommandDepth
3565 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3567 * BufferView_pimpl.C:
3569 * text3.C: Fix the insertion and modification of button-style
3572 2003-11-13 André Pönitz <poenitz@gmx.net>
3574 * InsetList.[Ch]: remove deleteLyXText
3576 * paragraph.[Ch]: cache beginOfBody position
3581 * text3.C: remove superfluous update() calls
3585 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3587 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3588 * BufferView.C (fitLockedInsetCursor): remove
3589 * cursor.[Ch] (getDim): add
3590 * text.C (getRowNearY): add faster version
3591 * text3.C: remove some update calls
3593 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3605 * text3.C: The Character Style /XML short element patch.
3607 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3610 * factory.C: Small step to solving 'unable to insert some insets'
3613 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3615 * cursor.[Ch] (updatePos): new function for updating the y
3616 position of the tip inset
3617 * bufferview_funcs.C (put_selection_at):
3618 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3620 2003-11-11 André Pönitz <poenitz@gmx.net>
3622 * text.C: remove big comment on invalid Paragraph pointers as it is
3625 2003-11-11 André Pönitz <poenitz@gmx.net>
3627 * text_funcs.[Ch]: merge with ...
3635 * Makefile.am: remove text_funcs.[Ch]
3637 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3639 * cursor.C (getPos): return absolute cached y coord
3641 * BufferView_pimpl.C (fitCursor): new simplistic code
3642 (workAreaDispatch): add a fitCursor call
3644 2003-11-10 André Pönitz <poenitz@gmx.net>
3647 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3649 2003-11-10 André Pönitz <poenitz@gmx.net>
3651 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3652 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3653 indicate that the cursor needs to leave an inset
3655 * lyxtext.h: remove inset locking
3657 * cursor.[Ch]: re-implement functionality provided by inset locking
3660 * BufferView_pimpl.[Ch]:
3662 * bufferview_funcs.[Ch]:
3674 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3676 * PosIterator.[Ch]: replace the stack with a vector, add inset
3678 * iterators.[C]: adjust
3680 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3682 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3684 * paragraph_funcs.C (readParToken): put the correct id in the
3685 error item, not the id of the top paragraph
3687 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3689 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3690 * bufferview_funcs.C (put_selection_at): use the above
3692 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3694 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3696 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3698 * output_linuxdoc.h:
3699 * output_plaintext.h:
3701 * output_docbook.h: add #include statements
3703 2003-11-05 José Matos <jamatos@lyx.org>
3705 * output_docbook.[Ch]:
3706 * output_latex.[Ch]:
3707 * output_linuxdoc.[Ch]:
3708 * output_plaintext.[Ch]: New files for output formats.
3709 * output.[Ch]: New file for helper functions.
3712 * paragraph_funcs.[Ch]: output functions moved to new files.
3714 * outputparams.h: rename of latexrunparams.h
3722 * paragraph_funcs.[Ch]:
3723 * paragraph_pimpl.[Ch]:
3724 * tabular.[Ch]: rename ascii to plaintext
3725 and LatexRunParams to OutputParams.
3727 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3729 * iterators.[Ch] (text): require bv argument
3730 * undo.C (recordUndo):
3731 * lyxfunc.C (dispatch):
3732 * bufferview_funcs.C (put_selection_at): adjust
3734 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3736 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3738 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3740 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3743 2003-11-04 André Pönitz <poenitz@gmx.net>
3745 * cursor.[Ch]: restructure
3748 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3750 * iterators.[Ch] (asCursor): remove
3752 * lfuns.h: remove LFUN_INSET_EDIT
3758 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3760 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3762 * lyxfind.[Ch]: complete overhaul
3763 * BufferView_pimpl.C:
3765 * paragraph.[Ch] (insert): add
3767 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3771 * text.C: remove dead spellcheck code
3773 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * dispatchresult.h: add a val setter
3777 * cursor.C (dispatch): use a tempvar for data_[i]
3779 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3781 * PosIterator.[Ch]: compile fix
3783 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3785 * text.C (cursorPar): deactivate the cursor cache
3787 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3789 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3791 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3793 * text3.C (dispatch): adjust for new DisptchResult semantics.
3795 * lyxfunc.C (dispatch): handle update when return from
3796 Cursor::dispatch, adjust for new DispatchResult semantics.
3798 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3799 DispatchResult(true) mean to not update. Add class functions for
3800 setting dispatched and update, as well as reading.
3802 * cursor.C (dispatch): don't handle update here
3804 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3807 * trans_mgr.C: adjust
3809 * paragraph_funcs.C (readParToken): exception safety
3811 * lyxvc.h: store the vcs pointer in a scoped_ptr
3814 * lyxsocket.C (serverCallback): exception safety
3816 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3818 * ispell.C (clone): make it return a auto_ptr
3820 * factory.C (createInset): exception safety
3821 (readInset): exception safety
3823 * bufferlist.C (newBuffer): exception safety
3825 * Thesaurus.C (Thesaurus): use initialization for aik_
3827 * MenuBackend.C (expandToc): exception safety.
3829 2003-11-03 André Pönitz <poenitz@gmx.net>
3833 * bufferview_funcs.C: remove getInsetFromId()
3836 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3842 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3844 * PosIterator.C (distance, advance): new
3845 * bufferview_funcs.[Ch] (put_selection_at): new
3846 * iterators.[Ch] (lockPath): new
3848 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3850 * iterators.[Ch] (asPosIterator): added
3851 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3852 * PosIterator.[Ch]: added
3854 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * cursor.C (dispatch):
3859 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3861 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3862 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3863 contructor, add a class function dispatched. Remove operator>=
3865 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * debug.C: only use the default constructor for debugstream
3870 * main.C (main): include debug.h and setup the lyxerr streambuf
3873 2003-10-31 José Matos <jamatos@lyx.org>
3875 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3877 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3878 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3879 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3880 * paragraph_pimpl.C (simpleTeXSpecialC):
3881 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3882 add LatexRunParams argument.
3884 * exporter.C (Export): change call accordingly.
3886 * latexrunparams.h: add new member to take care of the other backends.
3887 2003-10-30 José Matos <jamatos@lyx.org>
3889 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3890 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3891 factorise code for paragraph output.
3893 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3896 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * text3.C (dispatch):
3899 * lyxfunc.C (dispatch):
3900 * cursor.C (dispatch):
3901 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3903 * dispatchresult.h: make the dispatch_result_t ctor explicit
3905 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3908 * buffer.C: small refactoring of docbook stuff
3910 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3915 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3918 operator dispatch_result_t, and operators for == != and >=
3920 * cursor.C (dispatch): adjust for operator dispatch_result_t
3921 removal. comment out call to update
3923 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3925 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3936 * dispatchresult.h: new file, DispatchResult broken out of
3939 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3941 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3943 * text.C (rowBreakPoint): put a hack inside #if 0
3945 2003-10-28 André Pönitz <poenitz@gmx.net>
3949 * paragraph_funcs.C:
3952 * text2.C: general cleanup (lots of small stuff)
3954 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3956 * text2.C (cursorEnd): simple fix to the "end key goes to one
3957 before the end on last row" bug
3959 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3961 * text.C (backspace): fix the "zombie characters"
3963 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3965 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3967 2003-10-27 André Pönitz <poenitz@gmx.net>
3969 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3971 * factory.C: handle new InsetPagebreak, InsetLine
3973 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3974 and move handling into new InsetPagebreak, InsetLine
3976 * BufferView_pimpl.C:
3978 * ParagraphParameters.C:
3979 * ParameterStruct.h:
3984 * paragraph_funcs.C:
3985 * paragraph_pimpl.C:
3991 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3994 * lyxrow_funcs.[Ch]:
4000 * text3.C: remove lastPos uses in favour of Row::endpos
4002 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4004 * undo.C (performUndoOrRedo): fix two crashes by setting a
4005 cursor by hand and reordering some calls. Use bv->lockInset instead
4006 of inset->edit because the latter loses cursor information
4008 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4010 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4012 (rowBreakPoint): fix width. change point to point + 1.
4013 Add a missing check.
4015 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4018 * lyxfunc.C: fix (at least partly) the problems
4019 with the Nav menu and headers inside branch insets
4022 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4024 * paragraph.C (getChar): add strong asserts
4026 * lyxrow_funcs.C (lastPos): remove hideous hack
4028 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4029 (fill): adjust to that (avoid an infinite loop)
4031 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4033 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4035 2003-10-23 André Pönitz <poenitz@gmx.net>
4037 * RowList_fwd.h: change list<> to vector<> to gain speed
4038 after suggestion from Alfredo
4040 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4042 * lyxtext.h: move the bidi stuff from here...
4045 * Bidi.[Ch]: ... to here
4047 2003-10-23 André Pönitz <poenitz@gmx.net>
4050 * text.C (isLastRow, isFirstRow): new functions
4052 * paragraph.h: new width cache member
4054 * rowpainter.C: replace RowList::iterator with Row & where possible
4056 * lyxfunc.C: replace several view()->text with a single call
4058 * toc.C: fix 'unused' warning
4060 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4063 when woring with stream::pos_type
4064 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4066 2003-10-22 André Pönitz <poenitz@gmx.net>
4069 * text.C: use Row & instead of RowList::iterator
4071 * lyxrow.h: rename end() to endpos()
4077 2003-10-22 Angus Leeming <leeming@lyx.org>
4079 * buffer.[Ch] (fully_loaded): new member function, returning true
4080 only when the file has been loaded fully.
4081 Used to prevent the premature generation of previews and by the
4082 citation inset to prevent computation of the natbib-style label.
4084 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4085 templates are all set up.
4087 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4089 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4091 * text.C: fixed an "oops" in the "is a bit silly"
4094 2003-10-21 André Pönitz <poenitz@gmx.net>
4096 * FuncStatus.[Ch]: small stuff, whitespace
4098 * lyxfont.[Ch]: operator<<() for debug reasons
4102 * lyxtext.h: whitespace, spelling
4104 * paragraph.C: naming of variables
4107 * text2.C: small stuff
4110 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4112 * text.C: (1) finish off the inset display() work;
4113 (2) fix the "is a bit silly" bug (accessing char
4116 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4118 * text.C: re-introduce display() for insets, fixing the
4119 various bugs (stretch of line above, math inset
4122 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4124 * text.C (rightMargin): remove spurious semicolon
4126 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4129 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4131 * text3.C: fix one crash due to wrong cursor def
4133 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * vc-backend.C (scanMaster): make the regex static
4137 * LaTeX.C (scanAuxFile): make the regexs static
4139 * text3.C (doInsertInset, dispatch, dispatch):
4140 * text2.C (cursorUp, cursorDown):
4141 * text.C (selectNextWordToSpellcheck):
4142 * BufferView_pimpl.C (dispatch):
4143 * lyxfunc.C (dispatch): localDispatch -> dispatch
4145 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4147 * lyxsocket.C: include <cerrno>
4149 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4151 * lyxfunc.C (dispatch): remove textcache stuff
4153 * bufferlist.C (release): remove textcache stuff
4156 * TextCache.C: delete file
4157 * TextCache.h: delete file
4159 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4161 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4162 delete of the bv_->text.
4163 (resizeCurrentBuffer): remove texcache stuff
4164 (workAreaResize): ditto
4166 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4171 2003-10-16 André Pönitz <poenitz@gmx.net>
4178 * text3.C: speed up by storing y positions per paragraph plus per-row
4179 offset instead of having a 'full' y position in the row.
4181 2003-10-15 André Pönitz <poenitz@gmx.net>
4185 * undo.[Ch]: make undo aware of inner insets
4187 2003-10-14 Angus Leeming <leeming@lyx.org>
4189 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4190 static member functions LyX::ref() and LyX::cref.
4191 (lastfiles): new accessor functions for the new lastfiles_ member var.
4192 (addLyXView, views_): add a new LyXView to the list of views_.
4193 (updateInset): loop over all LyXViews to call their own updateInset
4194 member function, returning a pointer to the Buffer owning the inset.
4196 * BufferView_pimpl.C (loadLyXFile):
4197 * MenuBackend.C (expandLastfiles):
4198 * bufferlist.C (MenuWrite, QuitLyX):
4199 lastfiles is no longer a global variable.
4200 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4202 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4203 static function. Access through LyX::cref().emergencyCleanup().
4205 2003-10-14 André Pönitz <poenitz@gmx.net>
4207 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4209 * undo.[Ch]: restoring part of 'undo in insets'
4212 * undo_funcs.[Ch]: merge with undo.[Ch]
4214 * tabular.C: small cleansing stuff
4216 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4218 * paragraph_funcs.C (readParToken): report unknown insets as error
4219 boxes. Use the outer paragraph as location (also for unknown
4222 * factory.C (readInset): do not abort on reading an unknown inset.
4223 Eat it and return 0.
4225 2003-10-13 Angus Leeming <leeming@lyx.org>
4227 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4229 * lyxrc.C: displayTranslator is now a function,
4230 declared in GraphicsTypes.h.
4232 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4234 * format.C: new placeholder $$a to pass the socket address.
4236 * bufferlist.[Ch]: new function getBufferFromTmp.
4238 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4239 files in the temporary dir.
4241 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4243 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4245 * Makefile.am: add lyxsocket.[Ch].
4247 * lyx_main.C (error_handler): handle SIGPIPE.
4249 2003-10-13 André Pönitz <poenitz@gmx.net>
4251 * BufferView_pimpl.C:
4256 * undo_funcs.[Ch]: use paroffset_type instead of
4257 ParagraphList::iterators to prevent multiple conversion
4258 (and get a more robust interface)
4260 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4264 * text3.C (dispatch): ditto
4266 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4268 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4269 move the onlyfile, use onlyfile instead of foundfile in a couple
4272 * DepTable.C (update): flush the error stream a bit more
4274 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * lyxserver.C (callback): adjust
4278 * lyxfunc.C (getStatus): add a missing brace in commented code
4279 (ensureBufferClean): reindent
4280 (dispatch): delete version taking a string
4282 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * LaTeX.C (deplog): move found file handlig from here...
4285 (handleFoundFile): .. to new function here.
4286 (deplog): make sure to discover several files mentioned on the
4289 2003-10-10 André Pönitz <poenitz@gmx.net>
4296 * text3.C: fix some of the tabular crashes
4298 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4300 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4302 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4304 2003-10-09 André Pönitz <poenitz@gmx.net>
4306 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4309 * BufferView_pimpl.C:
4310 * bufferview_funcs.C:
4321 * undo_funcs.C: adjust
4323 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * text2.C (incrementItemDepth): new function, use a backtracking
4326 algorithm to discover the correct item depth.
4327 (resetEnumCounterIfNeeded): new function, use a backtracking
4328 algorithm to discover if counter reset is needed.
4329 (setCounter): use them. Simplify a bit. Add different labels for
4330 different item depths for itemize.
4332 * paragraph.C (Paragraph): remove initialization of enumdepth
4335 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4336 enumerate and itemize. Change the type of itemdepth to signed char.
4338 2003-10-08 André Pönitz <poenitz@gmx.net>
4340 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4345 * tabular.[Ch]: fix crash after 'row-insert'
4347 2003-10-08 Angus Leeming <leeming@lyx.org>
4349 Fix doxygen warnings.
4351 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4352 Remove CutAndPaste:: prefix from header file declaration.
4354 * LColor.h (fill): remove LColor:: prefix from declaration.
4356 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4357 use lyx::depth_type rather than Paragraph::depth_type so that
4358 header file and .C file match.
4360 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4362 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4363 * aspell.C: \file aspell_local.C -> \file aspell.C
4364 * gettext.C: \file gettext.C -> \file src/gettext.C
4365 * gettext.h: \file gettext.h -> \file src/gettext.h
4366 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4367 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4368 * text.C: \file text.C -> \file src/text.C
4370 * toc.C: move comment so that doxygen is not confused.
4372 2003-10-07 Angus Leeming <leeming@lyx.org>
4374 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4376 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4379 * aspell_local.h: add forgotten std::string's.
4381 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4388 * text3.C: The Box patch. Fancybox support, minipage, parbox
4390 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4396 * ParagraphParameters.h:
4406 * lyxtextclasslist.h:
4409 * paragraph_pimpl.C:
4410 * textcursor.h: add <string> and other small fixes to make Lars'
4411 std::string patch compile with STLport.
4413 2003-10-06 Angus Leeming <leeming@lyx.org>
4415 * LColor.h: Add missing #include <string>.
4417 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * All most all file in all subdirs: Make <string> be the prefered
4420 way of getting to std::string, add using declarations.
4422 2003-10-06 André Pönitz <poenitz@gmx.net>
4424 * metricsinfo.C: initialize LyXFont before changing attribute.
4425 (fixes the 'math in \emph is upright' bug)
4427 2003-10-06 André Pönitz <poenitz@gmx.net>
4429 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4431 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4434 * paragraph_pimpl.C: Small fixes to build using STLport
4436 2003-10-02 André Pönitz <poenitz@gmx.net>
4439 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4441 2003-10-01 André Pönitz <poenitz@gmx.net>
4443 * factory.C: assert early
4445 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * lyx_main.C: remove the global debug object
4449 * debug.h: adjust for new debugstream
4451 * debug.C: adjust for new debugstream and keep the global debug
4454 2003-09-22 Angus Leeming <leeming@lyx.org>
4456 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4457 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4458 an incomplete class LyXFont.
4460 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4462 * factory.C: bug fix in branches
4464 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * lyxfunc.C (processKeySym): adjust
4468 (dispatch): change arg name from ev to func, adjust
4469 (sendDispatchMessage): ditto
4471 * lyx_main.C (defaultKeyBindings): adjust keybindings
4472 (deadKeyBindings): ditto
4474 * kbsequence.C (addkey): return a FuncRequest
4476 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4478 * kbmap.C (bind): take a FuncRequest as arg, adjust
4481 (defkey): change to take a FuncRequest as arg, adjust
4482 (findbinding): take a FuncRequest as arg, adjust.
4484 * funcrequest.h (operator=): added
4486 * funcrequest.C (FuncRequest): default kb_action changed from
4487 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4489 * buffer.C (dispatch): simplify
4490 (dispatch): adjust to take a FuncRequest as arg, adjust
4492 * boost.C (assertion_failed): change assertion message slightly
4494 * ToolbarBackend.C (read): simplify
4496 * MenuBackend.C (binding): adjust call to findbinding, add a
4497 message if no binding is found.
4499 (expandToc): correct by adding a empty FuncRequest
4501 * LyXAction.C: include <boost/assert.hpp>
4502 (isPseudoAction): delete function
4503 (LookupFunc): change name to...
4504 (lookupFunc): this. change return type to FuncRequest.
4505 (getActionName): take kb_action as arg, simplify
4506 (funcHasFlag): add an assert, simplify.
4508 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4510 * toc.C (action): return a FuncRequest, simplify
4512 * lyxfunc.C (processKeySym): adjust
4513 (getStatus): delete version that takes an int.
4515 (dispatch): delete version that takes action as int
4517 (sendDispatchMessage): simplify and adjust
4519 * funcrequest.C (getArg): take unsigned int as arg
4521 * ToolbarBackend.C (read): adjust
4522 (add): delete version that takes func as a string.
4523 (getIton): take a FuncRequest as arg
4525 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4528 * MenuBackend.C (MenuItem): add a new construct that only takes a
4529 Kind, simplify the constructor use for submenus.
4531 (expandLastfiles): adjust
4532 (expandDocuments): adjust
4533 (expandFormats): adjust
4534 (expandFloatListInsert): adjust
4535 (expandFloatInsert): adjust
4536 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4538 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4539 Remove class variables lyx_pseudo_map and lyx_arg_map
4541 * LyXAction.C (searchActionArg): delete function
4542 (getPseudoAction): delete function
4543 (retrieveActionArg): delete function
4544 (LookupFunc): make it return kb_action, simplify.
4545 (getActionName): simplify
4547 * factory.C (createInset): fix new bug
4549 2003-09-19 Angus Leeming <leeming@lyx.org>
4551 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4552 masterFilename_ parameter in the include inset.
4554 * factory.C (createInset): changes due to the changes to InsetInclude.
4556 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4558 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4560 2003-09-18 Angus Leeming <leeming@lyx.org>
4563 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4564 Inset::fillWithBibKeys.
4565 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4567 2003-09-18 Angus Leeming <leeming@lyx.org>
4569 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4571 (ctor): pass and store a 'Buffer const &'
4572 (buffer): new member function.
4574 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4575 '*this' to the LaTeXFeatures ctor.
4577 2003-09-18 Angus Leeming <leeming@lyx.org>
4583 * text.C: rename EnumLColor as LColor_color.
4585 2003-09-18 Angus Leeming <leeming@lyx.org>
4587 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4588 remove #include "insets/insetbase.h" from cursor.h.
4590 2003-09-18 Angus Leeming <leeming@lyx.org>
4592 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4593 InsetOld_code to remove #include "inset.h".
4595 * iterators.C: add #include "insets/inset.h"
4597 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4599 * BufferView.C: remove more locking stuff that apparently doesn't
4600 do anything sensible.
4602 2003-09-16 André Pönitz <poenitz@gmx.net>
4605 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4608 2003-09-16 Angus Leeming <leeming@lyx.org>
4610 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4612 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4615 * paragraph.h: remove #include "lyxfont.h". Forward declare
4618 2003-09-16 Angus Leeming <leeming@lyx.org>
4620 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4621 of support/textutils.h.
4622 (isWord): move the contents of support/textutils.h's IsWordChar here.
4628 * text2.C: add #include "paragraph.h".
4631 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4633 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * LaTeX.C: use namespace alias for lyx::support::os
4641 2003-09-16 Angus Leeming <leeming@lyx.org>
4644 * bufferview_funcs.C:
4647 * paragraph_pimpl.C:
4649 * text.C: add #include "LColor.h".
4651 2003-09-16 Angus Leeming <leeming@lyx.org>
4653 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4654 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4656 Store the FontBits::color variable as an int rather than as an
4657 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4660 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4661 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4662 string calls together.
4664 * lyxrc.C: add #include "LColor.h".
4666 2003-09-15 Angus Leeming <leeming@lyx.org>
4668 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4671 2003-09-15 Angus Leeming <leeming@lyx.org>
4673 * LColor.h: add an EnumLColor wrapper for LColor::color.
4675 * lyxfont.[Ch] (color, setColor, realColor):
4676 * lyxtext.h, text.C (backgroundColor):
4677 pass EnumLColor args to/from the functions, rather than LColor::color
4681 * lyxtext.h: forward declare EnumLColor.
4683 * lyx_main.C: add #include "LColor.h".
4685 2003-09-15 Angus Leeming <leeming@lyx.org>
4687 * .cvsignore: add lyx-gtk.
4689 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * ParagraphParameters.C
4698 * bufferview_funcs.C
4708 * vc-backend.C: remove usage of STRCONV
4710 2003-09-15 Angus Leeming <leeming@lyx.org>
4712 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4713 explicitly define the color passed to the painter.
4715 2003-09-15 Angus Leeming <leeming@lyx.org>
4717 * bufferparams.C (BufferParams): reorder member initializers to avoid
4720 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4722 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4723 * text.C (updateRowPositions): remove an unusual nop
4725 2003-09-12 André Pönitz <poenitz@gmx.net>
4727 * BufferView_pimpl.C:
4736 * Counters.[Ch]: finish the 'automatic counters' job
4738 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4740 * aspell.C: include <boost/assert.cpp> (compile fix)
4742 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4744 * boost.C (assertion_failed): use lyx::support::abort instead of
4747 2003-09-10 Angus Leeming <leeming@lyx.org>
4749 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4750 with their _fwd progeny.
4752 2003-09-09 Angus Leeming <leeming@lyx.org>
4754 134 files throughtout the source tree: replace 'using namespace abc;'
4755 directives with the appropriate 'using abc::xyz;' declarations.
4757 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4759 * boost.C (emergencyCleanup): moved here from LAssert.c
4760 (assertion_failed): new function, called by BOOST_ASSERT
4762 * several files: change Assert to BOOST_ASSERT
4764 2003-09-09 Angus Leeming <leeming@lyx.org>
4766 * buffer.[Ch]: Add an Impl class and move Buffer's member
4767 variables into it. As a result move several header files out of
4770 Add header files to lots of .C files all over the tree as a result.
4772 2003-09-09 Angus Leeming <leeming@lyx.org>
4774 * buffer.[Ch]: make Buffer's member variables private. Add
4777 Lots of changes all over the tree as a result.
4779 2003-09-08 Angus Leeming <leeming@lyx.org>
4781 * graph.C: #include <config.h>.
4783 2003-09-08 Angus Leeming <leeming@lyx.org>
4787 * BufferView_pimpl.C:
4816 * toc.C: remove redundant using directives.
4818 2003-09-07 Angus Leeming <leeming@lyx.org>
4820 * LaTeXFeatures.h: remove #include "support/types.h".
4821 * ToolbarBackend.h: remove #include <algorithm>.
4822 * changes.h: remove #include <ctime>.
4823 * debug.h: remove #include <iosfwd>.
4824 * graph.h: remove #include "support/std_string.h".
4825 * lyx_main.h: remove #include <csignal>.
4826 * lyxlex_pimpl.h: remove #include <fstream>.
4827 * sgml.h: remove #include <algorithm>, <utility>.
4828 * toc.h: remove #include "support/std_ostream.h".
4829 Add #include <iosfwd>.
4831 2003-09-07 Angus Leeming <leeming@lyx.org>
4833 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4835 * converter.h: forward declare LatexRunParams.
4836 * encoding.h: remove #include "lyxrc.h".
4837 * lyxtext.h: remove #include "LColor.h".
4838 * lyxtextclass.h: remove #include "support/types.h".
4839 * trans.h: remove #include "tex-accent.h".
4840 * trans_mgr.h: remove #include "tex-accent.h".
4841 * insets/inset.h: remove #include "support/types.h", <vector>.
4842 * insets/insetcollapsable.h: remove #include "LColor.h".
4843 * insets/insetinclude.h: remove #include "dimension.h".
4844 * insets/insetlatexaccent.h: remove #include "dimension.h".
4845 * insets/insetoptarg.h:: remove #include "insettext.h".
4846 * insets/insettext.h: remove #include "dimension.h",
4847 <boost/shared_ptr.hpp>
4849 * insets/renderers.h: add #include "dimension.h".
4850 * insets/updatableinset.h: add #include "support/types.h".
4852 * many .C files: Associated changes.
4854 2003-09-06 Angus Leeming <leeming@lyx.org>
4856 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4857 one, inside testInvariant.
4859 * PrinterParams.C: new file.
4860 * PrinterParams.[Ch]: move the function bodies out of line.
4862 2003-09-06 Angus Leeming <leeming@lyx.org>
4864 * ParagraphParameters.h: forward declare ParameterStruct rather than
4865 including its header file.
4866 (depth): moved out-of-line.
4868 2003-09-06 Angus Leeming <leeming@lyx.org>
4870 * BufferView_pimpl.h:
4873 * lyxfunc.h: forward declare LyXKeySym rather than
4874 #include "frontends/LyXKeySym.h".
4876 * BufferView_pimpl.C:
4879 * lyxfunc.C: associated changes.
4881 2003-09-06 Angus Leeming <leeming@lyx.org>
4883 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4884 As a result, can remove the #include "insets/inset.h" from BufferView.h
4886 2003-09-06 Angus Leeming <leeming@lyx.org>
4888 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4889 As a result, can remove the #include "insets/inset.h" from BufferView.h
4891 2003-09-06 Angus Leeming <leeming@lyx.org>
4897 * bufferview_funcs.C:
4898 * BufferView_pimpl.C:
4903 * ParagraphParameters.C:
4908 * frontends/controllers/ControlDocument.C:
4909 * insets/insetcaption.C: rearrange the #includes into some sort of
4912 * buffer.h: remove #includes ErrorList.h, undo.h
4914 2003-09-06 Angus Leeming <leeming@lyx.org>
4916 * support/types.h: add a 'depth_type' typedef, used to store the
4917 nesting depth of a paragraph.
4920 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4921 defining explicitly.
4924 * paragraph_funcs.h:
4925 * ParagraphParameters.h:
4926 * sgml.h: use lyx::depth_type rather than Paragraph or
4927 ParameterStruct's depth_type.
4930 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4933 * BufferView_pimpl.C:
4935 * ParagraphParameters.C:
4938 * bufferview_funcs.C:
4945 * frontends/LyXView.C:
4946 * frontends/controllers/ControlDocument.C:
4947 * frontends/controllers/ControlErrorList.C:
4948 * insets/insetbibitem.C:
4949 * insets/insetbranch.C:
4950 * insets/insetcaption.C:
4951 * insets/insetcollapsable.C:
4952 * insets/insetenv.C:
4953 * insets/insetert.C:
4954 * insets/insetfloat.C:
4955 * insets/insetfoot.C:
4956 * insets/insetfootlike.C:
4957 * insets/insetnewline.C:
4958 * insets/insetquotes.C:
4959 * insets/insettabular.C:
4960 * insets/insettext.C:
4961 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4963 * frontends/controllers/ControlChanges.C: #include "changes.h".
4965 2003-09-06 Angus Leeming <leeming@lyx.org>
4967 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4968 than #including paragraph.h.
4971 * RowList.h: deleted. Superfluous.
4981 * insets/insettext.h: use ParagraphList_fwd.h rather than
4984 * paragraph.h: don't forward declare ParagraphList.
4987 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4988 rather than ParagraphList.h. paragraph.h is still needed for the
4989 Paragraph::depth_type parameters.
4991 * textcursor.h: enable it to compile stand-alone in light of the
4994 * bufferview_funcs.C:
5006 * frontends/controllers/ControlParagraph.C:
5007 * frontends/controllers/ControlTabular.C:
5008 * insets/insetmarginal.C:
5009 * insets/insetminipage.C:
5010 * insets/insetnote.C:
5011 * insets/insetoptarg.C: add header files needed to compile again.
5013 2003-09-06 Angus Leeming <leeming@lyx.org>
5015 * RowList_fwd.h: new file, forward-declaring Row rather than
5016 #including lyxrow.h.
5021 * insets/insettext.h: use it instead of RowList.h
5023 * bufferview_funcs.C:
5030 * text3.C: #include "RowList.h".
5032 2003-09-05 Angus Leeming <leeming@lyx.org>
5034 * factory.C (createInset):
5035 * vspace.C (c-tor): replace sscanf call with an istringstream.
5036 * ispell.C: re-add missing HP/UX headers.
5037 * lyxserver.C: re-add missing os2 headers.
5039 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5048 * text3.C: re-add missing system headers, needed for 2.95.2.
5050 2003-09-05 Angus Leeming <leeming@lyx.org>
5052 Changes most place everywhere due to the removal of using directives
5053 from support/std_sstream.h.
5055 2003-09-05 Angus Leeming <leeming@lyx.org>
5057 Replace LString.h with support/std_string.h,
5058 Lsstream.h with support/std_sstream.h,
5059 support/LIstream.h with support/std_istream.h,
5060 support/LOstream.h with support/std_ostream.h.
5062 Changes resulting throughout the tree.
5064 2003-09-05 Angus Leeming <leeming@lyx.org>
5066 * sgml.h: ensure that the header file can be compiled stand-alone.
5067 * *.C: strip out redundant #includes. (320 in total.)
5069 2003-09-04 Angus Leeming <leeming@lyx.org>
5071 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5072 here (from getPackages).
5074 * debug.[Ch]: add a new EXTERNAL tag.
5076 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5078 * text2.C (cursorEnd): simplify
5080 (getColumnNearX): adjust
5082 * text.C (computeBidiTables): adjust
5085 * rowpainter.C (paintChars): adjust
5086 (paintSelection): adjust
5087 (paintChangeBar): adjust
5090 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5092 (numberOfSeparators): adjust
5094 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5100 * text3.C: Restricts the mouse click functionality
5101 of insets like bibtex, include, toc and floatlist to the visible
5102 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5103 up the dialogs. Cursor has to be in front of the inset (i.e.
5104 start of row) for this to function.
5106 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5108 * bufferview_funcs.C (currentState): output row information
5110 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5112 * bufferview_funcs.C (currentState): output paragraph position
5114 2003-09-04 Angus Leeming <leeming@lyx.org>
5116 * FloatList.h: move out #include "Floating.h".
5117 * LaTeX.h: move out #include "DepTable.h".
5118 * LyXAction.h: move out #include "funcrequest.h".
5119 * buffer.h: move out #include "author.h", "iterators.h".
5120 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5121 * lyx_main.h: move out #include "errorlist.h".
5122 * lyxfunc.h: move out #include "FuncStatus.h".
5123 * lyxtext: move out #include "lyxcursor.h".
5124 * paragraph_pimpl.h: move out #include "counters.h".
5126 2003-09-03 Angus Leeming <leeming@lyx.org>
5128 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5129 preamble_snippets list, enabling us to add snippets to the preamble
5130 only if the snippet was not there already.
5132 2003-09-04 Angus Leeming <leeming@lyx.org>
5134 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5136 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5141 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5143 * BranchList.C: point fix, earlier forgotten
5145 2003-09-02 Angus Leeming <leeming@lyx.org>
5147 * box.C (contains): renamed from 'contained' after a fantastic
5150 2003-09-02 John Levon <levon@movementarian.org>
5156 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5158 2003-09-02 John Levon <levon@movementarian.org>
5160 * text2.C: simplification of cursorEnd(), including partial
5163 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * buffer.C (readFile): add a space
5167 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5169 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5171 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5173 * buffer.C (readFile): new function, take a filename and a
5174 ParagraphList::iterator
5176 (readFile): adjust, make it private. don't use setStream, make
5177 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5178 always contain the filename.
5180 * BufferView.C (insertLyXFile): simplify and make it work for
5183 2003-08-30 John Levon <levon@movementarian.org>
5185 * Makefile.am: fix dist (from Kayvan)
5187 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * most files: change to use const Buffer refs
5191 2003-08-27 André Pönitz <poenitz@gmx.net>
5193 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5194 on top of ownerPar().
5196 2003-08-27 John Levon <levon@movementarian.org>
5198 * funcrequest.C: properly initialise POD members
5200 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5202 * lyxtext.h (top_y): move top_y from here
5207 * BufferView_pimpl.[Ch]: to here
5208 * frontends/screen.C:
5209 * insets/insettabular.C:
5210 * insets/insettext.C: adjust
5211 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5213 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5216 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5218 2003-08-26 André Pönitz <poenitz@gmx.net>
5220 * paragraph_func.[Ch] (outerPar): new function
5223 * paragraph_funcs.C:
5224 * paragraph_funcs.h:
5225 * paragraph_pimpl.C:
5226 * text2.C: remove Inset::par_owner
5228 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5233 * text2.C: eliminates the needFullRow/display() stuff
5234 altogether, putting the logic in metrics/draw in the insets.
5236 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5238 * text2.C (redoParagraphInternal, redoParagraphs):
5239 * text.C (redoParagraph): add a call to updateRowPositions at the
5240 end of each 'metrics-like' call. Remove all others.
5241 (getRow): remove the 'y-computing' version.
5242 (getRowNearY): do not compute nor return the real y. Solve the
5243 'y < 0' problem and simplify.
5245 2003-08-22 Angus Leeming <leeming@lyx.org>
5247 * *.[Ch]: clean-up of licence and author blurbs.
5248 Also move config.h out of a few .h files and into a few .C files.
5250 2003-08-22 André Pönitz <poenitz@gmx.net>
5252 * lyxrow.[Ch]: add x_ and *fill_ members
5257 * text2.C: adjust/remove prepareToPrint() calls
5259 2003-08-22 André Pönitz <poenitz@gmx.net>
5261 * lyxrow.[Ch]: add end_ member
5263 * lyxrow_funcs.C: use LyXRow::end_
5265 * lyxtext.h (singleWidth): add LyXFont parameter
5268 * text2.C: adjust LyXText::singleWidth() calls
5270 * text.C (redoParagraph): simplify row breaking logic
5273 2003-08-19 André Pönitz <poenitz@gmx.net>
5275 * funcrequest.C: initialize button_ member
5278 * rowpainter.[Ch]: interface consolidation
5280 2003-08-18 André Pönitz <poenitz@gmx.net>
5283 * BufferView_pimpl.C:
5285 * paragraph_funcs.C:
5287 * text3.C: remove LyXScreen::draw() and fitCursor calls
5289 * BranchList.h: remove spurious semicolons
5291 * MenuBackend.C: fix branchlist related crash
5293 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5301 * bufferparams.[Ch]:
5305 * text3.C: implements the 'branch inset'
5306 idea. This allows the output of various versions of a document
5307 from a single source version, selectively outputing or suppressing
5308 output of parts of the text.
5309 This implementation contains a 'branch list editor' in a separate
5310 tab of the document settings dialog. Branches are user definable
5311 and have a "display colour" to distinguish them on-screen.
5313 ColorHandler was somewhat cleaned up.
5314 (1) make possible a dynamically growing LColor list by allowing
5315 the graphic context cache to grow along (vector);
5316 (2) eliminate an IMHO unnecessary step in colour allocation.
5318 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5320 * BufferView_pimpl.C: compile fix
5322 2003-08-15 André Pönitz <poenitz@gmx.net>
5324 * rowpainter.C: remove extra metrics calls
5326 * lyxtext.h: merge the two constructors into a single one,
5327 pass reference to owner's par list
5329 * BufferView_pimpl.C:
5333 2003-08-15 André Pönitz <poenitz@gmx.net>
5335 * lyxrow_funcs.[Ch]:
5338 * paragraph_funcs.C:
5343 * text_funcs.C: split LyXText::rowlist_ into individual
5344 Paragraph::rows_ chunks
5347 * BufferView_pimpl.[Ch]:
5350 * text3.C: remove toggleSelection()
5352 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5354 * bufferlist.C: beautify two alerts (shorter text of buttons)
5355 * buffer.C: Remove redundant ' ' from message
5357 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5358 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5359 rename VALIGN_CENTER to VALIGN_MIDDLE
5361 2003-08-11 André Pönitz <poenitz@gmx.net>
5363 * lyxtext.h (getPar):
5364 * text.C: new function
5366 2003-08-11 André Pönitz <poenitz@gmx.net>
5369 * tracer.[Ch]: remove unneeded files
5371 * InsetList.[Ch]: remove resizeInsetsLyXText()
5376 * text3.C: merge insertParagraphs() and appendParagraph()
5377 remove breakAgain(), update()
5379 * BufferView_pimpl.[Ch]:
5380 * bufferview_funcs.[Ch]:
5384 * tabular.C: adjust after text & InsetList changes.
5386 2003-08-08 André Pönitz <poenitz@gmx.net>
5388 * text.C (insertChar, backspace): replace rowlist fiddling
5389 with rebreak of full par
5392 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5393 checkParagraph, updateInset): removed
5395 2003-08-07 André Pönitz <poenitz@gmx.net>
5398 * text3.C: merge some LFUN handlers, remove dead code
5400 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5402 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5404 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5406 * text2.C (DEPM): fix part of bug 1255 and 1256
5408 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5410 * BufferView_pimpl.C (workAreaDispatch): change to use
5411 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5412 that are no mouse related.
5414 2003-08-05 André Pönitz <poenitz@gmx.net>
5417 * BufferView_pimpl.[Ch]:
5418 * bufferview_funcs.C:
5420 * text3.C: rip out "deep update"
5422 * textcursor.[Ch] (last_sel_cursor): remove unused member
5424 2003-08-04 André Pönitz <poenitz@gmx.net>
5427 * BufferView_pimpl.[Ch]:
5428 * ParagraphParameters.C:
5429 * bufferview_funcs.C:
5435 * text3.C: replace "complicated" BufferView::update(...) calls with
5438 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5440 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5442 * Makefile.am (lyx_SOURCES): add paper.h
5444 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5446 * Makefile.am: move things around so that both lyx-qt and
5447 lyx-xforms can be built (according to --with-frontend). Then lyx
5448 is a symbolic link to lyx-[firstfrontend]
5450 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5452 * Always use std::endl with lyxerr
5454 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5456 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5458 2003-08-01 André Pönitz <poenitz@gmx.net>
5461 * BufferView_pimpl.[Ch]:
5463 * text3.C: merge BufferView::repaint() and BufferView::update()
5465 2003-08-01 José Matos <jamatos@lyx.org>
5467 * buffer.[Ch]: file_format is no longer a buffer data element.
5469 2003-08-01 André Pönitz <poenitz@gmx.net>
5474 * text2.C: make redoParagraph more independent of current cursor
5476 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5478 * text2.C: remove unneeded members
5480 2003-07-30 André Pönitz <poenitz@gmx.net>
5482 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5484 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5485 create a single function...
5487 * paragraph_funcs.C (moveItem): ... here.
5490 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5492 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5494 * LColor.[Ch]: Add comment and greyedout logical colors.
5496 2003-07-30 André Pönitz <poenitz@gmx.net>
5498 * tabular.C: don't use Assert too heavily. This crashes where it
5501 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5503 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5504 is disabled (bug 1232)
5506 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5508 * factory.C: limited 'arg' scope
5510 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5512 * factory.C: fixed Note submenu issues
5514 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5516 * factory.C: submenu for Note/Comment/Greyedout
5518 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5521 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5523 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5526 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5527 greyedout. Patch provided by Jürgen Spitzmüller.
5529 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5531 * kbmap.C (read): fix error message when reading bind files
5533 2003-07-29 Angus Leeming <leeming@lyx.org>
5535 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5536 certainly does not do what it purports to do. I am doing it, and
5537 us, a favour by killing it.
5539 2003-07-28 José Matos <jamatos@lyx.org>
5541 * buffer.C (readBody, do_writeFile):
5542 * paragraph.C(readParagraph): \end_document replaces \the_end.
5544 2003-07-29 André Pönitz <poenitz@gmx.net>
5547 * BufferView_pimpl.[Ch]:
5551 * textcursor.[Ch]: remove toggleToggle & Co
5553 2003-07-28 José Matos <jamatos@fep.up.pt>
5555 * buffer.C (readParagraph):
5556 * params_func (readParToken, readParagraph):
5557 * paragraph.C (write): \layout -> \begin_layout.
5559 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * lyxlex_pimpl.C (setFile): clean up slightly.
5563 * bufferparams.h: add compressed var
5565 * buffer_funcs.C (readFile): adjust for LyXLex change
5566 (newFile): ditto + simplify
5568 * buffer.C (writeFile): handle writing of compressed files
5570 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5571 Check if the file is compressed and set a bufferparm if so.
5573 * Makefile.am (lyx_LDADD): remove explicit -lz
5575 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5577 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5578 makeDocBookFile): put the real LyX version in the first line of
5582 * version.C.in: remove lyx_docversion
5584 * tabular.C (write_attribute): add a template-based version to
5585 write enums properly
5587 2003-07-28 André Pönitz <poenitz@gmx.net>
5592 * text3.C: use doubles again for x-coordinates. They are needed.
5594 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * messages.C (getLocaleDir): use lyx_localedir()
5598 * lyxlex_pimpl.C (setFile): compress stuff
5600 * buffer.C (writeFile): add some compression stuff
5601 (do_writeFile): new func, dont call expliti close... will this
5604 * Makefile.am (lyx_LDADD): add -lz
5606 2003-07-28 José Matos <jamatos@fep.up.pt>
5608 * buffer.C: increment file format.
5609 * paragraph_funcs (readParagraph, readParToken):
5610 * paragraph.C (readParagraph): add \end_layout.
5612 2003-07-27 Angus Leeming <leeming@lyx.org>
5614 * Makefile.am: remove special casing for configure-time setting of
5615 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5617 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5618 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5620 2003-07-26 André Pönitz <poenitz@gmx.net>
5622 * paragraph_func.[Ch]:
5623 * paragraph.C (realizeFont): inline it whereever it is used
5628 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5631 2003-07-26 André Pönitz <poenitz@gmx.net>
5635 * text2.C: get rid of LyXText::need_break_row
5637 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * toc.[Ch]: put namespace toc inside namespace lyx
5641 * MenuBackend.C (expandToc2): adjust for lyx::toc
5644 * lyxfunc.C (dispatch): adjust for lyx::find
5646 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5647 lyx::find instead. Reorganize a bit.
5648 (LyXReplace): rename to replace
5649 (LyXFind): rename to find
5651 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5654 2003-07-26 André Pönitz <poenitz@gmx.net>
5656 * text.C (setHeightOfRow): restrict scope of temporary variable
5658 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5659 code (never has been used?)
5661 2003-07-27 Asger Alstrup <alstrup@local>
5663 * text.C (fill): Optimise algorithm to exploit that we can reuse
5664 the LyXFont for many characters.
5665 (setHeightOfRow): Same thing.
5666 (rowBreakPoint): Same thing.
5668 2003-07-26 Asger Alstrup <alstrup@local>
5670 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5672 * text.C (singleWidth): Spurious font copying in hot-spot
5673 singleWidth avoided. Reorder tests for arabic for efficiency.
5675 * text.C (fill): handle empty paragraphs better.
5677 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5680 * encoding.h: add includes
5682 * lyxrc.C: remove reading of bind files
5684 * lyx_main.C (init): setup bindings and menus only if we have a
5687 * kbmap.C (read): new method. Do the actual reading of bind
5690 * converter.C (dvipdfm_options):
5693 (output): adapt PAPER_* enums.
5695 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5697 * bufferparams.h: remove paper-related enums from there
5699 * paper.h: New file. A trivial header file to hold paper-related
5700 enums. It should later expand to contain many paper-related
5703 * lyxrc.C: declare extern displayTranslator
5705 2003-07-27 José Matos <jamatos@fep.up.pt>
5707 * tabular.[Ch] (linuxdoc): add support for tables and figures
5710 2003-07-27 José Matos <jamatos@fep.up.pt>
5712 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5713 consistency in both functions.
5714 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5716 2003-07-26 Asger Alstrup <alstrup@local>
5718 * rowpainter.C (paintRows): Change algorithm to work directly on
5719 the insets rather than asking every character in the document
5720 whether its an inset.
5722 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5724 * buffer.C (openFileWrite): factorize some code
5726 2003-07-26 Angus Leeming <leeming@lyx.org>
5729 * lyx_main.[Ch]: replace occurances of system_tempdir with
5732 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * rename Inset to InsetOld
5736 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5738 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5739 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5740 which I think is a bit clearer. EDIT is gone, since it was
5741 premature optimisation, and broken for mathed anyway.
5742 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5743 with cursor positioning in insets as well (math insets still do not
5744 work, but that's a different story anyway.) It mysteriously
5745 crashes sometimes with undo in the first paragraph, but I'm fairly
5746 confident that this is a compiler bug.
5748 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5750 * paragraph.C (Paragraph): adjust for new clone return type
5752 (copyIntoMinibuffer): ditto
5754 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5756 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5757 by not having a special case, and always doing a full rebreak of
5758 the document after undo.
5760 2003-07-23 Angus Leeming <leeming@lyx.org>
5762 * factory.C (createInset): InsetExternal::setParams now takes a
5765 2003-07-23 Angus Leeming <leeming@lyx.org>
5767 * factory.C (createInset): changed interface to the external and
5768 graphics mailers' string2params functions.
5770 2003-07-23 Angus Leeming <leeming@lyx.org>
5772 * factory.C (createInset): pass a
5773 Buffer const * parameter to InsetExternalMailer's string2params.
5775 2003-07-22 John Levon <levon@movementarian.org>
5777 * Thesaurus.h: include the right aiksaurus header
5779 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5781 * MenuBackend.C (expand): check menu shortcuts unconditionally
5783 2003-07-21 Angus Leeming <leeming@lyx.org>
5785 * factory.C (createInset): pass a
5786 buffer_path parameter to InsetGraphicsMailer's string2params.
5788 2003-07-21 Angus Leeming <leeming@lyx.org>
5790 * BufferView_pimpl.C (buffer):
5793 * lyxfunc.C (dispatch):
5794 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5795 rather than the grfx shortcut.
5797 2003-07-21 André Pönitz <poenitz@gmx.net>
5799 * rowpainter.C: remove unused variables
5802 * tabular_funcs.h: move to tabular.C
5803 * Makefile.am: adjust
5805 * tabular.[Ch]: basic optical cleaning
5807 * author.h: pass references, not values
5809 2003-07-18 André Pönitz <poenitz@gmx.net>
5817 * text3.C: two-phase drawing for InsetText and InsetTabular
5818 some float -> int changes.
5820 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5822 * lyx_main.C: fix the fix
5824 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5826 * lyx_main.C: fix a crash in batch mode if no files specified
5829 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5831 * format.[Ch] (papersize): moved to BufferParams
5832 * converter.[Ch] (dvips_options): moved to BufferParams
5833 (dvipdfm_options): moved to anon namespace
5834 * bufferparams.[Ch]: added above functions.
5836 2003-07-17 André Pönitz <poenitz@gmx.net>
5840 * text2.C: don't call inset->update() anymore
5842 * metricsinfo.[Ch]: add convenience constructor
5844 2003-07-16 André Pönitz <poenitz@gmx.net>
5849 * text2.C: replace the LyXCursor::irow_ member with
5850 on-demand computation of the value
5852 2003-07-16 John Levon <levon@movementarian.org>
5854 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5856 2003-07-15 André Pönitz <poenitz@gmx.net>
5859 * text2.C: remove no more needed refresh_row
5861 2003-07-15 André Pönitz <poenitz@gmx.net>
5866 * text3.C: refresh_status tristate -> need_update bool
5868 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5870 * lyxtext.h (init): remove reinit argument (act as if always true)
5871 * text2.C: adjust to that
5873 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5875 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5876 * text3.C: use it to delete selections in some cases
5877 (bugs 441, 673, 702, 954).
5879 2003-07-14 André Pönitz <poenitz@gmx.net>
5881 * rowpainter.[Ch]: reduce interface
5883 2003-07-14 André Pönitz <poenitz@gmx.net>
5885 * BufferView_pimpl.C:
5886 * text2.C: adjust after removing unused BufferView * argument
5888 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5890 * text2.C (init): fix a crash fired on resize
5892 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5894 * buffer.[Ch]: added new closing signal
5895 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5896 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5897 BufferView::Pimpl via the closing the signal
5899 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5901 * buffer.[Ch]: take out all bv-related from buffer
5903 * BufferView_pimpl.[Ch]: connect to new signals
5904 * CutAndPaste.C: removed useless asserts
5905 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5908 * lyxfunc.C: moved view-related funciontality from vc here
5909 * paragraph.C: removed outdated comments
5912 2003-07-10 André Pönitz <poenitz@gmx.net>
5914 * BufferView_pimpl.C:
5918 * text2.C: remove InsetText::InnerCache, clean up consequences
5920 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5922 * ispell.C: fix two typos in error messages
5924 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5926 * Extend Note inset to other forms of annotation like Comment
5927 and Greyedout. Right button click gives dialog.
5929 Files modified or added (+):
5933 * ControlNote.[Ch] +
5935 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5936 frontends/controllers
5940 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5942 * aspell.C: add missing namespace lyx::support
5944 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5946 * BufferView.[Ch] (newFile): Add
5947 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5948 * LaTeX.[Ch] (message): added this signal and use it
5949 * buffer.[Ch] (busy, message): added these signals and use them
5950 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5954 * importer.C: use buffer signals instead of direct bv calling
5955 * lyx_cb.[Ch] (ShowMessage): removed
5958 * paragraph_funcs.C:
5959 * text2.C: use buffer signals
5961 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * introduce namespace lyx::graphics
5965 2003-07-02 André Pönitz <poenitz@gmx.net>
5967 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5969 2003-07-01 André Pönitz <poenitz@gmx.net>
5976 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5977 text*.C to text_func.C
5979 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5981 * introduce namespace lyx::support
5983 2003-06-30 André Pönitz <poenitz@gmx.net>
5988 * text.C: re-enable --with-included-string
5990 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * textcursor.C: add <config.h>
5994 * text.C (getWord): remove const from word_location arg
5996 * lyxvc.C (getLogFile): fix const type order
5998 * lyxtext.h: remove const from word_location arg, add arg name
6000 * lyxlayout.h: currect type on labeltype.
6002 * importer.C: correct \file
6004 * converter.C (intToFormat): use std:: on ret val, ws changes
6006 * bufferlist.h: correct \file
6008 * buffer.C (makeLinuxDocFile): fix const type order
6009 (makeDocBookFile): ditto
6010 (fillWithBibKeys): use std:: on stdlib args.
6012 * CutAndPaste.C: fix authors.
6013 (availableSelections): use std:: on return vector
6015 2003-06-27 André Pönitz <poenitz@gmx.net>
6017 * BufferView_pimpl.C:
6018 * bufferview_funcs.C:
6026 * text3.C: remove LyXCursor::row_ member
6029 * text.C: rename fullRebreak() to partialRebreak() and implement
6030 a fullRebreak() that really bereks fully
6032 * textcursor.h: new struct for cursor-related data
6034 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6036 * lyx_main.C (LyX): get full path of document loaded on the
6039 2003-06-26 André Pönitz <poenitz@gmx.net>
6041 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6042 remove unused/broken operator>,<,>=.
6044 * text.C: remove only use of broken operator<= in an Assert().
6046 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6048 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6049 moved errorlist_.clear to showErrorList
6051 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6053 * converter.C (scanLog, runLaTeX):
6054 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6055 move the bv->showErrorList call to the callers
6056 * lyxfunc.C: i.e. here...
6058 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6059 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6060 namespace, the second to...
6061 * buffer_funcs (BufferFormat, parseErrors): added
6062 * errorlist.C (ErrorList(TeXErrors const &)): removed
6064 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6066 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6068 2003-06-24 "Garst R. Reese" <reese@isn.net>
6072 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6074 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6076 * version.C.in: change docversion to 1.4
6078 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6080 * buffer.C: fix a bug just introduced
6082 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6084 * buffer.[Ch]: added the parseError signal and use it, removed
6086 * BufferView.[Ch] (addError): moved to ...
6087 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6088 to the Buffer::parseError signal to catch (guess what) parse errors
6089 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6091 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6093 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6094 ability to create a buffer and to return an existing one from
6095 the list. Moved these functions to...
6096 * buffer_funcs.[Ch]: added
6097 * BufferView.[Ch] (loadLyXFile): added
6098 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6099 job removed from bufferlist::loadLyXFile.
6100 * buffer.C (setReadOnly): make it work without view
6101 (i.e added an if (users))
6103 2003-06-19 Angus Leeming <leeming@lyx.org>
6106 * LyXAction.C (init):
6107 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6108 with LFUN_DIALOG_SHOW <name> <data>.
6110 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6112 * CutAndPaste.C (availableSelections): small compilation fix for
6113 ancient (gcc 2.9x) compilers
6115 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * text3.C (cursorNext): add tmp var
6119 * text2.C (updateCounters): for function calling out of for clause
6120 (replaceSelectionWithString): ditto
6121 (insertStringAsParagraphs): ditto
6122 (getColumnNearX): add tmp var
6123 (setCursorFromCoordinates): add tmp var
6124 (cursorDownParagraph): add tmp var
6125 (deleteEmptyParagraphMechanism): add tmp var
6127 * text.C (insertChar): add tmp var
6129 * rowpainter.C (paintDepthBar): add tmp var
6131 * CutAndPaste.C (availableSelections): potentially check all
6132 paragraphs in a cut to fill the shown strings.
6134 2003-06-18 André Pönitz <poenitz@gmx.net>
6136 * kbmap.[Ch]: use vector<> instead of list<>
6138 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6140 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6141 pasteSelection with index
6143 * text2.C (pasteSelection): modify, call pasteSelection with index
6145 * paragraph.C (asString): reimplement version with no interval to
6146 call the one with interval.
6148 * lyxtext.h: add index arg to pasteSelection
6150 * MenuBackend.C (MenuItem): handle PasteRecent
6151 (Menu::read::Menutags): add md_pasterecent
6153 (expandPasteRecent): new function
6156 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6158 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6160 (availableSelections): new function
6162 2003-06-17 Angus Leeming <leeming@lyx.org>
6164 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6166 2003-06-17 Angus Leeming <leeming@lyx.org>
6169 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6171 * lyxfunc.C (dispatch): invoke it.
6173 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6175 * iterators.C (operator++, ParPosition): reintroduce some
6176 const_cast for the benefit of older compilers.
6178 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6180 * text3.C (dispatch): do not modify clipboard when doing
6181 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6182 LFUN_DELETE_SKIP on a selection selection
6184 2003-06-16 André Pönitz <poenitz@gmx.net>
6190 * tabular.[Ch]: IU of clone() and getLabelList();
6192 2003-06-13 André Pönitz <poenitz@gmx.net>
6194 * tabular.h: compactification
6196 2003-06-12 André Pönitz <poenitz@gmx.net>
6200 * tabular_funcs.h: some renaming plus whitespace
6202 2003-06-12 André Pönitz <poenitz@gmx.net>
6205 * BufferView_pimpl.C:
6211 * toc.C: Return a Paragraph & for ParIterator::operator*()
6213 2003-06-11 John Levon <levon@movementarian.org>
6217 * ToolbarBackend.C: add "Toolbars" section and
6220 2003-06-10 Angus Leeming <leeming@lyx.org>
6223 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6225 * lyxfunc.C (dispatch): invoke it.
6227 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * main.C: protect <ios> with HAVE_IOS
6230 (main): protect sync_with_stdio with HAVE_IOS
6232 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6234 * text2.C (cutSelection): adjust
6235 (pasteSelection): adjust
6237 * messages.C: handle get of empty string
6239 * main.C (main): use sync_with_stdio(false)
6241 * lyxfunc.C (dispatch): adjust
6243 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6244 (WriteAs): remove unneeded BufferView arg.
6246 * bufferparams.h: use correct types on papersize, papersize2 and
6249 * bufferparams.C (readToken): adjust for type
6250 (writeLaTeX): add missing cases to switch.
6252 * bufferlist.C (quitWriteBuffer): adjust
6255 * buffer.C (asciiParagraph): remove some commented code.
6257 * CutAndPaste.C: remove current_view extern variable.
6258 (cutSelection): add BufferParams arg.
6259 (eraseSelection): add BufferParams arg.
6260 (pasteSelection): add Buffer const & arg
6262 2003-06-07 John Levon <levon@movementarian.org>
6265 * paragraph_funcs.C:
6266 * paragraph_pimpl.C:
6270 * paragraph.C: allow InsetERT to freely space lines,
6271 and some consolidation of code
6273 2003-06-06 José Matos <jamatos@fep.up.pt>
6275 * buffer.C (makeDocBookFile): fix bug #821
6277 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6279 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6281 2003-06-04 Angus Leeming <leeming@lyx.org>
6283 * buffer.C: bump format to 224.
6285 2003-06-05 André Pönitz <poenitz@gmx.net>
6287 * text2.C (redoParagraphs): remove two const_cast<>
6289 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6291 * ParagraphList.h: remove last remnants of NO_STD_LIST
6293 2003-06-03 Angus Leeming <leeming@lyx.org>
6295 * factory.C (createInset): small change to the way InsetExternal's params
6298 2003-06-04 André Pönitz <poenitz@gmx.net>
6300 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6302 * paragraph_pimpl.h:
6303 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6305 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6307 * undo_funcs.C: make some simple cases of undo work again
6309 2003-06-03 John Levon <levon@movementarian.org>
6311 * ispell.C: HPUX doesn't have sys/select.h
6314 2003-06-03 John Levon <levon@movementarian.org>
6316 * CutAndPaste.C: update tabular and include inset
6321 * paragraph.C: remove owningBuffer(), don't pass Buffer
6324 * factory.C: insetGraphicsParams changed
6326 2003-06-02 John Levon <levon@movementarian.org>
6332 * text3.C: remove insetparent
6334 2003-06-02 John Levon <levon@movementarian.org>
6337 * buffer.C: fix inset_iterator.end(), move out of line
6340 2003-06-01 John Levon <levon@movementarian.org>
6342 * text3.C: use a proper cut/paste when doing inset
6343 insert (from Jürgen Spitzmüller)
6345 2003-06-01 John Levon <levon@movementarian.org>
6347 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6349 2003-05-30 André Pönitz <poenitz@gmx.net>
6351 * rowpainter.C: unify second drawing phase
6353 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6355 * trans_mgr.C: remove one case of current_view
6357 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6359 * paragraph_funcs.h: remove paragraph.h include
6361 * paragraph.h: delete NO_STD_LIST stuff
6363 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6365 * buffer.h: remove paragraph.h include
6367 * ParagraphList.C: delete file
6369 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6371 * toc.C (getTocList): adjust
6373 * paragraph_pimpl.C (validate): adjust
6375 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6377 * paragraph.C (Paragraph): adjust
6378 (getPositionOfInset): use const_iterator, adjust
6379 (bibitem): use const_iterator, adjust
6380 (setInsetOwner): adjust
6382 * iterators.C (operator++): adjust
6384 * InsetList.[Ch]: Replace selfmade iterator with standard
6385 vector::iterator also introduce const_iterator. Remove getPos,
6386 getInset and setInset from InsetTable. Adjust accordingly.
6388 * BufferView.C (lockInset): adjust
6389 (ChangeInsets): adjust
6391 * tabular.[Ch]: delete commented same_id functions
6393 2003-05-28 John Levon <levon@movementarian.org>
6395 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6397 2003-05-28 André Pönitz <poenitz@gmx.net>
6399 * metricsinfo.[Ch]: remove 'fullredraw' member
6401 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6403 * lyxtextclass.C (operator): remove caching.
6405 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * text2.C (cursorBottom): adjust
6410 (setCounter): use ParagraphList::find, adjust
6412 * text.C (workWidth): use ParagraphList::find, adjust
6414 * lyxcursor.C (LyXCursor): adjust
6416 * buffer.C (inset_iterator): adjust
6418 * ParagraphList.h: make iterator(value_type) private, make
6419 ParagraphList a friend of iterator.
6421 * ParagraphList.C (find): new function
6423 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6425 2003-05-27 André Pönitz <poenitz@gmx.net>
6427 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6429 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6431 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6433 2003-05-26 John Levon <levon@movementarian.org>
6435 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6437 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6439 * remove same_id from function signatures, adjust.
6441 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6445 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6447 * paragraph.C (Paragraph): get rid of same_ids parameter
6449 * ParagraphList.C (insert): adjust
6452 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * paragraph_funcs.C (breakParagraph): adjust
6455 (breakParagraphConservative): adjust
6457 * buffer.C (readParagraph): adjust
6459 * ParagraphList.C (insert): take a reference instead of a pointer
6462 * paragraph.[Ch] (id): new function
6464 * bufferlist.C (newFile): adjust
6466 * ParagraphList.C (ParagraphList): adjust
6468 (push_back): take a reference instead of a pointer.
6470 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6472 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6475 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6476 set else use old code.
6478 * ParagraphList.C: remove all NO_NEXT code and only compile this
6479 code of NO_STD_LIST is set.
6481 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6483 * BufferView_pimpl.C:
6493 * graphics/GraphicsConverter.C:
6494 * graphics/PreviewLoader.C: header adjustment
6496 2003-05-23 Angus Leeming <leeming@lyx.org>
6498 * LaTeXFeatures.[Ch] (useBabel): new method.
6499 * bufferparams.C (writeLaTeX): use it.
6501 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6503 * ParagraphList.h (set): remove unused function.
6505 2003-05-23 André Pönitz <poenitz@gmx.net>
6508 * BufferView_pimpl.C:
6512 * undo_funcs.C: setUndo reworked
6514 * iterators.[Ch]: add access to topmost ParagraphList
6516 * lyxtext.[Ch] (workWidth): add a const
6518 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6520 * texrow.[Ch] (increasePos): remove function
6521 * exporter.C (export): removed unused var and outdated comment
6523 2003-05-23 Angus Leeming <leeming@lyx.org>
6525 * latexrunparams.h: rename fragile as moving_arg.
6526 * paragraph.C (simpleTeXOnePar): ditto.
6527 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6529 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6533 (textUndoOrRedo): comment out a currently unused var.
6535 * paragraph.h (NO_NEXT): enable NO_NEXT
6537 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6539 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6541 * exporter.C (Export): adjust for removeAutoInsets removal.
6543 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6545 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6547 * BufferView.[Ch] (removeAutoInsets): delete function
6549 2003-05-22 Angus Leeming <leeming@lyx.org>
6551 * latexrunparams.h: add a free_spacing variable.
6553 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6554 to pass moving_arg, as the data is stored in runparams.fragile.
6556 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6557 to Inset::latexOptional or to simpleTeXOnePar.
6559 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6560 free_spacing arg to Inset::latexOptional.
6562 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6565 2003-05-22 Angus Leeming <leeming@lyx.org>
6567 * latexrunparams.h: add fragile and use_babel variables.
6569 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6570 * buffer.C (makeLaTeXFile): store this returned value in
6571 runparams.use_babel, thus passing it to the inset::latex methods.
6573 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6574 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6576 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6577 longer has a fragile arg, as it is stored in runparams.fragile.
6579 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6580 moving_arg parameter as the data is stored in runparams.fragile.
6582 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6583 a fragile parameter as the data is stored in runparams.fragile.
6585 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6589 2003-05-22 Angus Leeming <leeming@lyx.org>
6591 * latexrunparams.h: add a 'bool nice' which defaults to false.
6593 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6594 now encapsulated within runparams.
6596 * bufferlist.C (updateIncludedTeXfiles):
6597 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6599 2003-05-22 Angus Leeming <leeming@lyx.org>
6601 * latexrunparams.h: new file containing struct LatexRunParams.
6602 * Makefile.am: add new file.
6604 * LaTeX.[Ch] (c-tor, run):
6605 * buffer.[Ch] (makeLaTeXFile):
6606 * bufferlist.[Ch] (updateIncludedTeXfiles):
6607 * converter.C (convert, scanLog):
6608 * converter.[Ch] (runLaTeX):
6609 * exporter.C (Export):
6610 * paragraph.[Ch] (simpleTeXOnePar):
6611 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6612 * paragraph_funcs.[Ch] (latexParagraphs):
6613 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6614 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6615 pass around a LatexRunParams parameter.
6617 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * paragraph.[Ch]: remove unused constructor
6621 * ParagraphList.C (erase): new function, taking two iterators
6623 2003-05-22 André Pönitz <poenitz@gmx.net>
6625 * undo_funcs.C: remove duplicated code
6627 * iterator.[Ch]: operator=
6629 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * tabular.C (SetMultiColumn): ws changes
6633 * rowpainter.C (paintFirst): get rid of a ->previous
6635 * lyx_cb.C (getPossibleLabel): parlist simplification
6637 * BufferView.C (ChangeInsets): simplify slightly.
6639 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6641 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6642 * lfuns.h: new LFUN_SPACE
6643 * lyxfunc.C: protected space has a new lfun
6644 * paragraph_funcs.C: read new space insets
6646 * factory.C: handle new space insets
6648 2003-05-22 André Pönitz <poenitz@gmx.net>
6651 * BufferView_pimpl.C:
6654 * undo_funcs.C: return a ParIterator from getParFromID.
6656 * iterators.[Ch]: add two const's
6658 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * toc.C (getTocList): adjust
6662 * iterators.[Ch]: rework for parlist
6664 * buffer.C (par_iterator_begin): adjust
6665 (par_iterator_end): adjust
6667 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6669 * BufferView.C (removeAutoInsets): adjust
6670 (ChangeInsets): adjust
6672 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6674 * text.C (top_y): fix bug 1110
6676 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6678 * errorlist.[Ch]: added
6681 * BufferView_pimpl.C:
6682 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6685 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6687 * Makefile.am: ensure that lyx is relinked upon changes to the
6688 various "convenience" libs.
6690 2003-05-20 Angus Leeming <leeming@lyx.org>
6692 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6693 files are compiled in alphabetical order again.
6695 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6697 2003-05-19 Angus Leeming <leeming@lyx.org>
6699 * gettext.[Ch]: remove "char const * _(char const *)".
6701 2003-05-19 André Pönitz <poenitz@gmx.net>
6703 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6712 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6714 2003-05-19 André Pönitz <poenitz@gmx.net>
6718 * lyxtextclass.[Ch]:
6720 * paragraph_funcs.[Ch]:
6722 * text3.C: more insetenv work
6724 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6726 * ParagraphParameters.C (params2string): small bug fixed
6728 2003-05-16 André Pönitz <poenitz@gmx.net>
6731 * bufferview_funcs.C: patch from Kornel Benko to prevent
6732 crash when _(...) is called twice in a statement
6734 2003-05-16 André Pönitz <poenitz@gmx.net>
6741 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6743 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6745 * lyx_main.C (init): remove spurious static_cast
6747 2003-05-14 André Pönitz <poenitz@gmx.net>
6749 * BufferView.C: fix format string
6751 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6753 * BufferView.[Ch] (insertErrors): removed
6754 * BufferView.[Ch] (showErrorList): added
6755 * buffer.C (runChkTeX):
6756 * converter.C (scanLog): call showErrorList instead of inserterrors
6758 2003-05-13 André Pönitz <poenitz@gmx.net>
6760 * BufferView_pimpl.C:
6762 * bufferview_func.C:
6769 * tabular_funcs.h: tostr() from its own header
6771 * ParagraphParameters.C:
6776 * text3.C: STRCONV()
6778 2003-05-12 André Pönitz <poenitz@gmx.net>
6781 * BufferView_pimpl.C:
6785 * ParagraphParameters.C:
6789 * bufferview_funcs.C:
6802 * paragraph_funcs.C:
6806 * text3.C: boost::format -> bformat all over the place
6809 2003-05-09 André Pönitz <poenitz@gmx.net>
6811 * LColor.[Ch]: Pimpl the #include <map> away
6813 2003-05-09 John Levon <levon@movementarian.org>
6815 * bufferlist.C: never remove emergency saves
6817 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * Makefile.am: better lib building
6821 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6823 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6825 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6826 (simpleTeXSpecialChars): adjust
6827 (simpleTeXSpecialChars): adjust
6828 * paragraph.C (simpleTeXOnePar): adjust
6829 * buffer.C (makeLaTeXFile): adjust
6831 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6833 * text2.C (changeDepth): parlist cleanup
6834 (getColumnNearX): ditto
6836 * rowpainter.C (getLabelFont): parlist cleanup
6838 * bufferlist.C (newFile): parlist cleanup
6840 * CutAndPaste.C (eraseSelection): parlist cleanup
6842 * BufferView_pimpl.C (trackChanges): parlist cleanup
6845 * BufferView.C (lockInset): parlist cleanup.
6846 (ChangeInsets): ditto
6848 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * CutAndPaste.h: Update file header.
6852 * CutAndPaste.C: Update file header.
6853 Store the parts cut out of the Document in a limited_stack.
6854 (copySelection): adjust
6855 (pasteSelection): new function, takes the index in the limited stack.
6856 (nrOfParagraphs): adjust
6857 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6858 simplify error inset insertion.
6859 (checkPastePossible): adjust
6861 2003-05-06 John Levon <levon@movementarian.org>
6863 * text2.C: don't cast wrap inset to float
6865 2003-05-05 André Pönitz <poenitz@gmx.net>
6868 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6870 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6871 few naked Paragraph *.
6873 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6875 * bufferparams.C: Output warning if a document with missing
6876 TeX document class is loaded
6877 * exporter.C: Disable TeX exports if the document class is missing
6880 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6881 isTeXClassAvailable()
6883 2003-05-03 John Levon <levon@movementarian.org>
6886 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6887 explicit cursor show/hide
6889 * BufferView_pimpl.h:
6890 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6891 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6893 * lyxfunc.C: hide cursor before dispatching.
6898 * text3.C: remove explicit cursor hides
6900 2003-05-02 André Pönitz <poenitz@gmx.net>
6902 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6905 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6908 * text2.C: tiny whitespace
6910 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * undo_funcs.C: almost only ws changes.
6914 * ParagraphList.C (splice): just return if pl is empty.
6916 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * ParagraphList.C (splice): new function.
6920 * CutAndPaste.C (pasteSelection): use it
6922 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6924 * CutAndPaste.C (pasteSelection): remove the last next and
6925 previous from this file.
6927 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * CutAndPaste.C (pasteSelection): more clean up, user proper
6930 ParagraphList functions for pasteing.
6932 * ParagraphList.C (insert): new function, three arg insert
6934 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6936 * ParagraphList.C (insert): new function, three arg insert
6938 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6941 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6945 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6947 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6949 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6951 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6952 (copySelection): clean up a bit.
6953 (pasteSelection): use make_pair
6955 * ParagraphList.C (ParagraphList): implement copy constructor
6956 (operator=): implement, base on copy constructor.
6959 * paragraph.C (erase): return a bool
6961 * paragraph_pimpl.C (erasePos): remove function, move contents...
6962 (erase): ... here. Return a bool.
6963 (erase): call erase instead of erasePos.
6965 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6967 * ParagraphList.h: define PitPosPair
6968 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6969 ParagraphList, fix a bug on pasting multiple pars
6970 * text2.C: change interface to C&P
6972 2003-04-30 André Pönitz <poenitz@gmx.net>
6974 * undo_func.C: revert part of yesterday's patch 2
6976 2003-04-30 John Levon <levon@movementarian.org>
6978 * LColor.C: s/tabular/table/
6980 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6982 * text3.C (dispatch): do not convert iterator -> pointer
6983 * undo_funcs.C (setCursorParUndo): ditto
6984 * text_funcs.C (transposeChars): ditto
6986 * text2.C (setLayout): ws changes only
6988 * text.C (breakParagraph): do not convert iterator -> pointer
6990 (acceptChange): ditto
6991 (rejectChange): ditto
6996 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6999 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7001 * text3.C (gotoInset): YABG (yet another bad getChar)
7003 2003-04-29 André Pönitz <poenitz@gmx.net>
7005 * paragraph.h: make operator= private unimplemented as long as
7008 * ParagraphList.C: whitespace
7011 * paragraph_pimpl.[Ch]:
7012 * paragraph_funcs.C:
7014 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7017 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7019 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7021 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7022 * paragraph.[Ch] (erase):
7023 * paragraph_pimpl.[Ch] (erase): change return type and value
7024 * text2.C (cutSelection): some rework
7026 2003-04-28 John Levon <levon@movementarian.org>
7028 * bufferlist.C: changes for unsaved changes dialog
7030 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7032 * bufferlist.C (newFile): set language (messages_) for new
7035 * buffer.C (readFile): ws changes only.
7037 2003-04-28 André Pönitz <poenitz@gmx.net>
7042 * BufferView_pimpl.C:
7043 * BufferView.C: getParFromID related ParagraphList::iterator changes
7045 2003-04-28 André Pönitz <poenitz@gmx.net>
7047 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7050 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * messages.C: remove one more localedir class variable.
7054 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * messages.C (getLocaleDir): singleton generation function
7058 (Messages): add a default constructor.
7060 * main.C (main): do not setup localedir here, do not call
7063 * gettext.C (_): use it.
7064 (gettext_init): delete funciton
7066 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * gettext.C (getLyXMessages): new singleton generating function.
7070 * buffer.C (updateDocLang): adjust
7072 * Makefile.am (messages.o): add target
7073 (main.o): remove target
7075 2003-04-27 John Levon <levon@movementarian.org>
7080 * lyxvc.C: specify cancel button in Alert::prompt
7082 2003-04-26 John Levon <levon@movementarian.org>
7087 * LyXAction.C: add LFUN_INSET_SETTINGS
7089 * lyxfunc.C: don't enable tabular-feature when there's
7090 just any locking inset
7092 2003-04-26 John Levon <levon@movementarian.org>
7094 * bufferlist.C: re-add Cancel to buffer close question
7096 * lyxfunc.C: fix import UI a bit
7098 2003-04-25 John Levon <levon@movementarian.org>
7100 * gettext.C: remove the broken asserts for now
7102 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * messages.C: make case where setlocale cannot comply work better.
7106 * buffer.C (updateDocLang): new function
7107 (changeLanguage): use it
7110 * text2.C (setCounter): use B_ a bit.
7112 * lyxlayout.C (Read): be sure to trim the label strings.
7114 * messages.C (Messages): fix typo in comment
7116 * buffer.C (readFile): set message_ after file is loaded.
7117 (makeDocBookFile): remove double return
7118 (changeLanguage): reset message_ upon language change.
7119 (B_): new func, use this to get translated buffer strings.
7121 * main.C: add myself and Jean Marc as authors.
7123 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * messages.[hC]: pimplify Messages, and three different pimpls to be
7126 used in different circumstances.
7128 * gettext.[Ch]: change for use with new message code.
7130 2003-04-24 André Pönitz <poenitz@gmx.net>
7132 * factory.C: support for eqref
7134 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * messages.[Ch]: add missing char
7138 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7140 * messages.[Ch]: New files
7142 2003-04-18 John Levon <levon@movementarian.org>
7146 * BufferView_pimpl.C:
7150 * text2.C: remove layout-copy/paste (bug 778)
7152 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7154 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7156 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7158 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7159 if they succeed. Act accordingly.
7161 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * text2.C (setCharFont): adjust
7164 (setCounter): adjust
7165 (insertStringAsLines): adjust
7167 * text.C (leftMargin): adjust
7168 (setHeightOfRow): adjust
7170 * rowpainter.C (paintFirst): adjust
7173 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7175 (isFirstInSequence): ditto
7176 (getEndLabel): ditto
7179 * paragraph.C (getParLanguage): comment out some hard stuff.
7181 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7183 (simpleDocBookOnePar): ditto
7184 (makeDocBookFile): use ParagraphList::iterator
7186 * CutAndPaste.C (pasteSelection): adjust
7188 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7190 * text2.C (getFont): adjust
7191 (getLayoutFont): adjust
7192 (getLabelFont): adjust
7194 * paragraph_funcs.C (TeXOnePar): adjust
7196 * buffer.C (simpleLinuxDocOnePar): adjust
7197 (simpleDocBookOnePar): adjust
7199 * CutAndPaste.C (pasteSelection): adjust
7201 * BufferView.C (getEncoding): adjust
7203 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7205 2003-04-16 John Levon <levon@movementarian.org>
7207 * lyxfind.C: use parlist stuff for search/changes
7209 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7213 * text2.C (deleteEmptyParagraphMechanism): adjust
7215 * text2.[Ch] (ownerParagraph): delete func (both of them
7217 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7221 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7223 * ParagraphList.C: prepare for NO_NEXT
7225 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * text2.C (getFont): adjust
7228 (getLayoutFont): adjust
7229 (getLabelFont): adjust
7231 * paragraph.C (getFont): adjust
7232 (getLabelFont): adjust
7233 (getLayoutFont): adjust
7235 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7237 2003-04-15 John Levon <levon@movementarian.org>
7241 * lyx_main.C: handle Include in .ui files
7243 2003-04-15 John Levon <levon@movementarian.org>
7245 * MenuBackend.C: make the doc files length shorter
7248 * ToolbarBackend.C: handle toolbar placement flags,
7251 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7253 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7256 * paragraph_funcs.C (TeXOnePar): adjust
7258 * paragraph.C (getLabelFont): add outerfont arg, adjust
7259 (getLayoutFont): ditto
7260 (simpleTeXOnePar): adjust
7262 * paragraph_pimpl.C (realizeFont): delete func
7264 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7266 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7267 row argument, constify cur argument.
7269 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7271 * text2.C (getFont): adjust
7272 (getLayoutFont): adjust
7273 (getLabelFont): adjust
7275 * paragraph_funcs.C (TeXOnePar): adjust
7276 (outerFont): new func...
7277 (realizeFont): ...moved out from here, changed this to facilitate
7280 * paragraph.C (getFont): take outerfont as arg, adjust
7281 (simpleTeXOnePar): add outerfont arg, adjust
7283 * buffer.C (simpleLinuxDocOnePar): adjust
7284 (simpleDocBookOnePar): adjust
7286 * CutAndPaste.C (pasteSelection): adjust
7288 * BufferView.C (getEncoding): adjust
7290 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * text2.C (setCharFont): adjust
7293 (setCounter): adjust
7295 * text.C (leftMargin): adjust
7296 (setHeightOfRow): adjust
7298 * rowpainter.C (paintFirst): adjust
7301 * paragraph_pimpl.C (realizeFont): adjust
7303 * paragraph.C (isFirstInSequence): move from here...
7304 * paragraph_funcs.C (isFirstInSequence): ...to here
7306 * paragraph.C (outerHook): move from here...
7307 * paragraph_funcs.C (outerHook): ...to here
7309 * paragraph.C (depthHook): move from here...
7310 * paragraph_funcs.C (depthHook): ...to here
7312 * paragraph.C (getEndLabel): move from here...
7313 * paragraph_funcs.C (getEndLabel): ...to here
7315 * text2.C (realizeFont): move from here...
7316 * paragraph_funcs.C (realizeFont): ...to here
7318 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7322 2003-04-14 Angus Leeming <leeming@lyx.org>
7324 * LColor.[Ch]: scrap LColor mathcursor.
7326 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * lyxlex.[Ch] (text): delete function
7329 * trans.C (Load): adjust
7330 * paragraph_funcs.C (readParToken): adjust
7332 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7335 vector<char> instead of a char[].
7337 * lyxlex_pimpl.C (getString): adjust
7339 (lex): use getString
7343 * lyxlex.C (text): use pimpl_->getString()
7347 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7350 (makeFontEntriesLayoutSpecific): temp var for par.size()
7351 (setLayout): temp var for ownerParagraphs().end()
7352 (fullRebreak): temp var for rows().end()
7353 (selectionAsString): temp var for boost::next(startpit), realize
7354 that the while really is a regular for loop.
7355 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7356 setCursor in one place.
7357 (setParagraph): temp vr for ownerParagraphs().end()
7358 (updateCounters): make the while loop a for loop
7359 (cutSelection): temp var for ownerParagraphs().end()
7360 (updateInset): make the do {} while() a regular for loop
7361 (getCursorX): use temp vars
7362 (setCurrentFont): use temp vars
7363 (getColumnNearX): use temp vars
7365 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7367 * text.C (transformChar): use temp var for getChar
7368 (computeBidiTables): use temp var for row->par()
7369 (fill): move temp vars for row->par() and pit->layout() earlier in
7371 (labelFill): use temp var for row->par()
7372 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7373 asc and desc, realize that pit never changes and that firstpit is
7374 just a duplicate and not needed. Exchange rit->par() with pit in a
7376 (breakAgain): use a temp var for boost::next(rit)
7377 (breakAgainOneRow): ditto
7378 (breakParagraph): use a temp var for rows().begin()
7379 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7380 (cursorRightOneWord): use temp var for cursor.par() and
7381 cursor.pos(), remove usage of tmpcursor.
7382 (cursorLeftOneWord): use temp var for cursor.par() and
7383 cursor.pos() only set cur at end of function.
7385 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7387 * text.C, text2.C: exchange all usage of Paragraph::next with
7388 boost::next(ParagraphList::iterator)
7390 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7392 * text2.C (cursorTop): simplify implementation
7393 (cursorBottom): ditto
7394 (setParagraph): use ParagraphList::iterator
7395 (setCurrentFont): adjust
7396 (getColumnNearX): adjust
7397 (cursorRight): adjust
7398 (cursorLeft): remove usage of Paragraph::previous
7399 (cursorUpParagraph): ditto
7400 (deleteEmptyParagraphMechanism): slight cleanup
7402 * text.C (isBoundary): take a Paragraph const & instead of a
7404 (addressBreakPoint): ditto
7405 (leftMargin): remove usage of Paragraph::previous.
7406 (setHeightOfRow): ditto
7407 (cursorLeftOneWord): ditto
7408 (selectNextWordToSpellcheck): ditto
7411 (breakParagraph): remove one usage of Paragraph::next
7412 (redoParagraph): ditto
7413 (acceptChange): ditto
7414 (insertChar): adjust
7415 (rowBreakPoint): adjust
7417 * bufferview_funcs.C (toggleAndShow): adjust
7419 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7421 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7422 methods to access it.
7424 * text.C: Added updateRowPositions to compute all row positions.
7425 Make top_y and getRowNearY() to use the cached y position
7427 2003-04-11 John Levon <levon@movementarian.org>
7429 * text.C (rowBreakPoint): reintroduce the labelEnd
7430 checks, code copied from the row fill stuff. Deep voodoo.
7432 * text.C (fill): add a comment and debugging for the
7435 2003-04-11 John Levon <levon@movementarian.org>
7437 * text.C: make sure fullrow insets get wrapped to the next line,
7438 even when they're in a manual label
7440 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * text2.C (insertParagraph): make it take ParagraphList::iterator
7444 (setLayout): make it return ParagraphList::iterator
7445 (redoParagraphs): ditto
7447 (checkParagraph): ditto
7449 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7451 * text2.C: adjust several funcs.
7452 (realizeFont): take a ParagraphList::iterator as arg.
7453 (getLayoutFont): ditto
7454 (getLabelFont): ditto
7455 (setCharFont): ditto
7457 * text.C: adjust several funcs.
7459 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7461 * text.C (selectNextWordToSpellcheck): don't accidentally
7464 2003-04-10 John Levon <levon@movementarian.org>
7466 * ToolbarBackend.C (getIcon): special handling for
7469 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7471 * text2.C (cursorRight): a getChar assert fixed
7473 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * text2.C (getFont): change to take a ParagraphList::iterator
7476 instead of Paragraph*
7477 Adjust several functions.
7479 * text.C (transformChar): change to take a ParagraphList::iterator
7480 instead of Paragraph*
7481 (singleWidth): ditto
7482 Adjust several functions.
7484 * rowpainter.C: adjust several functions
7485 * rowpainter.h:store a ParagraphList::iterator and not a
7489 2003-04-09 John Levon <levon@movementarian.org>
7494 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7495 and the "help" bits as well
7497 2003-04-09 John Levon <levon@movementarian.org>
7500 * ToolbarBackend.C: allow multiple toolbars
7502 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * undo_funcs.C (setCursorParUndo): adjust
7506 * text_funcs.C (transposeChars): adjust
7508 * text3.C (gotoNextInset): adjust
7511 * text2.C (setLayout): adjust
7512 (changeDepth): adjust
7514 (redoParagraphs): adjust
7515 (selectionAsString): adjust
7516 (setParagraph): adjust
7517 (insertInset): adjust
7518 (cutSelection): adjust
7519 (copySelection): adjust
7520 (pasteSelection): adjust
7521 (insertStringAsLines): adjust
7522 (updateInset): adjust
7523 (setCursor): change to take a ParagraphList::iterator parameter
7524 (setCursorIntern): change to take a ParagraphList::iterator parameter
7525 (setCurrentFont): adjust
7526 (cursorLeft): adjust
7527 (cursorRight): adjust
7528 (deleteEmptyParagraphMechanism): adjust
7530 * text.C (breakParagraph): adjust
7531 (insertChar): adjust
7532 (acceptChange): adjust
7533 (rejectChange): adjust
7534 (selectNextWordToSpellcheck): adjust
7535 (changeCase): adjust
7539 * lyxfind.C (SearchForward): adjust
7540 (SearchBackward): adjust
7541 (nextChange): adjust
7543 * lyxcursor.C (par): adjust
7545 * lyxcursor.h: store a ParagraphList::iterator instead of a
7548 * lyx_cb.C (getPossibleLabel): adjust
7550 * bufferview_funcs.C (toggleAndShow): adjust
7552 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7555 * BufferView.C (removeAutoInsets): adjust
7556 (lockedInsetStoreUndo): adjust
7558 2003-04-09 John Levon <levon@movementarian.org>
7560 * ToolbarBackend.C: try icon without argument
7561 if with argument fails
7563 2003-04-08 John Levon <levon@movementarian.org>
7566 * ToolbarBackend.C: add getIcon(), handle tooltip,
7567 and change from "Icon" to "Item".
7569 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7571 * BufferView.C (lockInset): another bad getchar crunched
7573 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7575 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7578 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7580 * lyxfind.C (searchForward, searchBackwards): bug 782
7582 2003-04-07 John Levon <levon@movementarian.org>
7584 * paragraph.C: remove dead comment
7586 * text.C: remove troublesome depth-fiddling code
7587 in leftMargin() and rightMargin() (bug 1017)
7589 * text.C: fix breaking of rows in nested lists
7592 * text2.C (updateCounters): fix up depth values
7595 2003-04-07 John Levon <levon@movementarian.org>
7597 * BufferView_pimpl.C: clear message when doc finishes resizing,
7598 and after a mouse event
7600 * lyxfunc.C: clear message after exiting inset
7602 2003-04-07 John Levon <levon@movementarian.org>
7604 * bufferview_funcs.C: show math status not outside
7605 status in the statusbar
7607 2003-04-07 John Levon <levon@movementarian.org>
7609 * lyxfunc.C: note status changed after a depth change
7611 2003-04-04 Angus Leeming <leeming@lyx.org>
7613 * LaTeX.h: move AuxInfo operator==, != out of line.
7614 Remove LaTeX virtual destructor; nothing derives from it.
7615 Move operator()() out of public area and rename it startscript().
7616 Change protected for private.
7618 2003-04-04 Angus Leeming <leeming@lyx.org>
7621 * text2.C: remove unneeded #includes.
7623 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7625 * text2.C (dEPM): fix the heigth of the next row
7627 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7629 * text.C: squashed an invalid getChar requester + some ws changes
7631 2003-04-03 John Levon <levon@movementarian.org>
7633 * bufferview_funcs.h:
7634 * bufferview_funcs.C:
7637 * text2.C: make getStatus work for the env depth lfuns
7639 2003-04-03 John Levon <levon@movementarian.org>
7641 * bufferview_funcs.h:
7642 * bufferview_funcs.C:
7645 * text2.C: parlistize decDepth(), by merging it with incDepth()
7647 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * lyxrow.h: store a ParagraphList::iterator instead of a
7650 Paragraph* and adjust other class functions to suit.
7652 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7655 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7657 * text2.C (setCursor): do not anchor to cursor row for the time being
7659 2003-04-02 John Levon <levon@movementarian.org>
7666 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7668 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * paragraph.h: make ParagraphList and ParagraphList::iterator
7671 friends of Paragraph.
7673 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7675 * ParagraphList.C: Use the private next_ and previous_ from
7678 2003-04-01 John Levon <levon@movementarian.org>
7682 * Makefile.am: rename, remove defaults gunk
7685 * MenuBackend.C: remove defaults gunk
7688 * Languages.C: remove defaults gunk
7691 * lyx_main.C: error out if files couldn't be found.
7693 2003-04-02 John Levon <levon@movementarian.org>
7695 * text2.C: make incDepth() use parlist
7697 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * undo_funcs.C (firstUndoParagraph): adjust
7701 * text3.C (gotoInset): adjust
7702 (dispatch): adjust, and rewrite loop.
7704 * text2.C (init): adjust, and rewrite loop.
7705 (redoParagraphs): adjust
7706 (updateInset): adjust, and rewrite loop.
7707 (deleteEmptyParagraphMechanism): adjust
7709 * tabular.C (LyXTabular): adjust
7710 (SetMultiColumn): adjust
7713 * lyxtext.[Ch] (ownerParagraph): delete function
7714 (ownerParagraphs): new function returns a ParagraphList.
7716 * BufferView.C (removeAutoInsets): adjust
7717 (insertErrors): adjust
7718 (setCursorFromRow): adjust
7720 2003-04-01 Angus Leeming <leeming@lyx.org>
7722 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7725 2003-04-02 John Levon <levon@movementarian.org>
7731 * text_funcs.C: make transposeChars a free function
7733 * lyxrow_funcs.C: remove wrong comment
7735 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * rowpainter.C: adjust
7743 * lyxrow_funcs. [Ch]: new files
7745 * lyxrow.[Ch]: remove next and previous pointers
7746 (next,previous): remove accessor functions
7747 (isParEnd): move to lyxrow_funcs
7748 (lastPos): move to lyxrow_funcs
7749 (nextRowIsAllInset): move to lyxrow_funcs
7750 (lastPrintablePos): move to lyxrow_funcs
7751 (numberOfSeparators): move to lyxrow_funcs
7752 (numberOfHfills): move to lyxrow_funcs
7753 (numberOfLabelHfills): move to lyxrow_funcs
7754 (hfillExpansion): move to lyxrow_funcs
7758 * bufferview_funcs.C (toggleAndShow): adjust
7760 * RowList.h: Remove class RowList from file leave just a
7763 * RowList.C: delete file
7765 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7768 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7770 * text3.C (cursorPrevious): adjust
7771 (cursorNext): adjust
7774 * text2.C (redoHeightOfParagraph): adjust
7775 (redoDrawingOfParagraph): adjust
7778 * text.C (breakParagraph): adjust
7779 (insertChar): adjust
7782 * rowpainter.C (RowPainter): adjust
7783 (leftMargin): simplify and adjust
7784 (most rowpainter functions): adjust.
7786 * rowpainter.h: store the row as RowList::iterator not as Row*
7788 * lyxcursor.C (row): taka RowList::iterator as arg
7791 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7794 2003-04-01 Angus Leeming <leeming@lyx.org>
7796 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7797 stuff like bool Bool.
7799 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7801 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7804 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7809 * lyxtext.h (rows): drop one version and leve a const variant that
7810 returns a RowList::iterator.
7812 2003-03-31 Angus Leeming <leeming@lyx.org>
7814 * text.C (fill): ensure that the signature is the same as that in the
7817 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7819 * text2.C (redoParagraphs): adjust
7820 (updateCounters): adjust
7821 (checkParagraph): adjust
7822 (getColumnNearX): adjust and reformat a bit.
7824 * text.C (top_y): adjust
7826 (leftMargin): adjust
7827 (prepareToPrint): adjust
7829 (getRowNearY): adjust
7831 * lyxtext.h: make rowlist_ mutable.
7833 * RowList.h: add const_iterator
7834 * RowList.C: adjust for RowList::const_iterator.
7836 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7839 2003-03-31 John Levon <levon@movementarian.org>
7842 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7844 * lyx_main.C: set default fonts from using lyx_gui funcs
7846 * exporter.C: pdf_mode moved from lyxrc
7849 * lyxfunc.C: changes from above
7851 2003-03-31 John Levon <levon@movementarian.org>
7853 * lyx_main.C: fix to the last fix
7855 2003-03-31 John Levon <levon@movementarian.org>
7857 * bufferlist.C: "Load original" -> "Load Original"
7863 * format.C: more Alert cleanups
7865 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7867 * text2.C (removeParagraph): make it take a RowList::iterator as
7869 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7870 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7872 * text.C (anchor_row): make it take a RowList::iterator as arg,
7874 (computeBidiTables): make it take a const reference to Row instead
7875 of Row pointer, adjust.
7876 (leftMargin): make it take a RowList::iterator as arg, adjust.
7877 (rowBreakPoint): adjust
7878 (breakAgainOneRow): make it take a RowList::iterator as arg,
7880 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7882 * bufferview_funcs.C (toggleAndShow): adjust
7884 2003-03-30 John Levon <levon@movementarian.org>
7888 * boost-inst.C: moved to support
7890 * several files: changes as a result
7892 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * text2.C (LyXText): adjust.
7896 (removeRow): make it take a RowList::iterator as arg, adjust.
7897 (fullRebreak): adjust
7898 (deleteEmptyParagraphMechanism): adjust
7899 (clearPaint): adjust
7902 * text.C (top_y): adjust
7903 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7904 (breakAgain): make it take a RowList::iterator as arg, adjust.
7905 (breakParagraph): adjust
7906 (insertChar): adjust
7909 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7910 need_break_row, and refresh_row.
7912 * text3.C (dispatch): adjust
7914 * text2.C (checkParagraph): adjust
7916 (setCursorFromCoordinates): adjust
7918 * text.C (top_y): adjust
7920 (getRow): make it return a RowList::iterator, adjust
7921 (getRowNearY): make it return a RowList::iterator, adjust
7923 * text2.C (init): adjust
7924 (insertRow): remove function
7925 (insertParagraph): adjust
7926 (redoParagraphs): adjust
7927 (fullRebreak): adjust
7928 (updateCounters): adjust
7930 * text.C (top_y): rewrite to use RowList iterators.
7932 (setHeightOfRow): rewrite to sue RowList iterators.
7933 (appendParagraph): adjust
7934 (breakAgain): adjust
7935 (breakAgainOneRow): adjust
7936 (breakParagraph): adjust
7938 (getRowNearY): adjust, and remove commented code.
7940 * lyxtext.h (firstRow): delete function
7941 (lastRow): delete function
7942 (rows): new function (const and non-const versions.)
7943 (insertRow): delete function
7945 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7947 2003-03-29 John Levon <levon@movementarian.org>
7949 * BufferView_pimpl.C: always update scrollbar top
7950 because pasting text when we're anchored could mean we
7951 miss an update altogether
7953 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7955 * text2.C (init): use rowlist_.end() and not 0.
7956 (insertRow): change to take a RowList::iterator as arg, adjust
7958 (insertParagraph): change to take a RowList::iterator as arg,
7960 (redoParagraphs): remove some debug msgs.
7962 * text.C (appendParagraph): change to take a RowList::iterator
7963 arg, adjust for this.
7964 (breakAgain): add an assert
7965 (breakAgainOneRow): ditto
7967 2003-03-29 John Levon <levon@movementarian.org>
7969 * text2.C: do not clear selection after inc/decDepth
7972 2003-03-29 John Levon <levon@movementarian.org>
7975 * buffer.C: fix broken strerrors according to Lars
7977 2003-03-29 John Levon <levon@movementarian.org>
7979 * converters.C: more Alert cleanups
7981 2003-03-29 John Levon <levon@movementarian.org>
7983 * bufferview_funcs.C: remove pointless Alert
7985 * buffer.C: fix confusing error message when
7986 a template is chmoded 000
7988 2003-03-29 John Levon <levon@movementarian.org>
7992 * BufferView_pimpl.C: Alert fixes
7996 * tabular-old.C: remove unused table compat reading
7998 2003-03-29 John Levon <levon@movementarian.org>
8003 * lyx_cb.C: more Alert cleanups
8005 * lyxfunc.C: don't allow chktex if not latex document
8007 2003-03-29 John Levon <levon@movementarian.org>
8011 * buffer.C: warnings pushed down from support/,
8014 2003-03-29 John Levon <levon@movementarian.org>
8016 * lyxfunc.C: safety check for C-r (revert)
8018 2003-03-29 John Levon <levon@movementarian.org>
8021 * bufferlist.C: several UI fixes using Alert::prompt.
8022 Fix the pointless looping quit code. Fix stupid revert
8027 * lyx_cb.C: use Alert::prompt
8029 * lyx_main.C: remove a silly question
8031 * lyxfunc.C: remove a couple of silly questions,
8034 2003-03-28 John Levon <levon@movementarian.org>
8036 * text2.C: fix bug 974 (End on empty par)
8038 2003-03-28 John Levon <levon@movementarian.org>
8040 * BufferView_pimpl.C:
8042 * lfuns.h: remove do-nothing math greek lfuns
8044 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8046 * lyxgluelength.h (isValidGlueLength): add default arg on
8047 parameter 2. Remove default arg from friend in class.
8049 * lyxlength.h (isValidLength): add default arg on parameter 2.
8050 Remove default arg from friend in class.
8052 * text2.C (LyXText): adjust, initialize refresh_row.
8056 (insertParagraph): adjst
8057 (redoParagraphs): adjust
8058 (fullRebreak): adjust
8059 (updateCounters): adjust
8060 (deleteEmptyParagraphMechanism): first attempt at fixing a
8063 * text.C (top_y): adjust
8064 (setHeightOfRow): adjust
8066 (getRowNearY): adjust
8068 * lyxtext.h: include RowList.h
8069 (~LyXText): not needed anymore, deleted.
8070 (firstRow): modify for RowList
8071 (lastRow): new function
8072 Delete firstrow and lastrow class variables, add a Rowlist
8073 rowlist_ class variable.
8075 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8078 * RowList.C (insert): fix case where it == begin().
8080 2003-03-26 Angus Leeming <leeming@lyx.org>
8082 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8083 the thesaurus dialog.
8085 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8087 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8089 * RowList.[Ch]: new files
8091 * ParagraphList.C (erase): handle the case where it == begin
8094 2003-03-25 John Levon <levon@movementarian.org>
8098 * aspell.C: add new aspell support
8101 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8104 2003-03-25 Angus Leeming <leeming@lyx.org>
8107 * LyXAction.C (init): new LFUN_INSET_INSERT.
8109 * BufferView_pimpl.C (dispatch): split out part of the
8110 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8112 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8115 2003-03-25 Angus Leeming <leeming@lyx.org>
8117 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8119 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8122 * text3.C: remove useless row->height(0)
8124 2003-03-25 John Levon <levon@movementarian.org>
8128 * text3.C: rename the refreshing stuff to better names
8130 2003-03-24 John Levon <levon@movementarian.org>
8132 * BufferView_pimpl.h:
8133 * BufferView_pimpl.C: update layout choice on a mouse
8136 2003-03-23 John Levon <levon@movementarian.org>
8138 * Makefile.am: fix commandtags.h reference
8140 2003-03-22 John Levon <levon@movementarian.org>
8142 * BufferView_pimpl.C:
8147 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8149 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8152 * text.C: take the rtl methods out of line
8154 2003-03-21 André Pönitz <poenitz@gmx.net>
8156 * metricsinfo.[Ch]: new files containing structures to be passed around
8157 during the two-phase-drawing...
8159 2003-03-21 André Pönitz <poenitz@gmx.net>
8161 * lyxtextclass.C: read 'environment' tag.
8163 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8165 * text2.C (removeRow): fix bug 964
8167 2003-03-20 John Levon <levon@movementarian.org>
8171 * text2.C: paint cleanups. Inset::update() dropped font
8174 2003-03-19 John Levon <levon@movementarian.org>
8176 * lyxfunc.C: only fitcursor/markDirty if available()
8178 2003-03-19 John Levon <levon@movementarian.org>
8180 * commandtags.h: rename to ...
8182 * lfuns.h: ... this, and renumber / cleanup
8184 2003-03-19 John Levon <levon@movementarian.org>
8186 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8187 fit the cursor after an lfun
8191 * BufferView_pimpl.h:
8192 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8194 * LyXAction.C: layout-character should have ReadOnly
8196 * ParagraphParameters.C:
8198 * bufferview_funcs.C:
8205 * undo_funcs.C: changes from above
8207 2003-03-18 John Levon <levon@movementarian.org>
8209 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8210 remove it from update()
8212 * lyxfunc.C: update layout choice after an lfun
8214 * text3.C: remove extra updateLayoutChoice()s
8216 2003-03-18 John Levon <levon@movementarian.org>
8218 * text.C: top_y change means full repaint, fix
8219 a drawing bug with cursor movement
8221 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8225 * text2.C: anchor row on setCursor
8227 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8229 * lyxtext.h: remove almost all mutable keywords
8232 * text3.C: remove const keywords accordingly
8234 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8238 (TeXEnvironment): ditto
8241 2003-03-17 John Levon <levon@movementarian.org>
8243 * text.C (rowBreakPoint): remove attempt to fix displayed
8244 math insets inside a manual label
8246 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * lyxtext.h: remove BufferView* as first arg from almost all class
8250 * other files: adjust.
8252 2003-03-17 John Levon <levon@movementarian.org>
8256 * text2.C: more paint cleanups
8258 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8261 * rowpainter.C: remove "smart" background painting code
8263 2003-03-16 John Levon <levon@movementarian.org>
8268 * text3.C: add helper functions for setting refresh_row/y
8270 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8272 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8273 newline inset which *can* get inserted in the pass_thru layouts.
8274 This is primarily for literate documents.
8276 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8278 * buffer.C: increment LYX_FORMAT to 223
8280 2003-03-14 André Pönitz <poenitz@gmx.net>
8282 * textclass.h: prepare for environment handling, ws changes
8283 * lyxlayout.C: read latexheader and latexfooter tags
8285 2003-03-14 John Levon <levon@movementarian.org>
8287 * text2.C: rewrite ::status() a bit
8289 2003-03-13 John Levon <levon@movementarian.org>
8291 * lyxtext.h: add some docs
8293 2003-03-13 John Levon <levon@movementarian.org>
8298 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8300 2003-03-13 John Levon <levon@movementarian.org>
8302 * text3.C: fix appendix redrawing
8304 2003-03-13 John Levon <levon@movementarian.org>
8306 * text.C (setHeightOfRow):
8308 * rowpainter.C: make appendix mark have the text
8309 "Appendix" so the user knows what it is
8312 * LColor.C: s/appendixline/appendix/ from above
8314 2003-03-13 John Levon <levon@movementarian.org>
8316 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8318 * text.C: fix a getChar(pos) bug properly
8320 2003-03-13 Angus Leeming <leeming@lyx.org>
8323 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8324 Probably only temporary. Let's see how things pan out.
8326 * BufferView.C (unlockInset):
8327 * BufferView_pimpl.C (fitCursor):
8328 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8330 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8331 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8333 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8334 new functions that convert ParagraphParameters to and from a string.
8336 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8337 BufferView::Pimpl's dispatch.
8338 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8340 2003-03-13 André Pönitz <poenitz@gmx.net>
8344 * factory.C: make it aware of InsetEnv
8346 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8348 * text2.C (setCursor): never ask for one past last
8349 (setCursor): add some debugging messages.
8351 * text.C (singleWidth): never ask for one past last
8352 (singleWidth): ditto
8354 (rightMargin): ditto
8355 (rowBreakPoint): ditto
8356 (setHeightOfRow): ditto
8357 (prepareToPrint): ditto
8359 * rowpainter.C (paintBackground): never ask for one past last
8360 (paintText): never ask for one past last
8362 * paragraph_pimpl.C (getChar): make the assert stricter, never
8363 allow the one past last pos to be taken
8365 * paragraph.C (getChar): ws changes only
8367 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8368 (numberOfSeparators): ditto
8369 (numberOfHfills): ditto
8371 2003-03-12 John Levon <levon@movementarian.org>
8377 * paragraph_funcs.C: fix per-buffer authorlists
8379 2003-03-12 John Levon <levon@movementarian.org>
8381 * text.C: fix newline in right address
8383 2003-03-12 Angus Leeming <leeming@lyx.org>
8385 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8386 duplicate those in LyXFunc::dispatch.
8390 * ToolbarDefaults.C:
8391 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8392 Add LFUN_FONTFREE_UPDATE.
8394 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8395 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8397 * bufferview_func.[Ch]: several new functions to facilliate
8398 transfer of data to and from the character dialog.
8400 2003-03-12 John Levon <levon@movementarian.org>
8405 * paragraph_funcs.C:
8406 * paragraph_pimpl.C:
8410 * text3.C: remove META_NEWLINE in favour of an inset
8413 * rowpainter.C: remove paintNewline (done by inset)
8415 2003-03-12 John Levon <levon@movementarian.org>
8417 * paragraph_pimpl.C: complain about bad getChar()s
8418 for a while at least
8420 2003-03-12 John Levon <levon@movementarian.org>
8423 * buffer.C: move paragraph read into a separate function,
8424 a little renaming to reflect that.
8427 * bufferparams.C: remove the author_ids map, not necessary now
8430 * factory.C: moved Buffer::readInset to here
8432 * paragraph_funcs.h:
8433 * paragraph_funcs.C: readParagraph free function moved from
8436 * tabular.C: name change
8438 2003-03-12 John Levon <levon@movementarian.org>
8441 * ParagraphParameters.C: move par params input to
8444 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8445 behave like a normal read from the stream wrt reading
8446 a line vs. a \\token
8448 2003-03-12 John Levon <levon@movementarian.org>
8451 * ParagraphParameters.h:
8452 * ParagraphParameters.C: move output code to a
8455 2003-03-12 John Levon <levon@movementarian.org>
8457 * BufferView.C (insertLyXFile):
8460 * tabular.C: use a parlist iterator for creating the
8463 2003-03-12 John Levon <levon@movementarian.org>
8465 * buffer.C: make current_change static local not
8468 2003-03-12 John Levon <levon@movementarian.org>
8470 * buffer.C: fix insertStringAsLines for change tracking
8472 2003-03-12 John Levon <levon@movementarian.org>
8479 * bufferparams.C: move author list into params. Rename some
8480 functions. Move the header reading into a separate token
8481 loop. Move the header token reading into BufferParams.
8483 2003-03-12 John Levon <levon@movementarian.org>
8485 * changes.C: put debug inside lyxerr.debugging() checks
8487 2003-03-11 André Pönitz <poenitz@gmx.net>
8489 * factory.C: make it aware of InsetHFill
8491 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8493 * buffer.C (latexParagraphs): move function from here...
8494 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8497 2003-03-10 Angus Leeming <leeming@lyx.org>
8499 * LyXAction.C (init): fix bug in poplating array with multiple entries
8500 with the same LFUN (spotted by JMarc).
8502 2003-03-10 John Levon <levon@movementarian.org>
8505 * text2.C: move getColumnNearX() near its
8508 2003-03-10 John Levon <levon@movementarian.org>
8510 * text.C: fix break before a minipage
8512 2003-03-10 John Levon <levon@movementarian.org>
8514 * text.C: fix the last commit
8516 2003-03-09 John Levon <levon@movementarian.org>
8520 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8521 bug 365 (don't break before insets unless needed). Don't
8522 return a value > last under any circumstances.
8524 2003-03-09 Angus Leeming <leeming@lyx.org>
8526 * BufferView_pimpl.C (trackChanges, dispatch): call
8527 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8529 2003-03-09 Angus Leeming <leeming@lyx.org>
8531 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8532 than Dialogs::showAboutlyx().
8534 2003-03-09 Angus Leeming <leeming@lyx.org>
8536 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8537 than Dialogs::showTabularCreate().
8539 2003-03-09 John Levon <levon@movementarian.org>
8543 * text2.C: 3rd arg to nextBreakPoint was always the same.
8546 2003-03-08 John Levon <levon@movementarian.org>
8553 * text2.C: Remove the "main" bit from the "main body"
8556 2003-03-08 John Levon <levon@movementarian.org>
8558 * text.C (leftMargin): The left margin of an empty
8559 manual label paragraph should not include the label width
8562 * text.C (prepareToPrint): don't attempt to measure hfills
8563 for empty manual label paragraphs - the answer should be 0
8565 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8567 * CutAndPaste.C: remove commented code and reindent.
8569 2003-03-08 John Levon <levon@movementarian.org>
8572 * lyxfunc.C: move reloadBuffer()
8575 * BufferView.C: to here
8577 * lyxvc.C: add comment
8580 * vc-backend.C: call bv->reload() to avoid
8581 getStatus() check on MENURELOAD
8583 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8585 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8586 to an old format .dep file.
8588 2003-03-07 Angus Leeming <leeming@lyx.org>
8590 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8591 when the LFUN_MOUSE_RELEASE should have been handled by
8592 inset->localDispatch.
8594 2003-03-07 Angus Leeming <leeming@lyx.org>
8596 * BufferView_pimpl.C (dispatch):
8597 * LyXAction.C (init):
8598 * ToolbarDefaults.C (init):
8600 * lyxfunc.C (getStatus):
8601 remove LFUN_INSET_GRAPHICS.
8603 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8605 2003-03-07 Angus Leeming <leeming@lyx.org>
8608 * LyXAction.C (init):
8609 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8611 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8614 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8616 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8617 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8619 2003-03-07 Angus Leeming <leeming@lyx.org>
8621 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8624 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8626 * ParagraphList.C (front): new function
8629 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8631 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8632 and top_row_offset_. removed var first_y.
8634 * text2.C (LyXText, removeRow):
8636 * BufferView_pimpl.C:
8637 use these methods instead of using first_y
8639 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * text2.C (pasteSelection): adjust for checkPastePossible
8643 * CutAndPaste.C: remove Paragraph * buf and replace with
8644 ParagraphList paragraphs.
8645 (DeleteBuffer): delete
8646 (cutSelection): change the tc type to textclass_type
8647 (copySelection): change the tc type to textclass_type
8648 (copySelection): adjust for ParagraphList
8649 (pasteSelection): change the tc type to textclass_type
8650 (pasteSelection): adjust for Paragraphlist
8651 (nrOfParagraphs): simplify for ParagraphList
8652 (checkPastePossible): simplify for ParagraphList
8653 (checkPastePossible): remove unused arg
8655 * ParagraphList.C (insert): handle the case where there are no
8658 * CutAndPaste.h: make CutAndPaste a namespace.
8660 * text3.C (dispatch): adjust
8662 * text.C (breakParagraph): add a ParagraphList as arg
8664 * paragraph_funcs.C (breakParagraph): change to take a
8665 BufferParams and a ParagraphList as args.
8666 (breakParagraphConservative): ditto
8667 (mergeParagraph): ditto
8668 (TeXDeeper): add a ParagraphList arg
8669 (TeXEnvironment): ditto
8672 * buffer.C (readLyXformat2): adjust
8673 (insertStringAsLines): adjust
8674 (latexParagraphs): adjust
8676 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8677 (cutSelection): adjust
8678 (pasteSelection): adjust
8680 * BufferView_pimpl.C (insertInset): adjust
8682 2003-03-05 Angus Leeming <leeming@lyx.org>
8685 * LyXAction.C (init):
8686 * BufferView_pimpl.C (dispatch):
8687 * lyxfunc.C (getStatus):
8688 remove LFUN_CHILD_INSERT.
8690 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8692 2003-03-05 Angus Leeming <leeming@lyx.org>
8695 * LyXAction.C (init):
8696 * src/factory.C (createInset):
8697 * lyxfunc.C (getStatus):
8698 * text3.C (dispatch):
8699 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8701 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8703 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8705 * ParagraphList.C (insert): handle insert right before end()
8706 (erase): fix cases where it can be first or last paragraph.
8708 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8710 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8711 Paragraph::next and Paragraph::previous
8714 * text.C (breakParagraph): adjust
8716 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8717 BufferParams& as arg.
8718 (breakParagraph): use ParagraphList::insert
8719 (breakParagraphConservative): take a Buffer* instead of a
8720 BufferParams& as arg.
8721 (breakParagraphConservative): use ParagraphList::insert.
8723 * buffer.C (insertStringAsLines): un-const it
8724 (insertStringAsLines): adjust
8726 * ParagraphList.C (insert): new function
8728 * CutAndPaste.C (pasteSelection): adjust
8730 * text.C (backspace): adjust
8732 * tabular.C (SetMultiColumn): adjust
8734 * CutAndPaste.C (cutSelection): adjust
8735 (pasteSelection): adjust
8737 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8738 Buffer const * as arg
8740 * ParagraphList.C (erase): new function
8741 * paragraph_funcs.C (mergeParagraph): use it
8742 (mergeParagraph): make it take a Buffer* instead of a
8743 BufferParams* as arg
8745 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8747 (breakParagraphConservative): ditto
8749 * paragraph.h: remove the breakParagraph friend
8751 * paragraph.C (eraseIntern): new function
8752 (setChange): new function
8754 * paragraph_funcs.C (mergeParagraph): make it take a
8755 ParagraphList::iterator instead of a Paragraph *, adjust
8758 * paragraph.h: move an #endif so that the change tracking stuff
8759 also works in the NO_NEXT case.
8761 2003-03-04 Angus Leeming <leeming@lyx.org>
8764 * LyXAction.C: new LFUN_INSET_MODIFY.
8766 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8767 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8769 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8771 * several files: ws changes only
8773 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8774 (TeXEnvironment): ditto
8777 * buffer.C (makeLaTeXFile): adjust
8778 (latexParagraphs): make it take ParagraphList::iterator as args
8780 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8782 * buffer.C (latexParagraphs): adjust
8784 * paragraph.C (TeXOnePar): move function...
8785 (optArgInset): move function...
8786 (TeXEnvironment): move function...
8787 * paragraph_pimpl.C (TeXDeeper): move function...
8788 * paragraph_funcs.C: ...here
8790 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8792 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8794 * buffer.C (readInset): remove compability code for old Figure and
8797 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8799 * buffer.C: ws changes
8802 * BufferView_pimpl.C: ditto
8805 * bufferlist.h: ditto
8809 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8811 * converter.[Ch]: split into itself +
8814 * Makefile.am: += graph.[Ch] + format.[Ch]
8821 * lyxrc.C: added #include "format.h"
8823 2003-02-27 Angus Leeming <leeming@lyx.org>
8825 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8828 * factory.C (createInset): add "label" to the factory.
8830 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8831 string and do no more.
8833 2003-02-27 Angus Leeming <leeming@lyx.org>
8836 * LyXAction.C (init):
8837 * factory.C (createInset):
8838 * BufferView_pimpl.C (dispatch):
8839 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8841 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8843 * lyxfunc.C (dispatch):
8844 * text3.C (dispatch): pass name to params2string.
8846 2003-02-26 Angus Leeming <leeming@lyx.org>
8848 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8850 Rearrange the ~includes. Strip out the unnecessary ones.
8852 * factory.C (createInset): reformat.
8853 create new insets for the various LFUN_XYZ_APPLY lfuns.
8855 2003-02-26 John Levon <levon@movementarian.org>
8858 * lyxrow.C: add isParStart,isParEnd helpers
8860 * paragraph.h: make isInserted/DeletedText take refs
8862 * paragraph_funcs.h:
8863 * paragraph_funcs.C: remove #if 0'd code
8868 * text.C: use lyxrow helpers above.
8869 Move draw and paint routines to RowPainter.
8870 Make several methods use refs not pointers.
8871 Make backgroundColor() const.
8872 Add markChangeInDraw(), isInInset().
8873 Merge changeRegionCase into changeCase.
8874 Make workWidth() shouldn't-happen code into an Assert.
8877 * rowpainter.C: new class for painting a row.
8880 * vspace.C: make inPixels take a ref
8882 2003-02-26 Angus Leeming <leeming@lyx.org>
8884 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8887 2003-02-25 John Levon <levon@movementarian.org>
8889 * ispell.C: give the forked command a more accurate name
8891 2003-02-22 John Levon <levon@movementarian.org>
8894 * toc.C: make TocItem store an id not a Paragraph *
8897 2003-02-21 Angus Leeming <leeming@lyx.org>
8899 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8900 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8901 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8902 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8903 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8904 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8906 * BufferView_pimpl.C (dispatch):
8907 * LyXAction.C (init):
8908 * factory.C (createInset):
8909 * lyxfunc.C (getStatus, dispatch):
8910 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8912 2003-02-21 Angus Leeming <leeming@lyx.org>
8914 * BufferView_pimpl.C (MenuInsertLyXFile):
8915 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8916 * lyxfunc.C (menuNew, open, doImport):
8917 no longer pass a LyXView & to fileDlg.
8919 2003-02-21 Angus Leeming <leeming@lyx.org>
8921 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8922 * LyXAction.C: change, BIBKEY to BIBITEM.
8923 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8924 Change InsetBibKey to InsetBibitem.
8925 Change BIBKEY_CODE to BIBITEM_CODE.
8926 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8927 * factory.C: replace insetbib.h with insetbibitem.h.
8928 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8929 * paragraph.C: replace insetbib.h with insetbibitem.h.
8930 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8931 Change bibkey() to bibitem().
8932 * text.C: remove insetbib.h.
8933 * text2.C: replace insetbib.h with insetbibitem.h.
8934 change bibkey() to bibitem().
8935 * text3.C: remove insetbib.h.
8936 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8938 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8940 * lyxrc.C (output): enclose user email in quotes (in case there are
8943 2003-02-18 John Levon <levon@movementarian.org>
8945 * buffer.h: add std::
8947 2003-02-17 John Levon <levon@movementarian.org>
8953 * pspell.C: reworking. Especially in ispell, a large
8954 number of clean ups and bug fixes.
8956 * lyxfunc.C: fix revert to behave sensibly
8958 2003-02-17 André Pönitz <poenitz@gmx.net>
8961 * commandtags.h: new LFUN_INSERT_BIBKEY
8971 * paragraph_func.C: remove special bibkey handling
8973 2003-02-17 John Levon <levon@movementarian.org>
8975 * text.C (Delete): fix case where delete at the end of
8976 the very first paragraph would not merge the pars
8978 2003-02-17 John Levon <levon@movementarian.org>
8980 * lyxrow.C: fix lastPrintablePos()
8982 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8984 * bufferparams.C (writeLaTeX): add a std:here
8986 * buffer.C: and remove a using directive there
8988 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * buffer.C (makeLaTeXFile): move the code that generates the
8993 * bufferparams.C (writeLaTeX): ... in this new method
8995 * LaTeXFeatures.C (getEncodingSet): make const
8996 (getLanguages): make const
8998 * MenuBackend.C (binding): returns the binding associated to this
9000 (add): sets the status of each item by calling getStatus. Adds
9002 (read): add support for OptSubMenu
9003 (expand): remove extra separator at the end of expanded menu
9005 2003-02-15 John Levon <levon@movementarian.org>
9008 * BufferView_pimpl.C:
9010 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9011 inset code that had no actual effect. Remove unneeded status
9014 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9016 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9019 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9021 * text.C (drawLengthMarker): also draw an arrow marker for
9022 symbolic lengths (medskip...)
9024 2003-02-14 John Levon <levon@movementarian.org>
9027 * tabular.C: better method names
9029 2003-02-14 John Levon <levon@movementarian.org>
9031 * BufferView_pimpl.C:
9036 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9037 it's a more accurate name. Remove some pointless uses.
9039 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9041 * text2.C (LyXText): change order of initilizers to shut off
9044 2003-02-14 John Levon <levon@movementarian.org>
9046 * buffer.C: use ParIterator for getParFromID()
9050 * paragraph_pimpl.h:
9051 * paragraph_pimpl.C: remove unused getParFromID()
9053 2003-02-14 John Levon <levon@movementarian.org>
9055 * buffer.C: remove some very old #if 0'd parse code
9057 2003-02-13 John Levon <levon@movementarian.org>
9061 * text2.C: move hfillExpansion(), numberOfSeparators(),
9062 rowLast(), rowLastPrintable(), numberofHfills(),
9063 numberOfLabelHfills() ...
9066 * lyxrow.C: ... to member functions here.
9071 * text.C: remove LyXText::beginningOfMainBody(), and call
9072 p->beginningOfMainBody() directly. Move the check for
9073 LABEL_MANUAL into the latter.
9080 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9086 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9087 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9089 2003-02-13 John Levon <levon@movementarian.org>
9091 * CutAndPaste.C: remove debug
9093 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9095 * paragraph.C (asString): remove two unused variables
9097 * lyxtextclass.C (readTitleType):
9099 (LyXTextClass): handle new members titletype_ and titlename_
9101 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9103 2003-02-09 John Levon <levon@movementarian.org>
9106 * buffer.C: replace hand-coded list with a map for the dep clean
9108 2003-02-08 John Levon <levon@movementarian.org>
9110 * LaTeX.C: consolidate code into showRunMessage() helper
9112 2003-02-08 John Levon <levon@movementarian.org>
9117 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9118 and pass the size in explicitly
9120 * BufferView_pimpl.h:
9121 * BufferView_pimpl.C:
9123 * BufferView.C: add getCurrentChange()
9125 * BufferView_pimpl.h:
9126 * BufferView_pimpl.C: handle change lfuns
9128 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9129 for changes. Mark pasted paragraphs as new.
9131 * support/lyxtime.h:
9132 * support/lyxtime.C:
9133 * DepTable.C: abstract time_t as lyx::time_type
9136 * LColor.C: add colours for new text, deleted text, changebars
9138 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9139 package use "usenames" option.
9143 * LyXAction.C: add change lfuns
9147 * author.C: author handling
9150 * buffer.C: add a per-buffer author list, with first entry as
9151 current author. Handle new .lyx tokens for change tracking. Output
9152 author list to .lyx file. Output dvipost stuff to .tex preamble.
9153 Bump lyx format to 222.
9156 * bufferlist.C: add setCurrentAuthor() to reset current author details
9160 * bufferparams.C: add param for tracking
9162 * bufferview_funcs.C: output change info in minibuffer
9166 * changes.C: add change-tracking structure
9169 * debug.C: add CHANGES debug flag
9172 * lyxfind.C: add code for finding the next change piece
9175 * lyxrc.C: add user_name and user_email
9178 * lyxrow.C: add a metric for the top of the text line
9181 * text.C: implement accept/rejectChange()
9184 * text.C: paint changebars. Paint new/deleted text in the chosen
9185 colours. Strike through deleted text.
9189 * paragraph_pimpl.h:
9190 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9191 in the current change to the insert functions. Rework erase to
9192 mark text as deleted, adding an eraseIntern() and a range-based
9193 erase(). Implement per-paragraph change lookup and
9196 * paragraph_funcs.C: Fixup paste for change tracking.
9198 * tabular.C: mark added row/columns as new.
9200 * text.C: fix rowLast() to never return -1. Don't allow
9201 spellchecking of deleted text. Track transpose changes. Don't
9202 allow paragraph break or merge where appropriate.
9204 * text2.C: leave cursor at end of selection after a cut.
9206 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9208 * text.C (getLengthMarkerHeight):
9209 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9210 visible on screen too.
9212 2003-02-07 John Levon <levon@movementarian.org>
9214 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9216 2003-02-05 Angus Leeming <leeming@lyx.org>
9218 * lyxserver.C (read_ready): revert my patch of 11 September last year
9219 as it sends PC cpu through the roof. Presumably this means that
9220 the lyxserver will no longer run on an Alpha...
9222 2003-01-30 Angus Leeming <leeming@lyx.org>
9224 * factory.C (createInset): create an InsetCommandParam of type "index"
9225 and use it to 'do the right thing'.
9227 * text2.C (getStringToIndex): ensure that cursor position is always
9228 reset to the reset_cursor position.
9230 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9232 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9235 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9239 * lyxfunc.C: Output messages with identical spelling, punctuation,
9242 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9244 * MenuBackend.C (expandFormats): List only viewable export formats
9247 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9250 * lyxfunc.C (getStatus): Make sure that formats other than
9251 "fax" can also be disabled
9253 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9255 * text3.C (dispatch): put the lfuns that insert insets in 3
9256 groups, and call doInsertInset with appropriate arguments.
9257 (doInsertInset): new function, that creates an inset and inserts
9258 it according to some boolean parameters.
9260 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9262 * buffer.C (readFile): remember to pass on 'par' when calling
9263 readFile recursively.
9265 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9267 * MenuBackend.C (expandFormats): add "..." to import formats.
9269 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9271 * paragraph.C (asString): Remove XForms RTL hacks.
9273 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9274 * buffer.C: fix typo
9276 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9278 * Makefile.am (LIBS): delete var
9279 (lyx_LDADD): add @LIBS@ here instead.
9281 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9283 * Clarify the meaning of "wheel mouse jump"
9285 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9287 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9290 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9292 * importer.C (Loaders): do not preallocate 3 elements in the
9293 vector, since one ends up with 6 elements otherwise
9295 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9297 * DepTable.C (write): write the file name as last element of the
9298 .dep file (because it may contain spaces)
9299 (read): read info in the right order
9301 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9303 * paragraph_pimpl.C (simpleTeXBlanks):
9304 (simpleTeXSpecialChars):
9305 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9307 * tabular.C (latex): add some missing case statements. Reindent.
9309 * MenuBackend.C (expandToc): remove unused variable.
9311 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9320 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9323 2003-01-05 John Levon <levon@movementarian.org>
9326 * BufferView.C: add getEncoding()
9329 * kbsequence.C: do not store last keypress
9332 * lyxfunc.C: store last keypress here instead. Pass encoding
9335 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9337 * lyx_main.C (init): remove annoying error message when following
9338 symbolic links (bug #780)
9340 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9342 * text.C (insertChar):
9343 * lyxrc.C (getDescription): remove extra spaces
9345 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9347 * lyxrc.C (getDescription): remove extra spaces
9349 2002-12-20 John Levon <levon@movementarian.org>
9351 * text3.C: hack fix for page up/down across tall rows
9353 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9355 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9358 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9360 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9361 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9362 thesaurus is not compiled in
9364 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9366 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9368 2002-12-16 Angus Leeming <leeming@lyx.org>
9371 * lyx_main.C (init): remove override_x_deadkeys stuff.
9373 2002-12-12 John Levon <levon@movementarian.org>
9375 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9376 insert. Only remove shift modifier under strict
9379 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9381 * MenuBackend.C (expandToc): fix crash.
9383 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9385 * MenuBackend.C (expandToc): gettext on float names.
9387 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9389 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9390 implement bool empty() [bug 490]
9392 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9394 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9396 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9398 * several files: ws changes
9400 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9402 * text2.C (setCounter): clean up a bit, use boost.format.
9403 (updateCounters): initialize par upon declaration.
9405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9406 if the layout exists. We do not just store the layout any more.
9407 (SwitchLayoutsBetweenClasses): use boost.format
9409 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9411 * converter.C (convert): if from and to files are the same, use a
9412 temporary files as intermediary
9414 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9417 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9419 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9421 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9423 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9425 * tabular.C (asciiPrintCell): use string(size, char) instead of
9428 * sgml.C (openTag): fix order of arguments to string constructor
9431 * lyxfunc.C (dispatch): use boost.format
9433 * lots of files: change "c" -> 'c'
9435 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9437 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9439 2002-11-25 Angus Leeming <leeming@lyx.org>
9441 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9443 * lyx_main.C (init): compile fix.
9445 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9447 * lyx_cb.C (start): boost.formatify
9448 do not include <iostream>
9450 * lengthcommon.C: ws only
9452 * boost-inst.C,BoostFormat.h: add more explict instantations
9454 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9456 * lots of files: handle USE_BOOST_FORMAT
9458 2002-11-21 John Levon <levon@movementarian.org>
9460 * pspell.C: fix compile
9462 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * lyxfunc.C (dispatch): use boost::format
9468 * lyxfont.C (stateText): use boost::format
9470 * lyx_main.C (LyX): use boost::format
9472 (queryUserLyXDir): ditto
9475 (typedef boost::function): use the recommened syntax.
9477 * importer.C (Import): use boost::format
9479 * debug.C (showLevel): use boost::format
9481 * converter.C (view): use boost::format
9486 * bufferview_funcs.C (currentState): use boost::format
9488 * bufferlist.C (emergencyWrite): use boost::format
9490 * buffer.C (readLyXformat2): use boost::format
9491 (parseSingleLyXformat2Token): ditto
9493 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9495 * LaTeX.C (run): use boost::format
9497 * Chktex.C (scanLogFile): use boost::format
9499 * BufferView_pimpl.C (savePosition): use boost::format
9500 (restorePosition): ditto
9501 (MenuInsertLyXFile): ditto
9503 * BoostFormat.h: help file for explicit instation.
9505 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9507 * tabular.C (latex): Support for block alignment in fixed width
9510 2002-11-17 John Levon <levon@movementarian.org>
9512 * BufferView_pimpl.C:
9514 * lyxfunc.C: split filedialog into open/save
9516 2002-11-08 Juergen Vigna <jug@sad.it>
9518 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9519 by my last patch (hopefully).
9521 2002-11-08 John Levon <levon@movementarian.org>
9530 * toc.C: ParConstIterator, and use it (from Lars)
9532 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9534 * lyxtextclass.[Ch]: revise and add doxygen comments
9536 2002-11-07 John Levon <levon@movementarian.org>
9538 * text.C: fix progress value for spellchecker
9540 * toc.C: fix navigate menu for insetwrap inside minipage
9542 * paragraph_funcs.C: added FIXME for suspect code
9544 2002-11-07 John Levon <levon@movementarian.org>
9546 * BufferView_pimpl.C: fix redrawing of insets
9549 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9551 * text2.C (updateCounters): fix bug 668
9553 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9555 * text3.C (dispatch): Do not make the buffer dirty when moving the
9558 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9560 * vc-backend.C: STRCONV
9563 * text2.C (setCounter): STRCONV
9565 * paragraph.C (asString): STRCONV
9567 * lyxlength.C (asString): STRCONV
9568 (asLatexString): ditto
9570 * lyxgluelength.C (asString): STRCONV
9571 (asLatexString): ditto
9573 * lyxfunc.C (dispatch): STRCONV
9576 * lyxfont.C (stateText): STRCONV
9578 * importer.C (Import): STRCONV
9580 * counters.C (labelItem): STRCONV
9581 (numberLabel): ditto
9582 (numberLabel): remove unused ostringstream o
9587 * bufferview_funcs.C (currentState): STRCONV
9589 * buffer.C (readFile): STRCONV
9590 (asciiParagraph): ditto
9591 (makeLaTeXFile): ditto
9593 * Spacing.C (writeEnvirBegin): STRCONV
9595 * LaTeXFeatures.C (getLanguages): STRCONV
9596 (getPackages): ditto
9598 (getBabelOptions): ditto
9599 (getTClassPreamble): ditto
9600 (getLyXSGMLEntities): ditto
9601 (getIncludedFiles): ditto
9605 (scanAuxFile): ditto
9608 * LString.h: add the STRCONV macros
9610 * BufferView_pimpl.C (savePosition): STRCONV
9611 (restorePosition): ditto
9612 (MenuInsertLyXFile): ditto
9614 * vc-backend.C (scanMaster): change from submatch[...] to
9617 * funcrequest.C: include config.h
9619 * factory.C: include config.h
9621 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9623 * box.C: include config.h
9625 * LaTeX.C (scanAuxFile): change from submatch[...] to
9629 2002-10-25 Angus Leeming <leeming@lyx.org>
9631 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9633 * ispell.[Ch] (setError): new method.
9634 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9635 Use setError() insetead of goto END.
9637 * lyx_cb.C (AutoSave): move out child process into new class
9640 2002-10-30 John Levon <levon@movementarian.org>
9642 * text3.C: make start appendix undoable
9644 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9646 * lyxlength.C (inPixels): Fix returned value.
9648 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9651 2002-10-24 Angus Leeming <leeming@lyx.org>
9653 * lyxgluelength.h: no need to forward declare BufferParams
9654 or BufferView, so don't.
9656 2002-10-21 John Levon <levon@movementarian.org>
9658 * BufferView.C: menuUndo ->undo, redo
9660 * BufferView.h: document, remove dead, make some methods private
9662 * paragraph_funcs.h:
9663 * paragraph_funcs.C:
9664 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9669 * sgml.C: move sgml open/close tag into sgml.C
9671 * bufferview_funcs.h: unused prototype
9674 * lyxfunc.C: remove unused
9677 * text.C: remove unused
9679 2002-10-21 John Levon <levon@movementarian.org>
9683 * BufferView_pimpl.h:
9684 * BufferView_pimpl.C: fix mouse wheel handling based on
9685 patch from Darren Freeman
9687 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9689 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9691 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9693 * lyxlength.C (inPixels): Fix hanfling of negative length.
9694 Fix LyXLength::MU case.
9696 2002-10-16 John Levon <levon@movementarian.org>
9698 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9700 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9702 * converter.C (view): add support for $$i (file name) and $$p
9703 (file path) for the viewer command. If $$i is not specified, then
9704 it is appended to the command (for compatibility with old syntax)
9706 2002-10-14 Juergen Vigna <jug@sad.it>
9708 * undo_funcs.C (textHandleUndo): alter the order in which the
9709 new undopar is added to the LyXText, as we have to set first
9710 the right prev/next and then add it as otherwise the rebuild of
9711 LyXText is not correct. Also reset the cursor to the right paragraph,
9712 with this IMO we could remove the hack in "redoParagraphs()".
9714 2002-10-09 Angus Leeming <leeming@lyx.org>
9716 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9717 to turn off an optimisation if a new inset is to be inserted.
9719 2002-10-11 André Pönitz <poenitz@gmx.net>
9721 * lyxtext.h: make some functions public to allow access
9722 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9724 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * text3.C (dispatch): when changing layout, avoid an infinite loop
9729 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9731 * lyxrc.C (read): treat a viewer or converter command of "none" as
9734 * MenuBackend.C (expandFormats): for an update, also allow the
9735 formats that are not viewable
9737 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9738 script if it is newer than the lyxrc.defaults in user directory
9740 2002-10-07 André Pönitz <poenitz@gmx.net>
9742 * text.C: Vitaly Lipatov's small i18n fix
9744 2002-09-25 Angus Leeming <leeming@lyx.org>
9746 * ispell.h: doxygen fix.
9748 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9750 * buffer.h (readFile): Add a new argument to the method, to allow
9751 reading of old-format templates.
9753 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9755 * toc.C (getTocList): Get TOC from InsetWrap.
9757 2002-09-16 John Levon <levon@movementarian.org>
9759 * lyxfunc.C: check tabular for cut/copy too
9761 2002-09-12 John Levon <levon@movementarian.org>
9766 * factory.C: add header
9768 * paragraph_funcs.h:
9769 * paragraph_funcs.C: cleanup
9771 2002-09-11 John Levon <levon@movementarian.org>
9773 * PrinterParams.h: odd/even default to true
9775 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9777 * PrinterParams.h: update printer parameters for new xforms dialog
9779 2002-09-11 Angus Leeming <leeming@lyx.org>
9781 * lyxserver.C (read_ready): re-write to make it more transparent
9782 and to make it work in coherent fashion under Tru64 Unix.
9784 2002-09-11 André Pönitz <poenitz@gmx.net>
9788 * text3.C: implement LFUN_WORDSEL
9790 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9792 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9793 make floatlist_ a boost::shared_ptr<FloatList>
9795 * lyxtextclass.C: include FloatList.h
9796 (LyXTextClass): initialize floatlist_
9797 (TextClassTags): add TC_NOFLOAT
9798 (Read): match "nofloat" to TC_NOFLOAT and use it.
9799 (readFloat): modify call to floatlist_
9803 * FloatList.[Ch] (FloatList): remove commented out float
9805 (erase): new function
9807 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9809 * MenuBackend.C (expandToc): fix crash when there is no document
9812 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9814 * many files: Add insetwrap.
9816 2002-09-09 John Levon <levon@movementarian.org>
9818 * text2.C: remove confusing and awkward depth wraparound
9820 2002-09-09 John Levon <levon@movementarian.org>
9822 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9825 * buffer.C: remove getIncludeonlyList()
9828 * lyxfunc.C: remove headers
9830 2002-09-09 Juergen Vigna <jug@sad.it>
9832 * text.C (getColumnNearX): fix form Michael this is most
9833 probably a cut&paste bug.
9835 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9837 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9839 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9840 references, ws changes.
9842 * text2.C (init): update counters after init
9843 (insertParagraph): no need to set counter on idividual paragraphs.
9844 (setCounter): access the counters object in the textclass object
9845 on in the buffer object.
9846 (updateCounters): ditto
9848 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9849 shared_ptr<Counters> to avoid loading counters.h in all
9851 (LyXTextClass): initialize ctrs_
9852 (TextClassTags): add TC_COUNTER, and ...
9853 (Read): use it here.
9854 (CounterTags): new tags
9855 (readCounter): new function
9856 (counters): new funtion
9857 (defaultLayoutName): return a const reference
9859 * counters.C (Counters): remove contructor
9860 (newCounter): remove a couple of unneeded statements.
9861 (newCounter): simplify a bit.
9862 (numberLabel): some small formatting changes.
9864 * buffer.[Ch]: remove all traces of counters, move the Counters
9865 object to the LyXTextClass.
9867 2002-09-06 Alain Castera <castera@in2p3.fr>
9869 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9870 package to set the horizontal alignment on fixed width columns.
9873 * lyx_sty.h: added tabularnewline macro def.
9875 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9877 2002-09-06 John Levon <levon@movementarian.org>
9879 * LyXAction.C: tooltips for sub/superscript
9881 * MenuBackend.C: a bit more verbose
9883 * lyxfunc.C: tiny clean
9885 * undo_funcs.C: document undo_frozen
9887 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9889 * counters.C (Counters): add missing algorithm counter.
9891 * text2.C (setCounter): lookup the counter with layouts latexname
9892 instead of by section number.
9893 (setCounter): use a hackish way to lookup the correct enum
9895 a float name->type change
9896 reset enum couners with counter name directly instead of depth value.
9898 * counters.C (Counters): remove the push_backs, change to use the
9899 float type not the float name.
9900 (labelItem): remove unused string, float name->type change
9902 * counters.h: don't include vector, loose the enums and sects vectors
9904 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9906 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9907 (Read): add float->TC_FLOAT to textclassTags
9908 (Read): and handle it in the switch
9909 (readFloat): new function
9911 * FloatList.C (FloatList): comment out the hardcoded float
9914 * lyxlayout.h: ws change.
9916 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9918 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9920 2002-09-03 Angus Leeming <leeming@lyx.org>
9922 * BufferView_pimpl.h: qualified name is not allowed in member
9923 declaration: WorkArea & Pimpl::workarea() const;
9925 * factory.C: added using std::endl directive.
9927 * text3.C: added using std::find and std::vector directives.
9929 2002-08-29 André Pönitz <poenitz@gmx.net>
9932 * text2.C: remove unused member number_of_rows
9935 * BufferView2.C: remove file, move contents to...
9936 * BufferView.C: ... here
9938 * BufferView_pimpl.C:
9939 * factory.C: move more inset creation to factory
9941 * vspace.C: avoid direct usage of LyXText, ws changes
9944 don't provide direct access to WorkArea, use two simple
9945 acessors haveSelction() and workHeight() instead
9948 2002-08-29 John Levon <levon@movementarian.org>
9950 * BufferView_pimpl.C (dispatch): do not continue when
9953 2002-08-28 André Pönitz <poenitz@gmx.net>
9955 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9958 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9960 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9962 * buffer.C: increment LYX_FORMAT to 221
9964 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9965 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9967 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9969 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9971 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9973 * factory.C (createInset): use LyXTextClass::floats
9975 * MenuBackend.C (expandFloatListInsert):
9976 (expandFloatInsert):
9979 * text2.C (setCounter):
9981 * LaTeXFeatures.C (useFloat):
9982 (getFloatDefinitions):
9984 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9986 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9987 floatlist_, with accessor floats().
9989 * FloatList.h: remove global FloatList
9991 2002-08-26 André Pönitz <poenitz@gmx.net>
9993 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9997 * BufferView_pimpl.C:
9998 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10000 2002-08-25 John Levon <levon@movementarian.org>
10002 * LyXAction.C: fix margin note description
10004 2002-08-24 John Levon <levon@movementarian.org>
10008 * bufferview_funcs.C:
10010 * undo_funcs.C: cleanups
10012 * lyxfunc.C: disable CUT/COPY when no selection
10014 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10016 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10017 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10019 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10020 Add backward compatibility to "mono", "gray" and "no".
10022 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10024 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10025 (and file_format >= 200).
10027 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10031 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10033 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10035 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10037 * BufferView_pimpl.C:
10044 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10045 inset and code to make it work with the paragraph code. The inset
10046 can be anywhere in the paragraph, but will only do the expected
10047 thing in LaTeX if the layout file contains the parameter line
10049 (or more generally, a nonzero value) for that layout.
10051 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10053 * paragraph.h: remove the declaration of undefined counters class
10056 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10058 * text2.C (setCounter): fixed enumeration mis-count as reported by
10059 Dr. Richard Hawkins.
10061 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * paragraph_funcs.h: remove some unneeded includes
10065 * text.C (backspace): pasteParagraph now in global scipe
10067 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10068 (pasteSelection): ditto
10070 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10071 * paragraph_funcs.C (pasteParagraph): ... here
10073 2002-08-20 André Pönitz <poenitz@gmx.net>
10075 * commandtags.h: new LFUNs for swapping/copying table row/colums
10078 * lyxfunc.C: support for new lfuns
10080 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10083 * buffer.[Ch]: remove NO_COMPABILITY stuff
10085 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10087 * boost.C (throw_exception): new file, with helper function for
10088 boost compiled without exceptions.
10093 * ParameterStruct.h:
10094 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10096 * bufferlist.C (emergencyWriteAll): use boost bind
10098 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10100 * text.C: include paragraph_funcs.h
10101 (breakParagraph): breakParagraph is now in global scope
10103 * paragraph_funcs.[Ch]: new files
10105 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10108 * buffer.C: include paragraph_funcs.h
10109 (insertStringAsLines): breakParagraph is now in global scope
10111 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10114 * CutAndPaste.C: include paragraph_funcs.h
10115 (cutSelection): breakParagraphConservative is now in global scope
10116 (pasteSelection): ditto
10118 * buffer.h: declare oprator== and operator!= for
10119 Buffer::inset_iterator
10121 * bufferlist.C (emergencyWrite): don't use fmt(...)
10123 * text3.C: add using std::endl
10125 * BufferView.C (moveCursorUpdate): remove default arg
10127 2002-08-20 André Pönitz <poenitz@gmx.net>
10129 * buffer.[Ch]: move inline functions to .C
10132 * BufferView_pimpl.C:
10134 * buffer.[Ch]: use improved inset_iterator
10137 * paragraph.[Ch]: write one paragraph at a time
10139 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10141 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10142 style if style is not specified.
10144 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10146 * text2.C (setCounter): when searching for right label for a
10147 caption, make sure to recurse to parent insets (so that a caption
10148 in a minipage in a figure float works) (bug #568)
10150 2002-08-20 André Pönitz <poenitz@gmx.net>
10152 * text3.C: new file for LyXText::dispatch() and helpers
10154 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10156 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10158 2002-08-19 André Pönitz <poenitz@gmx.net>
10161 * text.C: new LyXText::dispatch()
10163 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10165 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10167 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10169 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10172 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10174 * Makefile.am: use $(variables) instead of @substitutions@
10176 2002-08-15 André Pönitz <poenitz@gmx.net>
10179 * BufferView_pimpl.C: streamlining mathed <-> outer world
10183 * LyXAction.C: remove unused LFUN_MATH
10185 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10187 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10189 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10191 * paragraph.C (Paragraph): reformat a bit
10192 (cutIntoMinibuffer): use builtin InsetList function instad of
10196 * buffer.C: include boost/bind.hpp, add using std::for_each
10197 (writeFileAscii): use ParagraphList iterators
10198 (validate): use for_each for validate traversal of paragraphs
10199 (getBibkeyList): use ParagraphList iterators
10200 (resizeInsets): use for_each to resizeInsetsLyXText for all
10202 (getParFromID): use ParagraphList iterators
10204 * BufferView2.C (lockInset): use paragraph list and iterators
10206 2002-08-14 John Levon <levon@movementarian.org>
10208 * lyxserver.C: remove spurious xforms include
10210 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10212 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10214 2002-08-13 André Pönitz <poenitz@gmx.net>
10217 * lyxfunc.C: further cleaning
10219 2002-08-13 André Pönitz <poenitz@gmx.net>
10221 * funcrequest.h: new constructor
10223 * funcrequest.C: move stuff here from .h
10226 * BufferView_pimpl.C:
10229 * lyxfunc.C: subsequent changes
10231 * lyxfunc.h: new view() member function
10233 * lyxfunc.C: subsequent changes
10235 2002-08-13 Angus Leeming <leeming@lyx.org>
10238 * BufferView_pimpl.C:
10246 changes due to the changed LyXView interface that now returns references
10247 to member variables not pointers.
10249 2002-08-13 Angus Leeming <leeming@lyx.org>
10251 * WordLangTuple (word, lang_code): return references to strings,
10256 * lyxtext.h: forward-declare WordLangTuple.
10261 * text.C: #include "WordLangTuple.h".
10264 * text.C: (selectNextWordToSpellcheck): constify return type.
10266 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10272 * paragraph_pimpl.h:
10275 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10276 suggested by Angus.
10277 Made updateCounter always count from start of buffer, and removed
10278 second argument (par).
10279 Reverted floats number display to '#'. Perhaps I'll try again when the
10280 code base is sanitized a bit.
10282 2002-08-12 Angus Leeming <leeming@lyx.org>
10284 * buffer.[Ch] (getLabelList): constify.
10286 2002-08-07 André Pönitz <poenitz@gmx.net>
10288 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10290 * funcrequest.h: extension to keep mouse (x,y) position
10292 2002-08-12 Juergen Vigna <jug@sad.it>
10294 * BufferView2.C (insertErrors): forbid undo when inserting error
10297 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10299 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10301 * ParagraphList.[Ch]: new files
10303 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10305 * BufferView2.C (lockInset): ParagraphList changes
10308 * bufferlist.C: ditto
10312 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10314 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10315 unused class variable counter_,
10317 * paragraph.[Ch] (getFirstCounter): delete unused function
10319 * counters.C: include LAssert.h
10320 (reset): add a new function with no arg, change other version to
10321 not have def. arg and to not allow empty arg.
10323 * text2.C (setCounter): remove empty arg from call to Counters::reset
10325 2002-08-11 John Levon <levon@movementarian.org>
10327 * Makefile.am: add WordLangTuple.h
10329 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10331 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10332 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10334 * insets/insettext.C: InsetList changes
10336 * graphics/GraphicsSupport.C (operator()): InsetList changes
10338 * toc.C (getTocList): InsetList changes
10340 * paragraph_pimpl.[Ch]: InsetList changes
10342 * paragraph.[Ch]: InsetList changes
10344 * buffer.C (inset_iterator): InsetList changes
10345 (setParagraph): ditto
10346 * buffer.h (inset_iterator): ditto
10347 * iterators.C (operator++): ditto
10348 * iterators.h: ditto
10350 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10352 * InsetList.[Ch]: new files, most InsetList handling moved out of
10355 * BufferView2.C (removeAutoInsets): InsetList changes
10357 (ChangeInsets): ditto
10359 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10361 * paragraph_pimpl.h (empty): new function
10363 * paragraph.[Ch] (empty): new function
10365 * other files: use the new Paragraph::empty function
10367 2002-08-09 John Levon <levon@movementarian.org>
10369 * lyxtext.h: remove unused refresh_height
10371 2002-08-09 John Levon <levon@movementarian.org>
10378 * paragraph.C: move sgml char escaping out of paragraph
10381 * paragraph.C: remove id setter
10385 * paragraph_pimpl.C: remove dead tex_code_break_column
10387 * bufferview_funcs.C: small cleanup
10389 * lyxfunc.C: remove dead proto
10391 * lyxtext.h: make some stuff private. Remove some dead stuff.
10393 * lyxgluelength.C: make as[LyX]String() readable
10395 2002-08-08 John Levon <levon@movementarian.org>
10400 * ToolbarDefaults.C:
10403 * toc.C: lyxaction cleanup
10405 2002-08-08 John Levon <levon@movementarian.org>
10407 * BufferView2.C: small cleanup
10410 * lyxfind.C: move unnecessary header into the .C
10412 2002-08-08 John Levon <levon@movementarian.org>
10414 * funcrequest.h: just tedious nonsense
10417 * lyx_main.C: cleanups
10420 * vspace.C: remove dead header lyx_main.h
10422 2002-08-07 Angus Leeming <leeming@lyx.org>
10425 * paragraph_pimpl.h:
10426 Forward declare class Counters in paragraph.h by moving the ctrs member
10427 variable into Paragraph::Pimpl.
10428 (counters): new method, returning a reference to pimpl_->ctrs.
10430 * text2.C: ensuing changes.
10432 2002-08-07 John Levon <levon@movementarian.org>
10434 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10436 * BufferView_pimpl.C: announce X selection on double/triple
10439 * lyx_main.C: use correct bool in batch dispatch
10441 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10443 2002-08-07 André Pönitz <poenitz@gmx.net>
10445 * funcrequest.h: new class to wrap a kb_action and its argument
10448 * BufferView_pimpl[Ch]:
10452 * lyxrc.C: subsequent changes
10455 2002-08-07 John Levon <levon@movementarian.org>
10457 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10458 document options change.
10460 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10465 * makefile.am: move counters functionality over from
10466 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10468 2002-08-06 John Levon <levon@movementarian.org>
10470 * WordLangTuple.h: new file for word + language code tuple
10481 * BufferView2.C: use WordLangTuple
10484 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10486 2002-08-06 John Levon <levon@movementarian.org>
10488 * lyx_main.C: fix cmdline batch handling
10490 2002-08-06 André Pönitz <poenitz@gmx.net>
10492 * lyxrc.C: set default for show_banner to true
10494 2002-08-06 John Levon <levon@movementarian.org>
10496 * pspell.C: fix a crash, and allow new aspell to work
10498 2002-08-06 John Levon <levon@movementarian.org>
10501 * kbmap.C: small cleanup
10504 * vspace.C: add const
10506 2002-08-05 John Levon <levon@movementarian.org>
10508 * LyXAction.C: back to tabular-insert
10510 2002-08-04 John Levon <levon@movementarian.org>
10513 * BufferView.C: cosmetic change
10515 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10525 * BufferView2.C: purge all "Lyx" not "LyX" strings
10528 * lyxcursor.C: attempt to add some documentation
10533 * ToolbarDefaults.C:
10534 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10535 merge with LFUN_TABULAR_INSERT
10542 * pspell.C: split up i/pspell implementations into separate
10543 files, many cleanups
10545 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10547 * text2.C: some cleanup
10549 * lyxfunc.C: don't check for isp_command == "none" any more, it
10550 didn't make any sense
10552 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10557 * makefile.am: move counters functionality over
10558 from text2.C/paragraph.[Ch] to counters.[Ch], and
10560 2002-08-02 John Levon <levon@movementarian.org>
10562 * buffer.C: s/lyxconvert/lyx2lyx/
10564 2002-08-02 Angus Leeming <leeming@lyx.org>
10566 * lyxlex.C: revert John's change as it breaks reading of the user
10569 2002-08-02 Angus Leeming <leeming@lyx.org>
10571 * importer.C (Import):
10572 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10573 changes due to LyXView::view() now returning a boost::shared_ptr.
10575 2002-08-02 John Levon <levon@movementarian.org>
10577 * lyxlex.C: small cleanup
10579 2002-08-02 John Levon <levon@movementarian.org>
10581 * text2.C (status): small cleanup, no logic change
10583 2002-08-01 John Levon <levon@movementarian.org>
10586 * buffer.C (writeFile): don't output alerts, caller
10590 * lyx_cb.C: from above
10592 * lyxfunc.C: allow to open non-existent files
10594 2002-07-31 John Levon <levon@movementarian.org>
10596 * lyxserver.C: don't let incidental errors get
10599 2002-07-30 John Levon <levon@movementarian.org>
10601 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10603 2002-07-30 John Levon <levon@movementarian.org>
10606 * lyxserver.C: remove I/O callback too
10608 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10610 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10613 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10615 * many files: strip,frontStrip -> trim,ltrim,rtrim
10617 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10619 * PrinterParams.h: remove extern containsOnly, and include
10620 support/lstrings.h instead.
10622 * LaTeX.C (scanAuxFile): modify because of strip changes
10624 * buffer.C (makeLaTeXFile): ditto
10625 * bufferparams.C (writeFile): ditt
10626 * lyxfont.C (stateText): ditto
10627 * lyxserver.C (read_ready): ditto
10628 * vc-backend.C (scanMaster): ditto
10630 * BufferView_pimpl.h: ws changes
10632 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10634 2002-07-26 André Pönitz <poenitz@gmx.net>
10636 * kb_sequence.C: remove unnedred usings
10638 2002-07-26 Juergen Vigna <jug@sad.it>
10640 * lyxfind.C (LyXReplace): we have to check better if the returned
10641 text is not of theLockingInset()->getLockingInset().
10643 2002-07-25 Juergen Vigna <jug@sad.it>
10645 * lyxfind.C (LyXReplace): don't replace if we don't get the
10648 * undo_funcs.C (createUndo): remove debugging code.
10650 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10652 * buffer.C (parseSingleLyXformat2Token): Use default placement
10653 when reading old floats.
10655 * FloatList.C (FloatList): Change the default placement of figure
10656 and tables to "tbp".
10658 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10660 * MenuBackend.C: using std::max
10662 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10664 * MenuBackend.C (expandToc):
10665 (expandToc2): code moved from xforms menu frontend. It is now
10666 generic and TOCs are transparent to menu frontends.
10668 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * toc.C (getTocList): protect against buf=0
10672 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10673 Menu as first parameter. Now, this calls itself recursively to
10674 expand a whole tree (this will be useful for TOC handling)
10675 (expandFloatInsert): remove 'wide' version of floats
10677 * MenuBackend.h (submenuname): returns the name of the submenu.
10678 (submenu): returns the submenu itself, provided it has been
10679 created by MenuBackend::expand
10681 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10683 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10684 insets which have noFontChange == true. (bug #172)
10686 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10688 * BufferView_pimpl.C: add connection objects and use them...
10691 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * MenuBackend.C (expandLastfiles):
10696 (expandFloatListInsert):
10697 (expandFloatInsert):
10698 (expand): split expand in parts
10700 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10702 * lyx_gui.C: use lyx_gui::exit()
10704 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10706 * LyXAction.C: show the failing pseudo action
10708 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10710 * buffer.C (readFile): Run the lyxconvert script in order to read
10713 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10717 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10719 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10723 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10725 2002-07-22 Herbert Voss <voss@lyx.org>
10728 * lyxlength.[Ch]: add support for the vertical lengths
10730 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10732 * toc.[Ch]: std:: fixes
10734 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10736 * lyxrc.C: do not include lyx_main.h
10738 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10744 * BufferView2.C: include "lyxlex.h"
10747 * bufferparams.h: do not #include "lyxlex.h"
10749 * lyxtextclasslist.C (Add): remove method
10750 (classlist): renamed to classlist_
10752 * paragraph_pimpl.C:
10756 * bufferview_funcs.C:
10761 * toc.C (getTocList): use BufferParams::getLyXTextClass
10763 * toc.C (getTocList): use InsetFloat::addToToc
10765 * toc.[Ch]: new files, containing helper functions to handle table
10768 * lyxfunc.C (dispatch): no need to remove spaces around command
10770 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10771 first command of the sequence; it is not very clever, but I do not
10772 have a better idea, actually
10774 * LyXAction.C (LookupFunc): make sure to remove space at the
10775 beginning and end of the command
10777 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * MenuBackend.C (getMenubar): new method: return the menubar of
10781 (read): treat differently reading of menu and menubar (in
10782 particular, the menubar has no name now)
10783 (Menu::menubar): remove
10785 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10788 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10790 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10791 a bibitem inset in a RTL paragraph.
10793 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10795 * paragraph_pimpl.C: constify
10797 * BufferView_pimpl.C:
10799 * lyxfunc.C: fix dispatch in a nicer way
10801 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10803 * lyxfunc.C (dispatch):
10804 * BufferView_pimpl.C:
10805 * BufferView_pimpl.h:
10807 * BufferView.h: rename Dispatch() to dispatch()
10809 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10811 * lyxlayout.C (Read): honor DependsOn tag
10813 * lyxlayout.[Ch] (depends_on): new method
10815 * version.C.in: update lyx_docversion
10817 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10819 * paragraph.C (validate): remove from here...
10820 * paragraph_pimpl.C (validate): ... and move here
10821 (isTextAt): make it const
10823 * buffer.C (getLists): ws cleanup
10825 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10827 * language.C (read): Use iso8859-1 encoding in latex_lang
10828 (this prevents LyX from crashing when using iso10646-1 encoding).
10830 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10832 * text2.C (toggleInset): if cursor is inside an inset, close the
10833 inset and leave cursor _after_ it
10835 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10837 * lyxfunc.C: move minibuffer completion handling out of here
10839 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10841 * BufferView_pimpl.C:
10842 * LaTeX.C: fix dispatch calls
10844 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10846 * text.C (drawChars): Fix Arabic text rendering.
10848 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10852 * lyxfunc.C: remove message-push/pop
10856 * lyxfunc.C: rationalise some code by removing verboseDispatch
10857 in favour of a bool argument to dispatch()
10859 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10861 * lyx_main.C (init): make sure to read symlinks as absolute paths
10863 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10866 * lyxfunc.C: no need for commandshortcut to be a member
10868 2002-07-15 André Pönitz <poenitz@gmx.net>
10870 * converter.C: add support for $$s (scripts from lib/scripts dir)
10871 * lyx_main.C: white space
10873 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10877 * lyxrc.C: remove second exit confirmation
10879 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10884 * BufferView_pimpl.h:
10885 * BufferView_pimpl.C:
10886 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10888 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * MenuBackend.C (expand): add numeric shortcuts to document menu
10892 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10894 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * lyxfont.C (setLyXFamily):
10903 * buffer.C (asciiParagraph): use ascii_lowercase
10905 2002-07-15 Mike Fabian <mfabian@suse.de>
10907 * lyxlex_pimpl.C (search_kw):
10908 * lyxlex.C (getLongString):
10909 * converter.h (operator<):
10910 * converter.C (operator<):
10911 * buffer.C (parseSingleLyXformat2Token):
10913 * ToolbarDefaults.C (read):
10914 * MenuBackend.C (checkShortcuts):
10916 * LColor.C (getFromGUIName):
10917 (getFromLyXName): use the compare_ascii_no_case instead of
10918 compare_no_case, because in turkish, 'i' is not the lowercase
10919 version of 'I', and thus turkish locale breaks parsing of tags.
10921 2002-07-16 Angus Leeming <leeming@lyx.org>
10923 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10924 now takes a Buffer const & argument.
10926 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10928 * BufferView.C (resize): check there's a buffer to resize
10930 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10932 * lyxfunc.C: remove dead code
10935 * lyxserver.C: use lyx_guii::set_read_callback
10937 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10939 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10940 an inset in a RTL paragraph.
10942 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10944 * lyxfunc.C: repaint after a font size update
10946 2002-07-15 André Pönitz <poenitz@gmx.net>
10948 * lyxlength.C: inBP should be able to return negative values
10950 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10952 * lyxfunc.C: use lyx_gui::update_fonts()
10954 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10956 * lyxfunc.C: use lyx_gui::update_color()
10958 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10964 * lyxrc.C: remove file->new asks for name option, and let
10965 buffer-new take an argument
10967 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10969 * BufferView_pimpl.C: remove unneeded extra repaint()
10971 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10973 * LyXAction.C: allow command-sequence with NoBuffer
10975 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10977 2002-07-10 Angus Leeming <leeming@lyx.org>
10979 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10981 2002-07-09 Angus Leeming <leeming@lyx.org>
10983 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10985 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10987 * lengthcommon.h: whitespace
10989 * lyxfunc.C: update scrollbar after goto paragraph
10991 * lyxtext.h: factor out page break drawing, and fix it so
10992 page break/added space paints as selected nicely
10994 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10996 * BufferView_pimpl.C: add FIXMEs, clean up a little
10998 2002-07-09 André Pönitz <poenitz@gmx.net>
11000 * lyxfont.[Ch]: support for wasy symbols
11002 2002-07-08 André Pönitz <poenitz@gmx.net>
11004 * BufferView_pimpl.C: apply John's patch for #93.
11006 2002-07-05 Angus Leeming <leeming@lyx.org>
11008 * BufferView_pimpl.C (buffer): generate previews if desired.
11010 * LColor.h: add "preview" to the color enum.
11012 * LColor.C (LColor): add a corresponding entry to the items array.
11014 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11017 2002-07-05 Angus Leeming <leeming@lyx.org>
11019 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11020 The body of the code is now in the method that is passed an ostream &
11021 rather than a file name.
11022 Pass an additional only_preamble parameter, useful for the forthcoming
11025 2002-07-03 André Pönitz <poenitz@gmx.net>
11027 * lyxfunc.C: simplify getStatus() a bit for math stuff
11029 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11031 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11033 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * text.C (changeRegionCase): do not change case of all the
11036 document when region ends at paragraph end (bug #461)
11038 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11040 * paragraph.C (startTeXParParams):
11041 (endTeXParParams): add \protect when necessary
11043 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * BufferView_pimpl.C (workAreaExpose): remove warning
11047 2002-06-27 Angus Leeming <leeming@lyx.org>
11049 * Makefile.am: add lyxlayout_ptr_fwd.h.
11051 2002-06-26 André Pönitz <poenitz@gmx.net>
11053 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11055 2002-06-25 Angus Leeming <leeming@lyx.org>
11057 * lyxfunc.C (dispatch): Comment out the call to
11058 grfx::GCache::changeDisplay. The method no longer exists now that the
11059 pixmap generation part of the graphics loader has been moved into
11062 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11064 * text2.C: layout as layout
11066 * text.C: layout as layout
11068 * tabular.C (OldFormatRead): layout as layout
11070 * paragraph_pimpl.C (TeXDeeper): layout as layout
11071 (realizeFont): layout as layout
11073 * paragraph.C (writeFile): layout as layout
11074 (validate): layout as layout
11075 (getFont): layout as layout
11076 (getLabelFont): layout as layout
11077 (getLayoutFont): layout as layout
11078 (breakParagraph): layout as layout
11079 (stripLeadingSpaces): layout as layout
11080 (getEndLabel): layout as layout
11081 (getMaxDepthAfter): layout as layout
11082 (applyLayout): layout as layout
11083 (TeXOnePar): layout as layout
11084 (simpleTeXOnePar): layout as layout
11085 (TeXEnvironment): layout as layout
11086 (layout): layout as layout
11087 (layout): layout as layout
11089 * lyxtextclass.C (compare_name): new functor to work with
11090 shared_ptr, layout as layout
11091 (Read): layout as layout
11092 (hasLayout): layout as layout
11093 (operator): layout as layout
11094 (delete_layout): layout as layout
11095 (defaultLayout): layout as layout
11097 * lyxlayout_ptr_fwd.h: new file
11099 * lyxlayout.C (Read): layout as layout
11101 * lyx_cb.C (MenuInsertLabel): layout as layout
11103 * bufferlist.C (newFile): layout as layout
11105 * buffer.C (readLyXformat2): layout as layout
11106 (parseSingleLyXformat2Token): layout as layout
11107 (insertStringAsLines): layout as layout
11108 (asciiParagraph): layout as layout
11109 (latexParagraphs): layout as layout
11110 (makeLinuxDocFile): layout as layout
11111 (simpleLinuxDocOnePar): layout as layout
11112 (makeDocBookFile): layout as layout
11113 (simpleDocBookOnePar): layout as layout
11114 (getLists): layout as layout
11116 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11118 * CutAndPaste.C (cutSelection): layout as layout
11119 (pasteSelection): layout as layout
11120 (SwitchLayoutsBetweenClasses): layout as layout
11122 * BufferView_pimpl.C (Dispatch): layout as layout
11123 (smartQuote): layout as layout
11125 * BufferView2.C (unlockInset): layout as layout
11127 2002-06-24 André Pönitz <poenitz@gmx.net>
11129 * lyxfunc.C: fix #487
11131 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11135 * lyxfunc.C: remove display_shortcuts, show_banner
11137 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11139 * Buffer_pimpl.C: oops, update on resize
11141 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11148 * BufferView.C: use repaint()
11150 * BufferView_pimpl.h:
11151 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11152 as it's a clearer description. Remove superfluous
11155 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11157 * text.C: fix bug 488. Not ideal, but getting
11158 getWord() to work properly for the insets that
11159 matter is more difficult ...
11161 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11163 * BufferView_pimpl.C:
11166 * lyxfunc.C: remove the six million index lyxfuncs to just
11167 one, and DTRT (bug 458)
11169 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11173 * BufferView_pimpl.h:
11174 * BufferView_pimpl.C: clean up resize() stuff,
11175 and unnecessary updateScreen()s
11177 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11181 * BufferView_pimpl.h:
11182 * BufferView_pimpl.C:
11185 * minibuffer.C: remove focus management of workarea,
11186 not needed. Use screen's greyOut()
11188 2002-06-17 Herbert Voss <voss@lyx.org>
11190 * converter.C: (convert) do not post a message, when converting
11191 fails, let the calling function decide what to do in this case
11193 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11195 * lyxfunc.C: tidy up a little
11197 2002-06-16 <alstrup@diku.dk>
11199 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11200 Got rid of FORMS_H_LOCATION include. Now we are
11203 2002-06-15 LyX Development team <lyx@rilke>
11205 * buffer.[Ch] (sgmlOpenTag):
11206 (sgmlCloseTag): Added support for avoiding pernicious mixed
11207 content. Return number of lines written.
11209 (makeLinuxDocFile):
11210 (makeDocBookFile): Fixed calls to sgml*Tag.
11211 Simple white space clean.
11213 (simpleDocBookOnePar): Simple white space clean.
11215 * tabular.[Ch] (docBook): Renamed to docbook and got another
11216 argument to related with the pernicious mixed content.
11218 (docbookRow): Fixed calls for docbook inset method.
11220 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11222 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11223 so it's X11 independent.
11227 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11229 2002-06-15 Lyx Development team <lyx@electronia>
11231 * intl.h: Renamed getTrans to getTransManager.
11233 2002-06-14 Angus Leeming <leeming@lyx.org>
11235 * Makefile.am: nuke forgotten stl_string_fwd.h.
11237 2002-06-12 Angus Leeming <leeming@lyx.org>
11239 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11241 2002-06-13 Angus Leeming <leeming@lyx.org>
11244 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11246 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11248 * kbmap.C (getiso): add support for cyrillic and greek
11250 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11254 * BufferView_pimpl.h:
11255 * BufferView_pimpl.C: move bogus scrolling logic
11258 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11261 * BufferView_pimpl.C: view->resize() change
11263 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11265 * BufferView_pimpl.C: topCursorVisible
11268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11272 * lyx_gui.C: move to frontends/
11276 * lyx_main.C: changes from above
11278 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11285 * lyx_main.C: minor tidy
11287 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11289 * BufferView_pimpl.h:
11290 * BufferView_pimpl.C:
11292 * BufferView.C: make painter() const,
11295 * BufferView2.C: use screen() accessor
11298 * lyx_main.C: some minor cleanup
11300 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11302 * BufferView_pimpl.h:
11303 * BufferView_pimpl.C: remove enter/leaveView,
11306 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11311 * BufferView_pimpl.h:
11312 * BufferView_pimpl.C: only construct screen once,
11315 * lyxrc.C: remove pointless comment
11317 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11320 * BufferView.C: remove active() and belowMouse()
11322 * BufferView_pimpl.h:
11323 * BufferView_pimpl.C: use workarea() not workarea_,
11324 and make it use a scoped_ptr instead
11326 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11328 * lyx_gui.C: add debug message on BadWindow
11330 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11332 * sp_spell.C: fdopen is not part of the C++ standard.
11334 * paragraph.C (InsetIterator): use >= instead of ==
11336 2002-06-07 Angus Leeming <leeming@lyx.org>
11338 Fixes needed to compile with Compaq cxx 6.5.
11339 * BufferView_pimpl.C:
11346 * lyxtextclasslist.C:
11351 all c-library variables have been moved into namespace std. Wrap
11352 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11357 Add a using std::abs declaration.
11359 * kbmap.h (modifier_pair):
11360 * paragraph.h (InsetTable, InsetList):
11361 * lyxfont.h (FontBits):
11362 type definition made public.
11364 * bufferlist.C (emergencyWriteAll): the compiler complains that
11365 there is more than one possible lyx::class_fun template to choose from.
11366 I re-named the void specialisation as lyx::void_class_fun.
11368 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11370 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11371 the compiler is is unable to find tostr in write_attribute.
11373 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * buffer.C (sgmlError): hide #warning
11377 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11379 * xtl/*: get rid of xtl, which is not in use anyway
11381 * LyXAction.C (init):
11382 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11383 were unimplemented xtl experimentation
11385 2002-06-04 André Pönitz <poenitz@gmx.net>
11387 * lyxfunc.C: disable array operation on simple formulae
11389 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11391 * converter.C: constify a bit
11393 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11395 * lyx_gui.C: check xforms version correctly
11397 2002-04-30 Herbert Voss <voss@lyx.org>
11399 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11402 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11404 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11405 attempt to register it with a VCS)
11407 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * lyx_main.C (init): honor variables LYX_DIR_13x and
11412 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11416 * lyx_main.C: fix a crash on bad command line,
11417 and give a useful exit status on error
11419 * lyxfunc.C (doImport): allow -i lyx to work
11421 2002-03-30 André Pönitz <poenitz@gmx.net>
11423 * lyxfunc.C: mathed font changes
11425 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11440 * trans_mgr.h: srcdocs, and some minor cleanups
11442 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11444 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11445 call getFont all the time)
11447 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11449 * switch from SigC signals to boost::signals
11451 2002-05-29 André Pönitz <poenitz@gmx.net>
11453 * paragraph_pimpl.C (getChar): don't call size() too often...
11455 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11457 * paragraph_pimpl.C (insertChar): do not try to update tables when
11458 appending (pos == size())
11460 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11461 in order to reduce drastically the number of comparisons needed to
11462 parse a large document
11464 2002-05-29 André Pönitz <poenitz@gmx.net>
11470 * textclasslist.[Ch]:
11471 * sp_ispell.h: whitespace change
11473 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11475 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11476 lyxaction directly now.
11478 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11482 * lyxvc.C: remove unused headers
11484 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11491 * undo_funcs.C: some cleanups. Use shared_ptr
11492 and a template for the undo stacks.
11494 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11496 * BufferView_pimpl.h:
11497 * BufferView_pimpl.C:
11504 * text2.C: use key_state/mouse_state
11506 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11511 * chset.C: change include order
11512 (loadFile): use boost regex and get rid of LRegex and LSubstring
11514 * Makefile.am (BOOST_LIBS): new variable
11515 (lyx_LDADD): use it
11517 * LaTeX.C: change include order.
11518 (scanAuxFile): use boost regex and get rid of LRegex and
11522 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11527 * FontInfo.C: moved to frontends/xforms/
11530 * FontLoader.C: moved into frontends for GUIIzation
11535 * lyxfunc.C: changes from above
11537 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11539 * LColor.C: remove spurious X include
11541 * BufferView_pimpl.C:
11546 * text2.C: move font metrics to frontends/
11548 2002-05-24 Juergen Vigna <jug@sad.it>
11550 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11551 setting the undo_cursor.
11553 * ParagraphParameters.h: include local includes first.
11555 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11557 * BufferView_pimpl.C:
11558 * BufferView_pimpl.h:
11562 * screen.C: move WorkArea into frontends/
11568 * BufferView2.C: move LyXScreen into frontends/
11572 * lyx_gui.C: move lyxlookup into frontends/xforms/
11574 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11577 * BufferView_pimpl.C:
11587 * bufferview_funcs.C:
11600 * vc-backend.C: move LyX/XFormsView into frontends/
11602 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11614 * text2.C: move Painter to frontends/
11616 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11618 * buffer.C: comment out some some code that depend upon lyx_format
11621 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11622 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11624 * buffer.h (NO_COMPABILITY): turn off compability
11626 * ColorHandler.C: include scoped_array.hpp
11628 * font.C: Use more specific smart_ptr header.
11631 * ShareContainer.h: ditto
11632 * lyx_main.h: ditto
11634 * FontInfo.h: ditto
11635 * BufferView_pimpl.h: ditto
11636 * ColorHandler.h: ditto
11638 * kbmap.C (defkey): change call to shared_ptr::reset
11640 2002-05-21 Juergen Vigna <jug@sad.it>
11642 * buffer.C (insertErtContents): fix to insert ert asis if it is
11643 non empty. Skip it completely if it contains only whitespaces.
11645 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11647 * BufferView_pimpl.C:
11648 * BufferView2.C: clear selection on paste (bug 393)
11650 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * DepTable.C: include ctime
11654 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11656 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11658 2002-05-14 Juergen Vigna <jug@sad.it>
11660 * text.C (breakParagraph): fixed function to honor the keepempty
11661 layout in the right maner and also to permit the right breaking
11662 algorithm on empty or non empyt keepempty paragraphs.
11664 * paragraph.C (breakParagraph): we have to check also if the par
11665 is really empty (!size()) for isempty otherwise we do the wrong
11668 2002-05-10 Juergen Vigna <jug@sad.it>
11670 * buffer.[Ch] : The following are only changes to the ert
11671 compatibility read reading old LaTeX layout and font stuff and
11672 convert it to ERTInsets.
11674 * buffer.h: added isErtInset().
11676 * buffer.C (struct ErtComp): add a fromlayout bool to check
11677 if we're inside a LaTeX layout.
11678 (isErtInset): new helper function.
11679 (insertErtContents): look for other ert insets before this one
11680 and insert the contents there, so that we don't have subsequent
11681 ERT insets with nothing between them. This way we create only one
11682 inset with multiple paragraphs. Also check if we don't insert only
11683 spaces ' ' as they are ignored anyway afterwards in the .tex file
11684 so if we have only spaces we will ignore this latex part in the
11686 (parseSingleLyXformat2Token \\layout): better compatibility when
11687 reading layout-latex stuff.
11688 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11690 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11691 stuff after reading the inset only get the information back from
11694 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11696 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11698 * LaTeXFeatures.C (getBabelOptions): New method.
11700 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * BufferView_pimpl.C (Dispatch): work around missing argument for
11705 2002-05-08 Juergen Vigna <jug@sad.it>
11707 * text.C (leftMargin): handle paragraph leftindent.
11709 * paragraph.C (writeFile): write the new \\leftindent tag.
11710 (validate): handle leftindent code.
11711 (TeXEnvironment): handle paragraphleftindent code again.
11713 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11715 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11716 for paragrap_extra indent code and new token \\leftindent.
11717 (latexParagraphs): handle the leftindent as environment.
11719 * ParameterStruct.h: added leftindent support.
11721 * ParagraphParameters.C (leftIndent): added support functions for
11722 the paragraph left indent.
11724 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11727 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11729 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11732 * text.C (computeBidiTables): No bidi in insetERT.
11734 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11737 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11739 * version.C.in: pre 5
11741 2002-05-02 José Matos <jamatos@fep.up.pt>
11742 * buffer.C (makeDocBookFile): white space changes, add newline to
11744 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11746 * tabular.C (docBook): fix typo.
11748 2002-05-03 Juergen Vigna <jug@sad.it>
11750 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11751 change in LyXText as we can not be sure it was not freed.
11752 (drawOneRow): remove unused code.
11754 * text.C (drawInset): redo the calculation of the need_break_row as
11755 it could have a row which was already freed.
11756 (draw): look at the return value of drawInset and return false if
11757 it also returned false.
11758 (paintRowText): look at the return value of draw and return false if
11759 it also returned false.
11761 * lyxtext.h: added bool return type to drawInset() and draw() so that
11762 if we have a change in the row so that the rowbreak has to be redone
11763 we abort drawing as it will be called again.
11765 2002-05-02 Juergen Vigna <jug@sad.it>
11767 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11768 a change in the maintext also if we're inside an inset.
11769 (Dispatch): set the cursor again after a break line and after the
11770 screen has been updated as it could be we're in a different row.
11772 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11773 to set the cursor behind the pargraph with > size().
11774 (setCursor): check also for the same paragraph when checking where
11775 to put the cursor if we have a NFR inset.
11777 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11778 parts of layout read further up as it still was in the wrong
11781 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11783 * screen.C (drawFromTo): change sine fullRebreak always return
11786 * buffer.C (parseSingleLyXformat2Token): reindent some
11788 * BufferView_pimpl.C (update): change since fullRebreak always
11790 (Dispatch): git rid of the last hardcoded "Standard"s.
11792 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11794 * text2.[Ch] (fullRebreak): make it return void now that we always
11797 2002-04-30 Juergen Vigna <jug@sad.it>
11799 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11800 ert compatibility check for "latex" layout.
11802 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11804 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11805 minipages: use col% instead of p%, and also use the current font.
11806 (makeLaTeXFile): Fix use babel condition.
11807 (parseSingleLyXformat2Token): Correct font when reading old floats.
11809 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11811 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11812 inserting list of floats.
11814 2002-04-25 Herbert Voss <voss@lyx.org>
11816 * MenuBackend.C (expand): don't add the graphics extensions to the
11819 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11822 non-existing layout, do not complain if it was the default layout
11823 of the original class (bug #342)
11825 2002-04-24 Juergen Vigna <jug@sad.it>
11827 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11828 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11830 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11832 * buffer.C (getBibkeyList): If using \bibliography, return the
11833 option field with the reference itself. Enables us to provide natbib
11834 support when using \bibliography.
11836 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11838 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11840 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11841 natbib is provided by the LaTeX class.
11843 2002-04-23 Juergen Vigna <jug@sad.it>
11845 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11848 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11850 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11852 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11854 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11855 ensuremath around textordmasculine, textordfeminine and
11858 2002-04-19 Juergen Vigna <jug@sad.it>
11860 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11861 reinitializing the buffer otherwise row-dimensions may be wrong.
11862 (update): reset also the selection cursors if they do exits otherwise
11863 their x/y positions may be wrong.
11865 * text2.C (cursorDown): don't enter the inset if we came from a row
11866 above and are one row over the inset.
11868 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11869 really leaving an inset.
11871 2002-04-18 Juergen Vigna <jug@sad.it>
11873 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11874 of the selected paragraph does not have the selected layout also if
11877 * text2.C (setLayout): fixed bug which did not change last selected
11880 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11881 changed the read and substituted \\end_float with \\end_inset!
11883 * BufferView_pimpl.C (cursorPrevious):
11884 (cursorNext): fixed to make it work with rows heigher than the work
11885 area without moving the cursor only the draw of the row.
11886 (workAreaMotionNotify): fix jumping over high rows.
11888 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11893 2002-04-16 Juergen Vigna <jug@sad.it>
11895 * text2.C (setCursor): set also the irow().
11896 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11898 (cursorDown): support for locking an inset if the x_fix value goes
11899 inside it. That way I can transverse insets too with cursor up/down.
11901 * lyxrow.h: added irow helper function same as other (i) functions.
11903 * BufferView_pimpl.C (cursorPrevious):
11904 (cursorNext): fixed for insets!
11906 2002-04-15 Juergen Vigna <jug@sad.it>
11908 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11909 position otherwise it is wrong in some cases.
11911 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11912 inside the inset before the call.
11914 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11916 * buffer.[Ch] (getBibkeyList): make it const.
11918 2002-04-12 Juergen Vigna <jug@sad.it>
11920 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11922 * text2.C (getCursorX): new helper function
11923 (setCursor): compute also ix_
11924 (setCursorFromCoordinates): set also ix.
11926 * lyxcursor.h: added ix_ and helper functions.
11928 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11930 * buffer.C (insertStringAsLines): dont break paragraph if the this
11931 paragraph is inside an inset which does not permit it!
11933 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11934 also with no chars on this paragraph.
11935 (paintRowText): only paint stuff if it's inside the workarea!
11937 * paragraph.C (breakParagraph): honor keepempty flag and break the
11938 paragraph always below not above.
11940 * BufferView2.C (unlockInset): update the paragraph layout on inset
11941 unlock as we changed paragraph in such a case.
11943 * lyxfind.C (LyXFind): clear the former selection if not found!
11945 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11946 again called in insertChar().
11948 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11949 an inset which uses the whole row!
11950 (rightMargin): ditto.
11951 (insertChar): force a rebreak if we inserted an inset!
11953 2002-03-28 Herbert Voss <voss@lyx.org>
11955 * lyxlength.[Ch]: add inBP() to get the right PS-point
11956 units (BigPoint). With inPixels we have rounding errors
11958 2002-04-11 Juergen Vigna <jug@sad.it>
11960 * text2.C (setCursorFromCoordinates): set iy to the right value.
11961 (setCursor): add check if row->previous exists!
11963 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11964 an old float_type as this was the case in the old code!
11966 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11968 * BufferView2.C (showLockedInsetCursor): use iy
11969 (fitLockedInsetCursor): ditto
11971 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11972 locked insets as there we have the right value now.
11974 * lyxcursor.C: added iy_ variable and iy functions to set to the
11975 baseline of cursor-y of the locked inset.
11977 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11978 (setCursor): fixed for insets which need a full row.
11980 * text.C (rowLastPrintable): don't ignore the last space when before
11981 an inset which needs a full row.
11982 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11983 as last character of a row when before a inset which needs a full row.
11985 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * version.C.in: update date
11989 * text2.C (fullRebreak): try to always return true and see what
11992 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * MenuBackend.C (expand): use Floating::listName
11996 * FloatList.C (FloatList): add listName argument to the built-in
11999 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12000 text associated with the float.
12002 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12004 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12006 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12008 * ShareContainer.h: add a couple of missing typenames.
12010 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12012 * lyxrc.C (getDescription): use _() correctly rather than N_().
12014 2002-03-28 Herbert Voss <voss@lyx.org>
12016 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12017 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12019 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12021 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12022 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12024 2002-03-29 Juergen Vigna <jug@sad.it>
12026 * lyxfunc.C (dispatch): add a missing fitCursor call.
12028 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12029 it was scrolled by a cursor move, so return the bool status.
12031 * BufferView.C (fitCursor): return the bool flag also to the outside
12032 world as this is needed.
12034 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12036 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12037 call the edit() as it is not needed (and wrong) IMO.
12038 (workAreaButtonPress): set the screen_first variable before evt.
12039 unlock the inset as this may change screen_first and then we have
12040 a wrong y position for the click!
12042 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * MenuBackend.C (expand): another translation that I missed
12046 2002-03-28 Juergen Vigna <jug@sad.it>
12048 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12050 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12052 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12054 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12056 * MenuBackend.C (expand): fix export/view/update when there is no
12059 2002-03-27 Herbert Voss <voss@lyx.org>
12061 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12064 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12066 * bufferview_funcs.C (currentState): only show paragraph number
12067 for is DEVEL_VERSION is set.
12069 * lyxfunc.C (dispatch): put warning in INFO channel
12071 * MenuBackend.C (expand): translate the name of floats
12073 * FloatList.C (FloatList): mark the float names for translation
12075 * converter.C (convert): use LibScriptSearch
12077 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12079 * MenuBackend.C (defaults): fix default menu (we might as well get
12082 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12087 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * lyxvc.C: reorder includes.
12091 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12093 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12096 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12098 * CutAndPaste.C: change layouts earlier on paste
12099 to avoid crashing when calling getFont()
12101 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12103 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12106 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * WorkArea.C: remove 'Pending' debug message.
12110 * most files: ws cleanup
12112 * buffer.[Ch]: ws changes
12114 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12116 2002-03-21 Juergen Vigna <jug@sad.it>
12118 * tabular.C (SetMultiColumn): collapse also the contents of the
12119 cells and set the last border right. Added a Buffer const * param.
12121 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12126 2002-03-19 Juergen Vigna <jug@sad.it>
12128 * text2.C (clearSelection): reset also xsel_cache.
12130 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12131 where it needs to be called (John tells us to do so too :)
12132 (selectionLost): reset sel_cache.
12134 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12136 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12138 * text2.C (setCursorIntern): put debuging code in INSETS channel
12140 2002-03-19 André Pönitz <poenitz@gmx.net>
12142 * lyxfunc.C: tiny whitespace change
12144 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * ToolbarDefaults.C (init):
12147 * LyXAction.C (init):
12149 * BufferView_pimpl.C (Dispatch):
12150 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12152 2002-03-19 Allan Rae <rae@lyx.org>
12154 * exporter.C (Export): removeAutoInsets before doing anything else.
12155 While I've just introduced a dependency on BufferView this really is
12156 the best place to clean the buffer otherwise you need to cleanup in
12157 a dozen places before calling export or cleanup in a dozen functions
12160 * converter.C (runLaTeX):
12161 (scanLog): Better handling of removeAutoInsets and screen updates.
12163 * lyxfunc.C (dispatch): small whitespace changes
12165 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * WorkArea.C (C_WorkAreaEvent): return a value.
12168 (event_cb): return 1 if we handled the event, 0 otherwise.
12170 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12172 2002-03-18 Juergen Vigna <jug@sad.it>
12174 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12175 (GetAdditionalWidth): ditto.
12176 (RightLine): ditto.
12179 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12180 inset if we're there actually (probably not used right now but this
12181 is the direction to go for unifying code).
12182 (paste): disable code to clear the selection.
12184 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12185 inside an InsetText and move the check further up as it is in the
12188 * text2.C (pasteSelection): set a selection over the pasted text.
12190 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12192 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12193 and libgraphics to build on Cygwin.
12195 2002-03-15 Juergen Vigna <jug@sad.it>
12197 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12198 inserting an Inset into the paragraph. I know this is not the best
12199 fix but we already use current_view in CutAndPaste so we will remove
12200 all of it's using at the same time.
12202 * buffer.C (sgmlError): deactivated function till it is rewritten in
12203 the right mode, now it can create problems.
12205 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12206 before accessing it.
12208 2002-03-14 Juergen Vigna <jug@sad.it>
12210 * undo_funcs.C (textHandleUndo): do the right thing when updating
12211 the inset after the undo/redo.
12213 * text2.C (setCursor): just some testcode for #44 not ready yet.
12215 * undo_funcs.C (textHandleUndo): set the next() and previous()
12216 pointers of the paragraph to 0 before deleting otherwise we have
12217 problems with the Paragraph::[destructor].
12219 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12220 on a paragraph insertion.
12222 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * buffer.C (asciiParagraph): use += operator for char append to
12227 * paragraph.C (getFontSettings): compare >= not just >
12228 (highestFontInRange): ditto
12231 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12233 * paragraph.C: change several algorithm to be more appripriate for
12234 the problem domain. This is lookip in FontList and in the InsetList.
12236 2002-03-13 André Pönitz <poenitz@gmx.net>
12239 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12241 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12246 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12248 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * Painter.C (display): anon helper function, adjust code for this
12252 (pixmap): remove function.
12254 * Painter.h: remove private display variable.
12256 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12258 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12260 * WorkArea.[Ch]: remove figinset_canvas cruft.
12262 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12264 * lyxtextclass.C (operator): add one item cache optimization.
12266 * bufferlist.h: doxy changes
12268 * bufferlist.C: ws changes
12270 * DepTable.[Ch] (ext_exist): place const in the right spot.
12272 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12274 (workAreaExpose): call resizeInsets when the with BufferView changes.
12275 (Dispatch): adjust for protectedBlank removal
12276 (specialChar): call updateInset if the insert went ok.
12278 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12279 specialChar instead.
12281 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12283 * BufferView.h: doxy change
12285 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12287 * lyxtextclass.C (operator[]): remove non-const version
12288 (defaultLayout): remove non-const version
12290 2002-03-12 Juergen Vigna <jug@sad.it>
12292 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12293 did resize the LyXText too.
12295 * buffer.C (readLyXformat2): set layout information on newly allocated
12298 * tabular.C (OldFormatRead): set layout information on the paragraph.
12300 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12302 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12304 2002-03-11 Juergen Vigna <jug@sad.it>
12306 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12308 (resizeCurrentBuffer): force also the insets to resize themselfes.
12309 (moveCursorUpdate): fixed up for InsetText.
12311 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12314 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12315 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12316 value of Dialogs::tooltipsEnabled().
12317 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12319 2002-03-08 Juergen Vigna <jug@sad.it>
12321 * BufferView_pimpl.C (updateInset): update inset inside inset also
12322 if it isn't inside theLockingInset().
12324 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * buffer.C (asciiParagraph): redo some of the word and line length
12328 (getLists): look for Caption instead of caption.
12330 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12332 * buffer.C (Buffer): initialize niceFile to true
12334 (makeLinuxDocFile):
12335 (makeDocBookFile): make sure niceFile is true on exit
12337 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12341 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12343 * LyXSendto.C: remove.
12344 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12345 * lyx_gui.C: remove now-redundant comment.
12346 * ColorHandler.h: remove forward declaration of class WorkArea.
12347 * lyxfunc.C: remove #include "WorkArea.h".
12349 2002-03-07 Juergen Vigna <jug@sad.it>
12351 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12352 got moved away with the DEPM and also set the inset_owner always
12353 right which before could have been omitted.
12355 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12357 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12358 wanted layout is not found.
12360 2002-03-07 Juergen Vigna <jug@sad.it>
12362 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12364 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12366 * paragraph.C (breakParagraph): use default layout not layout of
12368 (Paragraph): clear ParagraphParameters.
12370 2002-03-06 Juergen Vigna <jug@sad.it>
12372 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12373 otherwise it would not be a valid lenght. Fixed a special case in
12374 the minipage compatibility read where we end the document with a
12377 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12378 was set as it could be 0 for InsetTexts first entry.
12380 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * paragraph.C (writeFile): if layout is empty write out
12383 defaultLayoutName().
12385 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12386 file without named layout we set layout to defaultLayoutName().
12388 2002-03-06 Juergen Vigna <jug@sad.it>
12390 * CutAndPaste.C (copySelection): set layout for new paragraph.
12392 * text.C (prepareToPrint): leave ERT inset left aligned
12393 (leftMargin): don't indent paragraphs inside ERT insets
12395 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * paragraph.C (breakParagraph): dont call clear do the work manually
12399 * paragraph.[Ch] (clear): remove function
12401 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12403 * paragraph.C (Paragraph): dont call clear, the work has already
12406 * lyxtextclass.C (operator): assert if n is empty
12408 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12409 work manually instead.
12411 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12413 * BufferView_pimpl.C: protect selectionLost against text == 0
12415 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12417 * text.C (breakParagraph): fix a setting layout to '0' problem.
12419 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12421 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12422 final location of file, for the included files, and graphics.
12424 2002-03-05 Juergen Vigna <jug@sad.it>
12426 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12428 2002-03-04 Juergen Vigna <jug@sad.it>
12430 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12432 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12433 last column of multicolumn cells.
12434 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12436 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12438 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12439 file if it doesn't go to a temporary file.
12441 * buffer.C (sgmlOpenTag):
12442 (sgmlCloseTag): remove extra newline insertion.
12444 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * text.C (getRowNearY): comment out debug msg
12448 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * text2.C: first -> first_y
12452 * text.C (getRowNearY): add some attemts at a possible
12453 optimization, not working.
12455 * tabular.[Ch]: add BufferParams to several function so that newly
12456 created paragraph can be initialized to he default layotu for the
12459 * tabular-old.C (ReadOld): add buf->params to call of Init
12461 * screen.C: rename text->first to text->first_y
12463 * paragraph.C (breakParagraph): always set layout in the broken
12466 * lyxtextclass.C (Read): remove lowercase
12469 (delete_layout): ditto
12471 * lyxtext.h: rename first -> first_y
12473 * lyxlayout.C (Read): remove lowercase
12476 (obsoleted_by): ditto
12478 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12480 * buffer.C (insertErtContents): add params are to InsetERT
12481 (parseSingleLyXformat2Token): add code to check if a paragraphs
12482 layout really exist.
12483 (parseSingleLyXformat2Token): add params to several inset
12485 (asciiParagraph): remove lowercase, do the layout comparisons with
12488 * BufferView_pimpl.C (cursorNext): first -> first_y
12489 (resizeCurrentBuffer): first -> first_y
12490 (updateScrollbar): first -> first_y
12491 (scrollCB): first -> first_y
12492 (workAreaMotionNotify): first -> first_y
12493 (workAreaButtonPress): first -> first_y
12494 (checkInsetHit): first -> first_y
12495 (cursorPrevious): first -> first_y
12496 (cursorNext): first -> first_y
12497 (Dispatch): add buffer_->params to severl inset contructors
12499 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12501 * lyxlayout.C (Read): remove some debug info that I forgot.
12503 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12504 clean up the code slightly.
12505 (makeLinuxDocFile): ditto
12506 (makeDocBookFile): ditto
12508 * text2.C: layout as string
12510 * text.C: layout as string
12512 * paragraph_pimpl.C: layout as string
12514 * paragraph.[Ch]: layout as string
12516 * lyxtextclasslist.[Ch]: layout as string
12518 * lyxtextclass.[Ch]: layout as string
12520 * lyxtext.h: layout as string
12522 * lyxlayout.[Ch]: layout as string
12524 * lyx_cb.C: layout as string
12526 * bufferview_funcs.C: layout as string
12528 * bufferparams.C: layout as string
12530 * buffer.C: layout as string
12532 * LyXView.[Ch]: layout as string
12534 * LaTeXFeatures.[Ch]: layout as string
12536 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12538 * BufferView_pimpl.C: change current_layout to string, remove
12543 (workAreaButtonRelease): layout as string
12545 * BufferView2.C (unlockInset): adjust
12547 * vspace.C (asLatexCommand): use an explict temp variable.
12549 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12551 * Makefile.am: use FRONTEND_*
12553 2002-03-01 Juergen Vigna <jug@sad.it>
12555 * tabular.C (SetWidthOfMulticolCell): changed to something better
12556 I hope but still work in progress.
12557 (recalculateMulticolumnsOfColumn): renamed function from
12558 recalculateMulticolCells as it is more appropriate now.
12559 (SetWidthOfCell): calculate multicols better.
12561 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12563 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12565 * lyxfunc.C (processKeySym): print sequence also if it is
12566 `deleted' (complete)
12568 * kbsequence.C (print): print sequence even if it is deleted
12569 (complete would be a better word, actually).
12571 * lyxfunc.C (dispatch): print complete options after a prefix key
12573 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12575 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12577 * text2.C (setCharFont): eliminate setCharFont code duplication.
12579 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12581 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12582 LFUN_TABULAR_FEATURE (bug #177)
12584 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12586 * Makefile.am: remove figure.h
12588 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12590 * Bufferview_pimpl.C:
12602 * text2.C: remove #include "lyx_gui_misc.h".
12604 * LaTeX.C: added #include <cstdio>
12606 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12608 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12609 that the paragraph following this one can have.
12611 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12613 * vspace.C (asLatexCommand): fix bogus gcc warning
12615 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12617 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12619 * text2.C (setLayout): get rid of redundant code
12621 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12623 * text2.C (incDepth): make sure depth cannot be increased beyond
12626 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12628 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12629 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12631 * PainterBase.h (image):
12632 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12633 a LyXImage const *.
12635 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12639 * BufferView_pimpl.C:
12640 * BufferView_pimpl.h:
12660 * sp_spell.C: remove fig inset, and the crap house of
12661 cards that follows it
12663 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12668 * os2_errortable.h:
12669 * nt_defines.h: move .h into support/
12671 * vms_defines.h: remove
12673 * WorkArea.C: add space in debug output
12677 * buffer.C: add WITH_WARNINGS
12681 * bufferlist.C: s/retrive/retrieve/, add docs
12690 * chset.C: add docs
12692 * lyxgui.C: add ID to X error handler
12694 * lyxtestclass.c: fix typo
12696 2002-02-26 Juergen Vigna <jug@sad.it>
12698 * tabular_funcs.C (write_attribute): changed so that some default
12699 attributes are not written at all.
12700 (getTokenValue): set default values before trying to read the
12701 value so we have the return value always set as default if we don't
12702 find the token we search for.
12704 * tabular.C (Write): write bools as bools not as strings!
12706 2002-02-22 Juergen Vigna <jug@sad.it>
12708 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12709 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12711 * text.C (leftMargin): don't add an indent for paragraphs inside
12712 tabular cells (fix #208).
12714 2002-02-21 José Matos <jamatos@fep.up.pt>
12716 * tabular.C (docBook): fixed support for long tables.
12718 2002-02-20 Juergen Vigna <jug@sad.it>
12720 * text2.C (getFont): get the drawing font of the Inset if this
12721 paragraph is inside an inset (only important for InsetERT for now).
12723 * buffer.C (insertErtContents): use new lanugage params in ERT
12726 * CutAndPaste.C: commenting out seemingly uneeded code.
12728 2002-02-19 Allan Rae <rae@lyx.org>
12730 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12731 Iterators might be simple to use but they also get invalidated.
12732 (removeAutoInsets): renamed saved cursor tracking variables and added
12733 some comments to clarify what everything does.
12735 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12742 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12743 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12746 * vc-backend.h: remove #include "support/syscall.h"
12750 * converter.C: rearrange #includes in Lars' approved fashion.
12752 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12753 forward declare class Timeout in the header file.
12755 * XFormsView.C: changes due to the above.
12757 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12758 similar to LyXView.
12760 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12761 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12763 2002-02-18 José Matos <jamatos@fep.up.pt>
12765 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12768 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12770 * a lot of small ws changes
12771 * add a lot of using std::XXX
12772 * use std construcs some places where approp.
12773 * use some exisint stuff from lyxfunctional where approp.
12774 * Make file changes to use partial linking (lets test this now...)
12776 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12780 remove #include "support/syscontr.h" as it's redundant. Always has been.
12788 change Systemcalls::System to Systemcalls::Wait and
12789 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12790 No change of functionality, just reflects the stripped down Systemcalls
12793 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12795 * debug.[Ch]: add a GRAPHICS type to the enum.
12797 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12799 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12801 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12804 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12806 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12807 match the changes below.
12809 * text2.C (toggleInset): if there is not editable inset at cursor
12810 position, try to see if cursor is _inside_ a collapsable inset
12813 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12816 document menu has a nice checkbox
12818 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12820 * lyxlength.C (asLatexString): change PW to output as percent of
12823 * lengthcommon.C: change '%' to 't%'
12825 * lyxfunc.C (dispatch): a few comments from Martin
12827 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12831 * BufferView_pimpl.h:
12832 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12835 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12837 * vspace.C (inPixels): fix compiler warning
12839 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12841 * lyxfunc.C (getStatus): fix status message for disabled commands.
12843 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12845 * BufferView_pimpl.C: fix crash on close buffer
12846 during selection (#227)
12848 2002-01-27 Herbert Voss <voss@lyx.org>
12850 * buffer.C: link old Figure to new graphic inset
12852 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12854 * FontLoader.C (getFontinfo): Change the latex font names in order
12855 to match the names of type1inst.
12857 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12861 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12862 (extchanged): ditto
12864 (remove_files_with_extension): ditto
12865 (remove_file): ditto
12868 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12869 document is smaller than the work area height. Do not initialize
12870 static variables to 0.
12872 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12874 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12876 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12877 LFUN_LAYOUT_PARAGRAPHS.
12879 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12880 tabular. It is possible to provide a possible cell, which will
12881 typically be the actcell from the corresponding insettabular
12883 * lyxfunc.C (getStatus): small cleanup; disable
12884 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12887 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12889 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12891 * paragraph.C (startTeXParParams):
12892 (endTeXParParams): new methods. The LaTeX code to
12893 start/end paragraph formatting
12894 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12895 empty (fixes bug #200)
12897 * vspace.C (inPixels): adapt to the change below
12898 (inPixels): [later] more cleanups (remove unused variables)
12900 * lyxlength.C (inPixels): change to use a width and a height as
12903 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12905 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12906 Replaced with \paperwidth
12908 * DepTable.C (insert): add std:: qualifier
12910 2002-01-18 Allan Rae <rae@lyx.org>
12912 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12915 * text.C (drawInset): Turned out I didn't know enough about how
12916 rebreaking worked. This fixes most of the redraw problems. I see
12917 an occasional cursor trail when a line is broken now and the cursor
12918 placement can seem out by a few pixels also after a rebreak.
12920 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12922 * buffer.C (parseSingleLyXformat2Token): update because minipage
12923 width is now a LyXLength
12925 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12927 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12930 2002-01-17 Juergen Vigna <jug@sad.it>
12932 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12934 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12935 is set correctly and the inset is updated correctly.
12937 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12939 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12940 the beginning of the loop.
12942 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12944 * lyxrc.C: improve help for use_scalable_fonts
12946 2002-01-17 Allan Rae <rae@lyx.org>
12948 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12950 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12952 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12953 make sure to set their inset_owner to the right value (bug #171)
12955 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12958 * DepTable.C: Implement mtime checking to reduce time spent doing
12961 2002-01-16 Juergen Vigna <jug@sad.it>
12963 * tabular.C (GetAdditionalHeight): one of error fixed.
12965 * lyxrc.C (output): small fix in writing use_pspell.
12967 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12969 * sp_base.h: #include LString.h
12971 2002-01-16 Allan Rae <rae@lyx.org>
12973 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12974 Can someone check this please?
12976 * text.C (drawInset): It was possible that p.row would be removed by
12977 breakAgainOneRow upsetting a few other settings. There may be another
12978 small tweak possible by setting need_break_row = 0 when p.row has been
12979 removed but I don't know enough about the logic here.
12981 2002-01-15 Allan Rae <rae@lyx.org>
12983 * text.C (insertChar): removed conditional truism.
12985 * BufferView2.C (removeAutoInsets): More tweaks.
12986 cur_par_prev could be a stray pointer. Check for trailing empty line
12987 in case last line was cur_par and only had an error inset on it.
12989 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12991 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12994 * vc-backend.C (most methods):
12995 * exporter.C (Export):
12996 * converter.C (convert):
12998 * LyXSendto.C (SendtoApplyCB):
12999 * lyxfunc.C (dispatch):
13003 * lyx_cb.C (AutoSave):
13005 * BufferView_pimpl.C (MenuInsertLyXFile):
13006 * buffer.C (runChktex): use Buffer::filePath().
13008 * buffer.h: rename filename to filename_; rename filepath to
13009 filepath_ and make it private
13010 (filePath): new method
13012 * buffer.C (writeFile): use fileName()
13015 * lyx_main.C (init): fix starting of LyX when the binary is a
13016 link from so,ewhere else.
13018 * minibuffer.C: include <cctype> for isprint
13020 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13022 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13023 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13024 name clash with InsetCollapsable's width function.
13026 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13028 * lastfiles.C: include <iterator>
13030 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13032 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13035 * buffer.C (makeLaTeXFile): ditto.
13036 Also make loop operation more transparent.
13038 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13040 * ToolbarDefaults.C: remove trailing comma closing namespace.
13042 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13044 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13047 * trans.C (Load): comment out unused variable, allowed.
13049 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13051 * minibuffer.[Ch] (append_char): new method to recieve input from the
13052 drop-down completion browser. If a key was pressed, then recieve this
13053 char and append it to the existing string.
13054 (peek_event): modify the positioning data passed to the completion
13055 browser so that it can be placed above the minibuffer rather than below.
13056 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * LyXAction.C (init): alloe error-next for readonly documents.
13060 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13063 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13065 * bufferlist.C (readFile): create the buffer _after_ checking that
13068 * lyxfunc.C (verboseDispatch): fix handling of arguments
13070 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13072 * lyxrc.C: use string::erase() instead of initializing to "".
13075 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13077 * BufferView_pimpl.h:
13078 * BufferView_pimpl.C:
13081 * text2.C: tell X when we have made a selection for copying
13083 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * BufferView_pimpl.C (MenuInsertLyXFile):
13086 * lyxfunc.C (menuNew):
13088 (doImport): add shortcuts to directory buttons
13090 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13093 * lyxfunc.C (setStatusMessage):
13094 (getStatusMessage): new methods
13095 (getStatus):use setStatusMessage instead of setErrorMessage
13096 (dispatch): when function is disabled, set error message here
13097 [instead of in getStatus previously]
13099 * BufferView_pimpl.C (workAreaButtonRelease): update
13100 toolbar/menubar here too.
13102 2002-01-13 Allan Rae <rae@lyx.org>
13104 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13105 Now seems indestructible. Remaining task is to audit all other
13106 code affected by deleteEmptyParagraphMechanism. One small quirk
13107 left is that an empty document with an error in the preamble can
13108 be made to report an error but no error box appears. I don't know
13110 (removeAutoInsets): Improved comments.
13112 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13115 * Thesaurus.C: update for Aiksaurus 0.14
13117 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13119 * text2.C (firstParagraph): removed member function, all uses
13120 replaces with ownerParagraph
13121 (redoParagraphs): here
13122 (updateInset): here
13123 (toggleAppendix): here
13124 * BufferView2.C (insertErrors): here
13125 (setCursorFromRow): here
13127 2002-01-13 Allan Rae <rae@lyx.org>
13129 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13130 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13131 There is still a way to segfault this although you may have to do this
13132 multiple times: Have an InsetERT with an unknown command in it.
13133 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13134 <down-arrow>, <Enter> again, View->DVI, BANG!
13136 * text2.C (setCursor):
13137 (deleteEmptyParagraphMechanism):
13138 * lyxtext.h (setCursor):
13139 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13140 Making use of the return value may help fix other bugs.
13142 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13144 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13146 * LyXView.C (updateMenubar): call MenuBar::update here
13147 (updateToolbar): but not here
13148 (showState): do not update toolbar/menubar
13150 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13151 should need to care about that.
13153 * lyxfunc.C (verboseDispatch): simplify a bit
13154 (getStatus): have a version which takes a pseudoaction, and
13155 another which requires a (kb_action,string).
13157 * LyXAction.C (retrieveActionArg): make it work also when action
13158 is not a pseudo-action.
13159 (getActionName): simplify a bit
13162 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13164 * lyxfunc.C (verboseDispatch): new families of methods with
13165 several ways to specify a command and a bool to indicate whether
13166 the command name and shortcut should be displayed in minibuffer
13167 (eventually, we could extend that to a finer bitmask like
13168 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13169 (dispatch): the pristine dispatch command which just, well,
13170 dispatchs! Note it still sets its result to minibuffer; I'm not
13173 * lyxfunc.h: remove setHintMessage
13175 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13177 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13179 * BufferView_pimpl.C (specialChar): delete new inset if we have
13180 not been able to insert it.
13182 * kbmap.C: revert to using int instead of kb_action, since all we
13183 are dealing with is pseudo-actions.
13185 * LyXAction.C (searchActionArg): change to return int instead of
13186 kb_action, since the result is a pseudoaction.
13188 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13190 * buffer.C (insertErtContents): Fix (partially) the font bug.
13192 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13194 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13195 as the other one is broken on my machine!
13197 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13200 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13202 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13204 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13205 reflect their actual use. Provide compatibility code for older lyxrc
13208 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13210 change names of popup font variables in line with the changes to lyxrc.C
13212 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13214 * buffer.C (asciiParagraph): avoid outputing a word twice after
13217 * lyxrc.C (getDescription): document that document_path and
13218 template_path can be empty.
13220 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13222 * LaTeXFeatures.C (getMacros):
13223 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13225 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13227 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13229 (getPackages): rename feature "floats" to "float". Use an array to
13230 iterate over 'simple' features (i.e. just a \usepackage). Add
13231 handling of "amsmath" (renamed from "amsstyle").
13233 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13235 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13238 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13240 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13241 FuncStaus::FuncStatus & FuncStaus::some_method().
13243 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13245 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13246 of the func_satus stuff. Edited and massaged in various ways by
13249 * lyxfunc.C (getStatus): use FuncStatus
13251 2002-01-08 Juergen Vigna <jug@sad.it>
13253 * text.C (nextBreakPoint): use function Inset::isChar().
13255 * paragraph.C (TeXOnePar): use function
13256 Inset::forceDefaultParagraphs.
13258 * buffer.C (latexParagraphs): use function
13259 Inset::forceDefaultParagraphs.
13261 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13263 * lyx_gui.C (init): set the style of the menu popups to
13264 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13266 2002-01-07 Juergen Vigna <jug@sad.it>
13268 * text.C (setHeightOfRow): small fix
13269 (prepareToPrint): don't look at alignment if we don't have the place
13272 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13274 * box.C: New file. Move the Box methods and functions out of box.h,
13275 following Lars' suggestion.
13277 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13279 * box.h: #include "support/LOstream.h", needed for inlined function.
13282 * lyxtextclasslist.C: added some using std declarations.
13284 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13286 * box.h: make signed dimensions to allow insets wider than
13287 the screen (bug #162)
13289 * BufferView_pimpl.C: add some insetHit debug
13291 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13293 * vc-backend.C: add FIXME
13295 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13297 * lyxfunc.C (getStatus): enable code for showing math font status
13300 2002-01-07 Juergen Vigna <jug@sad.it>
13302 * text.C (nextBreakPoint): removed debug output not needed anymore.
13304 2002-01-06 Juergen Vigna <jug@sad.it>
13306 * text.C (nextBreakPoint): fixed up this function we had this bug
13307 since ever but now hopefully we break row better.
13308 (insertChar): we have to check if an inset is the next char as it
13309 could now happen that a large inset is causing a break.
13311 2002-01-05 Juergen Vigna <jug@sad.it>
13313 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13314 if it doesn't like to be drawed.
13316 2002-01-04 Juergen Vigna <jug@sad.it>
13318 * BufferView2.C (lockInset): forgot to set a cursor.
13320 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13322 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13324 * FormMathsPanel.C:
13327 * form_maths_panel.C:
13328 * form_maths_panel.h:
13329 * form_maths_panel.fd: implemented sub- and super- buttons in math
13332 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13333 (or ^ space) to be used as in TeX (req'd by André).
13335 * lyxfunc.C: Allow ^ and _ again to be used both as
13336 super/subscript (mathed) and as themselves (in text).
13338 2002-01-03 Allan Rae <rae@lyx.org>
13340 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13341 "LyX" or the filename of the current buffer if it has one. This is a
13342 modified form of John Levon's patch.
13344 * XFormsView.C (setWindowTitle): also set icon title.
13346 * LyXView.h (setWindowTitle): signature changed.
13347 * XFormsView.h (setWindowTitle): ditto.
13349 2002-01-02 Juergen Vigna <jug@sad.it>
13351 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13353 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * screen.C (topCursorVisible): introduce a temp var for
13356 text->cursor.row(), handle the case where this row is null. (kindo
13359 * text2.C (setCursor): add a couple of asserts.
13361 * paragraph.h (inset_iterator): add -> operator
13363 * paragraph.[Ch] (autoDeleteInsets): remove member function
13365 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13366 cursor pos correctly and handle inset deletion by itself.
13367 (insertErrors): move iterator declaration out of for expression
13369 * lyxtextclass.C: add <algorithm>
13371 * Makefile.am: added the new files to sources, removed layout.C
13373 * layout.C: removed file
13375 * layout.h: remove LYX_DUMMY_LAYOUT
13377 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13381 * lyxtextclass.[Ch]:
13382 * lyxtextclasslist.[Ch]: new files
13384 * include order changes to a lot of files, also changes because of
13387 2001-12-27 Juergen Vigna <jug@sad.it>
13389 * buffer.C (asciiParagraph): more fixes.
13391 * tabular.C (ascii): make ascii export support export of only the
13392 data separated by a column-delimiter.
13393 (ascii): better support for ascii export.
13395 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13397 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13399 * tabular_funcs.C: use a "using std::getline" instead of the
13400 previous fix from Angus (necessary for cxx + lyxstring)
13402 2001-12-24 Juergen Vigna <jug@sad.it>
13404 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13406 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13407 problems. First check a minipage also if we have some ert-contents
13408 (not only on par->size(), second set the right depth of the paragraph
13409 on the relink to the root-paragraph-list!
13411 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13412 which then did not anymore update the main paragraphs on undo/redo!
13414 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13416 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13417 code. Support all font-changing funcs (even those which are not in
13418 menu currently). Support for reporting font settings in
13419 mathed (disabled until Andre provides a function on mathed's side).
13421 * func_status.h (toggle): small helper function to set toggle
13424 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13426 * tabular_funcs.C: getline -> std::getline
13428 2001-12-21 Juergen Vigna <jug@sad.it>
13430 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13431 accessed and could be 0 (I couldn't generate this but it seems
13434 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13436 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13437 * tabular_funcs.h: here and include iosfwd
13439 2001-12-20 Juergen Vigna <jug@sad.it>
13441 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13442 inside inset but undo_par was.
13444 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13446 * Thesaurus.C: always include <config.h> in sources.
13450 * box.h: do not include <config.h> in header files
13452 * text.C (paintLastRow): remove unused variable
13454 * text.C (transformChar):
13456 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13458 * Painter.C (text):
13459 * font.C (width): rewrite to use uppercase() instead of
13462 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13464 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13466 * lyxfind.C: clean up of find failure position change
13468 2001-12-20 Juergen Vigna <jug@sad.it>
13470 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13472 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13473 (TeXRow): added to LaTeX a single tabular row.
13474 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13475 (Latex): simplified and finally good LT-h/f support.
13476 (various_functions): just small adaptions for LT-h/f support.
13478 * tabular_funcs.[hC]: added and moved here all not classfunctions
13481 2001-12-19 Juergen Vigna <jug@sad.it>
13483 * tabular.[Ch]: better support for longtabular options (not finished
13486 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * text.C (paintLastRow): use the label font instead of the font of
13489 the last character to compute the size of *_BOX. This makes more
13490 sense and avoids a crash with empty paragraphs.
13491 Use Painter::rectangle to draw EMPTY_BOX.
13493 2001-12-19 Juergen Vigna <jug@sad.it>
13495 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13496 the paragraphs if the replaced paragraph is not the first one!
13497 Tried to delete not used paragraphs but does not work yet so for
13498 now it's inside #ifdef's and by default off!
13500 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13502 * MenuBackend.C: include "lyx_main.h" instead of declaring
13503 lastfiles (actually was declared as LastFiles* instead of a
13506 2001-12-17 Juergen Vigna <jug@sad.it>
13508 * tabular.C (AppendColumn): applied John's fix
13510 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13514 * BufferView_pimpl.h:
13515 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13518 * box.h: new start of class for above
13520 * lyxfunc.C: ignore space-only minibuffer dispatches.
13521 Show the command name when it doesn't exist
13523 * minibuffer.C: don't add empty lines to the history
13525 * minibuffer.C: add a space on dropdown completion
13527 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13529 * text.C: fix line above/below drawing in insets
13531 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13533 * lyxlength.C (LyXLength): Initialize private variables.
13535 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13537 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13538 when inserting error insets.
13540 2001-12-13 Juergen Vigna <jug@sad.it>
13542 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13543 actually sometimes the before-paragraph.
13544 (setUndo): don't clear the redostack if we're not actually undoing!
13546 2001-12-06 Juergen Vigna <jug@sad.it>
13548 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13549 and fixed redoing of main paragraph, so we can use it now ;)
13551 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13553 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13555 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13558 2001-12-13 André Pönitz <poenitz@gmx.net>
13561 * undo_func.C: minor cleanup
13563 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13565 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13566 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13567 font in urw-fonts package which is marked as -urw-fontspecific and
13568 does not work (incidentally, changing the encoding in the
13569 fonts.dir of this package to -adobe-fontspecific fixes the
13572 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13573 is a crash when undoing first paragraph (Juergen, please take a
13574 look). THis does not mean the undo fix is wrong, just that it
13577 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13578 the (Paragraph*) version when needed instead of duplicating the
13581 * text.C (workWidth): use Inset::parOwner to find out where the
13582 inset has been inserted. This is a huge performance gain for large
13583 documents with lots of insets. If Inset::parOwner is not set, fall
13584 back on the brute force method
13586 * paragraph_pimpl.C (insertInset):
13587 * paragraph.C (Paragraph):
13588 (cutIntoMinibuffer): set parOwner of insets when
13589 inserting/removing them
13591 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13593 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13599 * mathed/formulabase.C:
13600 * mathed/math_cursor.[Ch]:
13601 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13604 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * lyxlength.[Ch] (operator!=): new function
13608 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13610 * text.C (workWidth): use Inset::parOwner to find out where the
13611 inset has been inserted. This is a huge performance gain for large
13612 documents with lots of insets. If Inset::parOwner is not set, fall
13613 back on the brute force method
13615 * paragraph_pimpl.C (insertInset):
13616 * paragraph.C (Paragraph):
13617 (cutIntoMinibuffer): set parOwner of insets when
13618 inserting/removing them
13620 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13622 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13624 * tabular-old.C (getTokenValue):
13625 * tabular.C (getTokenValue):
13626 (write_attribute): new versions for LyXLength
13627 (everywhere): adjust the use of widths
13629 * tabular.h: change the type of widths from string to LyXLength
13631 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13633 * paragraph.C: fixed missing line number count when exporting
13634 Environments to LaTeX file
13636 * buffer.C: added informational message for checking line numbers.
13638 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13640 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13641 paragraph, do the 'double space' part, but not the 'empty
13644 * text.C (workWidth): small optimization
13645 (getLengthMarkerHeight): use minimal size for negative lengths.
13647 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13649 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13651 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13653 2001-12-11 André Pönitz <poenitz@gmx.net>
13656 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13658 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13660 * text2.C: keep selection on a setFont()
13662 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13664 * lyx_cb.C: another bv->text misuse, from insert label
13666 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13669 * kbsequence.C: re-instate nmodifier mask
13671 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13673 * lyx_main.h: make lyxGUI private.
13675 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13677 * lyxfind.C: place the cursor correctly on failed search
13679 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13681 * text.C (getLengthMarkerHeight): for small heights, the arrows
13682 are not always on top/bottom of the text
13683 (drawLengthMarker): smaller arrows; take the left margin in
13684 account; draw also vfills.
13686 (paintLastRow): remove special code for vfill and standard spaces,
13687 since everything is handled in drawLengthMarker now.
13689 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * buffer.C (insertErtContents): try to handle font and language
13692 interaction a bit better.g
13694 * ColorHandler.C (updateColor): change the hash to cover the whole
13695 LColor enum, ws cleanup
13696 (getGCLinepars): ditto
13697 (getGCLinepars): only lookup in the linecache once.
13699 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13701 * iterators.C (operator++): Make the iterator more robust
13703 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13705 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13707 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13710 * text.C: better added space drawing
13712 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13715 * BufferView2.C: fix layout combo update on inset unlock
13717 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13719 * Makefile.am: don't compile unused files
13721 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13725 * LyXAction.C: remove old LFUN_LAYOUTNO
13727 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13729 * paragraph_pimpl.h:
13730 * paragraph_pimpl.C: isTextAt() doesn't need font param
13732 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13735 * lyxlex.C: little cleanup
13737 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13739 * BufferView_pimpl.C: fix insertAscii for insets
13741 2001-12-05 Juergen Vigna <jug@sad.it>
13743 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13744 set the right font on the "multi" paragraph paste!
13746 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13752 * lyxlength.C: remove out-commented code.
13754 * BufferView_pimpl:
13768 * vc-backend.C: change "while(" to "while ("
13770 * lyxlength.[Ch]: add zero function to check if length is zero or
13772 * lyxgluelength.C: use it
13774 2001-12-05 Allan Rae <rae@lyx.org>
13776 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13777 Works for 2.95.3, from what I understand of Garst's reports this should
13778 work for other g++ versions. We're screwed if the abs(int) definition
13779 changed between bugfix releases of gcc.
13781 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13783 * text.C: fix chapter label offset !
13785 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13788 * text.C: fix hfill at end of line, clean up
13790 2001-12-04 Juergen Vigna <jug@sad.it>
13792 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13793 that we force an update of the inset and it's owners if neccessary.
13795 2001-12-03 Juergen Vigna <jug@sad.it>
13797 * text.C (rowLast): simplified code
13799 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13801 * lyxfunc.C: fix show options on timeout
13803 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * screen.C (topCursorVisible): scroll half a page when the cursor
13806 reached top of bottom of screen
13808 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13810 * minibuffer.C: deactivate on loss of focus
13812 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13814 * vspace.[Ch] (operator!=): add operator.
13816 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13818 * BufferView_pimpl.C: refuse to open an inset when
13819 there's a selection.
13821 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13823 * BufferView_pimpl.C: allow to click on RHS of full row insets
13825 2001-11-30 Juergen Vigna <jug@sad.it>
13827 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13828 insets for undo reasons.
13830 2001-11-28 André Pönitz <poenitz@gmx.net>
13832 * vspace.[Ch]: cosmetical changes
13834 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13844 * kbsequence.C: part re-write of old kb code
13847 * WorkArea.C: remove Lgb_bug_find_hack
13849 2001-11-30 José Matos <jamatos@fep.up.pt>
13851 * buffer.C (makeDocBookFile): add a comment to point a hack.
13852 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13853 Fixed a double write of labels.
13855 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13858 * LaTeX.h Fixed bug in LaTeX class where it would not
13859 re-run latex if no depfiles were changed, but the .dvi was removed.
13861 2001-11-28 André Pönitz <poenitz@gmx.net>
13863 * all the files from the change on 2001/11/26:
13864 use lyx::layout_type instead of LyXTextClass::size_type
13865 use lyx::textclass_type instead of LyXTextClassList::size_type
13867 2001-11-29 Juergen Vigna <jug@sad.it>
13869 * text.C: added support for paragraph::isFreeSpacing()
13871 * buffer.C: same as above
13873 * paragraph.h: inserted isFreeSpacing() function to enable
13874 FreeSpacing inside InsetERT.
13876 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13877 of the paragraph's in the cut/copy buffer to 0!
13879 * text2.C (removeRow): remove the assert as it can!
13881 * lyxtext.h: added helper function firstRow returning firstrow and
13882 made firstrow private again.
13884 * BufferView2.C (lockInset): don't relock if we're already locked!
13886 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13887 the only paragraph.
13888 (removeRow): added Assert::(firstrow)
13890 * debug.C: forgot to add INSETTEXT here.
13892 2001-11-28 Juergen Vigna <jug@sad.it>
13894 * sp_spell.C (initialize): changed error text to more general
13895 spellchecker command use (not only ispell!)
13897 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13899 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13901 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13903 * vspace.C: initialise lyxgluelength on failure
13905 2001-11-28 Allan Rae <rae@lyx.org>
13907 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13908 declaration & definition that looks like a function declaration.
13910 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13912 * BufferView2.C (copy):
13913 (copyEnvironment): do not clear the selection when doing a copy.
13915 * text.C (paintFirstRow): compilation fix
13917 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13919 * tabular.C (Latex): correct line count when writing latex.
13921 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13923 * paragraph_pimpl.h:
13924 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13927 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13931 * LColor.C: change vfillline->added_space
13933 * text.C: add markers and text for added space
13935 * vspace.C: fix comment
13937 2001-11-28 André Pönitz <poenitz@gmx.net>
13939 * paragraph.C: whitespace changes
13940 * all the other files from the change on 2001/11/26:
13941 change *::pos_type into lyx::pos_type
13943 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13945 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13946 language of the document when inserting error insets.
13948 2001-11-26 André Pönitz <poenitz@gmx.net>
13950 * BufferView_pimpl.[Ch]:
13958 * paragraph_pimpl.[Ch]:
13961 * text2.C: reduce header dependencies, introduce type for positions
13963 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13965 * <various>: change to use Alert.h
13967 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13969 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13970 when encountering an unknown token.
13971 (readLyXformat2): Show an error message if there were unknown tokens.
13973 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13976 * BufferView_pimpl.C:
13980 * text2.C: use par->isInset()
13982 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13984 * paragraph_pimpl.h:
13985 * paragraph_pimpl.C: cleanup
13987 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * text2.C (removeRow):
13990 * text.C (setHeightOfRow): remove useless (and costly) call to
13993 2001-11-20 Allan Rae <rae@lyx.org>
13995 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13996 Now need Inset*::checkInsertChar() to return true for appropriate
13997 cases so that the characters in the minibuffer will actually be
14000 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * text.C: change the order of the includes.
14003 (workWidth): initialize it at once.
14004 (workWidth): make maxw unsigned
14005 (setHeightOfRow): remove unused variable (inset)
14006 (selectSelectedWord): remove unused variable (inset)
14007 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14009 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14012 server is not running.
14014 (closeConnection): add debug info when server is disabled.
14016 * ColorHandler.C (getGCForeground): send debug message to GUI
14019 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14021 * kbmap.C (bind): modify because return conventions of
14022 kb_sequence::parse have changed.
14024 * kbsequence.C (parse): only ignore spaces and not any stupid
14025 control character. This avoids tests like s[i] <= ' ', which are
14026 guaranteed to fail with 8bit characters and signed chars.
14027 Change return code to string::npos when there have been no error
14028 (0 was a bad idea when error is at first character)
14030 2001-11-14 José Matos <jamatos@fep.up.pt>
14033 * buffer.C (simpleDocBookOnePar): removed unused argument.
14035 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14037 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14038 insets which are part of a word. Paragraph::isLetter takes care of
14039 that now. Use Paragraph::isInset to identify insets.
14040 (selectSelectedWord): do not test for hyphenation break.
14042 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14043 that protected spaces are considered as spaces.
14045 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14048 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14051 * lyxserver.C: fix it. and small cleanup.
14053 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14055 * BufferView_pimpl.C: use inline helpers
14058 * LaTeXFeatures.C: fix typos
14061 * Spacing.C: move spacing_string into class
14063 * ToolbarDefaults.C: move stuff into namespace anon
14065 * layout.h: update enum
14067 * lyxfunc.C: use better debug
14069 * minibuffer.h: fix typo
14073 * WorkArea.C: add and use Debug::WORKAREA
14077 * text2.C: code re-organisation, inline helpers
14079 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14081 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14082 std::vector.empty().
14084 2001-11-09 Allan Rae <rae@lyx.org>
14086 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14087 '\n's after tables. Tabular and ERT inset work now makes this no
14090 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14093 * minibuffer.C: fix crash, improve drop-down completion
14095 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14098 * lyxserver.C: invalidate fd's when doing endPipe()
14100 2001-11-08 José Matos <jamatos@fep.up.pt>
14102 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14103 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14106 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14108 2001-11-07 José Matos <jamatos@fep.up.pt>
14111 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14114 * buffer.C (sgmlOpenTag):
14115 * buffer.C (sgmlCloseTag): removed debug info.
14117 * buffer.h (sgmlOpenTag):
14118 * buffer.h (sgmlCloseTag): made public.
14120 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14122 * buffer.C (saveParamsAsDefaults):
14123 * lyx_cb.C (MenuLayoutSave): remove
14125 * LyXAction.C (init):
14127 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14129 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * buffer.C (setPaperStuff): removed from here...
14133 * bufferparams.C (setPaperStuff): ... and moved there.
14135 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14139 * XFormsView.C: add support for drop-down completion
14141 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14143 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14146 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14151 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14153 * lyx_main.C: change ref to known bugs
14155 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14157 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14158 to work around older babel problems.
14160 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14162 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14164 2001-10-24 Juergen Vigna <jug@sad.it>
14166 * tabular-old.C (ReadOld): below variable changes reflected.
14168 * tabular.[Ch]: added ltType struct for longtable header/footer
14169 defines and changed all instances where they are used. Added
14170 future support for double top/bottom rows.
14172 2001-10-24 José Matos <jamatos@fep.up.pt>
14174 * buffer.h (docbookHandleCaption):
14175 * buffer.C (docbookHandleCaption): removed unused function.
14176 (makeDocBookFile): moved docbook supported version to v4.1.
14178 2001-10-24 José Matos <jamatos@fep.up.pt>
14181 * tabular.C (docbookRow): new function to export docbook code of a row.
14182 (DocBook): now honors the longtable flags.
14184 2001-10-23 José Matos <jamatos@fep.up.pt>
14187 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14188 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14190 * buffer.C (makeLinuxDocFile):
14191 (makeDocBookFile): reworked the preamble, more clean, and with
14192 support for lyx defined entities. Changed the document declaration
14193 to be more XML friendly.
14195 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14196 if we need to output XML that should be done with a filter.
14198 2001-10-22 Juergen Vigna <jug@sad.it>
14200 * sp_pspell.h (class PSpell): add alive function needed in the
14201 controller to see if the spellchecker could be started.
14203 2001-10-22 Juergen Vigna <jug@sad.it>
14205 * buffer.C (insertStringAsLines): modify the font for inserting
14206 chars in certain conditions by calling checkInsertChar(font).
14208 2001-10-19 Juergen Vigna <jug@sad.it>
14210 * text.C (workWidth): use getRow instead of wrong algorithm.
14211 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14213 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14218 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14220 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14222 * text.C (workWidth): do not search for the exact row when
14223 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14224 optimization for big documents.
14226 2001-10-18 Juergen Vigna <jug@sad.it>
14228 * text.C (workWidth): new function with added Inset * parameter.
14230 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14234 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14235 change return type of getColumnNearX.
14238 * text.C (changeRegionCase): use uppercase/lowercase instead of
14241 (rightMargin): simplify code by factoring out the uses of
14246 (appendParagraph): use Paragraph::size_type
14248 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14250 * vspace.C (asLatexString): add a missing break
14252 2001-10-15 Herbert Voss <voss@perce.de>
14254 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14256 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14258 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14261 2001-10-10 André Pönitz <poenitz@gmx.net>
14263 * lyxfunc.C: removed greek_kb_flag.
14265 2001-10-10 Herbert Voss <voss@perce.de>
14267 * lyx_main.C: delete global string help_lyxdir.
14269 2001-10-09 Herbert Voss <voss@perce.de>
14271 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14273 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14275 * lyx_main.C: added global string help_lyxdir.
14277 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14279 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14281 * lyxrc.C (set_font_norm_type): support iso8859-4
14283 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14285 * LaTeX.C (deplog): add another regex for MikTeX
14287 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14289 * lyxrc.C (set_font_norm_type): support iso8859-3
14291 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14295 * LaTeXFeatures.C: remove special case of french and index
14297 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14298 before \begin{document}). This solves several incompatibilities.
14300 2001-10-03 Garst Reese <reese@isn.net>
14302 * lyx_cb.C: change CheckTex error msg.
14304 2001-10-03 José Matos <jamatos@fep.up.pt>
14306 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14308 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * .cvsignore: update
14312 * lyx_main.C (commandLineVersionInfo): use new style version info.
14314 * buffer.C (writeFile):
14316 (makeLinuxDocFile):
14317 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14319 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14321 * version.h: update to use stuff in version.C
14323 * version.C.in: new file. Contains version information determined
14324 at compile time. This is a merging of version.h and
14327 2001-10-03 Juergen Vigna <jug@sad.it>
14329 * BufferView_pimpl.C (update): don't change "dirty" status in
14332 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14334 * WorkArea.C (c-tor): re-position version string slightly.
14336 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14338 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14339 revert to previous code.
14341 WorkArea.[Ch]: (show, destroySplash): methods removed.
14343 WorkArea.C: rework code so that it's an amalgam of the codes before and
14344 after the splash screen was moved to WorkArea.
14346 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14349 * vspace.C (inPixels):
14352 * buffer.C (insertStringAsLines):
14353 (asciiParagraph): fix types to be large enough
14355 * lyxlex_pimpl.h: change member status from short to int
14357 * layout.h: fix type of endlabeltype
14360 * kbsequence.C (parse): change return type to string::size_type
14362 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14365 * Bullet.C (bulletSize):
14366 (bulletEntry): do not use short ints as parameters
14368 * BufferView2.C (insertLyXFile): change a char to an int.
14370 * WorkArea.C (WorkArea): remove unneeded floats in computation
14372 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14374 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14376 * paragraph.C (asString): Do not ignore newline/hfill chars when
14377 copying to the clipboard.
14379 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14381 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14382 after a multi-line inset.
14384 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14386 * paragraph.C (validate): Set NeedLyXFootnoteCode
14388 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14390 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14391 and decrease-error to decrease.
14393 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14395 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14396 it more readable (should be equivalent)
14398 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14400 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14402 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14404 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14405 of a cursor (row, etc.) after a character has been deleted
14406 (deleteEmptyParagraphMechanism): call the method above on _all_
14407 cursors held by the LyXText when a double space has been
14410 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14412 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14414 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14416 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14417 background. Use greyOut() and the new show() methods to toggle between
14418 the foreground and background. Add code to remove the splash after
14419 its initial showing.
14421 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14422 (create_forms): no longer call Dialogs::showSplash.
14424 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14426 * .cvsignore: add version_info.h
14428 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * version_info.h.in: new file
14432 * Makefile.am: add version_info.h.in
14434 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14435 version_info.h instead of VERSION_INFO
14437 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14439 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14440 The ERT inset now returns string().
14442 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14444 * lyxtext.h, text.C (selectNextWord): renamed as
14445 selectNextWordToSpellcheck.
14447 * text.C (selectNextWordToSpellcheck): Modified to not select
14448 words inside an ERT inset.
14450 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * lyx_cb.C (MenuLayoutSave): change a bit the question
14454 * sp_base.h: include <sys/types.h>
14456 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14458 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14460 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14462 * several files: fix typos in user-visible strings
14464 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14466 * text2.C (pasteSelection): do not set the selection, since it
14467 will be cleared later. Actually, the intent was to fix the way the
14468 selection was set, but I figured rmoving the code was just as good.
14470 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14472 * FontLoader.C (available): Check if font is available without
14475 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14477 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14479 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14481 * lyxrc.[Ch]: added display_graphics variable and associated code.
14483 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14485 * bufferparams.C (hasClassDefaults): new method. Returns true if
14486 the buffer parameters correspond to known class defaults
14488 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14490 * XFormsView.C (show): set minimum size to the main window.
14492 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14494 * text2.C (copySelection):
14496 * lyxfind.C (LyXReplace):
14497 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14498 LyXText::selectionAsString.
14500 * paragraph.C (asString): add "label" argument to the second form
14502 * text2.C (selectionAsString): add "label" argument and pass it to
14503 Paragraph::asString.
14505 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14507 * lyx_main.C (commandLineHelp): remove version information
14509 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14511 * lyx_main.C: add -version commandline option
14513 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * paragraph.h: make the optional constructor arg required instead.
14516 some modifications to other files because of this.
14518 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14520 * lyxserver.C (C_LyXComm_callback): make it static
14522 * lyx_main.C (error_handler): make it static
14524 * lyx_gui.C (LyX_XErrHandler): make it static
14526 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14528 * WorkArea.C: make the extern "C" methods static.
14530 * Makefile.am (lyx_LDADD): simplify
14532 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14534 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14535 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14537 * LyXAction.C (init):
14538 * lyxfunc.C (dispatch): associated code removal.
14540 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14542 * lyxfont.h (isSymbolFont): shut off warning
14544 * text.C (setHeightOfRow):
14545 (getVisibleRow): fix crash with empty paragraphs which have a
14548 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14550 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14553 2001-09-04 José Matos <jamatos@fep.up.pt>
14556 * tabular.C (docbook): rename docBook method to docbook.
14558 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14560 * Makefile.am: add dependencies to main.o.
14562 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14564 * FontLoader.C (available): Return false if !lyxrc.use_gui
14566 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14568 * FontInfo.C (query):
14569 * converter.C (view):
14570 * importer.C (Import):
14571 * exporter.C (Export): Can not -> cannot.
14573 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14575 * BufferView_pimpl.C: allow to create index inset even if
14578 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14580 * buffer.C (getLists): replace boost::tie code with an explicit pair
14581 as boost::tie can break some compilers.
14583 * iterators.h: Added a std:: declaration to the return type of
14586 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14588 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14591 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14593 * iterators.[Ch]: New files. Provide paragraph iterators.
14595 * buffer.C (changeLanguage): Use paragraph iterators.
14596 (isMultiLingual): ditto
14598 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14600 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14602 * FontLoader.C: Support for cmr font.
14604 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14606 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14607 (available): New method.
14609 * FontInfo.C (getFontname): Use scalable fonts even when
14610 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14613 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14615 * converter.C (Formats::view): reverted! Incorrect fix.
14617 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14619 * converter.C (Formats::view): only output the -paper option
14620 if the dvi viewer is xdvi, thereby fixing bug #233429.
14622 2001-08-23 Herbert Voss <voss@perce>
14624 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14626 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14628 * Spacing.h (Spacing): Set space to Default on in the default
14631 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14633 * vc-backend.h (RCS::versionString): add RCS to version
14634 (CVS::versionString): add CVS to version
14636 * vc-backend.C (scanMaster): do not add CVS to version.
14637 (scanMaster): do not add RCS to version
14639 * lyxvc.C (versionString): new method
14641 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14643 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * Spacing.C (set): initialize fval
14647 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14649 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14652 2001-08-16 Juergen Vigna <jug@sad.it>
14654 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14656 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14658 * BufferView_pimpl.C:
14661 * text2.C: setParagraph takes linespacing now
14663 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14665 * LyxAction.C: add internal LFUN_CITATION_INSERT
14667 * LyXView.C: actually apply fix
14669 * bufferlist.C: fix open non-existent file
14671 * lyxfind.C: fix indentation
14673 * lyxfunc.C: remove unneeded assert, fix typo
14675 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14677 * MenuBackend.C: use "Floatname List"
14679 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14681 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14682 when converting LaTeX layout to insetERT.
14683 Generate a non-collapsed float when reading old float
14685 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14687 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14690 2001-08-13 Juergen Vigna <jug@sad.it>
14692 * text.C (fill): return 0 instead of 20 as this seems to be the more
14695 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14697 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14700 2001-08-13 Juergen Vigna <jug@sad.it>
14702 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14704 (SearchBackward): comment out the unlocking of the inset_owner this
14705 should not be needed!
14707 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14709 * Many files: Remove inherit_language, and add latex_language
14711 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14712 collapsible insets.
14714 2001-08-10 Juergen Vigna <jug@sad.it>
14716 * text.C (prepareToPrint): fixed hfill-width in draw!
14718 * BufferView2.C (selectLastWord): save the selection cursor as this
14719 now is cleared in the function LyXText::clearSelection!
14721 2001-08-08 Juergen Vigna <jug@sad.it>
14723 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14724 BACKSPACE type functions.
14726 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14727 is only cutted from the document but not put in the cut-buffer, where
14728 still the old stuff should be.
14730 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14732 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14734 * tabular.C (SetWidthOfCell): fixed special case where the width
14736 (LeftLine): handle '|' in align_special.
14738 (LeftAlreadyDrawed): ditto
14739 (SetWidthOfCell): ditto
14741 2001-08-07 Juergen Vigna <jug@sad.it>
14743 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14745 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14747 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14748 * lyxlex.[hC]: ditto
14750 2001-08-06 Juergen Vigna <jug@sad.it>
14752 * text.C (getVisibleRow): fix up row clearing a bit.
14754 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14756 * minibuffer.C: make sure the X server sees the changes in the input.
14758 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14760 * paragraph.C (getFont): split into...
14761 (getLabelFont): this
14762 (getLayoutFont): and this
14763 * paragraph_pimpl.C (realizeFont): calling this
14765 * text2.C (getFont): split into...
14766 (getLayoutFont): this
14767 (getLabelFont): and this
14768 (realizeFont): all three calling this
14770 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14773 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14775 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14777 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14779 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14780 layouts from the Quote inset insertion.
14782 2001-08-03 Juergen Vigna <jug@sad.it>
14784 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14786 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14787 only if status not is already CHANGED_IN_DRAW (second level).
14789 * text.C (draw): don't set the need_break_row when inside an
14792 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14794 * buffer.C (parseSingleLyXformat2Token): handle more latex
14797 * bufferview_funcs.[hC]: change function names to
14798 begin with small char, adjust other files.
14800 2001-08-02 André Pönitz <poenitz@gmx.net>
14803 BufferView_pimpl.C: remove broken special code for math-greek
14805 2001-08-02 Juergen Vigna <jug@sad.it>
14807 * BufferView_pimpl.C (update): redone this function so that we
14808 update the text again if there was a CHANGE_IN_DRAW.
14810 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14811 (drawFromTo): added a new internal bool which is used by draw() and
14813 (general): some cursor drawing problems fixed.
14815 2001-08-01 Juergen Vigna <jug@sad.it>
14817 * lyxfind.C (LyXFind): fixed
14818 (SearchForward): ditto
14819 (SearchBackward): ditto
14821 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14822 spurius drawing of the cursor in the main area.
14824 * text2.C (status): small fix which could lead to a segfault!
14825 (clearSelection): remove unneeded BufferView param.
14827 2001-08-01 André Pönitz <poenitz@gmx.net>
14829 * lyxfunc.C: small change due to changed mathed interface
14831 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14835 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14837 * lyxfunc.c: fail gracefully if file doesn't exist
14842 * BufferView_pimpl.C: IsDirWriteable() proto changed
14844 * LyXView.C: fix updateWindowTitle() to store the last title
14846 2001-07-31 Juergen Vigna <jug@sad.it>
14848 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14849 the font (wrong since using of Paragraph::highestFontInRange).
14851 * paragraph.C (highestFontInRange): added a default_size parameter.
14853 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14854 (setHeightOfRow): reformat
14856 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14858 * converter.[hC] + affected files: move to (inital-char)lowercase
14861 * ParagraphParameters.C (ParagraphParameters): remove commented code
14863 * PainterBase.[Ch]: remove commented code
14865 * LaTeXFeatures.h: add "bool floats" for float.sty
14867 * LaTeXFeatures.C (LaTeXFeatures): init floats
14868 (require): handle float
14869 (getPackages): do it with floats
14871 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14873 * BufferView_pimpl.C (Dispatch): improve handling of
14874 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14876 * commandtags.h: #include lyxfont.h here temporarily to avoid
14879 * bufferlist.h: include LString.h here.
14881 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * text2.C (getStringToIndex): new method.
14885 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14887 * *: Reduced header file dependencies all over.
14889 2001-07-30 Baruch Even <baruch@lyx.org>
14891 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14893 2001-07-29 Baruch Even <baruch@lyx.org>
14895 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14897 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14899 * ParameterStruct.h (endif): add a default constructor to make
14900 sure that all variables is initialized.
14902 * ParagraphParameters.C (ParagraphParameters): adjust
14904 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14906 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14907 index; also, check that there is something to index, and that it
14908 does not span over several paragraphs.
14909 (doubleClick): use WHOLE_WORD_STRICT for double click.
14911 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14913 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14916 2001-07-26 Baruch Even <baruch@lyx.org>
14918 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14919 an InsetFig figure, backwards compatible reading of old figure code.
14921 2001-07-27 Juergen Vigna <jug@sad.it>
14923 * text2.C: font.realize function adaption.
14925 * text.C (draw): add a warnings lyxerr text if needed.
14927 * layout.C: font.realize function adaption.
14929 * language.C: add inherit_language and implement it's handlings
14931 * bufferview_funcs.C (StyleReset): remove language parameter from
14932 font creation (should be language_inherit now).
14934 * bufferparams.C (writeFile): handle ignore_language.
14936 * paragraph.C (getFontSettings): the language has to be resolved
14937 otherwise we have problems in LyXFont!
14939 * lyxfont.C (lyxWriteChanges): added document_language parameter
14940 (update): removed unneeded language parameter
14942 * paragraph.C (validate): fixed wrong output of color-package when
14943 using interface colors for certain fonts in certain environments,
14944 which should not seen as that on the final output.
14946 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14948 * BufferView_pimpl.C:
14953 * LyXAction.C: add thesaurus support
14956 * lyxfind.C: add "once" parameter, for thesaurus, to not
14957 move to the next match
14959 2001-07-26 Juergen Vigna <jug@sad.it>
14961 * lyxfont.C (realize): honor ignore_language too!
14964 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14966 * text.C (draw): one place more for ignore_language to not draw
14969 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14971 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14973 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14975 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14976 the minipage conversion problem.
14978 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14983 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14985 * BufferView.h: don't forward declare WorkArea
14987 * BufferView.C: don't include WorkArea.h
14989 2001-07-25 André Pönitz <poenitz@gmx.net>
14993 * lyxfunc.C: new LFUN 'math-space'
14995 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14997 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * text2.C (toggleInset): call open/close
15001 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * lyxfunc.C (dispatch): add debug for the disabled case
15005 * font.C (buttonText): make similar to rectText
15007 * buffer.C (readInset): comment out parsing of insetlist and
15010 * PainterBase.C (rectText): small correction
15012 * BufferView_pimpl.C: comment out insettheorem and insetlist
15013 * LyXAction.C: ditto
15014 * commandtags.h: ditto
15016 2001-07-24 Juergen Vigna <jug@sad.it>
15018 * text.C (draw): honor the ignore_language.
15020 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15022 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15024 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15027 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15029 * lyxtext.h: remove unused (and unimplemented) methods
15031 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15033 * text.C (getVisibleRow): honor background color
15036 * Painter.h: remove default color argument for fillRectangle
15038 * text.C (backgroundColor): new method
15040 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15042 * text.C (getVisibleRow): adjust
15044 * font.[Ch] (rectText): new method, metrics
15045 (buttonText): new method, metrics
15047 * PainterBase.[hC]: make rectText and buttonText always draw and take
15050 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15052 * ToolbarDefaults.C (read):
15053 * MenuBackend.C (read): allow escaping in all strings
15055 * BufferView_pimpl.C (insertAndEditInset): new method.
15056 (Dispatch): use insertAndEditInset whenever appropriate.
15058 * BufferView_pimpl.C (insertNote): removed
15060 * BufferView_pimpl.C (smartQuote): new method, moved from
15061 BufferView; if an insetquote cannot be inserted, insert a '"'
15064 * BufferView2.C: remove insertCorrectQuote();
15066 * lyxfunc.C (getStatus): Add support for all remaingin
15067 inset-insert lfuns.
15069 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15071 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15072 command (necessary to pass " as parameter of self-insert.
15074 * text.C (selectWordWhenUnderCursor):
15075 (selectWord): add word_location parameter
15076 (selectWordWhenUnderCursor): same + remove special code for word
15078 (selectNextWord): use kind() to guess type of insetspecialchar,
15081 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15082 (insertErtContents): create ert insets as collapsed.
15083 (readInset): better compatibility code for Info inset.
15085 2001-07-20 Juergen Vigna <jug@sad.it>
15087 * lyxfunc.C (dispatch): use always LyXFind now!
15089 * text2.C (init): add a reinit flag so that the LyXText can be
15090 reinited instead of deleted and reallocated (used in InsetText).
15092 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15098 2001-07-18 Juergen Vigna <jug@sad.it>
15100 * text.C (selectNextWord): handle insets inside inset by calling
15101 always the bv->text functions so that we can go up the_locking_inset!
15103 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15104 in strange locations when inside an inset!
15106 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15107 handling to include insets.
15109 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15111 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15113 * LyXAction.C (init):
15115 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15116 LIGATURE_BREAK, since the name is so stupid.
15118 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15120 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15123 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15125 * sp_form.[Ch]: remove.
15127 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15129 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15132 * src/buffer.C (readInset): ditto.
15134 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15136 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15137 menuSeparator(), endOfSentenceDot(), ldots() and
15138 hyphenationPoint(), which are therefore removed.
15139 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15141 * LyXAction.C (init):
15142 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15144 * paragraph.C (getWord): removed.
15146 * BufferView_pimpl.C (Dispatch): use last word or selection for
15147 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15149 * lyx_main.C (queryUserLyXDir): do not ask before creating
15150 user_dir, except if it has been named explicitely.
15152 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15154 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15155 a document of zero size.
15157 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15159 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15160 approriately in the c-tor and in require().
15161 (getPackages): output the appropriate LaTeX for natbib support.
15163 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15164 variables "use_natbib" and "use_numerical_citations" when reading the
15166 (readInset): read the various natbib cite commands.
15167 (validate): white-space change.
15169 * bufferparams.[Ch]: new variables "bool use_natbib" and
15170 "bool use_numerical_citations".
15171 (writeFile): output them in the LyX file.
15173 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15175 * lyxfunc.C (getStatus): add support for all the inset insertion
15178 * text2.C (insertInset):
15179 * paragraph.C (insetAllowed):
15180 * BufferView_pimpl.C (insertInset): update to take in account the
15181 renaming of insertInsetAllowed
15183 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15185 * text2.C (getInset): new method. returns inset at cursor position.
15187 * BufferView_pimpl.C (Dispatch): changes because of this.
15189 * LyXAction.C (init): rename open-stuff to inset-toggle.
15191 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15193 * text2.C (toggleInset): renamed from openStuff; use
15196 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15198 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15200 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15202 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15204 * buffer.C (readLyXformat2): Add filename to the error dialog
15206 2001-07-18 Juergen Vigna <jug@sad.it>
15208 * tabular.C (GetCellNumber): put an assert here instead of the check!
15210 2001-07-17 Juergen Vigna <jug@sad.it>
15212 * BufferView_pimpl.C (toggleSelection): adapted too.
15214 * text.C (selectNextWord): adapted for use with insets.
15215 (selectSelectedWord): ditto
15217 2001-07-17 Juergen Vigna <jug@sad.it>
15219 * sp_spell.C (PSpell): fix initialitation order.
15221 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * paragraph.C: spacing
15225 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15227 * sp_spell.C: repair language selection for pspell
15229 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15231 * lyxfunc.h: change more methods to begin with lower char.
15233 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15235 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15236 for unknown layouts.
15238 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15240 * buffer.C (readLyXformat2): Generate an error dialog if there are
15243 2001-07-16 Juergen Vigna <jug@sad.it>
15245 * sp_spell.C: always compile ISpell part.
15247 * lyxrc.C: added use_pspell entry and it's handling.
15249 2001-07-13 Juergen Vigna <jug@sad.it>
15251 * sp_spell.C: removed double includes.
15253 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15255 Consistent use of Lsstream.h:
15256 * Lsstream.h: added using std::stringstream for consistencies sake.
15258 * buffer.C: removed using std::stringstream
15260 * lyxfont.C (stateText):
15261 * paragraph.C (asString):
15262 * text.C (selectNextWord, selectSelectedWord):
15263 * text2.C (setCounter):
15264 * vspace.C (asString, asLatexString):
15265 std::ostringstream -> ostringstream.
15267 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15269 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15270 * commandtags.h: add LFUN_HELP_ABOUTLYX
15271 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15273 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15275 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15277 * lyx_gui_misc.C: remove spellchecker
15278 * lyxfunc.C: showSpellchecker
15280 * sp_ispell.h: added
15281 * sp_pspell.h: added
15282 * sp_spell.C: added
15283 * sp_form.[Ch]: removed
15284 * spellchecker.[Ch]: removed
15286 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15288 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15290 (simpleTeXSpecialChars): Simply print the input character without
15291 any special translation if pass_thru is set.
15293 * layout.h: Added bool pass_thru to layout class for being able to
15294 implement pass through of a paragraph for Literate Programming.
15296 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15297 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15298 * layout.C (Read): add "passthru" to list of layout tags and add
15299 code to set the pass_thru boolean when it is read.
15301 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15303 * trans_decl.h: remove allowed from KmodInfo
15305 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15306 remove allowed code
15309 * paragraph_pimpl.C (erase): use boost::prior
15311 * Painter.C (text): use data() instead of c_str() when length is
15313 * WorkArea.C (putClipboard): ditto
15314 * font.h (width): ditto
15316 * BufferView2.C: use it-> instead of (*it). for iterators
15318 * paragraph_pimpl.C: ditto
15319 * paragraph.C: ditto
15320 * minibuffer.C: ditto
15321 * language.C: ditto
15323 * encoding.C: ditto
15324 * counters.C: ditto
15325 * converter.C: ditto
15327 * Variables.C: ditto
15328 * TextCache.C: ditto
15329 * MenuBackend.C: ditto
15330 * LyXAction.C: ditto
15332 * FloatList.C: ditto
15333 * DepTable.C: ditto
15334 * ColorHandler.C (LyXColorHandler): ditto
15336 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15338 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15340 * text2.C (openStuff): reintroduce this method (which had been
15341 nuked in NEW_INSETS frenzy).
15343 * lyxfunc.C (Dispatch): when an action has not been handled, use
15344 its name in the error message, not its number.
15346 * paragraph.C (inInset): change method name to begin with lowercase.
15349 * text2.C: updates because of this.
15351 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15353 * ToolbarDefaults.C (add): add spaces in error message
15355 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15357 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15358 (readLyXformat2): rename return_par to first_par, use lyxlex's
15359 pushToken and remove the manual push handling.
15360 (parseSingleLyXformat2Token): add another ert comp. variable:
15361 in_tabular, rename return_par to first_par. handle newlines better
15363 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15367 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15369 * text2.C (getParFromID): removed
15371 * buffer.C (getParFromID): new method moved form lyxtext.
15372 * BufferView2.C (insertErrors): adjust
15373 (setCursorFromRow): adjust
15374 * BufferView_pimpl.C (restorePosition): adjust
15375 * lyxfunc.C (Dispatch): adjust
15376 * undo_funcs.C (textUndo): adjust
15378 (textHandleUndo): adjust
15379 (textHandleUndo): adjust
15381 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15383 * buffer.C: up' the LYX_FORMAT
15385 * lyxfont.h: turn NO_LATEX on as default
15387 * buffer.C (insertErtContents): new methods of tex style compability.
15388 (parseSingleLyXformat2Token): use it several places.
15389 * tabular.C (OldFormatRead): and here
15391 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15393 * text2.C: remove some commented code.
15396 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15397 * trans.C: changes because of the above.
15399 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15401 * text2.C (setCounter): Fix counters bug with bibliography layout.
15403 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15405 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15406 own member functions
15407 (simpleTeXSpecialChars): ditto
15409 2001-07-06 Juergen Vigna <jug@sad.it>
15411 * a lot of files: changed the access to LyXText::status and the
15412 call of undo-functions.
15414 * undo.[Ch]: added a inset_id to the undo informations.
15416 * undo_funcs.[Ch]: added and moved here all undo functions.
15418 * lyxtext.h: give the status enum a weight, made status_ a private
15419 variable and made accessor functions for it, removed the whole bunch
15420 of undo-functions as they are now in their own file, make some
15421 functions publically available. Added function ownerParagraph with
15424 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15425 made InInset() a const function, added getParFromID() function.
15427 * buffer.[Ch]: added const version for inset_iterator functions,
15428 added getInsetFromID() function.
15430 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15431 changed undo functions for new version.
15433 2001-07-05 Juergen Vigna <jug@sad.it>
15435 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15436 unknow mechanism does not call the proper constructor but only this
15437 one also if I request the other!?
15439 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15441 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15443 * text2.C (LyXText): use initialization lists.
15445 * lyxtext.h (Selection): initialize set_ and mark_
15446 (init): remove method
15448 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15450 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15452 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15454 * screen.[Ch]: change method names to begin with lowercase
15456 * BufferView_pimpl.C (updateScrollbar): simplify further and
15457 hopefully make it a bit faster.
15459 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15461 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15462 calling directly xforms functions.
15464 * Painter.C (Painter):
15465 * lyx_cb.C (MenuWrite):
15466 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15469 * lyx_gui.C: remove bogus guiruntime extern declaration.
15471 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15473 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15475 (redoDrawingOfParagraph): ditto
15476 (redoParagraphs): ditto
15477 (cutSelection): don't create a object for CutAndPaste use the
15478 static method directly
15479 (pasteSelection): ditto
15481 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15484 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * modifications to some other files because of this.
15488 * Makefile.am (lyx_SOURCES): add XFormsView
15490 * XFormsView.[Ch]: new files
15492 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15493 the main window. Move the gui dependent stuff to XFormsView
15495 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15497 * tabular.C (GetCellInset): update cur_cell also in the row/col
15498 version of this function.
15500 * lyxfunc.C: no need to include figure_form.h here.
15506 * lyxvc.C: no need to include forms.h here.
15508 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15510 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15512 * lyxfunc.C (Dispatch):
15514 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15515 constructor argument.
15517 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15519 * paragraph.C (Paragraph): dont't clear, and just set layout.
15520 (makeSameLayout): use params's copy contructor.
15522 * ParagraphParameters.[Ch] (makeSame): delete method
15524 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15526 * Variables.[Ch]: fix indentation, rename set to isSet
15528 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15530 * lyxfunc.C (Dispatch): fix typo
15532 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15537 * bufferlist.C: include assert.h for emergencyWrite().
15539 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15541 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15542 give up at last (bug #425202) !
15544 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15550 * spellchecker.C: strip spellchecker options and bring up
15551 preferences tab instead
15553 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15555 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15556 the istringstream constructor
15558 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15560 * paragraph.C (getLayout): fix return value
15562 * paragraph.h: do not declare getLayout as inline.
15564 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15566 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15568 * lyxcursor.h (operator<): new func
15569 (operator>): new func
15570 (operator>=): new func
15571 (operator<=): new func
15573 * text.C (changeCase): use selection.start and selection.end
15574 (changeRegionCase): require from to be <= to. Require par to be a
15577 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15579 2001-06-27 Juergen Vigna <jug@sad.it>
15581 * text.C (cursorLeftOneWord): changed to return the cursor and added
15582 overlay with BufferView * parameter which calls this one.
15584 (selectWord): use new getWord function.
15585 (changeCase): renamed from changeWordCase as and extended to work
15586 also on selections.
15588 * lyxtext.h: added enum word_location
15590 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15591 changeCase as this operates now also on selections.
15593 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15595 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15597 * many files: send debug output to Debug::INFO instead of
15600 * converter.C (View):
15602 (Move): send debug output to Debug::FILES instead of console.
15604 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15606 * lyxfunc.C (getStatus): use func_status
15608 * func_status.h: new header, describing the results of
15609 LyXFunc::getStatus;
15611 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15614 2001-06-25 The LyX Project <jug@sad.it>
15616 * buffer.C (sgmlOpenTag):
15618 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15620 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15622 * text2.C: remove some dead code
15624 * tabular.C (GetCellInset): store the last cell checked (gotten)
15626 * tabular.h: add the helper for the speedup
15628 * lyxtext.h: remove some dead code
15630 2001-06-26 The LyX Project <Asger>
15632 * paragraph.C: Change export to LaTeX of alignment to
15633 \begin{center} and family for better roundtrip work with reLyX.
15635 * Tune the math drawing a bit.
15637 2001-06-25 The LyX Project <Asger>
15639 * LColor.C (LColor): New color for math background. New color
15642 2001-06-25 The LyX Project <jug@sad.it>
15644 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15646 * lyxfunc.C (Open):
15647 * bufferlist.C (newFile): do not restrict to files ending with
15650 * BufferView_pimpl.C (MenuInsertLyXFile):
15652 2001-06-24 The LyX Project <jug@sad.it>
15654 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15657 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15659 * lyxtext.h: rename most methods to begin with a small char.
15660 Lots of changes because of this.
15662 * paragraph.C (Paragraph): do not call fitToSize
15663 (erase): call Pimpl::erase
15664 (insertChar): call Pimpl::insertChar
15665 (insertInset): call Pipl::insertInset
15666 (breakParagraph): do not call fitToSize
15667 (breakParagraphConservative): do not call fitToSize
15668 (fitToSize): remove method
15670 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15672 2001-06-24 The LyX Project <Asger>
15674 * Fix Qt compilation^2
15676 2001-06-24 The LyX Project <jug@sad.it>
15678 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15679 depthHook(getDepth()-1).
15682 * ParagraphParameters.h:
15683 * ParameterStruct.h: change type of depth to unsigned int ==
15684 depth_type. Many adaptations to other files before of that.
15686 2001-06-24 The LyX Project <Asger>
15688 * Fix Qt compilation.
15690 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15692 * paragraph.h: renamed several methods to begin with small letter.
15693 several changes to many parts of the code because of this.
15695 2001-06-23 The LyX Project <jug@sad.it>
15697 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15698 rewritten to discard all double spaces when KeepEmpty is off
15699 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15700 to only handle newlines but not fiddle with spaces and friends.
15702 * lyxfunc.C (MenuNew): when doing 'new from template', use
15703 template_path as default directory
15705 2001-06-23 The LyX Project <Asger>
15707 * Clean-up of header file includes all over
15708 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15710 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15712 * paragraph.h: renamed from lyxparagraph.h
15714 2001-06-23 Asger <lyx@violet.home.sad.it>
15716 * Buffer.h: Removed Buffer::resize
15717 * BufferList.h: Removed BufferList::resize
15718 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15719 the document lazily when we change the width, or the font settings.
15721 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15723 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15725 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15727 * buffer.h: remove out of date comment
15729 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15732 * screen.C: fix "theoretical" GC leak
15734 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15736 * LaTeX.C (scanAuxFile):
15737 (deplog): remove trailing \r when reading stream (useful under
15740 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15742 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15743 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15744 and BufferView::theLockingInset(Inset*), so should use them and not
15745 access bv_->text->the_locking_inset directly.
15747 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15749 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15752 * tex-defs.h: remove old unused file
15754 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15756 * BufferView_pimpl.C: fix typo, remove minibuffer message
15757 when buffer has loaded
15759 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15761 * lyxfunc.C (Dispatch): use stringstream
15762 (MenuNew): use stringstream
15763 (Open): use stringstream
15765 * importer.C (Import): use stringstream
15767 * bufferview_funcs.C (CurrentState): use stringstream
15769 * LaTeX.C (run): use stringstream
15771 * BufferView_pimpl.C (savePosition): use stringstream
15772 (restorePosition): use stringstream
15773 (MenuInsertLyXFile): use stringstream
15775 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15788 * vspace.C: removed // -*- C++ -*- as first line.
15791 * version.h: added // -*- C++ -*- as first line.
15793 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15795 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15797 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15800 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15802 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15805 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15807 * gettext.C: include LString.h even when --disable-nls is on.
15809 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15811 * converter.h (Get): changed argument type from int to
15812 FormatList::size_type to avoid unnecessary conversion.
15814 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15817 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15819 * gettext.h: include LString.h even when --disable-nls is on.
15821 2001-06-07 Juergen Vigna <jug@sad.it>
15823 * text.C (BreakAgain): subst spaces with tabs.
15825 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15826 (resizeInsetsLyXText): set force on resizeLyXText.
15828 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15830 * gettext.h (gettext_init):
15831 (locale_init): use a real definition instead of a macro
15833 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15835 * Bufferview_pimpl.C:
15837 * LColor.C: further lcolor tidies
15839 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15841 * BufferView_pimpl.C (updateScrollbar): simplify.
15843 * BufferView2.C: don't include insets/insetinfo.h, change
15844 prototype for insertInset and call the Pimpl version. let
15845 updateInset call Pimpl version.
15847 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15848 gotoInset to BufferView::Pimpl
15850 2001-06-01 Juergen Vigna <jug@sad.it>
15852 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15853 inside a LockingInset (is the update needed at all?).
15855 2001-05-31 Juergen Vigna <jug@sad.it>
15857 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15858 here not the old one otherwise how should we compare it afterwards
15861 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15866 * FontInfo.C: bring C functions into global namespace when
15869 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15871 * LString.h: make sure config.h has been loaded before LString.h.
15873 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15874 (one for each char read by EatLine!).
15876 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15879 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15881 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15882 to the same as the par we break from
15884 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15886 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15888 * MenuBackend.C (expand): also create menu entries for wide
15889 versions of the floats.
15891 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15893 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15895 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15896 frontends/Makefile.am
15902 * tabular.C (getTokenValue): add std::
15904 * tabular-old.C (getTokenValue): add std::
15905 (getTokenValue): ditto
15906 (getTokenValue): ditto
15908 * screen.C (ToggleSelection): adjust
15910 * lyxtext.h: put selection cursors inside a Selection struct.
15912 * lyxfunc.C (moveCursorUpdate): adjust
15914 * lyxfont.C (latexWriteStartChanges): add std::
15916 * lyxfind.C: adjust
15918 * font.h: delete with(char const *, LyXFont const &)
15920 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15922 * FontInfo.C (getFontname): add std::
15924 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15925 (workAreaButtonPress): adjust
15926 (tripleClick): adjust
15928 (moveCursorUpdate): adjust
15931 * BufferView2.C (gotoInset): adjust
15933 2001-05-30 Juergen Vigna <jug@sad.it>
15935 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15936 to check pspell I add this as default as I now have new pspell
15937 libraries and they seem to use this.
15939 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15941 * text2.C (CutSelection): make the cursor valid before the call to
15944 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15946 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15947 relied on 0 terminated strings and other horrors. Bug found due to
15948 the new assert in lyxstring!
15950 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15953 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15955 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15958 * lyxfunc.C (processKeySym): change method of getting to the
15961 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15962 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15963 * BufferView_pimpl.[Ch]: here as private methods.
15965 2001-05-28 Juergen Vigna <jug@sad.it>
15967 * text.C (SetHeightOfRow): added the update() call again as it is
15968 needed to initialize inset dimensions!
15970 2001-05-16 Juergen Vigna <jug@sad.it>
15972 * text2.C (SetCharFont): Add new function with BufferView * and
15973 bool toggleall parameters for setting insets internal fonts.
15974 (SetFont): Freeze the undo as we may change fonts in Insets and
15975 all this change should be inside only one Undo!
15977 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15978 setting font's in insets as for them we have the SetFont function!
15980 2001-05-15 Juergen Vigna <jug@sad.it>
15982 * text2.C (ClearSelection): to be sure we REALLY don't have any
15985 * tabular.C (TeXCellPreamble): fixed the left border problem for
15988 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15990 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15993 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15995 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15996 LFUN_BREAKPARAGRAPH.
15998 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15999 help test to "internal only", similar for LFUN_INSERT_URL
16001 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16002 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16003 auto_region_delete and deadkeys.
16005 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16008 * LColor.C: remove some dead entries, tidy a little
16010 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16012 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16014 (Dispatch): implement LFUN_ESCAPE
16016 * commandtags.h: add LFUN_ESCAPE
16018 * LyXAction.C (init): add entry for LFUN_ESCAPE
16020 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16021 Remove commented code.
16022 (insertNote): moved here
16023 (open_new_inset): moved here
16025 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16028 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * kbmap.C (findbinding): clean it up and make it work correctly.
16032 * lyx_main.C (init): do not pass argc and argv as parameters
16034 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16036 * buffer.C: fix path for OS/2 & Win32
16040 * lyx_main.C: Added os:: class.
16042 * os2_defines.h: update
16044 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16047 better by trying again with reduced state.
16049 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16051 * lyxrc.C (read): print error about invalid key sequence only when
16052 debugging (because not all latinX keysyms are known to some X
16055 * kbsequence.C (getiso): add a few std:: qualifiers
16056 (getiso): comment out extra return statement.
16058 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16060 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16062 (Dispatch): enhance the accent inset a bit. (not perfect)
16064 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16066 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16068 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16070 * bufferlist.C (emergencyWrite): fix assert() call
16072 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16074 * text.C (InsertChar): Added trivial patch to only send the "you
16075 can not do multiple spaces this way" message once during a
16078 2001-05-08 Baruch Even <baruch@lyx.org>
16080 * Makefile.am: Changed order of libraries to get LyX to link properly
16081 with the gnome frontend.
16083 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16085 * LaTeXFeatures.h: add a std:: qualifier
16087 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * paragraph.C (String): use stringstream
16091 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16093 * paragraph.C (writeFile): remove footflag arg
16095 * buffer.C (makeLaTeXFile): use stringstream
16096 (latexParagraphs): remove footnot gurba
16098 * LaTeXFeatures.C (getPackages): use stringstream
16099 (getMacros): likewise
16100 (getTClassPreamble): likewise
16101 (getFloatDefinitions): new method
16103 * paragraph.C (writeFile): reindent
16106 * WorkArea.h: revert the xpos + etc changes.
16108 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16110 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16112 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16113 (pasteSelection): likewise
16114 * text2.C (CreateUndo): likewise
16116 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16118 * minibuffer.C (peek_event): temporarily reduce the functionality
16119 of the minibuffer (to allow args on lfuns)
16121 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16122 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16124 * buffer.C (readInset): add compability reading of old float
16125 lists, add reading of new style float list.
16126 (readInset): avoid reevaluation of inscmd.getCmdName()
16127 (getLists): reindent
16129 * MenuBackend.C (MenuItem): implement parsing of
16130 md_floatlistinsert and md_floatinsert.
16131 (expand::LastFiles): move initalizaton of iterators out of loop,
16132 avoid reevaluation.
16133 (expand::Documents): introduce typdedef vector<string> Strings,
16135 (expand::ExportFormats): introduce typedef vector<Format const *>
16136 Formats, and use it.
16137 (expand): implement FloatListInsert and FloatInsert.
16139 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16140 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16141 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16143 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16145 (Dispatch::LFUN_FLOAT_LIST): implement
16147 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16149 * LaTeX.C (run): Fix problem with --export code.
16151 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16153 * BufferView.[Ch] (workarea): removed.
16154 (getClipboard) new method; wrapper for workarea()->getClipboard()
16156 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16159 * WorkArea.h (width, height, xpos, ypos): These methods all
16160 returned the dimensions of the work_area sub-area of WorkArea,
16161 resulting in a position error if the WorkArea were resized. Now
16162 return the dimensions of the entire WorkArea.
16164 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16166 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16168 * LaTeX.C (deplog): correct the syntax of regex reg1
16170 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16172 * undo.C: remove !NEW_INSETS cruft
16174 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16176 * text2.C: remove !NEW_INSETS cruft
16178 * text.C: remove !NEW_INSETS cruft
16180 * tabular.C: remove !NEW_INSETS cruft
16182 * spellchecker.C: remove !NEW_INSETS cruft
16184 * lyxtext.h: remove !NEW_INSETS cruft
16186 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16188 * lyxfunc.C: remove !NEW_INSETS cruft
16190 * lyxfind.C: remove !NEW_INSETS cruft
16192 * lyx_cb.C: remove !NEW_INSETS cruft
16194 * figureForm.C: remove !NEW_INSETS cruft
16196 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16198 * buffer.[Ch]: remove !NEW_INSETS cruft
16200 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16202 * CutAndPaste.C: remove !NEW_INSETS cruft
16204 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16206 * BufferView2.C: remove !NEW_INSETS cruft
16208 * BufferView.h: remove !NEW_INSETS cruft
16210 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16212 * Lsstream.h: include LString.h before the sstream headers to
16213 fix problem with gcc 2.95.3 and lyxstring
16215 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16217 * lyx_main.C: add using directives when needed for C functions
16218 declared in std:: namespace.
16220 2001-04-27 Juergen Vigna <jug@sad.it>
16222 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16223 (SetHeightOfRow): comment out the update call should not be needed!
16225 2001-04-13 Juergen Vigna <jug@sad.it>
16227 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16228 (LyXTabular): tried to minimize operator= operations (and realized
16229 hopfully Lars wish).
16231 2001-04-27 Juergen Vigna <jug@sad.it>
16233 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16235 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16237 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16239 * buffer.C (readInset): hack to make listof algorithm work
16241 * BufferView_pimpl.C: hack to make listof algorithm work
16243 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16245 * LyXAction.C: removed all !NEW_INSETS cruft
16246 (init): moved lfun_item in method
16248 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16250 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16252 * BufferView2.C (theLockingInset): white space.
16254 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16256 * minibuffer.C: include <iostream>
16258 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16260 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16262 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16264 * text.[Ch] (TransposeChars): new method
16266 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16268 * call message directly through LyXView instead of through LyXFunc
16269 * BufferView2.C: adjust
16270 * BufferView_pimpl.C: adjust
16271 * FontLoader.C: adjust
16273 * bufferview_funcs.C: adjust
16274 * converter.C: adjust
16275 * figureForm.C: adjust
16276 * importer.C: adjust
16278 * lyx_gui_misc.C: adjust
16279 * lyxfunc.C: adjust
16282 + more files in subdirs
16284 * lyxparagraph.h (size): move up int file
16287 * adjust all uses of Assert to lyx::Assert.
16289 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16290 lyxfunctional in namespace lyx
16291 * layout.C (hasLayout): ditto
16294 (delete_layout): ditto
16295 (NumberOfClass): ditto
16296 * converter.C (GetFormat): ditto
16301 * bufferlist.C (getFileNames): ditto
16302 (emergencyWriteAll): ditto
16305 * MenuBackend.C (hasSubmenu): ditto
16308 * BufferView_pimpl.C (getInsetByCode): ditto
16310 2001-04-18 Juergen Vigna <jug@sad.it>
16312 * vspace.C (asLatexString): fixed the 100% problem.
16314 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16316 * lyxfunc.C (Dispatch):
16318 * minibuffer.h: add a few std:: qualifiers
16320 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16322 * minibuffer.[Ch]: reimplement so that commands is initiated and
16323 run from lyxfunc, simplified som handling, and made the completion
16324 and history code for complete. wip.
16326 * lyxfunc.C (processKeySym): call message
16327 (miniDispatch): new temporary method
16328 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16329 (LFUN_MESSAGE): implement
16330 (LFUN_MESSAGE_PUSH): implement
16331 (LFUN_MESSAGE_POP): implement
16332 (initMiniBuffer): the initial/defualt minibuffer message.
16334 * lyxfont.[Ch]: inline some more getters
16336 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16338 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16340 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16341 (AutoSave): use LFUN_MESSAGE
16342 (Reconfigure): ditto
16344 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16346 * figureForm.C: use LFUN_MESSAGE
16348 * converter.C (runLaTeX): use LFUN_MESSAGE
16350 * bufferview_funcs.C: use LFUN_MESSAGE
16352 (changeDepth): ditto
16354 * bufferparams.h: use boost::
16356 * bufferlist.h: inherit privately from noncopyable
16358 * bufferlist.C (loadLyXFile): remove some commented code.
16360 * buffer.C (runChktex): use LFUN_MESSAGE
16362 * ShareContainer.h: inherit privately from noncopyable
16364 * ParagraphParameters.[hC] (depth): inline it.
16366 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16368 (message): new method
16369 (messagePush): ditto
16370 (messagePop): ditto
16371 (show): init minibuffer
16372 (showState): direct call
16374 * LaTeX.[Ch]: inherit privately from noncopyable
16375 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16376 instead of WriteStatus.
16378 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16380 * BufferView_pimpl.C (buffer): don't init minibuffer
16381 (workAreaButtonPress): use LFUN_MESSAGE
16382 (workAreaButtonRelease): ditto
16383 (savePosition): ditto
16384 (restorePosition): ditto
16385 (MenuInsertLyXFile): ditto
16386 (workAreaExpose): don't init minibuffer
16387 (update): remove commented code, simplify
16389 * BufferView2.C (openStuff): use LFUN_MESSAGE
16390 (toggleFloat): ditto
16393 (copyEnvironment): ditto
16394 (pasteEnvironment): ditto
16399 (updateInset): remove some commented code
16401 * lastfiles.h: inherit privately from noncopyable
16404 * lyx_main.h: ditto
16406 * lyxlex_pimpl.h: ditto
16408 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16409 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16410 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16412 * LyXAction.h: inherit privately from noncopyable, add methods
16413 func_begin, func_end, returning iterators to the func map.
16415 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16416 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16417 (func_begin): new method
16418 (func_end): new method
16420 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16422 (copySelection): ditto
16423 (pasteSelection): ditto
16425 * BufferView.C: whitespace change
16426 * BufferView.h: inherit privately from noncopyable
16428 2001-04-16 Allan Rae <rae@lyx.org>
16430 * tabular-old.C (l_getline):
16431 * spellchecker.C (sc_check_word):
16432 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16433 an unrecognised preprocessor directive. So ensure they're wrapped.
16435 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16437 * src/exporter.C (Export): Give an error message when path to file
16440 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16442 * LaTeX.C (deplog): Always check that foundfile exists.
16444 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16447 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16449 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16451 * tabular.[Ch] (getLabelList): implement new method
16453 * minibuffer.h: comment ouf setTiimer
16455 * minibuffer.C (ExecutingCB): constify res
16456 (peek_event): constify s
16457 (Set): constify ntext
16458 (Init): constify nicename
16460 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16462 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16463 (savePosition): use two params to Minibuffer::Set
16464 (restorePosition): ditto
16466 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16468 * lyx_main.C: include language.h
16470 * Makefile.am (lyx_main.o): add language.h
16472 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16478 * CutAndPaste.C: include gettext.h
16480 * lyxfont.h: remove old hack with ON and OFF.
16483 * lyxfont.h: do not include language.h...
16488 * bufferview_funcs.C:
16494 * paragraph.C: ... but do it here instead
16496 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16498 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16500 * tabular.C: small reformat
16502 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16505 (BreakParagraph): ditto
16506 (SetOnlyLayout): ditto
16509 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16512 * lastfiles.C: removed most using decl, add std:: where needed
16514 * buffer.C: ws changes
16516 * MenuBackend.C (class compare_format): put into anon namespace
16517 (expand): constify label, names, action, action2
16520 * text.C (SingleWidth): constify font
16521 (IsBoundary): constify rtl2
16522 (GetVisibleRow): constify ww
16524 * LaTeX.C (deplog): constify logfile
16526 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16528 (workAreaExpose): constify widthChange, heightChange
16530 * lyxrow.C (par): moved
16533 * lyxrow.h: as inlines here
16535 * lyxfont.h (shape): moved from lyxfont.C
16536 (emph): moved from lyxfont.C
16538 * lyxfont.C (LyXFont): use initialization list for all
16540 (shape): move to lyxfont.h as inline
16541 (emph): move to lyxfont.h as inline
16544 2001-04-04 Juergen Vigna <jug@sad.it>
16546 * vspace.C: had to include stdio.h for use of sscanf
16548 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16551 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16552 independent of xforms.
16554 2001-04-02 Juergen Vigna <jug@sad.it>
16556 * spellchecker.C: fixed namespace placing!
16558 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16560 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16561 the LyXParagraph * is 0.
16563 2001-03-29 Juergen Vigna <jug@sad.it>
16565 * vspace.C: added support for %, c%, p%, l%.
16566 (stringFromUnit): added helper function.
16567 (asLatexString): changed to give right results for the %-values.
16569 * buffer.C: convert the widthp in a width%.
16571 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16573 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16576 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16577 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16579 * lyx_cb.[Ch]: see above.
16581 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16585 * lyx.[Ch]: replaced by figure_form.[Ch].
16589 * lyxfunc.C: changed headers associated with above changes.
16591 2001-03-27 Juergen Vigna <jug@sad.it>
16593 * BufferView_pimpl.C: set the temporary cursor right!
16595 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16597 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16599 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16601 * LString.h: removed "using std::getline"!
16603 * BufferView_pimpl.C (Dispatch): changes due to changes in
16604 InsetInclude::Params.
16606 * buffer.C (tag_name): removed redundant break statements as they were
16607 producing lots of warnings with my compiler.
16609 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16611 * LString.h: add "using std::getline" when using the real <string>.
16613 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16615 * buffer.C: removed bitset usage.
16616 PAR_TAG moved to an anonymous name space.
16617 (tag_name): new funtion, also in the anonymous namespace.
16618 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16619 (makeDocBookFile): clean code. Completed transition from string arrays
16621 (SimpleDocBookOnePar): code clean.
16623 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16625 * tabular.C: add some comments.
16627 2001-03-22 Juergen Vigna <jug@sad.it>
16629 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16630 compatibility read a bit and fixed bug with minipage in different
16633 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16635 * buffer.C (pop_tag): removed.
16636 (push_tag): removed.
16637 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16638 array replaced with vector. Added support for CDATA sections.
16639 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16641 (makeDocBookFile): XML conformant declaration of CDATA section,
16642 fixed bug related to <emphasis> in the first paragraph char.
16643 (sgmlOpenTag): exclude empty tags.
16644 (sgmlCloseTag): ditto.
16646 * buffer.h (pop_tag): removed.
16647 (push_tag): removed.
16649 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16651 * language.h (Languages): added size_type and size().
16653 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16655 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16656 response on compability reading of minipages. One probliem is that
16657 the old usage of minipages was «flertydig»
16659 * several files here and in subdirs: don't use static at file
16660 scope use anon namespaces instead.
16662 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16664 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16665 LaTeX output. This is necessary for Literate document
16668 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16670 * buffer.C: insert hfill when needed.
16672 * tabular.C (l_getline): use string::erase, small whitespace change.
16674 * BufferView_pimpl.C: try the anon namespace.
16675 * WorkArea.C: ditto
16677 2001-03-16 Juergen Vigna <jug@sad.it>
16679 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16680 otherwise it won't open options-dialogs.
16682 * buffer.C: honor pextraWidth(p) on converting minipages.
16684 * tabular.C (l_getline): changed the functions to strip trailing \r.
16686 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16688 * BufferView_pimpl.C:
16689 * minibuffer..C: added "using SigC::slot" declaration.
16691 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16693 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16699 * paragraph.C: ditto
16701 * lyxtext.h: NO_PEXTRA
16703 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16705 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16706 * ParameterStruct.h: ditto
16707 * ParagraphParameters.h: ditto
16708 * lyxparagraph.h: ditto
16710 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16712 * buffer.C: add compability for minipage alignment.
16713 (latexParagraphs): remove unwanted pextra check.
16715 * several files: remove CXX_WORKING_NAMESPACES
16717 * buffer.C (pop_tag): tie is in namespace boost
16719 * BufferView.h: noncopyable is in namespace boost
16721 * lyx_main.h: ditto
16724 * lastfiles.h: ditto
16725 * bufferlist.h: ditto
16726 * ShareContainer.h: ditto
16728 * LyXAction.h: ditto
16731 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16733 * Merging changes from BRANCH_MVC back into HEAD.
16735 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16737 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16739 * BufferView_pimpl.C: change from intl.C
16743 * Makefile.am: move combox.*
16749 * intl.C: remove dialog (covered by prefs)
16751 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16753 * lyxfunc.C (Dispatch): removed redundant break statement.
16755 2001-03-14 Juergen Vigna <jug@sad.it>
16757 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16759 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16761 * buffer.C: add hack to fix compability reading of minipages.
16763 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16765 * buffer.C (getLists): Cleanup.
16767 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16769 * lyxfont.C (update): don't honor toggleall on font size.
16771 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16775 * Makefile.am: moved to frontends/xforms/
16779 * BufferView_pimpl.C: changes for moved mathpanel
16781 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16783 * gettext.h: fix gettext_init() in --disable-nls
16785 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16787 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16789 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16792 * lyx.h: strip external form
16794 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16796 * BufferView_pimpl.C: add comment, destroySplash()
16798 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16800 * BufferView_pimpl.C:
16804 * lyxfunc.C: use re-worked insetinclude
16806 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16808 * buffer.C: add using std::stringstream.
16810 * lyx_cb.C: readd using std::ios.
16812 * buffer.C: add using std::map.
16814 * BufferView_pimpl.C: add using std::vector.
16816 * ShareContainer.h: add std:: to swap.
16818 * buffer.h: add some typedefs
16819 * buffer.C (getLists): use them
16820 (getLists): renamed from getTocList.
16821 add a counter for the different float types and use it in the
16823 (getLists): use the same counter for the NEW_INSETS and the "non"
16826 * lyx_cb.h: remove unused items, includes, using etc.
16828 * ShareContainer.h: remove some commented code, add more comments
16829 and "documentation".
16831 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16833 * buffer.C (getTocList): make the list also when NEW_INSETS is
16836 * buffer.h: remove TocType
16838 * buffer.C (getTocList): change to return a map<string,
16839 vector<TocItem> >, implement for dynamic number of list.
16841 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16842 * text2.C (PasteSelection): adjust
16843 * CutAndPaste.C (pasteSelection): adjust
16845 * FloatList.C (FloatList): update from the new_insets branch.
16846 * Floating.[Ch]: ditto
16847 * LaTeXFeatures.C: ditto
16849 * lyxlex_pimpl.C: ditto
16851 * paragraph.C (Last): remove when NEW_INSETS is defined.
16853 * other file: changes because of the above.
16855 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16857 * lyxparagraph.h: rename next to next_, previous to previous_,
16858 make them private for NEW_INSETS. Rename Next() to next(),
16859 Previous() to previous().
16861 * other files: changes because of the above.
16863 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16866 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16869 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16871 * main.C (main): pass lyx_localedir to gettext_init().
16873 * gettext.h: remove locale_init and gettext_init macros
16875 * gettext.C (locale_init): new function
16876 (gettext_init): new function
16878 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16881 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16883 * Moved credits to frontends:
16884 * credits.[Ch]: removed
16885 * credits_form.[Ch]: removed
16886 * lyx_gui_misc.C: remove credits stuff
16889 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16891 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16893 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16894 unneeded destructor.
16896 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16897 a standalone pointer again.
16899 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16901 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16907 * ToolbarDefaults.C:
16916 * BufferView_pimpl.C: use new file dialog in GUII
16919 * lyx_cb.C: remove LayoutsCB to Toolbar
16921 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16923 * ShareContainer.h (get): add std:: qualifier
16925 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16927 * ShareContainer.h: define a proper ShareContainer::value_type
16928 type (and use typename to please compaq cxx)
16930 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16932 * lyxparagraph.h: move serveral local vars to
16933 ParameterStruct/ParagraphParameters., use ShareContainer in
16934 FontTable., make vars in FontTable private and add getter and
16937 * paragraph.C: changes because of the above.
16939 * lyxfont.h: remove copy constructor and copy assignment. (the
16940 default ones is ok), move number inside FontBits. move inlines to
16943 * lyxfont.C: add number to initializaton of statics, move several
16944 inlines here. constify several local vars. some whitespace
16945 cleanup. Dont hide outerscope variables.
16947 * Spacing.h: add two new constructors to match the set methods.
16949 * ShareContainer.h: new file, will perhaps be moved to support
16951 * ParameterStruct.h: new file
16953 * ParagraphParameters.h: new file
16955 * ParagraphParameters.C: new file
16957 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16958 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16960 * BufferView_pimpl.C: ParagraphParameter changes.
16961 * buffer.C: Likewise.
16962 * bufferview_funcs.C: Likewise.
16963 * text.C: Likewise.
16964 * text2.C: Likewise.
16966 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16968 * lyxfind.C (LyXReplace): do not redefine default argument in
16970 (IsStringInText): ditto
16971 (SearchForward): ditto
16972 (SearchBackward): ditto
16974 2001-03-06 Juergen Vigna <jug@sad.it>
16976 * lyxfind.C (IsStringInText): put parentes around expressions.
16978 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16980 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16982 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16984 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16986 * stl_string_fwd.h: add comment
16988 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16991 * tabular.C: remove unused DocBook methods
16997 killed DO_USE_DEFAULT_LANGUAGE
16999 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17001 * lyx_gui.C: do not include language.h.
17003 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17004 arguments in function implementation.
17006 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17008 * BufferView_pimpl.C: add <ctime>
17010 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17012 * BufferView_pimpl.C: add using std::find_if
17014 2001-02-27 José Matos <jamatos@fep.up.pt>
17016 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17019 2001-02-11 José Matos <jamatos@fep.up.pt>
17021 * buffer.C (makeDocBookFile): command styles now have a parameter as
17022 "title" by default.
17024 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17026 * layout_forms.[Ch]: removed
17027 * lyx_cb.[Ch]: out character
17028 * lyx_gui.C: out character
17029 * lyx_gui_misc.C: out character
17030 * bufferview_funcs.C: : out character,
17031 added toggleall as parameter in ToggleAndShow
17033 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17035 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17037 * text2.C (SetCurrentFont): Disable number property at boundary.
17039 2001-02-26 Juergen Vigna <jug@sad.it>
17041 * lyxfunc.C (getStatus): added a string argument override function so
17042 that this is correctly called from LyXFunc::Dispatch if it contains a
17043 do_not_use_argument which is used!
17044 (Dispatch): added check for "custom" export and call appropriate func.
17046 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17048 * lyxrc.C: Add language_command_local, language_use_babel and
17049 language_global_options.
17051 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17053 * buffer.C (makeLaTeXFile): Use language_use_babel and
17054 language_global_options.
17056 2001-02-23 Juergen Vigna <jug@sad.it>
17058 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17059 which works with LyXText and putted it inside BufferView. Here now we
17060 only call for that part the BufferView::Dispatch() function.
17062 * BufferView.C (Dispatch): added.
17064 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17065 functions which needs to use a LyXText over from LyXFunc.
17066 (MenuInsertLyXFile): added
17067 (getInsetByCode): added
17068 (moveCursorUpdate): added
17069 (static TEXT): added
17071 2001-02-22 Juergen Vigna <jug@sad.it>
17073 * BufferView_pimpl.C (update): call a status update to see if LyXText
17076 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17078 * vc-backend.C (revert): implement for CVS
17079 (getLog): implement for CVS
17081 2001-02-20 Juergen Vigna <jug@sad.it>
17083 * text2.C (ClearSelection): added BufferView param for inset_owner call
17085 * lyxfunc.C (TEXT): added this function and use it instead of
17086 directly owner->view()-text of getLyXText().
17088 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17090 * src/layout_forms.C: out preamble
17091 * src/layout_forms.h: out preamble
17092 * src/lyx_cb.C: out preamble
17093 * src/lyx_cb.h: out preamble
17094 * src/lyx_gui.C: out preamble
17095 * src/lyx_gui_misc.C: out preamble
17096 * src/lyxfunc.C: connect with guii preamble
17098 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17100 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17102 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17104 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17105 whether to run bibtex.
17107 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17109 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17111 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17113 * Makefile.am (lyx_SOURCES): removed bibforms.h
17115 * vspace.h: doxygen
17117 * text.C (GetVisibleRow): make several local vars const
17119 * tabular.C: small cleanup.
17121 * lyxserver.C (callback): use compare instead of strncmp
17123 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17124 inlines to after class or to paragraph.C
17126 * lyxfont.h: remove friend operator!=
17128 * converter.h: move friend bool operator< to non friend and after
17131 * combox.h: small cleanup
17133 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17134 to inlines after class def.
17136 * buffer.C (pop_tag): use string operations instead of strcmp
17138 * bmtable.c: doxygen, small cleanup
17140 * LaTeX.h: remove friend operator==
17142 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17154 * BufferView_pimpl.C:
17155 * BufferView.[Ch]: remove cruft
17157 2001-02-14 Juergen Vigna <jug@sad.it>
17159 * lyxfunc.C: removed #if 0 unused code
17161 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17163 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17165 * text2.C (SetSelection): added a BufferView * parameter
17167 2001-02-13 Juergen Vigna <jug@sad.it>
17169 * lyxfunc.C (Dispatch): fixed protected blank problem.
17170 * BufferView2.C (protectedBlank): added LyxText * parameter.
17172 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17173 (AppendColumn): same as above for column_info.
17175 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17176 (moveCursorUpdate): use a LyXText param for support of InsetText.
17178 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17179 (tripleClick): ditto
17181 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17183 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17185 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17187 * text2.C (SetSelection): set correct update status if inset_owner
17188 (ToggleFree): ditto
17190 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17192 * tabular.C: remove some commented code.
17194 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17196 * BufferView_pimpl.C: call hideSplash()
17198 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17201 * bibforms.h: remove
17204 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17205 add LFUN_CHILD_CREATE
17207 * counters.h: fix tiny typo
17212 * lyx.C: move splash to frontends/xforms/
17214 * lyx_gui_misc.C: move Include and Bibform to frontends
17216 * lyxvc.h: clarify comment
17218 * vspace.C: tiny housekeeping
17220 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17222 * text.C (PrepareToPrint): RTL Fix.
17224 * paragraph.C (GetUChar): New method.
17225 (String): Use GetUChar.
17227 * buffer.C (asciiParagraph): Use GetUChar.
17229 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17231 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17233 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17236 * buffer.C: rename to getLogName(), handle
17237 build log / latex log nicely
17239 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17242 * MenuBackend.h: remove support for reference menuitem type.
17244 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17246 * BufferView_pimpl.C: housekeeping
17247 * BufferView_pimpl.h:
17252 * minibuffer.h: move Timeout GUI-I
17254 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17256 * lyxrc.C (read): Update converters data-structures.
17258 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17260 * LaTeX.h (operator!=): add operator != for Aux_Info
17262 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17264 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17266 * LaTeXLog.C: deleted, useful code moved to Buffer
17269 * buffer.C: new function getLatexLogName()
17275 * lyxfunc.C: use frontends for LaTeX and VC logs
17277 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17279 * LaTeX.h: yet another std:: that Allan forgot.
17281 * Variables.C (set): renamed from isset(), because this clashes
17282 with some HP-UX macros (grr).
17284 2001-02-06 Allan Rae <rae@lyx.org>
17286 * LaTeX.h: Another bug fix. Missing std:: this time.
17288 2001-02-04 Allan Rae <rae@lyx.org>
17290 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17291 floats problem. I've left it commented out because it's not quite
17292 correct. It should also test that the current object is a table or
17293 figure inset. But I haven't gotten around to figuring out how to do
17294 that. I *think* it'll be something like: "table" == inset.type()
17296 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17299 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17301 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17302 all the citation/databases/styles in the auxilary file.
17303 (run): Rerun latex if there was a babel language error.
17305 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17307 * text.C (Backspace): Preserve the font when changing newline char
17309 (BreakParagraph): If the cursor is before a space, delete the space.
17311 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17313 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17315 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17316 new argument (code).
17317 (ChangeCitationsIfUnique): New method.
17319 * paragraph.C (GetPositionOfInset): Handle bibkey.
17321 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17323 * BufferView_pimpl.h: change type of Position::par_pos to
17324 LyXParagraph::size_type.
17326 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17328 * BufferView_pimpl.C (savePosition, restorePosition): Write
17329 messages to minibuffer.
17331 2001-01-28 José Matos <jamatos@fep.up.pt>
17333 * buffer.C (makeDocBookFile): adds support for document language.
17334 A silly restriction on the name of LatexCommand types where removed.
17335 Added support for CDATA sections, allows to chars unescaped, used
17336 among others in code, to avoid escape < and >.
17338 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17340 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17341 saved positions instrad of a stack. Furthermore, a position is
17342 stored using paragraph id/paragraph position.
17344 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17345 Remove LFUN_REF_BACK.
17347 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17349 * converter.C (dvipdfm_options): New method.
17351 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17353 * vspace.C (isValidLength): Fix for empty input string.
17355 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17357 * LyXAction.C (init): change description of LFUN_FIGURE to
17360 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17362 * LaTeX.C: add using directive
17364 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17366 * MenuBackend.C (expand): Fix the sorting of the formats.
17368 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17370 * lyx_main.C: tiny error message fix
17372 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17374 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17375 calling fl_initialize(). This fixes the problem with ',' as
17376 decimal separator in text files.
17378 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17380 * trans.C (process): Fix the keymap bug.
17382 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17384 * LaTeX.C (scanAuxFiles): New method. Provides support for
17385 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17386 (scanLogFile) Scan for "run BibTeX" messages.
17388 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17389 OT1 font encoding. Also, load the aecompl package if the ae
17392 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17394 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17396 * texrow.C (increasePos): turn two error messages into debug
17399 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17401 * LaTeX.C (scanAux): Handle the \@input macro.
17402 (runBibTeX): Use scanAux().
17404 * language.C (latex_options_): New field.
17406 * LaTeXFeatures.C (getMacros): Add language macros.
17408 * buffer.C (makeLaTeXFile): Small fix.
17410 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17412 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17414 * text2.C: add a using directive.
17416 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17421 * lyxfunc.C: kill LyXBell.
17423 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17425 * text.C (IsBoundary): Remove the error message
17427 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17429 * lyxrc.C (setDefaults): Correct initialization value for
17432 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17434 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17437 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17438 and GotoNextNote().
17440 * src/LyXAction.C: Added reference-next.
17442 * text.C (InsertChar): Use contains instead of strchr.
17444 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17446 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17448 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17449 alignment commands (when needed).
17451 * text.C (InsertChar): Add ':' to number separator chars.