1 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
4 SwitchBetweenClasses and remove the unused return value.
5 Handle character styles, too
7 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
9 * factory.C (createInset): handle undefined character styles
11 2005-05-02 Angus Leeming <leeming@lyx.org>
13 * buffer.C: protect the #include of utime.h with a preprocessor
16 2005-05-02 Angus Leeming <leeming@lyx.org>
18 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
19 function so that suto-saving works, albeit in a blocking manner.
21 * Makefile.am: make compilation of the client sub directory, of
22 apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
23 on conditionals set at configure time.
25 * SpellBase.[Ch]: no longer an abstract base class. Instead,
26 it can be compiled in its own right but has no-op functionality.
28 * aspell.C, pspell.C: remove preprocessor guards. The files should
29 be compiled only if the necessary functionality exists.
31 * lyxserver.C, lyxsocket.C: disable on Windows.
33 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
35 * text.C (leftMargin): Fix the parindent use bug (1764)
38 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
40 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
43 2005-04-25 Angus Leeming <leeming@lyx.org>
51 include <config.h> in .C files, not .h ones.
53 protect headers inside preprocessor guards.
55 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * FuncStatus.h (StatusCodes): document
59 2005-04-21 André Pönitz <poenitz@gmx.net>
61 * FuncStatus.h (enabled, onoff): document
63 2005-04-19 Angus Leeming <leeming@lyx.org>
65 * BufferView_pimpl.C (cursorToggle): no longer test whether
66 any child processes have been reaped before calling
67 handleCompletedProcesses().
69 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
71 * text3.C (dispatch): fix, finally fix, the language problem in
72 new lyxtexts, without disabling on-the-fly font changes (Helge's
75 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
77 * text3.C (dispatch): set cursor on double/triple click events
80 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
83 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
85 * rowpainter.C (paintFirst): simplify the code a little bit. In
86 particular, remove the test for secnumdepth.
87 * text.C (setHeightOfRow): only allocate space for chapter number
88 when updateCounters provided an actual label, instead of looking
89 at secnumdepth directly.
91 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
93 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
94 paragraphs when secnumdepth is large enough or, for environments,
95 when they are not the first in a sequence.
97 2005-04-17 Angus Leeming <leeming@lyx.org>
99 * buffer.C (makeLaTeXFile): replace code to manipulate a path
100 containing space and '~' characters with a call to latex_path().
102 2005-04-17 Angus Leeming <leeming@lyx.org>
104 * converter.C (convert): protect all args of convertDefault.sh
107 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * text3.C (dispatch): change the layout to "Caption" after inserting
112 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
114 * text3.C (dispatch): fix language problem in newly created
115 textinsets (and main text) in non-english docs
117 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
120 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
121 * text3.C (getStatus): disable LFUN_INSET_MODIFY
123 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
128 * rowpainter.C (getFont): Fix metrics bug introduced by inset
131 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
134 output of \item arguments without trailing text.
136 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * FontIterator.C (operator*): avoid a copy of the font.
140 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
142 * rowpainter.C (getFont): fix language bug from previous fix
144 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
146 * rowpainter.C (RowPainter, getFont): fix font inside inset
149 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
151 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
152 preventing inserted font, deco, delim insets jumping to start of
155 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * lyxfunc.C (dispatch): translate message before sending it to the
160 2005-03-29 Angus Leeming <leeming@lyx.org>
162 * lyx_main.C (priv_exec): call os::internal_path on each file passed
163 to LyX on the command line.
165 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
167 * vc-backend.C: use QuoteName to protect file names wherever
170 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
173 * BranchList.h: fix bugs 1844,1845: document settings don't
176 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
178 * lyxrc.C (setDefaults, read, output, getDescription): add support
179 for tex_allows_spaces.
181 * exporter.C (Export): allows files in directory containing spaces
182 if tex_allows_spaces is true.
184 * buffer.C (makeLaTeXFile): if the document path contains spaces,
185 output it in double quotes.
187 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
189 * rowpainter.C: use default text height for drawing change tracker
192 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
194 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
196 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
199 directory is missing.
201 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
203 * text2.C: fixed the fix, extended to other case.
205 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
207 * text2.C: fix for cursor up/down stuck in math [bug 1792]
209 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
211 * text2.C (cursorUp): get rid of a crash
212 * text.C (x2pos): add an assert
214 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * lyxfunc.C (getStatus): fix warning when assertions are disabled
220 * dociterator.C: include <boost/current_function.hpp>, which is
221 needed when assertions are disabled.
223 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
225 * text2.C: fix for stuck cursor when traversing two
226 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
228 2005-02-25 Andreas Vox <avox@arcor.de>
230 * output_docbook.C (makeParagraph): suppress trailing newline
231 after a run of paragraphs
233 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
235 * paragraph.C: fix for confused change tracker when pasting
236 text that begins with a lineseparator. [bug 1827]
237 (setChange(0, Change::INSERTED);)
239 * paragraph_funcs.C: fix for lost changes on triple-paste
240 in change tracking mode [bug 1827] (par.setChange()).
242 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * text2.C (updateCounters, setCounter, expandLabel): move to
247 * buffer_funcs.C (updateCounters): turn into a free standing
248 function and add a buffer parameter. Remove dead code for tracking
250 (setCounter): change into a free-standing function which gets a
251 dociterator as argument. Use this iterator to fix captions in a
252 simple way. When no float is found above the caption, use the
253 labelstring of the caption layout as default.
255 * text.C (breakParagraph, backspace):
256 * text2.C (init, setLayout, changeDepth):
257 * text3.C (dispatch):
258 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
261 * dociterator.C (forwardPar): make it much faster by calling
262 forwardPos() only when really necessary.
264 * output_docbook.C (makeCommand): adapt to expandLabel move.
266 * cursor.C: remove unused variable
268 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
270 * paragraph_funcs.C: fix crash when pasting insets in change
271 tracking mode [bug 1277] (honour change type in moveItem).
273 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
277 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * BufferView.C (setCursor): change to use a DocIterator.
280 (gotoLabel): use BufferView::setCursor (other part of bug 781).
281 (putSelectionAt): adapt to BufferView::setCursor change.
283 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
284 moved here from LyXText and rewritten to use proper cursor
285 methods. Fixes bug 1787, 616 and 835.
287 * BufferView_pimpl.C (restorePosition): set the cursor correctly
288 when inside an inset (part of bug 781).
289 (dispatch): adapt to change of BufferView::setCursor.
290 (getStatus, dispatch): handle LFUN_GOTOERROR,
291 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
293 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
294 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
295 * text3.C (gotoNextInset, gotoInset): removed.
297 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
301 2005-02-15 Angus Leeming <leeming@lyx.org>
303 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
304 can be used meaningfully in a comparison.
306 2005-02-13 André Pönitz <poenitz@gmx.net>
308 * bufferview_funcs.C (coordOffset): improve cursor drawing
310 2005-02-13 André Pönitz <poenitz@gmx.net>
312 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
313 * Cursor.C (dispatch): use fixIfBroken
314 * lyxfunc.C (getStatus): use fixIfBroken
316 2005-02-15 Angus Leeming <leeming@lyx.org>
318 * lyx_main.C (error_handler):
320 * lyxrc.C (setDefaults):
322 #include "environment.h".
324 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
326 2005-02-15 Angus Leeming <leeming@lyx.org>
328 * lyxserver.C (startPipe): squash MSVC warning "local variable
329 'fd' used without having been initialized".
331 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * BufferView_pimpl.C: revert accidental commit.
335 2005-02-14 André Pönitz <poenitz@gmx.net>
337 * dociterator.[Ch]: new member forwardPosNoDescent(),
338 which doesn't enter nested insets.
339 * text2.C (setFont): use forwardPosNoDescent() instead
340 of ForwardPos() (fixes crash on font change).
342 2005-02-13 Angus Leeming <leeming@lyx.org>
344 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
345 only if lyxrc.path_prefix is not empty.
347 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * bufferparams.C (readGraphicsDriver): prevent crash
351 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
353 * text2.C (setCounter): check for inInset() == 0
355 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
358 but use update() to get correct screen display; use convert
359 instead of istringstream.
360 (getStatus): handle LFUN_GOTO_PARAGRAPH
362 * lyxfunc.C (dispatch, getStatus): do not handle
363 LFUN_GOTO_PARAGRAPH here.
365 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
367 * text3.C (dispatch): size() -> depth()
369 * text2.C: remove some debug output
371 * paragraph.C: ws changes only
373 * lyxfunc.C (getStatus): size() -> depth()
375 * dociterator.h (clear, push_back, pop_back, internalData,
376 operator[], resize, empty): new functions
377 Make StableDocIterator and operator== be friends. Don't inherit
378 from std::vector use a privat class variable slices_ instead.
381 * dociterator.C: update because of not inheriting from std::vector
382 anymore. Call explictly to slices_ instead. Use depth() instead of
383 size() and top() instead of back()
385 * cursor.C: chagne size() -> depth and back() -> top(). Also
386 remove some direct operator[](i) calls in favour of foo[i]
387 (getFont): remove some dead code
389 * bufferview_funcs.C (coordOffset): size() -> depth()
391 * buffer.C: ws changes only
393 * CutAndPaste.C (eraseSelection): back() -> top()
395 * BufferView_pimpl.C (selectionRequested): back() -> top()
397 * BufferView.C (setCursor): size() -> depth()
399 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
401 * text3.C (cursorPrevious): return true if depm changed something
403 (dispatch): rename sl to oldTopSlice, remove moving use the new
404 NoUpdate func attrib instead. Make sure that needsUpdate is set
405 for function that have NoUpdate, but where depm might have changed
408 * text2.C (cursorLeft): make us return true if depm changed
411 (cursorUpParagraph): ditto
412 (curosrDownParagraph): ditto
413 (cursorUp, cursorDown): ditto, make sure to read comments in code
414 (deleteEmptyParagraphMechanism): remove an assert, also return
415 true if just a single char was deleted.
417 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
418 cursor that we modify, to avoid modifying an active cursor before
419 we call setCursor. This allows depm to run. Also return true if
420 depm deleted something.
422 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
423 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
424 cursorDownParagraph, cursorPrevious and cursorNext, return true if
425 something was changed in the buffer because of them (ie. depm run)
427 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
428 debug messages. Make update by default be false. Make sure that
429 the result of update is retained throught several calls down to
432 * LyXAction.h: add a new func_attrib: NoUpdate
434 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
435 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
436 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
438 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
440 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
443 bv_->owner(), bv_->buffer() by direct references to the private
445 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
446 (getStatus): isSavedPosition() is in BufferView::Pimpl.
447 (fitCursor): center() is in BufferView::Pimpl.
448 (getStatus, trackChanges, dispatch): no need for a temporary buf
450 (fitCursor, workAreaDispatch): use workarea().workheight()
452 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
454 * CutAndPaste.C (pasteSelectionHelper): fix a crash
456 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
458 * buffer.C: format up to 241.
459 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
460 break if pasting into ERT
461 * lyxfunc.C (getStatus): suppress mathpanel and
462 LFUN_DIALOG_SHOW_NEW_INSET in ERT
464 2005-02-01 Angus Leeming <leeming@lyx.org>
466 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
468 2005-02-01 Angus Leeming <leeming@lyx.org>
470 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
471 calling fs::is_directory().
473 2005-01-31 Angus Leeming <leeming@lyx.org>
475 * lyx_main.C (priv_exec): specify explicitly the relative location
476 of the top level build directory when run in-place.
478 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
481 LyXText containing the cursor, not the top-level one.
483 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
485 (insertStringAsLines): rename par to pit; use temporary variable
486 par to hold a Paragraph; do not store par.layout() in a variable,
487 since the pointer may die when breaking paragraphs; pass pars to
488 breakParagraph() instead of Buffer::paragraphs().
490 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
492 * lyxlex_pimpl.h: #include <fstream>.
494 * BufferView.[Ch] (getLyXText): add a const version.
496 * BufferView_pimpl.C: add debug aids.
501 * paragraph_funcs.h: add commentary explaining what the class does.
504 * coordcache.[Ch]: add lots of commentary.
505 (startUpdating, doneUpdating): debug aids.
506 (arrays, insets, parPos, getParPos): accessors to private data.
508 * cursor_slice.[Ch] (text): add a const version.
509 * dociterator.[Ch] (text, innerText): add const versions.
511 * lyxtext.h (breakParagraph): change the keep_layout arg to a
514 * paragraph.C (getRow, pos2ros): add asserts.
516 * paragraph.h: add commentary. Lots of.
518 * paragraph.[Ch] (metrucs, draw): removed.
521 * rowpainter.[Ch]: const-correct changes.
523 * text.C: various obvious clean-ups. Removal of ancient cruft.
526 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
528 * vc-backend.C (find_file): rewrite to use boost.filesystem
531 * main.C (main): set default name check for boost.filesystem to
534 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
537 (actOnUpdatedPrefs): ditto
539 * lyx_main.C (init): rewrite to use boost.filesystem
540 (queryUserLyXDir): ditto
542 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
543 (getContentsOfAsciiFile): ditto
545 * lastfiles.C (readFile): rewrite to use boost.filesystem
547 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
549 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
552 * buffer.C (Buffer): adjust for destroydir
553 (getLogName): rewrite to use boost.filesystem
555 (save): use fs::copy_file (from fs_extras)
557 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
559 * LaTeX.C (run): rewrite to use boost.filesystem
560 (scanAuxFiles): ditto
561 (handleFoundFile): ditto
563 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
565 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
567 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
569 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
571 * lyxlayout.[Ch]: change some vars from float to double
573 * buffer.C (readFile): make a local var const
575 * Several files: use convert<> instead of atoi,strToXXX and friends
577 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
579 * LaTeXFeatures.[Ch]: Add a static list packages_ that
580 holds the contents of packages.lst. New functions getAvailable
581 and isAvailable to parse and check that list, resp.
585 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
587 * bufferparams.[Ch]: new param output_changes.
589 * Buffer.C: increase file format to 240.
590 Use output_changes and isVailable.
594 * paragraph_pimpl.C: Use output_changes and isVailable.
596 2005-01-23 Angus Leeming <leeming@lyx.org>
598 * output_latex.C: #include "insetbibitem.h", rather than
599 forward declare function bibitemWidest.
601 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
603 * lyx_main.C (init): make it compile on the Mac.
605 2005-01-20 Angus Leeming <leeming@lyx.org>
607 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
608 (setLyXMisc): (char string literal) != (char string literal) is
609 performing a comparison on the addresses. Convert one operand
610 explicitly to string to guarantee expected behaviour.
613 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
616 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
618 * output_plaintext.C: remove unneeded #include gzstream.h.
620 2005-01-20 Angus Leeming <leeming@lyx.org>
622 * SpellBase.h: rename some of the elements of the Result enum.
629 * pspell.C (check): ditto
631 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
633 * buffer.C: add #include <fstream>.
635 * lyx_main.C (init): Compile fix.
637 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
639 2005-01-20 Angus Leeming <leeming@lyx.org>
641 * mover.h: change commentary to reflect the changed meaning of
644 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * output_linuxdoc.C (linuxdocParagraphs): silence warning
648 * lyxfind.C (MatchString::operator()): remove bogus semicolon
650 2005-01-20 Angus Leeming <leeming@lyx.org>
652 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
653 printing diagnostic data by not dereferecing an iterator past the
656 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
658 * buffer.C (readHeader): use "&&" rather than "and".
660 * lyxserver.h (inPipeName, outPipeName): make these const.
662 2005-01-19 Angus Leeming <leeming@lyx.org>
664 * lyx_main.C (error_handler, init): protect SIGHUP with
665 #ifdef SIGHUP guards.
667 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
669 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
671 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * text.C (setHeightOfRow): add a margin at the top and bottom of
674 the document (bug 1761)
676 2005-01-17 Angus Leeming <leeming@lyx.org>
678 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
679 with "python ". Workaround for a brain-dead Windows.
681 2005-01-16 Angus Leeming <leeming@lyx.org>
683 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
684 for MacOSX and Windows to use prependEnvPath.
685 Strip out the hard-coded block to add elements to the PATH for
686 MacOSX and replace it with a call to prependEnvPath using the
687 contents of LyXRC::path_prefix.
688 (queryUserLyXDir): strip out the code to run reconfigure, instead
689 returning a boolean indicating the necessity to do so.
690 (reconfigureUserLyXDir): contains the code to reconfigure the
691 user support directory. Is now called after the various LyXRC data
692 files have been read.
694 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
696 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * converter.[Ch] (convert): take a new parameter try_default. Use
699 a default converter (imagemagick) if try_default is true.
701 2005-01-13 Angus Leeming <leeming@lyx.org>
703 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
705 (write): output LyXRC::cygwin_path_fix as necessary.
707 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
710 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
712 2005-01-12 Angus Leeming <leeming@lyx.org>
714 * lyx_main.C (init): set the PATH variable to include the
715 directory containing the LyX binary when running on Mac or Windows.
717 2005-01-12 Angus Leeming <leeming@lyx.org>
719 * lyx_main.C (init): remove cruft that purports to set the locale
720 dir. It doesn't and is not needed anyway.
722 2005-01-10 Angus Leeming <leeming@lyx.org>
724 * Makefile.am: remove the lyx_main.C special casing.
726 * BufferView_pimpl.C:
732 * messages.C: use support/package.h to provide the paths to the
733 various directories used by LyX.
735 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
738 layout if pasting into an empty paragraph)
740 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * tex-accent.C: add <string>
744 2005-01-06 José Matos <jamatos@lyx.org>
746 * ParagraphParameters.C (write): put every parameter in its own line.
747 * paragraph.C (write): reduce number of consecutive empty lines exported.
748 * buffer.C (LYX_FORMAT): increase file format to 239.
750 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
752 * everywhere: change support/tostr.h -> support/convert.h
754 * tabular.C: make all write_attributes templates, tostr -> convert
756 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
757 (emptyTag): and -> &&, and fix type for ret from getChar
758 (getFirstWord): fix type for ret from getChar
759 (onlyText): and -> &&
760 (simpleDocBookOnePar): and not -> && !, fix type for ret from
763 * toc.C (goTo, action):
764 * text3.C (dispatch):
765 * text.C (currentState):
766 * tex-accent.C (DoAccent):
769 * lyxfunc.C (menuNew):
770 * lyxfinc.C (replace):
771 * counters.C (laberItem):
772 * bufferview_funcs.C (font2string):
773 * bufferparams.C (writeFile):
774 * buffer.C (readFile):
776 * MenuBackend.C: tostr -> convert
778 * LaTeX.C (runMessage): fix format
779 (scanAuxFiles): tostr -> convert
781 * BufferView_pimpl.C (savePosition): fix format
782 (restorePosition): ditto
785 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
787 * Spacing.[Ch]: New method getValueAsString().
791 * ParagraphParameters.C:
794 * text3.C: store/read spacing value as string.
796 * rowpainter.C: change float value (spacing_val) to double.
798 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
799 broken custom document spacing).
801 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
803 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
804 namespace, also more use of temp references and const
806 * cursor.[Ch] (getStatus): move to lyxfunc.C
808 * bufferparams.C: reformat slightly
810 * bufferview_funcs.C (font2string): constify arg
816 * buffer_funcs.C: (many funcs): constify arg on function
817 definitions, also make more local vars const, also add ASSERTS on
820 * buffer.C (LYX_FORMAT): put const in correct place
821 (many funcs): constify arg on function definitions, also make
822 more local vars const
824 * aspell_local.h: remove "struct" from typdef setup
826 * aspell.C (check): make word_ok const
827 (nextMiss): simplify slightly
830 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
832 * lyxrc.[Ch]: store all float values as strings.
833 use int (not float) for lyxrc.dpi.
835 2005-01-04 Angus Leeming <leeming@lyx.org>
837 * lyx_cb.C (Reconfigure):
838 * lyx_main.C (queryUserLyXDir):
839 to run the <system_lyxdir>/configure correctly on Windows, prefix
840 the path to the script with "sh " when generating the string that
841 is passed to system().
843 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
845 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
847 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * lyxlength.C (asLatexString): get rid of setprecision
851 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * text2.C (setLayout): remove unused variable endpit.
854 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
856 * paragraph.C (onlyText): remove unused variable style.
858 * cursor.C (bruteFind): remove unused variables beg and end.
860 * Makefile.am (dist_noinset_DATA): not needed anymore
862 * cheaders/*: remove.
864 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
866 * text3.C: fix LFUN_MATH_MODE.
868 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * buffer_funcs.C (countWords): new function. Counts words between
873 * BufferView_pimpl.C (getStatus, dispatch): handle
876 * LyXAction.C (init):
877 * lfuns.h: add LFUN_WORDS_COUNT.
879 2004-12-19 Angus Leeming <leeming@lyx.org>
881 * buffer.C (save): s/slashify_path/internal_path/.
883 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
885 * lyxfind.C (findChange): do not search for end of pars, because
886 the change tracker cannot handle this (fixes bug 1719).
888 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
890 * paragraph.[Ch] (autoBreakRows): remove
892 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
894 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
895 avoid using the paragraph one
897 * text2.C (LyXText, insertStringAsLines): adjust
899 2004-12-16 Angus Leeming <leeming@lyx.org>
903 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
905 2004-12-14 Angus Leeming <leeming@lyx.org>
907 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
909 * bufferlist.C (emergencyWrite):
910 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
913 2004-12-14 Angus Leeming <leeming@lyx.org>
915 * main.C: (main): no longer pass pointers to os::init.
917 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
919 * undo.C (textUndoOrRedo): simplify logic, fix a crash
920 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
922 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
925 * text3.C: remove selection_possible global flag
927 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
929 * text2.C (getSelectionSpan): remove
930 (changeDepth, changeDepthAllowed): adjust
932 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
934 * Makefile.am (BOOST_LIBS): use boost variables
936 2004-12-03 José Matos <jamatos@lyx.org>
938 * buffer.C: format up to 238.
940 2004-12-03 José Matos <jamatos@lyx.org>
942 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
944 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
946 * cursor.C (goUpDown): remove call to idxUpDown2
948 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
950 * tabular.[Ch]: use size_t-like types for cell, row and column
953 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * lyxfunc.C (getStatus): do not lose previous information when
956 calling BufferView::getStatus; do not set a default "Command
957 disabled" message at the beginning, but just before returning.
959 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
961 * cursor.h (getStatus): add better comment from src/cursor.C
963 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * text3.C (getStatus): return false when the lfun is not handled
967 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * broken_headers.h: remove
971 * Makefile.am (lyx_SOURCES): remove broken_headers.h
973 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
975 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
978 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
979 top_y_, merge fitcursor with update
980 (updateScrollbar, scrollDocView, fitCursor, center, update): new
983 (workAreaDispatch): adapt to new coord scheme
984 (redoCurrentBuffer): remove
986 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
988 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
991 * coordcache.[Ch]: add paragraph cache and helpers
993 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
996 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
997 (targetX, setTargetX): introduce
999 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1000 baseline -> ascent, as the rest of lyx
1002 * lyxtext.h: remove redoParagraphs, updateParPositions,
1003 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1004 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1005 have ascent/descent (ascent is ascent of first par)
1007 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1010 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1012 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1014 * pariterator.C: fix infinite loop introduced in par->pit renaming
1016 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1017 in insets and LyXText, draw two off-screen paragraphs using
1018 NullPainter, and adapt to new coord scheme
1022 * text3.C: adapt lfun handlers to the new coord scheme, which
1023 means: there's only guaranteed coord information for onscreen pars
1024 plus one above and one below. This implies that one can do search
1025 from y coordinates in the range [-1,workHeight]
1027 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1029 * rename a lot of InsetOld to InsetBase
1031 2004-11-25 Angus Leeming <leeming@lyx.org>
1033 * BufferView_pimpl.C:
1035 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1037 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1039 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1040 call BufferView::getStatus if LCursor::getStatus did nothing
1041 (setStatusMessage, getStatusMessage): removed.
1043 * FuncStatus.C (message): new methods. Used to provide an error
1044 message indicating why a command is disabled.
1045 (clear, |=, FuncStatus): update for message.
1047 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1049 * lyxfunc.C (dispatch): always call sendDispatchMessage
1051 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1054 * BufferView_pimpl.C:
1059 * cursor_slice.[Ch]:
1062 * paragraph_funcs.C:
1068 * undo.C: par->pit renaming
1070 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1072 * tabular.C (cellstruct): use initialization, store a shared_ptr
1073 to insettext instead of the insettext directly, adjust to fit.
1074 (operator=): new function
1075 (swap): new function
1076 (rowstruct): use initialization
1077 (columnstruct): use initialization
1078 (ltType): use initialization
1081 * lyxlength.h (swap): new function
1083 * LColor.[Ch] (operator=): use the common semantics
1085 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * lyxfind.C (findNextChange): update the bufferview after setting
1090 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1093 number of InsetOptArgs has already been inserted.
1095 * output_latex.C (latexOptArgInsets): new method. This outputs all
1096 the optarg insets, up to the limit defined in the layout file.
1097 (optArgInset): removed
1098 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1100 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * paragraph.C (isLetter): remove special spellchecker-related
1103 code; return true also for digits
1104 (isWord, isKomma): remove
1106 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1107 * lyxfind.C (MatchString()): use isLetter instead of isWord
1109 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1111 * pariterator.h (operatir=): comment out un-implemented member
1114 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1117 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1119 * lyxfont.h: include LColor.h to satisfy concept checks.
1121 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1123 * pariterator.h: add typdefs for value_type, difference_type,
1124 pointer and reference to satisfy concept checks. Also add default
1125 constructor for same reason.
1127 * pariterator.C (operator++): add post-increment operator to
1128 satisfy concept checks.
1130 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1133 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1135 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1136 checks. Also rename base_type to BaseType to follow naming
1139 * FloatList.h: include Floating.h to satisfy concept checks.
1141 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 * lyxfunc.C (getStatus): when the origin of the request is menu or
1144 toolbar, and the LyXView does not have focus, do as if there was
1145 no buffer (bug 1720)
1147 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1148 FuncRequest to individual entries of LFUN_SEQUENCE
1150 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1152 * output_latex.C (TeXOnePar): override runparams.moving_arg
1153 according to the needprotect value of the current paragraph (bug
1156 * paragraph.C (simpleTeXOnePar): no need to override
1157 runparams.moving_args here
1159 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1161 * vspace.C: fix off-by-one-error, related to fix #1682
1163 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1165 * lengthcommon.C: a more general fix for bug 1682
1167 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1169 * text.C (backspace): fix crash
1171 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1173 * format.[Ch] (getFormatFromFile): new method
1174 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1176 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1178 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1180 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1182 * lyxfunc.C (dispatch): remove the verbose argument
1183 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1186 * kbmap.C (defkey): set the origin of func to KEYBOARD
1188 * MenuBackend.C (MenuItem):
1189 * ToolbarBackend.C (add): set the origin of func to UI
1191 * funcrequest.[Ch]: add origin member, which indicates which part
1192 of LyX requests an action
1194 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1196 * converter.C (move): don't lie in the error message
1197 * converter.h (isReachable, move): document
1199 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1201 * buffer.C: remove unused using lyx::support::atoi
1202 * paragraph_funcs.C: ditto
1204 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1206 * bufferlist.C (exists): use bind and equal_to instead of
1209 * lyxtextclasslist.C (NumberOfClass): ditto
1211 * cursor.C (insert): use for_each instead of explicit for loop
1213 * bufferlist.C (getFileNames): use std::transform and
1214 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1216 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1219 * buffer.C (changeLanguage): use for_each instead of explicit for
1221 (hasParWithID): implement using getParFromID
1223 * LaTeXFeatures.C: ws change only
1225 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1228 * BufferView_pimpl.C (trackChanges): use for_each instead of
1231 2004-11-04 André Pönitz <poenitz@gmx.net>
1234 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1236 * dociterator.C (asDocIterator): use hard assert again.
1238 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1240 * lyxlength.C (asLatexString): rewrite so that it does not use
1243 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1245 * text3.C (specialChar, dispatch): make sure cursor moves to the
1246 right after inserting an inset
1248 2004-11-02 José Matos <jamatos@lyx.org>
1250 * output_docbook.C (docbook):
1251 * paragraph.C (getID):
1252 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1253 garantee that the output is always legal.
1255 * tabular.C (docbook):
1256 * outputprams.[Ch]: remove mixed contents.
1258 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1260 * text2.C (setCounter): prevent endless loop
1262 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1264 * exporter.C (copyFile): use the mover instead of support::copy()
1265 * exporter.C (Export): pass format and latex name to copyFile()
1266 * exporter.h (addExternalFile): document
1267 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1269 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1271 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1273 2004-10-30 José Matos <jamatos@lyx.org>
1275 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1276 text and no inset or font change. This allows to use CDATA
1277 sections just for the whole paragraph.
1279 2004-10-30 José Matos <jamatos@lyx.org>
1281 * paragraph.C (getFirstWord): remove unused variable.
1283 2004-10-30 José Matos <jamatos@lyx.org>
1285 * paragraph.C (getFirstWord): the content should always be escaped
1287 (simpleDocBookOnePar):
1288 * output_docbook.C (makeEnvironment): replace reference to CDATA
1291 2004-10-30 José Matos <jamatos@lyx.org>
1293 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1295 2004-10-30 José Matos <jamatos@lyx.org>
1297 * output_docbook.C (makeParagraphs):
1298 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1299 standard paragraph has only a given type of content drop the wrapper.
1301 2004-10-29 José Matos <jamatos@lyx.org>
1303 * output_docbook.C (makeEnvironment):
1305 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1307 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1309 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1310 (cleanID): sanitize any id.
1312 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1314 * buffer.C, lyxlex_pimpl.C:
1315 * lyxlex_pimpl.C (setFile):
1316 s/getExtFromContents/getFormatFromContents/
1318 2004-10-28 José Matos <jamatos@lyx.org>
1320 * output_docbook.C (makeEnvironment): move id to broadest possible
1323 * sgml.C (openTag): apply substitution of <> for all attributes.
1325 2004-10-28 José Matos <jamatos@lyx.org>
1327 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1328 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1329 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1331 * sgml.[Ch]: new version for open and closeTag for paragraph and
1332 for strings. Now they handle the ids of paragraphs.
1334 2004-10-26 Angus Leeming <leeming@lyx.org>
1336 * Makefile.am: add mover.[Ch].
1338 * converter.C (convert, move): use the new Movers to move external
1339 files to the temp directory.
1341 * lyx_main.C (init): ensure that the global system_movers data
1344 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1347 * mover.[Ch]: new files, defining a Mover as a utility to move an
1348 external file between directories and, if necessary, manipulate this
1349 file using a helper script.
1351 2004-10-25 José Matos <jamatos@lyx.org>
1353 * output_docbook.C (makeCommand): merge two if's that tested the
1356 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1358 * sgml.C (escapeString): fix warning in a better way
1360 2004-10-25 José Matos <jamatos@lyx.org>
1362 * sgml.C (escapeString): import the require boosts header file for
1363 tie, and avoid a signed unsigned comparison.
1365 2004-10-25 José Matos <jamatos@lyx.org>
1367 * sgml.h: add #include <string>
1369 2004-10-25 José Matos <jamatos@lyx.org>
1371 * sgml.[Ch] (escapeString): new function to escape all the string.
1373 2004-10-24 José Matos <jamatos@lyx.org>
1375 * paragraph.[Ch] (getFirstWord): new function to get the first
1376 word. Useful for description.
1377 (simpleDocBookOnePar): remove depth argument, add another that
1378 says where to start the paragraph.
1380 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1381 use the new functions to fix cleanly the support for descriptions.
1383 2004-10-24 José Matos <jamatos@lyx.org>
1385 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1386 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1387 * output_linuxdoc.C (linuxdocParagraphs):
1388 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1389 add buffer as argument.
1391 2004-10-24 José Matos <jamatos@lyx.org>
1393 * output_docbook.C (makeEnvironment, searchEnvironment): place
1394 CDATA inside paragraphs and fix scope for listitems.
1396 2004-10-24 José Matos <jamatos@lyx.org>
1398 * output_docbook.C: remove using statement for stack.
1400 2004-10-23 José Matos <jamatos@lyx.org>
1402 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1403 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1404 docbook. The new scheme is recursive and makes use of iterators, the
1405 same as latex export works.
1406 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1407 directly with the paragraph contents. This code was moved up to
1408 output_docbook.C (docbookParagraphs).
1409 * sgml.C (openTag, closeTag): removed unneeded newlines.
1410 (closeEnvTags) removed.
1412 2004-10-23 André Pönitz <poenitz@gmx.net>
1414 * undo.C (textUndoOrRedo):
1415 * dociterator.C (asDocIterator): work around crash
1417 * cursor.C (getStatus): replace ASSERT by more verbose error message
1418 and manual correction of the problem. Should increase stability
1419 while providing more sensible information.
1421 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1423 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1425 * bufferlist.C (previous, next): new methods
1428 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1430 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1432 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1433 entities to preamble.
1435 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1437 * messages.C (Pimpl): strip off translation context information
1439 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1441 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1442 the cursor is correct (bug 1694)
1444 2004-10-13 José Matos <jamatos@lyx.org>
1446 * output_docbook.C (docbookParagraphs): fix closing tags in the
1447 end of the document.
1449 2004-10-09 José Matos <jamatos@lyx.org>
1451 * buffer.C: format up to 237.
1452 * bufferparams.C (write): use tostr to convert booleans to strings.
1454 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1456 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1458 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1460 * LaTeX.C: implement use of babel language in xindy.
1462 2004-10-05 José Matos <jamatos@lyx.org>
1464 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1465 Add new translators to help reading and writing the lyx file.
1467 2004-10-05 José Matos <jamatos@lyx.org>
1469 * ParagraphParameters.C (read):
1470 * text.C (readParToken): replace nexToken by more appropriate lex
1473 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1475 * LaTeX.C (runMakeIndex):
1476 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1477 (usually 'makeindex') configurable.
1479 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1480 with a variable rather than with a number.
1482 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * output_latex.C (TeXOnePar): make sure font setting is the first
1485 thing that gets output (and the last at the end). Should fix bug
1488 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1490 * pch.h: use proper signal include
1492 * LaTeX.h: Use preferred calling of Boost.Signal
1495 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1497 * pch.h: dont include <boost/function/function0.hpp>
1499 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1501 * paragraph_pimpl.h: remove usage of ShareContainer
1503 * paragraph_pimpl.C: remove initialization of ShareContainer.
1505 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * BufferView.C (putSelectionAt): change the semantics when
1510 backwards == true: now, this just swaps cursor and anchor wrt the
1513 * BufferView.h (putSelectionAt): add some documentation
1515 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1516 make sure backwardChar is done at least once (to avoid getting
1518 (findNextChange): use putSelectionAt in the forward direction
1519 (operator()): use Paragraph::isWord
1521 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1523 * Spacing.C (set): c_str fix
1525 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * lyx_cb.C (Reconfigure): quote the name of configure script in
1528 case it contains spaces
1530 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1534 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1535 (BOOST_LIBS): use top_buildir when looking for the file
1537 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1539 * pch.h: do not use include boost/format.hpp, multiple symbols
1540 will result (gcc bug)
1543 2004-08-23 José Matos <jamatos@lyx.org>
1545 * bufferparams.C (readToken): fix reading of the author field.
1547 2004-08-20 José Matos <jamatos@lyx.org>
1549 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1551 2004-08-20 José Matos <jamatos@lyx.org>
1553 * lyxlex.[Ch] (findToken): remove function.
1555 * ParagraphParameters.C (findToken):
1556 * bufferparams.C (findToken): replace call for previous function
1557 with local copy. This local function has one more argument, the
1558 read string argument.
1560 2004-08-16 José Matos <jamatos@lyx.org>
1562 * ParagraphParameters.C (write):
1563 * Spacing.C (writeFile):
1564 * bufferparams.C (writeLaTeX):
1565 * lyx_cb.C (Reconfigure):
1566 * paragraph.C (write):
1567 * tabular.C (write): remove unnecessary space at end of line.
1570 2004-08-16 José Matos <jamatos@lyx.org>
1572 * text.C (readParagraph): remove debug message.
1574 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1576 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1579 * output_plaintext.C (asciiParagraph): set depth correctly
1581 * outputparams.h: add member depth
1583 * paragraph_funcs.C (ownerPar): remove.
1585 * text2.C (setCounter): remove first_pit; comment out some
1586 non-working code that uses ownerPar
1588 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1591 2004-08-16 José Matos <jamatos@lyx.org>
1593 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1594 For the same level of importance use the same chanel to report problems.
1595 (read): add code to deal with \begin_body and \end_body.
1598 2004-08-15 José Matos <jamatos@lyx.org>
1600 * lyxlex.C (getString): fix comment, buffer::readBody is now
1601 buffer:readDocument.
1603 * tex-strings.C (string_papersize): Default -> default,
1604 Custom -> custom, for consistency with other options.
1606 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1610 * Makefile.am: support pch
1612 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * text.C (readParToken): remove the static LyXFont variable and
1615 pass it as a parameter instead. This fixes a nasty bug where an
1616 inset will be inserted with a bad font in some situations
1617 (readParagraph): adapt
1619 * text2.C (setCounter): reduce number of calls to pars_[pit]
1621 * text.C (singleWidth): add an assert, fix a test
1623 * rowpainter.C (paintText): reduce number of calls to singleWidth
1625 * paragraph.C (isHfill):
1626 (isNewline): ws only
1628 2004-08-14 André Pönitz <poenitz@gmx.net>
1633 * lyxtext.h (several functions): use a Paragraph & argument
1636 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1638 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1640 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1642 * text.C (singleWidth): remove useless test
1644 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * tabular.h: remove bogus comments
1648 * tabular.C (getDescentOfRow):
1649 (isPartOfMultiColumn): add assertions
1651 * lyxlength.C (inPixels): remove #warning
1653 2004-08-14 André Pönitz <poenitz@gmx.net>
1655 * paragraph.h: inline getChar()
1657 * BufferView.h: remove unused declarations
1659 2004-08-14 José Matos <jamatos@lyx.org>
1661 * Buffer.[Ch] (readDocument): new name for old readBody.
1662 * Buffer.C: new file format, new keywords: \begin_document,
1663 \begin_header, \begin_body, \end_body.
1665 * bufferparams.C (readToken): replace all calls to lex.nextToken
1666 by lex.next(). Do the same to eatLine except where really needed.
1668 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1669 line when writing to the lyx file.
1671 * output_plaintext.C (asciiParagraph): fix Bibliography style
1674 * text.C (read): fix end of file handling.
1676 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1678 * MenuBackend.C (Menu::operator[]): new method to access
1679 individual menu items
1680 (Menu::hasFunc): new method. search for an item that corresponds
1682 (MenuBackend::specialMenu): new method
1683 (MenuBackend::expand): if a special menu has been set, skip
1684 entries whose func() appears in this menu
1686 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1688 * text3.C: use Debug::DEBUG a bit more
1690 * text.C (leftMargin): try to simplify a tiny bit change var x to
1691 l_margin. Dont output the wide margins always.
1692 (rightMargin): no margin in inner texts
1694 * rowpainter.h (nestMargin): new func
1695 (changebarMargin): new func
1696 (rightMargin): new func
1698 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1702 * factory.C (createInset): modify setDrawFrame
1704 * cursor.C: use Debug::DEBUG a bit more
1706 2004-08-14 André Pönitz <poenitz@gmx.net>
1709 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1710 cache for all insets in (at least partially) visible (top-level)
1713 * BufferView_pimpl.C: reset external coord cache before every update.
1714 This means the coord cache only contains valid entries.
1716 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1719 * BufferView_pimpl.C (getInsetByCode): move function out of class
1720 and change in to a template in anon namespace. Also fix to do what
1723 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1726 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1728 (breakParagraph): rename par to par_offset and use a local
1729 reference. Add code to keep the language over a rebreak.
1730 (breakParagraphConservative): rename par to par_offset, use a
1732 (mergeParagraph): ditto
1734 (isFirstInSequence): ditto
1735 (outerFont): rename pit to par_offset
1737 * paragraph.C: ws change
1738 * paragraph.h: ditto
1742 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1744 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1747 * paragraph.C (simpleTeXOnePar): when we have a \item with
1748 optional argument, enclose the argument with curly brackets (in
1749 case it contains a closing square bracket)
1753 * text3.C (checkInsetHit): constify
1755 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1757 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1758 documents (bug 1629)
1760 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1762 Fix toggling of collapsable insets with the mouse (bug 1558)
1764 * lyxfunc.C (dispatch): adapt to LCursor changes
1766 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1767 make sure that dispatch is not invoked twice
1769 * cursor.C (needsUpdate): new method
1770 (dispatch): return void
1771 (result): new method, to access the DispatchResult of the cursor.
1773 2004-08-13 José Matos <jamatos@lyx.org>
1775 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1777 2004-08-13 André Pönitz <poenitz@gmx.net>
1779 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1781 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1784 2004-08-12 André Pönitz <poenitz@gmx.net>
1786 * text3.C: take out the 'cursor right' form insertInset and only
1787 do it in those places when it is really needed. Fixes crash on
1790 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1792 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1794 * BufferView_pimpl.C (setBuffer): initialize the current font of
1795 the underlying LyXText
1797 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1799 * kbsequence.C (print): use UI native formatting for menu
1802 * text.C (insertChar): call Paragraph::insertChar with a font
1805 * paragraph.C (insertInset, insertChar): the version that takes a
1806 LyXFont argument is now a wrapper around the other one (the
1807 opposite used to be true).
1809 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1810 argument. Font setting is done in Paragraph now.
1812 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1814 * outputparams.h: add new members intitle and lang.
1816 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1817 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1819 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1821 * text3.C (dispatch): remove special handling of button 4 and 5,
1822 it is now taken care of in the frontend code.
1824 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1826 * Spacing.h: add <string> (STLPort compile fix)
1828 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1830 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1832 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1834 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1837 * converter.C (showMessage): inherit from unary_function, make
1840 * buffer.C (writeFile): initialize retval
1842 * InsetList.h: rename private variable list to list_
1843 * InsetList.[Ch]: adjust accordingly.
1845 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1847 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1848 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1849 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1850 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1851 * ParagraphParameters.C, LaTeXFeatures.C: replace
1852 "support/std_sstream.h" with <sstream>
1854 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1856 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1857 * lyxsocket.C (LyXServerSocket): ditto
1858 (serverCallback): ditto
1860 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1862 * LaTeXFeatures.C: check release date when loading jurabib.
1864 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1866 * lyxserver.C (startPipe): call register_socket_callback
1867 (endPipe): call unregister_socket_callback
1869 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1871 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1872 (LyXServerSocket): register the callback
1873 (LyXServerSocket): unregister the callback
1874 (fd): delete function
1875 (serverCallback): improve error checking and setup the callbacks.
1876 (dataCallback): change arg to fd.
1877 (writeln): new func (copied fro the client socket) used for server
1879 (LyXDataSocket): simplify
1880 (~LyXDataSocket): close ann unregiser callback
1881 (server): delete function
1882 (fd): delete function
1883 (readln): small changes, improve some std::string usage
1884 (writeln): constify a bit
1886 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1888 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1891 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1894 after it has been populated
1896 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * text2.C (insertInset): move cursor when inserting inset.
1900 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1902 * kbmap.C (findbindings): a couple of new methods. returns a
1903 container of kb_sequence objects. The real work is done by the
1904 private recursive version
1905 (printbindings): uses findbindings to print out a bracketed list
1906 of bindings (renamed from findbinding).
1908 * MenuBackend.C (binding): use kb_keymap::findbindings
1910 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1912 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1914 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1916 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1918 * paragraph.C (isWord): return true on insets that report
1921 * text.C (getWord): use Paragraph::isWord to decide what is in a
1922 word and what is not; fix bug 1609.
1924 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1926 * tex-strings.C: add "none" to string_paperpackages[], fixes
1927 off-by-one-error in the paperpackage selection.
1930 * tex-strings.[Ch]: char const * string[n]
1931 -> char const * const string[]
1933 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1936 command, return early.
1938 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1940 * debug.h: add DEBUG to enum and fix size of ANY.
1942 * debug.C: add support for Debug::DEBUG
1943 (showTags): cast errorTags.level to unsigned int
1945 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1946 (redoCurrentBuffer): ditto
1947 (updateScrollbar): ditto
1948 * cursor.C (dispatch): ditto
1949 * text2.C (setLayout): ditto
1951 (updateCounters): ditto
1953 (deleteEmptyParagraphMechanism): ditto
1955 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1957 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1958 annotations to cleanup the Makefile slightly.
1960 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1962 * lyxrc.C: do not set user_email to a default value but use empty
1963 instead. The entry used to be translated, which does not work
1964 since at the point where lyxrc is constructed there is no
1965 translation service available
1967 * messages.C (getLocaleDir): remove and use directly
1968 lyx_localedir() instead
1970 2004-06-02 Angus Leeming <leeming@lyx.org>
1972 Fix crash caused by dereferencing null pointer 'exportdata' in
1973 OutputParams by creating a new ExportData variable on the heap,
1974 storing it in a boost::shared_ptr.
1975 The crash was triggered when generating an Instant Preview
1976 of an external inset.
1978 * Makefile.am: add outputparams.C
1980 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1981 (c-tor): allocate memory to it.
1983 * exporter.C (c-tor): associated changes.
1985 2004-06-01 Angus Leeming <leeming@lyx.org>
1987 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1988 contains data before calling isInset(0). (Bug 1513.)
1990 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1992 * exporter.C (checkOverwrite): new method
1993 * exporter.C (copyFile): new method
1994 * exporter.C (Export): copy referenced files to the document dir
1995 * exporter.[Ch]: new class ExportedFile
1996 * exporter.[Ch]: new class ExportData. Contains currently the
1997 names of referenced external files
1998 * outputparams.h: add exportdata member.
2000 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2002 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2005 2004-05-19 Angus Leeming <leeming@lyx.org>
2010 * lyxfunc.C: small changes due to the introduction of namespace
2011 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2013 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2015 * text3.C (dispatch): supress update when only moving the cursor
2016 * cursor.C (selHandle): remove commented code
2018 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2020 * paragraph.C (startTeXParParams): correct column count
2021 * CutAndPaste.C (pasteSelection): remove const_cast
2022 * output_docbook.C (docbookParagraphs): remove const_cast
2023 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2024 const_cast and return ParagraphList::const_iterator
2025 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2026 * output_plaintext.C (writeFileAscii): remove const_cast
2027 * paragraph.[Ch] (simpleTeXOnePar): make const
2028 * paragraph_funcs.C (outerPar): use const iterators
2029 * paragraph_pimpl.C (validate): use const iterators
2030 * text.C (setHeightOfRow): use const iterators
2032 2004-05-17 Angus Leeming <leeming@lyx.org>
2035 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2037 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2038 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2039 if the citation engine has changed.
2041 2004-05-14 José Matos <jamatos@lyx.org>
2043 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2044 if the textclass does not provide it. Have it different for sgml and
2046 support the language of document.
2047 * output_docbook.C (docbookParagraphs):
2048 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2049 first anchor as the id of the paragraph, remove special case code.
2050 * sgml.C (escapeChar): escape only < & >.
2052 2004-05-14 Angus Leeming <leeming@lyx.org>
2054 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2055 dependencies on src/frontends/controllers/biblio.h. Define a
2056 CiteEngine_enum wrapper class to enable the enum to be forward
2059 2004-05-12 Angus Leeming <leeming@lyx.org>
2061 * buffer.C: up LYX_FORMAT to 234.
2062 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2063 use_numerical_citations with a single biblio::CiteEngine cite_engine
2065 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2067 2004-05-13 José Matos <jamatos@lyx.org>
2070 * converter.C (Converter, readFlags): add xml member.
2071 * outputparams.h: add XML flavor.
2072 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2074 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * lyxfunc.C (dispatch):
2077 (getStatus): fix handling of LFUN_SEQUENCE
2079 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2081 * debug.C (showLevel): do not forget the end-of-line marker
2083 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2085 * kbmap.C (read): do not stop parsing a bind file when an error
2088 2004-04-29 Angus Leeming <leeming@lyx.org>
2093 * text2.C: wrap a bunch of #warning statements
2094 inside #ifdef WITH_WARNINGS blocks.
2096 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2098 * buffer.C: increment format to 233.
2100 2004-04-28 Angus Leeming <leeming@lyx.org>
2102 * BufferView_pimpl.C:
2105 s/updateToolbar()/updateToolbars()/
2106 s/Toolbar.h/Toolbars.h/
2108 2004-04-28 Angus Leeming <leeming@lyx.org>
2110 * BufferView.[Ch] (c-tor):
2111 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2112 No longer passes these data to the WorkArea generator.
2114 2004-04-28 Angus Leeming <leeming@lyx.org>
2116 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2118 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2120 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2122 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2124 * output_latex.C (TeXEnvironment): make sure that there is a line
2125 break before \end{foo} for the last paragraph of a document
2126 (TeXOnePar): if the paragraph is at the end of the document (or
2127 inset) and the language has to be reset, then make sure that the
2128 line break is _before_ the language command, not after (fixes bug
2129 1225); also make sure that the language reset command is the first
2130 thing after the paragraph (to ensure proper nesting of
2131 environments and thus fix bug 1404)
2133 2004-04-21 John Levon <levon@movementarian.org>
2136 * ToolbarBackend.C: make "name" be a programmatic name
2137 and a gui_name field.
2139 * lyxfunc.C: display the minibuffer on M-x
2141 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2146 2004-04-19 Angus Leeming <leeming@lyx.org>
2148 * BufferView_pimpl.C (setBuffer): changed preview interface.
2150 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2153 2004-04-19 John Levon <levon@movementarian.org>
2155 * BufferView_pimpl.C:
2156 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2158 2004-04-05 Angus Leeming <leeming@lyx.org>
2160 * text.C (redoParagraphs): add call to updateCounters(), thereby
2161 fixing the missing "Figure #:" label from the caption of a
2164 2004-04-13 Angus Leeming <leeming@lyx.org>
2166 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2167 cursor is clicked out of an inset.
2169 2004-04-13 Angus Leeming <leeming@lyx.org>
2171 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2172 than an InsetOld one.
2174 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2176 * format.[Ch]: add editor to Format
2177 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2178 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2180 2004-04-08 André Pönitz <poenitz@gmx.net>
2182 * metricsinfo.h: remove PainterInfo::width member
2184 2004-04-08 Angus Leeming <leeming@lyx.org>
2186 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2187 "\providecommand" rather than "\newcommand", thereby preventing
2188 clashes with packages that define "\boldsymbol" themselves.
2191 2004-04-08 Angus Leeming <leeming@lyx.org>
2193 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2194 thereby squashing an unnecessary warning.
2196 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2198 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2201 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2203 * BufferView.C (setCursor): call redoParagraph (some insets could
2205 (putSelectionAt): remove the 'double update' trick
2207 * BufferView_pimpl.C (fitCursor): call refreshPar
2208 (workAreaDispatch): remove an uneeded update call
2209 (dispatch): remove some manual update calls
2211 * cursor.[Ch]: remove cached_y_, updatePos
2212 (selHandle): set noUpdate when appropriate
2214 * lyxfunc.C (dispatch): track if we need an update
2216 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2218 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2219 (paintSelection): cheap optimization, do not call cursorX when not
2221 (paintPars): change signature
2224 (paintTextInset): adjust
2228 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * lengthcommon.C: compilation fix: remove explicit array size from
2231 unit_name[] and friends
2233 2004-04-05 Angus Leeming <leeming@lyx.org>
2235 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2237 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2238 present only for the preferences dialog.
2239 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2241 2004-04-05 Angus Leeming <leeming@lyx.org>
2243 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2244 to enable the frontends to export changes to lyxrc correctly.
2246 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2248 2004-04-07 André Pönitz <poenitz@gmx.net>
2250 * cursor.[Ch] (selClear, adjust): remove math
2252 * cursor_slice.C: more agressive assert
2255 * BufferView_pimpl.C: rework mouse event dispatch
2262 2004-04-05 André Pönitz <poenitz@gmx.net>
2264 * cursor.[Ch] (valign, halign...): remove unneeded functions
2266 2004-04-05 Angus Leeming <leeming@lyx.org>
2268 * lyxlength.[Ch] (unit_name et al.): const-correct.
2270 2004-04-05 Angus Leeming <leeming@lyx.org>
2272 * BufferView_pimpl.C:
2281 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2283 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2285 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2287 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2289 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2290 * BufferView_pimpl.[Ch] (getStatus)
2291 * BufferView.[Ch] (getStatus): add
2292 * lyxfunc.C (getStatus): move lfuns handled in
2293 BufferView::dispatch to te function above
2294 * Cursor.C (setSelection): set selection() = true
2296 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2298 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2300 2004-03-31 Angus Leeming <leeming@lyx.org>
2302 * lyxfunc.C (dispatch): Fall through to the generic
2303 Dialogs::show("preamble").
2305 2004-03-31 Angus Leeming <leeming@lyx.org>
2307 * lyxfunc.C (dispatch): Fall through to the generic
2308 Dialogs::show("spellchecker").
2310 2004-03-31 Angus Leeming <leeming@lyx.org>
2312 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2315 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2320 * insetiterator.[Ch]:
2325 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2327 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2329 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2330 insets where we are putting the cursor.
2332 2004-03-31 Angus Leeming <leeming@lyx.org>
2335 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2337 * lyxrc.[Ch] (read, write): overloaded member functions taking
2338 a std::[io]stream arguments.
2340 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2342 2004-03-31 Angus Leeming <leeming@lyx.org>
2344 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2345 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2347 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2348 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2350 2004-03-31 Angus Leeming <leeming@lyx.org>
2352 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2353 the LFUN_ALL_INSETS_TOGGLE code.
2355 2004-03-30 Angus Leeming <leeming@lyx.org>
2357 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2358 has died. Fall through to the generic Dialogs::show("document").
2360 2004-03-30 Angus Leeming <leeming@lyx.org>
2363 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2364 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2366 * lyxfunc.C (getStatus, dispatch): define the actions for these
2367 lfuns. Little more than a cut and pste job from ControlDocument.C
2369 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2371 2004-03-30 Angus Leeming <leeming@lyx.org>
2374 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2375 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2377 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2378 open/closed state of ollapsable insets. Usage:
2380 all-inset-toggle <state> <name>, where
2381 <state> == "open" || "closed" || "toggle" and
2382 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2384 * lyxtext.h, text2.C (toggleInset): removed.
2386 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2387 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2388 now passes LFUN_INSET_TOGGLE to the found inset.
2390 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2391 is now invoked as "all-insets-toggle toggle branch".
2393 2004-03-30 Angus Leeming <leeming@lyx.org>
2397 * pariterator.[Ch]: added/corrected header blurb.
2399 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2401 * dociterator.[Ch]: add an inset_ member
2402 (backwardPos): implemented
2403 (backwardPos, forwardPos): use inset_ when the stack is empty.
2404 (doc_iterator_begin, doc_iterator_end): implemented
2405 * pariterator.[Ch]: adjust, add begin, end
2406 * insetiterator.[Ch]: adjust, add begin, end
2410 * BufferView_pimpl.C:
2411 * CutAndPaste.C: adjust
2413 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2415 * buffer.C: increment file format to 232.
2416 * LaTeXFeatures.C: add bibtopic package.
2417 * bufferparams.[Ch]: param \use_bibtopic.
2419 * lyxrc.[Ch]: add lyxrc bibtex_command
2420 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2422 * buffer.C: increment file format to 231.
2424 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2426 * dociterator.C: implement forwardPar
2427 * iterators.[Ch]: remove, replaced by
2428 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2430 * BufferView_pimpl.C:
2433 * bufferview_funcs.C:
2439 * Makefile.am: adjust
2441 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2443 * CutAndPaste.C (pasteSelection): fix 2 crashes
2444 (eraseSelection): fix a crash
2445 * paragraph_funcs.C: remove a warning
2447 2004-03-28 Angus Leeming <leeming@lyx.org>
2450 * LyXAction.C (init): new LFUN_PRINT.
2452 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2454 2004-03-27 Angus Leeming <leeming@lyx.org>
2457 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2459 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2461 2004-03-27 Angus Leeming <leeming@lyx.org>
2463 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2464 insetlist always contains non-null pointers to insets.
2466 2004-03-26 Angus Leeming <leeming@lyx.org>
2468 * src/BufferView_pimpl.C:
2469 * src/CutAndPaste.C:
2472 * src/output_plaintext.C:
2473 * src/outputparams.h:
2474 * src/paragraph_funcs.C:
2478 * src/frontends/controllers/ControlErrorList.C:
2479 * src/frontends/gtk/FileDialogPrivate.C:
2480 * src/frontends/gtk/GPainter.C:
2481 * src/frontends/gtk/GToolbar.C:
2482 * src/frontends/qt2/QRef.C:
2483 * src/mathed/math_scriptinset.C: squash compiler warnings.
2485 2004-03-26 Angus Leeming <leeming@lyx.org>
2487 * ispell.C (LaunchIspell::start):
2488 * lyx_cb.C (AutoSaveBuffer::start):
2489 invoke run(DontWait) rather than runNonBlocking().
2491 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2493 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2495 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * kbsequence.C (print): adjust
2499 * kbmap.C (printKeySym): rename and change signature
2500 (printKey): use LyXKeySym::print()
2502 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2504 * undo.C: add using std::advance to compile for stlport
2506 2004-03-24 Angus Leeming <leeming@lyx.org>
2508 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2509 it leads to a crash when no buffer is present.
2511 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2512 Martin Vermeer <martin.vermeer@hut.fi>
2514 * lyxfunc.C (dispatch):
2515 * bufferparams.C (readToken): use the new LColor::setColor
2517 * LColor.[Ch] (setColor): new version that takes two strings as
2518 argument and creates a new color entry if necessary
2520 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2522 * buffer.C (makeLaTeXFile): if the main latex file that is
2523 processed is usually a subdocument of some master, then pretend
2524 for a while that it is actually the master
2526 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2528 * buffer.C (getLabelList):
2529 (getBibkeyList): use getMasterBuffer()
2530 (getMasterBuffer): new method. Returns the main document in the
2531 case where one is using included documents.
2533 2004-03-25 André Pönitz <poenitz@gmx.net>
2537 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2539 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2541 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2542 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2544 * ParameterStruct.h: merge with ParagraphParameters
2546 * lyxtext.h: remove LyXText::parOffset() and getPar()
2548 * text3.C: Remove all 'manual' update calls. We do now one per user
2549 interaction which is completely sufficient.
2553 * BufferView_pimpl.C:
2554 * FontIterator.[Ch]:
2556 * ParagraphParameters.[Ch]:
2561 * cursor_slice.[Ch]:
2568 * output_docbook.[Ch]:
2569 * output_latex.[Ch]:
2570 * output_linuxdoc.[Ch]:
2571 * output_plaintext.[Ch]:
2573 * paragraph_funcs.[Ch]:
2574 * paragraph_pimpl.[Ch]:
2582 * frontends/controllers/ControlDocument.C:
2583 * frontends/controllers/ControlErrorList.C:
2584 * frontends/controllers/ControlSpellchecker.C:
2587 * insets/insetbase.h:
2588 * insets/insetbibitem.C:
2589 * insets/insetbox.C:
2590 * insets/insetbranch.C:
2591 * insets/insetcaption.C:
2592 * insets/insetcharstyle.C:
2593 * insets/insetcharstyle.h:
2594 * insets/insetcollapsable.C:
2595 * insets/insetcollapsable.h:
2596 * insets/insetert.C:
2597 * insets/insetfloat.C:
2598 * insets/insetfoot.C:
2599 * insets/insetmarginal.C:
2600 * insets/insetnote.C:
2601 * insets/insetoptarg.C:
2602 * insets/insettabular.C:
2603 * insets/insettext.C:
2604 * insets/insettext.h:
2605 * insets/insetwrap.C:
2606 * mathed/math_mboxinset.C:
2607 * mathed/math_nestinset.C:
2608 * mathed/math_scriptinset.C:
2609 * mathed/math_scriptinset.h:
2612 2004-03-24 Angus Leeming <leeming@lyx.org>
2614 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2615 deal with any child processes that have finished but are waiting to
2616 communicate this fact to the rest of LyX.
2618 2004-03-24 Angus Leeming <leeming@lyx.org>
2620 64-bit compile fixes.
2622 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2623 (c-tor): pass lyx::pos_types rather than ints.
2625 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2628 * text.C (Delete): compile fix.
2629 (getPar): ensure that function declaration is the same as that in
2632 2004-03-23 Angus Leeming <leeming@lyx.org>
2634 * ispell.C (LaunchIspell):
2635 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2636 a boost::shred_ptr rather than a std::auto_ptr.
2638 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2640 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2641 handle LFUN_FILE_INSERT_*
2643 * lyxrc.C (setDefaults, getDescription, output, read):
2644 * lyxrc.h: remove ps_command
2646 2004-03-22 Angus Leeming <leeming@lyx.org>
2648 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2649 Ensure that error_handler is processed once only and that all data
2650 is saved before attempting to output any warning messages.
2652 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2654 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2656 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2658 2004-03-19 André Pönitz <poenitz@gmx.net>
2660 * cursor.[Ch] (reset): take main text inset as argument
2662 * BufferView: adjust
2663 * BufferView_pimpl.C: adjust
2665 * paragraph.[Ch]: fix completely broken operator=()
2667 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2669 * LColor.C (getFromLyXName): make sure that the color name is used
2672 2004-03-17 Angus Leeming <leeming@lyx.org>
2675 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2677 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2678 dialog and to kill a forked process.
2680 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2682 * text2.C (setCursorFromCoordinates): fix font problem
2684 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2686 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2687 bogus "rebuild cursor" code
2689 2004-03-11 André Pönitz <poenitz@gmx.net>
2691 * buffer.[Ch]: use InsetText instead of LyXText as container for
2694 * dociterator.[Ch]: drop the BufferView * member which is not needed
2695 anymore after the change to buffer.C
2697 * paragraph_funcs.C:
2701 * BufferView_pimpl.[Ch]:
2703 * cursor_slice.[Ch]: adjust
2705 * text3.C: fix bug in mathDispatch
2707 2004-03-08 André Pönitz <poenitz@gmx.net>
2709 * undo.[Ch]: use 'StableDocumentIterator' as base for
2712 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2715 * bufferparams.[Ch]: add jurabib support and param.
2717 * LaTeX.C: add FIXME/comment.
2719 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2721 * buffer.C: increment file format to 230.
2723 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2725 * cursor.C (dispatch): avoid infinite loops
2727 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2729 * rowpainter.C (paintSelection): fix x coordinates
2731 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2733 * text.C (rowBreakPoint): fix breaking before displayed insets
2735 2004-03-01 André Pönitz <poenitz@gmx.net>
2737 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2739 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2743 * BufferView_pimpl.C:
2751 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2757 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2758 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2760 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2762 * Bidi.[Ch] (computeTables): const correctness
2763 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2764 fill_hfill, fill_label_hfill and x from Row
2765 * lyxtext.h: prepareToPrint returns a RowMetrics
2766 * rowPainter.C: adjust
2767 * text.C (prepareToPrint): use width, not textWidth. adjust
2768 (redoParagraphInternal, cursorX): adjust
2769 * text2.C (getColumnNearX): adjust
2770 (init): put a default value to the top LyXText::width
2772 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2774 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2776 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2778 * lyxtext.h: add FontIterator class
2780 * text.C (FontIterator, operator*, operator->, operator++): add
2781 (rowBreakPoint, setRowWidth): adjust (fixing a
2784 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2786 * BufferView_pimpl.C (workAreaDispatch): allow also
2787 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2789 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2791 * text.C (rowBreakPoint): fix a bug showing with very large insets
2793 2004-02-25 André Pönitz <poenitz@gmx.net>
2796 * cursor.[Ch]: move some mathed specific code to mathed
2798 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2800 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2801 use_tempdir in preferences
2802 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2804 * lyx_main.C: ensure that tempdir is valid
2805 * lyxlex.h: correct typo
2806 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2807 * paragraph.[Ch] (isMultiLingual): make const
2808 * cursor.[Ch] (openable): make const
2810 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2812 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2814 2004-02-20 André Pönitz <poenitz@gmx.net>
2816 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2818 * cursor.[Ch]: prepare for localized getStatus()
2824 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2826 2004-02-20 André Pönitz <poenitz@gmx.net>
2828 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2830 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2832 * text2.C (setCursorFromCoordinates): switch to absolute coords
2834 (cursorDown): adjust
2835 * text3.C (dispatch): adjust
2837 2004-02-16 André Pönitz <poenitz@gmx.net>
2839 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2842 * cursor_slice.[Ch]: remove unneeded acessor function
2844 * lyxtext.h: rename rtl() to isRTL()
2852 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2854 * rowpainter.C (paintSelection): coord fix
2856 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2858 * Spacing.C: compile fix
2860 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2862 * cursor.C (dispatch): restore current_ before returning
2864 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2866 * text2.C (cursorUp, cursorDown): fix coords
2869 2004-02-12 André Pönitz <poenitz@gmx.net>
2874 * text3.C: add LCursor & parameter to most cursor movement functions
2875 remove usage of LyXText::cursorRow() and cursorPar()
2877 * cursor.[Ch]: add textRow() needed members
2880 * BufferView_pimpl.C:
2883 * BufferView_pimpl.C: adjust
2885 2004-02-11 André Pönitz <poenitz@gmx.net>
2889 * BufferView_pimpl.C: shift undo/redo handling
2891 * cursor.[Ch]: fix mathed crash
2894 * lyxtext.h: move selectionAsText to LCursor
2902 * rowpainter.C: fix excessive drawing
2904 2004-02-06 André Pönitz <poenitz@gmx.net>
2907 * BufferView_pimpl.[Ch]:
2908 * text3.C: move some text specific LFUN handling
2910 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2912 * text3.C (checkInsetHit): adjust coords
2913 * text2.C (getColumnNearX): adjust coords
2914 (edit): adjust coords
2915 * text.C (getRowNearY): add two asserts
2917 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2920 * format.C: add using std::distance to compile on gcc 2.95/stlport
2922 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2924 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2926 2004-02-04 André Pönitz <poenitz@gmx.net>
2928 * BufferView.[Ch] (insertInset):
2929 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2934 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2936 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2937 on the default clause of the switch
2938 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2939 wasn't catched by LCursor::dispatch
2941 2004-02-03 André Pönitz <poenitz@gmx.net>
2944 * cursor.[Ch]: some additional asserts
2946 * undo.[Ch]: remove LyXText dependency in interface
2950 * lyxtext.h (firstPar, lastPar): remove dead functions
2955 * paragraph.[Ch]: adjust
2957 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2959 * lyxfind.C (find): fix argument order in call to ::find
2961 2004-02-02 André Pönitz <poenitz@gmx.net>
2963 * cursor.[Ch]: remove direct access to anchor
2965 * text.C: remove findText() hack
2967 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2969 * iterators.[Ch] (lockPath): remove in favour of...
2970 * BufferView.[Ch] (setCursor): this addition
2971 * BufferView.C (putSelectionAt): adjust
2972 * undo.C (performUndoOrRedo): adjust
2973 * lyxfunc.C (dispatch): adjust
2975 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2977 * iterators.C (lockPath): add a missing slice
2978 * undo.C (performUndoOrRedo): remove redundant positioning code
2980 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2982 * vc-backend.C (scanMaster): ";" -> ';'
2984 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2986 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2987 std::binary_function
2989 * lyxtextclass.C (compare_name): rename to...
2990 (LayoutNamesEqual): ...this
2992 * lyxlex_pimpl.C (compare_tags): inherit from
2993 std::binary_function, put back into anon namespace
2995 * lyxfind.C (MatchString): inherig from std::binary_function
2996 (findChange): use empty() istead of !size()
2998 * format.C (FormatNamesEqual): new functor
3005 * converter.C (compare_Converter): rename to...
3006 (ConverterEqual): ...this, and fixup a bit.
3007 (getConverter): use it, and make function const
3008 (getNumber): use it, and make function const
3012 * bufferlist.C: add using boost::bind
3014 * MenuBackend.C (MenuNamesEqual): new functor
3015 (hasMenu): use it, and make function const
3016 (hasSubmenu): use nested bind to get rid of compare_memfun.
3018 2004-01-30 André Pönitz <poenitz@gmx.net>
3020 * BufferView_pimpl.C:
3023 * cursor_slice.[Ch]:
3026 * paragraph_funcs.C:
3027 * paragraph_funcs.h:
3031 * text3.C: move some of the edit(x,y) handling to the insets
3032 some coordinate changes.
3034 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3036 * text.C: add using statements for std::advance and std::distance
3038 * paragraph.C: add using statement for std::distance
3040 * lyxfind.C: add using statement for std::advance
3042 * cursor.C (region): remove std:: from swap
3043 (openable): use nucleus in stead of operator->
3045 * BufferView.C: add using statements for std::distance and std::swap
3047 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3049 * iterators.C: Remove the pimple, move the needed structures to
3050 the header file. Create accessor for the positions stack.
3051 (asPosIterator): remove function
3053 * PosIterator.C (PosIterator): move constructors to top of file
3054 (PosIterator): reimplement the constructor taking a ParIterator in
3056 (setFrom): new function
3057 (operator!=): inline it
3059 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3061 * lyxfind.C (replaceAll): use std::advance
3063 * iterators.h: inherit from std::iterator.
3065 * PosIterator.C (advance, distance): remove
3066 * PosIterator.h: interit from std::iterator.
3068 2004-01-26 André Pönitz <poenitz@gmx.net>
3071 * BufferView_pimpl.[Ch]:
3075 * bufferview_funcs.C:
3085 * output_linuxdoc.C:
3086 * output_plaintext.C:
3088 * paragraph_funcs.[Ch]:
3089 * paragraph_pimpl.[Ch]:
3095 * text3.C: more IU: dumps most of the rest of the mathcursor
3096 implementation into cursor.[Ch]; "globalize" a bit of it.
3098 2004-01-25 Angus Leeming <leeming@lyx.org>
3100 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3102 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3104 * LaTeXFeatures.h: add nice_ and nice() const
3105 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3107 2004-01-20 André Pönitz <poenitz@gmx.net>
3110 * BufferView_pimpl.C:
3112 * bufferview_funcs.C:
3114 * cursor_slice.[Ch]:
3125 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3126 LCursor and mathcursor parts to LCursor and InsetBase.
3128 2004-01-15 André Pönitz <poenitz@gmx.net>
3130 * cursor_slice.[Ch]: add a few covienience functions
3132 * funcrequest.[Ch]: remove BufferView * member
3134 * BufferView_pimpl.C:
3141 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3143 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3145 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3146 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3148 2004-01-13 André Pönitz <poenitz@gmx.net>
3151 * lyxtext.h: hide cursor and selection anchor behind accessor function
3154 * BufferView_pimpl.[Ch]:
3156 * bufferview_funcs.C:
3166 * cursor_slice.[Ch]: some integer type changes for inset unification
3168 * lyxcursor.[hC]: remove, it's CursorSlice now.
3171 * BufferView_pimpl.[Ch]:
3172 * bufferview_funcs.C:
3178 * textcursor.[Ch]: adjust
3180 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3182 * text2.C (undoSpan): add and use
3183 * text.C (breakParagraph): use undoSpan (fix bug 578)
3186 2004-01-08 Angus Leeming <leeming@lyx.org>
3188 * BufferView_pimpl.C (MenuInsertLyXFile):
3189 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3190 * lyxfunc.C (menuNew, open, doImport):
3191 FileFilterList change to the FileDialog open and save functions.
3193 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3195 * ShareContainer.h: make isEqual and isUnique adaptable
3197 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3199 2004-01-07 Angus Leeming <leeming@lyx.org>
3202 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3204 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3206 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3207 functions replacing find, replace and replaceAll.
3209 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3210 LFUN_WORDFIND(FORWARD|BACKWARD).
3212 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3214 * text.C (breakParagraph): remove an outdated #warning
3216 2004-01-07 André Pönitz <poenitz@gmx.net>
3218 * lyxfind.C: somewhat clearer logic
3220 * text.C: prevent crash in cursorX on unitialized row cache
3222 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3224 * lyxcursor.[Ch] (operator>): add
3225 * textcursor.C (selStart, selEnd): use std::min and std::max
3227 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3229 * Chktex.C: include boost/format.hpp
3231 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3233 * InsetList.C: replace functor MathcIt with adaptable functor
3235 (insetIterator): modify accordingly
3237 * BranchList.h: move the BranchNamesEqual functor here from...
3238 * BranchList.C: ... to here
3240 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3242 (add): replace a finding loop with std::find_if.
3244 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3246 * output_docbook.C: moving LatexParam functionality into
3249 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3251 * buffer.C: increment format to 229.
3253 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3256 * lyx_sty.[Ch]: remove minipageindent_def
3262 * text3.C: remove LFUN_INSET_MINIPAGE
3264 2003-12-28 Angus Leeming <leeming@lyx.org>
3266 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3268 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3270 * text2.C (setParagraph): fix off-by-one crash
3272 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3274 * output_docbook.C: header stuff for AGU
3276 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3278 * text2.C (redoCursor): remove
3281 * BufferView_pimpl.C: remove calls to redoCursor and
3282 setCursor(cursor.par(), cursor.pos()) all around
3284 2003-12-15 Angus Leeming <leeming@lyx.org>
3286 * buffer.C: up the format to 228.
3288 2003-12-15 André Pönitz <poenitz@gmx.net>
3290 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3295 * BufferView_pimpl.C:
3304 2003-12-15 Angus Leeming <leeming@lyx.org>
3306 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3307 than getFromGUIName to manipulate the color.
3309 2003-12-14 Angus Leeming <leeming@lyx.org>
3311 * BranchList.[Ch]: minimize the API.
3312 (Branch::getBranch, getColor): now return a 'const &'.
3313 (Branch::setSelected) now returns a bool set to true if the
3314 selection status changes.
3315 (BranchList::clear, size, getColor, setColor, setSelected,
3316 allBranches, allSelected, separator): removed.
3317 (BranchList::find): new functions, returning the Branch with
3319 (BranchList::add, remove): return a bool indicating that
3320 the operation was successful.
3322 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3323 new InsetBranch::isBranchSlected member function.
3325 * LColor.[Ch]: mimimize the API.
3326 (fill): renamed as addColor and made private.
3327 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3328 versions of these functions taking a string arg have been removed.
3330 * bufferparams.C (readToken):
3331 * lyxfunc.C (dispatch):
3332 * lyxrc.C (read): changes due to the altered BranchList and
3335 * factory.C (createInset, readInset): changes due to altered
3338 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3341 * lyxfunc.C: remove insetminipage. "minipage-insert"
3342 now produces a frameless minipage box inset.
3344 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3346 * textcursor.[Ch] (selStart,selEnd): add new methods
3347 remove selection::start, end, use LyXCursor::operator<
3348 * lyxcursor.[Ch] (operator<): add
3349 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3350 * BufferView.[Ch] (unsetXSel): add
3351 * text2.C (clearSelection): use unsetXSel,adjust
3354 * rowpainter.C: adjust
3355 * bufferview_funcs.C (put_selection_at): adjust
3357 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3359 * BufferView_pimpl.C: small coord. correction
3361 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3363 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3364 dragging over the splash screen.
3366 2003-12-11 Angus Leeming <leeming@lyx.org>
3368 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3369 as it is now handled in LyXText::dispatch.
3371 * text3.C (doInsertInset): remove a level of nesting.
3373 2003-12-11 Angus Leeming <leeming@lyx.org>
3375 * factory.C (createInset): changes due to the changed interface to
3376 InsetCommandMailer::string2params.
3378 2003-12-10 Angus Leeming <leeming@lyx.org>
3380 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3381 'dialog-show-new-inset <inset name>'
3383 2003-12-10 Angus Leeming <leeming@lyx.org>
3385 * buffer.C: up the format to 227.
3387 * factory.C: the box inset is now identified simply by 'Box'.
3389 2003-12-10 Angus Leeming <leeming@lyx.org>
3391 * buffer.C: up the format to 226.
3393 * factory.C: the note inset is now identified simply by 'Note'.
3395 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3397 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3398 when a pit is enough. Standarize a couple of loops.
3400 2003-12-05 Angus Leeming <leeming@lyx.org>
3402 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3403 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3404 data to the re-worked "log" dialog.
3406 2003-12-03 André Pönitz <poenitz@gmx.net>
3412 * paragraph_funcs.C:
3414 * text2.C: use Inset::getText instead of Inset::getParagraph
3416 2003-12-03 André Pönitz <poenitz@gmx.net>
3420 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3421 InsetText::read() as LyXText::read()
3423 2003-12-02 Angus Leeming <leeming@lyx.org>
3425 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3426 type. Add a comment in the implementation that the function uses
3427 the stream's bad() function rather than fail() as the std::streams
3430 2003-12-02 André Pönitz <poenitz@gmx.net>
3432 * lyxlex.[Ch]: make interface more similar to std::stream
3434 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3436 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3438 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3440 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3442 * vspace.[Ch]: remove VSpace::NONE
3444 2003-12-01 André Pönitz <poenitz@gmx.net>
3447 * lyxtext.h: move ParagraphList member to LyXText
3448 rename LyXText::ownerParagraphs to LyXText::paragraph
3451 * bufferview_funcs.C:
3461 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3463 * undo.C: fix cursor positioning
3465 2003-12-01 John Levon <levon@movementarian.org>
3467 * BufferView_pimpl.C: fix a crash on exit with
3470 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3472 * BranchList.C: fix setSelected() method.
3474 2003-11-28 André Pönitz <poenitz@gmx.net>
3476 * ParagraphParameters.[Ch]:
3477 * ParameterStruct.h: remove space above/below from Paragraph to
3480 * BufferView_pimpl.C:
3486 * paragraph_funcs.C:
3492 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3494 * factory.C: Syntax change for CharStyles
3496 2003-11-28 André Pönitz <poenitz@gmx.net>
3501 * buffer.[Ch]: move LyXText member
3503 2003-11-28 André Pönitz <poenitz@gmx.net>
3505 * BufferView.[Ch]: make LyXText * text a private member
3507 * BufferView_pimpl.C:
3518 * output_plaintext.C: cleanup
3520 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3523 * lyxtextclass.[Ch]: parametrize SGML document header
3525 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3528 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3531 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3533 * text2.C (setFont): rework using PosIterator (no more recursive)
3534 (setCharFont): no more needed
3535 (setLayout): no more selection cursors fiddling (done by redoCursor)
3536 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3537 destroy remaining ones)
3539 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3541 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3543 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3546 * text3.C: adjust + re-allow multi par depth changes
3547 * textcursor.C: simplify a bit
3549 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3555 * src/output_docbook.C:
3556 * src/output_latex.C:
3561 * src/text2.C: Introducing a number of tags parametrizing various
3562 XML formats that we may want to support
3564 2003-11-25 André Pönitz <poenitz@gmx.net>
3566 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3568 * lyxtext.h (leftMargin/rightMargin): simplify interface
3575 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3577 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3578 master file to any child files. Fixes bug 546.
3580 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3582 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3584 2003-11-24 André Pönitz <poenitz@gmx.net>
3586 * rowpainter.C: simplification
3588 * text2.C (updateCounters): remove call to redoParagraph on
3589 changed labels as this is far too expensive.
3591 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3593 * converter.C (convert): fix a crash: this function gets
3594 called with buffer == 0 from importer code.
3596 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3598 * text3.C (cursorPrevious): make sure that we do not compare
3599 iterators form different containers.
3602 * rowpainter.C (paintSelection): make sure that we do not compare
3603 iterators from different containers.
3605 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3606 iterators from different ParagraphList containers.
3609 * text2.C (LyXText): change order of initialization slightly
3610 (operator=): new function. copy all variables except cache_par_
3611 (moveUp): make sure that we do not compare iterators from
3612 different ParagraphList constainers.
3615 * text.C (firstPar): new function
3616 (lastPar): new function
3617 (endPar): new function
3619 * lyxtext.h: move things around and group public functions, public
3620 variables, private functions, private variables
3622 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3624 * factory.C: change call to InsetERT constructor to avoid
3625 additional invocation of method status
3626 * text2.C (toggleInset): remove redundant update() call
3627 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3628 instead of a Bufferview pointer
3630 2003-11-21 André Pönitz <poenitz@gmx.net>
3632 * rowpainter.C: simplification
3634 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3636 * text3.C (dispatch): make possible to extend a word/row selection
3639 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3641 * lyxtext.h: x0_,y0_ -> xo_,yo_
3642 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3643 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3644 * rowpainter.C (paintRows): paint full paragraphs
3646 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3648 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3651 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3653 * lyxtext.h: add x0_, y0_
3654 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3655 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3657 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3659 * text2.C (setCursorIntern): move the x_target update here *
3660 * text3.C: change some bv() to true/false in calls to
3661 cursorUp/Down/Right/Left
3662 * cursor.C: use helper function.
3664 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3666 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3667 * paragraph_funcs.[Ch]: correct comment
3668 * rowpainter.C: do not paint selections away from bv->cursor()
3669 Fix a long standing selection painting bug.
3670 * text3.C: generalize mouse-selection code to LyXTexts other that
3672 * textcursor.C: do not use y coords if we can use par offsets
3674 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3676 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3677 cursor position after e.g. inset insert)
3679 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3681 * lyxfind.C (replace): adjust to locking removal + some
3684 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3686 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3689 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3692 * output_docbook.C: XML sanitation: new layout
3693 parameters InnerTag and CommandDepth
3695 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3697 * BufferView_pimpl.C:
3699 * text3.C: Fix the insertion and modification of button-style
3702 2003-11-13 André Pönitz <poenitz@gmx.net>
3704 * InsetList.[Ch]: remove deleteLyXText
3706 * paragraph.[Ch]: cache beginOfBody position
3711 * text3.C: remove superfluous update() calls
3715 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3717 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3718 * BufferView.C (fitLockedInsetCursor): remove
3719 * cursor.[Ch] (getDim): add
3720 * text.C (getRowNearY): add faster version
3721 * text3.C: remove some update calls
3723 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3735 * text3.C: The Character Style /XML short element patch.
3737 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3740 * factory.C: Small step to solving 'unable to insert some insets'
3743 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3745 * cursor.[Ch] (updatePos): new function for updating the y
3746 position of the tip inset
3747 * bufferview_funcs.C (put_selection_at):
3748 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3750 2003-11-11 André Pönitz <poenitz@gmx.net>
3752 * text.C: remove big comment on invalid Paragraph pointers as it is
3755 2003-11-11 André Pönitz <poenitz@gmx.net>
3757 * text_funcs.[Ch]: merge with ...
3765 * Makefile.am: remove text_funcs.[Ch]
3767 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3769 * cursor.C (getPos): return absolute cached y coord
3771 * BufferView_pimpl.C (fitCursor): new simplistic code
3772 (workAreaDispatch): add a fitCursor call
3774 2003-11-10 André Pönitz <poenitz@gmx.net>
3777 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3779 2003-11-10 André Pönitz <poenitz@gmx.net>
3781 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3782 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3783 indicate that the cursor needs to leave an inset
3785 * lyxtext.h: remove inset locking
3787 * cursor.[Ch]: re-implement functionality provided by inset locking
3790 * BufferView_pimpl.[Ch]:
3792 * bufferview_funcs.[Ch]:
3804 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3806 * PosIterator.[Ch]: replace the stack with a vector, add inset
3808 * iterators.[C]: adjust
3810 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3812 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3814 * paragraph_funcs.C (readParToken): put the correct id in the
3815 error item, not the id of the top paragraph
3817 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3819 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3820 * bufferview_funcs.C (put_selection_at): use the above
3822 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3824 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3826 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3828 * output_linuxdoc.h:
3829 * output_plaintext.h:
3831 * output_docbook.h: add #include statements
3833 2003-11-05 José Matos <jamatos@lyx.org>
3835 * output_docbook.[Ch]:
3836 * output_latex.[Ch]:
3837 * output_linuxdoc.[Ch]:
3838 * output_plaintext.[Ch]: New files for output formats.
3839 * output.[Ch]: New file for helper functions.
3842 * paragraph_funcs.[Ch]: output functions moved to new files.
3844 * outputparams.h: rename of latexrunparams.h
3852 * paragraph_funcs.[Ch]:
3853 * paragraph_pimpl.[Ch]:
3854 * tabular.[Ch]: rename ascii to plaintext
3855 and LatexRunParams to OutputParams.
3857 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3859 * iterators.[Ch] (text): require bv argument
3860 * undo.C (recordUndo):
3861 * lyxfunc.C (dispatch):
3862 * bufferview_funcs.C (put_selection_at): adjust
3864 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3866 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3868 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3870 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3873 2003-11-04 André Pönitz <poenitz@gmx.net>
3875 * cursor.[Ch]: restructure
3878 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3880 * iterators.[Ch] (asCursor): remove
3882 * lfuns.h: remove LFUN_INSET_EDIT
3888 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3890 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3892 * lyxfind.[Ch]: complete overhaul
3893 * BufferView_pimpl.C:
3895 * paragraph.[Ch] (insert): add
3897 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3901 * text.C: remove dead spellcheck code
3903 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * dispatchresult.h: add a val setter
3907 * cursor.C (dispatch): use a tempvar for data_[i]
3909 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3911 * PosIterator.[Ch]: compile fix
3913 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3915 * text.C (cursorPar): deactivate the cursor cache
3917 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3919 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3921 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3923 * text3.C (dispatch): adjust for new DisptchResult semantics.
3925 * lyxfunc.C (dispatch): handle update when return from
3926 Cursor::dispatch, adjust for new DispatchResult semantics.
3928 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3929 DispatchResult(true) mean to not update. Add class functions for
3930 setting dispatched and update, as well as reading.
3932 * cursor.C (dispatch): don't handle update here
3934 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3937 * trans_mgr.C: adjust
3939 * paragraph_funcs.C (readParToken): exception safety
3941 * lyxvc.h: store the vcs pointer in a scoped_ptr
3944 * lyxsocket.C (serverCallback): exception safety
3946 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3948 * ispell.C (clone): make it return a auto_ptr
3950 * factory.C (createInset): exception safety
3951 (readInset): exception safety
3953 * bufferlist.C (newBuffer): exception safety
3955 * Thesaurus.C (Thesaurus): use initialization for aik_
3957 * MenuBackend.C (expandToc): exception safety.
3959 2003-11-03 André Pönitz <poenitz@gmx.net>
3963 * bufferview_funcs.C: remove getInsetFromId()
3966 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3972 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3974 * PosIterator.C (distance, advance): new
3975 * bufferview_funcs.[Ch] (put_selection_at): new
3976 * iterators.[Ch] (lockPath): new
3978 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3980 * iterators.[Ch] (asPosIterator): added
3981 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3982 * PosIterator.[Ch]: added
3984 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * cursor.C (dispatch):
3989 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3991 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3992 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3993 contructor, add a class function dispatched. Remove operator>=
3995 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * debug.C: only use the default constructor for debugstream
4000 * main.C (main): include debug.h and setup the lyxerr streambuf
4003 2003-10-31 José Matos <jamatos@lyx.org>
4005 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4007 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4008 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4009 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4010 * paragraph_pimpl.C (simpleTeXSpecialC):
4011 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4012 add LatexRunParams argument.
4014 * exporter.C (Export): change call accordingly.
4016 * latexrunparams.h: add new member to take care of the other backends.
4017 2003-10-30 José Matos <jamatos@lyx.org>
4019 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4020 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4021 factorise code for paragraph output.
4023 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4026 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * text3.C (dispatch):
4029 * lyxfunc.C (dispatch):
4030 * cursor.C (dispatch):
4031 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4033 * dispatchresult.h: make the dispatch_result_t ctor explicit
4035 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4038 * buffer.C: small refactoring of docbook stuff
4040 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4045 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4048 operator dispatch_result_t, and operators for == != and >=
4050 * cursor.C (dispatch): adjust for operator dispatch_result_t
4051 removal. comment out call to update
4053 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4055 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4066 * dispatchresult.h: new file, DispatchResult broken out of
4069 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4071 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4073 * text.C (rowBreakPoint): put a hack inside #if 0
4075 2003-10-28 André Pönitz <poenitz@gmx.net>
4079 * paragraph_funcs.C:
4082 * text2.C: general cleanup (lots of small stuff)
4084 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4086 * text2.C (cursorEnd): simple fix to the "end key goes to one
4087 before the end on last row" bug
4089 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4091 * text.C (backspace): fix the "zombie characters"
4093 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4095 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4097 2003-10-27 André Pönitz <poenitz@gmx.net>
4099 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4101 * factory.C: handle new InsetPagebreak, InsetLine
4103 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4104 and move handling into new InsetPagebreak, InsetLine
4106 * BufferView_pimpl.C:
4108 * ParagraphParameters.C:
4109 * ParameterStruct.h:
4114 * paragraph_funcs.C:
4115 * paragraph_pimpl.C:
4121 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4124 * lyxrow_funcs.[Ch]:
4130 * text3.C: remove lastPos uses in favour of Row::endpos
4132 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4134 * undo.C (performUndoOrRedo): fix two crashes by setting a
4135 cursor by hand and reordering some calls. Use bv->lockInset instead
4136 of inset->edit because the latter loses cursor information
4138 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4140 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4142 (rowBreakPoint): fix width. change point to point + 1.
4143 Add a missing check.
4145 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4148 * lyxfunc.C: fix (at least partly) the problems
4149 with the Nav menu and headers inside branch insets
4152 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4154 * paragraph.C (getChar): add strong asserts
4156 * lyxrow_funcs.C (lastPos): remove hideous hack
4158 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4159 (fill): adjust to that (avoid an infinite loop)
4161 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4163 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4165 2003-10-23 André Pönitz <poenitz@gmx.net>
4167 * RowList_fwd.h: change list<> to vector<> to gain speed
4168 after suggestion from Alfredo
4170 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4172 * lyxtext.h: move the bidi stuff from here...
4175 * Bidi.[Ch]: ... to here
4177 2003-10-23 André Pönitz <poenitz@gmx.net>
4180 * text.C (isLastRow, isFirstRow): new functions
4182 * paragraph.h: new width cache member
4184 * rowpainter.C: replace RowList::iterator with Row & where possible
4186 * lyxfunc.C: replace several view()->text with a single call
4188 * toc.C: fix 'unused' warning
4190 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4193 when woring with stream::pos_type
4194 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4196 2003-10-22 André Pönitz <poenitz@gmx.net>
4199 * text.C: use Row & instead of RowList::iterator
4201 * lyxrow.h: rename end() to endpos()
4207 2003-10-22 Angus Leeming <leeming@lyx.org>
4209 * buffer.[Ch] (fully_loaded): new member function, returning true
4210 only when the file has been loaded fully.
4211 Used to prevent the premature generation of previews and by the
4212 citation inset to prevent computation of the natbib-style label.
4214 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4215 templates are all set up.
4217 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4219 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4221 * text.C: fixed an "oops" in the "is a bit silly"
4224 2003-10-21 André Pönitz <poenitz@gmx.net>
4226 * FuncStatus.[Ch]: small stuff, whitespace
4228 * lyxfont.[Ch]: operator<<() for debug reasons
4232 * lyxtext.h: whitespace, spelling
4234 * paragraph.C: naming of variables
4237 * text2.C: small stuff
4240 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4242 * text.C: (1) finish off the inset display() work;
4243 (2) fix the "is a bit silly" bug (accessing char
4246 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4248 * text.C: re-introduce display() for insets, fixing the
4249 various bugs (stretch of line above, math inset
4252 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4254 * text.C (rightMargin): remove spurious semicolon
4256 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4259 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4261 * text3.C: fix one crash due to wrong cursor def
4263 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * vc-backend.C (scanMaster): make the regex static
4267 * LaTeX.C (scanAuxFile): make the regexs static
4269 * text3.C (doInsertInset, dispatch, dispatch):
4270 * text2.C (cursorUp, cursorDown):
4271 * text.C (selectNextWordToSpellcheck):
4272 * BufferView_pimpl.C (dispatch):
4273 * lyxfunc.C (dispatch): localDispatch -> dispatch
4275 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4277 * lyxsocket.C: include <cerrno>
4279 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * lyxfunc.C (dispatch): remove textcache stuff
4283 * bufferlist.C (release): remove textcache stuff
4286 * TextCache.C: delete file
4287 * TextCache.h: delete file
4289 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4291 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4292 delete of the bv_->text.
4293 (resizeCurrentBuffer): remove texcache stuff
4294 (workAreaResize): ditto
4296 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4301 2003-10-16 André Pönitz <poenitz@gmx.net>
4308 * text3.C: speed up by storing y positions per paragraph plus per-row
4309 offset instead of having a 'full' y position in the row.
4311 2003-10-15 André Pönitz <poenitz@gmx.net>
4315 * undo.[Ch]: make undo aware of inner insets
4317 2003-10-14 Angus Leeming <leeming@lyx.org>
4319 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4320 static member functions LyX::ref() and LyX::cref.
4321 (lastfiles): new accessor functions for the new lastfiles_ member var.
4322 (addLyXView, views_): add a new LyXView to the list of views_.
4323 (updateInset): loop over all LyXViews to call their own updateInset
4324 member function, returning a pointer to the Buffer owning the inset.
4326 * BufferView_pimpl.C (loadLyXFile):
4327 * MenuBackend.C (expandLastfiles):
4328 * bufferlist.C (MenuWrite, QuitLyX):
4329 lastfiles is no longer a global variable.
4330 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4332 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4333 static function. Access through LyX::cref().emergencyCleanup().
4335 2003-10-14 André Pönitz <poenitz@gmx.net>
4337 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4339 * undo.[Ch]: restoring part of 'undo in insets'
4342 * undo_funcs.[Ch]: merge with undo.[Ch]
4344 * tabular.C: small cleansing stuff
4346 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4348 * paragraph_funcs.C (readParToken): report unknown insets as error
4349 boxes. Use the outer paragraph as location (also for unknown
4352 * factory.C (readInset): do not abort on reading an unknown inset.
4353 Eat it and return 0.
4355 2003-10-13 Angus Leeming <leeming@lyx.org>
4357 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4359 * lyxrc.C: displayTranslator is now a function,
4360 declared in GraphicsTypes.h.
4362 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4364 * format.C: new placeholder $$a to pass the socket address.
4366 * bufferlist.[Ch]: new function getBufferFromTmp.
4368 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4369 files in the temporary dir.
4371 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4373 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4375 * Makefile.am: add lyxsocket.[Ch].
4377 * lyx_main.C (error_handler): handle SIGPIPE.
4379 2003-10-13 André Pönitz <poenitz@gmx.net>
4381 * BufferView_pimpl.C:
4386 * undo_funcs.[Ch]: use paroffset_type instead of
4387 ParagraphList::iterators to prevent multiple conversion
4388 (and get a more robust interface)
4390 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4394 * text3.C (dispatch): ditto
4396 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4399 move the onlyfile, use onlyfile instead of foundfile in a couple
4402 * DepTable.C (update): flush the error stream a bit more
4404 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * lyxserver.C (callback): adjust
4408 * lyxfunc.C (getStatus): add a missing brace in commented code
4409 (ensureBufferClean): reindent
4410 (dispatch): delete version taking a string
4412 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * LaTeX.C (deplog): move found file handlig from here...
4415 (handleFoundFile): .. to new function here.
4416 (deplog): make sure to discover several files mentioned on the
4419 2003-10-10 André Pönitz <poenitz@gmx.net>
4426 * text3.C: fix some of the tabular crashes
4428 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4430 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4432 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4434 2003-10-09 André Pönitz <poenitz@gmx.net>
4436 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4439 * BufferView_pimpl.C:
4440 * bufferview_funcs.C:
4451 * undo_funcs.C: adjust
4453 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4455 * text2.C (incrementItemDepth): new function, use a backtracking
4456 algorithm to discover the correct item depth.
4457 (resetEnumCounterIfNeeded): new function, use a backtracking
4458 algorithm to discover if counter reset is needed.
4459 (setCounter): use them. Simplify a bit. Add different labels for
4460 different item depths for itemize.
4462 * paragraph.C (Paragraph): remove initialization of enumdepth
4465 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4466 enumerate and itemize. Change the type of itemdepth to signed char.
4468 2003-10-08 André Pönitz <poenitz@gmx.net>
4470 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4475 * tabular.[Ch]: fix crash after 'row-insert'
4477 2003-10-08 Angus Leeming <leeming@lyx.org>
4479 Fix doxygen warnings.
4481 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4482 Remove CutAndPaste:: prefix from header file declaration.
4484 * LColor.h (fill): remove LColor:: prefix from declaration.
4486 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4487 use lyx::depth_type rather than Paragraph::depth_type so that
4488 header file and .C file match.
4490 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4492 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4493 * aspell.C: \file aspell_local.C -> \file aspell.C
4494 * gettext.C: \file gettext.C -> \file src/gettext.C
4495 * gettext.h: \file gettext.h -> \file src/gettext.h
4496 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4497 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4498 * text.C: \file text.C -> \file src/text.C
4500 * toc.C: move comment so that doxygen is not confused.
4502 2003-10-07 Angus Leeming <leeming@lyx.org>
4504 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4506 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4509 * aspell_local.h: add forgotten std::string's.
4511 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4518 * text3.C: The Box patch. Fancybox support, minipage, parbox
4520 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4526 * ParagraphParameters.h:
4536 * lyxtextclasslist.h:
4539 * paragraph_pimpl.C:
4540 * textcursor.h: add <string> and other small fixes to make Lars'
4541 std::string patch compile with STLport.
4543 2003-10-06 Angus Leeming <leeming@lyx.org>
4545 * LColor.h: Add missing #include <string>.
4547 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * All most all file in all subdirs: Make <string> be the prefered
4550 way of getting to std::string, add using declarations.
4552 2003-10-06 André Pönitz <poenitz@gmx.net>
4554 * metricsinfo.C: initialize LyXFont before changing attribute.
4555 (fixes the 'math in \emph is upright' bug)
4557 2003-10-06 André Pönitz <poenitz@gmx.net>
4559 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4561 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4564 * paragraph_pimpl.C: Small fixes to build using STLport
4566 2003-10-02 André Pönitz <poenitz@gmx.net>
4569 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4571 2003-10-01 André Pönitz <poenitz@gmx.net>
4573 * factory.C: assert early
4575 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * lyx_main.C: remove the global debug object
4579 * debug.h: adjust for new debugstream
4581 * debug.C: adjust for new debugstream and keep the global debug
4584 2003-09-22 Angus Leeming <leeming@lyx.org>
4586 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4587 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4588 an incomplete class LyXFont.
4590 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4592 * factory.C: bug fix in branches
4594 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4596 * lyxfunc.C (processKeySym): adjust
4598 (dispatch): change arg name from ev to func, adjust
4599 (sendDispatchMessage): ditto
4601 * lyx_main.C (defaultKeyBindings): adjust keybindings
4602 (deadKeyBindings): ditto
4604 * kbsequence.C (addkey): return a FuncRequest
4606 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4608 * kbmap.C (bind): take a FuncRequest as arg, adjust
4611 (defkey): change to take a FuncRequest as arg, adjust
4612 (findbinding): take a FuncRequest as arg, adjust.
4614 * funcrequest.h (operator=): added
4616 * funcrequest.C (FuncRequest): default kb_action changed from
4617 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4619 * buffer.C (dispatch): simplify
4620 (dispatch): adjust to take a FuncRequest as arg, adjust
4622 * boost.C (assertion_failed): change assertion message slightly
4624 * ToolbarBackend.C (read): simplify
4626 * MenuBackend.C (binding): adjust call to findbinding, add a
4627 message if no binding is found.
4629 (expandToc): correct by adding a empty FuncRequest
4631 * LyXAction.C: include <boost/assert.hpp>
4632 (isPseudoAction): delete function
4633 (LookupFunc): change name to...
4634 (lookupFunc): this. change return type to FuncRequest.
4635 (getActionName): take kb_action as arg, simplify
4636 (funcHasFlag): add an assert, simplify.
4638 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4640 * toc.C (action): return a FuncRequest, simplify
4642 * lyxfunc.C (processKeySym): adjust
4643 (getStatus): delete version that takes an int.
4645 (dispatch): delete version that takes action as int
4647 (sendDispatchMessage): simplify and adjust
4649 * funcrequest.C (getArg): take unsigned int as arg
4651 * ToolbarBackend.C (read): adjust
4652 (add): delete version that takes func as a string.
4653 (getIton): take a FuncRequest as arg
4655 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4658 * MenuBackend.C (MenuItem): add a new construct that only takes a
4659 Kind, simplify the constructor use for submenus.
4661 (expandLastfiles): adjust
4662 (expandDocuments): adjust
4663 (expandFormats): adjust
4664 (expandFloatListInsert): adjust
4665 (expandFloatInsert): adjust
4666 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4668 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4669 Remove class variables lyx_pseudo_map and lyx_arg_map
4671 * LyXAction.C (searchActionArg): delete function
4672 (getPseudoAction): delete function
4673 (retrieveActionArg): delete function
4674 (LookupFunc): make it return kb_action, simplify.
4675 (getActionName): simplify
4677 * factory.C (createInset): fix new bug
4679 2003-09-19 Angus Leeming <leeming@lyx.org>
4681 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4682 masterFilename_ parameter in the include inset.
4684 * factory.C (createInset): changes due to the changes to InsetInclude.
4686 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4688 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4690 2003-09-18 Angus Leeming <leeming@lyx.org>
4693 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4694 Inset::fillWithBibKeys.
4695 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4697 2003-09-18 Angus Leeming <leeming@lyx.org>
4699 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4701 (ctor): pass and store a 'Buffer const &'
4702 (buffer): new member function.
4704 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4705 '*this' to the LaTeXFeatures ctor.
4707 2003-09-18 Angus Leeming <leeming@lyx.org>
4713 * text.C: rename EnumLColor as LColor_color.
4715 2003-09-18 Angus Leeming <leeming@lyx.org>
4717 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4718 remove #include "insets/insetbase.h" from cursor.h.
4720 2003-09-18 Angus Leeming <leeming@lyx.org>
4722 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4723 InsetOld_code to remove #include "inset.h".
4725 * iterators.C: add #include "insets/inset.h"
4727 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4729 * BufferView.C: remove more locking stuff that apparently doesn't
4730 do anything sensible.
4732 2003-09-16 André Pönitz <poenitz@gmx.net>
4735 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4738 2003-09-16 Angus Leeming <leeming@lyx.org>
4740 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4742 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4745 * paragraph.h: remove #include "lyxfont.h". Forward declare
4748 2003-09-16 Angus Leeming <leeming@lyx.org>
4750 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4751 of support/textutils.h.
4752 (isWord): move the contents of support/textutils.h's IsWordChar here.
4758 * text2.C: add #include "paragraph.h".
4761 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4763 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4769 * LaTeX.C: use namespace alias for lyx::support::os
4771 2003-09-16 Angus Leeming <leeming@lyx.org>
4774 * bufferview_funcs.C:
4777 * paragraph_pimpl.C:
4779 * text.C: add #include "LColor.h".
4781 2003-09-16 Angus Leeming <leeming@lyx.org>
4783 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4784 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4786 Store the FontBits::color variable as an int rather than as an
4787 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4790 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4791 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4792 string calls together.
4794 * lyxrc.C: add #include "LColor.h".
4796 2003-09-15 Angus Leeming <leeming@lyx.org>
4798 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4801 2003-09-15 Angus Leeming <leeming@lyx.org>
4803 * LColor.h: add an EnumLColor wrapper for LColor::color.
4805 * lyxfont.[Ch] (color, setColor, realColor):
4806 * lyxtext.h, text.C (backgroundColor):
4807 pass EnumLColor args to/from the functions, rather than LColor::color
4811 * lyxtext.h: forward declare EnumLColor.
4813 * lyx_main.C: add #include "LColor.h".
4815 2003-09-15 Angus Leeming <leeming@lyx.org>
4817 * .cvsignore: add lyx-gtk.
4819 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * ParagraphParameters.C
4828 * bufferview_funcs.C
4838 * vc-backend.C: remove usage of STRCONV
4840 2003-09-15 Angus Leeming <leeming@lyx.org>
4842 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4843 explicitly define the color passed to the painter.
4845 2003-09-15 Angus Leeming <leeming@lyx.org>
4847 * bufferparams.C (BufferParams): reorder member initializers to avoid
4850 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4852 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4853 * text.C (updateRowPositions): remove an unusual nop
4855 2003-09-12 André Pönitz <poenitz@gmx.net>
4857 * BufferView_pimpl.C:
4866 * Counters.[Ch]: finish the 'automatic counters' job
4868 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4870 * aspell.C: include <boost/assert.cpp> (compile fix)
4872 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4874 * boost.C (assertion_failed): use lyx::support::abort instead of
4877 2003-09-10 Angus Leeming <leeming@lyx.org>
4879 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4880 with their _fwd progeny.
4882 2003-09-09 Angus Leeming <leeming@lyx.org>
4884 134 files throughtout the source tree: replace 'using namespace abc;'
4885 directives with the appropriate 'using abc::xyz;' declarations.
4887 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4889 * boost.C (emergencyCleanup): moved here from LAssert.c
4890 (assertion_failed): new function, called by BOOST_ASSERT
4892 * several files: change Assert to BOOST_ASSERT
4894 2003-09-09 Angus Leeming <leeming@lyx.org>
4896 * buffer.[Ch]: Add an Impl class and move Buffer's member
4897 variables into it. As a result move several header files out of
4900 Add header files to lots of .C files all over the tree as a result.
4902 2003-09-09 Angus Leeming <leeming@lyx.org>
4904 * buffer.[Ch]: make Buffer's member variables private. Add
4907 Lots of changes all over the tree as a result.
4909 2003-09-08 Angus Leeming <leeming@lyx.org>
4911 * graph.C: #include <config.h>.
4913 2003-09-08 Angus Leeming <leeming@lyx.org>
4917 * BufferView_pimpl.C:
4946 * toc.C: remove redundant using directives.
4948 2003-09-07 Angus Leeming <leeming@lyx.org>
4950 * LaTeXFeatures.h: remove #include "support/types.h".
4951 * ToolbarBackend.h: remove #include <algorithm>.
4952 * changes.h: remove #include <ctime>.
4953 * debug.h: remove #include <iosfwd>.
4954 * graph.h: remove #include "support/std_string.h".
4955 * lyx_main.h: remove #include <csignal>.
4956 * lyxlex_pimpl.h: remove #include <fstream>.
4957 * sgml.h: remove #include <algorithm>, <utility>.
4958 * toc.h: remove #include "support/std_ostream.h".
4959 Add #include <iosfwd>.
4961 2003-09-07 Angus Leeming <leeming@lyx.org>
4963 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4965 * converter.h: forward declare LatexRunParams.
4966 * encoding.h: remove #include "lyxrc.h".
4967 * lyxtext.h: remove #include "LColor.h".
4968 * lyxtextclass.h: remove #include "support/types.h".
4969 * trans.h: remove #include "tex-accent.h".
4970 * trans_mgr.h: remove #include "tex-accent.h".
4971 * insets/inset.h: remove #include "support/types.h", <vector>.
4972 * insets/insetcollapsable.h: remove #include "LColor.h".
4973 * insets/insetinclude.h: remove #include "dimension.h".
4974 * insets/insetlatexaccent.h: remove #include "dimension.h".
4975 * insets/insetoptarg.h:: remove #include "insettext.h".
4976 * insets/insettext.h: remove #include "dimension.h",
4977 <boost/shared_ptr.hpp>
4979 * insets/renderers.h: add #include "dimension.h".
4980 * insets/updatableinset.h: add #include "support/types.h".
4982 * many .C files: Associated changes.
4984 2003-09-06 Angus Leeming <leeming@lyx.org>
4986 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4987 one, inside testInvariant.
4989 * PrinterParams.C: new file.
4990 * PrinterParams.[Ch]: move the function bodies out of line.
4992 2003-09-06 Angus Leeming <leeming@lyx.org>
4994 * ParagraphParameters.h: forward declare ParameterStruct rather than
4995 including its header file.
4996 (depth): moved out-of-line.
4998 2003-09-06 Angus Leeming <leeming@lyx.org>
5000 * BufferView_pimpl.h:
5003 * lyxfunc.h: forward declare LyXKeySym rather than
5004 #include "frontends/LyXKeySym.h".
5006 * BufferView_pimpl.C:
5009 * lyxfunc.C: associated changes.
5011 2003-09-06 Angus Leeming <leeming@lyx.org>
5013 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5014 As a result, can remove the #include "insets/inset.h" from BufferView.h
5016 2003-09-06 Angus Leeming <leeming@lyx.org>
5018 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5019 As a result, can remove the #include "insets/inset.h" from BufferView.h
5021 2003-09-06 Angus Leeming <leeming@lyx.org>
5027 * bufferview_funcs.C:
5028 * BufferView_pimpl.C:
5033 * ParagraphParameters.C:
5038 * frontends/controllers/ControlDocument.C:
5039 * insets/insetcaption.C: rearrange the #includes into some sort of
5042 * buffer.h: remove #includes ErrorList.h, undo.h
5044 2003-09-06 Angus Leeming <leeming@lyx.org>
5046 * support/types.h: add a 'depth_type' typedef, used to store the
5047 nesting depth of a paragraph.
5050 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5051 defining explicitly.
5054 * paragraph_funcs.h:
5055 * ParagraphParameters.h:
5056 * sgml.h: use lyx::depth_type rather than Paragraph or
5057 ParameterStruct's depth_type.
5060 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5063 * BufferView_pimpl.C:
5065 * ParagraphParameters.C:
5068 * bufferview_funcs.C:
5075 * frontends/LyXView.C:
5076 * frontends/controllers/ControlDocument.C:
5077 * frontends/controllers/ControlErrorList.C:
5078 * insets/insetbibitem.C:
5079 * insets/insetbranch.C:
5080 * insets/insetcaption.C:
5081 * insets/insetcollapsable.C:
5082 * insets/insetenv.C:
5083 * insets/insetert.C:
5084 * insets/insetfloat.C:
5085 * insets/insetfoot.C:
5086 * insets/insetfootlike.C:
5087 * insets/insetnewline.C:
5088 * insets/insetquotes.C:
5089 * insets/insettabular.C:
5090 * insets/insettext.C:
5091 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5093 * frontends/controllers/ControlChanges.C: #include "changes.h".
5095 2003-09-06 Angus Leeming <leeming@lyx.org>
5097 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5098 than #including paragraph.h.
5101 * RowList.h: deleted. Superfluous.
5111 * insets/insettext.h: use ParagraphList_fwd.h rather than
5114 * paragraph.h: don't forward declare ParagraphList.
5117 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5118 rather than ParagraphList.h. paragraph.h is still needed for the
5119 Paragraph::depth_type parameters.
5121 * textcursor.h: enable it to compile stand-alone in light of the
5124 * bufferview_funcs.C:
5136 * frontends/controllers/ControlParagraph.C:
5137 * frontends/controllers/ControlTabular.C:
5138 * insets/insetmarginal.C:
5139 * insets/insetminipage.C:
5140 * insets/insetnote.C:
5141 * insets/insetoptarg.C: add header files needed to compile again.
5143 2003-09-06 Angus Leeming <leeming@lyx.org>
5145 * RowList_fwd.h: new file, forward-declaring Row rather than
5146 #including lyxrow.h.
5151 * insets/insettext.h: use it instead of RowList.h
5153 * bufferview_funcs.C:
5160 * text3.C: #include "RowList.h".
5162 2003-09-05 Angus Leeming <leeming@lyx.org>
5164 * factory.C (createInset):
5165 * vspace.C (c-tor): replace sscanf call with an istringstream.
5166 * ispell.C: re-add missing HP/UX headers.
5167 * lyxserver.C: re-add missing os2 headers.
5169 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5178 * text3.C: re-add missing system headers, needed for 2.95.2.
5180 2003-09-05 Angus Leeming <leeming@lyx.org>
5182 Changes most place everywhere due to the removal of using directives
5183 from support/std_sstream.h.
5185 2003-09-05 Angus Leeming <leeming@lyx.org>
5187 Replace LString.h with support/std_string.h,
5188 Lsstream.h with support/std_sstream.h,
5189 support/LIstream.h with support/std_istream.h,
5190 support/LOstream.h with support/std_ostream.h.
5192 Changes resulting throughout the tree.
5194 2003-09-05 Angus Leeming <leeming@lyx.org>
5196 * sgml.h: ensure that the header file can be compiled stand-alone.
5197 * *.C: strip out redundant #includes. (320 in total.)
5199 2003-09-04 Angus Leeming <leeming@lyx.org>
5201 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5202 here (from getPackages).
5204 * debug.[Ch]: add a new EXTERNAL tag.
5206 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5208 * text2.C (cursorEnd): simplify
5210 (getColumnNearX): adjust
5212 * text.C (computeBidiTables): adjust
5215 * rowpainter.C (paintChars): adjust
5216 (paintSelection): adjust
5217 (paintChangeBar): adjust
5220 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5222 (numberOfSeparators): adjust
5224 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5230 * text3.C: Restricts the mouse click functionality
5231 of insets like bibtex, include, toc and floatlist to the visible
5232 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5233 up the dialogs. Cursor has to be in front of the inset (i.e.
5234 start of row) for this to function.
5236 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5238 * bufferview_funcs.C (currentState): output row information
5240 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5242 * bufferview_funcs.C (currentState): output paragraph position
5244 2003-09-04 Angus Leeming <leeming@lyx.org>
5246 * FloatList.h: move out #include "Floating.h".
5247 * LaTeX.h: move out #include "DepTable.h".
5248 * LyXAction.h: move out #include "funcrequest.h".
5249 * buffer.h: move out #include "author.h", "iterators.h".
5250 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5251 * lyx_main.h: move out #include "errorlist.h".
5252 * lyxfunc.h: move out #include "FuncStatus.h".
5253 * lyxtext: move out #include "lyxcursor.h".
5254 * paragraph_pimpl.h: move out #include "counters.h".
5256 2003-09-03 Angus Leeming <leeming@lyx.org>
5258 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5259 preamble_snippets list, enabling us to add snippets to the preamble
5260 only if the snippet was not there already.
5262 2003-09-04 Angus Leeming <leeming@lyx.org>
5264 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5266 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5268 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5271 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5273 * BranchList.C: point fix, earlier forgotten
5275 2003-09-02 Angus Leeming <leeming@lyx.org>
5277 * box.C (contains): renamed from 'contained' after a fantastic
5280 2003-09-02 John Levon <levon@movementarian.org>
5286 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5288 2003-09-02 John Levon <levon@movementarian.org>
5290 * text2.C: simplification of cursorEnd(), including partial
5293 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5295 * buffer.C (readFile): add a space
5297 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5299 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5301 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * buffer.C (readFile): new function, take a filename and a
5304 ParagraphList::iterator
5306 (readFile): adjust, make it private. don't use setStream, make
5307 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5308 always contain the filename.
5310 * BufferView.C (insertLyXFile): simplify and make it work for
5313 2003-08-30 John Levon <levon@movementarian.org>
5315 * Makefile.am: fix dist (from Kayvan)
5317 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * most files: change to use const Buffer refs
5321 2003-08-27 André Pönitz <poenitz@gmx.net>
5323 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5324 on top of ownerPar().
5326 2003-08-27 John Levon <levon@movementarian.org>
5328 * funcrequest.C: properly initialise POD members
5330 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5332 * lyxtext.h (top_y): move top_y from here
5337 * BufferView_pimpl.[Ch]: to here
5338 * frontends/screen.C:
5339 * insets/insettabular.C:
5340 * insets/insettext.C: adjust
5341 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5343 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5346 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5348 2003-08-26 André Pönitz <poenitz@gmx.net>
5350 * paragraph_func.[Ch] (outerPar): new function
5353 * paragraph_funcs.C:
5354 * paragraph_funcs.h:
5355 * paragraph_pimpl.C:
5356 * text2.C: remove Inset::par_owner
5358 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5363 * text2.C: eliminates the needFullRow/display() stuff
5364 altogether, putting the logic in metrics/draw in the insets.
5366 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5368 * text2.C (redoParagraphInternal, redoParagraphs):
5369 * text.C (redoParagraph): add a call to updateRowPositions at the
5370 end of each 'metrics-like' call. Remove all others.
5371 (getRow): remove the 'y-computing' version.
5372 (getRowNearY): do not compute nor return the real y. Solve the
5373 'y < 0' problem and simplify.
5375 2003-08-22 Angus Leeming <leeming@lyx.org>
5377 * *.[Ch]: clean-up of licence and author blurbs.
5378 Also move config.h out of a few .h files and into a few .C files.
5380 2003-08-22 André Pönitz <poenitz@gmx.net>
5382 * lyxrow.[Ch]: add x_ and *fill_ members
5387 * text2.C: adjust/remove prepareToPrint() calls
5389 2003-08-22 André Pönitz <poenitz@gmx.net>
5391 * lyxrow.[Ch]: add end_ member
5393 * lyxrow_funcs.C: use LyXRow::end_
5395 * lyxtext.h (singleWidth): add LyXFont parameter
5398 * text2.C: adjust LyXText::singleWidth() calls
5400 * text.C (redoParagraph): simplify row breaking logic
5403 2003-08-19 André Pönitz <poenitz@gmx.net>
5405 * funcrequest.C: initialize button_ member
5408 * rowpainter.[Ch]: interface consolidation
5410 2003-08-18 André Pönitz <poenitz@gmx.net>
5413 * BufferView_pimpl.C:
5415 * paragraph_funcs.C:
5417 * text3.C: remove LyXScreen::draw() and fitCursor calls
5419 * BranchList.h: remove spurious semicolons
5421 * MenuBackend.C: fix branchlist related crash
5423 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5431 * bufferparams.[Ch]:
5435 * text3.C: implements the 'branch inset'
5436 idea. This allows the output of various versions of a document
5437 from a single source version, selectively outputing or suppressing
5438 output of parts of the text.
5439 This implementation contains a 'branch list editor' in a separate
5440 tab of the document settings dialog. Branches are user definable
5441 and have a "display colour" to distinguish them on-screen.
5443 ColorHandler was somewhat cleaned up.
5444 (1) make possible a dynamically growing LColor list by allowing
5445 the graphic context cache to grow along (vector);
5446 (2) eliminate an IMHO unnecessary step in colour allocation.
5448 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5450 * BufferView_pimpl.C: compile fix
5452 2003-08-15 André Pönitz <poenitz@gmx.net>
5454 * rowpainter.C: remove extra metrics calls
5456 * lyxtext.h: merge the two constructors into a single one,
5457 pass reference to owner's par list
5459 * BufferView_pimpl.C:
5463 2003-08-15 André Pönitz <poenitz@gmx.net>
5465 * lyxrow_funcs.[Ch]:
5468 * paragraph_funcs.C:
5473 * text_funcs.C: split LyXText::rowlist_ into individual
5474 Paragraph::rows_ chunks
5477 * BufferView_pimpl.[Ch]:
5480 * text3.C: remove toggleSelection()
5482 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5484 * bufferlist.C: beautify two alerts (shorter text of buttons)
5485 * buffer.C: Remove redundant ' ' from message
5487 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5488 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5489 rename VALIGN_CENTER to VALIGN_MIDDLE
5491 2003-08-11 André Pönitz <poenitz@gmx.net>
5493 * lyxtext.h (getPar):
5494 * text.C: new function
5496 2003-08-11 André Pönitz <poenitz@gmx.net>
5499 * tracer.[Ch]: remove unneeded files
5501 * InsetList.[Ch]: remove resizeInsetsLyXText()
5506 * text3.C: merge insertParagraphs() and appendParagraph()
5507 remove breakAgain(), update()
5509 * BufferView_pimpl.[Ch]:
5510 * bufferview_funcs.[Ch]:
5514 * tabular.C: adjust after text & InsetList changes.
5516 2003-08-08 André Pönitz <poenitz@gmx.net>
5518 * text.C (insertChar, backspace): replace rowlist fiddling
5519 with rebreak of full par
5522 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5523 checkParagraph, updateInset): removed
5525 2003-08-07 André Pönitz <poenitz@gmx.net>
5528 * text3.C: merge some LFUN handlers, remove dead code
5530 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5532 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5534 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5536 * text2.C (DEPM): fix part of bug 1255 and 1256
5538 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5540 * BufferView_pimpl.C (workAreaDispatch): change to use
5541 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5542 that are no mouse related.
5544 2003-08-05 André Pönitz <poenitz@gmx.net>
5547 * BufferView_pimpl.[Ch]:
5548 * bufferview_funcs.C:
5550 * text3.C: rip out "deep update"
5552 * textcursor.[Ch] (last_sel_cursor): remove unused member
5554 2003-08-04 André Pönitz <poenitz@gmx.net>
5557 * BufferView_pimpl.[Ch]:
5558 * ParagraphParameters.C:
5559 * bufferview_funcs.C:
5565 * text3.C: replace "complicated" BufferView::update(...) calls with
5568 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5570 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5572 * Makefile.am (lyx_SOURCES): add paper.h
5574 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5576 * Makefile.am: move things around so that both lyx-qt and
5577 lyx-xforms can be built (according to --with-frontend). Then lyx
5578 is a symbolic link to lyx-[firstfrontend]
5580 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5582 * Always use std::endl with lyxerr
5584 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5586 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5588 2003-08-01 André Pönitz <poenitz@gmx.net>
5591 * BufferView_pimpl.[Ch]:
5593 * text3.C: merge BufferView::repaint() and BufferView::update()
5595 2003-08-01 José Matos <jamatos@lyx.org>
5597 * buffer.[Ch]: file_format is no longer a buffer data element.
5599 2003-08-01 André Pönitz <poenitz@gmx.net>
5604 * text2.C: make redoParagraph more independent of current cursor
5606 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5608 * text2.C: remove unneeded members
5610 2003-07-30 André Pönitz <poenitz@gmx.net>
5612 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5614 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5615 create a single function...
5617 * paragraph_funcs.C (moveItem): ... here.
5620 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5622 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5624 * LColor.[Ch]: Add comment and greyedout logical colors.
5626 2003-07-30 André Pönitz <poenitz@gmx.net>
5628 * tabular.C: don't use Assert too heavily. This crashes where it
5631 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5633 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5634 is disabled (bug 1232)
5636 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5638 * factory.C: limited 'arg' scope
5640 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5642 * factory.C: fixed Note submenu issues
5644 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5646 * factory.C: submenu for Note/Comment/Greyedout
5648 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5651 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5653 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5656 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5657 greyedout. Patch provided by Jürgen Spitzmüller.
5659 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5661 * kbmap.C (read): fix error message when reading bind files
5663 2003-07-29 Angus Leeming <leeming@lyx.org>
5665 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5666 certainly does not do what it purports to do. I am doing it, and
5667 us, a favour by killing it.
5669 2003-07-28 José Matos <jamatos@lyx.org>
5671 * buffer.C (readBody, do_writeFile):
5672 * paragraph.C(readParagraph): \end_document replaces \the_end.
5674 2003-07-29 André Pönitz <poenitz@gmx.net>
5677 * BufferView_pimpl.[Ch]:
5681 * textcursor.[Ch]: remove toggleToggle & Co
5683 2003-07-28 José Matos <jamatos@fep.up.pt>
5685 * buffer.C (readParagraph):
5686 * params_func (readParToken, readParagraph):
5687 * paragraph.C (write): \layout -> \begin_layout.
5689 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * lyxlex_pimpl.C (setFile): clean up slightly.
5693 * bufferparams.h: add compressed var
5695 * buffer_funcs.C (readFile): adjust for LyXLex change
5696 (newFile): ditto + simplify
5698 * buffer.C (writeFile): handle writing of compressed files
5700 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5701 Check if the file is compressed and set a bufferparm if so.
5703 * Makefile.am (lyx_LDADD): remove explicit -lz
5705 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5707 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5708 makeDocBookFile): put the real LyX version in the first line of
5712 * version.C.in: remove lyx_docversion
5714 * tabular.C (write_attribute): add a template-based version to
5715 write enums properly
5717 2003-07-28 André Pönitz <poenitz@gmx.net>
5722 * text3.C: use doubles again for x-coordinates. They are needed.
5724 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * messages.C (getLocaleDir): use lyx_localedir()
5728 * lyxlex_pimpl.C (setFile): compress stuff
5730 * buffer.C (writeFile): add some compression stuff
5731 (do_writeFile): new func, dont call expliti close... will this
5734 * Makefile.am (lyx_LDADD): add -lz
5736 2003-07-28 José Matos <jamatos@fep.up.pt>
5738 * buffer.C: increment file format.
5739 * paragraph_funcs (readParagraph, readParToken):
5740 * paragraph.C (readParagraph): add \end_layout.
5742 2003-07-27 Angus Leeming <leeming@lyx.org>
5744 * Makefile.am: remove special casing for configure-time setting of
5745 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5747 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5748 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5750 2003-07-26 André Pönitz <poenitz@gmx.net>
5752 * paragraph_func.[Ch]:
5753 * paragraph.C (realizeFont): inline it whereever it is used
5758 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5761 2003-07-26 André Pönitz <poenitz@gmx.net>
5765 * text2.C: get rid of LyXText::need_break_row
5767 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5769 * toc.[Ch]: put namespace toc inside namespace lyx
5771 * MenuBackend.C (expandToc2): adjust for lyx::toc
5774 * lyxfunc.C (dispatch): adjust for lyx::find
5776 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5777 lyx::find instead. Reorganize a bit.
5778 (LyXReplace): rename to replace
5779 (LyXFind): rename to find
5781 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5784 2003-07-26 André Pönitz <poenitz@gmx.net>
5786 * text.C (setHeightOfRow): restrict scope of temporary variable
5788 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5789 code (never has been used?)
5791 2003-07-27 Asger Alstrup <alstrup@local>
5793 * text.C (fill): Optimise algorithm to exploit that we can reuse
5794 the LyXFont for many characters.
5795 (setHeightOfRow): Same thing.
5796 (rowBreakPoint): Same thing.
5798 2003-07-26 Asger Alstrup <alstrup@local>
5800 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5802 * text.C (singleWidth): Spurious font copying in hot-spot
5803 singleWidth avoided. Reorder tests for arabic for efficiency.
5805 * text.C (fill): handle empty paragraphs better.
5807 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5810 * encoding.h: add includes
5812 * lyxrc.C: remove reading of bind files
5814 * lyx_main.C (init): setup bindings and menus only if we have a
5817 * kbmap.C (read): new method. Do the actual reading of bind
5820 * converter.C (dvipdfm_options):
5823 (output): adapt PAPER_* enums.
5825 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5827 * bufferparams.h: remove paper-related enums from there
5829 * paper.h: New file. A trivial header file to hold paper-related
5830 enums. It should later expand to contain many paper-related
5833 * lyxrc.C: declare extern displayTranslator
5835 2003-07-27 José Matos <jamatos@fep.up.pt>
5837 * tabular.[Ch] (linuxdoc): add support for tables and figures
5840 2003-07-27 José Matos <jamatos@fep.up.pt>
5842 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5843 consistency in both functions.
5844 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5846 2003-07-26 Asger Alstrup <alstrup@local>
5848 * rowpainter.C (paintRows): Change algorithm to work directly on
5849 the insets rather than asking every character in the document
5850 whether its an inset.
5852 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5854 * buffer.C (openFileWrite): factorize some code
5856 2003-07-26 Angus Leeming <leeming@lyx.org>
5859 * lyx_main.[Ch]: replace occurances of system_tempdir with
5862 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * rename Inset to InsetOld
5866 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5868 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5869 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5870 which I think is a bit clearer. EDIT is gone, since it was
5871 premature optimisation, and broken for mathed anyway.
5872 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5873 with cursor positioning in insets as well (math insets still do not
5874 work, but that's a different story anyway.) It mysteriously
5875 crashes sometimes with undo in the first paragraph, but I'm fairly
5876 confident that this is a compiler bug.
5878 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * paragraph.C (Paragraph): adjust for new clone return type
5882 (copyIntoMinibuffer): ditto
5884 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5886 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5887 by not having a special case, and always doing a full rebreak of
5888 the document after undo.
5890 2003-07-23 Angus Leeming <leeming@lyx.org>
5892 * factory.C (createInset): InsetExternal::setParams now takes a
5895 2003-07-23 Angus Leeming <leeming@lyx.org>
5897 * factory.C (createInset): changed interface to the external and
5898 graphics mailers' string2params functions.
5900 2003-07-23 Angus Leeming <leeming@lyx.org>
5902 * factory.C (createInset): pass a
5903 Buffer const * parameter to InsetExternalMailer's string2params.
5905 2003-07-22 John Levon <levon@movementarian.org>
5907 * Thesaurus.h: include the right aiksaurus header
5909 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5911 * MenuBackend.C (expand): check menu shortcuts unconditionally
5913 2003-07-21 Angus Leeming <leeming@lyx.org>
5915 * factory.C (createInset): pass a
5916 buffer_path parameter to InsetGraphicsMailer's string2params.
5918 2003-07-21 Angus Leeming <leeming@lyx.org>
5920 * BufferView_pimpl.C (buffer):
5923 * lyxfunc.C (dispatch):
5924 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5925 rather than the grfx shortcut.
5927 2003-07-21 André Pönitz <poenitz@gmx.net>
5929 * rowpainter.C: remove unused variables
5932 * tabular_funcs.h: move to tabular.C
5933 * Makefile.am: adjust
5935 * tabular.[Ch]: basic optical cleaning
5937 * author.h: pass references, not values
5939 2003-07-18 André Pönitz <poenitz@gmx.net>
5947 * text3.C: two-phase drawing for InsetText and InsetTabular
5948 some float -> int changes.
5950 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5952 * lyx_main.C: fix the fix
5954 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5956 * lyx_main.C: fix a crash in batch mode if no files specified
5959 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5961 * format.[Ch] (papersize): moved to BufferParams
5962 * converter.[Ch] (dvips_options): moved to BufferParams
5963 (dvipdfm_options): moved to anon namespace
5964 * bufferparams.[Ch]: added above functions.
5966 2003-07-17 André Pönitz <poenitz@gmx.net>
5970 * text2.C: don't call inset->update() anymore
5972 * metricsinfo.[Ch]: add convenience constructor
5974 2003-07-16 André Pönitz <poenitz@gmx.net>
5979 * text2.C: replace the LyXCursor::irow_ member with
5980 on-demand computation of the value
5982 2003-07-16 John Levon <levon@movementarian.org>
5984 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5986 2003-07-15 André Pönitz <poenitz@gmx.net>
5989 * text2.C: remove no more needed refresh_row
5991 2003-07-15 André Pönitz <poenitz@gmx.net>
5996 * text3.C: refresh_status tristate -> need_update bool
5998 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6000 * lyxtext.h (init): remove reinit argument (act as if always true)
6001 * text2.C: adjust to that
6003 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6005 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6006 * text3.C: use it to delete selections in some cases
6007 (bugs 441, 673, 702, 954).
6009 2003-07-14 André Pönitz <poenitz@gmx.net>
6011 * rowpainter.[Ch]: reduce interface
6013 2003-07-14 André Pönitz <poenitz@gmx.net>
6015 * BufferView_pimpl.C:
6016 * text2.C: adjust after removing unused BufferView * argument
6018 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6020 * text2.C (init): fix a crash fired on resize
6022 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6024 * buffer.[Ch]: added new closing signal
6025 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6026 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6027 BufferView::Pimpl via the closing the signal
6029 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6031 * buffer.[Ch]: take out all bv-related from buffer
6033 * BufferView_pimpl.[Ch]: connect to new signals
6034 * CutAndPaste.C: removed useless asserts
6035 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6038 * lyxfunc.C: moved view-related funciontality from vc here
6039 * paragraph.C: removed outdated comments
6042 2003-07-10 André Pönitz <poenitz@gmx.net>
6044 * BufferView_pimpl.C:
6048 * text2.C: remove InsetText::InnerCache, clean up consequences
6050 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6052 * ispell.C: fix two typos in error messages
6054 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6056 * Extend Note inset to other forms of annotation like Comment
6057 and Greyedout. Right button click gives dialog.
6059 Files modified or added (+):
6063 * ControlNote.[Ch] +
6065 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6066 frontends/controllers
6070 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6072 * aspell.C: add missing namespace lyx::support
6074 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6076 * BufferView.[Ch] (newFile): Add
6077 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6078 * LaTeX.[Ch] (message): added this signal and use it
6079 * buffer.[Ch] (busy, message): added these signals and use them
6080 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6084 * importer.C: use buffer signals instead of direct bv calling
6085 * lyx_cb.[Ch] (ShowMessage): removed
6088 * paragraph_funcs.C:
6089 * text2.C: use buffer signals
6091 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * introduce namespace lyx::graphics
6095 2003-07-02 André Pönitz <poenitz@gmx.net>
6097 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6099 2003-07-01 André Pönitz <poenitz@gmx.net>
6106 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6107 text*.C to text_func.C
6109 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * introduce namespace lyx::support
6113 2003-06-30 André Pönitz <poenitz@gmx.net>
6118 * text.C: re-enable --with-included-string
6120 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * textcursor.C: add <config.h>
6124 * text.C (getWord): remove const from word_location arg
6126 * lyxvc.C (getLogFile): fix const type order
6128 * lyxtext.h: remove const from word_location arg, add arg name
6130 * lyxlayout.h: currect type on labeltype.
6132 * importer.C: correct \file
6134 * converter.C (intToFormat): use std:: on ret val, ws changes
6136 * bufferlist.h: correct \file
6138 * buffer.C (makeLinuxDocFile): fix const type order
6139 (makeDocBookFile): ditto
6140 (fillWithBibKeys): use std:: on stdlib args.
6142 * CutAndPaste.C: fix authors.
6143 (availableSelections): use std:: on return vector
6145 2003-06-27 André Pönitz <poenitz@gmx.net>
6147 * BufferView_pimpl.C:
6148 * bufferview_funcs.C:
6156 * text3.C: remove LyXCursor::row_ member
6159 * text.C: rename fullRebreak() to partialRebreak() and implement
6160 a fullRebreak() that really bereks fully
6162 * textcursor.h: new struct for cursor-related data
6164 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6166 * lyx_main.C (LyX): get full path of document loaded on the
6169 2003-06-26 André Pönitz <poenitz@gmx.net>
6171 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6172 remove unused/broken operator>,<,>=.
6174 * text.C: remove only use of broken operator<= in an Assert().
6176 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6178 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6179 moved errorlist_.clear to showErrorList
6181 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6183 * converter.C (scanLog, runLaTeX):
6184 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6185 move the bv->showErrorList call to the callers
6186 * lyxfunc.C: i.e. here...
6188 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6189 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6190 namespace, the second to...
6191 * buffer_funcs (BufferFormat, parseErrors): added
6192 * errorlist.C (ErrorList(TeXErrors const &)): removed
6194 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6196 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6198 2003-06-24 "Garst R. Reese" <reese@isn.net>
6202 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6204 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6206 * version.C.in: change docversion to 1.4
6208 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6210 * buffer.C: fix a bug just introduced
6212 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6214 * buffer.[Ch]: added the parseError signal and use it, removed
6216 * BufferView.[Ch] (addError): moved to ...
6217 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6218 to the Buffer::parseError signal to catch (guess what) parse errors
6219 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6221 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6223 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6224 ability to create a buffer and to return an existing one from
6225 the list. Moved these functions to...
6226 * buffer_funcs.[Ch]: added
6227 * BufferView.[Ch] (loadLyXFile): added
6228 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6229 job removed from bufferlist::loadLyXFile.
6230 * buffer.C (setReadOnly): make it work without view
6231 (i.e added an if (users))
6233 2003-06-19 Angus Leeming <leeming@lyx.org>
6236 * LyXAction.C (init):
6237 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6238 with LFUN_DIALOG_SHOW <name> <data>.
6240 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6242 * CutAndPaste.C (availableSelections): small compilation fix for
6243 ancient (gcc 2.9x) compilers
6245 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * text3.C (cursorNext): add tmp var
6249 * text2.C (updateCounters): for function calling out of for clause
6250 (replaceSelectionWithString): ditto
6251 (insertStringAsParagraphs): ditto
6252 (getColumnNearX): add tmp var
6253 (setCursorFromCoordinates): add tmp var
6254 (cursorDownParagraph): add tmp var
6255 (deleteEmptyParagraphMechanism): add tmp var
6257 * text.C (insertChar): add tmp var
6259 * rowpainter.C (paintDepthBar): add tmp var
6261 * CutAndPaste.C (availableSelections): potentially check all
6262 paragraphs in a cut to fill the shown strings.
6264 2003-06-18 André Pönitz <poenitz@gmx.net>
6266 * kbmap.[Ch]: use vector<> instead of list<>
6268 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6270 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6271 pasteSelection with index
6273 * text2.C (pasteSelection): modify, call pasteSelection with index
6275 * paragraph.C (asString): reimplement version with no interval to
6276 call the one with interval.
6278 * lyxtext.h: add index arg to pasteSelection
6280 * MenuBackend.C (MenuItem): handle PasteRecent
6281 (Menu::read::Menutags): add md_pasterecent
6283 (expandPasteRecent): new function
6286 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6288 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6290 (availableSelections): new function
6292 2003-06-17 Angus Leeming <leeming@lyx.org>
6294 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6296 2003-06-17 Angus Leeming <leeming@lyx.org>
6299 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6301 * lyxfunc.C (dispatch): invoke it.
6303 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6305 * iterators.C (operator++, ParPosition): reintroduce some
6306 const_cast for the benefit of older compilers.
6308 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6310 * text3.C (dispatch): do not modify clipboard when doing
6311 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6312 LFUN_DELETE_SKIP on a selection selection
6314 2003-06-16 André Pönitz <poenitz@gmx.net>
6320 * tabular.[Ch]: IU of clone() and getLabelList();
6322 2003-06-13 André Pönitz <poenitz@gmx.net>
6324 * tabular.h: compactification
6326 2003-06-12 André Pönitz <poenitz@gmx.net>
6330 * tabular_funcs.h: some renaming plus whitespace
6332 2003-06-12 André Pönitz <poenitz@gmx.net>
6335 * BufferView_pimpl.C:
6341 * toc.C: Return a Paragraph & for ParIterator::operator*()
6343 2003-06-11 John Levon <levon@movementarian.org>
6347 * ToolbarBackend.C: add "Toolbars" section and
6350 2003-06-10 Angus Leeming <leeming@lyx.org>
6353 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6355 * lyxfunc.C (dispatch): invoke it.
6357 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * main.C: protect <ios> with HAVE_IOS
6360 (main): protect sync_with_stdio with HAVE_IOS
6362 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6364 * text2.C (cutSelection): adjust
6365 (pasteSelection): adjust
6367 * messages.C: handle get of empty string
6369 * main.C (main): use sync_with_stdio(false)
6371 * lyxfunc.C (dispatch): adjust
6373 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6374 (WriteAs): remove unneeded BufferView arg.
6376 * bufferparams.h: use correct types on papersize, papersize2 and
6379 * bufferparams.C (readToken): adjust for type
6380 (writeLaTeX): add missing cases to switch.
6382 * bufferlist.C (quitWriteBuffer): adjust
6385 * buffer.C (asciiParagraph): remove some commented code.
6387 * CutAndPaste.C: remove current_view extern variable.
6388 (cutSelection): add BufferParams arg.
6389 (eraseSelection): add BufferParams arg.
6390 (pasteSelection): add Buffer const & arg
6392 2003-06-07 John Levon <levon@movementarian.org>
6395 * paragraph_funcs.C:
6396 * paragraph_pimpl.C:
6400 * paragraph.C: allow InsetERT to freely space lines,
6401 and some consolidation of code
6403 2003-06-06 José Matos <jamatos@fep.up.pt>
6405 * buffer.C (makeDocBookFile): fix bug #821
6407 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6409 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6411 2003-06-04 Angus Leeming <leeming@lyx.org>
6413 * buffer.C: bump format to 224.
6415 2003-06-05 André Pönitz <poenitz@gmx.net>
6417 * text2.C (redoParagraphs): remove two const_cast<>
6419 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6421 * ParagraphList.h: remove last remnants of NO_STD_LIST
6423 2003-06-03 Angus Leeming <leeming@lyx.org>
6425 * factory.C (createInset): small change to the way InsetExternal's params
6428 2003-06-04 André Pönitz <poenitz@gmx.net>
6430 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6432 * paragraph_pimpl.h:
6433 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6435 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6437 * undo_funcs.C: make some simple cases of undo work again
6439 2003-06-03 John Levon <levon@movementarian.org>
6441 * ispell.C: HPUX doesn't have sys/select.h
6444 2003-06-03 John Levon <levon@movementarian.org>
6446 * CutAndPaste.C: update tabular and include inset
6451 * paragraph.C: remove owningBuffer(), don't pass Buffer
6454 * factory.C: insetGraphicsParams changed
6456 2003-06-02 John Levon <levon@movementarian.org>
6462 * text3.C: remove insetparent
6464 2003-06-02 John Levon <levon@movementarian.org>
6467 * buffer.C: fix inset_iterator.end(), move out of line
6470 2003-06-01 John Levon <levon@movementarian.org>
6472 * text3.C: use a proper cut/paste when doing inset
6473 insert (from Jürgen Spitzmüller)
6475 2003-06-01 John Levon <levon@movementarian.org>
6477 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6479 2003-05-30 André Pönitz <poenitz@gmx.net>
6481 * rowpainter.C: unify second drawing phase
6483 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * trans_mgr.C: remove one case of current_view
6487 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6489 * paragraph_funcs.h: remove paragraph.h include
6491 * paragraph.h: delete NO_STD_LIST stuff
6493 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6495 * buffer.h: remove paragraph.h include
6497 * ParagraphList.C: delete file
6499 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6501 * toc.C (getTocList): adjust
6503 * paragraph_pimpl.C (validate): adjust
6505 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6507 * paragraph.C (Paragraph): adjust
6508 (getPositionOfInset): use const_iterator, adjust
6509 (bibitem): use const_iterator, adjust
6510 (setInsetOwner): adjust
6512 * iterators.C (operator++): adjust
6514 * InsetList.[Ch]: Replace selfmade iterator with standard
6515 vector::iterator also introduce const_iterator. Remove getPos,
6516 getInset and setInset from InsetTable. Adjust accordingly.
6518 * BufferView.C (lockInset): adjust
6519 (ChangeInsets): adjust
6521 * tabular.[Ch]: delete commented same_id functions
6523 2003-05-28 John Levon <levon@movementarian.org>
6525 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6527 2003-05-28 André Pönitz <poenitz@gmx.net>
6529 * metricsinfo.[Ch]: remove 'fullredraw' member
6531 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6533 * lyxtextclass.C (operator): remove caching.
6535 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * text2.C (cursorBottom): adjust
6540 (setCounter): use ParagraphList::find, adjust
6542 * text.C (workWidth): use ParagraphList::find, adjust
6544 * lyxcursor.C (LyXCursor): adjust
6546 * buffer.C (inset_iterator): adjust
6548 * ParagraphList.h: make iterator(value_type) private, make
6549 ParagraphList a friend of iterator.
6551 * ParagraphList.C (find): new function
6553 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6555 2003-05-27 André Pönitz <poenitz@gmx.net>
6557 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6559 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6561 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6563 2003-05-26 John Levon <levon@movementarian.org>
6565 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6567 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6569 * remove same_id from function signatures, adjust.
6571 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6575 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6577 * paragraph.C (Paragraph): get rid of same_ids parameter
6579 * ParagraphList.C (insert): adjust
6582 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6584 * paragraph_funcs.C (breakParagraph): adjust
6585 (breakParagraphConservative): adjust
6587 * buffer.C (readParagraph): adjust
6589 * ParagraphList.C (insert): take a reference instead of a pointer
6592 * paragraph.[Ch] (id): new function
6594 * bufferlist.C (newFile): adjust
6596 * ParagraphList.C (ParagraphList): adjust
6598 (push_back): take a reference instead of a pointer.
6600 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6602 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6605 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6606 set else use old code.
6608 * ParagraphList.C: remove all NO_NEXT code and only compile this
6609 code of NO_STD_LIST is set.
6611 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6613 * BufferView_pimpl.C:
6623 * graphics/GraphicsConverter.C:
6624 * graphics/PreviewLoader.C: header adjustment
6626 2003-05-23 Angus Leeming <leeming@lyx.org>
6628 * LaTeXFeatures.[Ch] (useBabel): new method.
6629 * bufferparams.C (writeLaTeX): use it.
6631 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6633 * ParagraphList.h (set): remove unused function.
6635 2003-05-23 André Pönitz <poenitz@gmx.net>
6638 * BufferView_pimpl.C:
6642 * undo_funcs.C: setUndo reworked
6644 * iterators.[Ch]: add access to topmost ParagraphList
6646 * lyxtext.[Ch] (workWidth): add a const
6648 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6650 * texrow.[Ch] (increasePos): remove function
6651 * exporter.C (export): removed unused var and outdated comment
6653 2003-05-23 Angus Leeming <leeming@lyx.org>
6655 * latexrunparams.h: rename fragile as moving_arg.
6656 * paragraph.C (simpleTeXOnePar): ditto.
6657 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6659 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6663 (textUndoOrRedo): comment out a currently unused var.
6665 * paragraph.h (NO_NEXT): enable NO_NEXT
6667 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6669 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6671 * exporter.C (Export): adjust for removeAutoInsets removal.
6673 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6675 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6677 * BufferView.[Ch] (removeAutoInsets): delete function
6679 2003-05-22 Angus Leeming <leeming@lyx.org>
6681 * latexrunparams.h: add a free_spacing variable.
6683 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6684 to pass moving_arg, as the data is stored in runparams.fragile.
6686 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6687 to Inset::latexOptional or to simpleTeXOnePar.
6689 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6690 free_spacing arg to Inset::latexOptional.
6692 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6695 2003-05-22 Angus Leeming <leeming@lyx.org>
6697 * latexrunparams.h: add fragile and use_babel variables.
6699 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6700 * buffer.C (makeLaTeXFile): store this returned value in
6701 runparams.use_babel, thus passing it to the inset::latex methods.
6703 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6704 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6706 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6707 longer has a fragile arg, as it is stored in runparams.fragile.
6709 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6710 moving_arg parameter as the data is stored in runparams.fragile.
6712 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6713 a fragile parameter as the data is stored in runparams.fragile.
6715 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6717 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6719 2003-05-22 Angus Leeming <leeming@lyx.org>
6721 * latexrunparams.h: add a 'bool nice' which defaults to false.
6723 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6724 now encapsulated within runparams.
6726 * bufferlist.C (updateIncludedTeXfiles):
6727 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6729 2003-05-22 Angus Leeming <leeming@lyx.org>
6731 * latexrunparams.h: new file containing struct LatexRunParams.
6732 * Makefile.am: add new file.
6734 * LaTeX.[Ch] (c-tor, run):
6735 * buffer.[Ch] (makeLaTeXFile):
6736 * bufferlist.[Ch] (updateIncludedTeXfiles):
6737 * converter.C (convert, scanLog):
6738 * converter.[Ch] (runLaTeX):
6739 * exporter.C (Export):
6740 * paragraph.[Ch] (simpleTeXOnePar):
6741 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6742 * paragraph_funcs.[Ch] (latexParagraphs):
6743 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6744 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6745 pass around a LatexRunParams parameter.
6747 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6749 * paragraph.[Ch]: remove unused constructor
6751 * ParagraphList.C (erase): new function, taking two iterators
6753 2003-05-22 André Pönitz <poenitz@gmx.net>
6755 * undo_funcs.C: remove duplicated code
6757 * iterator.[Ch]: operator=
6759 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * tabular.C (SetMultiColumn): ws changes
6763 * rowpainter.C (paintFirst): get rid of a ->previous
6765 * lyx_cb.C (getPossibleLabel): parlist simplification
6767 * BufferView.C (ChangeInsets): simplify slightly.
6769 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6771 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6772 * lfuns.h: new LFUN_SPACE
6773 * lyxfunc.C: protected space has a new lfun
6774 * paragraph_funcs.C: read new space insets
6776 * factory.C: handle new space insets
6778 2003-05-22 André Pönitz <poenitz@gmx.net>
6781 * BufferView_pimpl.C:
6784 * undo_funcs.C: return a ParIterator from getParFromID.
6786 * iterators.[Ch]: add two const's
6788 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6790 * toc.C (getTocList): adjust
6792 * iterators.[Ch]: rework for parlist
6794 * buffer.C (par_iterator_begin): adjust
6795 (par_iterator_end): adjust
6797 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6799 * BufferView.C (removeAutoInsets): adjust
6800 (ChangeInsets): adjust
6802 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6804 * text.C (top_y): fix bug 1110
6806 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6808 * errorlist.[Ch]: added
6811 * BufferView_pimpl.C:
6812 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6815 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6817 * Makefile.am: ensure that lyx is relinked upon changes to the
6818 various "convenience" libs.
6820 2003-05-20 Angus Leeming <leeming@lyx.org>
6822 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6823 files are compiled in alphabetical order again.
6825 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6827 2003-05-19 Angus Leeming <leeming@lyx.org>
6829 * gettext.[Ch]: remove "char const * _(char const *)".
6831 2003-05-19 André Pönitz <poenitz@gmx.net>
6833 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6842 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6844 2003-05-19 André Pönitz <poenitz@gmx.net>
6848 * lyxtextclass.[Ch]:
6850 * paragraph_funcs.[Ch]:
6852 * text3.C: more insetenv work
6854 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6856 * ParagraphParameters.C (params2string): small bug fixed
6858 2003-05-16 André Pönitz <poenitz@gmx.net>
6861 * bufferview_funcs.C: patch from Kornel Benko to prevent
6862 crash when _(...) is called twice in a statement
6864 2003-05-16 André Pönitz <poenitz@gmx.net>
6871 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6873 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6875 * lyx_main.C (init): remove spurious static_cast
6877 2003-05-14 André Pönitz <poenitz@gmx.net>
6879 * BufferView.C: fix format string
6881 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6883 * BufferView.[Ch] (insertErrors): removed
6884 * BufferView.[Ch] (showErrorList): added
6885 * buffer.C (runChkTeX):
6886 * converter.C (scanLog): call showErrorList instead of inserterrors
6888 2003-05-13 André Pönitz <poenitz@gmx.net>
6890 * BufferView_pimpl.C:
6892 * bufferview_func.C:
6899 * tabular_funcs.h: tostr() from its own header
6901 * ParagraphParameters.C:
6906 * text3.C: STRCONV()
6908 2003-05-12 André Pönitz <poenitz@gmx.net>
6911 * BufferView_pimpl.C:
6915 * ParagraphParameters.C:
6919 * bufferview_funcs.C:
6932 * paragraph_funcs.C:
6936 * text3.C: boost::format -> bformat all over the place
6939 2003-05-09 André Pönitz <poenitz@gmx.net>
6941 * LColor.[Ch]: Pimpl the #include <map> away
6943 2003-05-09 John Levon <levon@movementarian.org>
6945 * bufferlist.C: never remove emergency saves
6947 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * Makefile.am: better lib building
6951 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6955 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6956 (simpleTeXSpecialChars): adjust
6957 (simpleTeXSpecialChars): adjust
6958 * paragraph.C (simpleTeXOnePar): adjust
6959 * buffer.C (makeLaTeXFile): adjust
6961 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6963 * text2.C (changeDepth): parlist cleanup
6964 (getColumnNearX): ditto
6966 * rowpainter.C (getLabelFont): parlist cleanup
6968 * bufferlist.C (newFile): parlist cleanup
6970 * CutAndPaste.C (eraseSelection): parlist cleanup
6972 * BufferView_pimpl.C (trackChanges): parlist cleanup
6975 * BufferView.C (lockInset): parlist cleanup.
6976 (ChangeInsets): ditto
6978 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * CutAndPaste.h: Update file header.
6982 * CutAndPaste.C: Update file header.
6983 Store the parts cut out of the Document in a limited_stack.
6984 (copySelection): adjust
6985 (pasteSelection): new function, takes the index in the limited stack.
6986 (nrOfParagraphs): adjust
6987 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6988 simplify error inset insertion.
6989 (checkPastePossible): adjust
6991 2003-05-06 John Levon <levon@movementarian.org>
6993 * text2.C: don't cast wrap inset to float
6995 2003-05-05 André Pönitz <poenitz@gmx.net>
6998 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7000 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7001 few naked Paragraph *.
7003 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7005 * bufferparams.C: Output warning if a document with missing
7006 TeX document class is loaded
7007 * exporter.C: Disable TeX exports if the document class is missing
7010 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7011 isTeXClassAvailable()
7013 2003-05-03 John Levon <levon@movementarian.org>
7016 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7017 explicit cursor show/hide
7019 * BufferView_pimpl.h:
7020 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7021 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7023 * lyxfunc.C: hide cursor before dispatching.
7028 * text3.C: remove explicit cursor hides
7030 2003-05-02 André Pönitz <poenitz@gmx.net>
7032 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7035 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7038 * text2.C: tiny whitespace
7040 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * undo_funcs.C: almost only ws changes.
7044 * ParagraphList.C (splice): just return if pl is empty.
7046 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7048 * ParagraphList.C (splice): new function.
7050 * CutAndPaste.C (pasteSelection): use it
7052 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * CutAndPaste.C (pasteSelection): remove the last next and
7055 previous from this file.
7057 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * CutAndPaste.C (pasteSelection): more clean up, user proper
7060 ParagraphList functions for pasteing.
7062 * ParagraphList.C (insert): new function, three arg insert
7064 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * ParagraphList.C (insert): new function, three arg insert
7068 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7071 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7075 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7079 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7082 (copySelection): clean up a bit.
7083 (pasteSelection): use make_pair
7085 * ParagraphList.C (ParagraphList): implement copy constructor
7086 (operator=): implement, base on copy constructor.
7089 * paragraph.C (erase): return a bool
7091 * paragraph_pimpl.C (erasePos): remove function, move contents...
7092 (erase): ... here. Return a bool.
7093 (erase): call erase instead of erasePos.
7095 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7097 * ParagraphList.h: define PitPosPair
7098 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7099 ParagraphList, fix a bug on pasting multiple pars
7100 * text2.C: change interface to C&P
7102 2003-04-30 André Pönitz <poenitz@gmx.net>
7104 * undo_func.C: revert part of yesterday's patch 2
7106 2003-04-30 John Levon <levon@movementarian.org>
7108 * LColor.C: s/tabular/table/
7110 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * text3.C (dispatch): do not convert iterator -> pointer
7113 * undo_funcs.C (setCursorParUndo): ditto
7114 * text_funcs.C (transposeChars): ditto
7116 * text2.C (setLayout): ws changes only
7118 * text.C (breakParagraph): do not convert iterator -> pointer
7120 (acceptChange): ditto
7121 (rejectChange): ditto
7126 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7129 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7131 * text3.C (gotoInset): YABG (yet another bad getChar)
7133 2003-04-29 André Pönitz <poenitz@gmx.net>
7135 * paragraph.h: make operator= private unimplemented as long as
7138 * ParagraphList.C: whitespace
7141 * paragraph_pimpl.[Ch]:
7142 * paragraph_funcs.C:
7144 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7147 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7149 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7151 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7152 * paragraph.[Ch] (erase):
7153 * paragraph_pimpl.[Ch] (erase): change return type and value
7154 * text2.C (cutSelection): some rework
7156 2003-04-28 John Levon <levon@movementarian.org>
7158 * bufferlist.C: changes for unsaved changes dialog
7160 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7162 * bufferlist.C (newFile): set language (messages_) for new
7165 * buffer.C (readFile): ws changes only.
7167 2003-04-28 André Pönitz <poenitz@gmx.net>
7172 * BufferView_pimpl.C:
7173 * BufferView.C: getParFromID related ParagraphList::iterator changes
7175 2003-04-28 André Pönitz <poenitz@gmx.net>
7177 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7180 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7182 * messages.C: remove one more localedir class variable.
7184 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7186 * messages.C (getLocaleDir): singleton generation function
7188 (Messages): add a default constructor.
7190 * main.C (main): do not setup localedir here, do not call
7193 * gettext.C (_): use it.
7194 (gettext_init): delete funciton
7196 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * gettext.C (getLyXMessages): new singleton generating function.
7200 * buffer.C (updateDocLang): adjust
7202 * Makefile.am (messages.o): add target
7203 (main.o): remove target
7205 2003-04-27 John Levon <levon@movementarian.org>
7210 * lyxvc.C: specify cancel button in Alert::prompt
7212 2003-04-26 John Levon <levon@movementarian.org>
7217 * LyXAction.C: add LFUN_INSET_SETTINGS
7219 * lyxfunc.C: don't enable tabular-feature when there's
7220 just any locking inset
7222 2003-04-26 John Levon <levon@movementarian.org>
7224 * bufferlist.C: re-add Cancel to buffer close question
7226 * lyxfunc.C: fix import UI a bit
7228 2003-04-25 John Levon <levon@movementarian.org>
7230 * gettext.C: remove the broken asserts for now
7232 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7234 * messages.C: make case where setlocale cannot comply work better.
7236 * buffer.C (updateDocLang): new function
7237 (changeLanguage): use it
7240 * text2.C (setCounter): use B_ a bit.
7242 * lyxlayout.C (Read): be sure to trim the label strings.
7244 * messages.C (Messages): fix typo in comment
7246 * buffer.C (readFile): set message_ after file is loaded.
7247 (makeDocBookFile): remove double return
7248 (changeLanguage): reset message_ upon language change.
7249 (B_): new func, use this to get translated buffer strings.
7251 * main.C: add myself and Jean Marc as authors.
7253 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * messages.[hC]: pimplify Messages, and three different pimpls to be
7256 used in different circumstances.
7258 * gettext.[Ch]: change for use with new message code.
7260 2003-04-24 André Pönitz <poenitz@gmx.net>
7262 * factory.C: support for eqref
7264 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7266 * messages.[Ch]: add missing char
7268 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7270 * messages.[Ch]: New files
7272 2003-04-18 John Levon <levon@movementarian.org>
7276 * BufferView_pimpl.C:
7280 * text2.C: remove layout-copy/paste (bug 778)
7282 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7284 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7286 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7288 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7289 if they succeed. Act accordingly.
7291 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * text2.C (setCharFont): adjust
7294 (setCounter): adjust
7295 (insertStringAsLines): adjust
7297 * text.C (leftMargin): adjust
7298 (setHeightOfRow): adjust
7300 * rowpainter.C (paintFirst): adjust
7303 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7305 (isFirstInSequence): ditto
7306 (getEndLabel): ditto
7309 * paragraph.C (getParLanguage): comment out some hard stuff.
7311 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7313 (simpleDocBookOnePar): ditto
7314 (makeDocBookFile): use ParagraphList::iterator
7316 * CutAndPaste.C (pasteSelection): adjust
7318 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * text2.C (getFont): adjust
7321 (getLayoutFont): adjust
7322 (getLabelFont): adjust
7324 * paragraph_funcs.C (TeXOnePar): adjust
7326 * buffer.C (simpleLinuxDocOnePar): adjust
7327 (simpleDocBookOnePar): adjust
7329 * CutAndPaste.C (pasteSelection): adjust
7331 * BufferView.C (getEncoding): adjust
7333 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7335 2003-04-16 John Levon <levon@movementarian.org>
7337 * lyxfind.C: use parlist stuff for search/changes
7339 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7343 * text2.C (deleteEmptyParagraphMechanism): adjust
7345 * text2.[Ch] (ownerParagraph): delete func (both of them
7347 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7351 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7353 * ParagraphList.C: prepare for NO_NEXT
7355 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * text2.C (getFont): adjust
7358 (getLayoutFont): adjust
7359 (getLabelFont): adjust
7361 * paragraph.C (getFont): adjust
7362 (getLabelFont): adjust
7363 (getLayoutFont): adjust
7365 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7367 2003-04-15 John Levon <levon@movementarian.org>
7371 * lyx_main.C: handle Include in .ui files
7373 2003-04-15 John Levon <levon@movementarian.org>
7375 * MenuBackend.C: make the doc files length shorter
7378 * ToolbarBackend.C: handle toolbar placement flags,
7381 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7386 * paragraph_funcs.C (TeXOnePar): adjust
7388 * paragraph.C (getLabelFont): add outerfont arg, adjust
7389 (getLayoutFont): ditto
7390 (simpleTeXOnePar): adjust
7392 * paragraph_pimpl.C (realizeFont): delete func
7394 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7396 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7397 row argument, constify cur argument.
7399 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * text2.C (getFont): adjust
7402 (getLayoutFont): adjust
7403 (getLabelFont): adjust
7405 * paragraph_funcs.C (TeXOnePar): adjust
7406 (outerFont): new func...
7407 (realizeFont): ...moved out from here, changed this to facilitate
7410 * paragraph.C (getFont): take outerfont as arg, adjust
7411 (simpleTeXOnePar): add outerfont arg, adjust
7413 * buffer.C (simpleLinuxDocOnePar): adjust
7414 (simpleDocBookOnePar): adjust
7416 * CutAndPaste.C (pasteSelection): adjust
7418 * BufferView.C (getEncoding): adjust
7420 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7422 * text2.C (setCharFont): adjust
7423 (setCounter): adjust
7425 * text.C (leftMargin): adjust
7426 (setHeightOfRow): adjust
7428 * rowpainter.C (paintFirst): adjust
7431 * paragraph_pimpl.C (realizeFont): adjust
7433 * paragraph.C (isFirstInSequence): move from here...
7434 * paragraph_funcs.C (isFirstInSequence): ...to here
7436 * paragraph.C (outerHook): move from here...
7437 * paragraph_funcs.C (outerHook): ...to here
7439 * paragraph.C (depthHook): move from here...
7440 * paragraph_funcs.C (depthHook): ...to here
7442 * paragraph.C (getEndLabel): move from here...
7443 * paragraph_funcs.C (getEndLabel): ...to here
7445 * text2.C (realizeFont): move from here...
7446 * paragraph_funcs.C (realizeFont): ...to here
7448 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7452 2003-04-14 Angus Leeming <leeming@lyx.org>
7454 * LColor.[Ch]: scrap LColor mathcursor.
7456 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7458 * lyxlex.[Ch] (text): delete function
7459 * trans.C (Load): adjust
7460 * paragraph_funcs.C (readParToken): adjust
7462 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7464 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7465 vector<char> instead of a char[].
7467 * lyxlex_pimpl.C (getString): adjust
7469 (lex): use getString
7473 * lyxlex.C (text): use pimpl_->getString()
7477 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7480 (makeFontEntriesLayoutSpecific): temp var for par.size()
7481 (setLayout): temp var for ownerParagraphs().end()
7482 (fullRebreak): temp var for rows().end()
7483 (selectionAsString): temp var for boost::next(startpit), realize
7484 that the while really is a regular for loop.
7485 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7486 setCursor in one place.
7487 (setParagraph): temp vr for ownerParagraphs().end()
7488 (updateCounters): make the while loop a for loop
7489 (cutSelection): temp var for ownerParagraphs().end()
7490 (updateInset): make the do {} while() a regular for loop
7491 (getCursorX): use temp vars
7492 (setCurrentFont): use temp vars
7493 (getColumnNearX): use temp vars
7495 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * text.C (transformChar): use temp var for getChar
7498 (computeBidiTables): use temp var for row->par()
7499 (fill): move temp vars for row->par() and pit->layout() earlier in
7501 (labelFill): use temp var for row->par()
7502 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7503 asc and desc, realize that pit never changes and that firstpit is
7504 just a duplicate and not needed. Exchange rit->par() with pit in a
7506 (breakAgain): use a temp var for boost::next(rit)
7507 (breakAgainOneRow): ditto
7508 (breakParagraph): use a temp var for rows().begin()
7509 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7510 (cursorRightOneWord): use temp var for cursor.par() and
7511 cursor.pos(), remove usage of tmpcursor.
7512 (cursorLeftOneWord): use temp var for cursor.par() and
7513 cursor.pos() only set cur at end of function.
7515 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * text.C, text2.C: exchange all usage of Paragraph::next with
7518 boost::next(ParagraphList::iterator)
7520 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7522 * text2.C (cursorTop): simplify implementation
7523 (cursorBottom): ditto
7524 (setParagraph): use ParagraphList::iterator
7525 (setCurrentFont): adjust
7526 (getColumnNearX): adjust
7527 (cursorRight): adjust
7528 (cursorLeft): remove usage of Paragraph::previous
7529 (cursorUpParagraph): ditto
7530 (deleteEmptyParagraphMechanism): slight cleanup
7532 * text.C (isBoundary): take a Paragraph const & instead of a
7534 (addressBreakPoint): ditto
7535 (leftMargin): remove usage of Paragraph::previous.
7536 (setHeightOfRow): ditto
7537 (cursorLeftOneWord): ditto
7538 (selectNextWordToSpellcheck): ditto
7541 (breakParagraph): remove one usage of Paragraph::next
7542 (redoParagraph): ditto
7543 (acceptChange): ditto
7544 (insertChar): adjust
7545 (rowBreakPoint): adjust
7547 * bufferview_funcs.C (toggleAndShow): adjust
7549 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7551 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7552 methods to access it.
7554 * text.C: Added updateRowPositions to compute all row positions.
7555 Make top_y and getRowNearY() to use the cached y position
7557 2003-04-11 John Levon <levon@movementarian.org>
7559 * text.C (rowBreakPoint): reintroduce the labelEnd
7560 checks, code copied from the row fill stuff. Deep voodoo.
7562 * text.C (fill): add a comment and debugging for the
7565 2003-04-11 John Levon <levon@movementarian.org>
7567 * text.C: make sure fullrow insets get wrapped to the next line,
7568 even when they're in a manual label
7570 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * text2.C (insertParagraph): make it take ParagraphList::iterator
7574 (setLayout): make it return ParagraphList::iterator
7575 (redoParagraphs): ditto
7577 (checkParagraph): ditto
7579 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7581 * text2.C: adjust several funcs.
7582 (realizeFont): take a ParagraphList::iterator as arg.
7583 (getLayoutFont): ditto
7584 (getLabelFont): ditto
7585 (setCharFont): ditto
7587 * text.C: adjust several funcs.
7589 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7591 * text.C (selectNextWordToSpellcheck): don't accidentally
7594 2003-04-10 John Levon <levon@movementarian.org>
7596 * ToolbarBackend.C (getIcon): special handling for
7599 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7601 * text2.C (cursorRight): a getChar assert fixed
7603 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * text2.C (getFont): change to take a ParagraphList::iterator
7606 instead of Paragraph*
7607 Adjust several functions.
7609 * text.C (transformChar): change to take a ParagraphList::iterator
7610 instead of Paragraph*
7611 (singleWidth): ditto
7612 Adjust several functions.
7614 * rowpainter.C: adjust several functions
7615 * rowpainter.h:store a ParagraphList::iterator and not a
7619 2003-04-09 John Levon <levon@movementarian.org>
7624 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7625 and the "help" bits as well
7627 2003-04-09 John Levon <levon@movementarian.org>
7630 * ToolbarBackend.C: allow multiple toolbars
7632 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * undo_funcs.C (setCursorParUndo): adjust
7636 * text_funcs.C (transposeChars): adjust
7638 * text3.C (gotoNextInset): adjust
7641 * text2.C (setLayout): adjust
7642 (changeDepth): adjust
7644 (redoParagraphs): adjust
7645 (selectionAsString): adjust
7646 (setParagraph): adjust
7647 (insertInset): adjust
7648 (cutSelection): adjust
7649 (copySelection): adjust
7650 (pasteSelection): adjust
7651 (insertStringAsLines): adjust
7652 (updateInset): adjust
7653 (setCursor): change to take a ParagraphList::iterator parameter
7654 (setCursorIntern): change to take a ParagraphList::iterator parameter
7655 (setCurrentFont): adjust
7656 (cursorLeft): adjust
7657 (cursorRight): adjust
7658 (deleteEmptyParagraphMechanism): adjust
7660 * text.C (breakParagraph): adjust
7661 (insertChar): adjust
7662 (acceptChange): adjust
7663 (rejectChange): adjust
7664 (selectNextWordToSpellcheck): adjust
7665 (changeCase): adjust
7669 * lyxfind.C (SearchForward): adjust
7670 (SearchBackward): adjust
7671 (nextChange): adjust
7673 * lyxcursor.C (par): adjust
7675 * lyxcursor.h: store a ParagraphList::iterator instead of a
7678 * lyx_cb.C (getPossibleLabel): adjust
7680 * bufferview_funcs.C (toggleAndShow): adjust
7682 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7685 * BufferView.C (removeAutoInsets): adjust
7686 (lockedInsetStoreUndo): adjust
7688 2003-04-09 John Levon <levon@movementarian.org>
7690 * ToolbarBackend.C: try icon without argument
7691 if with argument fails
7693 2003-04-08 John Levon <levon@movementarian.org>
7696 * ToolbarBackend.C: add getIcon(), handle tooltip,
7697 and change from "Icon" to "Item".
7699 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7701 * BufferView.C (lockInset): another bad getchar crunched
7703 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7705 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7708 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7710 * lyxfind.C (searchForward, searchBackwards): bug 782
7712 2003-04-07 John Levon <levon@movementarian.org>
7714 * paragraph.C: remove dead comment
7716 * text.C: remove troublesome depth-fiddling code
7717 in leftMargin() and rightMargin() (bug 1017)
7719 * text.C: fix breaking of rows in nested lists
7722 * text2.C (updateCounters): fix up depth values
7725 2003-04-07 John Levon <levon@movementarian.org>
7727 * BufferView_pimpl.C: clear message when doc finishes resizing,
7728 and after a mouse event
7730 * lyxfunc.C: clear message after exiting inset
7732 2003-04-07 John Levon <levon@movementarian.org>
7734 * bufferview_funcs.C: show math status not outside
7735 status in the statusbar
7737 2003-04-07 John Levon <levon@movementarian.org>
7739 * lyxfunc.C: note status changed after a depth change
7741 2003-04-04 Angus Leeming <leeming@lyx.org>
7743 * LaTeX.h: move AuxInfo operator==, != out of line.
7744 Remove LaTeX virtual destructor; nothing derives from it.
7745 Move operator()() out of public area and rename it startscript().
7746 Change protected for private.
7748 2003-04-04 Angus Leeming <leeming@lyx.org>
7751 * text2.C: remove unneeded #includes.
7753 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7755 * text2.C (dEPM): fix the heigth of the next row
7757 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7759 * text.C: squashed an invalid getChar requester + some ws changes
7761 2003-04-03 John Levon <levon@movementarian.org>
7763 * bufferview_funcs.h:
7764 * bufferview_funcs.C:
7767 * text2.C: make getStatus work for the env depth lfuns
7769 2003-04-03 John Levon <levon@movementarian.org>
7771 * bufferview_funcs.h:
7772 * bufferview_funcs.C:
7775 * text2.C: parlistize decDepth(), by merging it with incDepth()
7777 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * lyxrow.h: store a ParagraphList::iterator instead of a
7780 Paragraph* and adjust other class functions to suit.
7782 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7785 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7787 * text2.C (setCursor): do not anchor to cursor row for the time being
7789 2003-04-02 John Levon <levon@movementarian.org>
7796 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7798 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * paragraph.h: make ParagraphList and ParagraphList::iterator
7801 friends of Paragraph.
7803 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7805 * ParagraphList.C: Use the private next_ and previous_ from
7808 2003-04-01 John Levon <levon@movementarian.org>
7812 * Makefile.am: rename, remove defaults gunk
7815 * MenuBackend.C: remove defaults gunk
7818 * Languages.C: remove defaults gunk
7821 * lyx_main.C: error out if files couldn't be found.
7823 2003-04-02 John Levon <levon@movementarian.org>
7825 * text2.C: make incDepth() use parlist
7827 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * undo_funcs.C (firstUndoParagraph): adjust
7831 * text3.C (gotoInset): adjust
7832 (dispatch): adjust, and rewrite loop.
7834 * text2.C (init): adjust, and rewrite loop.
7835 (redoParagraphs): adjust
7836 (updateInset): adjust, and rewrite loop.
7837 (deleteEmptyParagraphMechanism): adjust
7839 * tabular.C (LyXTabular): adjust
7840 (SetMultiColumn): adjust
7843 * lyxtext.[Ch] (ownerParagraph): delete function
7844 (ownerParagraphs): new function returns a ParagraphList.
7846 * BufferView.C (removeAutoInsets): adjust
7847 (insertErrors): adjust
7848 (setCursorFromRow): adjust
7850 2003-04-01 Angus Leeming <leeming@lyx.org>
7852 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7855 2003-04-02 John Levon <levon@movementarian.org>
7861 * text_funcs.C: make transposeChars a free function
7863 * lyxrow_funcs.C: remove wrong comment
7865 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * rowpainter.C: adjust
7873 * lyxrow_funcs. [Ch]: new files
7875 * lyxrow.[Ch]: remove next and previous pointers
7876 (next,previous): remove accessor functions
7877 (isParEnd): move to lyxrow_funcs
7878 (lastPos): move to lyxrow_funcs
7879 (nextRowIsAllInset): move to lyxrow_funcs
7880 (lastPrintablePos): move to lyxrow_funcs
7881 (numberOfSeparators): move to lyxrow_funcs
7882 (numberOfHfills): move to lyxrow_funcs
7883 (numberOfLabelHfills): move to lyxrow_funcs
7884 (hfillExpansion): move to lyxrow_funcs
7888 * bufferview_funcs.C (toggleAndShow): adjust
7890 * RowList.h: Remove class RowList from file leave just a
7893 * RowList.C: delete file
7895 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7898 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7900 * text3.C (cursorPrevious): adjust
7901 (cursorNext): adjust
7904 * text2.C (redoHeightOfParagraph): adjust
7905 (redoDrawingOfParagraph): adjust
7908 * text.C (breakParagraph): adjust
7909 (insertChar): adjust
7912 * rowpainter.C (RowPainter): adjust
7913 (leftMargin): simplify and adjust
7914 (most rowpainter functions): adjust.
7916 * rowpainter.h: store the row as RowList::iterator not as Row*
7918 * lyxcursor.C (row): taka RowList::iterator as arg
7921 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7924 2003-04-01 Angus Leeming <leeming@lyx.org>
7926 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7927 stuff like bool Bool.
7929 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7931 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7934 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7936 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7939 * lyxtext.h (rows): drop one version and leve a const variant that
7940 returns a RowList::iterator.
7942 2003-03-31 Angus Leeming <leeming@lyx.org>
7944 * text.C (fill): ensure that the signature is the same as that in the
7947 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * text2.C (redoParagraphs): adjust
7950 (updateCounters): adjust
7951 (checkParagraph): adjust
7952 (getColumnNearX): adjust and reformat a bit.
7954 * text.C (top_y): adjust
7956 (leftMargin): adjust
7957 (prepareToPrint): adjust
7959 (getRowNearY): adjust
7961 * lyxtext.h: make rowlist_ mutable.
7963 * RowList.h: add const_iterator
7964 * RowList.C: adjust for RowList::const_iterator.
7966 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7969 2003-03-31 John Levon <levon@movementarian.org>
7972 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7974 * lyx_main.C: set default fonts from using lyx_gui funcs
7976 * exporter.C: pdf_mode moved from lyxrc
7979 * lyxfunc.C: changes from above
7981 2003-03-31 John Levon <levon@movementarian.org>
7983 * lyx_main.C: fix to the last fix
7985 2003-03-31 John Levon <levon@movementarian.org>
7987 * bufferlist.C: "Load original" -> "Load Original"
7993 * format.C: more Alert cleanups
7995 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7997 * text2.C (removeParagraph): make it take a RowList::iterator as
7999 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8000 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8002 * text.C (anchor_row): make it take a RowList::iterator as arg,
8004 (computeBidiTables): make it take a const reference to Row instead
8005 of Row pointer, adjust.
8006 (leftMargin): make it take a RowList::iterator as arg, adjust.
8007 (rowBreakPoint): adjust
8008 (breakAgainOneRow): make it take a RowList::iterator as arg,
8010 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8012 * bufferview_funcs.C (toggleAndShow): adjust
8014 2003-03-30 John Levon <levon@movementarian.org>
8018 * boost-inst.C: moved to support
8020 * several files: changes as a result
8022 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8024 * text2.C (LyXText): adjust.
8026 (removeRow): make it take a RowList::iterator as arg, adjust.
8027 (fullRebreak): adjust
8028 (deleteEmptyParagraphMechanism): adjust
8029 (clearPaint): adjust
8032 * text.C (top_y): adjust
8033 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8034 (breakAgain): make it take a RowList::iterator as arg, adjust.
8035 (breakParagraph): adjust
8036 (insertChar): adjust
8039 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8040 need_break_row, and refresh_row.
8042 * text3.C (dispatch): adjust
8044 * text2.C (checkParagraph): adjust
8046 (setCursorFromCoordinates): adjust
8048 * text.C (top_y): adjust
8050 (getRow): make it return a RowList::iterator, adjust
8051 (getRowNearY): make it return a RowList::iterator, adjust
8053 * text2.C (init): adjust
8054 (insertRow): remove function
8055 (insertParagraph): adjust
8056 (redoParagraphs): adjust
8057 (fullRebreak): adjust
8058 (updateCounters): adjust
8060 * text.C (top_y): rewrite to use RowList iterators.
8062 (setHeightOfRow): rewrite to sue RowList iterators.
8063 (appendParagraph): adjust
8064 (breakAgain): adjust
8065 (breakAgainOneRow): adjust
8066 (breakParagraph): adjust
8068 (getRowNearY): adjust, and remove commented code.
8070 * lyxtext.h (firstRow): delete function
8071 (lastRow): delete function
8072 (rows): new function (const and non-const versions.)
8073 (insertRow): delete function
8075 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8077 2003-03-29 John Levon <levon@movementarian.org>
8079 * BufferView_pimpl.C: always update scrollbar top
8080 because pasting text when we're anchored could mean we
8081 miss an update altogether
8083 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8085 * text2.C (init): use rowlist_.end() and not 0.
8086 (insertRow): change to take a RowList::iterator as arg, adjust
8088 (insertParagraph): change to take a RowList::iterator as arg,
8090 (redoParagraphs): remove some debug msgs.
8092 * text.C (appendParagraph): change to take a RowList::iterator
8093 arg, adjust for this.
8094 (breakAgain): add an assert
8095 (breakAgainOneRow): ditto
8097 2003-03-29 John Levon <levon@movementarian.org>
8099 * text2.C: do not clear selection after inc/decDepth
8102 2003-03-29 John Levon <levon@movementarian.org>
8105 * buffer.C: fix broken strerrors according to Lars
8107 2003-03-29 John Levon <levon@movementarian.org>
8109 * converters.C: more Alert cleanups
8111 2003-03-29 John Levon <levon@movementarian.org>
8113 * bufferview_funcs.C: remove pointless Alert
8115 * buffer.C: fix confusing error message when
8116 a template is chmoded 000
8118 2003-03-29 John Levon <levon@movementarian.org>
8122 * BufferView_pimpl.C: Alert fixes
8126 * tabular-old.C: remove unused table compat reading
8128 2003-03-29 John Levon <levon@movementarian.org>
8133 * lyx_cb.C: more Alert cleanups
8135 * lyxfunc.C: don't allow chktex if not latex document
8137 2003-03-29 John Levon <levon@movementarian.org>
8141 * buffer.C: warnings pushed down from support/,
8144 2003-03-29 John Levon <levon@movementarian.org>
8146 * lyxfunc.C: safety check for C-r (revert)
8148 2003-03-29 John Levon <levon@movementarian.org>
8151 * bufferlist.C: several UI fixes using Alert::prompt.
8152 Fix the pointless looping quit code. Fix stupid revert
8157 * lyx_cb.C: use Alert::prompt
8159 * lyx_main.C: remove a silly question
8161 * lyxfunc.C: remove a couple of silly questions,
8164 2003-03-28 John Levon <levon@movementarian.org>
8166 * text2.C: fix bug 974 (End on empty par)
8168 2003-03-28 John Levon <levon@movementarian.org>
8170 * BufferView_pimpl.C:
8172 * lfuns.h: remove do-nothing math greek lfuns
8174 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * lyxgluelength.h (isValidGlueLength): add default arg on
8177 parameter 2. Remove default arg from friend in class.
8179 * lyxlength.h (isValidLength): add default arg on parameter 2.
8180 Remove default arg from friend in class.
8182 * text2.C (LyXText): adjust, initialize refresh_row.
8186 (insertParagraph): adjst
8187 (redoParagraphs): adjust
8188 (fullRebreak): adjust
8189 (updateCounters): adjust
8190 (deleteEmptyParagraphMechanism): first attempt at fixing a
8193 * text.C (top_y): adjust
8194 (setHeightOfRow): adjust
8196 (getRowNearY): adjust
8198 * lyxtext.h: include RowList.h
8199 (~LyXText): not needed anymore, deleted.
8200 (firstRow): modify for RowList
8201 (lastRow): new function
8202 Delete firstrow and lastrow class variables, add a Rowlist
8203 rowlist_ class variable.
8205 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8208 * RowList.C (insert): fix case where it == begin().
8210 2003-03-26 Angus Leeming <leeming@lyx.org>
8212 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8213 the thesaurus dialog.
8215 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8219 * RowList.[Ch]: new files
8221 * ParagraphList.C (erase): handle the case where it == begin
8224 2003-03-25 John Levon <levon@movementarian.org>
8228 * aspell.C: add new aspell support
8231 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8234 2003-03-25 Angus Leeming <leeming@lyx.org>
8237 * LyXAction.C (init): new LFUN_INSET_INSERT.
8239 * BufferView_pimpl.C (dispatch): split out part of the
8240 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8242 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8245 2003-03-25 Angus Leeming <leeming@lyx.org>
8247 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8249 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8252 * text3.C: remove useless row->height(0)
8254 2003-03-25 John Levon <levon@movementarian.org>
8258 * text3.C: rename the refreshing stuff to better names
8260 2003-03-24 John Levon <levon@movementarian.org>
8262 * BufferView_pimpl.h:
8263 * BufferView_pimpl.C: update layout choice on a mouse
8266 2003-03-23 John Levon <levon@movementarian.org>
8268 * Makefile.am: fix commandtags.h reference
8270 2003-03-22 John Levon <levon@movementarian.org>
8272 * BufferView_pimpl.C:
8277 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8279 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8282 * text.C: take the rtl methods out of line
8284 2003-03-21 André Pönitz <poenitz@gmx.net>
8286 * metricsinfo.[Ch]: new files containing structures to be passed around
8287 during the two-phase-drawing...
8289 2003-03-21 André Pönitz <poenitz@gmx.net>
8291 * lyxtextclass.C: read 'environment' tag.
8293 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8295 * text2.C (removeRow): fix bug 964
8297 2003-03-20 John Levon <levon@movementarian.org>
8301 * text2.C: paint cleanups. Inset::update() dropped font
8304 2003-03-19 John Levon <levon@movementarian.org>
8306 * lyxfunc.C: only fitcursor/markDirty if available()
8308 2003-03-19 John Levon <levon@movementarian.org>
8310 * commandtags.h: rename to ...
8312 * lfuns.h: ... this, and renumber / cleanup
8314 2003-03-19 John Levon <levon@movementarian.org>
8316 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8317 fit the cursor after an lfun
8321 * BufferView_pimpl.h:
8322 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8324 * LyXAction.C: layout-character should have ReadOnly
8326 * ParagraphParameters.C:
8328 * bufferview_funcs.C:
8335 * undo_funcs.C: changes from above
8337 2003-03-18 John Levon <levon@movementarian.org>
8339 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8340 remove it from update()
8342 * lyxfunc.C: update layout choice after an lfun
8344 * text3.C: remove extra updateLayoutChoice()s
8346 2003-03-18 John Levon <levon@movementarian.org>
8348 * text.C: top_y change means full repaint, fix
8349 a drawing bug with cursor movement
8351 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8355 * text2.C: anchor row on setCursor
8357 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8359 * lyxtext.h: remove almost all mutable keywords
8362 * text3.C: remove const keywords accordingly
8364 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8368 (TeXEnvironment): ditto
8371 2003-03-17 John Levon <levon@movementarian.org>
8373 * text.C (rowBreakPoint): remove attempt to fix displayed
8374 math insets inside a manual label
8376 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8378 * lyxtext.h: remove BufferView* as first arg from almost all class
8380 * other files: adjust.
8382 2003-03-17 John Levon <levon@movementarian.org>
8386 * text2.C: more paint cleanups
8388 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8391 * rowpainter.C: remove "smart" background painting code
8393 2003-03-16 John Levon <levon@movementarian.org>
8398 * text3.C: add helper functions for setting refresh_row/y
8400 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8402 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8403 newline inset which *can* get inserted in the pass_thru layouts.
8404 This is primarily for literate documents.
8406 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8408 * buffer.C: increment LYX_FORMAT to 223
8410 2003-03-14 André Pönitz <poenitz@gmx.net>
8412 * textclass.h: prepare for environment handling, ws changes
8413 * lyxlayout.C: read latexheader and latexfooter tags
8415 2003-03-14 John Levon <levon@movementarian.org>
8417 * text2.C: rewrite ::status() a bit
8419 2003-03-13 John Levon <levon@movementarian.org>
8421 * lyxtext.h: add some docs
8423 2003-03-13 John Levon <levon@movementarian.org>
8428 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8430 2003-03-13 John Levon <levon@movementarian.org>
8432 * text3.C: fix appendix redrawing
8434 2003-03-13 John Levon <levon@movementarian.org>
8436 * text.C (setHeightOfRow):
8438 * rowpainter.C: make appendix mark have the text
8439 "Appendix" so the user knows what it is
8442 * LColor.C: s/appendixline/appendix/ from above
8444 2003-03-13 John Levon <levon@movementarian.org>
8446 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8448 * text.C: fix a getChar(pos) bug properly
8450 2003-03-13 Angus Leeming <leeming@lyx.org>
8453 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8454 Probably only temporary. Let's see how things pan out.
8456 * BufferView.C (unlockInset):
8457 * BufferView_pimpl.C (fitCursor):
8458 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8460 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8461 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8463 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8464 new functions that convert ParagraphParameters to and from a string.
8466 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8467 BufferView::Pimpl's dispatch.
8468 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8470 2003-03-13 André Pönitz <poenitz@gmx.net>
8474 * factory.C: make it aware of InsetEnv
8476 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8478 * text2.C (setCursor): never ask for one past last
8479 (setCursor): add some debugging messages.
8481 * text.C (singleWidth): never ask for one past last
8482 (singleWidth): ditto
8484 (rightMargin): ditto
8485 (rowBreakPoint): ditto
8486 (setHeightOfRow): ditto
8487 (prepareToPrint): ditto
8489 * rowpainter.C (paintBackground): never ask for one past last
8490 (paintText): never ask for one past last
8492 * paragraph_pimpl.C (getChar): make the assert stricter, never
8493 allow the one past last pos to be taken
8495 * paragraph.C (getChar): ws changes only
8497 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8498 (numberOfSeparators): ditto
8499 (numberOfHfills): ditto
8501 2003-03-12 John Levon <levon@movementarian.org>
8507 * paragraph_funcs.C: fix per-buffer authorlists
8509 2003-03-12 John Levon <levon@movementarian.org>
8511 * text.C: fix newline in right address
8513 2003-03-12 Angus Leeming <leeming@lyx.org>
8515 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8516 duplicate those in LyXFunc::dispatch.
8520 * ToolbarDefaults.C:
8521 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8522 Add LFUN_FONTFREE_UPDATE.
8524 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8525 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8527 * bufferview_func.[Ch]: several new functions to facilliate
8528 transfer of data to and from the character dialog.
8530 2003-03-12 John Levon <levon@movementarian.org>
8535 * paragraph_funcs.C:
8536 * paragraph_pimpl.C:
8540 * text3.C: remove META_NEWLINE in favour of an inset
8543 * rowpainter.C: remove paintNewline (done by inset)
8545 2003-03-12 John Levon <levon@movementarian.org>
8547 * paragraph_pimpl.C: complain about bad getChar()s
8548 for a while at least
8550 2003-03-12 John Levon <levon@movementarian.org>
8553 * buffer.C: move paragraph read into a separate function,
8554 a little renaming to reflect that.
8557 * bufferparams.C: remove the author_ids map, not necessary now
8560 * factory.C: moved Buffer::readInset to here
8562 * paragraph_funcs.h:
8563 * paragraph_funcs.C: readParagraph free function moved from
8566 * tabular.C: name change
8568 2003-03-12 John Levon <levon@movementarian.org>
8571 * ParagraphParameters.C: move par params input to
8574 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8575 behave like a normal read from the stream wrt reading
8576 a line vs. a \\token
8578 2003-03-12 John Levon <levon@movementarian.org>
8581 * ParagraphParameters.h:
8582 * ParagraphParameters.C: move output code to a
8585 2003-03-12 John Levon <levon@movementarian.org>
8587 * BufferView.C (insertLyXFile):
8590 * tabular.C: use a parlist iterator for creating the
8593 2003-03-12 John Levon <levon@movementarian.org>
8595 * buffer.C: make current_change static local not
8598 2003-03-12 John Levon <levon@movementarian.org>
8600 * buffer.C: fix insertStringAsLines for change tracking
8602 2003-03-12 John Levon <levon@movementarian.org>
8609 * bufferparams.C: move author list into params. Rename some
8610 functions. Move the header reading into a separate token
8611 loop. Move the header token reading into BufferParams.
8613 2003-03-12 John Levon <levon@movementarian.org>
8615 * changes.C: put debug inside lyxerr.debugging() checks
8617 2003-03-11 André Pönitz <poenitz@gmx.net>
8619 * factory.C: make it aware of InsetHFill
8621 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8623 * buffer.C (latexParagraphs): move function from here...
8624 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8627 2003-03-10 Angus Leeming <leeming@lyx.org>
8629 * LyXAction.C (init): fix bug in poplating array with multiple entries
8630 with the same LFUN (spotted by JMarc).
8632 2003-03-10 John Levon <levon@movementarian.org>
8635 * text2.C: move getColumnNearX() near its
8638 2003-03-10 John Levon <levon@movementarian.org>
8640 * text.C: fix break before a minipage
8642 2003-03-10 John Levon <levon@movementarian.org>
8644 * text.C: fix the last commit
8646 2003-03-09 John Levon <levon@movementarian.org>
8650 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8651 bug 365 (don't break before insets unless needed). Don't
8652 return a value > last under any circumstances.
8654 2003-03-09 Angus Leeming <leeming@lyx.org>
8656 * BufferView_pimpl.C (trackChanges, dispatch): call
8657 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8659 2003-03-09 Angus Leeming <leeming@lyx.org>
8661 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8662 than Dialogs::showAboutlyx().
8664 2003-03-09 Angus Leeming <leeming@lyx.org>
8666 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8667 than Dialogs::showTabularCreate().
8669 2003-03-09 John Levon <levon@movementarian.org>
8673 * text2.C: 3rd arg to nextBreakPoint was always the same.
8676 2003-03-08 John Levon <levon@movementarian.org>
8683 * text2.C: Remove the "main" bit from the "main body"
8686 2003-03-08 John Levon <levon@movementarian.org>
8688 * text.C (leftMargin): The left margin of an empty
8689 manual label paragraph should not include the label width
8692 * text.C (prepareToPrint): don't attempt to measure hfills
8693 for empty manual label paragraphs - the answer should be 0
8695 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8697 * CutAndPaste.C: remove commented code and reindent.
8699 2003-03-08 John Levon <levon@movementarian.org>
8702 * lyxfunc.C: move reloadBuffer()
8705 * BufferView.C: to here
8707 * lyxvc.C: add comment
8710 * vc-backend.C: call bv->reload() to avoid
8711 getStatus() check on MENURELOAD
8713 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8715 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8716 to an old format .dep file.
8718 2003-03-07 Angus Leeming <leeming@lyx.org>
8720 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8721 when the LFUN_MOUSE_RELEASE should have been handled by
8722 inset->localDispatch.
8724 2003-03-07 Angus Leeming <leeming@lyx.org>
8726 * BufferView_pimpl.C (dispatch):
8727 * LyXAction.C (init):
8728 * ToolbarDefaults.C (init):
8730 * lyxfunc.C (getStatus):
8731 remove LFUN_INSET_GRAPHICS.
8733 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8735 2003-03-07 Angus Leeming <leeming@lyx.org>
8738 * LyXAction.C (init):
8739 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8741 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8744 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8746 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8747 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8749 2003-03-07 Angus Leeming <leeming@lyx.org>
8751 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8754 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8756 * ParagraphList.C (front): new function
8759 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8761 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8762 and top_row_offset_. removed var first_y.
8764 * text2.C (LyXText, removeRow):
8766 * BufferView_pimpl.C:
8767 use these methods instead of using first_y
8769 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8771 * text2.C (pasteSelection): adjust for checkPastePossible
8773 * CutAndPaste.C: remove Paragraph * buf and replace with
8774 ParagraphList paragraphs.
8775 (DeleteBuffer): delete
8776 (cutSelection): change the tc type to textclass_type
8777 (copySelection): change the tc type to textclass_type
8778 (copySelection): adjust for ParagraphList
8779 (pasteSelection): change the tc type to textclass_type
8780 (pasteSelection): adjust for Paragraphlist
8781 (nrOfParagraphs): simplify for ParagraphList
8782 (checkPastePossible): simplify for ParagraphList
8783 (checkPastePossible): remove unused arg
8785 * ParagraphList.C (insert): handle the case where there are no
8788 * CutAndPaste.h: make CutAndPaste a namespace.
8790 * text3.C (dispatch): adjust
8792 * text.C (breakParagraph): add a ParagraphList as arg
8794 * paragraph_funcs.C (breakParagraph): change to take a
8795 BufferParams and a ParagraphList as args.
8796 (breakParagraphConservative): ditto
8797 (mergeParagraph): ditto
8798 (TeXDeeper): add a ParagraphList arg
8799 (TeXEnvironment): ditto
8802 * buffer.C (readLyXformat2): adjust
8803 (insertStringAsLines): adjust
8804 (latexParagraphs): adjust
8806 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8807 (cutSelection): adjust
8808 (pasteSelection): adjust
8810 * BufferView_pimpl.C (insertInset): adjust
8812 2003-03-05 Angus Leeming <leeming@lyx.org>
8815 * LyXAction.C (init):
8816 * BufferView_pimpl.C (dispatch):
8817 * lyxfunc.C (getStatus):
8818 remove LFUN_CHILD_INSERT.
8820 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8822 2003-03-05 Angus Leeming <leeming@lyx.org>
8825 * LyXAction.C (init):
8826 * src/factory.C (createInset):
8827 * lyxfunc.C (getStatus):
8828 * text3.C (dispatch):
8829 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8831 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8833 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8835 * ParagraphList.C (insert): handle insert right before end()
8836 (erase): fix cases where it can be first or last paragraph.
8838 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8840 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8841 Paragraph::next and Paragraph::previous
8844 * text.C (breakParagraph): adjust
8846 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8847 BufferParams& as arg.
8848 (breakParagraph): use ParagraphList::insert
8849 (breakParagraphConservative): take a Buffer* instead of a
8850 BufferParams& as arg.
8851 (breakParagraphConservative): use ParagraphList::insert.
8853 * buffer.C (insertStringAsLines): un-const it
8854 (insertStringAsLines): adjust
8856 * ParagraphList.C (insert): new function
8858 * CutAndPaste.C (pasteSelection): adjust
8860 * text.C (backspace): adjust
8862 * tabular.C (SetMultiColumn): adjust
8864 * CutAndPaste.C (cutSelection): adjust
8865 (pasteSelection): adjust
8867 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8868 Buffer const * as arg
8870 * ParagraphList.C (erase): new function
8871 * paragraph_funcs.C (mergeParagraph): use it
8872 (mergeParagraph): make it take a Buffer* instead of a
8873 BufferParams* as arg
8875 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8877 (breakParagraphConservative): ditto
8879 * paragraph.h: remove the breakParagraph friend
8881 * paragraph.C (eraseIntern): new function
8882 (setChange): new function
8884 * paragraph_funcs.C (mergeParagraph): make it take a
8885 ParagraphList::iterator instead of a Paragraph *, adjust
8888 * paragraph.h: move an #endif so that the change tracking stuff
8889 also works in the NO_NEXT case.
8891 2003-03-04 Angus Leeming <leeming@lyx.org>
8894 * LyXAction.C: new LFUN_INSET_MODIFY.
8896 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8897 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8899 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8901 * several files: ws changes only
8903 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8904 (TeXEnvironment): ditto
8907 * buffer.C (makeLaTeXFile): adjust
8908 (latexParagraphs): make it take ParagraphList::iterator as args
8910 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8912 * buffer.C (latexParagraphs): adjust
8914 * paragraph.C (TeXOnePar): move function...
8915 (optArgInset): move function...
8916 (TeXEnvironment): move function...
8917 * paragraph_pimpl.C (TeXDeeper): move function...
8918 * paragraph_funcs.C: ...here
8920 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8922 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8924 * buffer.C (readInset): remove compability code for old Figure and
8927 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8929 * buffer.C: ws changes
8932 * BufferView_pimpl.C: ditto
8935 * bufferlist.h: ditto
8939 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8941 * converter.[Ch]: split into itself +
8944 * Makefile.am: += graph.[Ch] + format.[Ch]
8951 * lyxrc.C: added #include "format.h"
8953 2003-02-27 Angus Leeming <leeming@lyx.org>
8955 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8958 * factory.C (createInset): add "label" to the factory.
8960 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8961 string and do no more.
8963 2003-02-27 Angus Leeming <leeming@lyx.org>
8966 * LyXAction.C (init):
8967 * factory.C (createInset):
8968 * BufferView_pimpl.C (dispatch):
8969 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8971 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8973 * lyxfunc.C (dispatch):
8974 * text3.C (dispatch): pass name to params2string.
8976 2003-02-26 Angus Leeming <leeming@lyx.org>
8978 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8980 Rearrange the ~includes. Strip out the unnecessary ones.
8982 * factory.C (createInset): reformat.
8983 create new insets for the various LFUN_XYZ_APPLY lfuns.
8985 2003-02-26 John Levon <levon@movementarian.org>
8988 * lyxrow.C: add isParStart,isParEnd helpers
8990 * paragraph.h: make isInserted/DeletedText take refs
8992 * paragraph_funcs.h:
8993 * paragraph_funcs.C: remove #if 0'd code
8998 * text.C: use lyxrow helpers above.
8999 Move draw and paint routines to RowPainter.
9000 Make several methods use refs not pointers.
9001 Make backgroundColor() const.
9002 Add markChangeInDraw(), isInInset().
9003 Merge changeRegionCase into changeCase.
9004 Make workWidth() shouldn't-happen code into an Assert.
9007 * rowpainter.C: new class for painting a row.
9010 * vspace.C: make inPixels take a ref
9012 2003-02-26 Angus Leeming <leeming@lyx.org>
9014 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9017 2003-02-25 John Levon <levon@movementarian.org>
9019 * ispell.C: give the forked command a more accurate name
9021 2003-02-22 John Levon <levon@movementarian.org>
9024 * toc.C: make TocItem store an id not a Paragraph *
9027 2003-02-21 Angus Leeming <leeming@lyx.org>
9029 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9030 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9031 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9032 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9033 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9034 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9036 * BufferView_pimpl.C (dispatch):
9037 * LyXAction.C (init):
9038 * factory.C (createInset):
9039 * lyxfunc.C (getStatus, dispatch):
9040 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9042 2003-02-21 Angus Leeming <leeming@lyx.org>
9044 * BufferView_pimpl.C (MenuInsertLyXFile):
9045 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9046 * lyxfunc.C (menuNew, open, doImport):
9047 no longer pass a LyXView & to fileDlg.
9049 2003-02-21 Angus Leeming <leeming@lyx.org>
9051 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9052 * LyXAction.C: change, BIBKEY to BIBITEM.
9053 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9054 Change InsetBibKey to InsetBibitem.
9055 Change BIBKEY_CODE to BIBITEM_CODE.
9056 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9057 * factory.C: replace insetbib.h with insetbibitem.h.
9058 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9059 * paragraph.C: replace insetbib.h with insetbibitem.h.
9060 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9061 Change bibkey() to bibitem().
9062 * text.C: remove insetbib.h.
9063 * text2.C: replace insetbib.h with insetbibitem.h.
9064 change bibkey() to bibitem().
9065 * text3.C: remove insetbib.h.
9066 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9068 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9070 * lyxrc.C (output): enclose user email in quotes (in case there are
9073 2003-02-18 John Levon <levon@movementarian.org>
9075 * buffer.h: add std::
9077 2003-02-17 John Levon <levon@movementarian.org>
9083 * pspell.C: reworking. Especially in ispell, a large
9084 number of clean ups and bug fixes.
9086 * lyxfunc.C: fix revert to behave sensibly
9088 2003-02-17 André Pönitz <poenitz@gmx.net>
9091 * commandtags.h: new LFUN_INSERT_BIBKEY
9101 * paragraph_func.C: remove special bibkey handling
9103 2003-02-17 John Levon <levon@movementarian.org>
9105 * text.C (Delete): fix case where delete at the end of
9106 the very first paragraph would not merge the pars
9108 2003-02-17 John Levon <levon@movementarian.org>
9110 * lyxrow.C: fix lastPrintablePos()
9112 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9114 * bufferparams.C (writeLaTeX): add a std:here
9116 * buffer.C: and remove a using directive there
9118 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9120 * buffer.C (makeLaTeXFile): move the code that generates the
9123 * bufferparams.C (writeLaTeX): ... in this new method
9125 * LaTeXFeatures.C (getEncodingSet): make const
9126 (getLanguages): make const
9128 * MenuBackend.C (binding): returns the binding associated to this
9130 (add): sets the status of each item by calling getStatus. Adds
9132 (read): add support for OptSubMenu
9133 (expand): remove extra separator at the end of expanded menu
9135 2003-02-15 John Levon <levon@movementarian.org>
9138 * BufferView_pimpl.C:
9140 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9141 inset code that had no actual effect. Remove unneeded status
9144 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9146 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9149 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9151 * text.C (drawLengthMarker): also draw an arrow marker for
9152 symbolic lengths (medskip...)
9154 2003-02-14 John Levon <levon@movementarian.org>
9157 * tabular.C: better method names
9159 2003-02-14 John Levon <levon@movementarian.org>
9161 * BufferView_pimpl.C:
9166 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9167 it's a more accurate name. Remove some pointless uses.
9169 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9171 * text2.C (LyXText): change order of initilizers to shut off
9174 2003-02-14 John Levon <levon@movementarian.org>
9176 * buffer.C: use ParIterator for getParFromID()
9180 * paragraph_pimpl.h:
9181 * paragraph_pimpl.C: remove unused getParFromID()
9183 2003-02-14 John Levon <levon@movementarian.org>
9185 * buffer.C: remove some very old #if 0'd parse code
9187 2003-02-13 John Levon <levon@movementarian.org>
9191 * text2.C: move hfillExpansion(), numberOfSeparators(),
9192 rowLast(), rowLastPrintable(), numberofHfills(),
9193 numberOfLabelHfills() ...
9196 * lyxrow.C: ... to member functions here.
9201 * text.C: remove LyXText::beginningOfMainBody(), and call
9202 p->beginningOfMainBody() directly. Move the check for
9203 LABEL_MANUAL into the latter.
9210 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9216 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9217 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9219 2003-02-13 John Levon <levon@movementarian.org>
9221 * CutAndPaste.C: remove debug
9223 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * paragraph.C (asString): remove two unused variables
9227 * lyxtextclass.C (readTitleType):
9229 (LyXTextClass): handle new members titletype_ and titlename_
9231 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9233 2003-02-09 John Levon <levon@movementarian.org>
9236 * buffer.C: replace hand-coded list with a map for the dep clean
9238 2003-02-08 John Levon <levon@movementarian.org>
9240 * LaTeX.C: consolidate code into showRunMessage() helper
9242 2003-02-08 John Levon <levon@movementarian.org>
9247 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9248 and pass the size in explicitly
9250 * BufferView_pimpl.h:
9251 * BufferView_pimpl.C:
9253 * BufferView.C: add getCurrentChange()
9255 * BufferView_pimpl.h:
9256 * BufferView_pimpl.C: handle change lfuns
9258 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9259 for changes. Mark pasted paragraphs as new.
9261 * support/lyxtime.h:
9262 * support/lyxtime.C:
9263 * DepTable.C: abstract time_t as lyx::time_type
9266 * LColor.C: add colours for new text, deleted text, changebars
9268 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9269 package use "usenames" option.
9273 * LyXAction.C: add change lfuns
9277 * author.C: author handling
9280 * buffer.C: add a per-buffer author list, with first entry as
9281 current author. Handle new .lyx tokens for change tracking. Output
9282 author list to .lyx file. Output dvipost stuff to .tex preamble.
9283 Bump lyx format to 222.
9286 * bufferlist.C: add setCurrentAuthor() to reset current author details
9290 * bufferparams.C: add param for tracking
9292 * bufferview_funcs.C: output change info in minibuffer
9296 * changes.C: add change-tracking structure
9299 * debug.C: add CHANGES debug flag
9302 * lyxfind.C: add code for finding the next change piece
9305 * lyxrc.C: add user_name and user_email
9308 * lyxrow.C: add a metric for the top of the text line
9311 * text.C: implement accept/rejectChange()
9314 * text.C: paint changebars. Paint new/deleted text in the chosen
9315 colours. Strike through deleted text.
9319 * paragraph_pimpl.h:
9320 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9321 in the current change to the insert functions. Rework erase to
9322 mark text as deleted, adding an eraseIntern() and a range-based
9323 erase(). Implement per-paragraph change lookup and
9326 * paragraph_funcs.C: Fixup paste for change tracking.
9328 * tabular.C: mark added row/columns as new.
9330 * text.C: fix rowLast() to never return -1. Don't allow
9331 spellchecking of deleted text. Track transpose changes. Don't
9332 allow paragraph break or merge where appropriate.
9334 * text2.C: leave cursor at end of selection after a cut.
9336 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9338 * text.C (getLengthMarkerHeight):
9339 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9340 visible on screen too.
9342 2003-02-07 John Levon <levon@movementarian.org>
9344 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9346 2003-02-05 Angus Leeming <leeming@lyx.org>
9348 * lyxserver.C (read_ready): revert my patch of 11 September last year
9349 as it sends PC cpu through the roof. Presumably this means that
9350 the lyxserver will no longer run on an Alpha...
9352 2003-01-30 Angus Leeming <leeming@lyx.org>
9354 * factory.C (createInset): create an InsetCommandParam of type "index"
9355 and use it to 'do the right thing'.
9357 * text2.C (getStringToIndex): ensure that cursor position is always
9358 reset to the reset_cursor position.
9360 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9362 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9365 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9369 * lyxfunc.C: Output messages with identical spelling, punctuation,
9372 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9374 * MenuBackend.C (expandFormats): List only viewable export formats
9377 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9380 * lyxfunc.C (getStatus): Make sure that formats other than
9381 "fax" can also be disabled
9383 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9385 * text3.C (dispatch): put the lfuns that insert insets in 3
9386 groups, and call doInsertInset with appropriate arguments.
9387 (doInsertInset): new function, that creates an inset and inserts
9388 it according to some boolean parameters.
9390 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9392 * buffer.C (readFile): remember to pass on 'par' when calling
9393 readFile recursively.
9395 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9397 * MenuBackend.C (expandFormats): add "..." to import formats.
9399 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9401 * paragraph.C (asString): Remove XForms RTL hacks.
9403 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9404 * buffer.C: fix typo
9406 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9408 * Makefile.am (LIBS): delete var
9409 (lyx_LDADD): add @LIBS@ here instead.
9411 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9413 * Clarify the meaning of "wheel mouse jump"
9415 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9417 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9420 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9422 * importer.C (Loaders): do not preallocate 3 elements in the
9423 vector, since one ends up with 6 elements otherwise
9425 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9427 * DepTable.C (write): write the file name as last element of the
9428 .dep file (because it may contain spaces)
9429 (read): read info in the right order
9431 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9433 * paragraph_pimpl.C (simpleTeXBlanks):
9434 (simpleTeXSpecialChars):
9435 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9437 * tabular.C (latex): add some missing case statements. Reindent.
9439 * MenuBackend.C (expandToc): remove unused variable.
9441 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9450 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9453 2003-01-05 John Levon <levon@movementarian.org>
9456 * BufferView.C: add getEncoding()
9459 * kbsequence.C: do not store last keypress
9462 * lyxfunc.C: store last keypress here instead. Pass encoding
9465 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9467 * lyx_main.C (init): remove annoying error message when following
9468 symbolic links (bug #780)
9470 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9472 * text.C (insertChar):
9473 * lyxrc.C (getDescription): remove extra spaces
9475 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9477 * lyxrc.C (getDescription): remove extra spaces
9479 2002-12-20 John Levon <levon@movementarian.org>
9481 * text3.C: hack fix for page up/down across tall rows
9483 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9485 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9488 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9490 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9491 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9492 thesaurus is not compiled in
9494 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9496 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9498 2002-12-16 Angus Leeming <leeming@lyx.org>
9501 * lyx_main.C (init): remove override_x_deadkeys stuff.
9503 2002-12-12 John Levon <levon@movementarian.org>
9505 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9506 insert. Only remove shift modifier under strict
9509 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9511 * MenuBackend.C (expandToc): fix crash.
9513 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9515 * MenuBackend.C (expandToc): gettext on float names.
9517 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9519 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9520 implement bool empty() [bug 490]
9522 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9524 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9526 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9528 * several files: ws changes
9530 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9532 * text2.C (setCounter): clean up a bit, use boost.format.
9533 (updateCounters): initialize par upon declaration.
9535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9536 if the layout exists. We do not just store the layout any more.
9537 (SwitchLayoutsBetweenClasses): use boost.format
9539 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9541 * converter.C (convert): if from and to files are the same, use a
9542 temporary files as intermediary
9544 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9547 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9549 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9551 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9553 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9555 * tabular.C (asciiPrintCell): use string(size, char) instead of
9558 * sgml.C (openTag): fix order of arguments to string constructor
9561 * lyxfunc.C (dispatch): use boost.format
9563 * lots of files: change "c" -> 'c'
9565 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9567 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9569 2002-11-25 Angus Leeming <leeming@lyx.org>
9571 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9573 * lyx_main.C (init): compile fix.
9575 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9577 * lyx_cb.C (start): boost.formatify
9578 do not include <iostream>
9580 * lengthcommon.C: ws only
9582 * boost-inst.C,BoostFormat.h: add more explict instantations
9584 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9586 * lots of files: handle USE_BOOST_FORMAT
9588 2002-11-21 John Levon <levon@movementarian.org>
9590 * pspell.C: fix compile
9592 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9594 * lyxfunc.C (dispatch): use boost::format
9598 * lyxfont.C (stateText): use boost::format
9600 * lyx_main.C (LyX): use boost::format
9602 (queryUserLyXDir): ditto
9605 (typedef boost::function): use the recommened syntax.
9607 * importer.C (Import): use boost::format
9609 * debug.C (showLevel): use boost::format
9611 * converter.C (view): use boost::format
9616 * bufferview_funcs.C (currentState): use boost::format
9618 * bufferlist.C (emergencyWrite): use boost::format
9620 * buffer.C (readLyXformat2): use boost::format
9621 (parseSingleLyXformat2Token): ditto
9623 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9625 * LaTeX.C (run): use boost::format
9627 * Chktex.C (scanLogFile): use boost::format
9629 * BufferView_pimpl.C (savePosition): use boost::format
9630 (restorePosition): ditto
9631 (MenuInsertLyXFile): ditto
9633 * BoostFormat.h: help file for explicit instation.
9635 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9637 * tabular.C (latex): Support for block alignment in fixed width
9640 2002-11-17 John Levon <levon@movementarian.org>
9642 * BufferView_pimpl.C:
9644 * lyxfunc.C: split filedialog into open/save
9646 2002-11-08 Juergen Vigna <jug@sad.it>
9648 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9649 by my last patch (hopefully).
9651 2002-11-08 John Levon <levon@movementarian.org>
9660 * toc.C: ParConstIterator, and use it (from Lars)
9662 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9664 * lyxtextclass.[Ch]: revise and add doxygen comments
9666 2002-11-07 John Levon <levon@movementarian.org>
9668 * text.C: fix progress value for spellchecker
9670 * toc.C: fix navigate menu for insetwrap inside minipage
9672 * paragraph_funcs.C: added FIXME for suspect code
9674 2002-11-07 John Levon <levon@movementarian.org>
9676 * BufferView_pimpl.C: fix redrawing of insets
9679 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9681 * text2.C (updateCounters): fix bug 668
9683 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9685 * text3.C (dispatch): Do not make the buffer dirty when moving the
9688 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9690 * vc-backend.C: STRCONV
9693 * text2.C (setCounter): STRCONV
9695 * paragraph.C (asString): STRCONV
9697 * lyxlength.C (asString): STRCONV
9698 (asLatexString): ditto
9700 * lyxgluelength.C (asString): STRCONV
9701 (asLatexString): ditto
9703 * lyxfunc.C (dispatch): STRCONV
9706 * lyxfont.C (stateText): STRCONV
9708 * importer.C (Import): STRCONV
9710 * counters.C (labelItem): STRCONV
9711 (numberLabel): ditto
9712 (numberLabel): remove unused ostringstream o
9717 * bufferview_funcs.C (currentState): STRCONV
9719 * buffer.C (readFile): STRCONV
9720 (asciiParagraph): ditto
9721 (makeLaTeXFile): ditto
9723 * Spacing.C (writeEnvirBegin): STRCONV
9725 * LaTeXFeatures.C (getLanguages): STRCONV
9726 (getPackages): ditto
9728 (getBabelOptions): ditto
9729 (getTClassPreamble): ditto
9730 (getLyXSGMLEntities): ditto
9731 (getIncludedFiles): ditto
9735 (scanAuxFile): ditto
9738 * LString.h: add the STRCONV macros
9740 * BufferView_pimpl.C (savePosition): STRCONV
9741 (restorePosition): ditto
9742 (MenuInsertLyXFile): ditto
9744 * vc-backend.C (scanMaster): change from submatch[...] to
9747 * funcrequest.C: include config.h
9749 * factory.C: include config.h
9751 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9753 * box.C: include config.h
9755 * LaTeX.C (scanAuxFile): change from submatch[...] to
9759 2002-10-25 Angus Leeming <leeming@lyx.org>
9761 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9763 * ispell.[Ch] (setError): new method.
9764 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9765 Use setError() insetead of goto END.
9767 * lyx_cb.C (AutoSave): move out child process into new class
9770 2002-10-30 John Levon <levon@movementarian.org>
9772 * text3.C: make start appendix undoable
9774 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9776 * lyxlength.C (inPixels): Fix returned value.
9778 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9781 2002-10-24 Angus Leeming <leeming@lyx.org>
9783 * lyxgluelength.h: no need to forward declare BufferParams
9784 or BufferView, so don't.
9786 2002-10-21 John Levon <levon@movementarian.org>
9788 * BufferView.C: menuUndo ->undo, redo
9790 * BufferView.h: document, remove dead, make some methods private
9792 * paragraph_funcs.h:
9793 * paragraph_funcs.C:
9794 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9799 * sgml.C: move sgml open/close tag into sgml.C
9801 * bufferview_funcs.h: unused prototype
9804 * lyxfunc.C: remove unused
9807 * text.C: remove unused
9809 2002-10-21 John Levon <levon@movementarian.org>
9813 * BufferView_pimpl.h:
9814 * BufferView_pimpl.C: fix mouse wheel handling based on
9815 patch from Darren Freeman
9817 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9819 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9821 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9823 * lyxlength.C (inPixels): Fix hanfling of negative length.
9824 Fix LyXLength::MU case.
9826 2002-10-16 John Levon <levon@movementarian.org>
9828 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9830 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9832 * converter.C (view): add support for $$i (file name) and $$p
9833 (file path) for the viewer command. If $$i is not specified, then
9834 it is appended to the command (for compatibility with old syntax)
9836 2002-10-14 Juergen Vigna <jug@sad.it>
9838 * undo_funcs.C (textHandleUndo): alter the order in which the
9839 new undopar is added to the LyXText, as we have to set first
9840 the right prev/next and then add it as otherwise the rebuild of
9841 LyXText is not correct. Also reset the cursor to the right paragraph,
9842 with this IMO we could remove the hack in "redoParagraphs()".
9844 2002-10-09 Angus Leeming <leeming@lyx.org>
9846 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9847 to turn off an optimisation if a new inset is to be inserted.
9849 2002-10-11 André Pönitz <poenitz@gmx.net>
9851 * lyxtext.h: make some functions public to allow access
9852 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9854 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * text3.C (dispatch): when changing layout, avoid an infinite loop
9859 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9861 * lyxrc.C (read): treat a viewer or converter command of "none" as
9864 * MenuBackend.C (expandFormats): for an update, also allow the
9865 formats that are not viewable
9867 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9868 script if it is newer than the lyxrc.defaults in user directory
9870 2002-10-07 André Pönitz <poenitz@gmx.net>
9872 * text.C: Vitaly Lipatov's small i18n fix
9874 2002-09-25 Angus Leeming <leeming@lyx.org>
9876 * ispell.h: doxygen fix.
9878 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9880 * buffer.h (readFile): Add a new argument to the method, to allow
9881 reading of old-format templates.
9883 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9885 * toc.C (getTocList): Get TOC from InsetWrap.
9887 2002-09-16 John Levon <levon@movementarian.org>
9889 * lyxfunc.C: check tabular for cut/copy too
9891 2002-09-12 John Levon <levon@movementarian.org>
9896 * factory.C: add header
9898 * paragraph_funcs.h:
9899 * paragraph_funcs.C: cleanup
9901 2002-09-11 John Levon <levon@movementarian.org>
9903 * PrinterParams.h: odd/even default to true
9905 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9907 * PrinterParams.h: update printer parameters for new xforms dialog
9909 2002-09-11 Angus Leeming <leeming@lyx.org>
9911 * lyxserver.C (read_ready): re-write to make it more transparent
9912 and to make it work in coherent fashion under Tru64 Unix.
9914 2002-09-11 André Pönitz <poenitz@gmx.net>
9918 * text3.C: implement LFUN_WORDSEL
9920 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9922 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9923 make floatlist_ a boost::shared_ptr<FloatList>
9925 * lyxtextclass.C: include FloatList.h
9926 (LyXTextClass): initialize floatlist_
9927 (TextClassTags): add TC_NOFLOAT
9928 (Read): match "nofloat" to TC_NOFLOAT and use it.
9929 (readFloat): modify call to floatlist_
9933 * FloatList.[Ch] (FloatList): remove commented out float
9935 (erase): new function
9937 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9939 * MenuBackend.C (expandToc): fix crash when there is no document
9942 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9944 * many files: Add insetwrap.
9946 2002-09-09 John Levon <levon@movementarian.org>
9948 * text2.C: remove confusing and awkward depth wraparound
9950 2002-09-09 John Levon <levon@movementarian.org>
9952 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9955 * buffer.C: remove getIncludeonlyList()
9958 * lyxfunc.C: remove headers
9960 2002-09-09 Juergen Vigna <jug@sad.it>
9962 * text.C (getColumnNearX): fix form Michael this is most
9963 probably a cut&paste bug.
9965 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9967 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9969 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9970 references, ws changes.
9972 * text2.C (init): update counters after init
9973 (insertParagraph): no need to set counter on idividual paragraphs.
9974 (setCounter): access the counters object in the textclass object
9975 on in the buffer object.
9976 (updateCounters): ditto
9978 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9979 shared_ptr<Counters> to avoid loading counters.h in all
9981 (LyXTextClass): initialize ctrs_
9982 (TextClassTags): add TC_COUNTER, and ...
9983 (Read): use it here.
9984 (CounterTags): new tags
9985 (readCounter): new function
9986 (counters): new funtion
9987 (defaultLayoutName): return a const reference
9989 * counters.C (Counters): remove contructor
9990 (newCounter): remove a couple of unneeded statements.
9991 (newCounter): simplify a bit.
9992 (numberLabel): some small formatting changes.
9994 * buffer.[Ch]: remove all traces of counters, move the Counters
9995 object to the LyXTextClass.
9997 2002-09-06 Alain Castera <castera@in2p3.fr>
9999 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10000 package to set the horizontal alignment on fixed width columns.
10003 * lyx_sty.h: added tabularnewline macro def.
10005 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10007 2002-09-06 John Levon <levon@movementarian.org>
10009 * LyXAction.C: tooltips for sub/superscript
10011 * MenuBackend.C: a bit more verbose
10013 * lyxfunc.C: tiny clean
10015 * undo_funcs.C: document undo_frozen
10017 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10019 * counters.C (Counters): add missing algorithm counter.
10021 * text2.C (setCounter): lookup the counter with layouts latexname
10022 instead of by section number.
10023 (setCounter): use a hackish way to lookup the correct enum
10025 a float name->type change
10026 reset enum couners with counter name directly instead of depth value.
10028 * counters.C (Counters): remove the push_backs, change to use the
10029 float type not the float name.
10030 (labelItem): remove unused string, float name->type change
10032 * counters.h: don't include vector, loose the enums and sects vectors
10034 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10036 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10037 (Read): add float->TC_FLOAT to textclassTags
10038 (Read): and handle it in the switch
10039 (readFloat): new function
10041 * FloatList.C (FloatList): comment out the hardcoded float
10044 * lyxlayout.h: ws change.
10046 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10048 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10050 2002-09-03 Angus Leeming <leeming@lyx.org>
10052 * BufferView_pimpl.h: qualified name is not allowed in member
10053 declaration: WorkArea & Pimpl::workarea() const;
10055 * factory.C: added using std::endl directive.
10057 * text3.C: added using std::find and std::vector directives.
10059 2002-08-29 André Pönitz <poenitz@gmx.net>
10062 * text2.C: remove unused member number_of_rows
10065 * BufferView2.C: remove file, move contents to...
10066 * BufferView.C: ... here
10068 * BufferView_pimpl.C:
10069 * factory.C: move more inset creation to factory
10071 * vspace.C: avoid direct usage of LyXText, ws changes
10074 don't provide direct access to WorkArea, use two simple
10075 acessors haveSelction() and workHeight() instead
10078 2002-08-29 John Levon <levon@movementarian.org>
10080 * BufferView_pimpl.C (dispatch): do not continue when
10083 2002-08-28 André Pönitz <poenitz@gmx.net>
10085 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10088 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10090 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10092 * buffer.C: increment LYX_FORMAT to 221
10094 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10095 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10097 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10099 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10101 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10103 * factory.C (createInset): use LyXTextClass::floats
10105 * MenuBackend.C (expandFloatListInsert):
10106 (expandFloatInsert):
10109 * text2.C (setCounter):
10111 * LaTeXFeatures.C (useFloat):
10112 (getFloatDefinitions):
10114 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10116 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10117 floatlist_, with accessor floats().
10119 * FloatList.h: remove global FloatList
10121 2002-08-26 André Pönitz <poenitz@gmx.net>
10123 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10127 * BufferView_pimpl.C:
10128 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10130 2002-08-25 John Levon <levon@movementarian.org>
10132 * LyXAction.C: fix margin note description
10134 2002-08-24 John Levon <levon@movementarian.org>
10138 * bufferview_funcs.C:
10140 * undo_funcs.C: cleanups
10142 * lyxfunc.C: disable CUT/COPY when no selection
10144 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10146 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10147 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10149 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10150 Add backward compatibility to "mono", "gray" and "no".
10152 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10154 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10155 (and file_format >= 200).
10157 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10159 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10161 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10163 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10165 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10167 * BufferView_pimpl.C:
10174 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10175 inset and code to make it work with the paragraph code. The inset
10176 can be anywhere in the paragraph, but will only do the expected
10177 thing in LaTeX if the layout file contains the parameter line
10179 (or more generally, a nonzero value) for that layout.
10181 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10183 * paragraph.h: remove the declaration of undefined counters class
10186 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10188 * text2.C (setCounter): fixed enumeration mis-count as reported by
10189 Dr. Richard Hawkins.
10191 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * paragraph_funcs.h: remove some unneeded includes
10195 * text.C (backspace): pasteParagraph now in global scipe
10197 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10198 (pasteSelection): ditto
10200 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10201 * paragraph_funcs.C (pasteParagraph): ... here
10203 2002-08-20 André Pönitz <poenitz@gmx.net>
10205 * commandtags.h: new LFUNs for swapping/copying table row/colums
10208 * lyxfunc.C: support for new lfuns
10210 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10213 * buffer.[Ch]: remove NO_COMPABILITY stuff
10215 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10217 * boost.C (throw_exception): new file, with helper function for
10218 boost compiled without exceptions.
10223 * ParameterStruct.h:
10224 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10226 * bufferlist.C (emergencyWriteAll): use boost bind
10228 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10230 * text.C: include paragraph_funcs.h
10231 (breakParagraph): breakParagraph is now in global scope
10233 * paragraph_funcs.[Ch]: new files
10235 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10238 * buffer.C: include paragraph_funcs.h
10239 (insertStringAsLines): breakParagraph is now in global scope
10241 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10244 * CutAndPaste.C: include paragraph_funcs.h
10245 (cutSelection): breakParagraphConservative is now in global scope
10246 (pasteSelection): ditto
10248 * buffer.h: declare oprator== and operator!= for
10249 Buffer::inset_iterator
10251 * bufferlist.C (emergencyWrite): don't use fmt(...)
10253 * text3.C: add using std::endl
10255 * BufferView.C (moveCursorUpdate): remove default arg
10257 2002-08-20 André Pönitz <poenitz@gmx.net>
10259 * buffer.[Ch]: move inline functions to .C
10262 * BufferView_pimpl.C:
10264 * buffer.[Ch]: use improved inset_iterator
10267 * paragraph.[Ch]: write one paragraph at a time
10269 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10271 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10272 style if style is not specified.
10274 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10276 * text2.C (setCounter): when searching for right label for a
10277 caption, make sure to recurse to parent insets (so that a caption
10278 in a minipage in a figure float works) (bug #568)
10280 2002-08-20 André Pönitz <poenitz@gmx.net>
10282 * text3.C: new file for LyXText::dispatch() and helpers
10284 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10286 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10288 2002-08-19 André Pönitz <poenitz@gmx.net>
10291 * text.C: new LyXText::dispatch()
10293 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10295 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10297 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10299 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10302 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10304 * Makefile.am: use $(variables) instead of @substitutions@
10306 2002-08-15 André Pönitz <poenitz@gmx.net>
10309 * BufferView_pimpl.C: streamlining mathed <-> outer world
10313 * LyXAction.C: remove unused LFUN_MATH
10315 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10317 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10319 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10321 * paragraph.C (Paragraph): reformat a bit
10322 (cutIntoMinibuffer): use builtin InsetList function instad of
10326 * buffer.C: include boost/bind.hpp, add using std::for_each
10327 (writeFileAscii): use ParagraphList iterators
10328 (validate): use for_each for validate traversal of paragraphs
10329 (getBibkeyList): use ParagraphList iterators
10330 (resizeInsets): use for_each to resizeInsetsLyXText for all
10332 (getParFromID): use ParagraphList iterators
10334 * BufferView2.C (lockInset): use paragraph list and iterators
10336 2002-08-14 John Levon <levon@movementarian.org>
10338 * lyxserver.C: remove spurious xforms include
10340 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10342 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10344 2002-08-13 André Pönitz <poenitz@gmx.net>
10347 * lyxfunc.C: further cleaning
10349 2002-08-13 André Pönitz <poenitz@gmx.net>
10351 * funcrequest.h: new constructor
10353 * funcrequest.C: move stuff here from .h
10356 * BufferView_pimpl.C:
10359 * lyxfunc.C: subsequent changes
10361 * lyxfunc.h: new view() member function
10363 * lyxfunc.C: subsequent changes
10365 2002-08-13 Angus Leeming <leeming@lyx.org>
10368 * BufferView_pimpl.C:
10376 changes due to the changed LyXView interface that now returns references
10377 to member variables not pointers.
10379 2002-08-13 Angus Leeming <leeming@lyx.org>
10381 * WordLangTuple (word, lang_code): return references to strings,
10386 * lyxtext.h: forward-declare WordLangTuple.
10391 * text.C: #include "WordLangTuple.h".
10394 * text.C: (selectNextWordToSpellcheck): constify return type.
10396 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10402 * paragraph_pimpl.h:
10405 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10406 suggested by Angus.
10407 Made updateCounter always count from start of buffer, and removed
10408 second argument (par).
10409 Reverted floats number display to '#'. Perhaps I'll try again when the
10410 code base is sanitized a bit.
10412 2002-08-12 Angus Leeming <leeming@lyx.org>
10414 * buffer.[Ch] (getLabelList): constify.
10416 2002-08-07 André Pönitz <poenitz@gmx.net>
10418 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10420 * funcrequest.h: extension to keep mouse (x,y) position
10422 2002-08-12 Juergen Vigna <jug@sad.it>
10424 * BufferView2.C (insertErrors): forbid undo when inserting error
10427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10429 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10431 * ParagraphList.[Ch]: new files
10433 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10435 * BufferView2.C (lockInset): ParagraphList changes
10438 * bufferlist.C: ditto
10442 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10444 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10445 unused class variable counter_,
10447 * paragraph.[Ch] (getFirstCounter): delete unused function
10449 * counters.C: include LAssert.h
10450 (reset): add a new function with no arg, change other version to
10451 not have def. arg and to not allow empty arg.
10453 * text2.C (setCounter): remove empty arg from call to Counters::reset
10455 2002-08-11 John Levon <levon@movementarian.org>
10457 * Makefile.am: add WordLangTuple.h
10459 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10461 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10462 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10464 * insets/insettext.C: InsetList changes
10466 * graphics/GraphicsSupport.C (operator()): InsetList changes
10468 * toc.C (getTocList): InsetList changes
10470 * paragraph_pimpl.[Ch]: InsetList changes
10472 * paragraph.[Ch]: InsetList changes
10474 * buffer.C (inset_iterator): InsetList changes
10475 (setParagraph): ditto
10476 * buffer.h (inset_iterator): ditto
10477 * iterators.C (operator++): ditto
10478 * iterators.h: ditto
10480 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10482 * InsetList.[Ch]: new files, most InsetList handling moved out of
10485 * BufferView2.C (removeAutoInsets): InsetList changes
10487 (ChangeInsets): ditto
10489 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10491 * paragraph_pimpl.h (empty): new function
10493 * paragraph.[Ch] (empty): new function
10495 * other files: use the new Paragraph::empty function
10497 2002-08-09 John Levon <levon@movementarian.org>
10499 * lyxtext.h: remove unused refresh_height
10501 2002-08-09 John Levon <levon@movementarian.org>
10508 * paragraph.C: move sgml char escaping out of paragraph
10511 * paragraph.C: remove id setter
10515 * paragraph_pimpl.C: remove dead tex_code_break_column
10517 * bufferview_funcs.C: small cleanup
10519 * lyxfunc.C: remove dead proto
10521 * lyxtext.h: make some stuff private. Remove some dead stuff.
10523 * lyxgluelength.C: make as[LyX]String() readable
10525 2002-08-08 John Levon <levon@movementarian.org>
10530 * ToolbarDefaults.C:
10533 * toc.C: lyxaction cleanup
10535 2002-08-08 John Levon <levon@movementarian.org>
10537 * BufferView2.C: small cleanup
10540 * lyxfind.C: move unnecessary header into the .C
10542 2002-08-08 John Levon <levon@movementarian.org>
10544 * funcrequest.h: just tedious nonsense
10547 * lyx_main.C: cleanups
10550 * vspace.C: remove dead header lyx_main.h
10552 2002-08-07 Angus Leeming <leeming@lyx.org>
10555 * paragraph_pimpl.h:
10556 Forward declare class Counters in paragraph.h by moving the ctrs member
10557 variable into Paragraph::Pimpl.
10558 (counters): new method, returning a reference to pimpl_->ctrs.
10560 * text2.C: ensuing changes.
10562 2002-08-07 John Levon <levon@movementarian.org>
10564 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10566 * BufferView_pimpl.C: announce X selection on double/triple
10569 * lyx_main.C: use correct bool in batch dispatch
10571 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10573 2002-08-07 André Pönitz <poenitz@gmx.net>
10575 * funcrequest.h: new class to wrap a kb_action and its argument
10578 * BufferView_pimpl[Ch]:
10582 * lyxrc.C: subsequent changes
10585 2002-08-07 John Levon <levon@movementarian.org>
10587 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10588 document options change.
10590 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10595 * makefile.am: move counters functionality over from
10596 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10598 2002-08-06 John Levon <levon@movementarian.org>
10600 * WordLangTuple.h: new file for word + language code tuple
10611 * BufferView2.C: use WordLangTuple
10614 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10616 2002-08-06 John Levon <levon@movementarian.org>
10618 * lyx_main.C: fix cmdline batch handling
10620 2002-08-06 André Pönitz <poenitz@gmx.net>
10622 * lyxrc.C: set default for show_banner to true
10624 2002-08-06 John Levon <levon@movementarian.org>
10626 * pspell.C: fix a crash, and allow new aspell to work
10628 2002-08-06 John Levon <levon@movementarian.org>
10631 * kbmap.C: small cleanup
10634 * vspace.C: add const
10636 2002-08-05 John Levon <levon@movementarian.org>
10638 * LyXAction.C: back to tabular-insert
10640 2002-08-04 John Levon <levon@movementarian.org>
10643 * BufferView.C: cosmetic change
10645 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10655 * BufferView2.C: purge all "Lyx" not "LyX" strings
10658 * lyxcursor.C: attempt to add some documentation
10663 * ToolbarDefaults.C:
10664 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10665 merge with LFUN_TABULAR_INSERT
10672 * pspell.C: split up i/pspell implementations into separate
10673 files, many cleanups
10675 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10677 * text2.C: some cleanup
10679 * lyxfunc.C: don't check for isp_command == "none" any more, it
10680 didn't make any sense
10682 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10687 * makefile.am: move counters functionality over
10688 from text2.C/paragraph.[Ch] to counters.[Ch], and
10690 2002-08-02 John Levon <levon@movementarian.org>
10692 * buffer.C: s/lyxconvert/lyx2lyx/
10694 2002-08-02 Angus Leeming <leeming@lyx.org>
10696 * lyxlex.C: revert John's change as it breaks reading of the user
10699 2002-08-02 Angus Leeming <leeming@lyx.org>
10701 * importer.C (Import):
10702 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10703 changes due to LyXView::view() now returning a boost::shared_ptr.
10705 2002-08-02 John Levon <levon@movementarian.org>
10707 * lyxlex.C: small cleanup
10709 2002-08-02 John Levon <levon@movementarian.org>
10711 * text2.C (status): small cleanup, no logic change
10713 2002-08-01 John Levon <levon@movementarian.org>
10716 * buffer.C (writeFile): don't output alerts, caller
10720 * lyx_cb.C: from above
10722 * lyxfunc.C: allow to open non-existent files
10724 2002-07-31 John Levon <levon@movementarian.org>
10726 * lyxserver.C: don't let incidental errors get
10729 2002-07-30 John Levon <levon@movementarian.org>
10731 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10733 2002-07-30 John Levon <levon@movementarian.org>
10736 * lyxserver.C: remove I/O callback too
10738 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10740 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10743 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10745 * many files: strip,frontStrip -> trim,ltrim,rtrim
10747 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10749 * PrinterParams.h: remove extern containsOnly, and include
10750 support/lstrings.h instead.
10752 * LaTeX.C (scanAuxFile): modify because of strip changes
10754 * buffer.C (makeLaTeXFile): ditto
10755 * bufferparams.C (writeFile): ditt
10756 * lyxfont.C (stateText): ditto
10757 * lyxserver.C (read_ready): ditto
10758 * vc-backend.C (scanMaster): ditto
10760 * BufferView_pimpl.h: ws changes
10762 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10764 2002-07-26 André Pönitz <poenitz@gmx.net>
10766 * kb_sequence.C: remove unnedred usings
10768 2002-07-26 Juergen Vigna <jug@sad.it>
10770 * lyxfind.C (LyXReplace): we have to check better if the returned
10771 text is not of theLockingInset()->getLockingInset().
10773 2002-07-25 Juergen Vigna <jug@sad.it>
10775 * lyxfind.C (LyXReplace): don't replace if we don't get the
10778 * undo_funcs.C (createUndo): remove debugging code.
10780 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10782 * buffer.C (parseSingleLyXformat2Token): Use default placement
10783 when reading old floats.
10785 * FloatList.C (FloatList): Change the default placement of figure
10786 and tables to "tbp".
10788 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10790 * MenuBackend.C: using std::max
10792 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10794 * MenuBackend.C (expandToc):
10795 (expandToc2): code moved from xforms menu frontend. It is now
10796 generic and TOCs are transparent to menu frontends.
10798 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * toc.C (getTocList): protect against buf=0
10802 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10803 Menu as first parameter. Now, this calls itself recursively to
10804 expand a whole tree (this will be useful for TOC handling)
10805 (expandFloatInsert): remove 'wide' version of floats
10807 * MenuBackend.h (submenuname): returns the name of the submenu.
10808 (submenu): returns the submenu itself, provided it has been
10809 created by MenuBackend::expand
10811 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10813 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10814 insets which have noFontChange == true. (bug #172)
10816 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10818 * BufferView_pimpl.C: add connection objects and use them...
10821 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10823 * MenuBackend.C (expandLastfiles):
10826 (expandFloatListInsert):
10827 (expandFloatInsert):
10828 (expand): split expand in parts
10830 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10832 * lyx_gui.C: use lyx_gui::exit()
10834 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10836 * LyXAction.C: show the failing pseudo action
10838 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10840 * buffer.C (readFile): Run the lyxconvert script in order to read
10843 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10847 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10849 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10853 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10855 2002-07-22 Herbert Voss <voss@lyx.org>
10858 * lyxlength.[Ch]: add support for the vertical lengths
10860 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10862 * toc.[Ch]: std:: fixes
10864 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10866 * lyxrc.C: do not include lyx_main.h
10868 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10874 * BufferView2.C: include "lyxlex.h"
10877 * bufferparams.h: do not #include "lyxlex.h"
10879 * lyxtextclasslist.C (Add): remove method
10880 (classlist): renamed to classlist_
10882 * paragraph_pimpl.C:
10886 * bufferview_funcs.C:
10891 * toc.C (getTocList): use BufferParams::getLyXTextClass
10893 * toc.C (getTocList): use InsetFloat::addToToc
10895 * toc.[Ch]: new files, containing helper functions to handle table
10898 * lyxfunc.C (dispatch): no need to remove spaces around command
10900 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10901 first command of the sequence; it is not very clever, but I do not
10902 have a better idea, actually
10904 * LyXAction.C (LookupFunc): make sure to remove space at the
10905 beginning and end of the command
10907 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10909 * MenuBackend.C (getMenubar): new method: return the menubar of
10911 (read): treat differently reading of menu and menubar (in
10912 particular, the menubar has no name now)
10913 (Menu::menubar): remove
10915 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10918 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10920 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10921 a bibitem inset in a RTL paragraph.
10923 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10925 * paragraph_pimpl.C: constify
10927 * BufferView_pimpl.C:
10929 * lyxfunc.C: fix dispatch in a nicer way
10931 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10933 * lyxfunc.C (dispatch):
10934 * BufferView_pimpl.C:
10935 * BufferView_pimpl.h:
10937 * BufferView.h: rename Dispatch() to dispatch()
10939 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10941 * lyxlayout.C (Read): honor DependsOn tag
10943 * lyxlayout.[Ch] (depends_on): new method
10945 * version.C.in: update lyx_docversion
10947 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10949 * paragraph.C (validate): remove from here...
10950 * paragraph_pimpl.C (validate): ... and move here
10951 (isTextAt): make it const
10953 * buffer.C (getLists): ws cleanup
10955 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10957 * language.C (read): Use iso8859-1 encoding in latex_lang
10958 (this prevents LyX from crashing when using iso10646-1 encoding).
10960 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * text2.C (toggleInset): if cursor is inside an inset, close the
10963 inset and leave cursor _after_ it
10965 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10967 * lyxfunc.C: move minibuffer completion handling out of here
10969 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10971 * BufferView_pimpl.C:
10972 * LaTeX.C: fix dispatch calls
10974 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10976 * text.C (drawChars): Fix Arabic text rendering.
10978 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10982 * lyxfunc.C: remove message-push/pop
10986 * lyxfunc.C: rationalise some code by removing verboseDispatch
10987 in favour of a bool argument to dispatch()
10989 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * lyx_main.C (init): make sure to read symlinks as absolute paths
10993 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10996 * lyxfunc.C: no need for commandshortcut to be a member
10998 2002-07-15 André Pönitz <poenitz@gmx.net>
11000 * converter.C: add support for $$s (scripts from lib/scripts dir)
11001 * lyx_main.C: white space
11003 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11007 * lyxrc.C: remove second exit confirmation
11009 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11014 * BufferView_pimpl.h:
11015 * BufferView_pimpl.C:
11016 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11018 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11020 * MenuBackend.C (expand): add numeric shortcuts to document menu
11022 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11024 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * lyxfont.C (setLyXFamily):
11033 * buffer.C (asciiParagraph): use ascii_lowercase
11035 2002-07-15 Mike Fabian <mfabian@suse.de>
11037 * lyxlex_pimpl.C (search_kw):
11038 * lyxlex.C (getLongString):
11039 * converter.h (operator<):
11040 * converter.C (operator<):
11041 * buffer.C (parseSingleLyXformat2Token):
11043 * ToolbarDefaults.C (read):
11044 * MenuBackend.C (checkShortcuts):
11046 * LColor.C (getFromGUIName):
11047 (getFromLyXName): use the compare_ascii_no_case instead of
11048 compare_no_case, because in turkish, 'i' is not the lowercase
11049 version of 'I', and thus turkish locale breaks parsing of tags.
11051 2002-07-16 Angus Leeming <leeming@lyx.org>
11053 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11054 now takes a Buffer const & argument.
11056 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11058 * BufferView.C (resize): check there's a buffer to resize
11060 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11062 * lyxfunc.C: remove dead code
11065 * lyxserver.C: use lyx_guii::set_read_callback
11067 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11069 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11070 an inset in a RTL paragraph.
11072 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11074 * lyxfunc.C: repaint after a font size update
11076 2002-07-15 André Pönitz <poenitz@gmx.net>
11078 * lyxlength.C: inBP should be able to return negative values
11080 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11082 * lyxfunc.C: use lyx_gui::update_fonts()
11084 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11086 * lyxfunc.C: use lyx_gui::update_color()
11088 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11094 * lyxrc.C: remove file->new asks for name option, and let
11095 buffer-new take an argument
11097 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11099 * BufferView_pimpl.C: remove unneeded extra repaint()
11101 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11103 * LyXAction.C: allow command-sequence with NoBuffer
11105 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11107 2002-07-10 Angus Leeming <leeming@lyx.org>
11109 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11111 2002-07-09 Angus Leeming <leeming@lyx.org>
11113 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11115 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11117 * lengthcommon.h: whitespace
11119 * lyxfunc.C: update scrollbar after goto paragraph
11121 * lyxtext.h: factor out page break drawing, and fix it so
11122 page break/added space paints as selected nicely
11124 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11126 * BufferView_pimpl.C: add FIXMEs, clean up a little
11128 2002-07-09 André Pönitz <poenitz@gmx.net>
11130 * lyxfont.[Ch]: support for wasy symbols
11132 2002-07-08 André Pönitz <poenitz@gmx.net>
11134 * BufferView_pimpl.C: apply John's patch for #93.
11136 2002-07-05 Angus Leeming <leeming@lyx.org>
11138 * BufferView_pimpl.C (buffer): generate previews if desired.
11140 * LColor.h: add "preview" to the color enum.
11142 * LColor.C (LColor): add a corresponding entry to the items array.
11144 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11147 2002-07-05 Angus Leeming <leeming@lyx.org>
11149 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11150 The body of the code is now in the method that is passed an ostream &
11151 rather than a file name.
11152 Pass an additional only_preamble parameter, useful for the forthcoming
11155 2002-07-03 André Pönitz <poenitz@gmx.net>
11157 * lyxfunc.C: simplify getStatus() a bit for math stuff
11159 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11161 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11163 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11165 * text.C (changeRegionCase): do not change case of all the
11166 document when region ends at paragraph end (bug #461)
11168 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11170 * paragraph.C (startTeXParParams):
11171 (endTeXParParams): add \protect when necessary
11173 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * BufferView_pimpl.C (workAreaExpose): remove warning
11177 2002-06-27 Angus Leeming <leeming@lyx.org>
11179 * Makefile.am: add lyxlayout_ptr_fwd.h.
11181 2002-06-26 André Pönitz <poenitz@gmx.net>
11183 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11185 2002-06-25 Angus Leeming <leeming@lyx.org>
11187 * lyxfunc.C (dispatch): Comment out the call to
11188 grfx::GCache::changeDisplay. The method no longer exists now that the
11189 pixmap generation part of the graphics loader has been moved into
11192 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * text2.C: layout as layout
11196 * text.C: layout as layout
11198 * tabular.C (OldFormatRead): layout as layout
11200 * paragraph_pimpl.C (TeXDeeper): layout as layout
11201 (realizeFont): layout as layout
11203 * paragraph.C (writeFile): layout as layout
11204 (validate): layout as layout
11205 (getFont): layout as layout
11206 (getLabelFont): layout as layout
11207 (getLayoutFont): layout as layout
11208 (breakParagraph): layout as layout
11209 (stripLeadingSpaces): layout as layout
11210 (getEndLabel): layout as layout
11211 (getMaxDepthAfter): layout as layout
11212 (applyLayout): layout as layout
11213 (TeXOnePar): layout as layout
11214 (simpleTeXOnePar): layout as layout
11215 (TeXEnvironment): layout as layout
11216 (layout): layout as layout
11217 (layout): layout as layout
11219 * lyxtextclass.C (compare_name): new functor to work with
11220 shared_ptr, layout as layout
11221 (Read): layout as layout
11222 (hasLayout): layout as layout
11223 (operator): layout as layout
11224 (delete_layout): layout as layout
11225 (defaultLayout): layout as layout
11227 * lyxlayout_ptr_fwd.h: new file
11229 * lyxlayout.C (Read): layout as layout
11231 * lyx_cb.C (MenuInsertLabel): layout as layout
11233 * bufferlist.C (newFile): layout as layout
11235 * buffer.C (readLyXformat2): layout as layout
11236 (parseSingleLyXformat2Token): layout as layout
11237 (insertStringAsLines): layout as layout
11238 (asciiParagraph): layout as layout
11239 (latexParagraphs): layout as layout
11240 (makeLinuxDocFile): layout as layout
11241 (simpleLinuxDocOnePar): layout as layout
11242 (makeDocBookFile): layout as layout
11243 (simpleDocBookOnePar): layout as layout
11244 (getLists): layout as layout
11246 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11248 * CutAndPaste.C (cutSelection): layout as layout
11249 (pasteSelection): layout as layout
11250 (SwitchLayoutsBetweenClasses): layout as layout
11252 * BufferView_pimpl.C (Dispatch): layout as layout
11253 (smartQuote): layout as layout
11255 * BufferView2.C (unlockInset): layout as layout
11257 2002-06-24 André Pönitz <poenitz@gmx.net>
11259 * lyxfunc.C: fix #487
11261 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11265 * lyxfunc.C: remove display_shortcuts, show_banner
11267 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11269 * Buffer_pimpl.C: oops, update on resize
11271 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11278 * BufferView.C: use repaint()
11280 * BufferView_pimpl.h:
11281 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11282 as it's a clearer description. Remove superfluous
11285 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11287 * text.C: fix bug 488. Not ideal, but getting
11288 getWord() to work properly for the insets that
11289 matter is more difficult ...
11291 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11293 * BufferView_pimpl.C:
11296 * lyxfunc.C: remove the six million index lyxfuncs to just
11297 one, and DTRT (bug 458)
11299 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView_pimpl.h:
11304 * BufferView_pimpl.C: clean up resize() stuff,
11305 and unnecessary updateScreen()s
11307 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11311 * BufferView_pimpl.h:
11312 * BufferView_pimpl.C:
11315 * minibuffer.C: remove focus management of workarea,
11316 not needed. Use screen's greyOut()
11318 2002-06-17 Herbert Voss <voss@lyx.org>
11320 * converter.C: (convert) do not post a message, when converting
11321 fails, let the calling function decide what to do in this case
11323 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11325 * lyxfunc.C: tidy up a little
11327 2002-06-16 <alstrup@diku.dk>
11329 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11330 Got rid of FORMS_H_LOCATION include. Now we are
11333 2002-06-15 LyX Development team <lyx@rilke>
11335 * buffer.[Ch] (sgmlOpenTag):
11336 (sgmlCloseTag): Added support for avoiding pernicious mixed
11337 content. Return number of lines written.
11339 (makeLinuxDocFile):
11340 (makeDocBookFile): Fixed calls to sgml*Tag.
11341 Simple white space clean.
11343 (simpleDocBookOnePar): Simple white space clean.
11345 * tabular.[Ch] (docBook): Renamed to docbook and got another
11346 argument to related with the pernicious mixed content.
11348 (docbookRow): Fixed calls for docbook inset method.
11350 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11352 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11353 so it's X11 independent.
11357 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11359 2002-06-15 Lyx Development team <lyx@electronia>
11361 * intl.h: Renamed getTrans to getTransManager.
11363 2002-06-14 Angus Leeming <leeming@lyx.org>
11365 * Makefile.am: nuke forgotten stl_string_fwd.h.
11367 2002-06-12 Angus Leeming <leeming@lyx.org>
11369 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11371 2002-06-13 Angus Leeming <leeming@lyx.org>
11374 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11376 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11378 * kbmap.C (getiso): add support for cyrillic and greek
11380 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11384 * BufferView_pimpl.h:
11385 * BufferView_pimpl.C: move bogus scrolling logic
11388 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11391 * BufferView_pimpl.C: view->resize() change
11393 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11395 * BufferView_pimpl.C: topCursorVisible
11398 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11402 * lyx_gui.C: move to frontends/
11406 * lyx_main.C: changes from above
11408 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11415 * lyx_main.C: minor tidy
11417 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11419 * BufferView_pimpl.h:
11420 * BufferView_pimpl.C:
11422 * BufferView.C: make painter() const,
11425 * BufferView2.C: use screen() accessor
11428 * lyx_main.C: some minor cleanup
11430 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11432 * BufferView_pimpl.h:
11433 * BufferView_pimpl.C: remove enter/leaveView,
11436 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11441 * BufferView_pimpl.h:
11442 * BufferView_pimpl.C: only construct screen once,
11445 * lyxrc.C: remove pointless comment
11447 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11450 * BufferView.C: remove active() and belowMouse()
11452 * BufferView_pimpl.h:
11453 * BufferView_pimpl.C: use workarea() not workarea_,
11454 and make it use a scoped_ptr instead
11456 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11458 * lyx_gui.C: add debug message on BadWindow
11460 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11462 * sp_spell.C: fdopen is not part of the C++ standard.
11464 * paragraph.C (InsetIterator): use >= instead of ==
11466 2002-06-07 Angus Leeming <leeming@lyx.org>
11468 Fixes needed to compile with Compaq cxx 6.5.
11469 * BufferView_pimpl.C:
11476 * lyxtextclasslist.C:
11481 all c-library variables have been moved into namespace std. Wrap
11482 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11487 Add a using std::abs declaration.
11489 * kbmap.h (modifier_pair):
11490 * paragraph.h (InsetTable, InsetList):
11491 * lyxfont.h (FontBits):
11492 type definition made public.
11494 * bufferlist.C (emergencyWriteAll): the compiler complains that
11495 there is more than one possible lyx::class_fun template to choose from.
11496 I re-named the void specialisation as lyx::void_class_fun.
11498 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11500 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11501 the compiler is is unable to find tostr in write_attribute.
11503 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11505 * buffer.C (sgmlError): hide #warning
11507 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11509 * xtl/*: get rid of xtl, which is not in use anyway
11511 * LyXAction.C (init):
11512 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11513 were unimplemented xtl experimentation
11515 2002-06-04 André Pönitz <poenitz@gmx.net>
11517 * lyxfunc.C: disable array operation on simple formulae
11519 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11521 * converter.C: constify a bit
11523 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11525 * lyx_gui.C: check xforms version correctly
11527 2002-04-30 Herbert Voss <voss@lyx.org>
11529 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11532 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11534 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11535 attempt to register it with a VCS)
11537 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11539 * lyx_main.C (init): honor variables LYX_DIR_13x and
11542 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11546 * lyx_main.C: fix a crash on bad command line,
11547 and give a useful exit status on error
11549 * lyxfunc.C (doImport): allow -i lyx to work
11551 2002-03-30 André Pönitz <poenitz@gmx.net>
11553 * lyxfunc.C: mathed font changes
11555 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11570 * trans_mgr.h: srcdocs, and some minor cleanups
11572 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11574 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11575 call getFont all the time)
11577 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11579 * switch from SigC signals to boost::signals
11581 2002-05-29 André Pönitz <poenitz@gmx.net>
11583 * paragraph_pimpl.C (getChar): don't call size() too often...
11585 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11587 * paragraph_pimpl.C (insertChar): do not try to update tables when
11588 appending (pos == size())
11590 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11591 in order to reduce drastically the number of comparisons needed to
11592 parse a large document
11594 2002-05-29 André Pönitz <poenitz@gmx.net>
11600 * textclasslist.[Ch]:
11601 * sp_ispell.h: whitespace change
11603 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11605 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11606 lyxaction directly now.
11608 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11612 * lyxvc.C: remove unused headers
11614 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11621 * undo_funcs.C: some cleanups. Use shared_ptr
11622 and a template for the undo stacks.
11624 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11626 * BufferView_pimpl.h:
11627 * BufferView_pimpl.C:
11634 * text2.C: use key_state/mouse_state
11636 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11641 * chset.C: change include order
11642 (loadFile): use boost regex and get rid of LRegex and LSubstring
11644 * Makefile.am (BOOST_LIBS): new variable
11645 (lyx_LDADD): use it
11647 * LaTeX.C: change include order.
11648 (scanAuxFile): use boost regex and get rid of LRegex and
11652 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11657 * FontInfo.C: moved to frontends/xforms/
11660 * FontLoader.C: moved into frontends for GUIIzation
11665 * lyxfunc.C: changes from above
11667 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11669 * LColor.C: remove spurious X include
11671 * BufferView_pimpl.C:
11676 * text2.C: move font metrics to frontends/
11678 2002-05-24 Juergen Vigna <jug@sad.it>
11680 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11681 setting the undo_cursor.
11683 * ParagraphParameters.h: include local includes first.
11685 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11687 * BufferView_pimpl.C:
11688 * BufferView_pimpl.h:
11692 * screen.C: move WorkArea into frontends/
11698 * BufferView2.C: move LyXScreen into frontends/
11702 * lyx_gui.C: move lyxlookup into frontends/xforms/
11704 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11707 * BufferView_pimpl.C:
11717 * bufferview_funcs.C:
11730 * vc-backend.C: move LyX/XFormsView into frontends/
11732 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11744 * text2.C: move Painter to frontends/
11746 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * buffer.C: comment out some some code that depend upon lyx_format
11751 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11752 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11754 * buffer.h (NO_COMPABILITY): turn off compability
11756 * ColorHandler.C: include scoped_array.hpp
11758 * font.C: Use more specific smart_ptr header.
11761 * ShareContainer.h: ditto
11762 * lyx_main.h: ditto
11764 * FontInfo.h: ditto
11765 * BufferView_pimpl.h: ditto
11766 * ColorHandler.h: ditto
11768 * kbmap.C (defkey): change call to shared_ptr::reset
11770 2002-05-21 Juergen Vigna <jug@sad.it>
11772 * buffer.C (insertErtContents): fix to insert ert asis if it is
11773 non empty. Skip it completely if it contains only whitespaces.
11775 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11777 * BufferView_pimpl.C:
11778 * BufferView2.C: clear selection on paste (bug 393)
11780 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * DepTable.C: include ctime
11784 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11786 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11788 2002-05-14 Juergen Vigna <jug@sad.it>
11790 * text.C (breakParagraph): fixed function to honor the keepempty
11791 layout in the right maner and also to permit the right breaking
11792 algorithm on empty or non empyt keepempty paragraphs.
11794 * paragraph.C (breakParagraph): we have to check also if the par
11795 is really empty (!size()) for isempty otherwise we do the wrong
11798 2002-05-10 Juergen Vigna <jug@sad.it>
11800 * buffer.[Ch] : The following are only changes to the ert
11801 compatibility read reading old LaTeX layout and font stuff and
11802 convert it to ERTInsets.
11804 * buffer.h: added isErtInset().
11806 * buffer.C (struct ErtComp): add a fromlayout bool to check
11807 if we're inside a LaTeX layout.
11808 (isErtInset): new helper function.
11809 (insertErtContents): look for other ert insets before this one
11810 and insert the contents there, so that we don't have subsequent
11811 ERT insets with nothing between them. This way we create only one
11812 inset with multiple paragraphs. Also check if we don't insert only
11813 spaces ' ' as they are ignored anyway afterwards in the .tex file
11814 so if we have only spaces we will ignore this latex part in the
11816 (parseSingleLyXformat2Token \\layout): better compatibility when
11817 reading layout-latex stuff.
11818 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11820 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11821 stuff after reading the inset only get the information back from
11824 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11826 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11828 * LaTeXFeatures.C (getBabelOptions): New method.
11830 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * BufferView_pimpl.C (Dispatch): work around missing argument for
11835 2002-05-08 Juergen Vigna <jug@sad.it>
11837 * text.C (leftMargin): handle paragraph leftindent.
11839 * paragraph.C (writeFile): write the new \\leftindent tag.
11840 (validate): handle leftindent code.
11841 (TeXEnvironment): handle paragraphleftindent code again.
11843 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11845 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11846 for paragrap_extra indent code and new token \\leftindent.
11847 (latexParagraphs): handle the leftindent as environment.
11849 * ParameterStruct.h: added leftindent support.
11851 * ParagraphParameters.C (leftIndent): added support functions for
11852 the paragraph left indent.
11854 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11857 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11859 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11862 * text.C (computeBidiTables): No bidi in insetERT.
11864 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11867 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * version.C.in: pre 5
11871 2002-05-02 José Matos <jamatos@fep.up.pt>
11872 * buffer.C (makeDocBookFile): white space changes, add newline to
11874 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11876 * tabular.C (docBook): fix typo.
11878 2002-05-03 Juergen Vigna <jug@sad.it>
11880 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11881 change in LyXText as we can not be sure it was not freed.
11882 (drawOneRow): remove unused code.
11884 * text.C (drawInset): redo the calculation of the need_break_row as
11885 it could have a row which was already freed.
11886 (draw): look at the return value of drawInset and return false if
11887 it also returned false.
11888 (paintRowText): look at the return value of draw and return false if
11889 it also returned false.
11891 * lyxtext.h: added bool return type to drawInset() and draw() so that
11892 if we have a change in the row so that the rowbreak has to be redone
11893 we abort drawing as it will be called again.
11895 2002-05-02 Juergen Vigna <jug@sad.it>
11897 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11898 a change in the maintext also if we're inside an inset.
11899 (Dispatch): set the cursor again after a break line and after the
11900 screen has been updated as it could be we're in a different row.
11902 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11903 to set the cursor behind the pargraph with > size().
11904 (setCursor): check also for the same paragraph when checking where
11905 to put the cursor if we have a NFR inset.
11907 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11908 parts of layout read further up as it still was in the wrong
11911 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11913 * screen.C (drawFromTo): change sine fullRebreak always return
11916 * buffer.C (parseSingleLyXformat2Token): reindent some
11918 * BufferView_pimpl.C (update): change since fullRebreak always
11920 (Dispatch): git rid of the last hardcoded "Standard"s.
11922 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * text2.[Ch] (fullRebreak): make it return void now that we always
11927 2002-04-30 Juergen Vigna <jug@sad.it>
11929 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11930 ert compatibility check for "latex" layout.
11932 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11934 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11935 minipages: use col% instead of p%, and also use the current font.
11936 (makeLaTeXFile): Fix use babel condition.
11937 (parseSingleLyXformat2Token): Correct font when reading old floats.
11939 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11941 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11942 inserting list of floats.
11944 2002-04-25 Herbert Voss <voss@lyx.org>
11946 * MenuBackend.C (expand): don't add the graphics extensions to the
11949 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11951 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11952 non-existing layout, do not complain if it was the default layout
11953 of the original class (bug #342)
11955 2002-04-24 Juergen Vigna <jug@sad.it>
11957 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11958 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11960 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11962 * buffer.C (getBibkeyList): If using \bibliography, return the
11963 option field with the reference itself. Enables us to provide natbib
11964 support when using \bibliography.
11966 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11968 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11970 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11971 natbib is provided by the LaTeX class.
11973 2002-04-23 Juergen Vigna <jug@sad.it>
11975 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11978 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11980 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11982 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11984 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11985 ensuremath around textordmasculine, textordfeminine and
11988 2002-04-19 Juergen Vigna <jug@sad.it>
11990 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11991 reinitializing the buffer otherwise row-dimensions may be wrong.
11992 (update): reset also the selection cursors if they do exits otherwise
11993 their x/y positions may be wrong.
11995 * text2.C (cursorDown): don't enter the inset if we came from a row
11996 above and are one row over the inset.
11998 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11999 really leaving an inset.
12001 2002-04-18 Juergen Vigna <jug@sad.it>
12003 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12004 of the selected paragraph does not have the selected layout also if
12007 * text2.C (setLayout): fixed bug which did not change last selected
12010 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12011 changed the read and substituted \\end_float with \\end_inset!
12013 * BufferView_pimpl.C (cursorPrevious):
12014 (cursorNext): fixed to make it work with rows heigher than the work
12015 area without moving the cursor only the draw of the row.
12016 (workAreaMotionNotify): fix jumping over high rows.
12018 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12020 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12023 2002-04-16 Juergen Vigna <jug@sad.it>
12025 * text2.C (setCursor): set also the irow().
12026 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12028 (cursorDown): support for locking an inset if the x_fix value goes
12029 inside it. That way I can transverse insets too with cursor up/down.
12031 * lyxrow.h: added irow helper function same as other (i) functions.
12033 * BufferView_pimpl.C (cursorPrevious):
12034 (cursorNext): fixed for insets!
12036 2002-04-15 Juergen Vigna <jug@sad.it>
12038 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12039 position otherwise it is wrong in some cases.
12041 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12042 inside the inset before the call.
12044 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12046 * buffer.[Ch] (getBibkeyList): make it const.
12048 2002-04-12 Juergen Vigna <jug@sad.it>
12050 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12052 * text2.C (getCursorX): new helper function
12053 (setCursor): compute also ix_
12054 (setCursorFromCoordinates): set also ix.
12056 * lyxcursor.h: added ix_ and helper functions.
12058 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12060 * buffer.C (insertStringAsLines): dont break paragraph if the this
12061 paragraph is inside an inset which does not permit it!
12063 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12064 also with no chars on this paragraph.
12065 (paintRowText): only paint stuff if it's inside the workarea!
12067 * paragraph.C (breakParagraph): honor keepempty flag and break the
12068 paragraph always below not above.
12070 * BufferView2.C (unlockInset): update the paragraph layout on inset
12071 unlock as we changed paragraph in such a case.
12073 * lyxfind.C (LyXFind): clear the former selection if not found!
12075 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12076 again called in insertChar().
12078 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12079 an inset which uses the whole row!
12080 (rightMargin): ditto.
12081 (insertChar): force a rebreak if we inserted an inset!
12083 2002-03-28 Herbert Voss <voss@lyx.org>
12085 * lyxlength.[Ch]: add inBP() to get the right PS-point
12086 units (BigPoint). With inPixels we have rounding errors
12088 2002-04-11 Juergen Vigna <jug@sad.it>
12090 * text2.C (setCursorFromCoordinates): set iy to the right value.
12091 (setCursor): add check if row->previous exists!
12093 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12094 an old float_type as this was the case in the old code!
12096 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12098 * BufferView2.C (showLockedInsetCursor): use iy
12099 (fitLockedInsetCursor): ditto
12101 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12102 locked insets as there we have the right value now.
12104 * lyxcursor.C: added iy_ variable and iy functions to set to the
12105 baseline of cursor-y of the locked inset.
12107 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12108 (setCursor): fixed for insets which need a full row.
12110 * text.C (rowLastPrintable): don't ignore the last space when before
12111 an inset which needs a full row.
12112 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12113 as last character of a row when before a inset which needs a full row.
12115 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * version.C.in: update date
12119 * text2.C (fullRebreak): try to always return true and see what
12122 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12124 * MenuBackend.C (expand): use Floating::listName
12126 * FloatList.C (FloatList): add listName argument to the built-in
12129 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12130 text associated with the float.
12132 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12134 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12136 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12138 * ShareContainer.h: add a couple of missing typenames.
12140 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12142 * lyxrc.C (getDescription): use _() correctly rather than N_().
12144 2002-03-28 Herbert Voss <voss@lyx.org>
12146 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12147 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12149 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12152 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12154 2002-03-29 Juergen Vigna <jug@sad.it>
12156 * lyxfunc.C (dispatch): add a missing fitCursor call.
12158 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12159 it was scrolled by a cursor move, so return the bool status.
12161 * BufferView.C (fitCursor): return the bool flag also to the outside
12162 world as this is needed.
12164 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12166 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12167 call the edit() as it is not needed (and wrong) IMO.
12168 (workAreaButtonPress): set the screen_first variable before evt.
12169 unlock the inset as this may change screen_first and then we have
12170 a wrong y position for the click!
12172 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * MenuBackend.C (expand): another translation that I missed
12176 2002-03-28 Juergen Vigna <jug@sad.it>
12178 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12180 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12182 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12184 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12186 * MenuBackend.C (expand): fix export/view/update when there is no
12189 2002-03-27 Herbert Voss <voss@lyx.org>
12191 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12194 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12196 * bufferview_funcs.C (currentState): only show paragraph number
12197 for is DEVEL_VERSION is set.
12199 * lyxfunc.C (dispatch): put warning in INFO channel
12201 * MenuBackend.C (expand): translate the name of floats
12203 * FloatList.C (FloatList): mark the float names for translation
12205 * converter.C (convert): use LibScriptSearch
12207 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12209 * MenuBackend.C (defaults): fix default menu (we might as well get
12212 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12217 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12219 * lyxvc.C: reorder includes.
12221 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12223 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12226 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12228 * CutAndPaste.C: change layouts earlier on paste
12229 to avoid crashing when calling getFont()
12231 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12233 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12236 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12238 * WorkArea.C: remove 'Pending' debug message.
12240 * most files: ws cleanup
12242 * buffer.[Ch]: ws changes
12244 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12246 2002-03-21 Juergen Vigna <jug@sad.it>
12248 * tabular.C (SetMultiColumn): collapse also the contents of the
12249 cells and set the last border right. Added a Buffer const * param.
12251 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12256 2002-03-19 Juergen Vigna <jug@sad.it>
12258 * text2.C (clearSelection): reset also xsel_cache.
12260 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12261 where it needs to be called (John tells us to do so too :)
12262 (selectionLost): reset sel_cache.
12264 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12266 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12268 * text2.C (setCursorIntern): put debuging code in INSETS channel
12270 2002-03-19 André Pönitz <poenitz@gmx.net>
12272 * lyxfunc.C: tiny whitespace change
12274 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12276 * ToolbarDefaults.C (init):
12277 * LyXAction.C (init):
12279 * BufferView_pimpl.C (Dispatch):
12280 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12282 2002-03-19 Allan Rae <rae@lyx.org>
12284 * exporter.C (Export): removeAutoInsets before doing anything else.
12285 While I've just introduced a dependency on BufferView this really is
12286 the best place to clean the buffer otherwise you need to cleanup in
12287 a dozen places before calling export or cleanup in a dozen functions
12290 * converter.C (runLaTeX):
12291 (scanLog): Better handling of removeAutoInsets and screen updates.
12293 * lyxfunc.C (dispatch): small whitespace changes
12295 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12297 * WorkArea.C (C_WorkAreaEvent): return a value.
12298 (event_cb): return 1 if we handled the event, 0 otherwise.
12300 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12302 2002-03-18 Juergen Vigna <jug@sad.it>
12304 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12305 (GetAdditionalWidth): ditto.
12306 (RightLine): ditto.
12309 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12310 inset if we're there actually (probably not used right now but this
12311 is the direction to go for unifying code).
12312 (paste): disable code to clear the selection.
12314 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12315 inside an InsetText and move the check further up as it is in the
12318 * text2.C (pasteSelection): set a selection over the pasted text.
12320 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12322 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12323 and libgraphics to build on Cygwin.
12325 2002-03-15 Juergen Vigna <jug@sad.it>
12327 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12328 inserting an Inset into the paragraph. I know this is not the best
12329 fix but we already use current_view in CutAndPaste so we will remove
12330 all of it's using at the same time.
12332 * buffer.C (sgmlError): deactivated function till it is rewritten in
12333 the right mode, now it can create problems.
12335 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12336 before accessing it.
12338 2002-03-14 Juergen Vigna <jug@sad.it>
12340 * undo_funcs.C (textHandleUndo): do the right thing when updating
12341 the inset after the undo/redo.
12343 * text2.C (setCursor): just some testcode for #44 not ready yet.
12345 * undo_funcs.C (textHandleUndo): set the next() and previous()
12346 pointers of the paragraph to 0 before deleting otherwise we have
12347 problems with the Paragraph::[destructor].
12349 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12350 on a paragraph insertion.
12352 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12354 * buffer.C (asciiParagraph): use += operator for char append to
12357 * paragraph.C (getFontSettings): compare >= not just >
12358 (highestFontInRange): ditto
12361 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12363 * paragraph.C: change several algorithm to be more appripriate for
12364 the problem domain. This is lookip in FontList and in the InsetList.
12366 2002-03-13 André Pönitz <poenitz@gmx.net>
12369 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12371 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12376 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12378 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12380 * Painter.C (display): anon helper function, adjust code for this
12382 (pixmap): remove function.
12384 * Painter.h: remove private display variable.
12386 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12388 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12390 * WorkArea.[Ch]: remove figinset_canvas cruft.
12392 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * lyxtextclass.C (operator): add one item cache optimization.
12396 * bufferlist.h: doxy changes
12398 * bufferlist.C: ws changes
12400 * DepTable.[Ch] (ext_exist): place const in the right spot.
12402 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12404 (workAreaExpose): call resizeInsets when the with BufferView changes.
12405 (Dispatch): adjust for protectedBlank removal
12406 (specialChar): call updateInset if the insert went ok.
12408 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12409 specialChar instead.
12411 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12413 * BufferView.h: doxy change
12415 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12417 * lyxtextclass.C (operator[]): remove non-const version
12418 (defaultLayout): remove non-const version
12420 2002-03-12 Juergen Vigna <jug@sad.it>
12422 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12423 did resize the LyXText too.
12425 * buffer.C (readLyXformat2): set layout information on newly allocated
12428 * tabular.C (OldFormatRead): set layout information on the paragraph.
12430 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12432 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12434 2002-03-11 Juergen Vigna <jug@sad.it>
12436 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12438 (resizeCurrentBuffer): force also the insets to resize themselfes.
12439 (moveCursorUpdate): fixed up for InsetText.
12441 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12444 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12445 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12446 value of Dialogs::tooltipsEnabled().
12447 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12449 2002-03-08 Juergen Vigna <jug@sad.it>
12451 * BufferView_pimpl.C (updateInset): update inset inside inset also
12452 if it isn't inside theLockingInset().
12454 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12456 * buffer.C (asciiParagraph): redo some of the word and line length
12458 (getLists): look for Caption instead of caption.
12460 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12462 * buffer.C (Buffer): initialize niceFile to true
12464 (makeLinuxDocFile):
12465 (makeDocBookFile): make sure niceFile is true on exit
12467 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12469 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12471 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12473 * LyXSendto.C: remove.
12474 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12475 * lyx_gui.C: remove now-redundant comment.
12476 * ColorHandler.h: remove forward declaration of class WorkArea.
12477 * lyxfunc.C: remove #include "WorkArea.h".
12479 2002-03-07 Juergen Vigna <jug@sad.it>
12481 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12482 got moved away with the DEPM and also set the inset_owner always
12483 right which before could have been omitted.
12485 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12488 wanted layout is not found.
12490 2002-03-07 Juergen Vigna <jug@sad.it>
12492 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12494 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12496 * paragraph.C (breakParagraph): use default layout not layout of
12498 (Paragraph): clear ParagraphParameters.
12500 2002-03-06 Juergen Vigna <jug@sad.it>
12502 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12503 otherwise it would not be a valid lenght. Fixed a special case in
12504 the minipage compatibility read where we end the document with a
12507 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12508 was set as it could be 0 for InsetTexts first entry.
12510 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * paragraph.C (writeFile): if layout is empty write out
12513 defaultLayoutName().
12515 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12516 file without named layout we set layout to defaultLayoutName().
12518 2002-03-06 Juergen Vigna <jug@sad.it>
12520 * CutAndPaste.C (copySelection): set layout for new paragraph.
12522 * text.C (prepareToPrint): leave ERT inset left aligned
12523 (leftMargin): don't indent paragraphs inside ERT insets
12525 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * paragraph.C (breakParagraph): dont call clear do the work manually
12529 * paragraph.[Ch] (clear): remove function
12531 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12533 * paragraph.C (Paragraph): dont call clear, the work has already
12536 * lyxtextclass.C (operator): assert if n is empty
12538 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12539 work manually instead.
12541 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12543 * BufferView_pimpl.C: protect selectionLost against text == 0
12545 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * text.C (breakParagraph): fix a setting layout to '0' problem.
12549 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12551 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12552 final location of file, for the included files, and graphics.
12554 2002-03-05 Juergen Vigna <jug@sad.it>
12556 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12558 2002-03-04 Juergen Vigna <jug@sad.it>
12560 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12562 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12563 last column of multicolumn cells.
12564 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12566 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12568 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12569 file if it doesn't go to a temporary file.
12571 * buffer.C (sgmlOpenTag):
12572 (sgmlCloseTag): remove extra newline insertion.
12574 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * text.C (getRowNearY): comment out debug msg
12578 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12580 * text2.C: first -> first_y
12582 * text.C (getRowNearY): add some attemts at a possible
12583 optimization, not working.
12585 * tabular.[Ch]: add BufferParams to several function so that newly
12586 created paragraph can be initialized to he default layotu for the
12589 * tabular-old.C (ReadOld): add buf->params to call of Init
12591 * screen.C: rename text->first to text->first_y
12593 * paragraph.C (breakParagraph): always set layout in the broken
12596 * lyxtextclass.C (Read): remove lowercase
12599 (delete_layout): ditto
12601 * lyxtext.h: rename first -> first_y
12603 * lyxlayout.C (Read): remove lowercase
12606 (obsoleted_by): ditto
12608 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12610 * buffer.C (insertErtContents): add params are to InsetERT
12611 (parseSingleLyXformat2Token): add code to check if a paragraphs
12612 layout really exist.
12613 (parseSingleLyXformat2Token): add params to several inset
12615 (asciiParagraph): remove lowercase, do the layout comparisons with
12618 * BufferView_pimpl.C (cursorNext): first -> first_y
12619 (resizeCurrentBuffer): first -> first_y
12620 (updateScrollbar): first -> first_y
12621 (scrollCB): first -> first_y
12622 (workAreaMotionNotify): first -> first_y
12623 (workAreaButtonPress): first -> first_y
12624 (checkInsetHit): first -> first_y
12625 (cursorPrevious): first -> first_y
12626 (cursorNext): first -> first_y
12627 (Dispatch): add buffer_->params to severl inset contructors
12629 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * lyxlayout.C (Read): remove some debug info that I forgot.
12633 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12634 clean up the code slightly.
12635 (makeLinuxDocFile): ditto
12636 (makeDocBookFile): ditto
12638 * text2.C: layout as string
12640 * text.C: layout as string
12642 * paragraph_pimpl.C: layout as string
12644 * paragraph.[Ch]: layout as string
12646 * lyxtextclasslist.[Ch]: layout as string
12648 * lyxtextclass.[Ch]: layout as string
12650 * lyxtext.h: layout as string
12652 * lyxlayout.[Ch]: layout as string
12654 * lyx_cb.C: layout as string
12656 * bufferview_funcs.C: layout as string
12658 * bufferparams.C: layout as string
12660 * buffer.C: layout as string
12662 * LyXView.[Ch]: layout as string
12664 * LaTeXFeatures.[Ch]: layout as string
12666 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12668 * BufferView_pimpl.C: change current_layout to string, remove
12673 (workAreaButtonRelease): layout as string
12675 * BufferView2.C (unlockInset): adjust
12677 * vspace.C (asLatexCommand): use an explict temp variable.
12679 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12681 * Makefile.am: use FRONTEND_*
12683 2002-03-01 Juergen Vigna <jug@sad.it>
12685 * tabular.C (SetWidthOfMulticolCell): changed to something better
12686 I hope but still work in progress.
12687 (recalculateMulticolumnsOfColumn): renamed function from
12688 recalculateMulticolCells as it is more appropriate now.
12689 (SetWidthOfCell): calculate multicols better.
12691 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12693 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12695 * lyxfunc.C (processKeySym): print sequence also if it is
12696 `deleted' (complete)
12698 * kbsequence.C (print): print sequence even if it is deleted
12699 (complete would be a better word, actually).
12701 * lyxfunc.C (dispatch): print complete options after a prefix key
12703 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12705 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12707 * text2.C (setCharFont): eliminate setCharFont code duplication.
12709 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12711 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12712 LFUN_TABULAR_FEATURE (bug #177)
12714 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12716 * Makefile.am: remove figure.h
12718 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12720 * Bufferview_pimpl.C:
12732 * text2.C: remove #include "lyx_gui_misc.h".
12734 * LaTeX.C: added #include <cstdio>
12736 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12738 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12739 that the paragraph following this one can have.
12741 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12743 * vspace.C (asLatexCommand): fix bogus gcc warning
12745 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12747 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12749 * text2.C (setLayout): get rid of redundant code
12751 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12753 * text2.C (incDepth): make sure depth cannot be increased beyond
12756 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12758 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12759 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12761 * PainterBase.h (image):
12762 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12763 a LyXImage const *.
12765 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12769 * BufferView_pimpl.C:
12770 * BufferView_pimpl.h:
12790 * sp_spell.C: remove fig inset, and the crap house of
12791 cards that follows it
12793 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12798 * os2_errortable.h:
12799 * nt_defines.h: move .h into support/
12801 * vms_defines.h: remove
12803 * WorkArea.C: add space in debug output
12807 * buffer.C: add WITH_WARNINGS
12811 * bufferlist.C: s/retrive/retrieve/, add docs
12820 * chset.C: add docs
12822 * lyxgui.C: add ID to X error handler
12824 * lyxtestclass.c: fix typo
12826 2002-02-26 Juergen Vigna <jug@sad.it>
12828 * tabular_funcs.C (write_attribute): changed so that some default
12829 attributes are not written at all.
12830 (getTokenValue): set default values before trying to read the
12831 value so we have the return value always set as default if we don't
12832 find the token we search for.
12834 * tabular.C (Write): write bools as bools not as strings!
12836 2002-02-22 Juergen Vigna <jug@sad.it>
12838 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12839 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12841 * text.C (leftMargin): don't add an indent for paragraphs inside
12842 tabular cells (fix #208).
12844 2002-02-21 José Matos <jamatos@fep.up.pt>
12846 * tabular.C (docBook): fixed support for long tables.
12848 2002-02-20 Juergen Vigna <jug@sad.it>
12850 * text2.C (getFont): get the drawing font of the Inset if this
12851 paragraph is inside an inset (only important for InsetERT for now).
12853 * buffer.C (insertErtContents): use new lanugage params in ERT
12856 * CutAndPaste.C: commenting out seemingly uneeded code.
12858 2002-02-19 Allan Rae <rae@lyx.org>
12860 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12861 Iterators might be simple to use but they also get invalidated.
12862 (removeAutoInsets): renamed saved cursor tracking variables and added
12863 some comments to clarify what everything does.
12865 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12872 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12873 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12876 * vc-backend.h: remove #include "support/syscall.h"
12880 * converter.C: rearrange #includes in Lars' approved fashion.
12882 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12883 forward declare class Timeout in the header file.
12885 * XFormsView.C: changes due to the above.
12887 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12888 similar to LyXView.
12890 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12891 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12893 2002-02-18 José Matos <jamatos@fep.up.pt>
12895 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12898 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12900 * a lot of small ws changes
12901 * add a lot of using std::XXX
12902 * use std construcs some places where approp.
12903 * use some exisint stuff from lyxfunctional where approp.
12904 * Make file changes to use partial linking (lets test this now...)
12906 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12910 remove #include "support/syscontr.h" as it's redundant. Always has been.
12918 change Systemcalls::System to Systemcalls::Wait and
12919 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12920 No change of functionality, just reflects the stripped down Systemcalls
12923 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12925 * debug.[Ch]: add a GRAPHICS type to the enum.
12927 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12929 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12931 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12934 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12936 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12937 match the changes below.
12939 * text2.C (toggleInset): if there is not editable inset at cursor
12940 position, try to see if cursor is _inside_ a collapsable inset
12943 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12945 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12946 document menu has a nice checkbox
12948 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12950 * lyxlength.C (asLatexString): change PW to output as percent of
12953 * lengthcommon.C: change '%' to 't%'
12955 * lyxfunc.C (dispatch): a few comments from Martin
12957 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12961 * BufferView_pimpl.h:
12962 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12965 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12967 * vspace.C (inPixels): fix compiler warning
12969 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12971 * lyxfunc.C (getStatus): fix status message for disabled commands.
12973 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12975 * BufferView_pimpl.C: fix crash on close buffer
12976 during selection (#227)
12978 2002-01-27 Herbert Voss <voss@lyx.org>
12980 * buffer.C: link old Figure to new graphic inset
12982 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12984 * FontLoader.C (getFontinfo): Change the latex font names in order
12985 to match the names of type1inst.
12987 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12991 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12992 (extchanged): ditto
12994 (remove_files_with_extension): ditto
12995 (remove_file): ditto
12998 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12999 document is smaller than the work area height. Do not initialize
13000 static variables to 0.
13002 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13006 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13007 LFUN_LAYOUT_PARAGRAPHS.
13009 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13010 tabular. It is possible to provide a possible cell, which will
13011 typically be the actcell from the corresponding insettabular
13013 * lyxfunc.C (getStatus): small cleanup; disable
13014 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13017 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13019 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13021 * paragraph.C (startTeXParParams):
13022 (endTeXParParams): new methods. The LaTeX code to
13023 start/end paragraph formatting
13024 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13025 empty (fixes bug #200)
13027 * vspace.C (inPixels): adapt to the change below
13028 (inPixels): [later] more cleanups (remove unused variables)
13030 * lyxlength.C (inPixels): change to use a width and a height as
13033 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13035 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13036 Replaced with \paperwidth
13038 * DepTable.C (insert): add std:: qualifier
13040 2002-01-18 Allan Rae <rae@lyx.org>
13042 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13045 * text.C (drawInset): Turned out I didn't know enough about how
13046 rebreaking worked. This fixes most of the redraw problems. I see
13047 an occasional cursor trail when a line is broken now and the cursor
13048 placement can seem out by a few pixels also after a rebreak.
13050 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13052 * buffer.C (parseSingleLyXformat2Token): update because minipage
13053 width is now a LyXLength
13055 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13057 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13060 2002-01-17 Juergen Vigna <jug@sad.it>
13062 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13064 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13065 is set correctly and the inset is updated correctly.
13067 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13069 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13070 the beginning of the loop.
13072 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13074 * lyxrc.C: improve help for use_scalable_fonts
13076 2002-01-17 Allan Rae <rae@lyx.org>
13078 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13080 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13082 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13083 make sure to set their inset_owner to the right value (bug #171)
13085 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13088 * DepTable.C: Implement mtime checking to reduce time spent doing
13091 2002-01-16 Juergen Vigna <jug@sad.it>
13093 * tabular.C (GetAdditionalHeight): one of error fixed.
13095 * lyxrc.C (output): small fix in writing use_pspell.
13097 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13099 * sp_base.h: #include LString.h
13101 2002-01-16 Allan Rae <rae@lyx.org>
13103 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13104 Can someone check this please?
13106 * text.C (drawInset): It was possible that p.row would be removed by
13107 breakAgainOneRow upsetting a few other settings. There may be another
13108 small tweak possible by setting need_break_row = 0 when p.row has been
13109 removed but I don't know enough about the logic here.
13111 2002-01-15 Allan Rae <rae@lyx.org>
13113 * text.C (insertChar): removed conditional truism.
13115 * BufferView2.C (removeAutoInsets): More tweaks.
13116 cur_par_prev could be a stray pointer. Check for trailing empty line
13117 in case last line was cur_par and only had an error inset on it.
13119 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13121 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13124 * vc-backend.C (most methods):
13125 * exporter.C (Export):
13126 * converter.C (convert):
13128 * LyXSendto.C (SendtoApplyCB):
13129 * lyxfunc.C (dispatch):
13133 * lyx_cb.C (AutoSave):
13135 * BufferView_pimpl.C (MenuInsertLyXFile):
13136 * buffer.C (runChktex): use Buffer::filePath().
13138 * buffer.h: rename filename to filename_; rename filepath to
13139 filepath_ and make it private
13140 (filePath): new method
13142 * buffer.C (writeFile): use fileName()
13145 * lyx_main.C (init): fix starting of LyX when the binary is a
13146 link from so,ewhere else.
13148 * minibuffer.C: include <cctype> for isprint
13150 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13152 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13153 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13154 name clash with InsetCollapsable's width function.
13156 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * lastfiles.C: include <iterator>
13160 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13162 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13165 * buffer.C (makeLaTeXFile): ditto.
13166 Also make loop operation more transparent.
13168 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13170 * ToolbarDefaults.C: remove trailing comma closing namespace.
13172 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13174 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13177 * trans.C (Load): comment out unused variable, allowed.
13179 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13181 * minibuffer.[Ch] (append_char): new method to recieve input from the
13182 drop-down completion browser. If a key was pressed, then recieve this
13183 char and append it to the existing string.
13184 (peek_event): modify the positioning data passed to the completion
13185 browser so that it can be placed above the minibuffer rather than below.
13186 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * LyXAction.C (init): alloe error-next for readonly documents.
13190 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13193 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13195 * bufferlist.C (readFile): create the buffer _after_ checking that
13198 * lyxfunc.C (verboseDispatch): fix handling of arguments
13200 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13202 * lyxrc.C: use string::erase() instead of initializing to "".
13205 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13207 * BufferView_pimpl.h:
13208 * BufferView_pimpl.C:
13211 * text2.C: tell X when we have made a selection for copying
13213 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13215 * BufferView_pimpl.C (MenuInsertLyXFile):
13216 * lyxfunc.C (menuNew):
13218 (doImport): add shortcuts to directory buttons
13220 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13223 * lyxfunc.C (setStatusMessage):
13224 (getStatusMessage): new methods
13225 (getStatus):use setStatusMessage instead of setErrorMessage
13226 (dispatch): when function is disabled, set error message here
13227 [instead of in getStatus previously]
13229 * BufferView_pimpl.C (workAreaButtonRelease): update
13230 toolbar/menubar here too.
13232 2002-01-13 Allan Rae <rae@lyx.org>
13234 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13235 Now seems indestructible. Remaining task is to audit all other
13236 code affected by deleteEmptyParagraphMechanism. One small quirk
13237 left is that an empty document with an error in the preamble can
13238 be made to report an error but no error box appears. I don't know
13240 (removeAutoInsets): Improved comments.
13242 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13245 * Thesaurus.C: update for Aiksaurus 0.14
13247 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * text2.C (firstParagraph): removed member function, all uses
13250 replaces with ownerParagraph
13251 (redoParagraphs): here
13252 (updateInset): here
13253 (toggleAppendix): here
13254 * BufferView2.C (insertErrors): here
13255 (setCursorFromRow): here
13257 2002-01-13 Allan Rae <rae@lyx.org>
13259 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13260 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13261 There is still a way to segfault this although you may have to do this
13262 multiple times: Have an InsetERT with an unknown command in it.
13263 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13264 <down-arrow>, <Enter> again, View->DVI, BANG!
13266 * text2.C (setCursor):
13267 (deleteEmptyParagraphMechanism):
13268 * lyxtext.h (setCursor):
13269 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13270 Making use of the return value may help fix other bugs.
13272 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13274 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13276 * LyXView.C (updateMenubar): call MenuBar::update here
13277 (updateToolbar): but not here
13278 (showState): do not update toolbar/menubar
13280 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13281 should need to care about that.
13283 * lyxfunc.C (verboseDispatch): simplify a bit
13284 (getStatus): have a version which takes a pseudoaction, and
13285 another which requires a (kb_action,string).
13287 * LyXAction.C (retrieveActionArg): make it work also when action
13288 is not a pseudo-action.
13289 (getActionName): simplify a bit
13292 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13294 * lyxfunc.C (verboseDispatch): new families of methods with
13295 several ways to specify a command and a bool to indicate whether
13296 the command name and shortcut should be displayed in minibuffer
13297 (eventually, we could extend that to a finer bitmask like
13298 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13299 (dispatch): the pristine dispatch command which just, well,
13300 dispatchs! Note it still sets its result to minibuffer; I'm not
13303 * lyxfunc.h: remove setHintMessage
13305 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13307 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13309 * BufferView_pimpl.C (specialChar): delete new inset if we have
13310 not been able to insert it.
13312 * kbmap.C: revert to using int instead of kb_action, since all we
13313 are dealing with is pseudo-actions.
13315 * LyXAction.C (searchActionArg): change to return int instead of
13316 kb_action, since the result is a pseudoaction.
13318 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13320 * buffer.C (insertErtContents): Fix (partially) the font bug.
13322 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13324 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13325 as the other one is broken on my machine!
13327 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13330 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13332 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13334 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13335 reflect their actual use. Provide compatibility code for older lyxrc
13338 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13340 change names of popup font variables in line with the changes to lyxrc.C
13342 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13344 * buffer.C (asciiParagraph): avoid outputing a word twice after
13347 * lyxrc.C (getDescription): document that document_path and
13348 template_path can be empty.
13350 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13352 * LaTeXFeatures.C (getMacros):
13353 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13355 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13357 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13359 (getPackages): rename feature "floats" to "float". Use an array to
13360 iterate over 'simple' features (i.e. just a \usepackage). Add
13361 handling of "amsmath" (renamed from "amsstyle").
13363 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13365 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13368 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13370 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13371 FuncStaus::FuncStatus & FuncStaus::some_method().
13373 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13375 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13376 of the func_satus stuff. Edited and massaged in various ways by
13379 * lyxfunc.C (getStatus): use FuncStatus
13381 2002-01-08 Juergen Vigna <jug@sad.it>
13383 * text.C (nextBreakPoint): use function Inset::isChar().
13385 * paragraph.C (TeXOnePar): use function
13386 Inset::forceDefaultParagraphs.
13388 * buffer.C (latexParagraphs): use function
13389 Inset::forceDefaultParagraphs.
13391 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13393 * lyx_gui.C (init): set the style of the menu popups to
13394 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13396 2002-01-07 Juergen Vigna <jug@sad.it>
13398 * text.C (setHeightOfRow): small fix
13399 (prepareToPrint): don't look at alignment if we don't have the place
13402 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13404 * box.C: New file. Move the Box methods and functions out of box.h,
13405 following Lars' suggestion.
13407 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13409 * box.h: #include "support/LOstream.h", needed for inlined function.
13412 * lyxtextclasslist.C: added some using std declarations.
13414 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13416 * box.h: make signed dimensions to allow insets wider than
13417 the screen (bug #162)
13419 * BufferView_pimpl.C: add some insetHit debug
13421 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13423 * vc-backend.C: add FIXME
13425 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * lyxfunc.C (getStatus): enable code for showing math font status
13430 2002-01-07 Juergen Vigna <jug@sad.it>
13432 * text.C (nextBreakPoint): removed debug output not needed anymore.
13434 2002-01-06 Juergen Vigna <jug@sad.it>
13436 * text.C (nextBreakPoint): fixed up this function we had this bug
13437 since ever but now hopefully we break row better.
13438 (insertChar): we have to check if an inset is the next char as it
13439 could now happen that a large inset is causing a break.
13441 2002-01-05 Juergen Vigna <jug@sad.it>
13443 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13444 if it doesn't like to be drawed.
13446 2002-01-04 Juergen Vigna <jug@sad.it>
13448 * BufferView2.C (lockInset): forgot to set a cursor.
13450 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13452 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13454 * FormMathsPanel.C:
13457 * form_maths_panel.C:
13458 * form_maths_panel.h:
13459 * form_maths_panel.fd: implemented sub- and super- buttons in math
13462 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13463 (or ^ space) to be used as in TeX (req'd by André).
13465 * lyxfunc.C: Allow ^ and _ again to be used both as
13466 super/subscript (mathed) and as themselves (in text).
13468 2002-01-03 Allan Rae <rae@lyx.org>
13470 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13471 "LyX" or the filename of the current buffer if it has one. This is a
13472 modified form of John Levon's patch.
13474 * XFormsView.C (setWindowTitle): also set icon title.
13476 * LyXView.h (setWindowTitle): signature changed.
13477 * XFormsView.h (setWindowTitle): ditto.
13479 2002-01-02 Juergen Vigna <jug@sad.it>
13481 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13483 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13485 * screen.C (topCursorVisible): introduce a temp var for
13486 text->cursor.row(), handle the case where this row is null. (kindo
13489 * text2.C (setCursor): add a couple of asserts.
13491 * paragraph.h (inset_iterator): add -> operator
13493 * paragraph.[Ch] (autoDeleteInsets): remove member function
13495 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13496 cursor pos correctly and handle inset deletion by itself.
13497 (insertErrors): move iterator declaration out of for expression
13499 * lyxtextclass.C: add <algorithm>
13501 * Makefile.am: added the new files to sources, removed layout.C
13503 * layout.C: removed file
13505 * layout.h: remove LYX_DUMMY_LAYOUT
13507 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13511 * lyxtextclass.[Ch]:
13512 * lyxtextclasslist.[Ch]: new files
13514 * include order changes to a lot of files, also changes because of
13517 2001-12-27 Juergen Vigna <jug@sad.it>
13519 * buffer.C (asciiParagraph): more fixes.
13521 * tabular.C (ascii): make ascii export support export of only the
13522 data separated by a column-delimiter.
13523 (ascii): better support for ascii export.
13525 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13527 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13529 * tabular_funcs.C: use a "using std::getline" instead of the
13530 previous fix from Angus (necessary for cxx + lyxstring)
13532 2001-12-24 Juergen Vigna <jug@sad.it>
13534 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13536 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13537 problems. First check a minipage also if we have some ert-contents
13538 (not only on par->size(), second set the right depth of the paragraph
13539 on the relink to the root-paragraph-list!
13541 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13542 which then did not anymore update the main paragraphs on undo/redo!
13544 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13546 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13547 code. Support all font-changing funcs (even those which are not in
13548 menu currently). Support for reporting font settings in
13549 mathed (disabled until Andre provides a function on mathed's side).
13551 * func_status.h (toggle): small helper function to set toggle
13554 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13556 * tabular_funcs.C: getline -> std::getline
13558 2001-12-21 Juergen Vigna <jug@sad.it>
13560 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13561 accessed and could be 0 (I couldn't generate this but it seems
13564 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13567 * tabular_funcs.h: here and include iosfwd
13569 2001-12-20 Juergen Vigna <jug@sad.it>
13571 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13572 inside inset but undo_par was.
13574 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13576 * Thesaurus.C: always include <config.h> in sources.
13580 * box.h: do not include <config.h> in header files
13582 * text.C (paintLastRow): remove unused variable
13584 * text.C (transformChar):
13586 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13588 * Painter.C (text):
13589 * font.C (width): rewrite to use uppercase() instead of
13592 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13594 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13596 * lyxfind.C: clean up of find failure position change
13598 2001-12-20 Juergen Vigna <jug@sad.it>
13600 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13602 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13603 (TeXRow): added to LaTeX a single tabular row.
13604 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13605 (Latex): simplified and finally good LT-h/f support.
13606 (various_functions): just small adaptions for LT-h/f support.
13608 * tabular_funcs.[hC]: added and moved here all not classfunctions
13611 2001-12-19 Juergen Vigna <jug@sad.it>
13613 * tabular.[Ch]: better support for longtabular options (not finished
13616 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13618 * text.C (paintLastRow): use the label font instead of the font of
13619 the last character to compute the size of *_BOX. This makes more
13620 sense and avoids a crash with empty paragraphs.
13621 Use Painter::rectangle to draw EMPTY_BOX.
13623 2001-12-19 Juergen Vigna <jug@sad.it>
13625 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13626 the paragraphs if the replaced paragraph is not the first one!
13627 Tried to delete not used paragraphs but does not work yet so for
13628 now it's inside #ifdef's and by default off!
13630 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13632 * MenuBackend.C: include "lyx_main.h" instead of declaring
13633 lastfiles (actually was declared as LastFiles* instead of a
13636 2001-12-17 Juergen Vigna <jug@sad.it>
13638 * tabular.C (AppendColumn): applied John's fix
13640 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13644 * BufferView_pimpl.h:
13645 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13648 * box.h: new start of class for above
13650 * lyxfunc.C: ignore space-only minibuffer dispatches.
13651 Show the command name when it doesn't exist
13653 * minibuffer.C: don't add empty lines to the history
13655 * minibuffer.C: add a space on dropdown completion
13657 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13659 * text.C: fix line above/below drawing in insets
13661 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * lyxlength.C (LyXLength): Initialize private variables.
13665 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13667 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13668 when inserting error insets.
13670 2001-12-13 Juergen Vigna <jug@sad.it>
13672 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13673 actually sometimes the before-paragraph.
13674 (setUndo): don't clear the redostack if we're not actually undoing!
13676 2001-12-06 Juergen Vigna <jug@sad.it>
13678 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13679 and fixed redoing of main paragraph, so we can use it now ;)
13681 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13683 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13685 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13688 2001-12-13 André Pönitz <poenitz@gmx.net>
13691 * undo_func.C: minor cleanup
13693 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13695 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13696 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13697 font in urw-fonts package which is marked as -urw-fontspecific and
13698 does not work (incidentally, changing the encoding in the
13699 fonts.dir of this package to -adobe-fontspecific fixes the
13702 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13703 is a crash when undoing first paragraph (Juergen, please take a
13704 look). THis does not mean the undo fix is wrong, just that it
13707 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13708 the (Paragraph*) version when needed instead of duplicating the
13711 * text.C (workWidth): use Inset::parOwner to find out where the
13712 inset has been inserted. This is a huge performance gain for large
13713 documents with lots of insets. If Inset::parOwner is not set, fall
13714 back on the brute force method
13716 * paragraph_pimpl.C (insertInset):
13717 * paragraph.C (Paragraph):
13718 (cutIntoMinibuffer): set parOwner of insets when
13719 inserting/removing them
13721 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13723 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13729 * mathed/formulabase.C:
13730 * mathed/math_cursor.[Ch]:
13731 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13734 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * lyxlength.[Ch] (operator!=): new function
13738 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13740 * text.C (workWidth): use Inset::parOwner to find out where the
13741 inset has been inserted. This is a huge performance gain for large
13742 documents with lots of insets. If Inset::parOwner is not set, fall
13743 back on the brute force method
13745 * paragraph_pimpl.C (insertInset):
13746 * paragraph.C (Paragraph):
13747 (cutIntoMinibuffer): set parOwner of insets when
13748 inserting/removing them
13750 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13752 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13754 * tabular-old.C (getTokenValue):
13755 * tabular.C (getTokenValue):
13756 (write_attribute): new versions for LyXLength
13757 (everywhere): adjust the use of widths
13759 * tabular.h: change the type of widths from string to LyXLength
13761 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13763 * paragraph.C: fixed missing line number count when exporting
13764 Environments to LaTeX file
13766 * buffer.C: added informational message for checking line numbers.
13768 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13770 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13771 paragraph, do the 'double space' part, but not the 'empty
13774 * text.C (workWidth): small optimization
13775 (getLengthMarkerHeight): use minimal size for negative lengths.
13777 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13779 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13781 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13783 2001-12-11 André Pönitz <poenitz@gmx.net>
13786 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13788 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13790 * text2.C: keep selection on a setFont()
13792 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13794 * lyx_cb.C: another bv->text misuse, from insert label
13796 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13799 * kbsequence.C: re-instate nmodifier mask
13801 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13803 * lyx_main.h: make lyxGUI private.
13805 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13807 * lyxfind.C: place the cursor correctly on failed search
13809 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13811 * text.C (getLengthMarkerHeight): for small heights, the arrows
13812 are not always on top/bottom of the text
13813 (drawLengthMarker): smaller arrows; take the left margin in
13814 account; draw also vfills.
13816 (paintLastRow): remove special code for vfill and standard spaces,
13817 since everything is handled in drawLengthMarker now.
13819 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13821 * buffer.C (insertErtContents): try to handle font and language
13822 interaction a bit better.g
13824 * ColorHandler.C (updateColor): change the hash to cover the whole
13825 LColor enum, ws cleanup
13826 (getGCLinepars): ditto
13827 (getGCLinepars): only lookup in the linecache once.
13829 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13831 * iterators.C (operator++): Make the iterator more robust
13833 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13837 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13840 * text.C: better added space drawing
13842 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13845 * BufferView2.C: fix layout combo update on inset unlock
13847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13849 * Makefile.am: don't compile unused files
13851 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13855 * LyXAction.C: remove old LFUN_LAYOUTNO
13857 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13859 * paragraph_pimpl.h:
13860 * paragraph_pimpl.C: isTextAt() doesn't need font param
13862 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13865 * lyxlex.C: little cleanup
13867 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13869 * BufferView_pimpl.C: fix insertAscii for insets
13871 2001-12-05 Juergen Vigna <jug@sad.it>
13873 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13874 set the right font on the "multi" paragraph paste!
13876 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13882 * lyxlength.C: remove out-commented code.
13884 * BufferView_pimpl:
13898 * vc-backend.C: change "while(" to "while ("
13900 * lyxlength.[Ch]: add zero function to check if length is zero or
13902 * lyxgluelength.C: use it
13904 2001-12-05 Allan Rae <rae@lyx.org>
13906 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13907 Works for 2.95.3, from what I understand of Garst's reports this should
13908 work for other g++ versions. We're screwed if the abs(int) definition
13909 changed between bugfix releases of gcc.
13911 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13913 * text.C: fix chapter label offset !
13915 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13918 * text.C: fix hfill at end of line, clean up
13920 2001-12-04 Juergen Vigna <jug@sad.it>
13922 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13923 that we force an update of the inset and it's owners if neccessary.
13925 2001-12-03 Juergen Vigna <jug@sad.it>
13927 * text.C (rowLast): simplified code
13929 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13931 * lyxfunc.C: fix show options on timeout
13933 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13935 * screen.C (topCursorVisible): scroll half a page when the cursor
13936 reached top of bottom of screen
13938 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13940 * minibuffer.C: deactivate on loss of focus
13942 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13944 * vspace.[Ch] (operator!=): add operator.
13946 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13948 * BufferView_pimpl.C: refuse to open an inset when
13949 there's a selection.
13951 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13953 * BufferView_pimpl.C: allow to click on RHS of full row insets
13955 2001-11-30 Juergen Vigna <jug@sad.it>
13957 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13958 insets for undo reasons.
13960 2001-11-28 André Pönitz <poenitz@gmx.net>
13962 * vspace.[Ch]: cosmetical changes
13964 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13974 * kbsequence.C: part re-write of old kb code
13977 * WorkArea.C: remove Lgb_bug_find_hack
13979 2001-11-30 José Matos <jamatos@fep.up.pt>
13981 * buffer.C (makeDocBookFile): add a comment to point a hack.
13982 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13983 Fixed a double write of labels.
13985 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13988 * LaTeX.h Fixed bug in LaTeX class where it would not
13989 re-run latex if no depfiles were changed, but the .dvi was removed.
13991 2001-11-28 André Pönitz <poenitz@gmx.net>
13993 * all the files from the change on 2001/11/26:
13994 use lyx::layout_type instead of LyXTextClass::size_type
13995 use lyx::textclass_type instead of LyXTextClassList::size_type
13997 2001-11-29 Juergen Vigna <jug@sad.it>
13999 * text.C: added support for paragraph::isFreeSpacing()
14001 * buffer.C: same as above
14003 * paragraph.h: inserted isFreeSpacing() function to enable
14004 FreeSpacing inside InsetERT.
14006 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14007 of the paragraph's in the cut/copy buffer to 0!
14009 * text2.C (removeRow): remove the assert as it can!
14011 * lyxtext.h: added helper function firstRow returning firstrow and
14012 made firstrow private again.
14014 * BufferView2.C (lockInset): don't relock if we're already locked!
14016 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14017 the only paragraph.
14018 (removeRow): added Assert::(firstrow)
14020 * debug.C: forgot to add INSETTEXT here.
14022 2001-11-28 Juergen Vigna <jug@sad.it>
14024 * sp_spell.C (initialize): changed error text to more general
14025 spellchecker command use (not only ispell!)
14027 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14029 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14031 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14033 * vspace.C: initialise lyxgluelength on failure
14035 2001-11-28 Allan Rae <rae@lyx.org>
14037 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14038 declaration & definition that looks like a function declaration.
14040 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * BufferView2.C (copy):
14043 (copyEnvironment): do not clear the selection when doing a copy.
14045 * text.C (paintFirstRow): compilation fix
14047 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14049 * tabular.C (Latex): correct line count when writing latex.
14051 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14053 * paragraph_pimpl.h:
14054 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14057 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14061 * LColor.C: change vfillline->added_space
14063 * text.C: add markers and text for added space
14065 * vspace.C: fix comment
14067 2001-11-28 André Pönitz <poenitz@gmx.net>
14069 * paragraph.C: whitespace changes
14070 * all the other files from the change on 2001/11/26:
14071 change *::pos_type into lyx::pos_type
14073 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14075 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14076 language of the document when inserting error insets.
14078 2001-11-26 André Pönitz <poenitz@gmx.net>
14080 * BufferView_pimpl.[Ch]:
14088 * paragraph_pimpl.[Ch]:
14091 * text2.C: reduce header dependencies, introduce type for positions
14093 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14095 * <various>: change to use Alert.h
14097 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14099 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14100 when encountering an unknown token.
14101 (readLyXformat2): Show an error message if there were unknown tokens.
14103 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14106 * BufferView_pimpl.C:
14110 * text2.C: use par->isInset()
14112 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14114 * paragraph_pimpl.h:
14115 * paragraph_pimpl.C: cleanup
14117 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14119 * text2.C (removeRow):
14120 * text.C (setHeightOfRow): remove useless (and costly) call to
14123 2001-11-20 Allan Rae <rae@lyx.org>
14125 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14126 Now need Inset*::checkInsertChar() to return true for appropriate
14127 cases so that the characters in the minibuffer will actually be
14130 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14132 * text.C: change the order of the includes.
14133 (workWidth): initialize it at once.
14134 (workWidth): make maxw unsigned
14135 (setHeightOfRow): remove unused variable (inset)
14136 (selectSelectedWord): remove unused variable (inset)
14137 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14139 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14141 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14142 server is not running.
14144 (closeConnection): add debug info when server is disabled.
14146 * ColorHandler.C (getGCForeground): send debug message to GUI
14149 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14151 * kbmap.C (bind): modify because return conventions of
14152 kb_sequence::parse have changed.
14154 * kbsequence.C (parse): only ignore spaces and not any stupid
14155 control character. This avoids tests like s[i] <= ' ', which are
14156 guaranteed to fail with 8bit characters and signed chars.
14157 Change return code to string::npos when there have been no error
14158 (0 was a bad idea when error is at first character)
14160 2001-11-14 José Matos <jamatos@fep.up.pt>
14163 * buffer.C (simpleDocBookOnePar): removed unused argument.
14165 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14167 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14168 insets which are part of a word. Paragraph::isLetter takes care of
14169 that now. Use Paragraph::isInset to identify insets.
14170 (selectSelectedWord): do not test for hyphenation break.
14172 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14173 that protected spaces are considered as spaces.
14175 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14178 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14181 * lyxserver.C: fix it. and small cleanup.
14183 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14185 * BufferView_pimpl.C: use inline helpers
14188 * LaTeXFeatures.C: fix typos
14191 * Spacing.C: move spacing_string into class
14193 * ToolbarDefaults.C: move stuff into namespace anon
14195 * layout.h: update enum
14197 * lyxfunc.C: use better debug
14199 * minibuffer.h: fix typo
14203 * WorkArea.C: add and use Debug::WORKAREA
14207 * text2.C: code re-organisation, inline helpers
14209 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14211 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14212 std::vector.empty().
14214 2001-11-09 Allan Rae <rae@lyx.org>
14216 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14217 '\n's after tables. Tabular and ERT inset work now makes this no
14220 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14223 * minibuffer.C: fix crash, improve drop-down completion
14225 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14228 * lyxserver.C: invalidate fd's when doing endPipe()
14230 2001-11-08 José Matos <jamatos@fep.up.pt>
14232 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14233 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14236 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14238 2001-11-07 José Matos <jamatos@fep.up.pt>
14241 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14244 * buffer.C (sgmlOpenTag):
14245 * buffer.C (sgmlCloseTag): removed debug info.
14247 * buffer.h (sgmlOpenTag):
14248 * buffer.h (sgmlCloseTag): made public.
14250 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * buffer.C (saveParamsAsDefaults):
14253 * lyx_cb.C (MenuLayoutSave): remove
14255 * LyXAction.C (init):
14257 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14259 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * buffer.C (setPaperStuff): removed from here...
14263 * bufferparams.C (setPaperStuff): ... and moved there.
14265 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14269 * XFormsView.C: add support for drop-down completion
14271 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14273 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14276 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14281 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14283 * lyx_main.C: change ref to known bugs
14285 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14287 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14288 to work around older babel problems.
14290 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14292 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14294 2001-10-24 Juergen Vigna <jug@sad.it>
14296 * tabular-old.C (ReadOld): below variable changes reflected.
14298 * tabular.[Ch]: added ltType struct for longtable header/footer
14299 defines and changed all instances where they are used. Added
14300 future support for double top/bottom rows.
14302 2001-10-24 José Matos <jamatos@fep.up.pt>
14304 * buffer.h (docbookHandleCaption):
14305 * buffer.C (docbookHandleCaption): removed unused function.
14306 (makeDocBookFile): moved docbook supported version to v4.1.
14308 2001-10-24 José Matos <jamatos@fep.up.pt>
14311 * tabular.C (docbookRow): new function to export docbook code of a row.
14312 (DocBook): now honors the longtable flags.
14314 2001-10-23 José Matos <jamatos@fep.up.pt>
14317 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14318 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14320 * buffer.C (makeLinuxDocFile):
14321 (makeDocBookFile): reworked the preamble, more clean, and with
14322 support for lyx defined entities. Changed the document declaration
14323 to be more XML friendly.
14325 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14326 if we need to output XML that should be done with a filter.
14328 2001-10-22 Juergen Vigna <jug@sad.it>
14330 * sp_pspell.h (class PSpell): add alive function needed in the
14331 controller to see if the spellchecker could be started.
14333 2001-10-22 Juergen Vigna <jug@sad.it>
14335 * buffer.C (insertStringAsLines): modify the font for inserting
14336 chars in certain conditions by calling checkInsertChar(font).
14338 2001-10-19 Juergen Vigna <jug@sad.it>
14340 * text.C (workWidth): use getRow instead of wrong algorithm.
14341 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14343 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14348 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14350 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14352 * text.C (workWidth): do not search for the exact row when
14353 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14354 optimization for big documents.
14356 2001-10-18 Juergen Vigna <jug@sad.it>
14358 * text.C (workWidth): new function with added Inset * parameter.
14360 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14362 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14364 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14365 change return type of getColumnNearX.
14368 * text.C (changeRegionCase): use uppercase/lowercase instead of
14371 (rightMargin): simplify code by factoring out the uses of
14376 (appendParagraph): use Paragraph::size_type
14378 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14380 * vspace.C (asLatexString): add a missing break
14382 2001-10-15 Herbert Voss <voss@perce.de>
14384 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14386 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14388 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14391 2001-10-10 André Pönitz <poenitz@gmx.net>
14393 * lyxfunc.C: removed greek_kb_flag.
14395 2001-10-10 Herbert Voss <voss@perce.de>
14397 * lyx_main.C: delete global string help_lyxdir.
14399 2001-10-09 Herbert Voss <voss@perce.de>
14401 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14403 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14405 * lyx_main.C: added global string help_lyxdir.
14407 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14409 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14411 * lyxrc.C (set_font_norm_type): support iso8859-4
14413 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14415 * LaTeX.C (deplog): add another regex for MikTeX
14417 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14419 * lyxrc.C (set_font_norm_type): support iso8859-3
14421 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14423 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14425 * LaTeXFeatures.C: remove special case of french and index
14427 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14428 before \begin{document}). This solves several incompatibilities.
14430 2001-10-03 Garst Reese <reese@isn.net>
14432 * lyx_cb.C: change CheckTex error msg.
14434 2001-10-03 José Matos <jamatos@fep.up.pt>
14436 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14438 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14440 * .cvsignore: update
14442 * lyx_main.C (commandLineVersionInfo): use new style version info.
14444 * buffer.C (writeFile):
14446 (makeLinuxDocFile):
14447 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14449 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14451 * version.h: update to use stuff in version.C
14453 * version.C.in: new file. Contains version information determined
14454 at compile time. This is a merging of version.h and
14457 2001-10-03 Juergen Vigna <jug@sad.it>
14459 * BufferView_pimpl.C (update): don't change "dirty" status in
14462 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14464 * WorkArea.C (c-tor): re-position version string slightly.
14466 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14468 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14469 revert to previous code.
14471 WorkArea.[Ch]: (show, destroySplash): methods removed.
14473 WorkArea.C: rework code so that it's an amalgam of the codes before and
14474 after the splash screen was moved to WorkArea.
14476 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14479 * vspace.C (inPixels):
14482 * buffer.C (insertStringAsLines):
14483 (asciiParagraph): fix types to be large enough
14485 * lyxlex_pimpl.h: change member status from short to int
14487 * layout.h: fix type of endlabeltype
14490 * kbsequence.C (parse): change return type to string::size_type
14492 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14495 * Bullet.C (bulletSize):
14496 (bulletEntry): do not use short ints as parameters
14498 * BufferView2.C (insertLyXFile): change a char to an int.
14500 * WorkArea.C (WorkArea): remove unneeded floats in computation
14502 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14504 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14506 * paragraph.C (asString): Do not ignore newline/hfill chars when
14507 copying to the clipboard.
14509 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14511 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14512 after a multi-line inset.
14514 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14516 * paragraph.C (validate): Set NeedLyXFootnoteCode
14518 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14520 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14521 and decrease-error to decrease.
14523 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14526 it more readable (should be equivalent)
14528 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14530 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14532 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14534 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14535 of a cursor (row, etc.) after a character has been deleted
14536 (deleteEmptyParagraphMechanism): call the method above on _all_
14537 cursors held by the LyXText when a double space has been
14540 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14542 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14544 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14546 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14547 background. Use greyOut() and the new show() methods to toggle between
14548 the foreground and background. Add code to remove the splash after
14549 its initial showing.
14551 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14552 (create_forms): no longer call Dialogs::showSplash.
14554 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * .cvsignore: add version_info.h
14558 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14560 * version_info.h.in: new file
14562 * Makefile.am: add version_info.h.in
14564 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14565 version_info.h instead of VERSION_INFO
14567 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14569 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14570 The ERT inset now returns string().
14572 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14574 * lyxtext.h, text.C (selectNextWord): renamed as
14575 selectNextWordToSpellcheck.
14577 * text.C (selectNextWordToSpellcheck): Modified to not select
14578 words inside an ERT inset.
14580 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14582 * lyx_cb.C (MenuLayoutSave): change a bit the question
14584 * sp_base.h: include <sys/types.h>
14586 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14588 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14590 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14592 * several files: fix typos in user-visible strings
14594 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14596 * text2.C (pasteSelection): do not set the selection, since it
14597 will be cleared later. Actually, the intent was to fix the way the
14598 selection was set, but I figured rmoving the code was just as good.
14600 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14602 * FontLoader.C (available): Check if font is available without
14605 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14607 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14609 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14611 * lyxrc.[Ch]: added display_graphics variable and associated code.
14613 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14615 * bufferparams.C (hasClassDefaults): new method. Returns true if
14616 the buffer parameters correspond to known class defaults
14618 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14620 * XFormsView.C (show): set minimum size to the main window.
14622 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14624 * text2.C (copySelection):
14626 * lyxfind.C (LyXReplace):
14627 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14628 LyXText::selectionAsString.
14630 * paragraph.C (asString): add "label" argument to the second form
14632 * text2.C (selectionAsString): add "label" argument and pass it to
14633 Paragraph::asString.
14635 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14637 * lyx_main.C (commandLineHelp): remove version information
14639 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14641 * lyx_main.C: add -version commandline option
14643 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * paragraph.h: make the optional constructor arg required instead.
14646 some modifications to other files because of this.
14648 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14650 * lyxserver.C (C_LyXComm_callback): make it static
14652 * lyx_main.C (error_handler): make it static
14654 * lyx_gui.C (LyX_XErrHandler): make it static
14656 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14658 * WorkArea.C: make the extern "C" methods static.
14660 * Makefile.am (lyx_LDADD): simplify
14662 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14664 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14665 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14667 * LyXAction.C (init):
14668 * lyxfunc.C (dispatch): associated code removal.
14670 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14672 * lyxfont.h (isSymbolFont): shut off warning
14674 * text.C (setHeightOfRow):
14675 (getVisibleRow): fix crash with empty paragraphs which have a
14678 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14680 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14683 2001-09-04 José Matos <jamatos@fep.up.pt>
14686 * tabular.C (docbook): rename docBook method to docbook.
14688 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14690 * Makefile.am: add dependencies to main.o.
14692 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14694 * FontLoader.C (available): Return false if !lyxrc.use_gui
14696 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14698 * FontInfo.C (query):
14699 * converter.C (view):
14700 * importer.C (Import):
14701 * exporter.C (Export): Can not -> cannot.
14703 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14705 * BufferView_pimpl.C: allow to create index inset even if
14708 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14710 * buffer.C (getLists): replace boost::tie code with an explicit pair
14711 as boost::tie can break some compilers.
14713 * iterators.h: Added a std:: declaration to the return type of
14716 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14718 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14721 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14723 * iterators.[Ch]: New files. Provide paragraph iterators.
14725 * buffer.C (changeLanguage): Use paragraph iterators.
14726 (isMultiLingual): ditto
14728 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14730 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14732 * FontLoader.C: Support for cmr font.
14734 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14736 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14737 (available): New method.
14739 * FontInfo.C (getFontname): Use scalable fonts even when
14740 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14743 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14745 * converter.C (Formats::view): reverted! Incorrect fix.
14747 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14749 * converter.C (Formats::view): only output the -paper option
14750 if the dvi viewer is xdvi, thereby fixing bug #233429.
14752 2001-08-23 Herbert Voss <voss@perce>
14754 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14756 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14758 * Spacing.h (Spacing): Set space to Default on in the default
14761 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14763 * vc-backend.h (RCS::versionString): add RCS to version
14764 (CVS::versionString): add CVS to version
14766 * vc-backend.C (scanMaster): do not add CVS to version.
14767 (scanMaster): do not add RCS to version
14769 * lyxvc.C (versionString): new method
14771 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14773 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * Spacing.C (set): initialize fval
14777 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14779 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14782 2001-08-16 Juergen Vigna <jug@sad.it>
14784 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14786 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14788 * BufferView_pimpl.C:
14791 * text2.C: setParagraph takes linespacing now
14793 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14795 * LyxAction.C: add internal LFUN_CITATION_INSERT
14797 * LyXView.C: actually apply fix
14799 * bufferlist.C: fix open non-existent file
14801 * lyxfind.C: fix indentation
14803 * lyxfunc.C: remove unneeded assert, fix typo
14805 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14807 * MenuBackend.C: use "Floatname List"
14809 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14811 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14812 when converting LaTeX layout to insetERT.
14813 Generate a non-collapsed float when reading old float
14815 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14817 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14820 2001-08-13 Juergen Vigna <jug@sad.it>
14822 * text.C (fill): return 0 instead of 20 as this seems to be the more
14825 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14827 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14830 2001-08-13 Juergen Vigna <jug@sad.it>
14832 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14834 (SearchBackward): comment out the unlocking of the inset_owner this
14835 should not be needed!
14837 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14839 * Many files: Remove inherit_language, and add latex_language
14841 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14842 collapsible insets.
14844 2001-08-10 Juergen Vigna <jug@sad.it>
14846 * text.C (prepareToPrint): fixed hfill-width in draw!
14848 * BufferView2.C (selectLastWord): save the selection cursor as this
14849 now is cleared in the function LyXText::clearSelection!
14851 2001-08-08 Juergen Vigna <jug@sad.it>
14853 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14854 BACKSPACE type functions.
14856 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14857 is only cutted from the document but not put in the cut-buffer, where
14858 still the old stuff should be.
14860 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14862 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14864 * tabular.C (SetWidthOfCell): fixed special case where the width
14866 (LeftLine): handle '|' in align_special.
14868 (LeftAlreadyDrawed): ditto
14869 (SetWidthOfCell): ditto
14871 2001-08-07 Juergen Vigna <jug@sad.it>
14873 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14875 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14877 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14878 * lyxlex.[hC]: ditto
14880 2001-08-06 Juergen Vigna <jug@sad.it>
14882 * text.C (getVisibleRow): fix up row clearing a bit.
14884 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14886 * minibuffer.C: make sure the X server sees the changes in the input.
14888 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14890 * paragraph.C (getFont): split into...
14891 (getLabelFont): this
14892 (getLayoutFont): and this
14893 * paragraph_pimpl.C (realizeFont): calling this
14895 * text2.C (getFont): split into...
14896 (getLayoutFont): this
14897 (getLabelFont): and this
14898 (realizeFont): all three calling this
14900 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14903 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14905 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14907 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14909 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14910 layouts from the Quote inset insertion.
14912 2001-08-03 Juergen Vigna <jug@sad.it>
14914 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14916 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14917 only if status not is already CHANGED_IN_DRAW (second level).
14919 * text.C (draw): don't set the need_break_row when inside an
14922 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14924 * buffer.C (parseSingleLyXformat2Token): handle more latex
14927 * bufferview_funcs.[hC]: change function names to
14928 begin with small char, adjust other files.
14930 2001-08-02 André Pönitz <poenitz@gmx.net>
14933 BufferView_pimpl.C: remove broken special code for math-greek
14935 2001-08-02 Juergen Vigna <jug@sad.it>
14937 * BufferView_pimpl.C (update): redone this function so that we
14938 update the text again if there was a CHANGE_IN_DRAW.
14940 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14941 (drawFromTo): added a new internal bool which is used by draw() and
14943 (general): some cursor drawing problems fixed.
14945 2001-08-01 Juergen Vigna <jug@sad.it>
14947 * lyxfind.C (LyXFind): fixed
14948 (SearchForward): ditto
14949 (SearchBackward): ditto
14951 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14952 spurius drawing of the cursor in the main area.
14954 * text2.C (status): small fix which could lead to a segfault!
14955 (clearSelection): remove unneeded BufferView param.
14957 2001-08-01 André Pönitz <poenitz@gmx.net>
14959 * lyxfunc.C: small change due to changed mathed interface
14961 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14963 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14965 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14967 * lyxfunc.c: fail gracefully if file doesn't exist
14972 * BufferView_pimpl.C: IsDirWriteable() proto changed
14974 * LyXView.C: fix updateWindowTitle() to store the last title
14976 2001-07-31 Juergen Vigna <jug@sad.it>
14978 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14979 the font (wrong since using of Paragraph::highestFontInRange).
14981 * paragraph.C (highestFontInRange): added a default_size parameter.
14983 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14984 (setHeightOfRow): reformat
14986 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14988 * converter.[hC] + affected files: move to (inital-char)lowercase
14991 * ParagraphParameters.C (ParagraphParameters): remove commented code
14993 * PainterBase.[Ch]: remove commented code
14995 * LaTeXFeatures.h: add "bool floats" for float.sty
14997 * LaTeXFeatures.C (LaTeXFeatures): init floats
14998 (require): handle float
14999 (getPackages): do it with floats
15001 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * BufferView_pimpl.C (Dispatch): improve handling of
15004 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15006 * commandtags.h: #include lyxfont.h here temporarily to avoid
15009 * bufferlist.h: include LString.h here.
15011 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15013 * text2.C (getStringToIndex): new method.
15015 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15017 * *: Reduced header file dependencies all over.
15019 2001-07-30 Baruch Even <baruch@lyx.org>
15021 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15023 2001-07-29 Baruch Even <baruch@lyx.org>
15025 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15027 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15029 * ParameterStruct.h (endif): add a default constructor to make
15030 sure that all variables is initialized.
15032 * ParagraphParameters.C (ParagraphParameters): adjust
15034 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15036 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15037 index; also, check that there is something to index, and that it
15038 does not span over several paragraphs.
15039 (doubleClick): use WHOLE_WORD_STRICT for double click.
15041 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15043 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15046 2001-07-26 Baruch Even <baruch@lyx.org>
15048 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15049 an InsetFig figure, backwards compatible reading of old figure code.
15051 2001-07-27 Juergen Vigna <jug@sad.it>
15053 * text2.C: font.realize function adaption.
15055 * text.C (draw): add a warnings lyxerr text if needed.
15057 * layout.C: font.realize function adaption.
15059 * language.C: add inherit_language and implement it's handlings
15061 * bufferview_funcs.C (StyleReset): remove language parameter from
15062 font creation (should be language_inherit now).
15064 * bufferparams.C (writeFile): handle ignore_language.
15066 * paragraph.C (getFontSettings): the language has to be resolved
15067 otherwise we have problems in LyXFont!
15069 * lyxfont.C (lyxWriteChanges): added document_language parameter
15070 (update): removed unneeded language parameter
15072 * paragraph.C (validate): fixed wrong output of color-package when
15073 using interface colors for certain fonts in certain environments,
15074 which should not seen as that on the final output.
15076 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15078 * BufferView_pimpl.C:
15083 * LyXAction.C: add thesaurus support
15086 * lyxfind.C: add "once" parameter, for thesaurus, to not
15087 move to the next match
15089 2001-07-26 Juergen Vigna <jug@sad.it>
15091 * lyxfont.C (realize): honor ignore_language too!
15094 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15096 * text.C (draw): one place more for ignore_language to not draw
15099 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15101 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15103 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15105 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15106 the minipage conversion problem.
15108 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15110 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15113 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15115 * BufferView.h: don't forward declare WorkArea
15117 * BufferView.C: don't include WorkArea.h
15119 2001-07-25 André Pönitz <poenitz@gmx.net>
15123 * lyxfunc.C: new LFUN 'math-space'
15125 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15127 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15129 * text2.C (toggleInset): call open/close
15131 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * lyxfunc.C (dispatch): add debug for the disabled case
15135 * font.C (buttonText): make similar to rectText
15137 * buffer.C (readInset): comment out parsing of insetlist and
15140 * PainterBase.C (rectText): small correction
15142 * BufferView_pimpl.C: comment out insettheorem and insetlist
15143 * LyXAction.C: ditto
15144 * commandtags.h: ditto
15146 2001-07-24 Juergen Vigna <jug@sad.it>
15148 * text.C (draw): honor the ignore_language.
15150 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15152 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15157 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15159 * lyxtext.h: remove unused (and unimplemented) methods
15161 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15163 * text.C (getVisibleRow): honor background color
15166 * Painter.h: remove default color argument for fillRectangle
15168 * text.C (backgroundColor): new method
15170 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15172 * text.C (getVisibleRow): adjust
15174 * font.[Ch] (rectText): new method, metrics
15175 (buttonText): new method, metrics
15177 * PainterBase.[hC]: make rectText and buttonText always draw and take
15180 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15182 * ToolbarDefaults.C (read):
15183 * MenuBackend.C (read): allow escaping in all strings
15185 * BufferView_pimpl.C (insertAndEditInset): new method.
15186 (Dispatch): use insertAndEditInset whenever appropriate.
15188 * BufferView_pimpl.C (insertNote): removed
15190 * BufferView_pimpl.C (smartQuote): new method, moved from
15191 BufferView; if an insetquote cannot be inserted, insert a '"'
15194 * BufferView2.C: remove insertCorrectQuote();
15196 * lyxfunc.C (getStatus): Add support for all remaingin
15197 inset-insert lfuns.
15199 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15201 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15202 command (necessary to pass " as parameter of self-insert.
15204 * text.C (selectWordWhenUnderCursor):
15205 (selectWord): add word_location parameter
15206 (selectWordWhenUnderCursor): same + remove special code for word
15208 (selectNextWord): use kind() to guess type of insetspecialchar,
15211 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15212 (insertErtContents): create ert insets as collapsed.
15213 (readInset): better compatibility code for Info inset.
15215 2001-07-20 Juergen Vigna <jug@sad.it>
15217 * lyxfunc.C (dispatch): use always LyXFind now!
15219 * text2.C (init): add a reinit flag so that the LyXText can be
15220 reinited instead of deleted and reallocated (used in InsetText).
15222 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15228 2001-07-18 Juergen Vigna <jug@sad.it>
15230 * text.C (selectNextWord): handle insets inside inset by calling
15231 always the bv->text functions so that we can go up the_locking_inset!
15233 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15234 in strange locations when inside an inset!
15236 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15237 handling to include insets.
15239 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15241 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15243 * LyXAction.C (init):
15245 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15246 LIGATURE_BREAK, since the name is so stupid.
15248 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15250 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15253 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15255 * sp_form.[Ch]: remove.
15257 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15259 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15262 * src/buffer.C (readInset): ditto.
15264 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15266 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15267 menuSeparator(), endOfSentenceDot(), ldots() and
15268 hyphenationPoint(), which are therefore removed.
15269 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15271 * LyXAction.C (init):
15272 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15274 * paragraph.C (getWord): removed.
15276 * BufferView_pimpl.C (Dispatch): use last word or selection for
15277 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15279 * lyx_main.C (queryUserLyXDir): do not ask before creating
15280 user_dir, except if it has been named explicitely.
15282 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15284 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15285 a document of zero size.
15287 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15289 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15290 approriately in the c-tor and in require().
15291 (getPackages): output the appropriate LaTeX for natbib support.
15293 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15294 variables "use_natbib" and "use_numerical_citations" when reading the
15296 (readInset): read the various natbib cite commands.
15297 (validate): white-space change.
15299 * bufferparams.[Ch]: new variables "bool use_natbib" and
15300 "bool use_numerical_citations".
15301 (writeFile): output them in the LyX file.
15303 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15305 * lyxfunc.C (getStatus): add support for all the inset insertion
15308 * text2.C (insertInset):
15309 * paragraph.C (insetAllowed):
15310 * BufferView_pimpl.C (insertInset): update to take in account the
15311 renaming of insertInsetAllowed
15313 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15315 * text2.C (getInset): new method. returns inset at cursor position.
15317 * BufferView_pimpl.C (Dispatch): changes because of this.
15319 * LyXAction.C (init): rename open-stuff to inset-toggle.
15321 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15323 * text2.C (toggleInset): renamed from openStuff; use
15326 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15328 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15330 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15332 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15334 * buffer.C (readLyXformat2): Add filename to the error dialog
15336 2001-07-18 Juergen Vigna <jug@sad.it>
15338 * tabular.C (GetCellNumber): put an assert here instead of the check!
15340 2001-07-17 Juergen Vigna <jug@sad.it>
15342 * BufferView_pimpl.C (toggleSelection): adapted too.
15344 * text.C (selectNextWord): adapted for use with insets.
15345 (selectSelectedWord): ditto
15347 2001-07-17 Juergen Vigna <jug@sad.it>
15349 * sp_spell.C (PSpell): fix initialitation order.
15351 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15353 * paragraph.C: spacing
15355 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15357 * sp_spell.C: repair language selection for pspell
15359 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15361 * lyxfunc.h: change more methods to begin with lower char.
15363 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15365 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15366 for unknown layouts.
15368 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15370 * buffer.C (readLyXformat2): Generate an error dialog if there are
15373 2001-07-16 Juergen Vigna <jug@sad.it>
15375 * sp_spell.C: always compile ISpell part.
15377 * lyxrc.C: added use_pspell entry and it's handling.
15379 2001-07-13 Juergen Vigna <jug@sad.it>
15381 * sp_spell.C: removed double includes.
15383 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15385 Consistent use of Lsstream.h:
15386 * Lsstream.h: added using std::stringstream for consistencies sake.
15388 * buffer.C: removed using std::stringstream
15390 * lyxfont.C (stateText):
15391 * paragraph.C (asString):
15392 * text.C (selectNextWord, selectSelectedWord):
15393 * text2.C (setCounter):
15394 * vspace.C (asString, asLatexString):
15395 std::ostringstream -> ostringstream.
15397 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15399 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15400 * commandtags.h: add LFUN_HELP_ABOUTLYX
15401 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15403 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15405 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15407 * lyx_gui_misc.C: remove spellchecker
15408 * lyxfunc.C: showSpellchecker
15410 * sp_ispell.h: added
15411 * sp_pspell.h: added
15412 * sp_spell.C: added
15413 * sp_form.[Ch]: removed
15414 * spellchecker.[Ch]: removed
15416 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15418 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15420 (simpleTeXSpecialChars): Simply print the input character without
15421 any special translation if pass_thru is set.
15423 * layout.h: Added bool pass_thru to layout class for being able to
15424 implement pass through of a paragraph for Literate Programming.
15426 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15427 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15428 * layout.C (Read): add "passthru" to list of layout tags and add
15429 code to set the pass_thru boolean when it is read.
15431 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15433 * trans_decl.h: remove allowed from KmodInfo
15435 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15436 remove allowed code
15439 * paragraph_pimpl.C (erase): use boost::prior
15441 * Painter.C (text): use data() instead of c_str() when length is
15443 * WorkArea.C (putClipboard): ditto
15444 * font.h (width): ditto
15446 * BufferView2.C: use it-> instead of (*it). for iterators
15448 * paragraph_pimpl.C: ditto
15449 * paragraph.C: ditto
15450 * minibuffer.C: ditto
15451 * language.C: ditto
15453 * encoding.C: ditto
15454 * counters.C: ditto
15455 * converter.C: ditto
15457 * Variables.C: ditto
15458 * TextCache.C: ditto
15459 * MenuBackend.C: ditto
15460 * LyXAction.C: ditto
15462 * FloatList.C: ditto
15463 * DepTable.C: ditto
15464 * ColorHandler.C (LyXColorHandler): ditto
15466 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15468 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15470 * text2.C (openStuff): reintroduce this method (which had been
15471 nuked in NEW_INSETS frenzy).
15473 * lyxfunc.C (Dispatch): when an action has not been handled, use
15474 its name in the error message, not its number.
15476 * paragraph.C (inInset): change method name to begin with lowercase.
15479 * text2.C: updates because of this.
15481 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15483 * ToolbarDefaults.C (add): add spaces in error message
15485 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15487 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15488 (readLyXformat2): rename return_par to first_par, use lyxlex's
15489 pushToken and remove the manual push handling.
15490 (parseSingleLyXformat2Token): add another ert comp. variable:
15491 in_tabular, rename return_par to first_par. handle newlines better
15493 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15497 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * text2.C (getParFromID): removed
15501 * buffer.C (getParFromID): new method moved form lyxtext.
15502 * BufferView2.C (insertErrors): adjust
15503 (setCursorFromRow): adjust
15504 * BufferView_pimpl.C (restorePosition): adjust
15505 * lyxfunc.C (Dispatch): adjust
15506 * undo_funcs.C (textUndo): adjust
15508 (textHandleUndo): adjust
15509 (textHandleUndo): adjust
15511 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15513 * buffer.C: up' the LYX_FORMAT
15515 * lyxfont.h: turn NO_LATEX on as default
15517 * buffer.C (insertErtContents): new methods of tex style compability.
15518 (parseSingleLyXformat2Token): use it several places.
15519 * tabular.C (OldFormatRead): and here
15521 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * text2.C: remove some commented code.
15526 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15527 * trans.C: changes because of the above.
15529 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15531 * text2.C (setCounter): Fix counters bug with bibliography layout.
15533 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15535 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15536 own member functions
15537 (simpleTeXSpecialChars): ditto
15539 2001-07-06 Juergen Vigna <jug@sad.it>
15541 * a lot of files: changed the access to LyXText::status and the
15542 call of undo-functions.
15544 * undo.[Ch]: added a inset_id to the undo informations.
15546 * undo_funcs.[Ch]: added and moved here all undo functions.
15548 * lyxtext.h: give the status enum a weight, made status_ a private
15549 variable and made accessor functions for it, removed the whole bunch
15550 of undo-functions as they are now in their own file, make some
15551 functions publically available. Added function ownerParagraph with
15554 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15555 made InInset() a const function, added getParFromID() function.
15557 * buffer.[Ch]: added const version for inset_iterator functions,
15558 added getInsetFromID() function.
15560 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15561 changed undo functions for new version.
15563 2001-07-05 Juergen Vigna <jug@sad.it>
15565 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15566 unknow mechanism does not call the proper constructor but only this
15567 one also if I request the other!?
15569 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15571 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15573 * text2.C (LyXText): use initialization lists.
15575 * lyxtext.h (Selection): initialize set_ and mark_
15576 (init): remove method
15578 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15580 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15582 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15584 * screen.[Ch]: change method names to begin with lowercase
15586 * BufferView_pimpl.C (updateScrollbar): simplify further and
15587 hopefully make it a bit faster.
15589 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15592 calling directly xforms functions.
15594 * Painter.C (Painter):
15595 * lyx_cb.C (MenuWrite):
15596 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15599 * lyx_gui.C: remove bogus guiruntime extern declaration.
15601 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15603 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15605 (redoDrawingOfParagraph): ditto
15606 (redoParagraphs): ditto
15607 (cutSelection): don't create a object for CutAndPaste use the
15608 static method directly
15609 (pasteSelection): ditto
15611 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15614 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15616 * modifications to some other files because of this.
15618 * Makefile.am (lyx_SOURCES): add XFormsView
15620 * XFormsView.[Ch]: new files
15622 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15623 the main window. Move the gui dependent stuff to XFormsView
15625 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * tabular.C (GetCellInset): update cur_cell also in the row/col
15628 version of this function.
15630 * lyxfunc.C: no need to include figure_form.h here.
15636 * lyxvc.C: no need to include forms.h here.
15638 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15640 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15642 * lyxfunc.C (Dispatch):
15644 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15645 constructor argument.
15647 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15649 * paragraph.C (Paragraph): dont't clear, and just set layout.
15650 (makeSameLayout): use params's copy contructor.
15652 * ParagraphParameters.[Ch] (makeSame): delete method
15654 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15656 * Variables.[Ch]: fix indentation, rename set to isSet
15658 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15660 * lyxfunc.C (Dispatch): fix typo
15662 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15664 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15667 * bufferlist.C: include assert.h for emergencyWrite().
15669 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15671 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15672 give up at last (bug #425202) !
15674 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15680 * spellchecker.C: strip spellchecker options and bring up
15681 preferences tab instead
15683 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15685 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15686 the istringstream constructor
15688 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15690 * paragraph.C (getLayout): fix return value
15692 * paragraph.h: do not declare getLayout as inline.
15694 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15696 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * lyxcursor.h (operator<): new func
15699 (operator>): new func
15700 (operator>=): new func
15701 (operator<=): new func
15703 * text.C (changeCase): use selection.start and selection.end
15704 (changeRegionCase): require from to be <= to. Require par to be a
15707 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15709 2001-06-27 Juergen Vigna <jug@sad.it>
15711 * text.C (cursorLeftOneWord): changed to return the cursor and added
15712 overlay with BufferView * parameter which calls this one.
15714 (selectWord): use new getWord function.
15715 (changeCase): renamed from changeWordCase as and extended to work
15716 also on selections.
15718 * lyxtext.h: added enum word_location
15720 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15721 changeCase as this operates now also on selections.
15723 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15725 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15727 * many files: send debug output to Debug::INFO instead of
15730 * converter.C (View):
15732 (Move): send debug output to Debug::FILES instead of console.
15734 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15736 * lyxfunc.C (getStatus): use func_status
15738 * func_status.h: new header, describing the results of
15739 LyXFunc::getStatus;
15741 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15744 2001-06-25 The LyX Project <jug@sad.it>
15746 * buffer.C (sgmlOpenTag):
15748 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15750 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15752 * text2.C: remove some dead code
15754 * tabular.C (GetCellInset): store the last cell checked (gotten)
15756 * tabular.h: add the helper for the speedup
15758 * lyxtext.h: remove some dead code
15760 2001-06-26 The LyX Project <Asger>
15762 * paragraph.C: Change export to LaTeX of alignment to
15763 \begin{center} and family for better roundtrip work with reLyX.
15765 * Tune the math drawing a bit.
15767 2001-06-25 The LyX Project <Asger>
15769 * LColor.C (LColor): New color for math background. New color
15772 2001-06-25 The LyX Project <jug@sad.it>
15774 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15776 * lyxfunc.C (Open):
15777 * bufferlist.C (newFile): do not restrict to files ending with
15780 * BufferView_pimpl.C (MenuInsertLyXFile):
15782 2001-06-24 The LyX Project <jug@sad.it>
15784 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15787 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15789 * lyxtext.h: rename most methods to begin with a small char.
15790 Lots of changes because of this.
15792 * paragraph.C (Paragraph): do not call fitToSize
15793 (erase): call Pimpl::erase
15794 (insertChar): call Pimpl::insertChar
15795 (insertInset): call Pipl::insertInset
15796 (breakParagraph): do not call fitToSize
15797 (breakParagraphConservative): do not call fitToSize
15798 (fitToSize): remove method
15800 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15802 2001-06-24 The LyX Project <Asger>
15804 * Fix Qt compilation^2
15806 2001-06-24 The LyX Project <jug@sad.it>
15808 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15809 depthHook(getDepth()-1).
15812 * ParagraphParameters.h:
15813 * ParameterStruct.h: change type of depth to unsigned int ==
15814 depth_type. Many adaptations to other files before of that.
15816 2001-06-24 The LyX Project <Asger>
15818 * Fix Qt compilation.
15820 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * paragraph.h: renamed several methods to begin with small letter.
15823 several changes to many parts of the code because of this.
15825 2001-06-23 The LyX Project <jug@sad.it>
15827 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15828 rewritten to discard all double spaces when KeepEmpty is off
15829 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15830 to only handle newlines but not fiddle with spaces and friends.
15832 * lyxfunc.C (MenuNew): when doing 'new from template', use
15833 template_path as default directory
15835 2001-06-23 The LyX Project <Asger>
15837 * Clean-up of header file includes all over
15838 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15840 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15842 * paragraph.h: renamed from lyxparagraph.h
15844 2001-06-23 Asger <lyx@violet.home.sad.it>
15846 * Buffer.h: Removed Buffer::resize
15847 * BufferList.h: Removed BufferList::resize
15848 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15849 the document lazily when we change the width, or the font settings.
15851 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15853 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15855 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15857 * buffer.h: remove out of date comment
15859 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15862 * screen.C: fix "theoretical" GC leak
15864 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15866 * LaTeX.C (scanAuxFile):
15867 (deplog): remove trailing \r when reading stream (useful under
15870 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15872 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15873 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15874 and BufferView::theLockingInset(Inset*), so should use them and not
15875 access bv_->text->the_locking_inset directly.
15877 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15879 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15882 * tex-defs.h: remove old unused file
15884 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15886 * BufferView_pimpl.C: fix typo, remove minibuffer message
15887 when buffer has loaded
15889 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15891 * lyxfunc.C (Dispatch): use stringstream
15892 (MenuNew): use stringstream
15893 (Open): use stringstream
15895 * importer.C (Import): use stringstream
15897 * bufferview_funcs.C (CurrentState): use stringstream
15899 * LaTeX.C (run): use stringstream
15901 * BufferView_pimpl.C (savePosition): use stringstream
15902 (restorePosition): use stringstream
15903 (MenuInsertLyXFile): use stringstream
15905 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15918 * vspace.C: removed // -*- C++ -*- as first line.
15921 * version.h: added // -*- C++ -*- as first line.
15923 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15925 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15927 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15930 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15932 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15935 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * gettext.C: include LString.h even when --disable-nls is on.
15939 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15941 * converter.h (Get): changed argument type from int to
15942 FormatList::size_type to avoid unnecessary conversion.
15944 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15947 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15949 * gettext.h: include LString.h even when --disable-nls is on.
15951 2001-06-07 Juergen Vigna <jug@sad.it>
15953 * text.C (BreakAgain): subst spaces with tabs.
15955 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15956 (resizeInsetsLyXText): set force on resizeLyXText.
15958 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15960 * gettext.h (gettext_init):
15961 (locale_init): use a real definition instead of a macro
15963 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15965 * Bufferview_pimpl.C:
15967 * LColor.C: further lcolor tidies
15969 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15971 * BufferView_pimpl.C (updateScrollbar): simplify.
15973 * BufferView2.C: don't include insets/insetinfo.h, change
15974 prototype for insertInset and call the Pimpl version. let
15975 updateInset call Pimpl version.
15977 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15978 gotoInset to BufferView::Pimpl
15980 2001-06-01 Juergen Vigna <jug@sad.it>
15982 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15983 inside a LockingInset (is the update needed at all?).
15985 2001-05-31 Juergen Vigna <jug@sad.it>
15987 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15988 here not the old one otherwise how should we compare it afterwards
15991 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15996 * FontInfo.C: bring C functions into global namespace when
15999 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16001 * LString.h: make sure config.h has been loaded before LString.h.
16003 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16004 (one for each char read by EatLine!).
16006 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16009 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16011 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16012 to the same as the par we break from
16014 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16016 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16018 * MenuBackend.C (expand): also create menu entries for wide
16019 versions of the floats.
16021 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16023 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16025 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16026 frontends/Makefile.am
16032 * tabular.C (getTokenValue): add std::
16034 * tabular-old.C (getTokenValue): add std::
16035 (getTokenValue): ditto
16036 (getTokenValue): ditto
16038 * screen.C (ToggleSelection): adjust
16040 * lyxtext.h: put selection cursors inside a Selection struct.
16042 * lyxfunc.C (moveCursorUpdate): adjust
16044 * lyxfont.C (latexWriteStartChanges): add std::
16046 * lyxfind.C: adjust
16048 * font.h: delete with(char const *, LyXFont const &)
16050 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16052 * FontInfo.C (getFontname): add std::
16054 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16055 (workAreaButtonPress): adjust
16056 (tripleClick): adjust
16058 (moveCursorUpdate): adjust
16061 * BufferView2.C (gotoInset): adjust
16063 2001-05-30 Juergen Vigna <jug@sad.it>
16065 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16066 to check pspell I add this as default as I now have new pspell
16067 libraries and they seem to use this.
16069 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16071 * text2.C (CutSelection): make the cursor valid before the call to
16074 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16076 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16077 relied on 0 terminated strings and other horrors. Bug found due to
16078 the new assert in lyxstring!
16080 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16083 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16085 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16088 * lyxfunc.C (processKeySym): change method of getting to the
16091 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16092 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16093 * BufferView_pimpl.[Ch]: here as private methods.
16095 2001-05-28 Juergen Vigna <jug@sad.it>
16097 * text.C (SetHeightOfRow): added the update() call again as it is
16098 needed to initialize inset dimensions!
16100 2001-05-16 Juergen Vigna <jug@sad.it>
16102 * text2.C (SetCharFont): Add new function with BufferView * and
16103 bool toggleall parameters for setting insets internal fonts.
16104 (SetFont): Freeze the undo as we may change fonts in Insets and
16105 all this change should be inside only one Undo!
16107 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16108 setting font's in insets as for them we have the SetFont function!
16110 2001-05-15 Juergen Vigna <jug@sad.it>
16112 * text2.C (ClearSelection): to be sure we REALLY don't have any
16115 * tabular.C (TeXCellPreamble): fixed the left border problem for
16118 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16120 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16123 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16125 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16126 LFUN_BREAKPARAGRAPH.
16128 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16129 help test to "internal only", similar for LFUN_INSERT_URL
16131 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16132 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16133 auto_region_delete and deadkeys.
16135 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16138 * LColor.C: remove some dead entries, tidy a little
16140 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16144 (Dispatch): implement LFUN_ESCAPE
16146 * commandtags.h: add LFUN_ESCAPE
16148 * LyXAction.C (init): add entry for LFUN_ESCAPE
16150 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16151 Remove commented code.
16152 (insertNote): moved here
16153 (open_new_inset): moved here
16155 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16158 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16160 * kbmap.C (findbinding): clean it up and make it work correctly.
16162 * lyx_main.C (init): do not pass argc and argv as parameters
16164 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16166 * buffer.C: fix path for OS/2 & Win32
16170 * lyx_main.C: Added os:: class.
16172 * os2_defines.h: update
16174 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16176 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16177 better by trying again with reduced state.
16179 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16181 * lyxrc.C (read): print error about invalid key sequence only when
16182 debugging (because not all latinX keysyms are known to some X
16185 * kbsequence.C (getiso): add a few std:: qualifiers
16186 (getiso): comment out extra return statement.
16188 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16190 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16192 (Dispatch): enhance the accent inset a bit. (not perfect)
16194 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16196 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16198 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16200 * bufferlist.C (emergencyWrite): fix assert() call
16202 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16204 * text.C (InsertChar): Added trivial patch to only send the "you
16205 can not do multiple spaces this way" message once during a
16208 2001-05-08 Baruch Even <baruch@lyx.org>
16210 * Makefile.am: Changed order of libraries to get LyX to link properly
16211 with the gnome frontend.
16213 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16215 * LaTeXFeatures.h: add a std:: qualifier
16217 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16219 * paragraph.C (String): use stringstream
16221 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16223 * paragraph.C (writeFile): remove footflag arg
16225 * buffer.C (makeLaTeXFile): use stringstream
16226 (latexParagraphs): remove footnot gurba
16228 * LaTeXFeatures.C (getPackages): use stringstream
16229 (getMacros): likewise
16230 (getTClassPreamble): likewise
16231 (getFloatDefinitions): new method
16233 * paragraph.C (writeFile): reindent
16236 * WorkArea.h: revert the xpos + etc changes.
16238 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16240 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16242 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16243 (pasteSelection): likewise
16244 * text2.C (CreateUndo): likewise
16246 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * minibuffer.C (peek_event): temporarily reduce the functionality
16249 of the minibuffer (to allow args on lfuns)
16251 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16252 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16254 * buffer.C (readInset): add compability reading of old float
16255 lists, add reading of new style float list.
16256 (readInset): avoid reevaluation of inscmd.getCmdName()
16257 (getLists): reindent
16259 * MenuBackend.C (MenuItem): implement parsing of
16260 md_floatlistinsert and md_floatinsert.
16261 (expand::LastFiles): move initalizaton of iterators out of loop,
16262 avoid reevaluation.
16263 (expand::Documents): introduce typdedef vector<string> Strings,
16265 (expand::ExportFormats): introduce typedef vector<Format const *>
16266 Formats, and use it.
16267 (expand): implement FloatListInsert and FloatInsert.
16269 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16270 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16271 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16273 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16275 (Dispatch::LFUN_FLOAT_LIST): implement
16277 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16279 * LaTeX.C (run): Fix problem with --export code.
16281 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16283 * BufferView.[Ch] (workarea): removed.
16284 (getClipboard) new method; wrapper for workarea()->getClipboard()
16286 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16289 * WorkArea.h (width, height, xpos, ypos): These methods all
16290 returned the dimensions of the work_area sub-area of WorkArea,
16291 resulting in a position error if the WorkArea were resized. Now
16292 return the dimensions of the entire WorkArea.
16294 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16296 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16298 * LaTeX.C (deplog): correct the syntax of regex reg1
16300 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16302 * undo.C: remove !NEW_INSETS cruft
16304 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16306 * text2.C: remove !NEW_INSETS cruft
16308 * text.C: remove !NEW_INSETS cruft
16310 * tabular.C: remove !NEW_INSETS cruft
16312 * spellchecker.C: remove !NEW_INSETS cruft
16314 * lyxtext.h: remove !NEW_INSETS cruft
16316 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16318 * lyxfunc.C: remove !NEW_INSETS cruft
16320 * lyxfind.C: remove !NEW_INSETS cruft
16322 * lyx_cb.C: remove !NEW_INSETS cruft
16324 * figureForm.C: remove !NEW_INSETS cruft
16326 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16328 * buffer.[Ch]: remove !NEW_INSETS cruft
16330 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16332 * CutAndPaste.C: remove !NEW_INSETS cruft
16334 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16336 * BufferView2.C: remove !NEW_INSETS cruft
16338 * BufferView.h: remove !NEW_INSETS cruft
16340 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16342 * Lsstream.h: include LString.h before the sstream headers to
16343 fix problem with gcc 2.95.3 and lyxstring
16345 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16347 * lyx_main.C: add using directives when needed for C functions
16348 declared in std:: namespace.
16350 2001-04-27 Juergen Vigna <jug@sad.it>
16352 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16353 (SetHeightOfRow): comment out the update call should not be needed!
16355 2001-04-13 Juergen Vigna <jug@sad.it>
16357 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16358 (LyXTabular): tried to minimize operator= operations (and realized
16359 hopfully Lars wish).
16361 2001-04-27 Juergen Vigna <jug@sad.it>
16363 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16365 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16367 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16369 * buffer.C (readInset): hack to make listof algorithm work
16371 * BufferView_pimpl.C: hack to make listof algorithm work
16373 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16375 * LyXAction.C: removed all !NEW_INSETS cruft
16376 (init): moved lfun_item in method
16378 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16380 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16382 * BufferView2.C (theLockingInset): white space.
16384 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16386 * minibuffer.C: include <iostream>
16388 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16390 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16392 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16394 * text.[Ch] (TransposeChars): new method
16396 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * call message directly through LyXView instead of through LyXFunc
16399 * BufferView2.C: adjust
16400 * BufferView_pimpl.C: adjust
16401 * FontLoader.C: adjust
16403 * bufferview_funcs.C: adjust
16404 * converter.C: adjust
16405 * figureForm.C: adjust
16406 * importer.C: adjust
16408 * lyx_gui_misc.C: adjust
16409 * lyxfunc.C: adjust
16412 + more files in subdirs
16414 * lyxparagraph.h (size): move up int file
16417 * adjust all uses of Assert to lyx::Assert.
16419 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16420 lyxfunctional in namespace lyx
16421 * layout.C (hasLayout): ditto
16424 (delete_layout): ditto
16425 (NumberOfClass): ditto
16426 * converter.C (GetFormat): ditto
16431 * bufferlist.C (getFileNames): ditto
16432 (emergencyWriteAll): ditto
16435 * MenuBackend.C (hasSubmenu): ditto
16438 * BufferView_pimpl.C (getInsetByCode): ditto
16440 2001-04-18 Juergen Vigna <jug@sad.it>
16442 * vspace.C (asLatexString): fixed the 100% problem.
16444 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16446 * lyxfunc.C (Dispatch):
16448 * minibuffer.h: add a few std:: qualifiers
16450 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16452 * minibuffer.[Ch]: reimplement so that commands is initiated and
16453 run from lyxfunc, simplified som handling, and made the completion
16454 and history code for complete. wip.
16456 * lyxfunc.C (processKeySym): call message
16457 (miniDispatch): new temporary method
16458 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16459 (LFUN_MESSAGE): implement
16460 (LFUN_MESSAGE_PUSH): implement
16461 (LFUN_MESSAGE_POP): implement
16462 (initMiniBuffer): the initial/defualt minibuffer message.
16464 * lyxfont.[Ch]: inline some more getters
16466 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16468 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16470 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16471 (AutoSave): use LFUN_MESSAGE
16472 (Reconfigure): ditto
16474 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16476 * figureForm.C: use LFUN_MESSAGE
16478 * converter.C (runLaTeX): use LFUN_MESSAGE
16480 * bufferview_funcs.C: use LFUN_MESSAGE
16482 (changeDepth): ditto
16484 * bufferparams.h: use boost::
16486 * bufferlist.h: inherit privately from noncopyable
16488 * bufferlist.C (loadLyXFile): remove some commented code.
16490 * buffer.C (runChktex): use LFUN_MESSAGE
16492 * ShareContainer.h: inherit privately from noncopyable
16494 * ParagraphParameters.[hC] (depth): inline it.
16496 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16498 (message): new method
16499 (messagePush): ditto
16500 (messagePop): ditto
16501 (show): init minibuffer
16502 (showState): direct call
16504 * LaTeX.[Ch]: inherit privately from noncopyable
16505 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16506 instead of WriteStatus.
16508 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16510 * BufferView_pimpl.C (buffer): don't init minibuffer
16511 (workAreaButtonPress): use LFUN_MESSAGE
16512 (workAreaButtonRelease): ditto
16513 (savePosition): ditto
16514 (restorePosition): ditto
16515 (MenuInsertLyXFile): ditto
16516 (workAreaExpose): don't init minibuffer
16517 (update): remove commented code, simplify
16519 * BufferView2.C (openStuff): use LFUN_MESSAGE
16520 (toggleFloat): ditto
16523 (copyEnvironment): ditto
16524 (pasteEnvironment): ditto
16529 (updateInset): remove some commented code
16531 * lastfiles.h: inherit privately from noncopyable
16534 * lyx_main.h: ditto
16536 * lyxlex_pimpl.h: ditto
16538 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16539 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16540 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16542 * LyXAction.h: inherit privately from noncopyable, add methods
16543 func_begin, func_end, returning iterators to the func map.
16545 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16546 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16547 (func_begin): new method
16548 (func_end): new method
16550 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16552 (copySelection): ditto
16553 (pasteSelection): ditto
16555 * BufferView.C: whitespace change
16556 * BufferView.h: inherit privately from noncopyable
16558 2001-04-16 Allan Rae <rae@lyx.org>
16560 * tabular-old.C (l_getline):
16561 * spellchecker.C (sc_check_word):
16562 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16563 an unrecognised preprocessor directive. So ensure they're wrapped.
16565 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16567 * src/exporter.C (Export): Give an error message when path to file
16570 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16572 * LaTeX.C (deplog): Always check that foundfile exists.
16574 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16577 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16579 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16581 * tabular.[Ch] (getLabelList): implement new method
16583 * minibuffer.h: comment ouf setTiimer
16585 * minibuffer.C (ExecutingCB): constify res
16586 (peek_event): constify s
16587 (Set): constify ntext
16588 (Init): constify nicename
16590 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16592 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16593 (savePosition): use two params to Minibuffer::Set
16594 (restorePosition): ditto
16596 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16598 * lyx_main.C: include language.h
16600 * Makefile.am (lyx_main.o): add language.h
16602 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16608 * CutAndPaste.C: include gettext.h
16610 * lyxfont.h: remove old hack with ON and OFF.
16613 * lyxfont.h: do not include language.h...
16618 * bufferview_funcs.C:
16624 * paragraph.C: ... but do it here instead
16626 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16630 * tabular.C: small reformat
16632 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16635 (BreakParagraph): ditto
16636 (SetOnlyLayout): ditto
16639 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16642 * lastfiles.C: removed most using decl, add std:: where needed
16644 * buffer.C: ws changes
16646 * MenuBackend.C (class compare_format): put into anon namespace
16647 (expand): constify label, names, action, action2
16650 * text.C (SingleWidth): constify font
16651 (IsBoundary): constify rtl2
16652 (GetVisibleRow): constify ww
16654 * LaTeX.C (deplog): constify logfile
16656 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16658 (workAreaExpose): constify widthChange, heightChange
16660 * lyxrow.C (par): moved
16663 * lyxrow.h: as inlines here
16665 * lyxfont.h (shape): moved from lyxfont.C
16666 (emph): moved from lyxfont.C
16668 * lyxfont.C (LyXFont): use initialization list for all
16670 (shape): move to lyxfont.h as inline
16671 (emph): move to lyxfont.h as inline
16674 2001-04-04 Juergen Vigna <jug@sad.it>
16676 * vspace.C: had to include stdio.h for use of sscanf
16678 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16681 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16682 independent of xforms.
16684 2001-04-02 Juergen Vigna <jug@sad.it>
16686 * spellchecker.C: fixed namespace placing!
16688 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16690 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16691 the LyXParagraph * is 0.
16693 2001-03-29 Juergen Vigna <jug@sad.it>
16695 * vspace.C: added support for %, c%, p%, l%.
16696 (stringFromUnit): added helper function.
16697 (asLatexString): changed to give right results for the %-values.
16699 * buffer.C: convert the widthp in a width%.
16701 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16703 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16706 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16707 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16709 * lyx_cb.[Ch]: see above.
16711 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16715 * lyx.[Ch]: replaced by figure_form.[Ch].
16719 * lyxfunc.C: changed headers associated with above changes.
16721 2001-03-27 Juergen Vigna <jug@sad.it>
16723 * BufferView_pimpl.C: set the temporary cursor right!
16725 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16727 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16729 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16731 * LString.h: removed "using std::getline"!
16733 * BufferView_pimpl.C (Dispatch): changes due to changes in
16734 InsetInclude::Params.
16736 * buffer.C (tag_name): removed redundant break statements as they were
16737 producing lots of warnings with my compiler.
16739 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16741 * LString.h: add "using std::getline" when using the real <string>.
16743 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16745 * buffer.C: removed bitset usage.
16746 PAR_TAG moved to an anonymous name space.
16747 (tag_name): new funtion, also in the anonymous namespace.
16748 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16749 (makeDocBookFile): clean code. Completed transition from string arrays
16751 (SimpleDocBookOnePar): code clean.
16753 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16755 * tabular.C: add some comments.
16757 2001-03-22 Juergen Vigna <jug@sad.it>
16759 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16760 compatibility read a bit and fixed bug with minipage in different
16763 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16765 * buffer.C (pop_tag): removed.
16766 (push_tag): removed.
16767 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16768 array replaced with vector. Added support for CDATA sections.
16769 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16771 (makeDocBookFile): XML conformant declaration of CDATA section,
16772 fixed bug related to <emphasis> in the first paragraph char.
16773 (sgmlOpenTag): exclude empty tags.
16774 (sgmlCloseTag): ditto.
16776 * buffer.h (pop_tag): removed.
16777 (push_tag): removed.
16779 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16781 * language.h (Languages): added size_type and size().
16783 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16785 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16786 response on compability reading of minipages. One probliem is that
16787 the old usage of minipages was «flertydig»
16789 * several files here and in subdirs: don't use static at file
16790 scope use anon namespaces instead.
16792 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16794 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16795 LaTeX output. This is necessary for Literate document
16798 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16800 * buffer.C: insert hfill when needed.
16802 * tabular.C (l_getline): use string::erase, small whitespace change.
16804 * BufferView_pimpl.C: try the anon namespace.
16805 * WorkArea.C: ditto
16807 2001-03-16 Juergen Vigna <jug@sad.it>
16809 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16810 otherwise it won't open options-dialogs.
16812 * buffer.C: honor pextraWidth(p) on converting minipages.
16814 * tabular.C (l_getline): changed the functions to strip trailing \r.
16816 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16818 * BufferView_pimpl.C:
16819 * minibuffer..C: added "using SigC::slot" declaration.
16821 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16823 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16829 * paragraph.C: ditto
16831 * lyxtext.h: NO_PEXTRA
16833 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16835 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16836 * ParameterStruct.h: ditto
16837 * ParagraphParameters.h: ditto
16838 * lyxparagraph.h: ditto
16840 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16842 * buffer.C: add compability for minipage alignment.
16843 (latexParagraphs): remove unwanted pextra check.
16845 * several files: remove CXX_WORKING_NAMESPACES
16847 * buffer.C (pop_tag): tie is in namespace boost
16849 * BufferView.h: noncopyable is in namespace boost
16851 * lyx_main.h: ditto
16854 * lastfiles.h: ditto
16855 * bufferlist.h: ditto
16856 * ShareContainer.h: ditto
16858 * LyXAction.h: ditto
16861 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16863 * Merging changes from BRANCH_MVC back into HEAD.
16865 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16867 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16869 * BufferView_pimpl.C: change from intl.C
16873 * Makefile.am: move combox.*
16879 * intl.C: remove dialog (covered by prefs)
16881 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16883 * lyxfunc.C (Dispatch): removed redundant break statement.
16885 2001-03-14 Juergen Vigna <jug@sad.it>
16887 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16889 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16891 * buffer.C: add hack to fix compability reading of minipages.
16893 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16895 * buffer.C (getLists): Cleanup.
16897 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16899 * lyxfont.C (update): don't honor toggleall on font size.
16901 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16905 * Makefile.am: moved to frontends/xforms/
16909 * BufferView_pimpl.C: changes for moved mathpanel
16911 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16913 * gettext.h: fix gettext_init() in --disable-nls
16915 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16917 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16919 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16922 * lyx.h: strip external form
16924 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16926 * BufferView_pimpl.C: add comment, destroySplash()
16928 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16930 * BufferView_pimpl.C:
16934 * lyxfunc.C: use re-worked insetinclude
16936 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16938 * buffer.C: add using std::stringstream.
16940 * lyx_cb.C: readd using std::ios.
16942 * buffer.C: add using std::map.
16944 * BufferView_pimpl.C: add using std::vector.
16946 * ShareContainer.h: add std:: to swap.
16948 * buffer.h: add some typedefs
16949 * buffer.C (getLists): use them
16950 (getLists): renamed from getTocList.
16951 add a counter for the different float types and use it in the
16953 (getLists): use the same counter for the NEW_INSETS and the "non"
16956 * lyx_cb.h: remove unused items, includes, using etc.
16958 * ShareContainer.h: remove some commented code, add more comments
16959 and "documentation".
16961 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16963 * buffer.C (getTocList): make the list also when NEW_INSETS is
16966 * buffer.h: remove TocType
16968 * buffer.C (getTocList): change to return a map<string,
16969 vector<TocItem> >, implement for dynamic number of list.
16971 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16972 * text2.C (PasteSelection): adjust
16973 * CutAndPaste.C (pasteSelection): adjust
16975 * FloatList.C (FloatList): update from the new_insets branch.
16976 * Floating.[Ch]: ditto
16977 * LaTeXFeatures.C: ditto
16979 * lyxlex_pimpl.C: ditto
16981 * paragraph.C (Last): remove when NEW_INSETS is defined.
16983 * other file: changes because of the above.
16985 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16987 * lyxparagraph.h: rename next to next_, previous to previous_,
16988 make them private for NEW_INSETS. Rename Next() to next(),
16989 Previous() to previous().
16991 * other files: changes because of the above.
16993 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16996 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16999 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17001 * main.C (main): pass lyx_localedir to gettext_init().
17003 * gettext.h: remove locale_init and gettext_init macros
17005 * gettext.C (locale_init): new function
17006 (gettext_init): new function
17008 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17011 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17013 * Moved credits to frontends:
17014 * credits.[Ch]: removed
17015 * credits_form.[Ch]: removed
17016 * lyx_gui_misc.C: remove credits stuff
17019 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17021 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17023 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17024 unneeded destructor.
17026 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17027 a standalone pointer again.
17029 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17031 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17037 * ToolbarDefaults.C:
17046 * BufferView_pimpl.C: use new file dialog in GUII
17049 * lyx_cb.C: remove LayoutsCB to Toolbar
17051 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17053 * ShareContainer.h (get): add std:: qualifier
17055 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17057 * ShareContainer.h: define a proper ShareContainer::value_type
17058 type (and use typename to please compaq cxx)
17060 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17062 * lyxparagraph.h: move serveral local vars to
17063 ParameterStruct/ParagraphParameters., use ShareContainer in
17064 FontTable., make vars in FontTable private and add getter and
17067 * paragraph.C: changes because of the above.
17069 * lyxfont.h: remove copy constructor and copy assignment. (the
17070 default ones is ok), move number inside FontBits. move inlines to
17073 * lyxfont.C: add number to initializaton of statics, move several
17074 inlines here. constify several local vars. some whitespace
17075 cleanup. Dont hide outerscope variables.
17077 * Spacing.h: add two new constructors to match the set methods.
17079 * ShareContainer.h: new file, will perhaps be moved to support
17081 * ParameterStruct.h: new file
17083 * ParagraphParameters.h: new file
17085 * ParagraphParameters.C: new file
17087 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17088 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17090 * BufferView_pimpl.C: ParagraphParameter changes.
17091 * buffer.C: Likewise.
17092 * bufferview_funcs.C: Likewise.
17093 * text.C: Likewise.
17094 * text2.C: Likewise.
17096 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17098 * lyxfind.C (LyXReplace): do not redefine default argument in
17100 (IsStringInText): ditto
17101 (SearchForward): ditto
17102 (SearchBackward): ditto
17104 2001-03-06 Juergen Vigna <jug@sad.it>
17106 * lyxfind.C (IsStringInText): put parentes around expressions.
17108 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17110 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17112 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17114 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17116 * stl_string_fwd.h: add comment
17118 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17121 * tabular.C: remove unused DocBook methods
17127 killed DO_USE_DEFAULT_LANGUAGE
17129 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17131 * lyx_gui.C: do not include language.h.
17133 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17134 arguments in function implementation.
17136 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17138 * BufferView_pimpl.C: add <ctime>
17140 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17142 * BufferView_pimpl.C: add using std::find_if
17144 2001-02-27 José Matos <jamatos@fep.up.pt>
17146 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17149 2001-02-11 José Matos <jamatos@fep.up.pt>
17151 * buffer.C (makeDocBookFile): command styles now have a parameter as
17152 "title" by default.
17154 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17156 * layout_forms.[Ch]: removed
17157 * lyx_cb.[Ch]: out character
17158 * lyx_gui.C: out character
17159 * lyx_gui_misc.C: out character
17160 * bufferview_funcs.C: : out character,
17161 added toggleall as parameter in ToggleAndShow
17163 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17165 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17167 * text2.C (SetCurrentFont): Disable number property at boundary.
17169 2001-02-26 Juergen Vigna <jug@sad.it>
17171 * lyxfunc.C (getStatus): added a string argument override function so
17172 that this is correctly called from LyXFunc::Dispatch if it contains a
17173 do_not_use_argument which is used!
17174 (Dispatch): added check for "custom" export and call appropriate func.
17176 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17178 * lyxrc.C: Add language_command_local, language_use_babel and
17179 language_global_options.
17181 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17183 * buffer.C (makeLaTeXFile): Use language_use_babel and
17184 language_global_options.
17186 2001-02-23 Juergen Vigna <jug@sad.it>
17188 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17189 which works with LyXText and putted it inside BufferView. Here now we
17190 only call for that part the BufferView::Dispatch() function.
17192 * BufferView.C (Dispatch): added.
17194 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17195 functions which needs to use a LyXText over from LyXFunc.
17196 (MenuInsertLyXFile): added
17197 (getInsetByCode): added
17198 (moveCursorUpdate): added
17199 (static TEXT): added
17201 2001-02-22 Juergen Vigna <jug@sad.it>
17203 * BufferView_pimpl.C (update): call a status update to see if LyXText
17206 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17208 * vc-backend.C (revert): implement for CVS
17209 (getLog): implement for CVS
17211 2001-02-20 Juergen Vigna <jug@sad.it>
17213 * text2.C (ClearSelection): added BufferView param for inset_owner call
17215 * lyxfunc.C (TEXT): added this function and use it instead of
17216 directly owner->view()-text of getLyXText().
17218 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17220 * src/layout_forms.C: out preamble
17221 * src/layout_forms.h: out preamble
17222 * src/lyx_cb.C: out preamble
17223 * src/lyx_cb.h: out preamble
17224 * src/lyx_gui.C: out preamble
17225 * src/lyx_gui_misc.C: out preamble
17226 * src/lyxfunc.C: connect with guii preamble
17228 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17230 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17232 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17234 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17235 whether to run bibtex.
17237 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17239 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17241 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17243 * Makefile.am (lyx_SOURCES): removed bibforms.h
17245 * vspace.h: doxygen
17247 * text.C (GetVisibleRow): make several local vars const
17249 * tabular.C: small cleanup.
17251 * lyxserver.C (callback): use compare instead of strncmp
17253 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17254 inlines to after class or to paragraph.C
17256 * lyxfont.h: remove friend operator!=
17258 * converter.h: move friend bool operator< to non friend and after
17261 * combox.h: small cleanup
17263 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17264 to inlines after class def.
17266 * buffer.C (pop_tag): use string operations instead of strcmp
17268 * bmtable.c: doxygen, small cleanup
17270 * LaTeX.h: remove friend operator==
17272 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17284 * BufferView_pimpl.C:
17285 * BufferView.[Ch]: remove cruft
17287 2001-02-14 Juergen Vigna <jug@sad.it>
17289 * lyxfunc.C: removed #if 0 unused code
17291 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17293 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17295 * text2.C (SetSelection): added a BufferView * parameter
17297 2001-02-13 Juergen Vigna <jug@sad.it>
17299 * lyxfunc.C (Dispatch): fixed protected blank problem.
17300 * BufferView2.C (protectedBlank): added LyxText * parameter.
17302 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17303 (AppendColumn): same as above for column_info.
17305 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17306 (moveCursorUpdate): use a LyXText param for support of InsetText.
17308 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17309 (tripleClick): ditto
17311 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17313 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17315 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17317 * text2.C (SetSelection): set correct update status if inset_owner
17318 (ToggleFree): ditto
17320 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17322 * tabular.C: remove some commented code.
17324 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17326 * BufferView_pimpl.C: call hideSplash()
17328 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17331 * bibforms.h: remove
17334 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17335 add LFUN_CHILD_CREATE
17337 * counters.h: fix tiny typo
17342 * lyx.C: move splash to frontends/xforms/
17344 * lyx_gui_misc.C: move Include and Bibform to frontends
17346 * lyxvc.h: clarify comment
17348 * vspace.C: tiny housekeeping
17350 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17352 * text.C (PrepareToPrint): RTL Fix.
17354 * paragraph.C (GetUChar): New method.
17355 (String): Use GetUChar.
17357 * buffer.C (asciiParagraph): Use GetUChar.
17359 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17361 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17363 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17366 * buffer.C: rename to getLogName(), handle
17367 build log / latex log nicely
17369 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17372 * MenuBackend.h: remove support for reference menuitem type.
17374 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17376 * BufferView_pimpl.C: housekeeping
17377 * BufferView_pimpl.h:
17382 * minibuffer.h: move Timeout GUI-I
17384 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17386 * lyxrc.C (read): Update converters data-structures.
17388 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17390 * LaTeX.h (operator!=): add operator != for Aux_Info
17392 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17394 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17396 * LaTeXLog.C: deleted, useful code moved to Buffer
17399 * buffer.C: new function getLatexLogName()
17405 * lyxfunc.C: use frontends for LaTeX and VC logs
17407 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17409 * LaTeX.h: yet another std:: that Allan forgot.
17411 * Variables.C (set): renamed from isset(), because this clashes
17412 with some HP-UX macros (grr).
17414 2001-02-06 Allan Rae <rae@lyx.org>
17416 * LaTeX.h: Another bug fix. Missing std:: this time.
17418 2001-02-04 Allan Rae <rae@lyx.org>
17420 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17421 floats problem. I've left it commented out because it's not quite
17422 correct. It should also test that the current object is a table or
17423 figure inset. But I haven't gotten around to figuring out how to do
17424 that. I *think* it'll be something like: "table" == inset.type()
17426 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17429 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17431 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17432 all the citation/databases/styles in the auxilary file.
17433 (run): Rerun latex if there was a babel language error.
17435 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17437 * text.C (Backspace): Preserve the font when changing newline char
17439 (BreakParagraph): If the cursor is before a space, delete the space.
17441 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17443 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17445 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17446 new argument (code).
17447 (ChangeCitationsIfUnique): New method.
17449 * paragraph.C (GetPositionOfInset): Handle bibkey.
17451 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17453 * BufferView_pimpl.h: change type of Position::par_pos to
17454 LyXParagraph::size_type.
17456 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17458 * BufferView_pimpl.C (savePosition, restorePosition): Write
17459 messages to minibuffer.
17461 2001-01-28 José Matos <jamatos@fep.up.pt>
17463 * buffer.C (makeDocBookFile): adds support for document language.
17464 A silly restriction on the name of LatexCommand types where removed.
17465 Added support for CDATA sections, allows to chars unescaped, used
17466 among others in code, to avoid escape < and >.
17468 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17470 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17471 saved positions instrad of a stack. Furthermore, a position is
17472 stored using paragraph id/paragraph position.
17474 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17475 Remove LFUN_REF_BACK.
17477 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17479 * converter.C (dvipdfm_options): New method.
17481 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17483 * vspace.C (isValidLength): Fix for empty input string.
17485 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17487 * LyXAction.C (init): change description of LFUN_FIGURE to
17490 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17492 * LaTeX.C: add using directive
17494 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17496 * MenuBackend.C (expand): Fix the sorting of the formats.
17498 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17500 * lyx_main.C: tiny error message fix
17502 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17504 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17505 calling fl_initialize(). This fixes the problem with ',' as
17506 decimal separator in text files.
17508 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17510 * trans.C (process): Fix the keymap bug.
17512 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17514 * LaTeX.C (scanAuxFiles): New method. Provides support for
17515 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17516 (scanLogFile) Scan for "run BibTeX" messages.
17518 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17519 OT1 font encoding. Also, load the aecompl package if the ae
17522 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17524 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17526 * texrow.C (increasePos): turn two error messages into debug
17529 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17531 * LaTeX.C (scanAux): Handle the \@input macro.
17532 (runBibTeX): Use scanAux().
17534 * language.C (latex_options_): New field.
17536 * LaTeXFeatures.C (getMacros): Add language macros.
17538 * buffer.C (makeLaTeXFile): Small fix.
17540 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17542 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17544 * text2.C: add a using directive.
17546 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17551 * lyxfunc.C: kill LyXBell.
17553 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17555 * text.C (IsBoundary): Remove the error message
17557 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17559 * lyxrc.C (setDefaults): Correct initialization value for
17562 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17564 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17567 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17568 and GotoNextNote().
17570 * src/LyXAction.C: Added reference-next.
17572 * text.C (InsertChar): Use contains instead of strchr.
17574 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17576 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17578 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17579 alignment commands (when needed).
17581 * text.C (InsertChar): Add ':' to number separator chars.