1 2005-05-07 André Pönitz <poenitz@gmx.net>
3 * cursor.[Ch] (leaveInset): new function
5 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
9 2005-05-04 Angus Leeming <leeming@lyx.org>
11 * lyxfunc.C (getStatus): disable the spell checker dialog if
12 none of USE_[AIP]SPELL are defined.
14 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
16 * tabular.C (setWidthOfCell): remove obsolete comment
18 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
20 * paragraph.C (bibitem):
21 * buffer_funcs.C (setCounter):
22 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
24 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
26 * text3.C (getStatus): immediately return after setOnOff
28 * rowpainter.C: fix drawing of appendix start
30 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
32 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
33 SwitchBetweenClasses and remove the unused return value.
34 Handle character styles, too
36 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
38 * factory.C (createInset): handle undefined character styles
40 2005-05-02 Angus Leeming <leeming@lyx.org>
42 * buffer.C: protect the #include of utime.h with a preprocessor
45 2005-05-02 Angus Leeming <leeming@lyx.org>
47 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
48 function so that suto-saving works, albeit in a blocking manner.
50 * Makefile.am: make compilation of the client sub directory, of
51 apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
52 on conditionals set at configure time.
54 * SpellBase.[Ch]: no longer an abstract base class. Instead,
55 it can be compiled in its own right but has no-op functionality.
57 * aspell.C, pspell.C: remove preprocessor guards. The files should
58 be compiled only if the necessary functionality exists.
60 * lyxserver.C, lyxsocket.C: disable on Windows.
62 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
64 * text.C (leftMargin): Fix the parindent use bug (1764)
67 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
69 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
72 2005-04-25 Angus Leeming <leeming@lyx.org>
80 include <config.h> in .C files, not .h ones.
82 protect headers inside preprocessor guards.
84 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
86 * FuncStatus.h (StatusCodes): document
88 2005-04-21 André Pönitz <poenitz@gmx.net>
90 * FuncStatus.h (enabled, onoff): document
92 2005-04-19 Angus Leeming <leeming@lyx.org>
94 * BufferView_pimpl.C (cursorToggle): no longer test whether
95 any child processes have been reaped before calling
96 handleCompletedProcesses().
98 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
100 * text3.C (dispatch): fix, finally fix, the language problem in
101 new lyxtexts, without disabling on-the-fly font changes (Helge's
104 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
106 * text3.C (dispatch): set cursor on double/triple click events
109 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
111 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
112 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
114 * rowpainter.C (paintFirst): simplify the code a little bit. In
115 particular, remove the test for secnumdepth.
116 * text.C (setHeightOfRow): only allocate space for chapter number
117 when updateCounters provided an actual label, instead of looking
118 at secnumdepth directly.
120 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
122 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
123 paragraphs when secnumdepth is large enough or, for environments,
124 when they are not the first in a sequence.
126 2005-04-17 Angus Leeming <leeming@lyx.org>
128 * buffer.C (makeLaTeXFile): replace code to manipulate a path
129 containing space and '~' characters with a call to latex_path().
131 2005-04-17 Angus Leeming <leeming@lyx.org>
133 * converter.C (convert): protect all args of convertDefault.sh
136 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * text3.C (dispatch): change the layout to "Caption" after inserting
141 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
143 * text3.C (dispatch): fix language problem in newly created
144 textinsets (and main text) in non-english docs
146 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
149 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
150 * text3.C (getStatus): disable LFUN_INSET_MODIFY
152 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
157 * rowpainter.C (getFont): Fix metrics bug introduced by inset
160 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
163 output of \item arguments without trailing text.
165 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * FontIterator.C (operator*): avoid a copy of the font.
169 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
171 * rowpainter.C (getFont): fix language bug from previous fix
173 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
175 * rowpainter.C (RowPainter, getFont): fix font inside inset
178 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
180 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
181 preventing inserted font, deco, delim insets jumping to start of
184 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * lyxfunc.C (dispatch): translate message before sending it to the
189 2005-03-29 Angus Leeming <leeming@lyx.org>
191 * lyx_main.C (priv_exec): call os::internal_path on each file passed
192 to LyX on the command line.
194 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
196 * vc-backend.C: use QuoteName to protect file names wherever
199 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
202 * BranchList.h: fix bugs 1844,1845: document settings don't
205 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * lyxrc.C (setDefaults, read, output, getDescription): add support
208 for tex_allows_spaces.
210 * exporter.C (Export): allows files in directory containing spaces
211 if tex_allows_spaces is true.
213 * buffer.C (makeLaTeXFile): if the document path contains spaces,
214 output it in double quotes.
216 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
218 * rowpainter.C: use default text height for drawing change tracker
221 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
223 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
225 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
228 directory is missing.
230 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
232 * text2.C: fixed the fix, extended to other case.
234 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
236 * text2.C: fix for cursor up/down stuck in math [bug 1792]
238 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
240 * text2.C (cursorUp): get rid of a crash
241 * text.C (x2pos): add an assert
243 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * lyxfunc.C (getStatus): fix warning when assertions are disabled
249 * dociterator.C: include <boost/current_function.hpp>, which is
250 needed when assertions are disabled.
252 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
254 * text2.C: fix for stuck cursor when traversing two
255 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
257 2005-02-25 Andreas Vox <avox@arcor.de>
259 * output_docbook.C (makeParagraph): suppress trailing newline
260 after a run of paragraphs
262 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
264 * paragraph.C: fix for confused change tracker when pasting
265 text that begins with a lineseparator. [bug 1827]
266 (setChange(0, Change::INSERTED);)
268 * paragraph_funcs.C: fix for lost changes on triple-paste
269 in change tracking mode [bug 1827] (par.setChange()).
271 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * text2.C (updateCounters, setCounter, expandLabel): move to
276 * buffer_funcs.C (updateCounters): turn into a free standing
277 function and add a buffer parameter. Remove dead code for tracking
279 (setCounter): change into a free-standing function which gets a
280 dociterator as argument. Use this iterator to fix captions in a
281 simple way. When no float is found above the caption, use the
282 labelstring of the caption layout as default.
284 * text.C (breakParagraph, backspace):
285 * text2.C (init, setLayout, changeDepth):
286 * text3.C (dispatch):
287 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
290 * dociterator.C (forwardPar): make it much faster by calling
291 forwardPos() only when really necessary.
293 * output_docbook.C (makeCommand): adapt to expandLabel move.
295 * cursor.C: remove unused variable
297 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
299 * paragraph_funcs.C: fix crash when pasting insets in change
300 tracking mode [bug 1277] (honour change type in moveItem).
302 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
304 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
306 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * BufferView.C (setCursor): change to use a DocIterator.
309 (gotoLabel): use BufferView::setCursor (other part of bug 781).
310 (putSelectionAt): adapt to BufferView::setCursor change.
312 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
313 moved here from LyXText and rewritten to use proper cursor
314 methods. Fixes bug 1787, 616 and 835.
316 * BufferView_pimpl.C (restorePosition): set the cursor correctly
317 when inside an inset (part of bug 781).
318 (dispatch): adapt to change of BufferView::setCursor.
319 (getStatus, dispatch): handle LFUN_GOTOERROR,
320 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
322 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
323 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
324 * text3.C (gotoNextInset, gotoInset): removed.
326 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
330 2005-02-15 Angus Leeming <leeming@lyx.org>
332 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
333 can be used meaningfully in a comparison.
335 2005-02-13 André Pönitz <poenitz@gmx.net>
337 * bufferview_funcs.C (coordOffset): improve cursor drawing
339 2005-02-13 André Pönitz <poenitz@gmx.net>
341 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
342 * Cursor.C (dispatch): use fixIfBroken
343 * lyxfunc.C (getStatus): use fixIfBroken
345 2005-02-15 Angus Leeming <leeming@lyx.org>
347 * lyx_main.C (error_handler):
349 * lyxrc.C (setDefaults):
351 #include "environment.h".
353 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
355 2005-02-15 Angus Leeming <leeming@lyx.org>
357 * lyxserver.C (startPipe): squash MSVC warning "local variable
358 'fd' used without having been initialized".
360 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
362 * BufferView_pimpl.C: revert accidental commit.
364 2005-02-14 André Pönitz <poenitz@gmx.net>
366 * dociterator.[Ch]: new member forwardPosNoDescent(),
367 which doesn't enter nested insets.
368 * text2.C (setFont): use forwardPosNoDescent() instead
369 of ForwardPos() (fixes crash on font change).
371 2005-02-13 Angus Leeming <leeming@lyx.org>
373 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
374 only if lyxrc.path_prefix is not empty.
376 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * bufferparams.C (readGraphicsDriver): prevent crash
380 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
382 * text2.C (setCounter): check for inInset() == 0
384 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
386 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
387 but use update() to get correct screen display; use convert
388 instead of istringstream.
389 (getStatus): handle LFUN_GOTO_PARAGRAPH
391 * lyxfunc.C (dispatch, getStatus): do not handle
392 LFUN_GOTO_PARAGRAPH here.
394 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
396 * text3.C (dispatch): size() -> depth()
398 * text2.C: remove some debug output
400 * paragraph.C: ws changes only
402 * lyxfunc.C (getStatus): size() -> depth()
404 * dociterator.h (clear, push_back, pop_back, internalData,
405 operator[], resize, empty): new functions
406 Make StableDocIterator and operator== be friends. Don't inherit
407 from std::vector use a privat class variable slices_ instead.
410 * dociterator.C: update because of not inheriting from std::vector
411 anymore. Call explictly to slices_ instead. Use depth() instead of
412 size() and top() instead of back()
414 * cursor.C: chagne size() -> depth and back() -> top(). Also
415 remove some direct operator[](i) calls in favour of foo[i]
416 (getFont): remove some dead code
418 * bufferview_funcs.C (coordOffset): size() -> depth()
420 * buffer.C: ws changes only
422 * CutAndPaste.C (eraseSelection): back() -> top()
424 * BufferView_pimpl.C (selectionRequested): back() -> top()
426 * BufferView.C (setCursor): size() -> depth()
428 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
430 * text3.C (cursorPrevious): return true if depm changed something
432 (dispatch): rename sl to oldTopSlice, remove moving use the new
433 NoUpdate func attrib instead. Make sure that needsUpdate is set
434 for function that have NoUpdate, but where depm might have changed
437 * text2.C (cursorLeft): make us return true if depm changed
440 (cursorUpParagraph): ditto
441 (curosrDownParagraph): ditto
442 (cursorUp, cursorDown): ditto, make sure to read comments in code
443 (deleteEmptyParagraphMechanism): remove an assert, also return
444 true if just a single char was deleted.
446 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
447 cursor that we modify, to avoid modifying an active cursor before
448 we call setCursor. This allows depm to run. Also return true if
449 depm deleted something.
451 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
452 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
453 cursorDownParagraph, cursorPrevious and cursorNext, return true if
454 something was changed in the buffer because of them (ie. depm run)
456 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
457 debug messages. Make update by default be false. Make sure that
458 the result of update is retained throught several calls down to
461 * LyXAction.h: add a new func_attrib: NoUpdate
463 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
464 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
465 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
467 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
469 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
472 bv_->owner(), bv_->buffer() by direct references to the private
474 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
475 (getStatus): isSavedPosition() is in BufferView::Pimpl.
476 (fitCursor): center() is in BufferView::Pimpl.
477 (getStatus, trackChanges, dispatch): no need for a temporary buf
479 (fitCursor, workAreaDispatch): use workarea().workheight()
481 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * CutAndPaste.C (pasteSelectionHelper): fix a crash
485 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
487 * buffer.C: format up to 241.
488 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
489 break if pasting into ERT
490 * lyxfunc.C (getStatus): suppress mathpanel and
491 LFUN_DIALOG_SHOW_NEW_INSET in ERT
493 2005-02-01 Angus Leeming <leeming@lyx.org>
495 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
497 2005-02-01 Angus Leeming <leeming@lyx.org>
499 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
500 calling fs::is_directory().
502 2005-01-31 Angus Leeming <leeming@lyx.org>
504 * lyx_main.C (priv_exec): specify explicitly the relative location
505 of the top level build directory when run in-place.
507 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
509 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
510 LyXText containing the cursor, not the top-level one.
512 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
514 (insertStringAsLines): rename par to pit; use temporary variable
515 par to hold a Paragraph; do not store par.layout() in a variable,
516 since the pointer may die when breaking paragraphs; pass pars to
517 breakParagraph() instead of Buffer::paragraphs().
519 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
521 * lyxlex_pimpl.h: #include <fstream>.
523 * BufferView.[Ch] (getLyXText): add a const version.
525 * BufferView_pimpl.C: add debug aids.
530 * paragraph_funcs.h: add commentary explaining what the class does.
533 * coordcache.[Ch]: add lots of commentary.
534 (startUpdating, doneUpdating): debug aids.
535 (arrays, insets, parPos, getParPos): accessors to private data.
537 * cursor_slice.[Ch] (text): add a const version.
538 * dociterator.[Ch] (text, innerText): add const versions.
540 * lyxtext.h (breakParagraph): change the keep_layout arg to a
543 * paragraph.C (getRow, pos2ros): add asserts.
545 * paragraph.h: add commentary. Lots of.
547 * paragraph.[Ch] (metrucs, draw): removed.
550 * rowpainter.[Ch]: const-correct changes.
552 * text.C: various obvious clean-ups. Removal of ancient cruft.
555 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
557 * vc-backend.C (find_file): rewrite to use boost.filesystem
560 * main.C (main): set default name check for boost.filesystem to
563 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
566 (actOnUpdatedPrefs): ditto
568 * lyx_main.C (init): rewrite to use boost.filesystem
569 (queryUserLyXDir): ditto
571 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
572 (getContentsOfAsciiFile): ditto
574 * lastfiles.C (readFile): rewrite to use boost.filesystem
576 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
578 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
581 * buffer.C (Buffer): adjust for destroydir
582 (getLogName): rewrite to use boost.filesystem
584 (save): use fs::copy_file (from fs_extras)
586 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
588 * LaTeX.C (run): rewrite to use boost.filesystem
589 (scanAuxFiles): ditto
590 (handleFoundFile): ditto
592 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
594 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
596 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
598 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
600 * lyxlayout.[Ch]: change some vars from float to double
602 * buffer.C (readFile): make a local var const
604 * Several files: use convert<> instead of atoi,strToXXX and friends
606 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
608 * LaTeXFeatures.[Ch]: Add a static list packages_ that
609 holds the contents of packages.lst. New functions getAvailable
610 and isAvailable to parse and check that list, resp.
614 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
616 * bufferparams.[Ch]: new param output_changes.
618 * Buffer.C: increase file format to 240.
619 Use output_changes and isVailable.
623 * paragraph_pimpl.C: Use output_changes and isVailable.
625 2005-01-23 Angus Leeming <leeming@lyx.org>
627 * output_latex.C: #include "insetbibitem.h", rather than
628 forward declare function bibitemWidest.
630 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
632 * lyx_main.C (init): make it compile on the Mac.
634 2005-01-20 Angus Leeming <leeming@lyx.org>
636 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
637 (setLyXMisc): (char string literal) != (char string literal) is
638 performing a comparison on the addresses. Convert one operand
639 explicitly to string to guarantee expected behaviour.
642 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
645 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
647 * output_plaintext.C: remove unneeded #include gzstream.h.
649 2005-01-20 Angus Leeming <leeming@lyx.org>
651 * SpellBase.h: rename some of the elements of the Result enum.
658 * pspell.C (check): ditto
660 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
662 * buffer.C: add #include <fstream>.
664 * lyx_main.C (init): Compile fix.
666 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
668 2005-01-20 Angus Leeming <leeming@lyx.org>
670 * mover.h: change commentary to reflect the changed meaning of
673 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * output_linuxdoc.C (linuxdocParagraphs): silence warning
677 * lyxfind.C (MatchString::operator()): remove bogus semicolon
679 2005-01-20 Angus Leeming <leeming@lyx.org>
681 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
682 printing diagnostic data by not dereferecing an iterator past the
685 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
687 * buffer.C (readHeader): use "&&" rather than "and".
689 * lyxserver.h (inPipeName, outPipeName): make these const.
691 2005-01-19 Angus Leeming <leeming@lyx.org>
693 * lyx_main.C (error_handler, init): protect SIGHUP with
694 #ifdef SIGHUP guards.
696 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
700 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
702 * text.C (setHeightOfRow): add a margin at the top and bottom of
703 the document (bug 1761)
705 2005-01-17 Angus Leeming <leeming@lyx.org>
707 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
708 with "python ". Workaround for a brain-dead Windows.
710 2005-01-16 Angus Leeming <leeming@lyx.org>
712 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
713 for MacOSX and Windows to use prependEnvPath.
714 Strip out the hard-coded block to add elements to the PATH for
715 MacOSX and replace it with a call to prependEnvPath using the
716 contents of LyXRC::path_prefix.
717 (queryUserLyXDir): strip out the code to run reconfigure, instead
718 returning a boolean indicating the necessity to do so.
719 (reconfigureUserLyXDir): contains the code to reconfigure the
720 user support directory. Is now called after the various LyXRC data
721 files have been read.
723 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
725 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * converter.[Ch] (convert): take a new parameter try_default. Use
728 a default converter (imagemagick) if try_default is true.
730 2005-01-13 Angus Leeming <leeming@lyx.org>
732 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
734 (write): output LyXRC::cygwin_path_fix as necessary.
736 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
739 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
741 2005-01-12 Angus Leeming <leeming@lyx.org>
743 * lyx_main.C (init): set the PATH variable to include the
744 directory containing the LyX binary when running on Mac or Windows.
746 2005-01-12 Angus Leeming <leeming@lyx.org>
748 * lyx_main.C (init): remove cruft that purports to set the locale
749 dir. It doesn't and is not needed anyway.
751 2005-01-10 Angus Leeming <leeming@lyx.org>
753 * Makefile.am: remove the lyx_main.C special casing.
755 * BufferView_pimpl.C:
761 * messages.C: use support/package.h to provide the paths to the
762 various directories used by LyX.
764 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
766 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
767 layout if pasting into an empty paragraph)
769 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
771 * tex-accent.C: add <string>
773 2005-01-06 José Matos <jamatos@lyx.org>
775 * ParagraphParameters.C (write): put every parameter in its own line.
776 * paragraph.C (write): reduce number of consecutive empty lines exported.
777 * buffer.C (LYX_FORMAT): increase file format to 239.
779 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
781 * everywhere: change support/tostr.h -> support/convert.h
783 * tabular.C: make all write_attributes templates, tostr -> convert
785 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
786 (emptyTag): and -> &&, and fix type for ret from getChar
787 (getFirstWord): fix type for ret from getChar
788 (onlyText): and -> &&
789 (simpleDocBookOnePar): and not -> && !, fix type for ret from
792 * toc.C (goTo, action):
793 * text3.C (dispatch):
794 * text.C (currentState):
795 * tex-accent.C (DoAccent):
798 * lyxfunc.C (menuNew):
799 * lyxfinc.C (replace):
800 * counters.C (laberItem):
801 * bufferview_funcs.C (font2string):
802 * bufferparams.C (writeFile):
803 * buffer.C (readFile):
805 * MenuBackend.C: tostr -> convert
807 * LaTeX.C (runMessage): fix format
808 (scanAuxFiles): tostr -> convert
810 * BufferView_pimpl.C (savePosition): fix format
811 (restorePosition): ditto
814 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
816 * Spacing.[Ch]: New method getValueAsString().
820 * ParagraphParameters.C:
823 * text3.C: store/read spacing value as string.
825 * rowpainter.C: change float value (spacing_val) to double.
827 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
828 broken custom document spacing).
830 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
832 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
833 namespace, also more use of temp references and const
835 * cursor.[Ch] (getStatus): move to lyxfunc.C
837 * bufferparams.C: reformat slightly
839 * bufferview_funcs.C (font2string): constify arg
845 * buffer_funcs.C: (many funcs): constify arg on function
846 definitions, also make more local vars const, also add ASSERTS on
849 * buffer.C (LYX_FORMAT): put const in correct place
850 (many funcs): constify arg on function definitions, also make
851 more local vars const
853 * aspell_local.h: remove "struct" from typdef setup
855 * aspell.C (check): make word_ok const
856 (nextMiss): simplify slightly
859 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
861 * lyxrc.[Ch]: store all float values as strings.
862 use int (not float) for lyxrc.dpi.
864 2005-01-04 Angus Leeming <leeming@lyx.org>
866 * lyx_cb.C (Reconfigure):
867 * lyx_main.C (queryUserLyXDir):
868 to run the <system_lyxdir>/configure correctly on Windows, prefix
869 the path to the script with "sh " when generating the string that
870 is passed to system().
872 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
874 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
876 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * lyxlength.C (asLatexString): get rid of setprecision
880 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * text2.C (setLayout): remove unused variable endpit.
883 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
885 * paragraph.C (onlyText): remove unused variable style.
887 * cursor.C (bruteFind): remove unused variables beg and end.
889 * Makefile.am (dist_noinset_DATA): not needed anymore
891 * cheaders/*: remove.
893 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
895 * text3.C: fix LFUN_MATH_MODE.
897 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * buffer_funcs.C (countWords): new function. Counts words between
902 * BufferView_pimpl.C (getStatus, dispatch): handle
905 * LyXAction.C (init):
906 * lfuns.h: add LFUN_WORDS_COUNT.
908 2004-12-19 Angus Leeming <leeming@lyx.org>
910 * buffer.C (save): s/slashify_path/internal_path/.
912 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
914 * lyxfind.C (findChange): do not search for end of pars, because
915 the change tracker cannot handle this (fixes bug 1719).
917 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
919 * paragraph.[Ch] (autoBreakRows): remove
921 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
923 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
924 avoid using the paragraph one
926 * text2.C (LyXText, insertStringAsLines): adjust
928 2004-12-16 Angus Leeming <leeming@lyx.org>
932 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
934 2004-12-14 Angus Leeming <leeming@lyx.org>
936 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
938 * bufferlist.C (emergencyWrite):
939 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
942 2004-12-14 Angus Leeming <leeming@lyx.org>
944 * main.C: (main): no longer pass pointers to os::init.
946 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
948 * undo.C (textUndoOrRedo): simplify logic, fix a crash
949 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
951 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
954 * text3.C: remove selection_possible global flag
956 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
958 * text2.C (getSelectionSpan): remove
959 (changeDepth, changeDepthAllowed): adjust
961 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
963 * Makefile.am (BOOST_LIBS): use boost variables
965 2004-12-03 José Matos <jamatos@lyx.org>
967 * buffer.C: format up to 238.
969 2004-12-03 José Matos <jamatos@lyx.org>
971 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
973 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
975 * cursor.C (goUpDown): remove call to idxUpDown2
977 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
979 * tabular.[Ch]: use size_t-like types for cell, row and column
982 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
984 * lyxfunc.C (getStatus): do not lose previous information when
985 calling BufferView::getStatus; do not set a default "Command
986 disabled" message at the beginning, but just before returning.
988 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
990 * cursor.h (getStatus): add better comment from src/cursor.C
992 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * text3.C (getStatus): return false when the lfun is not handled
996 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
998 * broken_headers.h: remove
1000 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1002 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1004 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1005 offset_ref accessors
1007 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1008 top_y_, merge fitcursor with update
1009 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1011 (metrics): introduce
1012 (workAreaDispatch): adapt to new coord scheme
1013 (redoCurrentBuffer): remove
1015 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1017 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1020 * coordcache.[Ch]: add paragraph cache and helpers
1022 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1025 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1026 (targetX, setTargetX): introduce
1028 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1029 baseline -> ascent, as the rest of lyx
1031 * lyxtext.h: remove redoParagraphs, updateParPositions,
1032 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1033 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1034 have ascent/descent (ascent is ascent of first par)
1036 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1039 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1041 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1043 * pariterator.C: fix infinite loop introduced in par->pit renaming
1045 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1046 in insets and LyXText, draw two off-screen paragraphs using
1047 NullPainter, and adapt to new coord scheme
1051 * text3.C: adapt lfun handlers to the new coord scheme, which
1052 means: there's only guaranteed coord information for onscreen pars
1053 plus one above and one below. This implies that one can do search
1054 from y coordinates in the range [-1,workHeight]
1056 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1058 * rename a lot of InsetOld to InsetBase
1060 2004-11-25 Angus Leeming <leeming@lyx.org>
1062 * BufferView_pimpl.C:
1064 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1066 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1069 call BufferView::getStatus if LCursor::getStatus did nothing
1070 (setStatusMessage, getStatusMessage): removed.
1072 * FuncStatus.C (message): new methods. Used to provide an error
1073 message indicating why a command is disabled.
1074 (clear, |=, FuncStatus): update for message.
1076 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1078 * lyxfunc.C (dispatch): always call sendDispatchMessage
1080 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1083 * BufferView_pimpl.C:
1088 * cursor_slice.[Ch]:
1091 * paragraph_funcs.C:
1097 * undo.C: par->pit renaming
1099 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1101 * tabular.C (cellstruct): use initialization, store a shared_ptr
1102 to insettext instead of the insettext directly, adjust to fit.
1103 (operator=): new function
1104 (swap): new function
1105 (rowstruct): use initialization
1106 (columnstruct): use initialization
1107 (ltType): use initialization
1110 * lyxlength.h (swap): new function
1112 * LColor.[Ch] (operator=): use the common semantics
1114 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1116 * lyxfind.C (findNextChange): update the bufferview after setting
1119 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1121 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1122 number of InsetOptArgs has already been inserted.
1124 * output_latex.C (latexOptArgInsets): new method. This outputs all
1125 the optarg insets, up to the limit defined in the layout file.
1126 (optArgInset): removed
1127 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1129 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * paragraph.C (isLetter): remove special spellchecker-related
1132 code; return true also for digits
1133 (isWord, isKomma): remove
1135 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1136 * lyxfind.C (MatchString()): use isLetter instead of isWord
1138 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1140 * pariterator.h (operatir=): comment out un-implemented member
1143 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1146 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1148 * lyxfont.h: include LColor.h to satisfy concept checks.
1150 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1152 * pariterator.h: add typdefs for value_type, difference_type,
1153 pointer and reference to satisfy concept checks. Also add default
1154 constructor for same reason.
1156 * pariterator.C (operator++): add post-increment operator to
1157 satisfy concept checks.
1159 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1162 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1164 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1165 checks. Also rename base_type to BaseType to follow naming
1168 * FloatList.h: include Floating.h to satisfy concept checks.
1170 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * lyxfunc.C (getStatus): when the origin of the request is menu or
1173 toolbar, and the LyXView does not have focus, do as if there was
1174 no buffer (bug 1720)
1176 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1177 FuncRequest to individual entries of LFUN_SEQUENCE
1179 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * output_latex.C (TeXOnePar): override runparams.moving_arg
1182 according to the needprotect value of the current paragraph (bug
1185 * paragraph.C (simpleTeXOnePar): no need to override
1186 runparams.moving_args here
1188 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1190 * vspace.C: fix off-by-one-error, related to fix #1682
1192 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1194 * lengthcommon.C: a more general fix for bug 1682
1196 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1198 * text.C (backspace): fix crash
1200 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1202 * format.[Ch] (getFormatFromFile): new method
1203 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1205 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1207 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1209 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * lyxfunc.C (dispatch): remove the verbose argument
1212 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1215 * kbmap.C (defkey): set the origin of func to KEYBOARD
1217 * MenuBackend.C (MenuItem):
1218 * ToolbarBackend.C (add): set the origin of func to UI
1220 * funcrequest.[Ch]: add origin member, which indicates which part
1221 of LyX requests an action
1223 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1225 * converter.C (move): don't lie in the error message
1226 * converter.h (isReachable, move): document
1228 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1230 * buffer.C: remove unused using lyx::support::atoi
1231 * paragraph_funcs.C: ditto
1233 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1235 * bufferlist.C (exists): use bind and equal_to instead of
1238 * lyxtextclasslist.C (NumberOfClass): ditto
1240 * cursor.C (insert): use for_each instead of explicit for loop
1242 * bufferlist.C (getFileNames): use std::transform and
1243 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1245 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1248 * buffer.C (changeLanguage): use for_each instead of explicit for
1250 (hasParWithID): implement using getParFromID
1252 * LaTeXFeatures.C: ws change only
1254 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1257 * BufferView_pimpl.C (trackChanges): use for_each instead of
1260 2004-11-04 André Pönitz <poenitz@gmx.net>
1263 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1265 * dociterator.C (asDocIterator): use hard assert again.
1267 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1269 * lyxlength.C (asLatexString): rewrite so that it does not use
1272 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1274 * text3.C (specialChar, dispatch): make sure cursor moves to the
1275 right after inserting an inset
1277 2004-11-02 José Matos <jamatos@lyx.org>
1279 * output_docbook.C (docbook):
1280 * paragraph.C (getID):
1281 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1282 garantee that the output is always legal.
1284 * tabular.C (docbook):
1285 * outputprams.[Ch]: remove mixed contents.
1287 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1289 * text2.C (setCounter): prevent endless loop
1291 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1293 * exporter.C (copyFile): use the mover instead of support::copy()
1294 * exporter.C (Export): pass format and latex name to copyFile()
1295 * exporter.h (addExternalFile): document
1296 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1298 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1300 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1302 2004-10-30 José Matos <jamatos@lyx.org>
1304 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1305 text and no inset or font change. This allows to use CDATA
1306 sections just for the whole paragraph.
1308 2004-10-30 José Matos <jamatos@lyx.org>
1310 * paragraph.C (getFirstWord): remove unused variable.
1312 2004-10-30 José Matos <jamatos@lyx.org>
1314 * paragraph.C (getFirstWord): the content should always be escaped
1316 (simpleDocBookOnePar):
1317 * output_docbook.C (makeEnvironment): replace reference to CDATA
1320 2004-10-30 José Matos <jamatos@lyx.org>
1322 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1324 2004-10-30 José Matos <jamatos@lyx.org>
1326 * output_docbook.C (makeParagraphs):
1327 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1328 standard paragraph has only a given type of content drop the wrapper.
1330 2004-10-29 José Matos <jamatos@lyx.org>
1332 * output_docbook.C (makeEnvironment):
1334 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1336 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1338 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1339 (cleanID): sanitize any id.
1341 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1343 * buffer.C, lyxlex_pimpl.C:
1344 * lyxlex_pimpl.C (setFile):
1345 s/getExtFromContents/getFormatFromContents/
1347 2004-10-28 José Matos <jamatos@lyx.org>
1349 * output_docbook.C (makeEnvironment): move id to broadest possible
1352 * sgml.C (openTag): apply substitution of <> for all attributes.
1354 2004-10-28 José Matos <jamatos@lyx.org>
1356 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1357 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1358 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1360 * sgml.[Ch]: new version for open and closeTag for paragraph and
1361 for strings. Now they handle the ids of paragraphs.
1363 2004-10-26 Angus Leeming <leeming@lyx.org>
1365 * Makefile.am: add mover.[Ch].
1367 * converter.C (convert, move): use the new Movers to move external
1368 files to the temp directory.
1370 * lyx_main.C (init): ensure that the global system_movers data
1373 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1376 * mover.[Ch]: new files, defining a Mover as a utility to move an
1377 external file between directories and, if necessary, manipulate this
1378 file using a helper script.
1380 2004-10-25 José Matos <jamatos@lyx.org>
1382 * output_docbook.C (makeCommand): merge two if's that tested the
1385 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1387 * sgml.C (escapeString): fix warning in a better way
1389 2004-10-25 José Matos <jamatos@lyx.org>
1391 * sgml.C (escapeString): import the require boosts header file for
1392 tie, and avoid a signed unsigned comparison.
1394 2004-10-25 José Matos <jamatos@lyx.org>
1396 * sgml.h: add #include <string>
1398 2004-10-25 José Matos <jamatos@lyx.org>
1400 * sgml.[Ch] (escapeString): new function to escape all the string.
1402 2004-10-24 José Matos <jamatos@lyx.org>
1404 * paragraph.[Ch] (getFirstWord): new function to get the first
1405 word. Useful for description.
1406 (simpleDocBookOnePar): remove depth argument, add another that
1407 says where to start the paragraph.
1409 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1410 use the new functions to fix cleanly the support for descriptions.
1412 2004-10-24 José Matos <jamatos@lyx.org>
1414 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1415 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1416 * output_linuxdoc.C (linuxdocParagraphs):
1417 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1418 add buffer as argument.
1420 2004-10-24 José Matos <jamatos@lyx.org>
1422 * output_docbook.C (makeEnvironment, searchEnvironment): place
1423 CDATA inside paragraphs and fix scope for listitems.
1425 2004-10-24 José Matos <jamatos@lyx.org>
1427 * output_docbook.C: remove using statement for stack.
1429 2004-10-23 José Matos <jamatos@lyx.org>
1431 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1432 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1433 docbook. The new scheme is recursive and makes use of iterators, the
1434 same as latex export works.
1435 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1436 directly with the paragraph contents. This code was moved up to
1437 output_docbook.C (docbookParagraphs).
1438 * sgml.C (openTag, closeTag): removed unneeded newlines.
1439 (closeEnvTags) removed.
1441 2004-10-23 André Pönitz <poenitz@gmx.net>
1443 * undo.C (textUndoOrRedo):
1444 * dociterator.C (asDocIterator): work around crash
1446 * cursor.C (getStatus): replace ASSERT by more verbose error message
1447 and manual correction of the problem. Should increase stability
1448 while providing more sensible information.
1450 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1452 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1454 * bufferlist.C (previous, next): new methods
1457 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1459 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1461 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1462 entities to preamble.
1464 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1466 * messages.C (Pimpl): strip off translation context information
1468 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1470 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1471 the cursor is correct (bug 1694)
1473 2004-10-13 José Matos <jamatos@lyx.org>
1475 * output_docbook.C (docbookParagraphs): fix closing tags in the
1476 end of the document.
1478 2004-10-09 José Matos <jamatos@lyx.org>
1480 * buffer.C: format up to 237.
1481 * bufferparams.C (write): use tostr to convert booleans to strings.
1483 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1485 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1487 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1489 * LaTeX.C: implement use of babel language in xindy.
1491 2004-10-05 José Matos <jamatos@lyx.org>
1493 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1494 Add new translators to help reading and writing the lyx file.
1496 2004-10-05 José Matos <jamatos@lyx.org>
1498 * ParagraphParameters.C (read):
1499 * text.C (readParToken): replace nexToken by more appropriate lex
1502 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1504 * LaTeX.C (runMakeIndex):
1505 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1506 (usually 'makeindex') configurable.
1508 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1509 with a variable rather than with a number.
1511 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1513 * output_latex.C (TeXOnePar): make sure font setting is the first
1514 thing that gets output (and the last at the end). Should fix bug
1517 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1519 * pch.h: use proper signal include
1521 * LaTeX.h: Use preferred calling of Boost.Signal
1524 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1526 * pch.h: dont include <boost/function/function0.hpp>
1528 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1530 * paragraph_pimpl.h: remove usage of ShareContainer
1532 * paragraph_pimpl.C: remove initialization of ShareContainer.
1534 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1538 * BufferView.C (putSelectionAt): change the semantics when
1539 backwards == true: now, this just swaps cursor and anchor wrt the
1542 * BufferView.h (putSelectionAt): add some documentation
1544 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1545 make sure backwardChar is done at least once (to avoid getting
1547 (findNextChange): use putSelectionAt in the forward direction
1548 (operator()): use Paragraph::isWord
1550 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1552 * Spacing.C (set): c_str fix
1554 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * lyx_cb.C (Reconfigure): quote the name of configure script in
1557 case it contains spaces
1559 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1563 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1564 (BOOST_LIBS): use top_buildir when looking for the file
1566 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1568 * pch.h: do not use include boost/format.hpp, multiple symbols
1569 will result (gcc bug)
1572 2004-08-23 José Matos <jamatos@lyx.org>
1574 * bufferparams.C (readToken): fix reading of the author field.
1576 2004-08-20 José Matos <jamatos@lyx.org>
1578 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1580 2004-08-20 José Matos <jamatos@lyx.org>
1582 * lyxlex.[Ch] (findToken): remove function.
1584 * ParagraphParameters.C (findToken):
1585 * bufferparams.C (findToken): replace call for previous function
1586 with local copy. This local function has one more argument, the
1587 read string argument.
1589 2004-08-16 José Matos <jamatos@lyx.org>
1591 * ParagraphParameters.C (write):
1592 * Spacing.C (writeFile):
1593 * bufferparams.C (writeLaTeX):
1594 * lyx_cb.C (Reconfigure):
1595 * paragraph.C (write):
1596 * tabular.C (write): remove unnecessary space at end of line.
1599 2004-08-16 José Matos <jamatos@lyx.org>
1601 * text.C (readParagraph): remove debug message.
1603 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1605 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1608 * output_plaintext.C (asciiParagraph): set depth correctly
1610 * outputparams.h: add member depth
1612 * paragraph_funcs.C (ownerPar): remove.
1614 * text2.C (setCounter): remove first_pit; comment out some
1615 non-working code that uses ownerPar
1617 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1620 2004-08-16 José Matos <jamatos@lyx.org>
1622 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1623 For the same level of importance use the same chanel to report problems.
1624 (read): add code to deal with \begin_body and \end_body.
1627 2004-08-15 José Matos <jamatos@lyx.org>
1629 * lyxlex.C (getString): fix comment, buffer::readBody is now
1630 buffer:readDocument.
1632 * tex-strings.C (string_papersize): Default -> default,
1633 Custom -> custom, for consistency with other options.
1635 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1639 * Makefile.am: support pch
1641 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1643 * text.C (readParToken): remove the static LyXFont variable and
1644 pass it as a parameter instead. This fixes a nasty bug where an
1645 inset will be inserted with a bad font in some situations
1646 (readParagraph): adapt
1648 * text2.C (setCounter): reduce number of calls to pars_[pit]
1650 * text.C (singleWidth): add an assert, fix a test
1652 * rowpainter.C (paintText): reduce number of calls to singleWidth
1654 * paragraph.C (isHfill):
1655 (isNewline): ws only
1657 2004-08-14 André Pönitz <poenitz@gmx.net>
1662 * lyxtext.h (several functions): use a Paragraph & argument
1665 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1667 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1669 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1671 * text.C (singleWidth): remove useless test
1673 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1675 * tabular.h: remove bogus comments
1677 * tabular.C (getDescentOfRow):
1678 (isPartOfMultiColumn): add assertions
1680 * lyxlength.C (inPixels): remove #warning
1682 2004-08-14 André Pönitz <poenitz@gmx.net>
1684 * paragraph.h: inline getChar()
1686 * BufferView.h: remove unused declarations
1688 2004-08-14 José Matos <jamatos@lyx.org>
1690 * Buffer.[Ch] (readDocument): new name for old readBody.
1691 * Buffer.C: new file format, new keywords: \begin_document,
1692 \begin_header, \begin_body, \end_body.
1694 * bufferparams.C (readToken): replace all calls to lex.nextToken
1695 by lex.next(). Do the same to eatLine except where really needed.
1697 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1698 line when writing to the lyx file.
1700 * output_plaintext.C (asciiParagraph): fix Bibliography style
1703 * text.C (read): fix end of file handling.
1705 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * MenuBackend.C (Menu::operator[]): new method to access
1708 individual menu items
1709 (Menu::hasFunc): new method. search for an item that corresponds
1711 (MenuBackend::specialMenu): new method
1712 (MenuBackend::expand): if a special menu has been set, skip
1713 entries whose func() appears in this menu
1715 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1717 * text3.C: use Debug::DEBUG a bit more
1719 * text.C (leftMargin): try to simplify a tiny bit change var x to
1720 l_margin. Dont output the wide margins always.
1721 (rightMargin): no margin in inner texts
1723 * rowpainter.h (nestMargin): new func
1724 (changebarMargin): new func
1725 (rightMargin): new func
1727 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1731 * factory.C (createInset): modify setDrawFrame
1733 * cursor.C: use Debug::DEBUG a bit more
1735 2004-08-14 André Pönitz <poenitz@gmx.net>
1738 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1739 cache for all insets in (at least partially) visible (top-level)
1742 * BufferView_pimpl.C: reset external coord cache before every update.
1743 This means the coord cache only contains valid entries.
1745 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1748 * BufferView_pimpl.C (getInsetByCode): move function out of class
1749 and change in to a template in anon namespace. Also fix to do what
1752 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1755 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1757 (breakParagraph): rename par to par_offset and use a local
1758 reference. Add code to keep the language over a rebreak.
1759 (breakParagraphConservative): rename par to par_offset, use a
1761 (mergeParagraph): ditto
1763 (isFirstInSequence): ditto
1764 (outerFont): rename pit to par_offset
1766 * paragraph.C: ws change
1767 * paragraph.h: ditto
1771 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1773 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1776 * paragraph.C (simpleTeXOnePar): when we have a \item with
1777 optional argument, enclose the argument with curly brackets (in
1778 case it contains a closing square bracket)
1782 * text3.C (checkInsetHit): constify
1784 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1786 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1787 documents (bug 1629)
1789 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1791 Fix toggling of collapsable insets with the mouse (bug 1558)
1793 * lyxfunc.C (dispatch): adapt to LCursor changes
1795 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1796 make sure that dispatch is not invoked twice
1798 * cursor.C (needsUpdate): new method
1799 (dispatch): return void
1800 (result): new method, to access the DispatchResult of the cursor.
1802 2004-08-13 José Matos <jamatos@lyx.org>
1804 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1806 2004-08-13 André Pönitz <poenitz@gmx.net>
1808 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1810 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1813 2004-08-12 André Pönitz <poenitz@gmx.net>
1815 * text3.C: take out the 'cursor right' form insertInset and only
1816 do it in those places when it is really needed. Fixes crash on
1819 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1821 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1823 * BufferView_pimpl.C (setBuffer): initialize the current font of
1824 the underlying LyXText
1826 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * kbsequence.C (print): use UI native formatting for menu
1831 * text.C (insertChar): call Paragraph::insertChar with a font
1834 * paragraph.C (insertInset, insertChar): the version that takes a
1835 LyXFont argument is now a wrapper around the other one (the
1836 opposite used to be true).
1838 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1839 argument. Font setting is done in Paragraph now.
1841 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * outputparams.h: add new members intitle and lang.
1845 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1846 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1848 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1850 * text3.C (dispatch): remove special handling of button 4 and 5,
1851 it is now taken care of in the frontend code.
1853 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1855 * Spacing.h: add <string> (STLPort compile fix)
1857 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1859 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1861 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1863 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1866 * converter.C (showMessage): inherit from unary_function, make
1869 * buffer.C (writeFile): initialize retval
1871 * InsetList.h: rename private variable list to list_
1872 * InsetList.[Ch]: adjust accordingly.
1874 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1876 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1877 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1878 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1879 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1880 * ParagraphParameters.C, LaTeXFeatures.C: replace
1881 "support/std_sstream.h" with <sstream>
1883 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1885 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1886 * lyxsocket.C (LyXServerSocket): ditto
1887 (serverCallback): ditto
1889 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1891 * LaTeXFeatures.C: check release date when loading jurabib.
1893 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1895 * lyxserver.C (startPipe): call register_socket_callback
1896 (endPipe): call unregister_socket_callback
1898 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1900 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1901 (LyXServerSocket): register the callback
1902 (LyXServerSocket): unregister the callback
1903 (fd): delete function
1904 (serverCallback): improve error checking and setup the callbacks.
1905 (dataCallback): change arg to fd.
1906 (writeln): new func (copied fro the client socket) used for server
1908 (LyXDataSocket): simplify
1909 (~LyXDataSocket): close ann unregiser callback
1910 (server): delete function
1911 (fd): delete function
1912 (readln): small changes, improve some std::string usage
1913 (writeln): constify a bit
1915 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1920 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1922 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1923 after it has been populated
1925 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1927 * text2.C (insertInset): move cursor when inserting inset.
1929 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1931 * kbmap.C (findbindings): a couple of new methods. returns a
1932 container of kb_sequence objects. The real work is done by the
1933 private recursive version
1934 (printbindings): uses findbindings to print out a bracketed list
1935 of bindings (renamed from findbinding).
1937 * MenuBackend.C (binding): use kb_keymap::findbindings
1939 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1941 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1943 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1945 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1947 * paragraph.C (isWord): return true on insets that report
1950 * text.C (getWord): use Paragraph::isWord to decide what is in a
1951 word and what is not; fix bug 1609.
1953 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1955 * tex-strings.C: add "none" to string_paperpackages[], fixes
1956 off-by-one-error in the paperpackage selection.
1959 * tex-strings.[Ch]: char const * string[n]
1960 -> char const * const string[]
1962 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1964 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1965 command, return early.
1967 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1969 * debug.h: add DEBUG to enum and fix size of ANY.
1971 * debug.C: add support for Debug::DEBUG
1972 (showTags): cast errorTags.level to unsigned int
1974 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1975 (redoCurrentBuffer): ditto
1976 (updateScrollbar): ditto
1977 * cursor.C (dispatch): ditto
1978 * text2.C (setLayout): ditto
1980 (updateCounters): ditto
1982 (deleteEmptyParagraphMechanism): ditto
1984 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1986 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1987 annotations to cleanup the Makefile slightly.
1989 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1991 * lyxrc.C: do not set user_email to a default value but use empty
1992 instead. The entry used to be translated, which does not work
1993 since at the point where lyxrc is constructed there is no
1994 translation service available
1996 * messages.C (getLocaleDir): remove and use directly
1997 lyx_localedir() instead
1999 2004-06-02 Angus Leeming <leeming@lyx.org>
2001 Fix crash caused by dereferencing null pointer 'exportdata' in
2002 OutputParams by creating a new ExportData variable on the heap,
2003 storing it in a boost::shared_ptr.
2004 The crash was triggered when generating an Instant Preview
2005 of an external inset.
2007 * Makefile.am: add outputparams.C
2009 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2010 (c-tor): allocate memory to it.
2012 * exporter.C (c-tor): associated changes.
2014 2004-06-01 Angus Leeming <leeming@lyx.org>
2016 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2017 contains data before calling isInset(0). (Bug 1513.)
2019 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2021 * exporter.C (checkOverwrite): new method
2022 * exporter.C (copyFile): new method
2023 * exporter.C (Export): copy referenced files to the document dir
2024 * exporter.[Ch]: new class ExportedFile
2025 * exporter.[Ch]: new class ExportData. Contains currently the
2026 names of referenced external files
2027 * outputparams.h: add exportdata member.
2029 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2031 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2034 2004-05-19 Angus Leeming <leeming@lyx.org>
2039 * lyxfunc.C: small changes due to the introduction of namespace
2040 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2042 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2044 * text3.C (dispatch): supress update when only moving the cursor
2045 * cursor.C (selHandle): remove commented code
2047 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2049 * paragraph.C (startTeXParParams): correct column count
2050 * CutAndPaste.C (pasteSelection): remove const_cast
2051 * output_docbook.C (docbookParagraphs): remove const_cast
2052 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2053 const_cast and return ParagraphList::const_iterator
2054 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2055 * output_plaintext.C (writeFileAscii): remove const_cast
2056 * paragraph.[Ch] (simpleTeXOnePar): make const
2057 * paragraph_funcs.C (outerPar): use const iterators
2058 * paragraph_pimpl.C (validate): use const iterators
2059 * text.C (setHeightOfRow): use const iterators
2061 2004-05-17 Angus Leeming <leeming@lyx.org>
2064 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2066 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2067 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2068 if the citation engine has changed.
2070 2004-05-14 José Matos <jamatos@lyx.org>
2072 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2073 if the textclass does not provide it. Have it different for sgml and
2075 support the language of document.
2076 * output_docbook.C (docbookParagraphs):
2077 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2078 first anchor as the id of the paragraph, remove special case code.
2079 * sgml.C (escapeChar): escape only < & >.
2081 2004-05-14 Angus Leeming <leeming@lyx.org>
2083 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2084 dependencies on src/frontends/controllers/biblio.h. Define a
2085 CiteEngine_enum wrapper class to enable the enum to be forward
2088 2004-05-12 Angus Leeming <leeming@lyx.org>
2090 * buffer.C: up LYX_FORMAT to 234.
2091 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2092 use_numerical_citations with a single biblio::CiteEngine cite_engine
2094 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2096 2004-05-13 José Matos <jamatos@lyx.org>
2099 * converter.C (Converter, readFlags): add xml member.
2100 * outputparams.h: add XML flavor.
2101 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2103 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2105 * lyxfunc.C (dispatch):
2106 (getStatus): fix handling of LFUN_SEQUENCE
2108 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * debug.C (showLevel): do not forget the end-of-line marker
2112 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2114 * kbmap.C (read): do not stop parsing a bind file when an error
2117 2004-04-29 Angus Leeming <leeming@lyx.org>
2122 * text2.C: wrap a bunch of #warning statements
2123 inside #ifdef WITH_WARNINGS blocks.
2125 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2127 * buffer.C: increment format to 233.
2129 2004-04-28 Angus Leeming <leeming@lyx.org>
2131 * BufferView_pimpl.C:
2134 s/updateToolbar()/updateToolbars()/
2135 s/Toolbar.h/Toolbars.h/
2137 2004-04-28 Angus Leeming <leeming@lyx.org>
2139 * BufferView.[Ch] (c-tor):
2140 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2141 No longer passes these data to the WorkArea generator.
2143 2004-04-28 Angus Leeming <leeming@lyx.org>
2145 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2147 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2149 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2151 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * output_latex.C (TeXEnvironment): make sure that there is a line
2154 break before \end{foo} for the last paragraph of a document
2155 (TeXOnePar): if the paragraph is at the end of the document (or
2156 inset) and the language has to be reset, then make sure that the
2157 line break is _before_ the language command, not after (fixes bug
2158 1225); also make sure that the language reset command is the first
2159 thing after the paragraph (to ensure proper nesting of
2160 environments and thus fix bug 1404)
2162 2004-04-21 John Levon <levon@movementarian.org>
2165 * ToolbarBackend.C: make "name" be a programmatic name
2166 and a gui_name field.
2168 * lyxfunc.C: display the minibuffer on M-x
2170 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2175 2004-04-19 Angus Leeming <leeming@lyx.org>
2177 * BufferView_pimpl.C (setBuffer): changed preview interface.
2179 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2182 2004-04-19 John Levon <levon@movementarian.org>
2184 * BufferView_pimpl.C:
2185 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2187 2004-04-05 Angus Leeming <leeming@lyx.org>
2189 * text.C (redoParagraphs): add call to updateCounters(), thereby
2190 fixing the missing "Figure #:" label from the caption of a
2193 2004-04-13 Angus Leeming <leeming@lyx.org>
2195 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2196 cursor is clicked out of an inset.
2198 2004-04-13 Angus Leeming <leeming@lyx.org>
2200 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2201 than an InsetOld one.
2203 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2205 * format.[Ch]: add editor to Format
2206 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2207 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2209 2004-04-08 André Pönitz <poenitz@gmx.net>
2211 * metricsinfo.h: remove PainterInfo::width member
2213 2004-04-08 Angus Leeming <leeming@lyx.org>
2215 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2216 "\providecommand" rather than "\newcommand", thereby preventing
2217 clashes with packages that define "\boldsymbol" themselves.
2220 2004-04-08 Angus Leeming <leeming@lyx.org>
2222 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2223 thereby squashing an unnecessary warning.
2225 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2227 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2230 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2232 * BufferView.C (setCursor): call redoParagraph (some insets could
2234 (putSelectionAt): remove the 'double update' trick
2236 * BufferView_pimpl.C (fitCursor): call refreshPar
2237 (workAreaDispatch): remove an uneeded update call
2238 (dispatch): remove some manual update calls
2240 * cursor.[Ch]: remove cached_y_, updatePos
2241 (selHandle): set noUpdate when appropriate
2243 * lyxfunc.C (dispatch): track if we need an update
2245 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2247 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2248 (paintSelection): cheap optimization, do not call cursorX when not
2250 (paintPars): change signature
2253 (paintTextInset): adjust
2257 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2259 * lengthcommon.C: compilation fix: remove explicit array size from
2260 unit_name[] and friends
2262 2004-04-05 Angus Leeming <leeming@lyx.org>
2264 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2266 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2267 present only for the preferences dialog.
2268 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2270 2004-04-05 Angus Leeming <leeming@lyx.org>
2272 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2273 to enable the frontends to export changes to lyxrc correctly.
2275 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2277 2004-04-07 André Pönitz <poenitz@gmx.net>
2279 * cursor.[Ch] (selClear, adjust): remove math
2281 * cursor_slice.C: more agressive assert
2284 * BufferView_pimpl.C: rework mouse event dispatch
2291 2004-04-05 André Pönitz <poenitz@gmx.net>
2293 * cursor.[Ch] (valign, halign...): remove unneeded functions
2295 2004-04-05 Angus Leeming <leeming@lyx.org>
2297 * lyxlength.[Ch] (unit_name et al.): const-correct.
2299 2004-04-05 Angus Leeming <leeming@lyx.org>
2301 * BufferView_pimpl.C:
2310 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2312 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2314 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2316 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2318 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2319 * BufferView_pimpl.[Ch] (getStatus)
2320 * BufferView.[Ch] (getStatus): add
2321 * lyxfunc.C (getStatus): move lfuns handled in
2322 BufferView::dispatch to te function above
2323 * Cursor.C (setSelection): set selection() = true
2325 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2327 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2329 2004-03-31 Angus Leeming <leeming@lyx.org>
2331 * lyxfunc.C (dispatch): Fall through to the generic
2332 Dialogs::show("preamble").
2334 2004-03-31 Angus Leeming <leeming@lyx.org>
2336 * lyxfunc.C (dispatch): Fall through to the generic
2337 Dialogs::show("spellchecker").
2339 2004-03-31 Angus Leeming <leeming@lyx.org>
2341 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2344 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2349 * insetiterator.[Ch]:
2354 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2356 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2358 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2359 insets where we are putting the cursor.
2361 2004-03-31 Angus Leeming <leeming@lyx.org>
2364 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2366 * lyxrc.[Ch] (read, write): overloaded member functions taking
2367 a std::[io]stream arguments.
2369 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2371 2004-03-31 Angus Leeming <leeming@lyx.org>
2373 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2374 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2376 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2377 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2379 2004-03-31 Angus Leeming <leeming@lyx.org>
2381 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2382 the LFUN_ALL_INSETS_TOGGLE code.
2384 2004-03-30 Angus Leeming <leeming@lyx.org>
2386 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2387 has died. Fall through to the generic Dialogs::show("document").
2389 2004-03-30 Angus Leeming <leeming@lyx.org>
2392 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2393 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2395 * lyxfunc.C (getStatus, dispatch): define the actions for these
2396 lfuns. Little more than a cut and pste job from ControlDocument.C
2398 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2400 2004-03-30 Angus Leeming <leeming@lyx.org>
2403 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2404 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2406 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2407 open/closed state of ollapsable insets. Usage:
2409 all-inset-toggle <state> <name>, where
2410 <state> == "open" || "closed" || "toggle" and
2411 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2413 * lyxtext.h, text2.C (toggleInset): removed.
2415 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2416 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2417 now passes LFUN_INSET_TOGGLE to the found inset.
2419 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2420 is now invoked as "all-insets-toggle toggle branch".
2422 2004-03-30 Angus Leeming <leeming@lyx.org>
2426 * pariterator.[Ch]: added/corrected header blurb.
2428 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2430 * dociterator.[Ch]: add an inset_ member
2431 (backwardPos): implemented
2432 (backwardPos, forwardPos): use inset_ when the stack is empty.
2433 (doc_iterator_begin, doc_iterator_end): implemented
2434 * pariterator.[Ch]: adjust, add begin, end
2435 * insetiterator.[Ch]: adjust, add begin, end
2439 * BufferView_pimpl.C:
2440 * CutAndPaste.C: adjust
2442 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2444 * buffer.C: increment file format to 232.
2445 * LaTeXFeatures.C: add bibtopic package.
2446 * bufferparams.[Ch]: param \use_bibtopic.
2448 * lyxrc.[Ch]: add lyxrc bibtex_command
2449 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2451 * buffer.C: increment file format to 231.
2453 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2455 * dociterator.C: implement forwardPar
2456 * iterators.[Ch]: remove, replaced by
2457 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2459 * BufferView_pimpl.C:
2462 * bufferview_funcs.C:
2468 * Makefile.am: adjust
2470 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2472 * CutAndPaste.C (pasteSelection): fix 2 crashes
2473 (eraseSelection): fix a crash
2474 * paragraph_funcs.C: remove a warning
2476 2004-03-28 Angus Leeming <leeming@lyx.org>
2479 * LyXAction.C (init): new LFUN_PRINT.
2481 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2483 2004-03-27 Angus Leeming <leeming@lyx.org>
2486 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2488 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2490 2004-03-27 Angus Leeming <leeming@lyx.org>
2492 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2493 insetlist always contains non-null pointers to insets.
2495 2004-03-26 Angus Leeming <leeming@lyx.org>
2497 * src/BufferView_pimpl.C:
2498 * src/CutAndPaste.C:
2501 * src/output_plaintext.C:
2502 * src/outputparams.h:
2503 * src/paragraph_funcs.C:
2507 * src/frontends/controllers/ControlErrorList.C:
2508 * src/frontends/gtk/FileDialogPrivate.C:
2509 * src/frontends/gtk/GPainter.C:
2510 * src/frontends/gtk/GToolbar.C:
2511 * src/frontends/qt2/QRef.C:
2512 * src/mathed/math_scriptinset.C: squash compiler warnings.
2514 2004-03-26 Angus Leeming <leeming@lyx.org>
2516 * ispell.C (LaunchIspell::start):
2517 * lyx_cb.C (AutoSaveBuffer::start):
2518 invoke run(DontWait) rather than runNonBlocking().
2520 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2522 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2524 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2526 * kbsequence.C (print): adjust
2528 * kbmap.C (printKeySym): rename and change signature
2529 (printKey): use LyXKeySym::print()
2531 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2533 * undo.C: add using std::advance to compile for stlport
2535 2004-03-24 Angus Leeming <leeming@lyx.org>
2537 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2538 it leads to a crash when no buffer is present.
2540 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2541 Martin Vermeer <martin.vermeer@hut.fi>
2543 * lyxfunc.C (dispatch):
2544 * bufferparams.C (readToken): use the new LColor::setColor
2546 * LColor.[Ch] (setColor): new version that takes two strings as
2547 argument and creates a new color entry if necessary
2549 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2551 * buffer.C (makeLaTeXFile): if the main latex file that is
2552 processed is usually a subdocument of some master, then pretend
2553 for a while that it is actually the master
2555 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2557 * buffer.C (getLabelList):
2558 (getBibkeyList): use getMasterBuffer()
2559 (getMasterBuffer): new method. Returns the main document in the
2560 case where one is using included documents.
2562 2004-03-25 André Pönitz <poenitz@gmx.net>
2566 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2568 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2570 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2571 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2573 * ParameterStruct.h: merge with ParagraphParameters
2575 * lyxtext.h: remove LyXText::parOffset() and getPar()
2577 * text3.C: Remove all 'manual' update calls. We do now one per user
2578 interaction which is completely sufficient.
2582 * BufferView_pimpl.C:
2583 * FontIterator.[Ch]:
2585 * ParagraphParameters.[Ch]:
2590 * cursor_slice.[Ch]:
2597 * output_docbook.[Ch]:
2598 * output_latex.[Ch]:
2599 * output_linuxdoc.[Ch]:
2600 * output_plaintext.[Ch]:
2602 * paragraph_funcs.[Ch]:
2603 * paragraph_pimpl.[Ch]:
2611 * frontends/controllers/ControlDocument.C:
2612 * frontends/controllers/ControlErrorList.C:
2613 * frontends/controllers/ControlSpellchecker.C:
2616 * insets/insetbase.h:
2617 * insets/insetbibitem.C:
2618 * insets/insetbox.C:
2619 * insets/insetbranch.C:
2620 * insets/insetcaption.C:
2621 * insets/insetcharstyle.C:
2622 * insets/insetcharstyle.h:
2623 * insets/insetcollapsable.C:
2624 * insets/insetcollapsable.h:
2625 * insets/insetert.C:
2626 * insets/insetfloat.C:
2627 * insets/insetfoot.C:
2628 * insets/insetmarginal.C:
2629 * insets/insetnote.C:
2630 * insets/insetoptarg.C:
2631 * insets/insettabular.C:
2632 * insets/insettext.C:
2633 * insets/insettext.h:
2634 * insets/insetwrap.C:
2635 * mathed/math_mboxinset.C:
2636 * mathed/math_nestinset.C:
2637 * mathed/math_scriptinset.C:
2638 * mathed/math_scriptinset.h:
2641 2004-03-24 Angus Leeming <leeming@lyx.org>
2643 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2644 deal with any child processes that have finished but are waiting to
2645 communicate this fact to the rest of LyX.
2647 2004-03-24 Angus Leeming <leeming@lyx.org>
2649 64-bit compile fixes.
2651 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2652 (c-tor): pass lyx::pos_types rather than ints.
2654 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2657 * text.C (Delete): compile fix.
2658 (getPar): ensure that function declaration is the same as that in
2661 2004-03-23 Angus Leeming <leeming@lyx.org>
2663 * ispell.C (LaunchIspell):
2664 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2665 a boost::shred_ptr rather than a std::auto_ptr.
2667 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2669 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2670 handle LFUN_FILE_INSERT_*
2672 * lyxrc.C (setDefaults, getDescription, output, read):
2673 * lyxrc.h: remove ps_command
2675 2004-03-22 Angus Leeming <leeming@lyx.org>
2677 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2678 Ensure that error_handler is processed once only and that all data
2679 is saved before attempting to output any warning messages.
2681 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2683 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2685 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2687 2004-03-19 André Pönitz <poenitz@gmx.net>
2689 * cursor.[Ch] (reset): take main text inset as argument
2691 * BufferView: adjust
2692 * BufferView_pimpl.C: adjust
2694 * paragraph.[Ch]: fix completely broken operator=()
2696 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2698 * LColor.C (getFromLyXName): make sure that the color name is used
2701 2004-03-17 Angus Leeming <leeming@lyx.org>
2704 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2706 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2707 dialog and to kill a forked process.
2709 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2711 * text2.C (setCursorFromCoordinates): fix font problem
2713 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2715 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2716 bogus "rebuild cursor" code
2718 2004-03-11 André Pönitz <poenitz@gmx.net>
2720 * buffer.[Ch]: use InsetText instead of LyXText as container for
2723 * dociterator.[Ch]: drop the BufferView * member which is not needed
2724 anymore after the change to buffer.C
2726 * paragraph_funcs.C:
2730 * BufferView_pimpl.[Ch]:
2732 * cursor_slice.[Ch]: adjust
2734 * text3.C: fix bug in mathDispatch
2736 2004-03-08 André Pönitz <poenitz@gmx.net>
2738 * undo.[Ch]: use 'StableDocumentIterator' as base for
2741 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2744 * bufferparams.[Ch]: add jurabib support and param.
2746 * LaTeX.C: add FIXME/comment.
2748 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2750 * buffer.C: increment file format to 230.
2752 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2754 * cursor.C (dispatch): avoid infinite loops
2756 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2758 * rowpainter.C (paintSelection): fix x coordinates
2760 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2762 * text.C (rowBreakPoint): fix breaking before displayed insets
2764 2004-03-01 André Pönitz <poenitz@gmx.net>
2766 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2768 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2772 * BufferView_pimpl.C:
2780 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2786 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2787 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2789 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2791 * Bidi.[Ch] (computeTables): const correctness
2792 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2793 fill_hfill, fill_label_hfill and x from Row
2794 * lyxtext.h: prepareToPrint returns a RowMetrics
2795 * rowPainter.C: adjust
2796 * text.C (prepareToPrint): use width, not textWidth. adjust
2797 (redoParagraphInternal, cursorX): adjust
2798 * text2.C (getColumnNearX): adjust
2799 (init): put a default value to the top LyXText::width
2801 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2803 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2805 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2807 * lyxtext.h: add FontIterator class
2809 * text.C (FontIterator, operator*, operator->, operator++): add
2810 (rowBreakPoint, setRowWidth): adjust (fixing a
2813 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2815 * BufferView_pimpl.C (workAreaDispatch): allow also
2816 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2818 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2820 * text.C (rowBreakPoint): fix a bug showing with very large insets
2822 2004-02-25 André Pönitz <poenitz@gmx.net>
2825 * cursor.[Ch]: move some mathed specific code to mathed
2827 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2829 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2830 use_tempdir in preferences
2831 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2833 * lyx_main.C: ensure that tempdir is valid
2834 * lyxlex.h: correct typo
2835 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2836 * paragraph.[Ch] (isMultiLingual): make const
2837 * cursor.[Ch] (openable): make const
2839 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2841 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2843 2004-02-20 André Pönitz <poenitz@gmx.net>
2845 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2847 * cursor.[Ch]: prepare for localized getStatus()
2853 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2855 2004-02-20 André Pönitz <poenitz@gmx.net>
2857 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2859 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2861 * text2.C (setCursorFromCoordinates): switch to absolute coords
2863 (cursorDown): adjust
2864 * text3.C (dispatch): adjust
2866 2004-02-16 André Pönitz <poenitz@gmx.net>
2868 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2871 * cursor_slice.[Ch]: remove unneeded acessor function
2873 * lyxtext.h: rename rtl() to isRTL()
2881 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2883 * rowpainter.C (paintSelection): coord fix
2885 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2887 * Spacing.C: compile fix
2889 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2891 * cursor.C (dispatch): restore current_ before returning
2893 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2895 * text2.C (cursorUp, cursorDown): fix coords
2898 2004-02-12 André Pönitz <poenitz@gmx.net>
2903 * text3.C: add LCursor & parameter to most cursor movement functions
2904 remove usage of LyXText::cursorRow() and cursorPar()
2906 * cursor.[Ch]: add textRow() needed members
2909 * BufferView_pimpl.C:
2912 * BufferView_pimpl.C: adjust
2914 2004-02-11 André Pönitz <poenitz@gmx.net>
2918 * BufferView_pimpl.C: shift undo/redo handling
2920 * cursor.[Ch]: fix mathed crash
2923 * lyxtext.h: move selectionAsText to LCursor
2931 * rowpainter.C: fix excessive drawing
2933 2004-02-06 André Pönitz <poenitz@gmx.net>
2936 * BufferView_pimpl.[Ch]:
2937 * text3.C: move some text specific LFUN handling
2939 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2941 * text3.C (checkInsetHit): adjust coords
2942 * text2.C (getColumnNearX): adjust coords
2943 (edit): adjust coords
2944 * text.C (getRowNearY): add two asserts
2946 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2949 * format.C: add using std::distance to compile on gcc 2.95/stlport
2951 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2953 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2955 2004-02-04 André Pönitz <poenitz@gmx.net>
2957 * BufferView.[Ch] (insertInset):
2958 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2963 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2965 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2966 on the default clause of the switch
2967 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2968 wasn't catched by LCursor::dispatch
2970 2004-02-03 André Pönitz <poenitz@gmx.net>
2973 * cursor.[Ch]: some additional asserts
2975 * undo.[Ch]: remove LyXText dependency in interface
2979 * lyxtext.h (firstPar, lastPar): remove dead functions
2984 * paragraph.[Ch]: adjust
2986 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2988 * lyxfind.C (find): fix argument order in call to ::find
2990 2004-02-02 André Pönitz <poenitz@gmx.net>
2992 * cursor.[Ch]: remove direct access to anchor
2994 * text.C: remove findText() hack
2996 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2998 * iterators.[Ch] (lockPath): remove in favour of...
2999 * BufferView.[Ch] (setCursor): this addition
3000 * BufferView.C (putSelectionAt): adjust
3001 * undo.C (performUndoOrRedo): adjust
3002 * lyxfunc.C (dispatch): adjust
3004 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3006 * iterators.C (lockPath): add a missing slice
3007 * undo.C (performUndoOrRedo): remove redundant positioning code
3009 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3011 * vc-backend.C (scanMaster): ";" -> ';'
3013 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3015 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3016 std::binary_function
3018 * lyxtextclass.C (compare_name): rename to...
3019 (LayoutNamesEqual): ...this
3021 * lyxlex_pimpl.C (compare_tags): inherit from
3022 std::binary_function, put back into anon namespace
3024 * lyxfind.C (MatchString): inherig from std::binary_function
3025 (findChange): use empty() istead of !size()
3027 * format.C (FormatNamesEqual): new functor
3034 * converter.C (compare_Converter): rename to...
3035 (ConverterEqual): ...this, and fixup a bit.
3036 (getConverter): use it, and make function const
3037 (getNumber): use it, and make function const
3041 * bufferlist.C: add using boost::bind
3043 * MenuBackend.C (MenuNamesEqual): new functor
3044 (hasMenu): use it, and make function const
3045 (hasSubmenu): use nested bind to get rid of compare_memfun.
3047 2004-01-30 André Pönitz <poenitz@gmx.net>
3049 * BufferView_pimpl.C:
3052 * cursor_slice.[Ch]:
3055 * paragraph_funcs.C:
3056 * paragraph_funcs.h:
3060 * text3.C: move some of the edit(x,y) handling to the insets
3061 some coordinate changes.
3063 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3065 * text.C: add using statements for std::advance and std::distance
3067 * paragraph.C: add using statement for std::distance
3069 * lyxfind.C: add using statement for std::advance
3071 * cursor.C (region): remove std:: from swap
3072 (openable): use nucleus in stead of operator->
3074 * BufferView.C: add using statements for std::distance and std::swap
3076 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3078 * iterators.C: Remove the pimple, move the needed structures to
3079 the header file. Create accessor for the positions stack.
3080 (asPosIterator): remove function
3082 * PosIterator.C (PosIterator): move constructors to top of file
3083 (PosIterator): reimplement the constructor taking a ParIterator in
3085 (setFrom): new function
3086 (operator!=): inline it
3088 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3090 * lyxfind.C (replaceAll): use std::advance
3092 * iterators.h: inherit from std::iterator.
3094 * PosIterator.C (advance, distance): remove
3095 * PosIterator.h: interit from std::iterator.
3097 2004-01-26 André Pönitz <poenitz@gmx.net>
3100 * BufferView_pimpl.[Ch]:
3104 * bufferview_funcs.C:
3114 * output_linuxdoc.C:
3115 * output_plaintext.C:
3117 * paragraph_funcs.[Ch]:
3118 * paragraph_pimpl.[Ch]:
3124 * text3.C: more IU: dumps most of the rest of the mathcursor
3125 implementation into cursor.[Ch]; "globalize" a bit of it.
3127 2004-01-25 Angus Leeming <leeming@lyx.org>
3129 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3131 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3133 * LaTeXFeatures.h: add nice_ and nice() const
3134 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3136 2004-01-20 André Pönitz <poenitz@gmx.net>
3139 * BufferView_pimpl.C:
3141 * bufferview_funcs.C:
3143 * cursor_slice.[Ch]:
3154 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3155 LCursor and mathcursor parts to LCursor and InsetBase.
3157 2004-01-15 André Pönitz <poenitz@gmx.net>
3159 * cursor_slice.[Ch]: add a few covienience functions
3161 * funcrequest.[Ch]: remove BufferView * member
3163 * BufferView_pimpl.C:
3170 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3172 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3174 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3175 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3177 2004-01-13 André Pönitz <poenitz@gmx.net>
3180 * lyxtext.h: hide cursor and selection anchor behind accessor function
3183 * BufferView_pimpl.[Ch]:
3185 * bufferview_funcs.C:
3195 * cursor_slice.[Ch]: some integer type changes for inset unification
3197 * lyxcursor.[hC]: remove, it's CursorSlice now.
3200 * BufferView_pimpl.[Ch]:
3201 * bufferview_funcs.C:
3207 * textcursor.[Ch]: adjust
3209 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3211 * text2.C (undoSpan): add and use
3212 * text.C (breakParagraph): use undoSpan (fix bug 578)
3215 2004-01-08 Angus Leeming <leeming@lyx.org>
3217 * BufferView_pimpl.C (MenuInsertLyXFile):
3218 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3219 * lyxfunc.C (menuNew, open, doImport):
3220 FileFilterList change to the FileDialog open and save functions.
3222 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3224 * ShareContainer.h: make isEqual and isUnique adaptable
3226 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3228 2004-01-07 Angus Leeming <leeming@lyx.org>
3231 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3233 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3235 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3236 functions replacing find, replace and replaceAll.
3238 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3239 LFUN_WORDFIND(FORWARD|BACKWARD).
3241 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3243 * text.C (breakParagraph): remove an outdated #warning
3245 2004-01-07 André Pönitz <poenitz@gmx.net>
3247 * lyxfind.C: somewhat clearer logic
3249 * text.C: prevent crash in cursorX on unitialized row cache
3251 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3253 * lyxcursor.[Ch] (operator>): add
3254 * textcursor.C (selStart, selEnd): use std::min and std::max
3256 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3258 * Chktex.C: include boost/format.hpp
3260 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3262 * InsetList.C: replace functor MathcIt with adaptable functor
3264 (insetIterator): modify accordingly
3266 * BranchList.h: move the BranchNamesEqual functor here from...
3267 * BranchList.C: ... to here
3269 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3271 (add): replace a finding loop with std::find_if.
3273 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3275 * output_docbook.C: moving LatexParam functionality into
3278 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3280 * buffer.C: increment format to 229.
3282 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3285 * lyx_sty.[Ch]: remove minipageindent_def
3291 * text3.C: remove LFUN_INSET_MINIPAGE
3293 2003-12-28 Angus Leeming <leeming@lyx.org>
3295 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3297 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3299 * text2.C (setParagraph): fix off-by-one crash
3301 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3303 * output_docbook.C: header stuff for AGU
3305 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3307 * text2.C (redoCursor): remove
3310 * BufferView_pimpl.C: remove calls to redoCursor and
3311 setCursor(cursor.par(), cursor.pos()) all around
3313 2003-12-15 Angus Leeming <leeming@lyx.org>
3315 * buffer.C: up the format to 228.
3317 2003-12-15 André Pönitz <poenitz@gmx.net>
3319 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3324 * BufferView_pimpl.C:
3333 2003-12-15 Angus Leeming <leeming@lyx.org>
3335 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3336 than getFromGUIName to manipulate the color.
3338 2003-12-14 Angus Leeming <leeming@lyx.org>
3340 * BranchList.[Ch]: minimize the API.
3341 (Branch::getBranch, getColor): now return a 'const &'.
3342 (Branch::setSelected) now returns a bool set to true if the
3343 selection status changes.
3344 (BranchList::clear, size, getColor, setColor, setSelected,
3345 allBranches, allSelected, separator): removed.
3346 (BranchList::find): new functions, returning the Branch with
3348 (BranchList::add, remove): return a bool indicating that
3349 the operation was successful.
3351 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3352 new InsetBranch::isBranchSlected member function.
3354 * LColor.[Ch]: mimimize the API.
3355 (fill): renamed as addColor and made private.
3356 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3357 versions of these functions taking a string arg have been removed.
3359 * bufferparams.C (readToken):
3360 * lyxfunc.C (dispatch):
3361 * lyxrc.C (read): changes due to the altered BranchList and
3364 * factory.C (createInset, readInset): changes due to altered
3367 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3370 * lyxfunc.C: remove insetminipage. "minipage-insert"
3371 now produces a frameless minipage box inset.
3373 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3375 * textcursor.[Ch] (selStart,selEnd): add new methods
3376 remove selection::start, end, use LyXCursor::operator<
3377 * lyxcursor.[Ch] (operator<): add
3378 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3379 * BufferView.[Ch] (unsetXSel): add
3380 * text2.C (clearSelection): use unsetXSel,adjust
3383 * rowpainter.C: adjust
3384 * bufferview_funcs.C (put_selection_at): adjust
3386 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3388 * BufferView_pimpl.C: small coord. correction
3390 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3392 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3393 dragging over the splash screen.
3395 2003-12-11 Angus Leeming <leeming@lyx.org>
3397 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3398 as it is now handled in LyXText::dispatch.
3400 * text3.C (doInsertInset): remove a level of nesting.
3402 2003-12-11 Angus Leeming <leeming@lyx.org>
3404 * factory.C (createInset): changes due to the changed interface to
3405 InsetCommandMailer::string2params.
3407 2003-12-10 Angus Leeming <leeming@lyx.org>
3409 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3410 'dialog-show-new-inset <inset name>'
3412 2003-12-10 Angus Leeming <leeming@lyx.org>
3414 * buffer.C: up the format to 227.
3416 * factory.C: the box inset is now identified simply by 'Box'.
3418 2003-12-10 Angus Leeming <leeming@lyx.org>
3420 * buffer.C: up the format to 226.
3422 * factory.C: the note inset is now identified simply by 'Note'.
3424 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3426 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3427 when a pit is enough. Standarize a couple of loops.
3429 2003-12-05 Angus Leeming <leeming@lyx.org>
3431 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3432 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3433 data to the re-worked "log" dialog.
3435 2003-12-03 André Pönitz <poenitz@gmx.net>
3441 * paragraph_funcs.C:
3443 * text2.C: use Inset::getText instead of Inset::getParagraph
3445 2003-12-03 André Pönitz <poenitz@gmx.net>
3449 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3450 InsetText::read() as LyXText::read()
3452 2003-12-02 Angus Leeming <leeming@lyx.org>
3454 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3455 type. Add a comment in the implementation that the function uses
3456 the stream's bad() function rather than fail() as the std::streams
3459 2003-12-02 André Pönitz <poenitz@gmx.net>
3461 * lyxlex.[Ch]: make interface more similar to std::stream
3463 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3465 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3467 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3469 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3471 * vspace.[Ch]: remove VSpace::NONE
3473 2003-12-01 André Pönitz <poenitz@gmx.net>
3476 * lyxtext.h: move ParagraphList member to LyXText
3477 rename LyXText::ownerParagraphs to LyXText::paragraph
3480 * bufferview_funcs.C:
3490 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3492 * undo.C: fix cursor positioning
3494 2003-12-01 John Levon <levon@movementarian.org>
3496 * BufferView_pimpl.C: fix a crash on exit with
3499 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3501 * BranchList.C: fix setSelected() method.
3503 2003-11-28 André Pönitz <poenitz@gmx.net>
3505 * ParagraphParameters.[Ch]:
3506 * ParameterStruct.h: remove space above/below from Paragraph to
3509 * BufferView_pimpl.C:
3515 * paragraph_funcs.C:
3521 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3523 * factory.C: Syntax change for CharStyles
3525 2003-11-28 André Pönitz <poenitz@gmx.net>
3530 * buffer.[Ch]: move LyXText member
3532 2003-11-28 André Pönitz <poenitz@gmx.net>
3534 * BufferView.[Ch]: make LyXText * text a private member
3536 * BufferView_pimpl.C:
3547 * output_plaintext.C: cleanup
3549 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3552 * lyxtextclass.[Ch]: parametrize SGML document header
3554 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3557 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3560 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3562 * text2.C (setFont): rework using PosIterator (no more recursive)
3563 (setCharFont): no more needed
3564 (setLayout): no more selection cursors fiddling (done by redoCursor)
3565 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3566 destroy remaining ones)
3568 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3570 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3572 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3575 * text3.C: adjust + re-allow multi par depth changes
3576 * textcursor.C: simplify a bit
3578 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3584 * src/output_docbook.C:
3585 * src/output_latex.C:
3590 * src/text2.C: Introducing a number of tags parametrizing various
3591 XML formats that we may want to support
3593 2003-11-25 André Pönitz <poenitz@gmx.net>
3595 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3597 * lyxtext.h (leftMargin/rightMargin): simplify interface
3604 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3606 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3607 master file to any child files. Fixes bug 546.
3609 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3611 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3613 2003-11-24 André Pönitz <poenitz@gmx.net>
3615 * rowpainter.C: simplification
3617 * text2.C (updateCounters): remove call to redoParagraph on
3618 changed labels as this is far too expensive.
3620 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3622 * converter.C (convert): fix a crash: this function gets
3623 called with buffer == 0 from importer code.
3625 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3627 * text3.C (cursorPrevious): make sure that we do not compare
3628 iterators form different containers.
3631 * rowpainter.C (paintSelection): make sure that we do not compare
3632 iterators from different containers.
3634 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3635 iterators from different ParagraphList containers.
3638 * text2.C (LyXText): change order of initialization slightly
3639 (operator=): new function. copy all variables except cache_par_
3640 (moveUp): make sure that we do not compare iterators from
3641 different ParagraphList constainers.
3644 * text.C (firstPar): new function
3645 (lastPar): new function
3646 (endPar): new function
3648 * lyxtext.h: move things around and group public functions, public
3649 variables, private functions, private variables
3651 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3653 * factory.C: change call to InsetERT constructor to avoid
3654 additional invocation of method status
3655 * text2.C (toggleInset): remove redundant update() call
3656 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3657 instead of a Bufferview pointer
3659 2003-11-21 André Pönitz <poenitz@gmx.net>
3661 * rowpainter.C: simplification
3663 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3665 * text3.C (dispatch): make possible to extend a word/row selection
3668 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3670 * lyxtext.h: x0_,y0_ -> xo_,yo_
3671 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3672 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3673 * rowpainter.C (paintRows): paint full paragraphs
3675 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3677 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3680 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3682 * lyxtext.h: add x0_, y0_
3683 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3684 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3686 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3688 * text2.C (setCursorIntern): move the x_target update here *
3689 * text3.C: change some bv() to true/false in calls to
3690 cursorUp/Down/Right/Left
3691 * cursor.C: use helper function.
3693 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3695 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3696 * paragraph_funcs.[Ch]: correct comment
3697 * rowpainter.C: do not paint selections away from bv->cursor()
3698 Fix a long standing selection painting bug.
3699 * text3.C: generalize mouse-selection code to LyXTexts other that
3701 * textcursor.C: do not use y coords if we can use par offsets
3703 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3705 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3706 cursor position after e.g. inset insert)
3708 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3710 * lyxfind.C (replace): adjust to locking removal + some
3713 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3715 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3718 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3721 * output_docbook.C: XML sanitation: new layout
3722 parameters InnerTag and CommandDepth
3724 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3726 * BufferView_pimpl.C:
3728 * text3.C: Fix the insertion and modification of button-style
3731 2003-11-13 André Pönitz <poenitz@gmx.net>
3733 * InsetList.[Ch]: remove deleteLyXText
3735 * paragraph.[Ch]: cache beginOfBody position
3740 * text3.C: remove superfluous update() calls
3744 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3746 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3747 * BufferView.C (fitLockedInsetCursor): remove
3748 * cursor.[Ch] (getDim): add
3749 * text.C (getRowNearY): add faster version
3750 * text3.C: remove some update calls
3752 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3764 * text3.C: The Character Style /XML short element patch.
3766 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3769 * factory.C: Small step to solving 'unable to insert some insets'
3772 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3774 * cursor.[Ch] (updatePos): new function for updating the y
3775 position of the tip inset
3776 * bufferview_funcs.C (put_selection_at):
3777 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3779 2003-11-11 André Pönitz <poenitz@gmx.net>
3781 * text.C: remove big comment on invalid Paragraph pointers as it is
3784 2003-11-11 André Pönitz <poenitz@gmx.net>
3786 * text_funcs.[Ch]: merge with ...
3794 * Makefile.am: remove text_funcs.[Ch]
3796 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3798 * cursor.C (getPos): return absolute cached y coord
3800 * BufferView_pimpl.C (fitCursor): new simplistic code
3801 (workAreaDispatch): add a fitCursor call
3803 2003-11-10 André Pönitz <poenitz@gmx.net>
3806 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3808 2003-11-10 André Pönitz <poenitz@gmx.net>
3810 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3811 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3812 indicate that the cursor needs to leave an inset
3814 * lyxtext.h: remove inset locking
3816 * cursor.[Ch]: re-implement functionality provided by inset locking
3819 * BufferView_pimpl.[Ch]:
3821 * bufferview_funcs.[Ch]:
3833 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3835 * PosIterator.[Ch]: replace the stack with a vector, add inset
3837 * iterators.[C]: adjust
3839 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3841 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3843 * paragraph_funcs.C (readParToken): put the correct id in the
3844 error item, not the id of the top paragraph
3846 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3848 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3849 * bufferview_funcs.C (put_selection_at): use the above
3851 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3853 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3855 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3857 * output_linuxdoc.h:
3858 * output_plaintext.h:
3860 * output_docbook.h: add #include statements
3862 2003-11-05 José Matos <jamatos@lyx.org>
3864 * output_docbook.[Ch]:
3865 * output_latex.[Ch]:
3866 * output_linuxdoc.[Ch]:
3867 * output_plaintext.[Ch]: New files for output formats.
3868 * output.[Ch]: New file for helper functions.
3871 * paragraph_funcs.[Ch]: output functions moved to new files.
3873 * outputparams.h: rename of latexrunparams.h
3881 * paragraph_funcs.[Ch]:
3882 * paragraph_pimpl.[Ch]:
3883 * tabular.[Ch]: rename ascii to plaintext
3884 and LatexRunParams to OutputParams.
3886 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3888 * iterators.[Ch] (text): require bv argument
3889 * undo.C (recordUndo):
3890 * lyxfunc.C (dispatch):
3891 * bufferview_funcs.C (put_selection_at): adjust
3893 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3895 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3897 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3899 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3902 2003-11-04 André Pönitz <poenitz@gmx.net>
3904 * cursor.[Ch]: restructure
3907 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3909 * iterators.[Ch] (asCursor): remove
3911 * lfuns.h: remove LFUN_INSET_EDIT
3917 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3919 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3921 * lyxfind.[Ch]: complete overhaul
3922 * BufferView_pimpl.C:
3924 * paragraph.[Ch] (insert): add
3926 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3930 * text.C: remove dead spellcheck code
3932 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * dispatchresult.h: add a val setter
3936 * cursor.C (dispatch): use a tempvar for data_[i]
3938 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3940 * PosIterator.[Ch]: compile fix
3942 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3944 * text.C (cursorPar): deactivate the cursor cache
3946 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3948 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3950 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * text3.C (dispatch): adjust for new DisptchResult semantics.
3954 * lyxfunc.C (dispatch): handle update when return from
3955 Cursor::dispatch, adjust for new DispatchResult semantics.
3957 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3958 DispatchResult(true) mean to not update. Add class functions for
3959 setting dispatched and update, as well as reading.
3961 * cursor.C (dispatch): don't handle update here
3963 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3966 * trans_mgr.C: adjust
3968 * paragraph_funcs.C (readParToken): exception safety
3970 * lyxvc.h: store the vcs pointer in a scoped_ptr
3973 * lyxsocket.C (serverCallback): exception safety
3975 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3977 * ispell.C (clone): make it return a auto_ptr
3979 * factory.C (createInset): exception safety
3980 (readInset): exception safety
3982 * bufferlist.C (newBuffer): exception safety
3984 * Thesaurus.C (Thesaurus): use initialization for aik_
3986 * MenuBackend.C (expandToc): exception safety.
3988 2003-11-03 André Pönitz <poenitz@gmx.net>
3992 * bufferview_funcs.C: remove getInsetFromId()
3995 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4001 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4003 * PosIterator.C (distance, advance): new
4004 * bufferview_funcs.[Ch] (put_selection_at): new
4005 * iterators.[Ch] (lockPath): new
4007 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4009 * iterators.[Ch] (asPosIterator): added
4010 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4011 * PosIterator.[Ch]: added
4013 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4017 * cursor.C (dispatch):
4018 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4020 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4021 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4022 contructor, add a class function dispatched. Remove operator>=
4024 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * debug.C: only use the default constructor for debugstream
4029 * main.C (main): include debug.h and setup the lyxerr streambuf
4032 2003-10-31 José Matos <jamatos@lyx.org>
4034 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4036 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4037 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4038 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4039 * paragraph_pimpl.C (simpleTeXSpecialC):
4040 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4041 add LatexRunParams argument.
4043 * exporter.C (Export): change call accordingly.
4045 * latexrunparams.h: add new member to take care of the other backends.
4046 2003-10-30 José Matos <jamatos@lyx.org>
4048 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4049 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4050 factorise code for paragraph output.
4052 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4055 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * text3.C (dispatch):
4058 * lyxfunc.C (dispatch):
4059 * cursor.C (dispatch):
4060 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4062 * dispatchresult.h: make the dispatch_result_t ctor explicit
4064 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4067 * buffer.C: small refactoring of docbook stuff
4069 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4074 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4077 operator dispatch_result_t, and operators for == != and >=
4079 * cursor.C (dispatch): adjust for operator dispatch_result_t
4080 removal. comment out call to update
4082 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4084 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4095 * dispatchresult.h: new file, DispatchResult broken out of
4098 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4100 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4102 * text.C (rowBreakPoint): put a hack inside #if 0
4104 2003-10-28 André Pönitz <poenitz@gmx.net>
4108 * paragraph_funcs.C:
4111 * text2.C: general cleanup (lots of small stuff)
4113 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4115 * text2.C (cursorEnd): simple fix to the "end key goes to one
4116 before the end on last row" bug
4118 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4120 * text.C (backspace): fix the "zombie characters"
4122 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4124 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4126 2003-10-27 André Pönitz <poenitz@gmx.net>
4128 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4130 * factory.C: handle new InsetPagebreak, InsetLine
4132 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4133 and move handling into new InsetPagebreak, InsetLine
4135 * BufferView_pimpl.C:
4137 * ParagraphParameters.C:
4138 * ParameterStruct.h:
4143 * paragraph_funcs.C:
4144 * paragraph_pimpl.C:
4150 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4153 * lyxrow_funcs.[Ch]:
4159 * text3.C: remove lastPos uses in favour of Row::endpos
4161 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4163 * undo.C (performUndoOrRedo): fix two crashes by setting a
4164 cursor by hand and reordering some calls. Use bv->lockInset instead
4165 of inset->edit because the latter loses cursor information
4167 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4169 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4171 (rowBreakPoint): fix width. change point to point + 1.
4172 Add a missing check.
4174 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4177 * lyxfunc.C: fix (at least partly) the problems
4178 with the Nav menu and headers inside branch insets
4181 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4183 * paragraph.C (getChar): add strong asserts
4185 * lyxrow_funcs.C (lastPos): remove hideous hack
4187 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4188 (fill): adjust to that (avoid an infinite loop)
4190 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4192 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4194 2003-10-23 André Pönitz <poenitz@gmx.net>
4196 * RowList_fwd.h: change list<> to vector<> to gain speed
4197 after suggestion from Alfredo
4199 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4201 * lyxtext.h: move the bidi stuff from here...
4204 * Bidi.[Ch]: ... to here
4206 2003-10-23 André Pönitz <poenitz@gmx.net>
4209 * text.C (isLastRow, isFirstRow): new functions
4211 * paragraph.h: new width cache member
4213 * rowpainter.C: replace RowList::iterator with Row & where possible
4215 * lyxfunc.C: replace several view()->text with a single call
4217 * toc.C: fix 'unused' warning
4219 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4222 when woring with stream::pos_type
4223 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4225 2003-10-22 André Pönitz <poenitz@gmx.net>
4228 * text.C: use Row & instead of RowList::iterator
4230 * lyxrow.h: rename end() to endpos()
4236 2003-10-22 Angus Leeming <leeming@lyx.org>
4238 * buffer.[Ch] (fully_loaded): new member function, returning true
4239 only when the file has been loaded fully.
4240 Used to prevent the premature generation of previews and by the
4241 citation inset to prevent computation of the natbib-style label.
4243 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4244 templates are all set up.
4246 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4248 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4250 * text.C: fixed an "oops" in the "is a bit silly"
4253 2003-10-21 André Pönitz <poenitz@gmx.net>
4255 * FuncStatus.[Ch]: small stuff, whitespace
4257 * lyxfont.[Ch]: operator<<() for debug reasons
4261 * lyxtext.h: whitespace, spelling
4263 * paragraph.C: naming of variables
4266 * text2.C: small stuff
4269 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4271 * text.C: (1) finish off the inset display() work;
4272 (2) fix the "is a bit silly" bug (accessing char
4275 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4277 * text.C: re-introduce display() for insets, fixing the
4278 various bugs (stretch of line above, math inset
4281 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4283 * text.C (rightMargin): remove spurious semicolon
4285 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4288 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4290 * text3.C: fix one crash due to wrong cursor def
4292 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * vc-backend.C (scanMaster): make the regex static
4296 * LaTeX.C (scanAuxFile): make the regexs static
4298 * text3.C (doInsertInset, dispatch, dispatch):
4299 * text2.C (cursorUp, cursorDown):
4300 * text.C (selectNextWordToSpellcheck):
4301 * BufferView_pimpl.C (dispatch):
4302 * lyxfunc.C (dispatch): localDispatch -> dispatch
4304 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4306 * lyxsocket.C: include <cerrno>
4308 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * lyxfunc.C (dispatch): remove textcache stuff
4312 * bufferlist.C (release): remove textcache stuff
4315 * TextCache.C: delete file
4316 * TextCache.h: delete file
4318 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4320 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4321 delete of the bv_->text.
4322 (resizeCurrentBuffer): remove texcache stuff
4323 (workAreaResize): ditto
4325 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4330 2003-10-16 André Pönitz <poenitz@gmx.net>
4337 * text3.C: speed up by storing y positions per paragraph plus per-row
4338 offset instead of having a 'full' y position in the row.
4340 2003-10-15 André Pönitz <poenitz@gmx.net>
4344 * undo.[Ch]: make undo aware of inner insets
4346 2003-10-14 Angus Leeming <leeming@lyx.org>
4348 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4349 static member functions LyX::ref() and LyX::cref.
4350 (lastfiles): new accessor functions for the new lastfiles_ member var.
4351 (addLyXView, views_): add a new LyXView to the list of views_.
4352 (updateInset): loop over all LyXViews to call their own updateInset
4353 member function, returning a pointer to the Buffer owning the inset.
4355 * BufferView_pimpl.C (loadLyXFile):
4356 * MenuBackend.C (expandLastfiles):
4357 * bufferlist.C (MenuWrite, QuitLyX):
4358 lastfiles is no longer a global variable.
4359 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4361 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4362 static function. Access through LyX::cref().emergencyCleanup().
4364 2003-10-14 André Pönitz <poenitz@gmx.net>
4366 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4368 * undo.[Ch]: restoring part of 'undo in insets'
4371 * undo_funcs.[Ch]: merge with undo.[Ch]
4373 * tabular.C: small cleansing stuff
4375 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4377 * paragraph_funcs.C (readParToken): report unknown insets as error
4378 boxes. Use the outer paragraph as location (also for unknown
4381 * factory.C (readInset): do not abort on reading an unknown inset.
4382 Eat it and return 0.
4384 2003-10-13 Angus Leeming <leeming@lyx.org>
4386 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4388 * lyxrc.C: displayTranslator is now a function,
4389 declared in GraphicsTypes.h.
4391 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4393 * format.C: new placeholder $$a to pass the socket address.
4395 * bufferlist.[Ch]: new function getBufferFromTmp.
4397 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4398 files in the temporary dir.
4400 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4402 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4404 * Makefile.am: add lyxsocket.[Ch].
4406 * lyx_main.C (error_handler): handle SIGPIPE.
4408 2003-10-13 André Pönitz <poenitz@gmx.net>
4410 * BufferView_pimpl.C:
4415 * undo_funcs.[Ch]: use paroffset_type instead of
4416 ParagraphList::iterators to prevent multiple conversion
4417 (and get a more robust interface)
4419 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4423 * text3.C (dispatch): ditto
4425 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4428 move the onlyfile, use onlyfile instead of foundfile in a couple
4431 * DepTable.C (update): flush the error stream a bit more
4433 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * lyxserver.C (callback): adjust
4437 * lyxfunc.C (getStatus): add a missing brace in commented code
4438 (ensureBufferClean): reindent
4439 (dispatch): delete version taking a string
4441 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * LaTeX.C (deplog): move found file handlig from here...
4444 (handleFoundFile): .. to new function here.
4445 (deplog): make sure to discover several files mentioned on the
4448 2003-10-10 André Pönitz <poenitz@gmx.net>
4455 * text3.C: fix some of the tabular crashes
4457 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4459 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4461 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4463 2003-10-09 André Pönitz <poenitz@gmx.net>
4465 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4468 * BufferView_pimpl.C:
4469 * bufferview_funcs.C:
4480 * undo_funcs.C: adjust
4482 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * text2.C (incrementItemDepth): new function, use a backtracking
4485 algorithm to discover the correct item depth.
4486 (resetEnumCounterIfNeeded): new function, use a backtracking
4487 algorithm to discover if counter reset is needed.
4488 (setCounter): use them. Simplify a bit. Add different labels for
4489 different item depths for itemize.
4491 * paragraph.C (Paragraph): remove initialization of enumdepth
4494 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4495 enumerate and itemize. Change the type of itemdepth to signed char.
4497 2003-10-08 André Pönitz <poenitz@gmx.net>
4499 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4504 * tabular.[Ch]: fix crash after 'row-insert'
4506 2003-10-08 Angus Leeming <leeming@lyx.org>
4508 Fix doxygen warnings.
4510 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4511 Remove CutAndPaste:: prefix from header file declaration.
4513 * LColor.h (fill): remove LColor:: prefix from declaration.
4515 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4516 use lyx::depth_type rather than Paragraph::depth_type so that
4517 header file and .C file match.
4519 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4521 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4522 * aspell.C: \file aspell_local.C -> \file aspell.C
4523 * gettext.C: \file gettext.C -> \file src/gettext.C
4524 * gettext.h: \file gettext.h -> \file src/gettext.h
4525 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4526 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4527 * text.C: \file text.C -> \file src/text.C
4529 * toc.C: move comment so that doxygen is not confused.
4531 2003-10-07 Angus Leeming <leeming@lyx.org>
4533 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4535 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4538 * aspell_local.h: add forgotten std::string's.
4540 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4547 * text3.C: The Box patch. Fancybox support, minipage, parbox
4549 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4555 * ParagraphParameters.h:
4565 * lyxtextclasslist.h:
4568 * paragraph_pimpl.C:
4569 * textcursor.h: add <string> and other small fixes to make Lars'
4570 std::string patch compile with STLport.
4572 2003-10-06 Angus Leeming <leeming@lyx.org>
4574 * LColor.h: Add missing #include <string>.
4576 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * All most all file in all subdirs: Make <string> be the prefered
4579 way of getting to std::string, add using declarations.
4581 2003-10-06 André Pönitz <poenitz@gmx.net>
4583 * metricsinfo.C: initialize LyXFont before changing attribute.
4584 (fixes the 'math in \emph is upright' bug)
4586 2003-10-06 André Pönitz <poenitz@gmx.net>
4588 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4590 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4593 * paragraph_pimpl.C: Small fixes to build using STLport
4595 2003-10-02 André Pönitz <poenitz@gmx.net>
4598 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4600 2003-10-01 André Pönitz <poenitz@gmx.net>
4602 * factory.C: assert early
4604 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * lyx_main.C: remove the global debug object
4608 * debug.h: adjust for new debugstream
4610 * debug.C: adjust for new debugstream and keep the global debug
4613 2003-09-22 Angus Leeming <leeming@lyx.org>
4615 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4616 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4617 an incomplete class LyXFont.
4619 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4621 * factory.C: bug fix in branches
4623 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * lyxfunc.C (processKeySym): adjust
4627 (dispatch): change arg name from ev to func, adjust
4628 (sendDispatchMessage): ditto
4630 * lyx_main.C (defaultKeyBindings): adjust keybindings
4631 (deadKeyBindings): ditto
4633 * kbsequence.C (addkey): return a FuncRequest
4635 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4637 * kbmap.C (bind): take a FuncRequest as arg, adjust
4640 (defkey): change to take a FuncRequest as arg, adjust
4641 (findbinding): take a FuncRequest as arg, adjust.
4643 * funcrequest.h (operator=): added
4645 * funcrequest.C (FuncRequest): default kb_action changed from
4646 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4648 * buffer.C (dispatch): simplify
4649 (dispatch): adjust to take a FuncRequest as arg, adjust
4651 * boost.C (assertion_failed): change assertion message slightly
4653 * ToolbarBackend.C (read): simplify
4655 * MenuBackend.C (binding): adjust call to findbinding, add a
4656 message if no binding is found.
4658 (expandToc): correct by adding a empty FuncRequest
4660 * LyXAction.C: include <boost/assert.hpp>
4661 (isPseudoAction): delete function
4662 (LookupFunc): change name to...
4663 (lookupFunc): this. change return type to FuncRequest.
4664 (getActionName): take kb_action as arg, simplify
4665 (funcHasFlag): add an assert, simplify.
4667 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * toc.C (action): return a FuncRequest, simplify
4671 * lyxfunc.C (processKeySym): adjust
4672 (getStatus): delete version that takes an int.
4674 (dispatch): delete version that takes action as int
4676 (sendDispatchMessage): simplify and adjust
4678 * funcrequest.C (getArg): take unsigned int as arg
4680 * ToolbarBackend.C (read): adjust
4681 (add): delete version that takes func as a string.
4682 (getIton): take a FuncRequest as arg
4684 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4687 * MenuBackend.C (MenuItem): add a new construct that only takes a
4688 Kind, simplify the constructor use for submenus.
4690 (expandLastfiles): adjust
4691 (expandDocuments): adjust
4692 (expandFormats): adjust
4693 (expandFloatListInsert): adjust
4694 (expandFloatInsert): adjust
4695 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4697 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4698 Remove class variables lyx_pseudo_map and lyx_arg_map
4700 * LyXAction.C (searchActionArg): delete function
4701 (getPseudoAction): delete function
4702 (retrieveActionArg): delete function
4703 (LookupFunc): make it return kb_action, simplify.
4704 (getActionName): simplify
4706 * factory.C (createInset): fix new bug
4708 2003-09-19 Angus Leeming <leeming@lyx.org>
4710 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4711 masterFilename_ parameter in the include inset.
4713 * factory.C (createInset): changes due to the changes to InsetInclude.
4715 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4717 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4719 2003-09-18 Angus Leeming <leeming@lyx.org>
4722 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4723 Inset::fillWithBibKeys.
4724 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4726 2003-09-18 Angus Leeming <leeming@lyx.org>
4728 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4730 (ctor): pass and store a 'Buffer const &'
4731 (buffer): new member function.
4733 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4734 '*this' to the LaTeXFeatures ctor.
4736 2003-09-18 Angus Leeming <leeming@lyx.org>
4742 * text.C: rename EnumLColor as LColor_color.
4744 2003-09-18 Angus Leeming <leeming@lyx.org>
4746 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4747 remove #include "insets/insetbase.h" from cursor.h.
4749 2003-09-18 Angus Leeming <leeming@lyx.org>
4751 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4752 InsetOld_code to remove #include "inset.h".
4754 * iterators.C: add #include "insets/inset.h"
4756 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4758 * BufferView.C: remove more locking stuff that apparently doesn't
4759 do anything sensible.
4761 2003-09-16 André Pönitz <poenitz@gmx.net>
4764 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4767 2003-09-16 Angus Leeming <leeming@lyx.org>
4769 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4771 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4774 * paragraph.h: remove #include "lyxfont.h". Forward declare
4777 2003-09-16 Angus Leeming <leeming@lyx.org>
4779 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4780 of support/textutils.h.
4781 (isWord): move the contents of support/textutils.h's IsWordChar here.
4787 * text2.C: add #include "paragraph.h".
4790 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4792 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * LaTeX.C: use namespace alias for lyx::support::os
4800 2003-09-16 Angus Leeming <leeming@lyx.org>
4803 * bufferview_funcs.C:
4806 * paragraph_pimpl.C:
4808 * text.C: add #include "LColor.h".
4810 2003-09-16 Angus Leeming <leeming@lyx.org>
4812 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4813 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4815 Store the FontBits::color variable as an int rather than as an
4816 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4819 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4820 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4821 string calls together.
4823 * lyxrc.C: add #include "LColor.h".
4825 2003-09-15 Angus Leeming <leeming@lyx.org>
4827 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4830 2003-09-15 Angus Leeming <leeming@lyx.org>
4832 * LColor.h: add an EnumLColor wrapper for LColor::color.
4834 * lyxfont.[Ch] (color, setColor, realColor):
4835 * lyxtext.h, text.C (backgroundColor):
4836 pass EnumLColor args to/from the functions, rather than LColor::color
4840 * lyxtext.h: forward declare EnumLColor.
4842 * lyx_main.C: add #include "LColor.h".
4844 2003-09-15 Angus Leeming <leeming@lyx.org>
4846 * .cvsignore: add lyx-gtk.
4848 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4853 * ParagraphParameters.C
4857 * bufferview_funcs.C
4867 * vc-backend.C: remove usage of STRCONV
4869 2003-09-15 Angus Leeming <leeming@lyx.org>
4871 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4872 explicitly define the color passed to the painter.
4874 2003-09-15 Angus Leeming <leeming@lyx.org>
4876 * bufferparams.C (BufferParams): reorder member initializers to avoid
4879 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4881 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4882 * text.C (updateRowPositions): remove an unusual nop
4884 2003-09-12 André Pönitz <poenitz@gmx.net>
4886 * BufferView_pimpl.C:
4895 * Counters.[Ch]: finish the 'automatic counters' job
4897 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4899 * aspell.C: include <boost/assert.cpp> (compile fix)
4901 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4903 * boost.C (assertion_failed): use lyx::support::abort instead of
4906 2003-09-10 Angus Leeming <leeming@lyx.org>
4908 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4909 with their _fwd progeny.
4911 2003-09-09 Angus Leeming <leeming@lyx.org>
4913 134 files throughtout the source tree: replace 'using namespace abc;'
4914 directives with the appropriate 'using abc::xyz;' declarations.
4916 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4918 * boost.C (emergencyCleanup): moved here from LAssert.c
4919 (assertion_failed): new function, called by BOOST_ASSERT
4921 * several files: change Assert to BOOST_ASSERT
4923 2003-09-09 Angus Leeming <leeming@lyx.org>
4925 * buffer.[Ch]: Add an Impl class and move Buffer's member
4926 variables into it. As a result move several header files out of
4929 Add header files to lots of .C files all over the tree as a result.
4931 2003-09-09 Angus Leeming <leeming@lyx.org>
4933 * buffer.[Ch]: make Buffer's member variables private. Add
4936 Lots of changes all over the tree as a result.
4938 2003-09-08 Angus Leeming <leeming@lyx.org>
4940 * graph.C: #include <config.h>.
4942 2003-09-08 Angus Leeming <leeming@lyx.org>
4946 * BufferView_pimpl.C:
4975 * toc.C: remove redundant using directives.
4977 2003-09-07 Angus Leeming <leeming@lyx.org>
4979 * LaTeXFeatures.h: remove #include "support/types.h".
4980 * ToolbarBackend.h: remove #include <algorithm>.
4981 * changes.h: remove #include <ctime>.
4982 * debug.h: remove #include <iosfwd>.
4983 * graph.h: remove #include "support/std_string.h".
4984 * lyx_main.h: remove #include <csignal>.
4985 * lyxlex_pimpl.h: remove #include <fstream>.
4986 * sgml.h: remove #include <algorithm>, <utility>.
4987 * toc.h: remove #include "support/std_ostream.h".
4988 Add #include <iosfwd>.
4990 2003-09-07 Angus Leeming <leeming@lyx.org>
4992 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4994 * converter.h: forward declare LatexRunParams.
4995 * encoding.h: remove #include "lyxrc.h".
4996 * lyxtext.h: remove #include "LColor.h".
4997 * lyxtextclass.h: remove #include "support/types.h".
4998 * trans.h: remove #include "tex-accent.h".
4999 * trans_mgr.h: remove #include "tex-accent.h".
5000 * insets/inset.h: remove #include "support/types.h", <vector>.
5001 * insets/insetcollapsable.h: remove #include "LColor.h".
5002 * insets/insetinclude.h: remove #include "dimension.h".
5003 * insets/insetlatexaccent.h: remove #include "dimension.h".
5004 * insets/insetoptarg.h:: remove #include "insettext.h".
5005 * insets/insettext.h: remove #include "dimension.h",
5006 <boost/shared_ptr.hpp>
5008 * insets/renderers.h: add #include "dimension.h".
5009 * insets/updatableinset.h: add #include "support/types.h".
5011 * many .C files: Associated changes.
5013 2003-09-06 Angus Leeming <leeming@lyx.org>
5015 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5016 one, inside testInvariant.
5018 * PrinterParams.C: new file.
5019 * PrinterParams.[Ch]: move the function bodies out of line.
5021 2003-09-06 Angus Leeming <leeming@lyx.org>
5023 * ParagraphParameters.h: forward declare ParameterStruct rather than
5024 including its header file.
5025 (depth): moved out-of-line.
5027 2003-09-06 Angus Leeming <leeming@lyx.org>
5029 * BufferView_pimpl.h:
5032 * lyxfunc.h: forward declare LyXKeySym rather than
5033 #include "frontends/LyXKeySym.h".
5035 * BufferView_pimpl.C:
5038 * lyxfunc.C: associated changes.
5040 2003-09-06 Angus Leeming <leeming@lyx.org>
5042 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5043 As a result, can remove the #include "insets/inset.h" from BufferView.h
5045 2003-09-06 Angus Leeming <leeming@lyx.org>
5047 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5048 As a result, can remove the #include "insets/inset.h" from BufferView.h
5050 2003-09-06 Angus Leeming <leeming@lyx.org>
5056 * bufferview_funcs.C:
5057 * BufferView_pimpl.C:
5062 * ParagraphParameters.C:
5067 * frontends/controllers/ControlDocument.C:
5068 * insets/insetcaption.C: rearrange the #includes into some sort of
5071 * buffer.h: remove #includes ErrorList.h, undo.h
5073 2003-09-06 Angus Leeming <leeming@lyx.org>
5075 * support/types.h: add a 'depth_type' typedef, used to store the
5076 nesting depth of a paragraph.
5079 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5080 defining explicitly.
5083 * paragraph_funcs.h:
5084 * ParagraphParameters.h:
5085 * sgml.h: use lyx::depth_type rather than Paragraph or
5086 ParameterStruct's depth_type.
5089 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5092 * BufferView_pimpl.C:
5094 * ParagraphParameters.C:
5097 * bufferview_funcs.C:
5104 * frontends/LyXView.C:
5105 * frontends/controllers/ControlDocument.C:
5106 * frontends/controllers/ControlErrorList.C:
5107 * insets/insetbibitem.C:
5108 * insets/insetbranch.C:
5109 * insets/insetcaption.C:
5110 * insets/insetcollapsable.C:
5111 * insets/insetenv.C:
5112 * insets/insetert.C:
5113 * insets/insetfloat.C:
5114 * insets/insetfoot.C:
5115 * insets/insetfootlike.C:
5116 * insets/insetnewline.C:
5117 * insets/insetquotes.C:
5118 * insets/insettabular.C:
5119 * insets/insettext.C:
5120 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5122 * frontends/controllers/ControlChanges.C: #include "changes.h".
5124 2003-09-06 Angus Leeming <leeming@lyx.org>
5126 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5127 than #including paragraph.h.
5130 * RowList.h: deleted. Superfluous.
5140 * insets/insettext.h: use ParagraphList_fwd.h rather than
5143 * paragraph.h: don't forward declare ParagraphList.
5146 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5147 rather than ParagraphList.h. paragraph.h is still needed for the
5148 Paragraph::depth_type parameters.
5150 * textcursor.h: enable it to compile stand-alone in light of the
5153 * bufferview_funcs.C:
5165 * frontends/controllers/ControlParagraph.C:
5166 * frontends/controllers/ControlTabular.C:
5167 * insets/insetmarginal.C:
5168 * insets/insetminipage.C:
5169 * insets/insetnote.C:
5170 * insets/insetoptarg.C: add header files needed to compile again.
5172 2003-09-06 Angus Leeming <leeming@lyx.org>
5174 * RowList_fwd.h: new file, forward-declaring Row rather than
5175 #including lyxrow.h.
5180 * insets/insettext.h: use it instead of RowList.h
5182 * bufferview_funcs.C:
5189 * text3.C: #include "RowList.h".
5191 2003-09-05 Angus Leeming <leeming@lyx.org>
5193 * factory.C (createInset):
5194 * vspace.C (c-tor): replace sscanf call with an istringstream.
5195 * ispell.C: re-add missing HP/UX headers.
5196 * lyxserver.C: re-add missing os2 headers.
5198 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5207 * text3.C: re-add missing system headers, needed for 2.95.2.
5209 2003-09-05 Angus Leeming <leeming@lyx.org>
5211 Changes most place everywhere due to the removal of using directives
5212 from support/std_sstream.h.
5214 2003-09-05 Angus Leeming <leeming@lyx.org>
5216 Replace LString.h with support/std_string.h,
5217 Lsstream.h with support/std_sstream.h,
5218 support/LIstream.h with support/std_istream.h,
5219 support/LOstream.h with support/std_ostream.h.
5221 Changes resulting throughout the tree.
5223 2003-09-05 Angus Leeming <leeming@lyx.org>
5225 * sgml.h: ensure that the header file can be compiled stand-alone.
5226 * *.C: strip out redundant #includes. (320 in total.)
5228 2003-09-04 Angus Leeming <leeming@lyx.org>
5230 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5231 here (from getPackages).
5233 * debug.[Ch]: add a new EXTERNAL tag.
5235 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5237 * text2.C (cursorEnd): simplify
5239 (getColumnNearX): adjust
5241 * text.C (computeBidiTables): adjust
5244 * rowpainter.C (paintChars): adjust
5245 (paintSelection): adjust
5246 (paintChangeBar): adjust
5249 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5251 (numberOfSeparators): adjust
5253 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5259 * text3.C: Restricts the mouse click functionality
5260 of insets like bibtex, include, toc and floatlist to the visible
5261 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5262 up the dialogs. Cursor has to be in front of the inset (i.e.
5263 start of row) for this to function.
5265 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5267 * bufferview_funcs.C (currentState): output row information
5269 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5271 * bufferview_funcs.C (currentState): output paragraph position
5273 2003-09-04 Angus Leeming <leeming@lyx.org>
5275 * FloatList.h: move out #include "Floating.h".
5276 * LaTeX.h: move out #include "DepTable.h".
5277 * LyXAction.h: move out #include "funcrequest.h".
5278 * buffer.h: move out #include "author.h", "iterators.h".
5279 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5280 * lyx_main.h: move out #include "errorlist.h".
5281 * lyxfunc.h: move out #include "FuncStatus.h".
5282 * lyxtext: move out #include "lyxcursor.h".
5283 * paragraph_pimpl.h: move out #include "counters.h".
5285 2003-09-03 Angus Leeming <leeming@lyx.org>
5287 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5288 preamble_snippets list, enabling us to add snippets to the preamble
5289 only if the snippet was not there already.
5291 2003-09-04 Angus Leeming <leeming@lyx.org>
5293 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5295 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5300 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5302 * BranchList.C: point fix, earlier forgotten
5304 2003-09-02 Angus Leeming <leeming@lyx.org>
5306 * box.C (contains): renamed from 'contained' after a fantastic
5309 2003-09-02 John Levon <levon@movementarian.org>
5315 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5317 2003-09-02 John Levon <levon@movementarian.org>
5319 * text2.C: simplification of cursorEnd(), including partial
5322 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * buffer.C (readFile): add a space
5326 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5328 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5330 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5332 * buffer.C (readFile): new function, take a filename and a
5333 ParagraphList::iterator
5335 (readFile): adjust, make it private. don't use setStream, make
5336 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5337 always contain the filename.
5339 * BufferView.C (insertLyXFile): simplify and make it work for
5342 2003-08-30 John Levon <levon@movementarian.org>
5344 * Makefile.am: fix dist (from Kayvan)
5346 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * most files: change to use const Buffer refs
5350 2003-08-27 André Pönitz <poenitz@gmx.net>
5352 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5353 on top of ownerPar().
5355 2003-08-27 John Levon <levon@movementarian.org>
5357 * funcrequest.C: properly initialise POD members
5359 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5361 * lyxtext.h (top_y): move top_y from here
5366 * BufferView_pimpl.[Ch]: to here
5367 * frontends/screen.C:
5368 * insets/insettabular.C:
5369 * insets/insettext.C: adjust
5370 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5372 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5375 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5377 2003-08-26 André Pönitz <poenitz@gmx.net>
5379 * paragraph_func.[Ch] (outerPar): new function
5382 * paragraph_funcs.C:
5383 * paragraph_funcs.h:
5384 * paragraph_pimpl.C:
5385 * text2.C: remove Inset::par_owner
5387 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5392 * text2.C: eliminates the needFullRow/display() stuff
5393 altogether, putting the logic in metrics/draw in the insets.
5395 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5397 * text2.C (redoParagraphInternal, redoParagraphs):
5398 * text.C (redoParagraph): add a call to updateRowPositions at the
5399 end of each 'metrics-like' call. Remove all others.
5400 (getRow): remove the 'y-computing' version.
5401 (getRowNearY): do not compute nor return the real y. Solve the
5402 'y < 0' problem and simplify.
5404 2003-08-22 Angus Leeming <leeming@lyx.org>
5406 * *.[Ch]: clean-up of licence and author blurbs.
5407 Also move config.h out of a few .h files and into a few .C files.
5409 2003-08-22 André Pönitz <poenitz@gmx.net>
5411 * lyxrow.[Ch]: add x_ and *fill_ members
5416 * text2.C: adjust/remove prepareToPrint() calls
5418 2003-08-22 André Pönitz <poenitz@gmx.net>
5420 * lyxrow.[Ch]: add end_ member
5422 * lyxrow_funcs.C: use LyXRow::end_
5424 * lyxtext.h (singleWidth): add LyXFont parameter
5427 * text2.C: adjust LyXText::singleWidth() calls
5429 * text.C (redoParagraph): simplify row breaking logic
5432 2003-08-19 André Pönitz <poenitz@gmx.net>
5434 * funcrequest.C: initialize button_ member
5437 * rowpainter.[Ch]: interface consolidation
5439 2003-08-18 André Pönitz <poenitz@gmx.net>
5442 * BufferView_pimpl.C:
5444 * paragraph_funcs.C:
5446 * text3.C: remove LyXScreen::draw() and fitCursor calls
5448 * BranchList.h: remove spurious semicolons
5450 * MenuBackend.C: fix branchlist related crash
5452 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5460 * bufferparams.[Ch]:
5464 * text3.C: implements the 'branch inset'
5465 idea. This allows the output of various versions of a document
5466 from a single source version, selectively outputing or suppressing
5467 output of parts of the text.
5468 This implementation contains a 'branch list editor' in a separate
5469 tab of the document settings dialog. Branches are user definable
5470 and have a "display colour" to distinguish them on-screen.
5472 ColorHandler was somewhat cleaned up.
5473 (1) make possible a dynamically growing LColor list by allowing
5474 the graphic context cache to grow along (vector);
5475 (2) eliminate an IMHO unnecessary step in colour allocation.
5477 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5479 * BufferView_pimpl.C: compile fix
5481 2003-08-15 André Pönitz <poenitz@gmx.net>
5483 * rowpainter.C: remove extra metrics calls
5485 * lyxtext.h: merge the two constructors into a single one,
5486 pass reference to owner's par list
5488 * BufferView_pimpl.C:
5492 2003-08-15 André Pönitz <poenitz@gmx.net>
5494 * lyxrow_funcs.[Ch]:
5497 * paragraph_funcs.C:
5502 * text_funcs.C: split LyXText::rowlist_ into individual
5503 Paragraph::rows_ chunks
5506 * BufferView_pimpl.[Ch]:
5509 * text3.C: remove toggleSelection()
5511 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5513 * bufferlist.C: beautify two alerts (shorter text of buttons)
5514 * buffer.C: Remove redundant ' ' from message
5516 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5517 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5518 rename VALIGN_CENTER to VALIGN_MIDDLE
5520 2003-08-11 André Pönitz <poenitz@gmx.net>
5522 * lyxtext.h (getPar):
5523 * text.C: new function
5525 2003-08-11 André Pönitz <poenitz@gmx.net>
5528 * tracer.[Ch]: remove unneeded files
5530 * InsetList.[Ch]: remove resizeInsetsLyXText()
5535 * text3.C: merge insertParagraphs() and appendParagraph()
5536 remove breakAgain(), update()
5538 * BufferView_pimpl.[Ch]:
5539 * bufferview_funcs.[Ch]:
5543 * tabular.C: adjust after text & InsetList changes.
5545 2003-08-08 André Pönitz <poenitz@gmx.net>
5547 * text.C (insertChar, backspace): replace rowlist fiddling
5548 with rebreak of full par
5551 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5552 checkParagraph, updateInset): removed
5554 2003-08-07 André Pönitz <poenitz@gmx.net>
5557 * text3.C: merge some LFUN handlers, remove dead code
5559 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5561 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5563 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5565 * text2.C (DEPM): fix part of bug 1255 and 1256
5567 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5569 * BufferView_pimpl.C (workAreaDispatch): change to use
5570 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5571 that are no mouse related.
5573 2003-08-05 André Pönitz <poenitz@gmx.net>
5576 * BufferView_pimpl.[Ch]:
5577 * bufferview_funcs.C:
5579 * text3.C: rip out "deep update"
5581 * textcursor.[Ch] (last_sel_cursor): remove unused member
5583 2003-08-04 André Pönitz <poenitz@gmx.net>
5586 * BufferView_pimpl.[Ch]:
5587 * ParagraphParameters.C:
5588 * bufferview_funcs.C:
5594 * text3.C: replace "complicated" BufferView::update(...) calls with
5597 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5599 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5601 * Makefile.am (lyx_SOURCES): add paper.h
5603 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5605 * Makefile.am: move things around so that both lyx-qt and
5606 lyx-xforms can be built (according to --with-frontend). Then lyx
5607 is a symbolic link to lyx-[firstfrontend]
5609 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5611 * Always use std::endl with lyxerr
5613 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5615 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5617 2003-08-01 André Pönitz <poenitz@gmx.net>
5620 * BufferView_pimpl.[Ch]:
5622 * text3.C: merge BufferView::repaint() and BufferView::update()
5624 2003-08-01 José Matos <jamatos@lyx.org>
5626 * buffer.[Ch]: file_format is no longer a buffer data element.
5628 2003-08-01 André Pönitz <poenitz@gmx.net>
5633 * text2.C: make redoParagraph more independent of current cursor
5635 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5637 * text2.C: remove unneeded members
5639 2003-07-30 André Pönitz <poenitz@gmx.net>
5641 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5643 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5644 create a single function...
5646 * paragraph_funcs.C (moveItem): ... here.
5649 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5651 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5653 * LColor.[Ch]: Add comment and greyedout logical colors.
5655 2003-07-30 André Pönitz <poenitz@gmx.net>
5657 * tabular.C: don't use Assert too heavily. This crashes where it
5660 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5662 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5663 is disabled (bug 1232)
5665 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5667 * factory.C: limited 'arg' scope
5669 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5671 * factory.C: fixed Note submenu issues
5673 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5675 * factory.C: submenu for Note/Comment/Greyedout
5677 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5680 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5682 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5685 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5686 greyedout. Patch provided by Jürgen Spitzmüller.
5688 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5690 * kbmap.C (read): fix error message when reading bind files
5692 2003-07-29 Angus Leeming <leeming@lyx.org>
5694 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5695 certainly does not do what it purports to do. I am doing it, and
5696 us, a favour by killing it.
5698 2003-07-28 José Matos <jamatos@lyx.org>
5700 * buffer.C (readBody, do_writeFile):
5701 * paragraph.C(readParagraph): \end_document replaces \the_end.
5703 2003-07-29 André Pönitz <poenitz@gmx.net>
5706 * BufferView_pimpl.[Ch]:
5710 * textcursor.[Ch]: remove toggleToggle & Co
5712 2003-07-28 José Matos <jamatos@fep.up.pt>
5714 * buffer.C (readParagraph):
5715 * params_func (readParToken, readParagraph):
5716 * paragraph.C (write): \layout -> \begin_layout.
5718 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * lyxlex_pimpl.C (setFile): clean up slightly.
5722 * bufferparams.h: add compressed var
5724 * buffer_funcs.C (readFile): adjust for LyXLex change
5725 (newFile): ditto + simplify
5727 * buffer.C (writeFile): handle writing of compressed files
5729 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5730 Check if the file is compressed and set a bufferparm if so.
5732 * Makefile.am (lyx_LDADD): remove explicit -lz
5734 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5736 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5737 makeDocBookFile): put the real LyX version in the first line of
5741 * version.C.in: remove lyx_docversion
5743 * tabular.C (write_attribute): add a template-based version to
5744 write enums properly
5746 2003-07-28 André Pönitz <poenitz@gmx.net>
5751 * text3.C: use doubles again for x-coordinates. They are needed.
5753 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * messages.C (getLocaleDir): use lyx_localedir()
5757 * lyxlex_pimpl.C (setFile): compress stuff
5759 * buffer.C (writeFile): add some compression stuff
5760 (do_writeFile): new func, dont call expliti close... will this
5763 * Makefile.am (lyx_LDADD): add -lz
5765 2003-07-28 José Matos <jamatos@fep.up.pt>
5767 * buffer.C: increment file format.
5768 * paragraph_funcs (readParagraph, readParToken):
5769 * paragraph.C (readParagraph): add \end_layout.
5771 2003-07-27 Angus Leeming <leeming@lyx.org>
5773 * Makefile.am: remove special casing for configure-time setting of
5774 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5776 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5777 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5779 2003-07-26 André Pönitz <poenitz@gmx.net>
5781 * paragraph_func.[Ch]:
5782 * paragraph.C (realizeFont): inline it whereever it is used
5787 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5790 2003-07-26 André Pönitz <poenitz@gmx.net>
5794 * text2.C: get rid of LyXText::need_break_row
5796 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * toc.[Ch]: put namespace toc inside namespace lyx
5800 * MenuBackend.C (expandToc2): adjust for lyx::toc
5803 * lyxfunc.C (dispatch): adjust for lyx::find
5805 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5806 lyx::find instead. Reorganize a bit.
5807 (LyXReplace): rename to replace
5808 (LyXFind): rename to find
5810 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5813 2003-07-26 André Pönitz <poenitz@gmx.net>
5815 * text.C (setHeightOfRow): restrict scope of temporary variable
5817 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5818 code (never has been used?)
5820 2003-07-27 Asger Alstrup <alstrup@local>
5822 * text.C (fill): Optimise algorithm to exploit that we can reuse
5823 the LyXFont for many characters.
5824 (setHeightOfRow): Same thing.
5825 (rowBreakPoint): Same thing.
5827 2003-07-26 Asger Alstrup <alstrup@local>
5829 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5831 * text.C (singleWidth): Spurious font copying in hot-spot
5832 singleWidth avoided. Reorder tests for arabic for efficiency.
5834 * text.C (fill): handle empty paragraphs better.
5836 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5839 * encoding.h: add includes
5841 * lyxrc.C: remove reading of bind files
5843 * lyx_main.C (init): setup bindings and menus only if we have a
5846 * kbmap.C (read): new method. Do the actual reading of bind
5849 * converter.C (dvipdfm_options):
5852 (output): adapt PAPER_* enums.
5854 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5856 * bufferparams.h: remove paper-related enums from there
5858 * paper.h: New file. A trivial header file to hold paper-related
5859 enums. It should later expand to contain many paper-related
5862 * lyxrc.C: declare extern displayTranslator
5864 2003-07-27 José Matos <jamatos@fep.up.pt>
5866 * tabular.[Ch] (linuxdoc): add support for tables and figures
5869 2003-07-27 José Matos <jamatos@fep.up.pt>
5871 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5872 consistency in both functions.
5873 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5875 2003-07-26 Asger Alstrup <alstrup@local>
5877 * rowpainter.C (paintRows): Change algorithm to work directly on
5878 the insets rather than asking every character in the document
5879 whether its an inset.
5881 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5883 * buffer.C (openFileWrite): factorize some code
5885 2003-07-26 Angus Leeming <leeming@lyx.org>
5888 * lyx_main.[Ch]: replace occurances of system_tempdir with
5891 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5893 * rename Inset to InsetOld
5895 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5897 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5898 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5899 which I think is a bit clearer. EDIT is gone, since it was
5900 premature optimisation, and broken for mathed anyway.
5901 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5902 with cursor positioning in insets as well (math insets still do not
5903 work, but that's a different story anyway.) It mysteriously
5904 crashes sometimes with undo in the first paragraph, but I'm fairly
5905 confident that this is a compiler bug.
5907 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * paragraph.C (Paragraph): adjust for new clone return type
5911 (copyIntoMinibuffer): ditto
5913 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5915 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5916 by not having a special case, and always doing a full rebreak of
5917 the document after undo.
5919 2003-07-23 Angus Leeming <leeming@lyx.org>
5921 * factory.C (createInset): InsetExternal::setParams now takes a
5924 2003-07-23 Angus Leeming <leeming@lyx.org>
5926 * factory.C (createInset): changed interface to the external and
5927 graphics mailers' string2params functions.
5929 2003-07-23 Angus Leeming <leeming@lyx.org>
5931 * factory.C (createInset): pass a
5932 Buffer const * parameter to InsetExternalMailer's string2params.
5934 2003-07-22 John Levon <levon@movementarian.org>
5936 * Thesaurus.h: include the right aiksaurus header
5938 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5940 * MenuBackend.C (expand): check menu shortcuts unconditionally
5942 2003-07-21 Angus Leeming <leeming@lyx.org>
5944 * factory.C (createInset): pass a
5945 buffer_path parameter to InsetGraphicsMailer's string2params.
5947 2003-07-21 Angus Leeming <leeming@lyx.org>
5949 * BufferView_pimpl.C (buffer):
5952 * lyxfunc.C (dispatch):
5953 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5954 rather than the grfx shortcut.
5956 2003-07-21 André Pönitz <poenitz@gmx.net>
5958 * rowpainter.C: remove unused variables
5961 * tabular_funcs.h: move to tabular.C
5962 * Makefile.am: adjust
5964 * tabular.[Ch]: basic optical cleaning
5966 * author.h: pass references, not values
5968 2003-07-18 André Pönitz <poenitz@gmx.net>
5976 * text3.C: two-phase drawing for InsetText and InsetTabular
5977 some float -> int changes.
5979 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5981 * lyx_main.C: fix the fix
5983 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5985 * lyx_main.C: fix a crash in batch mode if no files specified
5988 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5990 * format.[Ch] (papersize): moved to BufferParams
5991 * converter.[Ch] (dvips_options): moved to BufferParams
5992 (dvipdfm_options): moved to anon namespace
5993 * bufferparams.[Ch]: added above functions.
5995 2003-07-17 André Pönitz <poenitz@gmx.net>
5999 * text2.C: don't call inset->update() anymore
6001 * metricsinfo.[Ch]: add convenience constructor
6003 2003-07-16 André Pönitz <poenitz@gmx.net>
6008 * text2.C: replace the LyXCursor::irow_ member with
6009 on-demand computation of the value
6011 2003-07-16 John Levon <levon@movementarian.org>
6013 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6015 2003-07-15 André Pönitz <poenitz@gmx.net>
6018 * text2.C: remove no more needed refresh_row
6020 2003-07-15 André Pönitz <poenitz@gmx.net>
6025 * text3.C: refresh_status tristate -> need_update bool
6027 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6029 * lyxtext.h (init): remove reinit argument (act as if always true)
6030 * text2.C: adjust to that
6032 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6034 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6035 * text3.C: use it to delete selections in some cases
6036 (bugs 441, 673, 702, 954).
6038 2003-07-14 André Pönitz <poenitz@gmx.net>
6040 * rowpainter.[Ch]: reduce interface
6042 2003-07-14 André Pönitz <poenitz@gmx.net>
6044 * BufferView_pimpl.C:
6045 * text2.C: adjust after removing unused BufferView * argument
6047 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6049 * text2.C (init): fix a crash fired on resize
6051 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6053 * buffer.[Ch]: added new closing signal
6054 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6055 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6056 BufferView::Pimpl via the closing the signal
6058 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6060 * buffer.[Ch]: take out all bv-related from buffer
6062 * BufferView_pimpl.[Ch]: connect to new signals
6063 * CutAndPaste.C: removed useless asserts
6064 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6067 * lyxfunc.C: moved view-related funciontality from vc here
6068 * paragraph.C: removed outdated comments
6071 2003-07-10 André Pönitz <poenitz@gmx.net>
6073 * BufferView_pimpl.C:
6077 * text2.C: remove InsetText::InnerCache, clean up consequences
6079 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6081 * ispell.C: fix two typos in error messages
6083 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6085 * Extend Note inset to other forms of annotation like Comment
6086 and Greyedout. Right button click gives dialog.
6088 Files modified or added (+):
6092 * ControlNote.[Ch] +
6094 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6095 frontends/controllers
6099 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6101 * aspell.C: add missing namespace lyx::support
6103 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6105 * BufferView.[Ch] (newFile): Add
6106 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6107 * LaTeX.[Ch] (message): added this signal and use it
6108 * buffer.[Ch] (busy, message): added these signals and use them
6109 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6113 * importer.C: use buffer signals instead of direct bv calling
6114 * lyx_cb.[Ch] (ShowMessage): removed
6117 * paragraph_funcs.C:
6118 * text2.C: use buffer signals
6120 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * introduce namespace lyx::graphics
6124 2003-07-02 André Pönitz <poenitz@gmx.net>
6126 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6128 2003-07-01 André Pönitz <poenitz@gmx.net>
6135 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6136 text*.C to text_func.C
6138 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * introduce namespace lyx::support
6142 2003-06-30 André Pönitz <poenitz@gmx.net>
6147 * text.C: re-enable --with-included-string
6149 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * textcursor.C: add <config.h>
6153 * text.C (getWord): remove const from word_location arg
6155 * lyxvc.C (getLogFile): fix const type order
6157 * lyxtext.h: remove const from word_location arg, add arg name
6159 * lyxlayout.h: currect type on labeltype.
6161 * importer.C: correct \file
6163 * converter.C (intToFormat): use std:: on ret val, ws changes
6165 * bufferlist.h: correct \file
6167 * buffer.C (makeLinuxDocFile): fix const type order
6168 (makeDocBookFile): ditto
6169 (fillWithBibKeys): use std:: on stdlib args.
6171 * CutAndPaste.C: fix authors.
6172 (availableSelections): use std:: on return vector
6174 2003-06-27 André Pönitz <poenitz@gmx.net>
6176 * BufferView_pimpl.C:
6177 * bufferview_funcs.C:
6185 * text3.C: remove LyXCursor::row_ member
6188 * text.C: rename fullRebreak() to partialRebreak() and implement
6189 a fullRebreak() that really bereks fully
6191 * textcursor.h: new struct for cursor-related data
6193 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6195 * lyx_main.C (LyX): get full path of document loaded on the
6198 2003-06-26 André Pönitz <poenitz@gmx.net>
6200 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6201 remove unused/broken operator>,<,>=.
6203 * text.C: remove only use of broken operator<= in an Assert().
6205 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6207 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6208 moved errorlist_.clear to showErrorList
6210 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6212 * converter.C (scanLog, runLaTeX):
6213 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6214 move the bv->showErrorList call to the callers
6215 * lyxfunc.C: i.e. here...
6217 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6218 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6219 namespace, the second to...
6220 * buffer_funcs (BufferFormat, parseErrors): added
6221 * errorlist.C (ErrorList(TeXErrors const &)): removed
6223 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6225 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6227 2003-06-24 "Garst R. Reese" <reese@isn.net>
6231 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6233 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6235 * version.C.in: change docversion to 1.4
6237 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6239 * buffer.C: fix a bug just introduced
6241 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6243 * buffer.[Ch]: added the parseError signal and use it, removed
6245 * BufferView.[Ch] (addError): moved to ...
6246 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6247 to the Buffer::parseError signal to catch (guess what) parse errors
6248 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6250 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6252 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6253 ability to create a buffer and to return an existing one from
6254 the list. Moved these functions to...
6255 * buffer_funcs.[Ch]: added
6256 * BufferView.[Ch] (loadLyXFile): added
6257 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6258 job removed from bufferlist::loadLyXFile.
6259 * buffer.C (setReadOnly): make it work without view
6260 (i.e added an if (users))
6262 2003-06-19 Angus Leeming <leeming@lyx.org>
6265 * LyXAction.C (init):
6266 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6267 with LFUN_DIALOG_SHOW <name> <data>.
6269 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6271 * CutAndPaste.C (availableSelections): small compilation fix for
6272 ancient (gcc 2.9x) compilers
6274 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6276 * text3.C (cursorNext): add tmp var
6278 * text2.C (updateCounters): for function calling out of for clause
6279 (replaceSelectionWithString): ditto
6280 (insertStringAsParagraphs): ditto
6281 (getColumnNearX): add tmp var
6282 (setCursorFromCoordinates): add tmp var
6283 (cursorDownParagraph): add tmp var
6284 (deleteEmptyParagraphMechanism): add tmp var
6286 * text.C (insertChar): add tmp var
6288 * rowpainter.C (paintDepthBar): add tmp var
6290 * CutAndPaste.C (availableSelections): potentially check all
6291 paragraphs in a cut to fill the shown strings.
6293 2003-06-18 André Pönitz <poenitz@gmx.net>
6295 * kbmap.[Ch]: use vector<> instead of list<>
6297 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6299 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6300 pasteSelection with index
6302 * text2.C (pasteSelection): modify, call pasteSelection with index
6304 * paragraph.C (asString): reimplement version with no interval to
6305 call the one with interval.
6307 * lyxtext.h: add index arg to pasteSelection
6309 * MenuBackend.C (MenuItem): handle PasteRecent
6310 (Menu::read::Menutags): add md_pasterecent
6312 (expandPasteRecent): new function
6315 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6317 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6319 (availableSelections): new function
6321 2003-06-17 Angus Leeming <leeming@lyx.org>
6323 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6325 2003-06-17 Angus Leeming <leeming@lyx.org>
6328 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6330 * lyxfunc.C (dispatch): invoke it.
6332 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6334 * iterators.C (operator++, ParPosition): reintroduce some
6335 const_cast for the benefit of older compilers.
6337 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6339 * text3.C (dispatch): do not modify clipboard when doing
6340 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6341 LFUN_DELETE_SKIP on a selection selection
6343 2003-06-16 André Pönitz <poenitz@gmx.net>
6349 * tabular.[Ch]: IU of clone() and getLabelList();
6351 2003-06-13 André Pönitz <poenitz@gmx.net>
6353 * tabular.h: compactification
6355 2003-06-12 André Pönitz <poenitz@gmx.net>
6359 * tabular_funcs.h: some renaming plus whitespace
6361 2003-06-12 André Pönitz <poenitz@gmx.net>
6364 * BufferView_pimpl.C:
6370 * toc.C: Return a Paragraph & for ParIterator::operator*()
6372 2003-06-11 John Levon <levon@movementarian.org>
6376 * ToolbarBackend.C: add "Toolbars" section and
6379 2003-06-10 Angus Leeming <leeming@lyx.org>
6382 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6384 * lyxfunc.C (dispatch): invoke it.
6386 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * main.C: protect <ios> with HAVE_IOS
6389 (main): protect sync_with_stdio with HAVE_IOS
6391 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6393 * text2.C (cutSelection): adjust
6394 (pasteSelection): adjust
6396 * messages.C: handle get of empty string
6398 * main.C (main): use sync_with_stdio(false)
6400 * lyxfunc.C (dispatch): adjust
6402 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6403 (WriteAs): remove unneeded BufferView arg.
6405 * bufferparams.h: use correct types on papersize, papersize2 and
6408 * bufferparams.C (readToken): adjust for type
6409 (writeLaTeX): add missing cases to switch.
6411 * bufferlist.C (quitWriteBuffer): adjust
6414 * buffer.C (asciiParagraph): remove some commented code.
6416 * CutAndPaste.C: remove current_view extern variable.
6417 (cutSelection): add BufferParams arg.
6418 (eraseSelection): add BufferParams arg.
6419 (pasteSelection): add Buffer const & arg
6421 2003-06-07 John Levon <levon@movementarian.org>
6424 * paragraph_funcs.C:
6425 * paragraph_pimpl.C:
6429 * paragraph.C: allow InsetERT to freely space lines,
6430 and some consolidation of code
6432 2003-06-06 José Matos <jamatos@fep.up.pt>
6434 * buffer.C (makeDocBookFile): fix bug #821
6436 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6438 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6440 2003-06-04 Angus Leeming <leeming@lyx.org>
6442 * buffer.C: bump format to 224.
6444 2003-06-05 André Pönitz <poenitz@gmx.net>
6446 * text2.C (redoParagraphs): remove two const_cast<>
6448 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6450 * ParagraphList.h: remove last remnants of NO_STD_LIST
6452 2003-06-03 Angus Leeming <leeming@lyx.org>
6454 * factory.C (createInset): small change to the way InsetExternal's params
6457 2003-06-04 André Pönitz <poenitz@gmx.net>
6459 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6461 * paragraph_pimpl.h:
6462 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6464 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6466 * undo_funcs.C: make some simple cases of undo work again
6468 2003-06-03 John Levon <levon@movementarian.org>
6470 * ispell.C: HPUX doesn't have sys/select.h
6473 2003-06-03 John Levon <levon@movementarian.org>
6475 * CutAndPaste.C: update tabular and include inset
6480 * paragraph.C: remove owningBuffer(), don't pass Buffer
6483 * factory.C: insetGraphicsParams changed
6485 2003-06-02 John Levon <levon@movementarian.org>
6491 * text3.C: remove insetparent
6493 2003-06-02 John Levon <levon@movementarian.org>
6496 * buffer.C: fix inset_iterator.end(), move out of line
6499 2003-06-01 John Levon <levon@movementarian.org>
6501 * text3.C: use a proper cut/paste when doing inset
6502 insert (from Jürgen Spitzmüller)
6504 2003-06-01 John Levon <levon@movementarian.org>
6506 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6508 2003-05-30 André Pönitz <poenitz@gmx.net>
6510 * rowpainter.C: unify second drawing phase
6512 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * trans_mgr.C: remove one case of current_view
6516 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6518 * paragraph_funcs.h: remove paragraph.h include
6520 * paragraph.h: delete NO_STD_LIST stuff
6522 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6524 * buffer.h: remove paragraph.h include
6526 * ParagraphList.C: delete file
6528 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6530 * toc.C (getTocList): adjust
6532 * paragraph_pimpl.C (validate): adjust
6534 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6536 * paragraph.C (Paragraph): adjust
6537 (getPositionOfInset): use const_iterator, adjust
6538 (bibitem): use const_iterator, adjust
6539 (setInsetOwner): adjust
6541 * iterators.C (operator++): adjust
6543 * InsetList.[Ch]: Replace selfmade iterator with standard
6544 vector::iterator also introduce const_iterator. Remove getPos,
6545 getInset and setInset from InsetTable. Adjust accordingly.
6547 * BufferView.C (lockInset): adjust
6548 (ChangeInsets): adjust
6550 * tabular.[Ch]: delete commented same_id functions
6552 2003-05-28 John Levon <levon@movementarian.org>
6554 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6556 2003-05-28 André Pönitz <poenitz@gmx.net>
6558 * metricsinfo.[Ch]: remove 'fullredraw' member
6560 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6562 * lyxtextclass.C (operator): remove caching.
6564 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * text2.C (cursorBottom): adjust
6569 (setCounter): use ParagraphList::find, adjust
6571 * text.C (workWidth): use ParagraphList::find, adjust
6573 * lyxcursor.C (LyXCursor): adjust
6575 * buffer.C (inset_iterator): adjust
6577 * ParagraphList.h: make iterator(value_type) private, make
6578 ParagraphList a friend of iterator.
6580 * ParagraphList.C (find): new function
6582 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6584 2003-05-27 André Pönitz <poenitz@gmx.net>
6586 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6588 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6590 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6592 2003-05-26 John Levon <levon@movementarian.org>
6594 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6596 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * remove same_id from function signatures, adjust.
6600 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6604 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6606 * paragraph.C (Paragraph): get rid of same_ids parameter
6608 * ParagraphList.C (insert): adjust
6611 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6613 * paragraph_funcs.C (breakParagraph): adjust
6614 (breakParagraphConservative): adjust
6616 * buffer.C (readParagraph): adjust
6618 * ParagraphList.C (insert): take a reference instead of a pointer
6621 * paragraph.[Ch] (id): new function
6623 * bufferlist.C (newFile): adjust
6625 * ParagraphList.C (ParagraphList): adjust
6627 (push_back): take a reference instead of a pointer.
6629 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6631 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6634 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6635 set else use old code.
6637 * ParagraphList.C: remove all NO_NEXT code and only compile this
6638 code of NO_STD_LIST is set.
6640 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6642 * BufferView_pimpl.C:
6652 * graphics/GraphicsConverter.C:
6653 * graphics/PreviewLoader.C: header adjustment
6655 2003-05-23 Angus Leeming <leeming@lyx.org>
6657 * LaTeXFeatures.[Ch] (useBabel): new method.
6658 * bufferparams.C (writeLaTeX): use it.
6660 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * ParagraphList.h (set): remove unused function.
6664 2003-05-23 André Pönitz <poenitz@gmx.net>
6667 * BufferView_pimpl.C:
6671 * undo_funcs.C: setUndo reworked
6673 * iterators.[Ch]: add access to topmost ParagraphList
6675 * lyxtext.[Ch] (workWidth): add a const
6677 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6679 * texrow.[Ch] (increasePos): remove function
6680 * exporter.C (export): removed unused var and outdated comment
6682 2003-05-23 Angus Leeming <leeming@lyx.org>
6684 * latexrunparams.h: rename fragile as moving_arg.
6685 * paragraph.C (simpleTeXOnePar): ditto.
6686 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6688 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6692 (textUndoOrRedo): comment out a currently unused var.
6694 * paragraph.h (NO_NEXT): enable NO_NEXT
6696 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6698 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6700 * exporter.C (Export): adjust for removeAutoInsets removal.
6702 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6704 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6706 * BufferView.[Ch] (removeAutoInsets): delete function
6708 2003-05-22 Angus Leeming <leeming@lyx.org>
6710 * latexrunparams.h: add a free_spacing variable.
6712 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6713 to pass moving_arg, as the data is stored in runparams.fragile.
6715 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6716 to Inset::latexOptional or to simpleTeXOnePar.
6718 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6719 free_spacing arg to Inset::latexOptional.
6721 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6724 2003-05-22 Angus Leeming <leeming@lyx.org>
6726 * latexrunparams.h: add fragile and use_babel variables.
6728 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6729 * buffer.C (makeLaTeXFile): store this returned value in
6730 runparams.use_babel, thus passing it to the inset::latex methods.
6732 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6733 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6735 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6736 longer has a fragile arg, as it is stored in runparams.fragile.
6738 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6739 moving_arg parameter as the data is stored in runparams.fragile.
6741 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6742 a fragile parameter as the data is stored in runparams.fragile.
6744 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6748 2003-05-22 Angus Leeming <leeming@lyx.org>
6750 * latexrunparams.h: add a 'bool nice' which defaults to false.
6752 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6753 now encapsulated within runparams.
6755 * bufferlist.C (updateIncludedTeXfiles):
6756 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6758 2003-05-22 Angus Leeming <leeming@lyx.org>
6760 * latexrunparams.h: new file containing struct LatexRunParams.
6761 * Makefile.am: add new file.
6763 * LaTeX.[Ch] (c-tor, run):
6764 * buffer.[Ch] (makeLaTeXFile):
6765 * bufferlist.[Ch] (updateIncludedTeXfiles):
6766 * converter.C (convert, scanLog):
6767 * converter.[Ch] (runLaTeX):
6768 * exporter.C (Export):
6769 * paragraph.[Ch] (simpleTeXOnePar):
6770 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6771 * paragraph_funcs.[Ch] (latexParagraphs):
6772 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6773 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6774 pass around a LatexRunParams parameter.
6776 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * paragraph.[Ch]: remove unused constructor
6780 * ParagraphList.C (erase): new function, taking two iterators
6782 2003-05-22 André Pönitz <poenitz@gmx.net>
6784 * undo_funcs.C: remove duplicated code
6786 * iterator.[Ch]: operator=
6788 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6790 * tabular.C (SetMultiColumn): ws changes
6792 * rowpainter.C (paintFirst): get rid of a ->previous
6794 * lyx_cb.C (getPossibleLabel): parlist simplification
6796 * BufferView.C (ChangeInsets): simplify slightly.
6798 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6800 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6801 * lfuns.h: new LFUN_SPACE
6802 * lyxfunc.C: protected space has a new lfun
6803 * paragraph_funcs.C: read new space insets
6805 * factory.C: handle new space insets
6807 2003-05-22 André Pönitz <poenitz@gmx.net>
6810 * BufferView_pimpl.C:
6813 * undo_funcs.C: return a ParIterator from getParFromID.
6815 * iterators.[Ch]: add two const's
6817 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * toc.C (getTocList): adjust
6821 * iterators.[Ch]: rework for parlist
6823 * buffer.C (par_iterator_begin): adjust
6824 (par_iterator_end): adjust
6826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6828 * BufferView.C (removeAutoInsets): adjust
6829 (ChangeInsets): adjust
6831 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6833 * text.C (top_y): fix bug 1110
6835 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6837 * errorlist.[Ch]: added
6840 * BufferView_pimpl.C:
6841 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6844 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * Makefile.am: ensure that lyx is relinked upon changes to the
6847 various "convenience" libs.
6849 2003-05-20 Angus Leeming <leeming@lyx.org>
6851 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6852 files are compiled in alphabetical order again.
6854 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6856 2003-05-19 Angus Leeming <leeming@lyx.org>
6858 * gettext.[Ch]: remove "char const * _(char const *)".
6860 2003-05-19 André Pönitz <poenitz@gmx.net>
6862 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6871 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6873 2003-05-19 André Pönitz <poenitz@gmx.net>
6877 * lyxtextclass.[Ch]:
6879 * paragraph_funcs.[Ch]:
6881 * text3.C: more insetenv work
6883 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6885 * ParagraphParameters.C (params2string): small bug fixed
6887 2003-05-16 André Pönitz <poenitz@gmx.net>
6890 * bufferview_funcs.C: patch from Kornel Benko to prevent
6891 crash when _(...) is called twice in a statement
6893 2003-05-16 André Pönitz <poenitz@gmx.net>
6900 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6902 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6904 * lyx_main.C (init): remove spurious static_cast
6906 2003-05-14 André Pönitz <poenitz@gmx.net>
6908 * BufferView.C: fix format string
6910 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6912 * BufferView.[Ch] (insertErrors): removed
6913 * BufferView.[Ch] (showErrorList): added
6914 * buffer.C (runChkTeX):
6915 * converter.C (scanLog): call showErrorList instead of inserterrors
6917 2003-05-13 André Pönitz <poenitz@gmx.net>
6919 * BufferView_pimpl.C:
6921 * bufferview_func.C:
6928 * tabular_funcs.h: tostr() from its own header
6930 * ParagraphParameters.C:
6935 * text3.C: STRCONV()
6937 2003-05-12 André Pönitz <poenitz@gmx.net>
6940 * BufferView_pimpl.C:
6944 * ParagraphParameters.C:
6948 * bufferview_funcs.C:
6961 * paragraph_funcs.C:
6965 * text3.C: boost::format -> bformat all over the place
6968 2003-05-09 André Pönitz <poenitz@gmx.net>
6970 * LColor.[Ch]: Pimpl the #include <map> away
6972 2003-05-09 John Levon <levon@movementarian.org>
6974 * bufferlist.C: never remove emergency saves
6976 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * Makefile.am: better lib building
6980 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6982 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6984 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6985 (simpleTeXSpecialChars): adjust
6986 (simpleTeXSpecialChars): adjust
6987 * paragraph.C (simpleTeXOnePar): adjust
6988 * buffer.C (makeLaTeXFile): adjust
6990 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6992 * text2.C (changeDepth): parlist cleanup
6993 (getColumnNearX): ditto
6995 * rowpainter.C (getLabelFont): parlist cleanup
6997 * bufferlist.C (newFile): parlist cleanup
6999 * CutAndPaste.C (eraseSelection): parlist cleanup
7001 * BufferView_pimpl.C (trackChanges): parlist cleanup
7004 * BufferView.C (lockInset): parlist cleanup.
7005 (ChangeInsets): ditto
7007 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * CutAndPaste.h: Update file header.
7011 * CutAndPaste.C: Update file header.
7012 Store the parts cut out of the Document in a limited_stack.
7013 (copySelection): adjust
7014 (pasteSelection): new function, takes the index in the limited stack.
7015 (nrOfParagraphs): adjust
7016 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7017 simplify error inset insertion.
7018 (checkPastePossible): adjust
7020 2003-05-06 John Levon <levon@movementarian.org>
7022 * text2.C: don't cast wrap inset to float
7024 2003-05-05 André Pönitz <poenitz@gmx.net>
7027 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7029 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7030 few naked Paragraph *.
7032 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7034 * bufferparams.C: Output warning if a document with missing
7035 TeX document class is loaded
7036 * exporter.C: Disable TeX exports if the document class is missing
7039 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7040 isTeXClassAvailable()
7042 2003-05-03 John Levon <levon@movementarian.org>
7045 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7046 explicit cursor show/hide
7048 * BufferView_pimpl.h:
7049 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7050 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7052 * lyxfunc.C: hide cursor before dispatching.
7057 * text3.C: remove explicit cursor hides
7059 2003-05-02 André Pönitz <poenitz@gmx.net>
7061 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7064 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7067 * text2.C: tiny whitespace
7069 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * undo_funcs.C: almost only ws changes.
7073 * ParagraphList.C (splice): just return if pl is empty.
7075 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * ParagraphList.C (splice): new function.
7079 * CutAndPaste.C (pasteSelection): use it
7081 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * CutAndPaste.C (pasteSelection): remove the last next and
7084 previous from this file.
7086 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7088 * CutAndPaste.C (pasteSelection): more clean up, user proper
7089 ParagraphList functions for pasteing.
7091 * ParagraphList.C (insert): new function, three arg insert
7093 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7095 * ParagraphList.C (insert): new function, three arg insert
7097 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7100 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7104 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7108 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7111 (copySelection): clean up a bit.
7112 (pasteSelection): use make_pair
7114 * ParagraphList.C (ParagraphList): implement copy constructor
7115 (operator=): implement, base on copy constructor.
7118 * paragraph.C (erase): return a bool
7120 * paragraph_pimpl.C (erasePos): remove function, move contents...
7121 (erase): ... here. Return a bool.
7122 (erase): call erase instead of erasePos.
7124 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7126 * ParagraphList.h: define PitPosPair
7127 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7128 ParagraphList, fix a bug on pasting multiple pars
7129 * text2.C: change interface to C&P
7131 2003-04-30 André Pönitz <poenitz@gmx.net>
7133 * undo_func.C: revert part of yesterday's patch 2
7135 2003-04-30 John Levon <levon@movementarian.org>
7137 * LColor.C: s/tabular/table/
7139 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7141 * text3.C (dispatch): do not convert iterator -> pointer
7142 * undo_funcs.C (setCursorParUndo): ditto
7143 * text_funcs.C (transposeChars): ditto
7145 * text2.C (setLayout): ws changes only
7147 * text.C (breakParagraph): do not convert iterator -> pointer
7149 (acceptChange): ditto
7150 (rejectChange): ditto
7155 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7158 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7160 * text3.C (gotoInset): YABG (yet another bad getChar)
7162 2003-04-29 André Pönitz <poenitz@gmx.net>
7164 * paragraph.h: make operator= private unimplemented as long as
7167 * ParagraphList.C: whitespace
7170 * paragraph_pimpl.[Ch]:
7171 * paragraph_funcs.C:
7173 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7176 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7178 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7180 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7181 * paragraph.[Ch] (erase):
7182 * paragraph_pimpl.[Ch] (erase): change return type and value
7183 * text2.C (cutSelection): some rework
7185 2003-04-28 John Levon <levon@movementarian.org>
7187 * bufferlist.C: changes for unsaved changes dialog
7189 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7191 * bufferlist.C (newFile): set language (messages_) for new
7194 * buffer.C (readFile): ws changes only.
7196 2003-04-28 André Pönitz <poenitz@gmx.net>
7201 * BufferView_pimpl.C:
7202 * BufferView.C: getParFromID related ParagraphList::iterator changes
7204 2003-04-28 André Pönitz <poenitz@gmx.net>
7206 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7209 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * messages.C: remove one more localedir class variable.
7213 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * messages.C (getLocaleDir): singleton generation function
7217 (Messages): add a default constructor.
7219 * main.C (main): do not setup localedir here, do not call
7222 * gettext.C (_): use it.
7223 (gettext_init): delete funciton
7225 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * gettext.C (getLyXMessages): new singleton generating function.
7229 * buffer.C (updateDocLang): adjust
7231 * Makefile.am (messages.o): add target
7232 (main.o): remove target
7234 2003-04-27 John Levon <levon@movementarian.org>
7239 * lyxvc.C: specify cancel button in Alert::prompt
7241 2003-04-26 John Levon <levon@movementarian.org>
7246 * LyXAction.C: add LFUN_INSET_SETTINGS
7248 * lyxfunc.C: don't enable tabular-feature when there's
7249 just any locking inset
7251 2003-04-26 John Levon <levon@movementarian.org>
7253 * bufferlist.C: re-add Cancel to buffer close question
7255 * lyxfunc.C: fix import UI a bit
7257 2003-04-25 John Levon <levon@movementarian.org>
7259 * gettext.C: remove the broken asserts for now
7261 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * messages.C: make case where setlocale cannot comply work better.
7265 * buffer.C (updateDocLang): new function
7266 (changeLanguage): use it
7269 * text2.C (setCounter): use B_ a bit.
7271 * lyxlayout.C (Read): be sure to trim the label strings.
7273 * messages.C (Messages): fix typo in comment
7275 * buffer.C (readFile): set message_ after file is loaded.
7276 (makeDocBookFile): remove double return
7277 (changeLanguage): reset message_ upon language change.
7278 (B_): new func, use this to get translated buffer strings.
7280 * main.C: add myself and Jean Marc as authors.
7282 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7284 * messages.[hC]: pimplify Messages, and three different pimpls to be
7285 used in different circumstances.
7287 * gettext.[Ch]: change for use with new message code.
7289 2003-04-24 André Pönitz <poenitz@gmx.net>
7291 * factory.C: support for eqref
7293 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7295 * messages.[Ch]: add missing char
7297 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7299 * messages.[Ch]: New files
7301 2003-04-18 John Levon <levon@movementarian.org>
7305 * BufferView_pimpl.C:
7309 * text2.C: remove layout-copy/paste (bug 778)
7311 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7313 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7315 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7317 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7318 if they succeed. Act accordingly.
7320 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7322 * text2.C (setCharFont): adjust
7323 (setCounter): adjust
7324 (insertStringAsLines): adjust
7326 * text.C (leftMargin): adjust
7327 (setHeightOfRow): adjust
7329 * rowpainter.C (paintFirst): adjust
7332 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7334 (isFirstInSequence): ditto
7335 (getEndLabel): ditto
7338 * paragraph.C (getParLanguage): comment out some hard stuff.
7340 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7342 (simpleDocBookOnePar): ditto
7343 (makeDocBookFile): use ParagraphList::iterator
7345 * CutAndPaste.C (pasteSelection): adjust
7347 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * text2.C (getFont): adjust
7350 (getLayoutFont): adjust
7351 (getLabelFont): adjust
7353 * paragraph_funcs.C (TeXOnePar): adjust
7355 * buffer.C (simpleLinuxDocOnePar): adjust
7356 (simpleDocBookOnePar): adjust
7358 * CutAndPaste.C (pasteSelection): adjust
7360 * BufferView.C (getEncoding): adjust
7362 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7364 2003-04-16 John Levon <levon@movementarian.org>
7366 * lyxfind.C: use parlist stuff for search/changes
7368 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7370 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7372 * text2.C (deleteEmptyParagraphMechanism): adjust
7374 * text2.[Ch] (ownerParagraph): delete func (both of them
7376 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7380 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * ParagraphList.C: prepare for NO_NEXT
7384 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * text2.C (getFont): adjust
7387 (getLayoutFont): adjust
7388 (getLabelFont): adjust
7390 * paragraph.C (getFont): adjust
7391 (getLabelFont): adjust
7392 (getLayoutFont): adjust
7394 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7396 2003-04-15 John Levon <levon@movementarian.org>
7400 * lyx_main.C: handle Include in .ui files
7402 2003-04-15 John Levon <levon@movementarian.org>
7404 * MenuBackend.C: make the doc files length shorter
7407 * ToolbarBackend.C: handle toolbar placement flags,
7410 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7415 * paragraph_funcs.C (TeXOnePar): adjust
7417 * paragraph.C (getLabelFont): add outerfont arg, adjust
7418 (getLayoutFont): ditto
7419 (simpleTeXOnePar): adjust
7421 * paragraph_pimpl.C (realizeFont): delete func
7423 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7425 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7426 row argument, constify cur argument.
7428 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * text2.C (getFont): adjust
7431 (getLayoutFont): adjust
7432 (getLabelFont): adjust
7434 * paragraph_funcs.C (TeXOnePar): adjust
7435 (outerFont): new func...
7436 (realizeFont): ...moved out from here, changed this to facilitate
7439 * paragraph.C (getFont): take outerfont as arg, adjust
7440 (simpleTeXOnePar): add outerfont arg, adjust
7442 * buffer.C (simpleLinuxDocOnePar): adjust
7443 (simpleDocBookOnePar): adjust
7445 * CutAndPaste.C (pasteSelection): adjust
7447 * BufferView.C (getEncoding): adjust
7449 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7451 * text2.C (setCharFont): adjust
7452 (setCounter): adjust
7454 * text.C (leftMargin): adjust
7455 (setHeightOfRow): adjust
7457 * rowpainter.C (paintFirst): adjust
7460 * paragraph_pimpl.C (realizeFont): adjust
7462 * paragraph.C (isFirstInSequence): move from here...
7463 * paragraph_funcs.C (isFirstInSequence): ...to here
7465 * paragraph.C (outerHook): move from here...
7466 * paragraph_funcs.C (outerHook): ...to here
7468 * paragraph.C (depthHook): move from here...
7469 * paragraph_funcs.C (depthHook): ...to here
7471 * paragraph.C (getEndLabel): move from here...
7472 * paragraph_funcs.C (getEndLabel): ...to here
7474 * text2.C (realizeFont): move from here...
7475 * paragraph_funcs.C (realizeFont): ...to here
7477 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7481 2003-04-14 Angus Leeming <leeming@lyx.org>
7483 * LColor.[Ch]: scrap LColor mathcursor.
7485 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * lyxlex.[Ch] (text): delete function
7488 * trans.C (Load): adjust
7489 * paragraph_funcs.C (readParToken): adjust
7491 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7493 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7494 vector<char> instead of a char[].
7496 * lyxlex_pimpl.C (getString): adjust
7498 (lex): use getString
7502 * lyxlex.C (text): use pimpl_->getString()
7506 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7508 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7509 (makeFontEntriesLayoutSpecific): temp var for par.size()
7510 (setLayout): temp var for ownerParagraphs().end()
7511 (fullRebreak): temp var for rows().end()
7512 (selectionAsString): temp var for boost::next(startpit), realize
7513 that the while really is a regular for loop.
7514 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7515 setCursor in one place.
7516 (setParagraph): temp vr for ownerParagraphs().end()
7517 (updateCounters): make the while loop a for loop
7518 (cutSelection): temp var for ownerParagraphs().end()
7519 (updateInset): make the do {} while() a regular for loop
7520 (getCursorX): use temp vars
7521 (setCurrentFont): use temp vars
7522 (getColumnNearX): use temp vars
7524 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * text.C (transformChar): use temp var for getChar
7527 (computeBidiTables): use temp var for row->par()
7528 (fill): move temp vars for row->par() and pit->layout() earlier in
7530 (labelFill): use temp var for row->par()
7531 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7532 asc and desc, realize that pit never changes and that firstpit is
7533 just a duplicate and not needed. Exchange rit->par() with pit in a
7535 (breakAgain): use a temp var for boost::next(rit)
7536 (breakAgainOneRow): ditto
7537 (breakParagraph): use a temp var for rows().begin()
7538 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7539 (cursorRightOneWord): use temp var for cursor.par() and
7540 cursor.pos(), remove usage of tmpcursor.
7541 (cursorLeftOneWord): use temp var for cursor.par() and
7542 cursor.pos() only set cur at end of function.
7544 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * text.C, text2.C: exchange all usage of Paragraph::next with
7547 boost::next(ParagraphList::iterator)
7549 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7551 * text2.C (cursorTop): simplify implementation
7552 (cursorBottom): ditto
7553 (setParagraph): use ParagraphList::iterator
7554 (setCurrentFont): adjust
7555 (getColumnNearX): adjust
7556 (cursorRight): adjust
7557 (cursorLeft): remove usage of Paragraph::previous
7558 (cursorUpParagraph): ditto
7559 (deleteEmptyParagraphMechanism): slight cleanup
7561 * text.C (isBoundary): take a Paragraph const & instead of a
7563 (addressBreakPoint): ditto
7564 (leftMargin): remove usage of Paragraph::previous.
7565 (setHeightOfRow): ditto
7566 (cursorLeftOneWord): ditto
7567 (selectNextWordToSpellcheck): ditto
7570 (breakParagraph): remove one usage of Paragraph::next
7571 (redoParagraph): ditto
7572 (acceptChange): ditto
7573 (insertChar): adjust
7574 (rowBreakPoint): adjust
7576 * bufferview_funcs.C (toggleAndShow): adjust
7578 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7580 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7581 methods to access it.
7583 * text.C: Added updateRowPositions to compute all row positions.
7584 Make top_y and getRowNearY() to use the cached y position
7586 2003-04-11 John Levon <levon@movementarian.org>
7588 * text.C (rowBreakPoint): reintroduce the labelEnd
7589 checks, code copied from the row fill stuff. Deep voodoo.
7591 * text.C (fill): add a comment and debugging for the
7594 2003-04-11 John Levon <levon@movementarian.org>
7596 * text.C: make sure fullrow insets get wrapped to the next line,
7597 even when they're in a manual label
7599 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * text2.C (insertParagraph): make it take ParagraphList::iterator
7603 (setLayout): make it return ParagraphList::iterator
7604 (redoParagraphs): ditto
7606 (checkParagraph): ditto
7608 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7610 * text2.C: adjust several funcs.
7611 (realizeFont): take a ParagraphList::iterator as arg.
7612 (getLayoutFont): ditto
7613 (getLabelFont): ditto
7614 (setCharFont): ditto
7616 * text.C: adjust several funcs.
7618 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7620 * text.C (selectNextWordToSpellcheck): don't accidentally
7623 2003-04-10 John Levon <levon@movementarian.org>
7625 * ToolbarBackend.C (getIcon): special handling for
7628 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7630 * text2.C (cursorRight): a getChar assert fixed
7632 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * text2.C (getFont): change to take a ParagraphList::iterator
7635 instead of Paragraph*
7636 Adjust several functions.
7638 * text.C (transformChar): change to take a ParagraphList::iterator
7639 instead of Paragraph*
7640 (singleWidth): ditto
7641 Adjust several functions.
7643 * rowpainter.C: adjust several functions
7644 * rowpainter.h:store a ParagraphList::iterator and not a
7648 2003-04-09 John Levon <levon@movementarian.org>
7653 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7654 and the "help" bits as well
7656 2003-04-09 John Levon <levon@movementarian.org>
7659 * ToolbarBackend.C: allow multiple toolbars
7661 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7663 * undo_funcs.C (setCursorParUndo): adjust
7665 * text_funcs.C (transposeChars): adjust
7667 * text3.C (gotoNextInset): adjust
7670 * text2.C (setLayout): adjust
7671 (changeDepth): adjust
7673 (redoParagraphs): adjust
7674 (selectionAsString): adjust
7675 (setParagraph): adjust
7676 (insertInset): adjust
7677 (cutSelection): adjust
7678 (copySelection): adjust
7679 (pasteSelection): adjust
7680 (insertStringAsLines): adjust
7681 (updateInset): adjust
7682 (setCursor): change to take a ParagraphList::iterator parameter
7683 (setCursorIntern): change to take a ParagraphList::iterator parameter
7684 (setCurrentFont): adjust
7685 (cursorLeft): adjust
7686 (cursorRight): adjust
7687 (deleteEmptyParagraphMechanism): adjust
7689 * text.C (breakParagraph): adjust
7690 (insertChar): adjust
7691 (acceptChange): adjust
7692 (rejectChange): adjust
7693 (selectNextWordToSpellcheck): adjust
7694 (changeCase): adjust
7698 * lyxfind.C (SearchForward): adjust
7699 (SearchBackward): adjust
7700 (nextChange): adjust
7702 * lyxcursor.C (par): adjust
7704 * lyxcursor.h: store a ParagraphList::iterator instead of a
7707 * lyx_cb.C (getPossibleLabel): adjust
7709 * bufferview_funcs.C (toggleAndShow): adjust
7711 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7714 * BufferView.C (removeAutoInsets): adjust
7715 (lockedInsetStoreUndo): adjust
7717 2003-04-09 John Levon <levon@movementarian.org>
7719 * ToolbarBackend.C: try icon without argument
7720 if with argument fails
7722 2003-04-08 John Levon <levon@movementarian.org>
7725 * ToolbarBackend.C: add getIcon(), handle tooltip,
7726 and change from "Icon" to "Item".
7728 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7730 * BufferView.C (lockInset): another bad getchar crunched
7732 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7734 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7737 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7739 * lyxfind.C (searchForward, searchBackwards): bug 782
7741 2003-04-07 John Levon <levon@movementarian.org>
7743 * paragraph.C: remove dead comment
7745 * text.C: remove troublesome depth-fiddling code
7746 in leftMargin() and rightMargin() (bug 1017)
7748 * text.C: fix breaking of rows in nested lists
7751 * text2.C (updateCounters): fix up depth values
7754 2003-04-07 John Levon <levon@movementarian.org>
7756 * BufferView_pimpl.C: clear message when doc finishes resizing,
7757 and after a mouse event
7759 * lyxfunc.C: clear message after exiting inset
7761 2003-04-07 John Levon <levon@movementarian.org>
7763 * bufferview_funcs.C: show math status not outside
7764 status in the statusbar
7766 2003-04-07 John Levon <levon@movementarian.org>
7768 * lyxfunc.C: note status changed after a depth change
7770 2003-04-04 Angus Leeming <leeming@lyx.org>
7772 * LaTeX.h: move AuxInfo operator==, != out of line.
7773 Remove LaTeX virtual destructor; nothing derives from it.
7774 Move operator()() out of public area and rename it startscript().
7775 Change protected for private.
7777 2003-04-04 Angus Leeming <leeming@lyx.org>
7780 * text2.C: remove unneeded #includes.
7782 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7784 * text2.C (dEPM): fix the heigth of the next row
7786 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7788 * text.C: squashed an invalid getChar requester + some ws changes
7790 2003-04-03 John Levon <levon@movementarian.org>
7792 * bufferview_funcs.h:
7793 * bufferview_funcs.C:
7796 * text2.C: make getStatus work for the env depth lfuns
7798 2003-04-03 John Levon <levon@movementarian.org>
7800 * bufferview_funcs.h:
7801 * bufferview_funcs.C:
7804 * text2.C: parlistize decDepth(), by merging it with incDepth()
7806 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7808 * lyxrow.h: store a ParagraphList::iterator instead of a
7809 Paragraph* and adjust other class functions to suit.
7811 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7814 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7816 * text2.C (setCursor): do not anchor to cursor row for the time being
7818 2003-04-02 John Levon <levon@movementarian.org>
7825 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7827 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * paragraph.h: make ParagraphList and ParagraphList::iterator
7830 friends of Paragraph.
7832 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7834 * ParagraphList.C: Use the private next_ and previous_ from
7837 2003-04-01 John Levon <levon@movementarian.org>
7841 * Makefile.am: rename, remove defaults gunk
7844 * MenuBackend.C: remove defaults gunk
7847 * Languages.C: remove defaults gunk
7850 * lyx_main.C: error out if files couldn't be found.
7852 2003-04-02 John Levon <levon@movementarian.org>
7854 * text2.C: make incDepth() use parlist
7856 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * undo_funcs.C (firstUndoParagraph): adjust
7860 * text3.C (gotoInset): adjust
7861 (dispatch): adjust, and rewrite loop.
7863 * text2.C (init): adjust, and rewrite loop.
7864 (redoParagraphs): adjust
7865 (updateInset): adjust, and rewrite loop.
7866 (deleteEmptyParagraphMechanism): adjust
7868 * tabular.C (LyXTabular): adjust
7869 (SetMultiColumn): adjust
7872 * lyxtext.[Ch] (ownerParagraph): delete function
7873 (ownerParagraphs): new function returns a ParagraphList.
7875 * BufferView.C (removeAutoInsets): adjust
7876 (insertErrors): adjust
7877 (setCursorFromRow): adjust
7879 2003-04-01 Angus Leeming <leeming@lyx.org>
7881 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7884 2003-04-02 John Levon <levon@movementarian.org>
7890 * text_funcs.C: make transposeChars a free function
7892 * lyxrow_funcs.C: remove wrong comment
7894 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * rowpainter.C: adjust
7902 * lyxrow_funcs. [Ch]: new files
7904 * lyxrow.[Ch]: remove next and previous pointers
7905 (next,previous): remove accessor functions
7906 (isParEnd): move to lyxrow_funcs
7907 (lastPos): move to lyxrow_funcs
7908 (nextRowIsAllInset): move to lyxrow_funcs
7909 (lastPrintablePos): move to lyxrow_funcs
7910 (numberOfSeparators): move to lyxrow_funcs
7911 (numberOfHfills): move to lyxrow_funcs
7912 (numberOfLabelHfills): move to lyxrow_funcs
7913 (hfillExpansion): move to lyxrow_funcs
7917 * bufferview_funcs.C (toggleAndShow): adjust
7919 * RowList.h: Remove class RowList from file leave just a
7922 * RowList.C: delete file
7924 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7927 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * text3.C (cursorPrevious): adjust
7930 (cursorNext): adjust
7933 * text2.C (redoHeightOfParagraph): adjust
7934 (redoDrawingOfParagraph): adjust
7937 * text.C (breakParagraph): adjust
7938 (insertChar): adjust
7941 * rowpainter.C (RowPainter): adjust
7942 (leftMargin): simplify and adjust
7943 (most rowpainter functions): adjust.
7945 * rowpainter.h: store the row as RowList::iterator not as Row*
7947 * lyxcursor.C (row): taka RowList::iterator as arg
7950 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7953 2003-04-01 Angus Leeming <leeming@lyx.org>
7955 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7956 stuff like bool Bool.
7958 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7960 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7963 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7965 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7968 * lyxtext.h (rows): drop one version and leve a const variant that
7969 returns a RowList::iterator.
7971 2003-03-31 Angus Leeming <leeming@lyx.org>
7973 * text.C (fill): ensure that the signature is the same as that in the
7976 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7978 * text2.C (redoParagraphs): adjust
7979 (updateCounters): adjust
7980 (checkParagraph): adjust
7981 (getColumnNearX): adjust and reformat a bit.
7983 * text.C (top_y): adjust
7985 (leftMargin): adjust
7986 (prepareToPrint): adjust
7988 (getRowNearY): adjust
7990 * lyxtext.h: make rowlist_ mutable.
7992 * RowList.h: add const_iterator
7993 * RowList.C: adjust for RowList::const_iterator.
7995 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7998 2003-03-31 John Levon <levon@movementarian.org>
8001 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8003 * lyx_main.C: set default fonts from using lyx_gui funcs
8005 * exporter.C: pdf_mode moved from lyxrc
8008 * lyxfunc.C: changes from above
8010 2003-03-31 John Levon <levon@movementarian.org>
8012 * lyx_main.C: fix to the last fix
8014 2003-03-31 John Levon <levon@movementarian.org>
8016 * bufferlist.C: "Load original" -> "Load Original"
8022 * format.C: more Alert cleanups
8024 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8026 * text2.C (removeParagraph): make it take a RowList::iterator as
8028 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8029 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8031 * text.C (anchor_row): make it take a RowList::iterator as arg,
8033 (computeBidiTables): make it take a const reference to Row instead
8034 of Row pointer, adjust.
8035 (leftMargin): make it take a RowList::iterator as arg, adjust.
8036 (rowBreakPoint): adjust
8037 (breakAgainOneRow): make it take a RowList::iterator as arg,
8039 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8041 * bufferview_funcs.C (toggleAndShow): adjust
8043 2003-03-30 John Levon <levon@movementarian.org>
8047 * boost-inst.C: moved to support
8049 * several files: changes as a result
8051 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8053 * text2.C (LyXText): adjust.
8055 (removeRow): make it take a RowList::iterator as arg, adjust.
8056 (fullRebreak): adjust
8057 (deleteEmptyParagraphMechanism): adjust
8058 (clearPaint): adjust
8061 * text.C (top_y): adjust
8062 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8063 (breakAgain): make it take a RowList::iterator as arg, adjust.
8064 (breakParagraph): adjust
8065 (insertChar): adjust
8068 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8069 need_break_row, and refresh_row.
8071 * text3.C (dispatch): adjust
8073 * text2.C (checkParagraph): adjust
8075 (setCursorFromCoordinates): adjust
8077 * text.C (top_y): adjust
8079 (getRow): make it return a RowList::iterator, adjust
8080 (getRowNearY): make it return a RowList::iterator, adjust
8082 * text2.C (init): adjust
8083 (insertRow): remove function
8084 (insertParagraph): adjust
8085 (redoParagraphs): adjust
8086 (fullRebreak): adjust
8087 (updateCounters): adjust
8089 * text.C (top_y): rewrite to use RowList iterators.
8091 (setHeightOfRow): rewrite to sue RowList iterators.
8092 (appendParagraph): adjust
8093 (breakAgain): adjust
8094 (breakAgainOneRow): adjust
8095 (breakParagraph): adjust
8097 (getRowNearY): adjust, and remove commented code.
8099 * lyxtext.h (firstRow): delete function
8100 (lastRow): delete function
8101 (rows): new function (const and non-const versions.)
8102 (insertRow): delete function
8104 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8106 2003-03-29 John Levon <levon@movementarian.org>
8108 * BufferView_pimpl.C: always update scrollbar top
8109 because pasting text when we're anchored could mean we
8110 miss an update altogether
8112 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * text2.C (init): use rowlist_.end() and not 0.
8115 (insertRow): change to take a RowList::iterator as arg, adjust
8117 (insertParagraph): change to take a RowList::iterator as arg,
8119 (redoParagraphs): remove some debug msgs.
8121 * text.C (appendParagraph): change to take a RowList::iterator
8122 arg, adjust for this.
8123 (breakAgain): add an assert
8124 (breakAgainOneRow): ditto
8126 2003-03-29 John Levon <levon@movementarian.org>
8128 * text2.C: do not clear selection after inc/decDepth
8131 2003-03-29 John Levon <levon@movementarian.org>
8134 * buffer.C: fix broken strerrors according to Lars
8136 2003-03-29 John Levon <levon@movementarian.org>
8138 * converters.C: more Alert cleanups
8140 2003-03-29 John Levon <levon@movementarian.org>
8142 * bufferview_funcs.C: remove pointless Alert
8144 * buffer.C: fix confusing error message when
8145 a template is chmoded 000
8147 2003-03-29 John Levon <levon@movementarian.org>
8151 * BufferView_pimpl.C: Alert fixes
8155 * tabular-old.C: remove unused table compat reading
8157 2003-03-29 John Levon <levon@movementarian.org>
8162 * lyx_cb.C: more Alert cleanups
8164 * lyxfunc.C: don't allow chktex if not latex document
8166 2003-03-29 John Levon <levon@movementarian.org>
8170 * buffer.C: warnings pushed down from support/,
8173 2003-03-29 John Levon <levon@movementarian.org>
8175 * lyxfunc.C: safety check for C-r (revert)
8177 2003-03-29 John Levon <levon@movementarian.org>
8180 * bufferlist.C: several UI fixes using Alert::prompt.
8181 Fix the pointless looping quit code. Fix stupid revert
8186 * lyx_cb.C: use Alert::prompt
8188 * lyx_main.C: remove a silly question
8190 * lyxfunc.C: remove a couple of silly questions,
8193 2003-03-28 John Levon <levon@movementarian.org>
8195 * text2.C: fix bug 974 (End on empty par)
8197 2003-03-28 John Levon <levon@movementarian.org>
8199 * BufferView_pimpl.C:
8201 * lfuns.h: remove do-nothing math greek lfuns
8203 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * lyxgluelength.h (isValidGlueLength): add default arg on
8206 parameter 2. Remove default arg from friend in class.
8208 * lyxlength.h (isValidLength): add default arg on parameter 2.
8209 Remove default arg from friend in class.
8211 * text2.C (LyXText): adjust, initialize refresh_row.
8215 (insertParagraph): adjst
8216 (redoParagraphs): adjust
8217 (fullRebreak): adjust
8218 (updateCounters): adjust
8219 (deleteEmptyParagraphMechanism): first attempt at fixing a
8222 * text.C (top_y): adjust
8223 (setHeightOfRow): adjust
8225 (getRowNearY): adjust
8227 * lyxtext.h: include RowList.h
8228 (~LyXText): not needed anymore, deleted.
8229 (firstRow): modify for RowList
8230 (lastRow): new function
8231 Delete firstrow and lastrow class variables, add a Rowlist
8232 rowlist_ class variable.
8234 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8237 * RowList.C (insert): fix case where it == begin().
8239 2003-03-26 Angus Leeming <leeming@lyx.org>
8241 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8242 the thesaurus dialog.
8244 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8248 * RowList.[Ch]: new files
8250 * ParagraphList.C (erase): handle the case where it == begin
8253 2003-03-25 John Levon <levon@movementarian.org>
8257 * aspell.C: add new aspell support
8260 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8263 2003-03-25 Angus Leeming <leeming@lyx.org>
8266 * LyXAction.C (init): new LFUN_INSET_INSERT.
8268 * BufferView_pimpl.C (dispatch): split out part of the
8269 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8271 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8274 2003-03-25 Angus Leeming <leeming@lyx.org>
8276 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8278 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8281 * text3.C: remove useless row->height(0)
8283 2003-03-25 John Levon <levon@movementarian.org>
8287 * text3.C: rename the refreshing stuff to better names
8289 2003-03-24 John Levon <levon@movementarian.org>
8291 * BufferView_pimpl.h:
8292 * BufferView_pimpl.C: update layout choice on a mouse
8295 2003-03-23 John Levon <levon@movementarian.org>
8297 * Makefile.am: fix commandtags.h reference
8299 2003-03-22 John Levon <levon@movementarian.org>
8301 * BufferView_pimpl.C:
8306 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8308 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8311 * text.C: take the rtl methods out of line
8313 2003-03-21 André Pönitz <poenitz@gmx.net>
8315 * metricsinfo.[Ch]: new files containing structures to be passed around
8316 during the two-phase-drawing...
8318 2003-03-21 André Pönitz <poenitz@gmx.net>
8320 * lyxtextclass.C: read 'environment' tag.
8322 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8324 * text2.C (removeRow): fix bug 964
8326 2003-03-20 John Levon <levon@movementarian.org>
8330 * text2.C: paint cleanups. Inset::update() dropped font
8333 2003-03-19 John Levon <levon@movementarian.org>
8335 * lyxfunc.C: only fitcursor/markDirty if available()
8337 2003-03-19 John Levon <levon@movementarian.org>
8339 * commandtags.h: rename to ...
8341 * lfuns.h: ... this, and renumber / cleanup
8343 2003-03-19 John Levon <levon@movementarian.org>
8345 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8346 fit the cursor after an lfun
8350 * BufferView_pimpl.h:
8351 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8353 * LyXAction.C: layout-character should have ReadOnly
8355 * ParagraphParameters.C:
8357 * bufferview_funcs.C:
8364 * undo_funcs.C: changes from above
8366 2003-03-18 John Levon <levon@movementarian.org>
8368 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8369 remove it from update()
8371 * lyxfunc.C: update layout choice after an lfun
8373 * text3.C: remove extra updateLayoutChoice()s
8375 2003-03-18 John Levon <levon@movementarian.org>
8377 * text.C: top_y change means full repaint, fix
8378 a drawing bug with cursor movement
8380 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8384 * text2.C: anchor row on setCursor
8386 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8388 * lyxtext.h: remove almost all mutable keywords
8391 * text3.C: remove const keywords accordingly
8393 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8397 (TeXEnvironment): ditto
8400 2003-03-17 John Levon <levon@movementarian.org>
8402 * text.C (rowBreakPoint): remove attempt to fix displayed
8403 math insets inside a manual label
8405 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * lyxtext.h: remove BufferView* as first arg from almost all class
8409 * other files: adjust.
8411 2003-03-17 John Levon <levon@movementarian.org>
8415 * text2.C: more paint cleanups
8417 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8420 * rowpainter.C: remove "smart" background painting code
8422 2003-03-16 John Levon <levon@movementarian.org>
8427 * text3.C: add helper functions for setting refresh_row/y
8429 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8431 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8432 newline inset which *can* get inserted in the pass_thru layouts.
8433 This is primarily for literate documents.
8435 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8437 * buffer.C: increment LYX_FORMAT to 223
8439 2003-03-14 André Pönitz <poenitz@gmx.net>
8441 * textclass.h: prepare for environment handling, ws changes
8442 * lyxlayout.C: read latexheader and latexfooter tags
8444 2003-03-14 John Levon <levon@movementarian.org>
8446 * text2.C: rewrite ::status() a bit
8448 2003-03-13 John Levon <levon@movementarian.org>
8450 * lyxtext.h: add some docs
8452 2003-03-13 John Levon <levon@movementarian.org>
8457 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8459 2003-03-13 John Levon <levon@movementarian.org>
8461 * text3.C: fix appendix redrawing
8463 2003-03-13 John Levon <levon@movementarian.org>
8465 * text.C (setHeightOfRow):
8467 * rowpainter.C: make appendix mark have the text
8468 "Appendix" so the user knows what it is
8471 * LColor.C: s/appendixline/appendix/ from above
8473 2003-03-13 John Levon <levon@movementarian.org>
8475 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8477 * text.C: fix a getChar(pos) bug properly
8479 2003-03-13 Angus Leeming <leeming@lyx.org>
8482 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8483 Probably only temporary. Let's see how things pan out.
8485 * BufferView.C (unlockInset):
8486 * BufferView_pimpl.C (fitCursor):
8487 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8489 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8490 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8492 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8493 new functions that convert ParagraphParameters to and from a string.
8495 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8496 BufferView::Pimpl's dispatch.
8497 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8499 2003-03-13 André Pönitz <poenitz@gmx.net>
8503 * factory.C: make it aware of InsetEnv
8505 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * text2.C (setCursor): never ask for one past last
8508 (setCursor): add some debugging messages.
8510 * text.C (singleWidth): never ask for one past last
8511 (singleWidth): ditto
8513 (rightMargin): ditto
8514 (rowBreakPoint): ditto
8515 (setHeightOfRow): ditto
8516 (prepareToPrint): ditto
8518 * rowpainter.C (paintBackground): never ask for one past last
8519 (paintText): never ask for one past last
8521 * paragraph_pimpl.C (getChar): make the assert stricter, never
8522 allow the one past last pos to be taken
8524 * paragraph.C (getChar): ws changes only
8526 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8527 (numberOfSeparators): ditto
8528 (numberOfHfills): ditto
8530 2003-03-12 John Levon <levon@movementarian.org>
8536 * paragraph_funcs.C: fix per-buffer authorlists
8538 2003-03-12 John Levon <levon@movementarian.org>
8540 * text.C: fix newline in right address
8542 2003-03-12 Angus Leeming <leeming@lyx.org>
8544 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8545 duplicate those in LyXFunc::dispatch.
8549 * ToolbarDefaults.C:
8550 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8551 Add LFUN_FONTFREE_UPDATE.
8553 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8554 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8556 * bufferview_func.[Ch]: several new functions to facilliate
8557 transfer of data to and from the character dialog.
8559 2003-03-12 John Levon <levon@movementarian.org>
8564 * paragraph_funcs.C:
8565 * paragraph_pimpl.C:
8569 * text3.C: remove META_NEWLINE in favour of an inset
8572 * rowpainter.C: remove paintNewline (done by inset)
8574 2003-03-12 John Levon <levon@movementarian.org>
8576 * paragraph_pimpl.C: complain about bad getChar()s
8577 for a while at least
8579 2003-03-12 John Levon <levon@movementarian.org>
8582 * buffer.C: move paragraph read into a separate function,
8583 a little renaming to reflect that.
8586 * bufferparams.C: remove the author_ids map, not necessary now
8589 * factory.C: moved Buffer::readInset to here
8591 * paragraph_funcs.h:
8592 * paragraph_funcs.C: readParagraph free function moved from
8595 * tabular.C: name change
8597 2003-03-12 John Levon <levon@movementarian.org>
8600 * ParagraphParameters.C: move par params input to
8603 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8604 behave like a normal read from the stream wrt reading
8605 a line vs. a \\token
8607 2003-03-12 John Levon <levon@movementarian.org>
8610 * ParagraphParameters.h:
8611 * ParagraphParameters.C: move output code to a
8614 2003-03-12 John Levon <levon@movementarian.org>
8616 * BufferView.C (insertLyXFile):
8619 * tabular.C: use a parlist iterator for creating the
8622 2003-03-12 John Levon <levon@movementarian.org>
8624 * buffer.C: make current_change static local not
8627 2003-03-12 John Levon <levon@movementarian.org>
8629 * buffer.C: fix insertStringAsLines for change tracking
8631 2003-03-12 John Levon <levon@movementarian.org>
8638 * bufferparams.C: move author list into params. Rename some
8639 functions. Move the header reading into a separate token
8640 loop. Move the header token reading into BufferParams.
8642 2003-03-12 John Levon <levon@movementarian.org>
8644 * changes.C: put debug inside lyxerr.debugging() checks
8646 2003-03-11 André Pönitz <poenitz@gmx.net>
8648 * factory.C: make it aware of InsetHFill
8650 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8652 * buffer.C (latexParagraphs): move function from here...
8653 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8656 2003-03-10 Angus Leeming <leeming@lyx.org>
8658 * LyXAction.C (init): fix bug in poplating array with multiple entries
8659 with the same LFUN (spotted by JMarc).
8661 2003-03-10 John Levon <levon@movementarian.org>
8664 * text2.C: move getColumnNearX() near its
8667 2003-03-10 John Levon <levon@movementarian.org>
8669 * text.C: fix break before a minipage
8671 2003-03-10 John Levon <levon@movementarian.org>
8673 * text.C: fix the last commit
8675 2003-03-09 John Levon <levon@movementarian.org>
8679 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8680 bug 365 (don't break before insets unless needed). Don't
8681 return a value > last under any circumstances.
8683 2003-03-09 Angus Leeming <leeming@lyx.org>
8685 * BufferView_pimpl.C (trackChanges, dispatch): call
8686 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8688 2003-03-09 Angus Leeming <leeming@lyx.org>
8690 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8691 than Dialogs::showAboutlyx().
8693 2003-03-09 Angus Leeming <leeming@lyx.org>
8695 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8696 than Dialogs::showTabularCreate().
8698 2003-03-09 John Levon <levon@movementarian.org>
8702 * text2.C: 3rd arg to nextBreakPoint was always the same.
8705 2003-03-08 John Levon <levon@movementarian.org>
8712 * text2.C: Remove the "main" bit from the "main body"
8715 2003-03-08 John Levon <levon@movementarian.org>
8717 * text.C (leftMargin): The left margin of an empty
8718 manual label paragraph should not include the label width
8721 * text.C (prepareToPrint): don't attempt to measure hfills
8722 for empty manual label paragraphs - the answer should be 0
8724 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * CutAndPaste.C: remove commented code and reindent.
8728 2003-03-08 John Levon <levon@movementarian.org>
8731 * lyxfunc.C: move reloadBuffer()
8734 * BufferView.C: to here
8736 * lyxvc.C: add comment
8739 * vc-backend.C: call bv->reload() to avoid
8740 getStatus() check on MENURELOAD
8742 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8744 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8745 to an old format .dep file.
8747 2003-03-07 Angus Leeming <leeming@lyx.org>
8749 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8750 when the LFUN_MOUSE_RELEASE should have been handled by
8751 inset->localDispatch.
8753 2003-03-07 Angus Leeming <leeming@lyx.org>
8755 * BufferView_pimpl.C (dispatch):
8756 * LyXAction.C (init):
8757 * ToolbarDefaults.C (init):
8759 * lyxfunc.C (getStatus):
8760 remove LFUN_INSET_GRAPHICS.
8762 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8764 2003-03-07 Angus Leeming <leeming@lyx.org>
8767 * LyXAction.C (init):
8768 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8770 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8773 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8775 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8776 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8778 2003-03-07 Angus Leeming <leeming@lyx.org>
8780 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8783 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8785 * ParagraphList.C (front): new function
8788 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8790 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8791 and top_row_offset_. removed var first_y.
8793 * text2.C (LyXText, removeRow):
8795 * BufferView_pimpl.C:
8796 use these methods instead of using first_y
8798 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8800 * text2.C (pasteSelection): adjust for checkPastePossible
8802 * CutAndPaste.C: remove Paragraph * buf and replace with
8803 ParagraphList paragraphs.
8804 (DeleteBuffer): delete
8805 (cutSelection): change the tc type to textclass_type
8806 (copySelection): change the tc type to textclass_type
8807 (copySelection): adjust for ParagraphList
8808 (pasteSelection): change the tc type to textclass_type
8809 (pasteSelection): adjust for Paragraphlist
8810 (nrOfParagraphs): simplify for ParagraphList
8811 (checkPastePossible): simplify for ParagraphList
8812 (checkPastePossible): remove unused arg
8814 * ParagraphList.C (insert): handle the case where there are no
8817 * CutAndPaste.h: make CutAndPaste a namespace.
8819 * text3.C (dispatch): adjust
8821 * text.C (breakParagraph): add a ParagraphList as arg
8823 * paragraph_funcs.C (breakParagraph): change to take a
8824 BufferParams and a ParagraphList as args.
8825 (breakParagraphConservative): ditto
8826 (mergeParagraph): ditto
8827 (TeXDeeper): add a ParagraphList arg
8828 (TeXEnvironment): ditto
8831 * buffer.C (readLyXformat2): adjust
8832 (insertStringAsLines): adjust
8833 (latexParagraphs): adjust
8835 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8836 (cutSelection): adjust
8837 (pasteSelection): adjust
8839 * BufferView_pimpl.C (insertInset): adjust
8841 2003-03-05 Angus Leeming <leeming@lyx.org>
8844 * LyXAction.C (init):
8845 * BufferView_pimpl.C (dispatch):
8846 * lyxfunc.C (getStatus):
8847 remove LFUN_CHILD_INSERT.
8849 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8851 2003-03-05 Angus Leeming <leeming@lyx.org>
8854 * LyXAction.C (init):
8855 * src/factory.C (createInset):
8856 * lyxfunc.C (getStatus):
8857 * text3.C (dispatch):
8858 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8860 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8862 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * ParagraphList.C (insert): handle insert right before end()
8865 (erase): fix cases where it can be first or last paragraph.
8867 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8869 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8870 Paragraph::next and Paragraph::previous
8873 * text.C (breakParagraph): adjust
8875 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8876 BufferParams& as arg.
8877 (breakParagraph): use ParagraphList::insert
8878 (breakParagraphConservative): take a Buffer* instead of a
8879 BufferParams& as arg.
8880 (breakParagraphConservative): use ParagraphList::insert.
8882 * buffer.C (insertStringAsLines): un-const it
8883 (insertStringAsLines): adjust
8885 * ParagraphList.C (insert): new function
8887 * CutAndPaste.C (pasteSelection): adjust
8889 * text.C (backspace): adjust
8891 * tabular.C (SetMultiColumn): adjust
8893 * CutAndPaste.C (cutSelection): adjust
8894 (pasteSelection): adjust
8896 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8897 Buffer const * as arg
8899 * ParagraphList.C (erase): new function
8900 * paragraph_funcs.C (mergeParagraph): use it
8901 (mergeParagraph): make it take a Buffer* instead of a
8902 BufferParams* as arg
8904 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8906 (breakParagraphConservative): ditto
8908 * paragraph.h: remove the breakParagraph friend
8910 * paragraph.C (eraseIntern): new function
8911 (setChange): new function
8913 * paragraph_funcs.C (mergeParagraph): make it take a
8914 ParagraphList::iterator instead of a Paragraph *, adjust
8917 * paragraph.h: move an #endif so that the change tracking stuff
8918 also works in the NO_NEXT case.
8920 2003-03-04 Angus Leeming <leeming@lyx.org>
8923 * LyXAction.C: new LFUN_INSET_MODIFY.
8925 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8926 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8928 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8930 * several files: ws changes only
8932 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8933 (TeXEnvironment): ditto
8936 * buffer.C (makeLaTeXFile): adjust
8937 (latexParagraphs): make it take ParagraphList::iterator as args
8939 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * buffer.C (latexParagraphs): adjust
8943 * paragraph.C (TeXOnePar): move function...
8944 (optArgInset): move function...
8945 (TeXEnvironment): move function...
8946 * paragraph_pimpl.C (TeXDeeper): move function...
8947 * paragraph_funcs.C: ...here
8949 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8951 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * buffer.C (readInset): remove compability code for old Figure and
8956 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8958 * buffer.C: ws changes
8961 * BufferView_pimpl.C: ditto
8964 * bufferlist.h: ditto
8968 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8970 * converter.[Ch]: split into itself +
8973 * Makefile.am: += graph.[Ch] + format.[Ch]
8980 * lyxrc.C: added #include "format.h"
8982 2003-02-27 Angus Leeming <leeming@lyx.org>
8984 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8987 * factory.C (createInset): add "label" to the factory.
8989 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8990 string and do no more.
8992 2003-02-27 Angus Leeming <leeming@lyx.org>
8995 * LyXAction.C (init):
8996 * factory.C (createInset):
8997 * BufferView_pimpl.C (dispatch):
8998 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9000 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9002 * lyxfunc.C (dispatch):
9003 * text3.C (dispatch): pass name to params2string.
9005 2003-02-26 Angus Leeming <leeming@lyx.org>
9007 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9009 Rearrange the ~includes. Strip out the unnecessary ones.
9011 * factory.C (createInset): reformat.
9012 create new insets for the various LFUN_XYZ_APPLY lfuns.
9014 2003-02-26 John Levon <levon@movementarian.org>
9017 * lyxrow.C: add isParStart,isParEnd helpers
9019 * paragraph.h: make isInserted/DeletedText take refs
9021 * paragraph_funcs.h:
9022 * paragraph_funcs.C: remove #if 0'd code
9027 * text.C: use lyxrow helpers above.
9028 Move draw and paint routines to RowPainter.
9029 Make several methods use refs not pointers.
9030 Make backgroundColor() const.
9031 Add markChangeInDraw(), isInInset().
9032 Merge changeRegionCase into changeCase.
9033 Make workWidth() shouldn't-happen code into an Assert.
9036 * rowpainter.C: new class for painting a row.
9039 * vspace.C: make inPixels take a ref
9041 2003-02-26 Angus Leeming <leeming@lyx.org>
9043 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9046 2003-02-25 John Levon <levon@movementarian.org>
9048 * ispell.C: give the forked command a more accurate name
9050 2003-02-22 John Levon <levon@movementarian.org>
9053 * toc.C: make TocItem store an id not a Paragraph *
9056 2003-02-21 Angus Leeming <leeming@lyx.org>
9058 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9059 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9060 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9061 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9062 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9063 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9065 * BufferView_pimpl.C (dispatch):
9066 * LyXAction.C (init):
9067 * factory.C (createInset):
9068 * lyxfunc.C (getStatus, dispatch):
9069 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9071 2003-02-21 Angus Leeming <leeming@lyx.org>
9073 * BufferView_pimpl.C (MenuInsertLyXFile):
9074 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9075 * lyxfunc.C (menuNew, open, doImport):
9076 no longer pass a LyXView & to fileDlg.
9078 2003-02-21 Angus Leeming <leeming@lyx.org>
9080 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9081 * LyXAction.C: change, BIBKEY to BIBITEM.
9082 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9083 Change InsetBibKey to InsetBibitem.
9084 Change BIBKEY_CODE to BIBITEM_CODE.
9085 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9086 * factory.C: replace insetbib.h with insetbibitem.h.
9087 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9088 * paragraph.C: replace insetbib.h with insetbibitem.h.
9089 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9090 Change bibkey() to bibitem().
9091 * text.C: remove insetbib.h.
9092 * text2.C: replace insetbib.h with insetbibitem.h.
9093 change bibkey() to bibitem().
9094 * text3.C: remove insetbib.h.
9095 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9097 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9099 * lyxrc.C (output): enclose user email in quotes (in case there are
9102 2003-02-18 John Levon <levon@movementarian.org>
9104 * buffer.h: add std::
9106 2003-02-17 John Levon <levon@movementarian.org>
9112 * pspell.C: reworking. Especially in ispell, a large
9113 number of clean ups and bug fixes.
9115 * lyxfunc.C: fix revert to behave sensibly
9117 2003-02-17 André Pönitz <poenitz@gmx.net>
9120 * commandtags.h: new LFUN_INSERT_BIBKEY
9130 * paragraph_func.C: remove special bibkey handling
9132 2003-02-17 John Levon <levon@movementarian.org>
9134 * text.C (Delete): fix case where delete at the end of
9135 the very first paragraph would not merge the pars
9137 2003-02-17 John Levon <levon@movementarian.org>
9139 * lyxrow.C: fix lastPrintablePos()
9141 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9143 * bufferparams.C (writeLaTeX): add a std:here
9145 * buffer.C: and remove a using directive there
9147 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9149 * buffer.C (makeLaTeXFile): move the code that generates the
9152 * bufferparams.C (writeLaTeX): ... in this new method
9154 * LaTeXFeatures.C (getEncodingSet): make const
9155 (getLanguages): make const
9157 * MenuBackend.C (binding): returns the binding associated to this
9159 (add): sets the status of each item by calling getStatus. Adds
9161 (read): add support for OptSubMenu
9162 (expand): remove extra separator at the end of expanded menu
9164 2003-02-15 John Levon <levon@movementarian.org>
9167 * BufferView_pimpl.C:
9169 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9170 inset code that had no actual effect. Remove unneeded status
9173 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9175 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9178 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9180 * text.C (drawLengthMarker): also draw an arrow marker for
9181 symbolic lengths (medskip...)
9183 2003-02-14 John Levon <levon@movementarian.org>
9186 * tabular.C: better method names
9188 2003-02-14 John Levon <levon@movementarian.org>
9190 * BufferView_pimpl.C:
9195 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9196 it's a more accurate name. Remove some pointless uses.
9198 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * text2.C (LyXText): change order of initilizers to shut off
9203 2003-02-14 John Levon <levon@movementarian.org>
9205 * buffer.C: use ParIterator for getParFromID()
9209 * paragraph_pimpl.h:
9210 * paragraph_pimpl.C: remove unused getParFromID()
9212 2003-02-14 John Levon <levon@movementarian.org>
9214 * buffer.C: remove some very old #if 0'd parse code
9216 2003-02-13 John Levon <levon@movementarian.org>
9220 * text2.C: move hfillExpansion(), numberOfSeparators(),
9221 rowLast(), rowLastPrintable(), numberofHfills(),
9222 numberOfLabelHfills() ...
9225 * lyxrow.C: ... to member functions here.
9230 * text.C: remove LyXText::beginningOfMainBody(), and call
9231 p->beginningOfMainBody() directly. Move the check for
9232 LABEL_MANUAL into the latter.
9239 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9245 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9246 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9248 2003-02-13 John Levon <levon@movementarian.org>
9250 * CutAndPaste.C: remove debug
9252 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9254 * paragraph.C (asString): remove two unused variables
9256 * lyxtextclass.C (readTitleType):
9258 (LyXTextClass): handle new members titletype_ and titlename_
9260 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9262 2003-02-09 John Levon <levon@movementarian.org>
9265 * buffer.C: replace hand-coded list with a map for the dep clean
9267 2003-02-08 John Levon <levon@movementarian.org>
9269 * LaTeX.C: consolidate code into showRunMessage() helper
9271 2003-02-08 John Levon <levon@movementarian.org>
9276 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9277 and pass the size in explicitly
9279 * BufferView_pimpl.h:
9280 * BufferView_pimpl.C:
9282 * BufferView.C: add getCurrentChange()
9284 * BufferView_pimpl.h:
9285 * BufferView_pimpl.C: handle change lfuns
9287 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9288 for changes. Mark pasted paragraphs as new.
9290 * support/lyxtime.h:
9291 * support/lyxtime.C:
9292 * DepTable.C: abstract time_t as lyx::time_type
9295 * LColor.C: add colours for new text, deleted text, changebars
9297 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9298 package use "usenames" option.
9302 * LyXAction.C: add change lfuns
9306 * author.C: author handling
9309 * buffer.C: add a per-buffer author list, with first entry as
9310 current author. Handle new .lyx tokens for change tracking. Output
9311 author list to .lyx file. Output dvipost stuff to .tex preamble.
9312 Bump lyx format to 222.
9315 * bufferlist.C: add setCurrentAuthor() to reset current author details
9319 * bufferparams.C: add param for tracking
9321 * bufferview_funcs.C: output change info in minibuffer
9325 * changes.C: add change-tracking structure
9328 * debug.C: add CHANGES debug flag
9331 * lyxfind.C: add code for finding the next change piece
9334 * lyxrc.C: add user_name and user_email
9337 * lyxrow.C: add a metric for the top of the text line
9340 * text.C: implement accept/rejectChange()
9343 * text.C: paint changebars. Paint new/deleted text in the chosen
9344 colours. Strike through deleted text.
9348 * paragraph_pimpl.h:
9349 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9350 in the current change to the insert functions. Rework erase to
9351 mark text as deleted, adding an eraseIntern() and a range-based
9352 erase(). Implement per-paragraph change lookup and
9355 * paragraph_funcs.C: Fixup paste for change tracking.
9357 * tabular.C: mark added row/columns as new.
9359 * text.C: fix rowLast() to never return -1. Don't allow
9360 spellchecking of deleted text. Track transpose changes. Don't
9361 allow paragraph break or merge where appropriate.
9363 * text2.C: leave cursor at end of selection after a cut.
9365 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9367 * text.C (getLengthMarkerHeight):
9368 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9369 visible on screen too.
9371 2003-02-07 John Levon <levon@movementarian.org>
9373 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9375 2003-02-05 Angus Leeming <leeming@lyx.org>
9377 * lyxserver.C (read_ready): revert my patch of 11 September last year
9378 as it sends PC cpu through the roof. Presumably this means that
9379 the lyxserver will no longer run on an Alpha...
9381 2003-01-30 Angus Leeming <leeming@lyx.org>
9383 * factory.C (createInset): create an InsetCommandParam of type "index"
9384 and use it to 'do the right thing'.
9386 * text2.C (getStringToIndex): ensure that cursor position is always
9387 reset to the reset_cursor position.
9389 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9391 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9394 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9398 * lyxfunc.C: Output messages with identical spelling, punctuation,
9401 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9403 * MenuBackend.C (expandFormats): List only viewable export formats
9406 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9409 * lyxfunc.C (getStatus): Make sure that formats other than
9410 "fax" can also be disabled
9412 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9414 * text3.C (dispatch): put the lfuns that insert insets in 3
9415 groups, and call doInsertInset with appropriate arguments.
9416 (doInsertInset): new function, that creates an inset and inserts
9417 it according to some boolean parameters.
9419 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9421 * buffer.C (readFile): remember to pass on 'par' when calling
9422 readFile recursively.
9424 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9426 * MenuBackend.C (expandFormats): add "..." to import formats.
9428 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9430 * paragraph.C (asString): Remove XForms RTL hacks.
9432 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9433 * buffer.C: fix typo
9435 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9437 * Makefile.am (LIBS): delete var
9438 (lyx_LDADD): add @LIBS@ here instead.
9440 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9442 * Clarify the meaning of "wheel mouse jump"
9444 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9446 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9449 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9451 * importer.C (Loaders): do not preallocate 3 elements in the
9452 vector, since one ends up with 6 elements otherwise
9454 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9456 * DepTable.C (write): write the file name as last element of the
9457 .dep file (because it may contain spaces)
9458 (read): read info in the right order
9460 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9462 * paragraph_pimpl.C (simpleTeXBlanks):
9463 (simpleTeXSpecialChars):
9464 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9466 * tabular.C (latex): add some missing case statements. Reindent.
9468 * MenuBackend.C (expandToc): remove unused variable.
9470 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9479 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9482 2003-01-05 John Levon <levon@movementarian.org>
9485 * BufferView.C: add getEncoding()
9488 * kbsequence.C: do not store last keypress
9491 * lyxfunc.C: store last keypress here instead. Pass encoding
9494 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9496 * lyx_main.C (init): remove annoying error message when following
9497 symbolic links (bug #780)
9499 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9501 * text.C (insertChar):
9502 * lyxrc.C (getDescription): remove extra spaces
9504 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9506 * lyxrc.C (getDescription): remove extra spaces
9508 2002-12-20 John Levon <levon@movementarian.org>
9510 * text3.C: hack fix for page up/down across tall rows
9512 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9514 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9517 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9519 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9520 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9521 thesaurus is not compiled in
9523 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9525 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9527 2002-12-16 Angus Leeming <leeming@lyx.org>
9530 * lyx_main.C (init): remove override_x_deadkeys stuff.
9532 2002-12-12 John Levon <levon@movementarian.org>
9534 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9535 insert. Only remove shift modifier under strict
9538 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9540 * MenuBackend.C (expandToc): fix crash.
9542 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9544 * MenuBackend.C (expandToc): gettext on float names.
9546 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9548 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9549 implement bool empty() [bug 490]
9551 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9553 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9555 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9557 * several files: ws changes
9559 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9561 * text2.C (setCounter): clean up a bit, use boost.format.
9562 (updateCounters): initialize par upon declaration.
9564 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9565 if the layout exists. We do not just store the layout any more.
9566 (SwitchLayoutsBetweenClasses): use boost.format
9568 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9570 * converter.C (convert): if from and to files are the same, use a
9571 temporary files as intermediary
9573 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9576 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9578 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9580 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9582 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9584 * tabular.C (asciiPrintCell): use string(size, char) instead of
9587 * sgml.C (openTag): fix order of arguments to string constructor
9590 * lyxfunc.C (dispatch): use boost.format
9592 * lots of files: change "c" -> 'c'
9594 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9596 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9598 2002-11-25 Angus Leeming <leeming@lyx.org>
9600 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9602 * lyx_main.C (init): compile fix.
9604 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9606 * lyx_cb.C (start): boost.formatify
9607 do not include <iostream>
9609 * lengthcommon.C: ws only
9611 * boost-inst.C,BoostFormat.h: add more explict instantations
9613 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9615 * lots of files: handle USE_BOOST_FORMAT
9617 2002-11-21 John Levon <levon@movementarian.org>
9619 * pspell.C: fix compile
9621 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9623 * lyxfunc.C (dispatch): use boost::format
9627 * lyxfont.C (stateText): use boost::format
9629 * lyx_main.C (LyX): use boost::format
9631 (queryUserLyXDir): ditto
9634 (typedef boost::function): use the recommened syntax.
9636 * importer.C (Import): use boost::format
9638 * debug.C (showLevel): use boost::format
9640 * converter.C (view): use boost::format
9645 * bufferview_funcs.C (currentState): use boost::format
9647 * bufferlist.C (emergencyWrite): use boost::format
9649 * buffer.C (readLyXformat2): use boost::format
9650 (parseSingleLyXformat2Token): ditto
9652 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9654 * LaTeX.C (run): use boost::format
9656 * Chktex.C (scanLogFile): use boost::format
9658 * BufferView_pimpl.C (savePosition): use boost::format
9659 (restorePosition): ditto
9660 (MenuInsertLyXFile): ditto
9662 * BoostFormat.h: help file for explicit instation.
9664 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9666 * tabular.C (latex): Support for block alignment in fixed width
9669 2002-11-17 John Levon <levon@movementarian.org>
9671 * BufferView_pimpl.C:
9673 * lyxfunc.C: split filedialog into open/save
9675 2002-11-08 Juergen Vigna <jug@sad.it>
9677 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9678 by my last patch (hopefully).
9680 2002-11-08 John Levon <levon@movementarian.org>
9689 * toc.C: ParConstIterator, and use it (from Lars)
9691 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9693 * lyxtextclass.[Ch]: revise and add doxygen comments
9695 2002-11-07 John Levon <levon@movementarian.org>
9697 * text.C: fix progress value for spellchecker
9699 * toc.C: fix navigate menu for insetwrap inside minipage
9701 * paragraph_funcs.C: added FIXME for suspect code
9703 2002-11-07 John Levon <levon@movementarian.org>
9705 * BufferView_pimpl.C: fix redrawing of insets
9708 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9710 * text2.C (updateCounters): fix bug 668
9712 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9714 * text3.C (dispatch): Do not make the buffer dirty when moving the
9717 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9719 * vc-backend.C: STRCONV
9722 * text2.C (setCounter): STRCONV
9724 * paragraph.C (asString): STRCONV
9726 * lyxlength.C (asString): STRCONV
9727 (asLatexString): ditto
9729 * lyxgluelength.C (asString): STRCONV
9730 (asLatexString): ditto
9732 * lyxfunc.C (dispatch): STRCONV
9735 * lyxfont.C (stateText): STRCONV
9737 * importer.C (Import): STRCONV
9739 * counters.C (labelItem): STRCONV
9740 (numberLabel): ditto
9741 (numberLabel): remove unused ostringstream o
9746 * bufferview_funcs.C (currentState): STRCONV
9748 * buffer.C (readFile): STRCONV
9749 (asciiParagraph): ditto
9750 (makeLaTeXFile): ditto
9752 * Spacing.C (writeEnvirBegin): STRCONV
9754 * LaTeXFeatures.C (getLanguages): STRCONV
9755 (getPackages): ditto
9757 (getBabelOptions): ditto
9758 (getTClassPreamble): ditto
9759 (getLyXSGMLEntities): ditto
9760 (getIncludedFiles): ditto
9764 (scanAuxFile): ditto
9767 * LString.h: add the STRCONV macros
9769 * BufferView_pimpl.C (savePosition): STRCONV
9770 (restorePosition): ditto
9771 (MenuInsertLyXFile): ditto
9773 * vc-backend.C (scanMaster): change from submatch[...] to
9776 * funcrequest.C: include config.h
9778 * factory.C: include config.h
9780 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9782 * box.C: include config.h
9784 * LaTeX.C (scanAuxFile): change from submatch[...] to
9788 2002-10-25 Angus Leeming <leeming@lyx.org>
9790 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9792 * ispell.[Ch] (setError): new method.
9793 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9794 Use setError() insetead of goto END.
9796 * lyx_cb.C (AutoSave): move out child process into new class
9799 2002-10-30 John Levon <levon@movementarian.org>
9801 * text3.C: make start appendix undoable
9803 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9805 * lyxlength.C (inPixels): Fix returned value.
9807 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9810 2002-10-24 Angus Leeming <leeming@lyx.org>
9812 * lyxgluelength.h: no need to forward declare BufferParams
9813 or BufferView, so don't.
9815 2002-10-21 John Levon <levon@movementarian.org>
9817 * BufferView.C: menuUndo ->undo, redo
9819 * BufferView.h: document, remove dead, make some methods private
9821 * paragraph_funcs.h:
9822 * paragraph_funcs.C:
9823 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9828 * sgml.C: move sgml open/close tag into sgml.C
9830 * bufferview_funcs.h: unused prototype
9833 * lyxfunc.C: remove unused
9836 * text.C: remove unused
9838 2002-10-21 John Levon <levon@movementarian.org>
9842 * BufferView_pimpl.h:
9843 * BufferView_pimpl.C: fix mouse wheel handling based on
9844 patch from Darren Freeman
9846 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9848 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9850 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9852 * lyxlength.C (inPixels): Fix hanfling of negative length.
9853 Fix LyXLength::MU case.
9855 2002-10-16 John Levon <levon@movementarian.org>
9857 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9859 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9861 * converter.C (view): add support for $$i (file name) and $$p
9862 (file path) for the viewer command. If $$i is not specified, then
9863 it is appended to the command (for compatibility with old syntax)
9865 2002-10-14 Juergen Vigna <jug@sad.it>
9867 * undo_funcs.C (textHandleUndo): alter the order in which the
9868 new undopar is added to the LyXText, as we have to set first
9869 the right prev/next and then add it as otherwise the rebuild of
9870 LyXText is not correct. Also reset the cursor to the right paragraph,
9871 with this IMO we could remove the hack in "redoParagraphs()".
9873 2002-10-09 Angus Leeming <leeming@lyx.org>
9875 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9876 to turn off an optimisation if a new inset is to be inserted.
9878 2002-10-11 André Pönitz <poenitz@gmx.net>
9880 * lyxtext.h: make some functions public to allow access
9881 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9883 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9885 * text3.C (dispatch): when changing layout, avoid an infinite loop
9888 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9890 * lyxrc.C (read): treat a viewer or converter command of "none" as
9893 * MenuBackend.C (expandFormats): for an update, also allow the
9894 formats that are not viewable
9896 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9897 script if it is newer than the lyxrc.defaults in user directory
9899 2002-10-07 André Pönitz <poenitz@gmx.net>
9901 * text.C: Vitaly Lipatov's small i18n fix
9903 2002-09-25 Angus Leeming <leeming@lyx.org>
9905 * ispell.h: doxygen fix.
9907 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9909 * buffer.h (readFile): Add a new argument to the method, to allow
9910 reading of old-format templates.
9912 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9914 * toc.C (getTocList): Get TOC from InsetWrap.
9916 2002-09-16 John Levon <levon@movementarian.org>
9918 * lyxfunc.C: check tabular for cut/copy too
9920 2002-09-12 John Levon <levon@movementarian.org>
9925 * factory.C: add header
9927 * paragraph_funcs.h:
9928 * paragraph_funcs.C: cleanup
9930 2002-09-11 John Levon <levon@movementarian.org>
9932 * PrinterParams.h: odd/even default to true
9934 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9936 * PrinterParams.h: update printer parameters for new xforms dialog
9938 2002-09-11 Angus Leeming <leeming@lyx.org>
9940 * lyxserver.C (read_ready): re-write to make it more transparent
9941 and to make it work in coherent fashion under Tru64 Unix.
9943 2002-09-11 André Pönitz <poenitz@gmx.net>
9947 * text3.C: implement LFUN_WORDSEL
9949 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9952 make floatlist_ a boost::shared_ptr<FloatList>
9954 * lyxtextclass.C: include FloatList.h
9955 (LyXTextClass): initialize floatlist_
9956 (TextClassTags): add TC_NOFLOAT
9957 (Read): match "nofloat" to TC_NOFLOAT and use it.
9958 (readFloat): modify call to floatlist_
9962 * FloatList.[Ch] (FloatList): remove commented out float
9964 (erase): new function
9966 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9968 * MenuBackend.C (expandToc): fix crash when there is no document
9971 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9973 * many files: Add insetwrap.
9975 2002-09-09 John Levon <levon@movementarian.org>
9977 * text2.C: remove confusing and awkward depth wraparound
9979 2002-09-09 John Levon <levon@movementarian.org>
9981 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9984 * buffer.C: remove getIncludeonlyList()
9987 * lyxfunc.C: remove headers
9989 2002-09-09 Juergen Vigna <jug@sad.it>
9991 * text.C (getColumnNearX): fix form Michael this is most
9992 probably a cut&paste bug.
9994 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9996 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9998 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9999 references, ws changes.
10001 * text2.C (init): update counters after init
10002 (insertParagraph): no need to set counter on idividual paragraphs.
10003 (setCounter): access the counters object in the textclass object
10004 on in the buffer object.
10005 (updateCounters): ditto
10007 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10008 shared_ptr<Counters> to avoid loading counters.h in all
10010 (LyXTextClass): initialize ctrs_
10011 (TextClassTags): add TC_COUNTER, and ...
10012 (Read): use it here.
10013 (CounterTags): new tags
10014 (readCounter): new function
10015 (counters): new funtion
10016 (defaultLayoutName): return a const reference
10018 * counters.C (Counters): remove contructor
10019 (newCounter): remove a couple of unneeded statements.
10020 (newCounter): simplify a bit.
10021 (numberLabel): some small formatting changes.
10023 * buffer.[Ch]: remove all traces of counters, move the Counters
10024 object to the LyXTextClass.
10026 2002-09-06 Alain Castera <castera@in2p3.fr>
10028 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10029 package to set the horizontal alignment on fixed width columns.
10032 * lyx_sty.h: added tabularnewline macro def.
10034 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10036 2002-09-06 John Levon <levon@movementarian.org>
10038 * LyXAction.C: tooltips for sub/superscript
10040 * MenuBackend.C: a bit more verbose
10042 * lyxfunc.C: tiny clean
10044 * undo_funcs.C: document undo_frozen
10046 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10048 * counters.C (Counters): add missing algorithm counter.
10050 * text2.C (setCounter): lookup the counter with layouts latexname
10051 instead of by section number.
10052 (setCounter): use a hackish way to lookup the correct enum
10054 a float name->type change
10055 reset enum couners with counter name directly instead of depth value.
10057 * counters.C (Counters): remove the push_backs, change to use the
10058 float type not the float name.
10059 (labelItem): remove unused string, float name->type change
10061 * counters.h: don't include vector, loose the enums and sects vectors
10063 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10065 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10066 (Read): add float->TC_FLOAT to textclassTags
10067 (Read): and handle it in the switch
10068 (readFloat): new function
10070 * FloatList.C (FloatList): comment out the hardcoded float
10073 * lyxlayout.h: ws change.
10075 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10077 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10079 2002-09-03 Angus Leeming <leeming@lyx.org>
10081 * BufferView_pimpl.h: qualified name is not allowed in member
10082 declaration: WorkArea & Pimpl::workarea() const;
10084 * factory.C: added using std::endl directive.
10086 * text3.C: added using std::find and std::vector directives.
10088 2002-08-29 André Pönitz <poenitz@gmx.net>
10091 * text2.C: remove unused member number_of_rows
10094 * BufferView2.C: remove file, move contents to...
10095 * BufferView.C: ... here
10097 * BufferView_pimpl.C:
10098 * factory.C: move more inset creation to factory
10100 * vspace.C: avoid direct usage of LyXText, ws changes
10103 don't provide direct access to WorkArea, use two simple
10104 acessors haveSelction() and workHeight() instead
10107 2002-08-29 John Levon <levon@movementarian.org>
10109 * BufferView_pimpl.C (dispatch): do not continue when
10112 2002-08-28 André Pönitz <poenitz@gmx.net>
10114 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10117 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10119 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10121 * buffer.C: increment LYX_FORMAT to 221
10123 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10124 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10126 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10128 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10130 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10132 * factory.C (createInset): use LyXTextClass::floats
10134 * MenuBackend.C (expandFloatListInsert):
10135 (expandFloatInsert):
10138 * text2.C (setCounter):
10140 * LaTeXFeatures.C (useFloat):
10141 (getFloatDefinitions):
10143 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10145 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10146 floatlist_, with accessor floats().
10148 * FloatList.h: remove global FloatList
10150 2002-08-26 André Pönitz <poenitz@gmx.net>
10152 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10156 * BufferView_pimpl.C:
10157 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10159 2002-08-25 John Levon <levon@movementarian.org>
10161 * LyXAction.C: fix margin note description
10163 2002-08-24 John Levon <levon@movementarian.org>
10167 * bufferview_funcs.C:
10169 * undo_funcs.C: cleanups
10171 * lyxfunc.C: disable CUT/COPY when no selection
10173 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10175 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10176 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10178 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10179 Add backward compatibility to "mono", "gray" and "no".
10181 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10183 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10184 (and file_format >= 200).
10186 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10190 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10194 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10196 * BufferView_pimpl.C:
10203 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10204 inset and code to make it work with the paragraph code. The inset
10205 can be anywhere in the paragraph, but will only do the expected
10206 thing in LaTeX if the layout file contains the parameter line
10208 (or more generally, a nonzero value) for that layout.
10210 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10212 * paragraph.h: remove the declaration of undefined counters class
10215 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10217 * text2.C (setCounter): fixed enumeration mis-count as reported by
10218 Dr. Richard Hawkins.
10220 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * paragraph_funcs.h: remove some unneeded includes
10224 * text.C (backspace): pasteParagraph now in global scipe
10226 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10227 (pasteSelection): ditto
10229 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10230 * paragraph_funcs.C (pasteParagraph): ... here
10232 2002-08-20 André Pönitz <poenitz@gmx.net>
10234 * commandtags.h: new LFUNs for swapping/copying table row/colums
10237 * lyxfunc.C: support for new lfuns
10239 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10242 * buffer.[Ch]: remove NO_COMPABILITY stuff
10244 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10246 * boost.C (throw_exception): new file, with helper function for
10247 boost compiled without exceptions.
10252 * ParameterStruct.h:
10253 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10255 * bufferlist.C (emergencyWriteAll): use boost bind
10257 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10259 * text.C: include paragraph_funcs.h
10260 (breakParagraph): breakParagraph is now in global scope
10262 * paragraph_funcs.[Ch]: new files
10264 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10267 * buffer.C: include paragraph_funcs.h
10268 (insertStringAsLines): breakParagraph is now in global scope
10270 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10273 * CutAndPaste.C: include paragraph_funcs.h
10274 (cutSelection): breakParagraphConservative is now in global scope
10275 (pasteSelection): ditto
10277 * buffer.h: declare oprator== and operator!= for
10278 Buffer::inset_iterator
10280 * bufferlist.C (emergencyWrite): don't use fmt(...)
10282 * text3.C: add using std::endl
10284 * BufferView.C (moveCursorUpdate): remove default arg
10286 2002-08-20 André Pönitz <poenitz@gmx.net>
10288 * buffer.[Ch]: move inline functions to .C
10291 * BufferView_pimpl.C:
10293 * buffer.[Ch]: use improved inset_iterator
10296 * paragraph.[Ch]: write one paragraph at a time
10298 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10300 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10301 style if style is not specified.
10303 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * text2.C (setCounter): when searching for right label for a
10306 caption, make sure to recurse to parent insets (so that a caption
10307 in a minipage in a figure float works) (bug #568)
10309 2002-08-20 André Pönitz <poenitz@gmx.net>
10311 * text3.C: new file for LyXText::dispatch() and helpers
10313 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10315 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10317 2002-08-19 André Pönitz <poenitz@gmx.net>
10320 * text.C: new LyXText::dispatch()
10322 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10324 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10326 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10328 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10331 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * Makefile.am: use $(variables) instead of @substitutions@
10335 2002-08-15 André Pönitz <poenitz@gmx.net>
10338 * BufferView_pimpl.C: streamlining mathed <-> outer world
10342 * LyXAction.C: remove unused LFUN_MATH
10344 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10346 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10348 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10350 * paragraph.C (Paragraph): reformat a bit
10351 (cutIntoMinibuffer): use builtin InsetList function instad of
10355 * buffer.C: include boost/bind.hpp, add using std::for_each
10356 (writeFileAscii): use ParagraphList iterators
10357 (validate): use for_each for validate traversal of paragraphs
10358 (getBibkeyList): use ParagraphList iterators
10359 (resizeInsets): use for_each to resizeInsetsLyXText for all
10361 (getParFromID): use ParagraphList iterators
10363 * BufferView2.C (lockInset): use paragraph list and iterators
10365 2002-08-14 John Levon <levon@movementarian.org>
10367 * lyxserver.C: remove spurious xforms include
10369 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10371 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10373 2002-08-13 André Pönitz <poenitz@gmx.net>
10376 * lyxfunc.C: further cleaning
10378 2002-08-13 André Pönitz <poenitz@gmx.net>
10380 * funcrequest.h: new constructor
10382 * funcrequest.C: move stuff here from .h
10385 * BufferView_pimpl.C:
10388 * lyxfunc.C: subsequent changes
10390 * lyxfunc.h: new view() member function
10392 * lyxfunc.C: subsequent changes
10394 2002-08-13 Angus Leeming <leeming@lyx.org>
10397 * BufferView_pimpl.C:
10405 changes due to the changed LyXView interface that now returns references
10406 to member variables not pointers.
10408 2002-08-13 Angus Leeming <leeming@lyx.org>
10410 * WordLangTuple (word, lang_code): return references to strings,
10415 * lyxtext.h: forward-declare WordLangTuple.
10420 * text.C: #include "WordLangTuple.h".
10423 * text.C: (selectNextWordToSpellcheck): constify return type.
10425 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10431 * paragraph_pimpl.h:
10434 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10435 suggested by Angus.
10436 Made updateCounter always count from start of buffer, and removed
10437 second argument (par).
10438 Reverted floats number display to '#'. Perhaps I'll try again when the
10439 code base is sanitized a bit.
10441 2002-08-12 Angus Leeming <leeming@lyx.org>
10443 * buffer.[Ch] (getLabelList): constify.
10445 2002-08-07 André Pönitz <poenitz@gmx.net>
10447 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10449 * funcrequest.h: extension to keep mouse (x,y) position
10451 2002-08-12 Juergen Vigna <jug@sad.it>
10453 * BufferView2.C (insertErrors): forbid undo when inserting error
10456 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10458 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10460 * ParagraphList.[Ch]: new files
10462 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10464 * BufferView2.C (lockInset): ParagraphList changes
10467 * bufferlist.C: ditto
10471 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10474 unused class variable counter_,
10476 * paragraph.[Ch] (getFirstCounter): delete unused function
10478 * counters.C: include LAssert.h
10479 (reset): add a new function with no arg, change other version to
10480 not have def. arg and to not allow empty arg.
10482 * text2.C (setCounter): remove empty arg from call to Counters::reset
10484 2002-08-11 John Levon <levon@movementarian.org>
10486 * Makefile.am: add WordLangTuple.h
10488 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10490 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10491 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10493 * insets/insettext.C: InsetList changes
10495 * graphics/GraphicsSupport.C (operator()): InsetList changes
10497 * toc.C (getTocList): InsetList changes
10499 * paragraph_pimpl.[Ch]: InsetList changes
10501 * paragraph.[Ch]: InsetList changes
10503 * buffer.C (inset_iterator): InsetList changes
10504 (setParagraph): ditto
10505 * buffer.h (inset_iterator): ditto
10506 * iterators.C (operator++): ditto
10507 * iterators.h: ditto
10509 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10511 * InsetList.[Ch]: new files, most InsetList handling moved out of
10514 * BufferView2.C (removeAutoInsets): InsetList changes
10516 (ChangeInsets): ditto
10518 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10520 * paragraph_pimpl.h (empty): new function
10522 * paragraph.[Ch] (empty): new function
10524 * other files: use the new Paragraph::empty function
10526 2002-08-09 John Levon <levon@movementarian.org>
10528 * lyxtext.h: remove unused refresh_height
10530 2002-08-09 John Levon <levon@movementarian.org>
10537 * paragraph.C: move sgml char escaping out of paragraph
10540 * paragraph.C: remove id setter
10544 * paragraph_pimpl.C: remove dead tex_code_break_column
10546 * bufferview_funcs.C: small cleanup
10548 * lyxfunc.C: remove dead proto
10550 * lyxtext.h: make some stuff private. Remove some dead stuff.
10552 * lyxgluelength.C: make as[LyX]String() readable
10554 2002-08-08 John Levon <levon@movementarian.org>
10559 * ToolbarDefaults.C:
10562 * toc.C: lyxaction cleanup
10564 2002-08-08 John Levon <levon@movementarian.org>
10566 * BufferView2.C: small cleanup
10569 * lyxfind.C: move unnecessary header into the .C
10571 2002-08-08 John Levon <levon@movementarian.org>
10573 * funcrequest.h: just tedious nonsense
10576 * lyx_main.C: cleanups
10579 * vspace.C: remove dead header lyx_main.h
10581 2002-08-07 Angus Leeming <leeming@lyx.org>
10584 * paragraph_pimpl.h:
10585 Forward declare class Counters in paragraph.h by moving the ctrs member
10586 variable into Paragraph::Pimpl.
10587 (counters): new method, returning a reference to pimpl_->ctrs.
10589 * text2.C: ensuing changes.
10591 2002-08-07 John Levon <levon@movementarian.org>
10593 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10595 * BufferView_pimpl.C: announce X selection on double/triple
10598 * lyx_main.C: use correct bool in batch dispatch
10600 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10602 2002-08-07 André Pönitz <poenitz@gmx.net>
10604 * funcrequest.h: new class to wrap a kb_action and its argument
10607 * BufferView_pimpl[Ch]:
10611 * lyxrc.C: subsequent changes
10614 2002-08-07 John Levon <levon@movementarian.org>
10616 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10617 document options change.
10619 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10624 * makefile.am: move counters functionality over from
10625 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10627 2002-08-06 John Levon <levon@movementarian.org>
10629 * WordLangTuple.h: new file for word + language code tuple
10640 * BufferView2.C: use WordLangTuple
10643 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10645 2002-08-06 John Levon <levon@movementarian.org>
10647 * lyx_main.C: fix cmdline batch handling
10649 2002-08-06 André Pönitz <poenitz@gmx.net>
10651 * lyxrc.C: set default for show_banner to true
10653 2002-08-06 John Levon <levon@movementarian.org>
10655 * pspell.C: fix a crash, and allow new aspell to work
10657 2002-08-06 John Levon <levon@movementarian.org>
10660 * kbmap.C: small cleanup
10663 * vspace.C: add const
10665 2002-08-05 John Levon <levon@movementarian.org>
10667 * LyXAction.C: back to tabular-insert
10669 2002-08-04 John Levon <levon@movementarian.org>
10672 * BufferView.C: cosmetic change
10674 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10684 * BufferView2.C: purge all "Lyx" not "LyX" strings
10687 * lyxcursor.C: attempt to add some documentation
10692 * ToolbarDefaults.C:
10693 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10694 merge with LFUN_TABULAR_INSERT
10701 * pspell.C: split up i/pspell implementations into separate
10702 files, many cleanups
10704 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10706 * text2.C: some cleanup
10708 * lyxfunc.C: don't check for isp_command == "none" any more, it
10709 didn't make any sense
10711 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10716 * makefile.am: move counters functionality over
10717 from text2.C/paragraph.[Ch] to counters.[Ch], and
10719 2002-08-02 John Levon <levon@movementarian.org>
10721 * buffer.C: s/lyxconvert/lyx2lyx/
10723 2002-08-02 Angus Leeming <leeming@lyx.org>
10725 * lyxlex.C: revert John's change as it breaks reading of the user
10728 2002-08-02 Angus Leeming <leeming@lyx.org>
10730 * importer.C (Import):
10731 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10732 changes due to LyXView::view() now returning a boost::shared_ptr.
10734 2002-08-02 John Levon <levon@movementarian.org>
10736 * lyxlex.C: small cleanup
10738 2002-08-02 John Levon <levon@movementarian.org>
10740 * text2.C (status): small cleanup, no logic change
10742 2002-08-01 John Levon <levon@movementarian.org>
10745 * buffer.C (writeFile): don't output alerts, caller
10749 * lyx_cb.C: from above
10751 * lyxfunc.C: allow to open non-existent files
10753 2002-07-31 John Levon <levon@movementarian.org>
10755 * lyxserver.C: don't let incidental errors get
10758 2002-07-30 John Levon <levon@movementarian.org>
10760 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10762 2002-07-30 John Levon <levon@movementarian.org>
10765 * lyxserver.C: remove I/O callback too
10767 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10769 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10772 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10774 * many files: strip,frontStrip -> trim,ltrim,rtrim
10776 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10778 * PrinterParams.h: remove extern containsOnly, and include
10779 support/lstrings.h instead.
10781 * LaTeX.C (scanAuxFile): modify because of strip changes
10783 * buffer.C (makeLaTeXFile): ditto
10784 * bufferparams.C (writeFile): ditt
10785 * lyxfont.C (stateText): ditto
10786 * lyxserver.C (read_ready): ditto
10787 * vc-backend.C (scanMaster): ditto
10789 * BufferView_pimpl.h: ws changes
10791 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10793 2002-07-26 André Pönitz <poenitz@gmx.net>
10795 * kb_sequence.C: remove unnedred usings
10797 2002-07-26 Juergen Vigna <jug@sad.it>
10799 * lyxfind.C (LyXReplace): we have to check better if the returned
10800 text is not of theLockingInset()->getLockingInset().
10802 2002-07-25 Juergen Vigna <jug@sad.it>
10804 * lyxfind.C (LyXReplace): don't replace if we don't get the
10807 * undo_funcs.C (createUndo): remove debugging code.
10809 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10811 * buffer.C (parseSingleLyXformat2Token): Use default placement
10812 when reading old floats.
10814 * FloatList.C (FloatList): Change the default placement of figure
10815 and tables to "tbp".
10817 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10819 * MenuBackend.C: using std::max
10821 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10823 * MenuBackend.C (expandToc):
10824 (expandToc2): code moved from xforms menu frontend. It is now
10825 generic and TOCs are transparent to menu frontends.
10827 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * toc.C (getTocList): protect against buf=0
10831 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10832 Menu as first parameter. Now, this calls itself recursively to
10833 expand a whole tree (this will be useful for TOC handling)
10834 (expandFloatInsert): remove 'wide' version of floats
10836 * MenuBackend.h (submenuname): returns the name of the submenu.
10837 (submenu): returns the submenu itself, provided it has been
10838 created by MenuBackend::expand
10840 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10842 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10843 insets which have noFontChange == true. (bug #172)
10845 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * BufferView_pimpl.C: add connection objects and use them...
10850 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10852 * MenuBackend.C (expandLastfiles):
10855 (expandFloatListInsert):
10856 (expandFloatInsert):
10857 (expand): split expand in parts
10859 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10861 * lyx_gui.C: use lyx_gui::exit()
10863 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10865 * LyXAction.C: show the failing pseudo action
10867 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10869 * buffer.C (readFile): Run the lyxconvert script in order to read
10872 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10876 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10878 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10882 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10884 2002-07-22 Herbert Voss <voss@lyx.org>
10887 * lyxlength.[Ch]: add support for the vertical lengths
10889 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10891 * toc.[Ch]: std:: fixes
10893 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10895 * lyxrc.C: do not include lyx_main.h
10897 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10903 * BufferView2.C: include "lyxlex.h"
10906 * bufferparams.h: do not #include "lyxlex.h"
10908 * lyxtextclasslist.C (Add): remove method
10909 (classlist): renamed to classlist_
10911 * paragraph_pimpl.C:
10915 * bufferview_funcs.C:
10920 * toc.C (getTocList): use BufferParams::getLyXTextClass
10922 * toc.C (getTocList): use InsetFloat::addToToc
10924 * toc.[Ch]: new files, containing helper functions to handle table
10927 * lyxfunc.C (dispatch): no need to remove spaces around command
10929 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10930 first command of the sequence; it is not very clever, but I do not
10931 have a better idea, actually
10933 * LyXAction.C (LookupFunc): make sure to remove space at the
10934 beginning and end of the command
10936 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10938 * MenuBackend.C (getMenubar): new method: return the menubar of
10940 (read): treat differently reading of menu and menubar (in
10941 particular, the menubar has no name now)
10942 (Menu::menubar): remove
10944 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10947 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10949 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10950 a bibitem inset in a RTL paragraph.
10952 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10954 * paragraph_pimpl.C: constify
10956 * BufferView_pimpl.C:
10958 * lyxfunc.C: fix dispatch in a nicer way
10960 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * lyxfunc.C (dispatch):
10963 * BufferView_pimpl.C:
10964 * BufferView_pimpl.h:
10966 * BufferView.h: rename Dispatch() to dispatch()
10968 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10970 * lyxlayout.C (Read): honor DependsOn tag
10972 * lyxlayout.[Ch] (depends_on): new method
10974 * version.C.in: update lyx_docversion
10976 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10978 * paragraph.C (validate): remove from here...
10979 * paragraph_pimpl.C (validate): ... and move here
10980 (isTextAt): make it const
10982 * buffer.C (getLists): ws cleanup
10984 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10986 * language.C (read): Use iso8859-1 encoding in latex_lang
10987 (this prevents LyX from crashing when using iso10646-1 encoding).
10989 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * text2.C (toggleInset): if cursor is inside an inset, close the
10992 inset and leave cursor _after_ it
10994 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10996 * lyxfunc.C: move minibuffer completion handling out of here
10998 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11000 * BufferView_pimpl.C:
11001 * LaTeX.C: fix dispatch calls
11003 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11005 * text.C (drawChars): Fix Arabic text rendering.
11007 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11011 * lyxfunc.C: remove message-push/pop
11015 * lyxfunc.C: rationalise some code by removing verboseDispatch
11016 in favour of a bool argument to dispatch()
11018 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11020 * lyx_main.C (init): make sure to read symlinks as absolute paths
11022 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11025 * lyxfunc.C: no need for commandshortcut to be a member
11027 2002-07-15 André Pönitz <poenitz@gmx.net>
11029 * converter.C: add support for $$s (scripts from lib/scripts dir)
11030 * lyx_main.C: white space
11032 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11036 * lyxrc.C: remove second exit confirmation
11038 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11043 * BufferView_pimpl.h:
11044 * BufferView_pimpl.C:
11045 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11047 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11049 * MenuBackend.C (expand): add numeric shortcuts to document menu
11051 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11053 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * lyxfont.C (setLyXFamily):
11062 * buffer.C (asciiParagraph): use ascii_lowercase
11064 2002-07-15 Mike Fabian <mfabian@suse.de>
11066 * lyxlex_pimpl.C (search_kw):
11067 * lyxlex.C (getLongString):
11068 * converter.h (operator<):
11069 * converter.C (operator<):
11070 * buffer.C (parseSingleLyXformat2Token):
11072 * ToolbarDefaults.C (read):
11073 * MenuBackend.C (checkShortcuts):
11075 * LColor.C (getFromGUIName):
11076 (getFromLyXName): use the compare_ascii_no_case instead of
11077 compare_no_case, because in turkish, 'i' is not the lowercase
11078 version of 'I', and thus turkish locale breaks parsing of tags.
11080 2002-07-16 Angus Leeming <leeming@lyx.org>
11082 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11083 now takes a Buffer const & argument.
11085 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11087 * BufferView.C (resize): check there's a buffer to resize
11089 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11091 * lyxfunc.C: remove dead code
11094 * lyxserver.C: use lyx_guii::set_read_callback
11096 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11098 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11099 an inset in a RTL paragraph.
11101 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11103 * lyxfunc.C: repaint after a font size update
11105 2002-07-15 André Pönitz <poenitz@gmx.net>
11107 * lyxlength.C: inBP should be able to return negative values
11109 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11111 * lyxfunc.C: use lyx_gui::update_fonts()
11113 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11115 * lyxfunc.C: use lyx_gui::update_color()
11117 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11123 * lyxrc.C: remove file->new asks for name option, and let
11124 buffer-new take an argument
11126 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11128 * BufferView_pimpl.C: remove unneeded extra repaint()
11130 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11132 * LyXAction.C: allow command-sequence with NoBuffer
11134 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11136 2002-07-10 Angus Leeming <leeming@lyx.org>
11138 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11140 2002-07-09 Angus Leeming <leeming@lyx.org>
11142 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11144 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11146 * lengthcommon.h: whitespace
11148 * lyxfunc.C: update scrollbar after goto paragraph
11150 * lyxtext.h: factor out page break drawing, and fix it so
11151 page break/added space paints as selected nicely
11153 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11155 * BufferView_pimpl.C: add FIXMEs, clean up a little
11157 2002-07-09 André Pönitz <poenitz@gmx.net>
11159 * lyxfont.[Ch]: support for wasy symbols
11161 2002-07-08 André Pönitz <poenitz@gmx.net>
11163 * BufferView_pimpl.C: apply John's patch for #93.
11165 2002-07-05 Angus Leeming <leeming@lyx.org>
11167 * BufferView_pimpl.C (buffer): generate previews if desired.
11169 * LColor.h: add "preview" to the color enum.
11171 * LColor.C (LColor): add a corresponding entry to the items array.
11173 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11176 2002-07-05 Angus Leeming <leeming@lyx.org>
11178 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11179 The body of the code is now in the method that is passed an ostream &
11180 rather than a file name.
11181 Pass an additional only_preamble parameter, useful for the forthcoming
11184 2002-07-03 André Pönitz <poenitz@gmx.net>
11186 * lyxfunc.C: simplify getStatus() a bit for math stuff
11188 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11190 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11192 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11194 * text.C (changeRegionCase): do not change case of all the
11195 document when region ends at paragraph end (bug #461)
11197 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * paragraph.C (startTeXParParams):
11200 (endTeXParParams): add \protect when necessary
11202 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11204 * BufferView_pimpl.C (workAreaExpose): remove warning
11206 2002-06-27 Angus Leeming <leeming@lyx.org>
11208 * Makefile.am: add lyxlayout_ptr_fwd.h.
11210 2002-06-26 André Pönitz <poenitz@gmx.net>
11212 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11214 2002-06-25 Angus Leeming <leeming@lyx.org>
11216 * lyxfunc.C (dispatch): Comment out the call to
11217 grfx::GCache::changeDisplay. The method no longer exists now that the
11218 pixmap generation part of the graphics loader has been moved into
11221 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11223 * text2.C: layout as layout
11225 * text.C: layout as layout
11227 * tabular.C (OldFormatRead): layout as layout
11229 * paragraph_pimpl.C (TeXDeeper): layout as layout
11230 (realizeFont): layout as layout
11232 * paragraph.C (writeFile): layout as layout
11233 (validate): layout as layout
11234 (getFont): layout as layout
11235 (getLabelFont): layout as layout
11236 (getLayoutFont): layout as layout
11237 (breakParagraph): layout as layout
11238 (stripLeadingSpaces): layout as layout
11239 (getEndLabel): layout as layout
11240 (getMaxDepthAfter): layout as layout
11241 (applyLayout): layout as layout
11242 (TeXOnePar): layout as layout
11243 (simpleTeXOnePar): layout as layout
11244 (TeXEnvironment): layout as layout
11245 (layout): layout as layout
11246 (layout): layout as layout
11248 * lyxtextclass.C (compare_name): new functor to work with
11249 shared_ptr, layout as layout
11250 (Read): layout as layout
11251 (hasLayout): layout as layout
11252 (operator): layout as layout
11253 (delete_layout): layout as layout
11254 (defaultLayout): layout as layout
11256 * lyxlayout_ptr_fwd.h: new file
11258 * lyxlayout.C (Read): layout as layout
11260 * lyx_cb.C (MenuInsertLabel): layout as layout
11262 * bufferlist.C (newFile): layout as layout
11264 * buffer.C (readLyXformat2): layout as layout
11265 (parseSingleLyXformat2Token): layout as layout
11266 (insertStringAsLines): layout as layout
11267 (asciiParagraph): layout as layout
11268 (latexParagraphs): layout as layout
11269 (makeLinuxDocFile): layout as layout
11270 (simpleLinuxDocOnePar): layout as layout
11271 (makeDocBookFile): layout as layout
11272 (simpleDocBookOnePar): layout as layout
11273 (getLists): layout as layout
11275 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11277 * CutAndPaste.C (cutSelection): layout as layout
11278 (pasteSelection): layout as layout
11279 (SwitchLayoutsBetweenClasses): layout as layout
11281 * BufferView_pimpl.C (Dispatch): layout as layout
11282 (smartQuote): layout as layout
11284 * BufferView2.C (unlockInset): layout as layout
11286 2002-06-24 André Pönitz <poenitz@gmx.net>
11288 * lyxfunc.C: fix #487
11290 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11294 * lyxfunc.C: remove display_shortcuts, show_banner
11296 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11298 * Buffer_pimpl.C: oops, update on resize
11300 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11307 * BufferView.C: use repaint()
11309 * BufferView_pimpl.h:
11310 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11311 as it's a clearer description. Remove superfluous
11314 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11316 * text.C: fix bug 488. Not ideal, but getting
11317 getWord() to work properly for the insets that
11318 matter is more difficult ...
11320 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11322 * BufferView_pimpl.C:
11325 * lyxfunc.C: remove the six million index lyxfuncs to just
11326 one, and DTRT (bug 458)
11328 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11332 * BufferView_pimpl.h:
11333 * BufferView_pimpl.C: clean up resize() stuff,
11334 and unnecessary updateScreen()s
11336 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11340 * BufferView_pimpl.h:
11341 * BufferView_pimpl.C:
11344 * minibuffer.C: remove focus management of workarea,
11345 not needed. Use screen's greyOut()
11347 2002-06-17 Herbert Voss <voss@lyx.org>
11349 * converter.C: (convert) do not post a message, when converting
11350 fails, let the calling function decide what to do in this case
11352 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11354 * lyxfunc.C: tidy up a little
11356 2002-06-16 <alstrup@diku.dk>
11358 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11359 Got rid of FORMS_H_LOCATION include. Now we are
11362 2002-06-15 LyX Development team <lyx@rilke>
11364 * buffer.[Ch] (sgmlOpenTag):
11365 (sgmlCloseTag): Added support for avoiding pernicious mixed
11366 content. Return number of lines written.
11368 (makeLinuxDocFile):
11369 (makeDocBookFile): Fixed calls to sgml*Tag.
11370 Simple white space clean.
11372 (simpleDocBookOnePar): Simple white space clean.
11374 * tabular.[Ch] (docBook): Renamed to docbook and got another
11375 argument to related with the pernicious mixed content.
11377 (docbookRow): Fixed calls for docbook inset method.
11379 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11381 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11382 so it's X11 independent.
11386 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11388 2002-06-15 Lyx Development team <lyx@electronia>
11390 * intl.h: Renamed getTrans to getTransManager.
11392 2002-06-14 Angus Leeming <leeming@lyx.org>
11394 * Makefile.am: nuke forgotten stl_string_fwd.h.
11396 2002-06-12 Angus Leeming <leeming@lyx.org>
11398 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11400 2002-06-13 Angus Leeming <leeming@lyx.org>
11403 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11405 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11407 * kbmap.C (getiso): add support for cyrillic and greek
11409 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11413 * BufferView_pimpl.h:
11414 * BufferView_pimpl.C: move bogus scrolling logic
11417 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11420 * BufferView_pimpl.C: view->resize() change
11422 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11424 * BufferView_pimpl.C: topCursorVisible
11427 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11431 * lyx_gui.C: move to frontends/
11435 * lyx_main.C: changes from above
11437 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11444 * lyx_main.C: minor tidy
11446 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11448 * BufferView_pimpl.h:
11449 * BufferView_pimpl.C:
11451 * BufferView.C: make painter() const,
11454 * BufferView2.C: use screen() accessor
11457 * lyx_main.C: some minor cleanup
11459 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11461 * BufferView_pimpl.h:
11462 * BufferView_pimpl.C: remove enter/leaveView,
11465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11470 * BufferView_pimpl.h:
11471 * BufferView_pimpl.C: only construct screen once,
11474 * lyxrc.C: remove pointless comment
11476 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11479 * BufferView.C: remove active() and belowMouse()
11481 * BufferView_pimpl.h:
11482 * BufferView_pimpl.C: use workarea() not workarea_,
11483 and make it use a scoped_ptr instead
11485 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11487 * lyx_gui.C: add debug message on BadWindow
11489 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * sp_spell.C: fdopen is not part of the C++ standard.
11493 * paragraph.C (InsetIterator): use >= instead of ==
11495 2002-06-07 Angus Leeming <leeming@lyx.org>
11497 Fixes needed to compile with Compaq cxx 6.5.
11498 * BufferView_pimpl.C:
11505 * lyxtextclasslist.C:
11510 all c-library variables have been moved into namespace std. Wrap
11511 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11516 Add a using std::abs declaration.
11518 * kbmap.h (modifier_pair):
11519 * paragraph.h (InsetTable, InsetList):
11520 * lyxfont.h (FontBits):
11521 type definition made public.
11523 * bufferlist.C (emergencyWriteAll): the compiler complains that
11524 there is more than one possible lyx::class_fun template to choose from.
11525 I re-named the void specialisation as lyx::void_class_fun.
11527 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11529 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11530 the compiler is is unable to find tostr in write_attribute.
11532 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * buffer.C (sgmlError): hide #warning
11536 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11538 * xtl/*: get rid of xtl, which is not in use anyway
11540 * LyXAction.C (init):
11541 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11542 were unimplemented xtl experimentation
11544 2002-06-04 André Pönitz <poenitz@gmx.net>
11546 * lyxfunc.C: disable array operation on simple formulae
11548 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11550 * converter.C: constify a bit
11552 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11554 * lyx_gui.C: check xforms version correctly
11556 2002-04-30 Herbert Voss <voss@lyx.org>
11558 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11561 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11563 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11564 attempt to register it with a VCS)
11566 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * lyx_main.C (init): honor variables LYX_DIR_13x and
11571 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11575 * lyx_main.C: fix a crash on bad command line,
11576 and give a useful exit status on error
11578 * lyxfunc.C (doImport): allow -i lyx to work
11580 2002-03-30 André Pönitz <poenitz@gmx.net>
11582 * lyxfunc.C: mathed font changes
11584 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11599 * trans_mgr.h: srcdocs, and some minor cleanups
11601 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11603 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11604 call getFont all the time)
11606 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11608 * switch from SigC signals to boost::signals
11610 2002-05-29 André Pönitz <poenitz@gmx.net>
11612 * paragraph_pimpl.C (getChar): don't call size() too often...
11614 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * paragraph_pimpl.C (insertChar): do not try to update tables when
11617 appending (pos == size())
11619 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11620 in order to reduce drastically the number of comparisons needed to
11621 parse a large document
11623 2002-05-29 André Pönitz <poenitz@gmx.net>
11629 * textclasslist.[Ch]:
11630 * sp_ispell.h: whitespace change
11632 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11634 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11635 lyxaction directly now.
11637 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11641 * lyxvc.C: remove unused headers
11643 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11650 * undo_funcs.C: some cleanups. Use shared_ptr
11651 and a template for the undo stacks.
11653 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11655 * BufferView_pimpl.h:
11656 * BufferView_pimpl.C:
11663 * text2.C: use key_state/mouse_state
11665 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11667 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11670 * chset.C: change include order
11671 (loadFile): use boost regex and get rid of LRegex and LSubstring
11673 * Makefile.am (BOOST_LIBS): new variable
11674 (lyx_LDADD): use it
11676 * LaTeX.C: change include order.
11677 (scanAuxFile): use boost regex and get rid of LRegex and
11681 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11686 * FontInfo.C: moved to frontends/xforms/
11689 * FontLoader.C: moved into frontends for GUIIzation
11694 * lyxfunc.C: changes from above
11696 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11698 * LColor.C: remove spurious X include
11700 * BufferView_pimpl.C:
11705 * text2.C: move font metrics to frontends/
11707 2002-05-24 Juergen Vigna <jug@sad.it>
11709 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11710 setting the undo_cursor.
11712 * ParagraphParameters.h: include local includes first.
11714 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11716 * BufferView_pimpl.C:
11717 * BufferView_pimpl.h:
11721 * screen.C: move WorkArea into frontends/
11727 * BufferView2.C: move LyXScreen into frontends/
11731 * lyx_gui.C: move lyxlookup into frontends/xforms/
11733 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11736 * BufferView_pimpl.C:
11746 * bufferview_funcs.C:
11759 * vc-backend.C: move LyX/XFormsView into frontends/
11761 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11773 * text2.C: move Painter to frontends/
11775 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * buffer.C: comment out some some code that depend upon lyx_format
11780 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11781 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11783 * buffer.h (NO_COMPABILITY): turn off compability
11785 * ColorHandler.C: include scoped_array.hpp
11787 * font.C: Use more specific smart_ptr header.
11790 * ShareContainer.h: ditto
11791 * lyx_main.h: ditto
11793 * FontInfo.h: ditto
11794 * BufferView_pimpl.h: ditto
11795 * ColorHandler.h: ditto
11797 * kbmap.C (defkey): change call to shared_ptr::reset
11799 2002-05-21 Juergen Vigna <jug@sad.it>
11801 * buffer.C (insertErtContents): fix to insert ert asis if it is
11802 non empty. Skip it completely if it contains only whitespaces.
11804 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11806 * BufferView_pimpl.C:
11807 * BufferView2.C: clear selection on paste (bug 393)
11809 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11811 * DepTable.C: include ctime
11813 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11815 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11817 2002-05-14 Juergen Vigna <jug@sad.it>
11819 * text.C (breakParagraph): fixed function to honor the keepempty
11820 layout in the right maner and also to permit the right breaking
11821 algorithm on empty or non empyt keepempty paragraphs.
11823 * paragraph.C (breakParagraph): we have to check also if the par
11824 is really empty (!size()) for isempty otherwise we do the wrong
11827 2002-05-10 Juergen Vigna <jug@sad.it>
11829 * buffer.[Ch] : The following are only changes to the ert
11830 compatibility read reading old LaTeX layout and font stuff and
11831 convert it to ERTInsets.
11833 * buffer.h: added isErtInset().
11835 * buffer.C (struct ErtComp): add a fromlayout bool to check
11836 if we're inside a LaTeX layout.
11837 (isErtInset): new helper function.
11838 (insertErtContents): look for other ert insets before this one
11839 and insert the contents there, so that we don't have subsequent
11840 ERT insets with nothing between them. This way we create only one
11841 inset with multiple paragraphs. Also check if we don't insert only
11842 spaces ' ' as they are ignored anyway afterwards in the .tex file
11843 so if we have only spaces we will ignore this latex part in the
11845 (parseSingleLyXformat2Token \\layout): better compatibility when
11846 reading layout-latex stuff.
11847 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11849 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11850 stuff after reading the inset only get the information back from
11853 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11855 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11857 * LaTeXFeatures.C (getBabelOptions): New method.
11859 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11861 * BufferView_pimpl.C (Dispatch): work around missing argument for
11864 2002-05-08 Juergen Vigna <jug@sad.it>
11866 * text.C (leftMargin): handle paragraph leftindent.
11868 * paragraph.C (writeFile): write the new \\leftindent tag.
11869 (validate): handle leftindent code.
11870 (TeXEnvironment): handle paragraphleftindent code again.
11872 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11874 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11875 for paragrap_extra indent code and new token \\leftindent.
11876 (latexParagraphs): handle the leftindent as environment.
11878 * ParameterStruct.h: added leftindent support.
11880 * ParagraphParameters.C (leftIndent): added support functions for
11881 the paragraph left indent.
11883 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11886 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11888 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11891 * text.C (computeBidiTables): No bidi in insetERT.
11893 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11896 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11898 * version.C.in: pre 5
11900 2002-05-02 José Matos <jamatos@fep.up.pt>
11901 * buffer.C (makeDocBookFile): white space changes, add newline to
11903 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11905 * tabular.C (docBook): fix typo.
11907 2002-05-03 Juergen Vigna <jug@sad.it>
11909 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11910 change in LyXText as we can not be sure it was not freed.
11911 (drawOneRow): remove unused code.
11913 * text.C (drawInset): redo the calculation of the need_break_row as
11914 it could have a row which was already freed.
11915 (draw): look at the return value of drawInset and return false if
11916 it also returned false.
11917 (paintRowText): look at the return value of draw and return false if
11918 it also returned false.
11920 * lyxtext.h: added bool return type to drawInset() and draw() so that
11921 if we have a change in the row so that the rowbreak has to be redone
11922 we abort drawing as it will be called again.
11924 2002-05-02 Juergen Vigna <jug@sad.it>
11926 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11927 a change in the maintext also if we're inside an inset.
11928 (Dispatch): set the cursor again after a break line and after the
11929 screen has been updated as it could be we're in a different row.
11931 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11932 to set the cursor behind the pargraph with > size().
11933 (setCursor): check also for the same paragraph when checking where
11934 to put the cursor if we have a NFR inset.
11936 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11937 parts of layout read further up as it still was in the wrong
11940 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11942 * screen.C (drawFromTo): change sine fullRebreak always return
11945 * buffer.C (parseSingleLyXformat2Token): reindent some
11947 * BufferView_pimpl.C (update): change since fullRebreak always
11949 (Dispatch): git rid of the last hardcoded "Standard"s.
11951 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11953 * text2.[Ch] (fullRebreak): make it return void now that we always
11956 2002-04-30 Juergen Vigna <jug@sad.it>
11958 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11959 ert compatibility check for "latex" layout.
11961 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11963 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11964 minipages: use col% instead of p%, and also use the current font.
11965 (makeLaTeXFile): Fix use babel condition.
11966 (parseSingleLyXformat2Token): Correct font when reading old floats.
11968 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11970 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11971 inserting list of floats.
11973 2002-04-25 Herbert Voss <voss@lyx.org>
11975 * MenuBackend.C (expand): don't add the graphics extensions to the
11978 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11981 non-existing layout, do not complain if it was the default layout
11982 of the original class (bug #342)
11984 2002-04-24 Juergen Vigna <jug@sad.it>
11986 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11987 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11989 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11991 * buffer.C (getBibkeyList): If using \bibliography, return the
11992 option field with the reference itself. Enables us to provide natbib
11993 support when using \bibliography.
11995 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11997 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11999 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12000 natbib is provided by the LaTeX class.
12002 2002-04-23 Juergen Vigna <jug@sad.it>
12004 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12007 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12009 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12011 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12013 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12014 ensuremath around textordmasculine, textordfeminine and
12017 2002-04-19 Juergen Vigna <jug@sad.it>
12019 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12020 reinitializing the buffer otherwise row-dimensions may be wrong.
12021 (update): reset also the selection cursors if they do exits otherwise
12022 their x/y positions may be wrong.
12024 * text2.C (cursorDown): don't enter the inset if we came from a row
12025 above and are one row over the inset.
12027 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12028 really leaving an inset.
12030 2002-04-18 Juergen Vigna <jug@sad.it>
12032 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12033 of the selected paragraph does not have the selected layout also if
12036 * text2.C (setLayout): fixed bug which did not change last selected
12039 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12040 changed the read and substituted \\end_float with \\end_inset!
12042 * BufferView_pimpl.C (cursorPrevious):
12043 (cursorNext): fixed to make it work with rows heigher than the work
12044 area without moving the cursor only the draw of the row.
12045 (workAreaMotionNotify): fix jumping over high rows.
12047 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12052 2002-04-16 Juergen Vigna <jug@sad.it>
12054 * text2.C (setCursor): set also the irow().
12055 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12057 (cursorDown): support for locking an inset if the x_fix value goes
12058 inside it. That way I can transverse insets too with cursor up/down.
12060 * lyxrow.h: added irow helper function same as other (i) functions.
12062 * BufferView_pimpl.C (cursorPrevious):
12063 (cursorNext): fixed for insets!
12065 2002-04-15 Juergen Vigna <jug@sad.it>
12067 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12068 position otherwise it is wrong in some cases.
12070 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12071 inside the inset before the call.
12073 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12075 * buffer.[Ch] (getBibkeyList): make it const.
12077 2002-04-12 Juergen Vigna <jug@sad.it>
12079 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12081 * text2.C (getCursorX): new helper function
12082 (setCursor): compute also ix_
12083 (setCursorFromCoordinates): set also ix.
12085 * lyxcursor.h: added ix_ and helper functions.
12087 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12089 * buffer.C (insertStringAsLines): dont break paragraph if the this
12090 paragraph is inside an inset which does not permit it!
12092 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12093 also with no chars on this paragraph.
12094 (paintRowText): only paint stuff if it's inside the workarea!
12096 * paragraph.C (breakParagraph): honor keepempty flag and break the
12097 paragraph always below not above.
12099 * BufferView2.C (unlockInset): update the paragraph layout on inset
12100 unlock as we changed paragraph in such a case.
12102 * lyxfind.C (LyXFind): clear the former selection if not found!
12104 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12105 again called in insertChar().
12107 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12108 an inset which uses the whole row!
12109 (rightMargin): ditto.
12110 (insertChar): force a rebreak if we inserted an inset!
12112 2002-03-28 Herbert Voss <voss@lyx.org>
12114 * lyxlength.[Ch]: add inBP() to get the right PS-point
12115 units (BigPoint). With inPixels we have rounding errors
12117 2002-04-11 Juergen Vigna <jug@sad.it>
12119 * text2.C (setCursorFromCoordinates): set iy to the right value.
12120 (setCursor): add check if row->previous exists!
12122 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12123 an old float_type as this was the case in the old code!
12125 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12127 * BufferView2.C (showLockedInsetCursor): use iy
12128 (fitLockedInsetCursor): ditto
12130 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12131 locked insets as there we have the right value now.
12133 * lyxcursor.C: added iy_ variable and iy functions to set to the
12134 baseline of cursor-y of the locked inset.
12136 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12137 (setCursor): fixed for insets which need a full row.
12139 * text.C (rowLastPrintable): don't ignore the last space when before
12140 an inset which needs a full row.
12141 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12142 as last character of a row when before a inset which needs a full row.
12144 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * version.C.in: update date
12148 * text2.C (fullRebreak): try to always return true and see what
12151 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12153 * MenuBackend.C (expand): use Floating::listName
12155 * FloatList.C (FloatList): add listName argument to the built-in
12158 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12159 text associated with the float.
12161 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12163 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12165 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * ShareContainer.h: add a couple of missing typenames.
12169 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12171 * lyxrc.C (getDescription): use _() correctly rather than N_().
12173 2002-03-28 Herbert Voss <voss@lyx.org>
12175 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12176 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12178 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12180 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12181 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12183 2002-03-29 Juergen Vigna <jug@sad.it>
12185 * lyxfunc.C (dispatch): add a missing fitCursor call.
12187 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12188 it was scrolled by a cursor move, so return the bool status.
12190 * BufferView.C (fitCursor): return the bool flag also to the outside
12191 world as this is needed.
12193 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12195 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12196 call the edit() as it is not needed (and wrong) IMO.
12197 (workAreaButtonPress): set the screen_first variable before evt.
12198 unlock the inset as this may change screen_first and then we have
12199 a wrong y position for the click!
12201 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12203 * MenuBackend.C (expand): another translation that I missed
12205 2002-03-28 Juergen Vigna <jug@sad.it>
12207 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12209 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12211 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12213 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12215 * MenuBackend.C (expand): fix export/view/update when there is no
12218 2002-03-27 Herbert Voss <voss@lyx.org>
12220 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12223 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * bufferview_funcs.C (currentState): only show paragraph number
12226 for is DEVEL_VERSION is set.
12228 * lyxfunc.C (dispatch): put warning in INFO channel
12230 * MenuBackend.C (expand): translate the name of floats
12232 * FloatList.C (FloatList): mark the float names for translation
12234 * converter.C (convert): use LibScriptSearch
12236 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12238 * MenuBackend.C (defaults): fix default menu (we might as well get
12241 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12246 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12248 * lyxvc.C: reorder includes.
12250 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12252 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12255 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12257 * CutAndPaste.C: change layouts earlier on paste
12258 to avoid crashing when calling getFont()
12260 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12262 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12265 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12267 * WorkArea.C: remove 'Pending' debug message.
12269 * most files: ws cleanup
12271 * buffer.[Ch]: ws changes
12273 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12275 2002-03-21 Juergen Vigna <jug@sad.it>
12277 * tabular.C (SetMultiColumn): collapse also the contents of the
12278 cells and set the last border right. Added a Buffer const * param.
12280 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12282 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12285 2002-03-19 Juergen Vigna <jug@sad.it>
12287 * text2.C (clearSelection): reset also xsel_cache.
12289 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12290 where it needs to be called (John tells us to do so too :)
12291 (selectionLost): reset sel_cache.
12293 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12295 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12297 * text2.C (setCursorIntern): put debuging code in INSETS channel
12299 2002-03-19 André Pönitz <poenitz@gmx.net>
12301 * lyxfunc.C: tiny whitespace change
12303 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12305 * ToolbarDefaults.C (init):
12306 * LyXAction.C (init):
12308 * BufferView_pimpl.C (Dispatch):
12309 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12311 2002-03-19 Allan Rae <rae@lyx.org>
12313 * exporter.C (Export): removeAutoInsets before doing anything else.
12314 While I've just introduced a dependency on BufferView this really is
12315 the best place to clean the buffer otherwise you need to cleanup in
12316 a dozen places before calling export or cleanup in a dozen functions
12319 * converter.C (runLaTeX):
12320 (scanLog): Better handling of removeAutoInsets and screen updates.
12322 * lyxfunc.C (dispatch): small whitespace changes
12324 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * WorkArea.C (C_WorkAreaEvent): return a value.
12327 (event_cb): return 1 if we handled the event, 0 otherwise.
12329 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12331 2002-03-18 Juergen Vigna <jug@sad.it>
12333 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12334 (GetAdditionalWidth): ditto.
12335 (RightLine): ditto.
12338 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12339 inset if we're there actually (probably not used right now but this
12340 is the direction to go for unifying code).
12341 (paste): disable code to clear the selection.
12343 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12344 inside an InsetText and move the check further up as it is in the
12347 * text2.C (pasteSelection): set a selection over the pasted text.
12349 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12351 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12352 and libgraphics to build on Cygwin.
12354 2002-03-15 Juergen Vigna <jug@sad.it>
12356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12357 inserting an Inset into the paragraph. I know this is not the best
12358 fix but we already use current_view in CutAndPaste so we will remove
12359 all of it's using at the same time.
12361 * buffer.C (sgmlError): deactivated function till it is rewritten in
12362 the right mode, now it can create problems.
12364 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12365 before accessing it.
12367 2002-03-14 Juergen Vigna <jug@sad.it>
12369 * undo_funcs.C (textHandleUndo): do the right thing when updating
12370 the inset after the undo/redo.
12372 * text2.C (setCursor): just some testcode for #44 not ready yet.
12374 * undo_funcs.C (textHandleUndo): set the next() and previous()
12375 pointers of the paragraph to 0 before deleting otherwise we have
12376 problems with the Paragraph::[destructor].
12378 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12379 on a paragraph insertion.
12381 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * buffer.C (asciiParagraph): use += operator for char append to
12386 * paragraph.C (getFontSettings): compare >= not just >
12387 (highestFontInRange): ditto
12390 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * paragraph.C: change several algorithm to be more appripriate for
12393 the problem domain. This is lookip in FontList and in the InsetList.
12395 2002-03-13 André Pönitz <poenitz@gmx.net>
12398 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12400 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12405 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12407 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * Painter.C (display): anon helper function, adjust code for this
12411 (pixmap): remove function.
12413 * Painter.h: remove private display variable.
12415 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12417 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12419 * WorkArea.[Ch]: remove figinset_canvas cruft.
12421 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * lyxtextclass.C (operator): add one item cache optimization.
12425 * bufferlist.h: doxy changes
12427 * bufferlist.C: ws changes
12429 * DepTable.[Ch] (ext_exist): place const in the right spot.
12431 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12433 (workAreaExpose): call resizeInsets when the with BufferView changes.
12434 (Dispatch): adjust for protectedBlank removal
12435 (specialChar): call updateInset if the insert went ok.
12437 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12438 specialChar instead.
12440 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12442 * BufferView.h: doxy change
12444 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12446 * lyxtextclass.C (operator[]): remove non-const version
12447 (defaultLayout): remove non-const version
12449 2002-03-12 Juergen Vigna <jug@sad.it>
12451 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12452 did resize the LyXText too.
12454 * buffer.C (readLyXformat2): set layout information on newly allocated
12457 * tabular.C (OldFormatRead): set layout information on the paragraph.
12459 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12461 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12463 2002-03-11 Juergen Vigna <jug@sad.it>
12465 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12467 (resizeCurrentBuffer): force also the insets to resize themselfes.
12468 (moveCursorUpdate): fixed up for InsetText.
12470 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12473 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12474 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12475 value of Dialogs::tooltipsEnabled().
12476 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12478 2002-03-08 Juergen Vigna <jug@sad.it>
12480 * BufferView_pimpl.C (updateInset): update inset inside inset also
12481 if it isn't inside theLockingInset().
12483 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12485 * buffer.C (asciiParagraph): redo some of the word and line length
12487 (getLists): look for Caption instead of caption.
12489 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12491 * buffer.C (Buffer): initialize niceFile to true
12493 (makeLinuxDocFile):
12494 (makeDocBookFile): make sure niceFile is true on exit
12496 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12500 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12502 * LyXSendto.C: remove.
12503 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12504 * lyx_gui.C: remove now-redundant comment.
12505 * ColorHandler.h: remove forward declaration of class WorkArea.
12506 * lyxfunc.C: remove #include "WorkArea.h".
12508 2002-03-07 Juergen Vigna <jug@sad.it>
12510 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12511 got moved away with the DEPM and also set the inset_owner always
12512 right which before could have been omitted.
12514 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12516 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12517 wanted layout is not found.
12519 2002-03-07 Juergen Vigna <jug@sad.it>
12521 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12523 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12525 * paragraph.C (breakParagraph): use default layout not layout of
12527 (Paragraph): clear ParagraphParameters.
12529 2002-03-06 Juergen Vigna <jug@sad.it>
12531 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12532 otherwise it would not be a valid lenght. Fixed a special case in
12533 the minipage compatibility read where we end the document with a
12536 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12537 was set as it could be 0 for InsetTexts first entry.
12539 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12541 * paragraph.C (writeFile): if layout is empty write out
12542 defaultLayoutName().
12544 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12545 file without named layout we set layout to defaultLayoutName().
12547 2002-03-06 Juergen Vigna <jug@sad.it>
12549 * CutAndPaste.C (copySelection): set layout for new paragraph.
12551 * text.C (prepareToPrint): leave ERT inset left aligned
12552 (leftMargin): don't indent paragraphs inside ERT insets
12554 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12556 * paragraph.C (breakParagraph): dont call clear do the work manually
12558 * paragraph.[Ch] (clear): remove function
12560 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12562 * paragraph.C (Paragraph): dont call clear, the work has already
12565 * lyxtextclass.C (operator): assert if n is empty
12567 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12568 work manually instead.
12570 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12572 * BufferView_pimpl.C: protect selectionLost against text == 0
12574 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * text.C (breakParagraph): fix a setting layout to '0' problem.
12578 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12580 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12581 final location of file, for the included files, and graphics.
12583 2002-03-05 Juergen Vigna <jug@sad.it>
12585 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12587 2002-03-04 Juergen Vigna <jug@sad.it>
12589 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12591 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12592 last column of multicolumn cells.
12593 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12595 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12597 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12598 file if it doesn't go to a temporary file.
12600 * buffer.C (sgmlOpenTag):
12601 (sgmlCloseTag): remove extra newline insertion.
12603 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * text.C (getRowNearY): comment out debug msg
12607 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12609 * text2.C: first -> first_y
12611 * text.C (getRowNearY): add some attemts at a possible
12612 optimization, not working.
12614 * tabular.[Ch]: add BufferParams to several function so that newly
12615 created paragraph can be initialized to he default layotu for the
12618 * tabular-old.C (ReadOld): add buf->params to call of Init
12620 * screen.C: rename text->first to text->first_y
12622 * paragraph.C (breakParagraph): always set layout in the broken
12625 * lyxtextclass.C (Read): remove lowercase
12628 (delete_layout): ditto
12630 * lyxtext.h: rename first -> first_y
12632 * lyxlayout.C (Read): remove lowercase
12635 (obsoleted_by): ditto
12637 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12639 * buffer.C (insertErtContents): add params are to InsetERT
12640 (parseSingleLyXformat2Token): add code to check if a paragraphs
12641 layout really exist.
12642 (parseSingleLyXformat2Token): add params to several inset
12644 (asciiParagraph): remove lowercase, do the layout comparisons with
12647 * BufferView_pimpl.C (cursorNext): first -> first_y
12648 (resizeCurrentBuffer): first -> first_y
12649 (updateScrollbar): first -> first_y
12650 (scrollCB): first -> first_y
12651 (workAreaMotionNotify): first -> first_y
12652 (workAreaButtonPress): first -> first_y
12653 (checkInsetHit): first -> first_y
12654 (cursorPrevious): first -> first_y
12655 (cursorNext): first -> first_y
12656 (Dispatch): add buffer_->params to severl inset contructors
12658 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12660 * lyxlayout.C (Read): remove some debug info that I forgot.
12662 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12663 clean up the code slightly.
12664 (makeLinuxDocFile): ditto
12665 (makeDocBookFile): ditto
12667 * text2.C: layout as string
12669 * text.C: layout as string
12671 * paragraph_pimpl.C: layout as string
12673 * paragraph.[Ch]: layout as string
12675 * lyxtextclasslist.[Ch]: layout as string
12677 * lyxtextclass.[Ch]: layout as string
12679 * lyxtext.h: layout as string
12681 * lyxlayout.[Ch]: layout as string
12683 * lyx_cb.C: layout as string
12685 * bufferview_funcs.C: layout as string
12687 * bufferparams.C: layout as string
12689 * buffer.C: layout as string
12691 * LyXView.[Ch]: layout as string
12693 * LaTeXFeatures.[Ch]: layout as string
12695 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12697 * BufferView_pimpl.C: change current_layout to string, remove
12702 (workAreaButtonRelease): layout as string
12704 * BufferView2.C (unlockInset): adjust
12706 * vspace.C (asLatexCommand): use an explict temp variable.
12708 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12710 * Makefile.am: use FRONTEND_*
12712 2002-03-01 Juergen Vigna <jug@sad.it>
12714 * tabular.C (SetWidthOfMulticolCell): changed to something better
12715 I hope but still work in progress.
12716 (recalculateMulticolumnsOfColumn): renamed function from
12717 recalculateMulticolCells as it is more appropriate now.
12718 (SetWidthOfCell): calculate multicols better.
12720 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12722 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12724 * lyxfunc.C (processKeySym): print sequence also if it is
12725 `deleted' (complete)
12727 * kbsequence.C (print): print sequence even if it is deleted
12728 (complete would be a better word, actually).
12730 * lyxfunc.C (dispatch): print complete options after a prefix key
12732 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12734 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12736 * text2.C (setCharFont): eliminate setCharFont code duplication.
12738 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12740 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12741 LFUN_TABULAR_FEATURE (bug #177)
12743 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12745 * Makefile.am: remove figure.h
12747 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12749 * Bufferview_pimpl.C:
12761 * text2.C: remove #include "lyx_gui_misc.h".
12763 * LaTeX.C: added #include <cstdio>
12765 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12767 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12768 that the paragraph following this one can have.
12770 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12772 * vspace.C (asLatexCommand): fix bogus gcc warning
12774 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12776 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12778 * text2.C (setLayout): get rid of redundant code
12780 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12782 * text2.C (incDepth): make sure depth cannot be increased beyond
12785 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12787 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12788 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12790 * PainterBase.h (image):
12791 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12792 a LyXImage const *.
12794 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12798 * BufferView_pimpl.C:
12799 * BufferView_pimpl.h:
12819 * sp_spell.C: remove fig inset, and the crap house of
12820 cards that follows it
12822 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12827 * os2_errortable.h:
12828 * nt_defines.h: move .h into support/
12830 * vms_defines.h: remove
12832 * WorkArea.C: add space in debug output
12836 * buffer.C: add WITH_WARNINGS
12840 * bufferlist.C: s/retrive/retrieve/, add docs
12849 * chset.C: add docs
12851 * lyxgui.C: add ID to X error handler
12853 * lyxtestclass.c: fix typo
12855 2002-02-26 Juergen Vigna <jug@sad.it>
12857 * tabular_funcs.C (write_attribute): changed so that some default
12858 attributes are not written at all.
12859 (getTokenValue): set default values before trying to read the
12860 value so we have the return value always set as default if we don't
12861 find the token we search for.
12863 * tabular.C (Write): write bools as bools not as strings!
12865 2002-02-22 Juergen Vigna <jug@sad.it>
12867 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12868 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12870 * text.C (leftMargin): don't add an indent for paragraphs inside
12871 tabular cells (fix #208).
12873 2002-02-21 José Matos <jamatos@fep.up.pt>
12875 * tabular.C (docBook): fixed support for long tables.
12877 2002-02-20 Juergen Vigna <jug@sad.it>
12879 * text2.C (getFont): get the drawing font of the Inset if this
12880 paragraph is inside an inset (only important for InsetERT for now).
12882 * buffer.C (insertErtContents): use new lanugage params in ERT
12885 * CutAndPaste.C: commenting out seemingly uneeded code.
12887 2002-02-19 Allan Rae <rae@lyx.org>
12889 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12890 Iterators might be simple to use but they also get invalidated.
12891 (removeAutoInsets): renamed saved cursor tracking variables and added
12892 some comments to clarify what everything does.
12894 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12901 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12902 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12905 * vc-backend.h: remove #include "support/syscall.h"
12909 * converter.C: rearrange #includes in Lars' approved fashion.
12911 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12912 forward declare class Timeout in the header file.
12914 * XFormsView.C: changes due to the above.
12916 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12917 similar to LyXView.
12919 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12920 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12922 2002-02-18 José Matos <jamatos@fep.up.pt>
12924 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12927 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12929 * a lot of small ws changes
12930 * add a lot of using std::XXX
12931 * use std construcs some places where approp.
12932 * use some exisint stuff from lyxfunctional where approp.
12933 * Make file changes to use partial linking (lets test this now...)
12935 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12939 remove #include "support/syscontr.h" as it's redundant. Always has been.
12947 change Systemcalls::System to Systemcalls::Wait and
12948 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12949 No change of functionality, just reflects the stripped down Systemcalls
12952 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12954 * debug.[Ch]: add a GRAPHICS type to the enum.
12956 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12958 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12960 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12963 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12965 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12966 match the changes below.
12968 * text2.C (toggleInset): if there is not editable inset at cursor
12969 position, try to see if cursor is _inside_ a collapsable inset
12972 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12974 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12975 document menu has a nice checkbox
12977 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12979 * lyxlength.C (asLatexString): change PW to output as percent of
12982 * lengthcommon.C: change '%' to 't%'
12984 * lyxfunc.C (dispatch): a few comments from Martin
12986 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12990 * BufferView_pimpl.h:
12991 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12994 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12996 * vspace.C (inPixels): fix compiler warning
12998 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13000 * lyxfunc.C (getStatus): fix status message for disabled commands.
13002 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13004 * BufferView_pimpl.C: fix crash on close buffer
13005 during selection (#227)
13007 2002-01-27 Herbert Voss <voss@lyx.org>
13009 * buffer.C: link old Figure to new graphic inset
13011 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13013 * FontLoader.C (getFontinfo): Change the latex font names in order
13014 to match the names of type1inst.
13016 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13020 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13021 (extchanged): ditto
13023 (remove_files_with_extension): ditto
13024 (remove_file): ditto
13027 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13028 document is smaller than the work area height. Do not initialize
13029 static variables to 0.
13031 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13033 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13035 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13036 LFUN_LAYOUT_PARAGRAPHS.
13038 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13039 tabular. It is possible to provide a possible cell, which will
13040 typically be the actcell from the corresponding insettabular
13042 * lyxfunc.C (getStatus): small cleanup; disable
13043 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13046 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13048 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13050 * paragraph.C (startTeXParParams):
13051 (endTeXParParams): new methods. The LaTeX code to
13052 start/end paragraph formatting
13053 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13054 empty (fixes bug #200)
13056 * vspace.C (inPixels): adapt to the change below
13057 (inPixels): [later] more cleanups (remove unused variables)
13059 * lyxlength.C (inPixels): change to use a width and a height as
13062 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13064 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13065 Replaced with \paperwidth
13067 * DepTable.C (insert): add std:: qualifier
13069 2002-01-18 Allan Rae <rae@lyx.org>
13071 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13074 * text.C (drawInset): Turned out I didn't know enough about how
13075 rebreaking worked. This fixes most of the redraw problems. I see
13076 an occasional cursor trail when a line is broken now and the cursor
13077 placement can seem out by a few pixels also after a rebreak.
13079 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13081 * buffer.C (parseSingleLyXformat2Token): update because minipage
13082 width is now a LyXLength
13084 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13086 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13089 2002-01-17 Juergen Vigna <jug@sad.it>
13091 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13093 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13094 is set correctly and the inset is updated correctly.
13096 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13098 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13099 the beginning of the loop.
13101 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13103 * lyxrc.C: improve help for use_scalable_fonts
13105 2002-01-17 Allan Rae <rae@lyx.org>
13107 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13109 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13111 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13112 make sure to set their inset_owner to the right value (bug #171)
13114 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13117 * DepTable.C: Implement mtime checking to reduce time spent doing
13120 2002-01-16 Juergen Vigna <jug@sad.it>
13122 * tabular.C (GetAdditionalHeight): one of error fixed.
13124 * lyxrc.C (output): small fix in writing use_pspell.
13126 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13128 * sp_base.h: #include LString.h
13130 2002-01-16 Allan Rae <rae@lyx.org>
13132 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13133 Can someone check this please?
13135 * text.C (drawInset): It was possible that p.row would be removed by
13136 breakAgainOneRow upsetting a few other settings. There may be another
13137 small tweak possible by setting need_break_row = 0 when p.row has been
13138 removed but I don't know enough about the logic here.
13140 2002-01-15 Allan Rae <rae@lyx.org>
13142 * text.C (insertChar): removed conditional truism.
13144 * BufferView2.C (removeAutoInsets): More tweaks.
13145 cur_par_prev could be a stray pointer. Check for trailing empty line
13146 in case last line was cur_par and only had an error inset on it.
13148 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13150 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13153 * vc-backend.C (most methods):
13154 * exporter.C (Export):
13155 * converter.C (convert):
13157 * LyXSendto.C (SendtoApplyCB):
13158 * lyxfunc.C (dispatch):
13162 * lyx_cb.C (AutoSave):
13164 * BufferView_pimpl.C (MenuInsertLyXFile):
13165 * buffer.C (runChktex): use Buffer::filePath().
13167 * buffer.h: rename filename to filename_; rename filepath to
13168 filepath_ and make it private
13169 (filePath): new method
13171 * buffer.C (writeFile): use fileName()
13174 * lyx_main.C (init): fix starting of LyX when the binary is a
13175 link from so,ewhere else.
13177 * minibuffer.C: include <cctype> for isprint
13179 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13181 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13182 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13183 name clash with InsetCollapsable's width function.
13185 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13187 * lastfiles.C: include <iterator>
13189 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13191 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13194 * buffer.C (makeLaTeXFile): ditto.
13195 Also make loop operation more transparent.
13197 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13199 * ToolbarDefaults.C: remove trailing comma closing namespace.
13201 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13203 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13206 * trans.C (Load): comment out unused variable, allowed.
13208 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13210 * minibuffer.[Ch] (append_char): new method to recieve input from the
13211 drop-down completion browser. If a key was pressed, then recieve this
13212 char and append it to the existing string.
13213 (peek_event): modify the positioning data passed to the completion
13214 browser so that it can be placed above the minibuffer rather than below.
13215 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * LyXAction.C (init): alloe error-next for readonly documents.
13219 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13222 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13224 * bufferlist.C (readFile): create the buffer _after_ checking that
13227 * lyxfunc.C (verboseDispatch): fix handling of arguments
13229 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13231 * lyxrc.C: use string::erase() instead of initializing to "".
13234 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13236 * BufferView_pimpl.h:
13237 * BufferView_pimpl.C:
13240 * text2.C: tell X when we have made a selection for copying
13242 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13244 * BufferView_pimpl.C (MenuInsertLyXFile):
13245 * lyxfunc.C (menuNew):
13247 (doImport): add shortcuts to directory buttons
13249 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13252 * lyxfunc.C (setStatusMessage):
13253 (getStatusMessage): new methods
13254 (getStatus):use setStatusMessage instead of setErrorMessage
13255 (dispatch): when function is disabled, set error message here
13256 [instead of in getStatus previously]
13258 * BufferView_pimpl.C (workAreaButtonRelease): update
13259 toolbar/menubar here too.
13261 2002-01-13 Allan Rae <rae@lyx.org>
13263 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13264 Now seems indestructible. Remaining task is to audit all other
13265 code affected by deleteEmptyParagraphMechanism. One small quirk
13266 left is that an empty document with an error in the preamble can
13267 be made to report an error but no error box appears. I don't know
13269 (removeAutoInsets): Improved comments.
13271 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13274 * Thesaurus.C: update for Aiksaurus 0.14
13276 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13278 * text2.C (firstParagraph): removed member function, all uses
13279 replaces with ownerParagraph
13280 (redoParagraphs): here
13281 (updateInset): here
13282 (toggleAppendix): here
13283 * BufferView2.C (insertErrors): here
13284 (setCursorFromRow): here
13286 2002-01-13 Allan Rae <rae@lyx.org>
13288 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13289 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13290 There is still a way to segfault this although you may have to do this
13291 multiple times: Have an InsetERT with an unknown command in it.
13292 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13293 <down-arrow>, <Enter> again, View->DVI, BANG!
13295 * text2.C (setCursor):
13296 (deleteEmptyParagraphMechanism):
13297 * lyxtext.h (setCursor):
13298 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13299 Making use of the return value may help fix other bugs.
13301 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13305 * LyXView.C (updateMenubar): call MenuBar::update here
13306 (updateToolbar): but not here
13307 (showState): do not update toolbar/menubar
13309 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13310 should need to care about that.
13312 * lyxfunc.C (verboseDispatch): simplify a bit
13313 (getStatus): have a version which takes a pseudoaction, and
13314 another which requires a (kb_action,string).
13316 * LyXAction.C (retrieveActionArg): make it work also when action
13317 is not a pseudo-action.
13318 (getActionName): simplify a bit
13321 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13323 * lyxfunc.C (verboseDispatch): new families of methods with
13324 several ways to specify a command and a bool to indicate whether
13325 the command name and shortcut should be displayed in minibuffer
13326 (eventually, we could extend that to a finer bitmask like
13327 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13328 (dispatch): the pristine dispatch command which just, well,
13329 dispatchs! Note it still sets its result to minibuffer; I'm not
13332 * lyxfunc.h: remove setHintMessage
13334 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13336 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13338 * BufferView_pimpl.C (specialChar): delete new inset if we have
13339 not been able to insert it.
13341 * kbmap.C: revert to using int instead of kb_action, since all we
13342 are dealing with is pseudo-actions.
13344 * LyXAction.C (searchActionArg): change to return int instead of
13345 kb_action, since the result is a pseudoaction.
13347 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13349 * buffer.C (insertErtContents): Fix (partially) the font bug.
13351 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13353 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13354 as the other one is broken on my machine!
13356 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13359 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13361 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13363 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13364 reflect their actual use. Provide compatibility code for older lyxrc
13367 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13369 change names of popup font variables in line with the changes to lyxrc.C
13371 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13373 * buffer.C (asciiParagraph): avoid outputing a word twice after
13376 * lyxrc.C (getDescription): document that document_path and
13377 template_path can be empty.
13379 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13381 * LaTeXFeatures.C (getMacros):
13382 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13384 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13386 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13388 (getPackages): rename feature "floats" to "float". Use an array to
13389 iterate over 'simple' features (i.e. just a \usepackage). Add
13390 handling of "amsmath" (renamed from "amsstyle").
13392 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13394 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13397 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13399 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13400 FuncStaus::FuncStatus & FuncStaus::some_method().
13402 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13404 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13405 of the func_satus stuff. Edited and massaged in various ways by
13408 * lyxfunc.C (getStatus): use FuncStatus
13410 2002-01-08 Juergen Vigna <jug@sad.it>
13412 * text.C (nextBreakPoint): use function Inset::isChar().
13414 * paragraph.C (TeXOnePar): use function
13415 Inset::forceDefaultParagraphs.
13417 * buffer.C (latexParagraphs): use function
13418 Inset::forceDefaultParagraphs.
13420 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13422 * lyx_gui.C (init): set the style of the menu popups to
13423 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13425 2002-01-07 Juergen Vigna <jug@sad.it>
13427 * text.C (setHeightOfRow): small fix
13428 (prepareToPrint): don't look at alignment if we don't have the place
13431 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13433 * box.C: New file. Move the Box methods and functions out of box.h,
13434 following Lars' suggestion.
13436 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13438 * box.h: #include "support/LOstream.h", needed for inlined function.
13441 * lyxtextclasslist.C: added some using std declarations.
13443 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13445 * box.h: make signed dimensions to allow insets wider than
13446 the screen (bug #162)
13448 * BufferView_pimpl.C: add some insetHit debug
13450 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13452 * vc-backend.C: add FIXME
13454 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13456 * lyxfunc.C (getStatus): enable code for showing math font status
13459 2002-01-07 Juergen Vigna <jug@sad.it>
13461 * text.C (nextBreakPoint): removed debug output not needed anymore.
13463 2002-01-06 Juergen Vigna <jug@sad.it>
13465 * text.C (nextBreakPoint): fixed up this function we had this bug
13466 since ever but now hopefully we break row better.
13467 (insertChar): we have to check if an inset is the next char as it
13468 could now happen that a large inset is causing a break.
13470 2002-01-05 Juergen Vigna <jug@sad.it>
13472 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13473 if it doesn't like to be drawed.
13475 2002-01-04 Juergen Vigna <jug@sad.it>
13477 * BufferView2.C (lockInset): forgot to set a cursor.
13479 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13481 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13483 * FormMathsPanel.C:
13486 * form_maths_panel.C:
13487 * form_maths_panel.h:
13488 * form_maths_panel.fd: implemented sub- and super- buttons in math
13491 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13492 (or ^ space) to be used as in TeX (req'd by André).
13494 * lyxfunc.C: Allow ^ and _ again to be used both as
13495 super/subscript (mathed) and as themselves (in text).
13497 2002-01-03 Allan Rae <rae@lyx.org>
13499 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13500 "LyX" or the filename of the current buffer if it has one. This is a
13501 modified form of John Levon's patch.
13503 * XFormsView.C (setWindowTitle): also set icon title.
13505 * LyXView.h (setWindowTitle): signature changed.
13506 * XFormsView.h (setWindowTitle): ditto.
13508 2002-01-02 Juergen Vigna <jug@sad.it>
13510 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13512 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * screen.C (topCursorVisible): introduce a temp var for
13515 text->cursor.row(), handle the case where this row is null. (kindo
13518 * text2.C (setCursor): add a couple of asserts.
13520 * paragraph.h (inset_iterator): add -> operator
13522 * paragraph.[Ch] (autoDeleteInsets): remove member function
13524 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13525 cursor pos correctly and handle inset deletion by itself.
13526 (insertErrors): move iterator declaration out of for expression
13528 * lyxtextclass.C: add <algorithm>
13530 * Makefile.am: added the new files to sources, removed layout.C
13532 * layout.C: removed file
13534 * layout.h: remove LYX_DUMMY_LAYOUT
13536 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13540 * lyxtextclass.[Ch]:
13541 * lyxtextclasslist.[Ch]: new files
13543 * include order changes to a lot of files, also changes because of
13546 2001-12-27 Juergen Vigna <jug@sad.it>
13548 * buffer.C (asciiParagraph): more fixes.
13550 * tabular.C (ascii): make ascii export support export of only the
13551 data separated by a column-delimiter.
13552 (ascii): better support for ascii export.
13554 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13556 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13558 * tabular_funcs.C: use a "using std::getline" instead of the
13559 previous fix from Angus (necessary for cxx + lyxstring)
13561 2001-12-24 Juergen Vigna <jug@sad.it>
13563 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13565 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13566 problems. First check a minipage also if we have some ert-contents
13567 (not only on par->size(), second set the right depth of the paragraph
13568 on the relink to the root-paragraph-list!
13570 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13571 which then did not anymore update the main paragraphs on undo/redo!
13573 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13575 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13576 code. Support all font-changing funcs (even those which are not in
13577 menu currently). Support for reporting font settings in
13578 mathed (disabled until Andre provides a function on mathed's side).
13580 * func_status.h (toggle): small helper function to set toggle
13583 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13585 * tabular_funcs.C: getline -> std::getline
13587 2001-12-21 Juergen Vigna <jug@sad.it>
13589 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13590 accessed and could be 0 (I couldn't generate this but it seems
13593 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13595 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13596 * tabular_funcs.h: here and include iosfwd
13598 2001-12-20 Juergen Vigna <jug@sad.it>
13600 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13601 inside inset but undo_par was.
13603 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13605 * Thesaurus.C: always include <config.h> in sources.
13609 * box.h: do not include <config.h> in header files
13611 * text.C (paintLastRow): remove unused variable
13613 * text.C (transformChar):
13615 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13617 * Painter.C (text):
13618 * font.C (width): rewrite to use uppercase() instead of
13621 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13623 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13625 * lyxfind.C: clean up of find failure position change
13627 2001-12-20 Juergen Vigna <jug@sad.it>
13629 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13631 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13632 (TeXRow): added to LaTeX a single tabular row.
13633 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13634 (Latex): simplified and finally good LT-h/f support.
13635 (various_functions): just small adaptions for LT-h/f support.
13637 * tabular_funcs.[hC]: added and moved here all not classfunctions
13640 2001-12-19 Juergen Vigna <jug@sad.it>
13642 * tabular.[Ch]: better support for longtabular options (not finished
13645 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13647 * text.C (paintLastRow): use the label font instead of the font of
13648 the last character to compute the size of *_BOX. This makes more
13649 sense and avoids a crash with empty paragraphs.
13650 Use Painter::rectangle to draw EMPTY_BOX.
13652 2001-12-19 Juergen Vigna <jug@sad.it>
13654 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13655 the paragraphs if the replaced paragraph is not the first one!
13656 Tried to delete not used paragraphs but does not work yet so for
13657 now it's inside #ifdef's and by default off!
13659 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13661 * MenuBackend.C: include "lyx_main.h" instead of declaring
13662 lastfiles (actually was declared as LastFiles* instead of a
13665 2001-12-17 Juergen Vigna <jug@sad.it>
13667 * tabular.C (AppendColumn): applied John's fix
13669 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13673 * BufferView_pimpl.h:
13674 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13677 * box.h: new start of class for above
13679 * lyxfunc.C: ignore space-only minibuffer dispatches.
13680 Show the command name when it doesn't exist
13682 * minibuffer.C: don't add empty lines to the history
13684 * minibuffer.C: add a space on dropdown completion
13686 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13688 * text.C: fix line above/below drawing in insets
13690 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13692 * lyxlength.C (LyXLength): Initialize private variables.
13694 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13696 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13697 when inserting error insets.
13699 2001-12-13 Juergen Vigna <jug@sad.it>
13701 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13702 actually sometimes the before-paragraph.
13703 (setUndo): don't clear the redostack if we're not actually undoing!
13705 2001-12-06 Juergen Vigna <jug@sad.it>
13707 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13708 and fixed redoing of main paragraph, so we can use it now ;)
13710 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13712 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13714 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13717 2001-12-13 André Pönitz <poenitz@gmx.net>
13720 * undo_func.C: minor cleanup
13722 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13724 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13725 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13726 font in urw-fonts package which is marked as -urw-fontspecific and
13727 does not work (incidentally, changing the encoding in the
13728 fonts.dir of this package to -adobe-fontspecific fixes the
13731 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13732 is a crash when undoing first paragraph (Juergen, please take a
13733 look). THis does not mean the undo fix is wrong, just that it
13736 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13737 the (Paragraph*) version when needed instead of duplicating the
13740 * text.C (workWidth): use Inset::parOwner to find out where the
13741 inset has been inserted. This is a huge performance gain for large
13742 documents with lots of insets. If Inset::parOwner is not set, fall
13743 back on the brute force method
13745 * paragraph_pimpl.C (insertInset):
13746 * paragraph.C (Paragraph):
13747 (cutIntoMinibuffer): set parOwner of insets when
13748 inserting/removing them
13750 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13752 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13758 * mathed/formulabase.C:
13759 * mathed/math_cursor.[Ch]:
13760 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13763 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13765 * lyxlength.[Ch] (operator!=): new function
13767 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13769 * text.C (workWidth): use Inset::parOwner to find out where the
13770 inset has been inserted. This is a huge performance gain for large
13771 documents with lots of insets. If Inset::parOwner is not set, fall
13772 back on the brute force method
13774 * paragraph_pimpl.C (insertInset):
13775 * paragraph.C (Paragraph):
13776 (cutIntoMinibuffer): set parOwner of insets when
13777 inserting/removing them
13779 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13781 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13783 * tabular-old.C (getTokenValue):
13784 * tabular.C (getTokenValue):
13785 (write_attribute): new versions for LyXLength
13786 (everywhere): adjust the use of widths
13788 * tabular.h: change the type of widths from string to LyXLength
13790 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13792 * paragraph.C: fixed missing line number count when exporting
13793 Environments to LaTeX file
13795 * buffer.C: added informational message for checking line numbers.
13797 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13799 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13800 paragraph, do the 'double space' part, but not the 'empty
13803 * text.C (workWidth): small optimization
13804 (getLengthMarkerHeight): use minimal size for negative lengths.
13806 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13808 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13810 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13812 2001-12-11 André Pönitz <poenitz@gmx.net>
13815 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13817 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13819 * text2.C: keep selection on a setFont()
13821 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13823 * lyx_cb.C: another bv->text misuse, from insert label
13825 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13828 * kbsequence.C: re-instate nmodifier mask
13830 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13832 * lyx_main.h: make lyxGUI private.
13834 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13836 * lyxfind.C: place the cursor correctly on failed search
13838 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13840 * text.C (getLengthMarkerHeight): for small heights, the arrows
13841 are not always on top/bottom of the text
13842 (drawLengthMarker): smaller arrows; take the left margin in
13843 account; draw also vfills.
13845 (paintLastRow): remove special code for vfill and standard spaces,
13846 since everything is handled in drawLengthMarker now.
13848 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13850 * buffer.C (insertErtContents): try to handle font and language
13851 interaction a bit better.g
13853 * ColorHandler.C (updateColor): change the hash to cover the whole
13854 LColor enum, ws cleanup
13855 (getGCLinepars): ditto
13856 (getGCLinepars): only lookup in the linecache once.
13858 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13860 * iterators.C (operator++): Make the iterator more robust
13862 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13864 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13866 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13869 * text.C: better added space drawing
13871 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13874 * BufferView2.C: fix layout combo update on inset unlock
13876 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13878 * Makefile.am: don't compile unused files
13880 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13884 * LyXAction.C: remove old LFUN_LAYOUTNO
13886 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13888 * paragraph_pimpl.h:
13889 * paragraph_pimpl.C: isTextAt() doesn't need font param
13891 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13894 * lyxlex.C: little cleanup
13896 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13898 * BufferView_pimpl.C: fix insertAscii for insets
13900 2001-12-05 Juergen Vigna <jug@sad.it>
13902 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13903 set the right font on the "multi" paragraph paste!
13905 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13911 * lyxlength.C: remove out-commented code.
13913 * BufferView_pimpl:
13927 * vc-backend.C: change "while(" to "while ("
13929 * lyxlength.[Ch]: add zero function to check if length is zero or
13931 * lyxgluelength.C: use it
13933 2001-12-05 Allan Rae <rae@lyx.org>
13935 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13936 Works for 2.95.3, from what I understand of Garst's reports this should
13937 work for other g++ versions. We're screwed if the abs(int) definition
13938 changed between bugfix releases of gcc.
13940 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13942 * text.C: fix chapter label offset !
13944 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13947 * text.C: fix hfill at end of line, clean up
13949 2001-12-04 Juergen Vigna <jug@sad.it>
13951 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13952 that we force an update of the inset and it's owners if neccessary.
13954 2001-12-03 Juergen Vigna <jug@sad.it>
13956 * text.C (rowLast): simplified code
13958 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13960 * lyxfunc.C: fix show options on timeout
13962 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * screen.C (topCursorVisible): scroll half a page when the cursor
13965 reached top of bottom of screen
13967 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13969 * minibuffer.C: deactivate on loss of focus
13971 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13973 * vspace.[Ch] (operator!=): add operator.
13975 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13977 * BufferView_pimpl.C: refuse to open an inset when
13978 there's a selection.
13980 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13982 * BufferView_pimpl.C: allow to click on RHS of full row insets
13984 2001-11-30 Juergen Vigna <jug@sad.it>
13986 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13987 insets for undo reasons.
13989 2001-11-28 André Pönitz <poenitz@gmx.net>
13991 * vspace.[Ch]: cosmetical changes
13993 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14003 * kbsequence.C: part re-write of old kb code
14006 * WorkArea.C: remove Lgb_bug_find_hack
14008 2001-11-30 José Matos <jamatos@fep.up.pt>
14010 * buffer.C (makeDocBookFile): add a comment to point a hack.
14011 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14012 Fixed a double write of labels.
14014 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14017 * LaTeX.h Fixed bug in LaTeX class where it would not
14018 re-run latex if no depfiles were changed, but the .dvi was removed.
14020 2001-11-28 André Pönitz <poenitz@gmx.net>
14022 * all the files from the change on 2001/11/26:
14023 use lyx::layout_type instead of LyXTextClass::size_type
14024 use lyx::textclass_type instead of LyXTextClassList::size_type
14026 2001-11-29 Juergen Vigna <jug@sad.it>
14028 * text.C: added support for paragraph::isFreeSpacing()
14030 * buffer.C: same as above
14032 * paragraph.h: inserted isFreeSpacing() function to enable
14033 FreeSpacing inside InsetERT.
14035 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14036 of the paragraph's in the cut/copy buffer to 0!
14038 * text2.C (removeRow): remove the assert as it can!
14040 * lyxtext.h: added helper function firstRow returning firstrow and
14041 made firstrow private again.
14043 * BufferView2.C (lockInset): don't relock if we're already locked!
14045 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14046 the only paragraph.
14047 (removeRow): added Assert::(firstrow)
14049 * debug.C: forgot to add INSETTEXT here.
14051 2001-11-28 Juergen Vigna <jug@sad.it>
14053 * sp_spell.C (initialize): changed error text to more general
14054 spellchecker command use (not only ispell!)
14056 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14058 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14060 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14062 * vspace.C: initialise lyxgluelength on failure
14064 2001-11-28 Allan Rae <rae@lyx.org>
14066 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14067 declaration & definition that looks like a function declaration.
14069 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14071 * BufferView2.C (copy):
14072 (copyEnvironment): do not clear the selection when doing a copy.
14074 * text.C (paintFirstRow): compilation fix
14076 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14078 * tabular.C (Latex): correct line count when writing latex.
14080 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14082 * paragraph_pimpl.h:
14083 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14086 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14090 * LColor.C: change vfillline->added_space
14092 * text.C: add markers and text for added space
14094 * vspace.C: fix comment
14096 2001-11-28 André Pönitz <poenitz@gmx.net>
14098 * paragraph.C: whitespace changes
14099 * all the other files from the change on 2001/11/26:
14100 change *::pos_type into lyx::pos_type
14102 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14104 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14105 language of the document when inserting error insets.
14107 2001-11-26 André Pönitz <poenitz@gmx.net>
14109 * BufferView_pimpl.[Ch]:
14117 * paragraph_pimpl.[Ch]:
14120 * text2.C: reduce header dependencies, introduce type for positions
14122 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14124 * <various>: change to use Alert.h
14126 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14128 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14129 when encountering an unknown token.
14130 (readLyXformat2): Show an error message if there were unknown tokens.
14132 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14135 * BufferView_pimpl.C:
14139 * text2.C: use par->isInset()
14141 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14143 * paragraph_pimpl.h:
14144 * paragraph_pimpl.C: cleanup
14146 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * text2.C (removeRow):
14149 * text.C (setHeightOfRow): remove useless (and costly) call to
14152 2001-11-20 Allan Rae <rae@lyx.org>
14154 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14155 Now need Inset*::checkInsertChar() to return true for appropriate
14156 cases so that the characters in the minibuffer will actually be
14159 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14161 * text.C: change the order of the includes.
14162 (workWidth): initialize it at once.
14163 (workWidth): make maxw unsigned
14164 (setHeightOfRow): remove unused variable (inset)
14165 (selectSelectedWord): remove unused variable (inset)
14166 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14168 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14171 server is not running.
14173 (closeConnection): add debug info when server is disabled.
14175 * ColorHandler.C (getGCForeground): send debug message to GUI
14178 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14180 * kbmap.C (bind): modify because return conventions of
14181 kb_sequence::parse have changed.
14183 * kbsequence.C (parse): only ignore spaces and not any stupid
14184 control character. This avoids tests like s[i] <= ' ', which are
14185 guaranteed to fail with 8bit characters and signed chars.
14186 Change return code to string::npos when there have been no error
14187 (0 was a bad idea when error is at first character)
14189 2001-11-14 José Matos <jamatos@fep.up.pt>
14192 * buffer.C (simpleDocBookOnePar): removed unused argument.
14194 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14196 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14197 insets which are part of a word. Paragraph::isLetter takes care of
14198 that now. Use Paragraph::isInset to identify insets.
14199 (selectSelectedWord): do not test for hyphenation break.
14201 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14202 that protected spaces are considered as spaces.
14204 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14207 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14210 * lyxserver.C: fix it. and small cleanup.
14212 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14214 * BufferView_pimpl.C: use inline helpers
14217 * LaTeXFeatures.C: fix typos
14220 * Spacing.C: move spacing_string into class
14222 * ToolbarDefaults.C: move stuff into namespace anon
14224 * layout.h: update enum
14226 * lyxfunc.C: use better debug
14228 * minibuffer.h: fix typo
14232 * WorkArea.C: add and use Debug::WORKAREA
14236 * text2.C: code re-organisation, inline helpers
14238 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14240 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14241 std::vector.empty().
14243 2001-11-09 Allan Rae <rae@lyx.org>
14245 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14246 '\n's after tables. Tabular and ERT inset work now makes this no
14249 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14252 * minibuffer.C: fix crash, improve drop-down completion
14254 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14257 * lyxserver.C: invalidate fd's when doing endPipe()
14259 2001-11-08 José Matos <jamatos@fep.up.pt>
14261 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14262 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14265 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14267 2001-11-07 José Matos <jamatos@fep.up.pt>
14270 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14273 * buffer.C (sgmlOpenTag):
14274 * buffer.C (sgmlCloseTag): removed debug info.
14276 * buffer.h (sgmlOpenTag):
14277 * buffer.h (sgmlCloseTag): made public.
14279 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14281 * buffer.C (saveParamsAsDefaults):
14282 * lyx_cb.C (MenuLayoutSave): remove
14284 * LyXAction.C (init):
14286 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14288 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14290 * buffer.C (setPaperStuff): removed from here...
14292 * bufferparams.C (setPaperStuff): ... and moved there.
14294 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14298 * XFormsView.C: add support for drop-down completion
14300 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14302 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14305 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14307 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14310 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14312 * lyx_main.C: change ref to known bugs
14314 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14316 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14317 to work around older babel problems.
14319 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14321 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14323 2001-10-24 Juergen Vigna <jug@sad.it>
14325 * tabular-old.C (ReadOld): below variable changes reflected.
14327 * tabular.[Ch]: added ltType struct for longtable header/footer
14328 defines and changed all instances where they are used. Added
14329 future support for double top/bottom rows.
14331 2001-10-24 José Matos <jamatos@fep.up.pt>
14333 * buffer.h (docbookHandleCaption):
14334 * buffer.C (docbookHandleCaption): removed unused function.
14335 (makeDocBookFile): moved docbook supported version to v4.1.
14337 2001-10-24 José Matos <jamatos@fep.up.pt>
14340 * tabular.C (docbookRow): new function to export docbook code of a row.
14341 (DocBook): now honors the longtable flags.
14343 2001-10-23 José Matos <jamatos@fep.up.pt>
14346 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14347 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14349 * buffer.C (makeLinuxDocFile):
14350 (makeDocBookFile): reworked the preamble, more clean, and with
14351 support for lyx defined entities. Changed the document declaration
14352 to be more XML friendly.
14354 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14355 if we need to output XML that should be done with a filter.
14357 2001-10-22 Juergen Vigna <jug@sad.it>
14359 * sp_pspell.h (class PSpell): add alive function needed in the
14360 controller to see if the spellchecker could be started.
14362 2001-10-22 Juergen Vigna <jug@sad.it>
14364 * buffer.C (insertStringAsLines): modify the font for inserting
14365 chars in certain conditions by calling checkInsertChar(font).
14367 2001-10-19 Juergen Vigna <jug@sad.it>
14369 * text.C (workWidth): use getRow instead of wrong algorithm.
14370 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14372 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14377 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14379 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14381 * text.C (workWidth): do not search for the exact row when
14382 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14383 optimization for big documents.
14385 2001-10-18 Juergen Vigna <jug@sad.it>
14387 * text.C (workWidth): new function with added Inset * parameter.
14389 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14391 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14393 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14394 change return type of getColumnNearX.
14397 * text.C (changeRegionCase): use uppercase/lowercase instead of
14400 (rightMargin): simplify code by factoring out the uses of
14405 (appendParagraph): use Paragraph::size_type
14407 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14409 * vspace.C (asLatexString): add a missing break
14411 2001-10-15 Herbert Voss <voss@perce.de>
14413 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14415 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14417 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14420 2001-10-10 André Pönitz <poenitz@gmx.net>
14422 * lyxfunc.C: removed greek_kb_flag.
14424 2001-10-10 Herbert Voss <voss@perce.de>
14426 * lyx_main.C: delete global string help_lyxdir.
14428 2001-10-09 Herbert Voss <voss@perce.de>
14430 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14432 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14434 * lyx_main.C: added global string help_lyxdir.
14436 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14438 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14440 * lyxrc.C (set_font_norm_type): support iso8859-4
14442 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14444 * LaTeX.C (deplog): add another regex for MikTeX
14446 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14448 * lyxrc.C (set_font_norm_type): support iso8859-3
14450 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14454 * LaTeXFeatures.C: remove special case of french and index
14456 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14457 before \begin{document}). This solves several incompatibilities.
14459 2001-10-03 Garst Reese <reese@isn.net>
14461 * lyx_cb.C: change CheckTex error msg.
14463 2001-10-03 José Matos <jamatos@fep.up.pt>
14465 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14467 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14469 * .cvsignore: update
14471 * lyx_main.C (commandLineVersionInfo): use new style version info.
14473 * buffer.C (writeFile):
14475 (makeLinuxDocFile):
14476 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14478 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14480 * version.h: update to use stuff in version.C
14482 * version.C.in: new file. Contains version information determined
14483 at compile time. This is a merging of version.h and
14486 2001-10-03 Juergen Vigna <jug@sad.it>
14488 * BufferView_pimpl.C (update): don't change "dirty" status in
14491 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14493 * WorkArea.C (c-tor): re-position version string slightly.
14495 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14497 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14498 revert to previous code.
14500 WorkArea.[Ch]: (show, destroySplash): methods removed.
14502 WorkArea.C: rework code so that it's an amalgam of the codes before and
14503 after the splash screen was moved to WorkArea.
14505 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14508 * vspace.C (inPixels):
14511 * buffer.C (insertStringAsLines):
14512 (asciiParagraph): fix types to be large enough
14514 * lyxlex_pimpl.h: change member status from short to int
14516 * layout.h: fix type of endlabeltype
14519 * kbsequence.C (parse): change return type to string::size_type
14521 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14524 * Bullet.C (bulletSize):
14525 (bulletEntry): do not use short ints as parameters
14527 * BufferView2.C (insertLyXFile): change a char to an int.
14529 * WorkArea.C (WorkArea): remove unneeded floats in computation
14531 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14533 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14535 * paragraph.C (asString): Do not ignore newline/hfill chars when
14536 copying to the clipboard.
14538 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14540 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14541 after a multi-line inset.
14543 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14545 * paragraph.C (validate): Set NeedLyXFootnoteCode
14547 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14549 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14550 and decrease-error to decrease.
14552 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14554 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14555 it more readable (should be equivalent)
14557 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14559 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14561 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14564 of a cursor (row, etc.) after a character has been deleted
14565 (deleteEmptyParagraphMechanism): call the method above on _all_
14566 cursors held by the LyXText when a double space has been
14569 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14571 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14573 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14575 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14576 background. Use greyOut() and the new show() methods to toggle between
14577 the foreground and background. Add code to remove the splash after
14578 its initial showing.
14580 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14581 (create_forms): no longer call Dialogs::showSplash.
14583 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14585 * .cvsignore: add version_info.h
14587 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14589 * version_info.h.in: new file
14591 * Makefile.am: add version_info.h.in
14593 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14594 version_info.h instead of VERSION_INFO
14596 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14598 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14599 The ERT inset now returns string().
14601 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14603 * lyxtext.h, text.C (selectNextWord): renamed as
14604 selectNextWordToSpellcheck.
14606 * text.C (selectNextWordToSpellcheck): Modified to not select
14607 words inside an ERT inset.
14609 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14611 * lyx_cb.C (MenuLayoutSave): change a bit the question
14613 * sp_base.h: include <sys/types.h>
14615 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14617 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14619 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14621 * several files: fix typos in user-visible strings
14623 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14625 * text2.C (pasteSelection): do not set the selection, since it
14626 will be cleared later. Actually, the intent was to fix the way the
14627 selection was set, but I figured rmoving the code was just as good.
14629 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14631 * FontLoader.C (available): Check if font is available without
14634 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14636 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14638 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14640 * lyxrc.[Ch]: added display_graphics variable and associated code.
14642 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14644 * bufferparams.C (hasClassDefaults): new method. Returns true if
14645 the buffer parameters correspond to known class defaults
14647 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14649 * XFormsView.C (show): set minimum size to the main window.
14651 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14653 * text2.C (copySelection):
14655 * lyxfind.C (LyXReplace):
14656 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14657 LyXText::selectionAsString.
14659 * paragraph.C (asString): add "label" argument to the second form
14661 * text2.C (selectionAsString): add "label" argument and pass it to
14662 Paragraph::asString.
14664 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14666 * lyx_main.C (commandLineHelp): remove version information
14668 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14670 * lyx_main.C: add -version commandline option
14672 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14674 * paragraph.h: make the optional constructor arg required instead.
14675 some modifications to other files because of this.
14677 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14679 * lyxserver.C (C_LyXComm_callback): make it static
14681 * lyx_main.C (error_handler): make it static
14683 * lyx_gui.C (LyX_XErrHandler): make it static
14685 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14687 * WorkArea.C: make the extern "C" methods static.
14689 * Makefile.am (lyx_LDADD): simplify
14691 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14693 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14694 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14696 * LyXAction.C (init):
14697 * lyxfunc.C (dispatch): associated code removal.
14699 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * lyxfont.h (isSymbolFont): shut off warning
14703 * text.C (setHeightOfRow):
14704 (getVisibleRow): fix crash with empty paragraphs which have a
14707 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14709 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14712 2001-09-04 José Matos <jamatos@fep.up.pt>
14715 * tabular.C (docbook): rename docBook method to docbook.
14717 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14719 * Makefile.am: add dependencies to main.o.
14721 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14723 * FontLoader.C (available): Return false if !lyxrc.use_gui
14725 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14727 * FontInfo.C (query):
14728 * converter.C (view):
14729 * importer.C (Import):
14730 * exporter.C (Export): Can not -> cannot.
14732 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14734 * BufferView_pimpl.C: allow to create index inset even if
14737 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14739 * buffer.C (getLists): replace boost::tie code with an explicit pair
14740 as boost::tie can break some compilers.
14742 * iterators.h: Added a std:: declaration to the return type of
14745 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14747 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14750 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14752 * iterators.[Ch]: New files. Provide paragraph iterators.
14754 * buffer.C (changeLanguage): Use paragraph iterators.
14755 (isMultiLingual): ditto
14757 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14759 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14761 * FontLoader.C: Support for cmr font.
14763 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14765 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14766 (available): New method.
14768 * FontInfo.C (getFontname): Use scalable fonts even when
14769 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14772 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14774 * converter.C (Formats::view): reverted! Incorrect fix.
14776 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14778 * converter.C (Formats::view): only output the -paper option
14779 if the dvi viewer is xdvi, thereby fixing bug #233429.
14781 2001-08-23 Herbert Voss <voss@perce>
14783 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14785 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14787 * Spacing.h (Spacing): Set space to Default on in the default
14790 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14792 * vc-backend.h (RCS::versionString): add RCS to version
14793 (CVS::versionString): add CVS to version
14795 * vc-backend.C (scanMaster): do not add CVS to version.
14796 (scanMaster): do not add RCS to version
14798 * lyxvc.C (versionString): new method
14800 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14802 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14804 * Spacing.C (set): initialize fval
14806 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14808 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14811 2001-08-16 Juergen Vigna <jug@sad.it>
14813 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14815 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14817 * BufferView_pimpl.C:
14820 * text2.C: setParagraph takes linespacing now
14822 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14824 * LyxAction.C: add internal LFUN_CITATION_INSERT
14826 * LyXView.C: actually apply fix
14828 * bufferlist.C: fix open non-existent file
14830 * lyxfind.C: fix indentation
14832 * lyxfunc.C: remove unneeded assert, fix typo
14834 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14836 * MenuBackend.C: use "Floatname List"
14838 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14840 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14841 when converting LaTeX layout to insetERT.
14842 Generate a non-collapsed float when reading old float
14844 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14846 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14849 2001-08-13 Juergen Vigna <jug@sad.it>
14851 * text.C (fill): return 0 instead of 20 as this seems to be the more
14854 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14856 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14859 2001-08-13 Juergen Vigna <jug@sad.it>
14861 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14863 (SearchBackward): comment out the unlocking of the inset_owner this
14864 should not be needed!
14866 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14868 * Many files: Remove inherit_language, and add latex_language
14870 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14871 collapsible insets.
14873 2001-08-10 Juergen Vigna <jug@sad.it>
14875 * text.C (prepareToPrint): fixed hfill-width in draw!
14877 * BufferView2.C (selectLastWord): save the selection cursor as this
14878 now is cleared in the function LyXText::clearSelection!
14880 2001-08-08 Juergen Vigna <jug@sad.it>
14882 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14883 BACKSPACE type functions.
14885 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14886 is only cutted from the document but not put in the cut-buffer, where
14887 still the old stuff should be.
14889 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14891 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14893 * tabular.C (SetWidthOfCell): fixed special case where the width
14895 (LeftLine): handle '|' in align_special.
14897 (LeftAlreadyDrawed): ditto
14898 (SetWidthOfCell): ditto
14900 2001-08-07 Juergen Vigna <jug@sad.it>
14902 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14904 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14907 * lyxlex.[hC]: ditto
14909 2001-08-06 Juergen Vigna <jug@sad.it>
14911 * text.C (getVisibleRow): fix up row clearing a bit.
14913 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14915 * minibuffer.C: make sure the X server sees the changes in the input.
14917 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14919 * paragraph.C (getFont): split into...
14920 (getLabelFont): this
14921 (getLayoutFont): and this
14922 * paragraph_pimpl.C (realizeFont): calling this
14924 * text2.C (getFont): split into...
14925 (getLayoutFont): this
14926 (getLabelFont): and this
14927 (realizeFont): all three calling this
14929 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14932 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14934 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14936 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14938 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14939 layouts from the Quote inset insertion.
14941 2001-08-03 Juergen Vigna <jug@sad.it>
14943 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14945 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14946 only if status not is already CHANGED_IN_DRAW (second level).
14948 * text.C (draw): don't set the need_break_row when inside an
14951 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14953 * buffer.C (parseSingleLyXformat2Token): handle more latex
14956 * bufferview_funcs.[hC]: change function names to
14957 begin with small char, adjust other files.
14959 2001-08-02 André Pönitz <poenitz@gmx.net>
14962 BufferView_pimpl.C: remove broken special code for math-greek
14964 2001-08-02 Juergen Vigna <jug@sad.it>
14966 * BufferView_pimpl.C (update): redone this function so that we
14967 update the text again if there was a CHANGE_IN_DRAW.
14969 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14970 (drawFromTo): added a new internal bool which is used by draw() and
14972 (general): some cursor drawing problems fixed.
14974 2001-08-01 Juergen Vigna <jug@sad.it>
14976 * lyxfind.C (LyXFind): fixed
14977 (SearchForward): ditto
14978 (SearchBackward): ditto
14980 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14981 spurius drawing of the cursor in the main area.
14983 * text2.C (status): small fix which could lead to a segfault!
14984 (clearSelection): remove unneeded BufferView param.
14986 2001-08-01 André Pönitz <poenitz@gmx.net>
14988 * lyxfunc.C: small change due to changed mathed interface
14990 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14992 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14994 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14996 * lyxfunc.c: fail gracefully if file doesn't exist
15001 * BufferView_pimpl.C: IsDirWriteable() proto changed
15003 * LyXView.C: fix updateWindowTitle() to store the last title
15005 2001-07-31 Juergen Vigna <jug@sad.it>
15007 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15008 the font (wrong since using of Paragraph::highestFontInRange).
15010 * paragraph.C (highestFontInRange): added a default_size parameter.
15012 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15013 (setHeightOfRow): reformat
15015 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15017 * converter.[hC] + affected files: move to (inital-char)lowercase
15020 * ParagraphParameters.C (ParagraphParameters): remove commented code
15022 * PainterBase.[Ch]: remove commented code
15024 * LaTeXFeatures.h: add "bool floats" for float.sty
15026 * LaTeXFeatures.C (LaTeXFeatures): init floats
15027 (require): handle float
15028 (getPackages): do it with floats
15030 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15032 * BufferView_pimpl.C (Dispatch): improve handling of
15033 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15035 * commandtags.h: #include lyxfont.h here temporarily to avoid
15038 * bufferlist.h: include LString.h here.
15040 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15042 * text2.C (getStringToIndex): new method.
15044 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15046 * *: Reduced header file dependencies all over.
15048 2001-07-30 Baruch Even <baruch@lyx.org>
15050 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15052 2001-07-29 Baruch Even <baruch@lyx.org>
15054 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15056 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15058 * ParameterStruct.h (endif): add a default constructor to make
15059 sure that all variables is initialized.
15061 * ParagraphParameters.C (ParagraphParameters): adjust
15063 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15066 index; also, check that there is something to index, and that it
15067 does not span over several paragraphs.
15068 (doubleClick): use WHOLE_WORD_STRICT for double click.
15070 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15072 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15075 2001-07-26 Baruch Even <baruch@lyx.org>
15077 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15078 an InsetFig figure, backwards compatible reading of old figure code.
15080 2001-07-27 Juergen Vigna <jug@sad.it>
15082 * text2.C: font.realize function adaption.
15084 * text.C (draw): add a warnings lyxerr text if needed.
15086 * layout.C: font.realize function adaption.
15088 * language.C: add inherit_language and implement it's handlings
15090 * bufferview_funcs.C (StyleReset): remove language parameter from
15091 font creation (should be language_inherit now).
15093 * bufferparams.C (writeFile): handle ignore_language.
15095 * paragraph.C (getFontSettings): the language has to be resolved
15096 otherwise we have problems in LyXFont!
15098 * lyxfont.C (lyxWriteChanges): added document_language parameter
15099 (update): removed unneeded language parameter
15101 * paragraph.C (validate): fixed wrong output of color-package when
15102 using interface colors for certain fonts in certain environments,
15103 which should not seen as that on the final output.
15105 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15107 * BufferView_pimpl.C:
15112 * LyXAction.C: add thesaurus support
15115 * lyxfind.C: add "once" parameter, for thesaurus, to not
15116 move to the next match
15118 2001-07-26 Juergen Vigna <jug@sad.it>
15120 * lyxfont.C (realize): honor ignore_language too!
15123 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15125 * text.C (draw): one place more for ignore_language to not draw
15128 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15130 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15132 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15134 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15135 the minipage conversion problem.
15137 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15139 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15142 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15144 * BufferView.h: don't forward declare WorkArea
15146 * BufferView.C: don't include WorkArea.h
15148 2001-07-25 André Pönitz <poenitz@gmx.net>
15152 * lyxfunc.C: new LFUN 'math-space'
15154 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15156 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15158 * text2.C (toggleInset): call open/close
15160 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15162 * lyxfunc.C (dispatch): add debug for the disabled case
15164 * font.C (buttonText): make similar to rectText
15166 * buffer.C (readInset): comment out parsing of insetlist and
15169 * PainterBase.C (rectText): small correction
15171 * BufferView_pimpl.C: comment out insettheorem and insetlist
15172 * LyXAction.C: ditto
15173 * commandtags.h: ditto
15175 2001-07-24 Juergen Vigna <jug@sad.it>
15177 * text.C (draw): honor the ignore_language.
15179 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15181 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15186 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15188 * lyxtext.h: remove unused (and unimplemented) methods
15190 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15192 * text.C (getVisibleRow): honor background color
15195 * Painter.h: remove default color argument for fillRectangle
15197 * text.C (backgroundColor): new method
15199 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15201 * text.C (getVisibleRow): adjust
15203 * font.[Ch] (rectText): new method, metrics
15204 (buttonText): new method, metrics
15206 * PainterBase.[hC]: make rectText and buttonText always draw and take
15209 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15211 * ToolbarDefaults.C (read):
15212 * MenuBackend.C (read): allow escaping in all strings
15214 * BufferView_pimpl.C (insertAndEditInset): new method.
15215 (Dispatch): use insertAndEditInset whenever appropriate.
15217 * BufferView_pimpl.C (insertNote): removed
15219 * BufferView_pimpl.C (smartQuote): new method, moved from
15220 BufferView; if an insetquote cannot be inserted, insert a '"'
15223 * BufferView2.C: remove insertCorrectQuote();
15225 * lyxfunc.C (getStatus): Add support for all remaingin
15226 inset-insert lfuns.
15228 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15230 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15231 command (necessary to pass " as parameter of self-insert.
15233 * text.C (selectWordWhenUnderCursor):
15234 (selectWord): add word_location parameter
15235 (selectWordWhenUnderCursor): same + remove special code for word
15237 (selectNextWord): use kind() to guess type of insetspecialchar,
15240 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15241 (insertErtContents): create ert insets as collapsed.
15242 (readInset): better compatibility code for Info inset.
15244 2001-07-20 Juergen Vigna <jug@sad.it>
15246 * lyxfunc.C (dispatch): use always LyXFind now!
15248 * text2.C (init): add a reinit flag so that the LyXText can be
15249 reinited instead of deleted and reallocated (used in InsetText).
15251 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15257 2001-07-18 Juergen Vigna <jug@sad.it>
15259 * text.C (selectNextWord): handle insets inside inset by calling
15260 always the bv->text functions so that we can go up the_locking_inset!
15262 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15263 in strange locations when inside an inset!
15265 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15266 handling to include insets.
15268 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15270 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15272 * LyXAction.C (init):
15274 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15275 LIGATURE_BREAK, since the name is so stupid.
15277 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15279 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15282 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15284 * sp_form.[Ch]: remove.
15286 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15288 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15291 * src/buffer.C (readInset): ditto.
15293 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15295 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15296 menuSeparator(), endOfSentenceDot(), ldots() and
15297 hyphenationPoint(), which are therefore removed.
15298 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15300 * LyXAction.C (init):
15301 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15303 * paragraph.C (getWord): removed.
15305 * BufferView_pimpl.C (Dispatch): use last word or selection for
15306 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15308 * lyx_main.C (queryUserLyXDir): do not ask before creating
15309 user_dir, except if it has been named explicitely.
15311 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15313 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15314 a document of zero size.
15316 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15318 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15319 approriately in the c-tor and in require().
15320 (getPackages): output the appropriate LaTeX for natbib support.
15322 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15323 variables "use_natbib" and "use_numerical_citations" when reading the
15325 (readInset): read the various natbib cite commands.
15326 (validate): white-space change.
15328 * bufferparams.[Ch]: new variables "bool use_natbib" and
15329 "bool use_numerical_citations".
15330 (writeFile): output them in the LyX file.
15332 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15334 * lyxfunc.C (getStatus): add support for all the inset insertion
15337 * text2.C (insertInset):
15338 * paragraph.C (insetAllowed):
15339 * BufferView_pimpl.C (insertInset): update to take in account the
15340 renaming of insertInsetAllowed
15342 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15344 * text2.C (getInset): new method. returns inset at cursor position.
15346 * BufferView_pimpl.C (Dispatch): changes because of this.
15348 * LyXAction.C (init): rename open-stuff to inset-toggle.
15350 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15352 * text2.C (toggleInset): renamed from openStuff; use
15355 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15357 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15359 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15361 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15363 * buffer.C (readLyXformat2): Add filename to the error dialog
15365 2001-07-18 Juergen Vigna <jug@sad.it>
15367 * tabular.C (GetCellNumber): put an assert here instead of the check!
15369 2001-07-17 Juergen Vigna <jug@sad.it>
15371 * BufferView_pimpl.C (toggleSelection): adapted too.
15373 * text.C (selectNextWord): adapted for use with insets.
15374 (selectSelectedWord): ditto
15376 2001-07-17 Juergen Vigna <jug@sad.it>
15378 * sp_spell.C (PSpell): fix initialitation order.
15380 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15382 * paragraph.C: spacing
15384 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15386 * sp_spell.C: repair language selection for pspell
15388 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15390 * lyxfunc.h: change more methods to begin with lower char.
15392 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15394 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15395 for unknown layouts.
15397 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15399 * buffer.C (readLyXformat2): Generate an error dialog if there are
15402 2001-07-16 Juergen Vigna <jug@sad.it>
15404 * sp_spell.C: always compile ISpell part.
15406 * lyxrc.C: added use_pspell entry and it's handling.
15408 2001-07-13 Juergen Vigna <jug@sad.it>
15410 * sp_spell.C: removed double includes.
15412 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15414 Consistent use of Lsstream.h:
15415 * Lsstream.h: added using std::stringstream for consistencies sake.
15417 * buffer.C: removed using std::stringstream
15419 * lyxfont.C (stateText):
15420 * paragraph.C (asString):
15421 * text.C (selectNextWord, selectSelectedWord):
15422 * text2.C (setCounter):
15423 * vspace.C (asString, asLatexString):
15424 std::ostringstream -> ostringstream.
15426 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15428 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15429 * commandtags.h: add LFUN_HELP_ABOUTLYX
15430 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15432 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15434 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15436 * lyx_gui_misc.C: remove spellchecker
15437 * lyxfunc.C: showSpellchecker
15439 * sp_ispell.h: added
15440 * sp_pspell.h: added
15441 * sp_spell.C: added
15442 * sp_form.[Ch]: removed
15443 * spellchecker.[Ch]: removed
15445 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15447 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15449 (simpleTeXSpecialChars): Simply print the input character without
15450 any special translation if pass_thru is set.
15452 * layout.h: Added bool pass_thru to layout class for being able to
15453 implement pass through of a paragraph for Literate Programming.
15455 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15456 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15457 * layout.C (Read): add "passthru" to list of layout tags and add
15458 code to set the pass_thru boolean when it is read.
15460 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15462 * trans_decl.h: remove allowed from KmodInfo
15464 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15465 remove allowed code
15468 * paragraph_pimpl.C (erase): use boost::prior
15470 * Painter.C (text): use data() instead of c_str() when length is
15472 * WorkArea.C (putClipboard): ditto
15473 * font.h (width): ditto
15475 * BufferView2.C: use it-> instead of (*it). for iterators
15477 * paragraph_pimpl.C: ditto
15478 * paragraph.C: ditto
15479 * minibuffer.C: ditto
15480 * language.C: ditto
15482 * encoding.C: ditto
15483 * counters.C: ditto
15484 * converter.C: ditto
15486 * Variables.C: ditto
15487 * TextCache.C: ditto
15488 * MenuBackend.C: ditto
15489 * LyXAction.C: ditto
15491 * FloatList.C: ditto
15492 * DepTable.C: ditto
15493 * ColorHandler.C (LyXColorHandler): ditto
15495 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15497 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15499 * text2.C (openStuff): reintroduce this method (which had been
15500 nuked in NEW_INSETS frenzy).
15502 * lyxfunc.C (Dispatch): when an action has not been handled, use
15503 its name in the error message, not its number.
15505 * paragraph.C (inInset): change method name to begin with lowercase.
15508 * text2.C: updates because of this.
15510 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15512 * ToolbarDefaults.C (add): add spaces in error message
15514 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15516 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15517 (readLyXformat2): rename return_par to first_par, use lyxlex's
15518 pushToken and remove the manual push handling.
15519 (parseSingleLyXformat2Token): add another ert comp. variable:
15520 in_tabular, rename return_par to first_par. handle newlines better
15522 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15524 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15526 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15528 * text2.C (getParFromID): removed
15530 * buffer.C (getParFromID): new method moved form lyxtext.
15531 * BufferView2.C (insertErrors): adjust
15532 (setCursorFromRow): adjust
15533 * BufferView_pimpl.C (restorePosition): adjust
15534 * lyxfunc.C (Dispatch): adjust
15535 * undo_funcs.C (textUndo): adjust
15537 (textHandleUndo): adjust
15538 (textHandleUndo): adjust
15540 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15542 * buffer.C: up' the LYX_FORMAT
15544 * lyxfont.h: turn NO_LATEX on as default
15546 * buffer.C (insertErtContents): new methods of tex style compability.
15547 (parseSingleLyXformat2Token): use it several places.
15548 * tabular.C (OldFormatRead): and here
15550 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15552 * text2.C: remove some commented code.
15555 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15556 * trans.C: changes because of the above.
15558 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15560 * text2.C (setCounter): Fix counters bug with bibliography layout.
15562 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15564 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15565 own member functions
15566 (simpleTeXSpecialChars): ditto
15568 2001-07-06 Juergen Vigna <jug@sad.it>
15570 * a lot of files: changed the access to LyXText::status and the
15571 call of undo-functions.
15573 * undo.[Ch]: added a inset_id to the undo informations.
15575 * undo_funcs.[Ch]: added and moved here all undo functions.
15577 * lyxtext.h: give the status enum a weight, made status_ a private
15578 variable and made accessor functions for it, removed the whole bunch
15579 of undo-functions as they are now in their own file, make some
15580 functions publically available. Added function ownerParagraph with
15583 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15584 made InInset() a const function, added getParFromID() function.
15586 * buffer.[Ch]: added const version for inset_iterator functions,
15587 added getInsetFromID() function.
15589 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15590 changed undo functions for new version.
15592 2001-07-05 Juergen Vigna <jug@sad.it>
15594 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15595 unknow mechanism does not call the proper constructor but only this
15596 one also if I request the other!?
15598 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15600 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15602 * text2.C (LyXText): use initialization lists.
15604 * lyxtext.h (Selection): initialize set_ and mark_
15605 (init): remove method
15607 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15609 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15611 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15613 * screen.[Ch]: change method names to begin with lowercase
15615 * BufferView_pimpl.C (updateScrollbar): simplify further and
15616 hopefully make it a bit faster.
15618 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15620 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15621 calling directly xforms functions.
15623 * Painter.C (Painter):
15624 * lyx_cb.C (MenuWrite):
15625 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15628 * lyx_gui.C: remove bogus guiruntime extern declaration.
15630 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15634 (redoDrawingOfParagraph): ditto
15635 (redoParagraphs): ditto
15636 (cutSelection): don't create a object for CutAndPaste use the
15637 static method directly
15638 (pasteSelection): ditto
15640 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15643 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15645 * modifications to some other files because of this.
15647 * Makefile.am (lyx_SOURCES): add XFormsView
15649 * XFormsView.[Ch]: new files
15651 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15652 the main window. Move the gui dependent stuff to XFormsView
15654 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15656 * tabular.C (GetCellInset): update cur_cell also in the row/col
15657 version of this function.
15659 * lyxfunc.C: no need to include figure_form.h here.
15665 * lyxvc.C: no need to include forms.h here.
15667 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15669 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15671 * lyxfunc.C (Dispatch):
15673 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15674 constructor argument.
15676 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15678 * paragraph.C (Paragraph): dont't clear, and just set layout.
15679 (makeSameLayout): use params's copy contructor.
15681 * ParagraphParameters.[Ch] (makeSame): delete method
15683 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15685 * Variables.[Ch]: fix indentation, rename set to isSet
15687 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15689 * lyxfunc.C (Dispatch): fix typo
15691 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15696 * bufferlist.C: include assert.h for emergencyWrite().
15698 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15700 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15701 give up at last (bug #425202) !
15703 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15709 * spellchecker.C: strip spellchecker options and bring up
15710 preferences tab instead
15712 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15714 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15715 the istringstream constructor
15717 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * paragraph.C (getLayout): fix return value
15721 * paragraph.h: do not declare getLayout as inline.
15723 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15725 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15727 * lyxcursor.h (operator<): new func
15728 (operator>): new func
15729 (operator>=): new func
15730 (operator<=): new func
15732 * text.C (changeCase): use selection.start and selection.end
15733 (changeRegionCase): require from to be <= to. Require par to be a
15736 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15738 2001-06-27 Juergen Vigna <jug@sad.it>
15740 * text.C (cursorLeftOneWord): changed to return the cursor and added
15741 overlay with BufferView * parameter which calls this one.
15743 (selectWord): use new getWord function.
15744 (changeCase): renamed from changeWordCase as and extended to work
15745 also on selections.
15747 * lyxtext.h: added enum word_location
15749 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15750 changeCase as this operates now also on selections.
15752 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15754 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15756 * many files: send debug output to Debug::INFO instead of
15759 * converter.C (View):
15761 (Move): send debug output to Debug::FILES instead of console.
15763 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15765 * lyxfunc.C (getStatus): use func_status
15767 * func_status.h: new header, describing the results of
15768 LyXFunc::getStatus;
15770 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15773 2001-06-25 The LyX Project <jug@sad.it>
15775 * buffer.C (sgmlOpenTag):
15777 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15779 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15781 * text2.C: remove some dead code
15783 * tabular.C (GetCellInset): store the last cell checked (gotten)
15785 * tabular.h: add the helper for the speedup
15787 * lyxtext.h: remove some dead code
15789 2001-06-26 The LyX Project <Asger>
15791 * paragraph.C: Change export to LaTeX of alignment to
15792 \begin{center} and family for better roundtrip work with reLyX.
15794 * Tune the math drawing a bit.
15796 2001-06-25 The LyX Project <Asger>
15798 * LColor.C (LColor): New color for math background. New color
15801 2001-06-25 The LyX Project <jug@sad.it>
15803 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15805 * lyxfunc.C (Open):
15806 * bufferlist.C (newFile): do not restrict to files ending with
15809 * BufferView_pimpl.C (MenuInsertLyXFile):
15811 2001-06-24 The LyX Project <jug@sad.it>
15813 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15816 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15818 * lyxtext.h: rename most methods to begin with a small char.
15819 Lots of changes because of this.
15821 * paragraph.C (Paragraph): do not call fitToSize
15822 (erase): call Pimpl::erase
15823 (insertChar): call Pimpl::insertChar
15824 (insertInset): call Pipl::insertInset
15825 (breakParagraph): do not call fitToSize
15826 (breakParagraphConservative): do not call fitToSize
15827 (fitToSize): remove method
15829 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15831 2001-06-24 The LyX Project <Asger>
15833 * Fix Qt compilation^2
15835 2001-06-24 The LyX Project <jug@sad.it>
15837 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15838 depthHook(getDepth()-1).
15841 * ParagraphParameters.h:
15842 * ParameterStruct.h: change type of depth to unsigned int ==
15843 depth_type. Many adaptations to other files before of that.
15845 2001-06-24 The LyX Project <Asger>
15847 * Fix Qt compilation.
15849 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * paragraph.h: renamed several methods to begin with small letter.
15852 several changes to many parts of the code because of this.
15854 2001-06-23 The LyX Project <jug@sad.it>
15856 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15857 rewritten to discard all double spaces when KeepEmpty is off
15858 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15859 to only handle newlines but not fiddle with spaces and friends.
15861 * lyxfunc.C (MenuNew): when doing 'new from template', use
15862 template_path as default directory
15864 2001-06-23 The LyX Project <Asger>
15866 * Clean-up of header file includes all over
15867 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15869 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15871 * paragraph.h: renamed from lyxparagraph.h
15873 2001-06-23 Asger <lyx@violet.home.sad.it>
15875 * Buffer.h: Removed Buffer::resize
15876 * BufferList.h: Removed BufferList::resize
15877 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15878 the document lazily when we change the width, or the font settings.
15880 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15882 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15884 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15886 * buffer.h: remove out of date comment
15888 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15891 * screen.C: fix "theoretical" GC leak
15893 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * LaTeX.C (scanAuxFile):
15896 (deplog): remove trailing \r when reading stream (useful under
15899 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15901 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15902 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15903 and BufferView::theLockingInset(Inset*), so should use them and not
15904 access bv_->text->the_locking_inset directly.
15906 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15908 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15911 * tex-defs.h: remove old unused file
15913 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15915 * BufferView_pimpl.C: fix typo, remove minibuffer message
15916 when buffer has loaded
15918 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15920 * lyxfunc.C (Dispatch): use stringstream
15921 (MenuNew): use stringstream
15922 (Open): use stringstream
15924 * importer.C (Import): use stringstream
15926 * bufferview_funcs.C (CurrentState): use stringstream
15928 * LaTeX.C (run): use stringstream
15930 * BufferView_pimpl.C (savePosition): use stringstream
15931 (restorePosition): use stringstream
15932 (MenuInsertLyXFile): use stringstream
15934 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15947 * vspace.C: removed // -*- C++ -*- as first line.
15950 * version.h: added // -*- C++ -*- as first line.
15952 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15954 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15956 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15959 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15961 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15964 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15966 * gettext.C: include LString.h even when --disable-nls is on.
15968 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15970 * converter.h (Get): changed argument type from int to
15971 FormatList::size_type to avoid unnecessary conversion.
15973 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15976 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15978 * gettext.h: include LString.h even when --disable-nls is on.
15980 2001-06-07 Juergen Vigna <jug@sad.it>
15982 * text.C (BreakAgain): subst spaces with tabs.
15984 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15985 (resizeInsetsLyXText): set force on resizeLyXText.
15987 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15989 * gettext.h (gettext_init):
15990 (locale_init): use a real definition instead of a macro
15992 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15994 * Bufferview_pimpl.C:
15996 * LColor.C: further lcolor tidies
15998 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16000 * BufferView_pimpl.C (updateScrollbar): simplify.
16002 * BufferView2.C: don't include insets/insetinfo.h, change
16003 prototype for insertInset and call the Pimpl version. let
16004 updateInset call Pimpl version.
16006 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16007 gotoInset to BufferView::Pimpl
16009 2001-06-01 Juergen Vigna <jug@sad.it>
16011 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16012 inside a LockingInset (is the update needed at all?).
16014 2001-05-31 Juergen Vigna <jug@sad.it>
16016 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16017 here not the old one otherwise how should we compare it afterwards
16020 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16025 * FontInfo.C: bring C functions into global namespace when
16028 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * LString.h: make sure config.h has been loaded before LString.h.
16032 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16033 (one for each char read by EatLine!).
16035 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16038 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16040 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16041 to the same as the par we break from
16043 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16047 * MenuBackend.C (expand): also create menu entries for wide
16048 versions of the floats.
16050 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16052 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16054 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16055 frontends/Makefile.am
16061 * tabular.C (getTokenValue): add std::
16063 * tabular-old.C (getTokenValue): add std::
16064 (getTokenValue): ditto
16065 (getTokenValue): ditto
16067 * screen.C (ToggleSelection): adjust
16069 * lyxtext.h: put selection cursors inside a Selection struct.
16071 * lyxfunc.C (moveCursorUpdate): adjust
16073 * lyxfont.C (latexWriteStartChanges): add std::
16075 * lyxfind.C: adjust
16077 * font.h: delete with(char const *, LyXFont const &)
16079 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16081 * FontInfo.C (getFontname): add std::
16083 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16084 (workAreaButtonPress): adjust
16085 (tripleClick): adjust
16087 (moveCursorUpdate): adjust
16090 * BufferView2.C (gotoInset): adjust
16092 2001-05-30 Juergen Vigna <jug@sad.it>
16094 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16095 to check pspell I add this as default as I now have new pspell
16096 libraries and they seem to use this.
16098 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * text2.C (CutSelection): make the cursor valid before the call to
16103 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16105 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16106 relied on 0 terminated strings and other horrors. Bug found due to
16107 the new assert in lyxstring!
16109 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16112 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16114 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16117 * lyxfunc.C (processKeySym): change method of getting to the
16120 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16121 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16122 * BufferView_pimpl.[Ch]: here as private methods.
16124 2001-05-28 Juergen Vigna <jug@sad.it>
16126 * text.C (SetHeightOfRow): added the update() call again as it is
16127 needed to initialize inset dimensions!
16129 2001-05-16 Juergen Vigna <jug@sad.it>
16131 * text2.C (SetCharFont): Add new function with BufferView * and
16132 bool toggleall parameters for setting insets internal fonts.
16133 (SetFont): Freeze the undo as we may change fonts in Insets and
16134 all this change should be inside only one Undo!
16136 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16137 setting font's in insets as for them we have the SetFont function!
16139 2001-05-15 Juergen Vigna <jug@sad.it>
16141 * text2.C (ClearSelection): to be sure we REALLY don't have any
16144 * tabular.C (TeXCellPreamble): fixed the left border problem for
16147 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16149 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16152 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16154 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16155 LFUN_BREAKPARAGRAPH.
16157 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16158 help test to "internal only", similar for LFUN_INSERT_URL
16160 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16161 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16162 auto_region_delete and deadkeys.
16164 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16167 * LColor.C: remove some dead entries, tidy a little
16169 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16171 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16173 (Dispatch): implement LFUN_ESCAPE
16175 * commandtags.h: add LFUN_ESCAPE
16177 * LyXAction.C (init): add entry for LFUN_ESCAPE
16179 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16180 Remove commented code.
16181 (insertNote): moved here
16182 (open_new_inset): moved here
16184 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16187 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16189 * kbmap.C (findbinding): clean it up and make it work correctly.
16191 * lyx_main.C (init): do not pass argc and argv as parameters
16193 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16195 * buffer.C: fix path for OS/2 & Win32
16199 * lyx_main.C: Added os:: class.
16201 * os2_defines.h: update
16203 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16205 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16206 better by trying again with reduced state.
16208 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16210 * lyxrc.C (read): print error about invalid key sequence only when
16211 debugging (because not all latinX keysyms are known to some X
16214 * kbsequence.C (getiso): add a few std:: qualifiers
16215 (getiso): comment out extra return statement.
16217 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16219 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16221 (Dispatch): enhance the accent inset a bit. (not perfect)
16223 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16225 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16227 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16229 * bufferlist.C (emergencyWrite): fix assert() call
16231 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16233 * text.C (InsertChar): Added trivial patch to only send the "you
16234 can not do multiple spaces this way" message once during a
16237 2001-05-08 Baruch Even <baruch@lyx.org>
16239 * Makefile.am: Changed order of libraries to get LyX to link properly
16240 with the gnome frontend.
16242 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * LaTeXFeatures.h: add a std:: qualifier
16246 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * paragraph.C (String): use stringstream
16250 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16252 * paragraph.C (writeFile): remove footflag arg
16254 * buffer.C (makeLaTeXFile): use stringstream
16255 (latexParagraphs): remove footnot gurba
16257 * LaTeXFeatures.C (getPackages): use stringstream
16258 (getMacros): likewise
16259 (getTClassPreamble): likewise
16260 (getFloatDefinitions): new method
16262 * paragraph.C (writeFile): reindent
16265 * WorkArea.h: revert the xpos + etc changes.
16267 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16269 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16271 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16272 (pasteSelection): likewise
16273 * text2.C (CreateUndo): likewise
16275 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16277 * minibuffer.C (peek_event): temporarily reduce the functionality
16278 of the minibuffer (to allow args on lfuns)
16280 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16281 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16283 * buffer.C (readInset): add compability reading of old float
16284 lists, add reading of new style float list.
16285 (readInset): avoid reevaluation of inscmd.getCmdName()
16286 (getLists): reindent
16288 * MenuBackend.C (MenuItem): implement parsing of
16289 md_floatlistinsert and md_floatinsert.
16290 (expand::LastFiles): move initalizaton of iterators out of loop,
16291 avoid reevaluation.
16292 (expand::Documents): introduce typdedef vector<string> Strings,
16294 (expand::ExportFormats): introduce typedef vector<Format const *>
16295 Formats, and use it.
16296 (expand): implement FloatListInsert and FloatInsert.
16298 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16299 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16300 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16302 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16304 (Dispatch::LFUN_FLOAT_LIST): implement
16306 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16308 * LaTeX.C (run): Fix problem with --export code.
16310 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16312 * BufferView.[Ch] (workarea): removed.
16313 (getClipboard) new method; wrapper for workarea()->getClipboard()
16315 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16318 * WorkArea.h (width, height, xpos, ypos): These methods all
16319 returned the dimensions of the work_area sub-area of WorkArea,
16320 resulting in a position error if the WorkArea were resized. Now
16321 return the dimensions of the entire WorkArea.
16323 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16325 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16327 * LaTeX.C (deplog): correct the syntax of regex reg1
16329 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16331 * undo.C: remove !NEW_INSETS cruft
16333 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16335 * text2.C: remove !NEW_INSETS cruft
16337 * text.C: remove !NEW_INSETS cruft
16339 * tabular.C: remove !NEW_INSETS cruft
16341 * spellchecker.C: remove !NEW_INSETS cruft
16343 * lyxtext.h: remove !NEW_INSETS cruft
16345 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16347 * lyxfunc.C: remove !NEW_INSETS cruft
16349 * lyxfind.C: remove !NEW_INSETS cruft
16351 * lyx_cb.C: remove !NEW_INSETS cruft
16353 * figureForm.C: remove !NEW_INSETS cruft
16355 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16357 * buffer.[Ch]: remove !NEW_INSETS cruft
16359 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16361 * CutAndPaste.C: remove !NEW_INSETS cruft
16363 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16365 * BufferView2.C: remove !NEW_INSETS cruft
16367 * BufferView.h: remove !NEW_INSETS cruft
16369 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16371 * Lsstream.h: include LString.h before the sstream headers to
16372 fix problem with gcc 2.95.3 and lyxstring
16374 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16376 * lyx_main.C: add using directives when needed for C functions
16377 declared in std:: namespace.
16379 2001-04-27 Juergen Vigna <jug@sad.it>
16381 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16382 (SetHeightOfRow): comment out the update call should not be needed!
16384 2001-04-13 Juergen Vigna <jug@sad.it>
16386 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16387 (LyXTabular): tried to minimize operator= operations (and realized
16388 hopfully Lars wish).
16390 2001-04-27 Juergen Vigna <jug@sad.it>
16392 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16394 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16396 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16398 * buffer.C (readInset): hack to make listof algorithm work
16400 * BufferView_pimpl.C: hack to make listof algorithm work
16402 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16404 * LyXAction.C: removed all !NEW_INSETS cruft
16405 (init): moved lfun_item in method
16407 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16409 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16411 * BufferView2.C (theLockingInset): white space.
16413 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * minibuffer.C: include <iostream>
16417 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16419 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16421 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16423 * text.[Ch] (TransposeChars): new method
16425 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16427 * call message directly through LyXView instead of through LyXFunc
16428 * BufferView2.C: adjust
16429 * BufferView_pimpl.C: adjust
16430 * FontLoader.C: adjust
16432 * bufferview_funcs.C: adjust
16433 * converter.C: adjust
16434 * figureForm.C: adjust
16435 * importer.C: adjust
16437 * lyx_gui_misc.C: adjust
16438 * lyxfunc.C: adjust
16441 + more files in subdirs
16443 * lyxparagraph.h (size): move up int file
16446 * adjust all uses of Assert to lyx::Assert.
16448 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16449 lyxfunctional in namespace lyx
16450 * layout.C (hasLayout): ditto
16453 (delete_layout): ditto
16454 (NumberOfClass): ditto
16455 * converter.C (GetFormat): ditto
16460 * bufferlist.C (getFileNames): ditto
16461 (emergencyWriteAll): ditto
16464 * MenuBackend.C (hasSubmenu): ditto
16467 * BufferView_pimpl.C (getInsetByCode): ditto
16469 2001-04-18 Juergen Vigna <jug@sad.it>
16471 * vspace.C (asLatexString): fixed the 100% problem.
16473 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16475 * lyxfunc.C (Dispatch):
16477 * minibuffer.h: add a few std:: qualifiers
16479 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16481 * minibuffer.[Ch]: reimplement so that commands is initiated and
16482 run from lyxfunc, simplified som handling, and made the completion
16483 and history code for complete. wip.
16485 * lyxfunc.C (processKeySym): call message
16486 (miniDispatch): new temporary method
16487 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16488 (LFUN_MESSAGE): implement
16489 (LFUN_MESSAGE_PUSH): implement
16490 (LFUN_MESSAGE_POP): implement
16491 (initMiniBuffer): the initial/defualt minibuffer message.
16493 * lyxfont.[Ch]: inline some more getters
16495 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16497 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16499 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16500 (AutoSave): use LFUN_MESSAGE
16501 (Reconfigure): ditto
16503 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16505 * figureForm.C: use LFUN_MESSAGE
16507 * converter.C (runLaTeX): use LFUN_MESSAGE
16509 * bufferview_funcs.C: use LFUN_MESSAGE
16511 (changeDepth): ditto
16513 * bufferparams.h: use boost::
16515 * bufferlist.h: inherit privately from noncopyable
16517 * bufferlist.C (loadLyXFile): remove some commented code.
16519 * buffer.C (runChktex): use LFUN_MESSAGE
16521 * ShareContainer.h: inherit privately from noncopyable
16523 * ParagraphParameters.[hC] (depth): inline it.
16525 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16527 (message): new method
16528 (messagePush): ditto
16529 (messagePop): ditto
16530 (show): init minibuffer
16531 (showState): direct call
16533 * LaTeX.[Ch]: inherit privately from noncopyable
16534 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16535 instead of WriteStatus.
16537 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16539 * BufferView_pimpl.C (buffer): don't init minibuffer
16540 (workAreaButtonPress): use LFUN_MESSAGE
16541 (workAreaButtonRelease): ditto
16542 (savePosition): ditto
16543 (restorePosition): ditto
16544 (MenuInsertLyXFile): ditto
16545 (workAreaExpose): don't init minibuffer
16546 (update): remove commented code, simplify
16548 * BufferView2.C (openStuff): use LFUN_MESSAGE
16549 (toggleFloat): ditto
16552 (copyEnvironment): ditto
16553 (pasteEnvironment): ditto
16558 (updateInset): remove some commented code
16560 * lastfiles.h: inherit privately from noncopyable
16563 * lyx_main.h: ditto
16565 * lyxlex_pimpl.h: ditto
16567 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16568 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16569 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16571 * LyXAction.h: inherit privately from noncopyable, add methods
16572 func_begin, func_end, returning iterators to the func map.
16574 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16575 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16576 (func_begin): new method
16577 (func_end): new method
16579 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16581 (copySelection): ditto
16582 (pasteSelection): ditto
16584 * BufferView.C: whitespace change
16585 * BufferView.h: inherit privately from noncopyable
16587 2001-04-16 Allan Rae <rae@lyx.org>
16589 * tabular-old.C (l_getline):
16590 * spellchecker.C (sc_check_word):
16591 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16592 an unrecognised preprocessor directive. So ensure they're wrapped.
16594 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16596 * src/exporter.C (Export): Give an error message when path to file
16599 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16601 * LaTeX.C (deplog): Always check that foundfile exists.
16603 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16606 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16608 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16610 * tabular.[Ch] (getLabelList): implement new method
16612 * minibuffer.h: comment ouf setTiimer
16614 * minibuffer.C (ExecutingCB): constify res
16615 (peek_event): constify s
16616 (Set): constify ntext
16617 (Init): constify nicename
16619 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16621 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16622 (savePosition): use two params to Minibuffer::Set
16623 (restorePosition): ditto
16625 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16627 * lyx_main.C: include language.h
16629 * Makefile.am (lyx_main.o): add language.h
16631 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16637 * CutAndPaste.C: include gettext.h
16639 * lyxfont.h: remove old hack with ON and OFF.
16642 * lyxfont.h: do not include language.h...
16647 * bufferview_funcs.C:
16653 * paragraph.C: ... but do it here instead
16655 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16657 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16659 * tabular.C: small reformat
16661 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16664 (BreakParagraph): ditto
16665 (SetOnlyLayout): ditto
16668 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16671 * lastfiles.C: removed most using decl, add std:: where needed
16673 * buffer.C: ws changes
16675 * MenuBackend.C (class compare_format): put into anon namespace
16676 (expand): constify label, names, action, action2
16679 * text.C (SingleWidth): constify font
16680 (IsBoundary): constify rtl2
16681 (GetVisibleRow): constify ww
16683 * LaTeX.C (deplog): constify logfile
16685 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16687 (workAreaExpose): constify widthChange, heightChange
16689 * lyxrow.C (par): moved
16692 * lyxrow.h: as inlines here
16694 * lyxfont.h (shape): moved from lyxfont.C
16695 (emph): moved from lyxfont.C
16697 * lyxfont.C (LyXFont): use initialization list for all
16699 (shape): move to lyxfont.h as inline
16700 (emph): move to lyxfont.h as inline
16703 2001-04-04 Juergen Vigna <jug@sad.it>
16705 * vspace.C: had to include stdio.h for use of sscanf
16707 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16710 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16711 independent of xforms.
16713 2001-04-02 Juergen Vigna <jug@sad.it>
16715 * spellchecker.C: fixed namespace placing!
16717 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16719 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16720 the LyXParagraph * is 0.
16722 2001-03-29 Juergen Vigna <jug@sad.it>
16724 * vspace.C: added support for %, c%, p%, l%.
16725 (stringFromUnit): added helper function.
16726 (asLatexString): changed to give right results for the %-values.
16728 * buffer.C: convert the widthp in a width%.
16730 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16732 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16735 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16736 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16738 * lyx_cb.[Ch]: see above.
16740 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16744 * lyx.[Ch]: replaced by figure_form.[Ch].
16748 * lyxfunc.C: changed headers associated with above changes.
16750 2001-03-27 Juergen Vigna <jug@sad.it>
16752 * BufferView_pimpl.C: set the temporary cursor right!
16754 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16756 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16758 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16760 * LString.h: removed "using std::getline"!
16762 * BufferView_pimpl.C (Dispatch): changes due to changes in
16763 InsetInclude::Params.
16765 * buffer.C (tag_name): removed redundant break statements as they were
16766 producing lots of warnings with my compiler.
16768 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16770 * LString.h: add "using std::getline" when using the real <string>.
16772 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16774 * buffer.C: removed bitset usage.
16775 PAR_TAG moved to an anonymous name space.
16776 (tag_name): new funtion, also in the anonymous namespace.
16777 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16778 (makeDocBookFile): clean code. Completed transition from string arrays
16780 (SimpleDocBookOnePar): code clean.
16782 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16784 * tabular.C: add some comments.
16786 2001-03-22 Juergen Vigna <jug@sad.it>
16788 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16789 compatibility read a bit and fixed bug with minipage in different
16792 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16794 * buffer.C (pop_tag): removed.
16795 (push_tag): removed.
16796 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16797 array replaced with vector. Added support for CDATA sections.
16798 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16800 (makeDocBookFile): XML conformant declaration of CDATA section,
16801 fixed bug related to <emphasis> in the first paragraph char.
16802 (sgmlOpenTag): exclude empty tags.
16803 (sgmlCloseTag): ditto.
16805 * buffer.h (pop_tag): removed.
16806 (push_tag): removed.
16808 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16810 * language.h (Languages): added size_type and size().
16812 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16814 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16815 response on compability reading of minipages. One probliem is that
16816 the old usage of minipages was «flertydig»
16818 * several files here and in subdirs: don't use static at file
16819 scope use anon namespaces instead.
16821 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16823 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16824 LaTeX output. This is necessary for Literate document
16827 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16829 * buffer.C: insert hfill when needed.
16831 * tabular.C (l_getline): use string::erase, small whitespace change.
16833 * BufferView_pimpl.C: try the anon namespace.
16834 * WorkArea.C: ditto
16836 2001-03-16 Juergen Vigna <jug@sad.it>
16838 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16839 otherwise it won't open options-dialogs.
16841 * buffer.C: honor pextraWidth(p) on converting minipages.
16843 * tabular.C (l_getline): changed the functions to strip trailing \r.
16845 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16847 * BufferView_pimpl.C:
16848 * minibuffer..C: added "using SigC::slot" declaration.
16850 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16852 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16858 * paragraph.C: ditto
16860 * lyxtext.h: NO_PEXTRA
16862 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16864 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16865 * ParameterStruct.h: ditto
16866 * ParagraphParameters.h: ditto
16867 * lyxparagraph.h: ditto
16869 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16871 * buffer.C: add compability for minipage alignment.
16872 (latexParagraphs): remove unwanted pextra check.
16874 * several files: remove CXX_WORKING_NAMESPACES
16876 * buffer.C (pop_tag): tie is in namespace boost
16878 * BufferView.h: noncopyable is in namespace boost
16880 * lyx_main.h: ditto
16883 * lastfiles.h: ditto
16884 * bufferlist.h: ditto
16885 * ShareContainer.h: ditto
16887 * LyXAction.h: ditto
16890 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16892 * Merging changes from BRANCH_MVC back into HEAD.
16894 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16896 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16898 * BufferView_pimpl.C: change from intl.C
16902 * Makefile.am: move combox.*
16908 * intl.C: remove dialog (covered by prefs)
16910 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16912 * lyxfunc.C (Dispatch): removed redundant break statement.
16914 2001-03-14 Juergen Vigna <jug@sad.it>
16916 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16918 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16920 * buffer.C: add hack to fix compability reading of minipages.
16922 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16924 * buffer.C (getLists): Cleanup.
16926 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16928 * lyxfont.C (update): don't honor toggleall on font size.
16930 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16934 * Makefile.am: moved to frontends/xforms/
16938 * BufferView_pimpl.C: changes for moved mathpanel
16940 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16942 * gettext.h: fix gettext_init() in --disable-nls
16944 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16946 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16948 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16951 * lyx.h: strip external form
16953 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16955 * BufferView_pimpl.C: add comment, destroySplash()
16957 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16959 * BufferView_pimpl.C:
16963 * lyxfunc.C: use re-worked insetinclude
16965 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16967 * buffer.C: add using std::stringstream.
16969 * lyx_cb.C: readd using std::ios.
16971 * buffer.C: add using std::map.
16973 * BufferView_pimpl.C: add using std::vector.
16975 * ShareContainer.h: add std:: to swap.
16977 * buffer.h: add some typedefs
16978 * buffer.C (getLists): use them
16979 (getLists): renamed from getTocList.
16980 add a counter for the different float types and use it in the
16982 (getLists): use the same counter for the NEW_INSETS and the "non"
16985 * lyx_cb.h: remove unused items, includes, using etc.
16987 * ShareContainer.h: remove some commented code, add more comments
16988 and "documentation".
16990 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16992 * buffer.C (getTocList): make the list also when NEW_INSETS is
16995 * buffer.h: remove TocType
16997 * buffer.C (getTocList): change to return a map<string,
16998 vector<TocItem> >, implement for dynamic number of list.
17000 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17001 * text2.C (PasteSelection): adjust
17002 * CutAndPaste.C (pasteSelection): adjust
17004 * FloatList.C (FloatList): update from the new_insets branch.
17005 * Floating.[Ch]: ditto
17006 * LaTeXFeatures.C: ditto
17008 * lyxlex_pimpl.C: ditto
17010 * paragraph.C (Last): remove when NEW_INSETS is defined.
17012 * other file: changes because of the above.
17014 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17016 * lyxparagraph.h: rename next to next_, previous to previous_,
17017 make them private for NEW_INSETS. Rename Next() to next(),
17018 Previous() to previous().
17020 * other files: changes because of the above.
17022 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17025 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17028 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17030 * main.C (main): pass lyx_localedir to gettext_init().
17032 * gettext.h: remove locale_init and gettext_init macros
17034 * gettext.C (locale_init): new function
17035 (gettext_init): new function
17037 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17040 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17042 * Moved credits to frontends:
17043 * credits.[Ch]: removed
17044 * credits_form.[Ch]: removed
17045 * lyx_gui_misc.C: remove credits stuff
17048 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17050 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17052 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17053 unneeded destructor.
17055 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17056 a standalone pointer again.
17058 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17060 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17066 * ToolbarDefaults.C:
17075 * BufferView_pimpl.C: use new file dialog in GUII
17078 * lyx_cb.C: remove LayoutsCB to Toolbar
17080 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17082 * ShareContainer.h (get): add std:: qualifier
17084 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17086 * ShareContainer.h: define a proper ShareContainer::value_type
17087 type (and use typename to please compaq cxx)
17089 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17091 * lyxparagraph.h: move serveral local vars to
17092 ParameterStruct/ParagraphParameters., use ShareContainer in
17093 FontTable., make vars in FontTable private and add getter and
17096 * paragraph.C: changes because of the above.
17098 * lyxfont.h: remove copy constructor and copy assignment. (the
17099 default ones is ok), move number inside FontBits. move inlines to
17102 * lyxfont.C: add number to initializaton of statics, move several
17103 inlines here. constify several local vars. some whitespace
17104 cleanup. Dont hide outerscope variables.
17106 * Spacing.h: add two new constructors to match the set methods.
17108 * ShareContainer.h: new file, will perhaps be moved to support
17110 * ParameterStruct.h: new file
17112 * ParagraphParameters.h: new file
17114 * ParagraphParameters.C: new file
17116 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17117 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17119 * BufferView_pimpl.C: ParagraphParameter changes.
17120 * buffer.C: Likewise.
17121 * bufferview_funcs.C: Likewise.
17122 * text.C: Likewise.
17123 * text2.C: Likewise.
17125 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17127 * lyxfind.C (LyXReplace): do not redefine default argument in
17129 (IsStringInText): ditto
17130 (SearchForward): ditto
17131 (SearchBackward): ditto
17133 2001-03-06 Juergen Vigna <jug@sad.it>
17135 * lyxfind.C (IsStringInText): put parentes around expressions.
17137 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17139 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17141 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17143 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17145 * stl_string_fwd.h: add comment
17147 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17150 * tabular.C: remove unused DocBook methods
17156 killed DO_USE_DEFAULT_LANGUAGE
17158 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17160 * lyx_gui.C: do not include language.h.
17162 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17163 arguments in function implementation.
17165 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17167 * BufferView_pimpl.C: add <ctime>
17169 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17171 * BufferView_pimpl.C: add using std::find_if
17173 2001-02-27 José Matos <jamatos@fep.up.pt>
17175 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17178 2001-02-11 José Matos <jamatos@fep.up.pt>
17180 * buffer.C (makeDocBookFile): command styles now have a parameter as
17181 "title" by default.
17183 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17185 * layout_forms.[Ch]: removed
17186 * lyx_cb.[Ch]: out character
17187 * lyx_gui.C: out character
17188 * lyx_gui_misc.C: out character
17189 * bufferview_funcs.C: : out character,
17190 added toggleall as parameter in ToggleAndShow
17192 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17194 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17196 * text2.C (SetCurrentFont): Disable number property at boundary.
17198 2001-02-26 Juergen Vigna <jug@sad.it>
17200 * lyxfunc.C (getStatus): added a string argument override function so
17201 that this is correctly called from LyXFunc::Dispatch if it contains a
17202 do_not_use_argument which is used!
17203 (Dispatch): added check for "custom" export and call appropriate func.
17205 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17207 * lyxrc.C: Add language_command_local, language_use_babel and
17208 language_global_options.
17210 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17212 * buffer.C (makeLaTeXFile): Use language_use_babel and
17213 language_global_options.
17215 2001-02-23 Juergen Vigna <jug@sad.it>
17217 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17218 which works with LyXText and putted it inside BufferView. Here now we
17219 only call for that part the BufferView::Dispatch() function.
17221 * BufferView.C (Dispatch): added.
17223 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17224 functions which needs to use a LyXText over from LyXFunc.
17225 (MenuInsertLyXFile): added
17226 (getInsetByCode): added
17227 (moveCursorUpdate): added
17228 (static TEXT): added
17230 2001-02-22 Juergen Vigna <jug@sad.it>
17232 * BufferView_pimpl.C (update): call a status update to see if LyXText
17235 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17237 * vc-backend.C (revert): implement for CVS
17238 (getLog): implement for CVS
17240 2001-02-20 Juergen Vigna <jug@sad.it>
17242 * text2.C (ClearSelection): added BufferView param for inset_owner call
17244 * lyxfunc.C (TEXT): added this function and use it instead of
17245 directly owner->view()-text of getLyXText().
17247 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17249 * src/layout_forms.C: out preamble
17250 * src/layout_forms.h: out preamble
17251 * src/lyx_cb.C: out preamble
17252 * src/lyx_cb.h: out preamble
17253 * src/lyx_gui.C: out preamble
17254 * src/lyx_gui_misc.C: out preamble
17255 * src/lyxfunc.C: connect with guii preamble
17257 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17259 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17261 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17263 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17264 whether to run bibtex.
17266 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17268 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17270 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17272 * Makefile.am (lyx_SOURCES): removed bibforms.h
17274 * vspace.h: doxygen
17276 * text.C (GetVisibleRow): make several local vars const
17278 * tabular.C: small cleanup.
17280 * lyxserver.C (callback): use compare instead of strncmp
17282 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17283 inlines to after class or to paragraph.C
17285 * lyxfont.h: remove friend operator!=
17287 * converter.h: move friend bool operator< to non friend and after
17290 * combox.h: small cleanup
17292 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17293 to inlines after class def.
17295 * buffer.C (pop_tag): use string operations instead of strcmp
17297 * bmtable.c: doxygen, small cleanup
17299 * LaTeX.h: remove friend operator==
17301 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17313 * BufferView_pimpl.C:
17314 * BufferView.[Ch]: remove cruft
17316 2001-02-14 Juergen Vigna <jug@sad.it>
17318 * lyxfunc.C: removed #if 0 unused code
17320 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17322 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17324 * text2.C (SetSelection): added a BufferView * parameter
17326 2001-02-13 Juergen Vigna <jug@sad.it>
17328 * lyxfunc.C (Dispatch): fixed protected blank problem.
17329 * BufferView2.C (protectedBlank): added LyxText * parameter.
17331 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17332 (AppendColumn): same as above for column_info.
17334 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17335 (moveCursorUpdate): use a LyXText param for support of InsetText.
17337 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17338 (tripleClick): ditto
17340 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17342 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17344 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17346 * text2.C (SetSelection): set correct update status if inset_owner
17347 (ToggleFree): ditto
17349 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17351 * tabular.C: remove some commented code.
17353 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17355 * BufferView_pimpl.C: call hideSplash()
17357 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17360 * bibforms.h: remove
17363 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17364 add LFUN_CHILD_CREATE
17366 * counters.h: fix tiny typo
17371 * lyx.C: move splash to frontends/xforms/
17373 * lyx_gui_misc.C: move Include and Bibform to frontends
17375 * lyxvc.h: clarify comment
17377 * vspace.C: tiny housekeeping
17379 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17381 * text.C (PrepareToPrint): RTL Fix.
17383 * paragraph.C (GetUChar): New method.
17384 (String): Use GetUChar.
17386 * buffer.C (asciiParagraph): Use GetUChar.
17388 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17390 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17392 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17395 * buffer.C: rename to getLogName(), handle
17396 build log / latex log nicely
17398 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17401 * MenuBackend.h: remove support for reference menuitem type.
17403 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17405 * BufferView_pimpl.C: housekeeping
17406 * BufferView_pimpl.h:
17411 * minibuffer.h: move Timeout GUI-I
17413 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17415 * lyxrc.C (read): Update converters data-structures.
17417 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17419 * LaTeX.h (operator!=): add operator != for Aux_Info
17421 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17423 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17425 * LaTeXLog.C: deleted, useful code moved to Buffer
17428 * buffer.C: new function getLatexLogName()
17434 * lyxfunc.C: use frontends for LaTeX and VC logs
17436 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17438 * LaTeX.h: yet another std:: that Allan forgot.
17440 * Variables.C (set): renamed from isset(), because this clashes
17441 with some HP-UX macros (grr).
17443 2001-02-06 Allan Rae <rae@lyx.org>
17445 * LaTeX.h: Another bug fix. Missing std:: this time.
17447 2001-02-04 Allan Rae <rae@lyx.org>
17449 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17450 floats problem. I've left it commented out because it's not quite
17451 correct. It should also test that the current object is a table or
17452 figure inset. But I haven't gotten around to figuring out how to do
17453 that. I *think* it'll be something like: "table" == inset.type()
17455 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17458 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17460 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17461 all the citation/databases/styles in the auxilary file.
17462 (run): Rerun latex if there was a babel language error.
17464 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17466 * text.C (Backspace): Preserve the font when changing newline char
17468 (BreakParagraph): If the cursor is before a space, delete the space.
17470 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17472 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17474 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17475 new argument (code).
17476 (ChangeCitationsIfUnique): New method.
17478 * paragraph.C (GetPositionOfInset): Handle bibkey.
17480 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17482 * BufferView_pimpl.h: change type of Position::par_pos to
17483 LyXParagraph::size_type.
17485 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17487 * BufferView_pimpl.C (savePosition, restorePosition): Write
17488 messages to minibuffer.
17490 2001-01-28 José Matos <jamatos@fep.up.pt>
17492 * buffer.C (makeDocBookFile): adds support for document language.
17493 A silly restriction on the name of LatexCommand types where removed.
17494 Added support for CDATA sections, allows to chars unescaped, used
17495 among others in code, to avoid escape < and >.
17497 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17499 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17500 saved positions instrad of a stack. Furthermore, a position is
17501 stored using paragraph id/paragraph position.
17503 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17504 Remove LFUN_REF_BACK.
17506 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17508 * converter.C (dvipdfm_options): New method.
17510 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17512 * vspace.C (isValidLength): Fix for empty input string.
17514 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17516 * LyXAction.C (init): change description of LFUN_FIGURE to
17519 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17521 * LaTeX.C: add using directive
17523 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17525 * MenuBackend.C (expand): Fix the sorting of the formats.
17527 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17529 * lyx_main.C: tiny error message fix
17531 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17533 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17534 calling fl_initialize(). This fixes the problem with ',' as
17535 decimal separator in text files.
17537 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17539 * trans.C (process): Fix the keymap bug.
17541 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17543 * LaTeX.C (scanAuxFiles): New method. Provides support for
17544 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17545 (scanLogFile) Scan for "run BibTeX" messages.
17547 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17548 OT1 font encoding. Also, load the aecompl package if the ae
17551 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17553 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17555 * texrow.C (increasePos): turn two error messages into debug
17558 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17560 * LaTeX.C (scanAux): Handle the \@input macro.
17561 (runBibTeX): Use scanAux().
17563 * language.C (latex_options_): New field.
17565 * LaTeXFeatures.C (getMacros): Add language macros.
17567 * buffer.C (makeLaTeXFile): Small fix.
17569 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17571 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17573 * text2.C: add a using directive.
17575 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17580 * lyxfunc.C: kill LyXBell.
17582 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17584 * text.C (IsBoundary): Remove the error message
17586 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17588 * lyxrc.C (setDefaults): Correct initialization value for
17591 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17593 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17596 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17597 and GotoNextNote().
17599 * src/LyXAction.C: Added reference-next.
17601 * text.C (InsertChar): Use contains instead of strchr.
17603 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17605 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17607 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17608 alignment commands (when needed).
17610 * text.C (InsertChar): Add ':' to number separator chars.