1 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
3 * paragraph.C (bibitem):
4 * buffer_funcs.C (setCounter):
5 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
7 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9 * text3.C (getStatus): immediately return after setOnOff
11 * rowpainter.C: fix drawing of appendix start
13 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
16 SwitchBetweenClasses and remove the unused return value.
17 Handle character styles, too
19 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
21 * factory.C (createInset): handle undefined character styles
23 2005-05-02 Angus Leeming <leeming@lyx.org>
25 * buffer.C: protect the #include of utime.h with a preprocessor
28 2005-05-02 Angus Leeming <leeming@lyx.org>
30 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
31 function so that suto-saving works, albeit in a blocking manner.
33 * Makefile.am: make compilation of the client sub directory, of
34 apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
35 on conditionals set at configure time.
37 * SpellBase.[Ch]: no longer an abstract base class. Instead,
38 it can be compiled in its own right but has no-op functionality.
40 * aspell.C, pspell.C: remove preprocessor guards. The files should
41 be compiled only if the necessary functionality exists.
43 * lyxserver.C, lyxsocket.C: disable on Windows.
45 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
47 * text.C (leftMargin): Fix the parindent use bug (1764)
50 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
52 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
55 2005-04-25 Angus Leeming <leeming@lyx.org>
63 include <config.h> in .C files, not .h ones.
65 protect headers inside preprocessor guards.
67 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * FuncStatus.h (StatusCodes): document
71 2005-04-21 André Pönitz <poenitz@gmx.net>
73 * FuncStatus.h (enabled, onoff): document
75 2005-04-19 Angus Leeming <leeming@lyx.org>
77 * BufferView_pimpl.C (cursorToggle): no longer test whether
78 any child processes have been reaped before calling
79 handleCompletedProcesses().
81 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
83 * text3.C (dispatch): fix, finally fix, the language problem in
84 new lyxtexts, without disabling on-the-fly font changes (Helge's
87 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * text3.C (dispatch): set cursor on double/triple click events
92 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
95 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
97 * rowpainter.C (paintFirst): simplify the code a little bit. In
98 particular, remove the test for secnumdepth.
99 * text.C (setHeightOfRow): only allocate space for chapter number
100 when updateCounters provided an actual label, instead of looking
101 at secnumdepth directly.
103 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
105 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
106 paragraphs when secnumdepth is large enough or, for environments,
107 when they are not the first in a sequence.
109 2005-04-17 Angus Leeming <leeming@lyx.org>
111 * buffer.C (makeLaTeXFile): replace code to manipulate a path
112 containing space and '~' characters with a call to latex_path().
114 2005-04-17 Angus Leeming <leeming@lyx.org>
116 * converter.C (convert): protect all args of convertDefault.sh
119 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * text3.C (dispatch): change the layout to "Caption" after inserting
124 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
126 * text3.C (dispatch): fix language problem in newly created
127 textinsets (and main text) in non-english docs
129 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
132 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
133 * text3.C (getStatus): disable LFUN_INSET_MODIFY
135 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
140 * rowpainter.C (getFont): Fix metrics bug introduced by inset
143 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
146 output of \item arguments without trailing text.
148 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * FontIterator.C (operator*): avoid a copy of the font.
152 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
154 * rowpainter.C (getFont): fix language bug from previous fix
156 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
158 * rowpainter.C (RowPainter, getFont): fix font inside inset
161 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
163 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
164 preventing inserted font, deco, delim insets jumping to start of
167 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * lyxfunc.C (dispatch): translate message before sending it to the
172 2005-03-29 Angus Leeming <leeming@lyx.org>
174 * lyx_main.C (priv_exec): call os::internal_path on each file passed
175 to LyX on the command line.
177 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
179 * vc-backend.C: use QuoteName to protect file names wherever
182 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
185 * BranchList.h: fix bugs 1844,1845: document settings don't
188 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * lyxrc.C (setDefaults, read, output, getDescription): add support
191 for tex_allows_spaces.
193 * exporter.C (Export): allows files in directory containing spaces
194 if tex_allows_spaces is true.
196 * buffer.C (makeLaTeXFile): if the document path contains spaces,
197 output it in double quotes.
199 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
201 * rowpainter.C: use default text height for drawing change tracker
204 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
206 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
208 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
211 directory is missing.
213 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
215 * text2.C: fixed the fix, extended to other case.
217 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
219 * text2.C: fix for cursor up/down stuck in math [bug 1792]
221 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
223 * text2.C (cursorUp): get rid of a crash
224 * text.C (x2pos): add an assert
226 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * lyxfunc.C (getStatus): fix warning when assertions are disabled
232 * dociterator.C: include <boost/current_function.hpp>, which is
233 needed when assertions are disabled.
235 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
237 * text2.C: fix for stuck cursor when traversing two
238 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
240 2005-02-25 Andreas Vox <avox@arcor.de>
242 * output_docbook.C (makeParagraph): suppress trailing newline
243 after a run of paragraphs
245 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
247 * paragraph.C: fix for confused change tracker when pasting
248 text that begins with a lineseparator. [bug 1827]
249 (setChange(0, Change::INSERTED);)
251 * paragraph_funcs.C: fix for lost changes on triple-paste
252 in change tracking mode [bug 1827] (par.setChange()).
254 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
256 * text2.C (updateCounters, setCounter, expandLabel): move to
259 * buffer_funcs.C (updateCounters): turn into a free standing
260 function and add a buffer parameter. Remove dead code for tracking
262 (setCounter): change into a free-standing function which gets a
263 dociterator as argument. Use this iterator to fix captions in a
264 simple way. When no float is found above the caption, use the
265 labelstring of the caption layout as default.
267 * text.C (breakParagraph, backspace):
268 * text2.C (init, setLayout, changeDepth):
269 * text3.C (dispatch):
270 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
273 * dociterator.C (forwardPar): make it much faster by calling
274 forwardPos() only when really necessary.
276 * output_docbook.C (makeCommand): adapt to expandLabel move.
278 * cursor.C: remove unused variable
280 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
282 * paragraph_funcs.C: fix crash when pasting insets in change
283 tracking mode [bug 1277] (honour change type in moveItem).
285 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
289 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * BufferView.C (setCursor): change to use a DocIterator.
292 (gotoLabel): use BufferView::setCursor (other part of bug 781).
293 (putSelectionAt): adapt to BufferView::setCursor change.
295 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
296 moved here from LyXText and rewritten to use proper cursor
297 methods. Fixes bug 1787, 616 and 835.
299 * BufferView_pimpl.C (restorePosition): set the cursor correctly
300 when inside an inset (part of bug 781).
301 (dispatch): adapt to change of BufferView::setCursor.
302 (getStatus, dispatch): handle LFUN_GOTOERROR,
303 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
305 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
306 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
307 * text3.C (gotoNextInset, gotoInset): removed.
309 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
313 2005-02-15 Angus Leeming <leeming@lyx.org>
315 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
316 can be used meaningfully in a comparison.
318 2005-02-13 André Pönitz <poenitz@gmx.net>
320 * bufferview_funcs.C (coordOffset): improve cursor drawing
322 2005-02-13 André Pönitz <poenitz@gmx.net>
324 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
325 * Cursor.C (dispatch): use fixIfBroken
326 * lyxfunc.C (getStatus): use fixIfBroken
328 2005-02-15 Angus Leeming <leeming@lyx.org>
330 * lyx_main.C (error_handler):
332 * lyxrc.C (setDefaults):
334 #include "environment.h".
336 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
338 2005-02-15 Angus Leeming <leeming@lyx.org>
340 * lyxserver.C (startPipe): squash MSVC warning "local variable
341 'fd' used without having been initialized".
343 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
345 * BufferView_pimpl.C: revert accidental commit.
347 2005-02-14 André Pönitz <poenitz@gmx.net>
349 * dociterator.[Ch]: new member forwardPosNoDescent(),
350 which doesn't enter nested insets.
351 * text2.C (setFont): use forwardPosNoDescent() instead
352 of ForwardPos() (fixes crash on font change).
354 2005-02-13 Angus Leeming <leeming@lyx.org>
356 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
357 only if lyxrc.path_prefix is not empty.
359 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
361 * bufferparams.C (readGraphicsDriver): prevent crash
363 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
365 * text2.C (setCounter): check for inInset() == 0
367 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
370 but use update() to get correct screen display; use convert
371 instead of istringstream.
372 (getStatus): handle LFUN_GOTO_PARAGRAPH
374 * lyxfunc.C (dispatch, getStatus): do not handle
375 LFUN_GOTO_PARAGRAPH here.
377 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
379 * text3.C (dispatch): size() -> depth()
381 * text2.C: remove some debug output
383 * paragraph.C: ws changes only
385 * lyxfunc.C (getStatus): size() -> depth()
387 * dociterator.h (clear, push_back, pop_back, internalData,
388 operator[], resize, empty): new functions
389 Make StableDocIterator and operator== be friends. Don't inherit
390 from std::vector use a privat class variable slices_ instead.
393 * dociterator.C: update because of not inheriting from std::vector
394 anymore. Call explictly to slices_ instead. Use depth() instead of
395 size() and top() instead of back()
397 * cursor.C: chagne size() -> depth and back() -> top(). Also
398 remove some direct operator[](i) calls in favour of foo[i]
399 (getFont): remove some dead code
401 * bufferview_funcs.C (coordOffset): size() -> depth()
403 * buffer.C: ws changes only
405 * CutAndPaste.C (eraseSelection): back() -> top()
407 * BufferView_pimpl.C (selectionRequested): back() -> top()
409 * BufferView.C (setCursor): size() -> depth()
411 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
413 * text3.C (cursorPrevious): return true if depm changed something
415 (dispatch): rename sl to oldTopSlice, remove moving use the new
416 NoUpdate func attrib instead. Make sure that needsUpdate is set
417 for function that have NoUpdate, but where depm might have changed
420 * text2.C (cursorLeft): make us return true if depm changed
423 (cursorUpParagraph): ditto
424 (curosrDownParagraph): ditto
425 (cursorUp, cursorDown): ditto, make sure to read comments in code
426 (deleteEmptyParagraphMechanism): remove an assert, also return
427 true if just a single char was deleted.
429 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
430 cursor that we modify, to avoid modifying an active cursor before
431 we call setCursor. This allows depm to run. Also return true if
432 depm deleted something.
434 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
435 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
436 cursorDownParagraph, cursorPrevious and cursorNext, return true if
437 something was changed in the buffer because of them (ie. depm run)
439 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
440 debug messages. Make update by default be false. Make sure that
441 the result of update is retained throught several calls down to
444 * LyXAction.h: add a new func_attrib: NoUpdate
446 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
447 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
448 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
450 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
452 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
455 bv_->owner(), bv_->buffer() by direct references to the private
457 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
458 (getStatus): isSavedPosition() is in BufferView::Pimpl.
459 (fitCursor): center() is in BufferView::Pimpl.
460 (getStatus, trackChanges, dispatch): no need for a temporary buf
462 (fitCursor, workAreaDispatch): use workarea().workheight()
464 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * CutAndPaste.C (pasteSelectionHelper): fix a crash
468 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
470 * buffer.C: format up to 241.
471 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
472 break if pasting into ERT
473 * lyxfunc.C (getStatus): suppress mathpanel and
474 LFUN_DIALOG_SHOW_NEW_INSET in ERT
476 2005-02-01 Angus Leeming <leeming@lyx.org>
478 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
480 2005-02-01 Angus Leeming <leeming@lyx.org>
482 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
483 calling fs::is_directory().
485 2005-01-31 Angus Leeming <leeming@lyx.org>
487 * lyx_main.C (priv_exec): specify explicitly the relative location
488 of the top level build directory when run in-place.
490 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
493 LyXText containing the cursor, not the top-level one.
495 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
497 (insertStringAsLines): rename par to pit; use temporary variable
498 par to hold a Paragraph; do not store par.layout() in a variable,
499 since the pointer may die when breaking paragraphs; pass pars to
500 breakParagraph() instead of Buffer::paragraphs().
502 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
504 * lyxlex_pimpl.h: #include <fstream>.
506 * BufferView.[Ch] (getLyXText): add a const version.
508 * BufferView_pimpl.C: add debug aids.
513 * paragraph_funcs.h: add commentary explaining what the class does.
516 * coordcache.[Ch]: add lots of commentary.
517 (startUpdating, doneUpdating): debug aids.
518 (arrays, insets, parPos, getParPos): accessors to private data.
520 * cursor_slice.[Ch] (text): add a const version.
521 * dociterator.[Ch] (text, innerText): add const versions.
523 * lyxtext.h (breakParagraph): change the keep_layout arg to a
526 * paragraph.C (getRow, pos2ros): add asserts.
528 * paragraph.h: add commentary. Lots of.
530 * paragraph.[Ch] (metrucs, draw): removed.
533 * rowpainter.[Ch]: const-correct changes.
535 * text.C: various obvious clean-ups. Removal of ancient cruft.
538 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
540 * vc-backend.C (find_file): rewrite to use boost.filesystem
543 * main.C (main): set default name check for boost.filesystem to
546 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
549 (actOnUpdatedPrefs): ditto
551 * lyx_main.C (init): rewrite to use boost.filesystem
552 (queryUserLyXDir): ditto
554 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
555 (getContentsOfAsciiFile): ditto
557 * lastfiles.C (readFile): rewrite to use boost.filesystem
559 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
561 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
564 * buffer.C (Buffer): adjust for destroydir
565 (getLogName): rewrite to use boost.filesystem
567 (save): use fs::copy_file (from fs_extras)
569 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
571 * LaTeX.C (run): rewrite to use boost.filesystem
572 (scanAuxFiles): ditto
573 (handleFoundFile): ditto
575 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
577 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
579 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
581 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
583 * lyxlayout.[Ch]: change some vars from float to double
585 * buffer.C (readFile): make a local var const
587 * Several files: use convert<> instead of atoi,strToXXX and friends
589 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
591 * LaTeXFeatures.[Ch]: Add a static list packages_ that
592 holds the contents of packages.lst. New functions getAvailable
593 and isAvailable to parse and check that list, resp.
597 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
599 * bufferparams.[Ch]: new param output_changes.
601 * Buffer.C: increase file format to 240.
602 Use output_changes and isVailable.
606 * paragraph_pimpl.C: Use output_changes and isVailable.
608 2005-01-23 Angus Leeming <leeming@lyx.org>
610 * output_latex.C: #include "insetbibitem.h", rather than
611 forward declare function bibitemWidest.
613 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
615 * lyx_main.C (init): make it compile on the Mac.
617 2005-01-20 Angus Leeming <leeming@lyx.org>
619 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
620 (setLyXMisc): (char string literal) != (char string literal) is
621 performing a comparison on the addresses. Convert one operand
622 explicitly to string to guarantee expected behaviour.
625 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
628 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
630 * output_plaintext.C: remove unneeded #include gzstream.h.
632 2005-01-20 Angus Leeming <leeming@lyx.org>
634 * SpellBase.h: rename some of the elements of the Result enum.
641 * pspell.C (check): ditto
643 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
645 * buffer.C: add #include <fstream>.
647 * lyx_main.C (init): Compile fix.
649 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
651 2005-01-20 Angus Leeming <leeming@lyx.org>
653 * mover.h: change commentary to reflect the changed meaning of
656 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * output_linuxdoc.C (linuxdocParagraphs): silence warning
660 * lyxfind.C (MatchString::operator()): remove bogus semicolon
662 2005-01-20 Angus Leeming <leeming@lyx.org>
664 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
665 printing diagnostic data by not dereferecing an iterator past the
668 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
670 * buffer.C (readHeader): use "&&" rather than "and".
672 * lyxserver.h (inPipeName, outPipeName): make these const.
674 2005-01-19 Angus Leeming <leeming@lyx.org>
676 * lyx_main.C (error_handler, init): protect SIGHUP with
677 #ifdef SIGHUP guards.
679 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
683 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * text.C (setHeightOfRow): add a margin at the top and bottom of
686 the document (bug 1761)
688 2005-01-17 Angus Leeming <leeming@lyx.org>
690 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
691 with "python ". Workaround for a brain-dead Windows.
693 2005-01-16 Angus Leeming <leeming@lyx.org>
695 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
696 for MacOSX and Windows to use prependEnvPath.
697 Strip out the hard-coded block to add elements to the PATH for
698 MacOSX and replace it with a call to prependEnvPath using the
699 contents of LyXRC::path_prefix.
700 (queryUserLyXDir): strip out the code to run reconfigure, instead
701 returning a boolean indicating the necessity to do so.
702 (reconfigureUserLyXDir): contains the code to reconfigure the
703 user support directory. Is now called after the various LyXRC data
704 files have been read.
706 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
708 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * converter.[Ch] (convert): take a new parameter try_default. Use
711 a default converter (imagemagick) if try_default is true.
713 2005-01-13 Angus Leeming <leeming@lyx.org>
715 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
717 (write): output LyXRC::cygwin_path_fix as necessary.
719 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
722 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
724 2005-01-12 Angus Leeming <leeming@lyx.org>
726 * lyx_main.C (init): set the PATH variable to include the
727 directory containing the LyX binary when running on Mac or Windows.
729 2005-01-12 Angus Leeming <leeming@lyx.org>
731 * lyx_main.C (init): remove cruft that purports to set the locale
732 dir. It doesn't and is not needed anyway.
734 2005-01-10 Angus Leeming <leeming@lyx.org>
736 * Makefile.am: remove the lyx_main.C special casing.
738 * BufferView_pimpl.C:
744 * messages.C: use support/package.h to provide the paths to the
745 various directories used by LyX.
747 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
749 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
750 layout if pasting into an empty paragraph)
752 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
754 * tex-accent.C: add <string>
756 2005-01-06 José Matos <jamatos@lyx.org>
758 * ParagraphParameters.C (write): put every parameter in its own line.
759 * paragraph.C (write): reduce number of consecutive empty lines exported.
760 * buffer.C (LYX_FORMAT): increase file format to 239.
762 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
764 * everywhere: change support/tostr.h -> support/convert.h
766 * tabular.C: make all write_attributes templates, tostr -> convert
768 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
769 (emptyTag): and -> &&, and fix type for ret from getChar
770 (getFirstWord): fix type for ret from getChar
771 (onlyText): and -> &&
772 (simpleDocBookOnePar): and not -> && !, fix type for ret from
775 * toc.C (goTo, action):
776 * text3.C (dispatch):
777 * text.C (currentState):
778 * tex-accent.C (DoAccent):
781 * lyxfunc.C (menuNew):
782 * lyxfinc.C (replace):
783 * counters.C (laberItem):
784 * bufferview_funcs.C (font2string):
785 * bufferparams.C (writeFile):
786 * buffer.C (readFile):
788 * MenuBackend.C: tostr -> convert
790 * LaTeX.C (runMessage): fix format
791 (scanAuxFiles): tostr -> convert
793 * BufferView_pimpl.C (savePosition): fix format
794 (restorePosition): ditto
797 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
799 * Spacing.[Ch]: New method getValueAsString().
803 * ParagraphParameters.C:
806 * text3.C: store/read spacing value as string.
808 * rowpainter.C: change float value (spacing_val) to double.
810 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
811 broken custom document spacing).
813 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
815 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
816 namespace, also more use of temp references and const
818 * cursor.[Ch] (getStatus): move to lyxfunc.C
820 * bufferparams.C: reformat slightly
822 * bufferview_funcs.C (font2string): constify arg
828 * buffer_funcs.C: (many funcs): constify arg on function
829 definitions, also make more local vars const, also add ASSERTS on
832 * buffer.C (LYX_FORMAT): put const in correct place
833 (many funcs): constify arg on function definitions, also make
834 more local vars const
836 * aspell_local.h: remove "struct" from typdef setup
838 * aspell.C (check): make word_ok const
839 (nextMiss): simplify slightly
842 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
844 * lyxrc.[Ch]: store all float values as strings.
845 use int (not float) for lyxrc.dpi.
847 2005-01-04 Angus Leeming <leeming@lyx.org>
849 * lyx_cb.C (Reconfigure):
850 * lyx_main.C (queryUserLyXDir):
851 to run the <system_lyxdir>/configure correctly on Windows, prefix
852 the path to the script with "sh " when generating the string that
853 is passed to system().
855 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
857 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
859 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
861 * lyxlength.C (asLatexString): get rid of setprecision
863 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * text2.C (setLayout): remove unused variable endpit.
866 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
868 * paragraph.C (onlyText): remove unused variable style.
870 * cursor.C (bruteFind): remove unused variables beg and end.
872 * Makefile.am (dist_noinset_DATA): not needed anymore
874 * cheaders/*: remove.
876 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
878 * text3.C: fix LFUN_MATH_MODE.
880 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * buffer_funcs.C (countWords): new function. Counts words between
885 * BufferView_pimpl.C (getStatus, dispatch): handle
888 * LyXAction.C (init):
889 * lfuns.h: add LFUN_WORDS_COUNT.
891 2004-12-19 Angus Leeming <leeming@lyx.org>
893 * buffer.C (save): s/slashify_path/internal_path/.
895 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
897 * lyxfind.C (findChange): do not search for end of pars, because
898 the change tracker cannot handle this (fixes bug 1719).
900 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
902 * paragraph.[Ch] (autoBreakRows): remove
904 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
906 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
907 avoid using the paragraph one
909 * text2.C (LyXText, insertStringAsLines): adjust
911 2004-12-16 Angus Leeming <leeming@lyx.org>
915 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
917 2004-12-14 Angus Leeming <leeming@lyx.org>
919 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
921 * bufferlist.C (emergencyWrite):
922 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
925 2004-12-14 Angus Leeming <leeming@lyx.org>
927 * main.C: (main): no longer pass pointers to os::init.
929 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
931 * undo.C (textUndoOrRedo): simplify logic, fix a crash
932 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
934 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
937 * text3.C: remove selection_possible global flag
939 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
941 * text2.C (getSelectionSpan): remove
942 (changeDepth, changeDepthAllowed): adjust
944 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
946 * Makefile.am (BOOST_LIBS): use boost variables
948 2004-12-03 José Matos <jamatos@lyx.org>
950 * buffer.C: format up to 238.
952 2004-12-03 José Matos <jamatos@lyx.org>
954 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
956 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
958 * cursor.C (goUpDown): remove call to idxUpDown2
960 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
962 * tabular.[Ch]: use size_t-like types for cell, row and column
965 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * lyxfunc.C (getStatus): do not lose previous information when
968 calling BufferView::getStatus; do not set a default "Command
969 disabled" message at the beginning, but just before returning.
971 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
973 * cursor.h (getStatus): add better comment from src/cursor.C
975 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * text3.C (getStatus): return false when the lfun is not handled
979 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
981 * broken_headers.h: remove
983 * Makefile.am (lyx_SOURCES): remove broken_headers.h
985 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
987 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
990 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
991 top_y_, merge fitcursor with update
992 (updateScrollbar, scrollDocView, fitCursor, center, update): new
995 (workAreaDispatch): adapt to new coord scheme
996 (redoCurrentBuffer): remove
998 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1000 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1003 * coordcache.[Ch]: add paragraph cache and helpers
1005 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1008 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1009 (targetX, setTargetX): introduce
1011 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1012 baseline -> ascent, as the rest of lyx
1014 * lyxtext.h: remove redoParagraphs, updateParPositions,
1015 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1016 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1017 have ascent/descent (ascent is ascent of first par)
1019 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1022 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1024 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1026 * pariterator.C: fix infinite loop introduced in par->pit renaming
1028 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1029 in insets and LyXText, draw two off-screen paragraphs using
1030 NullPainter, and adapt to new coord scheme
1034 * text3.C: adapt lfun handlers to the new coord scheme, which
1035 means: there's only guaranteed coord information for onscreen pars
1036 plus one above and one below. This implies that one can do search
1037 from y coordinates in the range [-1,workHeight]
1039 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1041 * rename a lot of InsetOld to InsetBase
1043 2004-11-25 Angus Leeming <leeming@lyx.org>
1045 * BufferView_pimpl.C:
1047 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1049 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1052 call BufferView::getStatus if LCursor::getStatus did nothing
1053 (setStatusMessage, getStatusMessage): removed.
1055 * FuncStatus.C (message): new methods. Used to provide an error
1056 message indicating why a command is disabled.
1057 (clear, |=, FuncStatus): update for message.
1059 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1061 * lyxfunc.C (dispatch): always call sendDispatchMessage
1063 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1066 * BufferView_pimpl.C:
1071 * cursor_slice.[Ch]:
1074 * paragraph_funcs.C:
1080 * undo.C: par->pit renaming
1082 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1084 * tabular.C (cellstruct): use initialization, store a shared_ptr
1085 to insettext instead of the insettext directly, adjust to fit.
1086 (operator=): new function
1087 (swap): new function
1088 (rowstruct): use initialization
1089 (columnstruct): use initialization
1090 (ltType): use initialization
1093 * lyxlength.h (swap): new function
1095 * LColor.[Ch] (operator=): use the common semantics
1097 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1099 * lyxfind.C (findNextChange): update the bufferview after setting
1102 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1104 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1105 number of InsetOptArgs has already been inserted.
1107 * output_latex.C (latexOptArgInsets): new method. This outputs all
1108 the optarg insets, up to the limit defined in the layout file.
1109 (optArgInset): removed
1110 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1112 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * paragraph.C (isLetter): remove special spellchecker-related
1115 code; return true also for digits
1116 (isWord, isKomma): remove
1118 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1119 * lyxfind.C (MatchString()): use isLetter instead of isWord
1121 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1123 * pariterator.h (operatir=): comment out un-implemented member
1126 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1129 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1131 * lyxfont.h: include LColor.h to satisfy concept checks.
1133 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1135 * pariterator.h: add typdefs for value_type, difference_type,
1136 pointer and reference to satisfy concept checks. Also add default
1137 constructor for same reason.
1139 * pariterator.C (operator++): add post-increment operator to
1140 satisfy concept checks.
1142 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1145 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1147 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1148 checks. Also rename base_type to BaseType to follow naming
1151 * FloatList.h: include Floating.h to satisfy concept checks.
1153 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * lyxfunc.C (getStatus): when the origin of the request is menu or
1156 toolbar, and the LyXView does not have focus, do as if there was
1157 no buffer (bug 1720)
1159 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1160 FuncRequest to individual entries of LFUN_SEQUENCE
1162 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1164 * output_latex.C (TeXOnePar): override runparams.moving_arg
1165 according to the needprotect value of the current paragraph (bug
1168 * paragraph.C (simpleTeXOnePar): no need to override
1169 runparams.moving_args here
1171 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1173 * vspace.C: fix off-by-one-error, related to fix #1682
1175 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1177 * lengthcommon.C: a more general fix for bug 1682
1179 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1181 * text.C (backspace): fix crash
1183 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1185 * format.[Ch] (getFormatFromFile): new method
1186 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1188 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1190 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1192 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1194 * lyxfunc.C (dispatch): remove the verbose argument
1195 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1198 * kbmap.C (defkey): set the origin of func to KEYBOARD
1200 * MenuBackend.C (MenuItem):
1201 * ToolbarBackend.C (add): set the origin of func to UI
1203 * funcrequest.[Ch]: add origin member, which indicates which part
1204 of LyX requests an action
1206 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1208 * converter.C (move): don't lie in the error message
1209 * converter.h (isReachable, move): document
1211 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1213 * buffer.C: remove unused using lyx::support::atoi
1214 * paragraph_funcs.C: ditto
1216 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1218 * bufferlist.C (exists): use bind and equal_to instead of
1221 * lyxtextclasslist.C (NumberOfClass): ditto
1223 * cursor.C (insert): use for_each instead of explicit for loop
1225 * bufferlist.C (getFileNames): use std::transform and
1226 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1228 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1231 * buffer.C (changeLanguage): use for_each instead of explicit for
1233 (hasParWithID): implement using getParFromID
1235 * LaTeXFeatures.C: ws change only
1237 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1240 * BufferView_pimpl.C (trackChanges): use for_each instead of
1243 2004-11-04 André Pönitz <poenitz@gmx.net>
1246 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1248 * dociterator.C (asDocIterator): use hard assert again.
1250 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1252 * lyxlength.C (asLatexString): rewrite so that it does not use
1255 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1257 * text3.C (specialChar, dispatch): make sure cursor moves to the
1258 right after inserting an inset
1260 2004-11-02 José Matos <jamatos@lyx.org>
1262 * output_docbook.C (docbook):
1263 * paragraph.C (getID):
1264 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1265 garantee that the output is always legal.
1267 * tabular.C (docbook):
1268 * outputprams.[Ch]: remove mixed contents.
1270 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1272 * text2.C (setCounter): prevent endless loop
1274 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1276 * exporter.C (copyFile): use the mover instead of support::copy()
1277 * exporter.C (Export): pass format and latex name to copyFile()
1278 * exporter.h (addExternalFile): document
1279 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1281 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1285 2004-10-30 José Matos <jamatos@lyx.org>
1287 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1288 text and no inset or font change. This allows to use CDATA
1289 sections just for the whole paragraph.
1291 2004-10-30 José Matos <jamatos@lyx.org>
1293 * paragraph.C (getFirstWord): remove unused variable.
1295 2004-10-30 José Matos <jamatos@lyx.org>
1297 * paragraph.C (getFirstWord): the content should always be escaped
1299 (simpleDocBookOnePar):
1300 * output_docbook.C (makeEnvironment): replace reference to CDATA
1303 2004-10-30 José Matos <jamatos@lyx.org>
1305 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1307 2004-10-30 José Matos <jamatos@lyx.org>
1309 * output_docbook.C (makeParagraphs):
1310 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1311 standard paragraph has only a given type of content drop the wrapper.
1313 2004-10-29 José Matos <jamatos@lyx.org>
1315 * output_docbook.C (makeEnvironment):
1317 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1319 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1321 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1322 (cleanID): sanitize any id.
1324 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1326 * buffer.C, lyxlex_pimpl.C:
1327 * lyxlex_pimpl.C (setFile):
1328 s/getExtFromContents/getFormatFromContents/
1330 2004-10-28 José Matos <jamatos@lyx.org>
1332 * output_docbook.C (makeEnvironment): move id to broadest possible
1335 * sgml.C (openTag): apply substitution of <> for all attributes.
1337 2004-10-28 José Matos <jamatos@lyx.org>
1339 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1340 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1341 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1343 * sgml.[Ch]: new version for open and closeTag for paragraph and
1344 for strings. Now they handle the ids of paragraphs.
1346 2004-10-26 Angus Leeming <leeming@lyx.org>
1348 * Makefile.am: add mover.[Ch].
1350 * converter.C (convert, move): use the new Movers to move external
1351 files to the temp directory.
1353 * lyx_main.C (init): ensure that the global system_movers data
1356 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1359 * mover.[Ch]: new files, defining a Mover as a utility to move an
1360 external file between directories and, if necessary, manipulate this
1361 file using a helper script.
1363 2004-10-25 José Matos <jamatos@lyx.org>
1365 * output_docbook.C (makeCommand): merge two if's that tested the
1368 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1370 * sgml.C (escapeString): fix warning in a better way
1372 2004-10-25 José Matos <jamatos@lyx.org>
1374 * sgml.C (escapeString): import the require boosts header file for
1375 tie, and avoid a signed unsigned comparison.
1377 2004-10-25 José Matos <jamatos@lyx.org>
1379 * sgml.h: add #include <string>
1381 2004-10-25 José Matos <jamatos@lyx.org>
1383 * sgml.[Ch] (escapeString): new function to escape all the string.
1385 2004-10-24 José Matos <jamatos@lyx.org>
1387 * paragraph.[Ch] (getFirstWord): new function to get the first
1388 word. Useful for description.
1389 (simpleDocBookOnePar): remove depth argument, add another that
1390 says where to start the paragraph.
1392 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1393 use the new functions to fix cleanly the support for descriptions.
1395 2004-10-24 José Matos <jamatos@lyx.org>
1397 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1398 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1399 * output_linuxdoc.C (linuxdocParagraphs):
1400 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1401 add buffer as argument.
1403 2004-10-24 José Matos <jamatos@lyx.org>
1405 * output_docbook.C (makeEnvironment, searchEnvironment): place
1406 CDATA inside paragraphs and fix scope for listitems.
1408 2004-10-24 José Matos <jamatos@lyx.org>
1410 * output_docbook.C: remove using statement for stack.
1412 2004-10-23 José Matos <jamatos@lyx.org>
1414 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1415 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1416 docbook. The new scheme is recursive and makes use of iterators, the
1417 same as latex export works.
1418 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1419 directly with the paragraph contents. This code was moved up to
1420 output_docbook.C (docbookParagraphs).
1421 * sgml.C (openTag, closeTag): removed unneeded newlines.
1422 (closeEnvTags) removed.
1424 2004-10-23 André Pönitz <poenitz@gmx.net>
1426 * undo.C (textUndoOrRedo):
1427 * dociterator.C (asDocIterator): work around crash
1429 * cursor.C (getStatus): replace ASSERT by more verbose error message
1430 and manual correction of the problem. Should increase stability
1431 while providing more sensible information.
1433 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1437 * bufferlist.C (previous, next): new methods
1440 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1442 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1444 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1445 entities to preamble.
1447 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1449 * messages.C (Pimpl): strip off translation context information
1451 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1454 the cursor is correct (bug 1694)
1456 2004-10-13 José Matos <jamatos@lyx.org>
1458 * output_docbook.C (docbookParagraphs): fix closing tags in the
1459 end of the document.
1461 2004-10-09 José Matos <jamatos@lyx.org>
1463 * buffer.C: format up to 237.
1464 * bufferparams.C (write): use tostr to convert booleans to strings.
1466 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1468 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1470 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1472 * LaTeX.C: implement use of babel language in xindy.
1474 2004-10-05 José Matos <jamatos@lyx.org>
1476 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1477 Add new translators to help reading and writing the lyx file.
1479 2004-10-05 José Matos <jamatos@lyx.org>
1481 * ParagraphParameters.C (read):
1482 * text.C (readParToken): replace nexToken by more appropriate lex
1485 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1487 * LaTeX.C (runMakeIndex):
1488 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1489 (usually 'makeindex') configurable.
1491 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1492 with a variable rather than with a number.
1494 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * output_latex.C (TeXOnePar): make sure font setting is the first
1497 thing that gets output (and the last at the end). Should fix bug
1500 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1502 * pch.h: use proper signal include
1504 * LaTeX.h: Use preferred calling of Boost.Signal
1507 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1509 * pch.h: dont include <boost/function/function0.hpp>
1511 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1513 * paragraph_pimpl.h: remove usage of ShareContainer
1515 * paragraph_pimpl.C: remove initialization of ShareContainer.
1517 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1521 * BufferView.C (putSelectionAt): change the semantics when
1522 backwards == true: now, this just swaps cursor and anchor wrt the
1525 * BufferView.h (putSelectionAt): add some documentation
1527 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1528 make sure backwardChar is done at least once (to avoid getting
1530 (findNextChange): use putSelectionAt in the forward direction
1531 (operator()): use Paragraph::isWord
1533 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1535 * Spacing.C (set): c_str fix
1537 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1539 * lyx_cb.C (Reconfigure): quote the name of configure script in
1540 case it contains spaces
1542 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1546 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1547 (BOOST_LIBS): use top_buildir when looking for the file
1549 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1551 * pch.h: do not use include boost/format.hpp, multiple symbols
1552 will result (gcc bug)
1555 2004-08-23 José Matos <jamatos@lyx.org>
1557 * bufferparams.C (readToken): fix reading of the author field.
1559 2004-08-20 José Matos <jamatos@lyx.org>
1561 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1563 2004-08-20 José Matos <jamatos@lyx.org>
1565 * lyxlex.[Ch] (findToken): remove function.
1567 * ParagraphParameters.C (findToken):
1568 * bufferparams.C (findToken): replace call for previous function
1569 with local copy. This local function has one more argument, the
1570 read string argument.
1572 2004-08-16 José Matos <jamatos@lyx.org>
1574 * ParagraphParameters.C (write):
1575 * Spacing.C (writeFile):
1576 * bufferparams.C (writeLaTeX):
1577 * lyx_cb.C (Reconfigure):
1578 * paragraph.C (write):
1579 * tabular.C (write): remove unnecessary space at end of line.
1582 2004-08-16 José Matos <jamatos@lyx.org>
1584 * text.C (readParagraph): remove debug message.
1586 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1588 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1591 * output_plaintext.C (asciiParagraph): set depth correctly
1593 * outputparams.h: add member depth
1595 * paragraph_funcs.C (ownerPar): remove.
1597 * text2.C (setCounter): remove first_pit; comment out some
1598 non-working code that uses ownerPar
1600 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1603 2004-08-16 José Matos <jamatos@lyx.org>
1605 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1606 For the same level of importance use the same chanel to report problems.
1607 (read): add code to deal with \begin_body and \end_body.
1610 2004-08-15 José Matos <jamatos@lyx.org>
1612 * lyxlex.C (getString): fix comment, buffer::readBody is now
1613 buffer:readDocument.
1615 * tex-strings.C (string_papersize): Default -> default,
1616 Custom -> custom, for consistency with other options.
1618 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1622 * Makefile.am: support pch
1624 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * text.C (readParToken): remove the static LyXFont variable and
1627 pass it as a parameter instead. This fixes a nasty bug where an
1628 inset will be inserted with a bad font in some situations
1629 (readParagraph): adapt
1631 * text2.C (setCounter): reduce number of calls to pars_[pit]
1633 * text.C (singleWidth): add an assert, fix a test
1635 * rowpainter.C (paintText): reduce number of calls to singleWidth
1637 * paragraph.C (isHfill):
1638 (isNewline): ws only
1640 2004-08-14 André Pönitz <poenitz@gmx.net>
1645 * lyxtext.h (several functions): use a Paragraph & argument
1648 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1650 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1652 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1654 * text.C (singleWidth): remove useless test
1656 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1658 * tabular.h: remove bogus comments
1660 * tabular.C (getDescentOfRow):
1661 (isPartOfMultiColumn): add assertions
1663 * lyxlength.C (inPixels): remove #warning
1665 2004-08-14 André Pönitz <poenitz@gmx.net>
1667 * paragraph.h: inline getChar()
1669 * BufferView.h: remove unused declarations
1671 2004-08-14 José Matos <jamatos@lyx.org>
1673 * Buffer.[Ch] (readDocument): new name for old readBody.
1674 * Buffer.C: new file format, new keywords: \begin_document,
1675 \begin_header, \begin_body, \end_body.
1677 * bufferparams.C (readToken): replace all calls to lex.nextToken
1678 by lex.next(). Do the same to eatLine except where really needed.
1680 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1681 line when writing to the lyx file.
1683 * output_plaintext.C (asciiParagraph): fix Bibliography style
1686 * text.C (read): fix end of file handling.
1688 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * MenuBackend.C (Menu::operator[]): new method to access
1691 individual menu items
1692 (Menu::hasFunc): new method. search for an item that corresponds
1694 (MenuBackend::specialMenu): new method
1695 (MenuBackend::expand): if a special menu has been set, skip
1696 entries whose func() appears in this menu
1698 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1700 * text3.C: use Debug::DEBUG a bit more
1702 * text.C (leftMargin): try to simplify a tiny bit change var x to
1703 l_margin. Dont output the wide margins always.
1704 (rightMargin): no margin in inner texts
1706 * rowpainter.h (nestMargin): new func
1707 (changebarMargin): new func
1708 (rightMargin): new func
1710 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1714 * factory.C (createInset): modify setDrawFrame
1716 * cursor.C: use Debug::DEBUG a bit more
1718 2004-08-14 André Pönitz <poenitz@gmx.net>
1721 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1722 cache for all insets in (at least partially) visible (top-level)
1725 * BufferView_pimpl.C: reset external coord cache before every update.
1726 This means the coord cache only contains valid entries.
1728 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1731 * BufferView_pimpl.C (getInsetByCode): move function out of class
1732 and change in to a template in anon namespace. Also fix to do what
1735 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1738 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1740 (breakParagraph): rename par to par_offset and use a local
1741 reference. Add code to keep the language over a rebreak.
1742 (breakParagraphConservative): rename par to par_offset, use a
1744 (mergeParagraph): ditto
1746 (isFirstInSequence): ditto
1747 (outerFont): rename pit to par_offset
1749 * paragraph.C: ws change
1750 * paragraph.h: ditto
1754 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1756 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1759 * paragraph.C (simpleTeXOnePar): when we have a \item with
1760 optional argument, enclose the argument with curly brackets (in
1761 case it contains a closing square bracket)
1765 * text3.C (checkInsetHit): constify
1767 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1769 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1770 documents (bug 1629)
1772 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1774 Fix toggling of collapsable insets with the mouse (bug 1558)
1776 * lyxfunc.C (dispatch): adapt to LCursor changes
1778 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1779 make sure that dispatch is not invoked twice
1781 * cursor.C (needsUpdate): new method
1782 (dispatch): return void
1783 (result): new method, to access the DispatchResult of the cursor.
1785 2004-08-13 José Matos <jamatos@lyx.org>
1787 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1789 2004-08-13 André Pönitz <poenitz@gmx.net>
1791 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1793 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1796 2004-08-12 André Pönitz <poenitz@gmx.net>
1798 * text3.C: take out the 'cursor right' form insertInset and only
1799 do it in those places when it is really needed. Fixes crash on
1802 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1804 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1806 * BufferView_pimpl.C (setBuffer): initialize the current font of
1807 the underlying LyXText
1809 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1811 * kbsequence.C (print): use UI native formatting for menu
1814 * text.C (insertChar): call Paragraph::insertChar with a font
1817 * paragraph.C (insertInset, insertChar): the version that takes a
1818 LyXFont argument is now a wrapper around the other one (the
1819 opposite used to be true).
1821 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1822 argument. Font setting is done in Paragraph now.
1824 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1826 * outputparams.h: add new members intitle and lang.
1828 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1829 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1831 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1833 * text3.C (dispatch): remove special handling of button 4 and 5,
1834 it is now taken care of in the frontend code.
1836 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1838 * Spacing.h: add <string> (STLPort compile fix)
1840 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1842 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1844 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1846 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1849 * converter.C (showMessage): inherit from unary_function, make
1852 * buffer.C (writeFile): initialize retval
1854 * InsetList.h: rename private variable list to list_
1855 * InsetList.[Ch]: adjust accordingly.
1857 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1859 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1860 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1861 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1862 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1863 * ParagraphParameters.C, LaTeXFeatures.C: replace
1864 "support/std_sstream.h" with <sstream>
1866 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1868 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1869 * lyxsocket.C (LyXServerSocket): ditto
1870 (serverCallback): ditto
1872 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1874 * LaTeXFeatures.C: check release date when loading jurabib.
1876 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1878 * lyxserver.C (startPipe): call register_socket_callback
1879 (endPipe): call unregister_socket_callback
1881 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1883 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1884 (LyXServerSocket): register the callback
1885 (LyXServerSocket): unregister the callback
1886 (fd): delete function
1887 (serverCallback): improve error checking and setup the callbacks.
1888 (dataCallback): change arg to fd.
1889 (writeln): new func (copied fro the client socket) used for server
1891 (LyXDataSocket): simplify
1892 (~LyXDataSocket): close ann unregiser callback
1893 (server): delete function
1894 (fd): delete function
1895 (readln): small changes, improve some std::string usage
1896 (writeln): constify a bit
1898 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1903 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1905 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1906 after it has been populated
1908 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * text2.C (insertInset): move cursor when inserting inset.
1912 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1914 * kbmap.C (findbindings): a couple of new methods. returns a
1915 container of kb_sequence objects. The real work is done by the
1916 private recursive version
1917 (printbindings): uses findbindings to print out a bracketed list
1918 of bindings (renamed from findbinding).
1920 * MenuBackend.C (binding): use kb_keymap::findbindings
1922 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1924 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1926 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1928 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1930 * paragraph.C (isWord): return true on insets that report
1933 * text.C (getWord): use Paragraph::isWord to decide what is in a
1934 word and what is not; fix bug 1609.
1936 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1938 * tex-strings.C: add "none" to string_paperpackages[], fixes
1939 off-by-one-error in the paperpackage selection.
1942 * tex-strings.[Ch]: char const * string[n]
1943 -> char const * const string[]
1945 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1947 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1948 command, return early.
1950 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1952 * debug.h: add DEBUG to enum and fix size of ANY.
1954 * debug.C: add support for Debug::DEBUG
1955 (showTags): cast errorTags.level to unsigned int
1957 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1958 (redoCurrentBuffer): ditto
1959 (updateScrollbar): ditto
1960 * cursor.C (dispatch): ditto
1961 * text2.C (setLayout): ditto
1963 (updateCounters): ditto
1965 (deleteEmptyParagraphMechanism): ditto
1967 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1969 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1970 annotations to cleanup the Makefile slightly.
1972 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1974 * lyxrc.C: do not set user_email to a default value but use empty
1975 instead. The entry used to be translated, which does not work
1976 since at the point where lyxrc is constructed there is no
1977 translation service available
1979 * messages.C (getLocaleDir): remove and use directly
1980 lyx_localedir() instead
1982 2004-06-02 Angus Leeming <leeming@lyx.org>
1984 Fix crash caused by dereferencing null pointer 'exportdata' in
1985 OutputParams by creating a new ExportData variable on the heap,
1986 storing it in a boost::shared_ptr.
1987 The crash was triggered when generating an Instant Preview
1988 of an external inset.
1990 * Makefile.am: add outputparams.C
1992 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1993 (c-tor): allocate memory to it.
1995 * exporter.C (c-tor): associated changes.
1997 2004-06-01 Angus Leeming <leeming@lyx.org>
1999 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2000 contains data before calling isInset(0). (Bug 1513.)
2002 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2004 * exporter.C (checkOverwrite): new method
2005 * exporter.C (copyFile): new method
2006 * exporter.C (Export): copy referenced files to the document dir
2007 * exporter.[Ch]: new class ExportedFile
2008 * exporter.[Ch]: new class ExportData. Contains currently the
2009 names of referenced external files
2010 * outputparams.h: add exportdata member.
2012 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2014 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2017 2004-05-19 Angus Leeming <leeming@lyx.org>
2022 * lyxfunc.C: small changes due to the introduction of namespace
2023 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2025 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2027 * text3.C (dispatch): supress update when only moving the cursor
2028 * cursor.C (selHandle): remove commented code
2030 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2032 * paragraph.C (startTeXParParams): correct column count
2033 * CutAndPaste.C (pasteSelection): remove const_cast
2034 * output_docbook.C (docbookParagraphs): remove const_cast
2035 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2036 const_cast and return ParagraphList::const_iterator
2037 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2038 * output_plaintext.C (writeFileAscii): remove const_cast
2039 * paragraph.[Ch] (simpleTeXOnePar): make const
2040 * paragraph_funcs.C (outerPar): use const iterators
2041 * paragraph_pimpl.C (validate): use const iterators
2042 * text.C (setHeightOfRow): use const iterators
2044 2004-05-17 Angus Leeming <leeming@lyx.org>
2047 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2049 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2050 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2051 if the citation engine has changed.
2053 2004-05-14 José Matos <jamatos@lyx.org>
2055 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2056 if the textclass does not provide it. Have it different for sgml and
2058 support the language of document.
2059 * output_docbook.C (docbookParagraphs):
2060 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2061 first anchor as the id of the paragraph, remove special case code.
2062 * sgml.C (escapeChar): escape only < & >.
2064 2004-05-14 Angus Leeming <leeming@lyx.org>
2066 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2067 dependencies on src/frontends/controllers/biblio.h. Define a
2068 CiteEngine_enum wrapper class to enable the enum to be forward
2071 2004-05-12 Angus Leeming <leeming@lyx.org>
2073 * buffer.C: up LYX_FORMAT to 234.
2074 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2075 use_numerical_citations with a single biblio::CiteEngine cite_engine
2077 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2079 2004-05-13 José Matos <jamatos@lyx.org>
2082 * converter.C (Converter, readFlags): add xml member.
2083 * outputparams.h: add XML flavor.
2084 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2086 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2088 * lyxfunc.C (dispatch):
2089 (getStatus): fix handling of LFUN_SEQUENCE
2091 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * debug.C (showLevel): do not forget the end-of-line marker
2095 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * kbmap.C (read): do not stop parsing a bind file when an error
2100 2004-04-29 Angus Leeming <leeming@lyx.org>
2105 * text2.C: wrap a bunch of #warning statements
2106 inside #ifdef WITH_WARNINGS blocks.
2108 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2110 * buffer.C: increment format to 233.
2112 2004-04-28 Angus Leeming <leeming@lyx.org>
2114 * BufferView_pimpl.C:
2117 s/updateToolbar()/updateToolbars()/
2118 s/Toolbar.h/Toolbars.h/
2120 2004-04-28 Angus Leeming <leeming@lyx.org>
2122 * BufferView.[Ch] (c-tor):
2123 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2124 No longer passes these data to the WorkArea generator.
2126 2004-04-28 Angus Leeming <leeming@lyx.org>
2128 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2130 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2132 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2134 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2136 * output_latex.C (TeXEnvironment): make sure that there is a line
2137 break before \end{foo} for the last paragraph of a document
2138 (TeXOnePar): if the paragraph is at the end of the document (or
2139 inset) and the language has to be reset, then make sure that the
2140 line break is _before_ the language command, not after (fixes bug
2141 1225); also make sure that the language reset command is the first
2142 thing after the paragraph (to ensure proper nesting of
2143 environments and thus fix bug 1404)
2145 2004-04-21 John Levon <levon@movementarian.org>
2148 * ToolbarBackend.C: make "name" be a programmatic name
2149 and a gui_name field.
2151 * lyxfunc.C: display the minibuffer on M-x
2153 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2155 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2158 2004-04-19 Angus Leeming <leeming@lyx.org>
2160 * BufferView_pimpl.C (setBuffer): changed preview interface.
2162 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2165 2004-04-19 John Levon <levon@movementarian.org>
2167 * BufferView_pimpl.C:
2168 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2170 2004-04-05 Angus Leeming <leeming@lyx.org>
2172 * text.C (redoParagraphs): add call to updateCounters(), thereby
2173 fixing the missing "Figure #:" label from the caption of a
2176 2004-04-13 Angus Leeming <leeming@lyx.org>
2178 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2179 cursor is clicked out of an inset.
2181 2004-04-13 Angus Leeming <leeming@lyx.org>
2183 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2184 than an InsetOld one.
2186 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2188 * format.[Ch]: add editor to Format
2189 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2190 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2192 2004-04-08 André Pönitz <poenitz@gmx.net>
2194 * metricsinfo.h: remove PainterInfo::width member
2196 2004-04-08 Angus Leeming <leeming@lyx.org>
2198 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2199 "\providecommand" rather than "\newcommand", thereby preventing
2200 clashes with packages that define "\boldsymbol" themselves.
2203 2004-04-08 Angus Leeming <leeming@lyx.org>
2205 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2206 thereby squashing an unnecessary warning.
2208 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2210 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2213 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2215 * BufferView.C (setCursor): call redoParagraph (some insets could
2217 (putSelectionAt): remove the 'double update' trick
2219 * BufferView_pimpl.C (fitCursor): call refreshPar
2220 (workAreaDispatch): remove an uneeded update call
2221 (dispatch): remove some manual update calls
2223 * cursor.[Ch]: remove cached_y_, updatePos
2224 (selHandle): set noUpdate when appropriate
2226 * lyxfunc.C (dispatch): track if we need an update
2228 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2230 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2231 (paintSelection): cheap optimization, do not call cursorX when not
2233 (paintPars): change signature
2236 (paintTextInset): adjust
2240 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2242 * lengthcommon.C: compilation fix: remove explicit array size from
2243 unit_name[] and friends
2245 2004-04-05 Angus Leeming <leeming@lyx.org>
2247 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2249 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2250 present only for the preferences dialog.
2251 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2253 2004-04-05 Angus Leeming <leeming@lyx.org>
2255 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2256 to enable the frontends to export changes to lyxrc correctly.
2258 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2260 2004-04-07 André Pönitz <poenitz@gmx.net>
2262 * cursor.[Ch] (selClear, adjust): remove math
2264 * cursor_slice.C: more agressive assert
2267 * BufferView_pimpl.C: rework mouse event dispatch
2274 2004-04-05 André Pönitz <poenitz@gmx.net>
2276 * cursor.[Ch] (valign, halign...): remove unneeded functions
2278 2004-04-05 Angus Leeming <leeming@lyx.org>
2280 * lyxlength.[Ch] (unit_name et al.): const-correct.
2282 2004-04-05 Angus Leeming <leeming@lyx.org>
2284 * BufferView_pimpl.C:
2293 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2295 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2297 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2299 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2301 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2302 * BufferView_pimpl.[Ch] (getStatus)
2303 * BufferView.[Ch] (getStatus): add
2304 * lyxfunc.C (getStatus): move lfuns handled in
2305 BufferView::dispatch to te function above
2306 * Cursor.C (setSelection): set selection() = true
2308 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2310 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2312 2004-03-31 Angus Leeming <leeming@lyx.org>
2314 * lyxfunc.C (dispatch): Fall through to the generic
2315 Dialogs::show("preamble").
2317 2004-03-31 Angus Leeming <leeming@lyx.org>
2319 * lyxfunc.C (dispatch): Fall through to the generic
2320 Dialogs::show("spellchecker").
2322 2004-03-31 Angus Leeming <leeming@lyx.org>
2324 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2327 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2332 * insetiterator.[Ch]:
2337 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2339 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2341 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2342 insets where we are putting the cursor.
2344 2004-03-31 Angus Leeming <leeming@lyx.org>
2347 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2349 * lyxrc.[Ch] (read, write): overloaded member functions taking
2350 a std::[io]stream arguments.
2352 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2354 2004-03-31 Angus Leeming <leeming@lyx.org>
2356 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2357 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2359 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2360 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2362 2004-03-31 Angus Leeming <leeming@lyx.org>
2364 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2365 the LFUN_ALL_INSETS_TOGGLE code.
2367 2004-03-30 Angus Leeming <leeming@lyx.org>
2369 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2370 has died. Fall through to the generic Dialogs::show("document").
2372 2004-03-30 Angus Leeming <leeming@lyx.org>
2375 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2376 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2378 * lyxfunc.C (getStatus, dispatch): define the actions for these
2379 lfuns. Little more than a cut and pste job from ControlDocument.C
2381 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2383 2004-03-30 Angus Leeming <leeming@lyx.org>
2386 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2387 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2389 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2390 open/closed state of ollapsable insets. Usage:
2392 all-inset-toggle <state> <name>, where
2393 <state> == "open" || "closed" || "toggle" and
2394 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2396 * lyxtext.h, text2.C (toggleInset): removed.
2398 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2399 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2400 now passes LFUN_INSET_TOGGLE to the found inset.
2402 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2403 is now invoked as "all-insets-toggle toggle branch".
2405 2004-03-30 Angus Leeming <leeming@lyx.org>
2409 * pariterator.[Ch]: added/corrected header blurb.
2411 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2413 * dociterator.[Ch]: add an inset_ member
2414 (backwardPos): implemented
2415 (backwardPos, forwardPos): use inset_ when the stack is empty.
2416 (doc_iterator_begin, doc_iterator_end): implemented
2417 * pariterator.[Ch]: adjust, add begin, end
2418 * insetiterator.[Ch]: adjust, add begin, end
2422 * BufferView_pimpl.C:
2423 * CutAndPaste.C: adjust
2425 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2427 * buffer.C: increment file format to 232.
2428 * LaTeXFeatures.C: add bibtopic package.
2429 * bufferparams.[Ch]: param \use_bibtopic.
2431 * lyxrc.[Ch]: add lyxrc bibtex_command
2432 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2434 * buffer.C: increment file format to 231.
2436 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2438 * dociterator.C: implement forwardPar
2439 * iterators.[Ch]: remove, replaced by
2440 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2442 * BufferView_pimpl.C:
2445 * bufferview_funcs.C:
2451 * Makefile.am: adjust
2453 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2455 * CutAndPaste.C (pasteSelection): fix 2 crashes
2456 (eraseSelection): fix a crash
2457 * paragraph_funcs.C: remove a warning
2459 2004-03-28 Angus Leeming <leeming@lyx.org>
2462 * LyXAction.C (init): new LFUN_PRINT.
2464 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2466 2004-03-27 Angus Leeming <leeming@lyx.org>
2469 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2471 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2473 2004-03-27 Angus Leeming <leeming@lyx.org>
2475 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2476 insetlist always contains non-null pointers to insets.
2478 2004-03-26 Angus Leeming <leeming@lyx.org>
2480 * src/BufferView_pimpl.C:
2481 * src/CutAndPaste.C:
2484 * src/output_plaintext.C:
2485 * src/outputparams.h:
2486 * src/paragraph_funcs.C:
2490 * src/frontends/controllers/ControlErrorList.C:
2491 * src/frontends/gtk/FileDialogPrivate.C:
2492 * src/frontends/gtk/GPainter.C:
2493 * src/frontends/gtk/GToolbar.C:
2494 * src/frontends/qt2/QRef.C:
2495 * src/mathed/math_scriptinset.C: squash compiler warnings.
2497 2004-03-26 Angus Leeming <leeming@lyx.org>
2499 * ispell.C (LaunchIspell::start):
2500 * lyx_cb.C (AutoSaveBuffer::start):
2501 invoke run(DontWait) rather than runNonBlocking().
2503 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2505 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2507 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * kbsequence.C (print): adjust
2511 * kbmap.C (printKeySym): rename and change signature
2512 (printKey): use LyXKeySym::print()
2514 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2516 * undo.C: add using std::advance to compile for stlport
2518 2004-03-24 Angus Leeming <leeming@lyx.org>
2520 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2521 it leads to a crash when no buffer is present.
2523 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2524 Martin Vermeer <martin.vermeer@hut.fi>
2526 * lyxfunc.C (dispatch):
2527 * bufferparams.C (readToken): use the new LColor::setColor
2529 * LColor.[Ch] (setColor): new version that takes two strings as
2530 argument and creates a new color entry if necessary
2532 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2534 * buffer.C (makeLaTeXFile): if the main latex file that is
2535 processed is usually a subdocument of some master, then pretend
2536 for a while that it is actually the master
2538 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2540 * buffer.C (getLabelList):
2541 (getBibkeyList): use getMasterBuffer()
2542 (getMasterBuffer): new method. Returns the main document in the
2543 case where one is using included documents.
2545 2004-03-25 André Pönitz <poenitz@gmx.net>
2549 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2551 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2553 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2554 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2556 * ParameterStruct.h: merge with ParagraphParameters
2558 * lyxtext.h: remove LyXText::parOffset() and getPar()
2560 * text3.C: Remove all 'manual' update calls. We do now one per user
2561 interaction which is completely sufficient.
2565 * BufferView_pimpl.C:
2566 * FontIterator.[Ch]:
2568 * ParagraphParameters.[Ch]:
2573 * cursor_slice.[Ch]:
2580 * output_docbook.[Ch]:
2581 * output_latex.[Ch]:
2582 * output_linuxdoc.[Ch]:
2583 * output_plaintext.[Ch]:
2585 * paragraph_funcs.[Ch]:
2586 * paragraph_pimpl.[Ch]:
2594 * frontends/controllers/ControlDocument.C:
2595 * frontends/controllers/ControlErrorList.C:
2596 * frontends/controllers/ControlSpellchecker.C:
2599 * insets/insetbase.h:
2600 * insets/insetbibitem.C:
2601 * insets/insetbox.C:
2602 * insets/insetbranch.C:
2603 * insets/insetcaption.C:
2604 * insets/insetcharstyle.C:
2605 * insets/insetcharstyle.h:
2606 * insets/insetcollapsable.C:
2607 * insets/insetcollapsable.h:
2608 * insets/insetert.C:
2609 * insets/insetfloat.C:
2610 * insets/insetfoot.C:
2611 * insets/insetmarginal.C:
2612 * insets/insetnote.C:
2613 * insets/insetoptarg.C:
2614 * insets/insettabular.C:
2615 * insets/insettext.C:
2616 * insets/insettext.h:
2617 * insets/insetwrap.C:
2618 * mathed/math_mboxinset.C:
2619 * mathed/math_nestinset.C:
2620 * mathed/math_scriptinset.C:
2621 * mathed/math_scriptinset.h:
2624 2004-03-24 Angus Leeming <leeming@lyx.org>
2626 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2627 deal with any child processes that have finished but are waiting to
2628 communicate this fact to the rest of LyX.
2630 2004-03-24 Angus Leeming <leeming@lyx.org>
2632 64-bit compile fixes.
2634 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2635 (c-tor): pass lyx::pos_types rather than ints.
2637 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2640 * text.C (Delete): compile fix.
2641 (getPar): ensure that function declaration is the same as that in
2644 2004-03-23 Angus Leeming <leeming@lyx.org>
2646 * ispell.C (LaunchIspell):
2647 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2648 a boost::shred_ptr rather than a std::auto_ptr.
2650 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2652 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2653 handle LFUN_FILE_INSERT_*
2655 * lyxrc.C (setDefaults, getDescription, output, read):
2656 * lyxrc.h: remove ps_command
2658 2004-03-22 Angus Leeming <leeming@lyx.org>
2660 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2661 Ensure that error_handler is processed once only and that all data
2662 is saved before attempting to output any warning messages.
2664 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2666 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2668 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2670 2004-03-19 André Pönitz <poenitz@gmx.net>
2672 * cursor.[Ch] (reset): take main text inset as argument
2674 * BufferView: adjust
2675 * BufferView_pimpl.C: adjust
2677 * paragraph.[Ch]: fix completely broken operator=()
2679 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 * LColor.C (getFromLyXName): make sure that the color name is used
2684 2004-03-17 Angus Leeming <leeming@lyx.org>
2687 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2689 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2690 dialog and to kill a forked process.
2692 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2694 * text2.C (setCursorFromCoordinates): fix font problem
2696 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2698 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2699 bogus "rebuild cursor" code
2701 2004-03-11 André Pönitz <poenitz@gmx.net>
2703 * buffer.[Ch]: use InsetText instead of LyXText as container for
2706 * dociterator.[Ch]: drop the BufferView * member which is not needed
2707 anymore after the change to buffer.C
2709 * paragraph_funcs.C:
2713 * BufferView_pimpl.[Ch]:
2715 * cursor_slice.[Ch]: adjust
2717 * text3.C: fix bug in mathDispatch
2719 2004-03-08 André Pönitz <poenitz@gmx.net>
2721 * undo.[Ch]: use 'StableDocumentIterator' as base for
2724 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2727 * bufferparams.[Ch]: add jurabib support and param.
2729 * LaTeX.C: add FIXME/comment.
2731 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2733 * buffer.C: increment file format to 230.
2735 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2737 * cursor.C (dispatch): avoid infinite loops
2739 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2741 * rowpainter.C (paintSelection): fix x coordinates
2743 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2745 * text.C (rowBreakPoint): fix breaking before displayed insets
2747 2004-03-01 André Pönitz <poenitz@gmx.net>
2749 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2751 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2755 * BufferView_pimpl.C:
2763 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2769 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2770 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2772 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2774 * Bidi.[Ch] (computeTables): const correctness
2775 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2776 fill_hfill, fill_label_hfill and x from Row
2777 * lyxtext.h: prepareToPrint returns a RowMetrics
2778 * rowPainter.C: adjust
2779 * text.C (prepareToPrint): use width, not textWidth. adjust
2780 (redoParagraphInternal, cursorX): adjust
2781 * text2.C (getColumnNearX): adjust
2782 (init): put a default value to the top LyXText::width
2784 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2786 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2788 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2790 * lyxtext.h: add FontIterator class
2792 * text.C (FontIterator, operator*, operator->, operator++): add
2793 (rowBreakPoint, setRowWidth): adjust (fixing a
2796 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2798 * BufferView_pimpl.C (workAreaDispatch): allow also
2799 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2801 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2803 * text.C (rowBreakPoint): fix a bug showing with very large insets
2805 2004-02-25 André Pönitz <poenitz@gmx.net>
2808 * cursor.[Ch]: move some mathed specific code to mathed
2810 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2812 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2813 use_tempdir in preferences
2814 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2816 * lyx_main.C: ensure that tempdir is valid
2817 * lyxlex.h: correct typo
2818 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2819 * paragraph.[Ch] (isMultiLingual): make const
2820 * cursor.[Ch] (openable): make const
2822 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2824 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2826 2004-02-20 André Pönitz <poenitz@gmx.net>
2828 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2830 * cursor.[Ch]: prepare for localized getStatus()
2836 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2838 2004-02-20 André Pönitz <poenitz@gmx.net>
2840 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2842 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2844 * text2.C (setCursorFromCoordinates): switch to absolute coords
2846 (cursorDown): adjust
2847 * text3.C (dispatch): adjust
2849 2004-02-16 André Pönitz <poenitz@gmx.net>
2851 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2854 * cursor_slice.[Ch]: remove unneeded acessor function
2856 * lyxtext.h: rename rtl() to isRTL()
2864 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2866 * rowpainter.C (paintSelection): coord fix
2868 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2870 * Spacing.C: compile fix
2872 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2874 * cursor.C (dispatch): restore current_ before returning
2876 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2878 * text2.C (cursorUp, cursorDown): fix coords
2881 2004-02-12 André Pönitz <poenitz@gmx.net>
2886 * text3.C: add LCursor & parameter to most cursor movement functions
2887 remove usage of LyXText::cursorRow() and cursorPar()
2889 * cursor.[Ch]: add textRow() needed members
2892 * BufferView_pimpl.C:
2895 * BufferView_pimpl.C: adjust
2897 2004-02-11 André Pönitz <poenitz@gmx.net>
2901 * BufferView_pimpl.C: shift undo/redo handling
2903 * cursor.[Ch]: fix mathed crash
2906 * lyxtext.h: move selectionAsText to LCursor
2914 * rowpainter.C: fix excessive drawing
2916 2004-02-06 André Pönitz <poenitz@gmx.net>
2919 * BufferView_pimpl.[Ch]:
2920 * text3.C: move some text specific LFUN handling
2922 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2924 * text3.C (checkInsetHit): adjust coords
2925 * text2.C (getColumnNearX): adjust coords
2926 (edit): adjust coords
2927 * text.C (getRowNearY): add two asserts
2929 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2932 * format.C: add using std::distance to compile on gcc 2.95/stlport
2934 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2936 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2938 2004-02-04 André Pönitz <poenitz@gmx.net>
2940 * BufferView.[Ch] (insertInset):
2941 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2946 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2948 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2949 on the default clause of the switch
2950 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2951 wasn't catched by LCursor::dispatch
2953 2004-02-03 André Pönitz <poenitz@gmx.net>
2956 * cursor.[Ch]: some additional asserts
2958 * undo.[Ch]: remove LyXText dependency in interface
2962 * lyxtext.h (firstPar, lastPar): remove dead functions
2967 * paragraph.[Ch]: adjust
2969 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2971 * lyxfind.C (find): fix argument order in call to ::find
2973 2004-02-02 André Pönitz <poenitz@gmx.net>
2975 * cursor.[Ch]: remove direct access to anchor
2977 * text.C: remove findText() hack
2979 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2981 * iterators.[Ch] (lockPath): remove in favour of...
2982 * BufferView.[Ch] (setCursor): this addition
2983 * BufferView.C (putSelectionAt): adjust
2984 * undo.C (performUndoOrRedo): adjust
2985 * lyxfunc.C (dispatch): adjust
2987 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2989 * iterators.C (lockPath): add a missing slice
2990 * undo.C (performUndoOrRedo): remove redundant positioning code
2992 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2994 * vc-backend.C (scanMaster): ";" -> ';'
2996 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2998 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2999 std::binary_function
3001 * lyxtextclass.C (compare_name): rename to...
3002 (LayoutNamesEqual): ...this
3004 * lyxlex_pimpl.C (compare_tags): inherit from
3005 std::binary_function, put back into anon namespace
3007 * lyxfind.C (MatchString): inherig from std::binary_function
3008 (findChange): use empty() istead of !size()
3010 * format.C (FormatNamesEqual): new functor
3017 * converter.C (compare_Converter): rename to...
3018 (ConverterEqual): ...this, and fixup a bit.
3019 (getConverter): use it, and make function const
3020 (getNumber): use it, and make function const
3024 * bufferlist.C: add using boost::bind
3026 * MenuBackend.C (MenuNamesEqual): new functor
3027 (hasMenu): use it, and make function const
3028 (hasSubmenu): use nested bind to get rid of compare_memfun.
3030 2004-01-30 André Pönitz <poenitz@gmx.net>
3032 * BufferView_pimpl.C:
3035 * cursor_slice.[Ch]:
3038 * paragraph_funcs.C:
3039 * paragraph_funcs.h:
3043 * text3.C: move some of the edit(x,y) handling to the insets
3044 some coordinate changes.
3046 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3048 * text.C: add using statements for std::advance and std::distance
3050 * paragraph.C: add using statement for std::distance
3052 * lyxfind.C: add using statement for std::advance
3054 * cursor.C (region): remove std:: from swap
3055 (openable): use nucleus in stead of operator->
3057 * BufferView.C: add using statements for std::distance and std::swap
3059 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3061 * iterators.C: Remove the pimple, move the needed structures to
3062 the header file. Create accessor for the positions stack.
3063 (asPosIterator): remove function
3065 * PosIterator.C (PosIterator): move constructors to top of file
3066 (PosIterator): reimplement the constructor taking a ParIterator in
3068 (setFrom): new function
3069 (operator!=): inline it
3071 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3073 * lyxfind.C (replaceAll): use std::advance
3075 * iterators.h: inherit from std::iterator.
3077 * PosIterator.C (advance, distance): remove
3078 * PosIterator.h: interit from std::iterator.
3080 2004-01-26 André Pönitz <poenitz@gmx.net>
3083 * BufferView_pimpl.[Ch]:
3087 * bufferview_funcs.C:
3097 * output_linuxdoc.C:
3098 * output_plaintext.C:
3100 * paragraph_funcs.[Ch]:
3101 * paragraph_pimpl.[Ch]:
3107 * text3.C: more IU: dumps most of the rest of the mathcursor
3108 implementation into cursor.[Ch]; "globalize" a bit of it.
3110 2004-01-25 Angus Leeming <leeming@lyx.org>
3112 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3114 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3116 * LaTeXFeatures.h: add nice_ and nice() const
3117 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3119 2004-01-20 André Pönitz <poenitz@gmx.net>
3122 * BufferView_pimpl.C:
3124 * bufferview_funcs.C:
3126 * cursor_slice.[Ch]:
3137 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3138 LCursor and mathcursor parts to LCursor and InsetBase.
3140 2004-01-15 André Pönitz <poenitz@gmx.net>
3142 * cursor_slice.[Ch]: add a few covienience functions
3144 * funcrequest.[Ch]: remove BufferView * member
3146 * BufferView_pimpl.C:
3153 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3155 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3157 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3158 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3160 2004-01-13 André Pönitz <poenitz@gmx.net>
3163 * lyxtext.h: hide cursor and selection anchor behind accessor function
3166 * BufferView_pimpl.[Ch]:
3168 * bufferview_funcs.C:
3178 * cursor_slice.[Ch]: some integer type changes for inset unification
3180 * lyxcursor.[hC]: remove, it's CursorSlice now.
3183 * BufferView_pimpl.[Ch]:
3184 * bufferview_funcs.C:
3190 * textcursor.[Ch]: adjust
3192 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3194 * text2.C (undoSpan): add and use
3195 * text.C (breakParagraph): use undoSpan (fix bug 578)
3198 2004-01-08 Angus Leeming <leeming@lyx.org>
3200 * BufferView_pimpl.C (MenuInsertLyXFile):
3201 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3202 * lyxfunc.C (menuNew, open, doImport):
3203 FileFilterList change to the FileDialog open and save functions.
3205 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3207 * ShareContainer.h: make isEqual and isUnique adaptable
3209 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3211 2004-01-07 Angus Leeming <leeming@lyx.org>
3214 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3216 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3218 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3219 functions replacing find, replace and replaceAll.
3221 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3222 LFUN_WORDFIND(FORWARD|BACKWARD).
3224 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3226 * text.C (breakParagraph): remove an outdated #warning
3228 2004-01-07 André Pönitz <poenitz@gmx.net>
3230 * lyxfind.C: somewhat clearer logic
3232 * text.C: prevent crash in cursorX on unitialized row cache
3234 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3236 * lyxcursor.[Ch] (operator>): add
3237 * textcursor.C (selStart, selEnd): use std::min and std::max
3239 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3241 * Chktex.C: include boost/format.hpp
3243 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3245 * InsetList.C: replace functor MathcIt with adaptable functor
3247 (insetIterator): modify accordingly
3249 * BranchList.h: move the BranchNamesEqual functor here from...
3250 * BranchList.C: ... to here
3252 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3254 (add): replace a finding loop with std::find_if.
3256 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3258 * output_docbook.C: moving LatexParam functionality into
3261 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3263 * buffer.C: increment format to 229.
3265 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3268 * lyx_sty.[Ch]: remove minipageindent_def
3274 * text3.C: remove LFUN_INSET_MINIPAGE
3276 2003-12-28 Angus Leeming <leeming@lyx.org>
3278 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3280 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3282 * text2.C (setParagraph): fix off-by-one crash
3284 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3286 * output_docbook.C: header stuff for AGU
3288 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3290 * text2.C (redoCursor): remove
3293 * BufferView_pimpl.C: remove calls to redoCursor and
3294 setCursor(cursor.par(), cursor.pos()) all around
3296 2003-12-15 Angus Leeming <leeming@lyx.org>
3298 * buffer.C: up the format to 228.
3300 2003-12-15 André Pönitz <poenitz@gmx.net>
3302 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3307 * BufferView_pimpl.C:
3316 2003-12-15 Angus Leeming <leeming@lyx.org>
3318 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3319 than getFromGUIName to manipulate the color.
3321 2003-12-14 Angus Leeming <leeming@lyx.org>
3323 * BranchList.[Ch]: minimize the API.
3324 (Branch::getBranch, getColor): now return a 'const &'.
3325 (Branch::setSelected) now returns a bool set to true if the
3326 selection status changes.
3327 (BranchList::clear, size, getColor, setColor, setSelected,
3328 allBranches, allSelected, separator): removed.
3329 (BranchList::find): new functions, returning the Branch with
3331 (BranchList::add, remove): return a bool indicating that
3332 the operation was successful.
3334 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3335 new InsetBranch::isBranchSlected member function.
3337 * LColor.[Ch]: mimimize the API.
3338 (fill): renamed as addColor and made private.
3339 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3340 versions of these functions taking a string arg have been removed.
3342 * bufferparams.C (readToken):
3343 * lyxfunc.C (dispatch):
3344 * lyxrc.C (read): changes due to the altered BranchList and
3347 * factory.C (createInset, readInset): changes due to altered
3350 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3353 * lyxfunc.C: remove insetminipage. "minipage-insert"
3354 now produces a frameless minipage box inset.
3356 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3358 * textcursor.[Ch] (selStart,selEnd): add new methods
3359 remove selection::start, end, use LyXCursor::operator<
3360 * lyxcursor.[Ch] (operator<): add
3361 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3362 * BufferView.[Ch] (unsetXSel): add
3363 * text2.C (clearSelection): use unsetXSel,adjust
3366 * rowpainter.C: adjust
3367 * bufferview_funcs.C (put_selection_at): adjust
3369 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3371 * BufferView_pimpl.C: small coord. correction
3373 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3375 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3376 dragging over the splash screen.
3378 2003-12-11 Angus Leeming <leeming@lyx.org>
3380 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3381 as it is now handled in LyXText::dispatch.
3383 * text3.C (doInsertInset): remove a level of nesting.
3385 2003-12-11 Angus Leeming <leeming@lyx.org>
3387 * factory.C (createInset): changes due to the changed interface to
3388 InsetCommandMailer::string2params.
3390 2003-12-10 Angus Leeming <leeming@lyx.org>
3392 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3393 'dialog-show-new-inset <inset name>'
3395 2003-12-10 Angus Leeming <leeming@lyx.org>
3397 * buffer.C: up the format to 227.
3399 * factory.C: the box inset is now identified simply by 'Box'.
3401 2003-12-10 Angus Leeming <leeming@lyx.org>
3403 * buffer.C: up the format to 226.
3405 * factory.C: the note inset is now identified simply by 'Note'.
3407 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3409 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3410 when a pit is enough. Standarize a couple of loops.
3412 2003-12-05 Angus Leeming <leeming@lyx.org>
3414 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3415 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3416 data to the re-worked "log" dialog.
3418 2003-12-03 André Pönitz <poenitz@gmx.net>
3424 * paragraph_funcs.C:
3426 * text2.C: use Inset::getText instead of Inset::getParagraph
3428 2003-12-03 André Pönitz <poenitz@gmx.net>
3432 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3433 InsetText::read() as LyXText::read()
3435 2003-12-02 Angus Leeming <leeming@lyx.org>
3437 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3438 type. Add a comment in the implementation that the function uses
3439 the stream's bad() function rather than fail() as the std::streams
3442 2003-12-02 André Pönitz <poenitz@gmx.net>
3444 * lyxlex.[Ch]: make interface more similar to std::stream
3446 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3448 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3450 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3452 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3454 * vspace.[Ch]: remove VSpace::NONE
3456 2003-12-01 André Pönitz <poenitz@gmx.net>
3459 * lyxtext.h: move ParagraphList member to LyXText
3460 rename LyXText::ownerParagraphs to LyXText::paragraph
3463 * bufferview_funcs.C:
3473 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3475 * undo.C: fix cursor positioning
3477 2003-12-01 John Levon <levon@movementarian.org>
3479 * BufferView_pimpl.C: fix a crash on exit with
3482 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3484 * BranchList.C: fix setSelected() method.
3486 2003-11-28 André Pönitz <poenitz@gmx.net>
3488 * ParagraphParameters.[Ch]:
3489 * ParameterStruct.h: remove space above/below from Paragraph to
3492 * BufferView_pimpl.C:
3498 * paragraph_funcs.C:
3504 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3506 * factory.C: Syntax change for CharStyles
3508 2003-11-28 André Pönitz <poenitz@gmx.net>
3513 * buffer.[Ch]: move LyXText member
3515 2003-11-28 André Pönitz <poenitz@gmx.net>
3517 * BufferView.[Ch]: make LyXText * text a private member
3519 * BufferView_pimpl.C:
3530 * output_plaintext.C: cleanup
3532 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3535 * lyxtextclass.[Ch]: parametrize SGML document header
3537 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3540 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3543 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3545 * text2.C (setFont): rework using PosIterator (no more recursive)
3546 (setCharFont): no more needed
3547 (setLayout): no more selection cursors fiddling (done by redoCursor)
3548 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3549 destroy remaining ones)
3551 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3553 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3555 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3558 * text3.C: adjust + re-allow multi par depth changes
3559 * textcursor.C: simplify a bit
3561 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3567 * src/output_docbook.C:
3568 * src/output_latex.C:
3573 * src/text2.C: Introducing a number of tags parametrizing various
3574 XML formats that we may want to support
3576 2003-11-25 André Pönitz <poenitz@gmx.net>
3578 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3580 * lyxtext.h (leftMargin/rightMargin): simplify interface
3587 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3589 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3590 master file to any child files. Fixes bug 546.
3592 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3594 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3596 2003-11-24 André Pönitz <poenitz@gmx.net>
3598 * rowpainter.C: simplification
3600 * text2.C (updateCounters): remove call to redoParagraph on
3601 changed labels as this is far too expensive.
3603 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3605 * converter.C (convert): fix a crash: this function gets
3606 called with buffer == 0 from importer code.
3608 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3610 * text3.C (cursorPrevious): make sure that we do not compare
3611 iterators form different containers.
3614 * rowpainter.C (paintSelection): make sure that we do not compare
3615 iterators from different containers.
3617 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3618 iterators from different ParagraphList containers.
3621 * text2.C (LyXText): change order of initialization slightly
3622 (operator=): new function. copy all variables except cache_par_
3623 (moveUp): make sure that we do not compare iterators from
3624 different ParagraphList constainers.
3627 * text.C (firstPar): new function
3628 (lastPar): new function
3629 (endPar): new function
3631 * lyxtext.h: move things around and group public functions, public
3632 variables, private functions, private variables
3634 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3636 * factory.C: change call to InsetERT constructor to avoid
3637 additional invocation of method status
3638 * text2.C (toggleInset): remove redundant update() call
3639 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3640 instead of a Bufferview pointer
3642 2003-11-21 André Pönitz <poenitz@gmx.net>
3644 * rowpainter.C: simplification
3646 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3648 * text3.C (dispatch): make possible to extend a word/row selection
3651 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3653 * lyxtext.h: x0_,y0_ -> xo_,yo_
3654 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3655 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3656 * rowpainter.C (paintRows): paint full paragraphs
3658 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3660 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3663 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3665 * lyxtext.h: add x0_, y0_
3666 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3667 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3669 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3671 * text2.C (setCursorIntern): move the x_target update here *
3672 * text3.C: change some bv() to true/false in calls to
3673 cursorUp/Down/Right/Left
3674 * cursor.C: use helper function.
3676 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3678 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3679 * paragraph_funcs.[Ch]: correct comment
3680 * rowpainter.C: do not paint selections away from bv->cursor()
3681 Fix a long standing selection painting bug.
3682 * text3.C: generalize mouse-selection code to LyXTexts other that
3684 * textcursor.C: do not use y coords if we can use par offsets
3686 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3688 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3689 cursor position after e.g. inset insert)
3691 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3693 * lyxfind.C (replace): adjust to locking removal + some
3696 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3698 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3701 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3704 * output_docbook.C: XML sanitation: new layout
3705 parameters InnerTag and CommandDepth
3707 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3709 * BufferView_pimpl.C:
3711 * text3.C: Fix the insertion and modification of button-style
3714 2003-11-13 André Pönitz <poenitz@gmx.net>
3716 * InsetList.[Ch]: remove deleteLyXText
3718 * paragraph.[Ch]: cache beginOfBody position
3723 * text3.C: remove superfluous update() calls
3727 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3729 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3730 * BufferView.C (fitLockedInsetCursor): remove
3731 * cursor.[Ch] (getDim): add
3732 * text.C (getRowNearY): add faster version
3733 * text3.C: remove some update calls
3735 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3747 * text3.C: The Character Style /XML short element patch.
3749 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3752 * factory.C: Small step to solving 'unable to insert some insets'
3755 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3757 * cursor.[Ch] (updatePos): new function for updating the y
3758 position of the tip inset
3759 * bufferview_funcs.C (put_selection_at):
3760 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3762 2003-11-11 André Pönitz <poenitz@gmx.net>
3764 * text.C: remove big comment on invalid Paragraph pointers as it is
3767 2003-11-11 André Pönitz <poenitz@gmx.net>
3769 * text_funcs.[Ch]: merge with ...
3777 * Makefile.am: remove text_funcs.[Ch]
3779 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3781 * cursor.C (getPos): return absolute cached y coord
3783 * BufferView_pimpl.C (fitCursor): new simplistic code
3784 (workAreaDispatch): add a fitCursor call
3786 2003-11-10 André Pönitz <poenitz@gmx.net>
3789 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3791 2003-11-10 André Pönitz <poenitz@gmx.net>
3793 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3794 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3795 indicate that the cursor needs to leave an inset
3797 * lyxtext.h: remove inset locking
3799 * cursor.[Ch]: re-implement functionality provided by inset locking
3802 * BufferView_pimpl.[Ch]:
3804 * bufferview_funcs.[Ch]:
3816 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3818 * PosIterator.[Ch]: replace the stack with a vector, add inset
3820 * iterators.[C]: adjust
3822 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3824 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3826 * paragraph_funcs.C (readParToken): put the correct id in the
3827 error item, not the id of the top paragraph
3829 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3831 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3832 * bufferview_funcs.C (put_selection_at): use the above
3834 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3836 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3838 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3840 * output_linuxdoc.h:
3841 * output_plaintext.h:
3843 * output_docbook.h: add #include statements
3845 2003-11-05 José Matos <jamatos@lyx.org>
3847 * output_docbook.[Ch]:
3848 * output_latex.[Ch]:
3849 * output_linuxdoc.[Ch]:
3850 * output_plaintext.[Ch]: New files for output formats.
3851 * output.[Ch]: New file for helper functions.
3854 * paragraph_funcs.[Ch]: output functions moved to new files.
3856 * outputparams.h: rename of latexrunparams.h
3864 * paragraph_funcs.[Ch]:
3865 * paragraph_pimpl.[Ch]:
3866 * tabular.[Ch]: rename ascii to plaintext
3867 and LatexRunParams to OutputParams.
3869 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3871 * iterators.[Ch] (text): require bv argument
3872 * undo.C (recordUndo):
3873 * lyxfunc.C (dispatch):
3874 * bufferview_funcs.C (put_selection_at): adjust
3876 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3878 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3880 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3882 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3885 2003-11-04 André Pönitz <poenitz@gmx.net>
3887 * cursor.[Ch]: restructure
3890 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3892 * iterators.[Ch] (asCursor): remove
3894 * lfuns.h: remove LFUN_INSET_EDIT
3900 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3902 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3904 * lyxfind.[Ch]: complete overhaul
3905 * BufferView_pimpl.C:
3907 * paragraph.[Ch] (insert): add
3909 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3913 * text.C: remove dead spellcheck code
3915 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * dispatchresult.h: add a val setter
3919 * cursor.C (dispatch): use a tempvar for data_[i]
3921 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3923 * PosIterator.[Ch]: compile fix
3925 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3927 * text.C (cursorPar): deactivate the cursor cache
3929 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3931 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3933 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * text3.C (dispatch): adjust for new DisptchResult semantics.
3937 * lyxfunc.C (dispatch): handle update when return from
3938 Cursor::dispatch, adjust for new DispatchResult semantics.
3940 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3941 DispatchResult(true) mean to not update. Add class functions for
3942 setting dispatched and update, as well as reading.
3944 * cursor.C (dispatch): don't handle update here
3946 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3949 * trans_mgr.C: adjust
3951 * paragraph_funcs.C (readParToken): exception safety
3953 * lyxvc.h: store the vcs pointer in a scoped_ptr
3956 * lyxsocket.C (serverCallback): exception safety
3958 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3960 * ispell.C (clone): make it return a auto_ptr
3962 * factory.C (createInset): exception safety
3963 (readInset): exception safety
3965 * bufferlist.C (newBuffer): exception safety
3967 * Thesaurus.C (Thesaurus): use initialization for aik_
3969 * MenuBackend.C (expandToc): exception safety.
3971 2003-11-03 André Pönitz <poenitz@gmx.net>
3975 * bufferview_funcs.C: remove getInsetFromId()
3978 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3984 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3986 * PosIterator.C (distance, advance): new
3987 * bufferview_funcs.[Ch] (put_selection_at): new
3988 * iterators.[Ch] (lockPath): new
3990 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3992 * iterators.[Ch] (asPosIterator): added
3993 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3994 * PosIterator.[Ch]: added
3996 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * cursor.C (dispatch):
4001 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4003 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4004 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4005 contructor, add a class function dispatched. Remove operator>=
4007 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * debug.C: only use the default constructor for debugstream
4012 * main.C (main): include debug.h and setup the lyxerr streambuf
4015 2003-10-31 José Matos <jamatos@lyx.org>
4017 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4019 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4020 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4021 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4022 * paragraph_pimpl.C (simpleTeXSpecialC):
4023 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4024 add LatexRunParams argument.
4026 * exporter.C (Export): change call accordingly.
4028 * latexrunparams.h: add new member to take care of the other backends.
4029 2003-10-30 José Matos <jamatos@lyx.org>
4031 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4032 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4033 factorise code for paragraph output.
4035 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4038 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * text3.C (dispatch):
4041 * lyxfunc.C (dispatch):
4042 * cursor.C (dispatch):
4043 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4045 * dispatchresult.h: make the dispatch_result_t ctor explicit
4047 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4050 * buffer.C: small refactoring of docbook stuff
4052 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4057 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4060 operator dispatch_result_t, and operators for == != and >=
4062 * cursor.C (dispatch): adjust for operator dispatch_result_t
4063 removal. comment out call to update
4065 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4067 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4078 * dispatchresult.h: new file, DispatchResult broken out of
4081 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4083 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4085 * text.C (rowBreakPoint): put a hack inside #if 0
4087 2003-10-28 André Pönitz <poenitz@gmx.net>
4091 * paragraph_funcs.C:
4094 * text2.C: general cleanup (lots of small stuff)
4096 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4098 * text2.C (cursorEnd): simple fix to the "end key goes to one
4099 before the end on last row" bug
4101 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4103 * text.C (backspace): fix the "zombie characters"
4105 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4107 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4109 2003-10-27 André Pönitz <poenitz@gmx.net>
4111 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4113 * factory.C: handle new InsetPagebreak, InsetLine
4115 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4116 and move handling into new InsetPagebreak, InsetLine
4118 * BufferView_pimpl.C:
4120 * ParagraphParameters.C:
4121 * ParameterStruct.h:
4126 * paragraph_funcs.C:
4127 * paragraph_pimpl.C:
4133 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4136 * lyxrow_funcs.[Ch]:
4142 * text3.C: remove lastPos uses in favour of Row::endpos
4144 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4146 * undo.C (performUndoOrRedo): fix two crashes by setting a
4147 cursor by hand and reordering some calls. Use bv->lockInset instead
4148 of inset->edit because the latter loses cursor information
4150 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4152 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4154 (rowBreakPoint): fix width. change point to point + 1.
4155 Add a missing check.
4157 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4160 * lyxfunc.C: fix (at least partly) the problems
4161 with the Nav menu and headers inside branch insets
4164 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4166 * paragraph.C (getChar): add strong asserts
4168 * lyxrow_funcs.C (lastPos): remove hideous hack
4170 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4171 (fill): adjust to that (avoid an infinite loop)
4173 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4175 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4177 2003-10-23 André Pönitz <poenitz@gmx.net>
4179 * RowList_fwd.h: change list<> to vector<> to gain speed
4180 after suggestion from Alfredo
4182 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4184 * lyxtext.h: move the bidi stuff from here...
4187 * Bidi.[Ch]: ... to here
4189 2003-10-23 André Pönitz <poenitz@gmx.net>
4192 * text.C (isLastRow, isFirstRow): new functions
4194 * paragraph.h: new width cache member
4196 * rowpainter.C: replace RowList::iterator with Row & where possible
4198 * lyxfunc.C: replace several view()->text with a single call
4200 * toc.C: fix 'unused' warning
4202 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4204 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4205 when woring with stream::pos_type
4206 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4208 2003-10-22 André Pönitz <poenitz@gmx.net>
4211 * text.C: use Row & instead of RowList::iterator
4213 * lyxrow.h: rename end() to endpos()
4219 2003-10-22 Angus Leeming <leeming@lyx.org>
4221 * buffer.[Ch] (fully_loaded): new member function, returning true
4222 only when the file has been loaded fully.
4223 Used to prevent the premature generation of previews and by the
4224 citation inset to prevent computation of the natbib-style label.
4226 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4227 templates are all set up.
4229 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4231 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4233 * text.C: fixed an "oops" in the "is a bit silly"
4236 2003-10-21 André Pönitz <poenitz@gmx.net>
4238 * FuncStatus.[Ch]: small stuff, whitespace
4240 * lyxfont.[Ch]: operator<<() for debug reasons
4244 * lyxtext.h: whitespace, spelling
4246 * paragraph.C: naming of variables
4249 * text2.C: small stuff
4252 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4254 * text.C: (1) finish off the inset display() work;
4255 (2) fix the "is a bit silly" bug (accessing char
4258 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4260 * text.C: re-introduce display() for insets, fixing the
4261 various bugs (stretch of line above, math inset
4264 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4266 * text.C (rightMargin): remove spurious semicolon
4268 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4271 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4273 * text3.C: fix one crash due to wrong cursor def
4275 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * vc-backend.C (scanMaster): make the regex static
4279 * LaTeX.C (scanAuxFile): make the regexs static
4281 * text3.C (doInsertInset, dispatch, dispatch):
4282 * text2.C (cursorUp, cursorDown):
4283 * text.C (selectNextWordToSpellcheck):
4284 * BufferView_pimpl.C (dispatch):
4285 * lyxfunc.C (dispatch): localDispatch -> dispatch
4287 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4289 * lyxsocket.C: include <cerrno>
4291 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * lyxfunc.C (dispatch): remove textcache stuff
4295 * bufferlist.C (release): remove textcache stuff
4298 * TextCache.C: delete file
4299 * TextCache.h: delete file
4301 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4303 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4304 delete of the bv_->text.
4305 (resizeCurrentBuffer): remove texcache stuff
4306 (workAreaResize): ditto
4308 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4313 2003-10-16 André Pönitz <poenitz@gmx.net>
4320 * text3.C: speed up by storing y positions per paragraph plus per-row
4321 offset instead of having a 'full' y position in the row.
4323 2003-10-15 André Pönitz <poenitz@gmx.net>
4327 * undo.[Ch]: make undo aware of inner insets
4329 2003-10-14 Angus Leeming <leeming@lyx.org>
4331 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4332 static member functions LyX::ref() and LyX::cref.
4333 (lastfiles): new accessor functions for the new lastfiles_ member var.
4334 (addLyXView, views_): add a new LyXView to the list of views_.
4335 (updateInset): loop over all LyXViews to call their own updateInset
4336 member function, returning a pointer to the Buffer owning the inset.
4338 * BufferView_pimpl.C (loadLyXFile):
4339 * MenuBackend.C (expandLastfiles):
4340 * bufferlist.C (MenuWrite, QuitLyX):
4341 lastfiles is no longer a global variable.
4342 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4344 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4345 static function. Access through LyX::cref().emergencyCleanup().
4347 2003-10-14 André Pönitz <poenitz@gmx.net>
4349 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4351 * undo.[Ch]: restoring part of 'undo in insets'
4354 * undo_funcs.[Ch]: merge with undo.[Ch]
4356 * tabular.C: small cleansing stuff
4358 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4360 * paragraph_funcs.C (readParToken): report unknown insets as error
4361 boxes. Use the outer paragraph as location (also for unknown
4364 * factory.C (readInset): do not abort on reading an unknown inset.
4365 Eat it and return 0.
4367 2003-10-13 Angus Leeming <leeming@lyx.org>
4369 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4371 * lyxrc.C: displayTranslator is now a function,
4372 declared in GraphicsTypes.h.
4374 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4376 * format.C: new placeholder $$a to pass the socket address.
4378 * bufferlist.[Ch]: new function getBufferFromTmp.
4380 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4381 files in the temporary dir.
4383 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4385 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4387 * Makefile.am: add lyxsocket.[Ch].
4389 * lyx_main.C (error_handler): handle SIGPIPE.
4391 2003-10-13 André Pönitz <poenitz@gmx.net>
4393 * BufferView_pimpl.C:
4398 * undo_funcs.[Ch]: use paroffset_type instead of
4399 ParagraphList::iterators to prevent multiple conversion
4400 (and get a more robust interface)
4402 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4406 * text3.C (dispatch): ditto
4408 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4411 move the onlyfile, use onlyfile instead of foundfile in a couple
4414 * DepTable.C (update): flush the error stream a bit more
4416 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * lyxserver.C (callback): adjust
4420 * lyxfunc.C (getStatus): add a missing brace in commented code
4421 (ensureBufferClean): reindent
4422 (dispatch): delete version taking a string
4424 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * LaTeX.C (deplog): move found file handlig from here...
4427 (handleFoundFile): .. to new function here.
4428 (deplog): make sure to discover several files mentioned on the
4431 2003-10-10 André Pönitz <poenitz@gmx.net>
4438 * text3.C: fix some of the tabular crashes
4440 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4442 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4444 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4446 2003-10-09 André Pönitz <poenitz@gmx.net>
4448 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4451 * BufferView_pimpl.C:
4452 * bufferview_funcs.C:
4463 * undo_funcs.C: adjust
4465 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * text2.C (incrementItemDepth): new function, use a backtracking
4468 algorithm to discover the correct item depth.
4469 (resetEnumCounterIfNeeded): new function, use a backtracking
4470 algorithm to discover if counter reset is needed.
4471 (setCounter): use them. Simplify a bit. Add different labels for
4472 different item depths for itemize.
4474 * paragraph.C (Paragraph): remove initialization of enumdepth
4477 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4478 enumerate and itemize. Change the type of itemdepth to signed char.
4480 2003-10-08 André Pönitz <poenitz@gmx.net>
4482 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4487 * tabular.[Ch]: fix crash after 'row-insert'
4489 2003-10-08 Angus Leeming <leeming@lyx.org>
4491 Fix doxygen warnings.
4493 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4494 Remove CutAndPaste:: prefix from header file declaration.
4496 * LColor.h (fill): remove LColor:: prefix from declaration.
4498 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4499 use lyx::depth_type rather than Paragraph::depth_type so that
4500 header file and .C file match.
4502 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4504 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4505 * aspell.C: \file aspell_local.C -> \file aspell.C
4506 * gettext.C: \file gettext.C -> \file src/gettext.C
4507 * gettext.h: \file gettext.h -> \file src/gettext.h
4508 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4509 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4510 * text.C: \file text.C -> \file src/text.C
4512 * toc.C: move comment so that doxygen is not confused.
4514 2003-10-07 Angus Leeming <leeming@lyx.org>
4516 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4518 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4521 * aspell_local.h: add forgotten std::string's.
4523 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4530 * text3.C: The Box patch. Fancybox support, minipage, parbox
4532 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4538 * ParagraphParameters.h:
4548 * lyxtextclasslist.h:
4551 * paragraph_pimpl.C:
4552 * textcursor.h: add <string> and other small fixes to make Lars'
4553 std::string patch compile with STLport.
4555 2003-10-06 Angus Leeming <leeming@lyx.org>
4557 * LColor.h: Add missing #include <string>.
4559 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * All most all file in all subdirs: Make <string> be the prefered
4562 way of getting to std::string, add using declarations.
4564 2003-10-06 André Pönitz <poenitz@gmx.net>
4566 * metricsinfo.C: initialize LyXFont before changing attribute.
4567 (fixes the 'math in \emph is upright' bug)
4569 2003-10-06 André Pönitz <poenitz@gmx.net>
4571 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4573 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4576 * paragraph_pimpl.C: Small fixes to build using STLport
4578 2003-10-02 André Pönitz <poenitz@gmx.net>
4581 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4583 2003-10-01 André Pönitz <poenitz@gmx.net>
4585 * factory.C: assert early
4587 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * lyx_main.C: remove the global debug object
4591 * debug.h: adjust for new debugstream
4593 * debug.C: adjust for new debugstream and keep the global debug
4596 2003-09-22 Angus Leeming <leeming@lyx.org>
4598 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4599 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4600 an incomplete class LyXFont.
4602 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4604 * factory.C: bug fix in branches
4606 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * lyxfunc.C (processKeySym): adjust
4610 (dispatch): change arg name from ev to func, adjust
4611 (sendDispatchMessage): ditto
4613 * lyx_main.C (defaultKeyBindings): adjust keybindings
4614 (deadKeyBindings): ditto
4616 * kbsequence.C (addkey): return a FuncRequest
4618 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4620 * kbmap.C (bind): take a FuncRequest as arg, adjust
4623 (defkey): change to take a FuncRequest as arg, adjust
4624 (findbinding): take a FuncRequest as arg, adjust.
4626 * funcrequest.h (operator=): added
4628 * funcrequest.C (FuncRequest): default kb_action changed from
4629 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4631 * buffer.C (dispatch): simplify
4632 (dispatch): adjust to take a FuncRequest as arg, adjust
4634 * boost.C (assertion_failed): change assertion message slightly
4636 * ToolbarBackend.C (read): simplify
4638 * MenuBackend.C (binding): adjust call to findbinding, add a
4639 message if no binding is found.
4641 (expandToc): correct by adding a empty FuncRequest
4643 * LyXAction.C: include <boost/assert.hpp>
4644 (isPseudoAction): delete function
4645 (LookupFunc): change name to...
4646 (lookupFunc): this. change return type to FuncRequest.
4647 (getActionName): take kb_action as arg, simplify
4648 (funcHasFlag): add an assert, simplify.
4650 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * toc.C (action): return a FuncRequest, simplify
4654 * lyxfunc.C (processKeySym): adjust
4655 (getStatus): delete version that takes an int.
4657 (dispatch): delete version that takes action as int
4659 (sendDispatchMessage): simplify and adjust
4661 * funcrequest.C (getArg): take unsigned int as arg
4663 * ToolbarBackend.C (read): adjust
4664 (add): delete version that takes func as a string.
4665 (getIton): take a FuncRequest as arg
4667 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4670 * MenuBackend.C (MenuItem): add a new construct that only takes a
4671 Kind, simplify the constructor use for submenus.
4673 (expandLastfiles): adjust
4674 (expandDocuments): adjust
4675 (expandFormats): adjust
4676 (expandFloatListInsert): adjust
4677 (expandFloatInsert): adjust
4678 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4680 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4681 Remove class variables lyx_pseudo_map and lyx_arg_map
4683 * LyXAction.C (searchActionArg): delete function
4684 (getPseudoAction): delete function
4685 (retrieveActionArg): delete function
4686 (LookupFunc): make it return kb_action, simplify.
4687 (getActionName): simplify
4689 * factory.C (createInset): fix new bug
4691 2003-09-19 Angus Leeming <leeming@lyx.org>
4693 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4694 masterFilename_ parameter in the include inset.
4696 * factory.C (createInset): changes due to the changes to InsetInclude.
4698 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4700 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4702 2003-09-18 Angus Leeming <leeming@lyx.org>
4705 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4706 Inset::fillWithBibKeys.
4707 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4709 2003-09-18 Angus Leeming <leeming@lyx.org>
4711 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4713 (ctor): pass and store a 'Buffer const &'
4714 (buffer): new member function.
4716 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4717 '*this' to the LaTeXFeatures ctor.
4719 2003-09-18 Angus Leeming <leeming@lyx.org>
4725 * text.C: rename EnumLColor as LColor_color.
4727 2003-09-18 Angus Leeming <leeming@lyx.org>
4729 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4730 remove #include "insets/insetbase.h" from cursor.h.
4732 2003-09-18 Angus Leeming <leeming@lyx.org>
4734 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4735 InsetOld_code to remove #include "inset.h".
4737 * iterators.C: add #include "insets/inset.h"
4739 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4741 * BufferView.C: remove more locking stuff that apparently doesn't
4742 do anything sensible.
4744 2003-09-16 André Pönitz <poenitz@gmx.net>
4747 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4750 2003-09-16 Angus Leeming <leeming@lyx.org>
4752 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4754 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4757 * paragraph.h: remove #include "lyxfont.h". Forward declare
4760 2003-09-16 Angus Leeming <leeming@lyx.org>
4762 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4763 of support/textutils.h.
4764 (isWord): move the contents of support/textutils.h's IsWordChar here.
4770 * text2.C: add #include "paragraph.h".
4773 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4775 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * LaTeX.C: use namespace alias for lyx::support::os
4783 2003-09-16 Angus Leeming <leeming@lyx.org>
4786 * bufferview_funcs.C:
4789 * paragraph_pimpl.C:
4791 * text.C: add #include "LColor.h".
4793 2003-09-16 Angus Leeming <leeming@lyx.org>
4795 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4796 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4798 Store the FontBits::color variable as an int rather than as an
4799 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4802 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4803 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4804 string calls together.
4806 * lyxrc.C: add #include "LColor.h".
4808 2003-09-15 Angus Leeming <leeming@lyx.org>
4810 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4813 2003-09-15 Angus Leeming <leeming@lyx.org>
4815 * LColor.h: add an EnumLColor wrapper for LColor::color.
4817 * lyxfont.[Ch] (color, setColor, realColor):
4818 * lyxtext.h, text.C (backgroundColor):
4819 pass EnumLColor args to/from the functions, rather than LColor::color
4823 * lyxtext.h: forward declare EnumLColor.
4825 * lyx_main.C: add #include "LColor.h".
4827 2003-09-15 Angus Leeming <leeming@lyx.org>
4829 * .cvsignore: add lyx-gtk.
4831 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * ParagraphParameters.C
4840 * bufferview_funcs.C
4850 * vc-backend.C: remove usage of STRCONV
4852 2003-09-15 Angus Leeming <leeming@lyx.org>
4854 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4855 explicitly define the color passed to the painter.
4857 2003-09-15 Angus Leeming <leeming@lyx.org>
4859 * bufferparams.C (BufferParams): reorder member initializers to avoid
4862 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4864 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4865 * text.C (updateRowPositions): remove an unusual nop
4867 2003-09-12 André Pönitz <poenitz@gmx.net>
4869 * BufferView_pimpl.C:
4878 * Counters.[Ch]: finish the 'automatic counters' job
4880 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4882 * aspell.C: include <boost/assert.cpp> (compile fix)
4884 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4886 * boost.C (assertion_failed): use lyx::support::abort instead of
4889 2003-09-10 Angus Leeming <leeming@lyx.org>
4891 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4892 with their _fwd progeny.
4894 2003-09-09 Angus Leeming <leeming@lyx.org>
4896 134 files throughtout the source tree: replace 'using namespace abc;'
4897 directives with the appropriate 'using abc::xyz;' declarations.
4899 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4901 * boost.C (emergencyCleanup): moved here from LAssert.c
4902 (assertion_failed): new function, called by BOOST_ASSERT
4904 * several files: change Assert to BOOST_ASSERT
4906 2003-09-09 Angus Leeming <leeming@lyx.org>
4908 * buffer.[Ch]: Add an Impl class and move Buffer's member
4909 variables into it. As a result move several header files out of
4912 Add header files to lots of .C files all over the tree as a result.
4914 2003-09-09 Angus Leeming <leeming@lyx.org>
4916 * buffer.[Ch]: make Buffer's member variables private. Add
4919 Lots of changes all over the tree as a result.
4921 2003-09-08 Angus Leeming <leeming@lyx.org>
4923 * graph.C: #include <config.h>.
4925 2003-09-08 Angus Leeming <leeming@lyx.org>
4929 * BufferView_pimpl.C:
4958 * toc.C: remove redundant using directives.
4960 2003-09-07 Angus Leeming <leeming@lyx.org>
4962 * LaTeXFeatures.h: remove #include "support/types.h".
4963 * ToolbarBackend.h: remove #include <algorithm>.
4964 * changes.h: remove #include <ctime>.
4965 * debug.h: remove #include <iosfwd>.
4966 * graph.h: remove #include "support/std_string.h".
4967 * lyx_main.h: remove #include <csignal>.
4968 * lyxlex_pimpl.h: remove #include <fstream>.
4969 * sgml.h: remove #include <algorithm>, <utility>.
4970 * toc.h: remove #include "support/std_ostream.h".
4971 Add #include <iosfwd>.
4973 2003-09-07 Angus Leeming <leeming@lyx.org>
4975 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4977 * converter.h: forward declare LatexRunParams.
4978 * encoding.h: remove #include "lyxrc.h".
4979 * lyxtext.h: remove #include "LColor.h".
4980 * lyxtextclass.h: remove #include "support/types.h".
4981 * trans.h: remove #include "tex-accent.h".
4982 * trans_mgr.h: remove #include "tex-accent.h".
4983 * insets/inset.h: remove #include "support/types.h", <vector>.
4984 * insets/insetcollapsable.h: remove #include "LColor.h".
4985 * insets/insetinclude.h: remove #include "dimension.h".
4986 * insets/insetlatexaccent.h: remove #include "dimension.h".
4987 * insets/insetoptarg.h:: remove #include "insettext.h".
4988 * insets/insettext.h: remove #include "dimension.h",
4989 <boost/shared_ptr.hpp>
4991 * insets/renderers.h: add #include "dimension.h".
4992 * insets/updatableinset.h: add #include "support/types.h".
4994 * many .C files: Associated changes.
4996 2003-09-06 Angus Leeming <leeming@lyx.org>
4998 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4999 one, inside testInvariant.
5001 * PrinterParams.C: new file.
5002 * PrinterParams.[Ch]: move the function bodies out of line.
5004 2003-09-06 Angus Leeming <leeming@lyx.org>
5006 * ParagraphParameters.h: forward declare ParameterStruct rather than
5007 including its header file.
5008 (depth): moved out-of-line.
5010 2003-09-06 Angus Leeming <leeming@lyx.org>
5012 * BufferView_pimpl.h:
5015 * lyxfunc.h: forward declare LyXKeySym rather than
5016 #include "frontends/LyXKeySym.h".
5018 * BufferView_pimpl.C:
5021 * lyxfunc.C: associated changes.
5023 2003-09-06 Angus Leeming <leeming@lyx.org>
5025 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5026 As a result, can remove the #include "insets/inset.h" from BufferView.h
5028 2003-09-06 Angus Leeming <leeming@lyx.org>
5030 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5031 As a result, can remove the #include "insets/inset.h" from BufferView.h
5033 2003-09-06 Angus Leeming <leeming@lyx.org>
5039 * bufferview_funcs.C:
5040 * BufferView_pimpl.C:
5045 * ParagraphParameters.C:
5050 * frontends/controllers/ControlDocument.C:
5051 * insets/insetcaption.C: rearrange the #includes into some sort of
5054 * buffer.h: remove #includes ErrorList.h, undo.h
5056 2003-09-06 Angus Leeming <leeming@lyx.org>
5058 * support/types.h: add a 'depth_type' typedef, used to store the
5059 nesting depth of a paragraph.
5062 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5063 defining explicitly.
5066 * paragraph_funcs.h:
5067 * ParagraphParameters.h:
5068 * sgml.h: use lyx::depth_type rather than Paragraph or
5069 ParameterStruct's depth_type.
5072 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5075 * BufferView_pimpl.C:
5077 * ParagraphParameters.C:
5080 * bufferview_funcs.C:
5087 * frontends/LyXView.C:
5088 * frontends/controllers/ControlDocument.C:
5089 * frontends/controllers/ControlErrorList.C:
5090 * insets/insetbibitem.C:
5091 * insets/insetbranch.C:
5092 * insets/insetcaption.C:
5093 * insets/insetcollapsable.C:
5094 * insets/insetenv.C:
5095 * insets/insetert.C:
5096 * insets/insetfloat.C:
5097 * insets/insetfoot.C:
5098 * insets/insetfootlike.C:
5099 * insets/insetnewline.C:
5100 * insets/insetquotes.C:
5101 * insets/insettabular.C:
5102 * insets/insettext.C:
5103 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5105 * frontends/controllers/ControlChanges.C: #include "changes.h".
5107 2003-09-06 Angus Leeming <leeming@lyx.org>
5109 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5110 than #including paragraph.h.
5113 * RowList.h: deleted. Superfluous.
5123 * insets/insettext.h: use ParagraphList_fwd.h rather than
5126 * paragraph.h: don't forward declare ParagraphList.
5129 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5130 rather than ParagraphList.h. paragraph.h is still needed for the
5131 Paragraph::depth_type parameters.
5133 * textcursor.h: enable it to compile stand-alone in light of the
5136 * bufferview_funcs.C:
5148 * frontends/controllers/ControlParagraph.C:
5149 * frontends/controllers/ControlTabular.C:
5150 * insets/insetmarginal.C:
5151 * insets/insetminipage.C:
5152 * insets/insetnote.C:
5153 * insets/insetoptarg.C: add header files needed to compile again.
5155 2003-09-06 Angus Leeming <leeming@lyx.org>
5157 * RowList_fwd.h: new file, forward-declaring Row rather than
5158 #including lyxrow.h.
5163 * insets/insettext.h: use it instead of RowList.h
5165 * bufferview_funcs.C:
5172 * text3.C: #include "RowList.h".
5174 2003-09-05 Angus Leeming <leeming@lyx.org>
5176 * factory.C (createInset):
5177 * vspace.C (c-tor): replace sscanf call with an istringstream.
5178 * ispell.C: re-add missing HP/UX headers.
5179 * lyxserver.C: re-add missing os2 headers.
5181 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5190 * text3.C: re-add missing system headers, needed for 2.95.2.
5192 2003-09-05 Angus Leeming <leeming@lyx.org>
5194 Changes most place everywhere due to the removal of using directives
5195 from support/std_sstream.h.
5197 2003-09-05 Angus Leeming <leeming@lyx.org>
5199 Replace LString.h with support/std_string.h,
5200 Lsstream.h with support/std_sstream.h,
5201 support/LIstream.h with support/std_istream.h,
5202 support/LOstream.h with support/std_ostream.h.
5204 Changes resulting throughout the tree.
5206 2003-09-05 Angus Leeming <leeming@lyx.org>
5208 * sgml.h: ensure that the header file can be compiled stand-alone.
5209 * *.C: strip out redundant #includes. (320 in total.)
5211 2003-09-04 Angus Leeming <leeming@lyx.org>
5213 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5214 here (from getPackages).
5216 * debug.[Ch]: add a new EXTERNAL tag.
5218 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5220 * text2.C (cursorEnd): simplify
5222 (getColumnNearX): adjust
5224 * text.C (computeBidiTables): adjust
5227 * rowpainter.C (paintChars): adjust
5228 (paintSelection): adjust
5229 (paintChangeBar): adjust
5232 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5234 (numberOfSeparators): adjust
5236 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5242 * text3.C: Restricts the mouse click functionality
5243 of insets like bibtex, include, toc and floatlist to the visible
5244 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5245 up the dialogs. Cursor has to be in front of the inset (i.e.
5246 start of row) for this to function.
5248 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5250 * bufferview_funcs.C (currentState): output row information
5252 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5254 * bufferview_funcs.C (currentState): output paragraph position
5256 2003-09-04 Angus Leeming <leeming@lyx.org>
5258 * FloatList.h: move out #include "Floating.h".
5259 * LaTeX.h: move out #include "DepTable.h".
5260 * LyXAction.h: move out #include "funcrequest.h".
5261 * buffer.h: move out #include "author.h", "iterators.h".
5262 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5263 * lyx_main.h: move out #include "errorlist.h".
5264 * lyxfunc.h: move out #include "FuncStatus.h".
5265 * lyxtext: move out #include "lyxcursor.h".
5266 * paragraph_pimpl.h: move out #include "counters.h".
5268 2003-09-03 Angus Leeming <leeming@lyx.org>
5270 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5271 preamble_snippets list, enabling us to add snippets to the preamble
5272 only if the snippet was not there already.
5274 2003-09-04 Angus Leeming <leeming@lyx.org>
5276 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5278 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5283 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5285 * BranchList.C: point fix, earlier forgotten
5287 2003-09-02 Angus Leeming <leeming@lyx.org>
5289 * box.C (contains): renamed from 'contained' after a fantastic
5292 2003-09-02 John Levon <levon@movementarian.org>
5298 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5300 2003-09-02 John Levon <levon@movementarian.org>
5302 * text2.C: simplification of cursorEnd(), including partial
5305 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * buffer.C (readFile): add a space
5309 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5311 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5313 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * buffer.C (readFile): new function, take a filename and a
5316 ParagraphList::iterator
5318 (readFile): adjust, make it private. don't use setStream, make
5319 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5320 always contain the filename.
5322 * BufferView.C (insertLyXFile): simplify and make it work for
5325 2003-08-30 John Levon <levon@movementarian.org>
5327 * Makefile.am: fix dist (from Kayvan)
5329 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * most files: change to use const Buffer refs
5333 2003-08-27 André Pönitz <poenitz@gmx.net>
5335 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5336 on top of ownerPar().
5338 2003-08-27 John Levon <levon@movementarian.org>
5340 * funcrequest.C: properly initialise POD members
5342 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5344 * lyxtext.h (top_y): move top_y from here
5349 * BufferView_pimpl.[Ch]: to here
5350 * frontends/screen.C:
5351 * insets/insettabular.C:
5352 * insets/insettext.C: adjust
5353 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5355 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5358 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5360 2003-08-26 André Pönitz <poenitz@gmx.net>
5362 * paragraph_func.[Ch] (outerPar): new function
5365 * paragraph_funcs.C:
5366 * paragraph_funcs.h:
5367 * paragraph_pimpl.C:
5368 * text2.C: remove Inset::par_owner
5370 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5375 * text2.C: eliminates the needFullRow/display() stuff
5376 altogether, putting the logic in metrics/draw in the insets.
5378 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5380 * text2.C (redoParagraphInternal, redoParagraphs):
5381 * text.C (redoParagraph): add a call to updateRowPositions at the
5382 end of each 'metrics-like' call. Remove all others.
5383 (getRow): remove the 'y-computing' version.
5384 (getRowNearY): do not compute nor return the real y. Solve the
5385 'y < 0' problem and simplify.
5387 2003-08-22 Angus Leeming <leeming@lyx.org>
5389 * *.[Ch]: clean-up of licence and author blurbs.
5390 Also move config.h out of a few .h files and into a few .C files.
5392 2003-08-22 André Pönitz <poenitz@gmx.net>
5394 * lyxrow.[Ch]: add x_ and *fill_ members
5399 * text2.C: adjust/remove prepareToPrint() calls
5401 2003-08-22 André Pönitz <poenitz@gmx.net>
5403 * lyxrow.[Ch]: add end_ member
5405 * lyxrow_funcs.C: use LyXRow::end_
5407 * lyxtext.h (singleWidth): add LyXFont parameter
5410 * text2.C: adjust LyXText::singleWidth() calls
5412 * text.C (redoParagraph): simplify row breaking logic
5415 2003-08-19 André Pönitz <poenitz@gmx.net>
5417 * funcrequest.C: initialize button_ member
5420 * rowpainter.[Ch]: interface consolidation
5422 2003-08-18 André Pönitz <poenitz@gmx.net>
5425 * BufferView_pimpl.C:
5427 * paragraph_funcs.C:
5429 * text3.C: remove LyXScreen::draw() and fitCursor calls
5431 * BranchList.h: remove spurious semicolons
5433 * MenuBackend.C: fix branchlist related crash
5435 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5443 * bufferparams.[Ch]:
5447 * text3.C: implements the 'branch inset'
5448 idea. This allows the output of various versions of a document
5449 from a single source version, selectively outputing or suppressing
5450 output of parts of the text.
5451 This implementation contains a 'branch list editor' in a separate
5452 tab of the document settings dialog. Branches are user definable
5453 and have a "display colour" to distinguish them on-screen.
5455 ColorHandler was somewhat cleaned up.
5456 (1) make possible a dynamically growing LColor list by allowing
5457 the graphic context cache to grow along (vector);
5458 (2) eliminate an IMHO unnecessary step in colour allocation.
5460 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5462 * BufferView_pimpl.C: compile fix
5464 2003-08-15 André Pönitz <poenitz@gmx.net>
5466 * rowpainter.C: remove extra metrics calls
5468 * lyxtext.h: merge the two constructors into a single one,
5469 pass reference to owner's par list
5471 * BufferView_pimpl.C:
5475 2003-08-15 André Pönitz <poenitz@gmx.net>
5477 * lyxrow_funcs.[Ch]:
5480 * paragraph_funcs.C:
5485 * text_funcs.C: split LyXText::rowlist_ into individual
5486 Paragraph::rows_ chunks
5489 * BufferView_pimpl.[Ch]:
5492 * text3.C: remove toggleSelection()
5494 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5496 * bufferlist.C: beautify two alerts (shorter text of buttons)
5497 * buffer.C: Remove redundant ' ' from message
5499 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5500 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5501 rename VALIGN_CENTER to VALIGN_MIDDLE
5503 2003-08-11 André Pönitz <poenitz@gmx.net>
5505 * lyxtext.h (getPar):
5506 * text.C: new function
5508 2003-08-11 André Pönitz <poenitz@gmx.net>
5511 * tracer.[Ch]: remove unneeded files
5513 * InsetList.[Ch]: remove resizeInsetsLyXText()
5518 * text3.C: merge insertParagraphs() and appendParagraph()
5519 remove breakAgain(), update()
5521 * BufferView_pimpl.[Ch]:
5522 * bufferview_funcs.[Ch]:
5526 * tabular.C: adjust after text & InsetList changes.
5528 2003-08-08 André Pönitz <poenitz@gmx.net>
5530 * text.C (insertChar, backspace): replace rowlist fiddling
5531 with rebreak of full par
5534 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5535 checkParagraph, updateInset): removed
5537 2003-08-07 André Pönitz <poenitz@gmx.net>
5540 * text3.C: merge some LFUN handlers, remove dead code
5542 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5544 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5546 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5548 * text2.C (DEPM): fix part of bug 1255 and 1256
5550 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5552 * BufferView_pimpl.C (workAreaDispatch): change to use
5553 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5554 that are no mouse related.
5556 2003-08-05 André Pönitz <poenitz@gmx.net>
5559 * BufferView_pimpl.[Ch]:
5560 * bufferview_funcs.C:
5562 * text3.C: rip out "deep update"
5564 * textcursor.[Ch] (last_sel_cursor): remove unused member
5566 2003-08-04 André Pönitz <poenitz@gmx.net>
5569 * BufferView_pimpl.[Ch]:
5570 * ParagraphParameters.C:
5571 * bufferview_funcs.C:
5577 * text3.C: replace "complicated" BufferView::update(...) calls with
5580 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5582 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5584 * Makefile.am (lyx_SOURCES): add paper.h
5586 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5588 * Makefile.am: move things around so that both lyx-qt and
5589 lyx-xforms can be built (according to --with-frontend). Then lyx
5590 is a symbolic link to lyx-[firstfrontend]
5592 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5594 * Always use std::endl with lyxerr
5596 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5598 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5600 2003-08-01 André Pönitz <poenitz@gmx.net>
5603 * BufferView_pimpl.[Ch]:
5605 * text3.C: merge BufferView::repaint() and BufferView::update()
5607 2003-08-01 José Matos <jamatos@lyx.org>
5609 * buffer.[Ch]: file_format is no longer a buffer data element.
5611 2003-08-01 André Pönitz <poenitz@gmx.net>
5616 * text2.C: make redoParagraph more independent of current cursor
5618 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5620 * text2.C: remove unneeded members
5622 2003-07-30 André Pönitz <poenitz@gmx.net>
5624 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5626 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5627 create a single function...
5629 * paragraph_funcs.C (moveItem): ... here.
5632 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5634 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5636 * LColor.[Ch]: Add comment and greyedout logical colors.
5638 2003-07-30 André Pönitz <poenitz@gmx.net>
5640 * tabular.C: don't use Assert too heavily. This crashes where it
5643 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5645 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5646 is disabled (bug 1232)
5648 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5650 * factory.C: limited 'arg' scope
5652 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5654 * factory.C: fixed Note submenu issues
5656 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5658 * factory.C: submenu for Note/Comment/Greyedout
5660 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5663 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5665 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5668 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5669 greyedout. Patch provided by Jürgen Spitzmüller.
5671 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5673 * kbmap.C (read): fix error message when reading bind files
5675 2003-07-29 Angus Leeming <leeming@lyx.org>
5677 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5678 certainly does not do what it purports to do. I am doing it, and
5679 us, a favour by killing it.
5681 2003-07-28 José Matos <jamatos@lyx.org>
5683 * buffer.C (readBody, do_writeFile):
5684 * paragraph.C(readParagraph): \end_document replaces \the_end.
5686 2003-07-29 André Pönitz <poenitz@gmx.net>
5689 * BufferView_pimpl.[Ch]:
5693 * textcursor.[Ch]: remove toggleToggle & Co
5695 2003-07-28 José Matos <jamatos@fep.up.pt>
5697 * buffer.C (readParagraph):
5698 * params_func (readParToken, readParagraph):
5699 * paragraph.C (write): \layout -> \begin_layout.
5701 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * lyxlex_pimpl.C (setFile): clean up slightly.
5705 * bufferparams.h: add compressed var
5707 * buffer_funcs.C (readFile): adjust for LyXLex change
5708 (newFile): ditto + simplify
5710 * buffer.C (writeFile): handle writing of compressed files
5712 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5713 Check if the file is compressed and set a bufferparm if so.
5715 * Makefile.am (lyx_LDADD): remove explicit -lz
5717 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5719 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5720 makeDocBookFile): put the real LyX version in the first line of
5724 * version.C.in: remove lyx_docversion
5726 * tabular.C (write_attribute): add a template-based version to
5727 write enums properly
5729 2003-07-28 André Pönitz <poenitz@gmx.net>
5734 * text3.C: use doubles again for x-coordinates. They are needed.
5736 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * messages.C (getLocaleDir): use lyx_localedir()
5740 * lyxlex_pimpl.C (setFile): compress stuff
5742 * buffer.C (writeFile): add some compression stuff
5743 (do_writeFile): new func, dont call expliti close... will this
5746 * Makefile.am (lyx_LDADD): add -lz
5748 2003-07-28 José Matos <jamatos@fep.up.pt>
5750 * buffer.C: increment file format.
5751 * paragraph_funcs (readParagraph, readParToken):
5752 * paragraph.C (readParagraph): add \end_layout.
5754 2003-07-27 Angus Leeming <leeming@lyx.org>
5756 * Makefile.am: remove special casing for configure-time setting of
5757 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5759 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5760 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5762 2003-07-26 André Pönitz <poenitz@gmx.net>
5764 * paragraph_func.[Ch]:
5765 * paragraph.C (realizeFont): inline it whereever it is used
5770 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5773 2003-07-26 André Pönitz <poenitz@gmx.net>
5777 * text2.C: get rid of LyXText::need_break_row
5779 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * toc.[Ch]: put namespace toc inside namespace lyx
5783 * MenuBackend.C (expandToc2): adjust for lyx::toc
5786 * lyxfunc.C (dispatch): adjust for lyx::find
5788 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5789 lyx::find instead. Reorganize a bit.
5790 (LyXReplace): rename to replace
5791 (LyXFind): rename to find
5793 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5796 2003-07-26 André Pönitz <poenitz@gmx.net>
5798 * text.C (setHeightOfRow): restrict scope of temporary variable
5800 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5801 code (never has been used?)
5803 2003-07-27 Asger Alstrup <alstrup@local>
5805 * text.C (fill): Optimise algorithm to exploit that we can reuse
5806 the LyXFont for many characters.
5807 (setHeightOfRow): Same thing.
5808 (rowBreakPoint): Same thing.
5810 2003-07-26 Asger Alstrup <alstrup@local>
5812 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5814 * text.C (singleWidth): Spurious font copying in hot-spot
5815 singleWidth avoided. Reorder tests for arabic for efficiency.
5817 * text.C (fill): handle empty paragraphs better.
5819 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5822 * encoding.h: add includes
5824 * lyxrc.C: remove reading of bind files
5826 * lyx_main.C (init): setup bindings and menus only if we have a
5829 * kbmap.C (read): new method. Do the actual reading of bind
5832 * converter.C (dvipdfm_options):
5835 (output): adapt PAPER_* enums.
5837 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5839 * bufferparams.h: remove paper-related enums from there
5841 * paper.h: New file. A trivial header file to hold paper-related
5842 enums. It should later expand to contain many paper-related
5845 * lyxrc.C: declare extern displayTranslator
5847 2003-07-27 José Matos <jamatos@fep.up.pt>
5849 * tabular.[Ch] (linuxdoc): add support for tables and figures
5852 2003-07-27 José Matos <jamatos@fep.up.pt>
5854 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5855 consistency in both functions.
5856 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5858 2003-07-26 Asger Alstrup <alstrup@local>
5860 * rowpainter.C (paintRows): Change algorithm to work directly on
5861 the insets rather than asking every character in the document
5862 whether its an inset.
5864 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5866 * buffer.C (openFileWrite): factorize some code
5868 2003-07-26 Angus Leeming <leeming@lyx.org>
5871 * lyx_main.[Ch]: replace occurances of system_tempdir with
5874 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5876 * rename Inset to InsetOld
5878 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5880 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5881 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5882 which I think is a bit clearer. EDIT is gone, since it was
5883 premature optimisation, and broken for mathed anyway.
5884 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5885 with cursor positioning in insets as well (math insets still do not
5886 work, but that's a different story anyway.) It mysteriously
5887 crashes sometimes with undo in the first paragraph, but I'm fairly
5888 confident that this is a compiler bug.
5890 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5892 * paragraph.C (Paragraph): adjust for new clone return type
5894 (copyIntoMinibuffer): ditto
5896 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5898 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5899 by not having a special case, and always doing a full rebreak of
5900 the document after undo.
5902 2003-07-23 Angus Leeming <leeming@lyx.org>
5904 * factory.C (createInset): InsetExternal::setParams now takes a
5907 2003-07-23 Angus Leeming <leeming@lyx.org>
5909 * factory.C (createInset): changed interface to the external and
5910 graphics mailers' string2params functions.
5912 2003-07-23 Angus Leeming <leeming@lyx.org>
5914 * factory.C (createInset): pass a
5915 Buffer const * parameter to InsetExternalMailer's string2params.
5917 2003-07-22 John Levon <levon@movementarian.org>
5919 * Thesaurus.h: include the right aiksaurus header
5921 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5923 * MenuBackend.C (expand): check menu shortcuts unconditionally
5925 2003-07-21 Angus Leeming <leeming@lyx.org>
5927 * factory.C (createInset): pass a
5928 buffer_path parameter to InsetGraphicsMailer's string2params.
5930 2003-07-21 Angus Leeming <leeming@lyx.org>
5932 * BufferView_pimpl.C (buffer):
5935 * lyxfunc.C (dispatch):
5936 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5937 rather than the grfx shortcut.
5939 2003-07-21 André Pönitz <poenitz@gmx.net>
5941 * rowpainter.C: remove unused variables
5944 * tabular_funcs.h: move to tabular.C
5945 * Makefile.am: adjust
5947 * tabular.[Ch]: basic optical cleaning
5949 * author.h: pass references, not values
5951 2003-07-18 André Pönitz <poenitz@gmx.net>
5959 * text3.C: two-phase drawing for InsetText and InsetTabular
5960 some float -> int changes.
5962 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5964 * lyx_main.C: fix the fix
5966 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5968 * lyx_main.C: fix a crash in batch mode if no files specified
5971 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5973 * format.[Ch] (papersize): moved to BufferParams
5974 * converter.[Ch] (dvips_options): moved to BufferParams
5975 (dvipdfm_options): moved to anon namespace
5976 * bufferparams.[Ch]: added above functions.
5978 2003-07-17 André Pönitz <poenitz@gmx.net>
5982 * text2.C: don't call inset->update() anymore
5984 * metricsinfo.[Ch]: add convenience constructor
5986 2003-07-16 André Pönitz <poenitz@gmx.net>
5991 * text2.C: replace the LyXCursor::irow_ member with
5992 on-demand computation of the value
5994 2003-07-16 John Levon <levon@movementarian.org>
5996 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5998 2003-07-15 André Pönitz <poenitz@gmx.net>
6001 * text2.C: remove no more needed refresh_row
6003 2003-07-15 André Pönitz <poenitz@gmx.net>
6008 * text3.C: refresh_status tristate -> need_update bool
6010 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6012 * lyxtext.h (init): remove reinit argument (act as if always true)
6013 * text2.C: adjust to that
6015 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6017 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6018 * text3.C: use it to delete selections in some cases
6019 (bugs 441, 673, 702, 954).
6021 2003-07-14 André Pönitz <poenitz@gmx.net>
6023 * rowpainter.[Ch]: reduce interface
6025 2003-07-14 André Pönitz <poenitz@gmx.net>
6027 * BufferView_pimpl.C:
6028 * text2.C: adjust after removing unused BufferView * argument
6030 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6032 * text2.C (init): fix a crash fired on resize
6034 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6036 * buffer.[Ch]: added new closing signal
6037 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6038 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6039 BufferView::Pimpl via the closing the signal
6041 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6043 * buffer.[Ch]: take out all bv-related from buffer
6045 * BufferView_pimpl.[Ch]: connect to new signals
6046 * CutAndPaste.C: removed useless asserts
6047 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6050 * lyxfunc.C: moved view-related funciontality from vc here
6051 * paragraph.C: removed outdated comments
6054 2003-07-10 André Pönitz <poenitz@gmx.net>
6056 * BufferView_pimpl.C:
6060 * text2.C: remove InsetText::InnerCache, clean up consequences
6062 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6064 * ispell.C: fix two typos in error messages
6066 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6068 * Extend Note inset to other forms of annotation like Comment
6069 and Greyedout. Right button click gives dialog.
6071 Files modified or added (+):
6075 * ControlNote.[Ch] +
6077 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6078 frontends/controllers
6082 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6084 * aspell.C: add missing namespace lyx::support
6086 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6088 * BufferView.[Ch] (newFile): Add
6089 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6090 * LaTeX.[Ch] (message): added this signal and use it
6091 * buffer.[Ch] (busy, message): added these signals and use them
6092 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6096 * importer.C: use buffer signals instead of direct bv calling
6097 * lyx_cb.[Ch] (ShowMessage): removed
6100 * paragraph_funcs.C:
6101 * text2.C: use buffer signals
6103 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * introduce namespace lyx::graphics
6107 2003-07-02 André Pönitz <poenitz@gmx.net>
6109 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6111 2003-07-01 André Pönitz <poenitz@gmx.net>
6118 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6119 text*.C to text_func.C
6121 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6123 * introduce namespace lyx::support
6125 2003-06-30 André Pönitz <poenitz@gmx.net>
6130 * text.C: re-enable --with-included-string
6132 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * textcursor.C: add <config.h>
6136 * text.C (getWord): remove const from word_location arg
6138 * lyxvc.C (getLogFile): fix const type order
6140 * lyxtext.h: remove const from word_location arg, add arg name
6142 * lyxlayout.h: currect type on labeltype.
6144 * importer.C: correct \file
6146 * converter.C (intToFormat): use std:: on ret val, ws changes
6148 * bufferlist.h: correct \file
6150 * buffer.C (makeLinuxDocFile): fix const type order
6151 (makeDocBookFile): ditto
6152 (fillWithBibKeys): use std:: on stdlib args.
6154 * CutAndPaste.C: fix authors.
6155 (availableSelections): use std:: on return vector
6157 2003-06-27 André Pönitz <poenitz@gmx.net>
6159 * BufferView_pimpl.C:
6160 * bufferview_funcs.C:
6168 * text3.C: remove LyXCursor::row_ member
6171 * text.C: rename fullRebreak() to partialRebreak() and implement
6172 a fullRebreak() that really bereks fully
6174 * textcursor.h: new struct for cursor-related data
6176 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6178 * lyx_main.C (LyX): get full path of document loaded on the
6181 2003-06-26 André Pönitz <poenitz@gmx.net>
6183 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6184 remove unused/broken operator>,<,>=.
6186 * text.C: remove only use of broken operator<= in an Assert().
6188 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6190 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6191 moved errorlist_.clear to showErrorList
6193 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6195 * converter.C (scanLog, runLaTeX):
6196 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6197 move the bv->showErrorList call to the callers
6198 * lyxfunc.C: i.e. here...
6200 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6201 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6202 namespace, the second to...
6203 * buffer_funcs (BufferFormat, parseErrors): added
6204 * errorlist.C (ErrorList(TeXErrors const &)): removed
6206 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6208 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6210 2003-06-24 "Garst R. Reese" <reese@isn.net>
6214 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6216 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6218 * version.C.in: change docversion to 1.4
6220 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6222 * buffer.C: fix a bug just introduced
6224 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6226 * buffer.[Ch]: added the parseError signal and use it, removed
6228 * BufferView.[Ch] (addError): moved to ...
6229 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6230 to the Buffer::parseError signal to catch (guess what) parse errors
6231 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6233 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6235 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6236 ability to create a buffer and to return an existing one from
6237 the list. Moved these functions to...
6238 * buffer_funcs.[Ch]: added
6239 * BufferView.[Ch] (loadLyXFile): added
6240 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6241 job removed from bufferlist::loadLyXFile.
6242 * buffer.C (setReadOnly): make it work without view
6243 (i.e added an if (users))
6245 2003-06-19 Angus Leeming <leeming@lyx.org>
6248 * LyXAction.C (init):
6249 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6250 with LFUN_DIALOG_SHOW <name> <data>.
6252 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6254 * CutAndPaste.C (availableSelections): small compilation fix for
6255 ancient (gcc 2.9x) compilers
6257 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6259 * text3.C (cursorNext): add tmp var
6261 * text2.C (updateCounters): for function calling out of for clause
6262 (replaceSelectionWithString): ditto
6263 (insertStringAsParagraphs): ditto
6264 (getColumnNearX): add tmp var
6265 (setCursorFromCoordinates): add tmp var
6266 (cursorDownParagraph): add tmp var
6267 (deleteEmptyParagraphMechanism): add tmp var
6269 * text.C (insertChar): add tmp var
6271 * rowpainter.C (paintDepthBar): add tmp var
6273 * CutAndPaste.C (availableSelections): potentially check all
6274 paragraphs in a cut to fill the shown strings.
6276 2003-06-18 André Pönitz <poenitz@gmx.net>
6278 * kbmap.[Ch]: use vector<> instead of list<>
6280 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6282 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6283 pasteSelection with index
6285 * text2.C (pasteSelection): modify, call pasteSelection with index
6287 * paragraph.C (asString): reimplement version with no interval to
6288 call the one with interval.
6290 * lyxtext.h: add index arg to pasteSelection
6292 * MenuBackend.C (MenuItem): handle PasteRecent
6293 (Menu::read::Menutags): add md_pasterecent
6295 (expandPasteRecent): new function
6298 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6300 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6302 (availableSelections): new function
6304 2003-06-17 Angus Leeming <leeming@lyx.org>
6306 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6308 2003-06-17 Angus Leeming <leeming@lyx.org>
6311 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6313 * lyxfunc.C (dispatch): invoke it.
6315 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6317 * iterators.C (operator++, ParPosition): reintroduce some
6318 const_cast for the benefit of older compilers.
6320 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6322 * text3.C (dispatch): do not modify clipboard when doing
6323 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6324 LFUN_DELETE_SKIP on a selection selection
6326 2003-06-16 André Pönitz <poenitz@gmx.net>
6332 * tabular.[Ch]: IU of clone() and getLabelList();
6334 2003-06-13 André Pönitz <poenitz@gmx.net>
6336 * tabular.h: compactification
6338 2003-06-12 André Pönitz <poenitz@gmx.net>
6342 * tabular_funcs.h: some renaming plus whitespace
6344 2003-06-12 André Pönitz <poenitz@gmx.net>
6347 * BufferView_pimpl.C:
6353 * toc.C: Return a Paragraph & for ParIterator::operator*()
6355 2003-06-11 John Levon <levon@movementarian.org>
6359 * ToolbarBackend.C: add "Toolbars" section and
6362 2003-06-10 Angus Leeming <leeming@lyx.org>
6365 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6367 * lyxfunc.C (dispatch): invoke it.
6369 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * main.C: protect <ios> with HAVE_IOS
6372 (main): protect sync_with_stdio with HAVE_IOS
6374 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6376 * text2.C (cutSelection): adjust
6377 (pasteSelection): adjust
6379 * messages.C: handle get of empty string
6381 * main.C (main): use sync_with_stdio(false)
6383 * lyxfunc.C (dispatch): adjust
6385 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6386 (WriteAs): remove unneeded BufferView arg.
6388 * bufferparams.h: use correct types on papersize, papersize2 and
6391 * bufferparams.C (readToken): adjust for type
6392 (writeLaTeX): add missing cases to switch.
6394 * bufferlist.C (quitWriteBuffer): adjust
6397 * buffer.C (asciiParagraph): remove some commented code.
6399 * CutAndPaste.C: remove current_view extern variable.
6400 (cutSelection): add BufferParams arg.
6401 (eraseSelection): add BufferParams arg.
6402 (pasteSelection): add Buffer const & arg
6404 2003-06-07 John Levon <levon@movementarian.org>
6407 * paragraph_funcs.C:
6408 * paragraph_pimpl.C:
6412 * paragraph.C: allow InsetERT to freely space lines,
6413 and some consolidation of code
6415 2003-06-06 José Matos <jamatos@fep.up.pt>
6417 * buffer.C (makeDocBookFile): fix bug #821
6419 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6421 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6423 2003-06-04 Angus Leeming <leeming@lyx.org>
6425 * buffer.C: bump format to 224.
6427 2003-06-05 André Pönitz <poenitz@gmx.net>
6429 * text2.C (redoParagraphs): remove two const_cast<>
6431 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6433 * ParagraphList.h: remove last remnants of NO_STD_LIST
6435 2003-06-03 Angus Leeming <leeming@lyx.org>
6437 * factory.C (createInset): small change to the way InsetExternal's params
6440 2003-06-04 André Pönitz <poenitz@gmx.net>
6442 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6444 * paragraph_pimpl.h:
6445 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6447 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6449 * undo_funcs.C: make some simple cases of undo work again
6451 2003-06-03 John Levon <levon@movementarian.org>
6453 * ispell.C: HPUX doesn't have sys/select.h
6456 2003-06-03 John Levon <levon@movementarian.org>
6458 * CutAndPaste.C: update tabular and include inset
6463 * paragraph.C: remove owningBuffer(), don't pass Buffer
6466 * factory.C: insetGraphicsParams changed
6468 2003-06-02 John Levon <levon@movementarian.org>
6474 * text3.C: remove insetparent
6476 2003-06-02 John Levon <levon@movementarian.org>
6479 * buffer.C: fix inset_iterator.end(), move out of line
6482 2003-06-01 John Levon <levon@movementarian.org>
6484 * text3.C: use a proper cut/paste when doing inset
6485 insert (from Jürgen Spitzmüller)
6487 2003-06-01 John Levon <levon@movementarian.org>
6489 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6491 2003-05-30 André Pönitz <poenitz@gmx.net>
6493 * rowpainter.C: unify second drawing phase
6495 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6497 * trans_mgr.C: remove one case of current_view
6499 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6501 * paragraph_funcs.h: remove paragraph.h include
6503 * paragraph.h: delete NO_STD_LIST stuff
6505 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6507 * buffer.h: remove paragraph.h include
6509 * ParagraphList.C: delete file
6511 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6513 * toc.C (getTocList): adjust
6515 * paragraph_pimpl.C (validate): adjust
6517 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6519 * paragraph.C (Paragraph): adjust
6520 (getPositionOfInset): use const_iterator, adjust
6521 (bibitem): use const_iterator, adjust
6522 (setInsetOwner): adjust
6524 * iterators.C (operator++): adjust
6526 * InsetList.[Ch]: Replace selfmade iterator with standard
6527 vector::iterator also introduce const_iterator. Remove getPos,
6528 getInset and setInset from InsetTable. Adjust accordingly.
6530 * BufferView.C (lockInset): adjust
6531 (ChangeInsets): adjust
6533 * tabular.[Ch]: delete commented same_id functions
6535 2003-05-28 John Levon <levon@movementarian.org>
6537 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6539 2003-05-28 André Pönitz <poenitz@gmx.net>
6541 * metricsinfo.[Ch]: remove 'fullredraw' member
6543 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6545 * lyxtextclass.C (operator): remove caching.
6547 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6551 * text2.C (cursorBottom): adjust
6552 (setCounter): use ParagraphList::find, adjust
6554 * text.C (workWidth): use ParagraphList::find, adjust
6556 * lyxcursor.C (LyXCursor): adjust
6558 * buffer.C (inset_iterator): adjust
6560 * ParagraphList.h: make iterator(value_type) private, make
6561 ParagraphList a friend of iterator.
6563 * ParagraphList.C (find): new function
6565 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6567 2003-05-27 André Pönitz <poenitz@gmx.net>
6569 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6571 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6573 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6575 2003-05-26 John Levon <levon@movementarian.org>
6577 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6579 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * remove same_id from function signatures, adjust.
6583 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6587 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6589 * paragraph.C (Paragraph): get rid of same_ids parameter
6591 * ParagraphList.C (insert): adjust
6594 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * paragraph_funcs.C (breakParagraph): adjust
6597 (breakParagraphConservative): adjust
6599 * buffer.C (readParagraph): adjust
6601 * ParagraphList.C (insert): take a reference instead of a pointer
6604 * paragraph.[Ch] (id): new function
6606 * bufferlist.C (newFile): adjust
6608 * ParagraphList.C (ParagraphList): adjust
6610 (push_back): take a reference instead of a pointer.
6612 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6614 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6617 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6618 set else use old code.
6620 * ParagraphList.C: remove all NO_NEXT code and only compile this
6621 code of NO_STD_LIST is set.
6623 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6625 * BufferView_pimpl.C:
6635 * graphics/GraphicsConverter.C:
6636 * graphics/PreviewLoader.C: header adjustment
6638 2003-05-23 Angus Leeming <leeming@lyx.org>
6640 * LaTeXFeatures.[Ch] (useBabel): new method.
6641 * bufferparams.C (writeLaTeX): use it.
6643 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6645 * ParagraphList.h (set): remove unused function.
6647 2003-05-23 André Pönitz <poenitz@gmx.net>
6650 * BufferView_pimpl.C:
6654 * undo_funcs.C: setUndo reworked
6656 * iterators.[Ch]: add access to topmost ParagraphList
6658 * lyxtext.[Ch] (workWidth): add a const
6660 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6662 * texrow.[Ch] (increasePos): remove function
6663 * exporter.C (export): removed unused var and outdated comment
6665 2003-05-23 Angus Leeming <leeming@lyx.org>
6667 * latexrunparams.h: rename fragile as moving_arg.
6668 * paragraph.C (simpleTeXOnePar): ditto.
6669 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6671 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6675 (textUndoOrRedo): comment out a currently unused var.
6677 * paragraph.h (NO_NEXT): enable NO_NEXT
6679 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6681 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6683 * exporter.C (Export): adjust for removeAutoInsets removal.
6685 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6687 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6689 * BufferView.[Ch] (removeAutoInsets): delete function
6691 2003-05-22 Angus Leeming <leeming@lyx.org>
6693 * latexrunparams.h: add a free_spacing variable.
6695 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6696 to pass moving_arg, as the data is stored in runparams.fragile.
6698 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6699 to Inset::latexOptional or to simpleTeXOnePar.
6701 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6702 free_spacing arg to Inset::latexOptional.
6704 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6707 2003-05-22 Angus Leeming <leeming@lyx.org>
6709 * latexrunparams.h: add fragile and use_babel variables.
6711 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6712 * buffer.C (makeLaTeXFile): store this returned value in
6713 runparams.use_babel, thus passing it to the inset::latex methods.
6715 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6716 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6718 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6719 longer has a fragile arg, as it is stored in runparams.fragile.
6721 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6722 moving_arg parameter as the data is stored in runparams.fragile.
6724 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6725 a fragile parameter as the data is stored in runparams.fragile.
6727 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6731 2003-05-22 Angus Leeming <leeming@lyx.org>
6733 * latexrunparams.h: add a 'bool nice' which defaults to false.
6735 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6736 now encapsulated within runparams.
6738 * bufferlist.C (updateIncludedTeXfiles):
6739 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6741 2003-05-22 Angus Leeming <leeming@lyx.org>
6743 * latexrunparams.h: new file containing struct LatexRunParams.
6744 * Makefile.am: add new file.
6746 * LaTeX.[Ch] (c-tor, run):
6747 * buffer.[Ch] (makeLaTeXFile):
6748 * bufferlist.[Ch] (updateIncludedTeXfiles):
6749 * converter.C (convert, scanLog):
6750 * converter.[Ch] (runLaTeX):
6751 * exporter.C (Export):
6752 * paragraph.[Ch] (simpleTeXOnePar):
6753 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6754 * paragraph_funcs.[Ch] (latexParagraphs):
6755 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6756 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6757 pass around a LatexRunParams parameter.
6759 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * paragraph.[Ch]: remove unused constructor
6763 * ParagraphList.C (erase): new function, taking two iterators
6765 2003-05-22 André Pönitz <poenitz@gmx.net>
6767 * undo_funcs.C: remove duplicated code
6769 * iterator.[Ch]: operator=
6771 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * tabular.C (SetMultiColumn): ws changes
6775 * rowpainter.C (paintFirst): get rid of a ->previous
6777 * lyx_cb.C (getPossibleLabel): parlist simplification
6779 * BufferView.C (ChangeInsets): simplify slightly.
6781 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6783 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6784 * lfuns.h: new LFUN_SPACE
6785 * lyxfunc.C: protected space has a new lfun
6786 * paragraph_funcs.C: read new space insets
6788 * factory.C: handle new space insets
6790 2003-05-22 André Pönitz <poenitz@gmx.net>
6793 * BufferView_pimpl.C:
6796 * undo_funcs.C: return a ParIterator from getParFromID.
6798 * iterators.[Ch]: add two const's
6800 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * toc.C (getTocList): adjust
6804 * iterators.[Ch]: rework for parlist
6806 * buffer.C (par_iterator_begin): adjust
6807 (par_iterator_end): adjust
6809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6811 * BufferView.C (removeAutoInsets): adjust
6812 (ChangeInsets): adjust
6814 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6816 * text.C (top_y): fix bug 1110
6818 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6820 * errorlist.[Ch]: added
6823 * BufferView_pimpl.C:
6824 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6827 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * Makefile.am: ensure that lyx is relinked upon changes to the
6830 various "convenience" libs.
6832 2003-05-20 Angus Leeming <leeming@lyx.org>
6834 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6835 files are compiled in alphabetical order again.
6837 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6839 2003-05-19 Angus Leeming <leeming@lyx.org>
6841 * gettext.[Ch]: remove "char const * _(char const *)".
6843 2003-05-19 André Pönitz <poenitz@gmx.net>
6845 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6854 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6856 2003-05-19 André Pönitz <poenitz@gmx.net>
6860 * lyxtextclass.[Ch]:
6862 * paragraph_funcs.[Ch]:
6864 * text3.C: more insetenv work
6866 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6868 * ParagraphParameters.C (params2string): small bug fixed
6870 2003-05-16 André Pönitz <poenitz@gmx.net>
6873 * bufferview_funcs.C: patch from Kornel Benko to prevent
6874 crash when _(...) is called twice in a statement
6876 2003-05-16 André Pönitz <poenitz@gmx.net>
6883 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6885 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6887 * lyx_main.C (init): remove spurious static_cast
6889 2003-05-14 André Pönitz <poenitz@gmx.net>
6891 * BufferView.C: fix format string
6893 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6895 * BufferView.[Ch] (insertErrors): removed
6896 * BufferView.[Ch] (showErrorList): added
6897 * buffer.C (runChkTeX):
6898 * converter.C (scanLog): call showErrorList instead of inserterrors
6900 2003-05-13 André Pönitz <poenitz@gmx.net>
6902 * BufferView_pimpl.C:
6904 * bufferview_func.C:
6911 * tabular_funcs.h: tostr() from its own header
6913 * ParagraphParameters.C:
6918 * text3.C: STRCONV()
6920 2003-05-12 André Pönitz <poenitz@gmx.net>
6923 * BufferView_pimpl.C:
6927 * ParagraphParameters.C:
6931 * bufferview_funcs.C:
6944 * paragraph_funcs.C:
6948 * text3.C: boost::format -> bformat all over the place
6951 2003-05-09 André Pönitz <poenitz@gmx.net>
6953 * LColor.[Ch]: Pimpl the #include <map> away
6955 2003-05-09 John Levon <levon@movementarian.org>
6957 * bufferlist.C: never remove emergency saves
6959 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6961 * Makefile.am: better lib building
6963 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6967 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6968 (simpleTeXSpecialChars): adjust
6969 (simpleTeXSpecialChars): adjust
6970 * paragraph.C (simpleTeXOnePar): adjust
6971 * buffer.C (makeLaTeXFile): adjust
6973 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6975 * text2.C (changeDepth): parlist cleanup
6976 (getColumnNearX): ditto
6978 * rowpainter.C (getLabelFont): parlist cleanup
6980 * bufferlist.C (newFile): parlist cleanup
6982 * CutAndPaste.C (eraseSelection): parlist cleanup
6984 * BufferView_pimpl.C (trackChanges): parlist cleanup
6987 * BufferView.C (lockInset): parlist cleanup.
6988 (ChangeInsets): ditto
6990 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * CutAndPaste.h: Update file header.
6994 * CutAndPaste.C: Update file header.
6995 Store the parts cut out of the Document in a limited_stack.
6996 (copySelection): adjust
6997 (pasteSelection): new function, takes the index in the limited stack.
6998 (nrOfParagraphs): adjust
6999 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7000 simplify error inset insertion.
7001 (checkPastePossible): adjust
7003 2003-05-06 John Levon <levon@movementarian.org>
7005 * text2.C: don't cast wrap inset to float
7007 2003-05-05 André Pönitz <poenitz@gmx.net>
7010 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7012 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7013 few naked Paragraph *.
7015 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7017 * bufferparams.C: Output warning if a document with missing
7018 TeX document class is loaded
7019 * exporter.C: Disable TeX exports if the document class is missing
7022 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7023 isTeXClassAvailable()
7025 2003-05-03 John Levon <levon@movementarian.org>
7028 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7029 explicit cursor show/hide
7031 * BufferView_pimpl.h:
7032 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7033 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7035 * lyxfunc.C: hide cursor before dispatching.
7040 * text3.C: remove explicit cursor hides
7042 2003-05-02 André Pönitz <poenitz@gmx.net>
7044 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7047 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7050 * text2.C: tiny whitespace
7052 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * undo_funcs.C: almost only ws changes.
7056 * ParagraphList.C (splice): just return if pl is empty.
7058 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7060 * ParagraphList.C (splice): new function.
7062 * CutAndPaste.C (pasteSelection): use it
7064 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * CutAndPaste.C (pasteSelection): remove the last next and
7067 previous from this file.
7069 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * CutAndPaste.C (pasteSelection): more clean up, user proper
7072 ParagraphList functions for pasteing.
7074 * ParagraphList.C (insert): new function, three arg insert
7076 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * ParagraphList.C (insert): new function, three arg insert
7080 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7083 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7087 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7091 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7094 (copySelection): clean up a bit.
7095 (pasteSelection): use make_pair
7097 * ParagraphList.C (ParagraphList): implement copy constructor
7098 (operator=): implement, base on copy constructor.
7101 * paragraph.C (erase): return a bool
7103 * paragraph_pimpl.C (erasePos): remove function, move contents...
7104 (erase): ... here. Return a bool.
7105 (erase): call erase instead of erasePos.
7107 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7109 * ParagraphList.h: define PitPosPair
7110 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7111 ParagraphList, fix a bug on pasting multiple pars
7112 * text2.C: change interface to C&P
7114 2003-04-30 André Pönitz <poenitz@gmx.net>
7116 * undo_func.C: revert part of yesterday's patch 2
7118 2003-04-30 John Levon <levon@movementarian.org>
7120 * LColor.C: s/tabular/table/
7122 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7124 * text3.C (dispatch): do not convert iterator -> pointer
7125 * undo_funcs.C (setCursorParUndo): ditto
7126 * text_funcs.C (transposeChars): ditto
7128 * text2.C (setLayout): ws changes only
7130 * text.C (breakParagraph): do not convert iterator -> pointer
7132 (acceptChange): ditto
7133 (rejectChange): ditto
7138 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7141 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7143 * text3.C (gotoInset): YABG (yet another bad getChar)
7145 2003-04-29 André Pönitz <poenitz@gmx.net>
7147 * paragraph.h: make operator= private unimplemented as long as
7150 * ParagraphList.C: whitespace
7153 * paragraph_pimpl.[Ch]:
7154 * paragraph_funcs.C:
7156 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7159 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7161 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7163 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7164 * paragraph.[Ch] (erase):
7165 * paragraph_pimpl.[Ch] (erase): change return type and value
7166 * text2.C (cutSelection): some rework
7168 2003-04-28 John Levon <levon@movementarian.org>
7170 * bufferlist.C: changes for unsaved changes dialog
7172 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * bufferlist.C (newFile): set language (messages_) for new
7177 * buffer.C (readFile): ws changes only.
7179 2003-04-28 André Pönitz <poenitz@gmx.net>
7184 * BufferView_pimpl.C:
7185 * BufferView.C: getParFromID related ParagraphList::iterator changes
7187 2003-04-28 André Pönitz <poenitz@gmx.net>
7189 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7192 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7194 * messages.C: remove one more localedir class variable.
7196 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * messages.C (getLocaleDir): singleton generation function
7200 (Messages): add a default constructor.
7202 * main.C (main): do not setup localedir here, do not call
7205 * gettext.C (_): use it.
7206 (gettext_init): delete funciton
7208 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * gettext.C (getLyXMessages): new singleton generating function.
7212 * buffer.C (updateDocLang): adjust
7214 * Makefile.am (messages.o): add target
7215 (main.o): remove target
7217 2003-04-27 John Levon <levon@movementarian.org>
7222 * lyxvc.C: specify cancel button in Alert::prompt
7224 2003-04-26 John Levon <levon@movementarian.org>
7229 * LyXAction.C: add LFUN_INSET_SETTINGS
7231 * lyxfunc.C: don't enable tabular-feature when there's
7232 just any locking inset
7234 2003-04-26 John Levon <levon@movementarian.org>
7236 * bufferlist.C: re-add Cancel to buffer close question
7238 * lyxfunc.C: fix import UI a bit
7240 2003-04-25 John Levon <levon@movementarian.org>
7242 * gettext.C: remove the broken asserts for now
7244 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * messages.C: make case where setlocale cannot comply work better.
7248 * buffer.C (updateDocLang): new function
7249 (changeLanguage): use it
7252 * text2.C (setCounter): use B_ a bit.
7254 * lyxlayout.C (Read): be sure to trim the label strings.
7256 * messages.C (Messages): fix typo in comment
7258 * buffer.C (readFile): set message_ after file is loaded.
7259 (makeDocBookFile): remove double return
7260 (changeLanguage): reset message_ upon language change.
7261 (B_): new func, use this to get translated buffer strings.
7263 * main.C: add myself and Jean Marc as authors.
7265 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7267 * messages.[hC]: pimplify Messages, and three different pimpls to be
7268 used in different circumstances.
7270 * gettext.[Ch]: change for use with new message code.
7272 2003-04-24 André Pönitz <poenitz@gmx.net>
7274 * factory.C: support for eqref
7276 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7278 * messages.[Ch]: add missing char
7280 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7282 * messages.[Ch]: New files
7284 2003-04-18 John Levon <levon@movementarian.org>
7288 * BufferView_pimpl.C:
7292 * text2.C: remove layout-copy/paste (bug 778)
7294 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7296 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7298 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7300 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7301 if they succeed. Act accordingly.
7303 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * text2.C (setCharFont): adjust
7306 (setCounter): adjust
7307 (insertStringAsLines): adjust
7309 * text.C (leftMargin): adjust
7310 (setHeightOfRow): adjust
7312 * rowpainter.C (paintFirst): adjust
7315 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7317 (isFirstInSequence): ditto
7318 (getEndLabel): ditto
7321 * paragraph.C (getParLanguage): comment out some hard stuff.
7323 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7325 (simpleDocBookOnePar): ditto
7326 (makeDocBookFile): use ParagraphList::iterator
7328 * CutAndPaste.C (pasteSelection): adjust
7330 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * text2.C (getFont): adjust
7333 (getLayoutFont): adjust
7334 (getLabelFont): adjust
7336 * paragraph_funcs.C (TeXOnePar): adjust
7338 * buffer.C (simpleLinuxDocOnePar): adjust
7339 (simpleDocBookOnePar): adjust
7341 * CutAndPaste.C (pasteSelection): adjust
7343 * BufferView.C (getEncoding): adjust
7345 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7347 2003-04-16 John Levon <levon@movementarian.org>
7349 * lyxfind.C: use parlist stuff for search/changes
7351 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7353 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7355 * text2.C (deleteEmptyParagraphMechanism): adjust
7357 * text2.[Ch] (ownerParagraph): delete func (both of them
7359 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7363 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * ParagraphList.C: prepare for NO_NEXT
7367 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7369 * text2.C (getFont): adjust
7370 (getLayoutFont): adjust
7371 (getLabelFont): adjust
7373 * paragraph.C (getFont): adjust
7374 (getLabelFont): adjust
7375 (getLayoutFont): adjust
7377 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7379 2003-04-15 John Levon <levon@movementarian.org>
7383 * lyx_main.C: handle Include in .ui files
7385 2003-04-15 John Levon <levon@movementarian.org>
7387 * MenuBackend.C: make the doc files length shorter
7390 * ToolbarBackend.C: handle toolbar placement flags,
7393 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7395 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7398 * paragraph_funcs.C (TeXOnePar): adjust
7400 * paragraph.C (getLabelFont): add outerfont arg, adjust
7401 (getLayoutFont): ditto
7402 (simpleTeXOnePar): adjust
7404 * paragraph_pimpl.C (realizeFont): delete func
7406 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7408 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7409 row argument, constify cur argument.
7411 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7413 * text2.C (getFont): adjust
7414 (getLayoutFont): adjust
7415 (getLabelFont): adjust
7417 * paragraph_funcs.C (TeXOnePar): adjust
7418 (outerFont): new func...
7419 (realizeFont): ...moved out from here, changed this to facilitate
7422 * paragraph.C (getFont): take outerfont as arg, adjust
7423 (simpleTeXOnePar): add outerfont arg, adjust
7425 * buffer.C (simpleLinuxDocOnePar): adjust
7426 (simpleDocBookOnePar): adjust
7428 * CutAndPaste.C (pasteSelection): adjust
7430 * BufferView.C (getEncoding): adjust
7432 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * text2.C (setCharFont): adjust
7435 (setCounter): adjust
7437 * text.C (leftMargin): adjust
7438 (setHeightOfRow): adjust
7440 * rowpainter.C (paintFirst): adjust
7443 * paragraph_pimpl.C (realizeFont): adjust
7445 * paragraph.C (isFirstInSequence): move from here...
7446 * paragraph_funcs.C (isFirstInSequence): ...to here
7448 * paragraph.C (outerHook): move from here...
7449 * paragraph_funcs.C (outerHook): ...to here
7451 * paragraph.C (depthHook): move from here...
7452 * paragraph_funcs.C (depthHook): ...to here
7454 * paragraph.C (getEndLabel): move from here...
7455 * paragraph_funcs.C (getEndLabel): ...to here
7457 * text2.C (realizeFont): move from here...
7458 * paragraph_funcs.C (realizeFont): ...to here
7460 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7462 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7464 2003-04-14 Angus Leeming <leeming@lyx.org>
7466 * LColor.[Ch]: scrap LColor mathcursor.
7468 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * lyxlex.[Ch] (text): delete function
7471 * trans.C (Load): adjust
7472 * paragraph_funcs.C (readParToken): adjust
7474 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7477 vector<char> instead of a char[].
7479 * lyxlex_pimpl.C (getString): adjust
7481 (lex): use getString
7485 * lyxlex.C (text): use pimpl_->getString()
7489 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7492 (makeFontEntriesLayoutSpecific): temp var for par.size()
7493 (setLayout): temp var for ownerParagraphs().end()
7494 (fullRebreak): temp var for rows().end()
7495 (selectionAsString): temp var for boost::next(startpit), realize
7496 that the while really is a regular for loop.
7497 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7498 setCursor in one place.
7499 (setParagraph): temp vr for ownerParagraphs().end()
7500 (updateCounters): make the while loop a for loop
7501 (cutSelection): temp var for ownerParagraphs().end()
7502 (updateInset): make the do {} while() a regular for loop
7503 (getCursorX): use temp vars
7504 (setCurrentFont): use temp vars
7505 (getColumnNearX): use temp vars
7507 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * text.C (transformChar): use temp var for getChar
7510 (computeBidiTables): use temp var for row->par()
7511 (fill): move temp vars for row->par() and pit->layout() earlier in
7513 (labelFill): use temp var for row->par()
7514 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7515 asc and desc, realize that pit never changes and that firstpit is
7516 just a duplicate and not needed. Exchange rit->par() with pit in a
7518 (breakAgain): use a temp var for boost::next(rit)
7519 (breakAgainOneRow): ditto
7520 (breakParagraph): use a temp var for rows().begin()
7521 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7522 (cursorRightOneWord): use temp var for cursor.par() and
7523 cursor.pos(), remove usage of tmpcursor.
7524 (cursorLeftOneWord): use temp var for cursor.par() and
7525 cursor.pos() only set cur at end of function.
7527 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * text.C, text2.C: exchange all usage of Paragraph::next with
7530 boost::next(ParagraphList::iterator)
7532 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7534 * text2.C (cursorTop): simplify implementation
7535 (cursorBottom): ditto
7536 (setParagraph): use ParagraphList::iterator
7537 (setCurrentFont): adjust
7538 (getColumnNearX): adjust
7539 (cursorRight): adjust
7540 (cursorLeft): remove usage of Paragraph::previous
7541 (cursorUpParagraph): ditto
7542 (deleteEmptyParagraphMechanism): slight cleanup
7544 * text.C (isBoundary): take a Paragraph const & instead of a
7546 (addressBreakPoint): ditto
7547 (leftMargin): remove usage of Paragraph::previous.
7548 (setHeightOfRow): ditto
7549 (cursorLeftOneWord): ditto
7550 (selectNextWordToSpellcheck): ditto
7553 (breakParagraph): remove one usage of Paragraph::next
7554 (redoParagraph): ditto
7555 (acceptChange): ditto
7556 (insertChar): adjust
7557 (rowBreakPoint): adjust
7559 * bufferview_funcs.C (toggleAndShow): adjust
7561 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7563 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7564 methods to access it.
7566 * text.C: Added updateRowPositions to compute all row positions.
7567 Make top_y and getRowNearY() to use the cached y position
7569 2003-04-11 John Levon <levon@movementarian.org>
7571 * text.C (rowBreakPoint): reintroduce the labelEnd
7572 checks, code copied from the row fill stuff. Deep voodoo.
7574 * text.C (fill): add a comment and debugging for the
7577 2003-04-11 John Levon <levon@movementarian.org>
7579 * text.C: make sure fullrow insets get wrapped to the next line,
7580 even when they're in a manual label
7582 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * text2.C (insertParagraph): make it take ParagraphList::iterator
7586 (setLayout): make it return ParagraphList::iterator
7587 (redoParagraphs): ditto
7589 (checkParagraph): ditto
7591 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7593 * text2.C: adjust several funcs.
7594 (realizeFont): take a ParagraphList::iterator as arg.
7595 (getLayoutFont): ditto
7596 (getLabelFont): ditto
7597 (setCharFont): ditto
7599 * text.C: adjust several funcs.
7601 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7603 * text.C (selectNextWordToSpellcheck): don't accidentally
7606 2003-04-10 John Levon <levon@movementarian.org>
7608 * ToolbarBackend.C (getIcon): special handling for
7611 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7613 * text2.C (cursorRight): a getChar assert fixed
7615 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7617 * text2.C (getFont): change to take a ParagraphList::iterator
7618 instead of Paragraph*
7619 Adjust several functions.
7621 * text.C (transformChar): change to take a ParagraphList::iterator
7622 instead of Paragraph*
7623 (singleWidth): ditto
7624 Adjust several functions.
7626 * rowpainter.C: adjust several functions
7627 * rowpainter.h:store a ParagraphList::iterator and not a
7631 2003-04-09 John Levon <levon@movementarian.org>
7636 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7637 and the "help" bits as well
7639 2003-04-09 John Levon <levon@movementarian.org>
7642 * ToolbarBackend.C: allow multiple toolbars
7644 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * undo_funcs.C (setCursorParUndo): adjust
7648 * text_funcs.C (transposeChars): adjust
7650 * text3.C (gotoNextInset): adjust
7653 * text2.C (setLayout): adjust
7654 (changeDepth): adjust
7656 (redoParagraphs): adjust
7657 (selectionAsString): adjust
7658 (setParagraph): adjust
7659 (insertInset): adjust
7660 (cutSelection): adjust
7661 (copySelection): adjust
7662 (pasteSelection): adjust
7663 (insertStringAsLines): adjust
7664 (updateInset): adjust
7665 (setCursor): change to take a ParagraphList::iterator parameter
7666 (setCursorIntern): change to take a ParagraphList::iterator parameter
7667 (setCurrentFont): adjust
7668 (cursorLeft): adjust
7669 (cursorRight): adjust
7670 (deleteEmptyParagraphMechanism): adjust
7672 * text.C (breakParagraph): adjust
7673 (insertChar): adjust
7674 (acceptChange): adjust
7675 (rejectChange): adjust
7676 (selectNextWordToSpellcheck): adjust
7677 (changeCase): adjust
7681 * lyxfind.C (SearchForward): adjust
7682 (SearchBackward): adjust
7683 (nextChange): adjust
7685 * lyxcursor.C (par): adjust
7687 * lyxcursor.h: store a ParagraphList::iterator instead of a
7690 * lyx_cb.C (getPossibleLabel): adjust
7692 * bufferview_funcs.C (toggleAndShow): adjust
7694 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7697 * BufferView.C (removeAutoInsets): adjust
7698 (lockedInsetStoreUndo): adjust
7700 2003-04-09 John Levon <levon@movementarian.org>
7702 * ToolbarBackend.C: try icon without argument
7703 if with argument fails
7705 2003-04-08 John Levon <levon@movementarian.org>
7708 * ToolbarBackend.C: add getIcon(), handle tooltip,
7709 and change from "Icon" to "Item".
7711 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7713 * BufferView.C (lockInset): another bad getchar crunched
7715 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7717 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7720 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7722 * lyxfind.C (searchForward, searchBackwards): bug 782
7724 2003-04-07 John Levon <levon@movementarian.org>
7726 * paragraph.C: remove dead comment
7728 * text.C: remove troublesome depth-fiddling code
7729 in leftMargin() and rightMargin() (bug 1017)
7731 * text.C: fix breaking of rows in nested lists
7734 * text2.C (updateCounters): fix up depth values
7737 2003-04-07 John Levon <levon@movementarian.org>
7739 * BufferView_pimpl.C: clear message when doc finishes resizing,
7740 and after a mouse event
7742 * lyxfunc.C: clear message after exiting inset
7744 2003-04-07 John Levon <levon@movementarian.org>
7746 * bufferview_funcs.C: show math status not outside
7747 status in the statusbar
7749 2003-04-07 John Levon <levon@movementarian.org>
7751 * lyxfunc.C: note status changed after a depth change
7753 2003-04-04 Angus Leeming <leeming@lyx.org>
7755 * LaTeX.h: move AuxInfo operator==, != out of line.
7756 Remove LaTeX virtual destructor; nothing derives from it.
7757 Move operator()() out of public area and rename it startscript().
7758 Change protected for private.
7760 2003-04-04 Angus Leeming <leeming@lyx.org>
7763 * text2.C: remove unneeded #includes.
7765 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7767 * text2.C (dEPM): fix the heigth of the next row
7769 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7771 * text.C: squashed an invalid getChar requester + some ws changes
7773 2003-04-03 John Levon <levon@movementarian.org>
7775 * bufferview_funcs.h:
7776 * bufferview_funcs.C:
7779 * text2.C: make getStatus work for the env depth lfuns
7781 2003-04-03 John Levon <levon@movementarian.org>
7783 * bufferview_funcs.h:
7784 * bufferview_funcs.C:
7787 * text2.C: parlistize decDepth(), by merging it with incDepth()
7789 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * lyxrow.h: store a ParagraphList::iterator instead of a
7792 Paragraph* and adjust other class functions to suit.
7794 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7797 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7799 * text2.C (setCursor): do not anchor to cursor row for the time being
7801 2003-04-02 John Levon <levon@movementarian.org>
7808 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7810 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7812 * paragraph.h: make ParagraphList and ParagraphList::iterator
7813 friends of Paragraph.
7815 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7817 * ParagraphList.C: Use the private next_ and previous_ from
7820 2003-04-01 John Levon <levon@movementarian.org>
7824 * Makefile.am: rename, remove defaults gunk
7827 * MenuBackend.C: remove defaults gunk
7830 * Languages.C: remove defaults gunk
7833 * lyx_main.C: error out if files couldn't be found.
7835 2003-04-02 John Levon <levon@movementarian.org>
7837 * text2.C: make incDepth() use parlist
7839 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7841 * undo_funcs.C (firstUndoParagraph): adjust
7843 * text3.C (gotoInset): adjust
7844 (dispatch): adjust, and rewrite loop.
7846 * text2.C (init): adjust, and rewrite loop.
7847 (redoParagraphs): adjust
7848 (updateInset): adjust, and rewrite loop.
7849 (deleteEmptyParagraphMechanism): adjust
7851 * tabular.C (LyXTabular): adjust
7852 (SetMultiColumn): adjust
7855 * lyxtext.[Ch] (ownerParagraph): delete function
7856 (ownerParagraphs): new function returns a ParagraphList.
7858 * BufferView.C (removeAutoInsets): adjust
7859 (insertErrors): adjust
7860 (setCursorFromRow): adjust
7862 2003-04-01 Angus Leeming <leeming@lyx.org>
7864 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7867 2003-04-02 John Levon <levon@movementarian.org>
7873 * text_funcs.C: make transposeChars a free function
7875 * lyxrow_funcs.C: remove wrong comment
7877 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * rowpainter.C: adjust
7885 * lyxrow_funcs. [Ch]: new files
7887 * lyxrow.[Ch]: remove next and previous pointers
7888 (next,previous): remove accessor functions
7889 (isParEnd): move to lyxrow_funcs
7890 (lastPos): move to lyxrow_funcs
7891 (nextRowIsAllInset): move to lyxrow_funcs
7892 (lastPrintablePos): move to lyxrow_funcs
7893 (numberOfSeparators): move to lyxrow_funcs
7894 (numberOfHfills): move to lyxrow_funcs
7895 (numberOfLabelHfills): move to lyxrow_funcs
7896 (hfillExpansion): move to lyxrow_funcs
7900 * bufferview_funcs.C (toggleAndShow): adjust
7902 * RowList.h: Remove class RowList from file leave just a
7905 * RowList.C: delete file
7907 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7910 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * text3.C (cursorPrevious): adjust
7913 (cursorNext): adjust
7916 * text2.C (redoHeightOfParagraph): adjust
7917 (redoDrawingOfParagraph): adjust
7920 * text.C (breakParagraph): adjust
7921 (insertChar): adjust
7924 * rowpainter.C (RowPainter): adjust
7925 (leftMargin): simplify and adjust
7926 (most rowpainter functions): adjust.
7928 * rowpainter.h: store the row as RowList::iterator not as Row*
7930 * lyxcursor.C (row): taka RowList::iterator as arg
7933 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7936 2003-04-01 Angus Leeming <leeming@lyx.org>
7938 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7939 stuff like bool Bool.
7941 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7943 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7946 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7951 * lyxtext.h (rows): drop one version and leve a const variant that
7952 returns a RowList::iterator.
7954 2003-03-31 Angus Leeming <leeming@lyx.org>
7956 * text.C (fill): ensure that the signature is the same as that in the
7959 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * text2.C (redoParagraphs): adjust
7962 (updateCounters): adjust
7963 (checkParagraph): adjust
7964 (getColumnNearX): adjust and reformat a bit.
7966 * text.C (top_y): adjust
7968 (leftMargin): adjust
7969 (prepareToPrint): adjust
7971 (getRowNearY): adjust
7973 * lyxtext.h: make rowlist_ mutable.
7975 * RowList.h: add const_iterator
7976 * RowList.C: adjust for RowList::const_iterator.
7978 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7981 2003-03-31 John Levon <levon@movementarian.org>
7984 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7986 * lyx_main.C: set default fonts from using lyx_gui funcs
7988 * exporter.C: pdf_mode moved from lyxrc
7991 * lyxfunc.C: changes from above
7993 2003-03-31 John Levon <levon@movementarian.org>
7995 * lyx_main.C: fix to the last fix
7997 2003-03-31 John Levon <levon@movementarian.org>
7999 * bufferlist.C: "Load original" -> "Load Original"
8005 * format.C: more Alert cleanups
8007 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8009 * text2.C (removeParagraph): make it take a RowList::iterator as
8011 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8012 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8014 * text.C (anchor_row): make it take a RowList::iterator as arg,
8016 (computeBidiTables): make it take a const reference to Row instead
8017 of Row pointer, adjust.
8018 (leftMargin): make it take a RowList::iterator as arg, adjust.
8019 (rowBreakPoint): adjust
8020 (breakAgainOneRow): make it take a RowList::iterator as arg,
8022 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8024 * bufferview_funcs.C (toggleAndShow): adjust
8026 2003-03-30 John Levon <levon@movementarian.org>
8030 * boost-inst.C: moved to support
8032 * several files: changes as a result
8034 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * text2.C (LyXText): adjust.
8038 (removeRow): make it take a RowList::iterator as arg, adjust.
8039 (fullRebreak): adjust
8040 (deleteEmptyParagraphMechanism): adjust
8041 (clearPaint): adjust
8044 * text.C (top_y): adjust
8045 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8046 (breakAgain): make it take a RowList::iterator as arg, adjust.
8047 (breakParagraph): adjust
8048 (insertChar): adjust
8051 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8052 need_break_row, and refresh_row.
8054 * text3.C (dispatch): adjust
8056 * text2.C (checkParagraph): adjust
8058 (setCursorFromCoordinates): adjust
8060 * text.C (top_y): adjust
8062 (getRow): make it return a RowList::iterator, adjust
8063 (getRowNearY): make it return a RowList::iterator, adjust
8065 * text2.C (init): adjust
8066 (insertRow): remove function
8067 (insertParagraph): adjust
8068 (redoParagraphs): adjust
8069 (fullRebreak): adjust
8070 (updateCounters): adjust
8072 * text.C (top_y): rewrite to use RowList iterators.
8074 (setHeightOfRow): rewrite to sue RowList iterators.
8075 (appendParagraph): adjust
8076 (breakAgain): adjust
8077 (breakAgainOneRow): adjust
8078 (breakParagraph): adjust
8080 (getRowNearY): adjust, and remove commented code.
8082 * lyxtext.h (firstRow): delete function
8083 (lastRow): delete function
8084 (rows): new function (const and non-const versions.)
8085 (insertRow): delete function
8087 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8089 2003-03-29 John Levon <levon@movementarian.org>
8091 * BufferView_pimpl.C: always update scrollbar top
8092 because pasting text when we're anchored could mean we
8093 miss an update altogether
8095 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8097 * text2.C (init): use rowlist_.end() and not 0.
8098 (insertRow): change to take a RowList::iterator as arg, adjust
8100 (insertParagraph): change to take a RowList::iterator as arg,
8102 (redoParagraphs): remove some debug msgs.
8104 * text.C (appendParagraph): change to take a RowList::iterator
8105 arg, adjust for this.
8106 (breakAgain): add an assert
8107 (breakAgainOneRow): ditto
8109 2003-03-29 John Levon <levon@movementarian.org>
8111 * text2.C: do not clear selection after inc/decDepth
8114 2003-03-29 John Levon <levon@movementarian.org>
8117 * buffer.C: fix broken strerrors according to Lars
8119 2003-03-29 John Levon <levon@movementarian.org>
8121 * converters.C: more Alert cleanups
8123 2003-03-29 John Levon <levon@movementarian.org>
8125 * bufferview_funcs.C: remove pointless Alert
8127 * buffer.C: fix confusing error message when
8128 a template is chmoded 000
8130 2003-03-29 John Levon <levon@movementarian.org>
8134 * BufferView_pimpl.C: Alert fixes
8138 * tabular-old.C: remove unused table compat reading
8140 2003-03-29 John Levon <levon@movementarian.org>
8145 * lyx_cb.C: more Alert cleanups
8147 * lyxfunc.C: don't allow chktex if not latex document
8149 2003-03-29 John Levon <levon@movementarian.org>
8153 * buffer.C: warnings pushed down from support/,
8156 2003-03-29 John Levon <levon@movementarian.org>
8158 * lyxfunc.C: safety check for C-r (revert)
8160 2003-03-29 John Levon <levon@movementarian.org>
8163 * bufferlist.C: several UI fixes using Alert::prompt.
8164 Fix the pointless looping quit code. Fix stupid revert
8169 * lyx_cb.C: use Alert::prompt
8171 * lyx_main.C: remove a silly question
8173 * lyxfunc.C: remove a couple of silly questions,
8176 2003-03-28 John Levon <levon@movementarian.org>
8178 * text2.C: fix bug 974 (End on empty par)
8180 2003-03-28 John Levon <levon@movementarian.org>
8182 * BufferView_pimpl.C:
8184 * lfuns.h: remove do-nothing math greek lfuns
8186 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * lyxgluelength.h (isValidGlueLength): add default arg on
8189 parameter 2. Remove default arg from friend in class.
8191 * lyxlength.h (isValidLength): add default arg on parameter 2.
8192 Remove default arg from friend in class.
8194 * text2.C (LyXText): adjust, initialize refresh_row.
8198 (insertParagraph): adjst
8199 (redoParagraphs): adjust
8200 (fullRebreak): adjust
8201 (updateCounters): adjust
8202 (deleteEmptyParagraphMechanism): first attempt at fixing a
8205 * text.C (top_y): adjust
8206 (setHeightOfRow): adjust
8208 (getRowNearY): adjust
8210 * lyxtext.h: include RowList.h
8211 (~LyXText): not needed anymore, deleted.
8212 (firstRow): modify for RowList
8213 (lastRow): new function
8214 Delete firstrow and lastrow class variables, add a Rowlist
8215 rowlist_ class variable.
8217 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8220 * RowList.C (insert): fix case where it == begin().
8222 2003-03-26 Angus Leeming <leeming@lyx.org>
8224 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8225 the thesaurus dialog.
8227 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8231 * RowList.[Ch]: new files
8233 * ParagraphList.C (erase): handle the case where it == begin
8236 2003-03-25 John Levon <levon@movementarian.org>
8240 * aspell.C: add new aspell support
8243 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8246 2003-03-25 Angus Leeming <leeming@lyx.org>
8249 * LyXAction.C (init): new LFUN_INSET_INSERT.
8251 * BufferView_pimpl.C (dispatch): split out part of the
8252 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8254 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8257 2003-03-25 Angus Leeming <leeming@lyx.org>
8259 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8261 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8264 * text3.C: remove useless row->height(0)
8266 2003-03-25 John Levon <levon@movementarian.org>
8270 * text3.C: rename the refreshing stuff to better names
8272 2003-03-24 John Levon <levon@movementarian.org>
8274 * BufferView_pimpl.h:
8275 * BufferView_pimpl.C: update layout choice on a mouse
8278 2003-03-23 John Levon <levon@movementarian.org>
8280 * Makefile.am: fix commandtags.h reference
8282 2003-03-22 John Levon <levon@movementarian.org>
8284 * BufferView_pimpl.C:
8289 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8291 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8294 * text.C: take the rtl methods out of line
8296 2003-03-21 André Pönitz <poenitz@gmx.net>
8298 * metricsinfo.[Ch]: new files containing structures to be passed around
8299 during the two-phase-drawing...
8301 2003-03-21 André Pönitz <poenitz@gmx.net>
8303 * lyxtextclass.C: read 'environment' tag.
8305 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8307 * text2.C (removeRow): fix bug 964
8309 2003-03-20 John Levon <levon@movementarian.org>
8313 * text2.C: paint cleanups. Inset::update() dropped font
8316 2003-03-19 John Levon <levon@movementarian.org>
8318 * lyxfunc.C: only fitcursor/markDirty if available()
8320 2003-03-19 John Levon <levon@movementarian.org>
8322 * commandtags.h: rename to ...
8324 * lfuns.h: ... this, and renumber / cleanup
8326 2003-03-19 John Levon <levon@movementarian.org>
8328 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8329 fit the cursor after an lfun
8333 * BufferView_pimpl.h:
8334 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8336 * LyXAction.C: layout-character should have ReadOnly
8338 * ParagraphParameters.C:
8340 * bufferview_funcs.C:
8347 * undo_funcs.C: changes from above
8349 2003-03-18 John Levon <levon@movementarian.org>
8351 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8352 remove it from update()
8354 * lyxfunc.C: update layout choice after an lfun
8356 * text3.C: remove extra updateLayoutChoice()s
8358 2003-03-18 John Levon <levon@movementarian.org>
8360 * text.C: top_y change means full repaint, fix
8361 a drawing bug with cursor movement
8363 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8367 * text2.C: anchor row on setCursor
8369 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8371 * lyxtext.h: remove almost all mutable keywords
8374 * text3.C: remove const keywords accordingly
8376 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8378 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8380 (TeXEnvironment): ditto
8383 2003-03-17 John Levon <levon@movementarian.org>
8385 * text.C (rowBreakPoint): remove attempt to fix displayed
8386 math insets inside a manual label
8388 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8390 * lyxtext.h: remove BufferView* as first arg from almost all class
8392 * other files: adjust.
8394 2003-03-17 John Levon <levon@movementarian.org>
8398 * text2.C: more paint cleanups
8400 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8403 * rowpainter.C: remove "smart" background painting code
8405 2003-03-16 John Levon <levon@movementarian.org>
8410 * text3.C: add helper functions for setting refresh_row/y
8412 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8414 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8415 newline inset which *can* get inserted in the pass_thru layouts.
8416 This is primarily for literate documents.
8418 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8420 * buffer.C: increment LYX_FORMAT to 223
8422 2003-03-14 André Pönitz <poenitz@gmx.net>
8424 * textclass.h: prepare for environment handling, ws changes
8425 * lyxlayout.C: read latexheader and latexfooter tags
8427 2003-03-14 John Levon <levon@movementarian.org>
8429 * text2.C: rewrite ::status() a bit
8431 2003-03-13 John Levon <levon@movementarian.org>
8433 * lyxtext.h: add some docs
8435 2003-03-13 John Levon <levon@movementarian.org>
8440 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8442 2003-03-13 John Levon <levon@movementarian.org>
8444 * text3.C: fix appendix redrawing
8446 2003-03-13 John Levon <levon@movementarian.org>
8448 * text.C (setHeightOfRow):
8450 * rowpainter.C: make appendix mark have the text
8451 "Appendix" so the user knows what it is
8454 * LColor.C: s/appendixline/appendix/ from above
8456 2003-03-13 John Levon <levon@movementarian.org>
8458 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8460 * text.C: fix a getChar(pos) bug properly
8462 2003-03-13 Angus Leeming <leeming@lyx.org>
8465 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8466 Probably only temporary. Let's see how things pan out.
8468 * BufferView.C (unlockInset):
8469 * BufferView_pimpl.C (fitCursor):
8470 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8472 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8473 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8475 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8476 new functions that convert ParagraphParameters to and from a string.
8478 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8479 BufferView::Pimpl's dispatch.
8480 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8482 2003-03-13 André Pönitz <poenitz@gmx.net>
8486 * factory.C: make it aware of InsetEnv
8488 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * text2.C (setCursor): never ask for one past last
8491 (setCursor): add some debugging messages.
8493 * text.C (singleWidth): never ask for one past last
8494 (singleWidth): ditto
8496 (rightMargin): ditto
8497 (rowBreakPoint): ditto
8498 (setHeightOfRow): ditto
8499 (prepareToPrint): ditto
8501 * rowpainter.C (paintBackground): never ask for one past last
8502 (paintText): never ask for one past last
8504 * paragraph_pimpl.C (getChar): make the assert stricter, never
8505 allow the one past last pos to be taken
8507 * paragraph.C (getChar): ws changes only
8509 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8510 (numberOfSeparators): ditto
8511 (numberOfHfills): ditto
8513 2003-03-12 John Levon <levon@movementarian.org>
8519 * paragraph_funcs.C: fix per-buffer authorlists
8521 2003-03-12 John Levon <levon@movementarian.org>
8523 * text.C: fix newline in right address
8525 2003-03-12 Angus Leeming <leeming@lyx.org>
8527 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8528 duplicate those in LyXFunc::dispatch.
8532 * ToolbarDefaults.C:
8533 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8534 Add LFUN_FONTFREE_UPDATE.
8536 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8537 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8539 * bufferview_func.[Ch]: several new functions to facilliate
8540 transfer of data to and from the character dialog.
8542 2003-03-12 John Levon <levon@movementarian.org>
8547 * paragraph_funcs.C:
8548 * paragraph_pimpl.C:
8552 * text3.C: remove META_NEWLINE in favour of an inset
8555 * rowpainter.C: remove paintNewline (done by inset)
8557 2003-03-12 John Levon <levon@movementarian.org>
8559 * paragraph_pimpl.C: complain about bad getChar()s
8560 for a while at least
8562 2003-03-12 John Levon <levon@movementarian.org>
8565 * buffer.C: move paragraph read into a separate function,
8566 a little renaming to reflect that.
8569 * bufferparams.C: remove the author_ids map, not necessary now
8572 * factory.C: moved Buffer::readInset to here
8574 * paragraph_funcs.h:
8575 * paragraph_funcs.C: readParagraph free function moved from
8578 * tabular.C: name change
8580 2003-03-12 John Levon <levon@movementarian.org>
8583 * ParagraphParameters.C: move par params input to
8586 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8587 behave like a normal read from the stream wrt reading
8588 a line vs. a \\token
8590 2003-03-12 John Levon <levon@movementarian.org>
8593 * ParagraphParameters.h:
8594 * ParagraphParameters.C: move output code to a
8597 2003-03-12 John Levon <levon@movementarian.org>
8599 * BufferView.C (insertLyXFile):
8602 * tabular.C: use a parlist iterator for creating the
8605 2003-03-12 John Levon <levon@movementarian.org>
8607 * buffer.C: make current_change static local not
8610 2003-03-12 John Levon <levon@movementarian.org>
8612 * buffer.C: fix insertStringAsLines for change tracking
8614 2003-03-12 John Levon <levon@movementarian.org>
8621 * bufferparams.C: move author list into params. Rename some
8622 functions. Move the header reading into a separate token
8623 loop. Move the header token reading into BufferParams.
8625 2003-03-12 John Levon <levon@movementarian.org>
8627 * changes.C: put debug inside lyxerr.debugging() checks
8629 2003-03-11 André Pönitz <poenitz@gmx.net>
8631 * factory.C: make it aware of InsetHFill
8633 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8635 * buffer.C (latexParagraphs): move function from here...
8636 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8639 2003-03-10 Angus Leeming <leeming@lyx.org>
8641 * LyXAction.C (init): fix bug in poplating array with multiple entries
8642 with the same LFUN (spotted by JMarc).
8644 2003-03-10 John Levon <levon@movementarian.org>
8647 * text2.C: move getColumnNearX() near its
8650 2003-03-10 John Levon <levon@movementarian.org>
8652 * text.C: fix break before a minipage
8654 2003-03-10 John Levon <levon@movementarian.org>
8656 * text.C: fix the last commit
8658 2003-03-09 John Levon <levon@movementarian.org>
8662 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8663 bug 365 (don't break before insets unless needed). Don't
8664 return a value > last under any circumstances.
8666 2003-03-09 Angus Leeming <leeming@lyx.org>
8668 * BufferView_pimpl.C (trackChanges, dispatch): call
8669 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8671 2003-03-09 Angus Leeming <leeming@lyx.org>
8673 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8674 than Dialogs::showAboutlyx().
8676 2003-03-09 Angus Leeming <leeming@lyx.org>
8678 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8679 than Dialogs::showTabularCreate().
8681 2003-03-09 John Levon <levon@movementarian.org>
8685 * text2.C: 3rd arg to nextBreakPoint was always the same.
8688 2003-03-08 John Levon <levon@movementarian.org>
8695 * text2.C: Remove the "main" bit from the "main body"
8698 2003-03-08 John Levon <levon@movementarian.org>
8700 * text.C (leftMargin): The left margin of an empty
8701 manual label paragraph should not include the label width
8704 * text.C (prepareToPrint): don't attempt to measure hfills
8705 for empty manual label paragraphs - the answer should be 0
8707 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8709 * CutAndPaste.C: remove commented code and reindent.
8711 2003-03-08 John Levon <levon@movementarian.org>
8714 * lyxfunc.C: move reloadBuffer()
8717 * BufferView.C: to here
8719 * lyxvc.C: add comment
8722 * vc-backend.C: call bv->reload() to avoid
8723 getStatus() check on MENURELOAD
8725 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8727 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8728 to an old format .dep file.
8730 2003-03-07 Angus Leeming <leeming@lyx.org>
8732 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8733 when the LFUN_MOUSE_RELEASE should have been handled by
8734 inset->localDispatch.
8736 2003-03-07 Angus Leeming <leeming@lyx.org>
8738 * BufferView_pimpl.C (dispatch):
8739 * LyXAction.C (init):
8740 * ToolbarDefaults.C (init):
8742 * lyxfunc.C (getStatus):
8743 remove LFUN_INSET_GRAPHICS.
8745 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8747 2003-03-07 Angus Leeming <leeming@lyx.org>
8750 * LyXAction.C (init):
8751 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8753 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8756 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8758 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8759 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8761 2003-03-07 Angus Leeming <leeming@lyx.org>
8763 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8766 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8768 * ParagraphList.C (front): new function
8771 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8773 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8774 and top_row_offset_. removed var first_y.
8776 * text2.C (LyXText, removeRow):
8778 * BufferView_pimpl.C:
8779 use these methods instead of using first_y
8781 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8783 * text2.C (pasteSelection): adjust for checkPastePossible
8785 * CutAndPaste.C: remove Paragraph * buf and replace with
8786 ParagraphList paragraphs.
8787 (DeleteBuffer): delete
8788 (cutSelection): change the tc type to textclass_type
8789 (copySelection): change the tc type to textclass_type
8790 (copySelection): adjust for ParagraphList
8791 (pasteSelection): change the tc type to textclass_type
8792 (pasteSelection): adjust for Paragraphlist
8793 (nrOfParagraphs): simplify for ParagraphList
8794 (checkPastePossible): simplify for ParagraphList
8795 (checkPastePossible): remove unused arg
8797 * ParagraphList.C (insert): handle the case where there are no
8800 * CutAndPaste.h: make CutAndPaste a namespace.
8802 * text3.C (dispatch): adjust
8804 * text.C (breakParagraph): add a ParagraphList as arg
8806 * paragraph_funcs.C (breakParagraph): change to take a
8807 BufferParams and a ParagraphList as args.
8808 (breakParagraphConservative): ditto
8809 (mergeParagraph): ditto
8810 (TeXDeeper): add a ParagraphList arg
8811 (TeXEnvironment): ditto
8814 * buffer.C (readLyXformat2): adjust
8815 (insertStringAsLines): adjust
8816 (latexParagraphs): adjust
8818 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8819 (cutSelection): adjust
8820 (pasteSelection): adjust
8822 * BufferView_pimpl.C (insertInset): adjust
8824 2003-03-05 Angus Leeming <leeming@lyx.org>
8827 * LyXAction.C (init):
8828 * BufferView_pimpl.C (dispatch):
8829 * lyxfunc.C (getStatus):
8830 remove LFUN_CHILD_INSERT.
8832 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8834 2003-03-05 Angus Leeming <leeming@lyx.org>
8837 * LyXAction.C (init):
8838 * src/factory.C (createInset):
8839 * lyxfunc.C (getStatus):
8840 * text3.C (dispatch):
8841 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8843 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8845 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8847 * ParagraphList.C (insert): handle insert right before end()
8848 (erase): fix cases where it can be first or last paragraph.
8850 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8852 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8853 Paragraph::next and Paragraph::previous
8856 * text.C (breakParagraph): adjust
8858 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8859 BufferParams& as arg.
8860 (breakParagraph): use ParagraphList::insert
8861 (breakParagraphConservative): take a Buffer* instead of a
8862 BufferParams& as arg.
8863 (breakParagraphConservative): use ParagraphList::insert.
8865 * buffer.C (insertStringAsLines): un-const it
8866 (insertStringAsLines): adjust
8868 * ParagraphList.C (insert): new function
8870 * CutAndPaste.C (pasteSelection): adjust
8872 * text.C (backspace): adjust
8874 * tabular.C (SetMultiColumn): adjust
8876 * CutAndPaste.C (cutSelection): adjust
8877 (pasteSelection): adjust
8879 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8880 Buffer const * as arg
8882 * ParagraphList.C (erase): new function
8883 * paragraph_funcs.C (mergeParagraph): use it
8884 (mergeParagraph): make it take a Buffer* instead of a
8885 BufferParams* as arg
8887 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8889 (breakParagraphConservative): ditto
8891 * paragraph.h: remove the breakParagraph friend
8893 * paragraph.C (eraseIntern): new function
8894 (setChange): new function
8896 * paragraph_funcs.C (mergeParagraph): make it take a
8897 ParagraphList::iterator instead of a Paragraph *, adjust
8900 * paragraph.h: move an #endif so that the change tracking stuff
8901 also works in the NO_NEXT case.
8903 2003-03-04 Angus Leeming <leeming@lyx.org>
8906 * LyXAction.C: new LFUN_INSET_MODIFY.
8908 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8909 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8911 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8913 * several files: ws changes only
8915 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8916 (TeXEnvironment): ditto
8919 * buffer.C (makeLaTeXFile): adjust
8920 (latexParagraphs): make it take ParagraphList::iterator as args
8922 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8924 * buffer.C (latexParagraphs): adjust
8926 * paragraph.C (TeXOnePar): move function...
8927 (optArgInset): move function...
8928 (TeXEnvironment): move function...
8929 * paragraph_pimpl.C (TeXDeeper): move function...
8930 * paragraph_funcs.C: ...here
8932 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8934 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8936 * buffer.C (readInset): remove compability code for old Figure and
8939 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * buffer.C: ws changes
8944 * BufferView_pimpl.C: ditto
8947 * bufferlist.h: ditto
8951 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8953 * converter.[Ch]: split into itself +
8956 * Makefile.am: += graph.[Ch] + format.[Ch]
8963 * lyxrc.C: added #include "format.h"
8965 2003-02-27 Angus Leeming <leeming@lyx.org>
8967 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8970 * factory.C (createInset): add "label" to the factory.
8972 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8973 string and do no more.
8975 2003-02-27 Angus Leeming <leeming@lyx.org>
8978 * LyXAction.C (init):
8979 * factory.C (createInset):
8980 * BufferView_pimpl.C (dispatch):
8981 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8983 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8985 * lyxfunc.C (dispatch):
8986 * text3.C (dispatch): pass name to params2string.
8988 2003-02-26 Angus Leeming <leeming@lyx.org>
8990 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8992 Rearrange the ~includes. Strip out the unnecessary ones.
8994 * factory.C (createInset): reformat.
8995 create new insets for the various LFUN_XYZ_APPLY lfuns.
8997 2003-02-26 John Levon <levon@movementarian.org>
9000 * lyxrow.C: add isParStart,isParEnd helpers
9002 * paragraph.h: make isInserted/DeletedText take refs
9004 * paragraph_funcs.h:
9005 * paragraph_funcs.C: remove #if 0'd code
9010 * text.C: use lyxrow helpers above.
9011 Move draw and paint routines to RowPainter.
9012 Make several methods use refs not pointers.
9013 Make backgroundColor() const.
9014 Add markChangeInDraw(), isInInset().
9015 Merge changeRegionCase into changeCase.
9016 Make workWidth() shouldn't-happen code into an Assert.
9019 * rowpainter.C: new class for painting a row.
9022 * vspace.C: make inPixels take a ref
9024 2003-02-26 Angus Leeming <leeming@lyx.org>
9026 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9029 2003-02-25 John Levon <levon@movementarian.org>
9031 * ispell.C: give the forked command a more accurate name
9033 2003-02-22 John Levon <levon@movementarian.org>
9036 * toc.C: make TocItem store an id not a Paragraph *
9039 2003-02-21 Angus Leeming <leeming@lyx.org>
9041 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9042 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9043 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9044 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9045 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9046 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9048 * BufferView_pimpl.C (dispatch):
9049 * LyXAction.C (init):
9050 * factory.C (createInset):
9051 * lyxfunc.C (getStatus, dispatch):
9052 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9054 2003-02-21 Angus Leeming <leeming@lyx.org>
9056 * BufferView_pimpl.C (MenuInsertLyXFile):
9057 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9058 * lyxfunc.C (menuNew, open, doImport):
9059 no longer pass a LyXView & to fileDlg.
9061 2003-02-21 Angus Leeming <leeming@lyx.org>
9063 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9064 * LyXAction.C: change, BIBKEY to BIBITEM.
9065 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9066 Change InsetBibKey to InsetBibitem.
9067 Change BIBKEY_CODE to BIBITEM_CODE.
9068 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9069 * factory.C: replace insetbib.h with insetbibitem.h.
9070 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9071 * paragraph.C: replace insetbib.h with insetbibitem.h.
9072 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9073 Change bibkey() to bibitem().
9074 * text.C: remove insetbib.h.
9075 * text2.C: replace insetbib.h with insetbibitem.h.
9076 change bibkey() to bibitem().
9077 * text3.C: remove insetbib.h.
9078 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9080 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9082 * lyxrc.C (output): enclose user email in quotes (in case there are
9085 2003-02-18 John Levon <levon@movementarian.org>
9087 * buffer.h: add std::
9089 2003-02-17 John Levon <levon@movementarian.org>
9095 * pspell.C: reworking. Especially in ispell, a large
9096 number of clean ups and bug fixes.
9098 * lyxfunc.C: fix revert to behave sensibly
9100 2003-02-17 André Pönitz <poenitz@gmx.net>
9103 * commandtags.h: new LFUN_INSERT_BIBKEY
9113 * paragraph_func.C: remove special bibkey handling
9115 2003-02-17 John Levon <levon@movementarian.org>
9117 * text.C (Delete): fix case where delete at the end of
9118 the very first paragraph would not merge the pars
9120 2003-02-17 John Levon <levon@movementarian.org>
9122 * lyxrow.C: fix lastPrintablePos()
9124 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9126 * bufferparams.C (writeLaTeX): add a std:here
9128 * buffer.C: and remove a using directive there
9130 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9132 * buffer.C (makeLaTeXFile): move the code that generates the
9135 * bufferparams.C (writeLaTeX): ... in this new method
9137 * LaTeXFeatures.C (getEncodingSet): make const
9138 (getLanguages): make const
9140 * MenuBackend.C (binding): returns the binding associated to this
9142 (add): sets the status of each item by calling getStatus. Adds
9144 (read): add support for OptSubMenu
9145 (expand): remove extra separator at the end of expanded menu
9147 2003-02-15 John Levon <levon@movementarian.org>
9150 * BufferView_pimpl.C:
9152 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9153 inset code that had no actual effect. Remove unneeded status
9156 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9158 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9161 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9163 * text.C (drawLengthMarker): also draw an arrow marker for
9164 symbolic lengths (medskip...)
9166 2003-02-14 John Levon <levon@movementarian.org>
9169 * tabular.C: better method names
9171 2003-02-14 John Levon <levon@movementarian.org>
9173 * BufferView_pimpl.C:
9178 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9179 it's a more accurate name. Remove some pointless uses.
9181 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9183 * text2.C (LyXText): change order of initilizers to shut off
9186 2003-02-14 John Levon <levon@movementarian.org>
9188 * buffer.C: use ParIterator for getParFromID()
9192 * paragraph_pimpl.h:
9193 * paragraph_pimpl.C: remove unused getParFromID()
9195 2003-02-14 John Levon <levon@movementarian.org>
9197 * buffer.C: remove some very old #if 0'd parse code
9199 2003-02-13 John Levon <levon@movementarian.org>
9203 * text2.C: move hfillExpansion(), numberOfSeparators(),
9204 rowLast(), rowLastPrintable(), numberofHfills(),
9205 numberOfLabelHfills() ...
9208 * lyxrow.C: ... to member functions here.
9213 * text.C: remove LyXText::beginningOfMainBody(), and call
9214 p->beginningOfMainBody() directly. Move the check for
9215 LABEL_MANUAL into the latter.
9222 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9228 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9229 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9231 2003-02-13 John Levon <levon@movementarian.org>
9233 * CutAndPaste.C: remove debug
9235 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9237 * paragraph.C (asString): remove two unused variables
9239 * lyxtextclass.C (readTitleType):
9241 (LyXTextClass): handle new members titletype_ and titlename_
9243 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9245 2003-02-09 John Levon <levon@movementarian.org>
9248 * buffer.C: replace hand-coded list with a map for the dep clean
9250 2003-02-08 John Levon <levon@movementarian.org>
9252 * LaTeX.C: consolidate code into showRunMessage() helper
9254 2003-02-08 John Levon <levon@movementarian.org>
9259 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9260 and pass the size in explicitly
9262 * BufferView_pimpl.h:
9263 * BufferView_pimpl.C:
9265 * BufferView.C: add getCurrentChange()
9267 * BufferView_pimpl.h:
9268 * BufferView_pimpl.C: handle change lfuns
9270 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9271 for changes. Mark pasted paragraphs as new.
9273 * support/lyxtime.h:
9274 * support/lyxtime.C:
9275 * DepTable.C: abstract time_t as lyx::time_type
9278 * LColor.C: add colours for new text, deleted text, changebars
9280 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9281 package use "usenames" option.
9285 * LyXAction.C: add change lfuns
9289 * author.C: author handling
9292 * buffer.C: add a per-buffer author list, with first entry as
9293 current author. Handle new .lyx tokens for change tracking. Output
9294 author list to .lyx file. Output dvipost stuff to .tex preamble.
9295 Bump lyx format to 222.
9298 * bufferlist.C: add setCurrentAuthor() to reset current author details
9302 * bufferparams.C: add param for tracking
9304 * bufferview_funcs.C: output change info in minibuffer
9308 * changes.C: add change-tracking structure
9311 * debug.C: add CHANGES debug flag
9314 * lyxfind.C: add code for finding the next change piece
9317 * lyxrc.C: add user_name and user_email
9320 * lyxrow.C: add a metric for the top of the text line
9323 * text.C: implement accept/rejectChange()
9326 * text.C: paint changebars. Paint new/deleted text in the chosen
9327 colours. Strike through deleted text.
9331 * paragraph_pimpl.h:
9332 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9333 in the current change to the insert functions. Rework erase to
9334 mark text as deleted, adding an eraseIntern() and a range-based
9335 erase(). Implement per-paragraph change lookup and
9338 * paragraph_funcs.C: Fixup paste for change tracking.
9340 * tabular.C: mark added row/columns as new.
9342 * text.C: fix rowLast() to never return -1. Don't allow
9343 spellchecking of deleted text. Track transpose changes. Don't
9344 allow paragraph break or merge where appropriate.
9346 * text2.C: leave cursor at end of selection after a cut.
9348 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9350 * text.C (getLengthMarkerHeight):
9351 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9352 visible on screen too.
9354 2003-02-07 John Levon <levon@movementarian.org>
9356 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9358 2003-02-05 Angus Leeming <leeming@lyx.org>
9360 * lyxserver.C (read_ready): revert my patch of 11 September last year
9361 as it sends PC cpu through the roof. Presumably this means that
9362 the lyxserver will no longer run on an Alpha...
9364 2003-01-30 Angus Leeming <leeming@lyx.org>
9366 * factory.C (createInset): create an InsetCommandParam of type "index"
9367 and use it to 'do the right thing'.
9369 * text2.C (getStringToIndex): ensure that cursor position is always
9370 reset to the reset_cursor position.
9372 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9374 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9377 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9381 * lyxfunc.C: Output messages with identical spelling, punctuation,
9384 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9386 * MenuBackend.C (expandFormats): List only viewable export formats
9389 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9392 * lyxfunc.C (getStatus): Make sure that formats other than
9393 "fax" can also be disabled
9395 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9397 * text3.C (dispatch): put the lfuns that insert insets in 3
9398 groups, and call doInsertInset with appropriate arguments.
9399 (doInsertInset): new function, that creates an inset and inserts
9400 it according to some boolean parameters.
9402 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9404 * buffer.C (readFile): remember to pass on 'par' when calling
9405 readFile recursively.
9407 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9409 * MenuBackend.C (expandFormats): add "..." to import formats.
9411 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9413 * paragraph.C (asString): Remove XForms RTL hacks.
9415 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9416 * buffer.C: fix typo
9418 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9420 * Makefile.am (LIBS): delete var
9421 (lyx_LDADD): add @LIBS@ here instead.
9423 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9425 * Clarify the meaning of "wheel mouse jump"
9427 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9429 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9432 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9434 * importer.C (Loaders): do not preallocate 3 elements in the
9435 vector, since one ends up with 6 elements otherwise
9437 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9439 * DepTable.C (write): write the file name as last element of the
9440 .dep file (because it may contain spaces)
9441 (read): read info in the right order
9443 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9445 * paragraph_pimpl.C (simpleTeXBlanks):
9446 (simpleTeXSpecialChars):
9447 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9449 * tabular.C (latex): add some missing case statements. Reindent.
9451 * MenuBackend.C (expandToc): remove unused variable.
9453 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9462 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9465 2003-01-05 John Levon <levon@movementarian.org>
9468 * BufferView.C: add getEncoding()
9471 * kbsequence.C: do not store last keypress
9474 * lyxfunc.C: store last keypress here instead. Pass encoding
9477 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9479 * lyx_main.C (init): remove annoying error message when following
9480 symbolic links (bug #780)
9482 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9484 * text.C (insertChar):
9485 * lyxrc.C (getDescription): remove extra spaces
9487 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9489 * lyxrc.C (getDescription): remove extra spaces
9491 2002-12-20 John Levon <levon@movementarian.org>
9493 * text3.C: hack fix for page up/down across tall rows
9495 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9497 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9500 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9502 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9503 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9504 thesaurus is not compiled in
9506 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9508 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9510 2002-12-16 Angus Leeming <leeming@lyx.org>
9513 * lyx_main.C (init): remove override_x_deadkeys stuff.
9515 2002-12-12 John Levon <levon@movementarian.org>
9517 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9518 insert. Only remove shift modifier under strict
9521 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9523 * MenuBackend.C (expandToc): fix crash.
9525 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9527 * MenuBackend.C (expandToc): gettext on float names.
9529 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9531 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9532 implement bool empty() [bug 490]
9534 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9536 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9538 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9540 * several files: ws changes
9542 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9544 * text2.C (setCounter): clean up a bit, use boost.format.
9545 (updateCounters): initialize par upon declaration.
9547 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9548 if the layout exists. We do not just store the layout any more.
9549 (SwitchLayoutsBetweenClasses): use boost.format
9551 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9553 * converter.C (convert): if from and to files are the same, use a
9554 temporary files as intermediary
9556 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9559 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9561 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9563 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9565 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9567 * tabular.C (asciiPrintCell): use string(size, char) instead of
9570 * sgml.C (openTag): fix order of arguments to string constructor
9573 * lyxfunc.C (dispatch): use boost.format
9575 * lots of files: change "c" -> 'c'
9577 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9579 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9581 2002-11-25 Angus Leeming <leeming@lyx.org>
9583 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9585 * lyx_main.C (init): compile fix.
9587 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9589 * lyx_cb.C (start): boost.formatify
9590 do not include <iostream>
9592 * lengthcommon.C: ws only
9594 * boost-inst.C,BoostFormat.h: add more explict instantations
9596 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9598 * lots of files: handle USE_BOOST_FORMAT
9600 2002-11-21 John Levon <levon@movementarian.org>
9602 * pspell.C: fix compile
9604 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9606 * lyxfunc.C (dispatch): use boost::format
9610 * lyxfont.C (stateText): use boost::format
9612 * lyx_main.C (LyX): use boost::format
9614 (queryUserLyXDir): ditto
9617 (typedef boost::function): use the recommened syntax.
9619 * importer.C (Import): use boost::format
9621 * debug.C (showLevel): use boost::format
9623 * converter.C (view): use boost::format
9628 * bufferview_funcs.C (currentState): use boost::format
9630 * bufferlist.C (emergencyWrite): use boost::format
9632 * buffer.C (readLyXformat2): use boost::format
9633 (parseSingleLyXformat2Token): ditto
9635 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9637 * LaTeX.C (run): use boost::format
9639 * Chktex.C (scanLogFile): use boost::format
9641 * BufferView_pimpl.C (savePosition): use boost::format
9642 (restorePosition): ditto
9643 (MenuInsertLyXFile): ditto
9645 * BoostFormat.h: help file for explicit instation.
9647 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9649 * tabular.C (latex): Support for block alignment in fixed width
9652 2002-11-17 John Levon <levon@movementarian.org>
9654 * BufferView_pimpl.C:
9656 * lyxfunc.C: split filedialog into open/save
9658 2002-11-08 Juergen Vigna <jug@sad.it>
9660 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9661 by my last patch (hopefully).
9663 2002-11-08 John Levon <levon@movementarian.org>
9672 * toc.C: ParConstIterator, and use it (from Lars)
9674 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9676 * lyxtextclass.[Ch]: revise and add doxygen comments
9678 2002-11-07 John Levon <levon@movementarian.org>
9680 * text.C: fix progress value for spellchecker
9682 * toc.C: fix navigate menu for insetwrap inside minipage
9684 * paragraph_funcs.C: added FIXME for suspect code
9686 2002-11-07 John Levon <levon@movementarian.org>
9688 * BufferView_pimpl.C: fix redrawing of insets
9691 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9693 * text2.C (updateCounters): fix bug 668
9695 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9697 * text3.C (dispatch): Do not make the buffer dirty when moving the
9700 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9702 * vc-backend.C: STRCONV
9705 * text2.C (setCounter): STRCONV
9707 * paragraph.C (asString): STRCONV
9709 * lyxlength.C (asString): STRCONV
9710 (asLatexString): ditto
9712 * lyxgluelength.C (asString): STRCONV
9713 (asLatexString): ditto
9715 * lyxfunc.C (dispatch): STRCONV
9718 * lyxfont.C (stateText): STRCONV
9720 * importer.C (Import): STRCONV
9722 * counters.C (labelItem): STRCONV
9723 (numberLabel): ditto
9724 (numberLabel): remove unused ostringstream o
9729 * bufferview_funcs.C (currentState): STRCONV
9731 * buffer.C (readFile): STRCONV
9732 (asciiParagraph): ditto
9733 (makeLaTeXFile): ditto
9735 * Spacing.C (writeEnvirBegin): STRCONV
9737 * LaTeXFeatures.C (getLanguages): STRCONV
9738 (getPackages): ditto
9740 (getBabelOptions): ditto
9741 (getTClassPreamble): ditto
9742 (getLyXSGMLEntities): ditto
9743 (getIncludedFiles): ditto
9747 (scanAuxFile): ditto
9750 * LString.h: add the STRCONV macros
9752 * BufferView_pimpl.C (savePosition): STRCONV
9753 (restorePosition): ditto
9754 (MenuInsertLyXFile): ditto
9756 * vc-backend.C (scanMaster): change from submatch[...] to
9759 * funcrequest.C: include config.h
9761 * factory.C: include config.h
9763 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9765 * box.C: include config.h
9767 * LaTeX.C (scanAuxFile): change from submatch[...] to
9771 2002-10-25 Angus Leeming <leeming@lyx.org>
9773 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9775 * ispell.[Ch] (setError): new method.
9776 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9777 Use setError() insetead of goto END.
9779 * lyx_cb.C (AutoSave): move out child process into new class
9782 2002-10-30 John Levon <levon@movementarian.org>
9784 * text3.C: make start appendix undoable
9786 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9788 * lyxlength.C (inPixels): Fix returned value.
9790 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9793 2002-10-24 Angus Leeming <leeming@lyx.org>
9795 * lyxgluelength.h: no need to forward declare BufferParams
9796 or BufferView, so don't.
9798 2002-10-21 John Levon <levon@movementarian.org>
9800 * BufferView.C: menuUndo ->undo, redo
9802 * BufferView.h: document, remove dead, make some methods private
9804 * paragraph_funcs.h:
9805 * paragraph_funcs.C:
9806 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9811 * sgml.C: move sgml open/close tag into sgml.C
9813 * bufferview_funcs.h: unused prototype
9816 * lyxfunc.C: remove unused
9819 * text.C: remove unused
9821 2002-10-21 John Levon <levon@movementarian.org>
9825 * BufferView_pimpl.h:
9826 * BufferView_pimpl.C: fix mouse wheel handling based on
9827 patch from Darren Freeman
9829 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9831 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9833 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9835 * lyxlength.C (inPixels): Fix hanfling of negative length.
9836 Fix LyXLength::MU case.
9838 2002-10-16 John Levon <levon@movementarian.org>
9840 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9842 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9844 * converter.C (view): add support for $$i (file name) and $$p
9845 (file path) for the viewer command. If $$i is not specified, then
9846 it is appended to the command (for compatibility with old syntax)
9848 2002-10-14 Juergen Vigna <jug@sad.it>
9850 * undo_funcs.C (textHandleUndo): alter the order in which the
9851 new undopar is added to the LyXText, as we have to set first
9852 the right prev/next and then add it as otherwise the rebuild of
9853 LyXText is not correct. Also reset the cursor to the right paragraph,
9854 with this IMO we could remove the hack in "redoParagraphs()".
9856 2002-10-09 Angus Leeming <leeming@lyx.org>
9858 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9859 to turn off an optimisation if a new inset is to be inserted.
9861 2002-10-11 André Pönitz <poenitz@gmx.net>
9863 * lyxtext.h: make some functions public to allow access
9864 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9866 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9868 * text3.C (dispatch): when changing layout, avoid an infinite loop
9871 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9873 * lyxrc.C (read): treat a viewer or converter command of "none" as
9876 * MenuBackend.C (expandFormats): for an update, also allow the
9877 formats that are not viewable
9879 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9880 script if it is newer than the lyxrc.defaults in user directory
9882 2002-10-07 André Pönitz <poenitz@gmx.net>
9884 * text.C: Vitaly Lipatov's small i18n fix
9886 2002-09-25 Angus Leeming <leeming@lyx.org>
9888 * ispell.h: doxygen fix.
9890 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9892 * buffer.h (readFile): Add a new argument to the method, to allow
9893 reading of old-format templates.
9895 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9897 * toc.C (getTocList): Get TOC from InsetWrap.
9899 2002-09-16 John Levon <levon@movementarian.org>
9901 * lyxfunc.C: check tabular for cut/copy too
9903 2002-09-12 John Levon <levon@movementarian.org>
9908 * factory.C: add header
9910 * paragraph_funcs.h:
9911 * paragraph_funcs.C: cleanup
9913 2002-09-11 John Levon <levon@movementarian.org>
9915 * PrinterParams.h: odd/even default to true
9917 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9919 * PrinterParams.h: update printer parameters for new xforms dialog
9921 2002-09-11 Angus Leeming <leeming@lyx.org>
9923 * lyxserver.C (read_ready): re-write to make it more transparent
9924 and to make it work in coherent fashion under Tru64 Unix.
9926 2002-09-11 André Pönitz <poenitz@gmx.net>
9930 * text3.C: implement LFUN_WORDSEL
9932 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9935 make floatlist_ a boost::shared_ptr<FloatList>
9937 * lyxtextclass.C: include FloatList.h
9938 (LyXTextClass): initialize floatlist_
9939 (TextClassTags): add TC_NOFLOAT
9940 (Read): match "nofloat" to TC_NOFLOAT and use it.
9941 (readFloat): modify call to floatlist_
9945 * FloatList.[Ch] (FloatList): remove commented out float
9947 (erase): new function
9949 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9951 * MenuBackend.C (expandToc): fix crash when there is no document
9954 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9956 * many files: Add insetwrap.
9958 2002-09-09 John Levon <levon@movementarian.org>
9960 * text2.C: remove confusing and awkward depth wraparound
9962 2002-09-09 John Levon <levon@movementarian.org>
9964 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9967 * buffer.C: remove getIncludeonlyList()
9970 * lyxfunc.C: remove headers
9972 2002-09-09 Juergen Vigna <jug@sad.it>
9974 * text.C (getColumnNearX): fix form Michael this is most
9975 probably a cut&paste bug.
9977 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9979 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9981 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9982 references, ws changes.
9984 * text2.C (init): update counters after init
9985 (insertParagraph): no need to set counter on idividual paragraphs.
9986 (setCounter): access the counters object in the textclass object
9987 on in the buffer object.
9988 (updateCounters): ditto
9990 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9991 shared_ptr<Counters> to avoid loading counters.h in all
9993 (LyXTextClass): initialize ctrs_
9994 (TextClassTags): add TC_COUNTER, and ...
9995 (Read): use it here.
9996 (CounterTags): new tags
9997 (readCounter): new function
9998 (counters): new funtion
9999 (defaultLayoutName): return a const reference
10001 * counters.C (Counters): remove contructor
10002 (newCounter): remove a couple of unneeded statements.
10003 (newCounter): simplify a bit.
10004 (numberLabel): some small formatting changes.
10006 * buffer.[Ch]: remove all traces of counters, move the Counters
10007 object to the LyXTextClass.
10009 2002-09-06 Alain Castera <castera@in2p3.fr>
10011 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10012 package to set the horizontal alignment on fixed width columns.
10015 * lyx_sty.h: added tabularnewline macro def.
10017 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10019 2002-09-06 John Levon <levon@movementarian.org>
10021 * LyXAction.C: tooltips for sub/superscript
10023 * MenuBackend.C: a bit more verbose
10025 * lyxfunc.C: tiny clean
10027 * undo_funcs.C: document undo_frozen
10029 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10031 * counters.C (Counters): add missing algorithm counter.
10033 * text2.C (setCounter): lookup the counter with layouts latexname
10034 instead of by section number.
10035 (setCounter): use a hackish way to lookup the correct enum
10037 a float name->type change
10038 reset enum couners with counter name directly instead of depth value.
10040 * counters.C (Counters): remove the push_backs, change to use the
10041 float type not the float name.
10042 (labelItem): remove unused string, float name->type change
10044 * counters.h: don't include vector, loose the enums and sects vectors
10046 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10048 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10049 (Read): add float->TC_FLOAT to textclassTags
10050 (Read): and handle it in the switch
10051 (readFloat): new function
10053 * FloatList.C (FloatList): comment out the hardcoded float
10056 * lyxlayout.h: ws change.
10058 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10060 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10062 2002-09-03 Angus Leeming <leeming@lyx.org>
10064 * BufferView_pimpl.h: qualified name is not allowed in member
10065 declaration: WorkArea & Pimpl::workarea() const;
10067 * factory.C: added using std::endl directive.
10069 * text3.C: added using std::find and std::vector directives.
10071 2002-08-29 André Pönitz <poenitz@gmx.net>
10074 * text2.C: remove unused member number_of_rows
10077 * BufferView2.C: remove file, move contents to...
10078 * BufferView.C: ... here
10080 * BufferView_pimpl.C:
10081 * factory.C: move more inset creation to factory
10083 * vspace.C: avoid direct usage of LyXText, ws changes
10086 don't provide direct access to WorkArea, use two simple
10087 acessors haveSelction() and workHeight() instead
10090 2002-08-29 John Levon <levon@movementarian.org>
10092 * BufferView_pimpl.C (dispatch): do not continue when
10095 2002-08-28 André Pönitz <poenitz@gmx.net>
10097 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10100 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10102 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10104 * buffer.C: increment LYX_FORMAT to 221
10106 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10107 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10109 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10111 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10113 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * factory.C (createInset): use LyXTextClass::floats
10117 * MenuBackend.C (expandFloatListInsert):
10118 (expandFloatInsert):
10121 * text2.C (setCounter):
10123 * LaTeXFeatures.C (useFloat):
10124 (getFloatDefinitions):
10126 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10128 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10129 floatlist_, with accessor floats().
10131 * FloatList.h: remove global FloatList
10133 2002-08-26 André Pönitz <poenitz@gmx.net>
10135 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10139 * BufferView_pimpl.C:
10140 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10142 2002-08-25 John Levon <levon@movementarian.org>
10144 * LyXAction.C: fix margin note description
10146 2002-08-24 John Levon <levon@movementarian.org>
10150 * bufferview_funcs.C:
10152 * undo_funcs.C: cleanups
10154 * lyxfunc.C: disable CUT/COPY when no selection
10156 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10158 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10159 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10161 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10162 Add backward compatibility to "mono", "gray" and "no".
10164 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10166 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10167 (and file_format >= 200).
10169 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10171 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10173 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10177 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10179 * BufferView_pimpl.C:
10186 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10187 inset and code to make it work with the paragraph code. The inset
10188 can be anywhere in the paragraph, but will only do the expected
10189 thing in LaTeX if the layout file contains the parameter line
10191 (or more generally, a nonzero value) for that layout.
10193 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10195 * paragraph.h: remove the declaration of undefined counters class
10198 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10200 * text2.C (setCounter): fixed enumeration mis-count as reported by
10201 Dr. Richard Hawkins.
10203 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10205 * paragraph_funcs.h: remove some unneeded includes
10207 * text.C (backspace): pasteParagraph now in global scipe
10209 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10210 (pasteSelection): ditto
10212 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10213 * paragraph_funcs.C (pasteParagraph): ... here
10215 2002-08-20 André Pönitz <poenitz@gmx.net>
10217 * commandtags.h: new LFUNs for swapping/copying table row/colums
10220 * lyxfunc.C: support for new lfuns
10222 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10225 * buffer.[Ch]: remove NO_COMPABILITY stuff
10227 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10229 * boost.C (throw_exception): new file, with helper function for
10230 boost compiled without exceptions.
10235 * ParameterStruct.h:
10236 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10238 * bufferlist.C (emergencyWriteAll): use boost bind
10240 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10242 * text.C: include paragraph_funcs.h
10243 (breakParagraph): breakParagraph is now in global scope
10245 * paragraph_funcs.[Ch]: new files
10247 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10250 * buffer.C: include paragraph_funcs.h
10251 (insertStringAsLines): breakParagraph is now in global scope
10253 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10256 * CutAndPaste.C: include paragraph_funcs.h
10257 (cutSelection): breakParagraphConservative is now in global scope
10258 (pasteSelection): ditto
10260 * buffer.h: declare oprator== and operator!= for
10261 Buffer::inset_iterator
10263 * bufferlist.C (emergencyWrite): don't use fmt(...)
10265 * text3.C: add using std::endl
10267 * BufferView.C (moveCursorUpdate): remove default arg
10269 2002-08-20 André Pönitz <poenitz@gmx.net>
10271 * buffer.[Ch]: move inline functions to .C
10274 * BufferView_pimpl.C:
10276 * buffer.[Ch]: use improved inset_iterator
10279 * paragraph.[Ch]: write one paragraph at a time
10281 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10283 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10284 style if style is not specified.
10286 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10288 * text2.C (setCounter): when searching for right label for a
10289 caption, make sure to recurse to parent insets (so that a caption
10290 in a minipage in a figure float works) (bug #568)
10292 2002-08-20 André Pönitz <poenitz@gmx.net>
10294 * text3.C: new file for LyXText::dispatch() and helpers
10296 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10298 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10300 2002-08-19 André Pönitz <poenitz@gmx.net>
10303 * text.C: new LyXText::dispatch()
10305 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10307 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10309 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10311 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10314 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10316 * Makefile.am: use $(variables) instead of @substitutions@
10318 2002-08-15 André Pönitz <poenitz@gmx.net>
10321 * BufferView_pimpl.C: streamlining mathed <-> outer world
10325 * LyXAction.C: remove unused LFUN_MATH
10327 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10329 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10331 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10333 * paragraph.C (Paragraph): reformat a bit
10334 (cutIntoMinibuffer): use builtin InsetList function instad of
10338 * buffer.C: include boost/bind.hpp, add using std::for_each
10339 (writeFileAscii): use ParagraphList iterators
10340 (validate): use for_each for validate traversal of paragraphs
10341 (getBibkeyList): use ParagraphList iterators
10342 (resizeInsets): use for_each to resizeInsetsLyXText for all
10344 (getParFromID): use ParagraphList iterators
10346 * BufferView2.C (lockInset): use paragraph list and iterators
10348 2002-08-14 John Levon <levon@movementarian.org>
10350 * lyxserver.C: remove spurious xforms include
10352 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10356 2002-08-13 André Pönitz <poenitz@gmx.net>
10359 * lyxfunc.C: further cleaning
10361 2002-08-13 André Pönitz <poenitz@gmx.net>
10363 * funcrequest.h: new constructor
10365 * funcrequest.C: move stuff here from .h
10368 * BufferView_pimpl.C:
10371 * lyxfunc.C: subsequent changes
10373 * lyxfunc.h: new view() member function
10375 * lyxfunc.C: subsequent changes
10377 2002-08-13 Angus Leeming <leeming@lyx.org>
10380 * BufferView_pimpl.C:
10388 changes due to the changed LyXView interface that now returns references
10389 to member variables not pointers.
10391 2002-08-13 Angus Leeming <leeming@lyx.org>
10393 * WordLangTuple (word, lang_code): return references to strings,
10398 * lyxtext.h: forward-declare WordLangTuple.
10403 * text.C: #include "WordLangTuple.h".
10406 * text.C: (selectNextWordToSpellcheck): constify return type.
10408 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10414 * paragraph_pimpl.h:
10417 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10418 suggested by Angus.
10419 Made updateCounter always count from start of buffer, and removed
10420 second argument (par).
10421 Reverted floats number display to '#'. Perhaps I'll try again when the
10422 code base is sanitized a bit.
10424 2002-08-12 Angus Leeming <leeming@lyx.org>
10426 * buffer.[Ch] (getLabelList): constify.
10428 2002-08-07 André Pönitz <poenitz@gmx.net>
10430 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10432 * funcrequest.h: extension to keep mouse (x,y) position
10434 2002-08-12 Juergen Vigna <jug@sad.it>
10436 * BufferView2.C (insertErrors): forbid undo when inserting error
10439 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10441 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10443 * ParagraphList.[Ch]: new files
10445 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10447 * BufferView2.C (lockInset): ParagraphList changes
10450 * bufferlist.C: ditto
10454 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10456 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10457 unused class variable counter_,
10459 * paragraph.[Ch] (getFirstCounter): delete unused function
10461 * counters.C: include LAssert.h
10462 (reset): add a new function with no arg, change other version to
10463 not have def. arg and to not allow empty arg.
10465 * text2.C (setCounter): remove empty arg from call to Counters::reset
10467 2002-08-11 John Levon <levon@movementarian.org>
10469 * Makefile.am: add WordLangTuple.h
10471 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10474 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10476 * insets/insettext.C: InsetList changes
10478 * graphics/GraphicsSupport.C (operator()): InsetList changes
10480 * toc.C (getTocList): InsetList changes
10482 * paragraph_pimpl.[Ch]: InsetList changes
10484 * paragraph.[Ch]: InsetList changes
10486 * buffer.C (inset_iterator): InsetList changes
10487 (setParagraph): ditto
10488 * buffer.h (inset_iterator): ditto
10489 * iterators.C (operator++): ditto
10490 * iterators.h: ditto
10492 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10494 * InsetList.[Ch]: new files, most InsetList handling moved out of
10497 * BufferView2.C (removeAutoInsets): InsetList changes
10499 (ChangeInsets): ditto
10501 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10503 * paragraph_pimpl.h (empty): new function
10505 * paragraph.[Ch] (empty): new function
10507 * other files: use the new Paragraph::empty function
10509 2002-08-09 John Levon <levon@movementarian.org>
10511 * lyxtext.h: remove unused refresh_height
10513 2002-08-09 John Levon <levon@movementarian.org>
10520 * paragraph.C: move sgml char escaping out of paragraph
10523 * paragraph.C: remove id setter
10527 * paragraph_pimpl.C: remove dead tex_code_break_column
10529 * bufferview_funcs.C: small cleanup
10531 * lyxfunc.C: remove dead proto
10533 * lyxtext.h: make some stuff private. Remove some dead stuff.
10535 * lyxgluelength.C: make as[LyX]String() readable
10537 2002-08-08 John Levon <levon@movementarian.org>
10542 * ToolbarDefaults.C:
10545 * toc.C: lyxaction cleanup
10547 2002-08-08 John Levon <levon@movementarian.org>
10549 * BufferView2.C: small cleanup
10552 * lyxfind.C: move unnecessary header into the .C
10554 2002-08-08 John Levon <levon@movementarian.org>
10556 * funcrequest.h: just tedious nonsense
10559 * lyx_main.C: cleanups
10562 * vspace.C: remove dead header lyx_main.h
10564 2002-08-07 Angus Leeming <leeming@lyx.org>
10567 * paragraph_pimpl.h:
10568 Forward declare class Counters in paragraph.h by moving the ctrs member
10569 variable into Paragraph::Pimpl.
10570 (counters): new method, returning a reference to pimpl_->ctrs.
10572 * text2.C: ensuing changes.
10574 2002-08-07 John Levon <levon@movementarian.org>
10576 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10578 * BufferView_pimpl.C: announce X selection on double/triple
10581 * lyx_main.C: use correct bool in batch dispatch
10583 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10585 2002-08-07 André Pönitz <poenitz@gmx.net>
10587 * funcrequest.h: new class to wrap a kb_action and its argument
10590 * BufferView_pimpl[Ch]:
10594 * lyxrc.C: subsequent changes
10597 2002-08-07 John Levon <levon@movementarian.org>
10599 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10600 document options change.
10602 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10607 * makefile.am: move counters functionality over from
10608 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10610 2002-08-06 John Levon <levon@movementarian.org>
10612 * WordLangTuple.h: new file for word + language code tuple
10623 * BufferView2.C: use WordLangTuple
10626 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10628 2002-08-06 John Levon <levon@movementarian.org>
10630 * lyx_main.C: fix cmdline batch handling
10632 2002-08-06 André Pönitz <poenitz@gmx.net>
10634 * lyxrc.C: set default for show_banner to true
10636 2002-08-06 John Levon <levon@movementarian.org>
10638 * pspell.C: fix a crash, and allow new aspell to work
10640 2002-08-06 John Levon <levon@movementarian.org>
10643 * kbmap.C: small cleanup
10646 * vspace.C: add const
10648 2002-08-05 John Levon <levon@movementarian.org>
10650 * LyXAction.C: back to tabular-insert
10652 2002-08-04 John Levon <levon@movementarian.org>
10655 * BufferView.C: cosmetic change
10657 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10667 * BufferView2.C: purge all "Lyx" not "LyX" strings
10670 * lyxcursor.C: attempt to add some documentation
10675 * ToolbarDefaults.C:
10676 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10677 merge with LFUN_TABULAR_INSERT
10684 * pspell.C: split up i/pspell implementations into separate
10685 files, many cleanups
10687 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10689 * text2.C: some cleanup
10691 * lyxfunc.C: don't check for isp_command == "none" any more, it
10692 didn't make any sense
10694 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10699 * makefile.am: move counters functionality over
10700 from text2.C/paragraph.[Ch] to counters.[Ch], and
10702 2002-08-02 John Levon <levon@movementarian.org>
10704 * buffer.C: s/lyxconvert/lyx2lyx/
10706 2002-08-02 Angus Leeming <leeming@lyx.org>
10708 * lyxlex.C: revert John's change as it breaks reading of the user
10711 2002-08-02 Angus Leeming <leeming@lyx.org>
10713 * importer.C (Import):
10714 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10715 changes due to LyXView::view() now returning a boost::shared_ptr.
10717 2002-08-02 John Levon <levon@movementarian.org>
10719 * lyxlex.C: small cleanup
10721 2002-08-02 John Levon <levon@movementarian.org>
10723 * text2.C (status): small cleanup, no logic change
10725 2002-08-01 John Levon <levon@movementarian.org>
10728 * buffer.C (writeFile): don't output alerts, caller
10732 * lyx_cb.C: from above
10734 * lyxfunc.C: allow to open non-existent files
10736 2002-07-31 John Levon <levon@movementarian.org>
10738 * lyxserver.C: don't let incidental errors get
10741 2002-07-30 John Levon <levon@movementarian.org>
10743 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10745 2002-07-30 John Levon <levon@movementarian.org>
10748 * lyxserver.C: remove I/O callback too
10750 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10752 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10755 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10757 * many files: strip,frontStrip -> trim,ltrim,rtrim
10759 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10761 * PrinterParams.h: remove extern containsOnly, and include
10762 support/lstrings.h instead.
10764 * LaTeX.C (scanAuxFile): modify because of strip changes
10766 * buffer.C (makeLaTeXFile): ditto
10767 * bufferparams.C (writeFile): ditt
10768 * lyxfont.C (stateText): ditto
10769 * lyxserver.C (read_ready): ditto
10770 * vc-backend.C (scanMaster): ditto
10772 * BufferView_pimpl.h: ws changes
10774 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10776 2002-07-26 André Pönitz <poenitz@gmx.net>
10778 * kb_sequence.C: remove unnedred usings
10780 2002-07-26 Juergen Vigna <jug@sad.it>
10782 * lyxfind.C (LyXReplace): we have to check better if the returned
10783 text is not of theLockingInset()->getLockingInset().
10785 2002-07-25 Juergen Vigna <jug@sad.it>
10787 * lyxfind.C (LyXReplace): don't replace if we don't get the
10790 * undo_funcs.C (createUndo): remove debugging code.
10792 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10794 * buffer.C (parseSingleLyXformat2Token): Use default placement
10795 when reading old floats.
10797 * FloatList.C (FloatList): Change the default placement of figure
10798 and tables to "tbp".
10800 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10802 * MenuBackend.C: using std::max
10804 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10806 * MenuBackend.C (expandToc):
10807 (expandToc2): code moved from xforms menu frontend. It is now
10808 generic and TOCs are transparent to menu frontends.
10810 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * toc.C (getTocList): protect against buf=0
10814 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10815 Menu as first parameter. Now, this calls itself recursively to
10816 expand a whole tree (this will be useful for TOC handling)
10817 (expandFloatInsert): remove 'wide' version of floats
10819 * MenuBackend.h (submenuname): returns the name of the submenu.
10820 (submenu): returns the submenu itself, provided it has been
10821 created by MenuBackend::expand
10823 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10826 insets which have noFontChange == true. (bug #172)
10828 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * BufferView_pimpl.C: add connection objects and use them...
10833 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * MenuBackend.C (expandLastfiles):
10838 (expandFloatListInsert):
10839 (expandFloatInsert):
10840 (expand): split expand in parts
10842 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10844 * lyx_gui.C: use lyx_gui::exit()
10846 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10848 * LyXAction.C: show the failing pseudo action
10850 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10852 * buffer.C (readFile): Run the lyxconvert script in order to read
10855 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10859 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10861 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10865 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10867 2002-07-22 Herbert Voss <voss@lyx.org>
10870 * lyxlength.[Ch]: add support for the vertical lengths
10872 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10874 * toc.[Ch]: std:: fixes
10876 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10878 * lyxrc.C: do not include lyx_main.h
10880 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10886 * BufferView2.C: include "lyxlex.h"
10889 * bufferparams.h: do not #include "lyxlex.h"
10891 * lyxtextclasslist.C (Add): remove method
10892 (classlist): renamed to classlist_
10894 * paragraph_pimpl.C:
10898 * bufferview_funcs.C:
10903 * toc.C (getTocList): use BufferParams::getLyXTextClass
10905 * toc.C (getTocList): use InsetFloat::addToToc
10907 * toc.[Ch]: new files, containing helper functions to handle table
10910 * lyxfunc.C (dispatch): no need to remove spaces around command
10912 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10913 first command of the sequence; it is not very clever, but I do not
10914 have a better idea, actually
10916 * LyXAction.C (LookupFunc): make sure to remove space at the
10917 beginning and end of the command
10919 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10921 * MenuBackend.C (getMenubar): new method: return the menubar of
10923 (read): treat differently reading of menu and menubar (in
10924 particular, the menubar has no name now)
10925 (Menu::menubar): remove
10927 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10930 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10932 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10933 a bibitem inset in a RTL paragraph.
10935 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10937 * paragraph_pimpl.C: constify
10939 * BufferView_pimpl.C:
10941 * lyxfunc.C: fix dispatch in a nicer way
10943 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10945 * lyxfunc.C (dispatch):
10946 * BufferView_pimpl.C:
10947 * BufferView_pimpl.h:
10949 * BufferView.h: rename Dispatch() to dispatch()
10951 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10953 * lyxlayout.C (Read): honor DependsOn tag
10955 * lyxlayout.[Ch] (depends_on): new method
10957 * version.C.in: update lyx_docversion
10959 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10961 * paragraph.C (validate): remove from here...
10962 * paragraph_pimpl.C (validate): ... and move here
10963 (isTextAt): make it const
10965 * buffer.C (getLists): ws cleanup
10967 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10969 * language.C (read): Use iso8859-1 encoding in latex_lang
10970 (this prevents LyX from crashing when using iso10646-1 encoding).
10972 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * text2.C (toggleInset): if cursor is inside an inset, close the
10975 inset and leave cursor _after_ it
10977 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10979 * lyxfunc.C: move minibuffer completion handling out of here
10981 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10983 * BufferView_pimpl.C:
10984 * LaTeX.C: fix dispatch calls
10986 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10988 * text.C (drawChars): Fix Arabic text rendering.
10990 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10994 * lyxfunc.C: remove message-push/pop
10998 * lyxfunc.C: rationalise some code by removing verboseDispatch
10999 in favour of a bool argument to dispatch()
11001 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11003 * lyx_main.C (init): make sure to read symlinks as absolute paths
11005 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11008 * lyxfunc.C: no need for commandshortcut to be a member
11010 2002-07-15 André Pönitz <poenitz@gmx.net>
11012 * converter.C: add support for $$s (scripts from lib/scripts dir)
11013 * lyx_main.C: white space
11015 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11019 * lyxrc.C: remove second exit confirmation
11021 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11026 * BufferView_pimpl.h:
11027 * BufferView_pimpl.C:
11028 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11030 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11032 * MenuBackend.C (expand): add numeric shortcuts to document menu
11034 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11036 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11038 * lyxfont.C (setLyXFamily):
11045 * buffer.C (asciiParagraph): use ascii_lowercase
11047 2002-07-15 Mike Fabian <mfabian@suse.de>
11049 * lyxlex_pimpl.C (search_kw):
11050 * lyxlex.C (getLongString):
11051 * converter.h (operator<):
11052 * converter.C (operator<):
11053 * buffer.C (parseSingleLyXformat2Token):
11055 * ToolbarDefaults.C (read):
11056 * MenuBackend.C (checkShortcuts):
11058 * LColor.C (getFromGUIName):
11059 (getFromLyXName): use the compare_ascii_no_case instead of
11060 compare_no_case, because in turkish, 'i' is not the lowercase
11061 version of 'I', and thus turkish locale breaks parsing of tags.
11063 2002-07-16 Angus Leeming <leeming@lyx.org>
11065 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11066 now takes a Buffer const & argument.
11068 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11070 * BufferView.C (resize): check there's a buffer to resize
11072 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11074 * lyxfunc.C: remove dead code
11077 * lyxserver.C: use lyx_guii::set_read_callback
11079 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11081 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11082 an inset in a RTL paragraph.
11084 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11086 * lyxfunc.C: repaint after a font size update
11088 2002-07-15 André Pönitz <poenitz@gmx.net>
11090 * lyxlength.C: inBP should be able to return negative values
11092 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11094 * lyxfunc.C: use lyx_gui::update_fonts()
11096 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11098 * lyxfunc.C: use lyx_gui::update_color()
11100 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11106 * lyxrc.C: remove file->new asks for name option, and let
11107 buffer-new take an argument
11109 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11111 * BufferView_pimpl.C: remove unneeded extra repaint()
11113 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11115 * LyXAction.C: allow command-sequence with NoBuffer
11117 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11119 2002-07-10 Angus Leeming <leeming@lyx.org>
11121 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11123 2002-07-09 Angus Leeming <leeming@lyx.org>
11125 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11127 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11129 * lengthcommon.h: whitespace
11131 * lyxfunc.C: update scrollbar after goto paragraph
11133 * lyxtext.h: factor out page break drawing, and fix it so
11134 page break/added space paints as selected nicely
11136 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11138 * BufferView_pimpl.C: add FIXMEs, clean up a little
11140 2002-07-09 André Pönitz <poenitz@gmx.net>
11142 * lyxfont.[Ch]: support for wasy symbols
11144 2002-07-08 André Pönitz <poenitz@gmx.net>
11146 * BufferView_pimpl.C: apply John's patch for #93.
11148 2002-07-05 Angus Leeming <leeming@lyx.org>
11150 * BufferView_pimpl.C (buffer): generate previews if desired.
11152 * LColor.h: add "preview" to the color enum.
11154 * LColor.C (LColor): add a corresponding entry to the items array.
11156 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11159 2002-07-05 Angus Leeming <leeming@lyx.org>
11161 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11162 The body of the code is now in the method that is passed an ostream &
11163 rather than a file name.
11164 Pass an additional only_preamble parameter, useful for the forthcoming
11167 2002-07-03 André Pönitz <poenitz@gmx.net>
11169 * lyxfunc.C: simplify getStatus() a bit for math stuff
11171 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11173 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11175 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11177 * text.C (changeRegionCase): do not change case of all the
11178 document when region ends at paragraph end (bug #461)
11180 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * paragraph.C (startTeXParParams):
11183 (endTeXParParams): add \protect when necessary
11185 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11187 * BufferView_pimpl.C (workAreaExpose): remove warning
11189 2002-06-27 Angus Leeming <leeming@lyx.org>
11191 * Makefile.am: add lyxlayout_ptr_fwd.h.
11193 2002-06-26 André Pönitz <poenitz@gmx.net>
11195 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11197 2002-06-25 Angus Leeming <leeming@lyx.org>
11199 * lyxfunc.C (dispatch): Comment out the call to
11200 grfx::GCache::changeDisplay. The method no longer exists now that the
11201 pixmap generation part of the graphics loader has been moved into
11204 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11206 * text2.C: layout as layout
11208 * text.C: layout as layout
11210 * tabular.C (OldFormatRead): layout as layout
11212 * paragraph_pimpl.C (TeXDeeper): layout as layout
11213 (realizeFont): layout as layout
11215 * paragraph.C (writeFile): layout as layout
11216 (validate): layout as layout
11217 (getFont): layout as layout
11218 (getLabelFont): layout as layout
11219 (getLayoutFont): layout as layout
11220 (breakParagraph): layout as layout
11221 (stripLeadingSpaces): layout as layout
11222 (getEndLabel): layout as layout
11223 (getMaxDepthAfter): layout as layout
11224 (applyLayout): layout as layout
11225 (TeXOnePar): layout as layout
11226 (simpleTeXOnePar): layout as layout
11227 (TeXEnvironment): layout as layout
11228 (layout): layout as layout
11229 (layout): layout as layout
11231 * lyxtextclass.C (compare_name): new functor to work with
11232 shared_ptr, layout as layout
11233 (Read): layout as layout
11234 (hasLayout): layout as layout
11235 (operator): layout as layout
11236 (delete_layout): layout as layout
11237 (defaultLayout): layout as layout
11239 * lyxlayout_ptr_fwd.h: new file
11241 * lyxlayout.C (Read): layout as layout
11243 * lyx_cb.C (MenuInsertLabel): layout as layout
11245 * bufferlist.C (newFile): layout as layout
11247 * buffer.C (readLyXformat2): layout as layout
11248 (parseSingleLyXformat2Token): layout as layout
11249 (insertStringAsLines): layout as layout
11250 (asciiParagraph): layout as layout
11251 (latexParagraphs): layout as layout
11252 (makeLinuxDocFile): layout as layout
11253 (simpleLinuxDocOnePar): layout as layout
11254 (makeDocBookFile): layout as layout
11255 (simpleDocBookOnePar): layout as layout
11256 (getLists): layout as layout
11258 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11260 * CutAndPaste.C (cutSelection): layout as layout
11261 (pasteSelection): layout as layout
11262 (SwitchLayoutsBetweenClasses): layout as layout
11264 * BufferView_pimpl.C (Dispatch): layout as layout
11265 (smartQuote): layout as layout
11267 * BufferView2.C (unlockInset): layout as layout
11269 2002-06-24 André Pönitz <poenitz@gmx.net>
11271 * lyxfunc.C: fix #487
11273 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11277 * lyxfunc.C: remove display_shortcuts, show_banner
11279 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11281 * Buffer_pimpl.C: oops, update on resize
11283 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11290 * BufferView.C: use repaint()
11292 * BufferView_pimpl.h:
11293 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11294 as it's a clearer description. Remove superfluous
11297 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11299 * text.C: fix bug 488. Not ideal, but getting
11300 getWord() to work properly for the insets that
11301 matter is more difficult ...
11303 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11305 * BufferView_pimpl.C:
11308 * lyxfunc.C: remove the six million index lyxfuncs to just
11309 one, and DTRT (bug 458)
11311 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11315 * BufferView_pimpl.h:
11316 * BufferView_pimpl.C: clean up resize() stuff,
11317 and unnecessary updateScreen()s
11319 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11323 * BufferView_pimpl.h:
11324 * BufferView_pimpl.C:
11327 * minibuffer.C: remove focus management of workarea,
11328 not needed. Use screen's greyOut()
11330 2002-06-17 Herbert Voss <voss@lyx.org>
11332 * converter.C: (convert) do not post a message, when converting
11333 fails, let the calling function decide what to do in this case
11335 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11337 * lyxfunc.C: tidy up a little
11339 2002-06-16 <alstrup@diku.dk>
11341 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11342 Got rid of FORMS_H_LOCATION include. Now we are
11345 2002-06-15 LyX Development team <lyx@rilke>
11347 * buffer.[Ch] (sgmlOpenTag):
11348 (sgmlCloseTag): Added support for avoiding pernicious mixed
11349 content. Return number of lines written.
11351 (makeLinuxDocFile):
11352 (makeDocBookFile): Fixed calls to sgml*Tag.
11353 Simple white space clean.
11355 (simpleDocBookOnePar): Simple white space clean.
11357 * tabular.[Ch] (docBook): Renamed to docbook and got another
11358 argument to related with the pernicious mixed content.
11360 (docbookRow): Fixed calls for docbook inset method.
11362 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11364 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11365 so it's X11 independent.
11369 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11371 2002-06-15 Lyx Development team <lyx@electronia>
11373 * intl.h: Renamed getTrans to getTransManager.
11375 2002-06-14 Angus Leeming <leeming@lyx.org>
11377 * Makefile.am: nuke forgotten stl_string_fwd.h.
11379 2002-06-12 Angus Leeming <leeming@lyx.org>
11381 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11383 2002-06-13 Angus Leeming <leeming@lyx.org>
11386 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11388 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11390 * kbmap.C (getiso): add support for cyrillic and greek
11392 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11396 * BufferView_pimpl.h:
11397 * BufferView_pimpl.C: move bogus scrolling logic
11400 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11403 * BufferView_pimpl.C: view->resize() change
11405 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11407 * BufferView_pimpl.C: topCursorVisible
11410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11414 * lyx_gui.C: move to frontends/
11418 * lyx_main.C: changes from above
11420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11427 * lyx_main.C: minor tidy
11429 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11431 * BufferView_pimpl.h:
11432 * BufferView_pimpl.C:
11434 * BufferView.C: make painter() const,
11437 * BufferView2.C: use screen() accessor
11440 * lyx_main.C: some minor cleanup
11442 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11444 * BufferView_pimpl.h:
11445 * BufferView_pimpl.C: remove enter/leaveView,
11448 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11453 * BufferView_pimpl.h:
11454 * BufferView_pimpl.C: only construct screen once,
11457 * lyxrc.C: remove pointless comment
11459 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11462 * BufferView.C: remove active() and belowMouse()
11464 * BufferView_pimpl.h:
11465 * BufferView_pimpl.C: use workarea() not workarea_,
11466 and make it use a scoped_ptr instead
11468 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11470 * lyx_gui.C: add debug message on BadWindow
11472 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11474 * sp_spell.C: fdopen is not part of the C++ standard.
11476 * paragraph.C (InsetIterator): use >= instead of ==
11478 2002-06-07 Angus Leeming <leeming@lyx.org>
11480 Fixes needed to compile with Compaq cxx 6.5.
11481 * BufferView_pimpl.C:
11488 * lyxtextclasslist.C:
11493 all c-library variables have been moved into namespace std. Wrap
11494 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11499 Add a using std::abs declaration.
11501 * kbmap.h (modifier_pair):
11502 * paragraph.h (InsetTable, InsetList):
11503 * lyxfont.h (FontBits):
11504 type definition made public.
11506 * bufferlist.C (emergencyWriteAll): the compiler complains that
11507 there is more than one possible lyx::class_fun template to choose from.
11508 I re-named the void specialisation as lyx::void_class_fun.
11510 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11512 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11513 the compiler is is unable to find tostr in write_attribute.
11515 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11517 * buffer.C (sgmlError): hide #warning
11519 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11521 * xtl/*: get rid of xtl, which is not in use anyway
11523 * LyXAction.C (init):
11524 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11525 were unimplemented xtl experimentation
11527 2002-06-04 André Pönitz <poenitz@gmx.net>
11529 * lyxfunc.C: disable array operation on simple formulae
11531 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11533 * converter.C: constify a bit
11535 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11537 * lyx_gui.C: check xforms version correctly
11539 2002-04-30 Herbert Voss <voss@lyx.org>
11541 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11544 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11546 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11547 attempt to register it with a VCS)
11549 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * lyx_main.C (init): honor variables LYX_DIR_13x and
11554 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11558 * lyx_main.C: fix a crash on bad command line,
11559 and give a useful exit status on error
11561 * lyxfunc.C (doImport): allow -i lyx to work
11563 2002-03-30 André Pönitz <poenitz@gmx.net>
11565 * lyxfunc.C: mathed font changes
11567 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11582 * trans_mgr.h: srcdocs, and some minor cleanups
11584 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11586 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11587 call getFont all the time)
11589 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11591 * switch from SigC signals to boost::signals
11593 2002-05-29 André Pönitz <poenitz@gmx.net>
11595 * paragraph_pimpl.C (getChar): don't call size() too often...
11597 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * paragraph_pimpl.C (insertChar): do not try to update tables when
11600 appending (pos == size())
11602 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11603 in order to reduce drastically the number of comparisons needed to
11604 parse a large document
11606 2002-05-29 André Pönitz <poenitz@gmx.net>
11612 * textclasslist.[Ch]:
11613 * sp_ispell.h: whitespace change
11615 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11617 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11618 lyxaction directly now.
11620 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11624 * lyxvc.C: remove unused headers
11626 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11633 * undo_funcs.C: some cleanups. Use shared_ptr
11634 and a template for the undo stacks.
11636 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11638 * BufferView_pimpl.h:
11639 * BufferView_pimpl.C:
11646 * text2.C: use key_state/mouse_state
11648 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11650 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11653 * chset.C: change include order
11654 (loadFile): use boost regex and get rid of LRegex and LSubstring
11656 * Makefile.am (BOOST_LIBS): new variable
11657 (lyx_LDADD): use it
11659 * LaTeX.C: change include order.
11660 (scanAuxFile): use boost regex and get rid of LRegex and
11664 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11669 * FontInfo.C: moved to frontends/xforms/
11672 * FontLoader.C: moved into frontends for GUIIzation
11677 * lyxfunc.C: changes from above
11679 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11681 * LColor.C: remove spurious X include
11683 * BufferView_pimpl.C:
11688 * text2.C: move font metrics to frontends/
11690 2002-05-24 Juergen Vigna <jug@sad.it>
11692 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11693 setting the undo_cursor.
11695 * ParagraphParameters.h: include local includes first.
11697 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11699 * BufferView_pimpl.C:
11700 * BufferView_pimpl.h:
11704 * screen.C: move WorkArea into frontends/
11710 * BufferView2.C: move LyXScreen into frontends/
11714 * lyx_gui.C: move lyxlookup into frontends/xforms/
11716 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11719 * BufferView_pimpl.C:
11729 * bufferview_funcs.C:
11742 * vc-backend.C: move LyX/XFormsView into frontends/
11744 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11756 * text2.C: move Painter to frontends/
11758 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * buffer.C: comment out some some code that depend upon lyx_format
11763 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11764 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11766 * buffer.h (NO_COMPABILITY): turn off compability
11768 * ColorHandler.C: include scoped_array.hpp
11770 * font.C: Use more specific smart_ptr header.
11773 * ShareContainer.h: ditto
11774 * lyx_main.h: ditto
11776 * FontInfo.h: ditto
11777 * BufferView_pimpl.h: ditto
11778 * ColorHandler.h: ditto
11780 * kbmap.C (defkey): change call to shared_ptr::reset
11782 2002-05-21 Juergen Vigna <jug@sad.it>
11784 * buffer.C (insertErtContents): fix to insert ert asis if it is
11785 non empty. Skip it completely if it contains only whitespaces.
11787 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11789 * BufferView_pimpl.C:
11790 * BufferView2.C: clear selection on paste (bug 393)
11792 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11794 * DepTable.C: include ctime
11796 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11798 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11800 2002-05-14 Juergen Vigna <jug@sad.it>
11802 * text.C (breakParagraph): fixed function to honor the keepempty
11803 layout in the right maner and also to permit the right breaking
11804 algorithm on empty or non empyt keepempty paragraphs.
11806 * paragraph.C (breakParagraph): we have to check also if the par
11807 is really empty (!size()) for isempty otherwise we do the wrong
11810 2002-05-10 Juergen Vigna <jug@sad.it>
11812 * buffer.[Ch] : The following are only changes to the ert
11813 compatibility read reading old LaTeX layout and font stuff and
11814 convert it to ERTInsets.
11816 * buffer.h: added isErtInset().
11818 * buffer.C (struct ErtComp): add a fromlayout bool to check
11819 if we're inside a LaTeX layout.
11820 (isErtInset): new helper function.
11821 (insertErtContents): look for other ert insets before this one
11822 and insert the contents there, so that we don't have subsequent
11823 ERT insets with nothing between them. This way we create only one
11824 inset with multiple paragraphs. Also check if we don't insert only
11825 spaces ' ' as they are ignored anyway afterwards in the .tex file
11826 so if we have only spaces we will ignore this latex part in the
11828 (parseSingleLyXformat2Token \\layout): better compatibility when
11829 reading layout-latex stuff.
11830 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11832 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11833 stuff after reading the inset only get the information back from
11836 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11838 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11840 * LaTeXFeatures.C (getBabelOptions): New method.
11842 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * BufferView_pimpl.C (Dispatch): work around missing argument for
11847 2002-05-08 Juergen Vigna <jug@sad.it>
11849 * text.C (leftMargin): handle paragraph leftindent.
11851 * paragraph.C (writeFile): write the new \\leftindent tag.
11852 (validate): handle leftindent code.
11853 (TeXEnvironment): handle paragraphleftindent code again.
11855 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11857 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11858 for paragrap_extra indent code and new token \\leftindent.
11859 (latexParagraphs): handle the leftindent as environment.
11861 * ParameterStruct.h: added leftindent support.
11863 * ParagraphParameters.C (leftIndent): added support functions for
11864 the paragraph left indent.
11866 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11869 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11871 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11874 * text.C (computeBidiTables): No bidi in insetERT.
11876 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11879 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * version.C.in: pre 5
11883 2002-05-02 José Matos <jamatos@fep.up.pt>
11884 * buffer.C (makeDocBookFile): white space changes, add newline to
11886 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11888 * tabular.C (docBook): fix typo.
11890 2002-05-03 Juergen Vigna <jug@sad.it>
11892 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11893 change in LyXText as we can not be sure it was not freed.
11894 (drawOneRow): remove unused code.
11896 * text.C (drawInset): redo the calculation of the need_break_row as
11897 it could have a row which was already freed.
11898 (draw): look at the return value of drawInset and return false if
11899 it also returned false.
11900 (paintRowText): look at the return value of draw and return false if
11901 it also returned false.
11903 * lyxtext.h: added bool return type to drawInset() and draw() so that
11904 if we have a change in the row so that the rowbreak has to be redone
11905 we abort drawing as it will be called again.
11907 2002-05-02 Juergen Vigna <jug@sad.it>
11909 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11910 a change in the maintext also if we're inside an inset.
11911 (Dispatch): set the cursor again after a break line and after the
11912 screen has been updated as it could be we're in a different row.
11914 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11915 to set the cursor behind the pargraph with > size().
11916 (setCursor): check also for the same paragraph when checking where
11917 to put the cursor if we have a NFR inset.
11919 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11920 parts of layout read further up as it still was in the wrong
11923 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11925 * screen.C (drawFromTo): change sine fullRebreak always return
11928 * buffer.C (parseSingleLyXformat2Token): reindent some
11930 * BufferView_pimpl.C (update): change since fullRebreak always
11932 (Dispatch): git rid of the last hardcoded "Standard"s.
11934 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * text2.[Ch] (fullRebreak): make it return void now that we always
11939 2002-04-30 Juergen Vigna <jug@sad.it>
11941 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11942 ert compatibility check for "latex" layout.
11944 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11946 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11947 minipages: use col% instead of p%, and also use the current font.
11948 (makeLaTeXFile): Fix use babel condition.
11949 (parseSingleLyXformat2Token): Correct font when reading old floats.
11951 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11953 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11954 inserting list of floats.
11956 2002-04-25 Herbert Voss <voss@lyx.org>
11958 * MenuBackend.C (expand): don't add the graphics extensions to the
11961 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11963 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11964 non-existing layout, do not complain if it was the default layout
11965 of the original class (bug #342)
11967 2002-04-24 Juergen Vigna <jug@sad.it>
11969 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11970 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11972 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11974 * buffer.C (getBibkeyList): If using \bibliography, return the
11975 option field with the reference itself. Enables us to provide natbib
11976 support when using \bibliography.
11978 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11980 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11982 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11983 natbib is provided by the LaTeX class.
11985 2002-04-23 Juergen Vigna <jug@sad.it>
11987 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11990 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11992 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11996 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11997 ensuremath around textordmasculine, textordfeminine and
12000 2002-04-19 Juergen Vigna <jug@sad.it>
12002 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12003 reinitializing the buffer otherwise row-dimensions may be wrong.
12004 (update): reset also the selection cursors if they do exits otherwise
12005 their x/y positions may be wrong.
12007 * text2.C (cursorDown): don't enter the inset if we came from a row
12008 above and are one row over the inset.
12010 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12011 really leaving an inset.
12013 2002-04-18 Juergen Vigna <jug@sad.it>
12015 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12016 of the selected paragraph does not have the selected layout also if
12019 * text2.C (setLayout): fixed bug which did not change last selected
12022 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12023 changed the read and substituted \\end_float with \\end_inset!
12025 * BufferView_pimpl.C (cursorPrevious):
12026 (cursorNext): fixed to make it work with rows heigher than the work
12027 area without moving the cursor only the draw of the row.
12028 (workAreaMotionNotify): fix jumping over high rows.
12030 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12032 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12035 2002-04-16 Juergen Vigna <jug@sad.it>
12037 * text2.C (setCursor): set also the irow().
12038 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12040 (cursorDown): support for locking an inset if the x_fix value goes
12041 inside it. That way I can transverse insets too with cursor up/down.
12043 * lyxrow.h: added irow helper function same as other (i) functions.
12045 * BufferView_pimpl.C (cursorPrevious):
12046 (cursorNext): fixed for insets!
12048 2002-04-15 Juergen Vigna <jug@sad.it>
12050 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12051 position otherwise it is wrong in some cases.
12053 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12054 inside the inset before the call.
12056 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12058 * buffer.[Ch] (getBibkeyList): make it const.
12060 2002-04-12 Juergen Vigna <jug@sad.it>
12062 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12064 * text2.C (getCursorX): new helper function
12065 (setCursor): compute also ix_
12066 (setCursorFromCoordinates): set also ix.
12068 * lyxcursor.h: added ix_ and helper functions.
12070 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12072 * buffer.C (insertStringAsLines): dont break paragraph if the this
12073 paragraph is inside an inset which does not permit it!
12075 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12076 also with no chars on this paragraph.
12077 (paintRowText): only paint stuff if it's inside the workarea!
12079 * paragraph.C (breakParagraph): honor keepempty flag and break the
12080 paragraph always below not above.
12082 * BufferView2.C (unlockInset): update the paragraph layout on inset
12083 unlock as we changed paragraph in such a case.
12085 * lyxfind.C (LyXFind): clear the former selection if not found!
12087 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12088 again called in insertChar().
12090 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12091 an inset which uses the whole row!
12092 (rightMargin): ditto.
12093 (insertChar): force a rebreak if we inserted an inset!
12095 2002-03-28 Herbert Voss <voss@lyx.org>
12097 * lyxlength.[Ch]: add inBP() to get the right PS-point
12098 units (BigPoint). With inPixels we have rounding errors
12100 2002-04-11 Juergen Vigna <jug@sad.it>
12102 * text2.C (setCursorFromCoordinates): set iy to the right value.
12103 (setCursor): add check if row->previous exists!
12105 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12106 an old float_type as this was the case in the old code!
12108 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12110 * BufferView2.C (showLockedInsetCursor): use iy
12111 (fitLockedInsetCursor): ditto
12113 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12114 locked insets as there we have the right value now.
12116 * lyxcursor.C: added iy_ variable and iy functions to set to the
12117 baseline of cursor-y of the locked inset.
12119 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12120 (setCursor): fixed for insets which need a full row.
12122 * text.C (rowLastPrintable): don't ignore the last space when before
12123 an inset which needs a full row.
12124 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12125 as last character of a row when before a inset which needs a full row.
12127 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12129 * version.C.in: update date
12131 * text2.C (fullRebreak): try to always return true and see what
12134 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * MenuBackend.C (expand): use Floating::listName
12138 * FloatList.C (FloatList): add listName argument to the built-in
12141 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12142 text associated with the float.
12144 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12148 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * ShareContainer.h: add a couple of missing typenames.
12152 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12154 * lyxrc.C (getDescription): use _() correctly rather than N_().
12156 2002-03-28 Herbert Voss <voss@lyx.org>
12158 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12159 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12161 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12163 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12164 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12166 2002-03-29 Juergen Vigna <jug@sad.it>
12168 * lyxfunc.C (dispatch): add a missing fitCursor call.
12170 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12171 it was scrolled by a cursor move, so return the bool status.
12173 * BufferView.C (fitCursor): return the bool flag also to the outside
12174 world as this is needed.
12176 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12178 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12179 call the edit() as it is not needed (and wrong) IMO.
12180 (workAreaButtonPress): set the screen_first variable before evt.
12181 unlock the inset as this may change screen_first and then we have
12182 a wrong y position for the click!
12184 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * MenuBackend.C (expand): another translation that I missed
12188 2002-03-28 Juergen Vigna <jug@sad.it>
12190 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12192 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12194 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12196 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12198 * MenuBackend.C (expand): fix export/view/update when there is no
12201 2002-03-27 Herbert Voss <voss@lyx.org>
12203 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12206 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12208 * bufferview_funcs.C (currentState): only show paragraph number
12209 for is DEVEL_VERSION is set.
12211 * lyxfunc.C (dispatch): put warning in INFO channel
12213 * MenuBackend.C (expand): translate the name of floats
12215 * FloatList.C (FloatList): mark the float names for translation
12217 * converter.C (convert): use LibScriptSearch
12219 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12221 * MenuBackend.C (defaults): fix default menu (we might as well get
12224 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12229 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12231 * lyxvc.C: reorder includes.
12233 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12235 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12238 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12240 * CutAndPaste.C: change layouts earlier on paste
12241 to avoid crashing when calling getFont()
12243 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12245 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12248 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * WorkArea.C: remove 'Pending' debug message.
12252 * most files: ws cleanup
12254 * buffer.[Ch]: ws changes
12256 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12258 2002-03-21 Juergen Vigna <jug@sad.it>
12260 * tabular.C (SetMultiColumn): collapse also the contents of the
12261 cells and set the last border right. Added a Buffer const * param.
12263 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12268 2002-03-19 Juergen Vigna <jug@sad.it>
12270 * text2.C (clearSelection): reset also xsel_cache.
12272 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12273 where it needs to be called (John tells us to do so too :)
12274 (selectionLost): reset sel_cache.
12276 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12278 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12280 * text2.C (setCursorIntern): put debuging code in INSETS channel
12282 2002-03-19 André Pönitz <poenitz@gmx.net>
12284 * lyxfunc.C: tiny whitespace change
12286 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12288 * ToolbarDefaults.C (init):
12289 * LyXAction.C (init):
12291 * BufferView_pimpl.C (Dispatch):
12292 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12294 2002-03-19 Allan Rae <rae@lyx.org>
12296 * exporter.C (Export): removeAutoInsets before doing anything else.
12297 While I've just introduced a dependency on BufferView this really is
12298 the best place to clean the buffer otherwise you need to cleanup in
12299 a dozen places before calling export or cleanup in a dozen functions
12302 * converter.C (runLaTeX):
12303 (scanLog): Better handling of removeAutoInsets and screen updates.
12305 * lyxfunc.C (dispatch): small whitespace changes
12307 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * WorkArea.C (C_WorkAreaEvent): return a value.
12310 (event_cb): return 1 if we handled the event, 0 otherwise.
12312 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12314 2002-03-18 Juergen Vigna <jug@sad.it>
12316 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12317 (GetAdditionalWidth): ditto.
12318 (RightLine): ditto.
12321 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12322 inset if we're there actually (probably not used right now but this
12323 is the direction to go for unifying code).
12324 (paste): disable code to clear the selection.
12326 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12327 inside an InsetText and move the check further up as it is in the
12330 * text2.C (pasteSelection): set a selection over the pasted text.
12332 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12334 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12335 and libgraphics to build on Cygwin.
12337 2002-03-15 Juergen Vigna <jug@sad.it>
12339 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12340 inserting an Inset into the paragraph. I know this is not the best
12341 fix but we already use current_view in CutAndPaste so we will remove
12342 all of it's using at the same time.
12344 * buffer.C (sgmlError): deactivated function till it is rewritten in
12345 the right mode, now it can create problems.
12347 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12348 before accessing it.
12350 2002-03-14 Juergen Vigna <jug@sad.it>
12352 * undo_funcs.C (textHandleUndo): do the right thing when updating
12353 the inset after the undo/redo.
12355 * text2.C (setCursor): just some testcode for #44 not ready yet.
12357 * undo_funcs.C (textHandleUndo): set the next() and previous()
12358 pointers of the paragraph to 0 before deleting otherwise we have
12359 problems with the Paragraph::[destructor].
12361 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12362 on a paragraph insertion.
12364 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12366 * buffer.C (asciiParagraph): use += operator for char append to
12369 * paragraph.C (getFontSettings): compare >= not just >
12370 (highestFontInRange): ditto
12373 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * paragraph.C: change several algorithm to be more appripriate for
12376 the problem domain. This is lookip in FontList and in the InsetList.
12378 2002-03-13 André Pönitz <poenitz@gmx.net>
12381 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12383 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12388 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12390 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * Painter.C (display): anon helper function, adjust code for this
12394 (pixmap): remove function.
12396 * Painter.h: remove private display variable.
12398 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12400 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12402 * WorkArea.[Ch]: remove figinset_canvas cruft.
12404 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12406 * lyxtextclass.C (operator): add one item cache optimization.
12408 * bufferlist.h: doxy changes
12410 * bufferlist.C: ws changes
12412 * DepTable.[Ch] (ext_exist): place const in the right spot.
12414 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12416 (workAreaExpose): call resizeInsets when the with BufferView changes.
12417 (Dispatch): adjust for protectedBlank removal
12418 (specialChar): call updateInset if the insert went ok.
12420 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12421 specialChar instead.
12423 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12425 * BufferView.h: doxy change
12427 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12429 * lyxtextclass.C (operator[]): remove non-const version
12430 (defaultLayout): remove non-const version
12432 2002-03-12 Juergen Vigna <jug@sad.it>
12434 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12435 did resize the LyXText too.
12437 * buffer.C (readLyXformat2): set layout information on newly allocated
12440 * tabular.C (OldFormatRead): set layout information on the paragraph.
12442 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12444 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12446 2002-03-11 Juergen Vigna <jug@sad.it>
12448 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12450 (resizeCurrentBuffer): force also the insets to resize themselfes.
12451 (moveCursorUpdate): fixed up for InsetText.
12453 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12456 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12457 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12458 value of Dialogs::tooltipsEnabled().
12459 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12461 2002-03-08 Juergen Vigna <jug@sad.it>
12463 * BufferView_pimpl.C (updateInset): update inset inside inset also
12464 if it isn't inside theLockingInset().
12466 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * buffer.C (asciiParagraph): redo some of the word and line length
12470 (getLists): look for Caption instead of caption.
12472 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * buffer.C (Buffer): initialize niceFile to true
12476 (makeLinuxDocFile):
12477 (makeDocBookFile): make sure niceFile is true on exit
12479 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12481 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12483 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12485 * LyXSendto.C: remove.
12486 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12487 * lyx_gui.C: remove now-redundant comment.
12488 * ColorHandler.h: remove forward declaration of class WorkArea.
12489 * lyxfunc.C: remove #include "WorkArea.h".
12491 2002-03-07 Juergen Vigna <jug@sad.it>
12493 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12494 got moved away with the DEPM and also set the inset_owner always
12495 right which before could have been omitted.
12497 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12499 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12500 wanted layout is not found.
12502 2002-03-07 Juergen Vigna <jug@sad.it>
12504 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12506 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * paragraph.C (breakParagraph): use default layout not layout of
12510 (Paragraph): clear ParagraphParameters.
12512 2002-03-06 Juergen Vigna <jug@sad.it>
12514 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12515 otherwise it would not be a valid lenght. Fixed a special case in
12516 the minipage compatibility read where we end the document with a
12519 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12520 was set as it could be 0 for InsetTexts first entry.
12522 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12524 * paragraph.C (writeFile): if layout is empty write out
12525 defaultLayoutName().
12527 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12528 file without named layout we set layout to defaultLayoutName().
12530 2002-03-06 Juergen Vigna <jug@sad.it>
12532 * CutAndPaste.C (copySelection): set layout for new paragraph.
12534 * text.C (prepareToPrint): leave ERT inset left aligned
12535 (leftMargin): don't indent paragraphs inside ERT insets
12537 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * paragraph.C (breakParagraph): dont call clear do the work manually
12541 * paragraph.[Ch] (clear): remove function
12543 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12545 * paragraph.C (Paragraph): dont call clear, the work has already
12548 * lyxtextclass.C (operator): assert if n is empty
12550 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12551 work manually instead.
12553 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12555 * BufferView_pimpl.C: protect selectionLost against text == 0
12557 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12559 * text.C (breakParagraph): fix a setting layout to '0' problem.
12561 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12563 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12564 final location of file, for the included files, and graphics.
12566 2002-03-05 Juergen Vigna <jug@sad.it>
12568 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12570 2002-03-04 Juergen Vigna <jug@sad.it>
12572 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12574 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12575 last column of multicolumn cells.
12576 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12578 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12580 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12581 file if it doesn't go to a temporary file.
12583 * buffer.C (sgmlOpenTag):
12584 (sgmlCloseTag): remove extra newline insertion.
12586 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12588 * text.C (getRowNearY): comment out debug msg
12590 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12592 * text2.C: first -> first_y
12594 * text.C (getRowNearY): add some attemts at a possible
12595 optimization, not working.
12597 * tabular.[Ch]: add BufferParams to several function so that newly
12598 created paragraph can be initialized to he default layotu for the
12601 * tabular-old.C (ReadOld): add buf->params to call of Init
12603 * screen.C: rename text->first to text->first_y
12605 * paragraph.C (breakParagraph): always set layout in the broken
12608 * lyxtextclass.C (Read): remove lowercase
12611 (delete_layout): ditto
12613 * lyxtext.h: rename first -> first_y
12615 * lyxlayout.C (Read): remove lowercase
12618 (obsoleted_by): ditto
12620 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12622 * buffer.C (insertErtContents): add params are to InsetERT
12623 (parseSingleLyXformat2Token): add code to check if a paragraphs
12624 layout really exist.
12625 (parseSingleLyXformat2Token): add params to several inset
12627 (asciiParagraph): remove lowercase, do the layout comparisons with
12630 * BufferView_pimpl.C (cursorNext): first -> first_y
12631 (resizeCurrentBuffer): first -> first_y
12632 (updateScrollbar): first -> first_y
12633 (scrollCB): first -> first_y
12634 (workAreaMotionNotify): first -> first_y
12635 (workAreaButtonPress): first -> first_y
12636 (checkInsetHit): first -> first_y
12637 (cursorPrevious): first -> first_y
12638 (cursorNext): first -> first_y
12639 (Dispatch): add buffer_->params to severl inset contructors
12641 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * lyxlayout.C (Read): remove some debug info that I forgot.
12645 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12646 clean up the code slightly.
12647 (makeLinuxDocFile): ditto
12648 (makeDocBookFile): ditto
12650 * text2.C: layout as string
12652 * text.C: layout as string
12654 * paragraph_pimpl.C: layout as string
12656 * paragraph.[Ch]: layout as string
12658 * lyxtextclasslist.[Ch]: layout as string
12660 * lyxtextclass.[Ch]: layout as string
12662 * lyxtext.h: layout as string
12664 * lyxlayout.[Ch]: layout as string
12666 * lyx_cb.C: layout as string
12668 * bufferview_funcs.C: layout as string
12670 * bufferparams.C: layout as string
12672 * buffer.C: layout as string
12674 * LyXView.[Ch]: layout as string
12676 * LaTeXFeatures.[Ch]: layout as string
12678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12680 * BufferView_pimpl.C: change current_layout to string, remove
12685 (workAreaButtonRelease): layout as string
12687 * BufferView2.C (unlockInset): adjust
12689 * vspace.C (asLatexCommand): use an explict temp variable.
12691 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12693 * Makefile.am: use FRONTEND_*
12695 2002-03-01 Juergen Vigna <jug@sad.it>
12697 * tabular.C (SetWidthOfMulticolCell): changed to something better
12698 I hope but still work in progress.
12699 (recalculateMulticolumnsOfColumn): renamed function from
12700 recalculateMulticolCells as it is more appropriate now.
12701 (SetWidthOfCell): calculate multicols better.
12703 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12705 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12707 * lyxfunc.C (processKeySym): print sequence also if it is
12708 `deleted' (complete)
12710 * kbsequence.C (print): print sequence even if it is deleted
12711 (complete would be a better word, actually).
12713 * lyxfunc.C (dispatch): print complete options after a prefix key
12715 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12717 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12719 * text2.C (setCharFont): eliminate setCharFont code duplication.
12721 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12724 LFUN_TABULAR_FEATURE (bug #177)
12726 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12728 * Makefile.am: remove figure.h
12730 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12732 * Bufferview_pimpl.C:
12744 * text2.C: remove #include "lyx_gui_misc.h".
12746 * LaTeX.C: added #include <cstdio>
12748 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12751 that the paragraph following this one can have.
12753 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12755 * vspace.C (asLatexCommand): fix bogus gcc warning
12757 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12759 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12761 * text2.C (setLayout): get rid of redundant code
12763 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12765 * text2.C (incDepth): make sure depth cannot be increased beyond
12768 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12770 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12771 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12773 * PainterBase.h (image):
12774 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12775 a LyXImage const *.
12777 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12781 * BufferView_pimpl.C:
12782 * BufferView_pimpl.h:
12802 * sp_spell.C: remove fig inset, and the crap house of
12803 cards that follows it
12805 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12810 * os2_errortable.h:
12811 * nt_defines.h: move .h into support/
12813 * vms_defines.h: remove
12815 * WorkArea.C: add space in debug output
12819 * buffer.C: add WITH_WARNINGS
12823 * bufferlist.C: s/retrive/retrieve/, add docs
12832 * chset.C: add docs
12834 * lyxgui.C: add ID to X error handler
12836 * lyxtestclass.c: fix typo
12838 2002-02-26 Juergen Vigna <jug@sad.it>
12840 * tabular_funcs.C (write_attribute): changed so that some default
12841 attributes are not written at all.
12842 (getTokenValue): set default values before trying to read the
12843 value so we have the return value always set as default if we don't
12844 find the token we search for.
12846 * tabular.C (Write): write bools as bools not as strings!
12848 2002-02-22 Juergen Vigna <jug@sad.it>
12850 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12851 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12853 * text.C (leftMargin): don't add an indent for paragraphs inside
12854 tabular cells (fix #208).
12856 2002-02-21 José Matos <jamatos@fep.up.pt>
12858 * tabular.C (docBook): fixed support for long tables.
12860 2002-02-20 Juergen Vigna <jug@sad.it>
12862 * text2.C (getFont): get the drawing font of the Inset if this
12863 paragraph is inside an inset (only important for InsetERT for now).
12865 * buffer.C (insertErtContents): use new lanugage params in ERT
12868 * CutAndPaste.C: commenting out seemingly uneeded code.
12870 2002-02-19 Allan Rae <rae@lyx.org>
12872 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12873 Iterators might be simple to use but they also get invalidated.
12874 (removeAutoInsets): renamed saved cursor tracking variables and added
12875 some comments to clarify what everything does.
12877 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12884 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12885 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12888 * vc-backend.h: remove #include "support/syscall.h"
12892 * converter.C: rearrange #includes in Lars' approved fashion.
12894 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12895 forward declare class Timeout in the header file.
12897 * XFormsView.C: changes due to the above.
12899 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12900 similar to LyXView.
12902 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12903 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12905 2002-02-18 José Matos <jamatos@fep.up.pt>
12907 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12910 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12912 * a lot of small ws changes
12913 * add a lot of using std::XXX
12914 * use std construcs some places where approp.
12915 * use some exisint stuff from lyxfunctional where approp.
12916 * Make file changes to use partial linking (lets test this now...)
12918 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12922 remove #include "support/syscontr.h" as it's redundant. Always has been.
12930 change Systemcalls::System to Systemcalls::Wait and
12931 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12932 No change of functionality, just reflects the stripped down Systemcalls
12935 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12937 * debug.[Ch]: add a GRAPHICS type to the enum.
12939 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12941 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12943 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12946 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12948 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12949 match the changes below.
12951 * text2.C (toggleInset): if there is not editable inset at cursor
12952 position, try to see if cursor is _inside_ a collapsable inset
12955 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12957 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12958 document menu has a nice checkbox
12960 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12962 * lyxlength.C (asLatexString): change PW to output as percent of
12965 * lengthcommon.C: change '%' to 't%'
12967 * lyxfunc.C (dispatch): a few comments from Martin
12969 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12973 * BufferView_pimpl.h:
12974 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12977 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12979 * vspace.C (inPixels): fix compiler warning
12981 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12983 * lyxfunc.C (getStatus): fix status message for disabled commands.
12985 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12987 * BufferView_pimpl.C: fix crash on close buffer
12988 during selection (#227)
12990 2002-01-27 Herbert Voss <voss@lyx.org>
12992 * buffer.C: link old Figure to new graphic inset
12994 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12996 * FontLoader.C (getFontinfo): Change the latex font names in order
12997 to match the names of type1inst.
12999 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13001 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13003 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13004 (extchanged): ditto
13006 (remove_files_with_extension): ditto
13007 (remove_file): ditto
13010 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13011 document is smaller than the work area height. Do not initialize
13012 static variables to 0.
13014 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13016 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13018 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13019 LFUN_LAYOUT_PARAGRAPHS.
13021 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13022 tabular. It is possible to provide a possible cell, which will
13023 typically be the actcell from the corresponding insettabular
13025 * lyxfunc.C (getStatus): small cleanup; disable
13026 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13029 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13031 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13033 * paragraph.C (startTeXParParams):
13034 (endTeXParParams): new methods. The LaTeX code to
13035 start/end paragraph formatting
13036 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13037 empty (fixes bug #200)
13039 * vspace.C (inPixels): adapt to the change below
13040 (inPixels): [later] more cleanups (remove unused variables)
13042 * lyxlength.C (inPixels): change to use a width and a height as
13045 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13047 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13048 Replaced with \paperwidth
13050 * DepTable.C (insert): add std:: qualifier
13052 2002-01-18 Allan Rae <rae@lyx.org>
13054 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13057 * text.C (drawInset): Turned out I didn't know enough about how
13058 rebreaking worked. This fixes most of the redraw problems. I see
13059 an occasional cursor trail when a line is broken now and the cursor
13060 placement can seem out by a few pixels also after a rebreak.
13062 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13064 * buffer.C (parseSingleLyXformat2Token): update because minipage
13065 width is now a LyXLength
13067 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13069 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13072 2002-01-17 Juergen Vigna <jug@sad.it>
13074 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13076 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13077 is set correctly and the inset is updated correctly.
13079 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13081 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13082 the beginning of the loop.
13084 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13086 * lyxrc.C: improve help for use_scalable_fonts
13088 2002-01-17 Allan Rae <rae@lyx.org>
13090 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13092 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13094 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13095 make sure to set their inset_owner to the right value (bug #171)
13097 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13100 * DepTable.C: Implement mtime checking to reduce time spent doing
13103 2002-01-16 Juergen Vigna <jug@sad.it>
13105 * tabular.C (GetAdditionalHeight): one of error fixed.
13107 * lyxrc.C (output): small fix in writing use_pspell.
13109 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13111 * sp_base.h: #include LString.h
13113 2002-01-16 Allan Rae <rae@lyx.org>
13115 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13116 Can someone check this please?
13118 * text.C (drawInset): It was possible that p.row would be removed by
13119 breakAgainOneRow upsetting a few other settings. There may be another
13120 small tweak possible by setting need_break_row = 0 when p.row has been
13121 removed but I don't know enough about the logic here.
13123 2002-01-15 Allan Rae <rae@lyx.org>
13125 * text.C (insertChar): removed conditional truism.
13127 * BufferView2.C (removeAutoInsets): More tweaks.
13128 cur_par_prev could be a stray pointer. Check for trailing empty line
13129 in case last line was cur_par and only had an error inset on it.
13131 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13133 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13136 * vc-backend.C (most methods):
13137 * exporter.C (Export):
13138 * converter.C (convert):
13140 * LyXSendto.C (SendtoApplyCB):
13141 * lyxfunc.C (dispatch):
13145 * lyx_cb.C (AutoSave):
13147 * BufferView_pimpl.C (MenuInsertLyXFile):
13148 * buffer.C (runChktex): use Buffer::filePath().
13150 * buffer.h: rename filename to filename_; rename filepath to
13151 filepath_ and make it private
13152 (filePath): new method
13154 * buffer.C (writeFile): use fileName()
13157 * lyx_main.C (init): fix starting of LyX when the binary is a
13158 link from so,ewhere else.
13160 * minibuffer.C: include <cctype> for isprint
13162 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13164 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13165 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13166 name clash with InsetCollapsable's width function.
13168 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * lastfiles.C: include <iterator>
13172 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13174 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13177 * buffer.C (makeLaTeXFile): ditto.
13178 Also make loop operation more transparent.
13180 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13182 * ToolbarDefaults.C: remove trailing comma closing namespace.
13184 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13186 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13189 * trans.C (Load): comment out unused variable, allowed.
13191 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13193 * minibuffer.[Ch] (append_char): new method to recieve input from the
13194 drop-down completion browser. If a key was pressed, then recieve this
13195 char and append it to the existing string.
13196 (peek_event): modify the positioning data passed to the completion
13197 browser so that it can be placed above the minibuffer rather than below.
13198 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13200 * LyXAction.C (init): alloe error-next for readonly documents.
13202 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13205 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13207 * bufferlist.C (readFile): create the buffer _after_ checking that
13210 * lyxfunc.C (verboseDispatch): fix handling of arguments
13212 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13214 * lyxrc.C: use string::erase() instead of initializing to "".
13217 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13219 * BufferView_pimpl.h:
13220 * BufferView_pimpl.C:
13223 * text2.C: tell X when we have made a selection for copying
13225 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13227 * BufferView_pimpl.C (MenuInsertLyXFile):
13228 * lyxfunc.C (menuNew):
13230 (doImport): add shortcuts to directory buttons
13232 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13235 * lyxfunc.C (setStatusMessage):
13236 (getStatusMessage): new methods
13237 (getStatus):use setStatusMessage instead of setErrorMessage
13238 (dispatch): when function is disabled, set error message here
13239 [instead of in getStatus previously]
13241 * BufferView_pimpl.C (workAreaButtonRelease): update
13242 toolbar/menubar here too.
13244 2002-01-13 Allan Rae <rae@lyx.org>
13246 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13247 Now seems indestructible. Remaining task is to audit all other
13248 code affected by deleteEmptyParagraphMechanism. One small quirk
13249 left is that an empty document with an error in the preamble can
13250 be made to report an error but no error box appears. I don't know
13252 (removeAutoInsets): Improved comments.
13254 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13257 * Thesaurus.C: update for Aiksaurus 0.14
13259 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13261 * text2.C (firstParagraph): removed member function, all uses
13262 replaces with ownerParagraph
13263 (redoParagraphs): here
13264 (updateInset): here
13265 (toggleAppendix): here
13266 * BufferView2.C (insertErrors): here
13267 (setCursorFromRow): here
13269 2002-01-13 Allan Rae <rae@lyx.org>
13271 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13272 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13273 There is still a way to segfault this although you may have to do this
13274 multiple times: Have an InsetERT with an unknown command in it.
13275 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13276 <down-arrow>, <Enter> again, View->DVI, BANG!
13278 * text2.C (setCursor):
13279 (deleteEmptyParagraphMechanism):
13280 * lyxtext.h (setCursor):
13281 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13282 Making use of the return value may help fix other bugs.
13284 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13288 * LyXView.C (updateMenubar): call MenuBar::update here
13289 (updateToolbar): but not here
13290 (showState): do not update toolbar/menubar
13292 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13293 should need to care about that.
13295 * lyxfunc.C (verboseDispatch): simplify a bit
13296 (getStatus): have a version which takes a pseudoaction, and
13297 another which requires a (kb_action,string).
13299 * LyXAction.C (retrieveActionArg): make it work also when action
13300 is not a pseudo-action.
13301 (getActionName): simplify a bit
13304 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13306 * lyxfunc.C (verboseDispatch): new families of methods with
13307 several ways to specify a command and a bool to indicate whether
13308 the command name and shortcut should be displayed in minibuffer
13309 (eventually, we could extend that to a finer bitmask like
13310 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13311 (dispatch): the pristine dispatch command which just, well,
13312 dispatchs! Note it still sets its result to minibuffer; I'm not
13315 * lyxfunc.h: remove setHintMessage
13317 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13319 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13321 * BufferView_pimpl.C (specialChar): delete new inset if we have
13322 not been able to insert it.
13324 * kbmap.C: revert to using int instead of kb_action, since all we
13325 are dealing with is pseudo-actions.
13327 * LyXAction.C (searchActionArg): change to return int instead of
13328 kb_action, since the result is a pseudoaction.
13330 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13332 * buffer.C (insertErtContents): Fix (partially) the font bug.
13334 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13336 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13337 as the other one is broken on my machine!
13339 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13342 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13344 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13346 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13347 reflect their actual use. Provide compatibility code for older lyxrc
13350 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13352 change names of popup font variables in line with the changes to lyxrc.C
13354 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13356 * buffer.C (asciiParagraph): avoid outputing a word twice after
13359 * lyxrc.C (getDescription): document that document_path and
13360 template_path can be empty.
13362 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13364 * LaTeXFeatures.C (getMacros):
13365 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13367 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13369 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13371 (getPackages): rename feature "floats" to "float". Use an array to
13372 iterate over 'simple' features (i.e. just a \usepackage). Add
13373 handling of "amsmath" (renamed from "amsstyle").
13375 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13377 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13380 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13382 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13383 FuncStaus::FuncStatus & FuncStaus::some_method().
13385 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13387 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13388 of the func_satus stuff. Edited and massaged in various ways by
13391 * lyxfunc.C (getStatus): use FuncStatus
13393 2002-01-08 Juergen Vigna <jug@sad.it>
13395 * text.C (nextBreakPoint): use function Inset::isChar().
13397 * paragraph.C (TeXOnePar): use function
13398 Inset::forceDefaultParagraphs.
13400 * buffer.C (latexParagraphs): use function
13401 Inset::forceDefaultParagraphs.
13403 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13405 * lyx_gui.C (init): set the style of the menu popups to
13406 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13408 2002-01-07 Juergen Vigna <jug@sad.it>
13410 * text.C (setHeightOfRow): small fix
13411 (prepareToPrint): don't look at alignment if we don't have the place
13414 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13416 * box.C: New file. Move the Box methods and functions out of box.h,
13417 following Lars' suggestion.
13419 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13421 * box.h: #include "support/LOstream.h", needed for inlined function.
13424 * lyxtextclasslist.C: added some using std declarations.
13426 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13428 * box.h: make signed dimensions to allow insets wider than
13429 the screen (bug #162)
13431 * BufferView_pimpl.C: add some insetHit debug
13433 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13435 * vc-backend.C: add FIXME
13437 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13439 * lyxfunc.C (getStatus): enable code for showing math font status
13442 2002-01-07 Juergen Vigna <jug@sad.it>
13444 * text.C (nextBreakPoint): removed debug output not needed anymore.
13446 2002-01-06 Juergen Vigna <jug@sad.it>
13448 * text.C (nextBreakPoint): fixed up this function we had this bug
13449 since ever but now hopefully we break row better.
13450 (insertChar): we have to check if an inset is the next char as it
13451 could now happen that a large inset is causing a break.
13453 2002-01-05 Juergen Vigna <jug@sad.it>
13455 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13456 if it doesn't like to be drawed.
13458 2002-01-04 Juergen Vigna <jug@sad.it>
13460 * BufferView2.C (lockInset): forgot to set a cursor.
13462 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13464 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13466 * FormMathsPanel.C:
13469 * form_maths_panel.C:
13470 * form_maths_panel.h:
13471 * form_maths_panel.fd: implemented sub- and super- buttons in math
13474 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13475 (or ^ space) to be used as in TeX (req'd by André).
13477 * lyxfunc.C: Allow ^ and _ again to be used both as
13478 super/subscript (mathed) and as themselves (in text).
13480 2002-01-03 Allan Rae <rae@lyx.org>
13482 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13483 "LyX" or the filename of the current buffer if it has one. This is a
13484 modified form of John Levon's patch.
13486 * XFormsView.C (setWindowTitle): also set icon title.
13488 * LyXView.h (setWindowTitle): signature changed.
13489 * XFormsView.h (setWindowTitle): ditto.
13491 2002-01-02 Juergen Vigna <jug@sad.it>
13493 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13495 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * screen.C (topCursorVisible): introduce a temp var for
13498 text->cursor.row(), handle the case where this row is null. (kindo
13501 * text2.C (setCursor): add a couple of asserts.
13503 * paragraph.h (inset_iterator): add -> operator
13505 * paragraph.[Ch] (autoDeleteInsets): remove member function
13507 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13508 cursor pos correctly and handle inset deletion by itself.
13509 (insertErrors): move iterator declaration out of for expression
13511 * lyxtextclass.C: add <algorithm>
13513 * Makefile.am: added the new files to sources, removed layout.C
13515 * layout.C: removed file
13517 * layout.h: remove LYX_DUMMY_LAYOUT
13519 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13523 * lyxtextclass.[Ch]:
13524 * lyxtextclasslist.[Ch]: new files
13526 * include order changes to a lot of files, also changes because of
13529 2001-12-27 Juergen Vigna <jug@sad.it>
13531 * buffer.C (asciiParagraph): more fixes.
13533 * tabular.C (ascii): make ascii export support export of only the
13534 data separated by a column-delimiter.
13535 (ascii): better support for ascii export.
13537 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13539 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13541 * tabular_funcs.C: use a "using std::getline" instead of the
13542 previous fix from Angus (necessary for cxx + lyxstring)
13544 2001-12-24 Juergen Vigna <jug@sad.it>
13546 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13548 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13549 problems. First check a minipage also if we have some ert-contents
13550 (not only on par->size(), second set the right depth of the paragraph
13551 on the relink to the root-paragraph-list!
13553 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13554 which then did not anymore update the main paragraphs on undo/redo!
13556 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13558 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13559 code. Support all font-changing funcs (even those which are not in
13560 menu currently). Support for reporting font settings in
13561 mathed (disabled until Andre provides a function on mathed's side).
13563 * func_status.h (toggle): small helper function to set toggle
13566 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13568 * tabular_funcs.C: getline -> std::getline
13570 2001-12-21 Juergen Vigna <jug@sad.it>
13572 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13573 accessed and could be 0 (I couldn't generate this but it seems
13576 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13578 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13579 * tabular_funcs.h: here and include iosfwd
13581 2001-12-20 Juergen Vigna <jug@sad.it>
13583 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13584 inside inset but undo_par was.
13586 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13588 * Thesaurus.C: always include <config.h> in sources.
13592 * box.h: do not include <config.h> in header files
13594 * text.C (paintLastRow): remove unused variable
13596 * text.C (transformChar):
13598 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13600 * Painter.C (text):
13601 * font.C (width): rewrite to use uppercase() instead of
13604 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13606 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13608 * lyxfind.C: clean up of find failure position change
13610 2001-12-20 Juergen Vigna <jug@sad.it>
13612 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13614 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13615 (TeXRow): added to LaTeX a single tabular row.
13616 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13617 (Latex): simplified and finally good LT-h/f support.
13618 (various_functions): just small adaptions for LT-h/f support.
13620 * tabular_funcs.[hC]: added and moved here all not classfunctions
13623 2001-12-19 Juergen Vigna <jug@sad.it>
13625 * tabular.[Ch]: better support for longtabular options (not finished
13628 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13630 * text.C (paintLastRow): use the label font instead of the font of
13631 the last character to compute the size of *_BOX. This makes more
13632 sense and avoids a crash with empty paragraphs.
13633 Use Painter::rectangle to draw EMPTY_BOX.
13635 2001-12-19 Juergen Vigna <jug@sad.it>
13637 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13638 the paragraphs if the replaced paragraph is not the first one!
13639 Tried to delete not used paragraphs but does not work yet so for
13640 now it's inside #ifdef's and by default off!
13642 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13644 * MenuBackend.C: include "lyx_main.h" instead of declaring
13645 lastfiles (actually was declared as LastFiles* instead of a
13648 2001-12-17 Juergen Vigna <jug@sad.it>
13650 * tabular.C (AppendColumn): applied John's fix
13652 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13656 * BufferView_pimpl.h:
13657 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13660 * box.h: new start of class for above
13662 * lyxfunc.C: ignore space-only minibuffer dispatches.
13663 Show the command name when it doesn't exist
13665 * minibuffer.C: don't add empty lines to the history
13667 * minibuffer.C: add a space on dropdown completion
13669 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13671 * text.C: fix line above/below drawing in insets
13673 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * lyxlength.C (LyXLength): Initialize private variables.
13677 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13680 when inserting error insets.
13682 2001-12-13 Juergen Vigna <jug@sad.it>
13684 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13685 actually sometimes the before-paragraph.
13686 (setUndo): don't clear the redostack if we're not actually undoing!
13688 2001-12-06 Juergen Vigna <jug@sad.it>
13690 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13691 and fixed redoing of main paragraph, so we can use it now ;)
13693 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13695 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13697 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13700 2001-12-13 André Pönitz <poenitz@gmx.net>
13703 * undo_func.C: minor cleanup
13705 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13707 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13708 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13709 font in urw-fonts package which is marked as -urw-fontspecific and
13710 does not work (incidentally, changing the encoding in the
13711 fonts.dir of this package to -adobe-fontspecific fixes the
13714 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13715 is a crash when undoing first paragraph (Juergen, please take a
13716 look). THis does not mean the undo fix is wrong, just that it
13719 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13720 the (Paragraph*) version when needed instead of duplicating the
13723 * text.C (workWidth): use Inset::parOwner to find out where the
13724 inset has been inserted. This is a huge performance gain for large
13725 documents with lots of insets. If Inset::parOwner is not set, fall
13726 back on the brute force method
13728 * paragraph_pimpl.C (insertInset):
13729 * paragraph.C (Paragraph):
13730 (cutIntoMinibuffer): set parOwner of insets when
13731 inserting/removing them
13733 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13735 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13741 * mathed/formulabase.C:
13742 * mathed/math_cursor.[Ch]:
13743 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13746 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13748 * lyxlength.[Ch] (operator!=): new function
13750 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13752 * text.C (workWidth): use Inset::parOwner to find out where the
13753 inset has been inserted. This is a huge performance gain for large
13754 documents with lots of insets. If Inset::parOwner is not set, fall
13755 back on the brute force method
13757 * paragraph_pimpl.C (insertInset):
13758 * paragraph.C (Paragraph):
13759 (cutIntoMinibuffer): set parOwner of insets when
13760 inserting/removing them
13762 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13764 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13766 * tabular-old.C (getTokenValue):
13767 * tabular.C (getTokenValue):
13768 (write_attribute): new versions for LyXLength
13769 (everywhere): adjust the use of widths
13771 * tabular.h: change the type of widths from string to LyXLength
13773 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13775 * paragraph.C: fixed missing line number count when exporting
13776 Environments to LaTeX file
13778 * buffer.C: added informational message for checking line numbers.
13780 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13782 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13783 paragraph, do the 'double space' part, but not the 'empty
13786 * text.C (workWidth): small optimization
13787 (getLengthMarkerHeight): use minimal size for negative lengths.
13789 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13791 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13793 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13795 2001-12-11 André Pönitz <poenitz@gmx.net>
13798 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13800 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13802 * text2.C: keep selection on a setFont()
13804 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13806 * lyx_cb.C: another bv->text misuse, from insert label
13808 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13811 * kbsequence.C: re-instate nmodifier mask
13813 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13815 * lyx_main.h: make lyxGUI private.
13817 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13819 * lyxfind.C: place the cursor correctly on failed search
13821 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13823 * text.C (getLengthMarkerHeight): for small heights, the arrows
13824 are not always on top/bottom of the text
13825 (drawLengthMarker): smaller arrows; take the left margin in
13826 account; draw also vfills.
13828 (paintLastRow): remove special code for vfill and standard spaces,
13829 since everything is handled in drawLengthMarker now.
13831 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * buffer.C (insertErtContents): try to handle font and language
13834 interaction a bit better.g
13836 * ColorHandler.C (updateColor): change the hash to cover the whole
13837 LColor enum, ws cleanup
13838 (getGCLinepars): ditto
13839 (getGCLinepars): only lookup in the linecache once.
13841 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13843 * iterators.C (operator++): Make the iterator more robust
13845 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13847 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13849 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13852 * text.C: better added space drawing
13854 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13857 * BufferView2.C: fix layout combo update on inset unlock
13859 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13861 * Makefile.am: don't compile unused files
13863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13867 * LyXAction.C: remove old LFUN_LAYOUTNO
13869 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13871 * paragraph_pimpl.h:
13872 * paragraph_pimpl.C: isTextAt() doesn't need font param
13874 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13877 * lyxlex.C: little cleanup
13879 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13881 * BufferView_pimpl.C: fix insertAscii for insets
13883 2001-12-05 Juergen Vigna <jug@sad.it>
13885 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13886 set the right font on the "multi" paragraph paste!
13888 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * lyxlength.C: remove out-commented code.
13896 * BufferView_pimpl:
13910 * vc-backend.C: change "while(" to "while ("
13912 * lyxlength.[Ch]: add zero function to check if length is zero or
13914 * lyxgluelength.C: use it
13916 2001-12-05 Allan Rae <rae@lyx.org>
13918 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13919 Works for 2.95.3, from what I understand of Garst's reports this should
13920 work for other g++ versions. We're screwed if the abs(int) definition
13921 changed between bugfix releases of gcc.
13923 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13925 * text.C: fix chapter label offset !
13927 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13930 * text.C: fix hfill at end of line, clean up
13932 2001-12-04 Juergen Vigna <jug@sad.it>
13934 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13935 that we force an update of the inset and it's owners if neccessary.
13937 2001-12-03 Juergen Vigna <jug@sad.it>
13939 * text.C (rowLast): simplified code
13941 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13943 * lyxfunc.C: fix show options on timeout
13945 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * screen.C (topCursorVisible): scroll half a page when the cursor
13948 reached top of bottom of screen
13950 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13952 * minibuffer.C: deactivate on loss of focus
13954 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13956 * vspace.[Ch] (operator!=): add operator.
13958 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13960 * BufferView_pimpl.C: refuse to open an inset when
13961 there's a selection.
13963 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13965 * BufferView_pimpl.C: allow to click on RHS of full row insets
13967 2001-11-30 Juergen Vigna <jug@sad.it>
13969 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13970 insets for undo reasons.
13972 2001-11-28 André Pönitz <poenitz@gmx.net>
13974 * vspace.[Ch]: cosmetical changes
13976 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13986 * kbsequence.C: part re-write of old kb code
13989 * WorkArea.C: remove Lgb_bug_find_hack
13991 2001-11-30 José Matos <jamatos@fep.up.pt>
13993 * buffer.C (makeDocBookFile): add a comment to point a hack.
13994 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13995 Fixed a double write of labels.
13997 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14000 * LaTeX.h Fixed bug in LaTeX class where it would not
14001 re-run latex if no depfiles were changed, but the .dvi was removed.
14003 2001-11-28 André Pönitz <poenitz@gmx.net>
14005 * all the files from the change on 2001/11/26:
14006 use lyx::layout_type instead of LyXTextClass::size_type
14007 use lyx::textclass_type instead of LyXTextClassList::size_type
14009 2001-11-29 Juergen Vigna <jug@sad.it>
14011 * text.C: added support for paragraph::isFreeSpacing()
14013 * buffer.C: same as above
14015 * paragraph.h: inserted isFreeSpacing() function to enable
14016 FreeSpacing inside InsetERT.
14018 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14019 of the paragraph's in the cut/copy buffer to 0!
14021 * text2.C (removeRow): remove the assert as it can!
14023 * lyxtext.h: added helper function firstRow returning firstrow and
14024 made firstrow private again.
14026 * BufferView2.C (lockInset): don't relock if we're already locked!
14028 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14029 the only paragraph.
14030 (removeRow): added Assert::(firstrow)
14032 * debug.C: forgot to add INSETTEXT here.
14034 2001-11-28 Juergen Vigna <jug@sad.it>
14036 * sp_spell.C (initialize): changed error text to more general
14037 spellchecker command use (not only ispell!)
14039 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14041 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14043 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14045 * vspace.C: initialise lyxgluelength on failure
14047 2001-11-28 Allan Rae <rae@lyx.org>
14049 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14050 declaration & definition that looks like a function declaration.
14052 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14054 * BufferView2.C (copy):
14055 (copyEnvironment): do not clear the selection when doing a copy.
14057 * text.C (paintFirstRow): compilation fix
14059 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14061 * tabular.C (Latex): correct line count when writing latex.
14063 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14065 * paragraph_pimpl.h:
14066 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14069 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14073 * LColor.C: change vfillline->added_space
14075 * text.C: add markers and text for added space
14077 * vspace.C: fix comment
14079 2001-11-28 André Pönitz <poenitz@gmx.net>
14081 * paragraph.C: whitespace changes
14082 * all the other files from the change on 2001/11/26:
14083 change *::pos_type into lyx::pos_type
14085 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14087 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14088 language of the document when inserting error insets.
14090 2001-11-26 André Pönitz <poenitz@gmx.net>
14092 * BufferView_pimpl.[Ch]:
14100 * paragraph_pimpl.[Ch]:
14103 * text2.C: reduce header dependencies, introduce type for positions
14105 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14107 * <various>: change to use Alert.h
14109 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14111 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14112 when encountering an unknown token.
14113 (readLyXformat2): Show an error message if there were unknown tokens.
14115 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14118 * BufferView_pimpl.C:
14122 * text2.C: use par->isInset()
14124 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14126 * paragraph_pimpl.h:
14127 * paragraph_pimpl.C: cleanup
14129 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * text2.C (removeRow):
14132 * text.C (setHeightOfRow): remove useless (and costly) call to
14135 2001-11-20 Allan Rae <rae@lyx.org>
14137 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14138 Now need Inset*::checkInsertChar() to return true for appropriate
14139 cases so that the characters in the minibuffer will actually be
14142 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * text.C: change the order of the includes.
14145 (workWidth): initialize it at once.
14146 (workWidth): make maxw unsigned
14147 (setHeightOfRow): remove unused variable (inset)
14148 (selectSelectedWord): remove unused variable (inset)
14149 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14151 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14153 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14154 server is not running.
14156 (closeConnection): add debug info when server is disabled.
14158 * ColorHandler.C (getGCForeground): send debug message to GUI
14161 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14163 * kbmap.C (bind): modify because return conventions of
14164 kb_sequence::parse have changed.
14166 * kbsequence.C (parse): only ignore spaces and not any stupid
14167 control character. This avoids tests like s[i] <= ' ', which are
14168 guaranteed to fail with 8bit characters and signed chars.
14169 Change return code to string::npos when there have been no error
14170 (0 was a bad idea when error is at first character)
14172 2001-11-14 José Matos <jamatos@fep.up.pt>
14175 * buffer.C (simpleDocBookOnePar): removed unused argument.
14177 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14180 insets which are part of a word. Paragraph::isLetter takes care of
14181 that now. Use Paragraph::isInset to identify insets.
14182 (selectSelectedWord): do not test for hyphenation break.
14184 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14185 that protected spaces are considered as spaces.
14187 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14190 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14193 * lyxserver.C: fix it. and small cleanup.
14195 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14197 * BufferView_pimpl.C: use inline helpers
14200 * LaTeXFeatures.C: fix typos
14203 * Spacing.C: move spacing_string into class
14205 * ToolbarDefaults.C: move stuff into namespace anon
14207 * layout.h: update enum
14209 * lyxfunc.C: use better debug
14211 * minibuffer.h: fix typo
14215 * WorkArea.C: add and use Debug::WORKAREA
14219 * text2.C: code re-organisation, inline helpers
14221 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14223 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14224 std::vector.empty().
14226 2001-11-09 Allan Rae <rae@lyx.org>
14228 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14229 '\n's after tables. Tabular and ERT inset work now makes this no
14232 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14235 * minibuffer.C: fix crash, improve drop-down completion
14237 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14240 * lyxserver.C: invalidate fd's when doing endPipe()
14242 2001-11-08 José Matos <jamatos@fep.up.pt>
14244 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14245 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14248 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14250 2001-11-07 José Matos <jamatos@fep.up.pt>
14253 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14256 * buffer.C (sgmlOpenTag):
14257 * buffer.C (sgmlCloseTag): removed debug info.
14259 * buffer.h (sgmlOpenTag):
14260 * buffer.h (sgmlCloseTag): made public.
14262 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14264 * buffer.C (saveParamsAsDefaults):
14265 * lyx_cb.C (MenuLayoutSave): remove
14267 * LyXAction.C (init):
14269 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14271 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14273 * buffer.C (setPaperStuff): removed from here...
14275 * bufferparams.C (setPaperStuff): ... and moved there.
14277 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14281 * XFormsView.C: add support for drop-down completion
14283 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14285 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14288 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14290 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14293 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14295 * lyx_main.C: change ref to known bugs
14297 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14299 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14300 to work around older babel problems.
14302 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14304 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14306 2001-10-24 Juergen Vigna <jug@sad.it>
14308 * tabular-old.C (ReadOld): below variable changes reflected.
14310 * tabular.[Ch]: added ltType struct for longtable header/footer
14311 defines and changed all instances where they are used. Added
14312 future support for double top/bottom rows.
14314 2001-10-24 José Matos <jamatos@fep.up.pt>
14316 * buffer.h (docbookHandleCaption):
14317 * buffer.C (docbookHandleCaption): removed unused function.
14318 (makeDocBookFile): moved docbook supported version to v4.1.
14320 2001-10-24 José Matos <jamatos@fep.up.pt>
14323 * tabular.C (docbookRow): new function to export docbook code of a row.
14324 (DocBook): now honors the longtable flags.
14326 2001-10-23 José Matos <jamatos@fep.up.pt>
14329 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14330 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14332 * buffer.C (makeLinuxDocFile):
14333 (makeDocBookFile): reworked the preamble, more clean, and with
14334 support for lyx defined entities. Changed the document declaration
14335 to be more XML friendly.
14337 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14338 if we need to output XML that should be done with a filter.
14340 2001-10-22 Juergen Vigna <jug@sad.it>
14342 * sp_pspell.h (class PSpell): add alive function needed in the
14343 controller to see if the spellchecker could be started.
14345 2001-10-22 Juergen Vigna <jug@sad.it>
14347 * buffer.C (insertStringAsLines): modify the font for inserting
14348 chars in certain conditions by calling checkInsertChar(font).
14350 2001-10-19 Juergen Vigna <jug@sad.it>
14352 * text.C (workWidth): use getRow instead of wrong algorithm.
14353 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14355 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14360 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14362 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14364 * text.C (workWidth): do not search for the exact row when
14365 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14366 optimization for big documents.
14368 2001-10-18 Juergen Vigna <jug@sad.it>
14370 * text.C (workWidth): new function with added Inset * parameter.
14372 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14374 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14376 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14377 change return type of getColumnNearX.
14380 * text.C (changeRegionCase): use uppercase/lowercase instead of
14383 (rightMargin): simplify code by factoring out the uses of
14388 (appendParagraph): use Paragraph::size_type
14390 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14392 * vspace.C (asLatexString): add a missing break
14394 2001-10-15 Herbert Voss <voss@perce.de>
14396 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14398 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14400 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14403 2001-10-10 André Pönitz <poenitz@gmx.net>
14405 * lyxfunc.C: removed greek_kb_flag.
14407 2001-10-10 Herbert Voss <voss@perce.de>
14409 * lyx_main.C: delete global string help_lyxdir.
14411 2001-10-09 Herbert Voss <voss@perce.de>
14413 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14415 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14417 * lyx_main.C: added global string help_lyxdir.
14419 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14421 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14423 * lyxrc.C (set_font_norm_type): support iso8859-4
14425 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14427 * LaTeX.C (deplog): add another regex for MikTeX
14429 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14431 * lyxrc.C (set_font_norm_type): support iso8859-3
14433 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14435 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14437 * LaTeXFeatures.C: remove special case of french and index
14439 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14440 before \begin{document}). This solves several incompatibilities.
14442 2001-10-03 Garst Reese <reese@isn.net>
14444 * lyx_cb.C: change CheckTex error msg.
14446 2001-10-03 José Matos <jamatos@fep.up.pt>
14448 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14450 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * .cvsignore: update
14454 * lyx_main.C (commandLineVersionInfo): use new style version info.
14456 * buffer.C (writeFile):
14458 (makeLinuxDocFile):
14459 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14461 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14463 * version.h: update to use stuff in version.C
14465 * version.C.in: new file. Contains version information determined
14466 at compile time. This is a merging of version.h and
14469 2001-10-03 Juergen Vigna <jug@sad.it>
14471 * BufferView_pimpl.C (update): don't change "dirty" status in
14474 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14476 * WorkArea.C (c-tor): re-position version string slightly.
14478 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14480 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14481 revert to previous code.
14483 WorkArea.[Ch]: (show, destroySplash): methods removed.
14485 WorkArea.C: rework code so that it's an amalgam of the codes before and
14486 after the splash screen was moved to WorkArea.
14488 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14491 * vspace.C (inPixels):
14494 * buffer.C (insertStringAsLines):
14495 (asciiParagraph): fix types to be large enough
14497 * lyxlex_pimpl.h: change member status from short to int
14499 * layout.h: fix type of endlabeltype
14502 * kbsequence.C (parse): change return type to string::size_type
14504 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14507 * Bullet.C (bulletSize):
14508 (bulletEntry): do not use short ints as parameters
14510 * BufferView2.C (insertLyXFile): change a char to an int.
14512 * WorkArea.C (WorkArea): remove unneeded floats in computation
14514 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14516 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14518 * paragraph.C (asString): Do not ignore newline/hfill chars when
14519 copying to the clipboard.
14521 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14523 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14524 after a multi-line inset.
14526 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14528 * paragraph.C (validate): Set NeedLyXFootnoteCode
14530 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14532 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14533 and decrease-error to decrease.
14535 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14537 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14538 it more readable (should be equivalent)
14540 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14542 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14544 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14546 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14547 of a cursor (row, etc.) after a character has been deleted
14548 (deleteEmptyParagraphMechanism): call the method above on _all_
14549 cursors held by the LyXText when a double space has been
14552 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14554 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14556 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14558 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14559 background. Use greyOut() and the new show() methods to toggle between
14560 the foreground and background. Add code to remove the splash after
14561 its initial showing.
14563 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14564 (create_forms): no longer call Dialogs::showSplash.
14566 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * .cvsignore: add version_info.h
14570 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14572 * version_info.h.in: new file
14574 * Makefile.am: add version_info.h.in
14576 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14577 version_info.h instead of VERSION_INFO
14579 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14581 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14582 The ERT inset now returns string().
14584 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14586 * lyxtext.h, text.C (selectNextWord): renamed as
14587 selectNextWordToSpellcheck.
14589 * text.C (selectNextWordToSpellcheck): Modified to not select
14590 words inside an ERT inset.
14592 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14594 * lyx_cb.C (MenuLayoutSave): change a bit the question
14596 * sp_base.h: include <sys/types.h>
14598 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14600 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14602 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14604 * several files: fix typos in user-visible strings
14606 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14608 * text2.C (pasteSelection): do not set the selection, since it
14609 will be cleared later. Actually, the intent was to fix the way the
14610 selection was set, but I figured rmoving the code was just as good.
14612 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14614 * FontLoader.C (available): Check if font is available without
14617 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14619 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14621 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14623 * lyxrc.[Ch]: added display_graphics variable and associated code.
14625 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14627 * bufferparams.C (hasClassDefaults): new method. Returns true if
14628 the buffer parameters correspond to known class defaults
14630 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14632 * XFormsView.C (show): set minimum size to the main window.
14634 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14636 * text2.C (copySelection):
14638 * lyxfind.C (LyXReplace):
14639 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14640 LyXText::selectionAsString.
14642 * paragraph.C (asString): add "label" argument to the second form
14644 * text2.C (selectionAsString): add "label" argument and pass it to
14645 Paragraph::asString.
14647 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * lyx_main.C (commandLineHelp): remove version information
14651 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14653 * lyx_main.C: add -version commandline option
14655 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14657 * paragraph.h: make the optional constructor arg required instead.
14658 some modifications to other files because of this.
14660 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14662 * lyxserver.C (C_LyXComm_callback): make it static
14664 * lyx_main.C (error_handler): make it static
14666 * lyx_gui.C (LyX_XErrHandler): make it static
14668 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14670 * WorkArea.C: make the extern "C" methods static.
14672 * Makefile.am (lyx_LDADD): simplify
14674 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14676 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14677 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14679 * LyXAction.C (init):
14680 * lyxfunc.C (dispatch): associated code removal.
14682 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14684 * lyxfont.h (isSymbolFont): shut off warning
14686 * text.C (setHeightOfRow):
14687 (getVisibleRow): fix crash with empty paragraphs which have a
14690 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14692 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14695 2001-09-04 José Matos <jamatos@fep.up.pt>
14698 * tabular.C (docbook): rename docBook method to docbook.
14700 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14702 * Makefile.am: add dependencies to main.o.
14704 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14706 * FontLoader.C (available): Return false if !lyxrc.use_gui
14708 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14710 * FontInfo.C (query):
14711 * converter.C (view):
14712 * importer.C (Import):
14713 * exporter.C (Export): Can not -> cannot.
14715 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14717 * BufferView_pimpl.C: allow to create index inset even if
14720 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14722 * buffer.C (getLists): replace boost::tie code with an explicit pair
14723 as boost::tie can break some compilers.
14725 * iterators.h: Added a std:: declaration to the return type of
14728 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14730 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14733 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14735 * iterators.[Ch]: New files. Provide paragraph iterators.
14737 * buffer.C (changeLanguage): Use paragraph iterators.
14738 (isMultiLingual): ditto
14740 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14742 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14744 * FontLoader.C: Support for cmr font.
14746 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14748 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14749 (available): New method.
14751 * FontInfo.C (getFontname): Use scalable fonts even when
14752 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14755 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14757 * converter.C (Formats::view): reverted! Incorrect fix.
14759 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14761 * converter.C (Formats::view): only output the -paper option
14762 if the dvi viewer is xdvi, thereby fixing bug #233429.
14764 2001-08-23 Herbert Voss <voss@perce>
14766 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14768 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14770 * Spacing.h (Spacing): Set space to Default on in the default
14773 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * vc-backend.h (RCS::versionString): add RCS to version
14776 (CVS::versionString): add CVS to version
14778 * vc-backend.C (scanMaster): do not add CVS to version.
14779 (scanMaster): do not add RCS to version
14781 * lyxvc.C (versionString): new method
14783 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14785 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14787 * Spacing.C (set): initialize fval
14789 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14791 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14794 2001-08-16 Juergen Vigna <jug@sad.it>
14796 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14798 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14800 * BufferView_pimpl.C:
14803 * text2.C: setParagraph takes linespacing now
14805 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14807 * LyxAction.C: add internal LFUN_CITATION_INSERT
14809 * LyXView.C: actually apply fix
14811 * bufferlist.C: fix open non-existent file
14813 * lyxfind.C: fix indentation
14815 * lyxfunc.C: remove unneeded assert, fix typo
14817 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14819 * MenuBackend.C: use "Floatname List"
14821 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14823 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14824 when converting LaTeX layout to insetERT.
14825 Generate a non-collapsed float when reading old float
14827 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14829 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14832 2001-08-13 Juergen Vigna <jug@sad.it>
14834 * text.C (fill): return 0 instead of 20 as this seems to be the more
14837 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14839 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14842 2001-08-13 Juergen Vigna <jug@sad.it>
14844 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14846 (SearchBackward): comment out the unlocking of the inset_owner this
14847 should not be needed!
14849 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14851 * Many files: Remove inherit_language, and add latex_language
14853 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14854 collapsible insets.
14856 2001-08-10 Juergen Vigna <jug@sad.it>
14858 * text.C (prepareToPrint): fixed hfill-width in draw!
14860 * BufferView2.C (selectLastWord): save the selection cursor as this
14861 now is cleared in the function LyXText::clearSelection!
14863 2001-08-08 Juergen Vigna <jug@sad.it>
14865 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14866 BACKSPACE type functions.
14868 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14869 is only cutted from the document but not put in the cut-buffer, where
14870 still the old stuff should be.
14872 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14874 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14876 * tabular.C (SetWidthOfCell): fixed special case where the width
14878 (LeftLine): handle '|' in align_special.
14880 (LeftAlreadyDrawed): ditto
14881 (SetWidthOfCell): ditto
14883 2001-08-07 Juergen Vigna <jug@sad.it>
14885 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14887 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14889 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14890 * lyxlex.[hC]: ditto
14892 2001-08-06 Juergen Vigna <jug@sad.it>
14894 * text.C (getVisibleRow): fix up row clearing a bit.
14896 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14898 * minibuffer.C: make sure the X server sees the changes in the input.
14900 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14902 * paragraph.C (getFont): split into...
14903 (getLabelFont): this
14904 (getLayoutFont): and this
14905 * paragraph_pimpl.C (realizeFont): calling this
14907 * text2.C (getFont): split into...
14908 (getLayoutFont): this
14909 (getLabelFont): and this
14910 (realizeFont): all three calling this
14912 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14915 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14919 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14921 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14922 layouts from the Quote inset insertion.
14924 2001-08-03 Juergen Vigna <jug@sad.it>
14926 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14928 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14929 only if status not is already CHANGED_IN_DRAW (second level).
14931 * text.C (draw): don't set the need_break_row when inside an
14934 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14936 * buffer.C (parseSingleLyXformat2Token): handle more latex
14939 * bufferview_funcs.[hC]: change function names to
14940 begin with small char, adjust other files.
14942 2001-08-02 André Pönitz <poenitz@gmx.net>
14945 BufferView_pimpl.C: remove broken special code for math-greek
14947 2001-08-02 Juergen Vigna <jug@sad.it>
14949 * BufferView_pimpl.C (update): redone this function so that we
14950 update the text again if there was a CHANGE_IN_DRAW.
14952 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14953 (drawFromTo): added a new internal bool which is used by draw() and
14955 (general): some cursor drawing problems fixed.
14957 2001-08-01 Juergen Vigna <jug@sad.it>
14959 * lyxfind.C (LyXFind): fixed
14960 (SearchForward): ditto
14961 (SearchBackward): ditto
14963 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14964 spurius drawing of the cursor in the main area.
14966 * text2.C (status): small fix which could lead to a segfault!
14967 (clearSelection): remove unneeded BufferView param.
14969 2001-08-01 André Pönitz <poenitz@gmx.net>
14971 * lyxfunc.C: small change due to changed mathed interface
14973 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14977 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14979 * lyxfunc.c: fail gracefully if file doesn't exist
14984 * BufferView_pimpl.C: IsDirWriteable() proto changed
14986 * LyXView.C: fix updateWindowTitle() to store the last title
14988 2001-07-31 Juergen Vigna <jug@sad.it>
14990 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14991 the font (wrong since using of Paragraph::highestFontInRange).
14993 * paragraph.C (highestFontInRange): added a default_size parameter.
14995 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14996 (setHeightOfRow): reformat
14998 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15000 * converter.[hC] + affected files: move to (inital-char)lowercase
15003 * ParagraphParameters.C (ParagraphParameters): remove commented code
15005 * PainterBase.[Ch]: remove commented code
15007 * LaTeXFeatures.h: add "bool floats" for float.sty
15009 * LaTeXFeatures.C (LaTeXFeatures): init floats
15010 (require): handle float
15011 (getPackages): do it with floats
15013 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15015 * BufferView_pimpl.C (Dispatch): improve handling of
15016 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15018 * commandtags.h: #include lyxfont.h here temporarily to avoid
15021 * bufferlist.h: include LString.h here.
15023 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * text2.C (getStringToIndex): new method.
15027 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15029 * *: Reduced header file dependencies all over.
15031 2001-07-30 Baruch Even <baruch@lyx.org>
15033 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15035 2001-07-29 Baruch Even <baruch@lyx.org>
15037 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15039 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * ParameterStruct.h (endif): add a default constructor to make
15042 sure that all variables is initialized.
15044 * ParagraphParameters.C (ParagraphParameters): adjust
15046 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15048 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15049 index; also, check that there is something to index, and that it
15050 does not span over several paragraphs.
15051 (doubleClick): use WHOLE_WORD_STRICT for double click.
15053 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15055 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15058 2001-07-26 Baruch Even <baruch@lyx.org>
15060 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15061 an InsetFig figure, backwards compatible reading of old figure code.
15063 2001-07-27 Juergen Vigna <jug@sad.it>
15065 * text2.C: font.realize function adaption.
15067 * text.C (draw): add a warnings lyxerr text if needed.
15069 * layout.C: font.realize function adaption.
15071 * language.C: add inherit_language and implement it's handlings
15073 * bufferview_funcs.C (StyleReset): remove language parameter from
15074 font creation (should be language_inherit now).
15076 * bufferparams.C (writeFile): handle ignore_language.
15078 * paragraph.C (getFontSettings): the language has to be resolved
15079 otherwise we have problems in LyXFont!
15081 * lyxfont.C (lyxWriteChanges): added document_language parameter
15082 (update): removed unneeded language parameter
15084 * paragraph.C (validate): fixed wrong output of color-package when
15085 using interface colors for certain fonts in certain environments,
15086 which should not seen as that on the final output.
15088 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15090 * BufferView_pimpl.C:
15095 * LyXAction.C: add thesaurus support
15098 * lyxfind.C: add "once" parameter, for thesaurus, to not
15099 move to the next match
15101 2001-07-26 Juergen Vigna <jug@sad.it>
15103 * lyxfont.C (realize): honor ignore_language too!
15106 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15108 * text.C (draw): one place more for ignore_language to not draw
15111 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15113 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15115 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15117 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15118 the minipage conversion problem.
15120 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15122 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15125 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15127 * BufferView.h: don't forward declare WorkArea
15129 * BufferView.C: don't include WorkArea.h
15131 2001-07-25 André Pönitz <poenitz@gmx.net>
15135 * lyxfunc.C: new LFUN 'math-space'
15137 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15139 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15141 * text2.C (toggleInset): call open/close
15143 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15145 * lyxfunc.C (dispatch): add debug for the disabled case
15147 * font.C (buttonText): make similar to rectText
15149 * buffer.C (readInset): comment out parsing of insetlist and
15152 * PainterBase.C (rectText): small correction
15154 * BufferView_pimpl.C: comment out insettheorem and insetlist
15155 * LyXAction.C: ditto
15156 * commandtags.h: ditto
15158 2001-07-24 Juergen Vigna <jug@sad.it>
15160 * text.C (draw): honor the ignore_language.
15162 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15164 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15166 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15169 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15171 * lyxtext.h: remove unused (and unimplemented) methods
15173 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15175 * text.C (getVisibleRow): honor background color
15178 * Painter.h: remove default color argument for fillRectangle
15180 * text.C (backgroundColor): new method
15182 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15184 * text.C (getVisibleRow): adjust
15186 * font.[Ch] (rectText): new method, metrics
15187 (buttonText): new method, metrics
15189 * PainterBase.[hC]: make rectText and buttonText always draw and take
15192 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15194 * ToolbarDefaults.C (read):
15195 * MenuBackend.C (read): allow escaping in all strings
15197 * BufferView_pimpl.C (insertAndEditInset): new method.
15198 (Dispatch): use insertAndEditInset whenever appropriate.
15200 * BufferView_pimpl.C (insertNote): removed
15202 * BufferView_pimpl.C (smartQuote): new method, moved from
15203 BufferView; if an insetquote cannot be inserted, insert a '"'
15206 * BufferView2.C: remove insertCorrectQuote();
15208 * lyxfunc.C (getStatus): Add support for all remaingin
15209 inset-insert lfuns.
15211 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15213 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15214 command (necessary to pass " as parameter of self-insert.
15216 * text.C (selectWordWhenUnderCursor):
15217 (selectWord): add word_location parameter
15218 (selectWordWhenUnderCursor): same + remove special code for word
15220 (selectNextWord): use kind() to guess type of insetspecialchar,
15223 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15224 (insertErtContents): create ert insets as collapsed.
15225 (readInset): better compatibility code for Info inset.
15227 2001-07-20 Juergen Vigna <jug@sad.it>
15229 * lyxfunc.C (dispatch): use always LyXFind now!
15231 * text2.C (init): add a reinit flag so that the LyXText can be
15232 reinited instead of deleted and reallocated (used in InsetText).
15234 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15240 2001-07-18 Juergen Vigna <jug@sad.it>
15242 * text.C (selectNextWord): handle insets inside inset by calling
15243 always the bv->text functions so that we can go up the_locking_inset!
15245 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15246 in strange locations when inside an inset!
15248 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15249 handling to include insets.
15251 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15253 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15255 * LyXAction.C (init):
15257 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15258 LIGATURE_BREAK, since the name is so stupid.
15260 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15262 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15265 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15267 * sp_form.[Ch]: remove.
15269 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15271 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15274 * src/buffer.C (readInset): ditto.
15276 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15278 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15279 menuSeparator(), endOfSentenceDot(), ldots() and
15280 hyphenationPoint(), which are therefore removed.
15281 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15283 * LyXAction.C (init):
15284 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15286 * paragraph.C (getWord): removed.
15288 * BufferView_pimpl.C (Dispatch): use last word or selection for
15289 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15291 * lyx_main.C (queryUserLyXDir): do not ask before creating
15292 user_dir, except if it has been named explicitely.
15294 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15296 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15297 a document of zero size.
15299 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15301 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15302 approriately in the c-tor and in require().
15303 (getPackages): output the appropriate LaTeX for natbib support.
15305 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15306 variables "use_natbib" and "use_numerical_citations" when reading the
15308 (readInset): read the various natbib cite commands.
15309 (validate): white-space change.
15311 * bufferparams.[Ch]: new variables "bool use_natbib" and
15312 "bool use_numerical_citations".
15313 (writeFile): output them in the LyX file.
15315 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15317 * lyxfunc.C (getStatus): add support for all the inset insertion
15320 * text2.C (insertInset):
15321 * paragraph.C (insetAllowed):
15322 * BufferView_pimpl.C (insertInset): update to take in account the
15323 renaming of insertInsetAllowed
15325 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15327 * text2.C (getInset): new method. returns inset at cursor position.
15329 * BufferView_pimpl.C (Dispatch): changes because of this.
15331 * LyXAction.C (init): rename open-stuff to inset-toggle.
15333 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15335 * text2.C (toggleInset): renamed from openStuff; use
15338 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15340 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15342 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15344 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15346 * buffer.C (readLyXformat2): Add filename to the error dialog
15348 2001-07-18 Juergen Vigna <jug@sad.it>
15350 * tabular.C (GetCellNumber): put an assert here instead of the check!
15352 2001-07-17 Juergen Vigna <jug@sad.it>
15354 * BufferView_pimpl.C (toggleSelection): adapted too.
15356 * text.C (selectNextWord): adapted for use with insets.
15357 (selectSelectedWord): ditto
15359 2001-07-17 Juergen Vigna <jug@sad.it>
15361 * sp_spell.C (PSpell): fix initialitation order.
15363 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15365 * paragraph.C: spacing
15367 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15369 * sp_spell.C: repair language selection for pspell
15371 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15373 * lyxfunc.h: change more methods to begin with lower char.
15375 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15377 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15378 for unknown layouts.
15380 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15382 * buffer.C (readLyXformat2): Generate an error dialog if there are
15385 2001-07-16 Juergen Vigna <jug@sad.it>
15387 * sp_spell.C: always compile ISpell part.
15389 * lyxrc.C: added use_pspell entry and it's handling.
15391 2001-07-13 Juergen Vigna <jug@sad.it>
15393 * sp_spell.C: removed double includes.
15395 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15397 Consistent use of Lsstream.h:
15398 * Lsstream.h: added using std::stringstream for consistencies sake.
15400 * buffer.C: removed using std::stringstream
15402 * lyxfont.C (stateText):
15403 * paragraph.C (asString):
15404 * text.C (selectNextWord, selectSelectedWord):
15405 * text2.C (setCounter):
15406 * vspace.C (asString, asLatexString):
15407 std::ostringstream -> ostringstream.
15409 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15411 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15412 * commandtags.h: add LFUN_HELP_ABOUTLYX
15413 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15415 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15417 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15419 * lyx_gui_misc.C: remove spellchecker
15420 * lyxfunc.C: showSpellchecker
15422 * sp_ispell.h: added
15423 * sp_pspell.h: added
15424 * sp_spell.C: added
15425 * sp_form.[Ch]: removed
15426 * spellchecker.[Ch]: removed
15428 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15430 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15432 (simpleTeXSpecialChars): Simply print the input character without
15433 any special translation if pass_thru is set.
15435 * layout.h: Added bool pass_thru to layout class for being able to
15436 implement pass through of a paragraph for Literate Programming.
15438 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15439 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15440 * layout.C (Read): add "passthru" to list of layout tags and add
15441 code to set the pass_thru boolean when it is read.
15443 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * trans_decl.h: remove allowed from KmodInfo
15447 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15448 remove allowed code
15451 * paragraph_pimpl.C (erase): use boost::prior
15453 * Painter.C (text): use data() instead of c_str() when length is
15455 * WorkArea.C (putClipboard): ditto
15456 * font.h (width): ditto
15458 * BufferView2.C: use it-> instead of (*it). for iterators
15460 * paragraph_pimpl.C: ditto
15461 * paragraph.C: ditto
15462 * minibuffer.C: ditto
15463 * language.C: ditto
15465 * encoding.C: ditto
15466 * counters.C: ditto
15467 * converter.C: ditto
15469 * Variables.C: ditto
15470 * TextCache.C: ditto
15471 * MenuBackend.C: ditto
15472 * LyXAction.C: ditto
15474 * FloatList.C: ditto
15475 * DepTable.C: ditto
15476 * ColorHandler.C (LyXColorHandler): ditto
15478 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15482 * text2.C (openStuff): reintroduce this method (which had been
15483 nuked in NEW_INSETS frenzy).
15485 * lyxfunc.C (Dispatch): when an action has not been handled, use
15486 its name in the error message, not its number.
15488 * paragraph.C (inInset): change method name to begin with lowercase.
15491 * text2.C: updates because of this.
15493 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * ToolbarDefaults.C (add): add spaces in error message
15497 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15500 (readLyXformat2): rename return_par to first_par, use lyxlex's
15501 pushToken and remove the manual push handling.
15502 (parseSingleLyXformat2Token): add another ert comp. variable:
15503 in_tabular, rename return_par to first_par. handle newlines better
15505 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15507 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15509 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15511 * text2.C (getParFromID): removed
15513 * buffer.C (getParFromID): new method moved form lyxtext.
15514 * BufferView2.C (insertErrors): adjust
15515 (setCursorFromRow): adjust
15516 * BufferView_pimpl.C (restorePosition): adjust
15517 * lyxfunc.C (Dispatch): adjust
15518 * undo_funcs.C (textUndo): adjust
15520 (textHandleUndo): adjust
15521 (textHandleUndo): adjust
15523 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15525 * buffer.C: up' the LYX_FORMAT
15527 * lyxfont.h: turn NO_LATEX on as default
15529 * buffer.C (insertErtContents): new methods of tex style compability.
15530 (parseSingleLyXformat2Token): use it several places.
15531 * tabular.C (OldFormatRead): and here
15533 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15535 * text2.C: remove some commented code.
15538 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15539 * trans.C: changes because of the above.
15541 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15543 * text2.C (setCounter): Fix counters bug with bibliography layout.
15545 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15547 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15548 own member functions
15549 (simpleTeXSpecialChars): ditto
15551 2001-07-06 Juergen Vigna <jug@sad.it>
15553 * a lot of files: changed the access to LyXText::status and the
15554 call of undo-functions.
15556 * undo.[Ch]: added a inset_id to the undo informations.
15558 * undo_funcs.[Ch]: added and moved here all undo functions.
15560 * lyxtext.h: give the status enum a weight, made status_ a private
15561 variable and made accessor functions for it, removed the whole bunch
15562 of undo-functions as they are now in their own file, make some
15563 functions publically available. Added function ownerParagraph with
15566 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15567 made InInset() a const function, added getParFromID() function.
15569 * buffer.[Ch]: added const version for inset_iterator functions,
15570 added getInsetFromID() function.
15572 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15573 changed undo functions for new version.
15575 2001-07-05 Juergen Vigna <jug@sad.it>
15577 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15578 unknow mechanism does not call the proper constructor but only this
15579 one also if I request the other!?
15581 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15583 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15585 * text2.C (LyXText): use initialization lists.
15587 * lyxtext.h (Selection): initialize set_ and mark_
15588 (init): remove method
15590 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15592 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15594 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15596 * screen.[Ch]: change method names to begin with lowercase
15598 * BufferView_pimpl.C (updateScrollbar): simplify further and
15599 hopefully make it a bit faster.
15601 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15603 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15604 calling directly xforms functions.
15606 * Painter.C (Painter):
15607 * lyx_cb.C (MenuWrite):
15608 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15611 * lyx_gui.C: remove bogus guiruntime extern declaration.
15613 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15615 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15617 (redoDrawingOfParagraph): ditto
15618 (redoParagraphs): ditto
15619 (cutSelection): don't create a object for CutAndPaste use the
15620 static method directly
15621 (pasteSelection): ditto
15623 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15626 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15628 * modifications to some other files because of this.
15630 * Makefile.am (lyx_SOURCES): add XFormsView
15632 * XFormsView.[Ch]: new files
15634 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15635 the main window. Move the gui dependent stuff to XFormsView
15637 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15639 * tabular.C (GetCellInset): update cur_cell also in the row/col
15640 version of this function.
15642 * lyxfunc.C: no need to include figure_form.h here.
15648 * lyxvc.C: no need to include forms.h here.
15650 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15654 * lyxfunc.C (Dispatch):
15656 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15657 constructor argument.
15659 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15661 * paragraph.C (Paragraph): dont't clear, and just set layout.
15662 (makeSameLayout): use params's copy contructor.
15664 * ParagraphParameters.[Ch] (makeSame): delete method
15666 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15668 * Variables.[Ch]: fix indentation, rename set to isSet
15670 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * lyxfunc.C (Dispatch): fix typo
15674 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15676 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15679 * bufferlist.C: include assert.h for emergencyWrite().
15681 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15683 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15684 give up at last (bug #425202) !
15686 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15692 * spellchecker.C: strip spellchecker options and bring up
15693 preferences tab instead
15695 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15697 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15698 the istringstream constructor
15700 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15702 * paragraph.C (getLayout): fix return value
15704 * paragraph.h: do not declare getLayout as inline.
15706 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15708 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15710 * lyxcursor.h (operator<): new func
15711 (operator>): new func
15712 (operator>=): new func
15713 (operator<=): new func
15715 * text.C (changeCase): use selection.start and selection.end
15716 (changeRegionCase): require from to be <= to. Require par to be a
15719 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15721 2001-06-27 Juergen Vigna <jug@sad.it>
15723 * text.C (cursorLeftOneWord): changed to return the cursor and added
15724 overlay with BufferView * parameter which calls this one.
15726 (selectWord): use new getWord function.
15727 (changeCase): renamed from changeWordCase as and extended to work
15728 also on selections.
15730 * lyxtext.h: added enum word_location
15732 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15733 changeCase as this operates now also on selections.
15735 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15737 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15739 * many files: send debug output to Debug::INFO instead of
15742 * converter.C (View):
15744 (Move): send debug output to Debug::FILES instead of console.
15746 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15748 * lyxfunc.C (getStatus): use func_status
15750 * func_status.h: new header, describing the results of
15751 LyXFunc::getStatus;
15753 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15756 2001-06-25 The LyX Project <jug@sad.it>
15758 * buffer.C (sgmlOpenTag):
15760 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15762 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15764 * text2.C: remove some dead code
15766 * tabular.C (GetCellInset): store the last cell checked (gotten)
15768 * tabular.h: add the helper for the speedup
15770 * lyxtext.h: remove some dead code
15772 2001-06-26 The LyX Project <Asger>
15774 * paragraph.C: Change export to LaTeX of alignment to
15775 \begin{center} and family for better roundtrip work with reLyX.
15777 * Tune the math drawing a bit.
15779 2001-06-25 The LyX Project <Asger>
15781 * LColor.C (LColor): New color for math background. New color
15784 2001-06-25 The LyX Project <jug@sad.it>
15786 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15788 * lyxfunc.C (Open):
15789 * bufferlist.C (newFile): do not restrict to files ending with
15792 * BufferView_pimpl.C (MenuInsertLyXFile):
15794 2001-06-24 The LyX Project <jug@sad.it>
15796 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15799 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15801 * lyxtext.h: rename most methods to begin with a small char.
15802 Lots of changes because of this.
15804 * paragraph.C (Paragraph): do not call fitToSize
15805 (erase): call Pimpl::erase
15806 (insertChar): call Pimpl::insertChar
15807 (insertInset): call Pipl::insertInset
15808 (breakParagraph): do not call fitToSize
15809 (breakParagraphConservative): do not call fitToSize
15810 (fitToSize): remove method
15812 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15814 2001-06-24 The LyX Project <Asger>
15816 * Fix Qt compilation^2
15818 2001-06-24 The LyX Project <jug@sad.it>
15820 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15821 depthHook(getDepth()-1).
15824 * ParagraphParameters.h:
15825 * ParameterStruct.h: change type of depth to unsigned int ==
15826 depth_type. Many adaptations to other files before of that.
15828 2001-06-24 The LyX Project <Asger>
15830 * Fix Qt compilation.
15832 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15834 * paragraph.h: renamed several methods to begin with small letter.
15835 several changes to many parts of the code because of this.
15837 2001-06-23 The LyX Project <jug@sad.it>
15839 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15840 rewritten to discard all double spaces when KeepEmpty is off
15841 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15842 to only handle newlines but not fiddle with spaces and friends.
15844 * lyxfunc.C (MenuNew): when doing 'new from template', use
15845 template_path as default directory
15847 2001-06-23 The LyX Project <Asger>
15849 * Clean-up of header file includes all over
15850 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15852 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15854 * paragraph.h: renamed from lyxparagraph.h
15856 2001-06-23 Asger <lyx@violet.home.sad.it>
15858 * Buffer.h: Removed Buffer::resize
15859 * BufferList.h: Removed BufferList::resize
15860 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15861 the document lazily when we change the width, or the font settings.
15863 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15865 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15867 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15869 * buffer.h: remove out of date comment
15871 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15874 * screen.C: fix "theoretical" GC leak
15876 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15878 * LaTeX.C (scanAuxFile):
15879 (deplog): remove trailing \r when reading stream (useful under
15882 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15884 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15885 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15886 and BufferView::theLockingInset(Inset*), so should use them and not
15887 access bv_->text->the_locking_inset directly.
15889 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15891 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15894 * tex-defs.h: remove old unused file
15896 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15898 * BufferView_pimpl.C: fix typo, remove minibuffer message
15899 when buffer has loaded
15901 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15903 * lyxfunc.C (Dispatch): use stringstream
15904 (MenuNew): use stringstream
15905 (Open): use stringstream
15907 * importer.C (Import): use stringstream
15909 * bufferview_funcs.C (CurrentState): use stringstream
15911 * LaTeX.C (run): use stringstream
15913 * BufferView_pimpl.C (savePosition): use stringstream
15914 (restorePosition): use stringstream
15915 (MenuInsertLyXFile): use stringstream
15917 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15930 * vspace.C: removed // -*- C++ -*- as first line.
15933 * version.h: added // -*- C++ -*- as first line.
15935 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15939 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15942 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15944 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15947 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15949 * gettext.C: include LString.h even when --disable-nls is on.
15951 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15953 * converter.h (Get): changed argument type from int to
15954 FormatList::size_type to avoid unnecessary conversion.
15956 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15959 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15961 * gettext.h: include LString.h even when --disable-nls is on.
15963 2001-06-07 Juergen Vigna <jug@sad.it>
15965 * text.C (BreakAgain): subst spaces with tabs.
15967 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15968 (resizeInsetsLyXText): set force on resizeLyXText.
15970 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15972 * gettext.h (gettext_init):
15973 (locale_init): use a real definition instead of a macro
15975 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15977 * Bufferview_pimpl.C:
15979 * LColor.C: further lcolor tidies
15981 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15983 * BufferView_pimpl.C (updateScrollbar): simplify.
15985 * BufferView2.C: don't include insets/insetinfo.h, change
15986 prototype for insertInset and call the Pimpl version. let
15987 updateInset call Pimpl version.
15989 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15990 gotoInset to BufferView::Pimpl
15992 2001-06-01 Juergen Vigna <jug@sad.it>
15994 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15995 inside a LockingInset (is the update needed at all?).
15997 2001-05-31 Juergen Vigna <jug@sad.it>
15999 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16000 here not the old one otherwise how should we compare it afterwards
16003 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16008 * FontInfo.C: bring C functions into global namespace when
16011 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16013 * LString.h: make sure config.h has been loaded before LString.h.
16015 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16016 (one for each char read by EatLine!).
16018 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16021 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16023 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16024 to the same as the par we break from
16026 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16028 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16030 * MenuBackend.C (expand): also create menu entries for wide
16031 versions of the floats.
16033 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16035 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16037 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16038 frontends/Makefile.am
16044 * tabular.C (getTokenValue): add std::
16046 * tabular-old.C (getTokenValue): add std::
16047 (getTokenValue): ditto
16048 (getTokenValue): ditto
16050 * screen.C (ToggleSelection): adjust
16052 * lyxtext.h: put selection cursors inside a Selection struct.
16054 * lyxfunc.C (moveCursorUpdate): adjust
16056 * lyxfont.C (latexWriteStartChanges): add std::
16058 * lyxfind.C: adjust
16060 * font.h: delete with(char const *, LyXFont const &)
16062 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16064 * FontInfo.C (getFontname): add std::
16066 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16067 (workAreaButtonPress): adjust
16068 (tripleClick): adjust
16070 (moveCursorUpdate): adjust
16073 * BufferView2.C (gotoInset): adjust
16075 2001-05-30 Juergen Vigna <jug@sad.it>
16077 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16078 to check pspell I add this as default as I now have new pspell
16079 libraries and they seem to use this.
16081 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16083 * text2.C (CutSelection): make the cursor valid before the call to
16086 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16088 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16089 relied on 0 terminated strings and other horrors. Bug found due to
16090 the new assert in lyxstring!
16092 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16095 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16097 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16100 * lyxfunc.C (processKeySym): change method of getting to the
16103 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16104 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16105 * BufferView_pimpl.[Ch]: here as private methods.
16107 2001-05-28 Juergen Vigna <jug@sad.it>
16109 * text.C (SetHeightOfRow): added the update() call again as it is
16110 needed to initialize inset dimensions!
16112 2001-05-16 Juergen Vigna <jug@sad.it>
16114 * text2.C (SetCharFont): Add new function with BufferView * and
16115 bool toggleall parameters for setting insets internal fonts.
16116 (SetFont): Freeze the undo as we may change fonts in Insets and
16117 all this change should be inside only one Undo!
16119 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16120 setting font's in insets as for them we have the SetFont function!
16122 2001-05-15 Juergen Vigna <jug@sad.it>
16124 * text2.C (ClearSelection): to be sure we REALLY don't have any
16127 * tabular.C (TeXCellPreamble): fixed the left border problem for
16130 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16132 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16135 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16137 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16138 LFUN_BREAKPARAGRAPH.
16140 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16141 help test to "internal only", similar for LFUN_INSERT_URL
16143 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16144 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16145 auto_region_delete and deadkeys.
16147 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16150 * LColor.C: remove some dead entries, tidy a little
16152 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16154 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16156 (Dispatch): implement LFUN_ESCAPE
16158 * commandtags.h: add LFUN_ESCAPE
16160 * LyXAction.C (init): add entry for LFUN_ESCAPE
16162 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16163 Remove commented code.
16164 (insertNote): moved here
16165 (open_new_inset): moved here
16167 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16170 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16172 * kbmap.C (findbinding): clean it up and make it work correctly.
16174 * lyx_main.C (init): do not pass argc and argv as parameters
16176 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16178 * buffer.C: fix path for OS/2 & Win32
16182 * lyx_main.C: Added os:: class.
16184 * os2_defines.h: update
16186 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16188 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16189 better by trying again with reduced state.
16191 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16193 * lyxrc.C (read): print error about invalid key sequence only when
16194 debugging (because not all latinX keysyms are known to some X
16197 * kbsequence.C (getiso): add a few std:: qualifiers
16198 (getiso): comment out extra return statement.
16200 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16202 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16204 (Dispatch): enhance the accent inset a bit. (not perfect)
16206 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16208 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16210 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16212 * bufferlist.C (emergencyWrite): fix assert() call
16214 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16216 * text.C (InsertChar): Added trivial patch to only send the "you
16217 can not do multiple spaces this way" message once during a
16220 2001-05-08 Baruch Even <baruch@lyx.org>
16222 * Makefile.am: Changed order of libraries to get LyX to link properly
16223 with the gnome frontend.
16225 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16227 * LaTeXFeatures.h: add a std:: qualifier
16229 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16231 * paragraph.C (String): use stringstream
16233 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16235 * paragraph.C (writeFile): remove footflag arg
16237 * buffer.C (makeLaTeXFile): use stringstream
16238 (latexParagraphs): remove footnot gurba
16240 * LaTeXFeatures.C (getPackages): use stringstream
16241 (getMacros): likewise
16242 (getTClassPreamble): likewise
16243 (getFloatDefinitions): new method
16245 * paragraph.C (writeFile): reindent
16248 * WorkArea.h: revert the xpos + etc changes.
16250 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16252 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16254 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16255 (pasteSelection): likewise
16256 * text2.C (CreateUndo): likewise
16258 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16260 * minibuffer.C (peek_event): temporarily reduce the functionality
16261 of the minibuffer (to allow args on lfuns)
16263 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16264 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16266 * buffer.C (readInset): add compability reading of old float
16267 lists, add reading of new style float list.
16268 (readInset): avoid reevaluation of inscmd.getCmdName()
16269 (getLists): reindent
16271 * MenuBackend.C (MenuItem): implement parsing of
16272 md_floatlistinsert and md_floatinsert.
16273 (expand::LastFiles): move initalizaton of iterators out of loop,
16274 avoid reevaluation.
16275 (expand::Documents): introduce typdedef vector<string> Strings,
16277 (expand::ExportFormats): introduce typedef vector<Format const *>
16278 Formats, and use it.
16279 (expand): implement FloatListInsert and FloatInsert.
16281 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16282 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16283 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16285 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16287 (Dispatch::LFUN_FLOAT_LIST): implement
16289 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16291 * LaTeX.C (run): Fix problem with --export code.
16293 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16295 * BufferView.[Ch] (workarea): removed.
16296 (getClipboard) new method; wrapper for workarea()->getClipboard()
16298 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16301 * WorkArea.h (width, height, xpos, ypos): These methods all
16302 returned the dimensions of the work_area sub-area of WorkArea,
16303 resulting in a position error if the WorkArea were resized. Now
16304 return the dimensions of the entire WorkArea.
16306 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16308 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16310 * LaTeX.C (deplog): correct the syntax of regex reg1
16312 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16314 * undo.C: remove !NEW_INSETS cruft
16316 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16318 * text2.C: remove !NEW_INSETS cruft
16320 * text.C: remove !NEW_INSETS cruft
16322 * tabular.C: remove !NEW_INSETS cruft
16324 * spellchecker.C: remove !NEW_INSETS cruft
16326 * lyxtext.h: remove !NEW_INSETS cruft
16328 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16330 * lyxfunc.C: remove !NEW_INSETS cruft
16332 * lyxfind.C: remove !NEW_INSETS cruft
16334 * lyx_cb.C: remove !NEW_INSETS cruft
16336 * figureForm.C: remove !NEW_INSETS cruft
16338 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16340 * buffer.[Ch]: remove !NEW_INSETS cruft
16342 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16344 * CutAndPaste.C: remove !NEW_INSETS cruft
16346 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16348 * BufferView2.C: remove !NEW_INSETS cruft
16350 * BufferView.h: remove !NEW_INSETS cruft
16352 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16354 * Lsstream.h: include LString.h before the sstream headers to
16355 fix problem with gcc 2.95.3 and lyxstring
16357 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16359 * lyx_main.C: add using directives when needed for C functions
16360 declared in std:: namespace.
16362 2001-04-27 Juergen Vigna <jug@sad.it>
16364 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16365 (SetHeightOfRow): comment out the update call should not be needed!
16367 2001-04-13 Juergen Vigna <jug@sad.it>
16369 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16370 (LyXTabular): tried to minimize operator= operations (and realized
16371 hopfully Lars wish).
16373 2001-04-27 Juergen Vigna <jug@sad.it>
16375 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16377 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16379 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16381 * buffer.C (readInset): hack to make listof algorithm work
16383 * BufferView_pimpl.C: hack to make listof algorithm work
16385 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16387 * LyXAction.C: removed all !NEW_INSETS cruft
16388 (init): moved lfun_item in method
16390 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16392 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16394 * BufferView2.C (theLockingInset): white space.
16396 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * minibuffer.C: include <iostream>
16400 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16402 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16404 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16406 * text.[Ch] (TransposeChars): new method
16408 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16410 * call message directly through LyXView instead of through LyXFunc
16411 * BufferView2.C: adjust
16412 * BufferView_pimpl.C: adjust
16413 * FontLoader.C: adjust
16415 * bufferview_funcs.C: adjust
16416 * converter.C: adjust
16417 * figureForm.C: adjust
16418 * importer.C: adjust
16420 * lyx_gui_misc.C: adjust
16421 * lyxfunc.C: adjust
16424 + more files in subdirs
16426 * lyxparagraph.h (size): move up int file
16429 * adjust all uses of Assert to lyx::Assert.
16431 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16432 lyxfunctional in namespace lyx
16433 * layout.C (hasLayout): ditto
16436 (delete_layout): ditto
16437 (NumberOfClass): ditto
16438 * converter.C (GetFormat): ditto
16443 * bufferlist.C (getFileNames): ditto
16444 (emergencyWriteAll): ditto
16447 * MenuBackend.C (hasSubmenu): ditto
16450 * BufferView_pimpl.C (getInsetByCode): ditto
16452 2001-04-18 Juergen Vigna <jug@sad.it>
16454 * vspace.C (asLatexString): fixed the 100% problem.
16456 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * lyxfunc.C (Dispatch):
16460 * minibuffer.h: add a few std:: qualifiers
16462 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16464 * minibuffer.[Ch]: reimplement so that commands is initiated and
16465 run from lyxfunc, simplified som handling, and made the completion
16466 and history code for complete. wip.
16468 * lyxfunc.C (processKeySym): call message
16469 (miniDispatch): new temporary method
16470 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16471 (LFUN_MESSAGE): implement
16472 (LFUN_MESSAGE_PUSH): implement
16473 (LFUN_MESSAGE_POP): implement
16474 (initMiniBuffer): the initial/defualt minibuffer message.
16476 * lyxfont.[Ch]: inline some more getters
16478 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16480 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16482 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16483 (AutoSave): use LFUN_MESSAGE
16484 (Reconfigure): ditto
16486 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16488 * figureForm.C: use LFUN_MESSAGE
16490 * converter.C (runLaTeX): use LFUN_MESSAGE
16492 * bufferview_funcs.C: use LFUN_MESSAGE
16494 (changeDepth): ditto
16496 * bufferparams.h: use boost::
16498 * bufferlist.h: inherit privately from noncopyable
16500 * bufferlist.C (loadLyXFile): remove some commented code.
16502 * buffer.C (runChktex): use LFUN_MESSAGE
16504 * ShareContainer.h: inherit privately from noncopyable
16506 * ParagraphParameters.[hC] (depth): inline it.
16508 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16510 (message): new method
16511 (messagePush): ditto
16512 (messagePop): ditto
16513 (show): init minibuffer
16514 (showState): direct call
16516 * LaTeX.[Ch]: inherit privately from noncopyable
16517 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16518 instead of WriteStatus.
16520 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16522 * BufferView_pimpl.C (buffer): don't init minibuffer
16523 (workAreaButtonPress): use LFUN_MESSAGE
16524 (workAreaButtonRelease): ditto
16525 (savePosition): ditto
16526 (restorePosition): ditto
16527 (MenuInsertLyXFile): ditto
16528 (workAreaExpose): don't init minibuffer
16529 (update): remove commented code, simplify
16531 * BufferView2.C (openStuff): use LFUN_MESSAGE
16532 (toggleFloat): ditto
16535 (copyEnvironment): ditto
16536 (pasteEnvironment): ditto
16541 (updateInset): remove some commented code
16543 * lastfiles.h: inherit privately from noncopyable
16546 * lyx_main.h: ditto
16548 * lyxlex_pimpl.h: ditto
16550 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16551 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16552 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16554 * LyXAction.h: inherit privately from noncopyable, add methods
16555 func_begin, func_end, returning iterators to the func map.
16557 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16558 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16559 (func_begin): new method
16560 (func_end): new method
16562 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16564 (copySelection): ditto
16565 (pasteSelection): ditto
16567 * BufferView.C: whitespace change
16568 * BufferView.h: inherit privately from noncopyable
16570 2001-04-16 Allan Rae <rae@lyx.org>
16572 * tabular-old.C (l_getline):
16573 * spellchecker.C (sc_check_word):
16574 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16575 an unrecognised preprocessor directive. So ensure they're wrapped.
16577 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16579 * src/exporter.C (Export): Give an error message when path to file
16582 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16584 * LaTeX.C (deplog): Always check that foundfile exists.
16586 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16589 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16591 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * tabular.[Ch] (getLabelList): implement new method
16595 * minibuffer.h: comment ouf setTiimer
16597 * minibuffer.C (ExecutingCB): constify res
16598 (peek_event): constify s
16599 (Set): constify ntext
16600 (Init): constify nicename
16602 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16604 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16605 (savePosition): use two params to Minibuffer::Set
16606 (restorePosition): ditto
16608 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16610 * lyx_main.C: include language.h
16612 * Makefile.am (lyx_main.o): add language.h
16614 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16620 * CutAndPaste.C: include gettext.h
16622 * lyxfont.h: remove old hack with ON and OFF.
16625 * lyxfont.h: do not include language.h...
16630 * bufferview_funcs.C:
16636 * paragraph.C: ... but do it here instead
16638 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16640 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16642 * tabular.C: small reformat
16644 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16647 (BreakParagraph): ditto
16648 (SetOnlyLayout): ditto
16651 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16654 * lastfiles.C: removed most using decl, add std:: where needed
16656 * buffer.C: ws changes
16658 * MenuBackend.C (class compare_format): put into anon namespace
16659 (expand): constify label, names, action, action2
16662 * text.C (SingleWidth): constify font
16663 (IsBoundary): constify rtl2
16664 (GetVisibleRow): constify ww
16666 * LaTeX.C (deplog): constify logfile
16668 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16670 (workAreaExpose): constify widthChange, heightChange
16672 * lyxrow.C (par): moved
16675 * lyxrow.h: as inlines here
16677 * lyxfont.h (shape): moved from lyxfont.C
16678 (emph): moved from lyxfont.C
16680 * lyxfont.C (LyXFont): use initialization list for all
16682 (shape): move to lyxfont.h as inline
16683 (emph): move to lyxfont.h as inline
16686 2001-04-04 Juergen Vigna <jug@sad.it>
16688 * vspace.C: had to include stdio.h for use of sscanf
16690 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16693 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16694 independent of xforms.
16696 2001-04-02 Juergen Vigna <jug@sad.it>
16698 * spellchecker.C: fixed namespace placing!
16700 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16702 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16703 the LyXParagraph * is 0.
16705 2001-03-29 Juergen Vigna <jug@sad.it>
16707 * vspace.C: added support for %, c%, p%, l%.
16708 (stringFromUnit): added helper function.
16709 (asLatexString): changed to give right results for the %-values.
16711 * buffer.C: convert the widthp in a width%.
16713 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16715 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16718 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16719 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16721 * lyx_cb.[Ch]: see above.
16723 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16727 * lyx.[Ch]: replaced by figure_form.[Ch].
16731 * lyxfunc.C: changed headers associated with above changes.
16733 2001-03-27 Juergen Vigna <jug@sad.it>
16735 * BufferView_pimpl.C: set the temporary cursor right!
16737 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16739 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16741 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16743 * LString.h: removed "using std::getline"!
16745 * BufferView_pimpl.C (Dispatch): changes due to changes in
16746 InsetInclude::Params.
16748 * buffer.C (tag_name): removed redundant break statements as they were
16749 producing lots of warnings with my compiler.
16751 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16753 * LString.h: add "using std::getline" when using the real <string>.
16755 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16757 * buffer.C: removed bitset usage.
16758 PAR_TAG moved to an anonymous name space.
16759 (tag_name): new funtion, also in the anonymous namespace.
16760 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16761 (makeDocBookFile): clean code. Completed transition from string arrays
16763 (SimpleDocBookOnePar): code clean.
16765 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16767 * tabular.C: add some comments.
16769 2001-03-22 Juergen Vigna <jug@sad.it>
16771 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16772 compatibility read a bit and fixed bug with minipage in different
16775 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16777 * buffer.C (pop_tag): removed.
16778 (push_tag): removed.
16779 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16780 array replaced with vector. Added support for CDATA sections.
16781 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16783 (makeDocBookFile): XML conformant declaration of CDATA section,
16784 fixed bug related to <emphasis> in the first paragraph char.
16785 (sgmlOpenTag): exclude empty tags.
16786 (sgmlCloseTag): ditto.
16788 * buffer.h (pop_tag): removed.
16789 (push_tag): removed.
16791 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16793 * language.h (Languages): added size_type and size().
16795 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16797 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16798 response on compability reading of minipages. One probliem is that
16799 the old usage of minipages was «flertydig»
16801 * several files here and in subdirs: don't use static at file
16802 scope use anon namespaces instead.
16804 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16806 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16807 LaTeX output. This is necessary for Literate document
16810 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16812 * buffer.C: insert hfill when needed.
16814 * tabular.C (l_getline): use string::erase, small whitespace change.
16816 * BufferView_pimpl.C: try the anon namespace.
16817 * WorkArea.C: ditto
16819 2001-03-16 Juergen Vigna <jug@sad.it>
16821 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16822 otherwise it won't open options-dialogs.
16824 * buffer.C: honor pextraWidth(p) on converting minipages.
16826 * tabular.C (l_getline): changed the functions to strip trailing \r.
16828 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16830 * BufferView_pimpl.C:
16831 * minibuffer..C: added "using SigC::slot" declaration.
16833 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16835 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16841 * paragraph.C: ditto
16843 * lyxtext.h: NO_PEXTRA
16845 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16847 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16848 * ParameterStruct.h: ditto
16849 * ParagraphParameters.h: ditto
16850 * lyxparagraph.h: ditto
16852 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16854 * buffer.C: add compability for minipage alignment.
16855 (latexParagraphs): remove unwanted pextra check.
16857 * several files: remove CXX_WORKING_NAMESPACES
16859 * buffer.C (pop_tag): tie is in namespace boost
16861 * BufferView.h: noncopyable is in namespace boost
16863 * lyx_main.h: ditto
16866 * lastfiles.h: ditto
16867 * bufferlist.h: ditto
16868 * ShareContainer.h: ditto
16870 * LyXAction.h: ditto
16873 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16875 * Merging changes from BRANCH_MVC back into HEAD.
16877 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16879 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16881 * BufferView_pimpl.C: change from intl.C
16885 * Makefile.am: move combox.*
16891 * intl.C: remove dialog (covered by prefs)
16893 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16895 * lyxfunc.C (Dispatch): removed redundant break statement.
16897 2001-03-14 Juergen Vigna <jug@sad.it>
16899 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16901 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16903 * buffer.C: add hack to fix compability reading of minipages.
16905 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16907 * buffer.C (getLists): Cleanup.
16909 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16911 * lyxfont.C (update): don't honor toggleall on font size.
16913 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16917 * Makefile.am: moved to frontends/xforms/
16921 * BufferView_pimpl.C: changes for moved mathpanel
16923 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16925 * gettext.h: fix gettext_init() in --disable-nls
16927 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16929 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16931 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16934 * lyx.h: strip external form
16936 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16938 * BufferView_pimpl.C: add comment, destroySplash()
16940 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16942 * BufferView_pimpl.C:
16946 * lyxfunc.C: use re-worked insetinclude
16948 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16950 * buffer.C: add using std::stringstream.
16952 * lyx_cb.C: readd using std::ios.
16954 * buffer.C: add using std::map.
16956 * BufferView_pimpl.C: add using std::vector.
16958 * ShareContainer.h: add std:: to swap.
16960 * buffer.h: add some typedefs
16961 * buffer.C (getLists): use them
16962 (getLists): renamed from getTocList.
16963 add a counter for the different float types and use it in the
16965 (getLists): use the same counter for the NEW_INSETS and the "non"
16968 * lyx_cb.h: remove unused items, includes, using etc.
16970 * ShareContainer.h: remove some commented code, add more comments
16971 and "documentation".
16973 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16975 * buffer.C (getTocList): make the list also when NEW_INSETS is
16978 * buffer.h: remove TocType
16980 * buffer.C (getTocList): change to return a map<string,
16981 vector<TocItem> >, implement for dynamic number of list.
16983 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16984 * text2.C (PasteSelection): adjust
16985 * CutAndPaste.C (pasteSelection): adjust
16987 * FloatList.C (FloatList): update from the new_insets branch.
16988 * Floating.[Ch]: ditto
16989 * LaTeXFeatures.C: ditto
16991 * lyxlex_pimpl.C: ditto
16993 * paragraph.C (Last): remove when NEW_INSETS is defined.
16995 * other file: changes because of the above.
16997 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16999 * lyxparagraph.h: rename next to next_, previous to previous_,
17000 make them private for NEW_INSETS. Rename Next() to next(),
17001 Previous() to previous().
17003 * other files: changes because of the above.
17005 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17008 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17011 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17013 * main.C (main): pass lyx_localedir to gettext_init().
17015 * gettext.h: remove locale_init and gettext_init macros
17017 * gettext.C (locale_init): new function
17018 (gettext_init): new function
17020 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17023 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17025 * Moved credits to frontends:
17026 * credits.[Ch]: removed
17027 * credits_form.[Ch]: removed
17028 * lyx_gui_misc.C: remove credits stuff
17031 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17033 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17035 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17036 unneeded destructor.
17038 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17039 a standalone pointer again.
17041 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17043 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17049 * ToolbarDefaults.C:
17058 * BufferView_pimpl.C: use new file dialog in GUII
17061 * lyx_cb.C: remove LayoutsCB to Toolbar
17063 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17065 * ShareContainer.h (get): add std:: qualifier
17067 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17069 * ShareContainer.h: define a proper ShareContainer::value_type
17070 type (and use typename to please compaq cxx)
17072 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17074 * lyxparagraph.h: move serveral local vars to
17075 ParameterStruct/ParagraphParameters., use ShareContainer in
17076 FontTable., make vars in FontTable private and add getter and
17079 * paragraph.C: changes because of the above.
17081 * lyxfont.h: remove copy constructor and copy assignment. (the
17082 default ones is ok), move number inside FontBits. move inlines to
17085 * lyxfont.C: add number to initializaton of statics, move several
17086 inlines here. constify several local vars. some whitespace
17087 cleanup. Dont hide outerscope variables.
17089 * Spacing.h: add two new constructors to match the set methods.
17091 * ShareContainer.h: new file, will perhaps be moved to support
17093 * ParameterStruct.h: new file
17095 * ParagraphParameters.h: new file
17097 * ParagraphParameters.C: new file
17099 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17100 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17102 * BufferView_pimpl.C: ParagraphParameter changes.
17103 * buffer.C: Likewise.
17104 * bufferview_funcs.C: Likewise.
17105 * text.C: Likewise.
17106 * text2.C: Likewise.
17108 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17110 * lyxfind.C (LyXReplace): do not redefine default argument in
17112 (IsStringInText): ditto
17113 (SearchForward): ditto
17114 (SearchBackward): ditto
17116 2001-03-06 Juergen Vigna <jug@sad.it>
17118 * lyxfind.C (IsStringInText): put parentes around expressions.
17120 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17122 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17124 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17126 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17128 * stl_string_fwd.h: add comment
17130 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17133 * tabular.C: remove unused DocBook methods
17139 killed DO_USE_DEFAULT_LANGUAGE
17141 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17143 * lyx_gui.C: do not include language.h.
17145 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17146 arguments in function implementation.
17148 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17150 * BufferView_pimpl.C: add <ctime>
17152 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17154 * BufferView_pimpl.C: add using std::find_if
17156 2001-02-27 José Matos <jamatos@fep.up.pt>
17158 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17161 2001-02-11 José Matos <jamatos@fep.up.pt>
17163 * buffer.C (makeDocBookFile): command styles now have a parameter as
17164 "title" by default.
17166 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17168 * layout_forms.[Ch]: removed
17169 * lyx_cb.[Ch]: out character
17170 * lyx_gui.C: out character
17171 * lyx_gui_misc.C: out character
17172 * bufferview_funcs.C: : out character,
17173 added toggleall as parameter in ToggleAndShow
17175 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17177 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17179 * text2.C (SetCurrentFont): Disable number property at boundary.
17181 2001-02-26 Juergen Vigna <jug@sad.it>
17183 * lyxfunc.C (getStatus): added a string argument override function so
17184 that this is correctly called from LyXFunc::Dispatch if it contains a
17185 do_not_use_argument which is used!
17186 (Dispatch): added check for "custom" export and call appropriate func.
17188 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17190 * lyxrc.C: Add language_command_local, language_use_babel and
17191 language_global_options.
17193 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17195 * buffer.C (makeLaTeXFile): Use language_use_babel and
17196 language_global_options.
17198 2001-02-23 Juergen Vigna <jug@sad.it>
17200 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17201 which works with LyXText and putted it inside BufferView. Here now we
17202 only call for that part the BufferView::Dispatch() function.
17204 * BufferView.C (Dispatch): added.
17206 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17207 functions which needs to use a LyXText over from LyXFunc.
17208 (MenuInsertLyXFile): added
17209 (getInsetByCode): added
17210 (moveCursorUpdate): added
17211 (static TEXT): added
17213 2001-02-22 Juergen Vigna <jug@sad.it>
17215 * BufferView_pimpl.C (update): call a status update to see if LyXText
17218 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17220 * vc-backend.C (revert): implement for CVS
17221 (getLog): implement for CVS
17223 2001-02-20 Juergen Vigna <jug@sad.it>
17225 * text2.C (ClearSelection): added BufferView param for inset_owner call
17227 * lyxfunc.C (TEXT): added this function and use it instead of
17228 directly owner->view()-text of getLyXText().
17230 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17232 * src/layout_forms.C: out preamble
17233 * src/layout_forms.h: out preamble
17234 * src/lyx_cb.C: out preamble
17235 * src/lyx_cb.h: out preamble
17236 * src/lyx_gui.C: out preamble
17237 * src/lyx_gui_misc.C: out preamble
17238 * src/lyxfunc.C: connect with guii preamble
17240 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17242 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17244 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17246 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17247 whether to run bibtex.
17249 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17251 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17253 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17255 * Makefile.am (lyx_SOURCES): removed bibforms.h
17257 * vspace.h: doxygen
17259 * text.C (GetVisibleRow): make several local vars const
17261 * tabular.C: small cleanup.
17263 * lyxserver.C (callback): use compare instead of strncmp
17265 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17266 inlines to after class or to paragraph.C
17268 * lyxfont.h: remove friend operator!=
17270 * converter.h: move friend bool operator< to non friend and after
17273 * combox.h: small cleanup
17275 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17276 to inlines after class def.
17278 * buffer.C (pop_tag): use string operations instead of strcmp
17280 * bmtable.c: doxygen, small cleanup
17282 * LaTeX.h: remove friend operator==
17284 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17296 * BufferView_pimpl.C:
17297 * BufferView.[Ch]: remove cruft
17299 2001-02-14 Juergen Vigna <jug@sad.it>
17301 * lyxfunc.C: removed #if 0 unused code
17303 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17305 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17307 * text2.C (SetSelection): added a BufferView * parameter
17309 2001-02-13 Juergen Vigna <jug@sad.it>
17311 * lyxfunc.C (Dispatch): fixed protected blank problem.
17312 * BufferView2.C (protectedBlank): added LyxText * parameter.
17314 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17315 (AppendColumn): same as above for column_info.
17317 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17318 (moveCursorUpdate): use a LyXText param for support of InsetText.
17320 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17321 (tripleClick): ditto
17323 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17325 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17327 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17329 * text2.C (SetSelection): set correct update status if inset_owner
17330 (ToggleFree): ditto
17332 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17334 * tabular.C: remove some commented code.
17336 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17338 * BufferView_pimpl.C: call hideSplash()
17340 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17343 * bibforms.h: remove
17346 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17347 add LFUN_CHILD_CREATE
17349 * counters.h: fix tiny typo
17354 * lyx.C: move splash to frontends/xforms/
17356 * lyx_gui_misc.C: move Include and Bibform to frontends
17358 * lyxvc.h: clarify comment
17360 * vspace.C: tiny housekeeping
17362 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17364 * text.C (PrepareToPrint): RTL Fix.
17366 * paragraph.C (GetUChar): New method.
17367 (String): Use GetUChar.
17369 * buffer.C (asciiParagraph): Use GetUChar.
17371 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17373 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17375 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17378 * buffer.C: rename to getLogName(), handle
17379 build log / latex log nicely
17381 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17384 * MenuBackend.h: remove support for reference menuitem type.
17386 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17388 * BufferView_pimpl.C: housekeeping
17389 * BufferView_pimpl.h:
17394 * minibuffer.h: move Timeout GUI-I
17396 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17398 * lyxrc.C (read): Update converters data-structures.
17400 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17402 * LaTeX.h (operator!=): add operator != for Aux_Info
17404 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17406 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17408 * LaTeXLog.C: deleted, useful code moved to Buffer
17411 * buffer.C: new function getLatexLogName()
17417 * lyxfunc.C: use frontends for LaTeX and VC logs
17419 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17421 * LaTeX.h: yet another std:: that Allan forgot.
17423 * Variables.C (set): renamed from isset(), because this clashes
17424 with some HP-UX macros (grr).
17426 2001-02-06 Allan Rae <rae@lyx.org>
17428 * LaTeX.h: Another bug fix. Missing std:: this time.
17430 2001-02-04 Allan Rae <rae@lyx.org>
17432 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17433 floats problem. I've left it commented out because it's not quite
17434 correct. It should also test that the current object is a table or
17435 figure inset. But I haven't gotten around to figuring out how to do
17436 that. I *think* it'll be something like: "table" == inset.type()
17438 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17441 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17443 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17444 all the citation/databases/styles in the auxilary file.
17445 (run): Rerun latex if there was a babel language error.
17447 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17449 * text.C (Backspace): Preserve the font when changing newline char
17451 (BreakParagraph): If the cursor is before a space, delete the space.
17453 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17455 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17457 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17458 new argument (code).
17459 (ChangeCitationsIfUnique): New method.
17461 * paragraph.C (GetPositionOfInset): Handle bibkey.
17463 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17465 * BufferView_pimpl.h: change type of Position::par_pos to
17466 LyXParagraph::size_type.
17468 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17470 * BufferView_pimpl.C (savePosition, restorePosition): Write
17471 messages to minibuffer.
17473 2001-01-28 José Matos <jamatos@fep.up.pt>
17475 * buffer.C (makeDocBookFile): adds support for document language.
17476 A silly restriction on the name of LatexCommand types where removed.
17477 Added support for CDATA sections, allows to chars unescaped, used
17478 among others in code, to avoid escape < and >.
17480 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17482 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17483 saved positions instrad of a stack. Furthermore, a position is
17484 stored using paragraph id/paragraph position.
17486 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17487 Remove LFUN_REF_BACK.
17489 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17491 * converter.C (dvipdfm_options): New method.
17493 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17495 * vspace.C (isValidLength): Fix for empty input string.
17497 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17499 * LyXAction.C (init): change description of LFUN_FIGURE to
17502 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17504 * LaTeX.C: add using directive
17506 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17508 * MenuBackend.C (expand): Fix the sorting of the formats.
17510 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17512 * lyx_main.C: tiny error message fix
17514 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17516 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17517 calling fl_initialize(). This fixes the problem with ',' as
17518 decimal separator in text files.
17520 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17522 * trans.C (process): Fix the keymap bug.
17524 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17526 * LaTeX.C (scanAuxFiles): New method. Provides support for
17527 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17528 (scanLogFile) Scan for "run BibTeX" messages.
17530 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17531 OT1 font encoding. Also, load the aecompl package if the ae
17534 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17536 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17538 * texrow.C (increasePos): turn two error messages into debug
17541 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17543 * LaTeX.C (scanAux): Handle the \@input macro.
17544 (runBibTeX): Use scanAux().
17546 * language.C (latex_options_): New field.
17548 * LaTeXFeatures.C (getMacros): Add language macros.
17550 * buffer.C (makeLaTeXFile): Small fix.
17552 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17554 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17556 * text2.C: add a using directive.
17558 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17563 * lyxfunc.C: kill LyXBell.
17565 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17567 * text.C (IsBoundary): Remove the error message
17569 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17571 * lyxrc.C (setDefaults): Correct initialization value for
17574 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17576 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17579 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17580 and GotoNextNote().
17582 * src/LyXAction.C: Added reference-next.
17584 * text.C (InsertChar): Use contains instead of strchr.
17586 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17588 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17590 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17591 alignment commands (when needed).
17593 * text.C (InsertChar): Add ':' to number separator chars.