1 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
3 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
6 2005-04-25 Angus Leeming <leeming@lyx.org>
14 include <config.h> in .C files, not .h ones.
16 protect headers inside preprocessor guards.
18 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
20 * FuncStatus.h (StatusCodes): document
22 2005-04-21 André Pönitz <poenitz@gmx.net>
24 * FuncStatus.h (enabled, onoff): document
26 2005-04-19 Angus Leeming <leeming@lyx.org>
28 * BufferView_pimpl.C (cursorToggle): no longer test whether
29 any child processes have been reaped before calling
30 handleCompletedProcesses().
32 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
34 * text3.C (dispatch): fix, finally fix, the language problem in
35 new lyxtexts, without disabling on-the-fly font changes (Helge's
38 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * text3.C (dispatch): set cursor on double/triple click events
43 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
46 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
48 * rowpainter.C (paintFirst): simplify the code a little bit. In
49 particular, remove the test for secnumdepth.
50 * text.C (setHeightOfRow): only allocate space for chapter number
51 when updateCounters provided an actual label, instead of looking
52 at secnumdepth directly.
54 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
56 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
57 paragraphs when secnumdepth is large enough or, for environments,
58 when they are not the first in a sequence.
60 2005-04-17 Angus Leeming <leeming@lyx.org>
62 * buffer.C (makeLaTeXFile): replace code to manipulate a path
63 containing space and '~' characters with a call to latex_path().
65 2005-04-17 Angus Leeming <leeming@lyx.org>
67 * converter.C (convert): protect all args of convertDefault.sh
70 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * text3.C (dispatch): change the layout to "Caption" after inserting
75 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
77 * text3.C (dispatch): fix language problem in newly created
78 textinsets (and main text) in non-english docs
80 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
83 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
84 * text3.C (getStatus): disable LFUN_INSET_MODIFY
86 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
91 * rowpainter.C (getFont): Fix metrics bug introduced by inset
94 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
97 output of \item arguments without trailing text.
99 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * FontIterator.C (operator*): avoid a copy of the font.
103 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
105 * rowpainter.C (getFont): fix language bug from previous fix
107 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
109 * rowpainter.C (RowPainter, getFont): fix font inside inset
112 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
114 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
115 preventing inserted font, deco, delim insets jumping to start of
118 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * lyxfunc.C (dispatch): translate message before sending it to the
123 2005-03-29 Angus Leeming <leeming@lyx.org>
125 * lyx_main.C (priv_exec): call os::internal_path on each file passed
126 to LyX on the command line.
128 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
130 * vc-backend.C: use QuoteName to protect file names wherever
133 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
136 * BranchList.h: fix bugs 1844,1845: document settings don't
139 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * lyxrc.C (setDefaults, read, output, getDescription): add support
142 for tex_allows_spaces.
144 * exporter.C (Export): allows files in directory containing spaces
145 if tex_allows_spaces is true.
147 * buffer.C (makeLaTeXFile): if the document path contains spaces,
148 output it in double quotes.
150 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
152 * rowpainter.C: use default text height for drawing change tracker
155 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
157 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
159 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
162 directory is missing.
164 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
166 * text2.C: fixed the fix, extended to other case.
168 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
170 * text2.C: fix for cursor up/down stuck in math [bug 1792]
172 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
174 * text2.C (cursorUp): get rid of a crash
175 * text.C (x2pos): add an assert
177 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * lyxfunc.C (getStatus): fix warning when assertions are disabled
183 * dociterator.C: include <boost/current_function.hpp>, which is
184 needed when assertions are disabled.
186 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
188 * text2.C: fix for stuck cursor when traversing two
189 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
191 2005-02-25 Andreas Vox <avox@arcor.de>
193 * output_docbook.C (makeParagraph): suppress trailing newline
194 after a run of paragraphs
196 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
198 * paragraph.C: fix for confused change tracker when pasting
199 text that begins with a lineseparator. [bug 1827]
200 (setChange(0, Change::INSERTED);)
202 * paragraph_funcs.C: fix for lost changes on triple-paste
203 in change tracking mode [bug 1827] (par.setChange()).
205 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * text2.C (updateCounters, setCounter, expandLabel): move to
210 * buffer_funcs.C (updateCounters): turn into a free standing
211 function and add a buffer parameter. Remove dead code for tracking
213 (setCounter): change into a free-standing function which gets a
214 dociterator as argument. Use this iterator to fix captions in a
215 simple way. When no float is found above the caption, use the
216 labelstring of the caption layout as default.
218 * text.C (breakParagraph, backspace):
219 * text2.C (init, setLayout, changeDepth):
220 * text3.C (dispatch):
221 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
224 * dociterator.C (forwardPar): make it much faster by calling
225 forwardPos() only when really necessary.
227 * output_docbook.C (makeCommand): adapt to expandLabel move.
229 * cursor.C: remove unused variable
231 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
233 * paragraph_funcs.C: fix crash when pasting insets in change
234 tracking mode [bug 1277] (honour change type in moveItem).
236 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
238 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
240 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * BufferView.C (setCursor): change to use a DocIterator.
243 (gotoLabel): use BufferView::setCursor (other part of bug 781).
244 (putSelectionAt): adapt to BufferView::setCursor change.
246 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
247 moved here from LyXText and rewritten to use proper cursor
248 methods. Fixes bug 1787, 616 and 835.
250 * BufferView_pimpl.C (restorePosition): set the cursor correctly
251 when inside an inset (part of bug 781).
252 (dispatch): adapt to change of BufferView::setCursor.
253 (getStatus, dispatch): handle LFUN_GOTOERROR,
254 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
256 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
257 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
258 * text3.C (gotoNextInset, gotoInset): removed.
260 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
264 2005-02-15 Angus Leeming <leeming@lyx.org>
266 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
267 can be used meaningfully in a comparison.
269 2005-02-13 André Pönitz <poenitz@gmx.net>
271 * bufferview_funcs.C (coordOffset): improve cursor drawing
273 2005-02-13 André Pönitz <poenitz@gmx.net>
275 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
276 * Cursor.C (dispatch): use fixIfBroken
277 * lyxfunc.C (getStatus): use fixIfBroken
279 2005-02-15 Angus Leeming <leeming@lyx.org>
281 * lyx_main.C (error_handler):
283 * lyxrc.C (setDefaults):
285 #include "environment.h".
287 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
289 2005-02-15 Angus Leeming <leeming@lyx.org>
291 * lyxserver.C (startPipe): squash MSVC warning "local variable
292 'fd' used without having been initialized".
294 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * BufferView_pimpl.C: revert accidental commit.
298 2005-02-14 André Pönitz <poenitz@gmx.net>
300 * dociterator.[Ch]: new member forwardPosNoDescent(),
301 which doesn't enter nested insets.
302 * text2.C (setFont): use forwardPosNoDescent() instead
303 of ForwardPos() (fixes crash on font change).
305 2005-02-13 Angus Leeming <leeming@lyx.org>
307 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
308 only if lyxrc.path_prefix is not empty.
310 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * bufferparams.C (readGraphicsDriver): prevent crash
314 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
316 * text2.C (setCounter): check for inInset() == 0
318 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
321 but use update() to get correct screen display; use convert
322 instead of istringstream.
323 (getStatus): handle LFUN_GOTO_PARAGRAPH
325 * lyxfunc.C (dispatch, getStatus): do not handle
326 LFUN_GOTO_PARAGRAPH here.
328 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
330 * text3.C (dispatch): size() -> depth()
332 * text2.C: remove some debug output
334 * paragraph.C: ws changes only
336 * lyxfunc.C (getStatus): size() -> depth()
338 * dociterator.h (clear, push_back, pop_back, internalData,
339 operator[], resize, empty): new functions
340 Make StableDocIterator and operator== be friends. Don't inherit
341 from std::vector use a privat class variable slices_ instead.
344 * dociterator.C: update because of not inheriting from std::vector
345 anymore. Call explictly to slices_ instead. Use depth() instead of
346 size() and top() instead of back()
348 * cursor.C: chagne size() -> depth and back() -> top(). Also
349 remove some direct operator[](i) calls in favour of foo[i]
350 (getFont): remove some dead code
352 * bufferview_funcs.C (coordOffset): size() -> depth()
354 * buffer.C: ws changes only
356 * CutAndPaste.C (eraseSelection): back() -> top()
358 * BufferView_pimpl.C (selectionRequested): back() -> top()
360 * BufferView.C (setCursor): size() -> depth()
362 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
364 * text3.C (cursorPrevious): return true if depm changed something
366 (dispatch): rename sl to oldTopSlice, remove moving use the new
367 NoUpdate func attrib instead. Make sure that needsUpdate is set
368 for function that have NoUpdate, but where depm might have changed
371 * text2.C (cursorLeft): make us return true if depm changed
374 (cursorUpParagraph): ditto
375 (curosrDownParagraph): ditto
376 (cursorUp, cursorDown): ditto, make sure to read comments in code
377 (deleteEmptyParagraphMechanism): remove an assert, also return
378 true if just a single char was deleted.
380 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
381 cursor that we modify, to avoid modifying an active cursor before
382 we call setCursor. This allows depm to run. Also return true if
383 depm deleted something.
385 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
386 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
387 cursorDownParagraph, cursorPrevious and cursorNext, return true if
388 something was changed in the buffer because of them (ie. depm run)
390 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
391 debug messages. Make update by default be false. Make sure that
392 the result of update is retained throught several calls down to
395 * LyXAction.h: add a new func_attrib: NoUpdate
397 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
398 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
399 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
401 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
403 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
406 bv_->owner(), bv_->buffer() by direct references to the private
408 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
409 (getStatus): isSavedPosition() is in BufferView::Pimpl.
410 (fitCursor): center() is in BufferView::Pimpl.
411 (getStatus, trackChanges, dispatch): no need for a temporary buf
413 (fitCursor, workAreaDispatch): use workarea().workheight()
415 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
417 * CutAndPaste.C (pasteSelectionHelper): fix a crash
419 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
421 * buffer.C: format up to 241.
422 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
423 break if pasting into ERT
424 * lyxfunc.C (getStatus): suppress mathpanel and
425 LFUN_DIALOG_SHOW_NEW_INSET in ERT
427 2005-02-01 Angus Leeming <leeming@lyx.org>
429 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
431 2005-02-01 Angus Leeming <leeming@lyx.org>
433 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
434 calling fs::is_directory().
436 2005-01-31 Angus Leeming <leeming@lyx.org>
438 * lyx_main.C (priv_exec): specify explicitly the relative location
439 of the top level build directory when run in-place.
441 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
444 LyXText containing the cursor, not the top-level one.
446 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
448 (insertStringAsLines): rename par to pit; use temporary variable
449 par to hold a Paragraph; do not store par.layout() in a variable,
450 since the pointer may die when breaking paragraphs; pass pars to
451 breakParagraph() instead of Buffer::paragraphs().
453 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
455 * lyxlex_pimpl.h: #include <fstream>.
457 * BufferView.[Ch] (getLyXText): add a const version.
459 * BufferView_pimpl.C: add debug aids.
464 * paragraph_funcs.h: add commentary explaining what the class does.
467 * coordcache.[Ch]: add lots of commentary.
468 (startUpdating, doneUpdating): debug aids.
469 (arrays, insets, parPos, getParPos): accessors to private data.
471 * cursor_slice.[Ch] (text): add a const version.
472 * dociterator.[Ch] (text, innerText): add const versions.
474 * lyxtext.h (breakParagraph): change the keep_layout arg to a
477 * paragraph.C (getRow, pos2ros): add asserts.
479 * paragraph.h: add commentary. Lots of.
481 * paragraph.[Ch] (metrucs, draw): removed.
484 * rowpainter.[Ch]: const-correct changes.
486 * text.C: various obvious clean-ups. Removal of ancient cruft.
489 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
491 * vc-backend.C (find_file): rewrite to use boost.filesystem
494 * main.C (main): set default name check for boost.filesystem to
497 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
500 (actOnUpdatedPrefs): ditto
502 * lyx_main.C (init): rewrite to use boost.filesystem
503 (queryUserLyXDir): ditto
505 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
506 (getContentsOfAsciiFile): ditto
508 * lastfiles.C (readFile): rewrite to use boost.filesystem
510 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
512 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
515 * buffer.C (Buffer): adjust for destroydir
516 (getLogName): rewrite to use boost.filesystem
518 (save): use fs::copy_file (from fs_extras)
520 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
522 * LaTeX.C (run): rewrite to use boost.filesystem
523 (scanAuxFiles): ditto
524 (handleFoundFile): ditto
526 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
528 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
530 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
532 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
534 * lyxlayout.[Ch]: change some vars from float to double
536 * buffer.C (readFile): make a local var const
538 * Several files: use convert<> instead of atoi,strToXXX and friends
540 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
542 * LaTeXFeatures.[Ch]: Add a static list packages_ that
543 holds the contents of packages.lst. New functions getAvailable
544 and isAvailable to parse and check that list, resp.
548 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
550 * bufferparams.[Ch]: new param output_changes.
552 * Buffer.C: increase file format to 240.
553 Use output_changes and isVailable.
557 * paragraph_pimpl.C: Use output_changes and isVailable.
559 2005-01-23 Angus Leeming <leeming@lyx.org>
561 * output_latex.C: #include "insetbibitem.h", rather than
562 forward declare function bibitemWidest.
564 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
566 * lyx_main.C (init): make it compile on the Mac.
568 2005-01-20 Angus Leeming <leeming@lyx.org>
570 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
571 (setLyXMisc): (char string literal) != (char string literal) is
572 performing a comparison on the addresses. Convert one operand
573 explicitly to string to guarantee expected behaviour.
576 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
579 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
581 * output_plaintext.C: remove unneeded #include gzstream.h.
583 2005-01-20 Angus Leeming <leeming@lyx.org>
585 * SpellBase.h: rename some of the elements of the Result enum.
592 * pspell.C (check): ditto
594 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
596 * buffer.C: add #include <fstream>.
598 * lyx_main.C (init): Compile fix.
600 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
602 2005-01-20 Angus Leeming <leeming@lyx.org>
604 * mover.h: change commentary to reflect the changed meaning of
607 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * output_linuxdoc.C (linuxdocParagraphs): silence warning
611 * lyxfind.C (MatchString::operator()): remove bogus semicolon
613 2005-01-20 Angus Leeming <leeming@lyx.org>
615 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
616 printing diagnostic data by not dereferecing an iterator past the
619 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
621 * buffer.C (readHeader): use "&&" rather than "and".
623 * lyxserver.h (inPipeName, outPipeName): make these const.
625 2005-01-19 Angus Leeming <leeming@lyx.org>
627 * lyx_main.C (error_handler, init): protect SIGHUP with
628 #ifdef SIGHUP guards.
630 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
634 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * text.C (setHeightOfRow): add a margin at the top and bottom of
637 the document (bug 1761)
639 2005-01-17 Angus Leeming <leeming@lyx.org>
641 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
642 with "python ". Workaround for a brain-dead Windows.
644 2005-01-16 Angus Leeming <leeming@lyx.org>
646 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
647 for MacOSX and Windows to use prependEnvPath.
648 Strip out the hard-coded block to add elements to the PATH for
649 MacOSX and replace it with a call to prependEnvPath using the
650 contents of LyXRC::path_prefix.
651 (queryUserLyXDir): strip out the code to run reconfigure, instead
652 returning a boolean indicating the necessity to do so.
653 (reconfigureUserLyXDir): contains the code to reconfigure the
654 user support directory. Is now called after the various LyXRC data
655 files have been read.
657 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
659 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
661 * converter.[Ch] (convert): take a new parameter try_default. Use
662 a default converter (imagemagick) if try_default is true.
664 2005-01-13 Angus Leeming <leeming@lyx.org>
666 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
668 (write): output LyXRC::cygwin_path_fix as necessary.
670 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
673 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
675 2005-01-12 Angus Leeming <leeming@lyx.org>
677 * lyx_main.C (init): set the PATH variable to include the
678 directory containing the LyX binary when running on Mac or Windows.
680 2005-01-12 Angus Leeming <leeming@lyx.org>
682 * lyx_main.C (init): remove cruft that purports to set the locale
683 dir. It doesn't and is not needed anyway.
685 2005-01-10 Angus Leeming <leeming@lyx.org>
687 * Makefile.am: remove the lyx_main.C special casing.
689 * BufferView_pimpl.C:
695 * messages.C: use support/package.h to provide the paths to the
696 various directories used by LyX.
698 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
700 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
701 layout if pasting into an empty paragraph)
703 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
705 * tex-accent.C: add <string>
707 2005-01-06 José Matos <jamatos@lyx.org>
709 * ParagraphParameters.C (write): put every parameter in its own line.
710 * paragraph.C (write): reduce number of consecutive empty lines exported.
711 * buffer.C (LYX_FORMAT): increase file format to 239.
713 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
715 * everywhere: change support/tostr.h -> support/convert.h
717 * tabular.C: make all write_attributes templates, tostr -> convert
719 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
720 (emptyTag): and -> &&, and fix type for ret from getChar
721 (getFirstWord): fix type for ret from getChar
722 (onlyText): and -> &&
723 (simpleDocBookOnePar): and not -> && !, fix type for ret from
726 * toc.C (goTo, action):
727 * text3.C (dispatch):
728 * text.C (currentState):
729 * tex-accent.C (DoAccent):
732 * lyxfunc.C (menuNew):
733 * lyxfinc.C (replace):
734 * counters.C (laberItem):
735 * bufferview_funcs.C (font2string):
736 * bufferparams.C (writeFile):
737 * buffer.C (readFile):
739 * MenuBackend.C: tostr -> convert
741 * LaTeX.C (runMessage): fix format
742 (scanAuxFiles): tostr -> convert
744 * BufferView_pimpl.C (savePosition): fix format
745 (restorePosition): ditto
748 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
750 * Spacing.[Ch]: New method getValueAsString().
754 * ParagraphParameters.C:
757 * text3.C: store/read spacing value as string.
759 * rowpainter.C: change float value (spacing_val) to double.
761 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
762 broken custom document spacing).
764 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
766 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
767 namespace, also more use of temp references and const
769 * cursor.[Ch] (getStatus): move to lyxfunc.C
771 * bufferparams.C: reformat slightly
773 * bufferview_funcs.C (font2string): constify arg
779 * buffer_funcs.C: (many funcs): constify arg on function
780 definitions, also make more local vars const, also add ASSERTS on
783 * buffer.C (LYX_FORMAT): put const in correct place
784 (many funcs): constify arg on function definitions, also make
785 more local vars const
787 * aspell_local.h: remove "struct" from typdef setup
789 * aspell.C (check): make word_ok const
790 (nextMiss): simplify slightly
793 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
795 * lyxrc.[Ch]: store all float values as strings.
796 use int (not float) for lyxrc.dpi.
798 2005-01-04 Angus Leeming <leeming@lyx.org>
800 * lyx_cb.C (Reconfigure):
801 * lyx_main.C (queryUserLyXDir):
802 to run the <system_lyxdir>/configure correctly on Windows, prefix
803 the path to the script with "sh " when generating the string that
804 is passed to system().
806 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
808 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
810 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
812 * lyxlength.C (asLatexString): get rid of setprecision
814 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
816 * text2.C (setLayout): remove unused variable endpit.
817 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
819 * paragraph.C (onlyText): remove unused variable style.
821 * cursor.C (bruteFind): remove unused variables beg and end.
823 * Makefile.am (dist_noinset_DATA): not needed anymore
825 * cheaders/*: remove.
827 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
829 * text3.C: fix LFUN_MATH_MODE.
831 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * buffer_funcs.C (countWords): new function. Counts words between
836 * BufferView_pimpl.C (getStatus, dispatch): handle
839 * LyXAction.C (init):
840 * lfuns.h: add LFUN_WORDS_COUNT.
842 2004-12-19 Angus Leeming <leeming@lyx.org>
844 * buffer.C (save): s/slashify_path/internal_path/.
846 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
848 * lyxfind.C (findChange): do not search for end of pars, because
849 the change tracker cannot handle this (fixes bug 1719).
851 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
853 * paragraph.[Ch] (autoBreakRows): remove
855 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
857 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
858 avoid using the paragraph one
860 * text2.C (LyXText, insertStringAsLines): adjust
862 2004-12-16 Angus Leeming <leeming@lyx.org>
866 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
868 2004-12-14 Angus Leeming <leeming@lyx.org>
870 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
872 * bufferlist.C (emergencyWrite):
873 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
876 2004-12-14 Angus Leeming <leeming@lyx.org>
878 * main.C: (main): no longer pass pointers to os::init.
880 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
882 * undo.C (textUndoOrRedo): simplify logic, fix a crash
883 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
885 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
888 * text3.C: remove selection_possible global flag
890 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
892 * text2.C (getSelectionSpan): remove
893 (changeDepth, changeDepthAllowed): adjust
895 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
897 * Makefile.am (BOOST_LIBS): use boost variables
899 2004-12-03 José Matos <jamatos@lyx.org>
901 * buffer.C: format up to 238.
903 2004-12-03 José Matos <jamatos@lyx.org>
905 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
907 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
909 * cursor.C (goUpDown): remove call to idxUpDown2
911 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
913 * tabular.[Ch]: use size_t-like types for cell, row and column
916 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
918 * lyxfunc.C (getStatus): do not lose previous information when
919 calling BufferView::getStatus; do not set a default "Command
920 disabled" message at the beginning, but just before returning.
922 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
924 * cursor.h (getStatus): add better comment from src/cursor.C
926 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * text3.C (getStatus): return false when the lfun is not handled
930 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
932 * broken_headers.h: remove
934 * Makefile.am (lyx_SOURCES): remove broken_headers.h
936 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
938 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
941 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
942 top_y_, merge fitcursor with update
943 (updateScrollbar, scrollDocView, fitCursor, center, update): new
946 (workAreaDispatch): adapt to new coord scheme
947 (redoCurrentBuffer): remove
949 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
951 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
954 * coordcache.[Ch]: add paragraph cache and helpers
956 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
959 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
960 (targetX, setTargetX): introduce
962 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
963 baseline -> ascent, as the rest of lyx
965 * lyxtext.h: remove redoParagraphs, updateParPositions,
966 fullRebreak, redoParagraphInternal. move dist to anon namespace in
967 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
968 have ascent/descent (ascent is ascent of first par)
970 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
973 * paragraph.[Ch]: unify dimension handling with the rest of lyx
975 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
977 * pariterator.C: fix infinite loop introduced in par->pit renaming
979 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
980 in insets and LyXText, draw two off-screen paragraphs using
981 NullPainter, and adapt to new coord scheme
985 * text3.C: adapt lfun handlers to the new coord scheme, which
986 means: there's only guaranteed coord information for onscreen pars
987 plus one above and one below. This implies that one can do search
988 from y coordinates in the range [-1,workHeight]
990 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
992 * rename a lot of InsetOld to InsetBase
994 2004-11-25 Angus Leeming <leeming@lyx.org>
996 * BufferView_pimpl.C:
998 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1000 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1002 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1003 call BufferView::getStatus if LCursor::getStatus did nothing
1004 (setStatusMessage, getStatusMessage): removed.
1006 * FuncStatus.C (message): new methods. Used to provide an error
1007 message indicating why a command is disabled.
1008 (clear, |=, FuncStatus): update for message.
1010 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1012 * lyxfunc.C (dispatch): always call sendDispatchMessage
1014 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1017 * BufferView_pimpl.C:
1022 * cursor_slice.[Ch]:
1025 * paragraph_funcs.C:
1031 * undo.C: par->pit renaming
1033 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1035 * tabular.C (cellstruct): use initialization, store a shared_ptr
1036 to insettext instead of the insettext directly, adjust to fit.
1037 (operator=): new function
1038 (swap): new function
1039 (rowstruct): use initialization
1040 (columnstruct): use initialization
1041 (ltType): use initialization
1044 * lyxlength.h (swap): new function
1046 * LColor.[Ch] (operator=): use the common semantics
1048 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1050 * lyxfind.C (findNextChange): update the bufferview after setting
1053 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1056 number of InsetOptArgs has already been inserted.
1058 * output_latex.C (latexOptArgInsets): new method. This outputs all
1059 the optarg insets, up to the limit defined in the layout file.
1060 (optArgInset): removed
1061 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1063 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * paragraph.C (isLetter): remove special spellchecker-related
1066 code; return true also for digits
1067 (isWord, isKomma): remove
1069 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1070 * lyxfind.C (MatchString()): use isLetter instead of isWord
1072 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1074 * pariterator.h (operatir=): comment out un-implemented member
1077 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1080 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1082 * lyxfont.h: include LColor.h to satisfy concept checks.
1084 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1086 * pariterator.h: add typdefs for value_type, difference_type,
1087 pointer and reference to satisfy concept checks. Also add default
1088 constructor for same reason.
1090 * pariterator.C (operator++): add post-increment operator to
1091 satisfy concept checks.
1093 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1096 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1098 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1099 checks. Also rename base_type to BaseType to follow naming
1102 * FloatList.h: include Floating.h to satisfy concept checks.
1104 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * lyxfunc.C (getStatus): when the origin of the request is menu or
1107 toolbar, and the LyXView does not have focus, do as if there was
1108 no buffer (bug 1720)
1110 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1111 FuncRequest to individual entries of LFUN_SEQUENCE
1113 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1115 * output_latex.C (TeXOnePar): override runparams.moving_arg
1116 according to the needprotect value of the current paragraph (bug
1119 * paragraph.C (simpleTeXOnePar): no need to override
1120 runparams.moving_args here
1122 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1124 * vspace.C: fix off-by-one-error, related to fix #1682
1126 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1128 * lengthcommon.C: a more general fix for bug 1682
1130 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1132 * text.C (backspace): fix crash
1134 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1136 * format.[Ch] (getFormatFromFile): new method
1137 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1139 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1143 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * lyxfunc.C (dispatch): remove the verbose argument
1146 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1149 * kbmap.C (defkey): set the origin of func to KEYBOARD
1151 * MenuBackend.C (MenuItem):
1152 * ToolbarBackend.C (add): set the origin of func to UI
1154 * funcrequest.[Ch]: add origin member, which indicates which part
1155 of LyX requests an action
1157 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1159 * converter.C (move): don't lie in the error message
1160 * converter.h (isReachable, move): document
1162 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1164 * buffer.C: remove unused using lyx::support::atoi
1165 * paragraph_funcs.C: ditto
1167 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1169 * bufferlist.C (exists): use bind and equal_to instead of
1172 * lyxtextclasslist.C (NumberOfClass): ditto
1174 * cursor.C (insert): use for_each instead of explicit for loop
1176 * bufferlist.C (getFileNames): use std::transform and
1177 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1179 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1182 * buffer.C (changeLanguage): use for_each instead of explicit for
1184 (hasParWithID): implement using getParFromID
1186 * LaTeXFeatures.C: ws change only
1188 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1191 * BufferView_pimpl.C (trackChanges): use for_each instead of
1194 2004-11-04 André Pönitz <poenitz@gmx.net>
1197 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1199 * dociterator.C (asDocIterator): use hard assert again.
1201 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1203 * lyxlength.C (asLatexString): rewrite so that it does not use
1206 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * text3.C (specialChar, dispatch): make sure cursor moves to the
1209 right after inserting an inset
1211 2004-11-02 José Matos <jamatos@lyx.org>
1213 * output_docbook.C (docbook):
1214 * paragraph.C (getID):
1215 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1216 garantee that the output is always legal.
1218 * tabular.C (docbook):
1219 * outputprams.[Ch]: remove mixed contents.
1221 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1223 * text2.C (setCounter): prevent endless loop
1225 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1227 * exporter.C (copyFile): use the mover instead of support::copy()
1228 * exporter.C (Export): pass format and latex name to copyFile()
1229 * exporter.h (addExternalFile): document
1230 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1232 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1234 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1236 2004-10-30 José Matos <jamatos@lyx.org>
1238 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1239 text and no inset or font change. This allows to use CDATA
1240 sections just for the whole paragraph.
1242 2004-10-30 José Matos <jamatos@lyx.org>
1244 * paragraph.C (getFirstWord): remove unused variable.
1246 2004-10-30 José Matos <jamatos@lyx.org>
1248 * paragraph.C (getFirstWord): the content should always be escaped
1250 (simpleDocBookOnePar):
1251 * output_docbook.C (makeEnvironment): replace reference to CDATA
1254 2004-10-30 José Matos <jamatos@lyx.org>
1256 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1258 2004-10-30 José Matos <jamatos@lyx.org>
1260 * output_docbook.C (makeParagraphs):
1261 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1262 standard paragraph has only a given type of content drop the wrapper.
1264 2004-10-29 José Matos <jamatos@lyx.org>
1266 * output_docbook.C (makeEnvironment):
1268 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1270 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1272 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1273 (cleanID): sanitize any id.
1275 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1277 * buffer.C, lyxlex_pimpl.C:
1278 * lyxlex_pimpl.C (setFile):
1279 s/getExtFromContents/getFormatFromContents/
1281 2004-10-28 José Matos <jamatos@lyx.org>
1283 * output_docbook.C (makeEnvironment): move id to broadest possible
1286 * sgml.C (openTag): apply substitution of <> for all attributes.
1288 2004-10-28 José Matos <jamatos@lyx.org>
1290 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1291 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1292 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1294 * sgml.[Ch]: new version for open and closeTag for paragraph and
1295 for strings. Now they handle the ids of paragraphs.
1297 2004-10-26 Angus Leeming <leeming@lyx.org>
1299 * Makefile.am: add mover.[Ch].
1301 * converter.C (convert, move): use the new Movers to move external
1302 files to the temp directory.
1304 * lyx_main.C (init): ensure that the global system_movers data
1307 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1310 * mover.[Ch]: new files, defining a Mover as a utility to move an
1311 external file between directories and, if necessary, manipulate this
1312 file using a helper script.
1314 2004-10-25 José Matos <jamatos@lyx.org>
1316 * output_docbook.C (makeCommand): merge two if's that tested the
1319 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1321 * sgml.C (escapeString): fix warning in a better way
1323 2004-10-25 José Matos <jamatos@lyx.org>
1325 * sgml.C (escapeString): import the require boosts header file for
1326 tie, and avoid a signed unsigned comparison.
1328 2004-10-25 José Matos <jamatos@lyx.org>
1330 * sgml.h: add #include <string>
1332 2004-10-25 José Matos <jamatos@lyx.org>
1334 * sgml.[Ch] (escapeString): new function to escape all the string.
1336 2004-10-24 José Matos <jamatos@lyx.org>
1338 * paragraph.[Ch] (getFirstWord): new function to get the first
1339 word. Useful for description.
1340 (simpleDocBookOnePar): remove depth argument, add another that
1341 says where to start the paragraph.
1343 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1344 use the new functions to fix cleanly the support for descriptions.
1346 2004-10-24 José Matos <jamatos@lyx.org>
1348 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1349 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1350 * output_linuxdoc.C (linuxdocParagraphs):
1351 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1352 add buffer as argument.
1354 2004-10-24 José Matos <jamatos@lyx.org>
1356 * output_docbook.C (makeEnvironment, searchEnvironment): place
1357 CDATA inside paragraphs and fix scope for listitems.
1359 2004-10-24 José Matos <jamatos@lyx.org>
1361 * output_docbook.C: remove using statement for stack.
1363 2004-10-23 José Matos <jamatos@lyx.org>
1365 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1366 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1367 docbook. The new scheme is recursive and makes use of iterators, the
1368 same as latex export works.
1369 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1370 directly with the paragraph contents. This code was moved up to
1371 output_docbook.C (docbookParagraphs).
1372 * sgml.C (openTag, closeTag): removed unneeded newlines.
1373 (closeEnvTags) removed.
1375 2004-10-23 André Pönitz <poenitz@gmx.net>
1377 * undo.C (textUndoOrRedo):
1378 * dociterator.C (asDocIterator): work around crash
1380 * cursor.C (getStatus): replace ASSERT by more verbose error message
1381 and manual correction of the problem. Should increase stability
1382 while providing more sensible information.
1384 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1386 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1388 * bufferlist.C (previous, next): new methods
1391 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1393 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1395 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1396 entities to preamble.
1398 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1400 * messages.C (Pimpl): strip off translation context information
1402 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1404 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1405 the cursor is correct (bug 1694)
1407 2004-10-13 José Matos <jamatos@lyx.org>
1409 * output_docbook.C (docbookParagraphs): fix closing tags in the
1410 end of the document.
1412 2004-10-09 José Matos <jamatos@lyx.org>
1414 * buffer.C: format up to 237.
1415 * bufferparams.C (write): use tostr to convert booleans to strings.
1417 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1419 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1421 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1423 * LaTeX.C: implement use of babel language in xindy.
1425 2004-10-05 José Matos <jamatos@lyx.org>
1427 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1428 Add new translators to help reading and writing the lyx file.
1430 2004-10-05 José Matos <jamatos@lyx.org>
1432 * ParagraphParameters.C (read):
1433 * text.C (readParToken): replace nexToken by more appropriate lex
1436 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1438 * LaTeX.C (runMakeIndex):
1439 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1440 (usually 'makeindex') configurable.
1442 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1443 with a variable rather than with a number.
1445 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1447 * output_latex.C (TeXOnePar): make sure font setting is the first
1448 thing that gets output (and the last at the end). Should fix bug
1451 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1453 * pch.h: use proper signal include
1455 * LaTeX.h: Use preferred calling of Boost.Signal
1458 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1460 * pch.h: dont include <boost/function/function0.hpp>
1462 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1464 * paragraph_pimpl.h: remove usage of ShareContainer
1466 * paragraph_pimpl.C: remove initialization of ShareContainer.
1468 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * BufferView.C (putSelectionAt): change the semantics when
1473 backwards == true: now, this just swaps cursor and anchor wrt the
1476 * BufferView.h (putSelectionAt): add some documentation
1478 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1479 make sure backwardChar is done at least once (to avoid getting
1481 (findNextChange): use putSelectionAt in the forward direction
1482 (operator()): use Paragraph::isWord
1484 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1486 * Spacing.C (set): c_str fix
1488 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * lyx_cb.C (Reconfigure): quote the name of configure script in
1491 case it contains spaces
1493 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1497 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1498 (BOOST_LIBS): use top_buildir when looking for the file
1500 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1502 * pch.h: do not use include boost/format.hpp, multiple symbols
1503 will result (gcc bug)
1506 2004-08-23 José Matos <jamatos@lyx.org>
1508 * bufferparams.C (readToken): fix reading of the author field.
1510 2004-08-20 José Matos <jamatos@lyx.org>
1512 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1514 2004-08-20 José Matos <jamatos@lyx.org>
1516 * lyxlex.[Ch] (findToken): remove function.
1518 * ParagraphParameters.C (findToken):
1519 * bufferparams.C (findToken): replace call for previous function
1520 with local copy. This local function has one more argument, the
1521 read string argument.
1523 2004-08-16 José Matos <jamatos@lyx.org>
1525 * ParagraphParameters.C (write):
1526 * Spacing.C (writeFile):
1527 * bufferparams.C (writeLaTeX):
1528 * lyx_cb.C (Reconfigure):
1529 * paragraph.C (write):
1530 * tabular.C (write): remove unnecessary space at end of line.
1533 2004-08-16 José Matos <jamatos@lyx.org>
1535 * text.C (readParagraph): remove debug message.
1537 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1539 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1542 * output_plaintext.C (asciiParagraph): set depth correctly
1544 * outputparams.h: add member depth
1546 * paragraph_funcs.C (ownerPar): remove.
1548 * text2.C (setCounter): remove first_pit; comment out some
1549 non-working code that uses ownerPar
1551 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1554 2004-08-16 José Matos <jamatos@lyx.org>
1556 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1557 For the same level of importance use the same chanel to report problems.
1558 (read): add code to deal with \begin_body and \end_body.
1561 2004-08-15 José Matos <jamatos@lyx.org>
1563 * lyxlex.C (getString): fix comment, buffer::readBody is now
1564 buffer:readDocument.
1566 * tex-strings.C (string_papersize): Default -> default,
1567 Custom -> custom, for consistency with other options.
1569 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1573 * Makefile.am: support pch
1575 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1577 * text.C (readParToken): remove the static LyXFont variable and
1578 pass it as a parameter instead. This fixes a nasty bug where an
1579 inset will be inserted with a bad font in some situations
1580 (readParagraph): adapt
1582 * text2.C (setCounter): reduce number of calls to pars_[pit]
1584 * text.C (singleWidth): add an assert, fix a test
1586 * rowpainter.C (paintText): reduce number of calls to singleWidth
1588 * paragraph.C (isHfill):
1589 (isNewline): ws only
1591 2004-08-14 André Pönitz <poenitz@gmx.net>
1596 * lyxtext.h (several functions): use a Paragraph & argument
1599 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1603 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1605 * text.C (singleWidth): remove useless test
1607 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1609 * tabular.h: remove bogus comments
1611 * tabular.C (getDescentOfRow):
1612 (isPartOfMultiColumn): add assertions
1614 * lyxlength.C (inPixels): remove #warning
1616 2004-08-14 André Pönitz <poenitz@gmx.net>
1618 * paragraph.h: inline getChar()
1620 * BufferView.h: remove unused declarations
1622 2004-08-14 José Matos <jamatos@lyx.org>
1624 * Buffer.[Ch] (readDocument): new name for old readBody.
1625 * Buffer.C: new file format, new keywords: \begin_document,
1626 \begin_header, \begin_body, \end_body.
1628 * bufferparams.C (readToken): replace all calls to lex.nextToken
1629 by lex.next(). Do the same to eatLine except where really needed.
1631 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1632 line when writing to the lyx file.
1634 * output_plaintext.C (asciiParagraph): fix Bibliography style
1637 * text.C (read): fix end of file handling.
1639 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1641 * MenuBackend.C (Menu::operator[]): new method to access
1642 individual menu items
1643 (Menu::hasFunc): new method. search for an item that corresponds
1645 (MenuBackend::specialMenu): new method
1646 (MenuBackend::expand): if a special menu has been set, skip
1647 entries whose func() appears in this menu
1649 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1651 * text3.C: use Debug::DEBUG a bit more
1653 * text.C (leftMargin): try to simplify a tiny bit change var x to
1654 l_margin. Dont output the wide margins always.
1655 (rightMargin): no margin in inner texts
1657 * rowpainter.h (nestMargin): new func
1658 (changebarMargin): new func
1659 (rightMargin): new func
1661 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1665 * factory.C (createInset): modify setDrawFrame
1667 * cursor.C: use Debug::DEBUG a bit more
1669 2004-08-14 André Pönitz <poenitz@gmx.net>
1672 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1673 cache for all insets in (at least partially) visible (top-level)
1676 * BufferView_pimpl.C: reset external coord cache before every update.
1677 This means the coord cache only contains valid entries.
1679 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1682 * BufferView_pimpl.C (getInsetByCode): move function out of class
1683 and change in to a template in anon namespace. Also fix to do what
1686 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1689 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1691 (breakParagraph): rename par to par_offset and use a local
1692 reference. Add code to keep the language over a rebreak.
1693 (breakParagraphConservative): rename par to par_offset, use a
1695 (mergeParagraph): ditto
1697 (isFirstInSequence): ditto
1698 (outerFont): rename pit to par_offset
1700 * paragraph.C: ws change
1701 * paragraph.h: ditto
1705 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1710 * paragraph.C (simpleTeXOnePar): when we have a \item with
1711 optional argument, enclose the argument with curly brackets (in
1712 case it contains a closing square bracket)
1716 * text3.C (checkInsetHit): constify
1718 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1720 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1721 documents (bug 1629)
1723 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1725 Fix toggling of collapsable insets with the mouse (bug 1558)
1727 * lyxfunc.C (dispatch): adapt to LCursor changes
1729 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1730 make sure that dispatch is not invoked twice
1732 * cursor.C (needsUpdate): new method
1733 (dispatch): return void
1734 (result): new method, to access the DispatchResult of the cursor.
1736 2004-08-13 José Matos <jamatos@lyx.org>
1738 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1740 2004-08-13 André Pönitz <poenitz@gmx.net>
1742 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1744 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1747 2004-08-12 André Pönitz <poenitz@gmx.net>
1749 * text3.C: take out the 'cursor right' form insertInset and only
1750 do it in those places when it is really needed. Fixes crash on
1753 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1755 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1757 * BufferView_pimpl.C (setBuffer): initialize the current font of
1758 the underlying LyXText
1760 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1762 * kbsequence.C (print): use UI native formatting for menu
1765 * text.C (insertChar): call Paragraph::insertChar with a font
1768 * paragraph.C (insertInset, insertChar): the version that takes a
1769 LyXFont argument is now a wrapper around the other one (the
1770 opposite used to be true).
1772 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1773 argument. Font setting is done in Paragraph now.
1775 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1777 * outputparams.h: add new members intitle and lang.
1779 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1780 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1782 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1784 * text3.C (dispatch): remove special handling of button 4 and 5,
1785 it is now taken care of in the frontend code.
1787 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1789 * Spacing.h: add <string> (STLPort compile fix)
1791 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1793 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1795 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1797 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1800 * converter.C (showMessage): inherit from unary_function, make
1803 * buffer.C (writeFile): initialize retval
1805 * InsetList.h: rename private variable list to list_
1806 * InsetList.[Ch]: adjust accordingly.
1808 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1810 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1811 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1812 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1813 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1814 * ParagraphParameters.C, LaTeXFeatures.C: replace
1815 "support/std_sstream.h" with <sstream>
1817 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1819 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1820 * lyxsocket.C (LyXServerSocket): ditto
1821 (serverCallback): ditto
1823 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1825 * LaTeXFeatures.C: check release date when loading jurabib.
1827 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1829 * lyxserver.C (startPipe): call register_socket_callback
1830 (endPipe): call unregister_socket_callback
1832 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1834 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1835 (LyXServerSocket): register the callback
1836 (LyXServerSocket): unregister the callback
1837 (fd): delete function
1838 (serverCallback): improve error checking and setup the callbacks.
1839 (dataCallback): change arg to fd.
1840 (writeln): new func (copied fro the client socket) used for server
1842 (LyXDataSocket): simplify
1843 (~LyXDataSocket): close ann unregiser callback
1844 (server): delete function
1845 (fd): delete function
1846 (readln): small changes, improve some std::string usage
1847 (writeln): constify a bit
1849 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1851 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1854 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1856 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1857 after it has been populated
1859 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1861 * text2.C (insertInset): move cursor when inserting inset.
1863 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1865 * kbmap.C (findbindings): a couple of new methods. returns a
1866 container of kb_sequence objects. The real work is done by the
1867 private recursive version
1868 (printbindings): uses findbindings to print out a bracketed list
1869 of bindings (renamed from findbinding).
1871 * MenuBackend.C (binding): use kb_keymap::findbindings
1873 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1875 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1877 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1879 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1881 * paragraph.C (isWord): return true on insets that report
1884 * text.C (getWord): use Paragraph::isWord to decide what is in a
1885 word and what is not; fix bug 1609.
1887 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1889 * tex-strings.C: add "none" to string_paperpackages[], fixes
1890 off-by-one-error in the paperpackage selection.
1893 * tex-strings.[Ch]: char const * string[n]
1894 -> char const * const string[]
1896 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1899 command, return early.
1901 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1903 * debug.h: add DEBUG to enum and fix size of ANY.
1905 * debug.C: add support for Debug::DEBUG
1906 (showTags): cast errorTags.level to unsigned int
1908 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1909 (redoCurrentBuffer): ditto
1910 (updateScrollbar): ditto
1911 * cursor.C (dispatch): ditto
1912 * text2.C (setLayout): ditto
1914 (updateCounters): ditto
1916 (deleteEmptyParagraphMechanism): ditto
1918 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1920 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1921 annotations to cleanup the Makefile slightly.
1923 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1925 * lyxrc.C: do not set user_email to a default value but use empty
1926 instead. The entry used to be translated, which does not work
1927 since at the point where lyxrc is constructed there is no
1928 translation service available
1930 * messages.C (getLocaleDir): remove and use directly
1931 lyx_localedir() instead
1933 2004-06-02 Angus Leeming <leeming@lyx.org>
1935 Fix crash caused by dereferencing null pointer 'exportdata' in
1936 OutputParams by creating a new ExportData variable on the heap,
1937 storing it in a boost::shared_ptr.
1938 The crash was triggered when generating an Instant Preview
1939 of an external inset.
1941 * Makefile.am: add outputparams.C
1943 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1944 (c-tor): allocate memory to it.
1946 * exporter.C (c-tor): associated changes.
1948 2004-06-01 Angus Leeming <leeming@lyx.org>
1950 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1951 contains data before calling isInset(0). (Bug 1513.)
1953 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1955 * exporter.C (checkOverwrite): new method
1956 * exporter.C (copyFile): new method
1957 * exporter.C (Export): copy referenced files to the document dir
1958 * exporter.[Ch]: new class ExportedFile
1959 * exporter.[Ch]: new class ExportData. Contains currently the
1960 names of referenced external files
1961 * outputparams.h: add exportdata member.
1963 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1965 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1968 2004-05-19 Angus Leeming <leeming@lyx.org>
1973 * lyxfunc.C: small changes due to the introduction of namespace
1974 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1976 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1978 * text3.C (dispatch): supress update when only moving the cursor
1979 * cursor.C (selHandle): remove commented code
1981 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1983 * paragraph.C (startTeXParParams): correct column count
1984 * CutAndPaste.C (pasteSelection): remove const_cast
1985 * output_docbook.C (docbookParagraphs): remove const_cast
1986 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1987 const_cast and return ParagraphList::const_iterator
1988 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1989 * output_plaintext.C (writeFileAscii): remove const_cast
1990 * paragraph.[Ch] (simpleTeXOnePar): make const
1991 * paragraph_funcs.C (outerPar): use const iterators
1992 * paragraph_pimpl.C (validate): use const iterators
1993 * text.C (setHeightOfRow): use const iterators
1995 2004-05-17 Angus Leeming <leeming@lyx.org>
1998 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2000 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2001 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2002 if the citation engine has changed.
2004 2004-05-14 José Matos <jamatos@lyx.org>
2006 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2007 if the textclass does not provide it. Have it different for sgml and
2009 support the language of document.
2010 * output_docbook.C (docbookParagraphs):
2011 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2012 first anchor as the id of the paragraph, remove special case code.
2013 * sgml.C (escapeChar): escape only < & >.
2015 2004-05-14 Angus Leeming <leeming@lyx.org>
2017 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2018 dependencies on src/frontends/controllers/biblio.h. Define a
2019 CiteEngine_enum wrapper class to enable the enum to be forward
2022 2004-05-12 Angus Leeming <leeming@lyx.org>
2024 * buffer.C: up LYX_FORMAT to 234.
2025 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2026 use_numerical_citations with a single biblio::CiteEngine cite_engine
2028 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2030 2004-05-13 José Matos <jamatos@lyx.org>
2033 * converter.C (Converter, readFlags): add xml member.
2034 * outputparams.h: add XML flavor.
2035 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2037 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2039 * lyxfunc.C (dispatch):
2040 (getStatus): fix handling of LFUN_SEQUENCE
2042 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2044 * debug.C (showLevel): do not forget the end-of-line marker
2046 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * kbmap.C (read): do not stop parsing a bind file when an error
2051 2004-04-29 Angus Leeming <leeming@lyx.org>
2056 * text2.C: wrap a bunch of #warning statements
2057 inside #ifdef WITH_WARNINGS blocks.
2059 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2061 * buffer.C: increment format to 233.
2063 2004-04-28 Angus Leeming <leeming@lyx.org>
2065 * BufferView_pimpl.C:
2068 s/updateToolbar()/updateToolbars()/
2069 s/Toolbar.h/Toolbars.h/
2071 2004-04-28 Angus Leeming <leeming@lyx.org>
2073 * BufferView.[Ch] (c-tor):
2074 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2075 No longer passes these data to the WorkArea generator.
2077 2004-04-28 Angus Leeming <leeming@lyx.org>
2079 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2081 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2083 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2085 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * output_latex.C (TeXEnvironment): make sure that there is a line
2088 break before \end{foo} for the last paragraph of a document
2089 (TeXOnePar): if the paragraph is at the end of the document (or
2090 inset) and the language has to be reset, then make sure that the
2091 line break is _before_ the language command, not after (fixes bug
2092 1225); also make sure that the language reset command is the first
2093 thing after the paragraph (to ensure proper nesting of
2094 environments and thus fix bug 1404)
2096 2004-04-21 John Levon <levon@movementarian.org>
2099 * ToolbarBackend.C: make "name" be a programmatic name
2100 and a gui_name field.
2102 * lyxfunc.C: display the minibuffer on M-x
2104 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2109 2004-04-19 Angus Leeming <leeming@lyx.org>
2111 * BufferView_pimpl.C (setBuffer): changed preview interface.
2113 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2116 2004-04-19 John Levon <levon@movementarian.org>
2118 * BufferView_pimpl.C:
2119 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2121 2004-04-05 Angus Leeming <leeming@lyx.org>
2123 * text.C (redoParagraphs): add call to updateCounters(), thereby
2124 fixing the missing "Figure #:" label from the caption of a
2127 2004-04-13 Angus Leeming <leeming@lyx.org>
2129 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2130 cursor is clicked out of an inset.
2132 2004-04-13 Angus Leeming <leeming@lyx.org>
2134 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2135 than an InsetOld one.
2137 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2139 * format.[Ch]: add editor to Format
2140 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2141 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2143 2004-04-08 André Pönitz <poenitz@gmx.net>
2145 * metricsinfo.h: remove PainterInfo::width member
2147 2004-04-08 Angus Leeming <leeming@lyx.org>
2149 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2150 "\providecommand" rather than "\newcommand", thereby preventing
2151 clashes with packages that define "\boldsymbol" themselves.
2154 2004-04-08 Angus Leeming <leeming@lyx.org>
2156 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2157 thereby squashing an unnecessary warning.
2159 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2161 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2164 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2166 * BufferView.C (setCursor): call redoParagraph (some insets could
2168 (putSelectionAt): remove the 'double update' trick
2170 * BufferView_pimpl.C (fitCursor): call refreshPar
2171 (workAreaDispatch): remove an uneeded update call
2172 (dispatch): remove some manual update calls
2174 * cursor.[Ch]: remove cached_y_, updatePos
2175 (selHandle): set noUpdate when appropriate
2177 * lyxfunc.C (dispatch): track if we need an update
2179 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2181 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2182 (paintSelection): cheap optimization, do not call cursorX when not
2184 (paintPars): change signature
2187 (paintTextInset): adjust
2191 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2193 * lengthcommon.C: compilation fix: remove explicit array size from
2194 unit_name[] and friends
2196 2004-04-05 Angus Leeming <leeming@lyx.org>
2198 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2200 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2201 present only for the preferences dialog.
2202 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2204 2004-04-05 Angus Leeming <leeming@lyx.org>
2206 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2207 to enable the frontends to export changes to lyxrc correctly.
2209 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2211 2004-04-07 André Pönitz <poenitz@gmx.net>
2213 * cursor.[Ch] (selClear, adjust): remove math
2215 * cursor_slice.C: more agressive assert
2218 * BufferView_pimpl.C: rework mouse event dispatch
2225 2004-04-05 André Pönitz <poenitz@gmx.net>
2227 * cursor.[Ch] (valign, halign...): remove unneeded functions
2229 2004-04-05 Angus Leeming <leeming@lyx.org>
2231 * lyxlength.[Ch] (unit_name et al.): const-correct.
2233 2004-04-05 Angus Leeming <leeming@lyx.org>
2235 * BufferView_pimpl.C:
2244 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2246 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2248 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2250 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2252 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2253 * BufferView_pimpl.[Ch] (getStatus)
2254 * BufferView.[Ch] (getStatus): add
2255 * lyxfunc.C (getStatus): move lfuns handled in
2256 BufferView::dispatch to te function above
2257 * Cursor.C (setSelection): set selection() = true
2259 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2261 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2263 2004-03-31 Angus Leeming <leeming@lyx.org>
2265 * lyxfunc.C (dispatch): Fall through to the generic
2266 Dialogs::show("preamble").
2268 2004-03-31 Angus Leeming <leeming@lyx.org>
2270 * lyxfunc.C (dispatch): Fall through to the generic
2271 Dialogs::show("spellchecker").
2273 2004-03-31 Angus Leeming <leeming@lyx.org>
2275 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2278 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2283 * insetiterator.[Ch]:
2288 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2290 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2292 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2293 insets where we are putting the cursor.
2295 2004-03-31 Angus Leeming <leeming@lyx.org>
2298 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2300 * lyxrc.[Ch] (read, write): overloaded member functions taking
2301 a std::[io]stream arguments.
2303 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2305 2004-03-31 Angus Leeming <leeming@lyx.org>
2307 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2308 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2310 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2311 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2313 2004-03-31 Angus Leeming <leeming@lyx.org>
2315 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2316 the LFUN_ALL_INSETS_TOGGLE code.
2318 2004-03-30 Angus Leeming <leeming@lyx.org>
2320 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2321 has died. Fall through to the generic Dialogs::show("document").
2323 2004-03-30 Angus Leeming <leeming@lyx.org>
2326 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2327 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2329 * lyxfunc.C (getStatus, dispatch): define the actions for these
2330 lfuns. Little more than a cut and pste job from ControlDocument.C
2332 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2334 2004-03-30 Angus Leeming <leeming@lyx.org>
2337 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2338 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2340 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2341 open/closed state of ollapsable insets. Usage:
2343 all-inset-toggle <state> <name>, where
2344 <state> == "open" || "closed" || "toggle" and
2345 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2347 * lyxtext.h, text2.C (toggleInset): removed.
2349 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2350 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2351 now passes LFUN_INSET_TOGGLE to the found inset.
2353 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2354 is now invoked as "all-insets-toggle toggle branch".
2356 2004-03-30 Angus Leeming <leeming@lyx.org>
2360 * pariterator.[Ch]: added/corrected header blurb.
2362 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2364 * dociterator.[Ch]: add an inset_ member
2365 (backwardPos): implemented
2366 (backwardPos, forwardPos): use inset_ when the stack is empty.
2367 (doc_iterator_begin, doc_iterator_end): implemented
2368 * pariterator.[Ch]: adjust, add begin, end
2369 * insetiterator.[Ch]: adjust, add begin, end
2373 * BufferView_pimpl.C:
2374 * CutAndPaste.C: adjust
2376 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2378 * buffer.C: increment file format to 232.
2379 * LaTeXFeatures.C: add bibtopic package.
2380 * bufferparams.[Ch]: param \use_bibtopic.
2382 * lyxrc.[Ch]: add lyxrc bibtex_command
2383 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2385 * buffer.C: increment file format to 231.
2387 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2389 * dociterator.C: implement forwardPar
2390 * iterators.[Ch]: remove, replaced by
2391 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2393 * BufferView_pimpl.C:
2396 * bufferview_funcs.C:
2402 * Makefile.am: adjust
2404 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2406 * CutAndPaste.C (pasteSelection): fix 2 crashes
2407 (eraseSelection): fix a crash
2408 * paragraph_funcs.C: remove a warning
2410 2004-03-28 Angus Leeming <leeming@lyx.org>
2413 * LyXAction.C (init): new LFUN_PRINT.
2415 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2417 2004-03-27 Angus Leeming <leeming@lyx.org>
2420 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2422 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2424 2004-03-27 Angus Leeming <leeming@lyx.org>
2426 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2427 insetlist always contains non-null pointers to insets.
2429 2004-03-26 Angus Leeming <leeming@lyx.org>
2431 * src/BufferView_pimpl.C:
2432 * src/CutAndPaste.C:
2435 * src/output_plaintext.C:
2436 * src/outputparams.h:
2437 * src/paragraph_funcs.C:
2441 * src/frontends/controllers/ControlErrorList.C:
2442 * src/frontends/gtk/FileDialogPrivate.C:
2443 * src/frontends/gtk/GPainter.C:
2444 * src/frontends/gtk/GToolbar.C:
2445 * src/frontends/qt2/QRef.C:
2446 * src/mathed/math_scriptinset.C: squash compiler warnings.
2448 2004-03-26 Angus Leeming <leeming@lyx.org>
2450 * ispell.C (LaunchIspell::start):
2451 * lyx_cb.C (AutoSaveBuffer::start):
2452 invoke run(DontWait) rather than runNonBlocking().
2454 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2456 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2458 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2460 * kbsequence.C (print): adjust
2462 * kbmap.C (printKeySym): rename and change signature
2463 (printKey): use LyXKeySym::print()
2465 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2467 * undo.C: add using std::advance to compile for stlport
2469 2004-03-24 Angus Leeming <leeming@lyx.org>
2471 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2472 it leads to a crash when no buffer is present.
2474 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2475 Martin Vermeer <martin.vermeer@hut.fi>
2477 * lyxfunc.C (dispatch):
2478 * bufferparams.C (readToken): use the new LColor::setColor
2480 * LColor.[Ch] (setColor): new version that takes two strings as
2481 argument and creates a new color entry if necessary
2483 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2485 * buffer.C (makeLaTeXFile): if the main latex file that is
2486 processed is usually a subdocument of some master, then pretend
2487 for a while that it is actually the master
2489 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2491 * buffer.C (getLabelList):
2492 (getBibkeyList): use getMasterBuffer()
2493 (getMasterBuffer): new method. Returns the main document in the
2494 case where one is using included documents.
2496 2004-03-25 André Pönitz <poenitz@gmx.net>
2500 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2502 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2504 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2505 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2507 * ParameterStruct.h: merge with ParagraphParameters
2509 * lyxtext.h: remove LyXText::parOffset() and getPar()
2511 * text3.C: Remove all 'manual' update calls. We do now one per user
2512 interaction which is completely sufficient.
2516 * BufferView_pimpl.C:
2517 * FontIterator.[Ch]:
2519 * ParagraphParameters.[Ch]:
2524 * cursor_slice.[Ch]:
2531 * output_docbook.[Ch]:
2532 * output_latex.[Ch]:
2533 * output_linuxdoc.[Ch]:
2534 * output_plaintext.[Ch]:
2536 * paragraph_funcs.[Ch]:
2537 * paragraph_pimpl.[Ch]:
2545 * frontends/controllers/ControlDocument.C:
2546 * frontends/controllers/ControlErrorList.C:
2547 * frontends/controllers/ControlSpellchecker.C:
2550 * insets/insetbase.h:
2551 * insets/insetbibitem.C:
2552 * insets/insetbox.C:
2553 * insets/insetbranch.C:
2554 * insets/insetcaption.C:
2555 * insets/insetcharstyle.C:
2556 * insets/insetcharstyle.h:
2557 * insets/insetcollapsable.C:
2558 * insets/insetcollapsable.h:
2559 * insets/insetert.C:
2560 * insets/insetfloat.C:
2561 * insets/insetfoot.C:
2562 * insets/insetmarginal.C:
2563 * insets/insetnote.C:
2564 * insets/insetoptarg.C:
2565 * insets/insettabular.C:
2566 * insets/insettext.C:
2567 * insets/insettext.h:
2568 * insets/insetwrap.C:
2569 * mathed/math_mboxinset.C:
2570 * mathed/math_nestinset.C:
2571 * mathed/math_scriptinset.C:
2572 * mathed/math_scriptinset.h:
2575 2004-03-24 Angus Leeming <leeming@lyx.org>
2577 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2578 deal with any child processes that have finished but are waiting to
2579 communicate this fact to the rest of LyX.
2581 2004-03-24 Angus Leeming <leeming@lyx.org>
2583 64-bit compile fixes.
2585 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2586 (c-tor): pass lyx::pos_types rather than ints.
2588 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2591 * text.C (Delete): compile fix.
2592 (getPar): ensure that function declaration is the same as that in
2595 2004-03-23 Angus Leeming <leeming@lyx.org>
2597 * ispell.C (LaunchIspell):
2598 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2599 a boost::shred_ptr rather than a std::auto_ptr.
2601 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2603 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2604 handle LFUN_FILE_INSERT_*
2606 * lyxrc.C (setDefaults, getDescription, output, read):
2607 * lyxrc.h: remove ps_command
2609 2004-03-22 Angus Leeming <leeming@lyx.org>
2611 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2612 Ensure that error_handler is processed once only and that all data
2613 is saved before attempting to output any warning messages.
2615 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2617 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2619 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2621 2004-03-19 André Pönitz <poenitz@gmx.net>
2623 * cursor.[Ch] (reset): take main text inset as argument
2625 * BufferView: adjust
2626 * BufferView_pimpl.C: adjust
2628 * paragraph.[Ch]: fix completely broken operator=()
2630 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2632 * LColor.C (getFromLyXName): make sure that the color name is used
2635 2004-03-17 Angus Leeming <leeming@lyx.org>
2638 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2640 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2641 dialog and to kill a forked process.
2643 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2645 * text2.C (setCursorFromCoordinates): fix font problem
2647 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2649 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2650 bogus "rebuild cursor" code
2652 2004-03-11 André Pönitz <poenitz@gmx.net>
2654 * buffer.[Ch]: use InsetText instead of LyXText as container for
2657 * dociterator.[Ch]: drop the BufferView * member which is not needed
2658 anymore after the change to buffer.C
2660 * paragraph_funcs.C:
2664 * BufferView_pimpl.[Ch]:
2666 * cursor_slice.[Ch]: adjust
2668 * text3.C: fix bug in mathDispatch
2670 2004-03-08 André Pönitz <poenitz@gmx.net>
2672 * undo.[Ch]: use 'StableDocumentIterator' as base for
2675 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2678 * bufferparams.[Ch]: add jurabib support and param.
2680 * LaTeX.C: add FIXME/comment.
2682 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2684 * buffer.C: increment file format to 230.
2686 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2688 * cursor.C (dispatch): avoid infinite loops
2690 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2692 * rowpainter.C (paintSelection): fix x coordinates
2694 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2696 * text.C (rowBreakPoint): fix breaking before displayed insets
2698 2004-03-01 André Pönitz <poenitz@gmx.net>
2700 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2702 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2706 * BufferView_pimpl.C:
2714 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2720 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2721 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2723 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2725 * Bidi.[Ch] (computeTables): const correctness
2726 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2727 fill_hfill, fill_label_hfill and x from Row
2728 * lyxtext.h: prepareToPrint returns a RowMetrics
2729 * rowPainter.C: adjust
2730 * text.C (prepareToPrint): use width, not textWidth. adjust
2731 (redoParagraphInternal, cursorX): adjust
2732 * text2.C (getColumnNearX): adjust
2733 (init): put a default value to the top LyXText::width
2735 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2737 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2739 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2741 * lyxtext.h: add FontIterator class
2743 * text.C (FontIterator, operator*, operator->, operator++): add
2744 (rowBreakPoint, setRowWidth): adjust (fixing a
2747 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2749 * BufferView_pimpl.C (workAreaDispatch): allow also
2750 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2752 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2754 * text.C (rowBreakPoint): fix a bug showing with very large insets
2756 2004-02-25 André Pönitz <poenitz@gmx.net>
2759 * cursor.[Ch]: move some mathed specific code to mathed
2761 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2763 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2764 use_tempdir in preferences
2765 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2767 * lyx_main.C: ensure that tempdir is valid
2768 * lyxlex.h: correct typo
2769 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2770 * paragraph.[Ch] (isMultiLingual): make const
2771 * cursor.[Ch] (openable): make const
2773 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2775 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2777 2004-02-20 André Pönitz <poenitz@gmx.net>
2779 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2781 * cursor.[Ch]: prepare for localized getStatus()
2787 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2789 2004-02-20 André Pönitz <poenitz@gmx.net>
2791 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2793 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2795 * text2.C (setCursorFromCoordinates): switch to absolute coords
2797 (cursorDown): adjust
2798 * text3.C (dispatch): adjust
2800 2004-02-16 André Pönitz <poenitz@gmx.net>
2802 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2805 * cursor_slice.[Ch]: remove unneeded acessor function
2807 * lyxtext.h: rename rtl() to isRTL()
2815 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2817 * rowpainter.C (paintSelection): coord fix
2819 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2821 * Spacing.C: compile fix
2823 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2825 * cursor.C (dispatch): restore current_ before returning
2827 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2829 * text2.C (cursorUp, cursorDown): fix coords
2832 2004-02-12 André Pönitz <poenitz@gmx.net>
2837 * text3.C: add LCursor & parameter to most cursor movement functions
2838 remove usage of LyXText::cursorRow() and cursorPar()
2840 * cursor.[Ch]: add textRow() needed members
2843 * BufferView_pimpl.C:
2846 * BufferView_pimpl.C: adjust
2848 2004-02-11 André Pönitz <poenitz@gmx.net>
2852 * BufferView_pimpl.C: shift undo/redo handling
2854 * cursor.[Ch]: fix mathed crash
2857 * lyxtext.h: move selectionAsText to LCursor
2865 * rowpainter.C: fix excessive drawing
2867 2004-02-06 André Pönitz <poenitz@gmx.net>
2870 * BufferView_pimpl.[Ch]:
2871 * text3.C: move some text specific LFUN handling
2873 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2875 * text3.C (checkInsetHit): adjust coords
2876 * text2.C (getColumnNearX): adjust coords
2877 (edit): adjust coords
2878 * text.C (getRowNearY): add two asserts
2880 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2883 * format.C: add using std::distance to compile on gcc 2.95/stlport
2885 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2887 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2889 2004-02-04 André Pönitz <poenitz@gmx.net>
2891 * BufferView.[Ch] (insertInset):
2892 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2897 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2899 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2900 on the default clause of the switch
2901 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2902 wasn't catched by LCursor::dispatch
2904 2004-02-03 André Pönitz <poenitz@gmx.net>
2907 * cursor.[Ch]: some additional asserts
2909 * undo.[Ch]: remove LyXText dependency in interface
2913 * lyxtext.h (firstPar, lastPar): remove dead functions
2918 * paragraph.[Ch]: adjust
2920 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2922 * lyxfind.C (find): fix argument order in call to ::find
2924 2004-02-02 André Pönitz <poenitz@gmx.net>
2926 * cursor.[Ch]: remove direct access to anchor
2928 * text.C: remove findText() hack
2930 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2932 * iterators.[Ch] (lockPath): remove in favour of...
2933 * BufferView.[Ch] (setCursor): this addition
2934 * BufferView.C (putSelectionAt): adjust
2935 * undo.C (performUndoOrRedo): adjust
2936 * lyxfunc.C (dispatch): adjust
2938 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2940 * iterators.C (lockPath): add a missing slice
2941 * undo.C (performUndoOrRedo): remove redundant positioning code
2943 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2945 * vc-backend.C (scanMaster): ";" -> ';'
2947 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2949 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2950 std::binary_function
2952 * lyxtextclass.C (compare_name): rename to...
2953 (LayoutNamesEqual): ...this
2955 * lyxlex_pimpl.C (compare_tags): inherit from
2956 std::binary_function, put back into anon namespace
2958 * lyxfind.C (MatchString): inherig from std::binary_function
2959 (findChange): use empty() istead of !size()
2961 * format.C (FormatNamesEqual): new functor
2968 * converter.C (compare_Converter): rename to...
2969 (ConverterEqual): ...this, and fixup a bit.
2970 (getConverter): use it, and make function const
2971 (getNumber): use it, and make function const
2975 * bufferlist.C: add using boost::bind
2977 * MenuBackend.C (MenuNamesEqual): new functor
2978 (hasMenu): use it, and make function const
2979 (hasSubmenu): use nested bind to get rid of compare_memfun.
2981 2004-01-30 André Pönitz <poenitz@gmx.net>
2983 * BufferView_pimpl.C:
2986 * cursor_slice.[Ch]:
2989 * paragraph_funcs.C:
2990 * paragraph_funcs.h:
2994 * text3.C: move some of the edit(x,y) handling to the insets
2995 some coordinate changes.
2997 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2999 * text.C: add using statements for std::advance and std::distance
3001 * paragraph.C: add using statement for std::distance
3003 * lyxfind.C: add using statement for std::advance
3005 * cursor.C (region): remove std:: from swap
3006 (openable): use nucleus in stead of operator->
3008 * BufferView.C: add using statements for std::distance and std::swap
3010 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3012 * iterators.C: Remove the pimple, move the needed structures to
3013 the header file. Create accessor for the positions stack.
3014 (asPosIterator): remove function
3016 * PosIterator.C (PosIterator): move constructors to top of file
3017 (PosIterator): reimplement the constructor taking a ParIterator in
3019 (setFrom): new function
3020 (operator!=): inline it
3022 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3024 * lyxfind.C (replaceAll): use std::advance
3026 * iterators.h: inherit from std::iterator.
3028 * PosIterator.C (advance, distance): remove
3029 * PosIterator.h: interit from std::iterator.
3031 2004-01-26 André Pönitz <poenitz@gmx.net>
3034 * BufferView_pimpl.[Ch]:
3038 * bufferview_funcs.C:
3048 * output_linuxdoc.C:
3049 * output_plaintext.C:
3051 * paragraph_funcs.[Ch]:
3052 * paragraph_pimpl.[Ch]:
3058 * text3.C: more IU: dumps most of the rest of the mathcursor
3059 implementation into cursor.[Ch]; "globalize" a bit of it.
3061 2004-01-25 Angus Leeming <leeming@lyx.org>
3063 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3065 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3067 * LaTeXFeatures.h: add nice_ and nice() const
3068 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3070 2004-01-20 André Pönitz <poenitz@gmx.net>
3073 * BufferView_pimpl.C:
3075 * bufferview_funcs.C:
3077 * cursor_slice.[Ch]:
3088 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3089 LCursor and mathcursor parts to LCursor and InsetBase.
3091 2004-01-15 André Pönitz <poenitz@gmx.net>
3093 * cursor_slice.[Ch]: add a few covienience functions
3095 * funcrequest.[Ch]: remove BufferView * member
3097 * BufferView_pimpl.C:
3104 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3106 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3108 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3109 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3111 2004-01-13 André Pönitz <poenitz@gmx.net>
3114 * lyxtext.h: hide cursor and selection anchor behind accessor function
3117 * BufferView_pimpl.[Ch]:
3119 * bufferview_funcs.C:
3129 * cursor_slice.[Ch]: some integer type changes for inset unification
3131 * lyxcursor.[hC]: remove, it's CursorSlice now.
3134 * BufferView_pimpl.[Ch]:
3135 * bufferview_funcs.C:
3141 * textcursor.[Ch]: adjust
3143 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3145 * text2.C (undoSpan): add and use
3146 * text.C (breakParagraph): use undoSpan (fix bug 578)
3149 2004-01-08 Angus Leeming <leeming@lyx.org>
3151 * BufferView_pimpl.C (MenuInsertLyXFile):
3152 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3153 * lyxfunc.C (menuNew, open, doImport):
3154 FileFilterList change to the FileDialog open and save functions.
3156 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3158 * ShareContainer.h: make isEqual and isUnique adaptable
3160 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3162 2004-01-07 Angus Leeming <leeming@lyx.org>
3165 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3167 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3169 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3170 functions replacing find, replace and replaceAll.
3172 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3173 LFUN_WORDFIND(FORWARD|BACKWARD).
3175 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3177 * text.C (breakParagraph): remove an outdated #warning
3179 2004-01-07 André Pönitz <poenitz@gmx.net>
3181 * lyxfind.C: somewhat clearer logic
3183 * text.C: prevent crash in cursorX on unitialized row cache
3185 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3187 * lyxcursor.[Ch] (operator>): add
3188 * textcursor.C (selStart, selEnd): use std::min and std::max
3190 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3192 * Chktex.C: include boost/format.hpp
3194 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3196 * InsetList.C: replace functor MathcIt with adaptable functor
3198 (insetIterator): modify accordingly
3200 * BranchList.h: move the BranchNamesEqual functor here from...
3201 * BranchList.C: ... to here
3203 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3205 (add): replace a finding loop with std::find_if.
3207 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3209 * output_docbook.C: moving LatexParam functionality into
3212 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3214 * buffer.C: increment format to 229.
3216 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3219 * lyx_sty.[Ch]: remove minipageindent_def
3225 * text3.C: remove LFUN_INSET_MINIPAGE
3227 2003-12-28 Angus Leeming <leeming@lyx.org>
3229 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3231 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3233 * text2.C (setParagraph): fix off-by-one crash
3235 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3237 * output_docbook.C: header stuff for AGU
3239 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3241 * text2.C (redoCursor): remove
3244 * BufferView_pimpl.C: remove calls to redoCursor and
3245 setCursor(cursor.par(), cursor.pos()) all around
3247 2003-12-15 Angus Leeming <leeming@lyx.org>
3249 * buffer.C: up the format to 228.
3251 2003-12-15 André Pönitz <poenitz@gmx.net>
3253 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3258 * BufferView_pimpl.C:
3267 2003-12-15 Angus Leeming <leeming@lyx.org>
3269 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3270 than getFromGUIName to manipulate the color.
3272 2003-12-14 Angus Leeming <leeming@lyx.org>
3274 * BranchList.[Ch]: minimize the API.
3275 (Branch::getBranch, getColor): now return a 'const &'.
3276 (Branch::setSelected) now returns a bool set to true if the
3277 selection status changes.
3278 (BranchList::clear, size, getColor, setColor, setSelected,
3279 allBranches, allSelected, separator): removed.
3280 (BranchList::find): new functions, returning the Branch with
3282 (BranchList::add, remove): return a bool indicating that
3283 the operation was successful.
3285 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3286 new InsetBranch::isBranchSlected member function.
3288 * LColor.[Ch]: mimimize the API.
3289 (fill): renamed as addColor and made private.
3290 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3291 versions of these functions taking a string arg have been removed.
3293 * bufferparams.C (readToken):
3294 * lyxfunc.C (dispatch):
3295 * lyxrc.C (read): changes due to the altered BranchList and
3298 * factory.C (createInset, readInset): changes due to altered
3301 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3304 * lyxfunc.C: remove insetminipage. "minipage-insert"
3305 now produces a frameless minipage box inset.
3307 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3309 * textcursor.[Ch] (selStart,selEnd): add new methods
3310 remove selection::start, end, use LyXCursor::operator<
3311 * lyxcursor.[Ch] (operator<): add
3312 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3313 * BufferView.[Ch] (unsetXSel): add
3314 * text2.C (clearSelection): use unsetXSel,adjust
3317 * rowpainter.C: adjust
3318 * bufferview_funcs.C (put_selection_at): adjust
3320 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3322 * BufferView_pimpl.C: small coord. correction
3324 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3326 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3327 dragging over the splash screen.
3329 2003-12-11 Angus Leeming <leeming@lyx.org>
3331 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3332 as it is now handled in LyXText::dispatch.
3334 * text3.C (doInsertInset): remove a level of nesting.
3336 2003-12-11 Angus Leeming <leeming@lyx.org>
3338 * factory.C (createInset): changes due to the changed interface to
3339 InsetCommandMailer::string2params.
3341 2003-12-10 Angus Leeming <leeming@lyx.org>
3343 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3344 'dialog-show-new-inset <inset name>'
3346 2003-12-10 Angus Leeming <leeming@lyx.org>
3348 * buffer.C: up the format to 227.
3350 * factory.C: the box inset is now identified simply by 'Box'.
3352 2003-12-10 Angus Leeming <leeming@lyx.org>
3354 * buffer.C: up the format to 226.
3356 * factory.C: the note inset is now identified simply by 'Note'.
3358 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3360 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3361 when a pit is enough. Standarize a couple of loops.
3363 2003-12-05 Angus Leeming <leeming@lyx.org>
3365 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3366 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3367 data to the re-worked "log" dialog.
3369 2003-12-03 André Pönitz <poenitz@gmx.net>
3375 * paragraph_funcs.C:
3377 * text2.C: use Inset::getText instead of Inset::getParagraph
3379 2003-12-03 André Pönitz <poenitz@gmx.net>
3383 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3384 InsetText::read() as LyXText::read()
3386 2003-12-02 Angus Leeming <leeming@lyx.org>
3388 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3389 type. Add a comment in the implementation that the function uses
3390 the stream's bad() function rather than fail() as the std::streams
3393 2003-12-02 André Pönitz <poenitz@gmx.net>
3395 * lyxlex.[Ch]: make interface more similar to std::stream
3397 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3399 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3401 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3403 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3405 * vspace.[Ch]: remove VSpace::NONE
3407 2003-12-01 André Pönitz <poenitz@gmx.net>
3410 * lyxtext.h: move ParagraphList member to LyXText
3411 rename LyXText::ownerParagraphs to LyXText::paragraph
3414 * bufferview_funcs.C:
3424 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3426 * undo.C: fix cursor positioning
3428 2003-12-01 John Levon <levon@movementarian.org>
3430 * BufferView_pimpl.C: fix a crash on exit with
3433 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3435 * BranchList.C: fix setSelected() method.
3437 2003-11-28 André Pönitz <poenitz@gmx.net>
3439 * ParagraphParameters.[Ch]:
3440 * ParameterStruct.h: remove space above/below from Paragraph to
3443 * BufferView_pimpl.C:
3449 * paragraph_funcs.C:
3455 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3457 * factory.C: Syntax change for CharStyles
3459 2003-11-28 André Pönitz <poenitz@gmx.net>
3464 * buffer.[Ch]: move LyXText member
3466 2003-11-28 André Pönitz <poenitz@gmx.net>
3468 * BufferView.[Ch]: make LyXText * text a private member
3470 * BufferView_pimpl.C:
3481 * output_plaintext.C: cleanup
3483 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3486 * lyxtextclass.[Ch]: parametrize SGML document header
3488 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3491 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3494 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3496 * text2.C (setFont): rework using PosIterator (no more recursive)
3497 (setCharFont): no more needed
3498 (setLayout): no more selection cursors fiddling (done by redoCursor)
3499 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3500 destroy remaining ones)
3502 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3504 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3506 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3509 * text3.C: adjust + re-allow multi par depth changes
3510 * textcursor.C: simplify a bit
3512 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3518 * src/output_docbook.C:
3519 * src/output_latex.C:
3524 * src/text2.C: Introducing a number of tags parametrizing various
3525 XML formats that we may want to support
3527 2003-11-25 André Pönitz <poenitz@gmx.net>
3529 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3531 * lyxtext.h (leftMargin/rightMargin): simplify interface
3538 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3540 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3541 master file to any child files. Fixes bug 546.
3543 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3545 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3547 2003-11-24 André Pönitz <poenitz@gmx.net>
3549 * rowpainter.C: simplification
3551 * text2.C (updateCounters): remove call to redoParagraph on
3552 changed labels as this is far too expensive.
3554 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3556 * converter.C (convert): fix a crash: this function gets
3557 called with buffer == 0 from importer code.
3559 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3561 * text3.C (cursorPrevious): make sure that we do not compare
3562 iterators form different containers.
3565 * rowpainter.C (paintSelection): make sure that we do not compare
3566 iterators from different containers.
3568 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3569 iterators from different ParagraphList containers.
3572 * text2.C (LyXText): change order of initialization slightly
3573 (operator=): new function. copy all variables except cache_par_
3574 (moveUp): make sure that we do not compare iterators from
3575 different ParagraphList constainers.
3578 * text.C (firstPar): new function
3579 (lastPar): new function
3580 (endPar): new function
3582 * lyxtext.h: move things around and group public functions, public
3583 variables, private functions, private variables
3585 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3587 * factory.C: change call to InsetERT constructor to avoid
3588 additional invocation of method status
3589 * text2.C (toggleInset): remove redundant update() call
3590 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3591 instead of a Bufferview pointer
3593 2003-11-21 André Pönitz <poenitz@gmx.net>
3595 * rowpainter.C: simplification
3597 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3599 * text3.C (dispatch): make possible to extend a word/row selection
3602 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3604 * lyxtext.h: x0_,y0_ -> xo_,yo_
3605 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3606 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3607 * rowpainter.C (paintRows): paint full paragraphs
3609 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3611 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3614 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3616 * lyxtext.h: add x0_, y0_
3617 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3618 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3620 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3622 * text2.C (setCursorIntern): move the x_target update here *
3623 * text3.C: change some bv() to true/false in calls to
3624 cursorUp/Down/Right/Left
3625 * cursor.C: use helper function.
3627 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3629 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3630 * paragraph_funcs.[Ch]: correct comment
3631 * rowpainter.C: do not paint selections away from bv->cursor()
3632 Fix a long standing selection painting bug.
3633 * text3.C: generalize mouse-selection code to LyXTexts other that
3635 * textcursor.C: do not use y coords if we can use par offsets
3637 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3639 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3640 cursor position after e.g. inset insert)
3642 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3644 * lyxfind.C (replace): adjust to locking removal + some
3647 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3649 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3652 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3655 * output_docbook.C: XML sanitation: new layout
3656 parameters InnerTag and CommandDepth
3658 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3660 * BufferView_pimpl.C:
3662 * text3.C: Fix the insertion and modification of button-style
3665 2003-11-13 André Pönitz <poenitz@gmx.net>
3667 * InsetList.[Ch]: remove deleteLyXText
3669 * paragraph.[Ch]: cache beginOfBody position
3674 * text3.C: remove superfluous update() calls
3678 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3680 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3681 * BufferView.C (fitLockedInsetCursor): remove
3682 * cursor.[Ch] (getDim): add
3683 * text.C (getRowNearY): add faster version
3684 * text3.C: remove some update calls
3686 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3698 * text3.C: The Character Style /XML short element patch.
3700 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3703 * factory.C: Small step to solving 'unable to insert some insets'
3706 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3708 * cursor.[Ch] (updatePos): new function for updating the y
3709 position of the tip inset
3710 * bufferview_funcs.C (put_selection_at):
3711 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3713 2003-11-11 André Pönitz <poenitz@gmx.net>
3715 * text.C: remove big comment on invalid Paragraph pointers as it is
3718 2003-11-11 André Pönitz <poenitz@gmx.net>
3720 * text_funcs.[Ch]: merge with ...
3728 * Makefile.am: remove text_funcs.[Ch]
3730 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3732 * cursor.C (getPos): return absolute cached y coord
3734 * BufferView_pimpl.C (fitCursor): new simplistic code
3735 (workAreaDispatch): add a fitCursor call
3737 2003-11-10 André Pönitz <poenitz@gmx.net>
3740 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3742 2003-11-10 André Pönitz <poenitz@gmx.net>
3744 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3745 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3746 indicate that the cursor needs to leave an inset
3748 * lyxtext.h: remove inset locking
3750 * cursor.[Ch]: re-implement functionality provided by inset locking
3753 * BufferView_pimpl.[Ch]:
3755 * bufferview_funcs.[Ch]:
3767 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3769 * PosIterator.[Ch]: replace the stack with a vector, add inset
3771 * iterators.[C]: adjust
3773 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3775 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3777 * paragraph_funcs.C (readParToken): put the correct id in the
3778 error item, not the id of the top paragraph
3780 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3782 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3783 * bufferview_funcs.C (put_selection_at): use the above
3785 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3787 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3789 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3791 * output_linuxdoc.h:
3792 * output_plaintext.h:
3794 * output_docbook.h: add #include statements
3796 2003-11-05 José Matos <jamatos@lyx.org>
3798 * output_docbook.[Ch]:
3799 * output_latex.[Ch]:
3800 * output_linuxdoc.[Ch]:
3801 * output_plaintext.[Ch]: New files for output formats.
3802 * output.[Ch]: New file for helper functions.
3805 * paragraph_funcs.[Ch]: output functions moved to new files.
3807 * outputparams.h: rename of latexrunparams.h
3815 * paragraph_funcs.[Ch]:
3816 * paragraph_pimpl.[Ch]:
3817 * tabular.[Ch]: rename ascii to plaintext
3818 and LatexRunParams to OutputParams.
3820 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3822 * iterators.[Ch] (text): require bv argument
3823 * undo.C (recordUndo):
3824 * lyxfunc.C (dispatch):
3825 * bufferview_funcs.C (put_selection_at): adjust
3827 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3829 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3831 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3833 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3836 2003-11-04 André Pönitz <poenitz@gmx.net>
3838 * cursor.[Ch]: restructure
3841 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3843 * iterators.[Ch] (asCursor): remove
3845 * lfuns.h: remove LFUN_INSET_EDIT
3851 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3853 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3855 * lyxfind.[Ch]: complete overhaul
3856 * BufferView_pimpl.C:
3858 * paragraph.[Ch] (insert): add
3860 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3864 * text.C: remove dead spellcheck code
3866 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3868 * dispatchresult.h: add a val setter
3870 * cursor.C (dispatch): use a tempvar for data_[i]
3872 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3874 * PosIterator.[Ch]: compile fix
3876 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3878 * text.C (cursorPar): deactivate the cursor cache
3880 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3882 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3884 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * text3.C (dispatch): adjust for new DisptchResult semantics.
3888 * lyxfunc.C (dispatch): handle update when return from
3889 Cursor::dispatch, adjust for new DispatchResult semantics.
3891 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3892 DispatchResult(true) mean to not update. Add class functions for
3893 setting dispatched and update, as well as reading.
3895 * cursor.C (dispatch): don't handle update here
3897 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3900 * trans_mgr.C: adjust
3902 * paragraph_funcs.C (readParToken): exception safety
3904 * lyxvc.h: store the vcs pointer in a scoped_ptr
3907 * lyxsocket.C (serverCallback): exception safety
3909 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3911 * ispell.C (clone): make it return a auto_ptr
3913 * factory.C (createInset): exception safety
3914 (readInset): exception safety
3916 * bufferlist.C (newBuffer): exception safety
3918 * Thesaurus.C (Thesaurus): use initialization for aik_
3920 * MenuBackend.C (expandToc): exception safety.
3922 2003-11-03 André Pönitz <poenitz@gmx.net>
3926 * bufferview_funcs.C: remove getInsetFromId()
3929 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3935 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3937 * PosIterator.C (distance, advance): new
3938 * bufferview_funcs.[Ch] (put_selection_at): new
3939 * iterators.[Ch] (lockPath): new
3941 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3943 * iterators.[Ch] (asPosIterator): added
3944 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3945 * PosIterator.[Ch]: added
3947 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * cursor.C (dispatch):
3952 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3954 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3955 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3956 contructor, add a class function dispatched. Remove operator>=
3958 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * debug.C: only use the default constructor for debugstream
3963 * main.C (main): include debug.h and setup the lyxerr streambuf
3966 2003-10-31 José Matos <jamatos@lyx.org>
3968 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3970 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3971 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3972 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3973 * paragraph_pimpl.C (simpleTeXSpecialC):
3974 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3975 add LatexRunParams argument.
3977 * exporter.C (Export): change call accordingly.
3979 * latexrunparams.h: add new member to take care of the other backends.
3980 2003-10-30 José Matos <jamatos@lyx.org>
3982 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3983 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3984 factorise code for paragraph output.
3986 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3989 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * text3.C (dispatch):
3992 * lyxfunc.C (dispatch):
3993 * cursor.C (dispatch):
3994 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3996 * dispatchresult.h: make the dispatch_result_t ctor explicit
3998 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4001 * buffer.C: small refactoring of docbook stuff
4003 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4005 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4008 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4010 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4011 operator dispatch_result_t, and operators for == != and >=
4013 * cursor.C (dispatch): adjust for operator dispatch_result_t
4014 removal. comment out call to update
4016 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4018 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4029 * dispatchresult.h: new file, DispatchResult broken out of
4032 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4034 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4036 * text.C (rowBreakPoint): put a hack inside #if 0
4038 2003-10-28 André Pönitz <poenitz@gmx.net>
4042 * paragraph_funcs.C:
4045 * text2.C: general cleanup (lots of small stuff)
4047 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4049 * text2.C (cursorEnd): simple fix to the "end key goes to one
4050 before the end on last row" bug
4052 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4054 * text.C (backspace): fix the "zombie characters"
4056 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4058 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4060 2003-10-27 André Pönitz <poenitz@gmx.net>
4062 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4064 * factory.C: handle new InsetPagebreak, InsetLine
4066 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4067 and move handling into new InsetPagebreak, InsetLine
4069 * BufferView_pimpl.C:
4071 * ParagraphParameters.C:
4072 * ParameterStruct.h:
4077 * paragraph_funcs.C:
4078 * paragraph_pimpl.C:
4084 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4087 * lyxrow_funcs.[Ch]:
4093 * text3.C: remove lastPos uses in favour of Row::endpos
4095 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4097 * undo.C (performUndoOrRedo): fix two crashes by setting a
4098 cursor by hand and reordering some calls. Use bv->lockInset instead
4099 of inset->edit because the latter loses cursor information
4101 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4103 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4105 (rowBreakPoint): fix width. change point to point + 1.
4106 Add a missing check.
4108 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4111 * lyxfunc.C: fix (at least partly) the problems
4112 with the Nav menu and headers inside branch insets
4115 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4117 * paragraph.C (getChar): add strong asserts
4119 * lyxrow_funcs.C (lastPos): remove hideous hack
4121 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4122 (fill): adjust to that (avoid an infinite loop)
4124 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4126 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4128 2003-10-23 André Pönitz <poenitz@gmx.net>
4130 * RowList_fwd.h: change list<> to vector<> to gain speed
4131 after suggestion from Alfredo
4133 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4135 * lyxtext.h: move the bidi stuff from here...
4138 * Bidi.[Ch]: ... to here
4140 2003-10-23 André Pönitz <poenitz@gmx.net>
4143 * text.C (isLastRow, isFirstRow): new functions
4145 * paragraph.h: new width cache member
4147 * rowpainter.C: replace RowList::iterator with Row & where possible
4149 * lyxfunc.C: replace several view()->text with a single call
4151 * toc.C: fix 'unused' warning
4153 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4156 when woring with stream::pos_type
4157 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4159 2003-10-22 André Pönitz <poenitz@gmx.net>
4162 * text.C: use Row & instead of RowList::iterator
4164 * lyxrow.h: rename end() to endpos()
4170 2003-10-22 Angus Leeming <leeming@lyx.org>
4172 * buffer.[Ch] (fully_loaded): new member function, returning true
4173 only when the file has been loaded fully.
4174 Used to prevent the premature generation of previews and by the
4175 citation inset to prevent computation of the natbib-style label.
4177 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4178 templates are all set up.
4180 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4182 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4184 * text.C: fixed an "oops" in the "is a bit silly"
4187 2003-10-21 André Pönitz <poenitz@gmx.net>
4189 * FuncStatus.[Ch]: small stuff, whitespace
4191 * lyxfont.[Ch]: operator<<() for debug reasons
4195 * lyxtext.h: whitespace, spelling
4197 * paragraph.C: naming of variables
4200 * text2.C: small stuff
4203 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4205 * text.C: (1) finish off the inset display() work;
4206 (2) fix the "is a bit silly" bug (accessing char
4209 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4211 * text.C: re-introduce display() for insets, fixing the
4212 various bugs (stretch of line above, math inset
4215 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4217 * text.C (rightMargin): remove spurious semicolon
4219 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4222 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4224 * text3.C: fix one crash due to wrong cursor def
4226 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * vc-backend.C (scanMaster): make the regex static
4230 * LaTeX.C (scanAuxFile): make the regexs static
4232 * text3.C (doInsertInset, dispatch, dispatch):
4233 * text2.C (cursorUp, cursorDown):
4234 * text.C (selectNextWordToSpellcheck):
4235 * BufferView_pimpl.C (dispatch):
4236 * lyxfunc.C (dispatch): localDispatch -> dispatch
4238 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4240 * lyxsocket.C: include <cerrno>
4242 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * lyxfunc.C (dispatch): remove textcache stuff
4246 * bufferlist.C (release): remove textcache stuff
4249 * TextCache.C: delete file
4250 * TextCache.h: delete file
4252 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4254 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4255 delete of the bv_->text.
4256 (resizeCurrentBuffer): remove texcache stuff
4257 (workAreaResize): ditto
4259 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4264 2003-10-16 André Pönitz <poenitz@gmx.net>
4271 * text3.C: speed up by storing y positions per paragraph plus per-row
4272 offset instead of having a 'full' y position in the row.
4274 2003-10-15 André Pönitz <poenitz@gmx.net>
4278 * undo.[Ch]: make undo aware of inner insets
4280 2003-10-14 Angus Leeming <leeming@lyx.org>
4282 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4283 static member functions LyX::ref() and LyX::cref.
4284 (lastfiles): new accessor functions for the new lastfiles_ member var.
4285 (addLyXView, views_): add a new LyXView to the list of views_.
4286 (updateInset): loop over all LyXViews to call their own updateInset
4287 member function, returning a pointer to the Buffer owning the inset.
4289 * BufferView_pimpl.C (loadLyXFile):
4290 * MenuBackend.C (expandLastfiles):
4291 * bufferlist.C (MenuWrite, QuitLyX):
4292 lastfiles is no longer a global variable.
4293 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4295 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4296 static function. Access through LyX::cref().emergencyCleanup().
4298 2003-10-14 André Pönitz <poenitz@gmx.net>
4300 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4302 * undo.[Ch]: restoring part of 'undo in insets'
4305 * undo_funcs.[Ch]: merge with undo.[Ch]
4307 * tabular.C: small cleansing stuff
4309 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4311 * paragraph_funcs.C (readParToken): report unknown insets as error
4312 boxes. Use the outer paragraph as location (also for unknown
4315 * factory.C (readInset): do not abort on reading an unknown inset.
4316 Eat it and return 0.
4318 2003-10-13 Angus Leeming <leeming@lyx.org>
4320 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4322 * lyxrc.C: displayTranslator is now a function,
4323 declared in GraphicsTypes.h.
4325 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4327 * format.C: new placeholder $$a to pass the socket address.
4329 * bufferlist.[Ch]: new function getBufferFromTmp.
4331 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4332 files in the temporary dir.
4334 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4336 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4338 * Makefile.am: add lyxsocket.[Ch].
4340 * lyx_main.C (error_handler): handle SIGPIPE.
4342 2003-10-13 André Pönitz <poenitz@gmx.net>
4344 * BufferView_pimpl.C:
4349 * undo_funcs.[Ch]: use paroffset_type instead of
4350 ParagraphList::iterators to prevent multiple conversion
4351 (and get a more robust interface)
4353 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4357 * text3.C (dispatch): ditto
4359 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4362 move the onlyfile, use onlyfile instead of foundfile in a couple
4365 * DepTable.C (update): flush the error stream a bit more
4367 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * lyxserver.C (callback): adjust
4371 * lyxfunc.C (getStatus): add a missing brace in commented code
4372 (ensureBufferClean): reindent
4373 (dispatch): delete version taking a string
4375 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * LaTeX.C (deplog): move found file handlig from here...
4378 (handleFoundFile): .. to new function here.
4379 (deplog): make sure to discover several files mentioned on the
4382 2003-10-10 André Pönitz <poenitz@gmx.net>
4389 * text3.C: fix some of the tabular crashes
4391 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4393 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4395 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4397 2003-10-09 André Pönitz <poenitz@gmx.net>
4399 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4402 * BufferView_pimpl.C:
4403 * bufferview_funcs.C:
4414 * undo_funcs.C: adjust
4416 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * text2.C (incrementItemDepth): new function, use a backtracking
4419 algorithm to discover the correct item depth.
4420 (resetEnumCounterIfNeeded): new function, use a backtracking
4421 algorithm to discover if counter reset is needed.
4422 (setCounter): use them. Simplify a bit. Add different labels for
4423 different item depths for itemize.
4425 * paragraph.C (Paragraph): remove initialization of enumdepth
4428 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4429 enumerate and itemize. Change the type of itemdepth to signed char.
4431 2003-10-08 André Pönitz <poenitz@gmx.net>
4433 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4438 * tabular.[Ch]: fix crash after 'row-insert'
4440 2003-10-08 Angus Leeming <leeming@lyx.org>
4442 Fix doxygen warnings.
4444 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4445 Remove CutAndPaste:: prefix from header file declaration.
4447 * LColor.h (fill): remove LColor:: prefix from declaration.
4449 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4450 use lyx::depth_type rather than Paragraph::depth_type so that
4451 header file and .C file match.
4453 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4455 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4456 * aspell.C: \file aspell_local.C -> \file aspell.C
4457 * gettext.C: \file gettext.C -> \file src/gettext.C
4458 * gettext.h: \file gettext.h -> \file src/gettext.h
4459 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4460 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4461 * text.C: \file text.C -> \file src/text.C
4463 * toc.C: move comment so that doxygen is not confused.
4465 2003-10-07 Angus Leeming <leeming@lyx.org>
4467 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4469 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4472 * aspell_local.h: add forgotten std::string's.
4474 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4481 * text3.C: The Box patch. Fancybox support, minipage, parbox
4483 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4489 * ParagraphParameters.h:
4499 * lyxtextclasslist.h:
4502 * paragraph_pimpl.C:
4503 * textcursor.h: add <string> and other small fixes to make Lars'
4504 std::string patch compile with STLport.
4506 2003-10-06 Angus Leeming <leeming@lyx.org>
4508 * LColor.h: Add missing #include <string>.
4510 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * All most all file in all subdirs: Make <string> be the prefered
4513 way of getting to std::string, add using declarations.
4515 2003-10-06 André Pönitz <poenitz@gmx.net>
4517 * metricsinfo.C: initialize LyXFont before changing attribute.
4518 (fixes the 'math in \emph is upright' bug)
4520 2003-10-06 André Pönitz <poenitz@gmx.net>
4522 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4524 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4527 * paragraph_pimpl.C: Small fixes to build using STLport
4529 2003-10-02 André Pönitz <poenitz@gmx.net>
4532 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4534 2003-10-01 André Pönitz <poenitz@gmx.net>
4536 * factory.C: assert early
4538 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * lyx_main.C: remove the global debug object
4542 * debug.h: adjust for new debugstream
4544 * debug.C: adjust for new debugstream and keep the global debug
4547 2003-09-22 Angus Leeming <leeming@lyx.org>
4549 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4550 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4551 an incomplete class LyXFont.
4553 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4555 * factory.C: bug fix in branches
4557 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * lyxfunc.C (processKeySym): adjust
4561 (dispatch): change arg name from ev to func, adjust
4562 (sendDispatchMessage): ditto
4564 * lyx_main.C (defaultKeyBindings): adjust keybindings
4565 (deadKeyBindings): ditto
4567 * kbsequence.C (addkey): return a FuncRequest
4569 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4571 * kbmap.C (bind): take a FuncRequest as arg, adjust
4574 (defkey): change to take a FuncRequest as arg, adjust
4575 (findbinding): take a FuncRequest as arg, adjust.
4577 * funcrequest.h (operator=): added
4579 * funcrequest.C (FuncRequest): default kb_action changed from
4580 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4582 * buffer.C (dispatch): simplify
4583 (dispatch): adjust to take a FuncRequest as arg, adjust
4585 * boost.C (assertion_failed): change assertion message slightly
4587 * ToolbarBackend.C (read): simplify
4589 * MenuBackend.C (binding): adjust call to findbinding, add a
4590 message if no binding is found.
4592 (expandToc): correct by adding a empty FuncRequest
4594 * LyXAction.C: include <boost/assert.hpp>
4595 (isPseudoAction): delete function
4596 (LookupFunc): change name to...
4597 (lookupFunc): this. change return type to FuncRequest.
4598 (getActionName): take kb_action as arg, simplify
4599 (funcHasFlag): add an assert, simplify.
4601 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * toc.C (action): return a FuncRequest, simplify
4605 * lyxfunc.C (processKeySym): adjust
4606 (getStatus): delete version that takes an int.
4608 (dispatch): delete version that takes action as int
4610 (sendDispatchMessage): simplify and adjust
4612 * funcrequest.C (getArg): take unsigned int as arg
4614 * ToolbarBackend.C (read): adjust
4615 (add): delete version that takes func as a string.
4616 (getIton): take a FuncRequest as arg
4618 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4621 * MenuBackend.C (MenuItem): add a new construct that only takes a
4622 Kind, simplify the constructor use for submenus.
4624 (expandLastfiles): adjust
4625 (expandDocuments): adjust
4626 (expandFormats): adjust
4627 (expandFloatListInsert): adjust
4628 (expandFloatInsert): adjust
4629 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4631 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4632 Remove class variables lyx_pseudo_map and lyx_arg_map
4634 * LyXAction.C (searchActionArg): delete function
4635 (getPseudoAction): delete function
4636 (retrieveActionArg): delete function
4637 (LookupFunc): make it return kb_action, simplify.
4638 (getActionName): simplify
4640 * factory.C (createInset): fix new bug
4642 2003-09-19 Angus Leeming <leeming@lyx.org>
4644 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4645 masterFilename_ parameter in the include inset.
4647 * factory.C (createInset): changes due to the changes to InsetInclude.
4649 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4651 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4653 2003-09-18 Angus Leeming <leeming@lyx.org>
4656 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4657 Inset::fillWithBibKeys.
4658 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4660 2003-09-18 Angus Leeming <leeming@lyx.org>
4662 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4664 (ctor): pass and store a 'Buffer const &'
4665 (buffer): new member function.
4667 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4668 '*this' to the LaTeXFeatures ctor.
4670 2003-09-18 Angus Leeming <leeming@lyx.org>
4676 * text.C: rename EnumLColor as LColor_color.
4678 2003-09-18 Angus Leeming <leeming@lyx.org>
4680 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4681 remove #include "insets/insetbase.h" from cursor.h.
4683 2003-09-18 Angus Leeming <leeming@lyx.org>
4685 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4686 InsetOld_code to remove #include "inset.h".
4688 * iterators.C: add #include "insets/inset.h"
4690 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4692 * BufferView.C: remove more locking stuff that apparently doesn't
4693 do anything sensible.
4695 2003-09-16 André Pönitz <poenitz@gmx.net>
4698 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4701 2003-09-16 Angus Leeming <leeming@lyx.org>
4703 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4705 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4708 * paragraph.h: remove #include "lyxfont.h". Forward declare
4711 2003-09-16 Angus Leeming <leeming@lyx.org>
4713 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4714 of support/textutils.h.
4715 (isWord): move the contents of support/textutils.h's IsWordChar here.
4721 * text2.C: add #include "paragraph.h".
4724 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4726 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * LaTeX.C: use namespace alias for lyx::support::os
4734 2003-09-16 Angus Leeming <leeming@lyx.org>
4737 * bufferview_funcs.C:
4740 * paragraph_pimpl.C:
4742 * text.C: add #include "LColor.h".
4744 2003-09-16 Angus Leeming <leeming@lyx.org>
4746 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4747 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4749 Store the FontBits::color variable as an int rather than as an
4750 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4753 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4754 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4755 string calls together.
4757 * lyxrc.C: add #include "LColor.h".
4759 2003-09-15 Angus Leeming <leeming@lyx.org>
4761 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4764 2003-09-15 Angus Leeming <leeming@lyx.org>
4766 * LColor.h: add an EnumLColor wrapper for LColor::color.
4768 * lyxfont.[Ch] (color, setColor, realColor):
4769 * lyxtext.h, text.C (backgroundColor):
4770 pass EnumLColor args to/from the functions, rather than LColor::color
4774 * lyxtext.h: forward declare EnumLColor.
4776 * lyx_main.C: add #include "LColor.h".
4778 2003-09-15 Angus Leeming <leeming@lyx.org>
4780 * .cvsignore: add lyx-gtk.
4782 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * ParagraphParameters.C
4791 * bufferview_funcs.C
4801 * vc-backend.C: remove usage of STRCONV
4803 2003-09-15 Angus Leeming <leeming@lyx.org>
4805 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4806 explicitly define the color passed to the painter.
4808 2003-09-15 Angus Leeming <leeming@lyx.org>
4810 * bufferparams.C (BufferParams): reorder member initializers to avoid
4813 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4815 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4816 * text.C (updateRowPositions): remove an unusual nop
4818 2003-09-12 André Pönitz <poenitz@gmx.net>
4820 * BufferView_pimpl.C:
4829 * Counters.[Ch]: finish the 'automatic counters' job
4831 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4833 * aspell.C: include <boost/assert.cpp> (compile fix)
4835 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4837 * boost.C (assertion_failed): use lyx::support::abort instead of
4840 2003-09-10 Angus Leeming <leeming@lyx.org>
4842 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4843 with their _fwd progeny.
4845 2003-09-09 Angus Leeming <leeming@lyx.org>
4847 134 files throughtout the source tree: replace 'using namespace abc;'
4848 directives with the appropriate 'using abc::xyz;' declarations.
4850 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4852 * boost.C (emergencyCleanup): moved here from LAssert.c
4853 (assertion_failed): new function, called by BOOST_ASSERT
4855 * several files: change Assert to BOOST_ASSERT
4857 2003-09-09 Angus Leeming <leeming@lyx.org>
4859 * buffer.[Ch]: Add an Impl class and move Buffer's member
4860 variables into it. As a result move several header files out of
4863 Add header files to lots of .C files all over the tree as a result.
4865 2003-09-09 Angus Leeming <leeming@lyx.org>
4867 * buffer.[Ch]: make Buffer's member variables private. Add
4870 Lots of changes all over the tree as a result.
4872 2003-09-08 Angus Leeming <leeming@lyx.org>
4874 * graph.C: #include <config.h>.
4876 2003-09-08 Angus Leeming <leeming@lyx.org>
4880 * BufferView_pimpl.C:
4909 * toc.C: remove redundant using directives.
4911 2003-09-07 Angus Leeming <leeming@lyx.org>
4913 * LaTeXFeatures.h: remove #include "support/types.h".
4914 * ToolbarBackend.h: remove #include <algorithm>.
4915 * changes.h: remove #include <ctime>.
4916 * debug.h: remove #include <iosfwd>.
4917 * graph.h: remove #include "support/std_string.h".
4918 * lyx_main.h: remove #include <csignal>.
4919 * lyxlex_pimpl.h: remove #include <fstream>.
4920 * sgml.h: remove #include <algorithm>, <utility>.
4921 * toc.h: remove #include "support/std_ostream.h".
4922 Add #include <iosfwd>.
4924 2003-09-07 Angus Leeming <leeming@lyx.org>
4926 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4928 * converter.h: forward declare LatexRunParams.
4929 * encoding.h: remove #include "lyxrc.h".
4930 * lyxtext.h: remove #include "LColor.h".
4931 * lyxtextclass.h: remove #include "support/types.h".
4932 * trans.h: remove #include "tex-accent.h".
4933 * trans_mgr.h: remove #include "tex-accent.h".
4934 * insets/inset.h: remove #include "support/types.h", <vector>.
4935 * insets/insetcollapsable.h: remove #include "LColor.h".
4936 * insets/insetinclude.h: remove #include "dimension.h".
4937 * insets/insetlatexaccent.h: remove #include "dimension.h".
4938 * insets/insetoptarg.h:: remove #include "insettext.h".
4939 * insets/insettext.h: remove #include "dimension.h",
4940 <boost/shared_ptr.hpp>
4942 * insets/renderers.h: add #include "dimension.h".
4943 * insets/updatableinset.h: add #include "support/types.h".
4945 * many .C files: Associated changes.
4947 2003-09-06 Angus Leeming <leeming@lyx.org>
4949 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4950 one, inside testInvariant.
4952 * PrinterParams.C: new file.
4953 * PrinterParams.[Ch]: move the function bodies out of line.
4955 2003-09-06 Angus Leeming <leeming@lyx.org>
4957 * ParagraphParameters.h: forward declare ParameterStruct rather than
4958 including its header file.
4959 (depth): moved out-of-line.
4961 2003-09-06 Angus Leeming <leeming@lyx.org>
4963 * BufferView_pimpl.h:
4966 * lyxfunc.h: forward declare LyXKeySym rather than
4967 #include "frontends/LyXKeySym.h".
4969 * BufferView_pimpl.C:
4972 * lyxfunc.C: associated changes.
4974 2003-09-06 Angus Leeming <leeming@lyx.org>
4976 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4977 As a result, can remove the #include "insets/inset.h" from BufferView.h
4979 2003-09-06 Angus Leeming <leeming@lyx.org>
4981 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4982 As a result, can remove the #include "insets/inset.h" from BufferView.h
4984 2003-09-06 Angus Leeming <leeming@lyx.org>
4990 * bufferview_funcs.C:
4991 * BufferView_pimpl.C:
4996 * ParagraphParameters.C:
5001 * frontends/controllers/ControlDocument.C:
5002 * insets/insetcaption.C: rearrange the #includes into some sort of
5005 * buffer.h: remove #includes ErrorList.h, undo.h
5007 2003-09-06 Angus Leeming <leeming@lyx.org>
5009 * support/types.h: add a 'depth_type' typedef, used to store the
5010 nesting depth of a paragraph.
5013 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5014 defining explicitly.
5017 * paragraph_funcs.h:
5018 * ParagraphParameters.h:
5019 * sgml.h: use lyx::depth_type rather than Paragraph or
5020 ParameterStruct's depth_type.
5023 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5026 * BufferView_pimpl.C:
5028 * ParagraphParameters.C:
5031 * bufferview_funcs.C:
5038 * frontends/LyXView.C:
5039 * frontends/controllers/ControlDocument.C:
5040 * frontends/controllers/ControlErrorList.C:
5041 * insets/insetbibitem.C:
5042 * insets/insetbranch.C:
5043 * insets/insetcaption.C:
5044 * insets/insetcollapsable.C:
5045 * insets/insetenv.C:
5046 * insets/insetert.C:
5047 * insets/insetfloat.C:
5048 * insets/insetfoot.C:
5049 * insets/insetfootlike.C:
5050 * insets/insetnewline.C:
5051 * insets/insetquotes.C:
5052 * insets/insettabular.C:
5053 * insets/insettext.C:
5054 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5056 * frontends/controllers/ControlChanges.C: #include "changes.h".
5058 2003-09-06 Angus Leeming <leeming@lyx.org>
5060 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5061 than #including paragraph.h.
5064 * RowList.h: deleted. Superfluous.
5074 * insets/insettext.h: use ParagraphList_fwd.h rather than
5077 * paragraph.h: don't forward declare ParagraphList.
5080 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5081 rather than ParagraphList.h. paragraph.h is still needed for the
5082 Paragraph::depth_type parameters.
5084 * textcursor.h: enable it to compile stand-alone in light of the
5087 * bufferview_funcs.C:
5099 * frontends/controllers/ControlParagraph.C:
5100 * frontends/controllers/ControlTabular.C:
5101 * insets/insetmarginal.C:
5102 * insets/insetminipage.C:
5103 * insets/insetnote.C:
5104 * insets/insetoptarg.C: add header files needed to compile again.
5106 2003-09-06 Angus Leeming <leeming@lyx.org>
5108 * RowList_fwd.h: new file, forward-declaring Row rather than
5109 #including lyxrow.h.
5114 * insets/insettext.h: use it instead of RowList.h
5116 * bufferview_funcs.C:
5123 * text3.C: #include "RowList.h".
5125 2003-09-05 Angus Leeming <leeming@lyx.org>
5127 * factory.C (createInset):
5128 * vspace.C (c-tor): replace sscanf call with an istringstream.
5129 * ispell.C: re-add missing HP/UX headers.
5130 * lyxserver.C: re-add missing os2 headers.
5132 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5141 * text3.C: re-add missing system headers, needed for 2.95.2.
5143 2003-09-05 Angus Leeming <leeming@lyx.org>
5145 Changes most place everywhere due to the removal of using directives
5146 from support/std_sstream.h.
5148 2003-09-05 Angus Leeming <leeming@lyx.org>
5150 Replace LString.h with support/std_string.h,
5151 Lsstream.h with support/std_sstream.h,
5152 support/LIstream.h with support/std_istream.h,
5153 support/LOstream.h with support/std_ostream.h.
5155 Changes resulting throughout the tree.
5157 2003-09-05 Angus Leeming <leeming@lyx.org>
5159 * sgml.h: ensure that the header file can be compiled stand-alone.
5160 * *.C: strip out redundant #includes. (320 in total.)
5162 2003-09-04 Angus Leeming <leeming@lyx.org>
5164 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5165 here (from getPackages).
5167 * debug.[Ch]: add a new EXTERNAL tag.
5169 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5171 * text2.C (cursorEnd): simplify
5173 (getColumnNearX): adjust
5175 * text.C (computeBidiTables): adjust
5178 * rowpainter.C (paintChars): adjust
5179 (paintSelection): adjust
5180 (paintChangeBar): adjust
5183 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5185 (numberOfSeparators): adjust
5187 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5193 * text3.C: Restricts the mouse click functionality
5194 of insets like bibtex, include, toc and floatlist to the visible
5195 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5196 up the dialogs. Cursor has to be in front of the inset (i.e.
5197 start of row) for this to function.
5199 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5201 * bufferview_funcs.C (currentState): output row information
5203 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5205 * bufferview_funcs.C (currentState): output paragraph position
5207 2003-09-04 Angus Leeming <leeming@lyx.org>
5209 * FloatList.h: move out #include "Floating.h".
5210 * LaTeX.h: move out #include "DepTable.h".
5211 * LyXAction.h: move out #include "funcrequest.h".
5212 * buffer.h: move out #include "author.h", "iterators.h".
5213 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5214 * lyx_main.h: move out #include "errorlist.h".
5215 * lyxfunc.h: move out #include "FuncStatus.h".
5216 * lyxtext: move out #include "lyxcursor.h".
5217 * paragraph_pimpl.h: move out #include "counters.h".
5219 2003-09-03 Angus Leeming <leeming@lyx.org>
5221 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5222 preamble_snippets list, enabling us to add snippets to the preamble
5223 only if the snippet was not there already.
5225 2003-09-04 Angus Leeming <leeming@lyx.org>
5227 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5229 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5234 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5236 * BranchList.C: point fix, earlier forgotten
5238 2003-09-02 Angus Leeming <leeming@lyx.org>
5240 * box.C (contains): renamed from 'contained' after a fantastic
5243 2003-09-02 John Levon <levon@movementarian.org>
5249 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5251 2003-09-02 John Levon <levon@movementarian.org>
5253 * text2.C: simplification of cursorEnd(), including partial
5256 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * buffer.C (readFile): add a space
5260 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5262 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5264 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * buffer.C (readFile): new function, take a filename and a
5267 ParagraphList::iterator
5269 (readFile): adjust, make it private. don't use setStream, make
5270 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5271 always contain the filename.
5273 * BufferView.C (insertLyXFile): simplify and make it work for
5276 2003-08-30 John Levon <levon@movementarian.org>
5278 * Makefile.am: fix dist (from Kayvan)
5280 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * most files: change to use const Buffer refs
5284 2003-08-27 André Pönitz <poenitz@gmx.net>
5286 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5287 on top of ownerPar().
5289 2003-08-27 John Levon <levon@movementarian.org>
5291 * funcrequest.C: properly initialise POD members
5293 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5295 * lyxtext.h (top_y): move top_y from here
5300 * BufferView_pimpl.[Ch]: to here
5301 * frontends/screen.C:
5302 * insets/insettabular.C:
5303 * insets/insettext.C: adjust
5304 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5306 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5309 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5311 2003-08-26 André Pönitz <poenitz@gmx.net>
5313 * paragraph_func.[Ch] (outerPar): new function
5316 * paragraph_funcs.C:
5317 * paragraph_funcs.h:
5318 * paragraph_pimpl.C:
5319 * text2.C: remove Inset::par_owner
5321 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5326 * text2.C: eliminates the needFullRow/display() stuff
5327 altogether, putting the logic in metrics/draw in the insets.
5329 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5331 * text2.C (redoParagraphInternal, redoParagraphs):
5332 * text.C (redoParagraph): add a call to updateRowPositions at the
5333 end of each 'metrics-like' call. Remove all others.
5334 (getRow): remove the 'y-computing' version.
5335 (getRowNearY): do not compute nor return the real y. Solve the
5336 'y < 0' problem and simplify.
5338 2003-08-22 Angus Leeming <leeming@lyx.org>
5340 * *.[Ch]: clean-up of licence and author blurbs.
5341 Also move config.h out of a few .h files and into a few .C files.
5343 2003-08-22 André Pönitz <poenitz@gmx.net>
5345 * lyxrow.[Ch]: add x_ and *fill_ members
5350 * text2.C: adjust/remove prepareToPrint() calls
5352 2003-08-22 André Pönitz <poenitz@gmx.net>
5354 * lyxrow.[Ch]: add end_ member
5356 * lyxrow_funcs.C: use LyXRow::end_
5358 * lyxtext.h (singleWidth): add LyXFont parameter
5361 * text2.C: adjust LyXText::singleWidth() calls
5363 * text.C (redoParagraph): simplify row breaking logic
5366 2003-08-19 André Pönitz <poenitz@gmx.net>
5368 * funcrequest.C: initialize button_ member
5371 * rowpainter.[Ch]: interface consolidation
5373 2003-08-18 André Pönitz <poenitz@gmx.net>
5376 * BufferView_pimpl.C:
5378 * paragraph_funcs.C:
5380 * text3.C: remove LyXScreen::draw() and fitCursor calls
5382 * BranchList.h: remove spurious semicolons
5384 * MenuBackend.C: fix branchlist related crash
5386 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5394 * bufferparams.[Ch]:
5398 * text3.C: implements the 'branch inset'
5399 idea. This allows the output of various versions of a document
5400 from a single source version, selectively outputing or suppressing
5401 output of parts of the text.
5402 This implementation contains a 'branch list editor' in a separate
5403 tab of the document settings dialog. Branches are user definable
5404 and have a "display colour" to distinguish them on-screen.
5406 ColorHandler was somewhat cleaned up.
5407 (1) make possible a dynamically growing LColor list by allowing
5408 the graphic context cache to grow along (vector);
5409 (2) eliminate an IMHO unnecessary step in colour allocation.
5411 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5413 * BufferView_pimpl.C: compile fix
5415 2003-08-15 André Pönitz <poenitz@gmx.net>
5417 * rowpainter.C: remove extra metrics calls
5419 * lyxtext.h: merge the two constructors into a single one,
5420 pass reference to owner's par list
5422 * BufferView_pimpl.C:
5426 2003-08-15 André Pönitz <poenitz@gmx.net>
5428 * lyxrow_funcs.[Ch]:
5431 * paragraph_funcs.C:
5436 * text_funcs.C: split LyXText::rowlist_ into individual
5437 Paragraph::rows_ chunks
5440 * BufferView_pimpl.[Ch]:
5443 * text3.C: remove toggleSelection()
5445 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5447 * bufferlist.C: beautify two alerts (shorter text of buttons)
5448 * buffer.C: Remove redundant ' ' from message
5450 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5451 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5452 rename VALIGN_CENTER to VALIGN_MIDDLE
5454 2003-08-11 André Pönitz <poenitz@gmx.net>
5456 * lyxtext.h (getPar):
5457 * text.C: new function
5459 2003-08-11 André Pönitz <poenitz@gmx.net>
5462 * tracer.[Ch]: remove unneeded files
5464 * InsetList.[Ch]: remove resizeInsetsLyXText()
5469 * text3.C: merge insertParagraphs() and appendParagraph()
5470 remove breakAgain(), update()
5472 * BufferView_pimpl.[Ch]:
5473 * bufferview_funcs.[Ch]:
5477 * tabular.C: adjust after text & InsetList changes.
5479 2003-08-08 André Pönitz <poenitz@gmx.net>
5481 * text.C (insertChar, backspace): replace rowlist fiddling
5482 with rebreak of full par
5485 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5486 checkParagraph, updateInset): removed
5488 2003-08-07 André Pönitz <poenitz@gmx.net>
5491 * text3.C: merge some LFUN handlers, remove dead code
5493 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5495 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5497 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5499 * text2.C (DEPM): fix part of bug 1255 and 1256
5501 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5503 * BufferView_pimpl.C (workAreaDispatch): change to use
5504 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5505 that are no mouse related.
5507 2003-08-05 André Pönitz <poenitz@gmx.net>
5510 * BufferView_pimpl.[Ch]:
5511 * bufferview_funcs.C:
5513 * text3.C: rip out "deep update"
5515 * textcursor.[Ch] (last_sel_cursor): remove unused member
5517 2003-08-04 André Pönitz <poenitz@gmx.net>
5520 * BufferView_pimpl.[Ch]:
5521 * ParagraphParameters.C:
5522 * bufferview_funcs.C:
5528 * text3.C: replace "complicated" BufferView::update(...) calls with
5531 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5533 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5535 * Makefile.am (lyx_SOURCES): add paper.h
5537 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5539 * Makefile.am: move things around so that both lyx-qt and
5540 lyx-xforms can be built (according to --with-frontend). Then lyx
5541 is a symbolic link to lyx-[firstfrontend]
5543 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5545 * Always use std::endl with lyxerr
5547 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5549 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5551 2003-08-01 André Pönitz <poenitz@gmx.net>
5554 * BufferView_pimpl.[Ch]:
5556 * text3.C: merge BufferView::repaint() and BufferView::update()
5558 2003-08-01 José Matos <jamatos@lyx.org>
5560 * buffer.[Ch]: file_format is no longer a buffer data element.
5562 2003-08-01 André Pönitz <poenitz@gmx.net>
5567 * text2.C: make redoParagraph more independent of current cursor
5569 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5571 * text2.C: remove unneeded members
5573 2003-07-30 André Pönitz <poenitz@gmx.net>
5575 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5577 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5578 create a single function...
5580 * paragraph_funcs.C (moveItem): ... here.
5583 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5585 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5587 * LColor.[Ch]: Add comment and greyedout logical colors.
5589 2003-07-30 André Pönitz <poenitz@gmx.net>
5591 * tabular.C: don't use Assert too heavily. This crashes where it
5594 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5596 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5597 is disabled (bug 1232)
5599 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5601 * factory.C: limited 'arg' scope
5603 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5605 * factory.C: fixed Note submenu issues
5607 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5609 * factory.C: submenu for Note/Comment/Greyedout
5611 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5614 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5616 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5619 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5620 greyedout. Patch provided by Jürgen Spitzmüller.
5622 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5624 * kbmap.C (read): fix error message when reading bind files
5626 2003-07-29 Angus Leeming <leeming@lyx.org>
5628 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5629 certainly does not do what it purports to do. I am doing it, and
5630 us, a favour by killing it.
5632 2003-07-28 José Matos <jamatos@lyx.org>
5634 * buffer.C (readBody, do_writeFile):
5635 * paragraph.C(readParagraph): \end_document replaces \the_end.
5637 2003-07-29 André Pönitz <poenitz@gmx.net>
5640 * BufferView_pimpl.[Ch]:
5644 * textcursor.[Ch]: remove toggleToggle & Co
5646 2003-07-28 José Matos <jamatos@fep.up.pt>
5648 * buffer.C (readParagraph):
5649 * params_func (readParToken, readParagraph):
5650 * paragraph.C (write): \layout -> \begin_layout.
5652 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5654 * lyxlex_pimpl.C (setFile): clean up slightly.
5656 * bufferparams.h: add compressed var
5658 * buffer_funcs.C (readFile): adjust for LyXLex change
5659 (newFile): ditto + simplify
5661 * buffer.C (writeFile): handle writing of compressed files
5663 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5664 Check if the file is compressed and set a bufferparm if so.
5666 * Makefile.am (lyx_LDADD): remove explicit -lz
5668 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5670 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5671 makeDocBookFile): put the real LyX version in the first line of
5675 * version.C.in: remove lyx_docversion
5677 * tabular.C (write_attribute): add a template-based version to
5678 write enums properly
5680 2003-07-28 André Pönitz <poenitz@gmx.net>
5685 * text3.C: use doubles again for x-coordinates. They are needed.
5687 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * messages.C (getLocaleDir): use lyx_localedir()
5691 * lyxlex_pimpl.C (setFile): compress stuff
5693 * buffer.C (writeFile): add some compression stuff
5694 (do_writeFile): new func, dont call expliti close... will this
5697 * Makefile.am (lyx_LDADD): add -lz
5699 2003-07-28 José Matos <jamatos@fep.up.pt>
5701 * buffer.C: increment file format.
5702 * paragraph_funcs (readParagraph, readParToken):
5703 * paragraph.C (readParagraph): add \end_layout.
5705 2003-07-27 Angus Leeming <leeming@lyx.org>
5707 * Makefile.am: remove special casing for configure-time setting of
5708 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5710 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5711 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5713 2003-07-26 André Pönitz <poenitz@gmx.net>
5715 * paragraph_func.[Ch]:
5716 * paragraph.C (realizeFont): inline it whereever it is used
5721 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5724 2003-07-26 André Pönitz <poenitz@gmx.net>
5728 * text2.C: get rid of LyXText::need_break_row
5730 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5732 * toc.[Ch]: put namespace toc inside namespace lyx
5734 * MenuBackend.C (expandToc2): adjust for lyx::toc
5737 * lyxfunc.C (dispatch): adjust for lyx::find
5739 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5740 lyx::find instead. Reorganize a bit.
5741 (LyXReplace): rename to replace
5742 (LyXFind): rename to find
5744 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5747 2003-07-26 André Pönitz <poenitz@gmx.net>
5749 * text.C (setHeightOfRow): restrict scope of temporary variable
5751 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5752 code (never has been used?)
5754 2003-07-27 Asger Alstrup <alstrup@local>
5756 * text.C (fill): Optimise algorithm to exploit that we can reuse
5757 the LyXFont for many characters.
5758 (setHeightOfRow): Same thing.
5759 (rowBreakPoint): Same thing.
5761 2003-07-26 Asger Alstrup <alstrup@local>
5763 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5765 * text.C (singleWidth): Spurious font copying in hot-spot
5766 singleWidth avoided. Reorder tests for arabic for efficiency.
5768 * text.C (fill): handle empty paragraphs better.
5770 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5773 * encoding.h: add includes
5775 * lyxrc.C: remove reading of bind files
5777 * lyx_main.C (init): setup bindings and menus only if we have a
5780 * kbmap.C (read): new method. Do the actual reading of bind
5783 * converter.C (dvipdfm_options):
5786 (output): adapt PAPER_* enums.
5788 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5790 * bufferparams.h: remove paper-related enums from there
5792 * paper.h: New file. A trivial header file to hold paper-related
5793 enums. It should later expand to contain many paper-related
5796 * lyxrc.C: declare extern displayTranslator
5798 2003-07-27 José Matos <jamatos@fep.up.pt>
5800 * tabular.[Ch] (linuxdoc): add support for tables and figures
5803 2003-07-27 José Matos <jamatos@fep.up.pt>
5805 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5806 consistency in both functions.
5807 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5809 2003-07-26 Asger Alstrup <alstrup@local>
5811 * rowpainter.C (paintRows): Change algorithm to work directly on
5812 the insets rather than asking every character in the document
5813 whether its an inset.
5815 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5817 * buffer.C (openFileWrite): factorize some code
5819 2003-07-26 Angus Leeming <leeming@lyx.org>
5822 * lyx_main.[Ch]: replace occurances of system_tempdir with
5825 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * rename Inset to InsetOld
5829 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5831 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5832 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5833 which I think is a bit clearer. EDIT is gone, since it was
5834 premature optimisation, and broken for mathed anyway.
5835 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5836 with cursor positioning in insets as well (math insets still do not
5837 work, but that's a different story anyway.) It mysteriously
5838 crashes sometimes with undo in the first paragraph, but I'm fairly
5839 confident that this is a compiler bug.
5841 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5843 * paragraph.C (Paragraph): adjust for new clone return type
5845 (copyIntoMinibuffer): ditto
5847 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5849 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5850 by not having a special case, and always doing a full rebreak of
5851 the document after undo.
5853 2003-07-23 Angus Leeming <leeming@lyx.org>
5855 * factory.C (createInset): InsetExternal::setParams now takes a
5858 2003-07-23 Angus Leeming <leeming@lyx.org>
5860 * factory.C (createInset): changed interface to the external and
5861 graphics mailers' string2params functions.
5863 2003-07-23 Angus Leeming <leeming@lyx.org>
5865 * factory.C (createInset): pass a
5866 Buffer const * parameter to InsetExternalMailer's string2params.
5868 2003-07-22 John Levon <levon@movementarian.org>
5870 * Thesaurus.h: include the right aiksaurus header
5872 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5874 * MenuBackend.C (expand): check menu shortcuts unconditionally
5876 2003-07-21 Angus Leeming <leeming@lyx.org>
5878 * factory.C (createInset): pass a
5879 buffer_path parameter to InsetGraphicsMailer's string2params.
5881 2003-07-21 Angus Leeming <leeming@lyx.org>
5883 * BufferView_pimpl.C (buffer):
5886 * lyxfunc.C (dispatch):
5887 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5888 rather than the grfx shortcut.
5890 2003-07-21 André Pönitz <poenitz@gmx.net>
5892 * rowpainter.C: remove unused variables
5895 * tabular_funcs.h: move to tabular.C
5896 * Makefile.am: adjust
5898 * tabular.[Ch]: basic optical cleaning
5900 * author.h: pass references, not values
5902 2003-07-18 André Pönitz <poenitz@gmx.net>
5910 * text3.C: two-phase drawing for InsetText and InsetTabular
5911 some float -> int changes.
5913 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5915 * lyx_main.C: fix the fix
5917 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5919 * lyx_main.C: fix a crash in batch mode if no files specified
5922 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5924 * format.[Ch] (papersize): moved to BufferParams
5925 * converter.[Ch] (dvips_options): moved to BufferParams
5926 (dvipdfm_options): moved to anon namespace
5927 * bufferparams.[Ch]: added above functions.
5929 2003-07-17 André Pönitz <poenitz@gmx.net>
5933 * text2.C: don't call inset->update() anymore
5935 * metricsinfo.[Ch]: add convenience constructor
5937 2003-07-16 André Pönitz <poenitz@gmx.net>
5942 * text2.C: replace the LyXCursor::irow_ member with
5943 on-demand computation of the value
5945 2003-07-16 John Levon <levon@movementarian.org>
5947 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5949 2003-07-15 André Pönitz <poenitz@gmx.net>
5952 * text2.C: remove no more needed refresh_row
5954 2003-07-15 André Pönitz <poenitz@gmx.net>
5959 * text3.C: refresh_status tristate -> need_update bool
5961 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5963 * lyxtext.h (init): remove reinit argument (act as if always true)
5964 * text2.C: adjust to that
5966 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5968 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5969 * text3.C: use it to delete selections in some cases
5970 (bugs 441, 673, 702, 954).
5972 2003-07-14 André Pönitz <poenitz@gmx.net>
5974 * rowpainter.[Ch]: reduce interface
5976 2003-07-14 André Pönitz <poenitz@gmx.net>
5978 * BufferView_pimpl.C:
5979 * text2.C: adjust after removing unused BufferView * argument
5981 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5983 * text2.C (init): fix a crash fired on resize
5985 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5987 * buffer.[Ch]: added new closing signal
5988 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5989 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5990 BufferView::Pimpl via the closing the signal
5992 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5994 * buffer.[Ch]: take out all bv-related from buffer
5996 * BufferView_pimpl.[Ch]: connect to new signals
5997 * CutAndPaste.C: removed useless asserts
5998 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6001 * lyxfunc.C: moved view-related funciontality from vc here
6002 * paragraph.C: removed outdated comments
6005 2003-07-10 André Pönitz <poenitz@gmx.net>
6007 * BufferView_pimpl.C:
6011 * text2.C: remove InsetText::InnerCache, clean up consequences
6013 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6015 * ispell.C: fix two typos in error messages
6017 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6019 * Extend Note inset to other forms of annotation like Comment
6020 and Greyedout. Right button click gives dialog.
6022 Files modified or added (+):
6026 * ControlNote.[Ch] +
6028 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6029 frontends/controllers
6033 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6035 * aspell.C: add missing namespace lyx::support
6037 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6039 * BufferView.[Ch] (newFile): Add
6040 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6041 * LaTeX.[Ch] (message): added this signal and use it
6042 * buffer.[Ch] (busy, message): added these signals and use them
6043 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6047 * importer.C: use buffer signals instead of direct bv calling
6048 * lyx_cb.[Ch] (ShowMessage): removed
6051 * paragraph_funcs.C:
6052 * text2.C: use buffer signals
6054 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * introduce namespace lyx::graphics
6058 2003-07-02 André Pönitz <poenitz@gmx.net>
6060 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6062 2003-07-01 André Pönitz <poenitz@gmx.net>
6069 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6070 text*.C to text_func.C
6072 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * introduce namespace lyx::support
6076 2003-06-30 André Pönitz <poenitz@gmx.net>
6081 * text.C: re-enable --with-included-string
6083 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * textcursor.C: add <config.h>
6087 * text.C (getWord): remove const from word_location arg
6089 * lyxvc.C (getLogFile): fix const type order
6091 * lyxtext.h: remove const from word_location arg, add arg name
6093 * lyxlayout.h: currect type on labeltype.
6095 * importer.C: correct \file
6097 * converter.C (intToFormat): use std:: on ret val, ws changes
6099 * bufferlist.h: correct \file
6101 * buffer.C (makeLinuxDocFile): fix const type order
6102 (makeDocBookFile): ditto
6103 (fillWithBibKeys): use std:: on stdlib args.
6105 * CutAndPaste.C: fix authors.
6106 (availableSelections): use std:: on return vector
6108 2003-06-27 André Pönitz <poenitz@gmx.net>
6110 * BufferView_pimpl.C:
6111 * bufferview_funcs.C:
6119 * text3.C: remove LyXCursor::row_ member
6122 * text.C: rename fullRebreak() to partialRebreak() and implement
6123 a fullRebreak() that really bereks fully
6125 * textcursor.h: new struct for cursor-related data
6127 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6129 * lyx_main.C (LyX): get full path of document loaded on the
6132 2003-06-26 André Pönitz <poenitz@gmx.net>
6134 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6135 remove unused/broken operator>,<,>=.
6137 * text.C: remove only use of broken operator<= in an Assert().
6139 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6141 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6142 moved errorlist_.clear to showErrorList
6144 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6146 * converter.C (scanLog, runLaTeX):
6147 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6148 move the bv->showErrorList call to the callers
6149 * lyxfunc.C: i.e. here...
6151 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6152 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6153 namespace, the second to...
6154 * buffer_funcs (BufferFormat, parseErrors): added
6155 * errorlist.C (ErrorList(TeXErrors const &)): removed
6157 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6159 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6161 2003-06-24 "Garst R. Reese" <reese@isn.net>
6165 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6167 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6169 * version.C.in: change docversion to 1.4
6171 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6173 * buffer.C: fix a bug just introduced
6175 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6177 * buffer.[Ch]: added the parseError signal and use it, removed
6179 * BufferView.[Ch] (addError): moved to ...
6180 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6181 to the Buffer::parseError signal to catch (guess what) parse errors
6182 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6184 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6186 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6187 ability to create a buffer and to return an existing one from
6188 the list. Moved these functions to...
6189 * buffer_funcs.[Ch]: added
6190 * BufferView.[Ch] (loadLyXFile): added
6191 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6192 job removed from bufferlist::loadLyXFile.
6193 * buffer.C (setReadOnly): make it work without view
6194 (i.e added an if (users))
6196 2003-06-19 Angus Leeming <leeming@lyx.org>
6199 * LyXAction.C (init):
6200 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6201 with LFUN_DIALOG_SHOW <name> <data>.
6203 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6205 * CutAndPaste.C (availableSelections): small compilation fix for
6206 ancient (gcc 2.9x) compilers
6208 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * text3.C (cursorNext): add tmp var
6212 * text2.C (updateCounters): for function calling out of for clause
6213 (replaceSelectionWithString): ditto
6214 (insertStringAsParagraphs): ditto
6215 (getColumnNearX): add tmp var
6216 (setCursorFromCoordinates): add tmp var
6217 (cursorDownParagraph): add tmp var
6218 (deleteEmptyParagraphMechanism): add tmp var
6220 * text.C (insertChar): add tmp var
6222 * rowpainter.C (paintDepthBar): add tmp var
6224 * CutAndPaste.C (availableSelections): potentially check all
6225 paragraphs in a cut to fill the shown strings.
6227 2003-06-18 André Pönitz <poenitz@gmx.net>
6229 * kbmap.[Ch]: use vector<> instead of list<>
6231 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6233 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6234 pasteSelection with index
6236 * text2.C (pasteSelection): modify, call pasteSelection with index
6238 * paragraph.C (asString): reimplement version with no interval to
6239 call the one with interval.
6241 * lyxtext.h: add index arg to pasteSelection
6243 * MenuBackend.C (MenuItem): handle PasteRecent
6244 (Menu::read::Menutags): add md_pasterecent
6246 (expandPasteRecent): new function
6249 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6251 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6253 (availableSelections): new function
6255 2003-06-17 Angus Leeming <leeming@lyx.org>
6257 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6259 2003-06-17 Angus Leeming <leeming@lyx.org>
6262 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6264 * lyxfunc.C (dispatch): invoke it.
6266 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6268 * iterators.C (operator++, ParPosition): reintroduce some
6269 const_cast for the benefit of older compilers.
6271 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6273 * text3.C (dispatch): do not modify clipboard when doing
6274 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6275 LFUN_DELETE_SKIP on a selection selection
6277 2003-06-16 André Pönitz <poenitz@gmx.net>
6283 * tabular.[Ch]: IU of clone() and getLabelList();
6285 2003-06-13 André Pönitz <poenitz@gmx.net>
6287 * tabular.h: compactification
6289 2003-06-12 André Pönitz <poenitz@gmx.net>
6293 * tabular_funcs.h: some renaming plus whitespace
6295 2003-06-12 André Pönitz <poenitz@gmx.net>
6298 * BufferView_pimpl.C:
6304 * toc.C: Return a Paragraph & for ParIterator::operator*()
6306 2003-06-11 John Levon <levon@movementarian.org>
6310 * ToolbarBackend.C: add "Toolbars" section and
6313 2003-06-10 Angus Leeming <leeming@lyx.org>
6316 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6318 * lyxfunc.C (dispatch): invoke it.
6320 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * main.C: protect <ios> with HAVE_IOS
6323 (main): protect sync_with_stdio with HAVE_IOS
6325 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6327 * text2.C (cutSelection): adjust
6328 (pasteSelection): adjust
6330 * messages.C: handle get of empty string
6332 * main.C (main): use sync_with_stdio(false)
6334 * lyxfunc.C (dispatch): adjust
6336 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6337 (WriteAs): remove unneeded BufferView arg.
6339 * bufferparams.h: use correct types on papersize, papersize2 and
6342 * bufferparams.C (readToken): adjust for type
6343 (writeLaTeX): add missing cases to switch.
6345 * bufferlist.C (quitWriteBuffer): adjust
6348 * buffer.C (asciiParagraph): remove some commented code.
6350 * CutAndPaste.C: remove current_view extern variable.
6351 (cutSelection): add BufferParams arg.
6352 (eraseSelection): add BufferParams arg.
6353 (pasteSelection): add Buffer const & arg
6355 2003-06-07 John Levon <levon@movementarian.org>
6358 * paragraph_funcs.C:
6359 * paragraph_pimpl.C:
6363 * paragraph.C: allow InsetERT to freely space lines,
6364 and some consolidation of code
6366 2003-06-06 José Matos <jamatos@fep.up.pt>
6368 * buffer.C (makeDocBookFile): fix bug #821
6370 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6372 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6374 2003-06-04 Angus Leeming <leeming@lyx.org>
6376 * buffer.C: bump format to 224.
6378 2003-06-05 André Pönitz <poenitz@gmx.net>
6380 * text2.C (redoParagraphs): remove two const_cast<>
6382 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6384 * ParagraphList.h: remove last remnants of NO_STD_LIST
6386 2003-06-03 Angus Leeming <leeming@lyx.org>
6388 * factory.C (createInset): small change to the way InsetExternal's params
6391 2003-06-04 André Pönitz <poenitz@gmx.net>
6393 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6395 * paragraph_pimpl.h:
6396 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6398 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6400 * undo_funcs.C: make some simple cases of undo work again
6402 2003-06-03 John Levon <levon@movementarian.org>
6404 * ispell.C: HPUX doesn't have sys/select.h
6407 2003-06-03 John Levon <levon@movementarian.org>
6409 * CutAndPaste.C: update tabular and include inset
6414 * paragraph.C: remove owningBuffer(), don't pass Buffer
6417 * factory.C: insetGraphicsParams changed
6419 2003-06-02 John Levon <levon@movementarian.org>
6425 * text3.C: remove insetparent
6427 2003-06-02 John Levon <levon@movementarian.org>
6430 * buffer.C: fix inset_iterator.end(), move out of line
6433 2003-06-01 John Levon <levon@movementarian.org>
6435 * text3.C: use a proper cut/paste when doing inset
6436 insert (from Jürgen Spitzmüller)
6438 2003-06-01 John Levon <levon@movementarian.org>
6440 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6442 2003-05-30 André Pönitz <poenitz@gmx.net>
6444 * rowpainter.C: unify second drawing phase
6446 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * trans_mgr.C: remove one case of current_view
6450 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6452 * paragraph_funcs.h: remove paragraph.h include
6454 * paragraph.h: delete NO_STD_LIST stuff
6456 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6458 * buffer.h: remove paragraph.h include
6460 * ParagraphList.C: delete file
6462 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6464 * toc.C (getTocList): adjust
6466 * paragraph_pimpl.C (validate): adjust
6468 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6470 * paragraph.C (Paragraph): adjust
6471 (getPositionOfInset): use const_iterator, adjust
6472 (bibitem): use const_iterator, adjust
6473 (setInsetOwner): adjust
6475 * iterators.C (operator++): adjust
6477 * InsetList.[Ch]: Replace selfmade iterator with standard
6478 vector::iterator also introduce const_iterator. Remove getPos,
6479 getInset and setInset from InsetTable. Adjust accordingly.
6481 * BufferView.C (lockInset): adjust
6482 (ChangeInsets): adjust
6484 * tabular.[Ch]: delete commented same_id functions
6486 2003-05-28 John Levon <levon@movementarian.org>
6488 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6490 2003-05-28 André Pönitz <poenitz@gmx.net>
6492 * metricsinfo.[Ch]: remove 'fullredraw' member
6494 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6496 * lyxtextclass.C (operator): remove caching.
6498 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * text2.C (cursorBottom): adjust
6503 (setCounter): use ParagraphList::find, adjust
6505 * text.C (workWidth): use ParagraphList::find, adjust
6507 * lyxcursor.C (LyXCursor): adjust
6509 * buffer.C (inset_iterator): adjust
6511 * ParagraphList.h: make iterator(value_type) private, make
6512 ParagraphList a friend of iterator.
6514 * ParagraphList.C (find): new function
6516 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6518 2003-05-27 André Pönitz <poenitz@gmx.net>
6520 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6522 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6524 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6526 2003-05-26 John Levon <levon@movementarian.org>
6528 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6530 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * remove same_id from function signatures, adjust.
6534 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6538 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6540 * paragraph.C (Paragraph): get rid of same_ids parameter
6542 * ParagraphList.C (insert): adjust
6545 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6547 * paragraph_funcs.C (breakParagraph): adjust
6548 (breakParagraphConservative): adjust
6550 * buffer.C (readParagraph): adjust
6552 * ParagraphList.C (insert): take a reference instead of a pointer
6555 * paragraph.[Ch] (id): new function
6557 * bufferlist.C (newFile): adjust
6559 * ParagraphList.C (ParagraphList): adjust
6561 (push_back): take a reference instead of a pointer.
6563 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6565 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6568 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6569 set else use old code.
6571 * ParagraphList.C: remove all NO_NEXT code and only compile this
6572 code of NO_STD_LIST is set.
6574 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6576 * BufferView_pimpl.C:
6586 * graphics/GraphicsConverter.C:
6587 * graphics/PreviewLoader.C: header adjustment
6589 2003-05-23 Angus Leeming <leeming@lyx.org>
6591 * LaTeXFeatures.[Ch] (useBabel): new method.
6592 * bufferparams.C (writeLaTeX): use it.
6594 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * ParagraphList.h (set): remove unused function.
6598 2003-05-23 André Pönitz <poenitz@gmx.net>
6601 * BufferView_pimpl.C:
6605 * undo_funcs.C: setUndo reworked
6607 * iterators.[Ch]: add access to topmost ParagraphList
6609 * lyxtext.[Ch] (workWidth): add a const
6611 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6613 * texrow.[Ch] (increasePos): remove function
6614 * exporter.C (export): removed unused var and outdated comment
6616 2003-05-23 Angus Leeming <leeming@lyx.org>
6618 * latexrunparams.h: rename fragile as moving_arg.
6619 * paragraph.C (simpleTeXOnePar): ditto.
6620 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6622 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6624 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6626 (textUndoOrRedo): comment out a currently unused var.
6628 * paragraph.h (NO_NEXT): enable NO_NEXT
6630 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6632 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6634 * exporter.C (Export): adjust for removeAutoInsets removal.
6636 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6638 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6640 * BufferView.[Ch] (removeAutoInsets): delete function
6642 2003-05-22 Angus Leeming <leeming@lyx.org>
6644 * latexrunparams.h: add a free_spacing variable.
6646 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6647 to pass moving_arg, as the data is stored in runparams.fragile.
6649 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6650 to Inset::latexOptional or to simpleTeXOnePar.
6652 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6653 free_spacing arg to Inset::latexOptional.
6655 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6658 2003-05-22 Angus Leeming <leeming@lyx.org>
6660 * latexrunparams.h: add fragile and use_babel variables.
6662 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6663 * buffer.C (makeLaTeXFile): store this returned value in
6664 runparams.use_babel, thus passing it to the inset::latex methods.
6666 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6667 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6669 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6670 longer has a fragile arg, as it is stored in runparams.fragile.
6672 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6673 moving_arg parameter as the data is stored in runparams.fragile.
6675 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6676 a fragile parameter as the data is stored in runparams.fragile.
6678 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6682 2003-05-22 Angus Leeming <leeming@lyx.org>
6684 * latexrunparams.h: add a 'bool nice' which defaults to false.
6686 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6687 now encapsulated within runparams.
6689 * bufferlist.C (updateIncludedTeXfiles):
6690 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6692 2003-05-22 Angus Leeming <leeming@lyx.org>
6694 * latexrunparams.h: new file containing struct LatexRunParams.
6695 * Makefile.am: add new file.
6697 * LaTeX.[Ch] (c-tor, run):
6698 * buffer.[Ch] (makeLaTeXFile):
6699 * bufferlist.[Ch] (updateIncludedTeXfiles):
6700 * converter.C (convert, scanLog):
6701 * converter.[Ch] (runLaTeX):
6702 * exporter.C (Export):
6703 * paragraph.[Ch] (simpleTeXOnePar):
6704 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6705 * paragraph_funcs.[Ch] (latexParagraphs):
6706 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6707 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6708 pass around a LatexRunParams parameter.
6710 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6712 * paragraph.[Ch]: remove unused constructor
6714 * ParagraphList.C (erase): new function, taking two iterators
6716 2003-05-22 André Pönitz <poenitz@gmx.net>
6718 * undo_funcs.C: remove duplicated code
6720 * iterator.[Ch]: operator=
6722 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6724 * tabular.C (SetMultiColumn): ws changes
6726 * rowpainter.C (paintFirst): get rid of a ->previous
6728 * lyx_cb.C (getPossibleLabel): parlist simplification
6730 * BufferView.C (ChangeInsets): simplify slightly.
6732 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6734 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6735 * lfuns.h: new LFUN_SPACE
6736 * lyxfunc.C: protected space has a new lfun
6737 * paragraph_funcs.C: read new space insets
6739 * factory.C: handle new space insets
6741 2003-05-22 André Pönitz <poenitz@gmx.net>
6744 * BufferView_pimpl.C:
6747 * undo_funcs.C: return a ParIterator from getParFromID.
6749 * iterators.[Ch]: add two const's
6751 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6753 * toc.C (getTocList): adjust
6755 * iterators.[Ch]: rework for parlist
6757 * buffer.C (par_iterator_begin): adjust
6758 (par_iterator_end): adjust
6760 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6762 * BufferView.C (removeAutoInsets): adjust
6763 (ChangeInsets): adjust
6765 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6767 * text.C (top_y): fix bug 1110
6769 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6771 * errorlist.[Ch]: added
6774 * BufferView_pimpl.C:
6775 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6778 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6780 * Makefile.am: ensure that lyx is relinked upon changes to the
6781 various "convenience" libs.
6783 2003-05-20 Angus Leeming <leeming@lyx.org>
6785 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6786 files are compiled in alphabetical order again.
6788 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6790 2003-05-19 Angus Leeming <leeming@lyx.org>
6792 * gettext.[Ch]: remove "char const * _(char const *)".
6794 2003-05-19 André Pönitz <poenitz@gmx.net>
6796 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6805 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6807 2003-05-19 André Pönitz <poenitz@gmx.net>
6811 * lyxtextclass.[Ch]:
6813 * paragraph_funcs.[Ch]:
6815 * text3.C: more insetenv work
6817 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6819 * ParagraphParameters.C (params2string): small bug fixed
6821 2003-05-16 André Pönitz <poenitz@gmx.net>
6824 * bufferview_funcs.C: patch from Kornel Benko to prevent
6825 crash when _(...) is called twice in a statement
6827 2003-05-16 André Pönitz <poenitz@gmx.net>
6834 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6836 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6838 * lyx_main.C (init): remove spurious static_cast
6840 2003-05-14 André Pönitz <poenitz@gmx.net>
6842 * BufferView.C: fix format string
6844 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6846 * BufferView.[Ch] (insertErrors): removed
6847 * BufferView.[Ch] (showErrorList): added
6848 * buffer.C (runChkTeX):
6849 * converter.C (scanLog): call showErrorList instead of inserterrors
6851 2003-05-13 André Pönitz <poenitz@gmx.net>
6853 * BufferView_pimpl.C:
6855 * bufferview_func.C:
6862 * tabular_funcs.h: tostr() from its own header
6864 * ParagraphParameters.C:
6869 * text3.C: STRCONV()
6871 2003-05-12 André Pönitz <poenitz@gmx.net>
6874 * BufferView_pimpl.C:
6878 * ParagraphParameters.C:
6882 * bufferview_funcs.C:
6895 * paragraph_funcs.C:
6899 * text3.C: boost::format -> bformat all over the place
6902 2003-05-09 André Pönitz <poenitz@gmx.net>
6904 * LColor.[Ch]: Pimpl the #include <map> away
6906 2003-05-09 John Levon <levon@movementarian.org>
6908 * bufferlist.C: never remove emergency saves
6910 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * Makefile.am: better lib building
6914 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6916 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6918 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6919 (simpleTeXSpecialChars): adjust
6920 (simpleTeXSpecialChars): adjust
6921 * paragraph.C (simpleTeXOnePar): adjust
6922 * buffer.C (makeLaTeXFile): adjust
6924 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6926 * text2.C (changeDepth): parlist cleanup
6927 (getColumnNearX): ditto
6929 * rowpainter.C (getLabelFont): parlist cleanup
6931 * bufferlist.C (newFile): parlist cleanup
6933 * CutAndPaste.C (eraseSelection): parlist cleanup
6935 * BufferView_pimpl.C (trackChanges): parlist cleanup
6938 * BufferView.C (lockInset): parlist cleanup.
6939 (ChangeInsets): ditto
6941 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * CutAndPaste.h: Update file header.
6945 * CutAndPaste.C: Update file header.
6946 Store the parts cut out of the Document in a limited_stack.
6947 (copySelection): adjust
6948 (pasteSelection): new function, takes the index in the limited stack.
6949 (nrOfParagraphs): adjust
6950 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6951 simplify error inset insertion.
6952 (checkPastePossible): adjust
6954 2003-05-06 John Levon <levon@movementarian.org>
6956 * text2.C: don't cast wrap inset to float
6958 2003-05-05 André Pönitz <poenitz@gmx.net>
6961 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6963 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6964 few naked Paragraph *.
6966 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6968 * bufferparams.C: Output warning if a document with missing
6969 TeX document class is loaded
6970 * exporter.C: Disable TeX exports if the document class is missing
6973 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6974 isTeXClassAvailable()
6976 2003-05-03 John Levon <levon@movementarian.org>
6979 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6980 explicit cursor show/hide
6982 * BufferView_pimpl.h:
6983 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6984 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6986 * lyxfunc.C: hide cursor before dispatching.
6991 * text3.C: remove explicit cursor hides
6993 2003-05-02 André Pönitz <poenitz@gmx.net>
6995 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6998 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7001 * text2.C: tiny whitespace
7003 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * undo_funcs.C: almost only ws changes.
7007 * ParagraphList.C (splice): just return if pl is empty.
7009 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * ParagraphList.C (splice): new function.
7013 * CutAndPaste.C (pasteSelection): use it
7015 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * CutAndPaste.C (pasteSelection): remove the last next and
7018 previous from this file.
7020 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * CutAndPaste.C (pasteSelection): more clean up, user proper
7023 ParagraphList functions for pasteing.
7025 * ParagraphList.C (insert): new function, three arg insert
7027 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * ParagraphList.C (insert): new function, three arg insert
7031 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7034 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7036 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7038 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7042 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7045 (copySelection): clean up a bit.
7046 (pasteSelection): use make_pair
7048 * ParagraphList.C (ParagraphList): implement copy constructor
7049 (operator=): implement, base on copy constructor.
7052 * paragraph.C (erase): return a bool
7054 * paragraph_pimpl.C (erasePos): remove function, move contents...
7055 (erase): ... here. Return a bool.
7056 (erase): call erase instead of erasePos.
7058 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7060 * ParagraphList.h: define PitPosPair
7061 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7062 ParagraphList, fix a bug on pasting multiple pars
7063 * text2.C: change interface to C&P
7065 2003-04-30 André Pönitz <poenitz@gmx.net>
7067 * undo_func.C: revert part of yesterday's patch 2
7069 2003-04-30 John Levon <levon@movementarian.org>
7071 * LColor.C: s/tabular/table/
7073 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7075 * text3.C (dispatch): do not convert iterator -> pointer
7076 * undo_funcs.C (setCursorParUndo): ditto
7077 * text_funcs.C (transposeChars): ditto
7079 * text2.C (setLayout): ws changes only
7081 * text.C (breakParagraph): do not convert iterator -> pointer
7083 (acceptChange): ditto
7084 (rejectChange): ditto
7089 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7092 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7094 * text3.C (gotoInset): YABG (yet another bad getChar)
7096 2003-04-29 André Pönitz <poenitz@gmx.net>
7098 * paragraph.h: make operator= private unimplemented as long as
7101 * ParagraphList.C: whitespace
7104 * paragraph_pimpl.[Ch]:
7105 * paragraph_funcs.C:
7107 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7110 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7112 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7114 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7115 * paragraph.[Ch] (erase):
7116 * paragraph_pimpl.[Ch] (erase): change return type and value
7117 * text2.C (cutSelection): some rework
7119 2003-04-28 John Levon <levon@movementarian.org>
7121 * bufferlist.C: changes for unsaved changes dialog
7123 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * bufferlist.C (newFile): set language (messages_) for new
7128 * buffer.C (readFile): ws changes only.
7130 2003-04-28 André Pönitz <poenitz@gmx.net>
7135 * BufferView_pimpl.C:
7136 * BufferView.C: getParFromID related ParagraphList::iterator changes
7138 2003-04-28 André Pönitz <poenitz@gmx.net>
7140 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7143 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7145 * messages.C: remove one more localedir class variable.
7147 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * messages.C (getLocaleDir): singleton generation function
7151 (Messages): add a default constructor.
7153 * main.C (main): do not setup localedir here, do not call
7156 * gettext.C (_): use it.
7157 (gettext_init): delete funciton
7159 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7161 * gettext.C (getLyXMessages): new singleton generating function.
7163 * buffer.C (updateDocLang): adjust
7165 * Makefile.am (messages.o): add target
7166 (main.o): remove target
7168 2003-04-27 John Levon <levon@movementarian.org>
7173 * lyxvc.C: specify cancel button in Alert::prompt
7175 2003-04-26 John Levon <levon@movementarian.org>
7180 * LyXAction.C: add LFUN_INSET_SETTINGS
7182 * lyxfunc.C: don't enable tabular-feature when there's
7183 just any locking inset
7185 2003-04-26 John Levon <levon@movementarian.org>
7187 * bufferlist.C: re-add Cancel to buffer close question
7189 * lyxfunc.C: fix import UI a bit
7191 2003-04-25 John Levon <levon@movementarian.org>
7193 * gettext.C: remove the broken asserts for now
7195 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * messages.C: make case where setlocale cannot comply work better.
7199 * buffer.C (updateDocLang): new function
7200 (changeLanguage): use it
7203 * text2.C (setCounter): use B_ a bit.
7205 * lyxlayout.C (Read): be sure to trim the label strings.
7207 * messages.C (Messages): fix typo in comment
7209 * buffer.C (readFile): set message_ after file is loaded.
7210 (makeDocBookFile): remove double return
7211 (changeLanguage): reset message_ upon language change.
7212 (B_): new func, use this to get translated buffer strings.
7214 * main.C: add myself and Jean Marc as authors.
7216 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * messages.[hC]: pimplify Messages, and three different pimpls to be
7219 used in different circumstances.
7221 * gettext.[Ch]: change for use with new message code.
7223 2003-04-24 André Pönitz <poenitz@gmx.net>
7225 * factory.C: support for eqref
7227 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7229 * messages.[Ch]: add missing char
7231 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7233 * messages.[Ch]: New files
7235 2003-04-18 John Levon <levon@movementarian.org>
7239 * BufferView_pimpl.C:
7243 * text2.C: remove layout-copy/paste (bug 778)
7245 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7247 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7249 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7251 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7252 if they succeed. Act accordingly.
7254 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * text2.C (setCharFont): adjust
7257 (setCounter): adjust
7258 (insertStringAsLines): adjust
7260 * text.C (leftMargin): adjust
7261 (setHeightOfRow): adjust
7263 * rowpainter.C (paintFirst): adjust
7266 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7268 (isFirstInSequence): ditto
7269 (getEndLabel): ditto
7272 * paragraph.C (getParLanguage): comment out some hard stuff.
7274 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7276 (simpleDocBookOnePar): ditto
7277 (makeDocBookFile): use ParagraphList::iterator
7279 * CutAndPaste.C (pasteSelection): adjust
7281 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7283 * text2.C (getFont): adjust
7284 (getLayoutFont): adjust
7285 (getLabelFont): adjust
7287 * paragraph_funcs.C (TeXOnePar): adjust
7289 * buffer.C (simpleLinuxDocOnePar): adjust
7290 (simpleDocBookOnePar): adjust
7292 * CutAndPaste.C (pasteSelection): adjust
7294 * BufferView.C (getEncoding): adjust
7296 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7298 2003-04-16 John Levon <levon@movementarian.org>
7300 * lyxfind.C: use parlist stuff for search/changes
7302 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7306 * text2.C (deleteEmptyParagraphMechanism): adjust
7308 * text2.[Ch] (ownerParagraph): delete func (both of them
7310 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7312 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7314 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7316 * ParagraphList.C: prepare for NO_NEXT
7318 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * text2.C (getFont): adjust
7321 (getLayoutFont): adjust
7322 (getLabelFont): adjust
7324 * paragraph.C (getFont): adjust
7325 (getLabelFont): adjust
7326 (getLayoutFont): adjust
7328 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7330 2003-04-15 John Levon <levon@movementarian.org>
7334 * lyx_main.C: handle Include in .ui files
7336 2003-04-15 John Levon <levon@movementarian.org>
7338 * MenuBackend.C: make the doc files length shorter
7341 * ToolbarBackend.C: handle toolbar placement flags,
7344 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7349 * paragraph_funcs.C (TeXOnePar): adjust
7351 * paragraph.C (getLabelFont): add outerfont arg, adjust
7352 (getLayoutFont): ditto
7353 (simpleTeXOnePar): adjust
7355 * paragraph_pimpl.C (realizeFont): delete func
7357 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7359 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7360 row argument, constify cur argument.
7362 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * text2.C (getFont): adjust
7365 (getLayoutFont): adjust
7366 (getLabelFont): adjust
7368 * paragraph_funcs.C (TeXOnePar): adjust
7369 (outerFont): new func...
7370 (realizeFont): ...moved out from here, changed this to facilitate
7373 * paragraph.C (getFont): take outerfont as arg, adjust
7374 (simpleTeXOnePar): add outerfont arg, adjust
7376 * buffer.C (simpleLinuxDocOnePar): adjust
7377 (simpleDocBookOnePar): adjust
7379 * CutAndPaste.C (pasteSelection): adjust
7381 * BufferView.C (getEncoding): adjust
7383 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7385 * text2.C (setCharFont): adjust
7386 (setCounter): adjust
7388 * text.C (leftMargin): adjust
7389 (setHeightOfRow): adjust
7391 * rowpainter.C (paintFirst): adjust
7394 * paragraph_pimpl.C (realizeFont): adjust
7396 * paragraph.C (isFirstInSequence): move from here...
7397 * paragraph_funcs.C (isFirstInSequence): ...to here
7399 * paragraph.C (outerHook): move from here...
7400 * paragraph_funcs.C (outerHook): ...to here
7402 * paragraph.C (depthHook): move from here...
7403 * paragraph_funcs.C (depthHook): ...to here
7405 * paragraph.C (getEndLabel): move from here...
7406 * paragraph_funcs.C (getEndLabel): ...to here
7408 * text2.C (realizeFont): move from here...
7409 * paragraph_funcs.C (realizeFont): ...to here
7411 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7415 2003-04-14 Angus Leeming <leeming@lyx.org>
7417 * LColor.[Ch]: scrap LColor mathcursor.
7419 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * lyxlex.[Ch] (text): delete function
7422 * trans.C (Load): adjust
7423 * paragraph_funcs.C (readParToken): adjust
7425 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7427 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7428 vector<char> instead of a char[].
7430 * lyxlex_pimpl.C (getString): adjust
7432 (lex): use getString
7436 * lyxlex.C (text): use pimpl_->getString()
7440 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7443 (makeFontEntriesLayoutSpecific): temp var for par.size()
7444 (setLayout): temp var for ownerParagraphs().end()
7445 (fullRebreak): temp var for rows().end()
7446 (selectionAsString): temp var for boost::next(startpit), realize
7447 that the while really is a regular for loop.
7448 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7449 setCursor in one place.
7450 (setParagraph): temp vr for ownerParagraphs().end()
7451 (updateCounters): make the while loop a for loop
7452 (cutSelection): temp var for ownerParagraphs().end()
7453 (updateInset): make the do {} while() a regular for loop
7454 (getCursorX): use temp vars
7455 (setCurrentFont): use temp vars
7456 (getColumnNearX): use temp vars
7458 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7460 * text.C (transformChar): use temp var for getChar
7461 (computeBidiTables): use temp var for row->par()
7462 (fill): move temp vars for row->par() and pit->layout() earlier in
7464 (labelFill): use temp var for row->par()
7465 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7466 asc and desc, realize that pit never changes and that firstpit is
7467 just a duplicate and not needed. Exchange rit->par() with pit in a
7469 (breakAgain): use a temp var for boost::next(rit)
7470 (breakAgainOneRow): ditto
7471 (breakParagraph): use a temp var for rows().begin()
7472 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7473 (cursorRightOneWord): use temp var for cursor.par() and
7474 cursor.pos(), remove usage of tmpcursor.
7475 (cursorLeftOneWord): use temp var for cursor.par() and
7476 cursor.pos() only set cur at end of function.
7478 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7480 * text.C, text2.C: exchange all usage of Paragraph::next with
7481 boost::next(ParagraphList::iterator)
7483 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7485 * text2.C (cursorTop): simplify implementation
7486 (cursorBottom): ditto
7487 (setParagraph): use ParagraphList::iterator
7488 (setCurrentFont): adjust
7489 (getColumnNearX): adjust
7490 (cursorRight): adjust
7491 (cursorLeft): remove usage of Paragraph::previous
7492 (cursorUpParagraph): ditto
7493 (deleteEmptyParagraphMechanism): slight cleanup
7495 * text.C (isBoundary): take a Paragraph const & instead of a
7497 (addressBreakPoint): ditto
7498 (leftMargin): remove usage of Paragraph::previous.
7499 (setHeightOfRow): ditto
7500 (cursorLeftOneWord): ditto
7501 (selectNextWordToSpellcheck): ditto
7504 (breakParagraph): remove one usage of Paragraph::next
7505 (redoParagraph): ditto
7506 (acceptChange): ditto
7507 (insertChar): adjust
7508 (rowBreakPoint): adjust
7510 * bufferview_funcs.C (toggleAndShow): adjust
7512 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7514 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7515 methods to access it.
7517 * text.C: Added updateRowPositions to compute all row positions.
7518 Make top_y and getRowNearY() to use the cached y position
7520 2003-04-11 John Levon <levon@movementarian.org>
7522 * text.C (rowBreakPoint): reintroduce the labelEnd
7523 checks, code copied from the row fill stuff. Deep voodoo.
7525 * text.C (fill): add a comment and debugging for the
7528 2003-04-11 John Levon <levon@movementarian.org>
7530 * text.C: make sure fullrow insets get wrapped to the next line,
7531 even when they're in a manual label
7533 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * text2.C (insertParagraph): make it take ParagraphList::iterator
7537 (setLayout): make it return ParagraphList::iterator
7538 (redoParagraphs): ditto
7540 (checkParagraph): ditto
7542 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7544 * text2.C: adjust several funcs.
7545 (realizeFont): take a ParagraphList::iterator as arg.
7546 (getLayoutFont): ditto
7547 (getLabelFont): ditto
7548 (setCharFont): ditto
7550 * text.C: adjust several funcs.
7552 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7554 * text.C (selectNextWordToSpellcheck): don't accidentally
7557 2003-04-10 John Levon <levon@movementarian.org>
7559 * ToolbarBackend.C (getIcon): special handling for
7562 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7564 * text2.C (cursorRight): a getChar assert fixed
7566 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * text2.C (getFont): change to take a ParagraphList::iterator
7569 instead of Paragraph*
7570 Adjust several functions.
7572 * text.C (transformChar): change to take a ParagraphList::iterator
7573 instead of Paragraph*
7574 (singleWidth): ditto
7575 Adjust several functions.
7577 * rowpainter.C: adjust several functions
7578 * rowpainter.h:store a ParagraphList::iterator and not a
7582 2003-04-09 John Levon <levon@movementarian.org>
7587 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7588 and the "help" bits as well
7590 2003-04-09 John Levon <levon@movementarian.org>
7593 * ToolbarBackend.C: allow multiple toolbars
7595 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * undo_funcs.C (setCursorParUndo): adjust
7599 * text_funcs.C (transposeChars): adjust
7601 * text3.C (gotoNextInset): adjust
7604 * text2.C (setLayout): adjust
7605 (changeDepth): adjust
7607 (redoParagraphs): adjust
7608 (selectionAsString): adjust
7609 (setParagraph): adjust
7610 (insertInset): adjust
7611 (cutSelection): adjust
7612 (copySelection): adjust
7613 (pasteSelection): adjust
7614 (insertStringAsLines): adjust
7615 (updateInset): adjust
7616 (setCursor): change to take a ParagraphList::iterator parameter
7617 (setCursorIntern): change to take a ParagraphList::iterator parameter
7618 (setCurrentFont): adjust
7619 (cursorLeft): adjust
7620 (cursorRight): adjust
7621 (deleteEmptyParagraphMechanism): adjust
7623 * text.C (breakParagraph): adjust
7624 (insertChar): adjust
7625 (acceptChange): adjust
7626 (rejectChange): adjust
7627 (selectNextWordToSpellcheck): adjust
7628 (changeCase): adjust
7632 * lyxfind.C (SearchForward): adjust
7633 (SearchBackward): adjust
7634 (nextChange): adjust
7636 * lyxcursor.C (par): adjust
7638 * lyxcursor.h: store a ParagraphList::iterator instead of a
7641 * lyx_cb.C (getPossibleLabel): adjust
7643 * bufferview_funcs.C (toggleAndShow): adjust
7645 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7648 * BufferView.C (removeAutoInsets): adjust
7649 (lockedInsetStoreUndo): adjust
7651 2003-04-09 John Levon <levon@movementarian.org>
7653 * ToolbarBackend.C: try icon without argument
7654 if with argument fails
7656 2003-04-08 John Levon <levon@movementarian.org>
7659 * ToolbarBackend.C: add getIcon(), handle tooltip,
7660 and change from "Icon" to "Item".
7662 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7664 * BufferView.C (lockInset): another bad getchar crunched
7666 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7668 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7671 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7673 * lyxfind.C (searchForward, searchBackwards): bug 782
7675 2003-04-07 John Levon <levon@movementarian.org>
7677 * paragraph.C: remove dead comment
7679 * text.C: remove troublesome depth-fiddling code
7680 in leftMargin() and rightMargin() (bug 1017)
7682 * text.C: fix breaking of rows in nested lists
7685 * text2.C (updateCounters): fix up depth values
7688 2003-04-07 John Levon <levon@movementarian.org>
7690 * BufferView_pimpl.C: clear message when doc finishes resizing,
7691 and after a mouse event
7693 * lyxfunc.C: clear message after exiting inset
7695 2003-04-07 John Levon <levon@movementarian.org>
7697 * bufferview_funcs.C: show math status not outside
7698 status in the statusbar
7700 2003-04-07 John Levon <levon@movementarian.org>
7702 * lyxfunc.C: note status changed after a depth change
7704 2003-04-04 Angus Leeming <leeming@lyx.org>
7706 * LaTeX.h: move AuxInfo operator==, != out of line.
7707 Remove LaTeX virtual destructor; nothing derives from it.
7708 Move operator()() out of public area and rename it startscript().
7709 Change protected for private.
7711 2003-04-04 Angus Leeming <leeming@lyx.org>
7714 * text2.C: remove unneeded #includes.
7716 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7718 * text2.C (dEPM): fix the heigth of the next row
7720 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7722 * text.C: squashed an invalid getChar requester + some ws changes
7724 2003-04-03 John Levon <levon@movementarian.org>
7726 * bufferview_funcs.h:
7727 * bufferview_funcs.C:
7730 * text2.C: make getStatus work for the env depth lfuns
7732 2003-04-03 John Levon <levon@movementarian.org>
7734 * bufferview_funcs.h:
7735 * bufferview_funcs.C:
7738 * text2.C: parlistize decDepth(), by merging it with incDepth()
7740 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * lyxrow.h: store a ParagraphList::iterator instead of a
7743 Paragraph* and adjust other class functions to suit.
7745 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7748 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7750 * text2.C (setCursor): do not anchor to cursor row for the time being
7752 2003-04-02 John Levon <levon@movementarian.org>
7759 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7761 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * paragraph.h: make ParagraphList and ParagraphList::iterator
7764 friends of Paragraph.
7766 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7768 * ParagraphList.C: Use the private next_ and previous_ from
7771 2003-04-01 John Levon <levon@movementarian.org>
7775 * Makefile.am: rename, remove defaults gunk
7778 * MenuBackend.C: remove defaults gunk
7781 * Languages.C: remove defaults gunk
7784 * lyx_main.C: error out if files couldn't be found.
7786 2003-04-02 John Levon <levon@movementarian.org>
7788 * text2.C: make incDepth() use parlist
7790 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * undo_funcs.C (firstUndoParagraph): adjust
7794 * text3.C (gotoInset): adjust
7795 (dispatch): adjust, and rewrite loop.
7797 * text2.C (init): adjust, and rewrite loop.
7798 (redoParagraphs): adjust
7799 (updateInset): adjust, and rewrite loop.
7800 (deleteEmptyParagraphMechanism): adjust
7802 * tabular.C (LyXTabular): adjust
7803 (SetMultiColumn): adjust
7806 * lyxtext.[Ch] (ownerParagraph): delete function
7807 (ownerParagraphs): new function returns a ParagraphList.
7809 * BufferView.C (removeAutoInsets): adjust
7810 (insertErrors): adjust
7811 (setCursorFromRow): adjust
7813 2003-04-01 Angus Leeming <leeming@lyx.org>
7815 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7818 2003-04-02 John Levon <levon@movementarian.org>
7824 * text_funcs.C: make transposeChars a free function
7826 * lyxrow_funcs.C: remove wrong comment
7828 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7831 * rowpainter.C: adjust
7836 * lyxrow_funcs. [Ch]: new files
7838 * lyxrow.[Ch]: remove next and previous pointers
7839 (next,previous): remove accessor functions
7840 (isParEnd): move to lyxrow_funcs
7841 (lastPos): move to lyxrow_funcs
7842 (nextRowIsAllInset): move to lyxrow_funcs
7843 (lastPrintablePos): move to lyxrow_funcs
7844 (numberOfSeparators): move to lyxrow_funcs
7845 (numberOfHfills): move to lyxrow_funcs
7846 (numberOfLabelHfills): move to lyxrow_funcs
7847 (hfillExpansion): move to lyxrow_funcs
7851 * bufferview_funcs.C (toggleAndShow): adjust
7853 * RowList.h: Remove class RowList from file leave just a
7856 * RowList.C: delete file
7858 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7861 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * text3.C (cursorPrevious): adjust
7864 (cursorNext): adjust
7867 * text2.C (redoHeightOfParagraph): adjust
7868 (redoDrawingOfParagraph): adjust
7871 * text.C (breakParagraph): adjust
7872 (insertChar): adjust
7875 * rowpainter.C (RowPainter): adjust
7876 (leftMargin): simplify and adjust
7877 (most rowpainter functions): adjust.
7879 * rowpainter.h: store the row as RowList::iterator not as Row*
7881 * lyxcursor.C (row): taka RowList::iterator as arg
7884 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7887 2003-04-01 Angus Leeming <leeming@lyx.org>
7889 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7890 stuff like bool Bool.
7892 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7894 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7897 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7902 * lyxtext.h (rows): drop one version and leve a const variant that
7903 returns a RowList::iterator.
7905 2003-03-31 Angus Leeming <leeming@lyx.org>
7907 * text.C (fill): ensure that the signature is the same as that in the
7910 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * text2.C (redoParagraphs): adjust
7913 (updateCounters): adjust
7914 (checkParagraph): adjust
7915 (getColumnNearX): adjust and reformat a bit.
7917 * text.C (top_y): adjust
7919 (leftMargin): adjust
7920 (prepareToPrint): adjust
7922 (getRowNearY): adjust
7924 * lyxtext.h: make rowlist_ mutable.
7926 * RowList.h: add const_iterator
7927 * RowList.C: adjust for RowList::const_iterator.
7929 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7932 2003-03-31 John Levon <levon@movementarian.org>
7935 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7937 * lyx_main.C: set default fonts from using lyx_gui funcs
7939 * exporter.C: pdf_mode moved from lyxrc
7942 * lyxfunc.C: changes from above
7944 2003-03-31 John Levon <levon@movementarian.org>
7946 * lyx_main.C: fix to the last fix
7948 2003-03-31 John Levon <levon@movementarian.org>
7950 * bufferlist.C: "Load original" -> "Load Original"
7956 * format.C: more Alert cleanups
7958 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * text2.C (removeParagraph): make it take a RowList::iterator as
7962 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7963 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7965 * text.C (anchor_row): make it take a RowList::iterator as arg,
7967 (computeBidiTables): make it take a const reference to Row instead
7968 of Row pointer, adjust.
7969 (leftMargin): make it take a RowList::iterator as arg, adjust.
7970 (rowBreakPoint): adjust
7971 (breakAgainOneRow): make it take a RowList::iterator as arg,
7973 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7975 * bufferview_funcs.C (toggleAndShow): adjust
7977 2003-03-30 John Levon <levon@movementarian.org>
7981 * boost-inst.C: moved to support
7983 * several files: changes as a result
7985 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * text2.C (LyXText): adjust.
7989 (removeRow): make it take a RowList::iterator as arg, adjust.
7990 (fullRebreak): adjust
7991 (deleteEmptyParagraphMechanism): adjust
7992 (clearPaint): adjust
7995 * text.C (top_y): adjust
7996 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7997 (breakAgain): make it take a RowList::iterator as arg, adjust.
7998 (breakParagraph): adjust
7999 (insertChar): adjust
8002 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8003 need_break_row, and refresh_row.
8005 * text3.C (dispatch): adjust
8007 * text2.C (checkParagraph): adjust
8009 (setCursorFromCoordinates): adjust
8011 * text.C (top_y): adjust
8013 (getRow): make it return a RowList::iterator, adjust
8014 (getRowNearY): make it return a RowList::iterator, adjust
8016 * text2.C (init): adjust
8017 (insertRow): remove function
8018 (insertParagraph): adjust
8019 (redoParagraphs): adjust
8020 (fullRebreak): adjust
8021 (updateCounters): adjust
8023 * text.C (top_y): rewrite to use RowList iterators.
8025 (setHeightOfRow): rewrite to sue RowList iterators.
8026 (appendParagraph): adjust
8027 (breakAgain): adjust
8028 (breakAgainOneRow): adjust
8029 (breakParagraph): adjust
8031 (getRowNearY): adjust, and remove commented code.
8033 * lyxtext.h (firstRow): delete function
8034 (lastRow): delete function
8035 (rows): new function (const and non-const versions.)
8036 (insertRow): delete function
8038 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8040 2003-03-29 John Levon <levon@movementarian.org>
8042 * BufferView_pimpl.C: always update scrollbar top
8043 because pasting text when we're anchored could mean we
8044 miss an update altogether
8046 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * text2.C (init): use rowlist_.end() and not 0.
8049 (insertRow): change to take a RowList::iterator as arg, adjust
8051 (insertParagraph): change to take a RowList::iterator as arg,
8053 (redoParagraphs): remove some debug msgs.
8055 * text.C (appendParagraph): change to take a RowList::iterator
8056 arg, adjust for this.
8057 (breakAgain): add an assert
8058 (breakAgainOneRow): ditto
8060 2003-03-29 John Levon <levon@movementarian.org>
8062 * text2.C: do not clear selection after inc/decDepth
8065 2003-03-29 John Levon <levon@movementarian.org>
8068 * buffer.C: fix broken strerrors according to Lars
8070 2003-03-29 John Levon <levon@movementarian.org>
8072 * converters.C: more Alert cleanups
8074 2003-03-29 John Levon <levon@movementarian.org>
8076 * bufferview_funcs.C: remove pointless Alert
8078 * buffer.C: fix confusing error message when
8079 a template is chmoded 000
8081 2003-03-29 John Levon <levon@movementarian.org>
8085 * BufferView_pimpl.C: Alert fixes
8089 * tabular-old.C: remove unused table compat reading
8091 2003-03-29 John Levon <levon@movementarian.org>
8096 * lyx_cb.C: more Alert cleanups
8098 * lyxfunc.C: don't allow chktex if not latex document
8100 2003-03-29 John Levon <levon@movementarian.org>
8104 * buffer.C: warnings pushed down from support/,
8107 2003-03-29 John Levon <levon@movementarian.org>
8109 * lyxfunc.C: safety check for C-r (revert)
8111 2003-03-29 John Levon <levon@movementarian.org>
8114 * bufferlist.C: several UI fixes using Alert::prompt.
8115 Fix the pointless looping quit code. Fix stupid revert
8120 * lyx_cb.C: use Alert::prompt
8122 * lyx_main.C: remove a silly question
8124 * lyxfunc.C: remove a couple of silly questions,
8127 2003-03-28 John Levon <levon@movementarian.org>
8129 * text2.C: fix bug 974 (End on empty par)
8131 2003-03-28 John Levon <levon@movementarian.org>
8133 * BufferView_pimpl.C:
8135 * lfuns.h: remove do-nothing math greek lfuns
8137 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * lyxgluelength.h (isValidGlueLength): add default arg on
8140 parameter 2. Remove default arg from friend in class.
8142 * lyxlength.h (isValidLength): add default arg on parameter 2.
8143 Remove default arg from friend in class.
8145 * text2.C (LyXText): adjust, initialize refresh_row.
8149 (insertParagraph): adjst
8150 (redoParagraphs): adjust
8151 (fullRebreak): adjust
8152 (updateCounters): adjust
8153 (deleteEmptyParagraphMechanism): first attempt at fixing a
8156 * text.C (top_y): adjust
8157 (setHeightOfRow): adjust
8159 (getRowNearY): adjust
8161 * lyxtext.h: include RowList.h
8162 (~LyXText): not needed anymore, deleted.
8163 (firstRow): modify for RowList
8164 (lastRow): new function
8165 Delete firstrow and lastrow class variables, add a Rowlist
8166 rowlist_ class variable.
8168 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8171 * RowList.C (insert): fix case where it == begin().
8173 2003-03-26 Angus Leeming <leeming@lyx.org>
8175 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8176 the thesaurus dialog.
8178 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8180 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8182 * RowList.[Ch]: new files
8184 * ParagraphList.C (erase): handle the case where it == begin
8187 2003-03-25 John Levon <levon@movementarian.org>
8191 * aspell.C: add new aspell support
8194 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8197 2003-03-25 Angus Leeming <leeming@lyx.org>
8200 * LyXAction.C (init): new LFUN_INSET_INSERT.
8202 * BufferView_pimpl.C (dispatch): split out part of the
8203 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8205 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8208 2003-03-25 Angus Leeming <leeming@lyx.org>
8210 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8212 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8215 * text3.C: remove useless row->height(0)
8217 2003-03-25 John Levon <levon@movementarian.org>
8221 * text3.C: rename the refreshing stuff to better names
8223 2003-03-24 John Levon <levon@movementarian.org>
8225 * BufferView_pimpl.h:
8226 * BufferView_pimpl.C: update layout choice on a mouse
8229 2003-03-23 John Levon <levon@movementarian.org>
8231 * Makefile.am: fix commandtags.h reference
8233 2003-03-22 John Levon <levon@movementarian.org>
8235 * BufferView_pimpl.C:
8240 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8242 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8245 * text.C: take the rtl methods out of line
8247 2003-03-21 André Pönitz <poenitz@gmx.net>
8249 * metricsinfo.[Ch]: new files containing structures to be passed around
8250 during the two-phase-drawing...
8252 2003-03-21 André Pönitz <poenitz@gmx.net>
8254 * lyxtextclass.C: read 'environment' tag.
8256 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8258 * text2.C (removeRow): fix bug 964
8260 2003-03-20 John Levon <levon@movementarian.org>
8264 * text2.C: paint cleanups. Inset::update() dropped font
8267 2003-03-19 John Levon <levon@movementarian.org>
8269 * lyxfunc.C: only fitcursor/markDirty if available()
8271 2003-03-19 John Levon <levon@movementarian.org>
8273 * commandtags.h: rename to ...
8275 * lfuns.h: ... this, and renumber / cleanup
8277 2003-03-19 John Levon <levon@movementarian.org>
8279 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8280 fit the cursor after an lfun
8284 * BufferView_pimpl.h:
8285 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8287 * LyXAction.C: layout-character should have ReadOnly
8289 * ParagraphParameters.C:
8291 * bufferview_funcs.C:
8298 * undo_funcs.C: changes from above
8300 2003-03-18 John Levon <levon@movementarian.org>
8302 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8303 remove it from update()
8305 * lyxfunc.C: update layout choice after an lfun
8307 * text3.C: remove extra updateLayoutChoice()s
8309 2003-03-18 John Levon <levon@movementarian.org>
8311 * text.C: top_y change means full repaint, fix
8312 a drawing bug with cursor movement
8314 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8318 * text2.C: anchor row on setCursor
8320 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8322 * lyxtext.h: remove almost all mutable keywords
8325 * text3.C: remove const keywords accordingly
8327 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8329 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8331 (TeXEnvironment): ditto
8334 2003-03-17 John Levon <levon@movementarian.org>
8336 * text.C (rowBreakPoint): remove attempt to fix displayed
8337 math insets inside a manual label
8339 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8341 * lyxtext.h: remove BufferView* as first arg from almost all class
8343 * other files: adjust.
8345 2003-03-17 John Levon <levon@movementarian.org>
8349 * text2.C: more paint cleanups
8351 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8354 * rowpainter.C: remove "smart" background painting code
8356 2003-03-16 John Levon <levon@movementarian.org>
8361 * text3.C: add helper functions for setting refresh_row/y
8363 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8365 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8366 newline inset which *can* get inserted in the pass_thru layouts.
8367 This is primarily for literate documents.
8369 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8371 * buffer.C: increment LYX_FORMAT to 223
8373 2003-03-14 André Pönitz <poenitz@gmx.net>
8375 * textclass.h: prepare for environment handling, ws changes
8376 * lyxlayout.C: read latexheader and latexfooter tags
8378 2003-03-14 John Levon <levon@movementarian.org>
8380 * text2.C: rewrite ::status() a bit
8382 2003-03-13 John Levon <levon@movementarian.org>
8384 * lyxtext.h: add some docs
8386 2003-03-13 John Levon <levon@movementarian.org>
8391 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8393 2003-03-13 John Levon <levon@movementarian.org>
8395 * text3.C: fix appendix redrawing
8397 2003-03-13 John Levon <levon@movementarian.org>
8399 * text.C (setHeightOfRow):
8401 * rowpainter.C: make appendix mark have the text
8402 "Appendix" so the user knows what it is
8405 * LColor.C: s/appendixline/appendix/ from above
8407 2003-03-13 John Levon <levon@movementarian.org>
8409 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8411 * text.C: fix a getChar(pos) bug properly
8413 2003-03-13 Angus Leeming <leeming@lyx.org>
8416 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8417 Probably only temporary. Let's see how things pan out.
8419 * BufferView.C (unlockInset):
8420 * BufferView_pimpl.C (fitCursor):
8421 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8423 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8424 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8426 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8427 new functions that convert ParagraphParameters to and from a string.
8429 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8430 BufferView::Pimpl's dispatch.
8431 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8433 2003-03-13 André Pönitz <poenitz@gmx.net>
8437 * factory.C: make it aware of InsetEnv
8439 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8441 * text2.C (setCursor): never ask for one past last
8442 (setCursor): add some debugging messages.
8444 * text.C (singleWidth): never ask for one past last
8445 (singleWidth): ditto
8447 (rightMargin): ditto
8448 (rowBreakPoint): ditto
8449 (setHeightOfRow): ditto
8450 (prepareToPrint): ditto
8452 * rowpainter.C (paintBackground): never ask for one past last
8453 (paintText): never ask for one past last
8455 * paragraph_pimpl.C (getChar): make the assert stricter, never
8456 allow the one past last pos to be taken
8458 * paragraph.C (getChar): ws changes only
8460 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8461 (numberOfSeparators): ditto
8462 (numberOfHfills): ditto
8464 2003-03-12 John Levon <levon@movementarian.org>
8470 * paragraph_funcs.C: fix per-buffer authorlists
8472 2003-03-12 John Levon <levon@movementarian.org>
8474 * text.C: fix newline in right address
8476 2003-03-12 Angus Leeming <leeming@lyx.org>
8478 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8479 duplicate those in LyXFunc::dispatch.
8483 * ToolbarDefaults.C:
8484 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8485 Add LFUN_FONTFREE_UPDATE.
8487 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8488 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8490 * bufferview_func.[Ch]: several new functions to facilliate
8491 transfer of data to and from the character dialog.
8493 2003-03-12 John Levon <levon@movementarian.org>
8498 * paragraph_funcs.C:
8499 * paragraph_pimpl.C:
8503 * text3.C: remove META_NEWLINE in favour of an inset
8506 * rowpainter.C: remove paintNewline (done by inset)
8508 2003-03-12 John Levon <levon@movementarian.org>
8510 * paragraph_pimpl.C: complain about bad getChar()s
8511 for a while at least
8513 2003-03-12 John Levon <levon@movementarian.org>
8516 * buffer.C: move paragraph read into a separate function,
8517 a little renaming to reflect that.
8520 * bufferparams.C: remove the author_ids map, not necessary now
8523 * factory.C: moved Buffer::readInset to here
8525 * paragraph_funcs.h:
8526 * paragraph_funcs.C: readParagraph free function moved from
8529 * tabular.C: name change
8531 2003-03-12 John Levon <levon@movementarian.org>
8534 * ParagraphParameters.C: move par params input to
8537 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8538 behave like a normal read from the stream wrt reading
8539 a line vs. a \\token
8541 2003-03-12 John Levon <levon@movementarian.org>
8544 * ParagraphParameters.h:
8545 * ParagraphParameters.C: move output code to a
8548 2003-03-12 John Levon <levon@movementarian.org>
8550 * BufferView.C (insertLyXFile):
8553 * tabular.C: use a parlist iterator for creating the
8556 2003-03-12 John Levon <levon@movementarian.org>
8558 * buffer.C: make current_change static local not
8561 2003-03-12 John Levon <levon@movementarian.org>
8563 * buffer.C: fix insertStringAsLines for change tracking
8565 2003-03-12 John Levon <levon@movementarian.org>
8572 * bufferparams.C: move author list into params. Rename some
8573 functions. Move the header reading into a separate token
8574 loop. Move the header token reading into BufferParams.
8576 2003-03-12 John Levon <levon@movementarian.org>
8578 * changes.C: put debug inside lyxerr.debugging() checks
8580 2003-03-11 André Pönitz <poenitz@gmx.net>
8582 * factory.C: make it aware of InsetHFill
8584 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8586 * buffer.C (latexParagraphs): move function from here...
8587 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8590 2003-03-10 Angus Leeming <leeming@lyx.org>
8592 * LyXAction.C (init): fix bug in poplating array with multiple entries
8593 with the same LFUN (spotted by JMarc).
8595 2003-03-10 John Levon <levon@movementarian.org>
8598 * text2.C: move getColumnNearX() near its
8601 2003-03-10 John Levon <levon@movementarian.org>
8603 * text.C: fix break before a minipage
8605 2003-03-10 John Levon <levon@movementarian.org>
8607 * text.C: fix the last commit
8609 2003-03-09 John Levon <levon@movementarian.org>
8613 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8614 bug 365 (don't break before insets unless needed). Don't
8615 return a value > last under any circumstances.
8617 2003-03-09 Angus Leeming <leeming@lyx.org>
8619 * BufferView_pimpl.C (trackChanges, dispatch): call
8620 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8622 2003-03-09 Angus Leeming <leeming@lyx.org>
8624 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8625 than Dialogs::showAboutlyx().
8627 2003-03-09 Angus Leeming <leeming@lyx.org>
8629 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8630 than Dialogs::showTabularCreate().
8632 2003-03-09 John Levon <levon@movementarian.org>
8636 * text2.C: 3rd arg to nextBreakPoint was always the same.
8639 2003-03-08 John Levon <levon@movementarian.org>
8646 * text2.C: Remove the "main" bit from the "main body"
8649 2003-03-08 John Levon <levon@movementarian.org>
8651 * text.C (leftMargin): The left margin of an empty
8652 manual label paragraph should not include the label width
8655 * text.C (prepareToPrint): don't attempt to measure hfills
8656 for empty manual label paragraphs - the answer should be 0
8658 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8660 * CutAndPaste.C: remove commented code and reindent.
8662 2003-03-08 John Levon <levon@movementarian.org>
8665 * lyxfunc.C: move reloadBuffer()
8668 * BufferView.C: to here
8670 * lyxvc.C: add comment
8673 * vc-backend.C: call bv->reload() to avoid
8674 getStatus() check on MENURELOAD
8676 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8678 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8679 to an old format .dep file.
8681 2003-03-07 Angus Leeming <leeming@lyx.org>
8683 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8684 when the LFUN_MOUSE_RELEASE should have been handled by
8685 inset->localDispatch.
8687 2003-03-07 Angus Leeming <leeming@lyx.org>
8689 * BufferView_pimpl.C (dispatch):
8690 * LyXAction.C (init):
8691 * ToolbarDefaults.C (init):
8693 * lyxfunc.C (getStatus):
8694 remove LFUN_INSET_GRAPHICS.
8696 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8698 2003-03-07 Angus Leeming <leeming@lyx.org>
8701 * LyXAction.C (init):
8702 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8704 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8707 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8709 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8710 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8712 2003-03-07 Angus Leeming <leeming@lyx.org>
8714 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8717 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * ParagraphList.C (front): new function
8722 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8724 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8725 and top_row_offset_. removed var first_y.
8727 * text2.C (LyXText, removeRow):
8729 * BufferView_pimpl.C:
8730 use these methods instead of using first_y
8732 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8734 * text2.C (pasteSelection): adjust for checkPastePossible
8736 * CutAndPaste.C: remove Paragraph * buf and replace with
8737 ParagraphList paragraphs.
8738 (DeleteBuffer): delete
8739 (cutSelection): change the tc type to textclass_type
8740 (copySelection): change the tc type to textclass_type
8741 (copySelection): adjust for ParagraphList
8742 (pasteSelection): change the tc type to textclass_type
8743 (pasteSelection): adjust for Paragraphlist
8744 (nrOfParagraphs): simplify for ParagraphList
8745 (checkPastePossible): simplify for ParagraphList
8746 (checkPastePossible): remove unused arg
8748 * ParagraphList.C (insert): handle the case where there are no
8751 * CutAndPaste.h: make CutAndPaste a namespace.
8753 * text3.C (dispatch): adjust
8755 * text.C (breakParagraph): add a ParagraphList as arg
8757 * paragraph_funcs.C (breakParagraph): change to take a
8758 BufferParams and a ParagraphList as args.
8759 (breakParagraphConservative): ditto
8760 (mergeParagraph): ditto
8761 (TeXDeeper): add a ParagraphList arg
8762 (TeXEnvironment): ditto
8765 * buffer.C (readLyXformat2): adjust
8766 (insertStringAsLines): adjust
8767 (latexParagraphs): adjust
8769 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8770 (cutSelection): adjust
8771 (pasteSelection): adjust
8773 * BufferView_pimpl.C (insertInset): adjust
8775 2003-03-05 Angus Leeming <leeming@lyx.org>
8778 * LyXAction.C (init):
8779 * BufferView_pimpl.C (dispatch):
8780 * lyxfunc.C (getStatus):
8781 remove LFUN_CHILD_INSERT.
8783 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8785 2003-03-05 Angus Leeming <leeming@lyx.org>
8788 * LyXAction.C (init):
8789 * src/factory.C (createInset):
8790 * lyxfunc.C (getStatus):
8791 * text3.C (dispatch):
8792 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8794 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8796 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8798 * ParagraphList.C (insert): handle insert right before end()
8799 (erase): fix cases where it can be first or last paragraph.
8801 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8803 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8804 Paragraph::next and Paragraph::previous
8807 * text.C (breakParagraph): adjust
8809 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8810 BufferParams& as arg.
8811 (breakParagraph): use ParagraphList::insert
8812 (breakParagraphConservative): take a Buffer* instead of a
8813 BufferParams& as arg.
8814 (breakParagraphConservative): use ParagraphList::insert.
8816 * buffer.C (insertStringAsLines): un-const it
8817 (insertStringAsLines): adjust
8819 * ParagraphList.C (insert): new function
8821 * CutAndPaste.C (pasteSelection): adjust
8823 * text.C (backspace): adjust
8825 * tabular.C (SetMultiColumn): adjust
8827 * CutAndPaste.C (cutSelection): adjust
8828 (pasteSelection): adjust
8830 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8831 Buffer const * as arg
8833 * ParagraphList.C (erase): new function
8834 * paragraph_funcs.C (mergeParagraph): use it
8835 (mergeParagraph): make it take a Buffer* instead of a
8836 BufferParams* as arg
8838 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8840 (breakParagraphConservative): ditto
8842 * paragraph.h: remove the breakParagraph friend
8844 * paragraph.C (eraseIntern): new function
8845 (setChange): new function
8847 * paragraph_funcs.C (mergeParagraph): make it take a
8848 ParagraphList::iterator instead of a Paragraph *, adjust
8851 * paragraph.h: move an #endif so that the change tracking stuff
8852 also works in the NO_NEXT case.
8854 2003-03-04 Angus Leeming <leeming@lyx.org>
8857 * LyXAction.C: new LFUN_INSET_MODIFY.
8859 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8860 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8862 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * several files: ws changes only
8866 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8867 (TeXEnvironment): ditto
8870 * buffer.C (makeLaTeXFile): adjust
8871 (latexParagraphs): make it take ParagraphList::iterator as args
8873 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8875 * buffer.C (latexParagraphs): adjust
8877 * paragraph.C (TeXOnePar): move function...
8878 (optArgInset): move function...
8879 (TeXEnvironment): move function...
8880 * paragraph_pimpl.C (TeXDeeper): move function...
8881 * paragraph_funcs.C: ...here
8883 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8885 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * buffer.C (readInset): remove compability code for old Figure and
8890 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8892 * buffer.C: ws changes
8895 * BufferView_pimpl.C: ditto
8898 * bufferlist.h: ditto
8902 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8904 * converter.[Ch]: split into itself +
8907 * Makefile.am: += graph.[Ch] + format.[Ch]
8914 * lyxrc.C: added #include "format.h"
8916 2003-02-27 Angus Leeming <leeming@lyx.org>
8918 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8921 * factory.C (createInset): add "label" to the factory.
8923 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8924 string and do no more.
8926 2003-02-27 Angus Leeming <leeming@lyx.org>
8929 * LyXAction.C (init):
8930 * factory.C (createInset):
8931 * BufferView_pimpl.C (dispatch):
8932 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8934 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8936 * lyxfunc.C (dispatch):
8937 * text3.C (dispatch): pass name to params2string.
8939 2003-02-26 Angus Leeming <leeming@lyx.org>
8941 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8943 Rearrange the ~includes. Strip out the unnecessary ones.
8945 * factory.C (createInset): reformat.
8946 create new insets for the various LFUN_XYZ_APPLY lfuns.
8948 2003-02-26 John Levon <levon@movementarian.org>
8951 * lyxrow.C: add isParStart,isParEnd helpers
8953 * paragraph.h: make isInserted/DeletedText take refs
8955 * paragraph_funcs.h:
8956 * paragraph_funcs.C: remove #if 0'd code
8961 * text.C: use lyxrow helpers above.
8962 Move draw and paint routines to RowPainter.
8963 Make several methods use refs not pointers.
8964 Make backgroundColor() const.
8965 Add markChangeInDraw(), isInInset().
8966 Merge changeRegionCase into changeCase.
8967 Make workWidth() shouldn't-happen code into an Assert.
8970 * rowpainter.C: new class for painting a row.
8973 * vspace.C: make inPixels take a ref
8975 2003-02-26 Angus Leeming <leeming@lyx.org>
8977 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8980 2003-02-25 John Levon <levon@movementarian.org>
8982 * ispell.C: give the forked command a more accurate name
8984 2003-02-22 John Levon <levon@movementarian.org>
8987 * toc.C: make TocItem store an id not a Paragraph *
8990 2003-02-21 Angus Leeming <leeming@lyx.org>
8992 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8993 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8994 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8995 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8996 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8997 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8999 * BufferView_pimpl.C (dispatch):
9000 * LyXAction.C (init):
9001 * factory.C (createInset):
9002 * lyxfunc.C (getStatus, dispatch):
9003 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9005 2003-02-21 Angus Leeming <leeming@lyx.org>
9007 * BufferView_pimpl.C (MenuInsertLyXFile):
9008 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9009 * lyxfunc.C (menuNew, open, doImport):
9010 no longer pass a LyXView & to fileDlg.
9012 2003-02-21 Angus Leeming <leeming@lyx.org>
9014 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9015 * LyXAction.C: change, BIBKEY to BIBITEM.
9016 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9017 Change InsetBibKey to InsetBibitem.
9018 Change BIBKEY_CODE to BIBITEM_CODE.
9019 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9020 * factory.C: replace insetbib.h with insetbibitem.h.
9021 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9022 * paragraph.C: replace insetbib.h with insetbibitem.h.
9023 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9024 Change bibkey() to bibitem().
9025 * text.C: remove insetbib.h.
9026 * text2.C: replace insetbib.h with insetbibitem.h.
9027 change bibkey() to bibitem().
9028 * text3.C: remove insetbib.h.
9029 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9031 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9033 * lyxrc.C (output): enclose user email in quotes (in case there are
9036 2003-02-18 John Levon <levon@movementarian.org>
9038 * buffer.h: add std::
9040 2003-02-17 John Levon <levon@movementarian.org>
9046 * pspell.C: reworking. Especially in ispell, a large
9047 number of clean ups and bug fixes.
9049 * lyxfunc.C: fix revert to behave sensibly
9051 2003-02-17 André Pönitz <poenitz@gmx.net>
9054 * commandtags.h: new LFUN_INSERT_BIBKEY
9064 * paragraph_func.C: remove special bibkey handling
9066 2003-02-17 John Levon <levon@movementarian.org>
9068 * text.C (Delete): fix case where delete at the end of
9069 the very first paragraph would not merge the pars
9071 2003-02-17 John Levon <levon@movementarian.org>
9073 * lyxrow.C: fix lastPrintablePos()
9075 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9077 * bufferparams.C (writeLaTeX): add a std:here
9079 * buffer.C: and remove a using directive there
9081 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * buffer.C (makeLaTeXFile): move the code that generates the
9086 * bufferparams.C (writeLaTeX): ... in this new method
9088 * LaTeXFeatures.C (getEncodingSet): make const
9089 (getLanguages): make const
9091 * MenuBackend.C (binding): returns the binding associated to this
9093 (add): sets the status of each item by calling getStatus. Adds
9095 (read): add support for OptSubMenu
9096 (expand): remove extra separator at the end of expanded menu
9098 2003-02-15 John Levon <levon@movementarian.org>
9101 * BufferView_pimpl.C:
9103 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9104 inset code that had no actual effect. Remove unneeded status
9107 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9112 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9114 * text.C (drawLengthMarker): also draw an arrow marker for
9115 symbolic lengths (medskip...)
9117 2003-02-14 John Levon <levon@movementarian.org>
9120 * tabular.C: better method names
9122 2003-02-14 John Levon <levon@movementarian.org>
9124 * BufferView_pimpl.C:
9129 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9130 it's a more accurate name. Remove some pointless uses.
9132 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9134 * text2.C (LyXText): change order of initilizers to shut off
9137 2003-02-14 John Levon <levon@movementarian.org>
9139 * buffer.C: use ParIterator for getParFromID()
9143 * paragraph_pimpl.h:
9144 * paragraph_pimpl.C: remove unused getParFromID()
9146 2003-02-14 John Levon <levon@movementarian.org>
9148 * buffer.C: remove some very old #if 0'd parse code
9150 2003-02-13 John Levon <levon@movementarian.org>
9154 * text2.C: move hfillExpansion(), numberOfSeparators(),
9155 rowLast(), rowLastPrintable(), numberofHfills(),
9156 numberOfLabelHfills() ...
9159 * lyxrow.C: ... to member functions here.
9164 * text.C: remove LyXText::beginningOfMainBody(), and call
9165 p->beginningOfMainBody() directly. Move the check for
9166 LABEL_MANUAL into the latter.
9173 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9179 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9180 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9182 2003-02-13 John Levon <levon@movementarian.org>
9184 * CutAndPaste.C: remove debug
9186 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9188 * paragraph.C (asString): remove two unused variables
9190 * lyxtextclass.C (readTitleType):
9192 (LyXTextClass): handle new members titletype_ and titlename_
9194 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9196 2003-02-09 John Levon <levon@movementarian.org>
9199 * buffer.C: replace hand-coded list with a map for the dep clean
9201 2003-02-08 John Levon <levon@movementarian.org>
9203 * LaTeX.C: consolidate code into showRunMessage() helper
9205 2003-02-08 John Levon <levon@movementarian.org>
9210 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9211 and pass the size in explicitly
9213 * BufferView_pimpl.h:
9214 * BufferView_pimpl.C:
9216 * BufferView.C: add getCurrentChange()
9218 * BufferView_pimpl.h:
9219 * BufferView_pimpl.C: handle change lfuns
9221 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9222 for changes. Mark pasted paragraphs as new.
9224 * support/lyxtime.h:
9225 * support/lyxtime.C:
9226 * DepTable.C: abstract time_t as lyx::time_type
9229 * LColor.C: add colours for new text, deleted text, changebars
9231 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9232 package use "usenames" option.
9236 * LyXAction.C: add change lfuns
9240 * author.C: author handling
9243 * buffer.C: add a per-buffer author list, with first entry as
9244 current author. Handle new .lyx tokens for change tracking. Output
9245 author list to .lyx file. Output dvipost stuff to .tex preamble.
9246 Bump lyx format to 222.
9249 * bufferlist.C: add setCurrentAuthor() to reset current author details
9253 * bufferparams.C: add param for tracking
9255 * bufferview_funcs.C: output change info in minibuffer
9259 * changes.C: add change-tracking structure
9262 * debug.C: add CHANGES debug flag
9265 * lyxfind.C: add code for finding the next change piece
9268 * lyxrc.C: add user_name and user_email
9271 * lyxrow.C: add a metric for the top of the text line
9274 * text.C: implement accept/rejectChange()
9277 * text.C: paint changebars. Paint new/deleted text in the chosen
9278 colours. Strike through deleted text.
9282 * paragraph_pimpl.h:
9283 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9284 in the current change to the insert functions. Rework erase to
9285 mark text as deleted, adding an eraseIntern() and a range-based
9286 erase(). Implement per-paragraph change lookup and
9289 * paragraph_funcs.C: Fixup paste for change tracking.
9291 * tabular.C: mark added row/columns as new.
9293 * text.C: fix rowLast() to never return -1. Don't allow
9294 spellchecking of deleted text. Track transpose changes. Don't
9295 allow paragraph break or merge where appropriate.
9297 * text2.C: leave cursor at end of selection after a cut.
9299 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9301 * text.C (getLengthMarkerHeight):
9302 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9303 visible on screen too.
9305 2003-02-07 John Levon <levon@movementarian.org>
9307 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9309 2003-02-05 Angus Leeming <leeming@lyx.org>
9311 * lyxserver.C (read_ready): revert my patch of 11 September last year
9312 as it sends PC cpu through the roof. Presumably this means that
9313 the lyxserver will no longer run on an Alpha...
9315 2003-01-30 Angus Leeming <leeming@lyx.org>
9317 * factory.C (createInset): create an InsetCommandParam of type "index"
9318 and use it to 'do the right thing'.
9320 * text2.C (getStringToIndex): ensure that cursor position is always
9321 reset to the reset_cursor position.
9323 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9325 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9328 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9332 * lyxfunc.C: Output messages with identical spelling, punctuation,
9335 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9337 * MenuBackend.C (expandFormats): List only viewable export formats
9340 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9343 * lyxfunc.C (getStatus): Make sure that formats other than
9344 "fax" can also be disabled
9346 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9348 * text3.C (dispatch): put the lfuns that insert insets in 3
9349 groups, and call doInsertInset with appropriate arguments.
9350 (doInsertInset): new function, that creates an inset and inserts
9351 it according to some boolean parameters.
9353 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9355 * buffer.C (readFile): remember to pass on 'par' when calling
9356 readFile recursively.
9358 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9360 * MenuBackend.C (expandFormats): add "..." to import formats.
9362 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9364 * paragraph.C (asString): Remove XForms RTL hacks.
9366 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9367 * buffer.C: fix typo
9369 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9371 * Makefile.am (LIBS): delete var
9372 (lyx_LDADD): add @LIBS@ here instead.
9374 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9376 * Clarify the meaning of "wheel mouse jump"
9378 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9380 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9383 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9385 * importer.C (Loaders): do not preallocate 3 elements in the
9386 vector, since one ends up with 6 elements otherwise
9388 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9390 * DepTable.C (write): write the file name as last element of the
9391 .dep file (because it may contain spaces)
9392 (read): read info in the right order
9394 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9396 * paragraph_pimpl.C (simpleTeXBlanks):
9397 (simpleTeXSpecialChars):
9398 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9400 * tabular.C (latex): add some missing case statements. Reindent.
9402 * MenuBackend.C (expandToc): remove unused variable.
9404 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9413 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9416 2003-01-05 John Levon <levon@movementarian.org>
9419 * BufferView.C: add getEncoding()
9422 * kbsequence.C: do not store last keypress
9425 * lyxfunc.C: store last keypress here instead. Pass encoding
9428 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9430 * lyx_main.C (init): remove annoying error message when following
9431 symbolic links (bug #780)
9433 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9435 * text.C (insertChar):
9436 * lyxrc.C (getDescription): remove extra spaces
9438 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9440 * lyxrc.C (getDescription): remove extra spaces
9442 2002-12-20 John Levon <levon@movementarian.org>
9444 * text3.C: hack fix for page up/down across tall rows
9446 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9448 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9451 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9453 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9454 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9455 thesaurus is not compiled in
9457 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9459 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9461 2002-12-16 Angus Leeming <leeming@lyx.org>
9464 * lyx_main.C (init): remove override_x_deadkeys stuff.
9466 2002-12-12 John Levon <levon@movementarian.org>
9468 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9469 insert. Only remove shift modifier under strict
9472 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9474 * MenuBackend.C (expandToc): fix crash.
9476 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9478 * MenuBackend.C (expandToc): gettext on float names.
9480 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9482 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9483 implement bool empty() [bug 490]
9485 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9487 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9489 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9491 * several files: ws changes
9493 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9495 * text2.C (setCounter): clean up a bit, use boost.format.
9496 (updateCounters): initialize par upon declaration.
9498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9499 if the layout exists. We do not just store the layout any more.
9500 (SwitchLayoutsBetweenClasses): use boost.format
9502 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9504 * converter.C (convert): if from and to files are the same, use a
9505 temporary files as intermediary
9507 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9510 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9512 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9514 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9516 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9518 * tabular.C (asciiPrintCell): use string(size, char) instead of
9521 * sgml.C (openTag): fix order of arguments to string constructor
9524 * lyxfunc.C (dispatch): use boost.format
9526 * lots of files: change "c" -> 'c'
9528 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9530 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9532 2002-11-25 Angus Leeming <leeming@lyx.org>
9534 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9536 * lyx_main.C (init): compile fix.
9538 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9540 * lyx_cb.C (start): boost.formatify
9541 do not include <iostream>
9543 * lengthcommon.C: ws only
9545 * boost-inst.C,BoostFormat.h: add more explict instantations
9547 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9549 * lots of files: handle USE_BOOST_FORMAT
9551 2002-11-21 John Levon <levon@movementarian.org>
9553 * pspell.C: fix compile
9555 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * lyxfunc.C (dispatch): use boost::format
9561 * lyxfont.C (stateText): use boost::format
9563 * lyx_main.C (LyX): use boost::format
9565 (queryUserLyXDir): ditto
9568 (typedef boost::function): use the recommened syntax.
9570 * importer.C (Import): use boost::format
9572 * debug.C (showLevel): use boost::format
9574 * converter.C (view): use boost::format
9579 * bufferview_funcs.C (currentState): use boost::format
9581 * bufferlist.C (emergencyWrite): use boost::format
9583 * buffer.C (readLyXformat2): use boost::format
9584 (parseSingleLyXformat2Token): ditto
9586 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9588 * LaTeX.C (run): use boost::format
9590 * Chktex.C (scanLogFile): use boost::format
9592 * BufferView_pimpl.C (savePosition): use boost::format
9593 (restorePosition): ditto
9594 (MenuInsertLyXFile): ditto
9596 * BoostFormat.h: help file for explicit instation.
9598 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9600 * tabular.C (latex): Support for block alignment in fixed width
9603 2002-11-17 John Levon <levon@movementarian.org>
9605 * BufferView_pimpl.C:
9607 * lyxfunc.C: split filedialog into open/save
9609 2002-11-08 Juergen Vigna <jug@sad.it>
9611 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9612 by my last patch (hopefully).
9614 2002-11-08 John Levon <levon@movementarian.org>
9623 * toc.C: ParConstIterator, and use it (from Lars)
9625 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9627 * lyxtextclass.[Ch]: revise and add doxygen comments
9629 2002-11-07 John Levon <levon@movementarian.org>
9631 * text.C: fix progress value for spellchecker
9633 * toc.C: fix navigate menu for insetwrap inside minipage
9635 * paragraph_funcs.C: added FIXME for suspect code
9637 2002-11-07 John Levon <levon@movementarian.org>
9639 * BufferView_pimpl.C: fix redrawing of insets
9642 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9644 * text2.C (updateCounters): fix bug 668
9646 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9648 * text3.C (dispatch): Do not make the buffer dirty when moving the
9651 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9653 * vc-backend.C: STRCONV
9656 * text2.C (setCounter): STRCONV
9658 * paragraph.C (asString): STRCONV
9660 * lyxlength.C (asString): STRCONV
9661 (asLatexString): ditto
9663 * lyxgluelength.C (asString): STRCONV
9664 (asLatexString): ditto
9666 * lyxfunc.C (dispatch): STRCONV
9669 * lyxfont.C (stateText): STRCONV
9671 * importer.C (Import): STRCONV
9673 * counters.C (labelItem): STRCONV
9674 (numberLabel): ditto
9675 (numberLabel): remove unused ostringstream o
9680 * bufferview_funcs.C (currentState): STRCONV
9682 * buffer.C (readFile): STRCONV
9683 (asciiParagraph): ditto
9684 (makeLaTeXFile): ditto
9686 * Spacing.C (writeEnvirBegin): STRCONV
9688 * LaTeXFeatures.C (getLanguages): STRCONV
9689 (getPackages): ditto
9691 (getBabelOptions): ditto
9692 (getTClassPreamble): ditto
9693 (getLyXSGMLEntities): ditto
9694 (getIncludedFiles): ditto
9698 (scanAuxFile): ditto
9701 * LString.h: add the STRCONV macros
9703 * BufferView_pimpl.C (savePosition): STRCONV
9704 (restorePosition): ditto
9705 (MenuInsertLyXFile): ditto
9707 * vc-backend.C (scanMaster): change from submatch[...] to
9710 * funcrequest.C: include config.h
9712 * factory.C: include config.h
9714 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9716 * box.C: include config.h
9718 * LaTeX.C (scanAuxFile): change from submatch[...] to
9722 2002-10-25 Angus Leeming <leeming@lyx.org>
9724 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9726 * ispell.[Ch] (setError): new method.
9727 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9728 Use setError() insetead of goto END.
9730 * lyx_cb.C (AutoSave): move out child process into new class
9733 2002-10-30 John Levon <levon@movementarian.org>
9735 * text3.C: make start appendix undoable
9737 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9739 * lyxlength.C (inPixels): Fix returned value.
9741 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9744 2002-10-24 Angus Leeming <leeming@lyx.org>
9746 * lyxgluelength.h: no need to forward declare BufferParams
9747 or BufferView, so don't.
9749 2002-10-21 John Levon <levon@movementarian.org>
9751 * BufferView.C: menuUndo ->undo, redo
9753 * BufferView.h: document, remove dead, make some methods private
9755 * paragraph_funcs.h:
9756 * paragraph_funcs.C:
9757 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9762 * sgml.C: move sgml open/close tag into sgml.C
9764 * bufferview_funcs.h: unused prototype
9767 * lyxfunc.C: remove unused
9770 * text.C: remove unused
9772 2002-10-21 John Levon <levon@movementarian.org>
9776 * BufferView_pimpl.h:
9777 * BufferView_pimpl.C: fix mouse wheel handling based on
9778 patch from Darren Freeman
9780 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9782 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9784 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9786 * lyxlength.C (inPixels): Fix hanfling of negative length.
9787 Fix LyXLength::MU case.
9789 2002-10-16 John Levon <levon@movementarian.org>
9791 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9793 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9795 * converter.C (view): add support for $$i (file name) and $$p
9796 (file path) for the viewer command. If $$i is not specified, then
9797 it is appended to the command (for compatibility with old syntax)
9799 2002-10-14 Juergen Vigna <jug@sad.it>
9801 * undo_funcs.C (textHandleUndo): alter the order in which the
9802 new undopar is added to the LyXText, as we have to set first
9803 the right prev/next and then add it as otherwise the rebuild of
9804 LyXText is not correct. Also reset the cursor to the right paragraph,
9805 with this IMO we could remove the hack in "redoParagraphs()".
9807 2002-10-09 Angus Leeming <leeming@lyx.org>
9809 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9810 to turn off an optimisation if a new inset is to be inserted.
9812 2002-10-11 André Pönitz <poenitz@gmx.net>
9814 * lyxtext.h: make some functions public to allow access
9815 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9817 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9819 * text3.C (dispatch): when changing layout, avoid an infinite loop
9822 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9824 * lyxrc.C (read): treat a viewer or converter command of "none" as
9827 * MenuBackend.C (expandFormats): for an update, also allow the
9828 formats that are not viewable
9830 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9831 script if it is newer than the lyxrc.defaults in user directory
9833 2002-10-07 André Pönitz <poenitz@gmx.net>
9835 * text.C: Vitaly Lipatov's small i18n fix
9837 2002-09-25 Angus Leeming <leeming@lyx.org>
9839 * ispell.h: doxygen fix.
9841 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9843 * buffer.h (readFile): Add a new argument to the method, to allow
9844 reading of old-format templates.
9846 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9848 * toc.C (getTocList): Get TOC from InsetWrap.
9850 2002-09-16 John Levon <levon@movementarian.org>
9852 * lyxfunc.C: check tabular for cut/copy too
9854 2002-09-12 John Levon <levon@movementarian.org>
9859 * factory.C: add header
9861 * paragraph_funcs.h:
9862 * paragraph_funcs.C: cleanup
9864 2002-09-11 John Levon <levon@movementarian.org>
9866 * PrinterParams.h: odd/even default to true
9868 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9870 * PrinterParams.h: update printer parameters for new xforms dialog
9872 2002-09-11 Angus Leeming <leeming@lyx.org>
9874 * lyxserver.C (read_ready): re-write to make it more transparent
9875 and to make it work in coherent fashion under Tru64 Unix.
9877 2002-09-11 André Pönitz <poenitz@gmx.net>
9881 * text3.C: implement LFUN_WORDSEL
9883 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9885 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9886 make floatlist_ a boost::shared_ptr<FloatList>
9888 * lyxtextclass.C: include FloatList.h
9889 (LyXTextClass): initialize floatlist_
9890 (TextClassTags): add TC_NOFLOAT
9891 (Read): match "nofloat" to TC_NOFLOAT and use it.
9892 (readFloat): modify call to floatlist_
9896 * FloatList.[Ch] (FloatList): remove commented out float
9898 (erase): new function
9900 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9902 * MenuBackend.C (expandToc): fix crash when there is no document
9905 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9907 * many files: Add insetwrap.
9909 2002-09-09 John Levon <levon@movementarian.org>
9911 * text2.C: remove confusing and awkward depth wraparound
9913 2002-09-09 John Levon <levon@movementarian.org>
9915 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9918 * buffer.C: remove getIncludeonlyList()
9921 * lyxfunc.C: remove headers
9923 2002-09-09 Juergen Vigna <jug@sad.it>
9925 * text.C (getColumnNearX): fix form Michael this is most
9926 probably a cut&paste bug.
9928 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9930 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9932 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9933 references, ws changes.
9935 * text2.C (init): update counters after init
9936 (insertParagraph): no need to set counter on idividual paragraphs.
9937 (setCounter): access the counters object in the textclass object
9938 on in the buffer object.
9939 (updateCounters): ditto
9941 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9942 shared_ptr<Counters> to avoid loading counters.h in all
9944 (LyXTextClass): initialize ctrs_
9945 (TextClassTags): add TC_COUNTER, and ...
9946 (Read): use it here.
9947 (CounterTags): new tags
9948 (readCounter): new function
9949 (counters): new funtion
9950 (defaultLayoutName): return a const reference
9952 * counters.C (Counters): remove contructor
9953 (newCounter): remove a couple of unneeded statements.
9954 (newCounter): simplify a bit.
9955 (numberLabel): some small formatting changes.
9957 * buffer.[Ch]: remove all traces of counters, move the Counters
9958 object to the LyXTextClass.
9960 2002-09-06 Alain Castera <castera@in2p3.fr>
9962 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9963 package to set the horizontal alignment on fixed width columns.
9966 * lyx_sty.h: added tabularnewline macro def.
9968 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9970 2002-09-06 John Levon <levon@movementarian.org>
9972 * LyXAction.C: tooltips for sub/superscript
9974 * MenuBackend.C: a bit more verbose
9976 * lyxfunc.C: tiny clean
9978 * undo_funcs.C: document undo_frozen
9980 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9982 * counters.C (Counters): add missing algorithm counter.
9984 * text2.C (setCounter): lookup the counter with layouts latexname
9985 instead of by section number.
9986 (setCounter): use a hackish way to lookup the correct enum
9988 a float name->type change
9989 reset enum couners with counter name directly instead of depth value.
9991 * counters.C (Counters): remove the push_backs, change to use the
9992 float type not the float name.
9993 (labelItem): remove unused string, float name->type change
9995 * counters.h: don't include vector, loose the enums and sects vectors
9997 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9999 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10000 (Read): add float->TC_FLOAT to textclassTags
10001 (Read): and handle it in the switch
10002 (readFloat): new function
10004 * FloatList.C (FloatList): comment out the hardcoded float
10007 * lyxlayout.h: ws change.
10009 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10011 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10013 2002-09-03 Angus Leeming <leeming@lyx.org>
10015 * BufferView_pimpl.h: qualified name is not allowed in member
10016 declaration: WorkArea & Pimpl::workarea() const;
10018 * factory.C: added using std::endl directive.
10020 * text3.C: added using std::find and std::vector directives.
10022 2002-08-29 André Pönitz <poenitz@gmx.net>
10025 * text2.C: remove unused member number_of_rows
10028 * BufferView2.C: remove file, move contents to...
10029 * BufferView.C: ... here
10031 * BufferView_pimpl.C:
10032 * factory.C: move more inset creation to factory
10034 * vspace.C: avoid direct usage of LyXText, ws changes
10037 don't provide direct access to WorkArea, use two simple
10038 acessors haveSelction() and workHeight() instead
10041 2002-08-29 John Levon <levon@movementarian.org>
10043 * BufferView_pimpl.C (dispatch): do not continue when
10046 2002-08-28 André Pönitz <poenitz@gmx.net>
10048 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10051 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10053 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10055 * buffer.C: increment LYX_FORMAT to 221
10057 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10058 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10060 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10062 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10064 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * factory.C (createInset): use LyXTextClass::floats
10068 * MenuBackend.C (expandFloatListInsert):
10069 (expandFloatInsert):
10072 * text2.C (setCounter):
10074 * LaTeXFeatures.C (useFloat):
10075 (getFloatDefinitions):
10077 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10079 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10080 floatlist_, with accessor floats().
10082 * FloatList.h: remove global FloatList
10084 2002-08-26 André Pönitz <poenitz@gmx.net>
10086 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10090 * BufferView_pimpl.C:
10091 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10093 2002-08-25 John Levon <levon@movementarian.org>
10095 * LyXAction.C: fix margin note description
10097 2002-08-24 John Levon <levon@movementarian.org>
10101 * bufferview_funcs.C:
10103 * undo_funcs.C: cleanups
10105 * lyxfunc.C: disable CUT/COPY when no selection
10107 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10109 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10110 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10112 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10113 Add backward compatibility to "mono", "gray" and "no".
10115 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10117 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10118 (and file_format >= 200).
10120 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10122 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10124 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10126 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10128 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10130 * BufferView_pimpl.C:
10137 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10138 inset and code to make it work with the paragraph code. The inset
10139 can be anywhere in the paragraph, but will only do the expected
10140 thing in LaTeX if the layout file contains the parameter line
10142 (or more generally, a nonzero value) for that layout.
10144 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10146 * paragraph.h: remove the declaration of undefined counters class
10149 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10151 * text2.C (setCounter): fixed enumeration mis-count as reported by
10152 Dr. Richard Hawkins.
10154 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10156 * paragraph_funcs.h: remove some unneeded includes
10158 * text.C (backspace): pasteParagraph now in global scipe
10160 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10161 (pasteSelection): ditto
10163 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10164 * paragraph_funcs.C (pasteParagraph): ... here
10166 2002-08-20 André Pönitz <poenitz@gmx.net>
10168 * commandtags.h: new LFUNs for swapping/copying table row/colums
10171 * lyxfunc.C: support for new lfuns
10173 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10176 * buffer.[Ch]: remove NO_COMPABILITY stuff
10178 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10180 * boost.C (throw_exception): new file, with helper function for
10181 boost compiled without exceptions.
10186 * ParameterStruct.h:
10187 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10189 * bufferlist.C (emergencyWriteAll): use boost bind
10191 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10193 * text.C: include paragraph_funcs.h
10194 (breakParagraph): breakParagraph is now in global scope
10196 * paragraph_funcs.[Ch]: new files
10198 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10201 * buffer.C: include paragraph_funcs.h
10202 (insertStringAsLines): breakParagraph is now in global scope
10204 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10207 * CutAndPaste.C: include paragraph_funcs.h
10208 (cutSelection): breakParagraphConservative is now in global scope
10209 (pasteSelection): ditto
10211 * buffer.h: declare oprator== and operator!= for
10212 Buffer::inset_iterator
10214 * bufferlist.C (emergencyWrite): don't use fmt(...)
10216 * text3.C: add using std::endl
10218 * BufferView.C (moveCursorUpdate): remove default arg
10220 2002-08-20 André Pönitz <poenitz@gmx.net>
10222 * buffer.[Ch]: move inline functions to .C
10225 * BufferView_pimpl.C:
10227 * buffer.[Ch]: use improved inset_iterator
10230 * paragraph.[Ch]: write one paragraph at a time
10232 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10234 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10235 style if style is not specified.
10237 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * text2.C (setCounter): when searching for right label for a
10240 caption, make sure to recurse to parent insets (so that a caption
10241 in a minipage in a figure float works) (bug #568)
10243 2002-08-20 André Pönitz <poenitz@gmx.net>
10245 * text3.C: new file for LyXText::dispatch() and helpers
10247 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10249 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10251 2002-08-19 André Pönitz <poenitz@gmx.net>
10254 * text.C: new LyXText::dispatch()
10256 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10258 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10260 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10262 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10265 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10267 * Makefile.am: use $(variables) instead of @substitutions@
10269 2002-08-15 André Pönitz <poenitz@gmx.net>
10272 * BufferView_pimpl.C: streamlining mathed <-> outer world
10276 * LyXAction.C: remove unused LFUN_MATH
10278 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10280 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10282 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10284 * paragraph.C (Paragraph): reformat a bit
10285 (cutIntoMinibuffer): use builtin InsetList function instad of
10289 * buffer.C: include boost/bind.hpp, add using std::for_each
10290 (writeFileAscii): use ParagraphList iterators
10291 (validate): use for_each for validate traversal of paragraphs
10292 (getBibkeyList): use ParagraphList iterators
10293 (resizeInsets): use for_each to resizeInsetsLyXText for all
10295 (getParFromID): use ParagraphList iterators
10297 * BufferView2.C (lockInset): use paragraph list and iterators
10299 2002-08-14 John Levon <levon@movementarian.org>
10301 * lyxserver.C: remove spurious xforms include
10303 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10307 2002-08-13 André Pönitz <poenitz@gmx.net>
10310 * lyxfunc.C: further cleaning
10312 2002-08-13 André Pönitz <poenitz@gmx.net>
10314 * funcrequest.h: new constructor
10316 * funcrequest.C: move stuff here from .h
10319 * BufferView_pimpl.C:
10322 * lyxfunc.C: subsequent changes
10324 * lyxfunc.h: new view() member function
10326 * lyxfunc.C: subsequent changes
10328 2002-08-13 Angus Leeming <leeming@lyx.org>
10331 * BufferView_pimpl.C:
10339 changes due to the changed LyXView interface that now returns references
10340 to member variables not pointers.
10342 2002-08-13 Angus Leeming <leeming@lyx.org>
10344 * WordLangTuple (word, lang_code): return references to strings,
10349 * lyxtext.h: forward-declare WordLangTuple.
10354 * text.C: #include "WordLangTuple.h".
10357 * text.C: (selectNextWordToSpellcheck): constify return type.
10359 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10365 * paragraph_pimpl.h:
10368 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10369 suggested by Angus.
10370 Made updateCounter always count from start of buffer, and removed
10371 second argument (par).
10372 Reverted floats number display to '#'. Perhaps I'll try again when the
10373 code base is sanitized a bit.
10375 2002-08-12 Angus Leeming <leeming@lyx.org>
10377 * buffer.[Ch] (getLabelList): constify.
10379 2002-08-07 André Pönitz <poenitz@gmx.net>
10381 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10383 * funcrequest.h: extension to keep mouse (x,y) position
10385 2002-08-12 Juergen Vigna <jug@sad.it>
10387 * BufferView2.C (insertErrors): forbid undo when inserting error
10390 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10392 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10394 * ParagraphList.[Ch]: new files
10396 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10398 * BufferView2.C (lockInset): ParagraphList changes
10401 * bufferlist.C: ditto
10405 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10407 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10408 unused class variable counter_,
10410 * paragraph.[Ch] (getFirstCounter): delete unused function
10412 * counters.C: include LAssert.h
10413 (reset): add a new function with no arg, change other version to
10414 not have def. arg and to not allow empty arg.
10416 * text2.C (setCounter): remove empty arg from call to Counters::reset
10418 2002-08-11 John Levon <levon@movementarian.org>
10420 * Makefile.am: add WordLangTuple.h
10422 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10424 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10425 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10427 * insets/insettext.C: InsetList changes
10429 * graphics/GraphicsSupport.C (operator()): InsetList changes
10431 * toc.C (getTocList): InsetList changes
10433 * paragraph_pimpl.[Ch]: InsetList changes
10435 * paragraph.[Ch]: InsetList changes
10437 * buffer.C (inset_iterator): InsetList changes
10438 (setParagraph): ditto
10439 * buffer.h (inset_iterator): ditto
10440 * iterators.C (operator++): ditto
10441 * iterators.h: ditto
10443 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10445 * InsetList.[Ch]: new files, most InsetList handling moved out of
10448 * BufferView2.C (removeAutoInsets): InsetList changes
10450 (ChangeInsets): ditto
10452 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10454 * paragraph_pimpl.h (empty): new function
10456 * paragraph.[Ch] (empty): new function
10458 * other files: use the new Paragraph::empty function
10460 2002-08-09 John Levon <levon@movementarian.org>
10462 * lyxtext.h: remove unused refresh_height
10464 2002-08-09 John Levon <levon@movementarian.org>
10471 * paragraph.C: move sgml char escaping out of paragraph
10474 * paragraph.C: remove id setter
10478 * paragraph_pimpl.C: remove dead tex_code_break_column
10480 * bufferview_funcs.C: small cleanup
10482 * lyxfunc.C: remove dead proto
10484 * lyxtext.h: make some stuff private. Remove some dead stuff.
10486 * lyxgluelength.C: make as[LyX]String() readable
10488 2002-08-08 John Levon <levon@movementarian.org>
10493 * ToolbarDefaults.C:
10496 * toc.C: lyxaction cleanup
10498 2002-08-08 John Levon <levon@movementarian.org>
10500 * BufferView2.C: small cleanup
10503 * lyxfind.C: move unnecessary header into the .C
10505 2002-08-08 John Levon <levon@movementarian.org>
10507 * funcrequest.h: just tedious nonsense
10510 * lyx_main.C: cleanups
10513 * vspace.C: remove dead header lyx_main.h
10515 2002-08-07 Angus Leeming <leeming@lyx.org>
10518 * paragraph_pimpl.h:
10519 Forward declare class Counters in paragraph.h by moving the ctrs member
10520 variable into Paragraph::Pimpl.
10521 (counters): new method, returning a reference to pimpl_->ctrs.
10523 * text2.C: ensuing changes.
10525 2002-08-07 John Levon <levon@movementarian.org>
10527 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10529 * BufferView_pimpl.C: announce X selection on double/triple
10532 * lyx_main.C: use correct bool in batch dispatch
10534 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10536 2002-08-07 André Pönitz <poenitz@gmx.net>
10538 * funcrequest.h: new class to wrap a kb_action and its argument
10541 * BufferView_pimpl[Ch]:
10545 * lyxrc.C: subsequent changes
10548 2002-08-07 John Levon <levon@movementarian.org>
10550 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10551 document options change.
10553 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10558 * makefile.am: move counters functionality over from
10559 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10561 2002-08-06 John Levon <levon@movementarian.org>
10563 * WordLangTuple.h: new file for word + language code tuple
10574 * BufferView2.C: use WordLangTuple
10577 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10579 2002-08-06 John Levon <levon@movementarian.org>
10581 * lyx_main.C: fix cmdline batch handling
10583 2002-08-06 André Pönitz <poenitz@gmx.net>
10585 * lyxrc.C: set default for show_banner to true
10587 2002-08-06 John Levon <levon@movementarian.org>
10589 * pspell.C: fix a crash, and allow new aspell to work
10591 2002-08-06 John Levon <levon@movementarian.org>
10594 * kbmap.C: small cleanup
10597 * vspace.C: add const
10599 2002-08-05 John Levon <levon@movementarian.org>
10601 * LyXAction.C: back to tabular-insert
10603 2002-08-04 John Levon <levon@movementarian.org>
10606 * BufferView.C: cosmetic change
10608 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10618 * BufferView2.C: purge all "Lyx" not "LyX" strings
10621 * lyxcursor.C: attempt to add some documentation
10626 * ToolbarDefaults.C:
10627 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10628 merge with LFUN_TABULAR_INSERT
10635 * pspell.C: split up i/pspell implementations into separate
10636 files, many cleanups
10638 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10640 * text2.C: some cleanup
10642 * lyxfunc.C: don't check for isp_command == "none" any more, it
10643 didn't make any sense
10645 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10650 * makefile.am: move counters functionality over
10651 from text2.C/paragraph.[Ch] to counters.[Ch], and
10653 2002-08-02 John Levon <levon@movementarian.org>
10655 * buffer.C: s/lyxconvert/lyx2lyx/
10657 2002-08-02 Angus Leeming <leeming@lyx.org>
10659 * lyxlex.C: revert John's change as it breaks reading of the user
10662 2002-08-02 Angus Leeming <leeming@lyx.org>
10664 * importer.C (Import):
10665 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10666 changes due to LyXView::view() now returning a boost::shared_ptr.
10668 2002-08-02 John Levon <levon@movementarian.org>
10670 * lyxlex.C: small cleanup
10672 2002-08-02 John Levon <levon@movementarian.org>
10674 * text2.C (status): small cleanup, no logic change
10676 2002-08-01 John Levon <levon@movementarian.org>
10679 * buffer.C (writeFile): don't output alerts, caller
10683 * lyx_cb.C: from above
10685 * lyxfunc.C: allow to open non-existent files
10687 2002-07-31 John Levon <levon@movementarian.org>
10689 * lyxserver.C: don't let incidental errors get
10692 2002-07-30 John Levon <levon@movementarian.org>
10694 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10696 2002-07-30 John Levon <levon@movementarian.org>
10699 * lyxserver.C: remove I/O callback too
10701 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10703 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10706 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10708 * many files: strip,frontStrip -> trim,ltrim,rtrim
10710 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10712 * PrinterParams.h: remove extern containsOnly, and include
10713 support/lstrings.h instead.
10715 * LaTeX.C (scanAuxFile): modify because of strip changes
10717 * buffer.C (makeLaTeXFile): ditto
10718 * bufferparams.C (writeFile): ditt
10719 * lyxfont.C (stateText): ditto
10720 * lyxserver.C (read_ready): ditto
10721 * vc-backend.C (scanMaster): ditto
10723 * BufferView_pimpl.h: ws changes
10725 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10727 2002-07-26 André Pönitz <poenitz@gmx.net>
10729 * kb_sequence.C: remove unnedred usings
10731 2002-07-26 Juergen Vigna <jug@sad.it>
10733 * lyxfind.C (LyXReplace): we have to check better if the returned
10734 text is not of theLockingInset()->getLockingInset().
10736 2002-07-25 Juergen Vigna <jug@sad.it>
10738 * lyxfind.C (LyXReplace): don't replace if we don't get the
10741 * undo_funcs.C (createUndo): remove debugging code.
10743 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10745 * buffer.C (parseSingleLyXformat2Token): Use default placement
10746 when reading old floats.
10748 * FloatList.C (FloatList): Change the default placement of figure
10749 and tables to "tbp".
10751 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10753 * MenuBackend.C: using std::max
10755 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10757 * MenuBackend.C (expandToc):
10758 (expandToc2): code moved from xforms menu frontend. It is now
10759 generic and TOCs are transparent to menu frontends.
10761 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10763 * toc.C (getTocList): protect against buf=0
10765 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10766 Menu as first parameter. Now, this calls itself recursively to
10767 expand a whole tree (this will be useful for TOC handling)
10768 (expandFloatInsert): remove 'wide' version of floats
10770 * MenuBackend.h (submenuname): returns the name of the submenu.
10771 (submenu): returns the submenu itself, provided it has been
10772 created by MenuBackend::expand
10774 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10776 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10777 insets which have noFontChange == true. (bug #172)
10779 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10781 * BufferView_pimpl.C: add connection objects and use them...
10784 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10786 * MenuBackend.C (expandLastfiles):
10789 (expandFloatListInsert):
10790 (expandFloatInsert):
10791 (expand): split expand in parts
10793 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10795 * lyx_gui.C: use lyx_gui::exit()
10797 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10799 * LyXAction.C: show the failing pseudo action
10801 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10803 * buffer.C (readFile): Run the lyxconvert script in order to read
10806 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10810 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10812 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10816 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10818 2002-07-22 Herbert Voss <voss@lyx.org>
10821 * lyxlength.[Ch]: add support for the vertical lengths
10823 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10825 * toc.[Ch]: std:: fixes
10827 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * lyxrc.C: do not include lyx_main.h
10831 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10837 * BufferView2.C: include "lyxlex.h"
10840 * bufferparams.h: do not #include "lyxlex.h"
10842 * lyxtextclasslist.C (Add): remove method
10843 (classlist): renamed to classlist_
10845 * paragraph_pimpl.C:
10849 * bufferview_funcs.C:
10854 * toc.C (getTocList): use BufferParams::getLyXTextClass
10856 * toc.C (getTocList): use InsetFloat::addToToc
10858 * toc.[Ch]: new files, containing helper functions to handle table
10861 * lyxfunc.C (dispatch): no need to remove spaces around command
10863 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10864 first command of the sequence; it is not very clever, but I do not
10865 have a better idea, actually
10867 * LyXAction.C (LookupFunc): make sure to remove space at the
10868 beginning and end of the command
10870 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * MenuBackend.C (getMenubar): new method: return the menubar of
10874 (read): treat differently reading of menu and menubar (in
10875 particular, the menubar has no name now)
10876 (Menu::menubar): remove
10878 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10881 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10883 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10884 a bibitem inset in a RTL paragraph.
10886 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10888 * paragraph_pimpl.C: constify
10890 * BufferView_pimpl.C:
10892 * lyxfunc.C: fix dispatch in a nicer way
10894 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * lyxfunc.C (dispatch):
10897 * BufferView_pimpl.C:
10898 * BufferView_pimpl.h:
10900 * BufferView.h: rename Dispatch() to dispatch()
10902 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10904 * lyxlayout.C (Read): honor DependsOn tag
10906 * lyxlayout.[Ch] (depends_on): new method
10908 * version.C.in: update lyx_docversion
10910 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10912 * paragraph.C (validate): remove from here...
10913 * paragraph_pimpl.C (validate): ... and move here
10914 (isTextAt): make it const
10916 * buffer.C (getLists): ws cleanup
10918 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10920 * language.C (read): Use iso8859-1 encoding in latex_lang
10921 (this prevents LyX from crashing when using iso10646-1 encoding).
10923 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10925 * text2.C (toggleInset): if cursor is inside an inset, close the
10926 inset and leave cursor _after_ it
10928 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10930 * lyxfunc.C: move minibuffer completion handling out of here
10932 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10934 * BufferView_pimpl.C:
10935 * LaTeX.C: fix dispatch calls
10937 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10939 * text.C (drawChars): Fix Arabic text rendering.
10941 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10945 * lyxfunc.C: remove message-push/pop
10949 * lyxfunc.C: rationalise some code by removing verboseDispatch
10950 in favour of a bool argument to dispatch()
10952 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10954 * lyx_main.C (init): make sure to read symlinks as absolute paths
10956 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10959 * lyxfunc.C: no need for commandshortcut to be a member
10961 2002-07-15 André Pönitz <poenitz@gmx.net>
10963 * converter.C: add support for $$s (scripts from lib/scripts dir)
10964 * lyx_main.C: white space
10966 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10970 * lyxrc.C: remove second exit confirmation
10972 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10977 * BufferView_pimpl.h:
10978 * BufferView_pimpl.C:
10979 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10981 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10983 * MenuBackend.C (expand): add numeric shortcuts to document menu
10985 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10987 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10989 * lyxfont.C (setLyXFamily):
10996 * buffer.C (asciiParagraph): use ascii_lowercase
10998 2002-07-15 Mike Fabian <mfabian@suse.de>
11000 * lyxlex_pimpl.C (search_kw):
11001 * lyxlex.C (getLongString):
11002 * converter.h (operator<):
11003 * converter.C (operator<):
11004 * buffer.C (parseSingleLyXformat2Token):
11006 * ToolbarDefaults.C (read):
11007 * MenuBackend.C (checkShortcuts):
11009 * LColor.C (getFromGUIName):
11010 (getFromLyXName): use the compare_ascii_no_case instead of
11011 compare_no_case, because in turkish, 'i' is not the lowercase
11012 version of 'I', and thus turkish locale breaks parsing of tags.
11014 2002-07-16 Angus Leeming <leeming@lyx.org>
11016 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11017 now takes a Buffer const & argument.
11019 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11021 * BufferView.C (resize): check there's a buffer to resize
11023 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11025 * lyxfunc.C: remove dead code
11028 * lyxserver.C: use lyx_guii::set_read_callback
11030 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11032 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11033 an inset in a RTL paragraph.
11035 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11037 * lyxfunc.C: repaint after a font size update
11039 2002-07-15 André Pönitz <poenitz@gmx.net>
11041 * lyxlength.C: inBP should be able to return negative values
11043 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11045 * lyxfunc.C: use lyx_gui::update_fonts()
11047 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11049 * lyxfunc.C: use lyx_gui::update_color()
11051 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11057 * lyxrc.C: remove file->new asks for name option, and let
11058 buffer-new take an argument
11060 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11062 * BufferView_pimpl.C: remove unneeded extra repaint()
11064 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11066 * LyXAction.C: allow command-sequence with NoBuffer
11068 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11070 2002-07-10 Angus Leeming <leeming@lyx.org>
11072 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11074 2002-07-09 Angus Leeming <leeming@lyx.org>
11076 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11078 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11080 * lengthcommon.h: whitespace
11082 * lyxfunc.C: update scrollbar after goto paragraph
11084 * lyxtext.h: factor out page break drawing, and fix it so
11085 page break/added space paints as selected nicely
11087 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11089 * BufferView_pimpl.C: add FIXMEs, clean up a little
11091 2002-07-09 André Pönitz <poenitz@gmx.net>
11093 * lyxfont.[Ch]: support for wasy symbols
11095 2002-07-08 André Pönitz <poenitz@gmx.net>
11097 * BufferView_pimpl.C: apply John's patch for #93.
11099 2002-07-05 Angus Leeming <leeming@lyx.org>
11101 * BufferView_pimpl.C (buffer): generate previews if desired.
11103 * LColor.h: add "preview" to the color enum.
11105 * LColor.C (LColor): add a corresponding entry to the items array.
11107 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11110 2002-07-05 Angus Leeming <leeming@lyx.org>
11112 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11113 The body of the code is now in the method that is passed an ostream &
11114 rather than a file name.
11115 Pass an additional only_preamble parameter, useful for the forthcoming
11118 2002-07-03 André Pönitz <poenitz@gmx.net>
11120 * lyxfunc.C: simplify getStatus() a bit for math stuff
11122 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11124 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11126 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11128 * text.C (changeRegionCase): do not change case of all the
11129 document when region ends at paragraph end (bug #461)
11131 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11133 * paragraph.C (startTeXParParams):
11134 (endTeXParParams): add \protect when necessary
11136 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11138 * BufferView_pimpl.C (workAreaExpose): remove warning
11140 2002-06-27 Angus Leeming <leeming@lyx.org>
11142 * Makefile.am: add lyxlayout_ptr_fwd.h.
11144 2002-06-26 André Pönitz <poenitz@gmx.net>
11146 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11148 2002-06-25 Angus Leeming <leeming@lyx.org>
11150 * lyxfunc.C (dispatch): Comment out the call to
11151 grfx::GCache::changeDisplay. The method no longer exists now that the
11152 pixmap generation part of the graphics loader has been moved into
11155 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11157 * text2.C: layout as layout
11159 * text.C: layout as layout
11161 * tabular.C (OldFormatRead): layout as layout
11163 * paragraph_pimpl.C (TeXDeeper): layout as layout
11164 (realizeFont): layout as layout
11166 * paragraph.C (writeFile): layout as layout
11167 (validate): layout as layout
11168 (getFont): layout as layout
11169 (getLabelFont): layout as layout
11170 (getLayoutFont): layout as layout
11171 (breakParagraph): layout as layout
11172 (stripLeadingSpaces): layout as layout
11173 (getEndLabel): layout as layout
11174 (getMaxDepthAfter): layout as layout
11175 (applyLayout): layout as layout
11176 (TeXOnePar): layout as layout
11177 (simpleTeXOnePar): layout as layout
11178 (TeXEnvironment): layout as layout
11179 (layout): layout as layout
11180 (layout): layout as layout
11182 * lyxtextclass.C (compare_name): new functor to work with
11183 shared_ptr, layout as layout
11184 (Read): layout as layout
11185 (hasLayout): layout as layout
11186 (operator): layout as layout
11187 (delete_layout): layout as layout
11188 (defaultLayout): layout as layout
11190 * lyxlayout_ptr_fwd.h: new file
11192 * lyxlayout.C (Read): layout as layout
11194 * lyx_cb.C (MenuInsertLabel): layout as layout
11196 * bufferlist.C (newFile): layout as layout
11198 * buffer.C (readLyXformat2): layout as layout
11199 (parseSingleLyXformat2Token): layout as layout
11200 (insertStringAsLines): layout as layout
11201 (asciiParagraph): layout as layout
11202 (latexParagraphs): layout as layout
11203 (makeLinuxDocFile): layout as layout
11204 (simpleLinuxDocOnePar): layout as layout
11205 (makeDocBookFile): layout as layout
11206 (simpleDocBookOnePar): layout as layout
11207 (getLists): layout as layout
11209 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11211 * CutAndPaste.C (cutSelection): layout as layout
11212 (pasteSelection): layout as layout
11213 (SwitchLayoutsBetweenClasses): layout as layout
11215 * BufferView_pimpl.C (Dispatch): layout as layout
11216 (smartQuote): layout as layout
11218 * BufferView2.C (unlockInset): layout as layout
11220 2002-06-24 André Pönitz <poenitz@gmx.net>
11222 * lyxfunc.C: fix #487
11224 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11228 * lyxfunc.C: remove display_shortcuts, show_banner
11230 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11232 * Buffer_pimpl.C: oops, update on resize
11234 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11241 * BufferView.C: use repaint()
11243 * BufferView_pimpl.h:
11244 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11245 as it's a clearer description. Remove superfluous
11248 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11250 * text.C: fix bug 488. Not ideal, but getting
11251 getWord() to work properly for the insets that
11252 matter is more difficult ...
11254 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11256 * BufferView_pimpl.C:
11259 * lyxfunc.C: remove the six million index lyxfuncs to just
11260 one, and DTRT (bug 458)
11262 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11266 * BufferView_pimpl.h:
11267 * BufferView_pimpl.C: clean up resize() stuff,
11268 and unnecessary updateScreen()s
11270 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11274 * BufferView_pimpl.h:
11275 * BufferView_pimpl.C:
11278 * minibuffer.C: remove focus management of workarea,
11279 not needed. Use screen's greyOut()
11281 2002-06-17 Herbert Voss <voss@lyx.org>
11283 * converter.C: (convert) do not post a message, when converting
11284 fails, let the calling function decide what to do in this case
11286 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11288 * lyxfunc.C: tidy up a little
11290 2002-06-16 <alstrup@diku.dk>
11292 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11293 Got rid of FORMS_H_LOCATION include. Now we are
11296 2002-06-15 LyX Development team <lyx@rilke>
11298 * buffer.[Ch] (sgmlOpenTag):
11299 (sgmlCloseTag): Added support for avoiding pernicious mixed
11300 content. Return number of lines written.
11302 (makeLinuxDocFile):
11303 (makeDocBookFile): Fixed calls to sgml*Tag.
11304 Simple white space clean.
11306 (simpleDocBookOnePar): Simple white space clean.
11308 * tabular.[Ch] (docBook): Renamed to docbook and got another
11309 argument to related with the pernicious mixed content.
11311 (docbookRow): Fixed calls for docbook inset method.
11313 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11315 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11316 so it's X11 independent.
11320 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11322 2002-06-15 Lyx Development team <lyx@electronia>
11324 * intl.h: Renamed getTrans to getTransManager.
11326 2002-06-14 Angus Leeming <leeming@lyx.org>
11328 * Makefile.am: nuke forgotten stl_string_fwd.h.
11330 2002-06-12 Angus Leeming <leeming@lyx.org>
11332 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11334 2002-06-13 Angus Leeming <leeming@lyx.org>
11337 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11339 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11341 * kbmap.C (getiso): add support for cyrillic and greek
11343 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11347 * BufferView_pimpl.h:
11348 * BufferView_pimpl.C: move bogus scrolling logic
11351 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11354 * BufferView_pimpl.C: view->resize() change
11356 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11358 * BufferView_pimpl.C: topCursorVisible
11361 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11365 * lyx_gui.C: move to frontends/
11369 * lyx_main.C: changes from above
11371 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11378 * lyx_main.C: minor tidy
11380 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11382 * BufferView_pimpl.h:
11383 * BufferView_pimpl.C:
11385 * BufferView.C: make painter() const,
11388 * BufferView2.C: use screen() accessor
11391 * lyx_main.C: some minor cleanup
11393 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11395 * BufferView_pimpl.h:
11396 * BufferView_pimpl.C: remove enter/leaveView,
11399 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11404 * BufferView_pimpl.h:
11405 * BufferView_pimpl.C: only construct screen once,
11408 * lyxrc.C: remove pointless comment
11410 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11413 * BufferView.C: remove active() and belowMouse()
11415 * BufferView_pimpl.h:
11416 * BufferView_pimpl.C: use workarea() not workarea_,
11417 and make it use a scoped_ptr instead
11419 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11421 * lyx_gui.C: add debug message on BadWindow
11423 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * sp_spell.C: fdopen is not part of the C++ standard.
11427 * paragraph.C (InsetIterator): use >= instead of ==
11429 2002-06-07 Angus Leeming <leeming@lyx.org>
11431 Fixes needed to compile with Compaq cxx 6.5.
11432 * BufferView_pimpl.C:
11439 * lyxtextclasslist.C:
11444 all c-library variables have been moved into namespace std. Wrap
11445 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11450 Add a using std::abs declaration.
11452 * kbmap.h (modifier_pair):
11453 * paragraph.h (InsetTable, InsetList):
11454 * lyxfont.h (FontBits):
11455 type definition made public.
11457 * bufferlist.C (emergencyWriteAll): the compiler complains that
11458 there is more than one possible lyx::class_fun template to choose from.
11459 I re-named the void specialisation as lyx::void_class_fun.
11461 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11463 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11464 the compiler is is unable to find tostr in write_attribute.
11466 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * buffer.C (sgmlError): hide #warning
11470 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11472 * xtl/*: get rid of xtl, which is not in use anyway
11474 * LyXAction.C (init):
11475 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11476 were unimplemented xtl experimentation
11478 2002-06-04 André Pönitz <poenitz@gmx.net>
11480 * lyxfunc.C: disable array operation on simple formulae
11482 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11484 * converter.C: constify a bit
11486 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11488 * lyx_gui.C: check xforms version correctly
11490 2002-04-30 Herbert Voss <voss@lyx.org>
11492 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11495 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11497 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11498 attempt to register it with a VCS)
11500 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11502 * lyx_main.C (init): honor variables LYX_DIR_13x and
11505 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11509 * lyx_main.C: fix a crash on bad command line,
11510 and give a useful exit status on error
11512 * lyxfunc.C (doImport): allow -i lyx to work
11514 2002-03-30 André Pönitz <poenitz@gmx.net>
11516 * lyxfunc.C: mathed font changes
11518 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11533 * trans_mgr.h: srcdocs, and some minor cleanups
11535 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11537 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11538 call getFont all the time)
11540 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11542 * switch from SigC signals to boost::signals
11544 2002-05-29 André Pönitz <poenitz@gmx.net>
11546 * paragraph_pimpl.C (getChar): don't call size() too often...
11548 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11550 * paragraph_pimpl.C (insertChar): do not try to update tables when
11551 appending (pos == size())
11553 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11554 in order to reduce drastically the number of comparisons needed to
11555 parse a large document
11557 2002-05-29 André Pönitz <poenitz@gmx.net>
11563 * textclasslist.[Ch]:
11564 * sp_ispell.h: whitespace change
11566 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11569 lyxaction directly now.
11571 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11575 * lyxvc.C: remove unused headers
11577 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11584 * undo_funcs.C: some cleanups. Use shared_ptr
11585 and a template for the undo stacks.
11587 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11589 * BufferView_pimpl.h:
11590 * BufferView_pimpl.C:
11597 * text2.C: use key_state/mouse_state
11599 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11601 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11604 * chset.C: change include order
11605 (loadFile): use boost regex and get rid of LRegex and LSubstring
11607 * Makefile.am (BOOST_LIBS): new variable
11608 (lyx_LDADD): use it
11610 * LaTeX.C: change include order.
11611 (scanAuxFile): use boost regex and get rid of LRegex and
11615 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11620 * FontInfo.C: moved to frontends/xforms/
11623 * FontLoader.C: moved into frontends for GUIIzation
11628 * lyxfunc.C: changes from above
11630 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11632 * LColor.C: remove spurious X include
11634 * BufferView_pimpl.C:
11639 * text2.C: move font metrics to frontends/
11641 2002-05-24 Juergen Vigna <jug@sad.it>
11643 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11644 setting the undo_cursor.
11646 * ParagraphParameters.h: include local includes first.
11648 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11650 * BufferView_pimpl.C:
11651 * BufferView_pimpl.h:
11655 * screen.C: move WorkArea into frontends/
11661 * BufferView2.C: move LyXScreen into frontends/
11665 * lyx_gui.C: move lyxlookup into frontends/xforms/
11667 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11670 * BufferView_pimpl.C:
11680 * bufferview_funcs.C:
11693 * vc-backend.C: move LyX/XFormsView into frontends/
11695 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11707 * text2.C: move Painter to frontends/
11709 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * buffer.C: comment out some some code that depend upon lyx_format
11714 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11715 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11717 * buffer.h (NO_COMPABILITY): turn off compability
11719 * ColorHandler.C: include scoped_array.hpp
11721 * font.C: Use more specific smart_ptr header.
11724 * ShareContainer.h: ditto
11725 * lyx_main.h: ditto
11727 * FontInfo.h: ditto
11728 * BufferView_pimpl.h: ditto
11729 * ColorHandler.h: ditto
11731 * kbmap.C (defkey): change call to shared_ptr::reset
11733 2002-05-21 Juergen Vigna <jug@sad.it>
11735 * buffer.C (insertErtContents): fix to insert ert asis if it is
11736 non empty. Skip it completely if it contains only whitespaces.
11738 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11740 * BufferView_pimpl.C:
11741 * BufferView2.C: clear selection on paste (bug 393)
11743 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * DepTable.C: include ctime
11747 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11749 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11751 2002-05-14 Juergen Vigna <jug@sad.it>
11753 * text.C (breakParagraph): fixed function to honor the keepempty
11754 layout in the right maner and also to permit the right breaking
11755 algorithm on empty or non empyt keepempty paragraphs.
11757 * paragraph.C (breakParagraph): we have to check also if the par
11758 is really empty (!size()) for isempty otherwise we do the wrong
11761 2002-05-10 Juergen Vigna <jug@sad.it>
11763 * buffer.[Ch] : The following are only changes to the ert
11764 compatibility read reading old LaTeX layout and font stuff and
11765 convert it to ERTInsets.
11767 * buffer.h: added isErtInset().
11769 * buffer.C (struct ErtComp): add a fromlayout bool to check
11770 if we're inside a LaTeX layout.
11771 (isErtInset): new helper function.
11772 (insertErtContents): look for other ert insets before this one
11773 and insert the contents there, so that we don't have subsequent
11774 ERT insets with nothing between them. This way we create only one
11775 inset with multiple paragraphs. Also check if we don't insert only
11776 spaces ' ' as they are ignored anyway afterwards in the .tex file
11777 so if we have only spaces we will ignore this latex part in the
11779 (parseSingleLyXformat2Token \\layout): better compatibility when
11780 reading layout-latex stuff.
11781 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11783 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11784 stuff after reading the inset only get the information back from
11787 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11789 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11791 * LaTeXFeatures.C (getBabelOptions): New method.
11793 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11795 * BufferView_pimpl.C (Dispatch): work around missing argument for
11798 2002-05-08 Juergen Vigna <jug@sad.it>
11800 * text.C (leftMargin): handle paragraph leftindent.
11802 * paragraph.C (writeFile): write the new \\leftindent tag.
11803 (validate): handle leftindent code.
11804 (TeXEnvironment): handle paragraphleftindent code again.
11806 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11808 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11809 for paragrap_extra indent code and new token \\leftindent.
11810 (latexParagraphs): handle the leftindent as environment.
11812 * ParameterStruct.h: added leftindent support.
11814 * ParagraphParameters.C (leftIndent): added support functions for
11815 the paragraph left indent.
11817 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11820 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11822 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11825 * text.C (computeBidiTables): No bidi in insetERT.
11827 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11830 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * version.C.in: pre 5
11834 2002-05-02 José Matos <jamatos@fep.up.pt>
11835 * buffer.C (makeDocBookFile): white space changes, add newline to
11837 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11839 * tabular.C (docBook): fix typo.
11841 2002-05-03 Juergen Vigna <jug@sad.it>
11843 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11844 change in LyXText as we can not be sure it was not freed.
11845 (drawOneRow): remove unused code.
11847 * text.C (drawInset): redo the calculation of the need_break_row as
11848 it could have a row which was already freed.
11849 (draw): look at the return value of drawInset and return false if
11850 it also returned false.
11851 (paintRowText): look at the return value of draw and return false if
11852 it also returned false.
11854 * lyxtext.h: added bool return type to drawInset() and draw() so that
11855 if we have a change in the row so that the rowbreak has to be redone
11856 we abort drawing as it will be called again.
11858 2002-05-02 Juergen Vigna <jug@sad.it>
11860 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11861 a change in the maintext also if we're inside an inset.
11862 (Dispatch): set the cursor again after a break line and after the
11863 screen has been updated as it could be we're in a different row.
11865 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11866 to set the cursor behind the pargraph with > size().
11867 (setCursor): check also for the same paragraph when checking where
11868 to put the cursor if we have a NFR inset.
11870 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11871 parts of layout read further up as it still was in the wrong
11874 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11876 * screen.C (drawFromTo): change sine fullRebreak always return
11879 * buffer.C (parseSingleLyXformat2Token): reindent some
11881 * BufferView_pimpl.C (update): change since fullRebreak always
11883 (Dispatch): git rid of the last hardcoded "Standard"s.
11885 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11887 * text2.[Ch] (fullRebreak): make it return void now that we always
11890 2002-04-30 Juergen Vigna <jug@sad.it>
11892 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11893 ert compatibility check for "latex" layout.
11895 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11897 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11898 minipages: use col% instead of p%, and also use the current font.
11899 (makeLaTeXFile): Fix use babel condition.
11900 (parseSingleLyXformat2Token): Correct font when reading old floats.
11902 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11904 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11905 inserting list of floats.
11907 2002-04-25 Herbert Voss <voss@lyx.org>
11909 * MenuBackend.C (expand): don't add the graphics extensions to the
11912 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11914 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11915 non-existing layout, do not complain if it was the default layout
11916 of the original class (bug #342)
11918 2002-04-24 Juergen Vigna <jug@sad.it>
11920 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11921 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11923 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11925 * buffer.C (getBibkeyList): If using \bibliography, return the
11926 option field with the reference itself. Enables us to provide natbib
11927 support when using \bibliography.
11929 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11931 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11933 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11934 natbib is provided by the LaTeX class.
11936 2002-04-23 Juergen Vigna <jug@sad.it>
11938 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11941 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11943 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11945 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11947 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11948 ensuremath around textordmasculine, textordfeminine and
11951 2002-04-19 Juergen Vigna <jug@sad.it>
11953 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11954 reinitializing the buffer otherwise row-dimensions may be wrong.
11955 (update): reset also the selection cursors if they do exits otherwise
11956 their x/y positions may be wrong.
11958 * text2.C (cursorDown): don't enter the inset if we came from a row
11959 above and are one row over the inset.
11961 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11962 really leaving an inset.
11964 2002-04-18 Juergen Vigna <jug@sad.it>
11966 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11967 of the selected paragraph does not have the selected layout also if
11970 * text2.C (setLayout): fixed bug which did not change last selected
11973 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11974 changed the read and substituted \\end_float with \\end_inset!
11976 * BufferView_pimpl.C (cursorPrevious):
11977 (cursorNext): fixed to make it work with rows heigher than the work
11978 area without moving the cursor only the draw of the row.
11979 (workAreaMotionNotify): fix jumping over high rows.
11981 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11986 2002-04-16 Juergen Vigna <jug@sad.it>
11988 * text2.C (setCursor): set also the irow().
11989 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11991 (cursorDown): support for locking an inset if the x_fix value goes
11992 inside it. That way I can transverse insets too with cursor up/down.
11994 * lyxrow.h: added irow helper function same as other (i) functions.
11996 * BufferView_pimpl.C (cursorPrevious):
11997 (cursorNext): fixed for insets!
11999 2002-04-15 Juergen Vigna <jug@sad.it>
12001 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12002 position otherwise it is wrong in some cases.
12004 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12005 inside the inset before the call.
12007 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12009 * buffer.[Ch] (getBibkeyList): make it const.
12011 2002-04-12 Juergen Vigna <jug@sad.it>
12013 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12015 * text2.C (getCursorX): new helper function
12016 (setCursor): compute also ix_
12017 (setCursorFromCoordinates): set also ix.
12019 * lyxcursor.h: added ix_ and helper functions.
12021 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12023 * buffer.C (insertStringAsLines): dont break paragraph if the this
12024 paragraph is inside an inset which does not permit it!
12026 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12027 also with no chars on this paragraph.
12028 (paintRowText): only paint stuff if it's inside the workarea!
12030 * paragraph.C (breakParagraph): honor keepempty flag and break the
12031 paragraph always below not above.
12033 * BufferView2.C (unlockInset): update the paragraph layout on inset
12034 unlock as we changed paragraph in such a case.
12036 * lyxfind.C (LyXFind): clear the former selection if not found!
12038 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12039 again called in insertChar().
12041 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12042 an inset which uses the whole row!
12043 (rightMargin): ditto.
12044 (insertChar): force a rebreak if we inserted an inset!
12046 2002-03-28 Herbert Voss <voss@lyx.org>
12048 * lyxlength.[Ch]: add inBP() to get the right PS-point
12049 units (BigPoint). With inPixels we have rounding errors
12051 2002-04-11 Juergen Vigna <jug@sad.it>
12053 * text2.C (setCursorFromCoordinates): set iy to the right value.
12054 (setCursor): add check if row->previous exists!
12056 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12057 an old float_type as this was the case in the old code!
12059 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12061 * BufferView2.C (showLockedInsetCursor): use iy
12062 (fitLockedInsetCursor): ditto
12064 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12065 locked insets as there we have the right value now.
12067 * lyxcursor.C: added iy_ variable and iy functions to set to the
12068 baseline of cursor-y of the locked inset.
12070 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12071 (setCursor): fixed for insets which need a full row.
12073 * text.C (rowLastPrintable): don't ignore the last space when before
12074 an inset which needs a full row.
12075 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12076 as last character of a row when before a inset which needs a full row.
12078 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12080 * version.C.in: update date
12082 * text2.C (fullRebreak): try to always return true and see what
12085 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12087 * MenuBackend.C (expand): use Floating::listName
12089 * FloatList.C (FloatList): add listName argument to the built-in
12092 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12093 text associated with the float.
12095 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12097 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12099 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * ShareContainer.h: add a couple of missing typenames.
12103 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12105 * lyxrc.C (getDescription): use _() correctly rather than N_().
12107 2002-03-28 Herbert Voss <voss@lyx.org>
12109 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12110 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12112 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12114 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12115 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12117 2002-03-29 Juergen Vigna <jug@sad.it>
12119 * lyxfunc.C (dispatch): add a missing fitCursor call.
12121 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12122 it was scrolled by a cursor move, so return the bool status.
12124 * BufferView.C (fitCursor): return the bool flag also to the outside
12125 world as this is needed.
12127 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12129 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12130 call the edit() as it is not needed (and wrong) IMO.
12131 (workAreaButtonPress): set the screen_first variable before evt.
12132 unlock the inset as this may change screen_first and then we have
12133 a wrong y position for the click!
12135 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12137 * MenuBackend.C (expand): another translation that I missed
12139 2002-03-28 Juergen Vigna <jug@sad.it>
12141 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12143 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12145 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12147 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12149 * MenuBackend.C (expand): fix export/view/update when there is no
12152 2002-03-27 Herbert Voss <voss@lyx.org>
12154 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12157 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12159 * bufferview_funcs.C (currentState): only show paragraph number
12160 for is DEVEL_VERSION is set.
12162 * lyxfunc.C (dispatch): put warning in INFO channel
12164 * MenuBackend.C (expand): translate the name of floats
12166 * FloatList.C (FloatList): mark the float names for translation
12168 * converter.C (convert): use LibScriptSearch
12170 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12172 * MenuBackend.C (defaults): fix default menu (we might as well get
12175 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12180 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12182 * lyxvc.C: reorder includes.
12184 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12186 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12189 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12191 * CutAndPaste.C: change layouts earlier on paste
12192 to avoid crashing when calling getFont()
12194 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12196 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12199 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12201 * WorkArea.C: remove 'Pending' debug message.
12203 * most files: ws cleanup
12205 * buffer.[Ch]: ws changes
12207 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12209 2002-03-21 Juergen Vigna <jug@sad.it>
12211 * tabular.C (SetMultiColumn): collapse also the contents of the
12212 cells and set the last border right. Added a Buffer const * param.
12214 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12219 2002-03-19 Juergen Vigna <jug@sad.it>
12221 * text2.C (clearSelection): reset also xsel_cache.
12223 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12224 where it needs to be called (John tells us to do so too :)
12225 (selectionLost): reset sel_cache.
12227 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12229 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12231 * text2.C (setCursorIntern): put debuging code in INSETS channel
12233 2002-03-19 André Pönitz <poenitz@gmx.net>
12235 * lyxfunc.C: tiny whitespace change
12237 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12239 * ToolbarDefaults.C (init):
12240 * LyXAction.C (init):
12242 * BufferView_pimpl.C (Dispatch):
12243 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12245 2002-03-19 Allan Rae <rae@lyx.org>
12247 * exporter.C (Export): removeAutoInsets before doing anything else.
12248 While I've just introduced a dependency on BufferView this really is
12249 the best place to clean the buffer otherwise you need to cleanup in
12250 a dozen places before calling export or cleanup in a dozen functions
12253 * converter.C (runLaTeX):
12254 (scanLog): Better handling of removeAutoInsets and screen updates.
12256 * lyxfunc.C (dispatch): small whitespace changes
12258 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * WorkArea.C (C_WorkAreaEvent): return a value.
12261 (event_cb): return 1 if we handled the event, 0 otherwise.
12263 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12265 2002-03-18 Juergen Vigna <jug@sad.it>
12267 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12268 (GetAdditionalWidth): ditto.
12269 (RightLine): ditto.
12272 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12273 inset if we're there actually (probably not used right now but this
12274 is the direction to go for unifying code).
12275 (paste): disable code to clear the selection.
12277 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12278 inside an InsetText and move the check further up as it is in the
12281 * text2.C (pasteSelection): set a selection over the pasted text.
12283 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12285 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12286 and libgraphics to build on Cygwin.
12288 2002-03-15 Juergen Vigna <jug@sad.it>
12290 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12291 inserting an Inset into the paragraph. I know this is not the best
12292 fix but we already use current_view in CutAndPaste so we will remove
12293 all of it's using at the same time.
12295 * buffer.C (sgmlError): deactivated function till it is rewritten in
12296 the right mode, now it can create problems.
12298 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12299 before accessing it.
12301 2002-03-14 Juergen Vigna <jug@sad.it>
12303 * undo_funcs.C (textHandleUndo): do the right thing when updating
12304 the inset after the undo/redo.
12306 * text2.C (setCursor): just some testcode for #44 not ready yet.
12308 * undo_funcs.C (textHandleUndo): set the next() and previous()
12309 pointers of the paragraph to 0 before deleting otherwise we have
12310 problems with the Paragraph::[destructor].
12312 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12313 on a paragraph insertion.
12315 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * buffer.C (asciiParagraph): use += operator for char append to
12320 * paragraph.C (getFontSettings): compare >= not just >
12321 (highestFontInRange): ditto
12324 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * paragraph.C: change several algorithm to be more appripriate for
12327 the problem domain. This is lookip in FontList and in the InsetList.
12329 2002-03-13 André Pönitz <poenitz@gmx.net>
12332 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12334 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12339 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12341 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12343 * Painter.C (display): anon helper function, adjust code for this
12345 (pixmap): remove function.
12347 * Painter.h: remove private display variable.
12349 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12351 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12353 * WorkArea.[Ch]: remove figinset_canvas cruft.
12355 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12357 * lyxtextclass.C (operator): add one item cache optimization.
12359 * bufferlist.h: doxy changes
12361 * bufferlist.C: ws changes
12363 * DepTable.[Ch] (ext_exist): place const in the right spot.
12365 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12367 (workAreaExpose): call resizeInsets when the with BufferView changes.
12368 (Dispatch): adjust for protectedBlank removal
12369 (specialChar): call updateInset if the insert went ok.
12371 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12372 specialChar instead.
12374 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12376 * BufferView.h: doxy change
12378 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12380 * lyxtextclass.C (operator[]): remove non-const version
12381 (defaultLayout): remove non-const version
12383 2002-03-12 Juergen Vigna <jug@sad.it>
12385 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12386 did resize the LyXText too.
12388 * buffer.C (readLyXformat2): set layout information on newly allocated
12391 * tabular.C (OldFormatRead): set layout information on the paragraph.
12393 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12395 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12397 2002-03-11 Juergen Vigna <jug@sad.it>
12399 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12401 (resizeCurrentBuffer): force also the insets to resize themselfes.
12402 (moveCursorUpdate): fixed up for InsetText.
12404 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12407 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12408 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12409 value of Dialogs::tooltipsEnabled().
12410 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12412 2002-03-08 Juergen Vigna <jug@sad.it>
12414 * BufferView_pimpl.C (updateInset): update inset inside inset also
12415 if it isn't inside theLockingInset().
12417 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * buffer.C (asciiParagraph): redo some of the word and line length
12421 (getLists): look for Caption instead of caption.
12423 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12425 * buffer.C (Buffer): initialize niceFile to true
12427 (makeLinuxDocFile):
12428 (makeDocBookFile): make sure niceFile is true on exit
12430 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12432 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12434 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12436 * LyXSendto.C: remove.
12437 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12438 * lyx_gui.C: remove now-redundant comment.
12439 * ColorHandler.h: remove forward declaration of class WorkArea.
12440 * lyxfunc.C: remove #include "WorkArea.h".
12442 2002-03-07 Juergen Vigna <jug@sad.it>
12444 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12445 got moved away with the DEPM and also set the inset_owner always
12446 right which before could have been omitted.
12448 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12451 wanted layout is not found.
12453 2002-03-07 Juergen Vigna <jug@sad.it>
12455 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12457 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * paragraph.C (breakParagraph): use default layout not layout of
12461 (Paragraph): clear ParagraphParameters.
12463 2002-03-06 Juergen Vigna <jug@sad.it>
12465 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12466 otherwise it would not be a valid lenght. Fixed a special case in
12467 the minipage compatibility read where we end the document with a
12470 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12471 was set as it could be 0 for InsetTexts first entry.
12473 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12475 * paragraph.C (writeFile): if layout is empty write out
12476 defaultLayoutName().
12478 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12479 file without named layout we set layout to defaultLayoutName().
12481 2002-03-06 Juergen Vigna <jug@sad.it>
12483 * CutAndPaste.C (copySelection): set layout for new paragraph.
12485 * text.C (prepareToPrint): leave ERT inset left aligned
12486 (leftMargin): don't indent paragraphs inside ERT insets
12488 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * paragraph.C (breakParagraph): dont call clear do the work manually
12492 * paragraph.[Ch] (clear): remove function
12494 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12496 * paragraph.C (Paragraph): dont call clear, the work has already
12499 * lyxtextclass.C (operator): assert if n is empty
12501 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12502 work manually instead.
12504 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12506 * BufferView_pimpl.C: protect selectionLost against text == 0
12508 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12510 * text.C (breakParagraph): fix a setting layout to '0' problem.
12512 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12514 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12515 final location of file, for the included files, and graphics.
12517 2002-03-05 Juergen Vigna <jug@sad.it>
12519 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12521 2002-03-04 Juergen Vigna <jug@sad.it>
12523 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12525 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12526 last column of multicolumn cells.
12527 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12529 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12531 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12532 file if it doesn't go to a temporary file.
12534 * buffer.C (sgmlOpenTag):
12535 (sgmlCloseTag): remove extra newline insertion.
12537 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * text.C (getRowNearY): comment out debug msg
12541 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12543 * text2.C: first -> first_y
12545 * text.C (getRowNearY): add some attemts at a possible
12546 optimization, not working.
12548 * tabular.[Ch]: add BufferParams to several function so that newly
12549 created paragraph can be initialized to he default layotu for the
12552 * tabular-old.C (ReadOld): add buf->params to call of Init
12554 * screen.C: rename text->first to text->first_y
12556 * paragraph.C (breakParagraph): always set layout in the broken
12559 * lyxtextclass.C (Read): remove lowercase
12562 (delete_layout): ditto
12564 * lyxtext.h: rename first -> first_y
12566 * lyxlayout.C (Read): remove lowercase
12569 (obsoleted_by): ditto
12571 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12573 * buffer.C (insertErtContents): add params are to InsetERT
12574 (parseSingleLyXformat2Token): add code to check if a paragraphs
12575 layout really exist.
12576 (parseSingleLyXformat2Token): add params to several inset
12578 (asciiParagraph): remove lowercase, do the layout comparisons with
12581 * BufferView_pimpl.C (cursorNext): first -> first_y
12582 (resizeCurrentBuffer): first -> first_y
12583 (updateScrollbar): first -> first_y
12584 (scrollCB): first -> first_y
12585 (workAreaMotionNotify): first -> first_y
12586 (workAreaButtonPress): first -> first_y
12587 (checkInsetHit): first -> first_y
12588 (cursorPrevious): first -> first_y
12589 (cursorNext): first -> first_y
12590 (Dispatch): add buffer_->params to severl inset contructors
12592 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * lyxlayout.C (Read): remove some debug info that I forgot.
12596 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12597 clean up the code slightly.
12598 (makeLinuxDocFile): ditto
12599 (makeDocBookFile): ditto
12601 * text2.C: layout as string
12603 * text.C: layout as string
12605 * paragraph_pimpl.C: layout as string
12607 * paragraph.[Ch]: layout as string
12609 * lyxtextclasslist.[Ch]: layout as string
12611 * lyxtextclass.[Ch]: layout as string
12613 * lyxtext.h: layout as string
12615 * lyxlayout.[Ch]: layout as string
12617 * lyx_cb.C: layout as string
12619 * bufferview_funcs.C: layout as string
12621 * bufferparams.C: layout as string
12623 * buffer.C: layout as string
12625 * LyXView.[Ch]: layout as string
12627 * LaTeXFeatures.[Ch]: layout as string
12629 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12631 * BufferView_pimpl.C: change current_layout to string, remove
12636 (workAreaButtonRelease): layout as string
12638 * BufferView2.C (unlockInset): adjust
12640 * vspace.C (asLatexCommand): use an explict temp variable.
12642 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12644 * Makefile.am: use FRONTEND_*
12646 2002-03-01 Juergen Vigna <jug@sad.it>
12648 * tabular.C (SetWidthOfMulticolCell): changed to something better
12649 I hope but still work in progress.
12650 (recalculateMulticolumnsOfColumn): renamed function from
12651 recalculateMulticolCells as it is more appropriate now.
12652 (SetWidthOfCell): calculate multicols better.
12654 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12656 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12658 * lyxfunc.C (processKeySym): print sequence also if it is
12659 `deleted' (complete)
12661 * kbsequence.C (print): print sequence even if it is deleted
12662 (complete would be a better word, actually).
12664 * lyxfunc.C (dispatch): print complete options after a prefix key
12666 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12668 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12670 * text2.C (setCharFont): eliminate setCharFont code duplication.
12672 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12674 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12675 LFUN_TABULAR_FEATURE (bug #177)
12677 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12679 * Makefile.am: remove figure.h
12681 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12683 * Bufferview_pimpl.C:
12695 * text2.C: remove #include "lyx_gui_misc.h".
12697 * LaTeX.C: added #include <cstdio>
12699 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12701 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12702 that the paragraph following this one can have.
12704 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12706 * vspace.C (asLatexCommand): fix bogus gcc warning
12708 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12710 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12712 * text2.C (setLayout): get rid of redundant code
12714 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12716 * text2.C (incDepth): make sure depth cannot be increased beyond
12719 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12721 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12722 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12724 * PainterBase.h (image):
12725 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12726 a LyXImage const *.
12728 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12732 * BufferView_pimpl.C:
12733 * BufferView_pimpl.h:
12753 * sp_spell.C: remove fig inset, and the crap house of
12754 cards that follows it
12756 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12761 * os2_errortable.h:
12762 * nt_defines.h: move .h into support/
12764 * vms_defines.h: remove
12766 * WorkArea.C: add space in debug output
12770 * buffer.C: add WITH_WARNINGS
12774 * bufferlist.C: s/retrive/retrieve/, add docs
12783 * chset.C: add docs
12785 * lyxgui.C: add ID to X error handler
12787 * lyxtestclass.c: fix typo
12789 2002-02-26 Juergen Vigna <jug@sad.it>
12791 * tabular_funcs.C (write_attribute): changed so that some default
12792 attributes are not written at all.
12793 (getTokenValue): set default values before trying to read the
12794 value so we have the return value always set as default if we don't
12795 find the token we search for.
12797 * tabular.C (Write): write bools as bools not as strings!
12799 2002-02-22 Juergen Vigna <jug@sad.it>
12801 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12802 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12804 * text.C (leftMargin): don't add an indent for paragraphs inside
12805 tabular cells (fix #208).
12807 2002-02-21 José Matos <jamatos@fep.up.pt>
12809 * tabular.C (docBook): fixed support for long tables.
12811 2002-02-20 Juergen Vigna <jug@sad.it>
12813 * text2.C (getFont): get the drawing font of the Inset if this
12814 paragraph is inside an inset (only important for InsetERT for now).
12816 * buffer.C (insertErtContents): use new lanugage params in ERT
12819 * CutAndPaste.C: commenting out seemingly uneeded code.
12821 2002-02-19 Allan Rae <rae@lyx.org>
12823 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12824 Iterators might be simple to use but they also get invalidated.
12825 (removeAutoInsets): renamed saved cursor tracking variables and added
12826 some comments to clarify what everything does.
12828 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12835 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12836 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12839 * vc-backend.h: remove #include "support/syscall.h"
12843 * converter.C: rearrange #includes in Lars' approved fashion.
12845 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12846 forward declare class Timeout in the header file.
12848 * XFormsView.C: changes due to the above.
12850 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12851 similar to LyXView.
12853 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12854 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12856 2002-02-18 José Matos <jamatos@fep.up.pt>
12858 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12861 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12863 * a lot of small ws changes
12864 * add a lot of using std::XXX
12865 * use std construcs some places where approp.
12866 * use some exisint stuff from lyxfunctional where approp.
12867 * Make file changes to use partial linking (lets test this now...)
12869 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12873 remove #include "support/syscontr.h" as it's redundant. Always has been.
12881 change Systemcalls::System to Systemcalls::Wait and
12882 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12883 No change of functionality, just reflects the stripped down Systemcalls
12886 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12888 * debug.[Ch]: add a GRAPHICS type to the enum.
12890 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12892 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12894 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12897 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12899 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12900 match the changes below.
12902 * text2.C (toggleInset): if there is not editable inset at cursor
12903 position, try to see if cursor is _inside_ a collapsable inset
12906 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12908 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12909 document menu has a nice checkbox
12911 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12913 * lyxlength.C (asLatexString): change PW to output as percent of
12916 * lengthcommon.C: change '%' to 't%'
12918 * lyxfunc.C (dispatch): a few comments from Martin
12920 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12924 * BufferView_pimpl.h:
12925 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12928 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12930 * vspace.C (inPixels): fix compiler warning
12932 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12934 * lyxfunc.C (getStatus): fix status message for disabled commands.
12936 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12938 * BufferView_pimpl.C: fix crash on close buffer
12939 during selection (#227)
12941 2002-01-27 Herbert Voss <voss@lyx.org>
12943 * buffer.C: link old Figure to new graphic inset
12945 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12947 * FontLoader.C (getFontinfo): Change the latex font names in order
12948 to match the names of type1inst.
12950 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12952 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12954 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12955 (extchanged): ditto
12957 (remove_files_with_extension): ditto
12958 (remove_file): ditto
12961 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12962 document is smaller than the work area height. Do not initialize
12963 static variables to 0.
12965 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12967 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12969 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12970 LFUN_LAYOUT_PARAGRAPHS.
12972 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12973 tabular. It is possible to provide a possible cell, which will
12974 typically be the actcell from the corresponding insettabular
12976 * lyxfunc.C (getStatus): small cleanup; disable
12977 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12980 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12982 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12984 * paragraph.C (startTeXParParams):
12985 (endTeXParParams): new methods. The LaTeX code to
12986 start/end paragraph formatting
12987 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12988 empty (fixes bug #200)
12990 * vspace.C (inPixels): adapt to the change below
12991 (inPixels): [later] more cleanups (remove unused variables)
12993 * lyxlength.C (inPixels): change to use a width and a height as
12996 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12998 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12999 Replaced with \paperwidth
13001 * DepTable.C (insert): add std:: qualifier
13003 2002-01-18 Allan Rae <rae@lyx.org>
13005 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13008 * text.C (drawInset): Turned out I didn't know enough about how
13009 rebreaking worked. This fixes most of the redraw problems. I see
13010 an occasional cursor trail when a line is broken now and the cursor
13011 placement can seem out by a few pixels also after a rebreak.
13013 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13015 * buffer.C (parseSingleLyXformat2Token): update because minipage
13016 width is now a LyXLength
13018 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13020 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13023 2002-01-17 Juergen Vigna <jug@sad.it>
13025 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13027 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13028 is set correctly and the inset is updated correctly.
13030 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13032 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13033 the beginning of the loop.
13035 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13037 * lyxrc.C: improve help for use_scalable_fonts
13039 2002-01-17 Allan Rae <rae@lyx.org>
13041 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13043 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13045 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13046 make sure to set their inset_owner to the right value (bug #171)
13048 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13051 * DepTable.C: Implement mtime checking to reduce time spent doing
13054 2002-01-16 Juergen Vigna <jug@sad.it>
13056 * tabular.C (GetAdditionalHeight): one of error fixed.
13058 * lyxrc.C (output): small fix in writing use_pspell.
13060 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13062 * sp_base.h: #include LString.h
13064 2002-01-16 Allan Rae <rae@lyx.org>
13066 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13067 Can someone check this please?
13069 * text.C (drawInset): It was possible that p.row would be removed by
13070 breakAgainOneRow upsetting a few other settings. There may be another
13071 small tweak possible by setting need_break_row = 0 when p.row has been
13072 removed but I don't know enough about the logic here.
13074 2002-01-15 Allan Rae <rae@lyx.org>
13076 * text.C (insertChar): removed conditional truism.
13078 * BufferView2.C (removeAutoInsets): More tweaks.
13079 cur_par_prev could be a stray pointer. Check for trailing empty line
13080 in case last line was cur_par and only had an error inset on it.
13082 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13084 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13087 * vc-backend.C (most methods):
13088 * exporter.C (Export):
13089 * converter.C (convert):
13091 * LyXSendto.C (SendtoApplyCB):
13092 * lyxfunc.C (dispatch):
13096 * lyx_cb.C (AutoSave):
13098 * BufferView_pimpl.C (MenuInsertLyXFile):
13099 * buffer.C (runChktex): use Buffer::filePath().
13101 * buffer.h: rename filename to filename_; rename filepath to
13102 filepath_ and make it private
13103 (filePath): new method
13105 * buffer.C (writeFile): use fileName()
13108 * lyx_main.C (init): fix starting of LyX when the binary is a
13109 link from so,ewhere else.
13111 * minibuffer.C: include <cctype> for isprint
13113 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13115 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13116 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13117 name clash with InsetCollapsable's width function.
13119 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * lastfiles.C: include <iterator>
13123 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13125 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13128 * buffer.C (makeLaTeXFile): ditto.
13129 Also make loop operation more transparent.
13131 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13133 * ToolbarDefaults.C: remove trailing comma closing namespace.
13135 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13137 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13140 * trans.C (Load): comment out unused variable, allowed.
13142 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13144 * minibuffer.[Ch] (append_char): new method to recieve input from the
13145 drop-down completion browser. If a key was pressed, then recieve this
13146 char and append it to the existing string.
13147 (peek_event): modify the positioning data passed to the completion
13148 browser so that it can be placed above the minibuffer rather than below.
13149 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * LyXAction.C (init): alloe error-next for readonly documents.
13153 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13156 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13158 * bufferlist.C (readFile): create the buffer _after_ checking that
13161 * lyxfunc.C (verboseDispatch): fix handling of arguments
13163 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13165 * lyxrc.C: use string::erase() instead of initializing to "".
13168 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13170 * BufferView_pimpl.h:
13171 * BufferView_pimpl.C:
13174 * text2.C: tell X when we have made a selection for copying
13176 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13178 * BufferView_pimpl.C (MenuInsertLyXFile):
13179 * lyxfunc.C (menuNew):
13181 (doImport): add shortcuts to directory buttons
13183 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13186 * lyxfunc.C (setStatusMessage):
13187 (getStatusMessage): new methods
13188 (getStatus):use setStatusMessage instead of setErrorMessage
13189 (dispatch): when function is disabled, set error message here
13190 [instead of in getStatus previously]
13192 * BufferView_pimpl.C (workAreaButtonRelease): update
13193 toolbar/menubar here too.
13195 2002-01-13 Allan Rae <rae@lyx.org>
13197 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13198 Now seems indestructible. Remaining task is to audit all other
13199 code affected by deleteEmptyParagraphMechanism. One small quirk
13200 left is that an empty document with an error in the preamble can
13201 be made to report an error but no error box appears. I don't know
13203 (removeAutoInsets): Improved comments.
13205 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13208 * Thesaurus.C: update for Aiksaurus 0.14
13210 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * text2.C (firstParagraph): removed member function, all uses
13213 replaces with ownerParagraph
13214 (redoParagraphs): here
13215 (updateInset): here
13216 (toggleAppendix): here
13217 * BufferView2.C (insertErrors): here
13218 (setCursorFromRow): here
13220 2002-01-13 Allan Rae <rae@lyx.org>
13222 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13223 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13224 There is still a way to segfault this although you may have to do this
13225 multiple times: Have an InsetERT with an unknown command in it.
13226 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13227 <down-arrow>, <Enter> again, View->DVI, BANG!
13229 * text2.C (setCursor):
13230 (deleteEmptyParagraphMechanism):
13231 * lyxtext.h (setCursor):
13232 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13233 Making use of the return value may help fix other bugs.
13235 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13237 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13239 * LyXView.C (updateMenubar): call MenuBar::update here
13240 (updateToolbar): but not here
13241 (showState): do not update toolbar/menubar
13243 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13244 should need to care about that.
13246 * lyxfunc.C (verboseDispatch): simplify a bit
13247 (getStatus): have a version which takes a pseudoaction, and
13248 another which requires a (kb_action,string).
13250 * LyXAction.C (retrieveActionArg): make it work also when action
13251 is not a pseudo-action.
13252 (getActionName): simplify a bit
13255 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13257 * lyxfunc.C (verboseDispatch): new families of methods with
13258 several ways to specify a command and a bool to indicate whether
13259 the command name and shortcut should be displayed in minibuffer
13260 (eventually, we could extend that to a finer bitmask like
13261 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13262 (dispatch): the pristine dispatch command which just, well,
13263 dispatchs! Note it still sets its result to minibuffer; I'm not
13266 * lyxfunc.h: remove setHintMessage
13268 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13270 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13272 * BufferView_pimpl.C (specialChar): delete new inset if we have
13273 not been able to insert it.
13275 * kbmap.C: revert to using int instead of kb_action, since all we
13276 are dealing with is pseudo-actions.
13278 * LyXAction.C (searchActionArg): change to return int instead of
13279 kb_action, since the result is a pseudoaction.
13281 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13283 * buffer.C (insertErtContents): Fix (partially) the font bug.
13285 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13287 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13288 as the other one is broken on my machine!
13290 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13293 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13295 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13297 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13298 reflect their actual use. Provide compatibility code for older lyxrc
13301 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13303 change names of popup font variables in line with the changes to lyxrc.C
13305 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13307 * buffer.C (asciiParagraph): avoid outputing a word twice after
13310 * lyxrc.C (getDescription): document that document_path and
13311 template_path can be empty.
13313 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13315 * LaTeXFeatures.C (getMacros):
13316 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13318 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13320 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13322 (getPackages): rename feature "floats" to "float". Use an array to
13323 iterate over 'simple' features (i.e. just a \usepackage). Add
13324 handling of "amsmath" (renamed from "amsstyle").
13326 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13328 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13331 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13333 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13334 FuncStaus::FuncStatus & FuncStaus::some_method().
13336 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13338 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13339 of the func_satus stuff. Edited and massaged in various ways by
13342 * lyxfunc.C (getStatus): use FuncStatus
13344 2002-01-08 Juergen Vigna <jug@sad.it>
13346 * text.C (nextBreakPoint): use function Inset::isChar().
13348 * paragraph.C (TeXOnePar): use function
13349 Inset::forceDefaultParagraphs.
13351 * buffer.C (latexParagraphs): use function
13352 Inset::forceDefaultParagraphs.
13354 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13356 * lyx_gui.C (init): set the style of the menu popups to
13357 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13359 2002-01-07 Juergen Vigna <jug@sad.it>
13361 * text.C (setHeightOfRow): small fix
13362 (prepareToPrint): don't look at alignment if we don't have the place
13365 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13367 * box.C: New file. Move the Box methods and functions out of box.h,
13368 following Lars' suggestion.
13370 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13372 * box.h: #include "support/LOstream.h", needed for inlined function.
13375 * lyxtextclasslist.C: added some using std declarations.
13377 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13379 * box.h: make signed dimensions to allow insets wider than
13380 the screen (bug #162)
13382 * BufferView_pimpl.C: add some insetHit debug
13384 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13386 * vc-backend.C: add FIXME
13388 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13390 * lyxfunc.C (getStatus): enable code for showing math font status
13393 2002-01-07 Juergen Vigna <jug@sad.it>
13395 * text.C (nextBreakPoint): removed debug output not needed anymore.
13397 2002-01-06 Juergen Vigna <jug@sad.it>
13399 * text.C (nextBreakPoint): fixed up this function we had this bug
13400 since ever but now hopefully we break row better.
13401 (insertChar): we have to check if an inset is the next char as it
13402 could now happen that a large inset is causing a break.
13404 2002-01-05 Juergen Vigna <jug@sad.it>
13406 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13407 if it doesn't like to be drawed.
13409 2002-01-04 Juergen Vigna <jug@sad.it>
13411 * BufferView2.C (lockInset): forgot to set a cursor.
13413 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13415 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13417 * FormMathsPanel.C:
13420 * form_maths_panel.C:
13421 * form_maths_panel.h:
13422 * form_maths_panel.fd: implemented sub- and super- buttons in math
13425 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13426 (or ^ space) to be used as in TeX (req'd by André).
13428 * lyxfunc.C: Allow ^ and _ again to be used both as
13429 super/subscript (mathed) and as themselves (in text).
13431 2002-01-03 Allan Rae <rae@lyx.org>
13433 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13434 "LyX" or the filename of the current buffer if it has one. This is a
13435 modified form of John Levon's patch.
13437 * XFormsView.C (setWindowTitle): also set icon title.
13439 * LyXView.h (setWindowTitle): signature changed.
13440 * XFormsView.h (setWindowTitle): ditto.
13442 2002-01-02 Juergen Vigna <jug@sad.it>
13444 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13446 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * screen.C (topCursorVisible): introduce a temp var for
13449 text->cursor.row(), handle the case where this row is null. (kindo
13452 * text2.C (setCursor): add a couple of asserts.
13454 * paragraph.h (inset_iterator): add -> operator
13456 * paragraph.[Ch] (autoDeleteInsets): remove member function
13458 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13459 cursor pos correctly and handle inset deletion by itself.
13460 (insertErrors): move iterator declaration out of for expression
13462 * lyxtextclass.C: add <algorithm>
13464 * Makefile.am: added the new files to sources, removed layout.C
13466 * layout.C: removed file
13468 * layout.h: remove LYX_DUMMY_LAYOUT
13470 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13474 * lyxtextclass.[Ch]:
13475 * lyxtextclasslist.[Ch]: new files
13477 * include order changes to a lot of files, also changes because of
13480 2001-12-27 Juergen Vigna <jug@sad.it>
13482 * buffer.C (asciiParagraph): more fixes.
13484 * tabular.C (ascii): make ascii export support export of only the
13485 data separated by a column-delimiter.
13486 (ascii): better support for ascii export.
13488 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13490 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13492 * tabular_funcs.C: use a "using std::getline" instead of the
13493 previous fix from Angus (necessary for cxx + lyxstring)
13495 2001-12-24 Juergen Vigna <jug@sad.it>
13497 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13499 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13500 problems. First check a minipage also if we have some ert-contents
13501 (not only on par->size(), second set the right depth of the paragraph
13502 on the relink to the root-paragraph-list!
13504 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13505 which then did not anymore update the main paragraphs on undo/redo!
13507 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13509 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13510 code. Support all font-changing funcs (even those which are not in
13511 menu currently). Support for reporting font settings in
13512 mathed (disabled until Andre provides a function on mathed's side).
13514 * func_status.h (toggle): small helper function to set toggle
13517 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13519 * tabular_funcs.C: getline -> std::getline
13521 2001-12-21 Juergen Vigna <jug@sad.it>
13523 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13524 accessed and could be 0 (I couldn't generate this but it seems
13527 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13530 * tabular_funcs.h: here and include iosfwd
13532 2001-12-20 Juergen Vigna <jug@sad.it>
13534 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13535 inside inset but undo_par was.
13537 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13539 * Thesaurus.C: always include <config.h> in sources.
13543 * box.h: do not include <config.h> in header files
13545 * text.C (paintLastRow): remove unused variable
13547 * text.C (transformChar):
13549 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13551 * Painter.C (text):
13552 * font.C (width): rewrite to use uppercase() instead of
13555 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13557 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13559 * lyxfind.C: clean up of find failure position change
13561 2001-12-20 Juergen Vigna <jug@sad.it>
13563 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13565 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13566 (TeXRow): added to LaTeX a single tabular row.
13567 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13568 (Latex): simplified and finally good LT-h/f support.
13569 (various_functions): just small adaptions for LT-h/f support.
13571 * tabular_funcs.[hC]: added and moved here all not classfunctions
13574 2001-12-19 Juergen Vigna <jug@sad.it>
13576 * tabular.[Ch]: better support for longtabular options (not finished
13579 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13581 * text.C (paintLastRow): use the label font instead of the font of
13582 the last character to compute the size of *_BOX. This makes more
13583 sense and avoids a crash with empty paragraphs.
13584 Use Painter::rectangle to draw EMPTY_BOX.
13586 2001-12-19 Juergen Vigna <jug@sad.it>
13588 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13589 the paragraphs if the replaced paragraph is not the first one!
13590 Tried to delete not used paragraphs but does not work yet so for
13591 now it's inside #ifdef's and by default off!
13593 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13595 * MenuBackend.C: include "lyx_main.h" instead of declaring
13596 lastfiles (actually was declared as LastFiles* instead of a
13599 2001-12-17 Juergen Vigna <jug@sad.it>
13601 * tabular.C (AppendColumn): applied John's fix
13603 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13607 * BufferView_pimpl.h:
13608 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13611 * box.h: new start of class for above
13613 * lyxfunc.C: ignore space-only minibuffer dispatches.
13614 Show the command name when it doesn't exist
13616 * minibuffer.C: don't add empty lines to the history
13618 * minibuffer.C: add a space on dropdown completion
13620 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13622 * text.C: fix line above/below drawing in insets
13624 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13626 * lyxlength.C (LyXLength): Initialize private variables.
13628 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13630 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13631 when inserting error insets.
13633 2001-12-13 Juergen Vigna <jug@sad.it>
13635 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13636 actually sometimes the before-paragraph.
13637 (setUndo): don't clear the redostack if we're not actually undoing!
13639 2001-12-06 Juergen Vigna <jug@sad.it>
13641 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13642 and fixed redoing of main paragraph, so we can use it now ;)
13644 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13646 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13648 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13651 2001-12-13 André Pönitz <poenitz@gmx.net>
13654 * undo_func.C: minor cleanup
13656 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13658 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13659 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13660 font in urw-fonts package which is marked as -urw-fontspecific and
13661 does not work (incidentally, changing the encoding in the
13662 fonts.dir of this package to -adobe-fontspecific fixes the
13665 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13666 is a crash when undoing first paragraph (Juergen, please take a
13667 look). THis does not mean the undo fix is wrong, just that it
13670 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13671 the (Paragraph*) version when needed instead of duplicating the
13674 * text.C (workWidth): use Inset::parOwner to find out where the
13675 inset has been inserted. This is a huge performance gain for large
13676 documents with lots of insets. If Inset::parOwner is not set, fall
13677 back on the brute force method
13679 * paragraph_pimpl.C (insertInset):
13680 * paragraph.C (Paragraph):
13681 (cutIntoMinibuffer): set parOwner of insets when
13682 inserting/removing them
13684 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13686 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13692 * mathed/formulabase.C:
13693 * mathed/math_cursor.[Ch]:
13694 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13697 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13699 * lyxlength.[Ch] (operator!=): new function
13701 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13703 * text.C (workWidth): use Inset::parOwner to find out where the
13704 inset has been inserted. This is a huge performance gain for large
13705 documents with lots of insets. If Inset::parOwner is not set, fall
13706 back on the brute force method
13708 * paragraph_pimpl.C (insertInset):
13709 * paragraph.C (Paragraph):
13710 (cutIntoMinibuffer): set parOwner of insets when
13711 inserting/removing them
13713 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13715 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13717 * tabular-old.C (getTokenValue):
13718 * tabular.C (getTokenValue):
13719 (write_attribute): new versions for LyXLength
13720 (everywhere): adjust the use of widths
13722 * tabular.h: change the type of widths from string to LyXLength
13724 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13726 * paragraph.C: fixed missing line number count when exporting
13727 Environments to LaTeX file
13729 * buffer.C: added informational message for checking line numbers.
13731 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13733 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13734 paragraph, do the 'double space' part, but not the 'empty
13737 * text.C (workWidth): small optimization
13738 (getLengthMarkerHeight): use minimal size for negative lengths.
13740 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13742 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13744 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13746 2001-12-11 André Pönitz <poenitz@gmx.net>
13749 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13751 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13753 * text2.C: keep selection on a setFont()
13755 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13757 * lyx_cb.C: another bv->text misuse, from insert label
13759 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13762 * kbsequence.C: re-instate nmodifier mask
13764 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13766 * lyx_main.h: make lyxGUI private.
13768 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13770 * lyxfind.C: place the cursor correctly on failed search
13772 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13774 * text.C (getLengthMarkerHeight): for small heights, the arrows
13775 are not always on top/bottom of the text
13776 (drawLengthMarker): smaller arrows; take the left margin in
13777 account; draw also vfills.
13779 (paintLastRow): remove special code for vfill and standard spaces,
13780 since everything is handled in drawLengthMarker now.
13782 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * buffer.C (insertErtContents): try to handle font and language
13785 interaction a bit better.g
13787 * ColorHandler.C (updateColor): change the hash to cover the whole
13788 LColor enum, ws cleanup
13789 (getGCLinepars): ditto
13790 (getGCLinepars): only lookup in the linecache once.
13792 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13794 * iterators.C (operator++): Make the iterator more robust
13796 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13798 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13800 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13803 * text.C: better added space drawing
13805 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13808 * BufferView2.C: fix layout combo update on inset unlock
13810 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13812 * Makefile.am: don't compile unused files
13814 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13818 * LyXAction.C: remove old LFUN_LAYOUTNO
13820 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13822 * paragraph_pimpl.h:
13823 * paragraph_pimpl.C: isTextAt() doesn't need font param
13825 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13828 * lyxlex.C: little cleanup
13830 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13832 * BufferView_pimpl.C: fix insertAscii for insets
13834 2001-12-05 Juergen Vigna <jug@sad.it>
13836 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13837 set the right font on the "multi" paragraph paste!
13839 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13845 * lyxlength.C: remove out-commented code.
13847 * BufferView_pimpl:
13861 * vc-backend.C: change "while(" to "while ("
13863 * lyxlength.[Ch]: add zero function to check if length is zero or
13865 * lyxgluelength.C: use it
13867 2001-12-05 Allan Rae <rae@lyx.org>
13869 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13870 Works for 2.95.3, from what I understand of Garst's reports this should
13871 work for other g++ versions. We're screwed if the abs(int) definition
13872 changed between bugfix releases of gcc.
13874 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13876 * text.C: fix chapter label offset !
13878 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13881 * text.C: fix hfill at end of line, clean up
13883 2001-12-04 Juergen Vigna <jug@sad.it>
13885 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13886 that we force an update of the inset and it's owners if neccessary.
13888 2001-12-03 Juergen Vigna <jug@sad.it>
13890 * text.C (rowLast): simplified code
13892 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13894 * lyxfunc.C: fix show options on timeout
13896 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13898 * screen.C (topCursorVisible): scroll half a page when the cursor
13899 reached top of bottom of screen
13901 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13903 * minibuffer.C: deactivate on loss of focus
13905 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * vspace.[Ch] (operator!=): add operator.
13909 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13911 * BufferView_pimpl.C: refuse to open an inset when
13912 there's a selection.
13914 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13916 * BufferView_pimpl.C: allow to click on RHS of full row insets
13918 2001-11-30 Juergen Vigna <jug@sad.it>
13920 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13921 insets for undo reasons.
13923 2001-11-28 André Pönitz <poenitz@gmx.net>
13925 * vspace.[Ch]: cosmetical changes
13927 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13937 * kbsequence.C: part re-write of old kb code
13940 * WorkArea.C: remove Lgb_bug_find_hack
13942 2001-11-30 José Matos <jamatos@fep.up.pt>
13944 * buffer.C (makeDocBookFile): add a comment to point a hack.
13945 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13946 Fixed a double write of labels.
13948 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13951 * LaTeX.h Fixed bug in LaTeX class where it would not
13952 re-run latex if no depfiles were changed, but the .dvi was removed.
13954 2001-11-28 André Pönitz <poenitz@gmx.net>
13956 * all the files from the change on 2001/11/26:
13957 use lyx::layout_type instead of LyXTextClass::size_type
13958 use lyx::textclass_type instead of LyXTextClassList::size_type
13960 2001-11-29 Juergen Vigna <jug@sad.it>
13962 * text.C: added support for paragraph::isFreeSpacing()
13964 * buffer.C: same as above
13966 * paragraph.h: inserted isFreeSpacing() function to enable
13967 FreeSpacing inside InsetERT.
13969 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13970 of the paragraph's in the cut/copy buffer to 0!
13972 * text2.C (removeRow): remove the assert as it can!
13974 * lyxtext.h: added helper function firstRow returning firstrow and
13975 made firstrow private again.
13977 * BufferView2.C (lockInset): don't relock if we're already locked!
13979 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13980 the only paragraph.
13981 (removeRow): added Assert::(firstrow)
13983 * debug.C: forgot to add INSETTEXT here.
13985 2001-11-28 Juergen Vigna <jug@sad.it>
13987 * sp_spell.C (initialize): changed error text to more general
13988 spellchecker command use (not only ispell!)
13990 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13992 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13994 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13996 * vspace.C: initialise lyxgluelength on failure
13998 2001-11-28 Allan Rae <rae@lyx.org>
14000 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14001 declaration & definition that looks like a function declaration.
14003 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14005 * BufferView2.C (copy):
14006 (copyEnvironment): do not clear the selection when doing a copy.
14008 * text.C (paintFirstRow): compilation fix
14010 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14012 * tabular.C (Latex): correct line count when writing latex.
14014 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14016 * paragraph_pimpl.h:
14017 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14020 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14024 * LColor.C: change vfillline->added_space
14026 * text.C: add markers and text for added space
14028 * vspace.C: fix comment
14030 2001-11-28 André Pönitz <poenitz@gmx.net>
14032 * paragraph.C: whitespace changes
14033 * all the other files from the change on 2001/11/26:
14034 change *::pos_type into lyx::pos_type
14036 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14038 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14039 language of the document when inserting error insets.
14041 2001-11-26 André Pönitz <poenitz@gmx.net>
14043 * BufferView_pimpl.[Ch]:
14051 * paragraph_pimpl.[Ch]:
14054 * text2.C: reduce header dependencies, introduce type for positions
14056 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14058 * <various>: change to use Alert.h
14060 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14062 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14063 when encountering an unknown token.
14064 (readLyXformat2): Show an error message if there were unknown tokens.
14066 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14069 * BufferView_pimpl.C:
14073 * text2.C: use par->isInset()
14075 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14077 * paragraph_pimpl.h:
14078 * paragraph_pimpl.C: cleanup
14080 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14082 * text2.C (removeRow):
14083 * text.C (setHeightOfRow): remove useless (and costly) call to
14086 2001-11-20 Allan Rae <rae@lyx.org>
14088 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14089 Now need Inset*::checkInsertChar() to return true for appropriate
14090 cases so that the characters in the minibuffer will actually be
14093 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14095 * text.C: change the order of the includes.
14096 (workWidth): initialize it at once.
14097 (workWidth): make maxw unsigned
14098 (setHeightOfRow): remove unused variable (inset)
14099 (selectSelectedWord): remove unused variable (inset)
14100 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14102 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14104 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14105 server is not running.
14107 (closeConnection): add debug info when server is disabled.
14109 * ColorHandler.C (getGCForeground): send debug message to GUI
14112 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14114 * kbmap.C (bind): modify because return conventions of
14115 kb_sequence::parse have changed.
14117 * kbsequence.C (parse): only ignore spaces and not any stupid
14118 control character. This avoids tests like s[i] <= ' ', which are
14119 guaranteed to fail with 8bit characters and signed chars.
14120 Change return code to string::npos when there have been no error
14121 (0 was a bad idea when error is at first character)
14123 2001-11-14 José Matos <jamatos@fep.up.pt>
14126 * buffer.C (simpleDocBookOnePar): removed unused argument.
14128 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14130 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14131 insets which are part of a word. Paragraph::isLetter takes care of
14132 that now. Use Paragraph::isInset to identify insets.
14133 (selectSelectedWord): do not test for hyphenation break.
14135 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14136 that protected spaces are considered as spaces.
14138 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14141 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14144 * lyxserver.C: fix it. and small cleanup.
14146 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14148 * BufferView_pimpl.C: use inline helpers
14151 * LaTeXFeatures.C: fix typos
14154 * Spacing.C: move spacing_string into class
14156 * ToolbarDefaults.C: move stuff into namespace anon
14158 * layout.h: update enum
14160 * lyxfunc.C: use better debug
14162 * minibuffer.h: fix typo
14166 * WorkArea.C: add and use Debug::WORKAREA
14170 * text2.C: code re-organisation, inline helpers
14172 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14174 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14175 std::vector.empty().
14177 2001-11-09 Allan Rae <rae@lyx.org>
14179 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14180 '\n's after tables. Tabular and ERT inset work now makes this no
14183 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14186 * minibuffer.C: fix crash, improve drop-down completion
14188 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14191 * lyxserver.C: invalidate fd's when doing endPipe()
14193 2001-11-08 José Matos <jamatos@fep.up.pt>
14195 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14196 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14199 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14201 2001-11-07 José Matos <jamatos@fep.up.pt>
14204 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14207 * buffer.C (sgmlOpenTag):
14208 * buffer.C (sgmlCloseTag): removed debug info.
14210 * buffer.h (sgmlOpenTag):
14211 * buffer.h (sgmlCloseTag): made public.
14213 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14215 * buffer.C (saveParamsAsDefaults):
14216 * lyx_cb.C (MenuLayoutSave): remove
14218 * LyXAction.C (init):
14220 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14222 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14224 * buffer.C (setPaperStuff): removed from here...
14226 * bufferparams.C (setPaperStuff): ... and moved there.
14228 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14232 * XFormsView.C: add support for drop-down completion
14234 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14236 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14239 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14241 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14244 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14246 * lyx_main.C: change ref to known bugs
14248 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14250 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14251 to work around older babel problems.
14253 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14255 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14257 2001-10-24 Juergen Vigna <jug@sad.it>
14259 * tabular-old.C (ReadOld): below variable changes reflected.
14261 * tabular.[Ch]: added ltType struct for longtable header/footer
14262 defines and changed all instances where they are used. Added
14263 future support for double top/bottom rows.
14265 2001-10-24 José Matos <jamatos@fep.up.pt>
14267 * buffer.h (docbookHandleCaption):
14268 * buffer.C (docbookHandleCaption): removed unused function.
14269 (makeDocBookFile): moved docbook supported version to v4.1.
14271 2001-10-24 José Matos <jamatos@fep.up.pt>
14274 * tabular.C (docbookRow): new function to export docbook code of a row.
14275 (DocBook): now honors the longtable flags.
14277 2001-10-23 José Matos <jamatos@fep.up.pt>
14280 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14281 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14283 * buffer.C (makeLinuxDocFile):
14284 (makeDocBookFile): reworked the preamble, more clean, and with
14285 support for lyx defined entities. Changed the document declaration
14286 to be more XML friendly.
14288 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14289 if we need to output XML that should be done with a filter.
14291 2001-10-22 Juergen Vigna <jug@sad.it>
14293 * sp_pspell.h (class PSpell): add alive function needed in the
14294 controller to see if the spellchecker could be started.
14296 2001-10-22 Juergen Vigna <jug@sad.it>
14298 * buffer.C (insertStringAsLines): modify the font for inserting
14299 chars in certain conditions by calling checkInsertChar(font).
14301 2001-10-19 Juergen Vigna <jug@sad.it>
14303 * text.C (workWidth): use getRow instead of wrong algorithm.
14304 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14306 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14311 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14313 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14315 * text.C (workWidth): do not search for the exact row when
14316 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14317 optimization for big documents.
14319 2001-10-18 Juergen Vigna <jug@sad.it>
14321 * text.C (workWidth): new function with added Inset * parameter.
14323 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14327 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14328 change return type of getColumnNearX.
14331 * text.C (changeRegionCase): use uppercase/lowercase instead of
14334 (rightMargin): simplify code by factoring out the uses of
14339 (appendParagraph): use Paragraph::size_type
14341 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * vspace.C (asLatexString): add a missing break
14345 2001-10-15 Herbert Voss <voss@perce.de>
14347 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14349 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14351 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14354 2001-10-10 André Pönitz <poenitz@gmx.net>
14356 * lyxfunc.C: removed greek_kb_flag.
14358 2001-10-10 Herbert Voss <voss@perce.de>
14360 * lyx_main.C: delete global string help_lyxdir.
14362 2001-10-09 Herbert Voss <voss@perce.de>
14364 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14366 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14368 * lyx_main.C: added global string help_lyxdir.
14370 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14372 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14374 * lyxrc.C (set_font_norm_type): support iso8859-4
14376 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14378 * LaTeX.C (deplog): add another regex for MikTeX
14380 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14382 * lyxrc.C (set_font_norm_type): support iso8859-3
14384 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14386 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14388 * LaTeXFeatures.C: remove special case of french and index
14390 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14391 before \begin{document}). This solves several incompatibilities.
14393 2001-10-03 Garst Reese <reese@isn.net>
14395 * lyx_cb.C: change CheckTex error msg.
14397 2001-10-03 José Matos <jamatos@fep.up.pt>
14399 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14401 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14403 * .cvsignore: update
14405 * lyx_main.C (commandLineVersionInfo): use new style version info.
14407 * buffer.C (writeFile):
14409 (makeLinuxDocFile):
14410 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14412 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14414 * version.h: update to use stuff in version.C
14416 * version.C.in: new file. Contains version information determined
14417 at compile time. This is a merging of version.h and
14420 2001-10-03 Juergen Vigna <jug@sad.it>
14422 * BufferView_pimpl.C (update): don't change "dirty" status in
14425 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14427 * WorkArea.C (c-tor): re-position version string slightly.
14429 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14431 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14432 revert to previous code.
14434 WorkArea.[Ch]: (show, destroySplash): methods removed.
14436 WorkArea.C: rework code so that it's an amalgam of the codes before and
14437 after the splash screen was moved to WorkArea.
14439 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * vspace.C (inPixels):
14445 * buffer.C (insertStringAsLines):
14446 (asciiParagraph): fix types to be large enough
14448 * lyxlex_pimpl.h: change member status from short to int
14450 * layout.h: fix type of endlabeltype
14453 * kbsequence.C (parse): change return type to string::size_type
14455 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14458 * Bullet.C (bulletSize):
14459 (bulletEntry): do not use short ints as parameters
14461 * BufferView2.C (insertLyXFile): change a char to an int.
14463 * WorkArea.C (WorkArea): remove unneeded floats in computation
14465 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14467 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14469 * paragraph.C (asString): Do not ignore newline/hfill chars when
14470 copying to the clipboard.
14472 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14474 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14475 after a multi-line inset.
14477 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14479 * paragraph.C (validate): Set NeedLyXFootnoteCode
14481 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14483 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14484 and decrease-error to decrease.
14486 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14488 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14489 it more readable (should be equivalent)
14491 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14493 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14495 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14497 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14498 of a cursor (row, etc.) after a character has been deleted
14499 (deleteEmptyParagraphMechanism): call the method above on _all_
14500 cursors held by the LyXText when a double space has been
14503 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14505 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14507 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14509 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14510 background. Use greyOut() and the new show() methods to toggle between
14511 the foreground and background. Add code to remove the splash after
14512 its initial showing.
14514 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14515 (create_forms): no longer call Dialogs::showSplash.
14517 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14519 * .cvsignore: add version_info.h
14521 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14523 * version_info.h.in: new file
14525 * Makefile.am: add version_info.h.in
14527 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14528 version_info.h instead of VERSION_INFO
14530 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14532 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14533 The ERT inset now returns string().
14535 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14537 * lyxtext.h, text.C (selectNextWord): renamed as
14538 selectNextWordToSpellcheck.
14540 * text.C (selectNextWordToSpellcheck): Modified to not select
14541 words inside an ERT inset.
14543 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14545 * lyx_cb.C (MenuLayoutSave): change a bit the question
14547 * sp_base.h: include <sys/types.h>
14549 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14551 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14553 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14555 * several files: fix typos in user-visible strings
14557 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14559 * text2.C (pasteSelection): do not set the selection, since it
14560 will be cleared later. Actually, the intent was to fix the way the
14561 selection was set, but I figured rmoving the code was just as good.
14563 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14565 * FontLoader.C (available): Check if font is available without
14568 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14570 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14572 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14574 * lyxrc.[Ch]: added display_graphics variable and associated code.
14576 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14578 * bufferparams.C (hasClassDefaults): new method. Returns true if
14579 the buffer parameters correspond to known class defaults
14581 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14583 * XFormsView.C (show): set minimum size to the main window.
14585 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14587 * text2.C (copySelection):
14589 * lyxfind.C (LyXReplace):
14590 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14591 LyXText::selectionAsString.
14593 * paragraph.C (asString): add "label" argument to the second form
14595 * text2.C (selectionAsString): add "label" argument and pass it to
14596 Paragraph::asString.
14598 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14600 * lyx_main.C (commandLineHelp): remove version information
14602 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14604 * lyx_main.C: add -version commandline option
14606 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14608 * paragraph.h: make the optional constructor arg required instead.
14609 some modifications to other files because of this.
14611 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14613 * lyxserver.C (C_LyXComm_callback): make it static
14615 * lyx_main.C (error_handler): make it static
14617 * lyx_gui.C (LyX_XErrHandler): make it static
14619 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14621 * WorkArea.C: make the extern "C" methods static.
14623 * Makefile.am (lyx_LDADD): simplify
14625 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14627 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14628 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14630 * LyXAction.C (init):
14631 * lyxfunc.C (dispatch): associated code removal.
14633 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * lyxfont.h (isSymbolFont): shut off warning
14637 * text.C (setHeightOfRow):
14638 (getVisibleRow): fix crash with empty paragraphs which have a
14641 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14643 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14646 2001-09-04 José Matos <jamatos@fep.up.pt>
14649 * tabular.C (docbook): rename docBook method to docbook.
14651 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14653 * Makefile.am: add dependencies to main.o.
14655 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14657 * FontLoader.C (available): Return false if !lyxrc.use_gui
14659 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14661 * FontInfo.C (query):
14662 * converter.C (view):
14663 * importer.C (Import):
14664 * exporter.C (Export): Can not -> cannot.
14666 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14668 * BufferView_pimpl.C: allow to create index inset even if
14671 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14673 * buffer.C (getLists): replace boost::tie code with an explicit pair
14674 as boost::tie can break some compilers.
14676 * iterators.h: Added a std:: declaration to the return type of
14679 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14681 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14684 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14686 * iterators.[Ch]: New files. Provide paragraph iterators.
14688 * buffer.C (changeLanguage): Use paragraph iterators.
14689 (isMultiLingual): ditto
14691 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14693 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14695 * FontLoader.C: Support for cmr font.
14697 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14699 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14700 (available): New method.
14702 * FontInfo.C (getFontname): Use scalable fonts even when
14703 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14706 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14708 * converter.C (Formats::view): reverted! Incorrect fix.
14710 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14712 * converter.C (Formats::view): only output the -paper option
14713 if the dvi viewer is xdvi, thereby fixing bug #233429.
14715 2001-08-23 Herbert Voss <voss@perce>
14717 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14719 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14721 * Spacing.h (Spacing): Set space to Default on in the default
14724 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14726 * vc-backend.h (RCS::versionString): add RCS to version
14727 (CVS::versionString): add CVS to version
14729 * vc-backend.C (scanMaster): do not add CVS to version.
14730 (scanMaster): do not add RCS to version
14732 * lyxvc.C (versionString): new method
14734 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14736 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * Spacing.C (set): initialize fval
14740 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14742 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14745 2001-08-16 Juergen Vigna <jug@sad.it>
14747 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14749 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14751 * BufferView_pimpl.C:
14754 * text2.C: setParagraph takes linespacing now
14756 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14758 * LyxAction.C: add internal LFUN_CITATION_INSERT
14760 * LyXView.C: actually apply fix
14762 * bufferlist.C: fix open non-existent file
14764 * lyxfind.C: fix indentation
14766 * lyxfunc.C: remove unneeded assert, fix typo
14768 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14770 * MenuBackend.C: use "Floatname List"
14772 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14774 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14775 when converting LaTeX layout to insetERT.
14776 Generate a non-collapsed float when reading old float
14778 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14780 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14783 2001-08-13 Juergen Vigna <jug@sad.it>
14785 * text.C (fill): return 0 instead of 20 as this seems to be the more
14788 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14790 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14793 2001-08-13 Juergen Vigna <jug@sad.it>
14795 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14797 (SearchBackward): comment out the unlocking of the inset_owner this
14798 should not be needed!
14800 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14802 * Many files: Remove inherit_language, and add latex_language
14804 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14805 collapsible insets.
14807 2001-08-10 Juergen Vigna <jug@sad.it>
14809 * text.C (prepareToPrint): fixed hfill-width in draw!
14811 * BufferView2.C (selectLastWord): save the selection cursor as this
14812 now is cleared in the function LyXText::clearSelection!
14814 2001-08-08 Juergen Vigna <jug@sad.it>
14816 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14817 BACKSPACE type functions.
14819 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14820 is only cutted from the document but not put in the cut-buffer, where
14821 still the old stuff should be.
14823 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14825 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14827 * tabular.C (SetWidthOfCell): fixed special case where the width
14829 (LeftLine): handle '|' in align_special.
14831 (LeftAlreadyDrawed): ditto
14832 (SetWidthOfCell): ditto
14834 2001-08-07 Juergen Vigna <jug@sad.it>
14836 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14838 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14840 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14841 * lyxlex.[hC]: ditto
14843 2001-08-06 Juergen Vigna <jug@sad.it>
14845 * text.C (getVisibleRow): fix up row clearing a bit.
14847 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * minibuffer.C: make sure the X server sees the changes in the input.
14851 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * paragraph.C (getFont): split into...
14854 (getLabelFont): this
14855 (getLayoutFont): and this
14856 * paragraph_pimpl.C (realizeFont): calling this
14858 * text2.C (getFont): split into...
14859 (getLayoutFont): this
14860 (getLabelFont): and this
14861 (realizeFont): all three calling this
14863 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14866 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14868 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14870 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14872 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14873 layouts from the Quote inset insertion.
14875 2001-08-03 Juergen Vigna <jug@sad.it>
14877 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14879 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14880 only if status not is already CHANGED_IN_DRAW (second level).
14882 * text.C (draw): don't set the need_break_row when inside an
14885 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14887 * buffer.C (parseSingleLyXformat2Token): handle more latex
14890 * bufferview_funcs.[hC]: change function names to
14891 begin with small char, adjust other files.
14893 2001-08-02 André Pönitz <poenitz@gmx.net>
14896 BufferView_pimpl.C: remove broken special code for math-greek
14898 2001-08-02 Juergen Vigna <jug@sad.it>
14900 * BufferView_pimpl.C (update): redone this function so that we
14901 update the text again if there was a CHANGE_IN_DRAW.
14903 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14904 (drawFromTo): added a new internal bool which is used by draw() and
14906 (general): some cursor drawing problems fixed.
14908 2001-08-01 Juergen Vigna <jug@sad.it>
14910 * lyxfind.C (LyXFind): fixed
14911 (SearchForward): ditto
14912 (SearchBackward): ditto
14914 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14915 spurius drawing of the cursor in the main area.
14917 * text2.C (status): small fix which could lead to a segfault!
14918 (clearSelection): remove unneeded BufferView param.
14920 2001-08-01 André Pönitz <poenitz@gmx.net>
14922 * lyxfunc.C: small change due to changed mathed interface
14924 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14926 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14928 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14930 * lyxfunc.c: fail gracefully if file doesn't exist
14935 * BufferView_pimpl.C: IsDirWriteable() proto changed
14937 * LyXView.C: fix updateWindowTitle() to store the last title
14939 2001-07-31 Juergen Vigna <jug@sad.it>
14941 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14942 the font (wrong since using of Paragraph::highestFontInRange).
14944 * paragraph.C (highestFontInRange): added a default_size parameter.
14946 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14947 (setHeightOfRow): reformat
14949 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14951 * converter.[hC] + affected files: move to (inital-char)lowercase
14954 * ParagraphParameters.C (ParagraphParameters): remove commented code
14956 * PainterBase.[Ch]: remove commented code
14958 * LaTeXFeatures.h: add "bool floats" for float.sty
14960 * LaTeXFeatures.C (LaTeXFeatures): init floats
14961 (require): handle float
14962 (getPackages): do it with floats
14964 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14966 * BufferView_pimpl.C (Dispatch): improve handling of
14967 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14969 * commandtags.h: #include lyxfont.h here temporarily to avoid
14972 * bufferlist.h: include LString.h here.
14974 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14976 * text2.C (getStringToIndex): new method.
14978 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14980 * *: Reduced header file dependencies all over.
14982 2001-07-30 Baruch Even <baruch@lyx.org>
14984 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14986 2001-07-29 Baruch Even <baruch@lyx.org>
14988 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14990 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14992 * ParameterStruct.h (endif): add a default constructor to make
14993 sure that all variables is initialized.
14995 * ParagraphParameters.C (ParagraphParameters): adjust
14997 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14999 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15000 index; also, check that there is something to index, and that it
15001 does not span over several paragraphs.
15002 (doubleClick): use WHOLE_WORD_STRICT for double click.
15004 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15006 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15009 2001-07-26 Baruch Even <baruch@lyx.org>
15011 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15012 an InsetFig figure, backwards compatible reading of old figure code.
15014 2001-07-27 Juergen Vigna <jug@sad.it>
15016 * text2.C: font.realize function adaption.
15018 * text.C (draw): add a warnings lyxerr text if needed.
15020 * layout.C: font.realize function adaption.
15022 * language.C: add inherit_language and implement it's handlings
15024 * bufferview_funcs.C (StyleReset): remove language parameter from
15025 font creation (should be language_inherit now).
15027 * bufferparams.C (writeFile): handle ignore_language.
15029 * paragraph.C (getFontSettings): the language has to be resolved
15030 otherwise we have problems in LyXFont!
15032 * lyxfont.C (lyxWriteChanges): added document_language parameter
15033 (update): removed unneeded language parameter
15035 * paragraph.C (validate): fixed wrong output of color-package when
15036 using interface colors for certain fonts in certain environments,
15037 which should not seen as that on the final output.
15039 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15041 * BufferView_pimpl.C:
15046 * LyXAction.C: add thesaurus support
15049 * lyxfind.C: add "once" parameter, for thesaurus, to not
15050 move to the next match
15052 2001-07-26 Juergen Vigna <jug@sad.it>
15054 * lyxfont.C (realize): honor ignore_language too!
15057 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15059 * text.C (draw): one place more for ignore_language to not draw
15062 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15064 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15066 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15069 the minipage conversion problem.
15071 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15076 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15078 * BufferView.h: don't forward declare WorkArea
15080 * BufferView.C: don't include WorkArea.h
15082 2001-07-25 André Pönitz <poenitz@gmx.net>
15086 * lyxfunc.C: new LFUN 'math-space'
15088 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15090 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15092 * text2.C (toggleInset): call open/close
15094 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15096 * lyxfunc.C (dispatch): add debug for the disabled case
15098 * font.C (buttonText): make similar to rectText
15100 * buffer.C (readInset): comment out parsing of insetlist and
15103 * PainterBase.C (rectText): small correction
15105 * BufferView_pimpl.C: comment out insettheorem and insetlist
15106 * LyXAction.C: ditto
15107 * commandtags.h: ditto
15109 2001-07-24 Juergen Vigna <jug@sad.it>
15111 * text.C (draw): honor the ignore_language.
15113 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15115 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15117 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15120 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15122 * lyxtext.h: remove unused (and unimplemented) methods
15124 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15126 * text.C (getVisibleRow): honor background color
15129 * Painter.h: remove default color argument for fillRectangle
15131 * text.C (backgroundColor): new method
15133 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15135 * text.C (getVisibleRow): adjust
15137 * font.[Ch] (rectText): new method, metrics
15138 (buttonText): new method, metrics
15140 * PainterBase.[hC]: make rectText and buttonText always draw and take
15143 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15145 * ToolbarDefaults.C (read):
15146 * MenuBackend.C (read): allow escaping in all strings
15148 * BufferView_pimpl.C (insertAndEditInset): new method.
15149 (Dispatch): use insertAndEditInset whenever appropriate.
15151 * BufferView_pimpl.C (insertNote): removed
15153 * BufferView_pimpl.C (smartQuote): new method, moved from
15154 BufferView; if an insetquote cannot be inserted, insert a '"'
15157 * BufferView2.C: remove insertCorrectQuote();
15159 * lyxfunc.C (getStatus): Add support for all remaingin
15160 inset-insert lfuns.
15162 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15164 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15165 command (necessary to pass " as parameter of self-insert.
15167 * text.C (selectWordWhenUnderCursor):
15168 (selectWord): add word_location parameter
15169 (selectWordWhenUnderCursor): same + remove special code for word
15171 (selectNextWord): use kind() to guess type of insetspecialchar,
15174 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15175 (insertErtContents): create ert insets as collapsed.
15176 (readInset): better compatibility code for Info inset.
15178 2001-07-20 Juergen Vigna <jug@sad.it>
15180 * lyxfunc.C (dispatch): use always LyXFind now!
15182 * text2.C (init): add a reinit flag so that the LyXText can be
15183 reinited instead of deleted and reallocated (used in InsetText).
15185 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15191 2001-07-18 Juergen Vigna <jug@sad.it>
15193 * text.C (selectNextWord): handle insets inside inset by calling
15194 always the bv->text functions so that we can go up the_locking_inset!
15196 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15197 in strange locations when inside an inset!
15199 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15200 handling to include insets.
15202 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15204 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15206 * LyXAction.C (init):
15208 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15209 LIGATURE_BREAK, since the name is so stupid.
15211 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15213 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15216 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15218 * sp_form.[Ch]: remove.
15220 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15222 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15225 * src/buffer.C (readInset): ditto.
15227 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15229 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15230 menuSeparator(), endOfSentenceDot(), ldots() and
15231 hyphenationPoint(), which are therefore removed.
15232 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15234 * LyXAction.C (init):
15235 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15237 * paragraph.C (getWord): removed.
15239 * BufferView_pimpl.C (Dispatch): use last word or selection for
15240 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15242 * lyx_main.C (queryUserLyXDir): do not ask before creating
15243 user_dir, except if it has been named explicitely.
15245 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15247 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15248 a document of zero size.
15250 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15252 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15253 approriately in the c-tor and in require().
15254 (getPackages): output the appropriate LaTeX for natbib support.
15256 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15257 variables "use_natbib" and "use_numerical_citations" when reading the
15259 (readInset): read the various natbib cite commands.
15260 (validate): white-space change.
15262 * bufferparams.[Ch]: new variables "bool use_natbib" and
15263 "bool use_numerical_citations".
15264 (writeFile): output them in the LyX file.
15266 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15268 * lyxfunc.C (getStatus): add support for all the inset insertion
15271 * text2.C (insertInset):
15272 * paragraph.C (insetAllowed):
15273 * BufferView_pimpl.C (insertInset): update to take in account the
15274 renaming of insertInsetAllowed
15276 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15278 * text2.C (getInset): new method. returns inset at cursor position.
15280 * BufferView_pimpl.C (Dispatch): changes because of this.
15282 * LyXAction.C (init): rename open-stuff to inset-toggle.
15284 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15286 * text2.C (toggleInset): renamed from openStuff; use
15289 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15291 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15293 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15295 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15297 * buffer.C (readLyXformat2): Add filename to the error dialog
15299 2001-07-18 Juergen Vigna <jug@sad.it>
15301 * tabular.C (GetCellNumber): put an assert here instead of the check!
15303 2001-07-17 Juergen Vigna <jug@sad.it>
15305 * BufferView_pimpl.C (toggleSelection): adapted too.
15307 * text.C (selectNextWord): adapted for use with insets.
15308 (selectSelectedWord): ditto
15310 2001-07-17 Juergen Vigna <jug@sad.it>
15312 * sp_spell.C (PSpell): fix initialitation order.
15314 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15316 * paragraph.C: spacing
15318 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15320 * sp_spell.C: repair language selection for pspell
15322 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15324 * lyxfunc.h: change more methods to begin with lower char.
15326 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15328 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15329 for unknown layouts.
15331 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15333 * buffer.C (readLyXformat2): Generate an error dialog if there are
15336 2001-07-16 Juergen Vigna <jug@sad.it>
15338 * sp_spell.C: always compile ISpell part.
15340 * lyxrc.C: added use_pspell entry and it's handling.
15342 2001-07-13 Juergen Vigna <jug@sad.it>
15344 * sp_spell.C: removed double includes.
15346 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15348 Consistent use of Lsstream.h:
15349 * Lsstream.h: added using std::stringstream for consistencies sake.
15351 * buffer.C: removed using std::stringstream
15353 * lyxfont.C (stateText):
15354 * paragraph.C (asString):
15355 * text.C (selectNextWord, selectSelectedWord):
15356 * text2.C (setCounter):
15357 * vspace.C (asString, asLatexString):
15358 std::ostringstream -> ostringstream.
15360 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15362 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15363 * commandtags.h: add LFUN_HELP_ABOUTLYX
15364 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15366 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15368 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15370 * lyx_gui_misc.C: remove spellchecker
15371 * lyxfunc.C: showSpellchecker
15373 * sp_ispell.h: added
15374 * sp_pspell.h: added
15375 * sp_spell.C: added
15376 * sp_form.[Ch]: removed
15377 * spellchecker.[Ch]: removed
15379 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15381 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15383 (simpleTeXSpecialChars): Simply print the input character without
15384 any special translation if pass_thru is set.
15386 * layout.h: Added bool pass_thru to layout class for being able to
15387 implement pass through of a paragraph for Literate Programming.
15389 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15390 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15391 * layout.C (Read): add "passthru" to list of layout tags and add
15392 code to set the pass_thru boolean when it is read.
15394 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15396 * trans_decl.h: remove allowed from KmodInfo
15398 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15399 remove allowed code
15402 * paragraph_pimpl.C (erase): use boost::prior
15404 * Painter.C (text): use data() instead of c_str() when length is
15406 * WorkArea.C (putClipboard): ditto
15407 * font.h (width): ditto
15409 * BufferView2.C: use it-> instead of (*it). for iterators
15411 * paragraph_pimpl.C: ditto
15412 * paragraph.C: ditto
15413 * minibuffer.C: ditto
15414 * language.C: ditto
15416 * encoding.C: ditto
15417 * counters.C: ditto
15418 * converter.C: ditto
15420 * Variables.C: ditto
15421 * TextCache.C: ditto
15422 * MenuBackend.C: ditto
15423 * LyXAction.C: ditto
15425 * FloatList.C: ditto
15426 * DepTable.C: ditto
15427 * ColorHandler.C (LyXColorHandler): ditto
15429 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15431 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15433 * text2.C (openStuff): reintroduce this method (which had been
15434 nuked in NEW_INSETS frenzy).
15436 * lyxfunc.C (Dispatch): when an action has not been handled, use
15437 its name in the error message, not its number.
15439 * paragraph.C (inInset): change method name to begin with lowercase.
15442 * text2.C: updates because of this.
15444 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15446 * ToolbarDefaults.C (add): add spaces in error message
15448 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15450 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15451 (readLyXformat2): rename return_par to first_par, use lyxlex's
15452 pushToken and remove the manual push handling.
15453 (parseSingleLyXformat2Token): add another ert comp. variable:
15454 in_tabular, rename return_par to first_par. handle newlines better
15456 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15460 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15462 * text2.C (getParFromID): removed
15464 * buffer.C (getParFromID): new method moved form lyxtext.
15465 * BufferView2.C (insertErrors): adjust
15466 (setCursorFromRow): adjust
15467 * BufferView_pimpl.C (restorePosition): adjust
15468 * lyxfunc.C (Dispatch): adjust
15469 * undo_funcs.C (textUndo): adjust
15471 (textHandleUndo): adjust
15472 (textHandleUndo): adjust
15474 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * buffer.C: up' the LYX_FORMAT
15478 * lyxfont.h: turn NO_LATEX on as default
15480 * buffer.C (insertErtContents): new methods of tex style compability.
15481 (parseSingleLyXformat2Token): use it several places.
15482 * tabular.C (OldFormatRead): and here
15484 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * text2.C: remove some commented code.
15489 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15490 * trans.C: changes because of the above.
15492 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15494 * text2.C (setCounter): Fix counters bug with bibliography layout.
15496 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15498 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15499 own member functions
15500 (simpleTeXSpecialChars): ditto
15502 2001-07-06 Juergen Vigna <jug@sad.it>
15504 * a lot of files: changed the access to LyXText::status and the
15505 call of undo-functions.
15507 * undo.[Ch]: added a inset_id to the undo informations.
15509 * undo_funcs.[Ch]: added and moved here all undo functions.
15511 * lyxtext.h: give the status enum a weight, made status_ a private
15512 variable and made accessor functions for it, removed the whole bunch
15513 of undo-functions as they are now in their own file, make some
15514 functions publically available. Added function ownerParagraph with
15517 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15518 made InInset() a const function, added getParFromID() function.
15520 * buffer.[Ch]: added const version for inset_iterator functions,
15521 added getInsetFromID() function.
15523 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15524 changed undo functions for new version.
15526 2001-07-05 Juergen Vigna <jug@sad.it>
15528 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15529 unknow mechanism does not call the proper constructor but only this
15530 one also if I request the other!?
15532 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15534 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15536 * text2.C (LyXText): use initialization lists.
15538 * lyxtext.h (Selection): initialize set_ and mark_
15539 (init): remove method
15541 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15543 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15545 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15547 * screen.[Ch]: change method names to begin with lowercase
15549 * BufferView_pimpl.C (updateScrollbar): simplify further and
15550 hopefully make it a bit faster.
15552 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15554 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15555 calling directly xforms functions.
15557 * Painter.C (Painter):
15558 * lyx_cb.C (MenuWrite):
15559 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15562 * lyx_gui.C: remove bogus guiruntime extern declaration.
15564 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15566 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15568 (redoDrawingOfParagraph): ditto
15569 (redoParagraphs): ditto
15570 (cutSelection): don't create a object for CutAndPaste use the
15571 static method directly
15572 (pasteSelection): ditto
15574 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15577 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15579 * modifications to some other files because of this.
15581 * Makefile.am (lyx_SOURCES): add XFormsView
15583 * XFormsView.[Ch]: new files
15585 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15586 the main window. Move the gui dependent stuff to XFormsView
15588 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15590 * tabular.C (GetCellInset): update cur_cell also in the row/col
15591 version of this function.
15593 * lyxfunc.C: no need to include figure_form.h here.
15599 * lyxvc.C: no need to include forms.h here.
15601 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15603 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15605 * lyxfunc.C (Dispatch):
15607 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15608 constructor argument.
15610 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15612 * paragraph.C (Paragraph): dont't clear, and just set layout.
15613 (makeSameLayout): use params's copy contructor.
15615 * ParagraphParameters.[Ch] (makeSame): delete method
15617 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15619 * Variables.[Ch]: fix indentation, rename set to isSet
15621 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15623 * lyxfunc.C (Dispatch): fix typo
15625 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15630 * bufferlist.C: include assert.h for emergencyWrite().
15632 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15634 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15635 give up at last (bug #425202) !
15637 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15643 * spellchecker.C: strip spellchecker options and bring up
15644 preferences tab instead
15646 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15648 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15649 the istringstream constructor
15651 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * paragraph.C (getLayout): fix return value
15655 * paragraph.h: do not declare getLayout as inline.
15657 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15659 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15661 * lyxcursor.h (operator<): new func
15662 (operator>): new func
15663 (operator>=): new func
15664 (operator<=): new func
15666 * text.C (changeCase): use selection.start and selection.end
15667 (changeRegionCase): require from to be <= to. Require par to be a
15670 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15672 2001-06-27 Juergen Vigna <jug@sad.it>
15674 * text.C (cursorLeftOneWord): changed to return the cursor and added
15675 overlay with BufferView * parameter which calls this one.
15677 (selectWord): use new getWord function.
15678 (changeCase): renamed from changeWordCase as and extended to work
15679 also on selections.
15681 * lyxtext.h: added enum word_location
15683 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15684 changeCase as this operates now also on selections.
15686 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15688 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15690 * many files: send debug output to Debug::INFO instead of
15693 * converter.C (View):
15695 (Move): send debug output to Debug::FILES instead of console.
15697 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15699 * lyxfunc.C (getStatus): use func_status
15701 * func_status.h: new header, describing the results of
15702 LyXFunc::getStatus;
15704 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15707 2001-06-25 The LyX Project <jug@sad.it>
15709 * buffer.C (sgmlOpenTag):
15711 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15713 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15715 * text2.C: remove some dead code
15717 * tabular.C (GetCellInset): store the last cell checked (gotten)
15719 * tabular.h: add the helper for the speedup
15721 * lyxtext.h: remove some dead code
15723 2001-06-26 The LyX Project <Asger>
15725 * paragraph.C: Change export to LaTeX of alignment to
15726 \begin{center} and family for better roundtrip work with reLyX.
15728 * Tune the math drawing a bit.
15730 2001-06-25 The LyX Project <Asger>
15732 * LColor.C (LColor): New color for math background. New color
15735 2001-06-25 The LyX Project <jug@sad.it>
15737 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15739 * lyxfunc.C (Open):
15740 * bufferlist.C (newFile): do not restrict to files ending with
15743 * BufferView_pimpl.C (MenuInsertLyXFile):
15745 2001-06-24 The LyX Project <jug@sad.it>
15747 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15750 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15752 * lyxtext.h: rename most methods to begin with a small char.
15753 Lots of changes because of this.
15755 * paragraph.C (Paragraph): do not call fitToSize
15756 (erase): call Pimpl::erase
15757 (insertChar): call Pimpl::insertChar
15758 (insertInset): call Pipl::insertInset
15759 (breakParagraph): do not call fitToSize
15760 (breakParagraphConservative): do not call fitToSize
15761 (fitToSize): remove method
15763 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15765 2001-06-24 The LyX Project <Asger>
15767 * Fix Qt compilation^2
15769 2001-06-24 The LyX Project <jug@sad.it>
15771 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15772 depthHook(getDepth()-1).
15775 * ParagraphParameters.h:
15776 * ParameterStruct.h: change type of depth to unsigned int ==
15777 depth_type. Many adaptations to other files before of that.
15779 2001-06-24 The LyX Project <Asger>
15781 * Fix Qt compilation.
15783 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15785 * paragraph.h: renamed several methods to begin with small letter.
15786 several changes to many parts of the code because of this.
15788 2001-06-23 The LyX Project <jug@sad.it>
15790 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15791 rewritten to discard all double spaces when KeepEmpty is off
15792 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15793 to only handle newlines but not fiddle with spaces and friends.
15795 * lyxfunc.C (MenuNew): when doing 'new from template', use
15796 template_path as default directory
15798 2001-06-23 The LyX Project <Asger>
15800 * Clean-up of header file includes all over
15801 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15803 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15805 * paragraph.h: renamed from lyxparagraph.h
15807 2001-06-23 Asger <lyx@violet.home.sad.it>
15809 * Buffer.h: Removed Buffer::resize
15810 * BufferList.h: Removed BufferList::resize
15811 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15812 the document lazily when we change the width, or the font settings.
15814 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15816 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15818 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15820 * buffer.h: remove out of date comment
15822 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15825 * screen.C: fix "theoretical" GC leak
15827 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15829 * LaTeX.C (scanAuxFile):
15830 (deplog): remove trailing \r when reading stream (useful under
15833 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15835 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15836 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15837 and BufferView::theLockingInset(Inset*), so should use them and not
15838 access bv_->text->the_locking_inset directly.
15840 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15842 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15845 * tex-defs.h: remove old unused file
15847 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15849 * BufferView_pimpl.C: fix typo, remove minibuffer message
15850 when buffer has loaded
15852 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15854 * lyxfunc.C (Dispatch): use stringstream
15855 (MenuNew): use stringstream
15856 (Open): use stringstream
15858 * importer.C (Import): use stringstream
15860 * bufferview_funcs.C (CurrentState): use stringstream
15862 * LaTeX.C (run): use stringstream
15864 * BufferView_pimpl.C (savePosition): use stringstream
15865 (restorePosition): use stringstream
15866 (MenuInsertLyXFile): use stringstream
15868 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15881 * vspace.C: removed // -*- C++ -*- as first line.
15884 * version.h: added // -*- C++ -*- as first line.
15886 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15888 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15890 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15893 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15895 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15898 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * gettext.C: include LString.h even when --disable-nls is on.
15902 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15904 * converter.h (Get): changed argument type from int to
15905 FormatList::size_type to avoid unnecessary conversion.
15907 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15910 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * gettext.h: include LString.h even when --disable-nls is on.
15914 2001-06-07 Juergen Vigna <jug@sad.it>
15916 * text.C (BreakAgain): subst spaces with tabs.
15918 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15919 (resizeInsetsLyXText): set force on resizeLyXText.
15921 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15923 * gettext.h (gettext_init):
15924 (locale_init): use a real definition instead of a macro
15926 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15928 * Bufferview_pimpl.C:
15930 * LColor.C: further lcolor tidies
15932 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15934 * BufferView_pimpl.C (updateScrollbar): simplify.
15936 * BufferView2.C: don't include insets/insetinfo.h, change
15937 prototype for insertInset and call the Pimpl version. let
15938 updateInset call Pimpl version.
15940 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15941 gotoInset to BufferView::Pimpl
15943 2001-06-01 Juergen Vigna <jug@sad.it>
15945 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15946 inside a LockingInset (is the update needed at all?).
15948 2001-05-31 Juergen Vigna <jug@sad.it>
15950 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15951 here not the old one otherwise how should we compare it afterwards
15954 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15959 * FontInfo.C: bring C functions into global namespace when
15962 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15964 * LString.h: make sure config.h has been loaded before LString.h.
15966 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15967 (one for each char read by EatLine!).
15969 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15972 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15974 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15975 to the same as the par we break from
15977 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15979 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15981 * MenuBackend.C (expand): also create menu entries for wide
15982 versions of the floats.
15984 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15986 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15988 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15989 frontends/Makefile.am
15995 * tabular.C (getTokenValue): add std::
15997 * tabular-old.C (getTokenValue): add std::
15998 (getTokenValue): ditto
15999 (getTokenValue): ditto
16001 * screen.C (ToggleSelection): adjust
16003 * lyxtext.h: put selection cursors inside a Selection struct.
16005 * lyxfunc.C (moveCursorUpdate): adjust
16007 * lyxfont.C (latexWriteStartChanges): add std::
16009 * lyxfind.C: adjust
16011 * font.h: delete with(char const *, LyXFont const &)
16013 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16015 * FontInfo.C (getFontname): add std::
16017 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16018 (workAreaButtonPress): adjust
16019 (tripleClick): adjust
16021 (moveCursorUpdate): adjust
16024 * BufferView2.C (gotoInset): adjust
16026 2001-05-30 Juergen Vigna <jug@sad.it>
16028 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16029 to check pspell I add this as default as I now have new pspell
16030 libraries and they seem to use this.
16032 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16034 * text2.C (CutSelection): make the cursor valid before the call to
16037 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16039 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16040 relied on 0 terminated strings and other horrors. Bug found due to
16041 the new assert in lyxstring!
16043 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16046 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16048 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16051 * lyxfunc.C (processKeySym): change method of getting to the
16054 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16055 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16056 * BufferView_pimpl.[Ch]: here as private methods.
16058 2001-05-28 Juergen Vigna <jug@sad.it>
16060 * text.C (SetHeightOfRow): added the update() call again as it is
16061 needed to initialize inset dimensions!
16063 2001-05-16 Juergen Vigna <jug@sad.it>
16065 * text2.C (SetCharFont): Add new function with BufferView * and
16066 bool toggleall parameters for setting insets internal fonts.
16067 (SetFont): Freeze the undo as we may change fonts in Insets and
16068 all this change should be inside only one Undo!
16070 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16071 setting font's in insets as for them we have the SetFont function!
16073 2001-05-15 Juergen Vigna <jug@sad.it>
16075 * text2.C (ClearSelection): to be sure we REALLY don't have any
16078 * tabular.C (TeXCellPreamble): fixed the left border problem for
16081 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16083 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16086 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16088 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16089 LFUN_BREAKPARAGRAPH.
16091 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16092 help test to "internal only", similar for LFUN_INSERT_URL
16094 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16095 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16096 auto_region_delete and deadkeys.
16098 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16101 * LColor.C: remove some dead entries, tidy a little
16103 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16105 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16107 (Dispatch): implement LFUN_ESCAPE
16109 * commandtags.h: add LFUN_ESCAPE
16111 * LyXAction.C (init): add entry for LFUN_ESCAPE
16113 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16114 Remove commented code.
16115 (insertNote): moved here
16116 (open_new_inset): moved here
16118 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16121 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16123 * kbmap.C (findbinding): clean it up and make it work correctly.
16125 * lyx_main.C (init): do not pass argc and argv as parameters
16127 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16129 * buffer.C: fix path for OS/2 & Win32
16133 * lyx_main.C: Added os:: class.
16135 * os2_defines.h: update
16137 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16139 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16140 better by trying again with reduced state.
16142 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16144 * lyxrc.C (read): print error about invalid key sequence only when
16145 debugging (because not all latinX keysyms are known to some X
16148 * kbsequence.C (getiso): add a few std:: qualifiers
16149 (getiso): comment out extra return statement.
16151 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16153 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16155 (Dispatch): enhance the accent inset a bit. (not perfect)
16157 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16159 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16161 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16163 * bufferlist.C (emergencyWrite): fix assert() call
16165 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16167 * text.C (InsertChar): Added trivial patch to only send the "you
16168 can not do multiple spaces this way" message once during a
16171 2001-05-08 Baruch Even <baruch@lyx.org>
16173 * Makefile.am: Changed order of libraries to get LyX to link properly
16174 with the gnome frontend.
16176 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16178 * LaTeXFeatures.h: add a std:: qualifier
16180 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16182 * paragraph.C (String): use stringstream
16184 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16186 * paragraph.C (writeFile): remove footflag arg
16188 * buffer.C (makeLaTeXFile): use stringstream
16189 (latexParagraphs): remove footnot gurba
16191 * LaTeXFeatures.C (getPackages): use stringstream
16192 (getMacros): likewise
16193 (getTClassPreamble): likewise
16194 (getFloatDefinitions): new method
16196 * paragraph.C (writeFile): reindent
16199 * WorkArea.h: revert the xpos + etc changes.
16201 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16203 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16205 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16206 (pasteSelection): likewise
16207 * text2.C (CreateUndo): likewise
16209 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16211 * minibuffer.C (peek_event): temporarily reduce the functionality
16212 of the minibuffer (to allow args on lfuns)
16214 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16215 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16217 * buffer.C (readInset): add compability reading of old float
16218 lists, add reading of new style float list.
16219 (readInset): avoid reevaluation of inscmd.getCmdName()
16220 (getLists): reindent
16222 * MenuBackend.C (MenuItem): implement parsing of
16223 md_floatlistinsert and md_floatinsert.
16224 (expand::LastFiles): move initalizaton of iterators out of loop,
16225 avoid reevaluation.
16226 (expand::Documents): introduce typdedef vector<string> Strings,
16228 (expand::ExportFormats): introduce typedef vector<Format const *>
16229 Formats, and use it.
16230 (expand): implement FloatListInsert and FloatInsert.
16232 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16233 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16234 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16236 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16238 (Dispatch::LFUN_FLOAT_LIST): implement
16240 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16242 * LaTeX.C (run): Fix problem with --export code.
16244 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16246 * BufferView.[Ch] (workarea): removed.
16247 (getClipboard) new method; wrapper for workarea()->getClipboard()
16249 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16252 * WorkArea.h (width, height, xpos, ypos): These methods all
16253 returned the dimensions of the work_area sub-area of WorkArea,
16254 resulting in a position error if the WorkArea were resized. Now
16255 return the dimensions of the entire WorkArea.
16257 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16259 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16261 * LaTeX.C (deplog): correct the syntax of regex reg1
16263 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16265 * undo.C: remove !NEW_INSETS cruft
16267 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16269 * text2.C: remove !NEW_INSETS cruft
16271 * text.C: remove !NEW_INSETS cruft
16273 * tabular.C: remove !NEW_INSETS cruft
16275 * spellchecker.C: remove !NEW_INSETS cruft
16277 * lyxtext.h: remove !NEW_INSETS cruft
16279 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16281 * lyxfunc.C: remove !NEW_INSETS cruft
16283 * lyxfind.C: remove !NEW_INSETS cruft
16285 * lyx_cb.C: remove !NEW_INSETS cruft
16287 * figureForm.C: remove !NEW_INSETS cruft
16289 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16291 * buffer.[Ch]: remove !NEW_INSETS cruft
16293 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16295 * CutAndPaste.C: remove !NEW_INSETS cruft
16297 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16299 * BufferView2.C: remove !NEW_INSETS cruft
16301 * BufferView.h: remove !NEW_INSETS cruft
16303 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16305 * Lsstream.h: include LString.h before the sstream headers to
16306 fix problem with gcc 2.95.3 and lyxstring
16308 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16310 * lyx_main.C: add using directives when needed for C functions
16311 declared in std:: namespace.
16313 2001-04-27 Juergen Vigna <jug@sad.it>
16315 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16316 (SetHeightOfRow): comment out the update call should not be needed!
16318 2001-04-13 Juergen Vigna <jug@sad.it>
16320 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16321 (LyXTabular): tried to minimize operator= operations (and realized
16322 hopfully Lars wish).
16324 2001-04-27 Juergen Vigna <jug@sad.it>
16326 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16328 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16330 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16332 * buffer.C (readInset): hack to make listof algorithm work
16334 * BufferView_pimpl.C: hack to make listof algorithm work
16336 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16338 * LyXAction.C: removed all !NEW_INSETS cruft
16339 (init): moved lfun_item in method
16341 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16343 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16345 * BufferView2.C (theLockingInset): white space.
16347 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16349 * minibuffer.C: include <iostream>
16351 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16353 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16355 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16357 * text.[Ch] (TransposeChars): new method
16359 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16361 * call message directly through LyXView instead of through LyXFunc
16362 * BufferView2.C: adjust
16363 * BufferView_pimpl.C: adjust
16364 * FontLoader.C: adjust
16366 * bufferview_funcs.C: adjust
16367 * converter.C: adjust
16368 * figureForm.C: adjust
16369 * importer.C: adjust
16371 * lyx_gui_misc.C: adjust
16372 * lyxfunc.C: adjust
16375 + more files in subdirs
16377 * lyxparagraph.h (size): move up int file
16380 * adjust all uses of Assert to lyx::Assert.
16382 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16383 lyxfunctional in namespace lyx
16384 * layout.C (hasLayout): ditto
16387 (delete_layout): ditto
16388 (NumberOfClass): ditto
16389 * converter.C (GetFormat): ditto
16394 * bufferlist.C (getFileNames): ditto
16395 (emergencyWriteAll): ditto
16398 * MenuBackend.C (hasSubmenu): ditto
16401 * BufferView_pimpl.C (getInsetByCode): ditto
16403 2001-04-18 Juergen Vigna <jug@sad.it>
16405 * vspace.C (asLatexString): fixed the 100% problem.
16407 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16409 * lyxfunc.C (Dispatch):
16411 * minibuffer.h: add a few std:: qualifiers
16413 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * minibuffer.[Ch]: reimplement so that commands is initiated and
16416 run from lyxfunc, simplified som handling, and made the completion
16417 and history code for complete. wip.
16419 * lyxfunc.C (processKeySym): call message
16420 (miniDispatch): new temporary method
16421 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16422 (LFUN_MESSAGE): implement
16423 (LFUN_MESSAGE_PUSH): implement
16424 (LFUN_MESSAGE_POP): implement
16425 (initMiniBuffer): the initial/defualt minibuffer message.
16427 * lyxfont.[Ch]: inline some more getters
16429 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16431 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16433 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16434 (AutoSave): use LFUN_MESSAGE
16435 (Reconfigure): ditto
16437 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16439 * figureForm.C: use LFUN_MESSAGE
16441 * converter.C (runLaTeX): use LFUN_MESSAGE
16443 * bufferview_funcs.C: use LFUN_MESSAGE
16445 (changeDepth): ditto
16447 * bufferparams.h: use boost::
16449 * bufferlist.h: inherit privately from noncopyable
16451 * bufferlist.C (loadLyXFile): remove some commented code.
16453 * buffer.C (runChktex): use LFUN_MESSAGE
16455 * ShareContainer.h: inherit privately from noncopyable
16457 * ParagraphParameters.[hC] (depth): inline it.
16459 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16461 (message): new method
16462 (messagePush): ditto
16463 (messagePop): ditto
16464 (show): init minibuffer
16465 (showState): direct call
16467 * LaTeX.[Ch]: inherit privately from noncopyable
16468 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16469 instead of WriteStatus.
16471 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16473 * BufferView_pimpl.C (buffer): don't init minibuffer
16474 (workAreaButtonPress): use LFUN_MESSAGE
16475 (workAreaButtonRelease): ditto
16476 (savePosition): ditto
16477 (restorePosition): ditto
16478 (MenuInsertLyXFile): ditto
16479 (workAreaExpose): don't init minibuffer
16480 (update): remove commented code, simplify
16482 * BufferView2.C (openStuff): use LFUN_MESSAGE
16483 (toggleFloat): ditto
16486 (copyEnvironment): ditto
16487 (pasteEnvironment): ditto
16492 (updateInset): remove some commented code
16494 * lastfiles.h: inherit privately from noncopyable
16497 * lyx_main.h: ditto
16499 * lyxlex_pimpl.h: ditto
16501 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16502 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16503 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16505 * LyXAction.h: inherit privately from noncopyable, add methods
16506 func_begin, func_end, returning iterators to the func map.
16508 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16509 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16510 (func_begin): new method
16511 (func_end): new method
16513 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16515 (copySelection): ditto
16516 (pasteSelection): ditto
16518 * BufferView.C: whitespace change
16519 * BufferView.h: inherit privately from noncopyable
16521 2001-04-16 Allan Rae <rae@lyx.org>
16523 * tabular-old.C (l_getline):
16524 * spellchecker.C (sc_check_word):
16525 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16526 an unrecognised preprocessor directive. So ensure they're wrapped.
16528 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16530 * src/exporter.C (Export): Give an error message when path to file
16533 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16535 * LaTeX.C (deplog): Always check that foundfile exists.
16537 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16540 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16542 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16544 * tabular.[Ch] (getLabelList): implement new method
16546 * minibuffer.h: comment ouf setTiimer
16548 * minibuffer.C (ExecutingCB): constify res
16549 (peek_event): constify s
16550 (Set): constify ntext
16551 (Init): constify nicename
16553 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16555 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16556 (savePosition): use two params to Minibuffer::Set
16557 (restorePosition): ditto
16559 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16561 * lyx_main.C: include language.h
16563 * Makefile.am (lyx_main.o): add language.h
16565 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16571 * CutAndPaste.C: include gettext.h
16573 * lyxfont.h: remove old hack with ON and OFF.
16576 * lyxfont.h: do not include language.h...
16581 * bufferview_funcs.C:
16587 * paragraph.C: ... but do it here instead
16589 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16591 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16593 * tabular.C: small reformat
16595 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16598 (BreakParagraph): ditto
16599 (SetOnlyLayout): ditto
16602 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16605 * lastfiles.C: removed most using decl, add std:: where needed
16607 * buffer.C: ws changes
16609 * MenuBackend.C (class compare_format): put into anon namespace
16610 (expand): constify label, names, action, action2
16613 * text.C (SingleWidth): constify font
16614 (IsBoundary): constify rtl2
16615 (GetVisibleRow): constify ww
16617 * LaTeX.C (deplog): constify logfile
16619 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16621 (workAreaExpose): constify widthChange, heightChange
16623 * lyxrow.C (par): moved
16626 * lyxrow.h: as inlines here
16628 * lyxfont.h (shape): moved from lyxfont.C
16629 (emph): moved from lyxfont.C
16631 * lyxfont.C (LyXFont): use initialization list for all
16633 (shape): move to lyxfont.h as inline
16634 (emph): move to lyxfont.h as inline
16637 2001-04-04 Juergen Vigna <jug@sad.it>
16639 * vspace.C: had to include stdio.h for use of sscanf
16641 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16644 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16645 independent of xforms.
16647 2001-04-02 Juergen Vigna <jug@sad.it>
16649 * spellchecker.C: fixed namespace placing!
16651 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16653 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16654 the LyXParagraph * is 0.
16656 2001-03-29 Juergen Vigna <jug@sad.it>
16658 * vspace.C: added support for %, c%, p%, l%.
16659 (stringFromUnit): added helper function.
16660 (asLatexString): changed to give right results for the %-values.
16662 * buffer.C: convert the widthp in a width%.
16664 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16666 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16669 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16670 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16672 * lyx_cb.[Ch]: see above.
16674 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16678 * lyx.[Ch]: replaced by figure_form.[Ch].
16682 * lyxfunc.C: changed headers associated with above changes.
16684 2001-03-27 Juergen Vigna <jug@sad.it>
16686 * BufferView_pimpl.C: set the temporary cursor right!
16688 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16690 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16692 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16694 * LString.h: removed "using std::getline"!
16696 * BufferView_pimpl.C (Dispatch): changes due to changes in
16697 InsetInclude::Params.
16699 * buffer.C (tag_name): removed redundant break statements as they were
16700 producing lots of warnings with my compiler.
16702 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16704 * LString.h: add "using std::getline" when using the real <string>.
16706 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16708 * buffer.C: removed bitset usage.
16709 PAR_TAG moved to an anonymous name space.
16710 (tag_name): new funtion, also in the anonymous namespace.
16711 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16712 (makeDocBookFile): clean code. Completed transition from string arrays
16714 (SimpleDocBookOnePar): code clean.
16716 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16718 * tabular.C: add some comments.
16720 2001-03-22 Juergen Vigna <jug@sad.it>
16722 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16723 compatibility read a bit and fixed bug with minipage in different
16726 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16728 * buffer.C (pop_tag): removed.
16729 (push_tag): removed.
16730 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16731 array replaced with vector. Added support for CDATA sections.
16732 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16734 (makeDocBookFile): XML conformant declaration of CDATA section,
16735 fixed bug related to <emphasis> in the first paragraph char.
16736 (sgmlOpenTag): exclude empty tags.
16737 (sgmlCloseTag): ditto.
16739 * buffer.h (pop_tag): removed.
16740 (push_tag): removed.
16742 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16744 * language.h (Languages): added size_type and size().
16746 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16748 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16749 response on compability reading of minipages. One probliem is that
16750 the old usage of minipages was «flertydig»
16752 * several files here and in subdirs: don't use static at file
16753 scope use anon namespaces instead.
16755 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16757 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16758 LaTeX output. This is necessary for Literate document
16761 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16763 * buffer.C: insert hfill when needed.
16765 * tabular.C (l_getline): use string::erase, small whitespace change.
16767 * BufferView_pimpl.C: try the anon namespace.
16768 * WorkArea.C: ditto
16770 2001-03-16 Juergen Vigna <jug@sad.it>
16772 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16773 otherwise it won't open options-dialogs.
16775 * buffer.C: honor pextraWidth(p) on converting minipages.
16777 * tabular.C (l_getline): changed the functions to strip trailing \r.
16779 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16781 * BufferView_pimpl.C:
16782 * minibuffer..C: added "using SigC::slot" declaration.
16784 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16786 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16792 * paragraph.C: ditto
16794 * lyxtext.h: NO_PEXTRA
16796 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16798 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16799 * ParameterStruct.h: ditto
16800 * ParagraphParameters.h: ditto
16801 * lyxparagraph.h: ditto
16803 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16805 * buffer.C: add compability for minipage alignment.
16806 (latexParagraphs): remove unwanted pextra check.
16808 * several files: remove CXX_WORKING_NAMESPACES
16810 * buffer.C (pop_tag): tie is in namespace boost
16812 * BufferView.h: noncopyable is in namespace boost
16814 * lyx_main.h: ditto
16817 * lastfiles.h: ditto
16818 * bufferlist.h: ditto
16819 * ShareContainer.h: ditto
16821 * LyXAction.h: ditto
16824 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16826 * Merging changes from BRANCH_MVC back into HEAD.
16828 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16830 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16832 * BufferView_pimpl.C: change from intl.C
16836 * Makefile.am: move combox.*
16842 * intl.C: remove dialog (covered by prefs)
16844 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16846 * lyxfunc.C (Dispatch): removed redundant break statement.
16848 2001-03-14 Juergen Vigna <jug@sad.it>
16850 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16852 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16854 * buffer.C: add hack to fix compability reading of minipages.
16856 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16858 * buffer.C (getLists): Cleanup.
16860 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16862 * lyxfont.C (update): don't honor toggleall on font size.
16864 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16868 * Makefile.am: moved to frontends/xforms/
16872 * BufferView_pimpl.C: changes for moved mathpanel
16874 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16876 * gettext.h: fix gettext_init() in --disable-nls
16878 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16880 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16882 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16885 * lyx.h: strip external form
16887 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16889 * BufferView_pimpl.C: add comment, destroySplash()
16891 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16893 * BufferView_pimpl.C:
16897 * lyxfunc.C: use re-worked insetinclude
16899 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16901 * buffer.C: add using std::stringstream.
16903 * lyx_cb.C: readd using std::ios.
16905 * buffer.C: add using std::map.
16907 * BufferView_pimpl.C: add using std::vector.
16909 * ShareContainer.h: add std:: to swap.
16911 * buffer.h: add some typedefs
16912 * buffer.C (getLists): use them
16913 (getLists): renamed from getTocList.
16914 add a counter for the different float types and use it in the
16916 (getLists): use the same counter for the NEW_INSETS and the "non"
16919 * lyx_cb.h: remove unused items, includes, using etc.
16921 * ShareContainer.h: remove some commented code, add more comments
16922 and "documentation".
16924 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16926 * buffer.C (getTocList): make the list also when NEW_INSETS is
16929 * buffer.h: remove TocType
16931 * buffer.C (getTocList): change to return a map<string,
16932 vector<TocItem> >, implement for dynamic number of list.
16934 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16935 * text2.C (PasteSelection): adjust
16936 * CutAndPaste.C (pasteSelection): adjust
16938 * FloatList.C (FloatList): update from the new_insets branch.
16939 * Floating.[Ch]: ditto
16940 * LaTeXFeatures.C: ditto
16942 * lyxlex_pimpl.C: ditto
16944 * paragraph.C (Last): remove when NEW_INSETS is defined.
16946 * other file: changes because of the above.
16948 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16950 * lyxparagraph.h: rename next to next_, previous to previous_,
16951 make them private for NEW_INSETS. Rename Next() to next(),
16952 Previous() to previous().
16954 * other files: changes because of the above.
16956 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16959 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16962 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16964 * main.C (main): pass lyx_localedir to gettext_init().
16966 * gettext.h: remove locale_init and gettext_init macros
16968 * gettext.C (locale_init): new function
16969 (gettext_init): new function
16971 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16974 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16976 * Moved credits to frontends:
16977 * credits.[Ch]: removed
16978 * credits_form.[Ch]: removed
16979 * lyx_gui_misc.C: remove credits stuff
16982 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16984 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16986 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16987 unneeded destructor.
16989 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16990 a standalone pointer again.
16992 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16994 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17000 * ToolbarDefaults.C:
17009 * BufferView_pimpl.C: use new file dialog in GUII
17012 * lyx_cb.C: remove LayoutsCB to Toolbar
17014 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17016 * ShareContainer.h (get): add std:: qualifier
17018 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17020 * ShareContainer.h: define a proper ShareContainer::value_type
17021 type (and use typename to please compaq cxx)
17023 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17025 * lyxparagraph.h: move serveral local vars to
17026 ParameterStruct/ParagraphParameters., use ShareContainer in
17027 FontTable., make vars in FontTable private and add getter and
17030 * paragraph.C: changes because of the above.
17032 * lyxfont.h: remove copy constructor and copy assignment. (the
17033 default ones is ok), move number inside FontBits. move inlines to
17036 * lyxfont.C: add number to initializaton of statics, move several
17037 inlines here. constify several local vars. some whitespace
17038 cleanup. Dont hide outerscope variables.
17040 * Spacing.h: add two new constructors to match the set methods.
17042 * ShareContainer.h: new file, will perhaps be moved to support
17044 * ParameterStruct.h: new file
17046 * ParagraphParameters.h: new file
17048 * ParagraphParameters.C: new file
17050 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17051 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17053 * BufferView_pimpl.C: ParagraphParameter changes.
17054 * buffer.C: Likewise.
17055 * bufferview_funcs.C: Likewise.
17056 * text.C: Likewise.
17057 * text2.C: Likewise.
17059 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17061 * lyxfind.C (LyXReplace): do not redefine default argument in
17063 (IsStringInText): ditto
17064 (SearchForward): ditto
17065 (SearchBackward): ditto
17067 2001-03-06 Juergen Vigna <jug@sad.it>
17069 * lyxfind.C (IsStringInText): put parentes around expressions.
17071 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17073 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17075 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17077 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17079 * stl_string_fwd.h: add comment
17081 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17084 * tabular.C: remove unused DocBook methods
17090 killed DO_USE_DEFAULT_LANGUAGE
17092 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17094 * lyx_gui.C: do not include language.h.
17096 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17097 arguments in function implementation.
17099 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17101 * BufferView_pimpl.C: add <ctime>
17103 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17105 * BufferView_pimpl.C: add using std::find_if
17107 2001-02-27 José Matos <jamatos@fep.up.pt>
17109 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17112 2001-02-11 José Matos <jamatos@fep.up.pt>
17114 * buffer.C (makeDocBookFile): command styles now have a parameter as
17115 "title" by default.
17117 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17119 * layout_forms.[Ch]: removed
17120 * lyx_cb.[Ch]: out character
17121 * lyx_gui.C: out character
17122 * lyx_gui_misc.C: out character
17123 * bufferview_funcs.C: : out character,
17124 added toggleall as parameter in ToggleAndShow
17126 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17128 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17130 * text2.C (SetCurrentFont): Disable number property at boundary.
17132 2001-02-26 Juergen Vigna <jug@sad.it>
17134 * lyxfunc.C (getStatus): added a string argument override function so
17135 that this is correctly called from LyXFunc::Dispatch if it contains a
17136 do_not_use_argument which is used!
17137 (Dispatch): added check for "custom" export and call appropriate func.
17139 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17141 * lyxrc.C: Add language_command_local, language_use_babel and
17142 language_global_options.
17144 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17146 * buffer.C (makeLaTeXFile): Use language_use_babel and
17147 language_global_options.
17149 2001-02-23 Juergen Vigna <jug@sad.it>
17151 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17152 which works with LyXText and putted it inside BufferView. Here now we
17153 only call for that part the BufferView::Dispatch() function.
17155 * BufferView.C (Dispatch): added.
17157 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17158 functions which needs to use a LyXText over from LyXFunc.
17159 (MenuInsertLyXFile): added
17160 (getInsetByCode): added
17161 (moveCursorUpdate): added
17162 (static TEXT): added
17164 2001-02-22 Juergen Vigna <jug@sad.it>
17166 * BufferView_pimpl.C (update): call a status update to see if LyXText
17169 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17171 * vc-backend.C (revert): implement for CVS
17172 (getLog): implement for CVS
17174 2001-02-20 Juergen Vigna <jug@sad.it>
17176 * text2.C (ClearSelection): added BufferView param for inset_owner call
17178 * lyxfunc.C (TEXT): added this function and use it instead of
17179 directly owner->view()-text of getLyXText().
17181 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17183 * src/layout_forms.C: out preamble
17184 * src/layout_forms.h: out preamble
17185 * src/lyx_cb.C: out preamble
17186 * src/lyx_cb.h: out preamble
17187 * src/lyx_gui.C: out preamble
17188 * src/lyx_gui_misc.C: out preamble
17189 * src/lyxfunc.C: connect with guii preamble
17191 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17193 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17195 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17197 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17198 whether to run bibtex.
17200 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17202 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17204 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17206 * Makefile.am (lyx_SOURCES): removed bibforms.h
17208 * vspace.h: doxygen
17210 * text.C (GetVisibleRow): make several local vars const
17212 * tabular.C: small cleanup.
17214 * lyxserver.C (callback): use compare instead of strncmp
17216 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17217 inlines to after class or to paragraph.C
17219 * lyxfont.h: remove friend operator!=
17221 * converter.h: move friend bool operator< to non friend and after
17224 * combox.h: small cleanup
17226 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17227 to inlines after class def.
17229 * buffer.C (pop_tag): use string operations instead of strcmp
17231 * bmtable.c: doxygen, small cleanup
17233 * LaTeX.h: remove friend operator==
17235 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17247 * BufferView_pimpl.C:
17248 * BufferView.[Ch]: remove cruft
17250 2001-02-14 Juergen Vigna <jug@sad.it>
17252 * lyxfunc.C: removed #if 0 unused code
17254 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17256 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17258 * text2.C (SetSelection): added a BufferView * parameter
17260 2001-02-13 Juergen Vigna <jug@sad.it>
17262 * lyxfunc.C (Dispatch): fixed protected blank problem.
17263 * BufferView2.C (protectedBlank): added LyxText * parameter.
17265 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17266 (AppendColumn): same as above for column_info.
17268 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17269 (moveCursorUpdate): use a LyXText param for support of InsetText.
17271 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17272 (tripleClick): ditto
17274 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17276 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17278 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17280 * text2.C (SetSelection): set correct update status if inset_owner
17281 (ToggleFree): ditto
17283 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17285 * tabular.C: remove some commented code.
17287 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17289 * BufferView_pimpl.C: call hideSplash()
17291 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17294 * bibforms.h: remove
17297 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17298 add LFUN_CHILD_CREATE
17300 * counters.h: fix tiny typo
17305 * lyx.C: move splash to frontends/xforms/
17307 * lyx_gui_misc.C: move Include and Bibform to frontends
17309 * lyxvc.h: clarify comment
17311 * vspace.C: tiny housekeeping
17313 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17315 * text.C (PrepareToPrint): RTL Fix.
17317 * paragraph.C (GetUChar): New method.
17318 (String): Use GetUChar.
17320 * buffer.C (asciiParagraph): Use GetUChar.
17322 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17324 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17326 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17329 * buffer.C: rename to getLogName(), handle
17330 build log / latex log nicely
17332 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17335 * MenuBackend.h: remove support for reference menuitem type.
17337 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17339 * BufferView_pimpl.C: housekeeping
17340 * BufferView_pimpl.h:
17345 * minibuffer.h: move Timeout GUI-I
17347 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17349 * lyxrc.C (read): Update converters data-structures.
17351 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17353 * LaTeX.h (operator!=): add operator != for Aux_Info
17355 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17357 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17359 * LaTeXLog.C: deleted, useful code moved to Buffer
17362 * buffer.C: new function getLatexLogName()
17368 * lyxfunc.C: use frontends for LaTeX and VC logs
17370 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17372 * LaTeX.h: yet another std:: that Allan forgot.
17374 * Variables.C (set): renamed from isset(), because this clashes
17375 with some HP-UX macros (grr).
17377 2001-02-06 Allan Rae <rae@lyx.org>
17379 * LaTeX.h: Another bug fix. Missing std:: this time.
17381 2001-02-04 Allan Rae <rae@lyx.org>
17383 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17384 floats problem. I've left it commented out because it's not quite
17385 correct. It should also test that the current object is a table or
17386 figure inset. But I haven't gotten around to figuring out how to do
17387 that. I *think* it'll be something like: "table" == inset.type()
17389 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17392 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17394 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17395 all the citation/databases/styles in the auxilary file.
17396 (run): Rerun latex if there was a babel language error.
17398 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17400 * text.C (Backspace): Preserve the font when changing newline char
17402 (BreakParagraph): If the cursor is before a space, delete the space.
17404 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17406 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17408 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17409 new argument (code).
17410 (ChangeCitationsIfUnique): New method.
17412 * paragraph.C (GetPositionOfInset): Handle bibkey.
17414 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17416 * BufferView_pimpl.h: change type of Position::par_pos to
17417 LyXParagraph::size_type.
17419 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17421 * BufferView_pimpl.C (savePosition, restorePosition): Write
17422 messages to minibuffer.
17424 2001-01-28 José Matos <jamatos@fep.up.pt>
17426 * buffer.C (makeDocBookFile): adds support for document language.
17427 A silly restriction on the name of LatexCommand types where removed.
17428 Added support for CDATA sections, allows to chars unescaped, used
17429 among others in code, to avoid escape < and >.
17431 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17433 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17434 saved positions instrad of a stack. Furthermore, a position is
17435 stored using paragraph id/paragraph position.
17437 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17438 Remove LFUN_REF_BACK.
17440 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17442 * converter.C (dvipdfm_options): New method.
17444 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17446 * vspace.C (isValidLength): Fix for empty input string.
17448 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17450 * LyXAction.C (init): change description of LFUN_FIGURE to
17453 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17455 * LaTeX.C: add using directive
17457 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17459 * MenuBackend.C (expand): Fix the sorting of the formats.
17461 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17463 * lyx_main.C: tiny error message fix
17465 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17467 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17468 calling fl_initialize(). This fixes the problem with ',' as
17469 decimal separator in text files.
17471 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17473 * trans.C (process): Fix the keymap bug.
17475 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17477 * LaTeX.C (scanAuxFiles): New method. Provides support for
17478 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17479 (scanLogFile) Scan for "run BibTeX" messages.
17481 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17482 OT1 font encoding. Also, load the aecompl package if the ae
17485 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17487 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17489 * texrow.C (increasePos): turn two error messages into debug
17492 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17494 * LaTeX.C (scanAux): Handle the \@input macro.
17495 (runBibTeX): Use scanAux().
17497 * language.C (latex_options_): New field.
17499 * LaTeXFeatures.C (getMacros): Add language macros.
17501 * buffer.C (makeLaTeXFile): Small fix.
17503 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17505 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17507 * text2.C: add a using directive.
17509 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17514 * lyxfunc.C: kill LyXBell.
17516 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17518 * text.C (IsBoundary): Remove the error message
17520 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17522 * lyxrc.C (setDefaults): Correct initialization value for
17525 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17527 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17530 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17531 and GotoNextNote().
17533 * src/LyXAction.C: Added reference-next.
17535 * text.C (InsertChar): Use contains instead of strchr.
17537 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17539 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17541 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17542 alignment commands (when needed).
17544 * text.C (InsertChar): Add ':' to number separator chars.