1 2005-04-17 Angus Leeming <leeming@lyx.org>
3 * buffer.C (makeLaTeXFile): replace code to manipulate a path
4 containing space and '~' characters with a call to latex_path().
6 2005-04-17 Angus Leeming <leeming@lyx.org>
8 * converter.C (convert): protect all args of convertDefault.sh
11 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * text3.C (dispatch): change the layout to "Caption" after inserting
16 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
18 * text3.C (dispatch): fix language problem in newly created
19 textinsets (and main text) in non-english docs
21 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
24 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
25 * text3.C (getStatus): disable LFUN_INSET_MODIFY
27 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
32 * rowpainter.C (getFont): Fix metrics bug introduced by inset
35 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
37 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
38 output of \item arguments without trailing text.
40 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * FontIterator.C (operator*): avoid a copy of the font.
44 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
46 * rowpainter.C (getFont): fix language bug from previous fix
48 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
50 * rowpainter.C (RowPainter, getFont): fix font inside inset
53 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
55 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
56 preventing inserted font, deco, delim insets jumping to start of
59 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * lyxfunc.C (dispatch): translate message before sending it to the
64 2005-03-29 Angus Leeming <leeming@lyx.org>
66 * lyx_main.C (priv_exec): call os::internal_path on each file passed
67 to LyX on the command line.
69 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
71 * vc-backend.C: use QuoteName to protect file names wherever
74 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
77 * BranchList.h: fix bugs 1844,1845: document settings don't
80 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * lyxrc.C (setDefaults, read, output, getDescription): add support
83 for tex_allows_spaces.
85 * exporter.C (Export): allows files in directory containing spaces
86 if tex_allows_spaces is true.
88 * buffer.C (makeLaTeXFile): if the document path contains spaces,
89 output it in double quotes.
91 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * rowpainter.C: use default text height for drawing change tracker
96 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
98 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
100 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
103 directory is missing.
105 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
107 * text2.C: fixed the fix, extended to other case.
109 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
111 * text2.C: fix for cursor up/down stuck in math [bug 1792]
113 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
115 * text2.C (cursorUp): get rid of a crash
116 * text.C (x2pos): add an assert
118 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * lyxfunc.C (getStatus): fix warning when assertions are disabled
124 * dociterator.C: include <boost/current_function.hpp>, which is
125 needed when assertions are disabled.
127 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
129 * text2.C: fix for stuck cursor when traversing two
130 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
132 2005-02-25 Andreas Vox <avox@arcor.de>
134 * output_docbook.C (makeParagraph): suppress trailing newline
135 after a run of paragraphs
137 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
139 * paragraph.C: fix for confused change tracker when pasting
140 text that begins with a lineseparator. [bug 1827]
141 (setChange(0, Change::INSERTED);)
143 * paragraph_funcs.C: fix for lost changes on triple-paste
144 in change tracking mode [bug 1827] (par.setChange()).
146 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * text2.C (updateCounters, setCounter, expandLabel): move to
151 * buffer_funcs.C (updateCounters): turn into a free standing
152 function and add a buffer parameter. Remove dead code for tracking
154 (setCounter): change into a free-standing function which gets a
155 dociterator as argument. Use this iterator to fix captions in a
156 simple way. When no float is found above the caption, use the
157 labelstring of the caption layout as default.
159 * text.C (breakParagraph, backspace):
160 * text2.C (init, setLayout, changeDepth):
161 * text3.C (dispatch):
162 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
165 * dociterator.C (forwardPar): make it much faster by calling
166 forwardPos() only when really necessary.
168 * output_docbook.C (makeCommand): adapt to expandLabel move.
170 * cursor.C: remove unused variable
172 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
174 * paragraph_funcs.C: fix crash when pasting insets in change
175 tracking mode [bug 1277] (honour change type in moveItem).
177 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
181 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * BufferView.C (setCursor): change to use a DocIterator.
184 (gotoLabel): use BufferView::setCursor (other part of bug 781).
185 (putSelectionAt): adapt to BufferView::setCursor change.
187 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
188 moved here from LyXText and rewritten to use proper cursor
189 methods. Fixes bug 1787, 616 and 835.
191 * BufferView_pimpl.C (restorePosition): set the cursor correctly
192 when inside an inset (part of bug 781).
193 (dispatch): adapt to change of BufferView::setCursor.
194 (getStatus, dispatch): handle LFUN_GOTOERROR,
195 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
197 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
198 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
199 * text3.C (gotoNextInset, gotoInset): removed.
201 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
205 2005-02-15 Angus Leeming <leeming@lyx.org>
207 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
208 can be used meaningfully in a comparison.
210 2005-02-13 André Pönitz <poenitz@gmx.net>
212 * bufferview_funcs.C (coordOffset): improve cursor drawing
214 2005-02-13 André Pönitz <poenitz@gmx.net>
216 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
217 * Cursor.C (dispatch): use fixIfBroken
218 * lyxfunc.C (getStatus): use fixIfBroken
220 2005-02-15 Angus Leeming <leeming@lyx.org>
222 * lyx_main.C (error_handler):
224 * lyxrc.C (setDefaults):
226 #include "environment.h".
228 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
230 2005-02-15 Angus Leeming <leeming@lyx.org>
232 * lyxserver.C (startPipe): squash MSVC warning "local variable
233 'fd' used without having been initialized".
235 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * BufferView_pimpl.C: revert accidental commit.
239 2005-02-14 André Pönitz <poenitz@gmx.net>
241 * dociterator.[Ch]: new member forwardPosNoDescent(),
242 which doesn't enter nested insets.
243 * text2.C (setFont): use forwardPosNoDescent() instead
244 of ForwardPos() (fixes crash on font change).
246 2005-02-13 Angus Leeming <leeming@lyx.org>
248 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
249 only if lyxrc.path_prefix is not empty.
251 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
253 * bufferparams.C (readGraphicsDriver): prevent crash
255 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * text2.C (setCounter): check for inInset() == 0
259 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
262 but use update() to get correct screen display; use convert
263 instead of istringstream.
264 (getStatus): handle LFUN_GOTO_PARAGRAPH
266 * lyxfunc.C (dispatch, getStatus): do not handle
267 LFUN_GOTO_PARAGRAPH here.
269 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
271 * text3.C (dispatch): size() -> depth()
273 * text2.C: remove some debug output
275 * paragraph.C: ws changes only
277 * lyxfunc.C (getStatus): size() -> depth()
279 * dociterator.h (clear, push_back, pop_back, internalData,
280 operator[], resize, empty): new functions
281 Make StableDocIterator and operator== be friends. Don't inherit
282 from std::vector use a privat class variable slices_ instead.
285 * dociterator.C: update because of not inheriting from std::vector
286 anymore. Call explictly to slices_ instead. Use depth() instead of
287 size() and top() instead of back()
289 * cursor.C: chagne size() -> depth and back() -> top(). Also
290 remove some direct operator[](i) calls in favour of foo[i]
291 (getFont): remove some dead code
293 * bufferview_funcs.C (coordOffset): size() -> depth()
295 * buffer.C: ws changes only
297 * CutAndPaste.C (eraseSelection): back() -> top()
299 * BufferView_pimpl.C (selectionRequested): back() -> top()
301 * BufferView.C (setCursor): size() -> depth()
303 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
305 * text3.C (cursorPrevious): return true if depm changed something
307 (dispatch): rename sl to oldTopSlice, remove moving use the new
308 NoUpdate func attrib instead. Make sure that needsUpdate is set
309 for function that have NoUpdate, but where depm might have changed
312 * text2.C (cursorLeft): make us return true if depm changed
315 (cursorUpParagraph): ditto
316 (curosrDownParagraph): ditto
317 (cursorUp, cursorDown): ditto, make sure to read comments in code
318 (deleteEmptyParagraphMechanism): remove an assert, also return
319 true if just a single char was deleted.
321 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
322 cursor that we modify, to avoid modifying an active cursor before
323 we call setCursor. This allows depm to run. Also return true if
324 depm deleted something.
326 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
327 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
328 cursorDownParagraph, cursorPrevious and cursorNext, return true if
329 something was changed in the buffer because of them (ie. depm run)
331 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
332 debug messages. Make update by default be false. Make sure that
333 the result of update is retained throught several calls down to
336 * LyXAction.h: add a new func_attrib: NoUpdate
338 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
339 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
340 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
342 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
344 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
347 bv_->owner(), bv_->buffer() by direct references to the private
349 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
350 (getStatus): isSavedPosition() is in BufferView::Pimpl.
351 (fitCursor): center() is in BufferView::Pimpl.
352 (getStatus, trackChanges, dispatch): no need for a temporary buf
354 (fitCursor, workAreaDispatch): use workarea().workheight()
356 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
358 * CutAndPaste.C (pasteSelectionHelper): fix a crash
360 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
362 * buffer.C: format up to 241.
363 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
364 break if pasting into ERT
365 * lyxfunc.C (getStatus): suppress mathpanel and
366 LFUN_DIALOG_SHOW_NEW_INSET in ERT
368 2005-02-01 Angus Leeming <leeming@lyx.org>
370 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
372 2005-02-01 Angus Leeming <leeming@lyx.org>
374 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
375 calling fs::is_directory().
377 2005-01-31 Angus Leeming <leeming@lyx.org>
379 * lyx_main.C (priv_exec): specify explicitly the relative location
380 of the top level build directory when run in-place.
382 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
385 LyXText containing the cursor, not the top-level one.
387 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
389 (insertStringAsLines): rename par to pit; use temporary variable
390 par to hold a Paragraph; do not store par.layout() in a variable,
391 since the pointer may die when breaking paragraphs; pass pars to
392 breakParagraph() instead of Buffer::paragraphs().
394 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
396 * lyxlex_pimpl.h: #include <fstream>.
398 * BufferView.[Ch] (getLyXText): add a const version.
400 * BufferView_pimpl.C: add debug aids.
405 * paragraph_funcs.h: add commentary explaining what the class does.
408 * coordcache.[Ch]: add lots of commentary.
409 (startUpdating, doneUpdating): debug aids.
410 (arrays, insets, parPos, getParPos): accessors to private data.
412 * cursor_slice.[Ch] (text): add a const version.
413 * dociterator.[Ch] (text, innerText): add const versions.
415 * lyxtext.h (breakParagraph): change the keep_layout arg to a
418 * paragraph.C (getRow, pos2ros): add asserts.
420 * paragraph.h: add commentary. Lots of.
422 * paragraph.[Ch] (metrucs, draw): removed.
425 * rowpainter.[Ch]: const-correct changes.
427 * text.C: various obvious clean-ups. Removal of ancient cruft.
430 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
432 * vc-backend.C (find_file): rewrite to use boost.filesystem
435 * main.C (main): set default name check for boost.filesystem to
438 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
441 (actOnUpdatedPrefs): ditto
443 * lyx_main.C (init): rewrite to use boost.filesystem
444 (queryUserLyXDir): ditto
446 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
447 (getContentsOfAsciiFile): ditto
449 * lastfiles.C (readFile): rewrite to use boost.filesystem
451 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
453 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
456 * buffer.C (Buffer): adjust for destroydir
457 (getLogName): rewrite to use boost.filesystem
459 (save): use fs::copy_file (from fs_extras)
461 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
463 * LaTeX.C (run): rewrite to use boost.filesystem
464 (scanAuxFiles): ditto
465 (handleFoundFile): ditto
467 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
469 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
471 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
473 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
475 * lyxlayout.[Ch]: change some vars from float to double
477 * buffer.C (readFile): make a local var const
479 * Several files: use convert<> instead of atoi,strToXXX and friends
481 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
483 * LaTeXFeatures.[Ch]: Add a static list packages_ that
484 holds the contents of packages.lst. New functions getAvailable
485 and isAvailable to parse and check that list, resp.
489 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
491 * bufferparams.[Ch]: new param output_changes.
493 * Buffer.C: increase file format to 240.
494 Use output_changes and isVailable.
498 * paragraph_pimpl.C: Use output_changes and isVailable.
500 2005-01-23 Angus Leeming <leeming@lyx.org>
502 * output_latex.C: #include "insetbibitem.h", rather than
503 forward declare function bibitemWidest.
505 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
507 * lyx_main.C (init): make it compile on the Mac.
509 2005-01-20 Angus Leeming <leeming@lyx.org>
511 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
512 (setLyXMisc): (char string literal) != (char string literal) is
513 performing a comparison on the addresses. Convert one operand
514 explicitly to string to guarantee expected behaviour.
517 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
520 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
522 * output_plaintext.C: remove unneeded #include gzstream.h.
524 2005-01-20 Angus Leeming <leeming@lyx.org>
526 * SpellBase.h: rename some of the elements of the Result enum.
533 * pspell.C (check): ditto
535 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
537 * buffer.C: add #include <fstream>.
539 * lyx_main.C (init): Compile fix.
541 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
543 2005-01-20 Angus Leeming <leeming@lyx.org>
545 * mover.h: change commentary to reflect the changed meaning of
548 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * output_linuxdoc.C (linuxdocParagraphs): silence warning
552 * lyxfind.C (MatchString::operator()): remove bogus semicolon
554 2005-01-20 Angus Leeming <leeming@lyx.org>
556 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
557 printing diagnostic data by not dereferecing an iterator past the
560 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
562 * buffer.C (readHeader): use "&&" rather than "and".
564 * lyxserver.h (inPipeName, outPipeName): make these const.
566 2005-01-19 Angus Leeming <leeming@lyx.org>
568 * lyx_main.C (error_handler, init): protect SIGHUP with
569 #ifdef SIGHUP guards.
571 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
573 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
575 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * text.C (setHeightOfRow): add a margin at the top and bottom of
578 the document (bug 1761)
580 2005-01-17 Angus Leeming <leeming@lyx.org>
582 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
583 with "python ". Workaround for a brain-dead Windows.
585 2005-01-16 Angus Leeming <leeming@lyx.org>
587 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
588 for MacOSX and Windows to use prependEnvPath.
589 Strip out the hard-coded block to add elements to the PATH for
590 MacOSX and replace it with a call to prependEnvPath using the
591 contents of LyXRC::path_prefix.
592 (queryUserLyXDir): strip out the code to run reconfigure, instead
593 returning a boolean indicating the necessity to do so.
594 (reconfigureUserLyXDir): contains the code to reconfigure the
595 user support directory. Is now called after the various LyXRC data
596 files have been read.
598 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
600 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
602 * converter.[Ch] (convert): take a new parameter try_default. Use
603 a default converter (imagemagick) if try_default is true.
605 2005-01-13 Angus Leeming <leeming@lyx.org>
607 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
609 (write): output LyXRC::cygwin_path_fix as necessary.
611 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
614 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
616 2005-01-12 Angus Leeming <leeming@lyx.org>
618 * lyx_main.C (init): set the PATH variable to include the
619 directory containing the LyX binary when running on Mac or Windows.
621 2005-01-12 Angus Leeming <leeming@lyx.org>
623 * lyx_main.C (init): remove cruft that purports to set the locale
624 dir. It doesn't and is not needed anyway.
626 2005-01-10 Angus Leeming <leeming@lyx.org>
628 * Makefile.am: remove the lyx_main.C special casing.
630 * BufferView_pimpl.C:
636 * messages.C: use support/package.h to provide the paths to the
637 various directories used by LyX.
639 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
641 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
642 layout if pasting into an empty paragraph)
644 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
646 * tex-accent.C: add <string>
648 2005-01-06 José Matos <jamatos@lyx.org>
650 * ParagraphParameters.C (write): put every parameter in its own line.
651 * paragraph.C (write): reduce number of consecutive empty lines exported.
652 * buffer.C (LYX_FORMAT): increase file format to 239.
654 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * everywhere: change support/tostr.h -> support/convert.h
658 * tabular.C: make all write_attributes templates, tostr -> convert
660 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
661 (emptyTag): and -> &&, and fix type for ret from getChar
662 (getFirstWord): fix type for ret from getChar
663 (onlyText): and -> &&
664 (simpleDocBookOnePar): and not -> && !, fix type for ret from
667 * toc.C (goTo, action):
668 * text3.C (dispatch):
669 * text.C (currentState):
670 * tex-accent.C (DoAccent):
673 * lyxfunc.C (menuNew):
674 * lyxfinc.C (replace):
675 * counters.C (laberItem):
676 * bufferview_funcs.C (font2string):
677 * bufferparams.C (writeFile):
678 * buffer.C (readFile):
680 * MenuBackend.C: tostr -> convert
682 * LaTeX.C (runMessage): fix format
683 (scanAuxFiles): tostr -> convert
685 * BufferView_pimpl.C (savePosition): fix format
686 (restorePosition): ditto
689 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
691 * Spacing.[Ch]: New method getValueAsString().
695 * ParagraphParameters.C:
698 * text3.C: store/read spacing value as string.
700 * rowpainter.C: change float value (spacing_val) to double.
702 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
703 broken custom document spacing).
705 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
707 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
708 namespace, also more use of temp references and const
710 * cursor.[Ch] (getStatus): move to lyxfunc.C
712 * bufferparams.C: reformat slightly
714 * bufferview_funcs.C (font2string): constify arg
720 * buffer_funcs.C: (many funcs): constify arg on function
721 definitions, also make more local vars const, also add ASSERTS on
724 * buffer.C (LYX_FORMAT): put const in correct place
725 (many funcs): constify arg on function definitions, also make
726 more local vars const
728 * aspell_local.h: remove "struct" from typdef setup
730 * aspell.C (check): make word_ok const
731 (nextMiss): simplify slightly
734 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
736 * lyxrc.[Ch]: store all float values as strings.
737 use int (not float) for lyxrc.dpi.
739 2005-01-04 Angus Leeming <leeming@lyx.org>
741 * lyx_cb.C (Reconfigure):
742 * lyx_main.C (queryUserLyXDir):
743 to run the <system_lyxdir>/configure correctly on Windows, prefix
744 the path to the script with "sh " when generating the string that
745 is passed to system().
747 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
749 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
751 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
753 * lyxlength.C (asLatexString): get rid of setprecision
755 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
757 * text2.C (setLayout): remove unused variable endpit.
758 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
760 * paragraph.C (onlyText): remove unused variable style.
762 * cursor.C (bruteFind): remove unused variables beg and end.
764 * Makefile.am (dist_noinset_DATA): not needed anymore
766 * cheaders/*: remove.
768 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
770 * text3.C: fix LFUN_MATH_MODE.
772 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
774 * buffer_funcs.C (countWords): new function. Counts words between
777 * BufferView_pimpl.C (getStatus, dispatch): handle
780 * LyXAction.C (init):
781 * lfuns.h: add LFUN_WORDS_COUNT.
783 2004-12-19 Angus Leeming <leeming@lyx.org>
785 * buffer.C (save): s/slashify_path/internal_path/.
787 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
789 * lyxfind.C (findChange): do not search for end of pars, because
790 the change tracker cannot handle this (fixes bug 1719).
792 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
794 * paragraph.[Ch] (autoBreakRows): remove
796 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
798 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
799 avoid using the paragraph one
801 * text2.C (LyXText, insertStringAsLines): adjust
803 2004-12-16 Angus Leeming <leeming@lyx.org>
807 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
809 2004-12-14 Angus Leeming <leeming@lyx.org>
811 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
813 * bufferlist.C (emergencyWrite):
814 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
817 2004-12-14 Angus Leeming <leeming@lyx.org>
819 * main.C: (main): no longer pass pointers to os::init.
821 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
823 * undo.C (textUndoOrRedo): simplify logic, fix a crash
824 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
826 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
829 * text3.C: remove selection_possible global flag
831 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
833 * text2.C (getSelectionSpan): remove
834 (changeDepth, changeDepthAllowed): adjust
836 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
838 * Makefile.am (BOOST_LIBS): use boost variables
840 2004-12-03 José Matos <jamatos@lyx.org>
842 * buffer.C: format up to 238.
844 2004-12-03 José Matos <jamatos@lyx.org>
846 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
848 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
850 * cursor.C (goUpDown): remove call to idxUpDown2
852 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
854 * tabular.[Ch]: use size_t-like types for cell, row and column
857 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
859 * lyxfunc.C (getStatus): do not lose previous information when
860 calling BufferView::getStatus; do not set a default "Command
861 disabled" message at the beginning, but just before returning.
863 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
865 * cursor.h (getStatus): add better comment from src/cursor.C
867 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
869 * text3.C (getStatus): return false when the lfun is not handled
871 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * broken_headers.h: remove
875 * Makefile.am (lyx_SOURCES): remove broken_headers.h
877 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
879 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
882 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
883 top_y_, merge fitcursor with update
884 (updateScrollbar, scrollDocView, fitCursor, center, update): new
887 (workAreaDispatch): adapt to new coord scheme
888 (redoCurrentBuffer): remove
890 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
892 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
895 * coordcache.[Ch]: add paragraph cache and helpers
897 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
900 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
901 (targetX, setTargetX): introduce
903 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
904 baseline -> ascent, as the rest of lyx
906 * lyxtext.h: remove redoParagraphs, updateParPositions,
907 fullRebreak, redoParagraphInternal. move dist to anon namespace in
908 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
909 have ascent/descent (ascent is ascent of first par)
911 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
914 * paragraph.[Ch]: unify dimension handling with the rest of lyx
916 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
918 * pariterator.C: fix infinite loop introduced in par->pit renaming
920 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
921 in insets and LyXText, draw two off-screen paragraphs using
922 NullPainter, and adapt to new coord scheme
926 * text3.C: adapt lfun handlers to the new coord scheme, which
927 means: there's only guaranteed coord information for onscreen pars
928 plus one above and one below. This implies that one can do search
929 from y coordinates in the range [-1,workHeight]
931 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
933 * rename a lot of InsetOld to InsetBase
935 2004-11-25 Angus Leeming <leeming@lyx.org>
937 * BufferView_pimpl.C:
939 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
941 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
943 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
944 call BufferView::getStatus if LCursor::getStatus did nothing
945 (setStatusMessage, getStatusMessage): removed.
947 * FuncStatus.C (message): new methods. Used to provide an error
948 message indicating why a command is disabled.
949 (clear, |=, FuncStatus): update for message.
951 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
953 * lyxfunc.C (dispatch): always call sendDispatchMessage
955 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
958 * BufferView_pimpl.C:
972 * undo.C: par->pit renaming
974 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
976 * tabular.C (cellstruct): use initialization, store a shared_ptr
977 to insettext instead of the insettext directly, adjust to fit.
978 (operator=): new function
980 (rowstruct): use initialization
981 (columnstruct): use initialization
982 (ltType): use initialization
985 * lyxlength.h (swap): new function
987 * LColor.[Ch] (operator=): use the common semantics
989 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * lyxfind.C (findNextChange): update the bufferview after setting
994 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
997 number of InsetOptArgs has already been inserted.
999 * output_latex.C (latexOptArgInsets): new method. This outputs all
1000 the optarg insets, up to the limit defined in the layout file.
1001 (optArgInset): removed
1002 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1004 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * paragraph.C (isLetter): remove special spellchecker-related
1007 code; return true also for digits
1008 (isWord, isKomma): remove
1010 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1011 * lyxfind.C (MatchString()): use isLetter instead of isWord
1013 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1015 * pariterator.h (operatir=): comment out un-implemented member
1018 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1021 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1023 * lyxfont.h: include LColor.h to satisfy concept checks.
1025 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1027 * pariterator.h: add typdefs for value_type, difference_type,
1028 pointer and reference to satisfy concept checks. Also add default
1029 constructor for same reason.
1031 * pariterator.C (operator++): add post-increment operator to
1032 satisfy concept checks.
1034 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1037 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1039 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1040 checks. Also rename base_type to BaseType to follow naming
1043 * FloatList.h: include Floating.h to satisfy concept checks.
1045 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * lyxfunc.C (getStatus): when the origin of the request is menu or
1048 toolbar, and the LyXView does not have focus, do as if there was
1049 no buffer (bug 1720)
1051 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1052 FuncRequest to individual entries of LFUN_SEQUENCE
1054 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * output_latex.C (TeXOnePar): override runparams.moving_arg
1057 according to the needprotect value of the current paragraph (bug
1060 * paragraph.C (simpleTeXOnePar): no need to override
1061 runparams.moving_args here
1063 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1065 * vspace.C: fix off-by-one-error, related to fix #1682
1067 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1069 * lengthcommon.C: a more general fix for bug 1682
1071 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1073 * text.C (backspace): fix crash
1075 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1077 * format.[Ch] (getFormatFromFile): new method
1078 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1080 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1084 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1086 * lyxfunc.C (dispatch): remove the verbose argument
1087 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1090 * kbmap.C (defkey): set the origin of func to KEYBOARD
1092 * MenuBackend.C (MenuItem):
1093 * ToolbarBackend.C (add): set the origin of func to UI
1095 * funcrequest.[Ch]: add origin member, which indicates which part
1096 of LyX requests an action
1098 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1100 * converter.C (move): don't lie in the error message
1101 * converter.h (isReachable, move): document
1103 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1105 * buffer.C: remove unused using lyx::support::atoi
1106 * paragraph_funcs.C: ditto
1108 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1110 * bufferlist.C (exists): use bind and equal_to instead of
1113 * lyxtextclasslist.C (NumberOfClass): ditto
1115 * cursor.C (insert): use for_each instead of explicit for loop
1117 * bufferlist.C (getFileNames): use std::transform and
1118 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1120 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1123 * buffer.C (changeLanguage): use for_each instead of explicit for
1125 (hasParWithID): implement using getParFromID
1127 * LaTeXFeatures.C: ws change only
1129 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1132 * BufferView_pimpl.C (trackChanges): use for_each instead of
1135 2004-11-04 André Pönitz <poenitz@gmx.net>
1138 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1140 * dociterator.C (asDocIterator): use hard assert again.
1142 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1144 * lyxlength.C (asLatexString): rewrite so that it does not use
1147 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * text3.C (specialChar, dispatch): make sure cursor moves to the
1150 right after inserting an inset
1152 2004-11-02 José Matos <jamatos@lyx.org>
1154 * output_docbook.C (docbook):
1155 * paragraph.C (getID):
1156 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1157 garantee that the output is always legal.
1159 * tabular.C (docbook):
1160 * outputprams.[Ch]: remove mixed contents.
1162 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1164 * text2.C (setCounter): prevent endless loop
1166 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1168 * exporter.C (copyFile): use the mover instead of support::copy()
1169 * exporter.C (Export): pass format and latex name to copyFile()
1170 * exporter.h (addExternalFile): document
1171 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1173 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1175 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1177 2004-10-30 José Matos <jamatos@lyx.org>
1179 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1180 text and no inset or font change. This allows to use CDATA
1181 sections just for the whole paragraph.
1183 2004-10-30 José Matos <jamatos@lyx.org>
1185 * paragraph.C (getFirstWord): remove unused variable.
1187 2004-10-30 José Matos <jamatos@lyx.org>
1189 * paragraph.C (getFirstWord): the content should always be escaped
1191 (simpleDocBookOnePar):
1192 * output_docbook.C (makeEnvironment): replace reference to CDATA
1195 2004-10-30 José Matos <jamatos@lyx.org>
1197 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1199 2004-10-30 José Matos <jamatos@lyx.org>
1201 * output_docbook.C (makeParagraphs):
1202 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1203 standard paragraph has only a given type of content drop the wrapper.
1205 2004-10-29 José Matos <jamatos@lyx.org>
1207 * output_docbook.C (makeEnvironment):
1209 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1211 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1213 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1214 (cleanID): sanitize any id.
1216 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1218 * buffer.C, lyxlex_pimpl.C:
1219 * lyxlex_pimpl.C (setFile):
1220 s/getExtFromContents/getFormatFromContents/
1222 2004-10-28 José Matos <jamatos@lyx.org>
1224 * output_docbook.C (makeEnvironment): move id to broadest possible
1227 * sgml.C (openTag): apply substitution of <> for all attributes.
1229 2004-10-28 José Matos <jamatos@lyx.org>
1231 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1232 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1233 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1235 * sgml.[Ch]: new version for open and closeTag for paragraph and
1236 for strings. Now they handle the ids of paragraphs.
1238 2004-10-26 Angus Leeming <leeming@lyx.org>
1240 * Makefile.am: add mover.[Ch].
1242 * converter.C (convert, move): use the new Movers to move external
1243 files to the temp directory.
1245 * lyx_main.C (init): ensure that the global system_movers data
1248 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1251 * mover.[Ch]: new files, defining a Mover as a utility to move an
1252 external file between directories and, if necessary, manipulate this
1253 file using a helper script.
1255 2004-10-25 José Matos <jamatos@lyx.org>
1257 * output_docbook.C (makeCommand): merge two if's that tested the
1260 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * sgml.C (escapeString): fix warning in a better way
1264 2004-10-25 José Matos <jamatos@lyx.org>
1266 * sgml.C (escapeString): import the require boosts header file for
1267 tie, and avoid a signed unsigned comparison.
1269 2004-10-25 José Matos <jamatos@lyx.org>
1271 * sgml.h: add #include <string>
1273 2004-10-25 José Matos <jamatos@lyx.org>
1275 * sgml.[Ch] (escapeString): new function to escape all the string.
1277 2004-10-24 José Matos <jamatos@lyx.org>
1279 * paragraph.[Ch] (getFirstWord): new function to get the first
1280 word. Useful for description.
1281 (simpleDocBookOnePar): remove depth argument, add another that
1282 says where to start the paragraph.
1284 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1285 use the new functions to fix cleanly the support for descriptions.
1287 2004-10-24 José Matos <jamatos@lyx.org>
1289 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1290 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1291 * output_linuxdoc.C (linuxdocParagraphs):
1292 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1293 add buffer as argument.
1295 2004-10-24 José Matos <jamatos@lyx.org>
1297 * output_docbook.C (makeEnvironment, searchEnvironment): place
1298 CDATA inside paragraphs and fix scope for listitems.
1300 2004-10-24 José Matos <jamatos@lyx.org>
1302 * output_docbook.C: remove using statement for stack.
1304 2004-10-23 José Matos <jamatos@lyx.org>
1306 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1307 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1308 docbook. The new scheme is recursive and makes use of iterators, the
1309 same as latex export works.
1310 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1311 directly with the paragraph contents. This code was moved up to
1312 output_docbook.C (docbookParagraphs).
1313 * sgml.C (openTag, closeTag): removed unneeded newlines.
1314 (closeEnvTags) removed.
1316 2004-10-23 André Pönitz <poenitz@gmx.net>
1318 * undo.C (textUndoOrRedo):
1319 * dociterator.C (asDocIterator): work around crash
1321 * cursor.C (getStatus): replace ASSERT by more verbose error message
1322 and manual correction of the problem. Should increase stability
1323 while providing more sensible information.
1325 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1327 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1329 * bufferlist.C (previous, next): new methods
1332 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1334 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1336 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1337 entities to preamble.
1339 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1341 * messages.C (Pimpl): strip off translation context information
1343 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1345 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1346 the cursor is correct (bug 1694)
1348 2004-10-13 José Matos <jamatos@lyx.org>
1350 * output_docbook.C (docbookParagraphs): fix closing tags in the
1351 end of the document.
1353 2004-10-09 José Matos <jamatos@lyx.org>
1355 * buffer.C: format up to 237.
1356 * bufferparams.C (write): use tostr to convert booleans to strings.
1358 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1360 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1362 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1364 * LaTeX.C: implement use of babel language in xindy.
1366 2004-10-05 José Matos <jamatos@lyx.org>
1368 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1369 Add new translators to help reading and writing the lyx file.
1371 2004-10-05 José Matos <jamatos@lyx.org>
1373 * ParagraphParameters.C (read):
1374 * text.C (readParToken): replace nexToken by more appropriate lex
1377 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1379 * LaTeX.C (runMakeIndex):
1380 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1381 (usually 'makeindex') configurable.
1383 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1384 with a variable rather than with a number.
1386 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * output_latex.C (TeXOnePar): make sure font setting is the first
1389 thing that gets output (and the last at the end). Should fix bug
1392 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1394 * pch.h: use proper signal include
1396 * LaTeX.h: Use preferred calling of Boost.Signal
1399 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1401 * pch.h: dont include <boost/function/function0.hpp>
1403 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1405 * paragraph_pimpl.h: remove usage of ShareContainer
1407 * paragraph_pimpl.C: remove initialization of ShareContainer.
1409 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * BufferView.C (putSelectionAt): change the semantics when
1414 backwards == true: now, this just swaps cursor and anchor wrt the
1417 * BufferView.h (putSelectionAt): add some documentation
1419 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1420 make sure backwardChar is done at least once (to avoid getting
1422 (findNextChange): use putSelectionAt in the forward direction
1423 (operator()): use Paragraph::isWord
1425 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1427 * Spacing.C (set): c_str fix
1429 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * lyx_cb.C (Reconfigure): quote the name of configure script in
1432 case it contains spaces
1434 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1438 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1439 (BOOST_LIBS): use top_buildir when looking for the file
1441 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1443 * pch.h: do not use include boost/format.hpp, multiple symbols
1444 will result (gcc bug)
1447 2004-08-23 José Matos <jamatos@lyx.org>
1449 * bufferparams.C (readToken): fix reading of the author field.
1451 2004-08-20 José Matos <jamatos@lyx.org>
1453 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1455 2004-08-20 José Matos <jamatos@lyx.org>
1457 * lyxlex.[Ch] (findToken): remove function.
1459 * ParagraphParameters.C (findToken):
1460 * bufferparams.C (findToken): replace call for previous function
1461 with local copy. This local function has one more argument, the
1462 read string argument.
1464 2004-08-16 José Matos <jamatos@lyx.org>
1466 * ParagraphParameters.C (write):
1467 * Spacing.C (writeFile):
1468 * bufferparams.C (writeLaTeX):
1469 * lyx_cb.C (Reconfigure):
1470 * paragraph.C (write):
1471 * tabular.C (write): remove unnecessary space at end of line.
1474 2004-08-16 José Matos <jamatos@lyx.org>
1476 * text.C (readParagraph): remove debug message.
1478 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1480 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1483 * output_plaintext.C (asciiParagraph): set depth correctly
1485 * outputparams.h: add member depth
1487 * paragraph_funcs.C (ownerPar): remove.
1489 * text2.C (setCounter): remove first_pit; comment out some
1490 non-working code that uses ownerPar
1492 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1495 2004-08-16 José Matos <jamatos@lyx.org>
1497 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1498 For the same level of importance use the same chanel to report problems.
1499 (read): add code to deal with \begin_body and \end_body.
1502 2004-08-15 José Matos <jamatos@lyx.org>
1504 * lyxlex.C (getString): fix comment, buffer::readBody is now
1505 buffer:readDocument.
1507 * tex-strings.C (string_papersize): Default -> default,
1508 Custom -> custom, for consistency with other options.
1510 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1514 * Makefile.am: support pch
1516 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1518 * text.C (readParToken): remove the static LyXFont variable and
1519 pass it as a parameter instead. This fixes a nasty bug where an
1520 inset will be inserted with a bad font in some situations
1521 (readParagraph): adapt
1523 * text2.C (setCounter): reduce number of calls to pars_[pit]
1525 * text.C (singleWidth): add an assert, fix a test
1527 * rowpainter.C (paintText): reduce number of calls to singleWidth
1529 * paragraph.C (isHfill):
1530 (isNewline): ws only
1532 2004-08-14 André Pönitz <poenitz@gmx.net>
1537 * lyxtext.h (several functions): use a Paragraph & argument
1540 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1542 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1544 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1546 * text.C (singleWidth): remove useless test
1548 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1550 * tabular.h: remove bogus comments
1552 * tabular.C (getDescentOfRow):
1553 (isPartOfMultiColumn): add assertions
1555 * lyxlength.C (inPixels): remove #warning
1557 2004-08-14 André Pönitz <poenitz@gmx.net>
1559 * paragraph.h: inline getChar()
1561 * BufferView.h: remove unused declarations
1563 2004-08-14 José Matos <jamatos@lyx.org>
1565 * Buffer.[Ch] (readDocument): new name for old readBody.
1566 * Buffer.C: new file format, new keywords: \begin_document,
1567 \begin_header, \begin_body, \end_body.
1569 * bufferparams.C (readToken): replace all calls to lex.nextToken
1570 by lex.next(). Do the same to eatLine except where really needed.
1572 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1573 line when writing to the lyx file.
1575 * output_plaintext.C (asciiParagraph): fix Bibliography style
1578 * text.C (read): fix end of file handling.
1580 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1582 * MenuBackend.C (Menu::operator[]): new method to access
1583 individual menu items
1584 (Menu::hasFunc): new method. search for an item that corresponds
1586 (MenuBackend::specialMenu): new method
1587 (MenuBackend::expand): if a special menu has been set, skip
1588 entries whose func() appears in this menu
1590 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1592 * text3.C: use Debug::DEBUG a bit more
1594 * text.C (leftMargin): try to simplify a tiny bit change var x to
1595 l_margin. Dont output the wide margins always.
1596 (rightMargin): no margin in inner texts
1598 * rowpainter.h (nestMargin): new func
1599 (changebarMargin): new func
1600 (rightMargin): new func
1602 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1606 * factory.C (createInset): modify setDrawFrame
1608 * cursor.C: use Debug::DEBUG a bit more
1610 2004-08-14 André Pönitz <poenitz@gmx.net>
1613 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1614 cache for all insets in (at least partially) visible (top-level)
1617 * BufferView_pimpl.C: reset external coord cache before every update.
1618 This means the coord cache only contains valid entries.
1620 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1623 * BufferView_pimpl.C (getInsetByCode): move function out of class
1624 and change in to a template in anon namespace. Also fix to do what
1627 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1630 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1632 (breakParagraph): rename par to par_offset and use a local
1633 reference. Add code to keep the language over a rebreak.
1634 (breakParagraphConservative): rename par to par_offset, use a
1636 (mergeParagraph): ditto
1638 (isFirstInSequence): ditto
1639 (outerFont): rename pit to par_offset
1641 * paragraph.C: ws change
1642 * paragraph.h: ditto
1646 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1648 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1651 * paragraph.C (simpleTeXOnePar): when we have a \item with
1652 optional argument, enclose the argument with curly brackets (in
1653 case it contains a closing square bracket)
1657 * text3.C (checkInsetHit): constify
1659 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1661 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1662 documents (bug 1629)
1664 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1666 Fix toggling of collapsable insets with the mouse (bug 1558)
1668 * lyxfunc.C (dispatch): adapt to LCursor changes
1670 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1671 make sure that dispatch is not invoked twice
1673 * cursor.C (needsUpdate): new method
1674 (dispatch): return void
1675 (result): new method, to access the DispatchResult of the cursor.
1677 2004-08-13 José Matos <jamatos@lyx.org>
1679 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1681 2004-08-13 André Pönitz <poenitz@gmx.net>
1683 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1685 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1688 2004-08-12 André Pönitz <poenitz@gmx.net>
1690 * text3.C: take out the 'cursor right' form insertInset and only
1691 do it in those places when it is really needed. Fixes crash on
1694 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1698 * BufferView_pimpl.C (setBuffer): initialize the current font of
1699 the underlying LyXText
1701 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1703 * kbsequence.C (print): use UI native formatting for menu
1706 * text.C (insertChar): call Paragraph::insertChar with a font
1709 * paragraph.C (insertInset, insertChar): the version that takes a
1710 LyXFont argument is now a wrapper around the other one (the
1711 opposite used to be true).
1713 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1714 argument. Font setting is done in Paragraph now.
1716 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1718 * outputparams.h: add new members intitle and lang.
1720 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1721 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1723 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1725 * text3.C (dispatch): remove special handling of button 4 and 5,
1726 it is now taken care of in the frontend code.
1728 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1730 * Spacing.h: add <string> (STLPort compile fix)
1732 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1734 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1736 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1738 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1741 * converter.C (showMessage): inherit from unary_function, make
1744 * buffer.C (writeFile): initialize retval
1746 * InsetList.h: rename private variable list to list_
1747 * InsetList.[Ch]: adjust accordingly.
1749 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1751 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1752 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1753 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1754 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1755 * ParagraphParameters.C, LaTeXFeatures.C: replace
1756 "support/std_sstream.h" with <sstream>
1758 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1760 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1761 * lyxsocket.C (LyXServerSocket): ditto
1762 (serverCallback): ditto
1764 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1766 * LaTeXFeatures.C: check release date when loading jurabib.
1768 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1770 * lyxserver.C (startPipe): call register_socket_callback
1771 (endPipe): call unregister_socket_callback
1773 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1775 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1776 (LyXServerSocket): register the callback
1777 (LyXServerSocket): unregister the callback
1778 (fd): delete function
1779 (serverCallback): improve error checking and setup the callbacks.
1780 (dataCallback): change arg to fd.
1781 (writeln): new func (copied fro the client socket) used for server
1783 (LyXDataSocket): simplify
1784 (~LyXDataSocket): close ann unregiser callback
1785 (server): delete function
1786 (fd): delete function
1787 (readln): small changes, improve some std::string usage
1788 (writeln): constify a bit
1790 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1792 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1795 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1798 after it has been populated
1800 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * text2.C (insertInset): move cursor when inserting inset.
1804 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1806 * kbmap.C (findbindings): a couple of new methods. returns a
1807 container of kb_sequence objects. The real work is done by the
1808 private recursive version
1809 (printbindings): uses findbindings to print out a bracketed list
1810 of bindings (renamed from findbinding).
1812 * MenuBackend.C (binding): use kb_keymap::findbindings
1814 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1816 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1818 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1820 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1822 * paragraph.C (isWord): return true on insets that report
1825 * text.C (getWord): use Paragraph::isWord to decide what is in a
1826 word and what is not; fix bug 1609.
1828 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1830 * tex-strings.C: add "none" to string_paperpackages[], fixes
1831 off-by-one-error in the paperpackage selection.
1834 * tex-strings.[Ch]: char const * string[n]
1835 -> char const * const string[]
1837 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1840 command, return early.
1842 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1844 * debug.h: add DEBUG to enum and fix size of ANY.
1846 * debug.C: add support for Debug::DEBUG
1847 (showTags): cast errorTags.level to unsigned int
1849 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1850 (redoCurrentBuffer): ditto
1851 (updateScrollbar): ditto
1852 * cursor.C (dispatch): ditto
1853 * text2.C (setLayout): ditto
1855 (updateCounters): ditto
1857 (deleteEmptyParagraphMechanism): ditto
1859 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1861 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1862 annotations to cleanup the Makefile slightly.
1864 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * lyxrc.C: do not set user_email to a default value but use empty
1867 instead. The entry used to be translated, which does not work
1868 since at the point where lyxrc is constructed there is no
1869 translation service available
1871 * messages.C (getLocaleDir): remove and use directly
1872 lyx_localedir() instead
1874 2004-06-02 Angus Leeming <leeming@lyx.org>
1876 Fix crash caused by dereferencing null pointer 'exportdata' in
1877 OutputParams by creating a new ExportData variable on the heap,
1878 storing it in a boost::shared_ptr.
1879 The crash was triggered when generating an Instant Preview
1880 of an external inset.
1882 * Makefile.am: add outputparams.C
1884 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1885 (c-tor): allocate memory to it.
1887 * exporter.C (c-tor): associated changes.
1889 2004-06-01 Angus Leeming <leeming@lyx.org>
1891 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1892 contains data before calling isInset(0). (Bug 1513.)
1894 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1896 * exporter.C (checkOverwrite): new method
1897 * exporter.C (copyFile): new method
1898 * exporter.C (Export): copy referenced files to the document dir
1899 * exporter.[Ch]: new class ExportedFile
1900 * exporter.[Ch]: new class ExportData. Contains currently the
1901 names of referenced external files
1902 * outputparams.h: add exportdata member.
1904 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1906 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1909 2004-05-19 Angus Leeming <leeming@lyx.org>
1914 * lyxfunc.C: small changes due to the introduction of namespace
1915 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1917 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1919 * text3.C (dispatch): supress update when only moving the cursor
1920 * cursor.C (selHandle): remove commented code
1922 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1924 * paragraph.C (startTeXParParams): correct column count
1925 * CutAndPaste.C (pasteSelection): remove const_cast
1926 * output_docbook.C (docbookParagraphs): remove const_cast
1927 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1928 const_cast and return ParagraphList::const_iterator
1929 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1930 * output_plaintext.C (writeFileAscii): remove const_cast
1931 * paragraph.[Ch] (simpleTeXOnePar): make const
1932 * paragraph_funcs.C (outerPar): use const iterators
1933 * paragraph_pimpl.C (validate): use const iterators
1934 * text.C (setHeightOfRow): use const iterators
1936 2004-05-17 Angus Leeming <leeming@lyx.org>
1939 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1941 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1942 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1943 if the citation engine has changed.
1945 2004-05-14 José Matos <jamatos@lyx.org>
1947 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1948 if the textclass does not provide it. Have it different for sgml and
1950 support the language of document.
1951 * output_docbook.C (docbookParagraphs):
1952 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1953 first anchor as the id of the paragraph, remove special case code.
1954 * sgml.C (escapeChar): escape only < & >.
1956 2004-05-14 Angus Leeming <leeming@lyx.org>
1958 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1959 dependencies on src/frontends/controllers/biblio.h. Define a
1960 CiteEngine_enum wrapper class to enable the enum to be forward
1963 2004-05-12 Angus Leeming <leeming@lyx.org>
1965 * buffer.C: up LYX_FORMAT to 234.
1966 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1967 use_numerical_citations with a single biblio::CiteEngine cite_engine
1969 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1971 2004-05-13 José Matos <jamatos@lyx.org>
1974 * converter.C (Converter, readFlags): add xml member.
1975 * outputparams.h: add XML flavor.
1976 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1978 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1980 * lyxfunc.C (dispatch):
1981 (getStatus): fix handling of LFUN_SEQUENCE
1983 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1985 * debug.C (showLevel): do not forget the end-of-line marker
1987 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1989 * kbmap.C (read): do not stop parsing a bind file when an error
1992 2004-04-29 Angus Leeming <leeming@lyx.org>
1997 * text2.C: wrap a bunch of #warning statements
1998 inside #ifdef WITH_WARNINGS blocks.
2000 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2002 * buffer.C: increment format to 233.
2004 2004-04-28 Angus Leeming <leeming@lyx.org>
2006 * BufferView_pimpl.C:
2009 s/updateToolbar()/updateToolbars()/
2010 s/Toolbar.h/Toolbars.h/
2012 2004-04-28 Angus Leeming <leeming@lyx.org>
2014 * BufferView.[Ch] (c-tor):
2015 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2016 No longer passes these data to the WorkArea generator.
2018 2004-04-28 Angus Leeming <leeming@lyx.org>
2020 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2022 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2024 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2026 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2028 * output_latex.C (TeXEnvironment): make sure that there is a line
2029 break before \end{foo} for the last paragraph of a document
2030 (TeXOnePar): if the paragraph is at the end of the document (or
2031 inset) and the language has to be reset, then make sure that the
2032 line break is _before_ the language command, not after (fixes bug
2033 1225); also make sure that the language reset command is the first
2034 thing after the paragraph (to ensure proper nesting of
2035 environments and thus fix bug 1404)
2037 2004-04-21 John Levon <levon@movementarian.org>
2040 * ToolbarBackend.C: make "name" be a programmatic name
2041 and a gui_name field.
2043 * lyxfunc.C: display the minibuffer on M-x
2045 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2047 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2050 2004-04-19 Angus Leeming <leeming@lyx.org>
2052 * BufferView_pimpl.C (setBuffer): changed preview interface.
2054 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2057 2004-04-19 John Levon <levon@movementarian.org>
2059 * BufferView_pimpl.C:
2060 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2062 2004-04-05 Angus Leeming <leeming@lyx.org>
2064 * text.C (redoParagraphs): add call to updateCounters(), thereby
2065 fixing the missing "Figure #:" label from the caption of a
2068 2004-04-13 Angus Leeming <leeming@lyx.org>
2070 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2071 cursor is clicked out of an inset.
2073 2004-04-13 Angus Leeming <leeming@lyx.org>
2075 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2076 than an InsetOld one.
2078 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2080 * format.[Ch]: add editor to Format
2081 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2082 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2084 2004-04-08 André Pönitz <poenitz@gmx.net>
2086 * metricsinfo.h: remove PainterInfo::width member
2088 2004-04-08 Angus Leeming <leeming@lyx.org>
2090 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2091 "\providecommand" rather than "\newcommand", thereby preventing
2092 clashes with packages that define "\boldsymbol" themselves.
2095 2004-04-08 Angus Leeming <leeming@lyx.org>
2097 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2098 thereby squashing an unnecessary warning.
2100 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2102 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2105 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2107 * BufferView.C (setCursor): call redoParagraph (some insets could
2109 (putSelectionAt): remove the 'double update' trick
2111 * BufferView_pimpl.C (fitCursor): call refreshPar
2112 (workAreaDispatch): remove an uneeded update call
2113 (dispatch): remove some manual update calls
2115 * cursor.[Ch]: remove cached_y_, updatePos
2116 (selHandle): set noUpdate when appropriate
2118 * lyxfunc.C (dispatch): track if we need an update
2120 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2122 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2123 (paintSelection): cheap optimization, do not call cursorX when not
2125 (paintPars): change signature
2128 (paintTextInset): adjust
2132 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2134 * lengthcommon.C: compilation fix: remove explicit array size from
2135 unit_name[] and friends
2137 2004-04-05 Angus Leeming <leeming@lyx.org>
2139 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2141 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2142 present only for the preferences dialog.
2143 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2145 2004-04-05 Angus Leeming <leeming@lyx.org>
2147 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2148 to enable the frontends to export changes to lyxrc correctly.
2150 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2152 2004-04-07 André Pönitz <poenitz@gmx.net>
2154 * cursor.[Ch] (selClear, adjust): remove math
2156 * cursor_slice.C: more agressive assert
2159 * BufferView_pimpl.C: rework mouse event dispatch
2166 2004-04-05 André Pönitz <poenitz@gmx.net>
2168 * cursor.[Ch] (valign, halign...): remove unneeded functions
2170 2004-04-05 Angus Leeming <leeming@lyx.org>
2172 * lyxlength.[Ch] (unit_name et al.): const-correct.
2174 2004-04-05 Angus Leeming <leeming@lyx.org>
2176 * BufferView_pimpl.C:
2185 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2187 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2189 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2191 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2193 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2194 * BufferView_pimpl.[Ch] (getStatus)
2195 * BufferView.[Ch] (getStatus): add
2196 * lyxfunc.C (getStatus): move lfuns handled in
2197 BufferView::dispatch to te function above
2198 * Cursor.C (setSelection): set selection() = true
2200 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2202 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2204 2004-03-31 Angus Leeming <leeming@lyx.org>
2206 * lyxfunc.C (dispatch): Fall through to the generic
2207 Dialogs::show("preamble").
2209 2004-03-31 Angus Leeming <leeming@lyx.org>
2211 * lyxfunc.C (dispatch): Fall through to the generic
2212 Dialogs::show("spellchecker").
2214 2004-03-31 Angus Leeming <leeming@lyx.org>
2216 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2219 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2224 * insetiterator.[Ch]:
2229 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2231 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2233 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2234 insets where we are putting the cursor.
2236 2004-03-31 Angus Leeming <leeming@lyx.org>
2239 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2241 * lyxrc.[Ch] (read, write): overloaded member functions taking
2242 a std::[io]stream arguments.
2244 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2246 2004-03-31 Angus Leeming <leeming@lyx.org>
2248 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2249 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2251 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2252 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2254 2004-03-31 Angus Leeming <leeming@lyx.org>
2256 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2257 the LFUN_ALL_INSETS_TOGGLE code.
2259 2004-03-30 Angus Leeming <leeming@lyx.org>
2261 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2262 has died. Fall through to the generic Dialogs::show("document").
2264 2004-03-30 Angus Leeming <leeming@lyx.org>
2267 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2268 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2270 * lyxfunc.C (getStatus, dispatch): define the actions for these
2271 lfuns. Little more than a cut and pste job from ControlDocument.C
2273 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2275 2004-03-30 Angus Leeming <leeming@lyx.org>
2278 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2279 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2281 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2282 open/closed state of ollapsable insets. Usage:
2284 all-inset-toggle <state> <name>, where
2285 <state> == "open" || "closed" || "toggle" and
2286 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2288 * lyxtext.h, text2.C (toggleInset): removed.
2290 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2291 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2292 now passes LFUN_INSET_TOGGLE to the found inset.
2294 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2295 is now invoked as "all-insets-toggle toggle branch".
2297 2004-03-30 Angus Leeming <leeming@lyx.org>
2301 * pariterator.[Ch]: added/corrected header blurb.
2303 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2305 * dociterator.[Ch]: add an inset_ member
2306 (backwardPos): implemented
2307 (backwardPos, forwardPos): use inset_ when the stack is empty.
2308 (doc_iterator_begin, doc_iterator_end): implemented
2309 * pariterator.[Ch]: adjust, add begin, end
2310 * insetiterator.[Ch]: adjust, add begin, end
2314 * BufferView_pimpl.C:
2315 * CutAndPaste.C: adjust
2317 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2319 * buffer.C: increment file format to 232.
2320 * LaTeXFeatures.C: add bibtopic package.
2321 * bufferparams.[Ch]: param \use_bibtopic.
2323 * lyxrc.[Ch]: add lyxrc bibtex_command
2324 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2326 * buffer.C: increment file format to 231.
2328 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2330 * dociterator.C: implement forwardPar
2331 * iterators.[Ch]: remove, replaced by
2332 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2334 * BufferView_pimpl.C:
2337 * bufferview_funcs.C:
2343 * Makefile.am: adjust
2345 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2347 * CutAndPaste.C (pasteSelection): fix 2 crashes
2348 (eraseSelection): fix a crash
2349 * paragraph_funcs.C: remove a warning
2351 2004-03-28 Angus Leeming <leeming@lyx.org>
2354 * LyXAction.C (init): new LFUN_PRINT.
2356 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2358 2004-03-27 Angus Leeming <leeming@lyx.org>
2361 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2363 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2365 2004-03-27 Angus Leeming <leeming@lyx.org>
2367 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2368 insetlist always contains non-null pointers to insets.
2370 2004-03-26 Angus Leeming <leeming@lyx.org>
2372 * src/BufferView_pimpl.C:
2373 * src/CutAndPaste.C:
2376 * src/output_plaintext.C:
2377 * src/outputparams.h:
2378 * src/paragraph_funcs.C:
2382 * src/frontends/controllers/ControlErrorList.C:
2383 * src/frontends/gtk/FileDialogPrivate.C:
2384 * src/frontends/gtk/GPainter.C:
2385 * src/frontends/gtk/GToolbar.C:
2386 * src/frontends/qt2/QRef.C:
2387 * src/mathed/math_scriptinset.C: squash compiler warnings.
2389 2004-03-26 Angus Leeming <leeming@lyx.org>
2391 * ispell.C (LaunchIspell::start):
2392 * lyx_cb.C (AutoSaveBuffer::start):
2393 invoke run(DontWait) rather than runNonBlocking().
2395 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2397 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2399 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2401 * kbsequence.C (print): adjust
2403 * kbmap.C (printKeySym): rename and change signature
2404 (printKey): use LyXKeySym::print()
2406 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2408 * undo.C: add using std::advance to compile for stlport
2410 2004-03-24 Angus Leeming <leeming@lyx.org>
2412 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2413 it leads to a crash when no buffer is present.
2415 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2416 Martin Vermeer <martin.vermeer@hut.fi>
2418 * lyxfunc.C (dispatch):
2419 * bufferparams.C (readToken): use the new LColor::setColor
2421 * LColor.[Ch] (setColor): new version that takes two strings as
2422 argument and creates a new color entry if necessary
2424 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2426 * buffer.C (makeLaTeXFile): if the main latex file that is
2427 processed is usually a subdocument of some master, then pretend
2428 for a while that it is actually the master
2430 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2432 * buffer.C (getLabelList):
2433 (getBibkeyList): use getMasterBuffer()
2434 (getMasterBuffer): new method. Returns the main document in the
2435 case where one is using included documents.
2437 2004-03-25 André Pönitz <poenitz@gmx.net>
2441 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2443 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2445 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2446 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2448 * ParameterStruct.h: merge with ParagraphParameters
2450 * lyxtext.h: remove LyXText::parOffset() and getPar()
2452 * text3.C: Remove all 'manual' update calls. We do now one per user
2453 interaction which is completely sufficient.
2457 * BufferView_pimpl.C:
2458 * FontIterator.[Ch]:
2460 * ParagraphParameters.[Ch]:
2465 * cursor_slice.[Ch]:
2472 * output_docbook.[Ch]:
2473 * output_latex.[Ch]:
2474 * output_linuxdoc.[Ch]:
2475 * output_plaintext.[Ch]:
2477 * paragraph_funcs.[Ch]:
2478 * paragraph_pimpl.[Ch]:
2486 * frontends/controllers/ControlDocument.C:
2487 * frontends/controllers/ControlErrorList.C:
2488 * frontends/controllers/ControlSpellchecker.C:
2491 * insets/insetbase.h:
2492 * insets/insetbibitem.C:
2493 * insets/insetbox.C:
2494 * insets/insetbranch.C:
2495 * insets/insetcaption.C:
2496 * insets/insetcharstyle.C:
2497 * insets/insetcharstyle.h:
2498 * insets/insetcollapsable.C:
2499 * insets/insetcollapsable.h:
2500 * insets/insetert.C:
2501 * insets/insetfloat.C:
2502 * insets/insetfoot.C:
2503 * insets/insetmarginal.C:
2504 * insets/insetnote.C:
2505 * insets/insetoptarg.C:
2506 * insets/insettabular.C:
2507 * insets/insettext.C:
2508 * insets/insettext.h:
2509 * insets/insetwrap.C:
2510 * mathed/math_mboxinset.C:
2511 * mathed/math_nestinset.C:
2512 * mathed/math_scriptinset.C:
2513 * mathed/math_scriptinset.h:
2516 2004-03-24 Angus Leeming <leeming@lyx.org>
2518 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2519 deal with any child processes that have finished but are waiting to
2520 communicate this fact to the rest of LyX.
2522 2004-03-24 Angus Leeming <leeming@lyx.org>
2524 64-bit compile fixes.
2526 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2527 (c-tor): pass lyx::pos_types rather than ints.
2529 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2532 * text.C (Delete): compile fix.
2533 (getPar): ensure that function declaration is the same as that in
2536 2004-03-23 Angus Leeming <leeming@lyx.org>
2538 * ispell.C (LaunchIspell):
2539 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2540 a boost::shred_ptr rather than a std::auto_ptr.
2542 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2544 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2545 handle LFUN_FILE_INSERT_*
2547 * lyxrc.C (setDefaults, getDescription, output, read):
2548 * lyxrc.h: remove ps_command
2550 2004-03-22 Angus Leeming <leeming@lyx.org>
2552 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2553 Ensure that error_handler is processed once only and that all data
2554 is saved before attempting to output any warning messages.
2556 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2558 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2560 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2562 2004-03-19 André Pönitz <poenitz@gmx.net>
2564 * cursor.[Ch] (reset): take main text inset as argument
2566 * BufferView: adjust
2567 * BufferView_pimpl.C: adjust
2569 * paragraph.[Ch]: fix completely broken operator=()
2571 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2573 * LColor.C (getFromLyXName): make sure that the color name is used
2576 2004-03-17 Angus Leeming <leeming@lyx.org>
2579 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2581 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2582 dialog and to kill a forked process.
2584 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2586 * text2.C (setCursorFromCoordinates): fix font problem
2588 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2590 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2591 bogus "rebuild cursor" code
2593 2004-03-11 André Pönitz <poenitz@gmx.net>
2595 * buffer.[Ch]: use InsetText instead of LyXText as container for
2598 * dociterator.[Ch]: drop the BufferView * member which is not needed
2599 anymore after the change to buffer.C
2601 * paragraph_funcs.C:
2605 * BufferView_pimpl.[Ch]:
2607 * cursor_slice.[Ch]: adjust
2609 * text3.C: fix bug in mathDispatch
2611 2004-03-08 André Pönitz <poenitz@gmx.net>
2613 * undo.[Ch]: use 'StableDocumentIterator' as base for
2616 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2619 * bufferparams.[Ch]: add jurabib support and param.
2621 * LaTeX.C: add FIXME/comment.
2623 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2625 * buffer.C: increment file format to 230.
2627 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2629 * cursor.C (dispatch): avoid infinite loops
2631 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2633 * rowpainter.C (paintSelection): fix x coordinates
2635 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2637 * text.C (rowBreakPoint): fix breaking before displayed insets
2639 2004-03-01 André Pönitz <poenitz@gmx.net>
2641 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2643 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2647 * BufferView_pimpl.C:
2655 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2661 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2662 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2664 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2666 * Bidi.[Ch] (computeTables): const correctness
2667 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2668 fill_hfill, fill_label_hfill and x from Row
2669 * lyxtext.h: prepareToPrint returns a RowMetrics
2670 * rowPainter.C: adjust
2671 * text.C (prepareToPrint): use width, not textWidth. adjust
2672 (redoParagraphInternal, cursorX): adjust
2673 * text2.C (getColumnNearX): adjust
2674 (init): put a default value to the top LyXText::width
2676 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2678 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2680 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2682 * lyxtext.h: add FontIterator class
2684 * text.C (FontIterator, operator*, operator->, operator++): add
2685 (rowBreakPoint, setRowWidth): adjust (fixing a
2688 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2690 * BufferView_pimpl.C (workAreaDispatch): allow also
2691 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2693 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2695 * text.C (rowBreakPoint): fix a bug showing with very large insets
2697 2004-02-25 André Pönitz <poenitz@gmx.net>
2700 * cursor.[Ch]: move some mathed specific code to mathed
2702 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2704 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2705 use_tempdir in preferences
2706 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2708 * lyx_main.C: ensure that tempdir is valid
2709 * lyxlex.h: correct typo
2710 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2711 * paragraph.[Ch] (isMultiLingual): make const
2712 * cursor.[Ch] (openable): make const
2714 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2716 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2718 2004-02-20 André Pönitz <poenitz@gmx.net>
2720 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2722 * cursor.[Ch]: prepare for localized getStatus()
2728 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2730 2004-02-20 André Pönitz <poenitz@gmx.net>
2732 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2734 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2736 * text2.C (setCursorFromCoordinates): switch to absolute coords
2738 (cursorDown): adjust
2739 * text3.C (dispatch): adjust
2741 2004-02-16 André Pönitz <poenitz@gmx.net>
2743 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2746 * cursor_slice.[Ch]: remove unneeded acessor function
2748 * lyxtext.h: rename rtl() to isRTL()
2756 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2758 * rowpainter.C (paintSelection): coord fix
2760 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2762 * Spacing.C: compile fix
2764 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2766 * cursor.C (dispatch): restore current_ before returning
2768 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2770 * text2.C (cursorUp, cursorDown): fix coords
2773 2004-02-12 André Pönitz <poenitz@gmx.net>
2778 * text3.C: add LCursor & parameter to most cursor movement functions
2779 remove usage of LyXText::cursorRow() and cursorPar()
2781 * cursor.[Ch]: add textRow() needed members
2784 * BufferView_pimpl.C:
2787 * BufferView_pimpl.C: adjust
2789 2004-02-11 André Pönitz <poenitz@gmx.net>
2793 * BufferView_pimpl.C: shift undo/redo handling
2795 * cursor.[Ch]: fix mathed crash
2798 * lyxtext.h: move selectionAsText to LCursor
2806 * rowpainter.C: fix excessive drawing
2808 2004-02-06 André Pönitz <poenitz@gmx.net>
2811 * BufferView_pimpl.[Ch]:
2812 * text3.C: move some text specific LFUN handling
2814 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2816 * text3.C (checkInsetHit): adjust coords
2817 * text2.C (getColumnNearX): adjust coords
2818 (edit): adjust coords
2819 * text.C (getRowNearY): add two asserts
2821 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2824 * format.C: add using std::distance to compile on gcc 2.95/stlport
2826 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2828 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2830 2004-02-04 André Pönitz <poenitz@gmx.net>
2832 * BufferView.[Ch] (insertInset):
2833 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2838 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2840 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2841 on the default clause of the switch
2842 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2843 wasn't catched by LCursor::dispatch
2845 2004-02-03 André Pönitz <poenitz@gmx.net>
2848 * cursor.[Ch]: some additional asserts
2850 * undo.[Ch]: remove LyXText dependency in interface
2854 * lyxtext.h (firstPar, lastPar): remove dead functions
2859 * paragraph.[Ch]: adjust
2861 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2863 * lyxfind.C (find): fix argument order in call to ::find
2865 2004-02-02 André Pönitz <poenitz@gmx.net>
2867 * cursor.[Ch]: remove direct access to anchor
2869 * text.C: remove findText() hack
2871 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2873 * iterators.[Ch] (lockPath): remove in favour of...
2874 * BufferView.[Ch] (setCursor): this addition
2875 * BufferView.C (putSelectionAt): adjust
2876 * undo.C (performUndoOrRedo): adjust
2877 * lyxfunc.C (dispatch): adjust
2879 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2881 * iterators.C (lockPath): add a missing slice
2882 * undo.C (performUndoOrRedo): remove redundant positioning code
2884 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2886 * vc-backend.C (scanMaster): ";" -> ';'
2888 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2890 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2891 std::binary_function
2893 * lyxtextclass.C (compare_name): rename to...
2894 (LayoutNamesEqual): ...this
2896 * lyxlex_pimpl.C (compare_tags): inherit from
2897 std::binary_function, put back into anon namespace
2899 * lyxfind.C (MatchString): inherig from std::binary_function
2900 (findChange): use empty() istead of !size()
2902 * format.C (FormatNamesEqual): new functor
2909 * converter.C (compare_Converter): rename to...
2910 (ConverterEqual): ...this, and fixup a bit.
2911 (getConverter): use it, and make function const
2912 (getNumber): use it, and make function const
2916 * bufferlist.C: add using boost::bind
2918 * MenuBackend.C (MenuNamesEqual): new functor
2919 (hasMenu): use it, and make function const
2920 (hasSubmenu): use nested bind to get rid of compare_memfun.
2922 2004-01-30 André Pönitz <poenitz@gmx.net>
2924 * BufferView_pimpl.C:
2927 * cursor_slice.[Ch]:
2930 * paragraph_funcs.C:
2931 * paragraph_funcs.h:
2935 * text3.C: move some of the edit(x,y) handling to the insets
2936 some coordinate changes.
2938 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2940 * text.C: add using statements for std::advance and std::distance
2942 * paragraph.C: add using statement for std::distance
2944 * lyxfind.C: add using statement for std::advance
2946 * cursor.C (region): remove std:: from swap
2947 (openable): use nucleus in stead of operator->
2949 * BufferView.C: add using statements for std::distance and std::swap
2951 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2953 * iterators.C: Remove the pimple, move the needed structures to
2954 the header file. Create accessor for the positions stack.
2955 (asPosIterator): remove function
2957 * PosIterator.C (PosIterator): move constructors to top of file
2958 (PosIterator): reimplement the constructor taking a ParIterator in
2960 (setFrom): new function
2961 (operator!=): inline it
2963 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2965 * lyxfind.C (replaceAll): use std::advance
2967 * iterators.h: inherit from std::iterator.
2969 * PosIterator.C (advance, distance): remove
2970 * PosIterator.h: interit from std::iterator.
2972 2004-01-26 André Pönitz <poenitz@gmx.net>
2975 * BufferView_pimpl.[Ch]:
2979 * bufferview_funcs.C:
2989 * output_linuxdoc.C:
2990 * output_plaintext.C:
2992 * paragraph_funcs.[Ch]:
2993 * paragraph_pimpl.[Ch]:
2999 * text3.C: more IU: dumps most of the rest of the mathcursor
3000 implementation into cursor.[Ch]; "globalize" a bit of it.
3002 2004-01-25 Angus Leeming <leeming@lyx.org>
3004 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3006 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3008 * LaTeXFeatures.h: add nice_ and nice() const
3009 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3011 2004-01-20 André Pönitz <poenitz@gmx.net>
3014 * BufferView_pimpl.C:
3016 * bufferview_funcs.C:
3018 * cursor_slice.[Ch]:
3029 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3030 LCursor and mathcursor parts to LCursor and InsetBase.
3032 2004-01-15 André Pönitz <poenitz@gmx.net>
3034 * cursor_slice.[Ch]: add a few covienience functions
3036 * funcrequest.[Ch]: remove BufferView * member
3038 * BufferView_pimpl.C:
3045 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3047 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3049 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3050 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3052 2004-01-13 André Pönitz <poenitz@gmx.net>
3055 * lyxtext.h: hide cursor and selection anchor behind accessor function
3058 * BufferView_pimpl.[Ch]:
3060 * bufferview_funcs.C:
3070 * cursor_slice.[Ch]: some integer type changes for inset unification
3072 * lyxcursor.[hC]: remove, it's CursorSlice now.
3075 * BufferView_pimpl.[Ch]:
3076 * bufferview_funcs.C:
3082 * textcursor.[Ch]: adjust
3084 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3086 * text2.C (undoSpan): add and use
3087 * text.C (breakParagraph): use undoSpan (fix bug 578)
3090 2004-01-08 Angus Leeming <leeming@lyx.org>
3092 * BufferView_pimpl.C (MenuInsertLyXFile):
3093 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3094 * lyxfunc.C (menuNew, open, doImport):
3095 FileFilterList change to the FileDialog open and save functions.
3097 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3099 * ShareContainer.h: make isEqual and isUnique adaptable
3101 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3103 2004-01-07 Angus Leeming <leeming@lyx.org>
3106 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3108 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3110 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3111 functions replacing find, replace and replaceAll.
3113 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3114 LFUN_WORDFIND(FORWARD|BACKWARD).
3116 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3118 * text.C (breakParagraph): remove an outdated #warning
3120 2004-01-07 André Pönitz <poenitz@gmx.net>
3122 * lyxfind.C: somewhat clearer logic
3124 * text.C: prevent crash in cursorX on unitialized row cache
3126 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3128 * lyxcursor.[Ch] (operator>): add
3129 * textcursor.C (selStart, selEnd): use std::min and std::max
3131 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3133 * Chktex.C: include boost/format.hpp
3135 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3137 * InsetList.C: replace functor MathcIt with adaptable functor
3139 (insetIterator): modify accordingly
3141 * BranchList.h: move the BranchNamesEqual functor here from...
3142 * BranchList.C: ... to here
3144 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3146 (add): replace a finding loop with std::find_if.
3148 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3150 * output_docbook.C: moving LatexParam functionality into
3153 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3155 * buffer.C: increment format to 229.
3157 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3160 * lyx_sty.[Ch]: remove minipageindent_def
3166 * text3.C: remove LFUN_INSET_MINIPAGE
3168 2003-12-28 Angus Leeming <leeming@lyx.org>
3170 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3172 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3174 * text2.C (setParagraph): fix off-by-one crash
3176 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3178 * output_docbook.C: header stuff for AGU
3180 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3182 * text2.C (redoCursor): remove
3185 * BufferView_pimpl.C: remove calls to redoCursor and
3186 setCursor(cursor.par(), cursor.pos()) all around
3188 2003-12-15 Angus Leeming <leeming@lyx.org>
3190 * buffer.C: up the format to 228.
3192 2003-12-15 André Pönitz <poenitz@gmx.net>
3194 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3199 * BufferView_pimpl.C:
3208 2003-12-15 Angus Leeming <leeming@lyx.org>
3210 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3211 than getFromGUIName to manipulate the color.
3213 2003-12-14 Angus Leeming <leeming@lyx.org>
3215 * BranchList.[Ch]: minimize the API.
3216 (Branch::getBranch, getColor): now return a 'const &'.
3217 (Branch::setSelected) now returns a bool set to true if the
3218 selection status changes.
3219 (BranchList::clear, size, getColor, setColor, setSelected,
3220 allBranches, allSelected, separator): removed.
3221 (BranchList::find): new functions, returning the Branch with
3223 (BranchList::add, remove): return a bool indicating that
3224 the operation was successful.
3226 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3227 new InsetBranch::isBranchSlected member function.
3229 * LColor.[Ch]: mimimize the API.
3230 (fill): renamed as addColor and made private.
3231 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3232 versions of these functions taking a string arg have been removed.
3234 * bufferparams.C (readToken):
3235 * lyxfunc.C (dispatch):
3236 * lyxrc.C (read): changes due to the altered BranchList and
3239 * factory.C (createInset, readInset): changes due to altered
3242 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3245 * lyxfunc.C: remove insetminipage. "minipage-insert"
3246 now produces a frameless minipage box inset.
3248 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3250 * textcursor.[Ch] (selStart,selEnd): add new methods
3251 remove selection::start, end, use LyXCursor::operator<
3252 * lyxcursor.[Ch] (operator<): add
3253 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3254 * BufferView.[Ch] (unsetXSel): add
3255 * text2.C (clearSelection): use unsetXSel,adjust
3258 * rowpainter.C: adjust
3259 * bufferview_funcs.C (put_selection_at): adjust
3261 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3263 * BufferView_pimpl.C: small coord. correction
3265 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3267 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3268 dragging over the splash screen.
3270 2003-12-11 Angus Leeming <leeming@lyx.org>
3272 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3273 as it is now handled in LyXText::dispatch.
3275 * text3.C (doInsertInset): remove a level of nesting.
3277 2003-12-11 Angus Leeming <leeming@lyx.org>
3279 * factory.C (createInset): changes due to the changed interface to
3280 InsetCommandMailer::string2params.
3282 2003-12-10 Angus Leeming <leeming@lyx.org>
3284 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3285 'dialog-show-new-inset <inset name>'
3287 2003-12-10 Angus Leeming <leeming@lyx.org>
3289 * buffer.C: up the format to 227.
3291 * factory.C: the box inset is now identified simply by 'Box'.
3293 2003-12-10 Angus Leeming <leeming@lyx.org>
3295 * buffer.C: up the format to 226.
3297 * factory.C: the note inset is now identified simply by 'Note'.
3299 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3301 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3302 when a pit is enough. Standarize a couple of loops.
3304 2003-12-05 Angus Leeming <leeming@lyx.org>
3306 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3307 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3308 data to the re-worked "log" dialog.
3310 2003-12-03 André Pönitz <poenitz@gmx.net>
3316 * paragraph_funcs.C:
3318 * text2.C: use Inset::getText instead of Inset::getParagraph
3320 2003-12-03 André Pönitz <poenitz@gmx.net>
3324 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3325 InsetText::read() as LyXText::read()
3327 2003-12-02 Angus Leeming <leeming@lyx.org>
3329 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3330 type. Add a comment in the implementation that the function uses
3331 the stream's bad() function rather than fail() as the std::streams
3334 2003-12-02 André Pönitz <poenitz@gmx.net>
3336 * lyxlex.[Ch]: make interface more similar to std::stream
3338 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3340 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3342 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3344 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3346 * vspace.[Ch]: remove VSpace::NONE
3348 2003-12-01 André Pönitz <poenitz@gmx.net>
3351 * lyxtext.h: move ParagraphList member to LyXText
3352 rename LyXText::ownerParagraphs to LyXText::paragraph
3355 * bufferview_funcs.C:
3365 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3367 * undo.C: fix cursor positioning
3369 2003-12-01 John Levon <levon@movementarian.org>
3371 * BufferView_pimpl.C: fix a crash on exit with
3374 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3376 * BranchList.C: fix setSelected() method.
3378 2003-11-28 André Pönitz <poenitz@gmx.net>
3380 * ParagraphParameters.[Ch]:
3381 * ParameterStruct.h: remove space above/below from Paragraph to
3384 * BufferView_pimpl.C:
3390 * paragraph_funcs.C:
3396 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3398 * factory.C: Syntax change for CharStyles
3400 2003-11-28 André Pönitz <poenitz@gmx.net>
3405 * buffer.[Ch]: move LyXText member
3407 2003-11-28 André Pönitz <poenitz@gmx.net>
3409 * BufferView.[Ch]: make LyXText * text a private member
3411 * BufferView_pimpl.C:
3422 * output_plaintext.C: cleanup
3424 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3427 * lyxtextclass.[Ch]: parametrize SGML document header
3429 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3432 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3435 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3437 * text2.C (setFont): rework using PosIterator (no more recursive)
3438 (setCharFont): no more needed
3439 (setLayout): no more selection cursors fiddling (done by redoCursor)
3440 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3441 destroy remaining ones)
3443 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3445 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3447 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3450 * text3.C: adjust + re-allow multi par depth changes
3451 * textcursor.C: simplify a bit
3453 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3459 * src/output_docbook.C:
3460 * src/output_latex.C:
3465 * src/text2.C: Introducing a number of tags parametrizing various
3466 XML formats that we may want to support
3468 2003-11-25 André Pönitz <poenitz@gmx.net>
3470 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3472 * lyxtext.h (leftMargin/rightMargin): simplify interface
3479 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3481 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3482 master file to any child files. Fixes bug 546.
3484 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3486 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3488 2003-11-24 André Pönitz <poenitz@gmx.net>
3490 * rowpainter.C: simplification
3492 * text2.C (updateCounters): remove call to redoParagraph on
3493 changed labels as this is far too expensive.
3495 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3497 * converter.C (convert): fix a crash: this function gets
3498 called with buffer == 0 from importer code.
3500 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3502 * text3.C (cursorPrevious): make sure that we do not compare
3503 iterators form different containers.
3506 * rowpainter.C (paintSelection): make sure that we do not compare
3507 iterators from different containers.
3509 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3510 iterators from different ParagraphList containers.
3513 * text2.C (LyXText): change order of initialization slightly
3514 (operator=): new function. copy all variables except cache_par_
3515 (moveUp): make sure that we do not compare iterators from
3516 different ParagraphList constainers.
3519 * text.C (firstPar): new function
3520 (lastPar): new function
3521 (endPar): new function
3523 * lyxtext.h: move things around and group public functions, public
3524 variables, private functions, private variables
3526 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3528 * factory.C: change call to InsetERT constructor to avoid
3529 additional invocation of method status
3530 * text2.C (toggleInset): remove redundant update() call
3531 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3532 instead of a Bufferview pointer
3534 2003-11-21 André Pönitz <poenitz@gmx.net>
3536 * rowpainter.C: simplification
3538 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3540 * text3.C (dispatch): make possible to extend a word/row selection
3543 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3545 * lyxtext.h: x0_,y0_ -> xo_,yo_
3546 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3547 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3548 * rowpainter.C (paintRows): paint full paragraphs
3550 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3552 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3555 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3557 * lyxtext.h: add x0_, y0_
3558 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3559 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3561 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3563 * text2.C (setCursorIntern): move the x_target update here *
3564 * text3.C: change some bv() to true/false in calls to
3565 cursorUp/Down/Right/Left
3566 * cursor.C: use helper function.
3568 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3570 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3571 * paragraph_funcs.[Ch]: correct comment
3572 * rowpainter.C: do not paint selections away from bv->cursor()
3573 Fix a long standing selection painting bug.
3574 * text3.C: generalize mouse-selection code to LyXTexts other that
3576 * textcursor.C: do not use y coords if we can use par offsets
3578 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3580 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3581 cursor position after e.g. inset insert)
3583 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3585 * lyxfind.C (replace): adjust to locking removal + some
3588 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3590 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3593 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3596 * output_docbook.C: XML sanitation: new layout
3597 parameters InnerTag and CommandDepth
3599 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3601 * BufferView_pimpl.C:
3603 * text3.C: Fix the insertion and modification of button-style
3606 2003-11-13 André Pönitz <poenitz@gmx.net>
3608 * InsetList.[Ch]: remove deleteLyXText
3610 * paragraph.[Ch]: cache beginOfBody position
3615 * text3.C: remove superfluous update() calls
3619 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3621 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3622 * BufferView.C (fitLockedInsetCursor): remove
3623 * cursor.[Ch] (getDim): add
3624 * text.C (getRowNearY): add faster version
3625 * text3.C: remove some update calls
3627 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3639 * text3.C: The Character Style /XML short element patch.
3641 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3644 * factory.C: Small step to solving 'unable to insert some insets'
3647 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3649 * cursor.[Ch] (updatePos): new function for updating the y
3650 position of the tip inset
3651 * bufferview_funcs.C (put_selection_at):
3652 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3654 2003-11-11 André Pönitz <poenitz@gmx.net>
3656 * text.C: remove big comment on invalid Paragraph pointers as it is
3659 2003-11-11 André Pönitz <poenitz@gmx.net>
3661 * text_funcs.[Ch]: merge with ...
3669 * Makefile.am: remove text_funcs.[Ch]
3671 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3673 * cursor.C (getPos): return absolute cached y coord
3675 * BufferView_pimpl.C (fitCursor): new simplistic code
3676 (workAreaDispatch): add a fitCursor call
3678 2003-11-10 André Pönitz <poenitz@gmx.net>
3681 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3683 2003-11-10 André Pönitz <poenitz@gmx.net>
3685 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3686 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3687 indicate that the cursor needs to leave an inset
3689 * lyxtext.h: remove inset locking
3691 * cursor.[Ch]: re-implement functionality provided by inset locking
3694 * BufferView_pimpl.[Ch]:
3696 * bufferview_funcs.[Ch]:
3708 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3710 * PosIterator.[Ch]: replace the stack with a vector, add inset
3712 * iterators.[C]: adjust
3714 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3716 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3718 * paragraph_funcs.C (readParToken): put the correct id in the
3719 error item, not the id of the top paragraph
3721 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3723 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3724 * bufferview_funcs.C (put_selection_at): use the above
3726 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3728 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3730 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3732 * output_linuxdoc.h:
3733 * output_plaintext.h:
3735 * output_docbook.h: add #include statements
3737 2003-11-05 José Matos <jamatos@lyx.org>
3739 * output_docbook.[Ch]:
3740 * output_latex.[Ch]:
3741 * output_linuxdoc.[Ch]:
3742 * output_plaintext.[Ch]: New files for output formats.
3743 * output.[Ch]: New file for helper functions.
3746 * paragraph_funcs.[Ch]: output functions moved to new files.
3748 * outputparams.h: rename of latexrunparams.h
3756 * paragraph_funcs.[Ch]:
3757 * paragraph_pimpl.[Ch]:
3758 * tabular.[Ch]: rename ascii to plaintext
3759 and LatexRunParams to OutputParams.
3761 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3763 * iterators.[Ch] (text): require bv argument
3764 * undo.C (recordUndo):
3765 * lyxfunc.C (dispatch):
3766 * bufferview_funcs.C (put_selection_at): adjust
3768 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3770 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3772 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3774 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3777 2003-11-04 André Pönitz <poenitz@gmx.net>
3779 * cursor.[Ch]: restructure
3782 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3784 * iterators.[Ch] (asCursor): remove
3786 * lfuns.h: remove LFUN_INSET_EDIT
3792 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3794 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3796 * lyxfind.[Ch]: complete overhaul
3797 * BufferView_pimpl.C:
3799 * paragraph.[Ch] (insert): add
3801 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3805 * text.C: remove dead spellcheck code
3807 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3809 * dispatchresult.h: add a val setter
3811 * cursor.C (dispatch): use a tempvar for data_[i]
3813 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3815 * PosIterator.[Ch]: compile fix
3817 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3819 * text.C (cursorPar): deactivate the cursor cache
3821 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3823 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3825 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3827 * text3.C (dispatch): adjust for new DisptchResult semantics.
3829 * lyxfunc.C (dispatch): handle update when return from
3830 Cursor::dispatch, adjust for new DispatchResult semantics.
3832 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3833 DispatchResult(true) mean to not update. Add class functions for
3834 setting dispatched and update, as well as reading.
3836 * cursor.C (dispatch): don't handle update here
3838 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3841 * trans_mgr.C: adjust
3843 * paragraph_funcs.C (readParToken): exception safety
3845 * lyxvc.h: store the vcs pointer in a scoped_ptr
3848 * lyxsocket.C (serverCallback): exception safety
3850 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3852 * ispell.C (clone): make it return a auto_ptr
3854 * factory.C (createInset): exception safety
3855 (readInset): exception safety
3857 * bufferlist.C (newBuffer): exception safety
3859 * Thesaurus.C (Thesaurus): use initialization for aik_
3861 * MenuBackend.C (expandToc): exception safety.
3863 2003-11-03 André Pönitz <poenitz@gmx.net>
3867 * bufferview_funcs.C: remove getInsetFromId()
3870 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3876 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3878 * PosIterator.C (distance, advance): new
3879 * bufferview_funcs.[Ch] (put_selection_at): new
3880 * iterators.[Ch] (lockPath): new
3882 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3884 * iterators.[Ch] (asPosIterator): added
3885 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3886 * PosIterator.[Ch]: added
3888 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * cursor.C (dispatch):
3893 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3895 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3896 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3897 contructor, add a class function dispatched. Remove operator>=
3899 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3901 * debug.C: only use the default constructor for debugstream
3904 * main.C (main): include debug.h and setup the lyxerr streambuf
3907 2003-10-31 José Matos <jamatos@lyx.org>
3909 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3911 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3912 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3913 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3914 * paragraph_pimpl.C (simpleTeXSpecialC):
3915 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3916 add LatexRunParams argument.
3918 * exporter.C (Export): change call accordingly.
3920 * latexrunparams.h: add new member to take care of the other backends.
3921 2003-10-30 José Matos <jamatos@lyx.org>
3923 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3924 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3925 factorise code for paragraph output.
3927 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3930 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * text3.C (dispatch):
3933 * lyxfunc.C (dispatch):
3934 * cursor.C (dispatch):
3935 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3937 * dispatchresult.h: make the dispatch_result_t ctor explicit
3939 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3942 * buffer.C: small refactoring of docbook stuff
3944 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3949 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3952 operator dispatch_result_t, and operators for == != and >=
3954 * cursor.C (dispatch): adjust for operator dispatch_result_t
3955 removal. comment out call to update
3957 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3959 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3970 * dispatchresult.h: new file, DispatchResult broken out of
3973 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3975 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3977 * text.C (rowBreakPoint): put a hack inside #if 0
3979 2003-10-28 André Pönitz <poenitz@gmx.net>
3983 * paragraph_funcs.C:
3986 * text2.C: general cleanup (lots of small stuff)
3988 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3990 * text2.C (cursorEnd): simple fix to the "end key goes to one
3991 before the end on last row" bug
3993 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3995 * text.C (backspace): fix the "zombie characters"
3997 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3999 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4001 2003-10-27 André Pönitz <poenitz@gmx.net>
4003 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4005 * factory.C: handle new InsetPagebreak, InsetLine
4007 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4008 and move handling into new InsetPagebreak, InsetLine
4010 * BufferView_pimpl.C:
4012 * ParagraphParameters.C:
4013 * ParameterStruct.h:
4018 * paragraph_funcs.C:
4019 * paragraph_pimpl.C:
4025 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4028 * lyxrow_funcs.[Ch]:
4034 * text3.C: remove lastPos uses in favour of Row::endpos
4036 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4038 * undo.C (performUndoOrRedo): fix two crashes by setting a
4039 cursor by hand and reordering some calls. Use bv->lockInset instead
4040 of inset->edit because the latter loses cursor information
4042 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4044 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4046 (rowBreakPoint): fix width. change point to point + 1.
4047 Add a missing check.
4049 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4052 * lyxfunc.C: fix (at least partly) the problems
4053 with the Nav menu and headers inside branch insets
4056 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4058 * paragraph.C (getChar): add strong asserts
4060 * lyxrow_funcs.C (lastPos): remove hideous hack
4062 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4063 (fill): adjust to that (avoid an infinite loop)
4065 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4067 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4069 2003-10-23 André Pönitz <poenitz@gmx.net>
4071 * RowList_fwd.h: change list<> to vector<> to gain speed
4072 after suggestion from Alfredo
4074 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4076 * lyxtext.h: move the bidi stuff from here...
4079 * Bidi.[Ch]: ... to here
4081 2003-10-23 André Pönitz <poenitz@gmx.net>
4084 * text.C (isLastRow, isFirstRow): new functions
4086 * paragraph.h: new width cache member
4088 * rowpainter.C: replace RowList::iterator with Row & where possible
4090 * lyxfunc.C: replace several view()->text with a single call
4092 * toc.C: fix 'unused' warning
4094 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4097 when woring with stream::pos_type
4098 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4100 2003-10-22 André Pönitz <poenitz@gmx.net>
4103 * text.C: use Row & instead of RowList::iterator
4105 * lyxrow.h: rename end() to endpos()
4111 2003-10-22 Angus Leeming <leeming@lyx.org>
4113 * buffer.[Ch] (fully_loaded): new member function, returning true
4114 only when the file has been loaded fully.
4115 Used to prevent the premature generation of previews and by the
4116 citation inset to prevent computation of the natbib-style label.
4118 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4119 templates are all set up.
4121 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4123 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4125 * text.C: fixed an "oops" in the "is a bit silly"
4128 2003-10-21 André Pönitz <poenitz@gmx.net>
4130 * FuncStatus.[Ch]: small stuff, whitespace
4132 * lyxfont.[Ch]: operator<<() for debug reasons
4136 * lyxtext.h: whitespace, spelling
4138 * paragraph.C: naming of variables
4141 * text2.C: small stuff
4144 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4146 * text.C: (1) finish off the inset display() work;
4147 (2) fix the "is a bit silly" bug (accessing char
4150 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4152 * text.C: re-introduce display() for insets, fixing the
4153 various bugs (stretch of line above, math inset
4156 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4158 * text.C (rightMargin): remove spurious semicolon
4160 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4163 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4165 * text3.C: fix one crash due to wrong cursor def
4167 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * vc-backend.C (scanMaster): make the regex static
4171 * LaTeX.C (scanAuxFile): make the regexs static
4173 * text3.C (doInsertInset, dispatch, dispatch):
4174 * text2.C (cursorUp, cursorDown):
4175 * text.C (selectNextWordToSpellcheck):
4176 * BufferView_pimpl.C (dispatch):
4177 * lyxfunc.C (dispatch): localDispatch -> dispatch
4179 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4181 * lyxsocket.C: include <cerrno>
4183 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * lyxfunc.C (dispatch): remove textcache stuff
4187 * bufferlist.C (release): remove textcache stuff
4190 * TextCache.C: delete file
4191 * TextCache.h: delete file
4193 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4195 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4196 delete of the bv_->text.
4197 (resizeCurrentBuffer): remove texcache stuff
4198 (workAreaResize): ditto
4200 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4202 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4205 2003-10-16 André Pönitz <poenitz@gmx.net>
4212 * text3.C: speed up by storing y positions per paragraph plus per-row
4213 offset instead of having a 'full' y position in the row.
4215 2003-10-15 André Pönitz <poenitz@gmx.net>
4219 * undo.[Ch]: make undo aware of inner insets
4221 2003-10-14 Angus Leeming <leeming@lyx.org>
4223 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4224 static member functions LyX::ref() and LyX::cref.
4225 (lastfiles): new accessor functions for the new lastfiles_ member var.
4226 (addLyXView, views_): add a new LyXView to the list of views_.
4227 (updateInset): loop over all LyXViews to call their own updateInset
4228 member function, returning a pointer to the Buffer owning the inset.
4230 * BufferView_pimpl.C (loadLyXFile):
4231 * MenuBackend.C (expandLastfiles):
4232 * bufferlist.C (MenuWrite, QuitLyX):
4233 lastfiles is no longer a global variable.
4234 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4236 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4237 static function. Access through LyX::cref().emergencyCleanup().
4239 2003-10-14 André Pönitz <poenitz@gmx.net>
4241 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4243 * undo.[Ch]: restoring part of 'undo in insets'
4246 * undo_funcs.[Ch]: merge with undo.[Ch]
4248 * tabular.C: small cleansing stuff
4250 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4252 * paragraph_funcs.C (readParToken): report unknown insets as error
4253 boxes. Use the outer paragraph as location (also for unknown
4256 * factory.C (readInset): do not abort on reading an unknown inset.
4257 Eat it and return 0.
4259 2003-10-13 Angus Leeming <leeming@lyx.org>
4261 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4263 * lyxrc.C: displayTranslator is now a function,
4264 declared in GraphicsTypes.h.
4266 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4268 * format.C: new placeholder $$a to pass the socket address.
4270 * bufferlist.[Ch]: new function getBufferFromTmp.
4272 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4273 files in the temporary dir.
4275 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4277 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4279 * Makefile.am: add lyxsocket.[Ch].
4281 * lyx_main.C (error_handler): handle SIGPIPE.
4283 2003-10-13 André Pönitz <poenitz@gmx.net>
4285 * BufferView_pimpl.C:
4290 * undo_funcs.[Ch]: use paroffset_type instead of
4291 ParagraphList::iterators to prevent multiple conversion
4292 (and get a more robust interface)
4294 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4298 * text3.C (dispatch): ditto
4300 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4303 move the onlyfile, use onlyfile instead of foundfile in a couple
4306 * DepTable.C (update): flush the error stream a bit more
4308 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * lyxserver.C (callback): adjust
4312 * lyxfunc.C (getStatus): add a missing brace in commented code
4313 (ensureBufferClean): reindent
4314 (dispatch): delete version taking a string
4316 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * LaTeX.C (deplog): move found file handlig from here...
4319 (handleFoundFile): .. to new function here.
4320 (deplog): make sure to discover several files mentioned on the
4323 2003-10-10 André Pönitz <poenitz@gmx.net>
4330 * text3.C: fix some of the tabular crashes
4332 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4334 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4336 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4338 2003-10-09 André Pönitz <poenitz@gmx.net>
4340 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4343 * BufferView_pimpl.C:
4344 * bufferview_funcs.C:
4355 * undo_funcs.C: adjust
4357 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * text2.C (incrementItemDepth): new function, use a backtracking
4360 algorithm to discover the correct item depth.
4361 (resetEnumCounterIfNeeded): new function, use a backtracking
4362 algorithm to discover if counter reset is needed.
4363 (setCounter): use them. Simplify a bit. Add different labels for
4364 different item depths for itemize.
4366 * paragraph.C (Paragraph): remove initialization of enumdepth
4369 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4370 enumerate and itemize. Change the type of itemdepth to signed char.
4372 2003-10-08 André Pönitz <poenitz@gmx.net>
4374 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4379 * tabular.[Ch]: fix crash after 'row-insert'
4381 2003-10-08 Angus Leeming <leeming@lyx.org>
4383 Fix doxygen warnings.
4385 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4386 Remove CutAndPaste:: prefix from header file declaration.
4388 * LColor.h (fill): remove LColor:: prefix from declaration.
4390 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4391 use lyx::depth_type rather than Paragraph::depth_type so that
4392 header file and .C file match.
4394 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4396 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4397 * aspell.C: \file aspell_local.C -> \file aspell.C
4398 * gettext.C: \file gettext.C -> \file src/gettext.C
4399 * gettext.h: \file gettext.h -> \file src/gettext.h
4400 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4401 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4402 * text.C: \file text.C -> \file src/text.C
4404 * toc.C: move comment so that doxygen is not confused.
4406 2003-10-07 Angus Leeming <leeming@lyx.org>
4408 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4410 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4413 * aspell_local.h: add forgotten std::string's.
4415 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4422 * text3.C: The Box patch. Fancybox support, minipage, parbox
4424 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4430 * ParagraphParameters.h:
4440 * lyxtextclasslist.h:
4443 * paragraph_pimpl.C:
4444 * textcursor.h: add <string> and other small fixes to make Lars'
4445 std::string patch compile with STLport.
4447 2003-10-06 Angus Leeming <leeming@lyx.org>
4449 * LColor.h: Add missing #include <string>.
4451 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4453 * All most all file in all subdirs: Make <string> be the prefered
4454 way of getting to std::string, add using declarations.
4456 2003-10-06 André Pönitz <poenitz@gmx.net>
4458 * metricsinfo.C: initialize LyXFont before changing attribute.
4459 (fixes the 'math in \emph is upright' bug)
4461 2003-10-06 André Pönitz <poenitz@gmx.net>
4463 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4465 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4468 * paragraph_pimpl.C: Small fixes to build using STLport
4470 2003-10-02 André Pönitz <poenitz@gmx.net>
4473 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4475 2003-10-01 André Pönitz <poenitz@gmx.net>
4477 * factory.C: assert early
4479 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * lyx_main.C: remove the global debug object
4483 * debug.h: adjust for new debugstream
4485 * debug.C: adjust for new debugstream and keep the global debug
4488 2003-09-22 Angus Leeming <leeming@lyx.org>
4490 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4491 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4492 an incomplete class LyXFont.
4494 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4496 * factory.C: bug fix in branches
4498 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * lyxfunc.C (processKeySym): adjust
4502 (dispatch): change arg name from ev to func, adjust
4503 (sendDispatchMessage): ditto
4505 * lyx_main.C (defaultKeyBindings): adjust keybindings
4506 (deadKeyBindings): ditto
4508 * kbsequence.C (addkey): return a FuncRequest
4510 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4512 * kbmap.C (bind): take a FuncRequest as arg, adjust
4515 (defkey): change to take a FuncRequest as arg, adjust
4516 (findbinding): take a FuncRequest as arg, adjust.
4518 * funcrequest.h (operator=): added
4520 * funcrequest.C (FuncRequest): default kb_action changed from
4521 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4523 * buffer.C (dispatch): simplify
4524 (dispatch): adjust to take a FuncRequest as arg, adjust
4526 * boost.C (assertion_failed): change assertion message slightly
4528 * ToolbarBackend.C (read): simplify
4530 * MenuBackend.C (binding): adjust call to findbinding, add a
4531 message if no binding is found.
4533 (expandToc): correct by adding a empty FuncRequest
4535 * LyXAction.C: include <boost/assert.hpp>
4536 (isPseudoAction): delete function
4537 (LookupFunc): change name to...
4538 (lookupFunc): this. change return type to FuncRequest.
4539 (getActionName): take kb_action as arg, simplify
4540 (funcHasFlag): add an assert, simplify.
4542 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * toc.C (action): return a FuncRequest, simplify
4546 * lyxfunc.C (processKeySym): adjust
4547 (getStatus): delete version that takes an int.
4549 (dispatch): delete version that takes action as int
4551 (sendDispatchMessage): simplify and adjust
4553 * funcrequest.C (getArg): take unsigned int as arg
4555 * ToolbarBackend.C (read): adjust
4556 (add): delete version that takes func as a string.
4557 (getIton): take a FuncRequest as arg
4559 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4562 * MenuBackend.C (MenuItem): add a new construct that only takes a
4563 Kind, simplify the constructor use for submenus.
4565 (expandLastfiles): adjust
4566 (expandDocuments): adjust
4567 (expandFormats): adjust
4568 (expandFloatListInsert): adjust
4569 (expandFloatInsert): adjust
4570 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4572 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4573 Remove class variables lyx_pseudo_map and lyx_arg_map
4575 * LyXAction.C (searchActionArg): delete function
4576 (getPseudoAction): delete function
4577 (retrieveActionArg): delete function
4578 (LookupFunc): make it return kb_action, simplify.
4579 (getActionName): simplify
4581 * factory.C (createInset): fix new bug
4583 2003-09-19 Angus Leeming <leeming@lyx.org>
4585 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4586 masterFilename_ parameter in the include inset.
4588 * factory.C (createInset): changes due to the changes to InsetInclude.
4590 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4592 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4594 2003-09-18 Angus Leeming <leeming@lyx.org>
4597 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4598 Inset::fillWithBibKeys.
4599 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4601 2003-09-18 Angus Leeming <leeming@lyx.org>
4603 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4605 (ctor): pass and store a 'Buffer const &'
4606 (buffer): new member function.
4608 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4609 '*this' to the LaTeXFeatures ctor.
4611 2003-09-18 Angus Leeming <leeming@lyx.org>
4617 * text.C: rename EnumLColor as LColor_color.
4619 2003-09-18 Angus Leeming <leeming@lyx.org>
4621 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4622 remove #include "insets/insetbase.h" from cursor.h.
4624 2003-09-18 Angus Leeming <leeming@lyx.org>
4626 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4627 InsetOld_code to remove #include "inset.h".
4629 * iterators.C: add #include "insets/inset.h"
4631 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4633 * BufferView.C: remove more locking stuff that apparently doesn't
4634 do anything sensible.
4636 2003-09-16 André Pönitz <poenitz@gmx.net>
4639 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4642 2003-09-16 Angus Leeming <leeming@lyx.org>
4644 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4646 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4649 * paragraph.h: remove #include "lyxfont.h". Forward declare
4652 2003-09-16 Angus Leeming <leeming@lyx.org>
4654 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4655 of support/textutils.h.
4656 (isWord): move the contents of support/textutils.h's IsWordChar here.
4662 * text2.C: add #include "paragraph.h".
4665 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4667 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * LaTeX.C: use namespace alias for lyx::support::os
4675 2003-09-16 Angus Leeming <leeming@lyx.org>
4678 * bufferview_funcs.C:
4681 * paragraph_pimpl.C:
4683 * text.C: add #include "LColor.h".
4685 2003-09-16 Angus Leeming <leeming@lyx.org>
4687 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4688 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4690 Store the FontBits::color variable as an int rather than as an
4691 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4694 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4695 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4696 string calls together.
4698 * lyxrc.C: add #include "LColor.h".
4700 2003-09-15 Angus Leeming <leeming@lyx.org>
4702 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4705 2003-09-15 Angus Leeming <leeming@lyx.org>
4707 * LColor.h: add an EnumLColor wrapper for LColor::color.
4709 * lyxfont.[Ch] (color, setColor, realColor):
4710 * lyxtext.h, text.C (backgroundColor):
4711 pass EnumLColor args to/from the functions, rather than LColor::color
4715 * lyxtext.h: forward declare EnumLColor.
4717 * lyx_main.C: add #include "LColor.h".
4719 2003-09-15 Angus Leeming <leeming@lyx.org>
4721 * .cvsignore: add lyx-gtk.
4723 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * ParagraphParameters.C
4732 * bufferview_funcs.C
4742 * vc-backend.C: remove usage of STRCONV
4744 2003-09-15 Angus Leeming <leeming@lyx.org>
4746 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4747 explicitly define the color passed to the painter.
4749 2003-09-15 Angus Leeming <leeming@lyx.org>
4751 * bufferparams.C (BufferParams): reorder member initializers to avoid
4754 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4756 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4757 * text.C (updateRowPositions): remove an unusual nop
4759 2003-09-12 André Pönitz <poenitz@gmx.net>
4761 * BufferView_pimpl.C:
4770 * Counters.[Ch]: finish the 'automatic counters' job
4772 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4774 * aspell.C: include <boost/assert.cpp> (compile fix)
4776 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4778 * boost.C (assertion_failed): use lyx::support::abort instead of
4781 2003-09-10 Angus Leeming <leeming@lyx.org>
4783 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4784 with their _fwd progeny.
4786 2003-09-09 Angus Leeming <leeming@lyx.org>
4788 134 files throughtout the source tree: replace 'using namespace abc;'
4789 directives with the appropriate 'using abc::xyz;' declarations.
4791 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4793 * boost.C (emergencyCleanup): moved here from LAssert.c
4794 (assertion_failed): new function, called by BOOST_ASSERT
4796 * several files: change Assert to BOOST_ASSERT
4798 2003-09-09 Angus Leeming <leeming@lyx.org>
4800 * buffer.[Ch]: Add an Impl class and move Buffer's member
4801 variables into it. As a result move several header files out of
4804 Add header files to lots of .C files all over the tree as a result.
4806 2003-09-09 Angus Leeming <leeming@lyx.org>
4808 * buffer.[Ch]: make Buffer's member variables private. Add
4811 Lots of changes all over the tree as a result.
4813 2003-09-08 Angus Leeming <leeming@lyx.org>
4815 * graph.C: #include <config.h>.
4817 2003-09-08 Angus Leeming <leeming@lyx.org>
4821 * BufferView_pimpl.C:
4850 * toc.C: remove redundant using directives.
4852 2003-09-07 Angus Leeming <leeming@lyx.org>
4854 * LaTeXFeatures.h: remove #include "support/types.h".
4855 * ToolbarBackend.h: remove #include <algorithm>.
4856 * changes.h: remove #include <ctime>.
4857 * debug.h: remove #include <iosfwd>.
4858 * graph.h: remove #include "support/std_string.h".
4859 * lyx_main.h: remove #include <csignal>.
4860 * lyxlex_pimpl.h: remove #include <fstream>.
4861 * sgml.h: remove #include <algorithm>, <utility>.
4862 * toc.h: remove #include "support/std_ostream.h".
4863 Add #include <iosfwd>.
4865 2003-09-07 Angus Leeming <leeming@lyx.org>
4867 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4869 * converter.h: forward declare LatexRunParams.
4870 * encoding.h: remove #include "lyxrc.h".
4871 * lyxtext.h: remove #include "LColor.h".
4872 * lyxtextclass.h: remove #include "support/types.h".
4873 * trans.h: remove #include "tex-accent.h".
4874 * trans_mgr.h: remove #include "tex-accent.h".
4875 * insets/inset.h: remove #include "support/types.h", <vector>.
4876 * insets/insetcollapsable.h: remove #include "LColor.h".
4877 * insets/insetinclude.h: remove #include "dimension.h".
4878 * insets/insetlatexaccent.h: remove #include "dimension.h".
4879 * insets/insetoptarg.h:: remove #include "insettext.h".
4880 * insets/insettext.h: remove #include "dimension.h",
4881 <boost/shared_ptr.hpp>
4883 * insets/renderers.h: add #include "dimension.h".
4884 * insets/updatableinset.h: add #include "support/types.h".
4886 * many .C files: Associated changes.
4888 2003-09-06 Angus Leeming <leeming@lyx.org>
4890 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4891 one, inside testInvariant.
4893 * PrinterParams.C: new file.
4894 * PrinterParams.[Ch]: move the function bodies out of line.
4896 2003-09-06 Angus Leeming <leeming@lyx.org>
4898 * ParagraphParameters.h: forward declare ParameterStruct rather than
4899 including its header file.
4900 (depth): moved out-of-line.
4902 2003-09-06 Angus Leeming <leeming@lyx.org>
4904 * BufferView_pimpl.h:
4907 * lyxfunc.h: forward declare LyXKeySym rather than
4908 #include "frontends/LyXKeySym.h".
4910 * BufferView_pimpl.C:
4913 * lyxfunc.C: associated changes.
4915 2003-09-06 Angus Leeming <leeming@lyx.org>
4917 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4918 As a result, can remove the #include "insets/inset.h" from BufferView.h
4920 2003-09-06 Angus Leeming <leeming@lyx.org>
4922 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4923 As a result, can remove the #include "insets/inset.h" from BufferView.h
4925 2003-09-06 Angus Leeming <leeming@lyx.org>
4931 * bufferview_funcs.C:
4932 * BufferView_pimpl.C:
4937 * ParagraphParameters.C:
4942 * frontends/controllers/ControlDocument.C:
4943 * insets/insetcaption.C: rearrange the #includes into some sort of
4946 * buffer.h: remove #includes ErrorList.h, undo.h
4948 2003-09-06 Angus Leeming <leeming@lyx.org>
4950 * support/types.h: add a 'depth_type' typedef, used to store the
4951 nesting depth of a paragraph.
4954 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4955 defining explicitly.
4958 * paragraph_funcs.h:
4959 * ParagraphParameters.h:
4960 * sgml.h: use lyx::depth_type rather than Paragraph or
4961 ParameterStruct's depth_type.
4964 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4967 * BufferView_pimpl.C:
4969 * ParagraphParameters.C:
4972 * bufferview_funcs.C:
4979 * frontends/LyXView.C:
4980 * frontends/controllers/ControlDocument.C:
4981 * frontends/controllers/ControlErrorList.C:
4982 * insets/insetbibitem.C:
4983 * insets/insetbranch.C:
4984 * insets/insetcaption.C:
4985 * insets/insetcollapsable.C:
4986 * insets/insetenv.C:
4987 * insets/insetert.C:
4988 * insets/insetfloat.C:
4989 * insets/insetfoot.C:
4990 * insets/insetfootlike.C:
4991 * insets/insetnewline.C:
4992 * insets/insetquotes.C:
4993 * insets/insettabular.C:
4994 * insets/insettext.C:
4995 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4997 * frontends/controllers/ControlChanges.C: #include "changes.h".
4999 2003-09-06 Angus Leeming <leeming@lyx.org>
5001 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5002 than #including paragraph.h.
5005 * RowList.h: deleted. Superfluous.
5015 * insets/insettext.h: use ParagraphList_fwd.h rather than
5018 * paragraph.h: don't forward declare ParagraphList.
5021 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5022 rather than ParagraphList.h. paragraph.h is still needed for the
5023 Paragraph::depth_type parameters.
5025 * textcursor.h: enable it to compile stand-alone in light of the
5028 * bufferview_funcs.C:
5040 * frontends/controllers/ControlParagraph.C:
5041 * frontends/controllers/ControlTabular.C:
5042 * insets/insetmarginal.C:
5043 * insets/insetminipage.C:
5044 * insets/insetnote.C:
5045 * insets/insetoptarg.C: add header files needed to compile again.
5047 2003-09-06 Angus Leeming <leeming@lyx.org>
5049 * RowList_fwd.h: new file, forward-declaring Row rather than
5050 #including lyxrow.h.
5055 * insets/insettext.h: use it instead of RowList.h
5057 * bufferview_funcs.C:
5064 * text3.C: #include "RowList.h".
5066 2003-09-05 Angus Leeming <leeming@lyx.org>
5068 * factory.C (createInset):
5069 * vspace.C (c-tor): replace sscanf call with an istringstream.
5070 * ispell.C: re-add missing HP/UX headers.
5071 * lyxserver.C: re-add missing os2 headers.
5073 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5082 * text3.C: re-add missing system headers, needed for 2.95.2.
5084 2003-09-05 Angus Leeming <leeming@lyx.org>
5086 Changes most place everywhere due to the removal of using directives
5087 from support/std_sstream.h.
5089 2003-09-05 Angus Leeming <leeming@lyx.org>
5091 Replace LString.h with support/std_string.h,
5092 Lsstream.h with support/std_sstream.h,
5093 support/LIstream.h with support/std_istream.h,
5094 support/LOstream.h with support/std_ostream.h.
5096 Changes resulting throughout the tree.
5098 2003-09-05 Angus Leeming <leeming@lyx.org>
5100 * sgml.h: ensure that the header file can be compiled stand-alone.
5101 * *.C: strip out redundant #includes. (320 in total.)
5103 2003-09-04 Angus Leeming <leeming@lyx.org>
5105 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5106 here (from getPackages).
5108 * debug.[Ch]: add a new EXTERNAL tag.
5110 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5112 * text2.C (cursorEnd): simplify
5114 (getColumnNearX): adjust
5116 * text.C (computeBidiTables): adjust
5119 * rowpainter.C (paintChars): adjust
5120 (paintSelection): adjust
5121 (paintChangeBar): adjust
5124 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5126 (numberOfSeparators): adjust
5128 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5134 * text3.C: Restricts the mouse click functionality
5135 of insets like bibtex, include, toc and floatlist to the visible
5136 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5137 up the dialogs. Cursor has to be in front of the inset (i.e.
5138 start of row) for this to function.
5140 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5142 * bufferview_funcs.C (currentState): output row information
5144 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5146 * bufferview_funcs.C (currentState): output paragraph position
5148 2003-09-04 Angus Leeming <leeming@lyx.org>
5150 * FloatList.h: move out #include "Floating.h".
5151 * LaTeX.h: move out #include "DepTable.h".
5152 * LyXAction.h: move out #include "funcrequest.h".
5153 * buffer.h: move out #include "author.h", "iterators.h".
5154 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5155 * lyx_main.h: move out #include "errorlist.h".
5156 * lyxfunc.h: move out #include "FuncStatus.h".
5157 * lyxtext: move out #include "lyxcursor.h".
5158 * paragraph_pimpl.h: move out #include "counters.h".
5160 2003-09-03 Angus Leeming <leeming@lyx.org>
5162 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5163 preamble_snippets list, enabling us to add snippets to the preamble
5164 only if the snippet was not there already.
5166 2003-09-04 Angus Leeming <leeming@lyx.org>
5168 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5170 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5172 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5175 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5177 * BranchList.C: point fix, earlier forgotten
5179 2003-09-02 Angus Leeming <leeming@lyx.org>
5181 * box.C (contains): renamed from 'contained' after a fantastic
5184 2003-09-02 John Levon <levon@movementarian.org>
5190 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5192 2003-09-02 John Levon <levon@movementarian.org>
5194 * text2.C: simplification of cursorEnd(), including partial
5197 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5199 * buffer.C (readFile): add a space
5201 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5203 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5205 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5207 * buffer.C (readFile): new function, take a filename and a
5208 ParagraphList::iterator
5210 (readFile): adjust, make it private. don't use setStream, make
5211 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5212 always contain the filename.
5214 * BufferView.C (insertLyXFile): simplify and make it work for
5217 2003-08-30 John Levon <levon@movementarian.org>
5219 * Makefile.am: fix dist (from Kayvan)
5221 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * most files: change to use const Buffer refs
5225 2003-08-27 André Pönitz <poenitz@gmx.net>
5227 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5228 on top of ownerPar().
5230 2003-08-27 John Levon <levon@movementarian.org>
5232 * funcrequest.C: properly initialise POD members
5234 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5236 * lyxtext.h (top_y): move top_y from here
5241 * BufferView_pimpl.[Ch]: to here
5242 * frontends/screen.C:
5243 * insets/insettabular.C:
5244 * insets/insettext.C: adjust
5245 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5247 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5250 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5252 2003-08-26 André Pönitz <poenitz@gmx.net>
5254 * paragraph_func.[Ch] (outerPar): new function
5257 * paragraph_funcs.C:
5258 * paragraph_funcs.h:
5259 * paragraph_pimpl.C:
5260 * text2.C: remove Inset::par_owner
5262 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5267 * text2.C: eliminates the needFullRow/display() stuff
5268 altogether, putting the logic in metrics/draw in the insets.
5270 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5272 * text2.C (redoParagraphInternal, redoParagraphs):
5273 * text.C (redoParagraph): add a call to updateRowPositions at the
5274 end of each 'metrics-like' call. Remove all others.
5275 (getRow): remove the 'y-computing' version.
5276 (getRowNearY): do not compute nor return the real y. Solve the
5277 'y < 0' problem and simplify.
5279 2003-08-22 Angus Leeming <leeming@lyx.org>
5281 * *.[Ch]: clean-up of licence and author blurbs.
5282 Also move config.h out of a few .h files and into a few .C files.
5284 2003-08-22 André Pönitz <poenitz@gmx.net>
5286 * lyxrow.[Ch]: add x_ and *fill_ members
5291 * text2.C: adjust/remove prepareToPrint() calls
5293 2003-08-22 André Pönitz <poenitz@gmx.net>
5295 * lyxrow.[Ch]: add end_ member
5297 * lyxrow_funcs.C: use LyXRow::end_
5299 * lyxtext.h (singleWidth): add LyXFont parameter
5302 * text2.C: adjust LyXText::singleWidth() calls
5304 * text.C (redoParagraph): simplify row breaking logic
5307 2003-08-19 André Pönitz <poenitz@gmx.net>
5309 * funcrequest.C: initialize button_ member
5312 * rowpainter.[Ch]: interface consolidation
5314 2003-08-18 André Pönitz <poenitz@gmx.net>
5317 * BufferView_pimpl.C:
5319 * paragraph_funcs.C:
5321 * text3.C: remove LyXScreen::draw() and fitCursor calls
5323 * BranchList.h: remove spurious semicolons
5325 * MenuBackend.C: fix branchlist related crash
5327 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5335 * bufferparams.[Ch]:
5339 * text3.C: implements the 'branch inset'
5340 idea. This allows the output of various versions of a document
5341 from a single source version, selectively outputing or suppressing
5342 output of parts of the text.
5343 This implementation contains a 'branch list editor' in a separate
5344 tab of the document settings dialog. Branches are user definable
5345 and have a "display colour" to distinguish them on-screen.
5347 ColorHandler was somewhat cleaned up.
5348 (1) make possible a dynamically growing LColor list by allowing
5349 the graphic context cache to grow along (vector);
5350 (2) eliminate an IMHO unnecessary step in colour allocation.
5352 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5354 * BufferView_pimpl.C: compile fix
5356 2003-08-15 André Pönitz <poenitz@gmx.net>
5358 * rowpainter.C: remove extra metrics calls
5360 * lyxtext.h: merge the two constructors into a single one,
5361 pass reference to owner's par list
5363 * BufferView_pimpl.C:
5367 2003-08-15 André Pönitz <poenitz@gmx.net>
5369 * lyxrow_funcs.[Ch]:
5372 * paragraph_funcs.C:
5377 * text_funcs.C: split LyXText::rowlist_ into individual
5378 Paragraph::rows_ chunks
5381 * BufferView_pimpl.[Ch]:
5384 * text3.C: remove toggleSelection()
5386 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5388 * bufferlist.C: beautify two alerts (shorter text of buttons)
5389 * buffer.C: Remove redundant ' ' from message
5391 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5392 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5393 rename VALIGN_CENTER to VALIGN_MIDDLE
5395 2003-08-11 André Pönitz <poenitz@gmx.net>
5397 * lyxtext.h (getPar):
5398 * text.C: new function
5400 2003-08-11 André Pönitz <poenitz@gmx.net>
5403 * tracer.[Ch]: remove unneeded files
5405 * InsetList.[Ch]: remove resizeInsetsLyXText()
5410 * text3.C: merge insertParagraphs() and appendParagraph()
5411 remove breakAgain(), update()
5413 * BufferView_pimpl.[Ch]:
5414 * bufferview_funcs.[Ch]:
5418 * tabular.C: adjust after text & InsetList changes.
5420 2003-08-08 André Pönitz <poenitz@gmx.net>
5422 * text.C (insertChar, backspace): replace rowlist fiddling
5423 with rebreak of full par
5426 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5427 checkParagraph, updateInset): removed
5429 2003-08-07 André Pönitz <poenitz@gmx.net>
5432 * text3.C: merge some LFUN handlers, remove dead code
5434 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5436 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5438 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5440 * text2.C (DEPM): fix part of bug 1255 and 1256
5442 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5444 * BufferView_pimpl.C (workAreaDispatch): change to use
5445 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5446 that are no mouse related.
5448 2003-08-05 André Pönitz <poenitz@gmx.net>
5451 * BufferView_pimpl.[Ch]:
5452 * bufferview_funcs.C:
5454 * text3.C: rip out "deep update"
5456 * textcursor.[Ch] (last_sel_cursor): remove unused member
5458 2003-08-04 André Pönitz <poenitz@gmx.net>
5461 * BufferView_pimpl.[Ch]:
5462 * ParagraphParameters.C:
5463 * bufferview_funcs.C:
5469 * text3.C: replace "complicated" BufferView::update(...) calls with
5472 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5474 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5476 * Makefile.am (lyx_SOURCES): add paper.h
5478 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5480 * Makefile.am: move things around so that both lyx-qt and
5481 lyx-xforms can be built (according to --with-frontend). Then lyx
5482 is a symbolic link to lyx-[firstfrontend]
5484 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5486 * Always use std::endl with lyxerr
5488 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5490 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5492 2003-08-01 André Pönitz <poenitz@gmx.net>
5495 * BufferView_pimpl.[Ch]:
5497 * text3.C: merge BufferView::repaint() and BufferView::update()
5499 2003-08-01 José Matos <jamatos@lyx.org>
5501 * buffer.[Ch]: file_format is no longer a buffer data element.
5503 2003-08-01 André Pönitz <poenitz@gmx.net>
5508 * text2.C: make redoParagraph more independent of current cursor
5510 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5512 * text2.C: remove unneeded members
5514 2003-07-30 André Pönitz <poenitz@gmx.net>
5516 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5518 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5519 create a single function...
5521 * paragraph_funcs.C (moveItem): ... here.
5524 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5526 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5528 * LColor.[Ch]: Add comment and greyedout logical colors.
5530 2003-07-30 André Pönitz <poenitz@gmx.net>
5532 * tabular.C: don't use Assert too heavily. This crashes where it
5535 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5537 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5538 is disabled (bug 1232)
5540 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5542 * factory.C: limited 'arg' scope
5544 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5546 * factory.C: fixed Note submenu issues
5548 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5550 * factory.C: submenu for Note/Comment/Greyedout
5552 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5555 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5557 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5560 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5561 greyedout. Patch provided by Jürgen Spitzmüller.
5563 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5565 * kbmap.C (read): fix error message when reading bind files
5567 2003-07-29 Angus Leeming <leeming@lyx.org>
5569 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5570 certainly does not do what it purports to do. I am doing it, and
5571 us, a favour by killing it.
5573 2003-07-28 José Matos <jamatos@lyx.org>
5575 * buffer.C (readBody, do_writeFile):
5576 * paragraph.C(readParagraph): \end_document replaces \the_end.
5578 2003-07-29 André Pönitz <poenitz@gmx.net>
5581 * BufferView_pimpl.[Ch]:
5585 * textcursor.[Ch]: remove toggleToggle & Co
5587 2003-07-28 José Matos <jamatos@fep.up.pt>
5589 * buffer.C (readParagraph):
5590 * params_func (readParToken, readParagraph):
5591 * paragraph.C (write): \layout -> \begin_layout.
5593 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * lyxlex_pimpl.C (setFile): clean up slightly.
5597 * bufferparams.h: add compressed var
5599 * buffer_funcs.C (readFile): adjust for LyXLex change
5600 (newFile): ditto + simplify
5602 * buffer.C (writeFile): handle writing of compressed files
5604 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5605 Check if the file is compressed and set a bufferparm if so.
5607 * Makefile.am (lyx_LDADD): remove explicit -lz
5609 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5611 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5612 makeDocBookFile): put the real LyX version in the first line of
5616 * version.C.in: remove lyx_docversion
5618 * tabular.C (write_attribute): add a template-based version to
5619 write enums properly
5621 2003-07-28 André Pönitz <poenitz@gmx.net>
5626 * text3.C: use doubles again for x-coordinates. They are needed.
5628 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * messages.C (getLocaleDir): use lyx_localedir()
5632 * lyxlex_pimpl.C (setFile): compress stuff
5634 * buffer.C (writeFile): add some compression stuff
5635 (do_writeFile): new func, dont call expliti close... will this
5638 * Makefile.am (lyx_LDADD): add -lz
5640 2003-07-28 José Matos <jamatos@fep.up.pt>
5642 * buffer.C: increment file format.
5643 * paragraph_funcs (readParagraph, readParToken):
5644 * paragraph.C (readParagraph): add \end_layout.
5646 2003-07-27 Angus Leeming <leeming@lyx.org>
5648 * Makefile.am: remove special casing for configure-time setting of
5649 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5651 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5652 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5654 2003-07-26 André Pönitz <poenitz@gmx.net>
5656 * paragraph_func.[Ch]:
5657 * paragraph.C (realizeFont): inline it whereever it is used
5662 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5665 2003-07-26 André Pönitz <poenitz@gmx.net>
5669 * text2.C: get rid of LyXText::need_break_row
5671 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5673 * toc.[Ch]: put namespace toc inside namespace lyx
5675 * MenuBackend.C (expandToc2): adjust for lyx::toc
5678 * lyxfunc.C (dispatch): adjust for lyx::find
5680 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5681 lyx::find instead. Reorganize a bit.
5682 (LyXReplace): rename to replace
5683 (LyXFind): rename to find
5685 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5688 2003-07-26 André Pönitz <poenitz@gmx.net>
5690 * text.C (setHeightOfRow): restrict scope of temporary variable
5692 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5693 code (never has been used?)
5695 2003-07-27 Asger Alstrup <alstrup@local>
5697 * text.C (fill): Optimise algorithm to exploit that we can reuse
5698 the LyXFont for many characters.
5699 (setHeightOfRow): Same thing.
5700 (rowBreakPoint): Same thing.
5702 2003-07-26 Asger Alstrup <alstrup@local>
5704 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5706 * text.C (singleWidth): Spurious font copying in hot-spot
5707 singleWidth avoided. Reorder tests for arabic for efficiency.
5709 * text.C (fill): handle empty paragraphs better.
5711 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5714 * encoding.h: add includes
5716 * lyxrc.C: remove reading of bind files
5718 * lyx_main.C (init): setup bindings and menus only if we have a
5721 * kbmap.C (read): new method. Do the actual reading of bind
5724 * converter.C (dvipdfm_options):
5727 (output): adapt PAPER_* enums.
5729 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5731 * bufferparams.h: remove paper-related enums from there
5733 * paper.h: New file. A trivial header file to hold paper-related
5734 enums. It should later expand to contain many paper-related
5737 * lyxrc.C: declare extern displayTranslator
5739 2003-07-27 José Matos <jamatos@fep.up.pt>
5741 * tabular.[Ch] (linuxdoc): add support for tables and figures
5744 2003-07-27 José Matos <jamatos@fep.up.pt>
5746 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5747 consistency in both functions.
5748 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5750 2003-07-26 Asger Alstrup <alstrup@local>
5752 * rowpainter.C (paintRows): Change algorithm to work directly on
5753 the insets rather than asking every character in the document
5754 whether its an inset.
5756 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5758 * buffer.C (openFileWrite): factorize some code
5760 2003-07-26 Angus Leeming <leeming@lyx.org>
5763 * lyx_main.[Ch]: replace occurances of system_tempdir with
5766 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * rename Inset to InsetOld
5770 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5772 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5773 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5774 which I think is a bit clearer. EDIT is gone, since it was
5775 premature optimisation, and broken for mathed anyway.
5776 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5777 with cursor positioning in insets as well (math insets still do not
5778 work, but that's a different story anyway.) It mysteriously
5779 crashes sometimes with undo in the first paragraph, but I'm fairly
5780 confident that this is a compiler bug.
5782 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * paragraph.C (Paragraph): adjust for new clone return type
5786 (copyIntoMinibuffer): ditto
5788 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5790 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5791 by not having a special case, and always doing a full rebreak of
5792 the document after undo.
5794 2003-07-23 Angus Leeming <leeming@lyx.org>
5796 * factory.C (createInset): InsetExternal::setParams now takes a
5799 2003-07-23 Angus Leeming <leeming@lyx.org>
5801 * factory.C (createInset): changed interface to the external and
5802 graphics mailers' string2params functions.
5804 2003-07-23 Angus Leeming <leeming@lyx.org>
5806 * factory.C (createInset): pass a
5807 Buffer const * parameter to InsetExternalMailer's string2params.
5809 2003-07-22 John Levon <levon@movementarian.org>
5811 * Thesaurus.h: include the right aiksaurus header
5813 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5815 * MenuBackend.C (expand): check menu shortcuts unconditionally
5817 2003-07-21 Angus Leeming <leeming@lyx.org>
5819 * factory.C (createInset): pass a
5820 buffer_path parameter to InsetGraphicsMailer's string2params.
5822 2003-07-21 Angus Leeming <leeming@lyx.org>
5824 * BufferView_pimpl.C (buffer):
5827 * lyxfunc.C (dispatch):
5828 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5829 rather than the grfx shortcut.
5831 2003-07-21 André Pönitz <poenitz@gmx.net>
5833 * rowpainter.C: remove unused variables
5836 * tabular_funcs.h: move to tabular.C
5837 * Makefile.am: adjust
5839 * tabular.[Ch]: basic optical cleaning
5841 * author.h: pass references, not values
5843 2003-07-18 André Pönitz <poenitz@gmx.net>
5851 * text3.C: two-phase drawing for InsetText and InsetTabular
5852 some float -> int changes.
5854 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5856 * lyx_main.C: fix the fix
5858 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5860 * lyx_main.C: fix a crash in batch mode if no files specified
5863 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5865 * format.[Ch] (papersize): moved to BufferParams
5866 * converter.[Ch] (dvips_options): moved to BufferParams
5867 (dvipdfm_options): moved to anon namespace
5868 * bufferparams.[Ch]: added above functions.
5870 2003-07-17 André Pönitz <poenitz@gmx.net>
5874 * text2.C: don't call inset->update() anymore
5876 * metricsinfo.[Ch]: add convenience constructor
5878 2003-07-16 André Pönitz <poenitz@gmx.net>
5883 * text2.C: replace the LyXCursor::irow_ member with
5884 on-demand computation of the value
5886 2003-07-16 John Levon <levon@movementarian.org>
5888 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5890 2003-07-15 André Pönitz <poenitz@gmx.net>
5893 * text2.C: remove no more needed refresh_row
5895 2003-07-15 André Pönitz <poenitz@gmx.net>
5900 * text3.C: refresh_status tristate -> need_update bool
5902 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5904 * lyxtext.h (init): remove reinit argument (act as if always true)
5905 * text2.C: adjust to that
5907 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5909 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5910 * text3.C: use it to delete selections in some cases
5911 (bugs 441, 673, 702, 954).
5913 2003-07-14 André Pönitz <poenitz@gmx.net>
5915 * rowpainter.[Ch]: reduce interface
5917 2003-07-14 André Pönitz <poenitz@gmx.net>
5919 * BufferView_pimpl.C:
5920 * text2.C: adjust after removing unused BufferView * argument
5922 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5924 * text2.C (init): fix a crash fired on resize
5926 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5928 * buffer.[Ch]: added new closing signal
5929 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5930 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5931 BufferView::Pimpl via the closing the signal
5933 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5935 * buffer.[Ch]: take out all bv-related from buffer
5937 * BufferView_pimpl.[Ch]: connect to new signals
5938 * CutAndPaste.C: removed useless asserts
5939 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5942 * lyxfunc.C: moved view-related funciontality from vc here
5943 * paragraph.C: removed outdated comments
5946 2003-07-10 André Pönitz <poenitz@gmx.net>
5948 * BufferView_pimpl.C:
5952 * text2.C: remove InsetText::InnerCache, clean up consequences
5954 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5956 * ispell.C: fix two typos in error messages
5958 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5960 * Extend Note inset to other forms of annotation like Comment
5961 and Greyedout. Right button click gives dialog.
5963 Files modified or added (+):
5967 * ControlNote.[Ch] +
5969 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5970 frontends/controllers
5974 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5976 * aspell.C: add missing namespace lyx::support
5978 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5980 * BufferView.[Ch] (newFile): Add
5981 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5982 * LaTeX.[Ch] (message): added this signal and use it
5983 * buffer.[Ch] (busy, message): added these signals and use them
5984 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5988 * importer.C: use buffer signals instead of direct bv calling
5989 * lyx_cb.[Ch] (ShowMessage): removed
5992 * paragraph_funcs.C:
5993 * text2.C: use buffer signals
5995 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * introduce namespace lyx::graphics
5999 2003-07-02 André Pönitz <poenitz@gmx.net>
6001 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6003 2003-07-01 André Pönitz <poenitz@gmx.net>
6010 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6011 text*.C to text_func.C
6013 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * introduce namespace lyx::support
6017 2003-06-30 André Pönitz <poenitz@gmx.net>
6022 * text.C: re-enable --with-included-string
6024 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6026 * textcursor.C: add <config.h>
6028 * text.C (getWord): remove const from word_location arg
6030 * lyxvc.C (getLogFile): fix const type order
6032 * lyxtext.h: remove const from word_location arg, add arg name
6034 * lyxlayout.h: currect type on labeltype.
6036 * importer.C: correct \file
6038 * converter.C (intToFormat): use std:: on ret val, ws changes
6040 * bufferlist.h: correct \file
6042 * buffer.C (makeLinuxDocFile): fix const type order
6043 (makeDocBookFile): ditto
6044 (fillWithBibKeys): use std:: on stdlib args.
6046 * CutAndPaste.C: fix authors.
6047 (availableSelections): use std:: on return vector
6049 2003-06-27 André Pönitz <poenitz@gmx.net>
6051 * BufferView_pimpl.C:
6052 * bufferview_funcs.C:
6060 * text3.C: remove LyXCursor::row_ member
6063 * text.C: rename fullRebreak() to partialRebreak() and implement
6064 a fullRebreak() that really bereks fully
6066 * textcursor.h: new struct for cursor-related data
6068 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6070 * lyx_main.C (LyX): get full path of document loaded on the
6073 2003-06-26 André Pönitz <poenitz@gmx.net>
6075 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6076 remove unused/broken operator>,<,>=.
6078 * text.C: remove only use of broken operator<= in an Assert().
6080 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6082 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6083 moved errorlist_.clear to showErrorList
6085 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6087 * converter.C (scanLog, runLaTeX):
6088 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6089 move the bv->showErrorList call to the callers
6090 * lyxfunc.C: i.e. here...
6092 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6093 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6094 namespace, the second to...
6095 * buffer_funcs (BufferFormat, parseErrors): added
6096 * errorlist.C (ErrorList(TeXErrors const &)): removed
6098 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6100 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6102 2003-06-24 "Garst R. Reese" <reese@isn.net>
6106 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6108 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6110 * version.C.in: change docversion to 1.4
6112 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6114 * buffer.C: fix a bug just introduced
6116 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6118 * buffer.[Ch]: added the parseError signal and use it, removed
6120 * BufferView.[Ch] (addError): moved to ...
6121 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6122 to the Buffer::parseError signal to catch (guess what) parse errors
6123 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6125 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6127 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6128 ability to create a buffer and to return an existing one from
6129 the list. Moved these functions to...
6130 * buffer_funcs.[Ch]: added
6131 * BufferView.[Ch] (loadLyXFile): added
6132 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6133 job removed from bufferlist::loadLyXFile.
6134 * buffer.C (setReadOnly): make it work without view
6135 (i.e added an if (users))
6137 2003-06-19 Angus Leeming <leeming@lyx.org>
6140 * LyXAction.C (init):
6141 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6142 with LFUN_DIALOG_SHOW <name> <data>.
6144 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6146 * CutAndPaste.C (availableSelections): small compilation fix for
6147 ancient (gcc 2.9x) compilers
6149 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * text3.C (cursorNext): add tmp var
6153 * text2.C (updateCounters): for function calling out of for clause
6154 (replaceSelectionWithString): ditto
6155 (insertStringAsParagraphs): ditto
6156 (getColumnNearX): add tmp var
6157 (setCursorFromCoordinates): add tmp var
6158 (cursorDownParagraph): add tmp var
6159 (deleteEmptyParagraphMechanism): add tmp var
6161 * text.C (insertChar): add tmp var
6163 * rowpainter.C (paintDepthBar): add tmp var
6165 * CutAndPaste.C (availableSelections): potentially check all
6166 paragraphs in a cut to fill the shown strings.
6168 2003-06-18 André Pönitz <poenitz@gmx.net>
6170 * kbmap.[Ch]: use vector<> instead of list<>
6172 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6174 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6175 pasteSelection with index
6177 * text2.C (pasteSelection): modify, call pasteSelection with index
6179 * paragraph.C (asString): reimplement version with no interval to
6180 call the one with interval.
6182 * lyxtext.h: add index arg to pasteSelection
6184 * MenuBackend.C (MenuItem): handle PasteRecent
6185 (Menu::read::Menutags): add md_pasterecent
6187 (expandPasteRecent): new function
6190 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6192 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6194 (availableSelections): new function
6196 2003-06-17 Angus Leeming <leeming@lyx.org>
6198 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6200 2003-06-17 Angus Leeming <leeming@lyx.org>
6203 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6205 * lyxfunc.C (dispatch): invoke it.
6207 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6209 * iterators.C (operator++, ParPosition): reintroduce some
6210 const_cast for the benefit of older compilers.
6212 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6214 * text3.C (dispatch): do not modify clipboard when doing
6215 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6216 LFUN_DELETE_SKIP on a selection selection
6218 2003-06-16 André Pönitz <poenitz@gmx.net>
6224 * tabular.[Ch]: IU of clone() and getLabelList();
6226 2003-06-13 André Pönitz <poenitz@gmx.net>
6228 * tabular.h: compactification
6230 2003-06-12 André Pönitz <poenitz@gmx.net>
6234 * tabular_funcs.h: some renaming plus whitespace
6236 2003-06-12 André Pönitz <poenitz@gmx.net>
6239 * BufferView_pimpl.C:
6245 * toc.C: Return a Paragraph & for ParIterator::operator*()
6247 2003-06-11 John Levon <levon@movementarian.org>
6251 * ToolbarBackend.C: add "Toolbars" section and
6254 2003-06-10 Angus Leeming <leeming@lyx.org>
6257 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6259 * lyxfunc.C (dispatch): invoke it.
6261 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * main.C: protect <ios> with HAVE_IOS
6264 (main): protect sync_with_stdio with HAVE_IOS
6266 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6268 * text2.C (cutSelection): adjust
6269 (pasteSelection): adjust
6271 * messages.C: handle get of empty string
6273 * main.C (main): use sync_with_stdio(false)
6275 * lyxfunc.C (dispatch): adjust
6277 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6278 (WriteAs): remove unneeded BufferView arg.
6280 * bufferparams.h: use correct types on papersize, papersize2 and
6283 * bufferparams.C (readToken): adjust for type
6284 (writeLaTeX): add missing cases to switch.
6286 * bufferlist.C (quitWriteBuffer): adjust
6289 * buffer.C (asciiParagraph): remove some commented code.
6291 * CutAndPaste.C: remove current_view extern variable.
6292 (cutSelection): add BufferParams arg.
6293 (eraseSelection): add BufferParams arg.
6294 (pasteSelection): add Buffer const & arg
6296 2003-06-07 John Levon <levon@movementarian.org>
6299 * paragraph_funcs.C:
6300 * paragraph_pimpl.C:
6304 * paragraph.C: allow InsetERT to freely space lines,
6305 and some consolidation of code
6307 2003-06-06 José Matos <jamatos@fep.up.pt>
6309 * buffer.C (makeDocBookFile): fix bug #821
6311 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6313 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6315 2003-06-04 Angus Leeming <leeming@lyx.org>
6317 * buffer.C: bump format to 224.
6319 2003-06-05 André Pönitz <poenitz@gmx.net>
6321 * text2.C (redoParagraphs): remove two const_cast<>
6323 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6325 * ParagraphList.h: remove last remnants of NO_STD_LIST
6327 2003-06-03 Angus Leeming <leeming@lyx.org>
6329 * factory.C (createInset): small change to the way InsetExternal's params
6332 2003-06-04 André Pönitz <poenitz@gmx.net>
6334 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6336 * paragraph_pimpl.h:
6337 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6339 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6341 * undo_funcs.C: make some simple cases of undo work again
6343 2003-06-03 John Levon <levon@movementarian.org>
6345 * ispell.C: HPUX doesn't have sys/select.h
6348 2003-06-03 John Levon <levon@movementarian.org>
6350 * CutAndPaste.C: update tabular and include inset
6355 * paragraph.C: remove owningBuffer(), don't pass Buffer
6358 * factory.C: insetGraphicsParams changed
6360 2003-06-02 John Levon <levon@movementarian.org>
6366 * text3.C: remove insetparent
6368 2003-06-02 John Levon <levon@movementarian.org>
6371 * buffer.C: fix inset_iterator.end(), move out of line
6374 2003-06-01 John Levon <levon@movementarian.org>
6376 * text3.C: use a proper cut/paste when doing inset
6377 insert (from Jürgen Spitzmüller)
6379 2003-06-01 John Levon <levon@movementarian.org>
6381 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6383 2003-05-30 André Pönitz <poenitz@gmx.net>
6385 * rowpainter.C: unify second drawing phase
6387 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * trans_mgr.C: remove one case of current_view
6391 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6393 * paragraph_funcs.h: remove paragraph.h include
6395 * paragraph.h: delete NO_STD_LIST stuff
6397 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6399 * buffer.h: remove paragraph.h include
6401 * ParagraphList.C: delete file
6403 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6405 * toc.C (getTocList): adjust
6407 * paragraph_pimpl.C (validate): adjust
6409 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6411 * paragraph.C (Paragraph): adjust
6412 (getPositionOfInset): use const_iterator, adjust
6413 (bibitem): use const_iterator, adjust
6414 (setInsetOwner): adjust
6416 * iterators.C (operator++): adjust
6418 * InsetList.[Ch]: Replace selfmade iterator with standard
6419 vector::iterator also introduce const_iterator. Remove getPos,
6420 getInset and setInset from InsetTable. Adjust accordingly.
6422 * BufferView.C (lockInset): adjust
6423 (ChangeInsets): adjust
6425 * tabular.[Ch]: delete commented same_id functions
6427 2003-05-28 John Levon <levon@movementarian.org>
6429 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6431 2003-05-28 André Pönitz <poenitz@gmx.net>
6433 * metricsinfo.[Ch]: remove 'fullredraw' member
6435 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6437 * lyxtextclass.C (operator): remove caching.
6439 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * text2.C (cursorBottom): adjust
6444 (setCounter): use ParagraphList::find, adjust
6446 * text.C (workWidth): use ParagraphList::find, adjust
6448 * lyxcursor.C (LyXCursor): adjust
6450 * buffer.C (inset_iterator): adjust
6452 * ParagraphList.h: make iterator(value_type) private, make
6453 ParagraphList a friend of iterator.
6455 * ParagraphList.C (find): new function
6457 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6459 2003-05-27 André Pönitz <poenitz@gmx.net>
6461 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6463 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6465 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6467 2003-05-26 John Levon <levon@movementarian.org>
6469 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6471 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * remove same_id from function signatures, adjust.
6475 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6479 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6481 * paragraph.C (Paragraph): get rid of same_ids parameter
6483 * ParagraphList.C (insert): adjust
6486 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6488 * paragraph_funcs.C (breakParagraph): adjust
6489 (breakParagraphConservative): adjust
6491 * buffer.C (readParagraph): adjust
6493 * ParagraphList.C (insert): take a reference instead of a pointer
6496 * paragraph.[Ch] (id): new function
6498 * bufferlist.C (newFile): adjust
6500 * ParagraphList.C (ParagraphList): adjust
6502 (push_back): take a reference instead of a pointer.
6504 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6506 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6509 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6510 set else use old code.
6512 * ParagraphList.C: remove all NO_NEXT code and only compile this
6513 code of NO_STD_LIST is set.
6515 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6517 * BufferView_pimpl.C:
6527 * graphics/GraphicsConverter.C:
6528 * graphics/PreviewLoader.C: header adjustment
6530 2003-05-23 Angus Leeming <leeming@lyx.org>
6532 * LaTeXFeatures.[Ch] (useBabel): new method.
6533 * bufferparams.C (writeLaTeX): use it.
6535 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * ParagraphList.h (set): remove unused function.
6539 2003-05-23 André Pönitz <poenitz@gmx.net>
6542 * BufferView_pimpl.C:
6546 * undo_funcs.C: setUndo reworked
6548 * iterators.[Ch]: add access to topmost ParagraphList
6550 * lyxtext.[Ch] (workWidth): add a const
6552 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6554 * texrow.[Ch] (increasePos): remove function
6555 * exporter.C (export): removed unused var and outdated comment
6557 2003-05-23 Angus Leeming <leeming@lyx.org>
6559 * latexrunparams.h: rename fragile as moving_arg.
6560 * paragraph.C (simpleTeXOnePar): ditto.
6561 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6563 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6565 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6567 (textUndoOrRedo): comment out a currently unused var.
6569 * paragraph.h (NO_NEXT): enable NO_NEXT
6571 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6573 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6575 * exporter.C (Export): adjust for removeAutoInsets removal.
6577 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6579 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6581 * BufferView.[Ch] (removeAutoInsets): delete function
6583 2003-05-22 Angus Leeming <leeming@lyx.org>
6585 * latexrunparams.h: add a free_spacing variable.
6587 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6588 to pass moving_arg, as the data is stored in runparams.fragile.
6590 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6591 to Inset::latexOptional or to simpleTeXOnePar.
6593 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6594 free_spacing arg to Inset::latexOptional.
6596 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6599 2003-05-22 Angus Leeming <leeming@lyx.org>
6601 * latexrunparams.h: add fragile and use_babel variables.
6603 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6604 * buffer.C (makeLaTeXFile): store this returned value in
6605 runparams.use_babel, thus passing it to the inset::latex methods.
6607 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6608 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6610 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6611 longer has a fragile arg, as it is stored in runparams.fragile.
6613 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6614 moving_arg parameter as the data is stored in runparams.fragile.
6616 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6617 a fragile parameter as the data is stored in runparams.fragile.
6619 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6623 2003-05-22 Angus Leeming <leeming@lyx.org>
6625 * latexrunparams.h: add a 'bool nice' which defaults to false.
6627 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6628 now encapsulated within runparams.
6630 * bufferlist.C (updateIncludedTeXfiles):
6631 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6633 2003-05-22 Angus Leeming <leeming@lyx.org>
6635 * latexrunparams.h: new file containing struct LatexRunParams.
6636 * Makefile.am: add new file.
6638 * LaTeX.[Ch] (c-tor, run):
6639 * buffer.[Ch] (makeLaTeXFile):
6640 * bufferlist.[Ch] (updateIncludedTeXfiles):
6641 * converter.C (convert, scanLog):
6642 * converter.[Ch] (runLaTeX):
6643 * exporter.C (Export):
6644 * paragraph.[Ch] (simpleTeXOnePar):
6645 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6646 * paragraph_funcs.[Ch] (latexParagraphs):
6647 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6648 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6649 pass around a LatexRunParams parameter.
6651 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * paragraph.[Ch]: remove unused constructor
6655 * ParagraphList.C (erase): new function, taking two iterators
6657 2003-05-22 André Pönitz <poenitz@gmx.net>
6659 * undo_funcs.C: remove duplicated code
6661 * iterator.[Ch]: operator=
6663 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * tabular.C (SetMultiColumn): ws changes
6667 * rowpainter.C (paintFirst): get rid of a ->previous
6669 * lyx_cb.C (getPossibleLabel): parlist simplification
6671 * BufferView.C (ChangeInsets): simplify slightly.
6673 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6675 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6676 * lfuns.h: new LFUN_SPACE
6677 * lyxfunc.C: protected space has a new lfun
6678 * paragraph_funcs.C: read new space insets
6680 * factory.C: handle new space insets
6682 2003-05-22 André Pönitz <poenitz@gmx.net>
6685 * BufferView_pimpl.C:
6688 * undo_funcs.C: return a ParIterator from getParFromID.
6690 * iterators.[Ch]: add two const's
6692 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6694 * toc.C (getTocList): adjust
6696 * iterators.[Ch]: rework for parlist
6698 * buffer.C (par_iterator_begin): adjust
6699 (par_iterator_end): adjust
6701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6703 * BufferView.C (removeAutoInsets): adjust
6704 (ChangeInsets): adjust
6706 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6708 * text.C (top_y): fix bug 1110
6710 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6712 * errorlist.[Ch]: added
6715 * BufferView_pimpl.C:
6716 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6719 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6721 * Makefile.am: ensure that lyx is relinked upon changes to the
6722 various "convenience" libs.
6724 2003-05-20 Angus Leeming <leeming@lyx.org>
6726 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6727 files are compiled in alphabetical order again.
6729 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6731 2003-05-19 Angus Leeming <leeming@lyx.org>
6733 * gettext.[Ch]: remove "char const * _(char const *)".
6735 2003-05-19 André Pönitz <poenitz@gmx.net>
6737 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6746 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6748 2003-05-19 André Pönitz <poenitz@gmx.net>
6752 * lyxtextclass.[Ch]:
6754 * paragraph_funcs.[Ch]:
6756 * text3.C: more insetenv work
6758 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6760 * ParagraphParameters.C (params2string): small bug fixed
6762 2003-05-16 André Pönitz <poenitz@gmx.net>
6765 * bufferview_funcs.C: patch from Kornel Benko to prevent
6766 crash when _(...) is called twice in a statement
6768 2003-05-16 André Pönitz <poenitz@gmx.net>
6775 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6777 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6779 * lyx_main.C (init): remove spurious static_cast
6781 2003-05-14 André Pönitz <poenitz@gmx.net>
6783 * BufferView.C: fix format string
6785 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6787 * BufferView.[Ch] (insertErrors): removed
6788 * BufferView.[Ch] (showErrorList): added
6789 * buffer.C (runChkTeX):
6790 * converter.C (scanLog): call showErrorList instead of inserterrors
6792 2003-05-13 André Pönitz <poenitz@gmx.net>
6794 * BufferView_pimpl.C:
6796 * bufferview_func.C:
6803 * tabular_funcs.h: tostr() from its own header
6805 * ParagraphParameters.C:
6810 * text3.C: STRCONV()
6812 2003-05-12 André Pönitz <poenitz@gmx.net>
6815 * BufferView_pimpl.C:
6819 * ParagraphParameters.C:
6823 * bufferview_funcs.C:
6836 * paragraph_funcs.C:
6840 * text3.C: boost::format -> bformat all over the place
6843 2003-05-09 André Pönitz <poenitz@gmx.net>
6845 * LColor.[Ch]: Pimpl the #include <map> away
6847 2003-05-09 John Levon <levon@movementarian.org>
6849 * bufferlist.C: never remove emergency saves
6851 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * Makefile.am: better lib building
6855 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6859 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6860 (simpleTeXSpecialChars): adjust
6861 (simpleTeXSpecialChars): adjust
6862 * paragraph.C (simpleTeXOnePar): adjust
6863 * buffer.C (makeLaTeXFile): adjust
6865 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6867 * text2.C (changeDepth): parlist cleanup
6868 (getColumnNearX): ditto
6870 * rowpainter.C (getLabelFont): parlist cleanup
6872 * bufferlist.C (newFile): parlist cleanup
6874 * CutAndPaste.C (eraseSelection): parlist cleanup
6876 * BufferView_pimpl.C (trackChanges): parlist cleanup
6879 * BufferView.C (lockInset): parlist cleanup.
6880 (ChangeInsets): ditto
6882 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * CutAndPaste.h: Update file header.
6886 * CutAndPaste.C: Update file header.
6887 Store the parts cut out of the Document in a limited_stack.
6888 (copySelection): adjust
6889 (pasteSelection): new function, takes the index in the limited stack.
6890 (nrOfParagraphs): adjust
6891 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6892 simplify error inset insertion.
6893 (checkPastePossible): adjust
6895 2003-05-06 John Levon <levon@movementarian.org>
6897 * text2.C: don't cast wrap inset to float
6899 2003-05-05 André Pönitz <poenitz@gmx.net>
6902 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6904 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6905 few naked Paragraph *.
6907 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6909 * bufferparams.C: Output warning if a document with missing
6910 TeX document class is loaded
6911 * exporter.C: Disable TeX exports if the document class is missing
6914 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6915 isTeXClassAvailable()
6917 2003-05-03 John Levon <levon@movementarian.org>
6920 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6921 explicit cursor show/hide
6923 * BufferView_pimpl.h:
6924 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6925 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6927 * lyxfunc.C: hide cursor before dispatching.
6932 * text3.C: remove explicit cursor hides
6934 2003-05-02 André Pönitz <poenitz@gmx.net>
6936 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6939 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6942 * text2.C: tiny whitespace
6944 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * undo_funcs.C: almost only ws changes.
6948 * ParagraphList.C (splice): just return if pl is empty.
6950 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6952 * ParagraphList.C (splice): new function.
6954 * CutAndPaste.C (pasteSelection): use it
6956 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * CutAndPaste.C (pasteSelection): remove the last next and
6959 previous from this file.
6961 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6963 * CutAndPaste.C (pasteSelection): more clean up, user proper
6964 ParagraphList functions for pasteing.
6966 * ParagraphList.C (insert): new function, three arg insert
6968 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * ParagraphList.C (insert): new function, three arg insert
6972 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6975 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6979 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6981 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6983 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6985 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6986 (copySelection): clean up a bit.
6987 (pasteSelection): use make_pair
6989 * ParagraphList.C (ParagraphList): implement copy constructor
6990 (operator=): implement, base on copy constructor.
6993 * paragraph.C (erase): return a bool
6995 * paragraph_pimpl.C (erasePos): remove function, move contents...
6996 (erase): ... here. Return a bool.
6997 (erase): call erase instead of erasePos.
6999 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7001 * ParagraphList.h: define PitPosPair
7002 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7003 ParagraphList, fix a bug on pasting multiple pars
7004 * text2.C: change interface to C&P
7006 2003-04-30 André Pönitz <poenitz@gmx.net>
7008 * undo_func.C: revert part of yesterday's patch 2
7010 2003-04-30 John Levon <levon@movementarian.org>
7012 * LColor.C: s/tabular/table/
7014 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7016 * text3.C (dispatch): do not convert iterator -> pointer
7017 * undo_funcs.C (setCursorParUndo): ditto
7018 * text_funcs.C (transposeChars): ditto
7020 * text2.C (setLayout): ws changes only
7022 * text.C (breakParagraph): do not convert iterator -> pointer
7024 (acceptChange): ditto
7025 (rejectChange): ditto
7030 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7033 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7035 * text3.C (gotoInset): YABG (yet another bad getChar)
7037 2003-04-29 André Pönitz <poenitz@gmx.net>
7039 * paragraph.h: make operator= private unimplemented as long as
7042 * ParagraphList.C: whitespace
7045 * paragraph_pimpl.[Ch]:
7046 * paragraph_funcs.C:
7048 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7051 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7053 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7055 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7056 * paragraph.[Ch] (erase):
7057 * paragraph_pimpl.[Ch] (erase): change return type and value
7058 * text2.C (cutSelection): some rework
7060 2003-04-28 John Levon <levon@movementarian.org>
7062 * bufferlist.C: changes for unsaved changes dialog
7064 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * bufferlist.C (newFile): set language (messages_) for new
7069 * buffer.C (readFile): ws changes only.
7071 2003-04-28 André Pönitz <poenitz@gmx.net>
7076 * BufferView_pimpl.C:
7077 * BufferView.C: getParFromID related ParagraphList::iterator changes
7079 2003-04-28 André Pönitz <poenitz@gmx.net>
7081 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7084 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * messages.C: remove one more localedir class variable.
7088 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * messages.C (getLocaleDir): singleton generation function
7092 (Messages): add a default constructor.
7094 * main.C (main): do not setup localedir here, do not call
7097 * gettext.C (_): use it.
7098 (gettext_init): delete funciton
7100 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * gettext.C (getLyXMessages): new singleton generating function.
7104 * buffer.C (updateDocLang): adjust
7106 * Makefile.am (messages.o): add target
7107 (main.o): remove target
7109 2003-04-27 John Levon <levon@movementarian.org>
7114 * lyxvc.C: specify cancel button in Alert::prompt
7116 2003-04-26 John Levon <levon@movementarian.org>
7121 * LyXAction.C: add LFUN_INSET_SETTINGS
7123 * lyxfunc.C: don't enable tabular-feature when there's
7124 just any locking inset
7126 2003-04-26 John Levon <levon@movementarian.org>
7128 * bufferlist.C: re-add Cancel to buffer close question
7130 * lyxfunc.C: fix import UI a bit
7132 2003-04-25 John Levon <levon@movementarian.org>
7134 * gettext.C: remove the broken asserts for now
7136 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * messages.C: make case where setlocale cannot comply work better.
7140 * buffer.C (updateDocLang): new function
7141 (changeLanguage): use it
7144 * text2.C (setCounter): use B_ a bit.
7146 * lyxlayout.C (Read): be sure to trim the label strings.
7148 * messages.C (Messages): fix typo in comment
7150 * buffer.C (readFile): set message_ after file is loaded.
7151 (makeDocBookFile): remove double return
7152 (changeLanguage): reset message_ upon language change.
7153 (B_): new func, use this to get translated buffer strings.
7155 * main.C: add myself and Jean Marc as authors.
7157 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * messages.[hC]: pimplify Messages, and three different pimpls to be
7160 used in different circumstances.
7162 * gettext.[Ch]: change for use with new message code.
7164 2003-04-24 André Pönitz <poenitz@gmx.net>
7166 * factory.C: support for eqref
7168 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * messages.[Ch]: add missing char
7172 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7174 * messages.[Ch]: New files
7176 2003-04-18 John Levon <levon@movementarian.org>
7180 * BufferView_pimpl.C:
7184 * text2.C: remove layout-copy/paste (bug 778)
7186 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7188 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7190 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7192 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7193 if they succeed. Act accordingly.
7195 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * text2.C (setCharFont): adjust
7198 (setCounter): adjust
7199 (insertStringAsLines): adjust
7201 * text.C (leftMargin): adjust
7202 (setHeightOfRow): adjust
7204 * rowpainter.C (paintFirst): adjust
7207 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7209 (isFirstInSequence): ditto
7210 (getEndLabel): ditto
7213 * paragraph.C (getParLanguage): comment out some hard stuff.
7215 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7217 (simpleDocBookOnePar): ditto
7218 (makeDocBookFile): use ParagraphList::iterator
7220 * CutAndPaste.C (pasteSelection): adjust
7222 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * text2.C (getFont): adjust
7225 (getLayoutFont): adjust
7226 (getLabelFont): adjust
7228 * paragraph_funcs.C (TeXOnePar): adjust
7230 * buffer.C (simpleLinuxDocOnePar): adjust
7231 (simpleDocBookOnePar): adjust
7233 * CutAndPaste.C (pasteSelection): adjust
7235 * BufferView.C (getEncoding): adjust
7237 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7239 2003-04-16 John Levon <levon@movementarian.org>
7241 * lyxfind.C: use parlist stuff for search/changes
7243 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7247 * text2.C (deleteEmptyParagraphMechanism): adjust
7249 * text2.[Ch] (ownerParagraph): delete func (both of them
7251 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7253 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7255 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * ParagraphList.C: prepare for NO_NEXT
7259 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * text2.C (getFont): adjust
7262 (getLayoutFont): adjust
7263 (getLabelFont): adjust
7265 * paragraph.C (getFont): adjust
7266 (getLabelFont): adjust
7267 (getLayoutFont): adjust
7269 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7271 2003-04-15 John Levon <levon@movementarian.org>
7275 * lyx_main.C: handle Include in .ui files
7277 2003-04-15 John Levon <levon@movementarian.org>
7279 * MenuBackend.C: make the doc files length shorter
7282 * ToolbarBackend.C: handle toolbar placement flags,
7285 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7287 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7290 * paragraph_funcs.C (TeXOnePar): adjust
7292 * paragraph.C (getLabelFont): add outerfont arg, adjust
7293 (getLayoutFont): ditto
7294 (simpleTeXOnePar): adjust
7296 * paragraph_pimpl.C (realizeFont): delete func
7298 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7300 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7301 row argument, constify cur argument.
7303 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * text2.C (getFont): adjust
7306 (getLayoutFont): adjust
7307 (getLabelFont): adjust
7309 * paragraph_funcs.C (TeXOnePar): adjust
7310 (outerFont): new func...
7311 (realizeFont): ...moved out from here, changed this to facilitate
7314 * paragraph.C (getFont): take outerfont as arg, adjust
7315 (simpleTeXOnePar): add outerfont arg, adjust
7317 * buffer.C (simpleLinuxDocOnePar): adjust
7318 (simpleDocBookOnePar): adjust
7320 * CutAndPaste.C (pasteSelection): adjust
7322 * BufferView.C (getEncoding): adjust
7324 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7326 * text2.C (setCharFont): adjust
7327 (setCounter): adjust
7329 * text.C (leftMargin): adjust
7330 (setHeightOfRow): adjust
7332 * rowpainter.C (paintFirst): adjust
7335 * paragraph_pimpl.C (realizeFont): adjust
7337 * paragraph.C (isFirstInSequence): move from here...
7338 * paragraph_funcs.C (isFirstInSequence): ...to here
7340 * paragraph.C (outerHook): move from here...
7341 * paragraph_funcs.C (outerHook): ...to here
7343 * paragraph.C (depthHook): move from here...
7344 * paragraph_funcs.C (depthHook): ...to here
7346 * paragraph.C (getEndLabel): move from here...
7347 * paragraph_funcs.C (getEndLabel): ...to here
7349 * text2.C (realizeFont): move from here...
7350 * paragraph_funcs.C (realizeFont): ...to here
7352 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7356 2003-04-14 Angus Leeming <leeming@lyx.org>
7358 * LColor.[Ch]: scrap LColor mathcursor.
7360 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * lyxlex.[Ch] (text): delete function
7363 * trans.C (Load): adjust
7364 * paragraph_funcs.C (readParToken): adjust
7366 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7369 vector<char> instead of a char[].
7371 * lyxlex_pimpl.C (getString): adjust
7373 (lex): use getString
7377 * lyxlex.C (text): use pimpl_->getString()
7381 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7384 (makeFontEntriesLayoutSpecific): temp var for par.size()
7385 (setLayout): temp var for ownerParagraphs().end()
7386 (fullRebreak): temp var for rows().end()
7387 (selectionAsString): temp var for boost::next(startpit), realize
7388 that the while really is a regular for loop.
7389 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7390 setCursor in one place.
7391 (setParagraph): temp vr for ownerParagraphs().end()
7392 (updateCounters): make the while loop a for loop
7393 (cutSelection): temp var for ownerParagraphs().end()
7394 (updateInset): make the do {} while() a regular for loop
7395 (getCursorX): use temp vars
7396 (setCurrentFont): use temp vars
7397 (getColumnNearX): use temp vars
7399 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * text.C (transformChar): use temp var for getChar
7402 (computeBidiTables): use temp var for row->par()
7403 (fill): move temp vars for row->par() and pit->layout() earlier in
7405 (labelFill): use temp var for row->par()
7406 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7407 asc and desc, realize that pit never changes and that firstpit is
7408 just a duplicate and not needed. Exchange rit->par() with pit in a
7410 (breakAgain): use a temp var for boost::next(rit)
7411 (breakAgainOneRow): ditto
7412 (breakParagraph): use a temp var for rows().begin()
7413 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7414 (cursorRightOneWord): use temp var for cursor.par() and
7415 cursor.pos(), remove usage of tmpcursor.
7416 (cursorLeftOneWord): use temp var for cursor.par() and
7417 cursor.pos() only set cur at end of function.
7419 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * text.C, text2.C: exchange all usage of Paragraph::next with
7422 boost::next(ParagraphList::iterator)
7424 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7426 * text2.C (cursorTop): simplify implementation
7427 (cursorBottom): ditto
7428 (setParagraph): use ParagraphList::iterator
7429 (setCurrentFont): adjust
7430 (getColumnNearX): adjust
7431 (cursorRight): adjust
7432 (cursorLeft): remove usage of Paragraph::previous
7433 (cursorUpParagraph): ditto
7434 (deleteEmptyParagraphMechanism): slight cleanup
7436 * text.C (isBoundary): take a Paragraph const & instead of a
7438 (addressBreakPoint): ditto
7439 (leftMargin): remove usage of Paragraph::previous.
7440 (setHeightOfRow): ditto
7441 (cursorLeftOneWord): ditto
7442 (selectNextWordToSpellcheck): ditto
7445 (breakParagraph): remove one usage of Paragraph::next
7446 (redoParagraph): ditto
7447 (acceptChange): ditto
7448 (insertChar): adjust
7449 (rowBreakPoint): adjust
7451 * bufferview_funcs.C (toggleAndShow): adjust
7453 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7455 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7456 methods to access it.
7458 * text.C: Added updateRowPositions to compute all row positions.
7459 Make top_y and getRowNearY() to use the cached y position
7461 2003-04-11 John Levon <levon@movementarian.org>
7463 * text.C (rowBreakPoint): reintroduce the labelEnd
7464 checks, code copied from the row fill stuff. Deep voodoo.
7466 * text.C (fill): add a comment and debugging for the
7469 2003-04-11 John Levon <levon@movementarian.org>
7471 * text.C: make sure fullrow insets get wrapped to the next line,
7472 even when they're in a manual label
7474 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * text2.C (insertParagraph): make it take ParagraphList::iterator
7478 (setLayout): make it return ParagraphList::iterator
7479 (redoParagraphs): ditto
7481 (checkParagraph): ditto
7483 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7485 * text2.C: adjust several funcs.
7486 (realizeFont): take a ParagraphList::iterator as arg.
7487 (getLayoutFont): ditto
7488 (getLabelFont): ditto
7489 (setCharFont): ditto
7491 * text.C: adjust several funcs.
7493 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7495 * text.C (selectNextWordToSpellcheck): don't accidentally
7498 2003-04-10 John Levon <levon@movementarian.org>
7500 * ToolbarBackend.C (getIcon): special handling for
7503 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7505 * text2.C (cursorRight): a getChar assert fixed
7507 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * text2.C (getFont): change to take a ParagraphList::iterator
7510 instead of Paragraph*
7511 Adjust several functions.
7513 * text.C (transformChar): change to take a ParagraphList::iterator
7514 instead of Paragraph*
7515 (singleWidth): ditto
7516 Adjust several functions.
7518 * rowpainter.C: adjust several functions
7519 * rowpainter.h:store a ParagraphList::iterator and not a
7523 2003-04-09 John Levon <levon@movementarian.org>
7528 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7529 and the "help" bits as well
7531 2003-04-09 John Levon <levon@movementarian.org>
7534 * ToolbarBackend.C: allow multiple toolbars
7536 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * undo_funcs.C (setCursorParUndo): adjust
7540 * text_funcs.C (transposeChars): adjust
7542 * text3.C (gotoNextInset): adjust
7545 * text2.C (setLayout): adjust
7546 (changeDepth): adjust
7548 (redoParagraphs): adjust
7549 (selectionAsString): adjust
7550 (setParagraph): adjust
7551 (insertInset): adjust
7552 (cutSelection): adjust
7553 (copySelection): adjust
7554 (pasteSelection): adjust
7555 (insertStringAsLines): adjust
7556 (updateInset): adjust
7557 (setCursor): change to take a ParagraphList::iterator parameter
7558 (setCursorIntern): change to take a ParagraphList::iterator parameter
7559 (setCurrentFont): adjust
7560 (cursorLeft): adjust
7561 (cursorRight): adjust
7562 (deleteEmptyParagraphMechanism): adjust
7564 * text.C (breakParagraph): adjust
7565 (insertChar): adjust
7566 (acceptChange): adjust
7567 (rejectChange): adjust
7568 (selectNextWordToSpellcheck): adjust
7569 (changeCase): adjust
7573 * lyxfind.C (SearchForward): adjust
7574 (SearchBackward): adjust
7575 (nextChange): adjust
7577 * lyxcursor.C (par): adjust
7579 * lyxcursor.h: store a ParagraphList::iterator instead of a
7582 * lyx_cb.C (getPossibleLabel): adjust
7584 * bufferview_funcs.C (toggleAndShow): adjust
7586 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7589 * BufferView.C (removeAutoInsets): adjust
7590 (lockedInsetStoreUndo): adjust
7592 2003-04-09 John Levon <levon@movementarian.org>
7594 * ToolbarBackend.C: try icon without argument
7595 if with argument fails
7597 2003-04-08 John Levon <levon@movementarian.org>
7600 * ToolbarBackend.C: add getIcon(), handle tooltip,
7601 and change from "Icon" to "Item".
7603 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7605 * BufferView.C (lockInset): another bad getchar crunched
7607 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7609 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7612 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7614 * lyxfind.C (searchForward, searchBackwards): bug 782
7616 2003-04-07 John Levon <levon@movementarian.org>
7618 * paragraph.C: remove dead comment
7620 * text.C: remove troublesome depth-fiddling code
7621 in leftMargin() and rightMargin() (bug 1017)
7623 * text.C: fix breaking of rows in nested lists
7626 * text2.C (updateCounters): fix up depth values
7629 2003-04-07 John Levon <levon@movementarian.org>
7631 * BufferView_pimpl.C: clear message when doc finishes resizing,
7632 and after a mouse event
7634 * lyxfunc.C: clear message after exiting inset
7636 2003-04-07 John Levon <levon@movementarian.org>
7638 * bufferview_funcs.C: show math status not outside
7639 status in the statusbar
7641 2003-04-07 John Levon <levon@movementarian.org>
7643 * lyxfunc.C: note status changed after a depth change
7645 2003-04-04 Angus Leeming <leeming@lyx.org>
7647 * LaTeX.h: move AuxInfo operator==, != out of line.
7648 Remove LaTeX virtual destructor; nothing derives from it.
7649 Move operator()() out of public area and rename it startscript().
7650 Change protected for private.
7652 2003-04-04 Angus Leeming <leeming@lyx.org>
7655 * text2.C: remove unneeded #includes.
7657 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7659 * text2.C (dEPM): fix the heigth of the next row
7661 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7663 * text.C: squashed an invalid getChar requester + some ws changes
7665 2003-04-03 John Levon <levon@movementarian.org>
7667 * bufferview_funcs.h:
7668 * bufferview_funcs.C:
7671 * text2.C: make getStatus work for the env depth lfuns
7673 2003-04-03 John Levon <levon@movementarian.org>
7675 * bufferview_funcs.h:
7676 * bufferview_funcs.C:
7679 * text2.C: parlistize decDepth(), by merging it with incDepth()
7681 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * lyxrow.h: store a ParagraphList::iterator instead of a
7684 Paragraph* and adjust other class functions to suit.
7686 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7689 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7691 * text2.C (setCursor): do not anchor to cursor row for the time being
7693 2003-04-02 John Levon <levon@movementarian.org>
7700 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7702 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7704 * paragraph.h: make ParagraphList and ParagraphList::iterator
7705 friends of Paragraph.
7707 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7709 * ParagraphList.C: Use the private next_ and previous_ from
7712 2003-04-01 John Levon <levon@movementarian.org>
7716 * Makefile.am: rename, remove defaults gunk
7719 * MenuBackend.C: remove defaults gunk
7722 * Languages.C: remove defaults gunk
7725 * lyx_main.C: error out if files couldn't be found.
7727 2003-04-02 John Levon <levon@movementarian.org>
7729 * text2.C: make incDepth() use parlist
7731 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * undo_funcs.C (firstUndoParagraph): adjust
7735 * text3.C (gotoInset): adjust
7736 (dispatch): adjust, and rewrite loop.
7738 * text2.C (init): adjust, and rewrite loop.
7739 (redoParagraphs): adjust
7740 (updateInset): adjust, and rewrite loop.
7741 (deleteEmptyParagraphMechanism): adjust
7743 * tabular.C (LyXTabular): adjust
7744 (SetMultiColumn): adjust
7747 * lyxtext.[Ch] (ownerParagraph): delete function
7748 (ownerParagraphs): new function returns a ParagraphList.
7750 * BufferView.C (removeAutoInsets): adjust
7751 (insertErrors): adjust
7752 (setCursorFromRow): adjust
7754 2003-04-01 Angus Leeming <leeming@lyx.org>
7756 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7759 2003-04-02 John Levon <levon@movementarian.org>
7765 * text_funcs.C: make transposeChars a free function
7767 * lyxrow_funcs.C: remove wrong comment
7769 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * rowpainter.C: adjust
7777 * lyxrow_funcs. [Ch]: new files
7779 * lyxrow.[Ch]: remove next and previous pointers
7780 (next,previous): remove accessor functions
7781 (isParEnd): move to lyxrow_funcs
7782 (lastPos): move to lyxrow_funcs
7783 (nextRowIsAllInset): move to lyxrow_funcs
7784 (lastPrintablePos): move to lyxrow_funcs
7785 (numberOfSeparators): move to lyxrow_funcs
7786 (numberOfHfills): move to lyxrow_funcs
7787 (numberOfLabelHfills): move to lyxrow_funcs
7788 (hfillExpansion): move to lyxrow_funcs
7792 * bufferview_funcs.C (toggleAndShow): adjust
7794 * RowList.h: Remove class RowList from file leave just a
7797 * RowList.C: delete file
7799 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7802 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * text3.C (cursorPrevious): adjust
7805 (cursorNext): adjust
7808 * text2.C (redoHeightOfParagraph): adjust
7809 (redoDrawingOfParagraph): adjust
7812 * text.C (breakParagraph): adjust
7813 (insertChar): adjust
7816 * rowpainter.C (RowPainter): adjust
7817 (leftMargin): simplify and adjust
7818 (most rowpainter functions): adjust.
7820 * rowpainter.h: store the row as RowList::iterator not as Row*
7822 * lyxcursor.C (row): taka RowList::iterator as arg
7825 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7828 2003-04-01 Angus Leeming <leeming@lyx.org>
7830 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7831 stuff like bool Bool.
7833 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7835 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7838 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7843 * lyxtext.h (rows): drop one version and leve a const variant that
7844 returns a RowList::iterator.
7846 2003-03-31 Angus Leeming <leeming@lyx.org>
7848 * text.C (fill): ensure that the signature is the same as that in the
7851 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * text2.C (redoParagraphs): adjust
7854 (updateCounters): adjust
7855 (checkParagraph): adjust
7856 (getColumnNearX): adjust and reformat a bit.
7858 * text.C (top_y): adjust
7860 (leftMargin): adjust
7861 (prepareToPrint): adjust
7863 (getRowNearY): adjust
7865 * lyxtext.h: make rowlist_ mutable.
7867 * RowList.h: add const_iterator
7868 * RowList.C: adjust for RowList::const_iterator.
7870 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7873 2003-03-31 John Levon <levon@movementarian.org>
7876 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7878 * lyx_main.C: set default fonts from using lyx_gui funcs
7880 * exporter.C: pdf_mode moved from lyxrc
7883 * lyxfunc.C: changes from above
7885 2003-03-31 John Levon <levon@movementarian.org>
7887 * lyx_main.C: fix to the last fix
7889 2003-03-31 John Levon <levon@movementarian.org>
7891 * bufferlist.C: "Load original" -> "Load Original"
7897 * format.C: more Alert cleanups
7899 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * text2.C (removeParagraph): make it take a RowList::iterator as
7903 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7904 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7906 * text.C (anchor_row): make it take a RowList::iterator as arg,
7908 (computeBidiTables): make it take a const reference to Row instead
7909 of Row pointer, adjust.
7910 (leftMargin): make it take a RowList::iterator as arg, adjust.
7911 (rowBreakPoint): adjust
7912 (breakAgainOneRow): make it take a RowList::iterator as arg,
7914 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7916 * bufferview_funcs.C (toggleAndShow): adjust
7918 2003-03-30 John Levon <levon@movementarian.org>
7922 * boost-inst.C: moved to support
7924 * several files: changes as a result
7926 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7928 * text2.C (LyXText): adjust.
7930 (removeRow): make it take a RowList::iterator as arg, adjust.
7931 (fullRebreak): adjust
7932 (deleteEmptyParagraphMechanism): adjust
7933 (clearPaint): adjust
7936 * text.C (top_y): adjust
7937 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7938 (breakAgain): make it take a RowList::iterator as arg, adjust.
7939 (breakParagraph): adjust
7940 (insertChar): adjust
7943 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7944 need_break_row, and refresh_row.
7946 * text3.C (dispatch): adjust
7948 * text2.C (checkParagraph): adjust
7950 (setCursorFromCoordinates): adjust
7952 * text.C (top_y): adjust
7954 (getRow): make it return a RowList::iterator, adjust
7955 (getRowNearY): make it return a RowList::iterator, adjust
7957 * text2.C (init): adjust
7958 (insertRow): remove function
7959 (insertParagraph): adjust
7960 (redoParagraphs): adjust
7961 (fullRebreak): adjust
7962 (updateCounters): adjust
7964 * text.C (top_y): rewrite to use RowList iterators.
7966 (setHeightOfRow): rewrite to sue RowList iterators.
7967 (appendParagraph): adjust
7968 (breakAgain): adjust
7969 (breakAgainOneRow): adjust
7970 (breakParagraph): adjust
7972 (getRowNearY): adjust, and remove commented code.
7974 * lyxtext.h (firstRow): delete function
7975 (lastRow): delete function
7976 (rows): new function (const and non-const versions.)
7977 (insertRow): delete function
7979 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7981 2003-03-29 John Levon <levon@movementarian.org>
7983 * BufferView_pimpl.C: always update scrollbar top
7984 because pasting text when we're anchored could mean we
7985 miss an update altogether
7987 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * text2.C (init): use rowlist_.end() and not 0.
7990 (insertRow): change to take a RowList::iterator as arg, adjust
7992 (insertParagraph): change to take a RowList::iterator as arg,
7994 (redoParagraphs): remove some debug msgs.
7996 * text.C (appendParagraph): change to take a RowList::iterator
7997 arg, adjust for this.
7998 (breakAgain): add an assert
7999 (breakAgainOneRow): ditto
8001 2003-03-29 John Levon <levon@movementarian.org>
8003 * text2.C: do not clear selection after inc/decDepth
8006 2003-03-29 John Levon <levon@movementarian.org>
8009 * buffer.C: fix broken strerrors according to Lars
8011 2003-03-29 John Levon <levon@movementarian.org>
8013 * converters.C: more Alert cleanups
8015 2003-03-29 John Levon <levon@movementarian.org>
8017 * bufferview_funcs.C: remove pointless Alert
8019 * buffer.C: fix confusing error message when
8020 a template is chmoded 000
8022 2003-03-29 John Levon <levon@movementarian.org>
8026 * BufferView_pimpl.C: Alert fixes
8030 * tabular-old.C: remove unused table compat reading
8032 2003-03-29 John Levon <levon@movementarian.org>
8037 * lyx_cb.C: more Alert cleanups
8039 * lyxfunc.C: don't allow chktex if not latex document
8041 2003-03-29 John Levon <levon@movementarian.org>
8045 * buffer.C: warnings pushed down from support/,
8048 2003-03-29 John Levon <levon@movementarian.org>
8050 * lyxfunc.C: safety check for C-r (revert)
8052 2003-03-29 John Levon <levon@movementarian.org>
8055 * bufferlist.C: several UI fixes using Alert::prompt.
8056 Fix the pointless looping quit code. Fix stupid revert
8061 * lyx_cb.C: use Alert::prompt
8063 * lyx_main.C: remove a silly question
8065 * lyxfunc.C: remove a couple of silly questions,
8068 2003-03-28 John Levon <levon@movementarian.org>
8070 * text2.C: fix bug 974 (End on empty par)
8072 2003-03-28 John Levon <levon@movementarian.org>
8074 * BufferView_pimpl.C:
8076 * lfuns.h: remove do-nothing math greek lfuns
8078 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8080 * lyxgluelength.h (isValidGlueLength): add default arg on
8081 parameter 2. Remove default arg from friend in class.
8083 * lyxlength.h (isValidLength): add default arg on parameter 2.
8084 Remove default arg from friend in class.
8086 * text2.C (LyXText): adjust, initialize refresh_row.
8090 (insertParagraph): adjst
8091 (redoParagraphs): adjust
8092 (fullRebreak): adjust
8093 (updateCounters): adjust
8094 (deleteEmptyParagraphMechanism): first attempt at fixing a
8097 * text.C (top_y): adjust
8098 (setHeightOfRow): adjust
8100 (getRowNearY): adjust
8102 * lyxtext.h: include RowList.h
8103 (~LyXText): not needed anymore, deleted.
8104 (firstRow): modify for RowList
8105 (lastRow): new function
8106 Delete firstrow and lastrow class variables, add a Rowlist
8107 rowlist_ class variable.
8109 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8112 * RowList.C (insert): fix case where it == begin().
8114 2003-03-26 Angus Leeming <leeming@lyx.org>
8116 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8117 the thesaurus dialog.
8119 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8121 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8123 * RowList.[Ch]: new files
8125 * ParagraphList.C (erase): handle the case where it == begin
8128 2003-03-25 John Levon <levon@movementarian.org>
8132 * aspell.C: add new aspell support
8135 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8138 2003-03-25 Angus Leeming <leeming@lyx.org>
8141 * LyXAction.C (init): new LFUN_INSET_INSERT.
8143 * BufferView_pimpl.C (dispatch): split out part of the
8144 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8146 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8149 2003-03-25 Angus Leeming <leeming@lyx.org>
8151 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8153 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8156 * text3.C: remove useless row->height(0)
8158 2003-03-25 John Levon <levon@movementarian.org>
8162 * text3.C: rename the refreshing stuff to better names
8164 2003-03-24 John Levon <levon@movementarian.org>
8166 * BufferView_pimpl.h:
8167 * BufferView_pimpl.C: update layout choice on a mouse
8170 2003-03-23 John Levon <levon@movementarian.org>
8172 * Makefile.am: fix commandtags.h reference
8174 2003-03-22 John Levon <levon@movementarian.org>
8176 * BufferView_pimpl.C:
8181 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8183 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8186 * text.C: take the rtl methods out of line
8188 2003-03-21 André Pönitz <poenitz@gmx.net>
8190 * metricsinfo.[Ch]: new files containing structures to be passed around
8191 during the two-phase-drawing...
8193 2003-03-21 André Pönitz <poenitz@gmx.net>
8195 * lyxtextclass.C: read 'environment' tag.
8197 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8199 * text2.C (removeRow): fix bug 964
8201 2003-03-20 John Levon <levon@movementarian.org>
8205 * text2.C: paint cleanups. Inset::update() dropped font
8208 2003-03-19 John Levon <levon@movementarian.org>
8210 * lyxfunc.C: only fitcursor/markDirty if available()
8212 2003-03-19 John Levon <levon@movementarian.org>
8214 * commandtags.h: rename to ...
8216 * lfuns.h: ... this, and renumber / cleanup
8218 2003-03-19 John Levon <levon@movementarian.org>
8220 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8221 fit the cursor after an lfun
8225 * BufferView_pimpl.h:
8226 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8228 * LyXAction.C: layout-character should have ReadOnly
8230 * ParagraphParameters.C:
8232 * bufferview_funcs.C:
8239 * undo_funcs.C: changes from above
8241 2003-03-18 John Levon <levon@movementarian.org>
8243 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8244 remove it from update()
8246 * lyxfunc.C: update layout choice after an lfun
8248 * text3.C: remove extra updateLayoutChoice()s
8250 2003-03-18 John Levon <levon@movementarian.org>
8252 * text.C: top_y change means full repaint, fix
8253 a drawing bug with cursor movement
8255 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8259 * text2.C: anchor row on setCursor
8261 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8263 * lyxtext.h: remove almost all mutable keywords
8266 * text3.C: remove const keywords accordingly
8268 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8272 (TeXEnvironment): ditto
8275 2003-03-17 John Levon <levon@movementarian.org>
8277 * text.C (rowBreakPoint): remove attempt to fix displayed
8278 math insets inside a manual label
8280 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * lyxtext.h: remove BufferView* as first arg from almost all class
8284 * other files: adjust.
8286 2003-03-17 John Levon <levon@movementarian.org>
8290 * text2.C: more paint cleanups
8292 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8295 * rowpainter.C: remove "smart" background painting code
8297 2003-03-16 John Levon <levon@movementarian.org>
8302 * text3.C: add helper functions for setting refresh_row/y
8304 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8306 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8307 newline inset which *can* get inserted in the pass_thru layouts.
8308 This is primarily for literate documents.
8310 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8312 * buffer.C: increment LYX_FORMAT to 223
8314 2003-03-14 André Pönitz <poenitz@gmx.net>
8316 * textclass.h: prepare for environment handling, ws changes
8317 * lyxlayout.C: read latexheader and latexfooter tags
8319 2003-03-14 John Levon <levon@movementarian.org>
8321 * text2.C: rewrite ::status() a bit
8323 2003-03-13 John Levon <levon@movementarian.org>
8325 * lyxtext.h: add some docs
8327 2003-03-13 John Levon <levon@movementarian.org>
8332 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8334 2003-03-13 John Levon <levon@movementarian.org>
8336 * text3.C: fix appendix redrawing
8338 2003-03-13 John Levon <levon@movementarian.org>
8340 * text.C (setHeightOfRow):
8342 * rowpainter.C: make appendix mark have the text
8343 "Appendix" so the user knows what it is
8346 * LColor.C: s/appendixline/appendix/ from above
8348 2003-03-13 John Levon <levon@movementarian.org>
8350 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8352 * text.C: fix a getChar(pos) bug properly
8354 2003-03-13 Angus Leeming <leeming@lyx.org>
8357 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8358 Probably only temporary. Let's see how things pan out.
8360 * BufferView.C (unlockInset):
8361 * BufferView_pimpl.C (fitCursor):
8362 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8364 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8365 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8367 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8368 new functions that convert ParagraphParameters to and from a string.
8370 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8371 BufferView::Pimpl's dispatch.
8372 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8374 2003-03-13 André Pönitz <poenitz@gmx.net>
8378 * factory.C: make it aware of InsetEnv
8380 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8382 * text2.C (setCursor): never ask for one past last
8383 (setCursor): add some debugging messages.
8385 * text.C (singleWidth): never ask for one past last
8386 (singleWidth): ditto
8388 (rightMargin): ditto
8389 (rowBreakPoint): ditto
8390 (setHeightOfRow): ditto
8391 (prepareToPrint): ditto
8393 * rowpainter.C (paintBackground): never ask for one past last
8394 (paintText): never ask for one past last
8396 * paragraph_pimpl.C (getChar): make the assert stricter, never
8397 allow the one past last pos to be taken
8399 * paragraph.C (getChar): ws changes only
8401 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8402 (numberOfSeparators): ditto
8403 (numberOfHfills): ditto
8405 2003-03-12 John Levon <levon@movementarian.org>
8411 * paragraph_funcs.C: fix per-buffer authorlists
8413 2003-03-12 John Levon <levon@movementarian.org>
8415 * text.C: fix newline in right address
8417 2003-03-12 Angus Leeming <leeming@lyx.org>
8419 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8420 duplicate those in LyXFunc::dispatch.
8424 * ToolbarDefaults.C:
8425 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8426 Add LFUN_FONTFREE_UPDATE.
8428 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8429 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8431 * bufferview_func.[Ch]: several new functions to facilliate
8432 transfer of data to and from the character dialog.
8434 2003-03-12 John Levon <levon@movementarian.org>
8439 * paragraph_funcs.C:
8440 * paragraph_pimpl.C:
8444 * text3.C: remove META_NEWLINE in favour of an inset
8447 * rowpainter.C: remove paintNewline (done by inset)
8449 2003-03-12 John Levon <levon@movementarian.org>
8451 * paragraph_pimpl.C: complain about bad getChar()s
8452 for a while at least
8454 2003-03-12 John Levon <levon@movementarian.org>
8457 * buffer.C: move paragraph read into a separate function,
8458 a little renaming to reflect that.
8461 * bufferparams.C: remove the author_ids map, not necessary now
8464 * factory.C: moved Buffer::readInset to here
8466 * paragraph_funcs.h:
8467 * paragraph_funcs.C: readParagraph free function moved from
8470 * tabular.C: name change
8472 2003-03-12 John Levon <levon@movementarian.org>
8475 * ParagraphParameters.C: move par params input to
8478 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8479 behave like a normal read from the stream wrt reading
8480 a line vs. a \\token
8482 2003-03-12 John Levon <levon@movementarian.org>
8485 * ParagraphParameters.h:
8486 * ParagraphParameters.C: move output code to a
8489 2003-03-12 John Levon <levon@movementarian.org>
8491 * BufferView.C (insertLyXFile):
8494 * tabular.C: use a parlist iterator for creating the
8497 2003-03-12 John Levon <levon@movementarian.org>
8499 * buffer.C: make current_change static local not
8502 2003-03-12 John Levon <levon@movementarian.org>
8504 * buffer.C: fix insertStringAsLines for change tracking
8506 2003-03-12 John Levon <levon@movementarian.org>
8513 * bufferparams.C: move author list into params. Rename some
8514 functions. Move the header reading into a separate token
8515 loop. Move the header token reading into BufferParams.
8517 2003-03-12 John Levon <levon@movementarian.org>
8519 * changes.C: put debug inside lyxerr.debugging() checks
8521 2003-03-11 André Pönitz <poenitz@gmx.net>
8523 * factory.C: make it aware of InsetHFill
8525 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8527 * buffer.C (latexParagraphs): move function from here...
8528 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8531 2003-03-10 Angus Leeming <leeming@lyx.org>
8533 * LyXAction.C (init): fix bug in poplating array with multiple entries
8534 with the same LFUN (spotted by JMarc).
8536 2003-03-10 John Levon <levon@movementarian.org>
8539 * text2.C: move getColumnNearX() near its
8542 2003-03-10 John Levon <levon@movementarian.org>
8544 * text.C: fix break before a minipage
8546 2003-03-10 John Levon <levon@movementarian.org>
8548 * text.C: fix the last commit
8550 2003-03-09 John Levon <levon@movementarian.org>
8554 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8555 bug 365 (don't break before insets unless needed). Don't
8556 return a value > last under any circumstances.
8558 2003-03-09 Angus Leeming <leeming@lyx.org>
8560 * BufferView_pimpl.C (trackChanges, dispatch): call
8561 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8563 2003-03-09 Angus Leeming <leeming@lyx.org>
8565 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8566 than Dialogs::showAboutlyx().
8568 2003-03-09 Angus Leeming <leeming@lyx.org>
8570 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8571 than Dialogs::showTabularCreate().
8573 2003-03-09 John Levon <levon@movementarian.org>
8577 * text2.C: 3rd arg to nextBreakPoint was always the same.
8580 2003-03-08 John Levon <levon@movementarian.org>
8587 * text2.C: Remove the "main" bit from the "main body"
8590 2003-03-08 John Levon <levon@movementarian.org>
8592 * text.C (leftMargin): The left margin of an empty
8593 manual label paragraph should not include the label width
8596 * text.C (prepareToPrint): don't attempt to measure hfills
8597 for empty manual label paragraphs - the answer should be 0
8599 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8601 * CutAndPaste.C: remove commented code and reindent.
8603 2003-03-08 John Levon <levon@movementarian.org>
8606 * lyxfunc.C: move reloadBuffer()
8609 * BufferView.C: to here
8611 * lyxvc.C: add comment
8614 * vc-backend.C: call bv->reload() to avoid
8615 getStatus() check on MENURELOAD
8617 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8619 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8620 to an old format .dep file.
8622 2003-03-07 Angus Leeming <leeming@lyx.org>
8624 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8625 when the LFUN_MOUSE_RELEASE should have been handled by
8626 inset->localDispatch.
8628 2003-03-07 Angus Leeming <leeming@lyx.org>
8630 * BufferView_pimpl.C (dispatch):
8631 * LyXAction.C (init):
8632 * ToolbarDefaults.C (init):
8634 * lyxfunc.C (getStatus):
8635 remove LFUN_INSET_GRAPHICS.
8637 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8639 2003-03-07 Angus Leeming <leeming@lyx.org>
8642 * LyXAction.C (init):
8643 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8645 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8648 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8650 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8651 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8653 2003-03-07 Angus Leeming <leeming@lyx.org>
8655 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8658 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8660 * ParagraphList.C (front): new function
8663 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8665 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8666 and top_row_offset_. removed var first_y.
8668 * text2.C (LyXText, removeRow):
8670 * BufferView_pimpl.C:
8671 use these methods instead of using first_y
8673 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8675 * text2.C (pasteSelection): adjust for checkPastePossible
8677 * CutAndPaste.C: remove Paragraph * buf and replace with
8678 ParagraphList paragraphs.
8679 (DeleteBuffer): delete
8680 (cutSelection): change the tc type to textclass_type
8681 (copySelection): change the tc type to textclass_type
8682 (copySelection): adjust for ParagraphList
8683 (pasteSelection): change the tc type to textclass_type
8684 (pasteSelection): adjust for Paragraphlist
8685 (nrOfParagraphs): simplify for ParagraphList
8686 (checkPastePossible): simplify for ParagraphList
8687 (checkPastePossible): remove unused arg
8689 * ParagraphList.C (insert): handle the case where there are no
8692 * CutAndPaste.h: make CutAndPaste a namespace.
8694 * text3.C (dispatch): adjust
8696 * text.C (breakParagraph): add a ParagraphList as arg
8698 * paragraph_funcs.C (breakParagraph): change to take a
8699 BufferParams and a ParagraphList as args.
8700 (breakParagraphConservative): ditto
8701 (mergeParagraph): ditto
8702 (TeXDeeper): add a ParagraphList arg
8703 (TeXEnvironment): ditto
8706 * buffer.C (readLyXformat2): adjust
8707 (insertStringAsLines): adjust
8708 (latexParagraphs): adjust
8710 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8711 (cutSelection): adjust
8712 (pasteSelection): adjust
8714 * BufferView_pimpl.C (insertInset): adjust
8716 2003-03-05 Angus Leeming <leeming@lyx.org>
8719 * LyXAction.C (init):
8720 * BufferView_pimpl.C (dispatch):
8721 * lyxfunc.C (getStatus):
8722 remove LFUN_CHILD_INSERT.
8724 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8726 2003-03-05 Angus Leeming <leeming@lyx.org>
8729 * LyXAction.C (init):
8730 * src/factory.C (createInset):
8731 * lyxfunc.C (getStatus):
8732 * text3.C (dispatch):
8733 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8735 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8737 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8739 * ParagraphList.C (insert): handle insert right before end()
8740 (erase): fix cases where it can be first or last paragraph.
8742 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8744 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8745 Paragraph::next and Paragraph::previous
8748 * text.C (breakParagraph): adjust
8750 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8751 BufferParams& as arg.
8752 (breakParagraph): use ParagraphList::insert
8753 (breakParagraphConservative): take a Buffer* instead of a
8754 BufferParams& as arg.
8755 (breakParagraphConservative): use ParagraphList::insert.
8757 * buffer.C (insertStringAsLines): un-const it
8758 (insertStringAsLines): adjust
8760 * ParagraphList.C (insert): new function
8762 * CutAndPaste.C (pasteSelection): adjust
8764 * text.C (backspace): adjust
8766 * tabular.C (SetMultiColumn): adjust
8768 * CutAndPaste.C (cutSelection): adjust
8769 (pasteSelection): adjust
8771 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8772 Buffer const * as arg
8774 * ParagraphList.C (erase): new function
8775 * paragraph_funcs.C (mergeParagraph): use it
8776 (mergeParagraph): make it take a Buffer* instead of a
8777 BufferParams* as arg
8779 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8781 (breakParagraphConservative): ditto
8783 * paragraph.h: remove the breakParagraph friend
8785 * paragraph.C (eraseIntern): new function
8786 (setChange): new function
8788 * paragraph_funcs.C (mergeParagraph): make it take a
8789 ParagraphList::iterator instead of a Paragraph *, adjust
8792 * paragraph.h: move an #endif so that the change tracking stuff
8793 also works in the NO_NEXT case.
8795 2003-03-04 Angus Leeming <leeming@lyx.org>
8798 * LyXAction.C: new LFUN_INSET_MODIFY.
8800 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8801 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8803 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8805 * several files: ws changes only
8807 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8808 (TeXEnvironment): ditto
8811 * buffer.C (makeLaTeXFile): adjust
8812 (latexParagraphs): make it take ParagraphList::iterator as args
8814 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * buffer.C (latexParagraphs): adjust
8818 * paragraph.C (TeXOnePar): move function...
8819 (optArgInset): move function...
8820 (TeXEnvironment): move function...
8821 * paragraph_pimpl.C (TeXDeeper): move function...
8822 * paragraph_funcs.C: ...here
8824 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8826 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8828 * buffer.C (readInset): remove compability code for old Figure and
8831 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * buffer.C: ws changes
8836 * BufferView_pimpl.C: ditto
8839 * bufferlist.h: ditto
8843 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8845 * converter.[Ch]: split into itself +
8848 * Makefile.am: += graph.[Ch] + format.[Ch]
8855 * lyxrc.C: added #include "format.h"
8857 2003-02-27 Angus Leeming <leeming@lyx.org>
8859 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8862 * factory.C (createInset): add "label" to the factory.
8864 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8865 string and do no more.
8867 2003-02-27 Angus Leeming <leeming@lyx.org>
8870 * LyXAction.C (init):
8871 * factory.C (createInset):
8872 * BufferView_pimpl.C (dispatch):
8873 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8875 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8877 * lyxfunc.C (dispatch):
8878 * text3.C (dispatch): pass name to params2string.
8880 2003-02-26 Angus Leeming <leeming@lyx.org>
8882 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8884 Rearrange the ~includes. Strip out the unnecessary ones.
8886 * factory.C (createInset): reformat.
8887 create new insets for the various LFUN_XYZ_APPLY lfuns.
8889 2003-02-26 John Levon <levon@movementarian.org>
8892 * lyxrow.C: add isParStart,isParEnd helpers
8894 * paragraph.h: make isInserted/DeletedText take refs
8896 * paragraph_funcs.h:
8897 * paragraph_funcs.C: remove #if 0'd code
8902 * text.C: use lyxrow helpers above.
8903 Move draw and paint routines to RowPainter.
8904 Make several methods use refs not pointers.
8905 Make backgroundColor() const.
8906 Add markChangeInDraw(), isInInset().
8907 Merge changeRegionCase into changeCase.
8908 Make workWidth() shouldn't-happen code into an Assert.
8911 * rowpainter.C: new class for painting a row.
8914 * vspace.C: make inPixels take a ref
8916 2003-02-26 Angus Leeming <leeming@lyx.org>
8918 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8921 2003-02-25 John Levon <levon@movementarian.org>
8923 * ispell.C: give the forked command a more accurate name
8925 2003-02-22 John Levon <levon@movementarian.org>
8928 * toc.C: make TocItem store an id not a Paragraph *
8931 2003-02-21 Angus Leeming <leeming@lyx.org>
8933 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8934 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8935 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8936 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8937 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8938 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8940 * BufferView_pimpl.C (dispatch):
8941 * LyXAction.C (init):
8942 * factory.C (createInset):
8943 * lyxfunc.C (getStatus, dispatch):
8944 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8946 2003-02-21 Angus Leeming <leeming@lyx.org>
8948 * BufferView_pimpl.C (MenuInsertLyXFile):
8949 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8950 * lyxfunc.C (menuNew, open, doImport):
8951 no longer pass a LyXView & to fileDlg.
8953 2003-02-21 Angus Leeming <leeming@lyx.org>
8955 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8956 * LyXAction.C: change, BIBKEY to BIBITEM.
8957 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8958 Change InsetBibKey to InsetBibitem.
8959 Change BIBKEY_CODE to BIBITEM_CODE.
8960 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8961 * factory.C: replace insetbib.h with insetbibitem.h.
8962 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8963 * paragraph.C: replace insetbib.h with insetbibitem.h.
8964 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8965 Change bibkey() to bibitem().
8966 * text.C: remove insetbib.h.
8967 * text2.C: replace insetbib.h with insetbibitem.h.
8968 change bibkey() to bibitem().
8969 * text3.C: remove insetbib.h.
8970 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8972 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8974 * lyxrc.C (output): enclose user email in quotes (in case there are
8977 2003-02-18 John Levon <levon@movementarian.org>
8979 * buffer.h: add std::
8981 2003-02-17 John Levon <levon@movementarian.org>
8987 * pspell.C: reworking. Especially in ispell, a large
8988 number of clean ups and bug fixes.
8990 * lyxfunc.C: fix revert to behave sensibly
8992 2003-02-17 André Pönitz <poenitz@gmx.net>
8995 * commandtags.h: new LFUN_INSERT_BIBKEY
9005 * paragraph_func.C: remove special bibkey handling
9007 2003-02-17 John Levon <levon@movementarian.org>
9009 * text.C (Delete): fix case where delete at the end of
9010 the very first paragraph would not merge the pars
9012 2003-02-17 John Levon <levon@movementarian.org>
9014 * lyxrow.C: fix lastPrintablePos()
9016 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9018 * bufferparams.C (writeLaTeX): add a std:here
9020 * buffer.C: and remove a using directive there
9022 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9024 * buffer.C (makeLaTeXFile): move the code that generates the
9027 * bufferparams.C (writeLaTeX): ... in this new method
9029 * LaTeXFeatures.C (getEncodingSet): make const
9030 (getLanguages): make const
9032 * MenuBackend.C (binding): returns the binding associated to this
9034 (add): sets the status of each item by calling getStatus. Adds
9036 (read): add support for OptSubMenu
9037 (expand): remove extra separator at the end of expanded menu
9039 2003-02-15 John Levon <levon@movementarian.org>
9042 * BufferView_pimpl.C:
9044 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9045 inset code that had no actual effect. Remove unneeded status
9048 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9050 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9053 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9055 * text.C (drawLengthMarker): also draw an arrow marker for
9056 symbolic lengths (medskip...)
9058 2003-02-14 John Levon <levon@movementarian.org>
9061 * tabular.C: better method names
9063 2003-02-14 John Levon <levon@movementarian.org>
9065 * BufferView_pimpl.C:
9070 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9071 it's a more accurate name. Remove some pointless uses.
9073 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9075 * text2.C (LyXText): change order of initilizers to shut off
9078 2003-02-14 John Levon <levon@movementarian.org>
9080 * buffer.C: use ParIterator for getParFromID()
9084 * paragraph_pimpl.h:
9085 * paragraph_pimpl.C: remove unused getParFromID()
9087 2003-02-14 John Levon <levon@movementarian.org>
9089 * buffer.C: remove some very old #if 0'd parse code
9091 2003-02-13 John Levon <levon@movementarian.org>
9095 * text2.C: move hfillExpansion(), numberOfSeparators(),
9096 rowLast(), rowLastPrintable(), numberofHfills(),
9097 numberOfLabelHfills() ...
9100 * lyxrow.C: ... to member functions here.
9105 * text.C: remove LyXText::beginningOfMainBody(), and call
9106 p->beginningOfMainBody() directly. Move the check for
9107 LABEL_MANUAL into the latter.
9114 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9120 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9121 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9123 2003-02-13 John Levon <levon@movementarian.org>
9125 * CutAndPaste.C: remove debug
9127 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9129 * paragraph.C (asString): remove two unused variables
9131 * lyxtextclass.C (readTitleType):
9133 (LyXTextClass): handle new members titletype_ and titlename_
9135 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9137 2003-02-09 John Levon <levon@movementarian.org>
9140 * buffer.C: replace hand-coded list with a map for the dep clean
9142 2003-02-08 John Levon <levon@movementarian.org>
9144 * LaTeX.C: consolidate code into showRunMessage() helper
9146 2003-02-08 John Levon <levon@movementarian.org>
9151 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9152 and pass the size in explicitly
9154 * BufferView_pimpl.h:
9155 * BufferView_pimpl.C:
9157 * BufferView.C: add getCurrentChange()
9159 * BufferView_pimpl.h:
9160 * BufferView_pimpl.C: handle change lfuns
9162 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9163 for changes. Mark pasted paragraphs as new.
9165 * support/lyxtime.h:
9166 * support/lyxtime.C:
9167 * DepTable.C: abstract time_t as lyx::time_type
9170 * LColor.C: add colours for new text, deleted text, changebars
9172 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9173 package use "usenames" option.
9177 * LyXAction.C: add change lfuns
9181 * author.C: author handling
9184 * buffer.C: add a per-buffer author list, with first entry as
9185 current author. Handle new .lyx tokens for change tracking. Output
9186 author list to .lyx file. Output dvipost stuff to .tex preamble.
9187 Bump lyx format to 222.
9190 * bufferlist.C: add setCurrentAuthor() to reset current author details
9194 * bufferparams.C: add param for tracking
9196 * bufferview_funcs.C: output change info in minibuffer
9200 * changes.C: add change-tracking structure
9203 * debug.C: add CHANGES debug flag
9206 * lyxfind.C: add code for finding the next change piece
9209 * lyxrc.C: add user_name and user_email
9212 * lyxrow.C: add a metric for the top of the text line
9215 * text.C: implement accept/rejectChange()
9218 * text.C: paint changebars. Paint new/deleted text in the chosen
9219 colours. Strike through deleted text.
9223 * paragraph_pimpl.h:
9224 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9225 in the current change to the insert functions. Rework erase to
9226 mark text as deleted, adding an eraseIntern() and a range-based
9227 erase(). Implement per-paragraph change lookup and
9230 * paragraph_funcs.C: Fixup paste for change tracking.
9232 * tabular.C: mark added row/columns as new.
9234 * text.C: fix rowLast() to never return -1. Don't allow
9235 spellchecking of deleted text. Track transpose changes. Don't
9236 allow paragraph break or merge where appropriate.
9238 * text2.C: leave cursor at end of selection after a cut.
9240 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9242 * text.C (getLengthMarkerHeight):
9243 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9244 visible on screen too.
9246 2003-02-07 John Levon <levon@movementarian.org>
9248 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9250 2003-02-05 Angus Leeming <leeming@lyx.org>
9252 * lyxserver.C (read_ready): revert my patch of 11 September last year
9253 as it sends PC cpu through the roof. Presumably this means that
9254 the lyxserver will no longer run on an Alpha...
9256 2003-01-30 Angus Leeming <leeming@lyx.org>
9258 * factory.C (createInset): create an InsetCommandParam of type "index"
9259 and use it to 'do the right thing'.
9261 * text2.C (getStringToIndex): ensure that cursor position is always
9262 reset to the reset_cursor position.
9264 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9266 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9269 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9273 * lyxfunc.C: Output messages with identical spelling, punctuation,
9276 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9278 * MenuBackend.C (expandFormats): List only viewable export formats
9281 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9284 * lyxfunc.C (getStatus): Make sure that formats other than
9285 "fax" can also be disabled
9287 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9289 * text3.C (dispatch): put the lfuns that insert insets in 3
9290 groups, and call doInsertInset with appropriate arguments.
9291 (doInsertInset): new function, that creates an inset and inserts
9292 it according to some boolean parameters.
9294 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * buffer.C (readFile): remember to pass on 'par' when calling
9297 readFile recursively.
9299 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9301 * MenuBackend.C (expandFormats): add "..." to import formats.
9303 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9305 * paragraph.C (asString): Remove XForms RTL hacks.
9307 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9308 * buffer.C: fix typo
9310 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9312 * Makefile.am (LIBS): delete var
9313 (lyx_LDADD): add @LIBS@ here instead.
9315 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9317 * Clarify the meaning of "wheel mouse jump"
9319 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9321 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9324 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9326 * importer.C (Loaders): do not preallocate 3 elements in the
9327 vector, since one ends up with 6 elements otherwise
9329 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9331 * DepTable.C (write): write the file name as last element of the
9332 .dep file (because it may contain spaces)
9333 (read): read info in the right order
9335 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9337 * paragraph_pimpl.C (simpleTeXBlanks):
9338 (simpleTeXSpecialChars):
9339 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9341 * tabular.C (latex): add some missing case statements. Reindent.
9343 * MenuBackend.C (expandToc): remove unused variable.
9345 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9354 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9357 2003-01-05 John Levon <levon@movementarian.org>
9360 * BufferView.C: add getEncoding()
9363 * kbsequence.C: do not store last keypress
9366 * lyxfunc.C: store last keypress here instead. Pass encoding
9369 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9371 * lyx_main.C (init): remove annoying error message when following
9372 symbolic links (bug #780)
9374 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9376 * text.C (insertChar):
9377 * lyxrc.C (getDescription): remove extra spaces
9379 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9381 * lyxrc.C (getDescription): remove extra spaces
9383 2002-12-20 John Levon <levon@movementarian.org>
9385 * text3.C: hack fix for page up/down across tall rows
9387 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9389 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9392 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9394 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9395 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9396 thesaurus is not compiled in
9398 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9400 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9402 2002-12-16 Angus Leeming <leeming@lyx.org>
9405 * lyx_main.C (init): remove override_x_deadkeys stuff.
9407 2002-12-12 John Levon <levon@movementarian.org>
9409 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9410 insert. Only remove shift modifier under strict
9413 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9415 * MenuBackend.C (expandToc): fix crash.
9417 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9419 * MenuBackend.C (expandToc): gettext on float names.
9421 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9423 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9424 implement bool empty() [bug 490]
9426 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9428 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9430 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9432 * several files: ws changes
9434 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9436 * text2.C (setCounter): clean up a bit, use boost.format.
9437 (updateCounters): initialize par upon declaration.
9439 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9440 if the layout exists. We do not just store the layout any more.
9441 (SwitchLayoutsBetweenClasses): use boost.format
9443 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9445 * converter.C (convert): if from and to files are the same, use a
9446 temporary files as intermediary
9448 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9451 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9453 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9455 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9457 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9459 * tabular.C (asciiPrintCell): use string(size, char) instead of
9462 * sgml.C (openTag): fix order of arguments to string constructor
9465 * lyxfunc.C (dispatch): use boost.format
9467 * lots of files: change "c" -> 'c'
9469 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9471 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9473 2002-11-25 Angus Leeming <leeming@lyx.org>
9475 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9477 * lyx_main.C (init): compile fix.
9479 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9481 * lyx_cb.C (start): boost.formatify
9482 do not include <iostream>
9484 * lengthcommon.C: ws only
9486 * boost-inst.C,BoostFormat.h: add more explict instantations
9488 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9490 * lots of files: handle USE_BOOST_FORMAT
9492 2002-11-21 John Levon <levon@movementarian.org>
9494 * pspell.C: fix compile
9496 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9498 * lyxfunc.C (dispatch): use boost::format
9502 * lyxfont.C (stateText): use boost::format
9504 * lyx_main.C (LyX): use boost::format
9506 (queryUserLyXDir): ditto
9509 (typedef boost::function): use the recommened syntax.
9511 * importer.C (Import): use boost::format
9513 * debug.C (showLevel): use boost::format
9515 * converter.C (view): use boost::format
9520 * bufferview_funcs.C (currentState): use boost::format
9522 * bufferlist.C (emergencyWrite): use boost::format
9524 * buffer.C (readLyXformat2): use boost::format
9525 (parseSingleLyXformat2Token): ditto
9527 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9529 * LaTeX.C (run): use boost::format
9531 * Chktex.C (scanLogFile): use boost::format
9533 * BufferView_pimpl.C (savePosition): use boost::format
9534 (restorePosition): ditto
9535 (MenuInsertLyXFile): ditto
9537 * BoostFormat.h: help file for explicit instation.
9539 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9541 * tabular.C (latex): Support for block alignment in fixed width
9544 2002-11-17 John Levon <levon@movementarian.org>
9546 * BufferView_pimpl.C:
9548 * lyxfunc.C: split filedialog into open/save
9550 2002-11-08 Juergen Vigna <jug@sad.it>
9552 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9553 by my last patch (hopefully).
9555 2002-11-08 John Levon <levon@movementarian.org>
9564 * toc.C: ParConstIterator, and use it (from Lars)
9566 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9568 * lyxtextclass.[Ch]: revise and add doxygen comments
9570 2002-11-07 John Levon <levon@movementarian.org>
9572 * text.C: fix progress value for spellchecker
9574 * toc.C: fix navigate menu for insetwrap inside minipage
9576 * paragraph_funcs.C: added FIXME for suspect code
9578 2002-11-07 John Levon <levon@movementarian.org>
9580 * BufferView_pimpl.C: fix redrawing of insets
9583 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9585 * text2.C (updateCounters): fix bug 668
9587 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9589 * text3.C (dispatch): Do not make the buffer dirty when moving the
9592 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9594 * vc-backend.C: STRCONV
9597 * text2.C (setCounter): STRCONV
9599 * paragraph.C (asString): STRCONV
9601 * lyxlength.C (asString): STRCONV
9602 (asLatexString): ditto
9604 * lyxgluelength.C (asString): STRCONV
9605 (asLatexString): ditto
9607 * lyxfunc.C (dispatch): STRCONV
9610 * lyxfont.C (stateText): STRCONV
9612 * importer.C (Import): STRCONV
9614 * counters.C (labelItem): STRCONV
9615 (numberLabel): ditto
9616 (numberLabel): remove unused ostringstream o
9621 * bufferview_funcs.C (currentState): STRCONV
9623 * buffer.C (readFile): STRCONV
9624 (asciiParagraph): ditto
9625 (makeLaTeXFile): ditto
9627 * Spacing.C (writeEnvirBegin): STRCONV
9629 * LaTeXFeatures.C (getLanguages): STRCONV
9630 (getPackages): ditto
9632 (getBabelOptions): ditto
9633 (getTClassPreamble): ditto
9634 (getLyXSGMLEntities): ditto
9635 (getIncludedFiles): ditto
9639 (scanAuxFile): ditto
9642 * LString.h: add the STRCONV macros
9644 * BufferView_pimpl.C (savePosition): STRCONV
9645 (restorePosition): ditto
9646 (MenuInsertLyXFile): ditto
9648 * vc-backend.C (scanMaster): change from submatch[...] to
9651 * funcrequest.C: include config.h
9653 * factory.C: include config.h
9655 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9657 * box.C: include config.h
9659 * LaTeX.C (scanAuxFile): change from submatch[...] to
9663 2002-10-25 Angus Leeming <leeming@lyx.org>
9665 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9667 * ispell.[Ch] (setError): new method.
9668 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9669 Use setError() insetead of goto END.
9671 * lyx_cb.C (AutoSave): move out child process into new class
9674 2002-10-30 John Levon <levon@movementarian.org>
9676 * text3.C: make start appendix undoable
9678 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9680 * lyxlength.C (inPixels): Fix returned value.
9682 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9685 2002-10-24 Angus Leeming <leeming@lyx.org>
9687 * lyxgluelength.h: no need to forward declare BufferParams
9688 or BufferView, so don't.
9690 2002-10-21 John Levon <levon@movementarian.org>
9692 * BufferView.C: menuUndo ->undo, redo
9694 * BufferView.h: document, remove dead, make some methods private
9696 * paragraph_funcs.h:
9697 * paragraph_funcs.C:
9698 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9703 * sgml.C: move sgml open/close tag into sgml.C
9705 * bufferview_funcs.h: unused prototype
9708 * lyxfunc.C: remove unused
9711 * text.C: remove unused
9713 2002-10-21 John Levon <levon@movementarian.org>
9717 * BufferView_pimpl.h:
9718 * BufferView_pimpl.C: fix mouse wheel handling based on
9719 patch from Darren Freeman
9721 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9723 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9725 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9727 * lyxlength.C (inPixels): Fix hanfling of negative length.
9728 Fix LyXLength::MU case.
9730 2002-10-16 John Levon <levon@movementarian.org>
9732 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9734 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * converter.C (view): add support for $$i (file name) and $$p
9737 (file path) for the viewer command. If $$i is not specified, then
9738 it is appended to the command (for compatibility with old syntax)
9740 2002-10-14 Juergen Vigna <jug@sad.it>
9742 * undo_funcs.C (textHandleUndo): alter the order in which the
9743 new undopar is added to the LyXText, as we have to set first
9744 the right prev/next and then add it as otherwise the rebuild of
9745 LyXText is not correct. Also reset the cursor to the right paragraph,
9746 with this IMO we could remove the hack in "redoParagraphs()".
9748 2002-10-09 Angus Leeming <leeming@lyx.org>
9750 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9751 to turn off an optimisation if a new inset is to be inserted.
9753 2002-10-11 André Pönitz <poenitz@gmx.net>
9755 * lyxtext.h: make some functions public to allow access
9756 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9758 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9760 * text3.C (dispatch): when changing layout, avoid an infinite loop
9763 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9765 * lyxrc.C (read): treat a viewer or converter command of "none" as
9768 * MenuBackend.C (expandFormats): for an update, also allow the
9769 formats that are not viewable
9771 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9772 script if it is newer than the lyxrc.defaults in user directory
9774 2002-10-07 André Pönitz <poenitz@gmx.net>
9776 * text.C: Vitaly Lipatov's small i18n fix
9778 2002-09-25 Angus Leeming <leeming@lyx.org>
9780 * ispell.h: doxygen fix.
9782 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9784 * buffer.h (readFile): Add a new argument to the method, to allow
9785 reading of old-format templates.
9787 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9789 * toc.C (getTocList): Get TOC from InsetWrap.
9791 2002-09-16 John Levon <levon@movementarian.org>
9793 * lyxfunc.C: check tabular for cut/copy too
9795 2002-09-12 John Levon <levon@movementarian.org>
9800 * factory.C: add header
9802 * paragraph_funcs.h:
9803 * paragraph_funcs.C: cleanup
9805 2002-09-11 John Levon <levon@movementarian.org>
9807 * PrinterParams.h: odd/even default to true
9809 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9811 * PrinterParams.h: update printer parameters for new xforms dialog
9813 2002-09-11 Angus Leeming <leeming@lyx.org>
9815 * lyxserver.C (read_ready): re-write to make it more transparent
9816 and to make it work in coherent fashion under Tru64 Unix.
9818 2002-09-11 André Pönitz <poenitz@gmx.net>
9822 * text3.C: implement LFUN_WORDSEL
9824 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9826 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9827 make floatlist_ a boost::shared_ptr<FloatList>
9829 * lyxtextclass.C: include FloatList.h
9830 (LyXTextClass): initialize floatlist_
9831 (TextClassTags): add TC_NOFLOAT
9832 (Read): match "nofloat" to TC_NOFLOAT and use it.
9833 (readFloat): modify call to floatlist_
9837 * FloatList.[Ch] (FloatList): remove commented out float
9839 (erase): new function
9841 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9843 * MenuBackend.C (expandToc): fix crash when there is no document
9846 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9848 * many files: Add insetwrap.
9850 2002-09-09 John Levon <levon@movementarian.org>
9852 * text2.C: remove confusing and awkward depth wraparound
9854 2002-09-09 John Levon <levon@movementarian.org>
9856 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9859 * buffer.C: remove getIncludeonlyList()
9862 * lyxfunc.C: remove headers
9864 2002-09-09 Juergen Vigna <jug@sad.it>
9866 * text.C (getColumnNearX): fix form Michael this is most
9867 probably a cut&paste bug.
9869 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9871 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9873 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9874 references, ws changes.
9876 * text2.C (init): update counters after init
9877 (insertParagraph): no need to set counter on idividual paragraphs.
9878 (setCounter): access the counters object in the textclass object
9879 on in the buffer object.
9880 (updateCounters): ditto
9882 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9883 shared_ptr<Counters> to avoid loading counters.h in all
9885 (LyXTextClass): initialize ctrs_
9886 (TextClassTags): add TC_COUNTER, and ...
9887 (Read): use it here.
9888 (CounterTags): new tags
9889 (readCounter): new function
9890 (counters): new funtion
9891 (defaultLayoutName): return a const reference
9893 * counters.C (Counters): remove contructor
9894 (newCounter): remove a couple of unneeded statements.
9895 (newCounter): simplify a bit.
9896 (numberLabel): some small formatting changes.
9898 * buffer.[Ch]: remove all traces of counters, move the Counters
9899 object to the LyXTextClass.
9901 2002-09-06 Alain Castera <castera@in2p3.fr>
9903 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9904 package to set the horizontal alignment on fixed width columns.
9907 * lyx_sty.h: added tabularnewline macro def.
9909 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9911 2002-09-06 John Levon <levon@movementarian.org>
9913 * LyXAction.C: tooltips for sub/superscript
9915 * MenuBackend.C: a bit more verbose
9917 * lyxfunc.C: tiny clean
9919 * undo_funcs.C: document undo_frozen
9921 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9923 * counters.C (Counters): add missing algorithm counter.
9925 * text2.C (setCounter): lookup the counter with layouts latexname
9926 instead of by section number.
9927 (setCounter): use a hackish way to lookup the correct enum
9929 a float name->type change
9930 reset enum couners with counter name directly instead of depth value.
9932 * counters.C (Counters): remove the push_backs, change to use the
9933 float type not the float name.
9934 (labelItem): remove unused string, float name->type change
9936 * counters.h: don't include vector, loose the enums and sects vectors
9938 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9940 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9941 (Read): add float->TC_FLOAT to textclassTags
9942 (Read): and handle it in the switch
9943 (readFloat): new function
9945 * FloatList.C (FloatList): comment out the hardcoded float
9948 * lyxlayout.h: ws change.
9950 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9952 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9954 2002-09-03 Angus Leeming <leeming@lyx.org>
9956 * BufferView_pimpl.h: qualified name is not allowed in member
9957 declaration: WorkArea & Pimpl::workarea() const;
9959 * factory.C: added using std::endl directive.
9961 * text3.C: added using std::find and std::vector directives.
9963 2002-08-29 André Pönitz <poenitz@gmx.net>
9966 * text2.C: remove unused member number_of_rows
9969 * BufferView2.C: remove file, move contents to...
9970 * BufferView.C: ... here
9972 * BufferView_pimpl.C:
9973 * factory.C: move more inset creation to factory
9975 * vspace.C: avoid direct usage of LyXText, ws changes
9978 don't provide direct access to WorkArea, use two simple
9979 acessors haveSelction() and workHeight() instead
9982 2002-08-29 John Levon <levon@movementarian.org>
9984 * BufferView_pimpl.C (dispatch): do not continue when
9987 2002-08-28 André Pönitz <poenitz@gmx.net>
9989 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9992 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9994 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9996 * buffer.C: increment LYX_FORMAT to 221
9998 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9999 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10001 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10003 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10005 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10007 * factory.C (createInset): use LyXTextClass::floats
10009 * MenuBackend.C (expandFloatListInsert):
10010 (expandFloatInsert):
10013 * text2.C (setCounter):
10015 * LaTeXFeatures.C (useFloat):
10016 (getFloatDefinitions):
10018 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10020 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10021 floatlist_, with accessor floats().
10023 * FloatList.h: remove global FloatList
10025 2002-08-26 André Pönitz <poenitz@gmx.net>
10027 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10031 * BufferView_pimpl.C:
10032 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10034 2002-08-25 John Levon <levon@movementarian.org>
10036 * LyXAction.C: fix margin note description
10038 2002-08-24 John Levon <levon@movementarian.org>
10042 * bufferview_funcs.C:
10044 * undo_funcs.C: cleanups
10046 * lyxfunc.C: disable CUT/COPY when no selection
10048 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10050 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10051 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10053 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10054 Add backward compatibility to "mono", "gray" and "no".
10056 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10058 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10059 (and file_format >= 200).
10061 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10065 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10069 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10071 * BufferView_pimpl.C:
10078 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10079 inset and code to make it work with the paragraph code. The inset
10080 can be anywhere in the paragraph, but will only do the expected
10081 thing in LaTeX if the layout file contains the parameter line
10083 (or more generally, a nonzero value) for that layout.
10085 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10087 * paragraph.h: remove the declaration of undefined counters class
10090 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10092 * text2.C (setCounter): fixed enumeration mis-count as reported by
10093 Dr. Richard Hawkins.
10095 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * paragraph_funcs.h: remove some unneeded includes
10099 * text.C (backspace): pasteParagraph now in global scipe
10101 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10102 (pasteSelection): ditto
10104 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10105 * paragraph_funcs.C (pasteParagraph): ... here
10107 2002-08-20 André Pönitz <poenitz@gmx.net>
10109 * commandtags.h: new LFUNs for swapping/copying table row/colums
10112 * lyxfunc.C: support for new lfuns
10114 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10117 * buffer.[Ch]: remove NO_COMPABILITY stuff
10119 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10121 * boost.C (throw_exception): new file, with helper function for
10122 boost compiled without exceptions.
10127 * ParameterStruct.h:
10128 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10130 * bufferlist.C (emergencyWriteAll): use boost bind
10132 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10134 * text.C: include paragraph_funcs.h
10135 (breakParagraph): breakParagraph is now in global scope
10137 * paragraph_funcs.[Ch]: new files
10139 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10142 * buffer.C: include paragraph_funcs.h
10143 (insertStringAsLines): breakParagraph is now in global scope
10145 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10148 * CutAndPaste.C: include paragraph_funcs.h
10149 (cutSelection): breakParagraphConservative is now in global scope
10150 (pasteSelection): ditto
10152 * buffer.h: declare oprator== and operator!= for
10153 Buffer::inset_iterator
10155 * bufferlist.C (emergencyWrite): don't use fmt(...)
10157 * text3.C: add using std::endl
10159 * BufferView.C (moveCursorUpdate): remove default arg
10161 2002-08-20 André Pönitz <poenitz@gmx.net>
10163 * buffer.[Ch]: move inline functions to .C
10166 * BufferView_pimpl.C:
10168 * buffer.[Ch]: use improved inset_iterator
10171 * paragraph.[Ch]: write one paragraph at a time
10173 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10175 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10176 style if style is not specified.
10178 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * text2.C (setCounter): when searching for right label for a
10181 caption, make sure to recurse to parent insets (so that a caption
10182 in a minipage in a figure float works) (bug #568)
10184 2002-08-20 André Pönitz <poenitz@gmx.net>
10186 * text3.C: new file for LyXText::dispatch() and helpers
10188 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10190 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10192 2002-08-19 André Pönitz <poenitz@gmx.net>
10195 * text.C: new LyXText::dispatch()
10197 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10199 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10201 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10203 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10206 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10208 * Makefile.am: use $(variables) instead of @substitutions@
10210 2002-08-15 André Pönitz <poenitz@gmx.net>
10213 * BufferView_pimpl.C: streamlining mathed <-> outer world
10217 * LyXAction.C: remove unused LFUN_MATH
10219 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10221 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10223 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10225 * paragraph.C (Paragraph): reformat a bit
10226 (cutIntoMinibuffer): use builtin InsetList function instad of
10230 * buffer.C: include boost/bind.hpp, add using std::for_each
10231 (writeFileAscii): use ParagraphList iterators
10232 (validate): use for_each for validate traversal of paragraphs
10233 (getBibkeyList): use ParagraphList iterators
10234 (resizeInsets): use for_each to resizeInsetsLyXText for all
10236 (getParFromID): use ParagraphList iterators
10238 * BufferView2.C (lockInset): use paragraph list and iterators
10240 2002-08-14 John Levon <levon@movementarian.org>
10242 * lyxserver.C: remove spurious xforms include
10244 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10246 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10248 2002-08-13 André Pönitz <poenitz@gmx.net>
10251 * lyxfunc.C: further cleaning
10253 2002-08-13 André Pönitz <poenitz@gmx.net>
10255 * funcrequest.h: new constructor
10257 * funcrequest.C: move stuff here from .h
10260 * BufferView_pimpl.C:
10263 * lyxfunc.C: subsequent changes
10265 * lyxfunc.h: new view() member function
10267 * lyxfunc.C: subsequent changes
10269 2002-08-13 Angus Leeming <leeming@lyx.org>
10272 * BufferView_pimpl.C:
10280 changes due to the changed LyXView interface that now returns references
10281 to member variables not pointers.
10283 2002-08-13 Angus Leeming <leeming@lyx.org>
10285 * WordLangTuple (word, lang_code): return references to strings,
10290 * lyxtext.h: forward-declare WordLangTuple.
10295 * text.C: #include "WordLangTuple.h".
10298 * text.C: (selectNextWordToSpellcheck): constify return type.
10300 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10306 * paragraph_pimpl.h:
10309 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10310 suggested by Angus.
10311 Made updateCounter always count from start of buffer, and removed
10312 second argument (par).
10313 Reverted floats number display to '#'. Perhaps I'll try again when the
10314 code base is sanitized a bit.
10316 2002-08-12 Angus Leeming <leeming@lyx.org>
10318 * buffer.[Ch] (getLabelList): constify.
10320 2002-08-07 André Pönitz <poenitz@gmx.net>
10322 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10324 * funcrequest.h: extension to keep mouse (x,y) position
10326 2002-08-12 Juergen Vigna <jug@sad.it>
10328 * BufferView2.C (insertErrors): forbid undo when inserting error
10331 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10333 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10335 * ParagraphList.[Ch]: new files
10337 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10339 * BufferView2.C (lockInset): ParagraphList changes
10342 * bufferlist.C: ditto
10346 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10348 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10349 unused class variable counter_,
10351 * paragraph.[Ch] (getFirstCounter): delete unused function
10353 * counters.C: include LAssert.h
10354 (reset): add a new function with no arg, change other version to
10355 not have def. arg and to not allow empty arg.
10357 * text2.C (setCounter): remove empty arg from call to Counters::reset
10359 2002-08-11 John Levon <levon@movementarian.org>
10361 * Makefile.am: add WordLangTuple.h
10363 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10365 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10366 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10368 * insets/insettext.C: InsetList changes
10370 * graphics/GraphicsSupport.C (operator()): InsetList changes
10372 * toc.C (getTocList): InsetList changes
10374 * paragraph_pimpl.[Ch]: InsetList changes
10376 * paragraph.[Ch]: InsetList changes
10378 * buffer.C (inset_iterator): InsetList changes
10379 (setParagraph): ditto
10380 * buffer.h (inset_iterator): ditto
10381 * iterators.C (operator++): ditto
10382 * iterators.h: ditto
10384 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10386 * InsetList.[Ch]: new files, most InsetList handling moved out of
10389 * BufferView2.C (removeAutoInsets): InsetList changes
10391 (ChangeInsets): ditto
10393 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * paragraph_pimpl.h (empty): new function
10397 * paragraph.[Ch] (empty): new function
10399 * other files: use the new Paragraph::empty function
10401 2002-08-09 John Levon <levon@movementarian.org>
10403 * lyxtext.h: remove unused refresh_height
10405 2002-08-09 John Levon <levon@movementarian.org>
10412 * paragraph.C: move sgml char escaping out of paragraph
10415 * paragraph.C: remove id setter
10419 * paragraph_pimpl.C: remove dead tex_code_break_column
10421 * bufferview_funcs.C: small cleanup
10423 * lyxfunc.C: remove dead proto
10425 * lyxtext.h: make some stuff private. Remove some dead stuff.
10427 * lyxgluelength.C: make as[LyX]String() readable
10429 2002-08-08 John Levon <levon@movementarian.org>
10434 * ToolbarDefaults.C:
10437 * toc.C: lyxaction cleanup
10439 2002-08-08 John Levon <levon@movementarian.org>
10441 * BufferView2.C: small cleanup
10444 * lyxfind.C: move unnecessary header into the .C
10446 2002-08-08 John Levon <levon@movementarian.org>
10448 * funcrequest.h: just tedious nonsense
10451 * lyx_main.C: cleanups
10454 * vspace.C: remove dead header lyx_main.h
10456 2002-08-07 Angus Leeming <leeming@lyx.org>
10459 * paragraph_pimpl.h:
10460 Forward declare class Counters in paragraph.h by moving the ctrs member
10461 variable into Paragraph::Pimpl.
10462 (counters): new method, returning a reference to pimpl_->ctrs.
10464 * text2.C: ensuing changes.
10466 2002-08-07 John Levon <levon@movementarian.org>
10468 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10470 * BufferView_pimpl.C: announce X selection on double/triple
10473 * lyx_main.C: use correct bool in batch dispatch
10475 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10477 2002-08-07 André Pönitz <poenitz@gmx.net>
10479 * funcrequest.h: new class to wrap a kb_action and its argument
10482 * BufferView_pimpl[Ch]:
10486 * lyxrc.C: subsequent changes
10489 2002-08-07 John Levon <levon@movementarian.org>
10491 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10492 document options change.
10494 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10499 * makefile.am: move counters functionality over from
10500 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10502 2002-08-06 John Levon <levon@movementarian.org>
10504 * WordLangTuple.h: new file for word + language code tuple
10515 * BufferView2.C: use WordLangTuple
10518 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10520 2002-08-06 John Levon <levon@movementarian.org>
10522 * lyx_main.C: fix cmdline batch handling
10524 2002-08-06 André Pönitz <poenitz@gmx.net>
10526 * lyxrc.C: set default for show_banner to true
10528 2002-08-06 John Levon <levon@movementarian.org>
10530 * pspell.C: fix a crash, and allow new aspell to work
10532 2002-08-06 John Levon <levon@movementarian.org>
10535 * kbmap.C: small cleanup
10538 * vspace.C: add const
10540 2002-08-05 John Levon <levon@movementarian.org>
10542 * LyXAction.C: back to tabular-insert
10544 2002-08-04 John Levon <levon@movementarian.org>
10547 * BufferView.C: cosmetic change
10549 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10559 * BufferView2.C: purge all "Lyx" not "LyX" strings
10562 * lyxcursor.C: attempt to add some documentation
10567 * ToolbarDefaults.C:
10568 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10569 merge with LFUN_TABULAR_INSERT
10576 * pspell.C: split up i/pspell implementations into separate
10577 files, many cleanups
10579 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10581 * text2.C: some cleanup
10583 * lyxfunc.C: don't check for isp_command == "none" any more, it
10584 didn't make any sense
10586 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10591 * makefile.am: move counters functionality over
10592 from text2.C/paragraph.[Ch] to counters.[Ch], and
10594 2002-08-02 John Levon <levon@movementarian.org>
10596 * buffer.C: s/lyxconvert/lyx2lyx/
10598 2002-08-02 Angus Leeming <leeming@lyx.org>
10600 * lyxlex.C: revert John's change as it breaks reading of the user
10603 2002-08-02 Angus Leeming <leeming@lyx.org>
10605 * importer.C (Import):
10606 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10607 changes due to LyXView::view() now returning a boost::shared_ptr.
10609 2002-08-02 John Levon <levon@movementarian.org>
10611 * lyxlex.C: small cleanup
10613 2002-08-02 John Levon <levon@movementarian.org>
10615 * text2.C (status): small cleanup, no logic change
10617 2002-08-01 John Levon <levon@movementarian.org>
10620 * buffer.C (writeFile): don't output alerts, caller
10624 * lyx_cb.C: from above
10626 * lyxfunc.C: allow to open non-existent files
10628 2002-07-31 John Levon <levon@movementarian.org>
10630 * lyxserver.C: don't let incidental errors get
10633 2002-07-30 John Levon <levon@movementarian.org>
10635 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10637 2002-07-30 John Levon <levon@movementarian.org>
10640 * lyxserver.C: remove I/O callback too
10642 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10647 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10649 * many files: strip,frontStrip -> trim,ltrim,rtrim
10651 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10653 * PrinterParams.h: remove extern containsOnly, and include
10654 support/lstrings.h instead.
10656 * LaTeX.C (scanAuxFile): modify because of strip changes
10658 * buffer.C (makeLaTeXFile): ditto
10659 * bufferparams.C (writeFile): ditt
10660 * lyxfont.C (stateText): ditto
10661 * lyxserver.C (read_ready): ditto
10662 * vc-backend.C (scanMaster): ditto
10664 * BufferView_pimpl.h: ws changes
10666 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10668 2002-07-26 André Pönitz <poenitz@gmx.net>
10670 * kb_sequence.C: remove unnedred usings
10672 2002-07-26 Juergen Vigna <jug@sad.it>
10674 * lyxfind.C (LyXReplace): we have to check better if the returned
10675 text is not of theLockingInset()->getLockingInset().
10677 2002-07-25 Juergen Vigna <jug@sad.it>
10679 * lyxfind.C (LyXReplace): don't replace if we don't get the
10682 * undo_funcs.C (createUndo): remove debugging code.
10684 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10686 * buffer.C (parseSingleLyXformat2Token): Use default placement
10687 when reading old floats.
10689 * FloatList.C (FloatList): Change the default placement of figure
10690 and tables to "tbp".
10692 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10694 * MenuBackend.C: using std::max
10696 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * MenuBackend.C (expandToc):
10699 (expandToc2): code moved from xforms menu frontend. It is now
10700 generic and TOCs are transparent to menu frontends.
10702 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10704 * toc.C (getTocList): protect against buf=0
10706 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10707 Menu as first parameter. Now, this calls itself recursively to
10708 expand a whole tree (this will be useful for TOC handling)
10709 (expandFloatInsert): remove 'wide' version of floats
10711 * MenuBackend.h (submenuname): returns the name of the submenu.
10712 (submenu): returns the submenu itself, provided it has been
10713 created by MenuBackend::expand
10715 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10717 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10718 insets which have noFontChange == true. (bug #172)
10720 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10722 * BufferView_pimpl.C: add connection objects and use them...
10725 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10727 * MenuBackend.C (expandLastfiles):
10730 (expandFloatListInsert):
10731 (expandFloatInsert):
10732 (expand): split expand in parts
10734 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10736 * lyx_gui.C: use lyx_gui::exit()
10738 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10740 * LyXAction.C: show the failing pseudo action
10742 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10744 * buffer.C (readFile): Run the lyxconvert script in order to read
10747 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10751 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10753 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10757 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10759 2002-07-22 Herbert Voss <voss@lyx.org>
10762 * lyxlength.[Ch]: add support for the vertical lengths
10764 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10766 * toc.[Ch]: std:: fixes
10768 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10770 * lyxrc.C: do not include lyx_main.h
10772 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10778 * BufferView2.C: include "lyxlex.h"
10781 * bufferparams.h: do not #include "lyxlex.h"
10783 * lyxtextclasslist.C (Add): remove method
10784 (classlist): renamed to classlist_
10786 * paragraph_pimpl.C:
10790 * bufferview_funcs.C:
10795 * toc.C (getTocList): use BufferParams::getLyXTextClass
10797 * toc.C (getTocList): use InsetFloat::addToToc
10799 * toc.[Ch]: new files, containing helper functions to handle table
10802 * lyxfunc.C (dispatch): no need to remove spaces around command
10804 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10805 first command of the sequence; it is not very clever, but I do not
10806 have a better idea, actually
10808 * LyXAction.C (LookupFunc): make sure to remove space at the
10809 beginning and end of the command
10811 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10813 * MenuBackend.C (getMenubar): new method: return the menubar of
10815 (read): treat differently reading of menu and menubar (in
10816 particular, the menubar has no name now)
10817 (Menu::menubar): remove
10819 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10822 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10824 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10825 a bibitem inset in a RTL paragraph.
10827 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10829 * paragraph_pimpl.C: constify
10831 * BufferView_pimpl.C:
10833 * lyxfunc.C: fix dispatch in a nicer way
10835 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10837 * lyxfunc.C (dispatch):
10838 * BufferView_pimpl.C:
10839 * BufferView_pimpl.h:
10841 * BufferView.h: rename Dispatch() to dispatch()
10843 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10845 * lyxlayout.C (Read): honor DependsOn tag
10847 * lyxlayout.[Ch] (depends_on): new method
10849 * version.C.in: update lyx_docversion
10851 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10853 * paragraph.C (validate): remove from here...
10854 * paragraph_pimpl.C (validate): ... and move here
10855 (isTextAt): make it const
10857 * buffer.C (getLists): ws cleanup
10859 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10861 * language.C (read): Use iso8859-1 encoding in latex_lang
10862 (this prevents LyX from crashing when using iso10646-1 encoding).
10864 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10866 * text2.C (toggleInset): if cursor is inside an inset, close the
10867 inset and leave cursor _after_ it
10869 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10871 * lyxfunc.C: move minibuffer completion handling out of here
10873 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10875 * BufferView_pimpl.C:
10876 * LaTeX.C: fix dispatch calls
10878 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10880 * text.C (drawChars): Fix Arabic text rendering.
10882 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10886 * lyxfunc.C: remove message-push/pop
10890 * lyxfunc.C: rationalise some code by removing verboseDispatch
10891 in favour of a bool argument to dispatch()
10893 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10895 * lyx_main.C (init): make sure to read symlinks as absolute paths
10897 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10900 * lyxfunc.C: no need for commandshortcut to be a member
10902 2002-07-15 André Pönitz <poenitz@gmx.net>
10904 * converter.C: add support for $$s (scripts from lib/scripts dir)
10905 * lyx_main.C: white space
10907 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10911 * lyxrc.C: remove second exit confirmation
10913 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10918 * BufferView_pimpl.h:
10919 * BufferView_pimpl.C:
10920 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10922 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10924 * MenuBackend.C (expand): add numeric shortcuts to document menu
10926 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10928 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10930 * lyxfont.C (setLyXFamily):
10937 * buffer.C (asciiParagraph): use ascii_lowercase
10939 2002-07-15 Mike Fabian <mfabian@suse.de>
10941 * lyxlex_pimpl.C (search_kw):
10942 * lyxlex.C (getLongString):
10943 * converter.h (operator<):
10944 * converter.C (operator<):
10945 * buffer.C (parseSingleLyXformat2Token):
10947 * ToolbarDefaults.C (read):
10948 * MenuBackend.C (checkShortcuts):
10950 * LColor.C (getFromGUIName):
10951 (getFromLyXName): use the compare_ascii_no_case instead of
10952 compare_no_case, because in turkish, 'i' is not the lowercase
10953 version of 'I', and thus turkish locale breaks parsing of tags.
10955 2002-07-16 Angus Leeming <leeming@lyx.org>
10957 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10958 now takes a Buffer const & argument.
10960 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10962 * BufferView.C (resize): check there's a buffer to resize
10964 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10966 * lyxfunc.C: remove dead code
10969 * lyxserver.C: use lyx_guii::set_read_callback
10971 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10973 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10974 an inset in a RTL paragraph.
10976 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10978 * lyxfunc.C: repaint after a font size update
10980 2002-07-15 André Pönitz <poenitz@gmx.net>
10982 * lyxlength.C: inBP should be able to return negative values
10984 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10986 * lyxfunc.C: use lyx_gui::update_fonts()
10988 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10990 * lyxfunc.C: use lyx_gui::update_color()
10992 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10998 * lyxrc.C: remove file->new asks for name option, and let
10999 buffer-new take an argument
11001 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11003 * BufferView_pimpl.C: remove unneeded extra repaint()
11005 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11007 * LyXAction.C: allow command-sequence with NoBuffer
11009 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11011 2002-07-10 Angus Leeming <leeming@lyx.org>
11013 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11015 2002-07-09 Angus Leeming <leeming@lyx.org>
11017 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11019 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11021 * lengthcommon.h: whitespace
11023 * lyxfunc.C: update scrollbar after goto paragraph
11025 * lyxtext.h: factor out page break drawing, and fix it so
11026 page break/added space paints as selected nicely
11028 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11030 * BufferView_pimpl.C: add FIXMEs, clean up a little
11032 2002-07-09 André Pönitz <poenitz@gmx.net>
11034 * lyxfont.[Ch]: support for wasy symbols
11036 2002-07-08 André Pönitz <poenitz@gmx.net>
11038 * BufferView_pimpl.C: apply John's patch for #93.
11040 2002-07-05 Angus Leeming <leeming@lyx.org>
11042 * BufferView_pimpl.C (buffer): generate previews if desired.
11044 * LColor.h: add "preview" to the color enum.
11046 * LColor.C (LColor): add a corresponding entry to the items array.
11048 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11051 2002-07-05 Angus Leeming <leeming@lyx.org>
11053 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11054 The body of the code is now in the method that is passed an ostream &
11055 rather than a file name.
11056 Pass an additional only_preamble parameter, useful for the forthcoming
11059 2002-07-03 André Pönitz <poenitz@gmx.net>
11061 * lyxfunc.C: simplify getStatus() a bit for math stuff
11063 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11065 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11067 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11069 * text.C (changeRegionCase): do not change case of all the
11070 document when region ends at paragraph end (bug #461)
11072 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11074 * paragraph.C (startTeXParParams):
11075 (endTeXParParams): add \protect when necessary
11077 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11079 * BufferView_pimpl.C (workAreaExpose): remove warning
11081 2002-06-27 Angus Leeming <leeming@lyx.org>
11083 * Makefile.am: add lyxlayout_ptr_fwd.h.
11085 2002-06-26 André Pönitz <poenitz@gmx.net>
11087 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11089 2002-06-25 Angus Leeming <leeming@lyx.org>
11091 * lyxfunc.C (dispatch): Comment out the call to
11092 grfx::GCache::changeDisplay. The method no longer exists now that the
11093 pixmap generation part of the graphics loader has been moved into
11096 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11098 * text2.C: layout as layout
11100 * text.C: layout as layout
11102 * tabular.C (OldFormatRead): layout as layout
11104 * paragraph_pimpl.C (TeXDeeper): layout as layout
11105 (realizeFont): layout as layout
11107 * paragraph.C (writeFile): layout as layout
11108 (validate): layout as layout
11109 (getFont): layout as layout
11110 (getLabelFont): layout as layout
11111 (getLayoutFont): layout as layout
11112 (breakParagraph): layout as layout
11113 (stripLeadingSpaces): layout as layout
11114 (getEndLabel): layout as layout
11115 (getMaxDepthAfter): layout as layout
11116 (applyLayout): layout as layout
11117 (TeXOnePar): layout as layout
11118 (simpleTeXOnePar): layout as layout
11119 (TeXEnvironment): layout as layout
11120 (layout): layout as layout
11121 (layout): layout as layout
11123 * lyxtextclass.C (compare_name): new functor to work with
11124 shared_ptr, layout as layout
11125 (Read): layout as layout
11126 (hasLayout): layout as layout
11127 (operator): layout as layout
11128 (delete_layout): layout as layout
11129 (defaultLayout): layout as layout
11131 * lyxlayout_ptr_fwd.h: new file
11133 * lyxlayout.C (Read): layout as layout
11135 * lyx_cb.C (MenuInsertLabel): layout as layout
11137 * bufferlist.C (newFile): layout as layout
11139 * buffer.C (readLyXformat2): layout as layout
11140 (parseSingleLyXformat2Token): layout as layout
11141 (insertStringAsLines): layout as layout
11142 (asciiParagraph): layout as layout
11143 (latexParagraphs): layout as layout
11144 (makeLinuxDocFile): layout as layout
11145 (simpleLinuxDocOnePar): layout as layout
11146 (makeDocBookFile): layout as layout
11147 (simpleDocBookOnePar): layout as layout
11148 (getLists): layout as layout
11150 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11152 * CutAndPaste.C (cutSelection): layout as layout
11153 (pasteSelection): layout as layout
11154 (SwitchLayoutsBetweenClasses): layout as layout
11156 * BufferView_pimpl.C (Dispatch): layout as layout
11157 (smartQuote): layout as layout
11159 * BufferView2.C (unlockInset): layout as layout
11161 2002-06-24 André Pönitz <poenitz@gmx.net>
11163 * lyxfunc.C: fix #487
11165 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11169 * lyxfunc.C: remove display_shortcuts, show_banner
11171 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11173 * Buffer_pimpl.C: oops, update on resize
11175 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11182 * BufferView.C: use repaint()
11184 * BufferView_pimpl.h:
11185 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11186 as it's a clearer description. Remove superfluous
11189 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11191 * text.C: fix bug 488. Not ideal, but getting
11192 getWord() to work properly for the insets that
11193 matter is more difficult ...
11195 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11197 * BufferView_pimpl.C:
11200 * lyxfunc.C: remove the six million index lyxfuncs to just
11201 one, and DTRT (bug 458)
11203 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11207 * BufferView_pimpl.h:
11208 * BufferView_pimpl.C: clean up resize() stuff,
11209 and unnecessary updateScreen()s
11211 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11215 * BufferView_pimpl.h:
11216 * BufferView_pimpl.C:
11219 * minibuffer.C: remove focus management of workarea,
11220 not needed. Use screen's greyOut()
11222 2002-06-17 Herbert Voss <voss@lyx.org>
11224 * converter.C: (convert) do not post a message, when converting
11225 fails, let the calling function decide what to do in this case
11227 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11229 * lyxfunc.C: tidy up a little
11231 2002-06-16 <alstrup@diku.dk>
11233 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11234 Got rid of FORMS_H_LOCATION include. Now we are
11237 2002-06-15 LyX Development team <lyx@rilke>
11239 * buffer.[Ch] (sgmlOpenTag):
11240 (sgmlCloseTag): Added support for avoiding pernicious mixed
11241 content. Return number of lines written.
11243 (makeLinuxDocFile):
11244 (makeDocBookFile): Fixed calls to sgml*Tag.
11245 Simple white space clean.
11247 (simpleDocBookOnePar): Simple white space clean.
11249 * tabular.[Ch] (docBook): Renamed to docbook and got another
11250 argument to related with the pernicious mixed content.
11252 (docbookRow): Fixed calls for docbook inset method.
11254 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11256 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11257 so it's X11 independent.
11261 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11263 2002-06-15 Lyx Development team <lyx@electronia>
11265 * intl.h: Renamed getTrans to getTransManager.
11267 2002-06-14 Angus Leeming <leeming@lyx.org>
11269 * Makefile.am: nuke forgotten stl_string_fwd.h.
11271 2002-06-12 Angus Leeming <leeming@lyx.org>
11273 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11275 2002-06-13 Angus Leeming <leeming@lyx.org>
11278 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11280 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11282 * kbmap.C (getiso): add support for cyrillic and greek
11284 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11288 * BufferView_pimpl.h:
11289 * BufferView_pimpl.C: move bogus scrolling logic
11292 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11295 * BufferView_pimpl.C: view->resize() change
11297 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11299 * BufferView_pimpl.C: topCursorVisible
11302 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11306 * lyx_gui.C: move to frontends/
11310 * lyx_main.C: changes from above
11312 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11319 * lyx_main.C: minor tidy
11321 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11323 * BufferView_pimpl.h:
11324 * BufferView_pimpl.C:
11326 * BufferView.C: make painter() const,
11329 * BufferView2.C: use screen() accessor
11332 * lyx_main.C: some minor cleanup
11334 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11336 * BufferView_pimpl.h:
11337 * BufferView_pimpl.C: remove enter/leaveView,
11340 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11345 * BufferView_pimpl.h:
11346 * BufferView_pimpl.C: only construct screen once,
11349 * lyxrc.C: remove pointless comment
11351 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11354 * BufferView.C: remove active() and belowMouse()
11356 * BufferView_pimpl.h:
11357 * BufferView_pimpl.C: use workarea() not workarea_,
11358 and make it use a scoped_ptr instead
11360 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11362 * lyx_gui.C: add debug message on BadWindow
11364 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * sp_spell.C: fdopen is not part of the C++ standard.
11368 * paragraph.C (InsetIterator): use >= instead of ==
11370 2002-06-07 Angus Leeming <leeming@lyx.org>
11372 Fixes needed to compile with Compaq cxx 6.5.
11373 * BufferView_pimpl.C:
11380 * lyxtextclasslist.C:
11385 all c-library variables have been moved into namespace std. Wrap
11386 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11391 Add a using std::abs declaration.
11393 * kbmap.h (modifier_pair):
11394 * paragraph.h (InsetTable, InsetList):
11395 * lyxfont.h (FontBits):
11396 type definition made public.
11398 * bufferlist.C (emergencyWriteAll): the compiler complains that
11399 there is more than one possible lyx::class_fun template to choose from.
11400 I re-named the void specialisation as lyx::void_class_fun.
11402 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11404 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11405 the compiler is is unable to find tostr in write_attribute.
11407 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * buffer.C (sgmlError): hide #warning
11411 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * xtl/*: get rid of xtl, which is not in use anyway
11415 * LyXAction.C (init):
11416 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11417 were unimplemented xtl experimentation
11419 2002-06-04 André Pönitz <poenitz@gmx.net>
11421 * lyxfunc.C: disable array operation on simple formulae
11423 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11425 * converter.C: constify a bit
11427 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11429 * lyx_gui.C: check xforms version correctly
11431 2002-04-30 Herbert Voss <voss@lyx.org>
11433 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11436 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11438 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11439 attempt to register it with a VCS)
11441 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11443 * lyx_main.C (init): honor variables LYX_DIR_13x and
11446 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11450 * lyx_main.C: fix a crash on bad command line,
11451 and give a useful exit status on error
11453 * lyxfunc.C (doImport): allow -i lyx to work
11455 2002-03-30 André Pönitz <poenitz@gmx.net>
11457 * lyxfunc.C: mathed font changes
11459 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11474 * trans_mgr.h: srcdocs, and some minor cleanups
11476 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11478 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11479 call getFont all the time)
11481 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * switch from SigC signals to boost::signals
11485 2002-05-29 André Pönitz <poenitz@gmx.net>
11487 * paragraph_pimpl.C (getChar): don't call size() too often...
11489 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * paragraph_pimpl.C (insertChar): do not try to update tables when
11492 appending (pos == size())
11494 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11495 in order to reduce drastically the number of comparisons needed to
11496 parse a large document
11498 2002-05-29 André Pönitz <poenitz@gmx.net>
11504 * textclasslist.[Ch]:
11505 * sp_ispell.h: whitespace change
11507 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11509 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11510 lyxaction directly now.
11512 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11516 * lyxvc.C: remove unused headers
11518 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11525 * undo_funcs.C: some cleanups. Use shared_ptr
11526 and a template for the undo stacks.
11528 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11530 * BufferView_pimpl.h:
11531 * BufferView_pimpl.C:
11538 * text2.C: use key_state/mouse_state
11540 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11542 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11545 * chset.C: change include order
11546 (loadFile): use boost regex and get rid of LRegex and LSubstring
11548 * Makefile.am (BOOST_LIBS): new variable
11549 (lyx_LDADD): use it
11551 * LaTeX.C: change include order.
11552 (scanAuxFile): use boost regex and get rid of LRegex and
11556 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11561 * FontInfo.C: moved to frontends/xforms/
11564 * FontLoader.C: moved into frontends for GUIIzation
11569 * lyxfunc.C: changes from above
11571 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11573 * LColor.C: remove spurious X include
11575 * BufferView_pimpl.C:
11580 * text2.C: move font metrics to frontends/
11582 2002-05-24 Juergen Vigna <jug@sad.it>
11584 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11585 setting the undo_cursor.
11587 * ParagraphParameters.h: include local includes first.
11589 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11591 * BufferView_pimpl.C:
11592 * BufferView_pimpl.h:
11596 * screen.C: move WorkArea into frontends/
11602 * BufferView2.C: move LyXScreen into frontends/
11606 * lyx_gui.C: move lyxlookup into frontends/xforms/
11608 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11611 * BufferView_pimpl.C:
11621 * bufferview_funcs.C:
11634 * vc-backend.C: move LyX/XFormsView into frontends/
11636 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11648 * text2.C: move Painter to frontends/
11650 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * buffer.C: comment out some some code that depend upon lyx_format
11655 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11656 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11658 * buffer.h (NO_COMPABILITY): turn off compability
11660 * ColorHandler.C: include scoped_array.hpp
11662 * font.C: Use more specific smart_ptr header.
11665 * ShareContainer.h: ditto
11666 * lyx_main.h: ditto
11668 * FontInfo.h: ditto
11669 * BufferView_pimpl.h: ditto
11670 * ColorHandler.h: ditto
11672 * kbmap.C (defkey): change call to shared_ptr::reset
11674 2002-05-21 Juergen Vigna <jug@sad.it>
11676 * buffer.C (insertErtContents): fix to insert ert asis if it is
11677 non empty. Skip it completely if it contains only whitespaces.
11679 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11681 * BufferView_pimpl.C:
11682 * BufferView2.C: clear selection on paste (bug 393)
11684 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11686 * DepTable.C: include ctime
11688 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11690 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11692 2002-05-14 Juergen Vigna <jug@sad.it>
11694 * text.C (breakParagraph): fixed function to honor the keepempty
11695 layout in the right maner and also to permit the right breaking
11696 algorithm on empty or non empyt keepempty paragraphs.
11698 * paragraph.C (breakParagraph): we have to check also if the par
11699 is really empty (!size()) for isempty otherwise we do the wrong
11702 2002-05-10 Juergen Vigna <jug@sad.it>
11704 * buffer.[Ch] : The following are only changes to the ert
11705 compatibility read reading old LaTeX layout and font stuff and
11706 convert it to ERTInsets.
11708 * buffer.h: added isErtInset().
11710 * buffer.C (struct ErtComp): add a fromlayout bool to check
11711 if we're inside a LaTeX layout.
11712 (isErtInset): new helper function.
11713 (insertErtContents): look for other ert insets before this one
11714 and insert the contents there, so that we don't have subsequent
11715 ERT insets with nothing between them. This way we create only one
11716 inset with multiple paragraphs. Also check if we don't insert only
11717 spaces ' ' as they are ignored anyway afterwards in the .tex file
11718 so if we have only spaces we will ignore this latex part in the
11720 (parseSingleLyXformat2Token \\layout): better compatibility when
11721 reading layout-latex stuff.
11722 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11724 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11725 stuff after reading the inset only get the information back from
11728 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11730 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11732 * LaTeXFeatures.C (getBabelOptions): New method.
11734 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11736 * BufferView_pimpl.C (Dispatch): work around missing argument for
11739 2002-05-08 Juergen Vigna <jug@sad.it>
11741 * text.C (leftMargin): handle paragraph leftindent.
11743 * paragraph.C (writeFile): write the new \\leftindent tag.
11744 (validate): handle leftindent code.
11745 (TeXEnvironment): handle paragraphleftindent code again.
11747 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11749 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11750 for paragrap_extra indent code and new token \\leftindent.
11751 (latexParagraphs): handle the leftindent as environment.
11753 * ParameterStruct.h: added leftindent support.
11755 * ParagraphParameters.C (leftIndent): added support functions for
11756 the paragraph left indent.
11758 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11761 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11763 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11766 * text.C (computeBidiTables): No bidi in insetERT.
11768 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11771 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * version.C.in: pre 5
11775 2002-05-02 José Matos <jamatos@fep.up.pt>
11776 * buffer.C (makeDocBookFile): white space changes, add newline to
11778 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11780 * tabular.C (docBook): fix typo.
11782 2002-05-03 Juergen Vigna <jug@sad.it>
11784 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11785 change in LyXText as we can not be sure it was not freed.
11786 (drawOneRow): remove unused code.
11788 * text.C (drawInset): redo the calculation of the need_break_row as
11789 it could have a row which was already freed.
11790 (draw): look at the return value of drawInset and return false if
11791 it also returned false.
11792 (paintRowText): look at the return value of draw and return false if
11793 it also returned false.
11795 * lyxtext.h: added bool return type to drawInset() and draw() so that
11796 if we have a change in the row so that the rowbreak has to be redone
11797 we abort drawing as it will be called again.
11799 2002-05-02 Juergen Vigna <jug@sad.it>
11801 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11802 a change in the maintext also if we're inside an inset.
11803 (Dispatch): set the cursor again after a break line and after the
11804 screen has been updated as it could be we're in a different row.
11806 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11807 to set the cursor behind the pargraph with > size().
11808 (setCursor): check also for the same paragraph when checking where
11809 to put the cursor if we have a NFR inset.
11811 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11812 parts of layout read further up as it still was in the wrong
11815 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * screen.C (drawFromTo): change sine fullRebreak always return
11820 * buffer.C (parseSingleLyXformat2Token): reindent some
11822 * BufferView_pimpl.C (update): change since fullRebreak always
11824 (Dispatch): git rid of the last hardcoded "Standard"s.
11826 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11828 * text2.[Ch] (fullRebreak): make it return void now that we always
11831 2002-04-30 Juergen Vigna <jug@sad.it>
11833 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11834 ert compatibility check for "latex" layout.
11836 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11838 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11839 minipages: use col% instead of p%, and also use the current font.
11840 (makeLaTeXFile): Fix use babel condition.
11841 (parseSingleLyXformat2Token): Correct font when reading old floats.
11843 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11845 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11846 inserting list of floats.
11848 2002-04-25 Herbert Voss <voss@lyx.org>
11850 * MenuBackend.C (expand): don't add the graphics extensions to the
11853 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11855 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11856 non-existing layout, do not complain if it was the default layout
11857 of the original class (bug #342)
11859 2002-04-24 Juergen Vigna <jug@sad.it>
11861 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11862 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11864 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11866 * buffer.C (getBibkeyList): If using \bibliography, return the
11867 option field with the reference itself. Enables us to provide natbib
11868 support when using \bibliography.
11870 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11872 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11874 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11875 natbib is provided by the LaTeX class.
11877 2002-04-23 Juergen Vigna <jug@sad.it>
11879 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11882 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11884 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11886 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11888 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11889 ensuremath around textordmasculine, textordfeminine and
11892 2002-04-19 Juergen Vigna <jug@sad.it>
11894 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11895 reinitializing the buffer otherwise row-dimensions may be wrong.
11896 (update): reset also the selection cursors if they do exits otherwise
11897 their x/y positions may be wrong.
11899 * text2.C (cursorDown): don't enter the inset if we came from a row
11900 above and are one row over the inset.
11902 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11903 really leaving an inset.
11905 2002-04-18 Juergen Vigna <jug@sad.it>
11907 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11908 of the selected paragraph does not have the selected layout also if
11911 * text2.C (setLayout): fixed bug which did not change last selected
11914 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11915 changed the read and substituted \\end_float with \\end_inset!
11917 * BufferView_pimpl.C (cursorPrevious):
11918 (cursorNext): fixed to make it work with rows heigher than the work
11919 area without moving the cursor only the draw of the row.
11920 (workAreaMotionNotify): fix jumping over high rows.
11922 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11927 2002-04-16 Juergen Vigna <jug@sad.it>
11929 * text2.C (setCursor): set also the irow().
11930 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11932 (cursorDown): support for locking an inset if the x_fix value goes
11933 inside it. That way I can transverse insets too with cursor up/down.
11935 * lyxrow.h: added irow helper function same as other (i) functions.
11937 * BufferView_pimpl.C (cursorPrevious):
11938 (cursorNext): fixed for insets!
11940 2002-04-15 Juergen Vigna <jug@sad.it>
11942 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11943 position otherwise it is wrong in some cases.
11945 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11946 inside the inset before the call.
11948 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11950 * buffer.[Ch] (getBibkeyList): make it const.
11952 2002-04-12 Juergen Vigna <jug@sad.it>
11954 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11956 * text2.C (getCursorX): new helper function
11957 (setCursor): compute also ix_
11958 (setCursorFromCoordinates): set also ix.
11960 * lyxcursor.h: added ix_ and helper functions.
11962 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11964 * buffer.C (insertStringAsLines): dont break paragraph if the this
11965 paragraph is inside an inset which does not permit it!
11967 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11968 also with no chars on this paragraph.
11969 (paintRowText): only paint stuff if it's inside the workarea!
11971 * paragraph.C (breakParagraph): honor keepempty flag and break the
11972 paragraph always below not above.
11974 * BufferView2.C (unlockInset): update the paragraph layout on inset
11975 unlock as we changed paragraph in such a case.
11977 * lyxfind.C (LyXFind): clear the former selection if not found!
11979 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11980 again called in insertChar().
11982 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11983 an inset which uses the whole row!
11984 (rightMargin): ditto.
11985 (insertChar): force a rebreak if we inserted an inset!
11987 2002-03-28 Herbert Voss <voss@lyx.org>
11989 * lyxlength.[Ch]: add inBP() to get the right PS-point
11990 units (BigPoint). With inPixels we have rounding errors
11992 2002-04-11 Juergen Vigna <jug@sad.it>
11994 * text2.C (setCursorFromCoordinates): set iy to the right value.
11995 (setCursor): add check if row->previous exists!
11997 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11998 an old float_type as this was the case in the old code!
12000 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12002 * BufferView2.C (showLockedInsetCursor): use iy
12003 (fitLockedInsetCursor): ditto
12005 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12006 locked insets as there we have the right value now.
12008 * lyxcursor.C: added iy_ variable and iy functions to set to the
12009 baseline of cursor-y of the locked inset.
12011 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12012 (setCursor): fixed for insets which need a full row.
12014 * text.C (rowLastPrintable): don't ignore the last space when before
12015 an inset which needs a full row.
12016 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12017 as last character of a row when before a inset which needs a full row.
12019 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * version.C.in: update date
12023 * text2.C (fullRebreak): try to always return true and see what
12026 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * MenuBackend.C (expand): use Floating::listName
12030 * FloatList.C (FloatList): add listName argument to the built-in
12033 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12034 text associated with the float.
12036 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12038 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12040 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * ShareContainer.h: add a couple of missing typenames.
12044 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12046 * lyxrc.C (getDescription): use _() correctly rather than N_().
12048 2002-03-28 Herbert Voss <voss@lyx.org>
12050 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12051 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12053 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12055 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12056 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12058 2002-03-29 Juergen Vigna <jug@sad.it>
12060 * lyxfunc.C (dispatch): add a missing fitCursor call.
12062 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12063 it was scrolled by a cursor move, so return the bool status.
12065 * BufferView.C (fitCursor): return the bool flag also to the outside
12066 world as this is needed.
12068 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12070 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12071 call the edit() as it is not needed (and wrong) IMO.
12072 (workAreaButtonPress): set the screen_first variable before evt.
12073 unlock the inset as this may change screen_first and then we have
12074 a wrong y position for the click!
12076 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12078 * MenuBackend.C (expand): another translation that I missed
12080 2002-03-28 Juergen Vigna <jug@sad.it>
12082 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12084 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12086 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12088 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12090 * MenuBackend.C (expand): fix export/view/update when there is no
12093 2002-03-27 Herbert Voss <voss@lyx.org>
12095 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12098 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12100 * bufferview_funcs.C (currentState): only show paragraph number
12101 for is DEVEL_VERSION is set.
12103 * lyxfunc.C (dispatch): put warning in INFO channel
12105 * MenuBackend.C (expand): translate the name of floats
12107 * FloatList.C (FloatList): mark the float names for translation
12109 * converter.C (convert): use LibScriptSearch
12111 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12113 * MenuBackend.C (defaults): fix default menu (we might as well get
12116 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12121 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * lyxvc.C: reorder includes.
12125 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12127 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12130 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12132 * CutAndPaste.C: change layouts earlier on paste
12133 to avoid crashing when calling getFont()
12135 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12137 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12140 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * WorkArea.C: remove 'Pending' debug message.
12144 * most files: ws cleanup
12146 * buffer.[Ch]: ws changes
12148 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12150 2002-03-21 Juergen Vigna <jug@sad.it>
12152 * tabular.C (SetMultiColumn): collapse also the contents of the
12153 cells and set the last border right. Added a Buffer const * param.
12155 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12160 2002-03-19 Juergen Vigna <jug@sad.it>
12162 * text2.C (clearSelection): reset also xsel_cache.
12164 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12165 where it needs to be called (John tells us to do so too :)
12166 (selectionLost): reset sel_cache.
12168 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12170 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12172 * text2.C (setCursorIntern): put debuging code in INSETS channel
12174 2002-03-19 André Pönitz <poenitz@gmx.net>
12176 * lyxfunc.C: tiny whitespace change
12178 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12180 * ToolbarDefaults.C (init):
12181 * LyXAction.C (init):
12183 * BufferView_pimpl.C (Dispatch):
12184 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12186 2002-03-19 Allan Rae <rae@lyx.org>
12188 * exporter.C (Export): removeAutoInsets before doing anything else.
12189 While I've just introduced a dependency on BufferView this really is
12190 the best place to clean the buffer otherwise you need to cleanup in
12191 a dozen places before calling export or cleanup in a dozen functions
12194 * converter.C (runLaTeX):
12195 (scanLog): Better handling of removeAutoInsets and screen updates.
12197 * lyxfunc.C (dispatch): small whitespace changes
12199 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12201 * WorkArea.C (C_WorkAreaEvent): return a value.
12202 (event_cb): return 1 if we handled the event, 0 otherwise.
12204 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12206 2002-03-18 Juergen Vigna <jug@sad.it>
12208 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12209 (GetAdditionalWidth): ditto.
12210 (RightLine): ditto.
12213 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12214 inset if we're there actually (probably not used right now but this
12215 is the direction to go for unifying code).
12216 (paste): disable code to clear the selection.
12218 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12219 inside an InsetText and move the check further up as it is in the
12222 * text2.C (pasteSelection): set a selection over the pasted text.
12224 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12226 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12227 and libgraphics to build on Cygwin.
12229 2002-03-15 Juergen Vigna <jug@sad.it>
12231 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12232 inserting an Inset into the paragraph. I know this is not the best
12233 fix but we already use current_view in CutAndPaste so we will remove
12234 all of it's using at the same time.
12236 * buffer.C (sgmlError): deactivated function till it is rewritten in
12237 the right mode, now it can create problems.
12239 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12240 before accessing it.
12242 2002-03-14 Juergen Vigna <jug@sad.it>
12244 * undo_funcs.C (textHandleUndo): do the right thing when updating
12245 the inset after the undo/redo.
12247 * text2.C (setCursor): just some testcode for #44 not ready yet.
12249 * undo_funcs.C (textHandleUndo): set the next() and previous()
12250 pointers of the paragraph to 0 before deleting otherwise we have
12251 problems with the Paragraph::[destructor].
12253 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12254 on a paragraph insertion.
12256 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12258 * buffer.C (asciiParagraph): use += operator for char append to
12261 * paragraph.C (getFontSettings): compare >= not just >
12262 (highestFontInRange): ditto
12265 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12267 * paragraph.C: change several algorithm to be more appripriate for
12268 the problem domain. This is lookip in FontList and in the InsetList.
12270 2002-03-13 André Pönitz <poenitz@gmx.net>
12273 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12275 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12280 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12282 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12284 * Painter.C (display): anon helper function, adjust code for this
12286 (pixmap): remove function.
12288 * Painter.h: remove private display variable.
12290 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12292 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12294 * WorkArea.[Ch]: remove figinset_canvas cruft.
12296 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * lyxtextclass.C (operator): add one item cache optimization.
12300 * bufferlist.h: doxy changes
12302 * bufferlist.C: ws changes
12304 * DepTable.[Ch] (ext_exist): place const in the right spot.
12306 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12308 (workAreaExpose): call resizeInsets when the with BufferView changes.
12309 (Dispatch): adjust for protectedBlank removal
12310 (specialChar): call updateInset if the insert went ok.
12312 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12313 specialChar instead.
12315 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12317 * BufferView.h: doxy change
12319 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12321 * lyxtextclass.C (operator[]): remove non-const version
12322 (defaultLayout): remove non-const version
12324 2002-03-12 Juergen Vigna <jug@sad.it>
12326 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12327 did resize the LyXText too.
12329 * buffer.C (readLyXformat2): set layout information on newly allocated
12332 * tabular.C (OldFormatRead): set layout information on the paragraph.
12334 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12336 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12338 2002-03-11 Juergen Vigna <jug@sad.it>
12340 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12342 (resizeCurrentBuffer): force also the insets to resize themselfes.
12343 (moveCursorUpdate): fixed up for InsetText.
12345 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12348 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12349 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12350 value of Dialogs::tooltipsEnabled().
12351 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12353 2002-03-08 Juergen Vigna <jug@sad.it>
12355 * BufferView_pimpl.C (updateInset): update inset inside inset also
12356 if it isn't inside theLockingInset().
12358 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12360 * buffer.C (asciiParagraph): redo some of the word and line length
12362 (getLists): look for Caption instead of caption.
12364 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12366 * buffer.C (Buffer): initialize niceFile to true
12368 (makeLinuxDocFile):
12369 (makeDocBookFile): make sure niceFile is true on exit
12371 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12373 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12375 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12377 * LyXSendto.C: remove.
12378 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12379 * lyx_gui.C: remove now-redundant comment.
12380 * ColorHandler.h: remove forward declaration of class WorkArea.
12381 * lyxfunc.C: remove #include "WorkArea.h".
12383 2002-03-07 Juergen Vigna <jug@sad.it>
12385 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12386 got moved away with the DEPM and also set the inset_owner always
12387 right which before could have been omitted.
12389 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12391 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12392 wanted layout is not found.
12394 2002-03-07 Juergen Vigna <jug@sad.it>
12396 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12398 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12400 * paragraph.C (breakParagraph): use default layout not layout of
12402 (Paragraph): clear ParagraphParameters.
12404 2002-03-06 Juergen Vigna <jug@sad.it>
12406 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12407 otherwise it would not be a valid lenght. Fixed a special case in
12408 the minipage compatibility read where we end the document with a
12411 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12412 was set as it could be 0 for InsetTexts first entry.
12414 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * paragraph.C (writeFile): if layout is empty write out
12417 defaultLayoutName().
12419 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12420 file without named layout we set layout to defaultLayoutName().
12422 2002-03-06 Juergen Vigna <jug@sad.it>
12424 * CutAndPaste.C (copySelection): set layout for new paragraph.
12426 * text.C (prepareToPrint): leave ERT inset left aligned
12427 (leftMargin): don't indent paragraphs inside ERT insets
12429 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12431 * paragraph.C (breakParagraph): dont call clear do the work manually
12433 * paragraph.[Ch] (clear): remove function
12435 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * paragraph.C (Paragraph): dont call clear, the work has already
12440 * lyxtextclass.C (operator): assert if n is empty
12442 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12443 work manually instead.
12445 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12447 * BufferView_pimpl.C: protect selectionLost against text == 0
12449 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12451 * text.C (breakParagraph): fix a setting layout to '0' problem.
12453 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12455 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12456 final location of file, for the included files, and graphics.
12458 2002-03-05 Juergen Vigna <jug@sad.it>
12460 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12462 2002-03-04 Juergen Vigna <jug@sad.it>
12464 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12466 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12467 last column of multicolumn cells.
12468 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12470 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12472 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12473 file if it doesn't go to a temporary file.
12475 * buffer.C (sgmlOpenTag):
12476 (sgmlCloseTag): remove extra newline insertion.
12478 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12480 * text.C (getRowNearY): comment out debug msg
12482 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12484 * text2.C: first -> first_y
12486 * text.C (getRowNearY): add some attemts at a possible
12487 optimization, not working.
12489 * tabular.[Ch]: add BufferParams to several function so that newly
12490 created paragraph can be initialized to he default layotu for the
12493 * tabular-old.C (ReadOld): add buf->params to call of Init
12495 * screen.C: rename text->first to text->first_y
12497 * paragraph.C (breakParagraph): always set layout in the broken
12500 * lyxtextclass.C (Read): remove lowercase
12503 (delete_layout): ditto
12505 * lyxtext.h: rename first -> first_y
12507 * lyxlayout.C (Read): remove lowercase
12510 (obsoleted_by): ditto
12512 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12514 * buffer.C (insertErtContents): add params are to InsetERT
12515 (parseSingleLyXformat2Token): add code to check if a paragraphs
12516 layout really exist.
12517 (parseSingleLyXformat2Token): add params to several inset
12519 (asciiParagraph): remove lowercase, do the layout comparisons with
12522 * BufferView_pimpl.C (cursorNext): first -> first_y
12523 (resizeCurrentBuffer): first -> first_y
12524 (updateScrollbar): first -> first_y
12525 (scrollCB): first -> first_y
12526 (workAreaMotionNotify): first -> first_y
12527 (workAreaButtonPress): first -> first_y
12528 (checkInsetHit): first -> first_y
12529 (cursorPrevious): first -> first_y
12530 (cursorNext): first -> first_y
12531 (Dispatch): add buffer_->params to severl inset contructors
12533 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * lyxlayout.C (Read): remove some debug info that I forgot.
12537 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12538 clean up the code slightly.
12539 (makeLinuxDocFile): ditto
12540 (makeDocBookFile): ditto
12542 * text2.C: layout as string
12544 * text.C: layout as string
12546 * paragraph_pimpl.C: layout as string
12548 * paragraph.[Ch]: layout as string
12550 * lyxtextclasslist.[Ch]: layout as string
12552 * lyxtextclass.[Ch]: layout as string
12554 * lyxtext.h: layout as string
12556 * lyxlayout.[Ch]: layout as string
12558 * lyx_cb.C: layout as string
12560 * bufferview_funcs.C: layout as string
12562 * bufferparams.C: layout as string
12564 * buffer.C: layout as string
12566 * LyXView.[Ch]: layout as string
12568 * LaTeXFeatures.[Ch]: layout as string
12570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12572 * BufferView_pimpl.C: change current_layout to string, remove
12577 (workAreaButtonRelease): layout as string
12579 * BufferView2.C (unlockInset): adjust
12581 * vspace.C (asLatexCommand): use an explict temp variable.
12583 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12585 * Makefile.am: use FRONTEND_*
12587 2002-03-01 Juergen Vigna <jug@sad.it>
12589 * tabular.C (SetWidthOfMulticolCell): changed to something better
12590 I hope but still work in progress.
12591 (recalculateMulticolumnsOfColumn): renamed function from
12592 recalculateMulticolCells as it is more appropriate now.
12593 (SetWidthOfCell): calculate multicols better.
12595 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12597 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12599 * lyxfunc.C (processKeySym): print sequence also if it is
12600 `deleted' (complete)
12602 * kbsequence.C (print): print sequence even if it is deleted
12603 (complete would be a better word, actually).
12605 * lyxfunc.C (dispatch): print complete options after a prefix key
12607 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12609 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12611 * text2.C (setCharFont): eliminate setCharFont code duplication.
12613 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12615 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12616 LFUN_TABULAR_FEATURE (bug #177)
12618 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12620 * Makefile.am: remove figure.h
12622 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12624 * Bufferview_pimpl.C:
12636 * text2.C: remove #include "lyx_gui_misc.h".
12638 * LaTeX.C: added #include <cstdio>
12640 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12642 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12643 that the paragraph following this one can have.
12645 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12647 * vspace.C (asLatexCommand): fix bogus gcc warning
12649 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12651 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12653 * text2.C (setLayout): get rid of redundant code
12655 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12657 * text2.C (incDepth): make sure depth cannot be increased beyond
12660 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12662 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12663 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12665 * PainterBase.h (image):
12666 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12667 a LyXImage const *.
12669 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12673 * BufferView_pimpl.C:
12674 * BufferView_pimpl.h:
12694 * sp_spell.C: remove fig inset, and the crap house of
12695 cards that follows it
12697 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12702 * os2_errortable.h:
12703 * nt_defines.h: move .h into support/
12705 * vms_defines.h: remove
12707 * WorkArea.C: add space in debug output
12711 * buffer.C: add WITH_WARNINGS
12715 * bufferlist.C: s/retrive/retrieve/, add docs
12724 * chset.C: add docs
12726 * lyxgui.C: add ID to X error handler
12728 * lyxtestclass.c: fix typo
12730 2002-02-26 Juergen Vigna <jug@sad.it>
12732 * tabular_funcs.C (write_attribute): changed so that some default
12733 attributes are not written at all.
12734 (getTokenValue): set default values before trying to read the
12735 value so we have the return value always set as default if we don't
12736 find the token we search for.
12738 * tabular.C (Write): write bools as bools not as strings!
12740 2002-02-22 Juergen Vigna <jug@sad.it>
12742 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12743 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12745 * text.C (leftMargin): don't add an indent for paragraphs inside
12746 tabular cells (fix #208).
12748 2002-02-21 José Matos <jamatos@fep.up.pt>
12750 * tabular.C (docBook): fixed support for long tables.
12752 2002-02-20 Juergen Vigna <jug@sad.it>
12754 * text2.C (getFont): get the drawing font of the Inset if this
12755 paragraph is inside an inset (only important for InsetERT for now).
12757 * buffer.C (insertErtContents): use new lanugage params in ERT
12760 * CutAndPaste.C: commenting out seemingly uneeded code.
12762 2002-02-19 Allan Rae <rae@lyx.org>
12764 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12765 Iterators might be simple to use but they also get invalidated.
12766 (removeAutoInsets): renamed saved cursor tracking variables and added
12767 some comments to clarify what everything does.
12769 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12776 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12777 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12780 * vc-backend.h: remove #include "support/syscall.h"
12784 * converter.C: rearrange #includes in Lars' approved fashion.
12786 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12787 forward declare class Timeout in the header file.
12789 * XFormsView.C: changes due to the above.
12791 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12792 similar to LyXView.
12794 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12795 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12797 2002-02-18 José Matos <jamatos@fep.up.pt>
12799 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12802 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12804 * a lot of small ws changes
12805 * add a lot of using std::XXX
12806 * use std construcs some places where approp.
12807 * use some exisint stuff from lyxfunctional where approp.
12808 * Make file changes to use partial linking (lets test this now...)
12810 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12814 remove #include "support/syscontr.h" as it's redundant. Always has been.
12822 change Systemcalls::System to Systemcalls::Wait and
12823 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12824 No change of functionality, just reflects the stripped down Systemcalls
12827 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12829 * debug.[Ch]: add a GRAPHICS type to the enum.
12831 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12833 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12835 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12838 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12840 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12841 match the changes below.
12843 * text2.C (toggleInset): if there is not editable inset at cursor
12844 position, try to see if cursor is _inside_ a collapsable inset
12847 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12850 document menu has a nice checkbox
12852 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12854 * lyxlength.C (asLatexString): change PW to output as percent of
12857 * lengthcommon.C: change '%' to 't%'
12859 * lyxfunc.C (dispatch): a few comments from Martin
12861 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12865 * BufferView_pimpl.h:
12866 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12869 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12871 * vspace.C (inPixels): fix compiler warning
12873 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12875 * lyxfunc.C (getStatus): fix status message for disabled commands.
12877 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12879 * BufferView_pimpl.C: fix crash on close buffer
12880 during selection (#227)
12882 2002-01-27 Herbert Voss <voss@lyx.org>
12884 * buffer.C: link old Figure to new graphic inset
12886 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12888 * FontLoader.C (getFontinfo): Change the latex font names in order
12889 to match the names of type1inst.
12891 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12893 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12895 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12896 (extchanged): ditto
12898 (remove_files_with_extension): ditto
12899 (remove_file): ditto
12902 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12903 document is smaller than the work area height. Do not initialize
12904 static variables to 0.
12906 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12908 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12910 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12911 LFUN_LAYOUT_PARAGRAPHS.
12913 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12914 tabular. It is possible to provide a possible cell, which will
12915 typically be the actcell from the corresponding insettabular
12917 * lyxfunc.C (getStatus): small cleanup; disable
12918 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12921 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12923 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12925 * paragraph.C (startTeXParParams):
12926 (endTeXParParams): new methods. The LaTeX code to
12927 start/end paragraph formatting
12928 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12929 empty (fixes bug #200)
12931 * vspace.C (inPixels): adapt to the change below
12932 (inPixels): [later] more cleanups (remove unused variables)
12934 * lyxlength.C (inPixels): change to use a width and a height as
12937 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12939 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12940 Replaced with \paperwidth
12942 * DepTable.C (insert): add std:: qualifier
12944 2002-01-18 Allan Rae <rae@lyx.org>
12946 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12949 * text.C (drawInset): Turned out I didn't know enough about how
12950 rebreaking worked. This fixes most of the redraw problems. I see
12951 an occasional cursor trail when a line is broken now and the cursor
12952 placement can seem out by a few pixels also after a rebreak.
12954 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12956 * buffer.C (parseSingleLyXformat2Token): update because minipage
12957 width is now a LyXLength
12959 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12961 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12964 2002-01-17 Juergen Vigna <jug@sad.it>
12966 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12968 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12969 is set correctly and the inset is updated correctly.
12971 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12973 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12974 the beginning of the loop.
12976 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12978 * lyxrc.C: improve help for use_scalable_fonts
12980 2002-01-17 Allan Rae <rae@lyx.org>
12982 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12984 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12986 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12987 make sure to set their inset_owner to the right value (bug #171)
12989 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12992 * DepTable.C: Implement mtime checking to reduce time spent doing
12995 2002-01-16 Juergen Vigna <jug@sad.it>
12997 * tabular.C (GetAdditionalHeight): one of error fixed.
12999 * lyxrc.C (output): small fix in writing use_pspell.
13001 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13003 * sp_base.h: #include LString.h
13005 2002-01-16 Allan Rae <rae@lyx.org>
13007 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13008 Can someone check this please?
13010 * text.C (drawInset): It was possible that p.row would be removed by
13011 breakAgainOneRow upsetting a few other settings. There may be another
13012 small tweak possible by setting need_break_row = 0 when p.row has been
13013 removed but I don't know enough about the logic here.
13015 2002-01-15 Allan Rae <rae@lyx.org>
13017 * text.C (insertChar): removed conditional truism.
13019 * BufferView2.C (removeAutoInsets): More tweaks.
13020 cur_par_prev could be a stray pointer. Check for trailing empty line
13021 in case last line was cur_par and only had an error inset on it.
13023 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13025 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13028 * vc-backend.C (most methods):
13029 * exporter.C (Export):
13030 * converter.C (convert):
13032 * LyXSendto.C (SendtoApplyCB):
13033 * lyxfunc.C (dispatch):
13037 * lyx_cb.C (AutoSave):
13039 * BufferView_pimpl.C (MenuInsertLyXFile):
13040 * buffer.C (runChktex): use Buffer::filePath().
13042 * buffer.h: rename filename to filename_; rename filepath to
13043 filepath_ and make it private
13044 (filePath): new method
13046 * buffer.C (writeFile): use fileName()
13049 * lyx_main.C (init): fix starting of LyX when the binary is a
13050 link from so,ewhere else.
13052 * minibuffer.C: include <cctype> for isprint
13054 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13056 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13057 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13058 name clash with InsetCollapsable's width function.
13060 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13062 * lastfiles.C: include <iterator>
13064 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13066 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13069 * buffer.C (makeLaTeXFile): ditto.
13070 Also make loop operation more transparent.
13072 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13074 * ToolbarDefaults.C: remove trailing comma closing namespace.
13076 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13078 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13081 * trans.C (Load): comment out unused variable, allowed.
13083 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13085 * minibuffer.[Ch] (append_char): new method to recieve input from the
13086 drop-down completion browser. If a key was pressed, then recieve this
13087 char and append it to the existing string.
13088 (peek_event): modify the positioning data passed to the completion
13089 browser so that it can be placed above the minibuffer rather than below.
13090 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * LyXAction.C (init): alloe error-next for readonly documents.
13094 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13097 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13099 * bufferlist.C (readFile): create the buffer _after_ checking that
13102 * lyxfunc.C (verboseDispatch): fix handling of arguments
13104 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13106 * lyxrc.C: use string::erase() instead of initializing to "".
13109 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13111 * BufferView_pimpl.h:
13112 * BufferView_pimpl.C:
13115 * text2.C: tell X when we have made a selection for copying
13117 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13119 * BufferView_pimpl.C (MenuInsertLyXFile):
13120 * lyxfunc.C (menuNew):
13122 (doImport): add shortcuts to directory buttons
13124 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13127 * lyxfunc.C (setStatusMessage):
13128 (getStatusMessage): new methods
13129 (getStatus):use setStatusMessage instead of setErrorMessage
13130 (dispatch): when function is disabled, set error message here
13131 [instead of in getStatus previously]
13133 * BufferView_pimpl.C (workAreaButtonRelease): update
13134 toolbar/menubar here too.
13136 2002-01-13 Allan Rae <rae@lyx.org>
13138 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13139 Now seems indestructible. Remaining task is to audit all other
13140 code affected by deleteEmptyParagraphMechanism. One small quirk
13141 left is that an empty document with an error in the preamble can
13142 be made to report an error but no error box appears. I don't know
13144 (removeAutoInsets): Improved comments.
13146 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13149 * Thesaurus.C: update for Aiksaurus 0.14
13151 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * text2.C (firstParagraph): removed member function, all uses
13154 replaces with ownerParagraph
13155 (redoParagraphs): here
13156 (updateInset): here
13157 (toggleAppendix): here
13158 * BufferView2.C (insertErrors): here
13159 (setCursorFromRow): here
13161 2002-01-13 Allan Rae <rae@lyx.org>
13163 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13164 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13165 There is still a way to segfault this although you may have to do this
13166 multiple times: Have an InsetERT with an unknown command in it.
13167 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13168 <down-arrow>, <Enter> again, View->DVI, BANG!
13170 * text2.C (setCursor):
13171 (deleteEmptyParagraphMechanism):
13172 * lyxtext.h (setCursor):
13173 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13174 Making use of the return value may help fix other bugs.
13176 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13178 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13180 * LyXView.C (updateMenubar): call MenuBar::update here
13181 (updateToolbar): but not here
13182 (showState): do not update toolbar/menubar
13184 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13185 should need to care about that.
13187 * lyxfunc.C (verboseDispatch): simplify a bit
13188 (getStatus): have a version which takes a pseudoaction, and
13189 another which requires a (kb_action,string).
13191 * LyXAction.C (retrieveActionArg): make it work also when action
13192 is not a pseudo-action.
13193 (getActionName): simplify a bit
13196 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13198 * lyxfunc.C (verboseDispatch): new families of methods with
13199 several ways to specify a command and a bool to indicate whether
13200 the command name and shortcut should be displayed in minibuffer
13201 (eventually, we could extend that to a finer bitmask like
13202 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13203 (dispatch): the pristine dispatch command which just, well,
13204 dispatchs! Note it still sets its result to minibuffer; I'm not
13207 * lyxfunc.h: remove setHintMessage
13209 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13211 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13213 * BufferView_pimpl.C (specialChar): delete new inset if we have
13214 not been able to insert it.
13216 * kbmap.C: revert to using int instead of kb_action, since all we
13217 are dealing with is pseudo-actions.
13219 * LyXAction.C (searchActionArg): change to return int instead of
13220 kb_action, since the result is a pseudoaction.
13222 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13224 * buffer.C (insertErtContents): Fix (partially) the font bug.
13226 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13228 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13229 as the other one is broken on my machine!
13231 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13234 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13236 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13238 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13239 reflect their actual use. Provide compatibility code for older lyxrc
13242 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13244 change names of popup font variables in line with the changes to lyxrc.C
13246 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13248 * buffer.C (asciiParagraph): avoid outputing a word twice after
13251 * lyxrc.C (getDescription): document that document_path and
13252 template_path can be empty.
13254 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13256 * LaTeXFeatures.C (getMacros):
13257 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13259 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13261 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13263 (getPackages): rename feature "floats" to "float". Use an array to
13264 iterate over 'simple' features (i.e. just a \usepackage). Add
13265 handling of "amsmath" (renamed from "amsstyle").
13267 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13269 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13272 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13274 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13275 FuncStaus::FuncStatus & FuncStaus::some_method().
13277 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13279 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13280 of the func_satus stuff. Edited and massaged in various ways by
13283 * lyxfunc.C (getStatus): use FuncStatus
13285 2002-01-08 Juergen Vigna <jug@sad.it>
13287 * text.C (nextBreakPoint): use function Inset::isChar().
13289 * paragraph.C (TeXOnePar): use function
13290 Inset::forceDefaultParagraphs.
13292 * buffer.C (latexParagraphs): use function
13293 Inset::forceDefaultParagraphs.
13295 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13297 * lyx_gui.C (init): set the style of the menu popups to
13298 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13300 2002-01-07 Juergen Vigna <jug@sad.it>
13302 * text.C (setHeightOfRow): small fix
13303 (prepareToPrint): don't look at alignment if we don't have the place
13306 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13308 * box.C: New file. Move the Box methods and functions out of box.h,
13309 following Lars' suggestion.
13311 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13313 * box.h: #include "support/LOstream.h", needed for inlined function.
13316 * lyxtextclasslist.C: added some using std declarations.
13318 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13320 * box.h: make signed dimensions to allow insets wider than
13321 the screen (bug #162)
13323 * BufferView_pimpl.C: add some insetHit debug
13325 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13327 * vc-backend.C: add FIXME
13329 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13331 * lyxfunc.C (getStatus): enable code for showing math font status
13334 2002-01-07 Juergen Vigna <jug@sad.it>
13336 * text.C (nextBreakPoint): removed debug output not needed anymore.
13338 2002-01-06 Juergen Vigna <jug@sad.it>
13340 * text.C (nextBreakPoint): fixed up this function we had this bug
13341 since ever but now hopefully we break row better.
13342 (insertChar): we have to check if an inset is the next char as it
13343 could now happen that a large inset is causing a break.
13345 2002-01-05 Juergen Vigna <jug@sad.it>
13347 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13348 if it doesn't like to be drawed.
13350 2002-01-04 Juergen Vigna <jug@sad.it>
13352 * BufferView2.C (lockInset): forgot to set a cursor.
13354 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13356 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13358 * FormMathsPanel.C:
13361 * form_maths_panel.C:
13362 * form_maths_panel.h:
13363 * form_maths_panel.fd: implemented sub- and super- buttons in math
13366 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13367 (or ^ space) to be used as in TeX (req'd by André).
13369 * lyxfunc.C: Allow ^ and _ again to be used both as
13370 super/subscript (mathed) and as themselves (in text).
13372 2002-01-03 Allan Rae <rae@lyx.org>
13374 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13375 "LyX" or the filename of the current buffer if it has one. This is a
13376 modified form of John Levon's patch.
13378 * XFormsView.C (setWindowTitle): also set icon title.
13380 * LyXView.h (setWindowTitle): signature changed.
13381 * XFormsView.h (setWindowTitle): ditto.
13383 2002-01-02 Juergen Vigna <jug@sad.it>
13385 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13387 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * screen.C (topCursorVisible): introduce a temp var for
13390 text->cursor.row(), handle the case where this row is null. (kindo
13393 * text2.C (setCursor): add a couple of asserts.
13395 * paragraph.h (inset_iterator): add -> operator
13397 * paragraph.[Ch] (autoDeleteInsets): remove member function
13399 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13400 cursor pos correctly and handle inset deletion by itself.
13401 (insertErrors): move iterator declaration out of for expression
13403 * lyxtextclass.C: add <algorithm>
13405 * Makefile.am: added the new files to sources, removed layout.C
13407 * layout.C: removed file
13409 * layout.h: remove LYX_DUMMY_LAYOUT
13411 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13415 * lyxtextclass.[Ch]:
13416 * lyxtextclasslist.[Ch]: new files
13418 * include order changes to a lot of files, also changes because of
13421 2001-12-27 Juergen Vigna <jug@sad.it>
13423 * buffer.C (asciiParagraph): more fixes.
13425 * tabular.C (ascii): make ascii export support export of only the
13426 data separated by a column-delimiter.
13427 (ascii): better support for ascii export.
13429 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13431 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13433 * tabular_funcs.C: use a "using std::getline" instead of the
13434 previous fix from Angus (necessary for cxx + lyxstring)
13436 2001-12-24 Juergen Vigna <jug@sad.it>
13438 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13440 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13441 problems. First check a minipage also if we have some ert-contents
13442 (not only on par->size(), second set the right depth of the paragraph
13443 on the relink to the root-paragraph-list!
13445 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13446 which then did not anymore update the main paragraphs on undo/redo!
13448 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13450 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13451 code. Support all font-changing funcs (even those which are not in
13452 menu currently). Support for reporting font settings in
13453 mathed (disabled until Andre provides a function on mathed's side).
13455 * func_status.h (toggle): small helper function to set toggle
13458 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13460 * tabular_funcs.C: getline -> std::getline
13462 2001-12-21 Juergen Vigna <jug@sad.it>
13464 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13465 accessed and could be 0 (I couldn't generate this but it seems
13468 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13470 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13471 * tabular_funcs.h: here and include iosfwd
13473 2001-12-20 Juergen Vigna <jug@sad.it>
13475 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13476 inside inset but undo_par was.
13478 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13480 * Thesaurus.C: always include <config.h> in sources.
13484 * box.h: do not include <config.h> in header files
13486 * text.C (paintLastRow): remove unused variable
13488 * text.C (transformChar):
13490 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13492 * Painter.C (text):
13493 * font.C (width): rewrite to use uppercase() instead of
13496 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13498 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13500 * lyxfind.C: clean up of find failure position change
13502 2001-12-20 Juergen Vigna <jug@sad.it>
13504 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13506 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13507 (TeXRow): added to LaTeX a single tabular row.
13508 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13509 (Latex): simplified and finally good LT-h/f support.
13510 (various_functions): just small adaptions for LT-h/f support.
13512 * tabular_funcs.[hC]: added and moved here all not classfunctions
13515 2001-12-19 Juergen Vigna <jug@sad.it>
13517 * tabular.[Ch]: better support for longtabular options (not finished
13520 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13522 * text.C (paintLastRow): use the label font instead of the font of
13523 the last character to compute the size of *_BOX. This makes more
13524 sense and avoids a crash with empty paragraphs.
13525 Use Painter::rectangle to draw EMPTY_BOX.
13527 2001-12-19 Juergen Vigna <jug@sad.it>
13529 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13530 the paragraphs if the replaced paragraph is not the first one!
13531 Tried to delete not used paragraphs but does not work yet so for
13532 now it's inside #ifdef's and by default off!
13534 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13536 * MenuBackend.C: include "lyx_main.h" instead of declaring
13537 lastfiles (actually was declared as LastFiles* instead of a
13540 2001-12-17 Juergen Vigna <jug@sad.it>
13542 * tabular.C (AppendColumn): applied John's fix
13544 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13548 * BufferView_pimpl.h:
13549 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13552 * box.h: new start of class for above
13554 * lyxfunc.C: ignore space-only minibuffer dispatches.
13555 Show the command name when it doesn't exist
13557 * minibuffer.C: don't add empty lines to the history
13559 * minibuffer.C: add a space on dropdown completion
13561 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13563 * text.C: fix line above/below drawing in insets
13565 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13567 * lyxlength.C (LyXLength): Initialize private variables.
13569 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13572 when inserting error insets.
13574 2001-12-13 Juergen Vigna <jug@sad.it>
13576 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13577 actually sometimes the before-paragraph.
13578 (setUndo): don't clear the redostack if we're not actually undoing!
13580 2001-12-06 Juergen Vigna <jug@sad.it>
13582 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13583 and fixed redoing of main paragraph, so we can use it now ;)
13585 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13587 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13589 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13592 2001-12-13 André Pönitz <poenitz@gmx.net>
13595 * undo_func.C: minor cleanup
13597 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13599 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13600 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13601 font in urw-fonts package which is marked as -urw-fontspecific and
13602 does not work (incidentally, changing the encoding in the
13603 fonts.dir of this package to -adobe-fontspecific fixes the
13606 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13607 is a crash when undoing first paragraph (Juergen, please take a
13608 look). THis does not mean the undo fix is wrong, just that it
13611 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13612 the (Paragraph*) version when needed instead of duplicating the
13615 * text.C (workWidth): use Inset::parOwner to find out where the
13616 inset has been inserted. This is a huge performance gain for large
13617 documents with lots of insets. If Inset::parOwner is not set, fall
13618 back on the brute force method
13620 * paragraph_pimpl.C (insertInset):
13621 * paragraph.C (Paragraph):
13622 (cutIntoMinibuffer): set parOwner of insets when
13623 inserting/removing them
13625 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13627 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13633 * mathed/formulabase.C:
13634 * mathed/math_cursor.[Ch]:
13635 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13638 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13640 * lyxlength.[Ch] (operator!=): new function
13642 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13644 * text.C (workWidth): use Inset::parOwner to find out where the
13645 inset has been inserted. This is a huge performance gain for large
13646 documents with lots of insets. If Inset::parOwner is not set, fall
13647 back on the brute force method
13649 * paragraph_pimpl.C (insertInset):
13650 * paragraph.C (Paragraph):
13651 (cutIntoMinibuffer): set parOwner of insets when
13652 inserting/removing them
13654 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13656 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13658 * tabular-old.C (getTokenValue):
13659 * tabular.C (getTokenValue):
13660 (write_attribute): new versions for LyXLength
13661 (everywhere): adjust the use of widths
13663 * tabular.h: change the type of widths from string to LyXLength
13665 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13667 * paragraph.C: fixed missing line number count when exporting
13668 Environments to LaTeX file
13670 * buffer.C: added informational message for checking line numbers.
13672 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13674 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13675 paragraph, do the 'double space' part, but not the 'empty
13678 * text.C (workWidth): small optimization
13679 (getLengthMarkerHeight): use minimal size for negative lengths.
13681 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13683 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13685 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13687 2001-12-11 André Pönitz <poenitz@gmx.net>
13690 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13692 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13694 * text2.C: keep selection on a setFont()
13696 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13698 * lyx_cb.C: another bv->text misuse, from insert label
13700 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13703 * kbsequence.C: re-instate nmodifier mask
13705 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13707 * lyx_main.h: make lyxGUI private.
13709 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13711 * lyxfind.C: place the cursor correctly on failed search
13713 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13715 * text.C (getLengthMarkerHeight): for small heights, the arrows
13716 are not always on top/bottom of the text
13717 (drawLengthMarker): smaller arrows; take the left margin in
13718 account; draw also vfills.
13720 (paintLastRow): remove special code for vfill and standard spaces,
13721 since everything is handled in drawLengthMarker now.
13723 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13725 * buffer.C (insertErtContents): try to handle font and language
13726 interaction a bit better.g
13728 * ColorHandler.C (updateColor): change the hash to cover the whole
13729 LColor enum, ws cleanup
13730 (getGCLinepars): ditto
13731 (getGCLinepars): only lookup in the linecache once.
13733 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13735 * iterators.C (operator++): Make the iterator more robust
13737 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13739 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13741 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13744 * text.C: better added space drawing
13746 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13749 * BufferView2.C: fix layout combo update on inset unlock
13751 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13753 * Makefile.am: don't compile unused files
13755 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13759 * LyXAction.C: remove old LFUN_LAYOUTNO
13761 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13763 * paragraph_pimpl.h:
13764 * paragraph_pimpl.C: isTextAt() doesn't need font param
13766 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13769 * lyxlex.C: little cleanup
13771 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13773 * BufferView_pimpl.C: fix insertAscii for insets
13775 2001-12-05 Juergen Vigna <jug@sad.it>
13777 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13778 set the right font on the "multi" paragraph paste!
13780 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * lyxlength.C: remove out-commented code.
13788 * BufferView_pimpl:
13802 * vc-backend.C: change "while(" to "while ("
13804 * lyxlength.[Ch]: add zero function to check if length is zero or
13806 * lyxgluelength.C: use it
13808 2001-12-05 Allan Rae <rae@lyx.org>
13810 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13811 Works for 2.95.3, from what I understand of Garst's reports this should
13812 work for other g++ versions. We're screwed if the abs(int) definition
13813 changed between bugfix releases of gcc.
13815 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13817 * text.C: fix chapter label offset !
13819 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13822 * text.C: fix hfill at end of line, clean up
13824 2001-12-04 Juergen Vigna <jug@sad.it>
13826 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13827 that we force an update of the inset and it's owners if neccessary.
13829 2001-12-03 Juergen Vigna <jug@sad.it>
13831 * text.C (rowLast): simplified code
13833 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13835 * lyxfunc.C: fix show options on timeout
13837 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13839 * screen.C (topCursorVisible): scroll half a page when the cursor
13840 reached top of bottom of screen
13842 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13844 * minibuffer.C: deactivate on loss of focus
13846 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * vspace.[Ch] (operator!=): add operator.
13850 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13852 * BufferView_pimpl.C: refuse to open an inset when
13853 there's a selection.
13855 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13857 * BufferView_pimpl.C: allow to click on RHS of full row insets
13859 2001-11-30 Juergen Vigna <jug@sad.it>
13861 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13862 insets for undo reasons.
13864 2001-11-28 André Pönitz <poenitz@gmx.net>
13866 * vspace.[Ch]: cosmetical changes
13868 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13878 * kbsequence.C: part re-write of old kb code
13881 * WorkArea.C: remove Lgb_bug_find_hack
13883 2001-11-30 José Matos <jamatos@fep.up.pt>
13885 * buffer.C (makeDocBookFile): add a comment to point a hack.
13886 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13887 Fixed a double write of labels.
13889 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13892 * LaTeX.h Fixed bug in LaTeX class where it would not
13893 re-run latex if no depfiles were changed, but the .dvi was removed.
13895 2001-11-28 André Pönitz <poenitz@gmx.net>
13897 * all the files from the change on 2001/11/26:
13898 use lyx::layout_type instead of LyXTextClass::size_type
13899 use lyx::textclass_type instead of LyXTextClassList::size_type
13901 2001-11-29 Juergen Vigna <jug@sad.it>
13903 * text.C: added support for paragraph::isFreeSpacing()
13905 * buffer.C: same as above
13907 * paragraph.h: inserted isFreeSpacing() function to enable
13908 FreeSpacing inside InsetERT.
13910 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13911 of the paragraph's in the cut/copy buffer to 0!
13913 * text2.C (removeRow): remove the assert as it can!
13915 * lyxtext.h: added helper function firstRow returning firstrow and
13916 made firstrow private again.
13918 * BufferView2.C (lockInset): don't relock if we're already locked!
13920 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13921 the only paragraph.
13922 (removeRow): added Assert::(firstrow)
13924 * debug.C: forgot to add INSETTEXT here.
13926 2001-11-28 Juergen Vigna <jug@sad.it>
13928 * sp_spell.C (initialize): changed error text to more general
13929 spellchecker command use (not only ispell!)
13931 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13933 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13935 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13937 * vspace.C: initialise lyxgluelength on failure
13939 2001-11-28 Allan Rae <rae@lyx.org>
13941 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13942 declaration & definition that looks like a function declaration.
13944 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13946 * BufferView2.C (copy):
13947 (copyEnvironment): do not clear the selection when doing a copy.
13949 * text.C (paintFirstRow): compilation fix
13951 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13953 * tabular.C (Latex): correct line count when writing latex.
13955 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13957 * paragraph_pimpl.h:
13958 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13961 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13965 * LColor.C: change vfillline->added_space
13967 * text.C: add markers and text for added space
13969 * vspace.C: fix comment
13971 2001-11-28 André Pönitz <poenitz@gmx.net>
13973 * paragraph.C: whitespace changes
13974 * all the other files from the change on 2001/11/26:
13975 change *::pos_type into lyx::pos_type
13977 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13979 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13980 language of the document when inserting error insets.
13982 2001-11-26 André Pönitz <poenitz@gmx.net>
13984 * BufferView_pimpl.[Ch]:
13992 * paragraph_pimpl.[Ch]:
13995 * text2.C: reduce header dependencies, introduce type for positions
13997 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13999 * <various>: change to use Alert.h
14001 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14003 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14004 when encountering an unknown token.
14005 (readLyXformat2): Show an error message if there were unknown tokens.
14007 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14010 * BufferView_pimpl.C:
14014 * text2.C: use par->isInset()
14016 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14018 * paragraph_pimpl.h:
14019 * paragraph_pimpl.C: cleanup
14021 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14023 * text2.C (removeRow):
14024 * text.C (setHeightOfRow): remove useless (and costly) call to
14027 2001-11-20 Allan Rae <rae@lyx.org>
14029 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14030 Now need Inset*::checkInsertChar() to return true for appropriate
14031 cases so that the characters in the minibuffer will actually be
14034 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14036 * text.C: change the order of the includes.
14037 (workWidth): initialize it at once.
14038 (workWidth): make maxw unsigned
14039 (setHeightOfRow): remove unused variable (inset)
14040 (selectSelectedWord): remove unused variable (inset)
14041 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14043 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14045 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14046 server is not running.
14048 (closeConnection): add debug info when server is disabled.
14050 * ColorHandler.C (getGCForeground): send debug message to GUI
14053 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14055 * kbmap.C (bind): modify because return conventions of
14056 kb_sequence::parse have changed.
14058 * kbsequence.C (parse): only ignore spaces and not any stupid
14059 control character. This avoids tests like s[i] <= ' ', which are
14060 guaranteed to fail with 8bit characters and signed chars.
14061 Change return code to string::npos when there have been no error
14062 (0 was a bad idea when error is at first character)
14064 2001-11-14 José Matos <jamatos@fep.up.pt>
14067 * buffer.C (simpleDocBookOnePar): removed unused argument.
14069 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14071 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14072 insets which are part of a word. Paragraph::isLetter takes care of
14073 that now. Use Paragraph::isInset to identify insets.
14074 (selectSelectedWord): do not test for hyphenation break.
14076 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14077 that protected spaces are considered as spaces.
14079 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14082 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14085 * lyxserver.C: fix it. and small cleanup.
14087 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14089 * BufferView_pimpl.C: use inline helpers
14092 * LaTeXFeatures.C: fix typos
14095 * Spacing.C: move spacing_string into class
14097 * ToolbarDefaults.C: move stuff into namespace anon
14099 * layout.h: update enum
14101 * lyxfunc.C: use better debug
14103 * minibuffer.h: fix typo
14107 * WorkArea.C: add and use Debug::WORKAREA
14111 * text2.C: code re-organisation, inline helpers
14113 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14115 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14116 std::vector.empty().
14118 2001-11-09 Allan Rae <rae@lyx.org>
14120 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14121 '\n's after tables. Tabular and ERT inset work now makes this no
14124 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14127 * minibuffer.C: fix crash, improve drop-down completion
14129 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14132 * lyxserver.C: invalidate fd's when doing endPipe()
14134 2001-11-08 José Matos <jamatos@fep.up.pt>
14136 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14137 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14140 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14142 2001-11-07 José Matos <jamatos@fep.up.pt>
14145 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14148 * buffer.C (sgmlOpenTag):
14149 * buffer.C (sgmlCloseTag): removed debug info.
14151 * buffer.h (sgmlOpenTag):
14152 * buffer.h (sgmlCloseTag): made public.
14154 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14156 * buffer.C (saveParamsAsDefaults):
14157 * lyx_cb.C (MenuLayoutSave): remove
14159 * LyXAction.C (init):
14161 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14163 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14165 * buffer.C (setPaperStuff): removed from here...
14167 * bufferparams.C (setPaperStuff): ... and moved there.
14169 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14173 * XFormsView.C: add support for drop-down completion
14175 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14177 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14180 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14182 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14185 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14187 * lyx_main.C: change ref to known bugs
14189 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14191 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14192 to work around older babel problems.
14194 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14196 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14198 2001-10-24 Juergen Vigna <jug@sad.it>
14200 * tabular-old.C (ReadOld): below variable changes reflected.
14202 * tabular.[Ch]: added ltType struct for longtable header/footer
14203 defines and changed all instances where they are used. Added
14204 future support for double top/bottom rows.
14206 2001-10-24 José Matos <jamatos@fep.up.pt>
14208 * buffer.h (docbookHandleCaption):
14209 * buffer.C (docbookHandleCaption): removed unused function.
14210 (makeDocBookFile): moved docbook supported version to v4.1.
14212 2001-10-24 José Matos <jamatos@fep.up.pt>
14215 * tabular.C (docbookRow): new function to export docbook code of a row.
14216 (DocBook): now honors the longtable flags.
14218 2001-10-23 José Matos <jamatos@fep.up.pt>
14221 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14222 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14224 * buffer.C (makeLinuxDocFile):
14225 (makeDocBookFile): reworked the preamble, more clean, and with
14226 support for lyx defined entities. Changed the document declaration
14227 to be more XML friendly.
14229 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14230 if we need to output XML that should be done with a filter.
14232 2001-10-22 Juergen Vigna <jug@sad.it>
14234 * sp_pspell.h (class PSpell): add alive function needed in the
14235 controller to see if the spellchecker could be started.
14237 2001-10-22 Juergen Vigna <jug@sad.it>
14239 * buffer.C (insertStringAsLines): modify the font for inserting
14240 chars in certain conditions by calling checkInsertChar(font).
14242 2001-10-19 Juergen Vigna <jug@sad.it>
14244 * text.C (workWidth): use getRow instead of wrong algorithm.
14245 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14247 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14252 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14254 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14256 * text.C (workWidth): do not search for the exact row when
14257 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14258 optimization for big documents.
14260 2001-10-18 Juergen Vigna <jug@sad.it>
14262 * text.C (workWidth): new function with added Inset * parameter.
14264 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14266 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14268 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14269 change return type of getColumnNearX.
14272 * text.C (changeRegionCase): use uppercase/lowercase instead of
14275 (rightMargin): simplify code by factoring out the uses of
14280 (appendParagraph): use Paragraph::size_type
14282 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14284 * vspace.C (asLatexString): add a missing break
14286 2001-10-15 Herbert Voss <voss@perce.de>
14288 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14290 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14295 2001-10-10 André Pönitz <poenitz@gmx.net>
14297 * lyxfunc.C: removed greek_kb_flag.
14299 2001-10-10 Herbert Voss <voss@perce.de>
14301 * lyx_main.C: delete global string help_lyxdir.
14303 2001-10-09 Herbert Voss <voss@perce.de>
14305 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14307 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14309 * lyx_main.C: added global string help_lyxdir.
14311 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14313 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14315 * lyxrc.C (set_font_norm_type): support iso8859-4
14317 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14319 * LaTeX.C (deplog): add another regex for MikTeX
14321 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14323 * lyxrc.C (set_font_norm_type): support iso8859-3
14325 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14329 * LaTeXFeatures.C: remove special case of french and index
14331 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14332 before \begin{document}). This solves several incompatibilities.
14334 2001-10-03 Garst Reese <reese@isn.net>
14336 * lyx_cb.C: change CheckTex error msg.
14338 2001-10-03 José Matos <jamatos@fep.up.pt>
14340 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14342 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14344 * .cvsignore: update
14346 * lyx_main.C (commandLineVersionInfo): use new style version info.
14348 * buffer.C (writeFile):
14350 (makeLinuxDocFile):
14351 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14353 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14355 * version.h: update to use stuff in version.C
14357 * version.C.in: new file. Contains version information determined
14358 at compile time. This is a merging of version.h and
14361 2001-10-03 Juergen Vigna <jug@sad.it>
14363 * BufferView_pimpl.C (update): don't change "dirty" status in
14366 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14368 * WorkArea.C (c-tor): re-position version string slightly.
14370 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14372 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14373 revert to previous code.
14375 WorkArea.[Ch]: (show, destroySplash): methods removed.
14377 WorkArea.C: rework code so that it's an amalgam of the codes before and
14378 after the splash screen was moved to WorkArea.
14380 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14383 * vspace.C (inPixels):
14386 * buffer.C (insertStringAsLines):
14387 (asciiParagraph): fix types to be large enough
14389 * lyxlex_pimpl.h: change member status from short to int
14391 * layout.h: fix type of endlabeltype
14394 * kbsequence.C (parse): change return type to string::size_type
14396 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14399 * Bullet.C (bulletSize):
14400 (bulletEntry): do not use short ints as parameters
14402 * BufferView2.C (insertLyXFile): change a char to an int.
14404 * WorkArea.C (WorkArea): remove unneeded floats in computation
14406 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14408 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14410 * paragraph.C (asString): Do not ignore newline/hfill chars when
14411 copying to the clipboard.
14413 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14415 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14416 after a multi-line inset.
14418 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14420 * paragraph.C (validate): Set NeedLyXFootnoteCode
14422 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14424 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14425 and decrease-error to decrease.
14427 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14429 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14430 it more readable (should be equivalent)
14432 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14434 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14436 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14438 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14439 of a cursor (row, etc.) after a character has been deleted
14440 (deleteEmptyParagraphMechanism): call the method above on _all_
14441 cursors held by the LyXText when a double space has been
14444 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14446 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14448 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14450 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14451 background. Use greyOut() and the new show() methods to toggle between
14452 the foreground and background. Add code to remove the splash after
14453 its initial showing.
14455 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14456 (create_forms): no longer call Dialogs::showSplash.
14458 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * .cvsignore: add version_info.h
14462 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14464 * version_info.h.in: new file
14466 * Makefile.am: add version_info.h.in
14468 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14469 version_info.h instead of VERSION_INFO
14471 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14473 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14474 The ERT inset now returns string().
14476 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14478 * lyxtext.h, text.C (selectNextWord): renamed as
14479 selectNextWordToSpellcheck.
14481 * text.C (selectNextWordToSpellcheck): Modified to not select
14482 words inside an ERT inset.
14484 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14486 * lyx_cb.C (MenuLayoutSave): change a bit the question
14488 * sp_base.h: include <sys/types.h>
14490 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14492 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14494 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14496 * several files: fix typos in user-visible strings
14498 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14500 * text2.C (pasteSelection): do not set the selection, since it
14501 will be cleared later. Actually, the intent was to fix the way the
14502 selection was set, but I figured rmoving the code was just as good.
14504 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14506 * FontLoader.C (available): Check if font is available without
14509 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14511 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14513 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14515 * lyxrc.[Ch]: added display_graphics variable and associated code.
14517 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14519 * bufferparams.C (hasClassDefaults): new method. Returns true if
14520 the buffer parameters correspond to known class defaults
14522 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14524 * XFormsView.C (show): set minimum size to the main window.
14526 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14528 * text2.C (copySelection):
14530 * lyxfind.C (LyXReplace):
14531 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14532 LyXText::selectionAsString.
14534 * paragraph.C (asString): add "label" argument to the second form
14536 * text2.C (selectionAsString): add "label" argument and pass it to
14537 Paragraph::asString.
14539 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14541 * lyx_main.C (commandLineHelp): remove version information
14543 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14545 * lyx_main.C: add -version commandline option
14547 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * paragraph.h: make the optional constructor arg required instead.
14550 some modifications to other files because of this.
14552 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14554 * lyxserver.C (C_LyXComm_callback): make it static
14556 * lyx_main.C (error_handler): make it static
14558 * lyx_gui.C (LyX_XErrHandler): make it static
14560 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14562 * WorkArea.C: make the extern "C" methods static.
14564 * Makefile.am (lyx_LDADD): simplify
14566 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14568 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14569 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14571 * LyXAction.C (init):
14572 * lyxfunc.C (dispatch): associated code removal.
14574 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14576 * lyxfont.h (isSymbolFont): shut off warning
14578 * text.C (setHeightOfRow):
14579 (getVisibleRow): fix crash with empty paragraphs which have a
14582 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14584 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14587 2001-09-04 José Matos <jamatos@fep.up.pt>
14590 * tabular.C (docbook): rename docBook method to docbook.
14592 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14594 * Makefile.am: add dependencies to main.o.
14596 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14598 * FontLoader.C (available): Return false if !lyxrc.use_gui
14600 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14602 * FontInfo.C (query):
14603 * converter.C (view):
14604 * importer.C (Import):
14605 * exporter.C (Export): Can not -> cannot.
14607 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14609 * BufferView_pimpl.C: allow to create index inset even if
14612 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14614 * buffer.C (getLists): replace boost::tie code with an explicit pair
14615 as boost::tie can break some compilers.
14617 * iterators.h: Added a std:: declaration to the return type of
14620 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14622 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14625 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14627 * iterators.[Ch]: New files. Provide paragraph iterators.
14629 * buffer.C (changeLanguage): Use paragraph iterators.
14630 (isMultiLingual): ditto
14632 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14634 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14636 * FontLoader.C: Support for cmr font.
14638 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14640 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14641 (available): New method.
14643 * FontInfo.C (getFontname): Use scalable fonts even when
14644 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14647 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14649 * converter.C (Formats::view): reverted! Incorrect fix.
14651 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14653 * converter.C (Formats::view): only output the -paper option
14654 if the dvi viewer is xdvi, thereby fixing bug #233429.
14656 2001-08-23 Herbert Voss <voss@perce>
14658 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14660 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14662 * Spacing.h (Spacing): Set space to Default on in the default
14665 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14667 * vc-backend.h (RCS::versionString): add RCS to version
14668 (CVS::versionString): add CVS to version
14670 * vc-backend.C (scanMaster): do not add CVS to version.
14671 (scanMaster): do not add RCS to version
14673 * lyxvc.C (versionString): new method
14675 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14677 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * Spacing.C (set): initialize fval
14681 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14683 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14686 2001-08-16 Juergen Vigna <jug@sad.it>
14688 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14690 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14692 * BufferView_pimpl.C:
14695 * text2.C: setParagraph takes linespacing now
14697 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14699 * LyxAction.C: add internal LFUN_CITATION_INSERT
14701 * LyXView.C: actually apply fix
14703 * bufferlist.C: fix open non-existent file
14705 * lyxfind.C: fix indentation
14707 * lyxfunc.C: remove unneeded assert, fix typo
14709 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14711 * MenuBackend.C: use "Floatname List"
14713 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14715 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14716 when converting LaTeX layout to insetERT.
14717 Generate a non-collapsed float when reading old float
14719 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14721 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14724 2001-08-13 Juergen Vigna <jug@sad.it>
14726 * text.C (fill): return 0 instead of 20 as this seems to be the more
14729 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14731 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14734 2001-08-13 Juergen Vigna <jug@sad.it>
14736 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14738 (SearchBackward): comment out the unlocking of the inset_owner this
14739 should not be needed!
14741 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14743 * Many files: Remove inherit_language, and add latex_language
14745 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14746 collapsible insets.
14748 2001-08-10 Juergen Vigna <jug@sad.it>
14750 * text.C (prepareToPrint): fixed hfill-width in draw!
14752 * BufferView2.C (selectLastWord): save the selection cursor as this
14753 now is cleared in the function LyXText::clearSelection!
14755 2001-08-08 Juergen Vigna <jug@sad.it>
14757 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14758 BACKSPACE type functions.
14760 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14761 is only cutted from the document but not put in the cut-buffer, where
14762 still the old stuff should be.
14764 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14766 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14768 * tabular.C (SetWidthOfCell): fixed special case where the width
14770 (LeftLine): handle '|' in align_special.
14772 (LeftAlreadyDrawed): ditto
14773 (SetWidthOfCell): ditto
14775 2001-08-07 Juergen Vigna <jug@sad.it>
14777 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14779 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14781 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14782 * lyxlex.[hC]: ditto
14784 2001-08-06 Juergen Vigna <jug@sad.it>
14786 * text.C (getVisibleRow): fix up row clearing a bit.
14788 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14790 * minibuffer.C: make sure the X server sees the changes in the input.
14792 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14794 * paragraph.C (getFont): split into...
14795 (getLabelFont): this
14796 (getLayoutFont): and this
14797 * paragraph_pimpl.C (realizeFont): calling this
14799 * text2.C (getFont): split into...
14800 (getLayoutFont): this
14801 (getLabelFont): and this
14802 (realizeFont): all three calling this
14804 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14807 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14811 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14813 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14814 layouts from the Quote inset insertion.
14816 2001-08-03 Juergen Vigna <jug@sad.it>
14818 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14820 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14821 only if status not is already CHANGED_IN_DRAW (second level).
14823 * text.C (draw): don't set the need_break_row when inside an
14826 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14828 * buffer.C (parseSingleLyXformat2Token): handle more latex
14831 * bufferview_funcs.[hC]: change function names to
14832 begin with small char, adjust other files.
14834 2001-08-02 André Pönitz <poenitz@gmx.net>
14837 BufferView_pimpl.C: remove broken special code for math-greek
14839 2001-08-02 Juergen Vigna <jug@sad.it>
14841 * BufferView_pimpl.C (update): redone this function so that we
14842 update the text again if there was a CHANGE_IN_DRAW.
14844 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14845 (drawFromTo): added a new internal bool which is used by draw() and
14847 (general): some cursor drawing problems fixed.
14849 2001-08-01 Juergen Vigna <jug@sad.it>
14851 * lyxfind.C (LyXFind): fixed
14852 (SearchForward): ditto
14853 (SearchBackward): ditto
14855 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14856 spurius drawing of the cursor in the main area.
14858 * text2.C (status): small fix which could lead to a segfault!
14859 (clearSelection): remove unneeded BufferView param.
14861 2001-08-01 André Pönitz <poenitz@gmx.net>
14863 * lyxfunc.C: small change due to changed mathed interface
14865 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14867 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14869 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14871 * lyxfunc.c: fail gracefully if file doesn't exist
14876 * BufferView_pimpl.C: IsDirWriteable() proto changed
14878 * LyXView.C: fix updateWindowTitle() to store the last title
14880 2001-07-31 Juergen Vigna <jug@sad.it>
14882 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14883 the font (wrong since using of Paragraph::highestFontInRange).
14885 * paragraph.C (highestFontInRange): added a default_size parameter.
14887 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14888 (setHeightOfRow): reformat
14890 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14892 * converter.[hC] + affected files: move to (inital-char)lowercase
14895 * ParagraphParameters.C (ParagraphParameters): remove commented code
14897 * PainterBase.[Ch]: remove commented code
14899 * LaTeXFeatures.h: add "bool floats" for float.sty
14901 * LaTeXFeatures.C (LaTeXFeatures): init floats
14902 (require): handle float
14903 (getPackages): do it with floats
14905 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14907 * BufferView_pimpl.C (Dispatch): improve handling of
14908 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14910 * commandtags.h: #include lyxfont.h here temporarily to avoid
14913 * bufferlist.h: include LString.h here.
14915 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * text2.C (getStringToIndex): new method.
14919 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14921 * *: Reduced header file dependencies all over.
14923 2001-07-30 Baruch Even <baruch@lyx.org>
14925 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14927 2001-07-29 Baruch Even <baruch@lyx.org>
14929 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14931 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14933 * ParameterStruct.h (endif): add a default constructor to make
14934 sure that all variables is initialized.
14936 * ParagraphParameters.C (ParagraphParameters): adjust
14938 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14941 index; also, check that there is something to index, and that it
14942 does not span over several paragraphs.
14943 (doubleClick): use WHOLE_WORD_STRICT for double click.
14945 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14947 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14950 2001-07-26 Baruch Even <baruch@lyx.org>
14952 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14953 an InsetFig figure, backwards compatible reading of old figure code.
14955 2001-07-27 Juergen Vigna <jug@sad.it>
14957 * text2.C: font.realize function adaption.
14959 * text.C (draw): add a warnings lyxerr text if needed.
14961 * layout.C: font.realize function adaption.
14963 * language.C: add inherit_language and implement it's handlings
14965 * bufferview_funcs.C (StyleReset): remove language parameter from
14966 font creation (should be language_inherit now).
14968 * bufferparams.C (writeFile): handle ignore_language.
14970 * paragraph.C (getFontSettings): the language has to be resolved
14971 otherwise we have problems in LyXFont!
14973 * lyxfont.C (lyxWriteChanges): added document_language parameter
14974 (update): removed unneeded language parameter
14976 * paragraph.C (validate): fixed wrong output of color-package when
14977 using interface colors for certain fonts in certain environments,
14978 which should not seen as that on the final output.
14980 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14982 * BufferView_pimpl.C:
14987 * LyXAction.C: add thesaurus support
14990 * lyxfind.C: add "once" parameter, for thesaurus, to not
14991 move to the next match
14993 2001-07-26 Juergen Vigna <jug@sad.it>
14995 * lyxfont.C (realize): honor ignore_language too!
14998 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15000 * text.C (draw): one place more for ignore_language to not draw
15003 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15005 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15007 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15009 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15010 the minipage conversion problem.
15012 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15014 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15017 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15019 * BufferView.h: don't forward declare WorkArea
15021 * BufferView.C: don't include WorkArea.h
15023 2001-07-25 André Pönitz <poenitz@gmx.net>
15027 * lyxfunc.C: new LFUN 'math-space'
15029 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15031 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15033 * text2.C (toggleInset): call open/close
15035 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15037 * lyxfunc.C (dispatch): add debug for the disabled case
15039 * font.C (buttonText): make similar to rectText
15041 * buffer.C (readInset): comment out parsing of insetlist and
15044 * PainterBase.C (rectText): small correction
15046 * BufferView_pimpl.C: comment out insettheorem and insetlist
15047 * LyXAction.C: ditto
15048 * commandtags.h: ditto
15050 2001-07-24 Juergen Vigna <jug@sad.it>
15052 * text.C (draw): honor the ignore_language.
15054 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15056 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15061 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15063 * lyxtext.h: remove unused (and unimplemented) methods
15065 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15067 * text.C (getVisibleRow): honor background color
15070 * Painter.h: remove default color argument for fillRectangle
15072 * text.C (backgroundColor): new method
15074 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15076 * text.C (getVisibleRow): adjust
15078 * font.[Ch] (rectText): new method, metrics
15079 (buttonText): new method, metrics
15081 * PainterBase.[hC]: make rectText and buttonText always draw and take
15084 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15086 * ToolbarDefaults.C (read):
15087 * MenuBackend.C (read): allow escaping in all strings
15089 * BufferView_pimpl.C (insertAndEditInset): new method.
15090 (Dispatch): use insertAndEditInset whenever appropriate.
15092 * BufferView_pimpl.C (insertNote): removed
15094 * BufferView_pimpl.C (smartQuote): new method, moved from
15095 BufferView; if an insetquote cannot be inserted, insert a '"'
15098 * BufferView2.C: remove insertCorrectQuote();
15100 * lyxfunc.C (getStatus): Add support for all remaingin
15101 inset-insert lfuns.
15103 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15105 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15106 command (necessary to pass " as parameter of self-insert.
15108 * text.C (selectWordWhenUnderCursor):
15109 (selectWord): add word_location parameter
15110 (selectWordWhenUnderCursor): same + remove special code for word
15112 (selectNextWord): use kind() to guess type of insetspecialchar,
15115 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15116 (insertErtContents): create ert insets as collapsed.
15117 (readInset): better compatibility code for Info inset.
15119 2001-07-20 Juergen Vigna <jug@sad.it>
15121 * lyxfunc.C (dispatch): use always LyXFind now!
15123 * text2.C (init): add a reinit flag so that the LyXText can be
15124 reinited instead of deleted and reallocated (used in InsetText).
15126 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15132 2001-07-18 Juergen Vigna <jug@sad.it>
15134 * text.C (selectNextWord): handle insets inside inset by calling
15135 always the bv->text functions so that we can go up the_locking_inset!
15137 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15138 in strange locations when inside an inset!
15140 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15141 handling to include insets.
15143 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15145 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15147 * LyXAction.C (init):
15149 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15150 LIGATURE_BREAK, since the name is so stupid.
15152 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15154 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15157 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15159 * sp_form.[Ch]: remove.
15161 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15163 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15166 * src/buffer.C (readInset): ditto.
15168 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15170 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15171 menuSeparator(), endOfSentenceDot(), ldots() and
15172 hyphenationPoint(), which are therefore removed.
15173 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15175 * LyXAction.C (init):
15176 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15178 * paragraph.C (getWord): removed.
15180 * BufferView_pimpl.C (Dispatch): use last word or selection for
15181 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15183 * lyx_main.C (queryUserLyXDir): do not ask before creating
15184 user_dir, except if it has been named explicitely.
15186 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15188 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15189 a document of zero size.
15191 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15193 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15194 approriately in the c-tor and in require().
15195 (getPackages): output the appropriate LaTeX for natbib support.
15197 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15198 variables "use_natbib" and "use_numerical_citations" when reading the
15200 (readInset): read the various natbib cite commands.
15201 (validate): white-space change.
15203 * bufferparams.[Ch]: new variables "bool use_natbib" and
15204 "bool use_numerical_citations".
15205 (writeFile): output them in the LyX file.
15207 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15209 * lyxfunc.C (getStatus): add support for all the inset insertion
15212 * text2.C (insertInset):
15213 * paragraph.C (insetAllowed):
15214 * BufferView_pimpl.C (insertInset): update to take in account the
15215 renaming of insertInsetAllowed
15217 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15219 * text2.C (getInset): new method. returns inset at cursor position.
15221 * BufferView_pimpl.C (Dispatch): changes because of this.
15223 * LyXAction.C (init): rename open-stuff to inset-toggle.
15225 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15227 * text2.C (toggleInset): renamed from openStuff; use
15230 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15232 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15234 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15236 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15238 * buffer.C (readLyXformat2): Add filename to the error dialog
15240 2001-07-18 Juergen Vigna <jug@sad.it>
15242 * tabular.C (GetCellNumber): put an assert here instead of the check!
15244 2001-07-17 Juergen Vigna <jug@sad.it>
15246 * BufferView_pimpl.C (toggleSelection): adapted too.
15248 * text.C (selectNextWord): adapted for use with insets.
15249 (selectSelectedWord): ditto
15251 2001-07-17 Juergen Vigna <jug@sad.it>
15253 * sp_spell.C (PSpell): fix initialitation order.
15255 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15257 * paragraph.C: spacing
15259 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15261 * sp_spell.C: repair language selection for pspell
15263 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15265 * lyxfunc.h: change more methods to begin with lower char.
15267 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15269 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15270 for unknown layouts.
15272 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15274 * buffer.C (readLyXformat2): Generate an error dialog if there are
15277 2001-07-16 Juergen Vigna <jug@sad.it>
15279 * sp_spell.C: always compile ISpell part.
15281 * lyxrc.C: added use_pspell entry and it's handling.
15283 2001-07-13 Juergen Vigna <jug@sad.it>
15285 * sp_spell.C: removed double includes.
15287 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15289 Consistent use of Lsstream.h:
15290 * Lsstream.h: added using std::stringstream for consistencies sake.
15292 * buffer.C: removed using std::stringstream
15294 * lyxfont.C (stateText):
15295 * paragraph.C (asString):
15296 * text.C (selectNextWord, selectSelectedWord):
15297 * text2.C (setCounter):
15298 * vspace.C (asString, asLatexString):
15299 std::ostringstream -> ostringstream.
15301 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15303 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15304 * commandtags.h: add LFUN_HELP_ABOUTLYX
15305 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15307 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15309 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15311 * lyx_gui_misc.C: remove spellchecker
15312 * lyxfunc.C: showSpellchecker
15314 * sp_ispell.h: added
15315 * sp_pspell.h: added
15316 * sp_spell.C: added
15317 * sp_form.[Ch]: removed
15318 * spellchecker.[Ch]: removed
15320 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15322 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15324 (simpleTeXSpecialChars): Simply print the input character without
15325 any special translation if pass_thru is set.
15327 * layout.h: Added bool pass_thru to layout class for being able to
15328 implement pass through of a paragraph for Literate Programming.
15330 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15331 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15332 * layout.C (Read): add "passthru" to list of layout tags and add
15333 code to set the pass_thru boolean when it is read.
15335 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * trans_decl.h: remove allowed from KmodInfo
15339 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15340 remove allowed code
15343 * paragraph_pimpl.C (erase): use boost::prior
15345 * Painter.C (text): use data() instead of c_str() when length is
15347 * WorkArea.C (putClipboard): ditto
15348 * font.h (width): ditto
15350 * BufferView2.C: use it-> instead of (*it). for iterators
15352 * paragraph_pimpl.C: ditto
15353 * paragraph.C: ditto
15354 * minibuffer.C: ditto
15355 * language.C: ditto
15357 * encoding.C: ditto
15358 * counters.C: ditto
15359 * converter.C: ditto
15361 * Variables.C: ditto
15362 * TextCache.C: ditto
15363 * MenuBackend.C: ditto
15364 * LyXAction.C: ditto
15366 * FloatList.C: ditto
15367 * DepTable.C: ditto
15368 * ColorHandler.C (LyXColorHandler): ditto
15370 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15372 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15374 * text2.C (openStuff): reintroduce this method (which had been
15375 nuked in NEW_INSETS frenzy).
15377 * lyxfunc.C (Dispatch): when an action has not been handled, use
15378 its name in the error message, not its number.
15380 * paragraph.C (inInset): change method name to begin with lowercase.
15383 * text2.C: updates because of this.
15385 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15387 * ToolbarDefaults.C (add): add spaces in error message
15389 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15391 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15392 (readLyXformat2): rename return_par to first_par, use lyxlex's
15393 pushToken and remove the manual push handling.
15394 (parseSingleLyXformat2Token): add another ert comp. variable:
15395 in_tabular, rename return_par to first_par. handle newlines better
15397 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15399 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15401 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15403 * text2.C (getParFromID): removed
15405 * buffer.C (getParFromID): new method moved form lyxtext.
15406 * BufferView2.C (insertErrors): adjust
15407 (setCursorFromRow): adjust
15408 * BufferView_pimpl.C (restorePosition): adjust
15409 * lyxfunc.C (Dispatch): adjust
15410 * undo_funcs.C (textUndo): adjust
15412 (textHandleUndo): adjust
15413 (textHandleUndo): adjust
15415 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15417 * buffer.C: up' the LYX_FORMAT
15419 * lyxfont.h: turn NO_LATEX on as default
15421 * buffer.C (insertErtContents): new methods of tex style compability.
15422 (parseSingleLyXformat2Token): use it several places.
15423 * tabular.C (OldFormatRead): and here
15425 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15427 * text2.C: remove some commented code.
15430 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15431 * trans.C: changes because of the above.
15433 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15435 * text2.C (setCounter): Fix counters bug with bibliography layout.
15437 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15440 own member functions
15441 (simpleTeXSpecialChars): ditto
15443 2001-07-06 Juergen Vigna <jug@sad.it>
15445 * a lot of files: changed the access to LyXText::status and the
15446 call of undo-functions.
15448 * undo.[Ch]: added a inset_id to the undo informations.
15450 * undo_funcs.[Ch]: added and moved here all undo functions.
15452 * lyxtext.h: give the status enum a weight, made status_ a private
15453 variable and made accessor functions for it, removed the whole bunch
15454 of undo-functions as they are now in their own file, make some
15455 functions publically available. Added function ownerParagraph with
15458 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15459 made InInset() a const function, added getParFromID() function.
15461 * buffer.[Ch]: added const version for inset_iterator functions,
15462 added getInsetFromID() function.
15464 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15465 changed undo functions for new version.
15467 2001-07-05 Juergen Vigna <jug@sad.it>
15469 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15470 unknow mechanism does not call the proper constructor but only this
15471 one also if I request the other!?
15473 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15475 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15477 * text2.C (LyXText): use initialization lists.
15479 * lyxtext.h (Selection): initialize set_ and mark_
15480 (init): remove method
15482 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15484 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15486 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15488 * screen.[Ch]: change method names to begin with lowercase
15490 * BufferView_pimpl.C (updateScrollbar): simplify further and
15491 hopefully make it a bit faster.
15493 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15496 calling directly xforms functions.
15498 * Painter.C (Painter):
15499 * lyx_cb.C (MenuWrite):
15500 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15503 * lyx_gui.C: remove bogus guiruntime extern declaration.
15505 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15507 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15509 (redoDrawingOfParagraph): ditto
15510 (redoParagraphs): ditto
15511 (cutSelection): don't create a object for CutAndPaste use the
15512 static method directly
15513 (pasteSelection): ditto
15515 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15518 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15520 * modifications to some other files because of this.
15522 * Makefile.am (lyx_SOURCES): add XFormsView
15524 * XFormsView.[Ch]: new files
15526 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15527 the main window. Move the gui dependent stuff to XFormsView
15529 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * tabular.C (GetCellInset): update cur_cell also in the row/col
15532 version of this function.
15534 * lyxfunc.C: no need to include figure_form.h here.
15540 * lyxvc.C: no need to include forms.h here.
15542 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15544 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15546 * lyxfunc.C (Dispatch):
15548 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15549 constructor argument.
15551 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15553 * paragraph.C (Paragraph): dont't clear, and just set layout.
15554 (makeSameLayout): use params's copy contructor.
15556 * ParagraphParameters.[Ch] (makeSame): delete method
15558 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15560 * Variables.[Ch]: fix indentation, rename set to isSet
15562 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15564 * lyxfunc.C (Dispatch): fix typo
15566 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15568 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15571 * bufferlist.C: include assert.h for emergencyWrite().
15573 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15575 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15576 give up at last (bug #425202) !
15578 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15584 * spellchecker.C: strip spellchecker options and bring up
15585 preferences tab instead
15587 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15589 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15590 the istringstream constructor
15592 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * paragraph.C (getLayout): fix return value
15596 * paragraph.h: do not declare getLayout as inline.
15598 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15600 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15602 * lyxcursor.h (operator<): new func
15603 (operator>): new func
15604 (operator>=): new func
15605 (operator<=): new func
15607 * text.C (changeCase): use selection.start and selection.end
15608 (changeRegionCase): require from to be <= to. Require par to be a
15611 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15613 2001-06-27 Juergen Vigna <jug@sad.it>
15615 * text.C (cursorLeftOneWord): changed to return the cursor and added
15616 overlay with BufferView * parameter which calls this one.
15618 (selectWord): use new getWord function.
15619 (changeCase): renamed from changeWordCase as and extended to work
15620 also on selections.
15622 * lyxtext.h: added enum word_location
15624 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15625 changeCase as this operates now also on selections.
15627 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15629 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15631 * many files: send debug output to Debug::INFO instead of
15634 * converter.C (View):
15636 (Move): send debug output to Debug::FILES instead of console.
15638 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15640 * lyxfunc.C (getStatus): use func_status
15642 * func_status.h: new header, describing the results of
15643 LyXFunc::getStatus;
15645 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15648 2001-06-25 The LyX Project <jug@sad.it>
15650 * buffer.C (sgmlOpenTag):
15652 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15654 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15656 * text2.C: remove some dead code
15658 * tabular.C (GetCellInset): store the last cell checked (gotten)
15660 * tabular.h: add the helper for the speedup
15662 * lyxtext.h: remove some dead code
15664 2001-06-26 The LyX Project <Asger>
15666 * paragraph.C: Change export to LaTeX of alignment to
15667 \begin{center} and family for better roundtrip work with reLyX.
15669 * Tune the math drawing a bit.
15671 2001-06-25 The LyX Project <Asger>
15673 * LColor.C (LColor): New color for math background. New color
15676 2001-06-25 The LyX Project <jug@sad.it>
15678 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15680 * lyxfunc.C (Open):
15681 * bufferlist.C (newFile): do not restrict to files ending with
15684 * BufferView_pimpl.C (MenuInsertLyXFile):
15686 2001-06-24 The LyX Project <jug@sad.it>
15688 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15691 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15693 * lyxtext.h: rename most methods to begin with a small char.
15694 Lots of changes because of this.
15696 * paragraph.C (Paragraph): do not call fitToSize
15697 (erase): call Pimpl::erase
15698 (insertChar): call Pimpl::insertChar
15699 (insertInset): call Pipl::insertInset
15700 (breakParagraph): do not call fitToSize
15701 (breakParagraphConservative): do not call fitToSize
15702 (fitToSize): remove method
15704 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15706 2001-06-24 The LyX Project <Asger>
15708 * Fix Qt compilation^2
15710 2001-06-24 The LyX Project <jug@sad.it>
15712 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15713 depthHook(getDepth()-1).
15716 * ParagraphParameters.h:
15717 * ParameterStruct.h: change type of depth to unsigned int ==
15718 depth_type. Many adaptations to other files before of that.
15720 2001-06-24 The LyX Project <Asger>
15722 * Fix Qt compilation.
15724 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15726 * paragraph.h: renamed several methods to begin with small letter.
15727 several changes to many parts of the code because of this.
15729 2001-06-23 The LyX Project <jug@sad.it>
15731 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15732 rewritten to discard all double spaces when KeepEmpty is off
15733 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15734 to only handle newlines but not fiddle with spaces and friends.
15736 * lyxfunc.C (MenuNew): when doing 'new from template', use
15737 template_path as default directory
15739 2001-06-23 The LyX Project <Asger>
15741 * Clean-up of header file includes all over
15742 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15744 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15746 * paragraph.h: renamed from lyxparagraph.h
15748 2001-06-23 Asger <lyx@violet.home.sad.it>
15750 * Buffer.h: Removed Buffer::resize
15751 * BufferList.h: Removed BufferList::resize
15752 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15753 the document lazily when we change the width, or the font settings.
15755 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15757 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15759 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15761 * buffer.h: remove out of date comment
15763 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15766 * screen.C: fix "theoretical" GC leak
15768 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15770 * LaTeX.C (scanAuxFile):
15771 (deplog): remove trailing \r when reading stream (useful under
15774 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15776 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15777 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15778 and BufferView::theLockingInset(Inset*), so should use them and not
15779 access bv_->text->the_locking_inset directly.
15781 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15783 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15786 * tex-defs.h: remove old unused file
15788 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15790 * BufferView_pimpl.C: fix typo, remove minibuffer message
15791 when buffer has loaded
15793 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15795 * lyxfunc.C (Dispatch): use stringstream
15796 (MenuNew): use stringstream
15797 (Open): use stringstream
15799 * importer.C (Import): use stringstream
15801 * bufferview_funcs.C (CurrentState): use stringstream
15803 * LaTeX.C (run): use stringstream
15805 * BufferView_pimpl.C (savePosition): use stringstream
15806 (restorePosition): use stringstream
15807 (MenuInsertLyXFile): use stringstream
15809 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15822 * vspace.C: removed // -*- C++ -*- as first line.
15825 * version.h: added // -*- C++ -*- as first line.
15827 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15829 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15831 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15834 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15836 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15839 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15841 * gettext.C: include LString.h even when --disable-nls is on.
15843 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15845 * converter.h (Get): changed argument type from int to
15846 FormatList::size_type to avoid unnecessary conversion.
15848 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15851 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15853 * gettext.h: include LString.h even when --disable-nls is on.
15855 2001-06-07 Juergen Vigna <jug@sad.it>
15857 * text.C (BreakAgain): subst spaces with tabs.
15859 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15860 (resizeInsetsLyXText): set force on resizeLyXText.
15862 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15864 * gettext.h (gettext_init):
15865 (locale_init): use a real definition instead of a macro
15867 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15869 * Bufferview_pimpl.C:
15871 * LColor.C: further lcolor tidies
15873 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15875 * BufferView_pimpl.C (updateScrollbar): simplify.
15877 * BufferView2.C: don't include insets/insetinfo.h, change
15878 prototype for insertInset and call the Pimpl version. let
15879 updateInset call Pimpl version.
15881 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15882 gotoInset to BufferView::Pimpl
15884 2001-06-01 Juergen Vigna <jug@sad.it>
15886 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15887 inside a LockingInset (is the update needed at all?).
15889 2001-05-31 Juergen Vigna <jug@sad.it>
15891 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15892 here not the old one otherwise how should we compare it afterwards
15895 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * FontInfo.C: bring C functions into global namespace when
15903 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15905 * LString.h: make sure config.h has been loaded before LString.h.
15907 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15908 (one for each char read by EatLine!).
15910 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15913 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15915 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15916 to the same as the par we break from
15918 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15920 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15922 * MenuBackend.C (expand): also create menu entries for wide
15923 versions of the floats.
15925 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15927 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15929 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15930 frontends/Makefile.am
15936 * tabular.C (getTokenValue): add std::
15938 * tabular-old.C (getTokenValue): add std::
15939 (getTokenValue): ditto
15940 (getTokenValue): ditto
15942 * screen.C (ToggleSelection): adjust
15944 * lyxtext.h: put selection cursors inside a Selection struct.
15946 * lyxfunc.C (moveCursorUpdate): adjust
15948 * lyxfont.C (latexWriteStartChanges): add std::
15950 * lyxfind.C: adjust
15952 * font.h: delete with(char const *, LyXFont const &)
15954 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15956 * FontInfo.C (getFontname): add std::
15958 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15959 (workAreaButtonPress): adjust
15960 (tripleClick): adjust
15962 (moveCursorUpdate): adjust
15965 * BufferView2.C (gotoInset): adjust
15967 2001-05-30 Juergen Vigna <jug@sad.it>
15969 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15970 to check pspell I add this as default as I now have new pspell
15971 libraries and they seem to use this.
15973 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15975 * text2.C (CutSelection): make the cursor valid before the call to
15978 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15980 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15981 relied on 0 terminated strings and other horrors. Bug found due to
15982 the new assert in lyxstring!
15984 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15987 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15989 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15992 * lyxfunc.C (processKeySym): change method of getting to the
15995 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15996 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15997 * BufferView_pimpl.[Ch]: here as private methods.
15999 2001-05-28 Juergen Vigna <jug@sad.it>
16001 * text.C (SetHeightOfRow): added the update() call again as it is
16002 needed to initialize inset dimensions!
16004 2001-05-16 Juergen Vigna <jug@sad.it>
16006 * text2.C (SetCharFont): Add new function with BufferView * and
16007 bool toggleall parameters for setting insets internal fonts.
16008 (SetFont): Freeze the undo as we may change fonts in Insets and
16009 all this change should be inside only one Undo!
16011 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16012 setting font's in insets as for them we have the SetFont function!
16014 2001-05-15 Juergen Vigna <jug@sad.it>
16016 * text2.C (ClearSelection): to be sure we REALLY don't have any
16019 * tabular.C (TeXCellPreamble): fixed the left border problem for
16022 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16024 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16027 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16029 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16030 LFUN_BREAKPARAGRAPH.
16032 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16033 help test to "internal only", similar for LFUN_INSERT_URL
16035 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16036 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16037 auto_region_delete and deadkeys.
16039 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16042 * LColor.C: remove some dead entries, tidy a little
16044 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16048 (Dispatch): implement LFUN_ESCAPE
16050 * commandtags.h: add LFUN_ESCAPE
16052 * LyXAction.C (init): add entry for LFUN_ESCAPE
16054 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16055 Remove commented code.
16056 (insertNote): moved here
16057 (open_new_inset): moved here
16059 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16062 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16064 * kbmap.C (findbinding): clean it up and make it work correctly.
16066 * lyx_main.C (init): do not pass argc and argv as parameters
16068 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16070 * buffer.C: fix path for OS/2 & Win32
16074 * lyx_main.C: Added os:: class.
16076 * os2_defines.h: update
16078 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16080 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16081 better by trying again with reduced state.
16083 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16085 * lyxrc.C (read): print error about invalid key sequence only when
16086 debugging (because not all latinX keysyms are known to some X
16089 * kbsequence.C (getiso): add a few std:: qualifiers
16090 (getiso): comment out extra return statement.
16092 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16094 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16096 (Dispatch): enhance the accent inset a bit. (not perfect)
16098 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16102 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16104 * bufferlist.C (emergencyWrite): fix assert() call
16106 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16108 * text.C (InsertChar): Added trivial patch to only send the "you
16109 can not do multiple spaces this way" message once during a
16112 2001-05-08 Baruch Even <baruch@lyx.org>
16114 * Makefile.am: Changed order of libraries to get LyX to link properly
16115 with the gnome frontend.
16117 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16119 * LaTeXFeatures.h: add a std:: qualifier
16121 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16123 * paragraph.C (String): use stringstream
16125 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16127 * paragraph.C (writeFile): remove footflag arg
16129 * buffer.C (makeLaTeXFile): use stringstream
16130 (latexParagraphs): remove footnot gurba
16132 * LaTeXFeatures.C (getPackages): use stringstream
16133 (getMacros): likewise
16134 (getTClassPreamble): likewise
16135 (getFloatDefinitions): new method
16137 * paragraph.C (writeFile): reindent
16140 * WorkArea.h: revert the xpos + etc changes.
16142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16144 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16146 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16147 (pasteSelection): likewise
16148 * text2.C (CreateUndo): likewise
16150 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16152 * minibuffer.C (peek_event): temporarily reduce the functionality
16153 of the minibuffer (to allow args on lfuns)
16155 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16156 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16158 * buffer.C (readInset): add compability reading of old float
16159 lists, add reading of new style float list.
16160 (readInset): avoid reevaluation of inscmd.getCmdName()
16161 (getLists): reindent
16163 * MenuBackend.C (MenuItem): implement parsing of
16164 md_floatlistinsert and md_floatinsert.
16165 (expand::LastFiles): move initalizaton of iterators out of loop,
16166 avoid reevaluation.
16167 (expand::Documents): introduce typdedef vector<string> Strings,
16169 (expand::ExportFormats): introduce typedef vector<Format const *>
16170 Formats, and use it.
16171 (expand): implement FloatListInsert and FloatInsert.
16173 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16174 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16175 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16177 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16179 (Dispatch::LFUN_FLOAT_LIST): implement
16181 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16183 * LaTeX.C (run): Fix problem with --export code.
16185 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16187 * BufferView.[Ch] (workarea): removed.
16188 (getClipboard) new method; wrapper for workarea()->getClipboard()
16190 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16193 * WorkArea.h (width, height, xpos, ypos): These methods all
16194 returned the dimensions of the work_area sub-area of WorkArea,
16195 resulting in a position error if the WorkArea were resized. Now
16196 return the dimensions of the entire WorkArea.
16198 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16200 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16202 * LaTeX.C (deplog): correct the syntax of regex reg1
16204 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16206 * undo.C: remove !NEW_INSETS cruft
16208 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16210 * text2.C: remove !NEW_INSETS cruft
16212 * text.C: remove !NEW_INSETS cruft
16214 * tabular.C: remove !NEW_INSETS cruft
16216 * spellchecker.C: remove !NEW_INSETS cruft
16218 * lyxtext.h: remove !NEW_INSETS cruft
16220 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16222 * lyxfunc.C: remove !NEW_INSETS cruft
16224 * lyxfind.C: remove !NEW_INSETS cruft
16226 * lyx_cb.C: remove !NEW_INSETS cruft
16228 * figureForm.C: remove !NEW_INSETS cruft
16230 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16232 * buffer.[Ch]: remove !NEW_INSETS cruft
16234 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16236 * CutAndPaste.C: remove !NEW_INSETS cruft
16238 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16240 * BufferView2.C: remove !NEW_INSETS cruft
16242 * BufferView.h: remove !NEW_INSETS cruft
16244 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16246 * Lsstream.h: include LString.h before the sstream headers to
16247 fix problem with gcc 2.95.3 and lyxstring
16249 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16251 * lyx_main.C: add using directives when needed for C functions
16252 declared in std:: namespace.
16254 2001-04-27 Juergen Vigna <jug@sad.it>
16256 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16257 (SetHeightOfRow): comment out the update call should not be needed!
16259 2001-04-13 Juergen Vigna <jug@sad.it>
16261 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16262 (LyXTabular): tried to minimize operator= operations (and realized
16263 hopfully Lars wish).
16265 2001-04-27 Juergen Vigna <jug@sad.it>
16267 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16269 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16271 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16273 * buffer.C (readInset): hack to make listof algorithm work
16275 * BufferView_pimpl.C: hack to make listof algorithm work
16277 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16279 * LyXAction.C: removed all !NEW_INSETS cruft
16280 (init): moved lfun_item in method
16282 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16284 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16286 * BufferView2.C (theLockingInset): white space.
16288 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16290 * minibuffer.C: include <iostream>
16292 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16294 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16296 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16298 * text.[Ch] (TransposeChars): new method
16300 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16302 * call message directly through LyXView instead of through LyXFunc
16303 * BufferView2.C: adjust
16304 * BufferView_pimpl.C: adjust
16305 * FontLoader.C: adjust
16307 * bufferview_funcs.C: adjust
16308 * converter.C: adjust
16309 * figureForm.C: adjust
16310 * importer.C: adjust
16312 * lyx_gui_misc.C: adjust
16313 * lyxfunc.C: adjust
16316 + more files in subdirs
16318 * lyxparagraph.h (size): move up int file
16321 * adjust all uses of Assert to lyx::Assert.
16323 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16324 lyxfunctional in namespace lyx
16325 * layout.C (hasLayout): ditto
16328 (delete_layout): ditto
16329 (NumberOfClass): ditto
16330 * converter.C (GetFormat): ditto
16335 * bufferlist.C (getFileNames): ditto
16336 (emergencyWriteAll): ditto
16339 * MenuBackend.C (hasSubmenu): ditto
16342 * BufferView_pimpl.C (getInsetByCode): ditto
16344 2001-04-18 Juergen Vigna <jug@sad.it>
16346 * vspace.C (asLatexString): fixed the 100% problem.
16348 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16350 * lyxfunc.C (Dispatch):
16352 * minibuffer.h: add a few std:: qualifiers
16354 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16356 * minibuffer.[Ch]: reimplement so that commands is initiated and
16357 run from lyxfunc, simplified som handling, and made the completion
16358 and history code for complete. wip.
16360 * lyxfunc.C (processKeySym): call message
16361 (miniDispatch): new temporary method
16362 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16363 (LFUN_MESSAGE): implement
16364 (LFUN_MESSAGE_PUSH): implement
16365 (LFUN_MESSAGE_POP): implement
16366 (initMiniBuffer): the initial/defualt minibuffer message.
16368 * lyxfont.[Ch]: inline some more getters
16370 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16372 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16374 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16375 (AutoSave): use LFUN_MESSAGE
16376 (Reconfigure): ditto
16378 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16380 * figureForm.C: use LFUN_MESSAGE
16382 * converter.C (runLaTeX): use LFUN_MESSAGE
16384 * bufferview_funcs.C: use LFUN_MESSAGE
16386 (changeDepth): ditto
16388 * bufferparams.h: use boost::
16390 * bufferlist.h: inherit privately from noncopyable
16392 * bufferlist.C (loadLyXFile): remove some commented code.
16394 * buffer.C (runChktex): use LFUN_MESSAGE
16396 * ShareContainer.h: inherit privately from noncopyable
16398 * ParagraphParameters.[hC] (depth): inline it.
16400 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16402 (message): new method
16403 (messagePush): ditto
16404 (messagePop): ditto
16405 (show): init minibuffer
16406 (showState): direct call
16408 * LaTeX.[Ch]: inherit privately from noncopyable
16409 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16410 instead of WriteStatus.
16412 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16414 * BufferView_pimpl.C (buffer): don't init minibuffer
16415 (workAreaButtonPress): use LFUN_MESSAGE
16416 (workAreaButtonRelease): ditto
16417 (savePosition): ditto
16418 (restorePosition): ditto
16419 (MenuInsertLyXFile): ditto
16420 (workAreaExpose): don't init minibuffer
16421 (update): remove commented code, simplify
16423 * BufferView2.C (openStuff): use LFUN_MESSAGE
16424 (toggleFloat): ditto
16427 (copyEnvironment): ditto
16428 (pasteEnvironment): ditto
16433 (updateInset): remove some commented code
16435 * lastfiles.h: inherit privately from noncopyable
16438 * lyx_main.h: ditto
16440 * lyxlex_pimpl.h: ditto
16442 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16443 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16444 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16446 * LyXAction.h: inherit privately from noncopyable, add methods
16447 func_begin, func_end, returning iterators to the func map.
16449 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16450 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16451 (func_begin): new method
16452 (func_end): new method
16454 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16456 (copySelection): ditto
16457 (pasteSelection): ditto
16459 * BufferView.C: whitespace change
16460 * BufferView.h: inherit privately from noncopyable
16462 2001-04-16 Allan Rae <rae@lyx.org>
16464 * tabular-old.C (l_getline):
16465 * spellchecker.C (sc_check_word):
16466 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16467 an unrecognised preprocessor directive. So ensure they're wrapped.
16469 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16471 * src/exporter.C (Export): Give an error message when path to file
16474 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16476 * LaTeX.C (deplog): Always check that foundfile exists.
16478 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16481 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16483 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16485 * tabular.[Ch] (getLabelList): implement new method
16487 * minibuffer.h: comment ouf setTiimer
16489 * minibuffer.C (ExecutingCB): constify res
16490 (peek_event): constify s
16491 (Set): constify ntext
16492 (Init): constify nicename
16494 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16496 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16497 (savePosition): use two params to Minibuffer::Set
16498 (restorePosition): ditto
16500 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16502 * lyx_main.C: include language.h
16504 * Makefile.am (lyx_main.o): add language.h
16506 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16512 * CutAndPaste.C: include gettext.h
16514 * lyxfont.h: remove old hack with ON and OFF.
16517 * lyxfont.h: do not include language.h...
16522 * bufferview_funcs.C:
16528 * paragraph.C: ... but do it here instead
16530 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16532 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16534 * tabular.C: small reformat
16536 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16539 (BreakParagraph): ditto
16540 (SetOnlyLayout): ditto
16543 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16546 * lastfiles.C: removed most using decl, add std:: where needed
16548 * buffer.C: ws changes
16550 * MenuBackend.C (class compare_format): put into anon namespace
16551 (expand): constify label, names, action, action2
16554 * text.C (SingleWidth): constify font
16555 (IsBoundary): constify rtl2
16556 (GetVisibleRow): constify ww
16558 * LaTeX.C (deplog): constify logfile
16560 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16562 (workAreaExpose): constify widthChange, heightChange
16564 * lyxrow.C (par): moved
16567 * lyxrow.h: as inlines here
16569 * lyxfont.h (shape): moved from lyxfont.C
16570 (emph): moved from lyxfont.C
16572 * lyxfont.C (LyXFont): use initialization list for all
16574 (shape): move to lyxfont.h as inline
16575 (emph): move to lyxfont.h as inline
16578 2001-04-04 Juergen Vigna <jug@sad.it>
16580 * vspace.C: had to include stdio.h for use of sscanf
16582 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16585 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16586 independent of xforms.
16588 2001-04-02 Juergen Vigna <jug@sad.it>
16590 * spellchecker.C: fixed namespace placing!
16592 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16594 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16595 the LyXParagraph * is 0.
16597 2001-03-29 Juergen Vigna <jug@sad.it>
16599 * vspace.C: added support for %, c%, p%, l%.
16600 (stringFromUnit): added helper function.
16601 (asLatexString): changed to give right results for the %-values.
16603 * buffer.C: convert the widthp in a width%.
16605 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16607 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16610 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16611 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16613 * lyx_cb.[Ch]: see above.
16615 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16619 * lyx.[Ch]: replaced by figure_form.[Ch].
16623 * lyxfunc.C: changed headers associated with above changes.
16625 2001-03-27 Juergen Vigna <jug@sad.it>
16627 * BufferView_pimpl.C: set the temporary cursor right!
16629 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16631 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16633 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16635 * LString.h: removed "using std::getline"!
16637 * BufferView_pimpl.C (Dispatch): changes due to changes in
16638 InsetInclude::Params.
16640 * buffer.C (tag_name): removed redundant break statements as they were
16641 producing lots of warnings with my compiler.
16643 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16645 * LString.h: add "using std::getline" when using the real <string>.
16647 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16649 * buffer.C: removed bitset usage.
16650 PAR_TAG moved to an anonymous name space.
16651 (tag_name): new funtion, also in the anonymous namespace.
16652 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16653 (makeDocBookFile): clean code. Completed transition from string arrays
16655 (SimpleDocBookOnePar): code clean.
16657 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16659 * tabular.C: add some comments.
16661 2001-03-22 Juergen Vigna <jug@sad.it>
16663 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16664 compatibility read a bit and fixed bug with minipage in different
16667 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16669 * buffer.C (pop_tag): removed.
16670 (push_tag): removed.
16671 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16672 array replaced with vector. Added support for CDATA sections.
16673 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16675 (makeDocBookFile): XML conformant declaration of CDATA section,
16676 fixed bug related to <emphasis> in the first paragraph char.
16677 (sgmlOpenTag): exclude empty tags.
16678 (sgmlCloseTag): ditto.
16680 * buffer.h (pop_tag): removed.
16681 (push_tag): removed.
16683 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16685 * language.h (Languages): added size_type and size().
16687 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16689 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16690 response on compability reading of minipages. One probliem is that
16691 the old usage of minipages was «flertydig»
16693 * several files here and in subdirs: don't use static at file
16694 scope use anon namespaces instead.
16696 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16698 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16699 LaTeX output. This is necessary for Literate document
16702 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16704 * buffer.C: insert hfill when needed.
16706 * tabular.C (l_getline): use string::erase, small whitespace change.
16708 * BufferView_pimpl.C: try the anon namespace.
16709 * WorkArea.C: ditto
16711 2001-03-16 Juergen Vigna <jug@sad.it>
16713 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16714 otherwise it won't open options-dialogs.
16716 * buffer.C: honor pextraWidth(p) on converting minipages.
16718 * tabular.C (l_getline): changed the functions to strip trailing \r.
16720 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16722 * BufferView_pimpl.C:
16723 * minibuffer..C: added "using SigC::slot" declaration.
16725 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16727 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16733 * paragraph.C: ditto
16735 * lyxtext.h: NO_PEXTRA
16737 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16739 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16740 * ParameterStruct.h: ditto
16741 * ParagraphParameters.h: ditto
16742 * lyxparagraph.h: ditto
16744 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16746 * buffer.C: add compability for minipage alignment.
16747 (latexParagraphs): remove unwanted pextra check.
16749 * several files: remove CXX_WORKING_NAMESPACES
16751 * buffer.C (pop_tag): tie is in namespace boost
16753 * BufferView.h: noncopyable is in namespace boost
16755 * lyx_main.h: ditto
16758 * lastfiles.h: ditto
16759 * bufferlist.h: ditto
16760 * ShareContainer.h: ditto
16762 * LyXAction.h: ditto
16765 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16767 * Merging changes from BRANCH_MVC back into HEAD.
16769 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16771 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16773 * BufferView_pimpl.C: change from intl.C
16777 * Makefile.am: move combox.*
16783 * intl.C: remove dialog (covered by prefs)
16785 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16787 * lyxfunc.C (Dispatch): removed redundant break statement.
16789 2001-03-14 Juergen Vigna <jug@sad.it>
16791 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16793 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16795 * buffer.C: add hack to fix compability reading of minipages.
16797 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16799 * buffer.C (getLists): Cleanup.
16801 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16803 * lyxfont.C (update): don't honor toggleall on font size.
16805 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16809 * Makefile.am: moved to frontends/xforms/
16813 * BufferView_pimpl.C: changes for moved mathpanel
16815 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16817 * gettext.h: fix gettext_init() in --disable-nls
16819 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16821 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16823 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16826 * lyx.h: strip external form
16828 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16830 * BufferView_pimpl.C: add comment, destroySplash()
16832 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16834 * BufferView_pimpl.C:
16838 * lyxfunc.C: use re-worked insetinclude
16840 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16842 * buffer.C: add using std::stringstream.
16844 * lyx_cb.C: readd using std::ios.
16846 * buffer.C: add using std::map.
16848 * BufferView_pimpl.C: add using std::vector.
16850 * ShareContainer.h: add std:: to swap.
16852 * buffer.h: add some typedefs
16853 * buffer.C (getLists): use them
16854 (getLists): renamed from getTocList.
16855 add a counter for the different float types and use it in the
16857 (getLists): use the same counter for the NEW_INSETS and the "non"
16860 * lyx_cb.h: remove unused items, includes, using etc.
16862 * ShareContainer.h: remove some commented code, add more comments
16863 and "documentation".
16865 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16867 * buffer.C (getTocList): make the list also when NEW_INSETS is
16870 * buffer.h: remove TocType
16872 * buffer.C (getTocList): change to return a map<string,
16873 vector<TocItem> >, implement for dynamic number of list.
16875 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16876 * text2.C (PasteSelection): adjust
16877 * CutAndPaste.C (pasteSelection): adjust
16879 * FloatList.C (FloatList): update from the new_insets branch.
16880 * Floating.[Ch]: ditto
16881 * LaTeXFeatures.C: ditto
16883 * lyxlex_pimpl.C: ditto
16885 * paragraph.C (Last): remove when NEW_INSETS is defined.
16887 * other file: changes because of the above.
16889 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16891 * lyxparagraph.h: rename next to next_, previous to previous_,
16892 make them private for NEW_INSETS. Rename Next() to next(),
16893 Previous() to previous().
16895 * other files: changes because of the above.
16897 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16900 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16903 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16905 * main.C (main): pass lyx_localedir to gettext_init().
16907 * gettext.h: remove locale_init and gettext_init macros
16909 * gettext.C (locale_init): new function
16910 (gettext_init): new function
16912 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16915 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16917 * Moved credits to frontends:
16918 * credits.[Ch]: removed
16919 * credits_form.[Ch]: removed
16920 * lyx_gui_misc.C: remove credits stuff
16923 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16925 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16927 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16928 unneeded destructor.
16930 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16931 a standalone pointer again.
16933 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16935 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16941 * ToolbarDefaults.C:
16950 * BufferView_pimpl.C: use new file dialog in GUII
16953 * lyx_cb.C: remove LayoutsCB to Toolbar
16955 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16957 * ShareContainer.h (get): add std:: qualifier
16959 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16961 * ShareContainer.h: define a proper ShareContainer::value_type
16962 type (and use typename to please compaq cxx)
16964 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16966 * lyxparagraph.h: move serveral local vars to
16967 ParameterStruct/ParagraphParameters., use ShareContainer in
16968 FontTable., make vars in FontTable private and add getter and
16971 * paragraph.C: changes because of the above.
16973 * lyxfont.h: remove copy constructor and copy assignment. (the
16974 default ones is ok), move number inside FontBits. move inlines to
16977 * lyxfont.C: add number to initializaton of statics, move several
16978 inlines here. constify several local vars. some whitespace
16979 cleanup. Dont hide outerscope variables.
16981 * Spacing.h: add two new constructors to match the set methods.
16983 * ShareContainer.h: new file, will perhaps be moved to support
16985 * ParameterStruct.h: new file
16987 * ParagraphParameters.h: new file
16989 * ParagraphParameters.C: new file
16991 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16992 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16994 * BufferView_pimpl.C: ParagraphParameter changes.
16995 * buffer.C: Likewise.
16996 * bufferview_funcs.C: Likewise.
16997 * text.C: Likewise.
16998 * text2.C: Likewise.
17000 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17002 * lyxfind.C (LyXReplace): do not redefine default argument in
17004 (IsStringInText): ditto
17005 (SearchForward): ditto
17006 (SearchBackward): ditto
17008 2001-03-06 Juergen Vigna <jug@sad.it>
17010 * lyxfind.C (IsStringInText): put parentes around expressions.
17012 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17014 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17016 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17018 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17020 * stl_string_fwd.h: add comment
17022 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17025 * tabular.C: remove unused DocBook methods
17031 killed DO_USE_DEFAULT_LANGUAGE
17033 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17035 * lyx_gui.C: do not include language.h.
17037 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17038 arguments in function implementation.
17040 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17042 * BufferView_pimpl.C: add <ctime>
17044 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17046 * BufferView_pimpl.C: add using std::find_if
17048 2001-02-27 José Matos <jamatos@fep.up.pt>
17050 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17053 2001-02-11 José Matos <jamatos@fep.up.pt>
17055 * buffer.C (makeDocBookFile): command styles now have a parameter as
17056 "title" by default.
17058 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17060 * layout_forms.[Ch]: removed
17061 * lyx_cb.[Ch]: out character
17062 * lyx_gui.C: out character
17063 * lyx_gui_misc.C: out character
17064 * bufferview_funcs.C: : out character,
17065 added toggleall as parameter in ToggleAndShow
17067 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17069 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17071 * text2.C (SetCurrentFont): Disable number property at boundary.
17073 2001-02-26 Juergen Vigna <jug@sad.it>
17075 * lyxfunc.C (getStatus): added a string argument override function so
17076 that this is correctly called from LyXFunc::Dispatch if it contains a
17077 do_not_use_argument which is used!
17078 (Dispatch): added check for "custom" export and call appropriate func.
17080 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17082 * lyxrc.C: Add language_command_local, language_use_babel and
17083 language_global_options.
17085 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17087 * buffer.C (makeLaTeXFile): Use language_use_babel and
17088 language_global_options.
17090 2001-02-23 Juergen Vigna <jug@sad.it>
17092 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17093 which works with LyXText and putted it inside BufferView. Here now we
17094 only call for that part the BufferView::Dispatch() function.
17096 * BufferView.C (Dispatch): added.
17098 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17099 functions which needs to use a LyXText over from LyXFunc.
17100 (MenuInsertLyXFile): added
17101 (getInsetByCode): added
17102 (moveCursorUpdate): added
17103 (static TEXT): added
17105 2001-02-22 Juergen Vigna <jug@sad.it>
17107 * BufferView_pimpl.C (update): call a status update to see if LyXText
17110 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17112 * vc-backend.C (revert): implement for CVS
17113 (getLog): implement for CVS
17115 2001-02-20 Juergen Vigna <jug@sad.it>
17117 * text2.C (ClearSelection): added BufferView param for inset_owner call
17119 * lyxfunc.C (TEXT): added this function and use it instead of
17120 directly owner->view()-text of getLyXText().
17122 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17124 * src/layout_forms.C: out preamble
17125 * src/layout_forms.h: out preamble
17126 * src/lyx_cb.C: out preamble
17127 * src/lyx_cb.h: out preamble
17128 * src/lyx_gui.C: out preamble
17129 * src/lyx_gui_misc.C: out preamble
17130 * src/lyxfunc.C: connect with guii preamble
17132 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17134 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17136 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17138 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17139 whether to run bibtex.
17141 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17143 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17145 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17147 * Makefile.am (lyx_SOURCES): removed bibforms.h
17149 * vspace.h: doxygen
17151 * text.C (GetVisibleRow): make several local vars const
17153 * tabular.C: small cleanup.
17155 * lyxserver.C (callback): use compare instead of strncmp
17157 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17158 inlines to after class or to paragraph.C
17160 * lyxfont.h: remove friend operator!=
17162 * converter.h: move friend bool operator< to non friend and after
17165 * combox.h: small cleanup
17167 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17168 to inlines after class def.
17170 * buffer.C (pop_tag): use string operations instead of strcmp
17172 * bmtable.c: doxygen, small cleanup
17174 * LaTeX.h: remove friend operator==
17176 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17188 * BufferView_pimpl.C:
17189 * BufferView.[Ch]: remove cruft
17191 2001-02-14 Juergen Vigna <jug@sad.it>
17193 * lyxfunc.C: removed #if 0 unused code
17195 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17197 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17199 * text2.C (SetSelection): added a BufferView * parameter
17201 2001-02-13 Juergen Vigna <jug@sad.it>
17203 * lyxfunc.C (Dispatch): fixed protected blank problem.
17204 * BufferView2.C (protectedBlank): added LyxText * parameter.
17206 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17207 (AppendColumn): same as above for column_info.
17209 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17210 (moveCursorUpdate): use a LyXText param for support of InsetText.
17212 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17213 (tripleClick): ditto
17215 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17217 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17219 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17221 * text2.C (SetSelection): set correct update status if inset_owner
17222 (ToggleFree): ditto
17224 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17226 * tabular.C: remove some commented code.
17228 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17230 * BufferView_pimpl.C: call hideSplash()
17232 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17235 * bibforms.h: remove
17238 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17239 add LFUN_CHILD_CREATE
17241 * counters.h: fix tiny typo
17246 * lyx.C: move splash to frontends/xforms/
17248 * lyx_gui_misc.C: move Include and Bibform to frontends
17250 * lyxvc.h: clarify comment
17252 * vspace.C: tiny housekeeping
17254 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17256 * text.C (PrepareToPrint): RTL Fix.
17258 * paragraph.C (GetUChar): New method.
17259 (String): Use GetUChar.
17261 * buffer.C (asciiParagraph): Use GetUChar.
17263 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17265 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17267 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17270 * buffer.C: rename to getLogName(), handle
17271 build log / latex log nicely
17273 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17276 * MenuBackend.h: remove support for reference menuitem type.
17278 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17280 * BufferView_pimpl.C: housekeeping
17281 * BufferView_pimpl.h:
17286 * minibuffer.h: move Timeout GUI-I
17288 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17290 * lyxrc.C (read): Update converters data-structures.
17292 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17294 * LaTeX.h (operator!=): add operator != for Aux_Info
17296 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17298 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17300 * LaTeXLog.C: deleted, useful code moved to Buffer
17303 * buffer.C: new function getLatexLogName()
17309 * lyxfunc.C: use frontends for LaTeX and VC logs
17311 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17313 * LaTeX.h: yet another std:: that Allan forgot.
17315 * Variables.C (set): renamed from isset(), because this clashes
17316 with some HP-UX macros (grr).
17318 2001-02-06 Allan Rae <rae@lyx.org>
17320 * LaTeX.h: Another bug fix. Missing std:: this time.
17322 2001-02-04 Allan Rae <rae@lyx.org>
17324 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17325 floats problem. I've left it commented out because it's not quite
17326 correct. It should also test that the current object is a table or
17327 figure inset. But I haven't gotten around to figuring out how to do
17328 that. I *think* it'll be something like: "table" == inset.type()
17330 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17333 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17335 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17336 all the citation/databases/styles in the auxilary file.
17337 (run): Rerun latex if there was a babel language error.
17339 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17341 * text.C (Backspace): Preserve the font when changing newline char
17343 (BreakParagraph): If the cursor is before a space, delete the space.
17345 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17347 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17349 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17350 new argument (code).
17351 (ChangeCitationsIfUnique): New method.
17353 * paragraph.C (GetPositionOfInset): Handle bibkey.
17355 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17357 * BufferView_pimpl.h: change type of Position::par_pos to
17358 LyXParagraph::size_type.
17360 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17362 * BufferView_pimpl.C (savePosition, restorePosition): Write
17363 messages to minibuffer.
17365 2001-01-28 José Matos <jamatos@fep.up.pt>
17367 * buffer.C (makeDocBookFile): adds support for document language.
17368 A silly restriction on the name of LatexCommand types where removed.
17369 Added support for CDATA sections, allows to chars unescaped, used
17370 among others in code, to avoid escape < and >.
17372 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17374 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17375 saved positions instrad of a stack. Furthermore, a position is
17376 stored using paragraph id/paragraph position.
17378 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17379 Remove LFUN_REF_BACK.
17381 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17383 * converter.C (dvipdfm_options): New method.
17385 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17387 * vspace.C (isValidLength): Fix for empty input string.
17389 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17391 * LyXAction.C (init): change description of LFUN_FIGURE to
17394 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17396 * LaTeX.C: add using directive
17398 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17400 * MenuBackend.C (expand): Fix the sorting of the formats.
17402 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17404 * lyx_main.C: tiny error message fix
17406 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17408 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17409 calling fl_initialize(). This fixes the problem with ',' as
17410 decimal separator in text files.
17412 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17414 * trans.C (process): Fix the keymap bug.
17416 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17418 * LaTeX.C (scanAuxFiles): New method. Provides support for
17419 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17420 (scanLogFile) Scan for "run BibTeX" messages.
17422 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17423 OT1 font encoding. Also, load the aecompl package if the ae
17426 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17428 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17430 * texrow.C (increasePos): turn two error messages into debug
17433 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17435 * LaTeX.C (scanAux): Handle the \@input macro.
17436 (runBibTeX): Use scanAux().
17438 * language.C (latex_options_): New field.
17440 * LaTeXFeatures.C (getMacros): Add language macros.
17442 * buffer.C (makeLaTeXFile): Small fix.
17444 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17446 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17448 * text2.C: add a using directive.
17450 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17455 * lyxfunc.C: kill LyXBell.
17457 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17459 * text.C (IsBoundary): Remove the error message
17461 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17463 * lyxrc.C (setDefaults): Correct initialization value for
17466 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17468 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17471 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17472 and GotoNextNote().
17474 * src/LyXAction.C: Added reference-next.
17476 * text.C (InsertChar): Use contains instead of strchr.
17478 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17480 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17482 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17483 alignment commands (when needed).
17485 * text.C (InsertChar): Add ':' to number separator chars.