1 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * FuncStatus.h (StatusCodes): document
5 2005-04-21 André Pönitz <poenitz@gmx.net>
7 * FuncStatus.h (enabled, onoff): document
9 2005-04-19 Angus Leeming <leeming@lyx.org>
11 * BufferView_pimpl.C (cursorToggle): no longer test whether
12 any child processes have been reaped before calling
13 handleCompletedProcesses().
15 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
17 * text3.C (dispatch): fix, finally fix, the language problem in
18 new lyxtexts, without disabling on-the-fly font changes (Helge's
21 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
23 * text3.C (dispatch): set cursor on double/triple click events
26 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
29 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
31 * rowpainter.C (paintFirst): simplify the code a little bit. In
32 particular, remove the test for secnumdepth.
33 * text.C (setHeightOfRow): only allocate space for chapter number
34 when updateCounters provided an actual label, instead of looking
35 at secnumdepth directly.
37 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
39 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
40 paragraphs when secnumdepth is large enough or, for environments,
41 when they are not the first in a sequence.
43 2005-04-17 Angus Leeming <leeming@lyx.org>
45 * buffer.C (makeLaTeXFile): replace code to manipulate a path
46 containing space and '~' characters with a call to latex_path().
48 2005-04-17 Angus Leeming <leeming@lyx.org>
50 * converter.C (convert): protect all args of convertDefault.sh
53 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * text3.C (dispatch): change the layout to "Caption" after inserting
58 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
60 * text3.C (dispatch): fix language problem in newly created
61 textinsets (and main text) in non-english docs
63 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
65 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
66 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
67 * text3.C (getStatus): disable LFUN_INSET_MODIFY
69 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
74 * rowpainter.C (getFont): Fix metrics bug introduced by inset
77 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
79 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
80 output of \item arguments without trailing text.
82 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * FontIterator.C (operator*): avoid a copy of the font.
86 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
88 * rowpainter.C (getFont): fix language bug from previous fix
90 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
92 * rowpainter.C (RowPainter, getFont): fix font inside inset
95 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
97 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
98 preventing inserted font, deco, delim insets jumping to start of
101 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
103 * lyxfunc.C (dispatch): translate message before sending it to the
106 2005-03-29 Angus Leeming <leeming@lyx.org>
108 * lyx_main.C (priv_exec): call os::internal_path on each file passed
109 to LyX on the command line.
111 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
113 * vc-backend.C: use QuoteName to protect file names wherever
116 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
119 * BranchList.h: fix bugs 1844,1845: document settings don't
122 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * lyxrc.C (setDefaults, read, output, getDescription): add support
125 for tex_allows_spaces.
127 * exporter.C (Export): allows files in directory containing spaces
128 if tex_allows_spaces is true.
130 * buffer.C (makeLaTeXFile): if the document path contains spaces,
131 output it in double quotes.
133 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * rowpainter.C: use default text height for drawing change tracker
138 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
142 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
145 directory is missing.
147 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
149 * text2.C: fixed the fix, extended to other case.
151 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
153 * text2.C: fix for cursor up/down stuck in math [bug 1792]
155 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
157 * text2.C (cursorUp): get rid of a crash
158 * text.C (x2pos): add an assert
160 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * lyxfunc.C (getStatus): fix warning when assertions are disabled
166 * dociterator.C: include <boost/current_function.hpp>, which is
167 needed when assertions are disabled.
169 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
171 * text2.C: fix for stuck cursor when traversing two
172 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
174 2005-02-25 Andreas Vox <avox@arcor.de>
176 * output_docbook.C (makeParagraph): suppress trailing newline
177 after a run of paragraphs
179 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
181 * paragraph.C: fix for confused change tracker when pasting
182 text that begins with a lineseparator. [bug 1827]
183 (setChange(0, Change::INSERTED);)
185 * paragraph_funcs.C: fix for lost changes on triple-paste
186 in change tracking mode [bug 1827] (par.setChange()).
188 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * text2.C (updateCounters, setCounter, expandLabel): move to
193 * buffer_funcs.C (updateCounters): turn into a free standing
194 function and add a buffer parameter. Remove dead code for tracking
196 (setCounter): change into a free-standing function which gets a
197 dociterator as argument. Use this iterator to fix captions in a
198 simple way. When no float is found above the caption, use the
199 labelstring of the caption layout as default.
201 * text.C (breakParagraph, backspace):
202 * text2.C (init, setLayout, changeDepth):
203 * text3.C (dispatch):
204 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
207 * dociterator.C (forwardPar): make it much faster by calling
208 forwardPos() only when really necessary.
210 * output_docbook.C (makeCommand): adapt to expandLabel move.
212 * cursor.C: remove unused variable
214 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
216 * paragraph_funcs.C: fix crash when pasting insets in change
217 tracking mode [bug 1277] (honour change type in moveItem).
219 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
223 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * BufferView.C (setCursor): change to use a DocIterator.
226 (gotoLabel): use BufferView::setCursor (other part of bug 781).
227 (putSelectionAt): adapt to BufferView::setCursor change.
229 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
230 moved here from LyXText and rewritten to use proper cursor
231 methods. Fixes bug 1787, 616 and 835.
233 * BufferView_pimpl.C (restorePosition): set the cursor correctly
234 when inside an inset (part of bug 781).
235 (dispatch): adapt to change of BufferView::setCursor.
236 (getStatus, dispatch): handle LFUN_GOTOERROR,
237 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
239 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
240 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
241 * text3.C (gotoNextInset, gotoInset): removed.
243 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
247 2005-02-15 Angus Leeming <leeming@lyx.org>
249 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
250 can be used meaningfully in a comparison.
252 2005-02-13 André Pönitz <poenitz@gmx.net>
254 * bufferview_funcs.C (coordOffset): improve cursor drawing
256 2005-02-13 André Pönitz <poenitz@gmx.net>
258 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
259 * Cursor.C (dispatch): use fixIfBroken
260 * lyxfunc.C (getStatus): use fixIfBroken
262 2005-02-15 Angus Leeming <leeming@lyx.org>
264 * lyx_main.C (error_handler):
266 * lyxrc.C (setDefaults):
268 #include "environment.h".
270 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
272 2005-02-15 Angus Leeming <leeming@lyx.org>
274 * lyxserver.C (startPipe): squash MSVC warning "local variable
275 'fd' used without having been initialized".
277 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279 * BufferView_pimpl.C: revert accidental commit.
281 2005-02-14 André Pönitz <poenitz@gmx.net>
283 * dociterator.[Ch]: new member forwardPosNoDescent(),
284 which doesn't enter nested insets.
285 * text2.C (setFont): use forwardPosNoDescent() instead
286 of ForwardPos() (fixes crash on font change).
288 2005-02-13 Angus Leeming <leeming@lyx.org>
290 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
291 only if lyxrc.path_prefix is not empty.
293 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
295 * bufferparams.C (readGraphicsDriver): prevent crash
297 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
299 * text2.C (setCounter): check for inInset() == 0
301 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
304 but use update() to get correct screen display; use convert
305 instead of istringstream.
306 (getStatus): handle LFUN_GOTO_PARAGRAPH
308 * lyxfunc.C (dispatch, getStatus): do not handle
309 LFUN_GOTO_PARAGRAPH here.
311 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
313 * text3.C (dispatch): size() -> depth()
315 * text2.C: remove some debug output
317 * paragraph.C: ws changes only
319 * lyxfunc.C (getStatus): size() -> depth()
321 * dociterator.h (clear, push_back, pop_back, internalData,
322 operator[], resize, empty): new functions
323 Make StableDocIterator and operator== be friends. Don't inherit
324 from std::vector use a privat class variable slices_ instead.
327 * dociterator.C: update because of not inheriting from std::vector
328 anymore. Call explictly to slices_ instead. Use depth() instead of
329 size() and top() instead of back()
331 * cursor.C: chagne size() -> depth and back() -> top(). Also
332 remove some direct operator[](i) calls in favour of foo[i]
333 (getFont): remove some dead code
335 * bufferview_funcs.C (coordOffset): size() -> depth()
337 * buffer.C: ws changes only
339 * CutAndPaste.C (eraseSelection): back() -> top()
341 * BufferView_pimpl.C (selectionRequested): back() -> top()
343 * BufferView.C (setCursor): size() -> depth()
345 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
347 * text3.C (cursorPrevious): return true if depm changed something
349 (dispatch): rename sl to oldTopSlice, remove moving use the new
350 NoUpdate func attrib instead. Make sure that needsUpdate is set
351 for function that have NoUpdate, but where depm might have changed
354 * text2.C (cursorLeft): make us return true if depm changed
357 (cursorUpParagraph): ditto
358 (curosrDownParagraph): ditto
359 (cursorUp, cursorDown): ditto, make sure to read comments in code
360 (deleteEmptyParagraphMechanism): remove an assert, also return
361 true if just a single char was deleted.
363 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
364 cursor that we modify, to avoid modifying an active cursor before
365 we call setCursor. This allows depm to run. Also return true if
366 depm deleted something.
368 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
369 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
370 cursorDownParagraph, cursorPrevious and cursorNext, return true if
371 something was changed in the buffer because of them (ie. depm run)
373 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
374 debug messages. Make update by default be false. Make sure that
375 the result of update is retained throught several calls down to
378 * LyXAction.h: add a new func_attrib: NoUpdate
380 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
381 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
382 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
384 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
386 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
389 bv_->owner(), bv_->buffer() by direct references to the private
391 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
392 (getStatus): isSavedPosition() is in BufferView::Pimpl.
393 (fitCursor): center() is in BufferView::Pimpl.
394 (getStatus, trackChanges, dispatch): no need for a temporary buf
396 (fitCursor, workAreaDispatch): use workarea().workheight()
398 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
400 * CutAndPaste.C (pasteSelectionHelper): fix a crash
402 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
404 * buffer.C: format up to 241.
405 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
406 break if pasting into ERT
407 * lyxfunc.C (getStatus): suppress mathpanel and
408 LFUN_DIALOG_SHOW_NEW_INSET in ERT
410 2005-02-01 Angus Leeming <leeming@lyx.org>
412 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
414 2005-02-01 Angus Leeming <leeming@lyx.org>
416 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
417 calling fs::is_directory().
419 2005-01-31 Angus Leeming <leeming@lyx.org>
421 * lyx_main.C (priv_exec): specify explicitly the relative location
422 of the top level build directory when run in-place.
424 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
426 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
427 LyXText containing the cursor, not the top-level one.
429 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
431 (insertStringAsLines): rename par to pit; use temporary variable
432 par to hold a Paragraph; do not store par.layout() in a variable,
433 since the pointer may die when breaking paragraphs; pass pars to
434 breakParagraph() instead of Buffer::paragraphs().
436 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
438 * lyxlex_pimpl.h: #include <fstream>.
440 * BufferView.[Ch] (getLyXText): add a const version.
442 * BufferView_pimpl.C: add debug aids.
447 * paragraph_funcs.h: add commentary explaining what the class does.
450 * coordcache.[Ch]: add lots of commentary.
451 (startUpdating, doneUpdating): debug aids.
452 (arrays, insets, parPos, getParPos): accessors to private data.
454 * cursor_slice.[Ch] (text): add a const version.
455 * dociterator.[Ch] (text, innerText): add const versions.
457 * lyxtext.h (breakParagraph): change the keep_layout arg to a
460 * paragraph.C (getRow, pos2ros): add asserts.
462 * paragraph.h: add commentary. Lots of.
464 * paragraph.[Ch] (metrucs, draw): removed.
467 * rowpainter.[Ch]: const-correct changes.
469 * text.C: various obvious clean-ups. Removal of ancient cruft.
472 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
474 * vc-backend.C (find_file): rewrite to use boost.filesystem
477 * main.C (main): set default name check for boost.filesystem to
480 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
483 (actOnUpdatedPrefs): ditto
485 * lyx_main.C (init): rewrite to use boost.filesystem
486 (queryUserLyXDir): ditto
488 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
489 (getContentsOfAsciiFile): ditto
491 * lastfiles.C (readFile): rewrite to use boost.filesystem
493 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
495 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
498 * buffer.C (Buffer): adjust for destroydir
499 (getLogName): rewrite to use boost.filesystem
501 (save): use fs::copy_file (from fs_extras)
503 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
505 * LaTeX.C (run): rewrite to use boost.filesystem
506 (scanAuxFiles): ditto
507 (handleFoundFile): ditto
509 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
511 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
513 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
515 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
517 * lyxlayout.[Ch]: change some vars from float to double
519 * buffer.C (readFile): make a local var const
521 * Several files: use convert<> instead of atoi,strToXXX and friends
523 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
525 * LaTeXFeatures.[Ch]: Add a static list packages_ that
526 holds the contents of packages.lst. New functions getAvailable
527 and isAvailable to parse and check that list, resp.
531 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
533 * bufferparams.[Ch]: new param output_changes.
535 * Buffer.C: increase file format to 240.
536 Use output_changes and isVailable.
540 * paragraph_pimpl.C: Use output_changes and isVailable.
542 2005-01-23 Angus Leeming <leeming@lyx.org>
544 * output_latex.C: #include "insetbibitem.h", rather than
545 forward declare function bibitemWidest.
547 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
549 * lyx_main.C (init): make it compile on the Mac.
551 2005-01-20 Angus Leeming <leeming@lyx.org>
553 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
554 (setLyXMisc): (char string literal) != (char string literal) is
555 performing a comparison on the addresses. Convert one operand
556 explicitly to string to guarantee expected behaviour.
559 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
562 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
564 * output_plaintext.C: remove unneeded #include gzstream.h.
566 2005-01-20 Angus Leeming <leeming@lyx.org>
568 * SpellBase.h: rename some of the elements of the Result enum.
575 * pspell.C (check): ditto
577 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
579 * buffer.C: add #include <fstream>.
581 * lyx_main.C (init): Compile fix.
583 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
585 2005-01-20 Angus Leeming <leeming@lyx.org>
587 * mover.h: change commentary to reflect the changed meaning of
590 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * output_linuxdoc.C (linuxdocParagraphs): silence warning
594 * lyxfind.C (MatchString::operator()): remove bogus semicolon
596 2005-01-20 Angus Leeming <leeming@lyx.org>
598 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
599 printing diagnostic data by not dereferecing an iterator past the
602 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
604 * buffer.C (readHeader): use "&&" rather than "and".
606 * lyxserver.h (inPipeName, outPipeName): make these const.
608 2005-01-19 Angus Leeming <leeming@lyx.org>
610 * lyx_main.C (error_handler, init): protect SIGHUP with
611 #ifdef SIGHUP guards.
613 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
615 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
617 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
619 * text.C (setHeightOfRow): add a margin at the top and bottom of
620 the document (bug 1761)
622 2005-01-17 Angus Leeming <leeming@lyx.org>
624 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
625 with "python ". Workaround for a brain-dead Windows.
627 2005-01-16 Angus Leeming <leeming@lyx.org>
629 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
630 for MacOSX and Windows to use prependEnvPath.
631 Strip out the hard-coded block to add elements to the PATH for
632 MacOSX and replace it with a call to prependEnvPath using the
633 contents of LyXRC::path_prefix.
634 (queryUserLyXDir): strip out the code to run reconfigure, instead
635 returning a boolean indicating the necessity to do so.
636 (reconfigureUserLyXDir): contains the code to reconfigure the
637 user support directory. Is now called after the various LyXRC data
638 files have been read.
640 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
642 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
644 * converter.[Ch] (convert): take a new parameter try_default. Use
645 a default converter (imagemagick) if try_default is true.
647 2005-01-13 Angus Leeming <leeming@lyx.org>
649 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
651 (write): output LyXRC::cygwin_path_fix as necessary.
653 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
656 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
658 2005-01-12 Angus Leeming <leeming@lyx.org>
660 * lyx_main.C (init): set the PATH variable to include the
661 directory containing the LyX binary when running on Mac or Windows.
663 2005-01-12 Angus Leeming <leeming@lyx.org>
665 * lyx_main.C (init): remove cruft that purports to set the locale
666 dir. It doesn't and is not needed anyway.
668 2005-01-10 Angus Leeming <leeming@lyx.org>
670 * Makefile.am: remove the lyx_main.C special casing.
672 * BufferView_pimpl.C:
678 * messages.C: use support/package.h to provide the paths to the
679 various directories used by LyX.
681 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
683 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
684 layout if pasting into an empty paragraph)
686 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
688 * tex-accent.C: add <string>
690 2005-01-06 José Matos <jamatos@lyx.org>
692 * ParagraphParameters.C (write): put every parameter in its own line.
693 * paragraph.C (write): reduce number of consecutive empty lines exported.
694 * buffer.C (LYX_FORMAT): increase file format to 239.
696 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
698 * everywhere: change support/tostr.h -> support/convert.h
700 * tabular.C: make all write_attributes templates, tostr -> convert
702 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
703 (emptyTag): and -> &&, and fix type for ret from getChar
704 (getFirstWord): fix type for ret from getChar
705 (onlyText): and -> &&
706 (simpleDocBookOnePar): and not -> && !, fix type for ret from
709 * toc.C (goTo, action):
710 * text3.C (dispatch):
711 * text.C (currentState):
712 * tex-accent.C (DoAccent):
715 * lyxfunc.C (menuNew):
716 * lyxfinc.C (replace):
717 * counters.C (laberItem):
718 * bufferview_funcs.C (font2string):
719 * bufferparams.C (writeFile):
720 * buffer.C (readFile):
722 * MenuBackend.C: tostr -> convert
724 * LaTeX.C (runMessage): fix format
725 (scanAuxFiles): tostr -> convert
727 * BufferView_pimpl.C (savePosition): fix format
728 (restorePosition): ditto
731 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
733 * Spacing.[Ch]: New method getValueAsString().
737 * ParagraphParameters.C:
740 * text3.C: store/read spacing value as string.
742 * rowpainter.C: change float value (spacing_val) to double.
744 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
745 broken custom document spacing).
747 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
749 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
750 namespace, also more use of temp references and const
752 * cursor.[Ch] (getStatus): move to lyxfunc.C
754 * bufferparams.C: reformat slightly
756 * bufferview_funcs.C (font2string): constify arg
762 * buffer_funcs.C: (many funcs): constify arg on function
763 definitions, also make more local vars const, also add ASSERTS on
766 * buffer.C (LYX_FORMAT): put const in correct place
767 (many funcs): constify arg on function definitions, also make
768 more local vars const
770 * aspell_local.h: remove "struct" from typdef setup
772 * aspell.C (check): make word_ok const
773 (nextMiss): simplify slightly
776 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
778 * lyxrc.[Ch]: store all float values as strings.
779 use int (not float) for lyxrc.dpi.
781 2005-01-04 Angus Leeming <leeming@lyx.org>
783 * lyx_cb.C (Reconfigure):
784 * lyx_main.C (queryUserLyXDir):
785 to run the <system_lyxdir>/configure correctly on Windows, prefix
786 the path to the script with "sh " when generating the string that
787 is passed to system().
789 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
791 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
793 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
795 * lyxlength.C (asLatexString): get rid of setprecision
797 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
799 * text2.C (setLayout): remove unused variable endpit.
800 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
802 * paragraph.C (onlyText): remove unused variable style.
804 * cursor.C (bruteFind): remove unused variables beg and end.
806 * Makefile.am (dist_noinset_DATA): not needed anymore
808 * cheaders/*: remove.
810 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
812 * text3.C: fix LFUN_MATH_MODE.
814 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
816 * buffer_funcs.C (countWords): new function. Counts words between
819 * BufferView_pimpl.C (getStatus, dispatch): handle
822 * LyXAction.C (init):
823 * lfuns.h: add LFUN_WORDS_COUNT.
825 2004-12-19 Angus Leeming <leeming@lyx.org>
827 * buffer.C (save): s/slashify_path/internal_path/.
829 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
831 * lyxfind.C (findChange): do not search for end of pars, because
832 the change tracker cannot handle this (fixes bug 1719).
834 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
836 * paragraph.[Ch] (autoBreakRows): remove
838 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
840 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
841 avoid using the paragraph one
843 * text2.C (LyXText, insertStringAsLines): adjust
845 2004-12-16 Angus Leeming <leeming@lyx.org>
849 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
851 2004-12-14 Angus Leeming <leeming@lyx.org>
853 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
855 * bufferlist.C (emergencyWrite):
856 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
859 2004-12-14 Angus Leeming <leeming@lyx.org>
861 * main.C: (main): no longer pass pointers to os::init.
863 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
865 * undo.C (textUndoOrRedo): simplify logic, fix a crash
866 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
868 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
871 * text3.C: remove selection_possible global flag
873 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
875 * text2.C (getSelectionSpan): remove
876 (changeDepth, changeDepthAllowed): adjust
878 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
880 * Makefile.am (BOOST_LIBS): use boost variables
882 2004-12-03 José Matos <jamatos@lyx.org>
884 * buffer.C: format up to 238.
886 2004-12-03 José Matos <jamatos@lyx.org>
888 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
890 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
892 * cursor.C (goUpDown): remove call to idxUpDown2
894 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
896 * tabular.[Ch]: use size_t-like types for cell, row and column
899 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
901 * lyxfunc.C (getStatus): do not lose previous information when
902 calling BufferView::getStatus; do not set a default "Command
903 disabled" message at the beginning, but just before returning.
905 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
907 * cursor.h (getStatus): add better comment from src/cursor.C
909 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * text3.C (getStatus): return false when the lfun is not handled
913 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * broken_headers.h: remove
917 * Makefile.am (lyx_SOURCES): remove broken_headers.h
919 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
921 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
924 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
925 top_y_, merge fitcursor with update
926 (updateScrollbar, scrollDocView, fitCursor, center, update): new
929 (workAreaDispatch): adapt to new coord scheme
930 (redoCurrentBuffer): remove
932 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
934 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
937 * coordcache.[Ch]: add paragraph cache and helpers
939 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
942 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
943 (targetX, setTargetX): introduce
945 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
946 baseline -> ascent, as the rest of lyx
948 * lyxtext.h: remove redoParagraphs, updateParPositions,
949 fullRebreak, redoParagraphInternal. move dist to anon namespace in
950 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
951 have ascent/descent (ascent is ascent of first par)
953 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
956 * paragraph.[Ch]: unify dimension handling with the rest of lyx
958 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
960 * pariterator.C: fix infinite loop introduced in par->pit renaming
962 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
963 in insets and LyXText, draw two off-screen paragraphs using
964 NullPainter, and adapt to new coord scheme
968 * text3.C: adapt lfun handlers to the new coord scheme, which
969 means: there's only guaranteed coord information for onscreen pars
970 plus one above and one below. This implies that one can do search
971 from y coordinates in the range [-1,workHeight]
973 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
975 * rename a lot of InsetOld to InsetBase
977 2004-11-25 Angus Leeming <leeming@lyx.org>
979 * BufferView_pimpl.C:
981 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
983 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
986 call BufferView::getStatus if LCursor::getStatus did nothing
987 (setStatusMessage, getStatusMessage): removed.
989 * FuncStatus.C (message): new methods. Used to provide an error
990 message indicating why a command is disabled.
991 (clear, |=, FuncStatus): update for message.
993 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * lyxfunc.C (dispatch): always call sendDispatchMessage
997 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1000 * BufferView_pimpl.C:
1005 * cursor_slice.[Ch]:
1008 * paragraph_funcs.C:
1014 * undo.C: par->pit renaming
1016 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1018 * tabular.C (cellstruct): use initialization, store a shared_ptr
1019 to insettext instead of the insettext directly, adjust to fit.
1020 (operator=): new function
1021 (swap): new function
1022 (rowstruct): use initialization
1023 (columnstruct): use initialization
1024 (ltType): use initialization
1027 * lyxlength.h (swap): new function
1029 * LColor.[Ch] (operator=): use the common semantics
1031 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1033 * lyxfind.C (findNextChange): update the bufferview after setting
1036 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1038 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1039 number of InsetOptArgs has already been inserted.
1041 * output_latex.C (latexOptArgInsets): new method. This outputs all
1042 the optarg insets, up to the limit defined in the layout file.
1043 (optArgInset): removed
1044 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1046 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1048 * paragraph.C (isLetter): remove special spellchecker-related
1049 code; return true also for digits
1050 (isWord, isKomma): remove
1052 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1053 * lyxfind.C (MatchString()): use isLetter instead of isWord
1055 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1057 * pariterator.h (operatir=): comment out un-implemented member
1060 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1063 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1065 * lyxfont.h: include LColor.h to satisfy concept checks.
1067 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1069 * pariterator.h: add typdefs for value_type, difference_type,
1070 pointer and reference to satisfy concept checks. Also add default
1071 constructor for same reason.
1073 * pariterator.C (operator++): add post-increment operator to
1074 satisfy concept checks.
1076 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1079 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1081 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1082 checks. Also rename base_type to BaseType to follow naming
1085 * FloatList.h: include Floating.h to satisfy concept checks.
1087 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1089 * lyxfunc.C (getStatus): when the origin of the request is menu or
1090 toolbar, and the LyXView does not have focus, do as if there was
1091 no buffer (bug 1720)
1093 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1094 FuncRequest to individual entries of LFUN_SEQUENCE
1096 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * output_latex.C (TeXOnePar): override runparams.moving_arg
1099 according to the needprotect value of the current paragraph (bug
1102 * paragraph.C (simpleTeXOnePar): no need to override
1103 runparams.moving_args here
1105 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1107 * vspace.C: fix off-by-one-error, related to fix #1682
1109 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1111 * lengthcommon.C: a more general fix for bug 1682
1113 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1115 * text.C (backspace): fix crash
1117 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1119 * format.[Ch] (getFormatFromFile): new method
1120 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1122 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1124 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1126 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * lyxfunc.C (dispatch): remove the verbose argument
1129 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1132 * kbmap.C (defkey): set the origin of func to KEYBOARD
1134 * MenuBackend.C (MenuItem):
1135 * ToolbarBackend.C (add): set the origin of func to UI
1137 * funcrequest.[Ch]: add origin member, which indicates which part
1138 of LyX requests an action
1140 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1142 * converter.C (move): don't lie in the error message
1143 * converter.h (isReachable, move): document
1145 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1147 * buffer.C: remove unused using lyx::support::atoi
1148 * paragraph_funcs.C: ditto
1150 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1152 * bufferlist.C (exists): use bind and equal_to instead of
1155 * lyxtextclasslist.C (NumberOfClass): ditto
1157 * cursor.C (insert): use for_each instead of explicit for loop
1159 * bufferlist.C (getFileNames): use std::transform and
1160 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1162 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1165 * buffer.C (changeLanguage): use for_each instead of explicit for
1167 (hasParWithID): implement using getParFromID
1169 * LaTeXFeatures.C: ws change only
1171 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1174 * BufferView_pimpl.C (trackChanges): use for_each instead of
1177 2004-11-04 André Pönitz <poenitz@gmx.net>
1180 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1182 * dociterator.C (asDocIterator): use hard assert again.
1184 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1186 * lyxlength.C (asLatexString): rewrite so that it does not use
1189 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1191 * text3.C (specialChar, dispatch): make sure cursor moves to the
1192 right after inserting an inset
1194 2004-11-02 José Matos <jamatos@lyx.org>
1196 * output_docbook.C (docbook):
1197 * paragraph.C (getID):
1198 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1199 garantee that the output is always legal.
1201 * tabular.C (docbook):
1202 * outputprams.[Ch]: remove mixed contents.
1204 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1206 * text2.C (setCounter): prevent endless loop
1208 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1210 * exporter.C (copyFile): use the mover instead of support::copy()
1211 * exporter.C (Export): pass format and latex name to copyFile()
1212 * exporter.h (addExternalFile): document
1213 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1215 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1217 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1219 2004-10-30 José Matos <jamatos@lyx.org>
1221 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1222 text and no inset or font change. This allows to use CDATA
1223 sections just for the whole paragraph.
1225 2004-10-30 José Matos <jamatos@lyx.org>
1227 * paragraph.C (getFirstWord): remove unused variable.
1229 2004-10-30 José Matos <jamatos@lyx.org>
1231 * paragraph.C (getFirstWord): the content should always be escaped
1233 (simpleDocBookOnePar):
1234 * output_docbook.C (makeEnvironment): replace reference to CDATA
1237 2004-10-30 José Matos <jamatos@lyx.org>
1239 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1241 2004-10-30 José Matos <jamatos@lyx.org>
1243 * output_docbook.C (makeParagraphs):
1244 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1245 standard paragraph has only a given type of content drop the wrapper.
1247 2004-10-29 José Matos <jamatos@lyx.org>
1249 * output_docbook.C (makeEnvironment):
1251 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1253 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1255 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1256 (cleanID): sanitize any id.
1258 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1260 * buffer.C, lyxlex_pimpl.C:
1261 * lyxlex_pimpl.C (setFile):
1262 s/getExtFromContents/getFormatFromContents/
1264 2004-10-28 José Matos <jamatos@lyx.org>
1266 * output_docbook.C (makeEnvironment): move id to broadest possible
1269 * sgml.C (openTag): apply substitution of <> for all attributes.
1271 2004-10-28 José Matos <jamatos@lyx.org>
1273 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1274 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1275 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1277 * sgml.[Ch]: new version for open and closeTag for paragraph and
1278 for strings. Now they handle the ids of paragraphs.
1280 2004-10-26 Angus Leeming <leeming@lyx.org>
1282 * Makefile.am: add mover.[Ch].
1284 * converter.C (convert, move): use the new Movers to move external
1285 files to the temp directory.
1287 * lyx_main.C (init): ensure that the global system_movers data
1290 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1293 * mover.[Ch]: new files, defining a Mover as a utility to move an
1294 external file between directories and, if necessary, manipulate this
1295 file using a helper script.
1297 2004-10-25 José Matos <jamatos@lyx.org>
1299 * output_docbook.C (makeCommand): merge two if's that tested the
1302 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * sgml.C (escapeString): fix warning in a better way
1306 2004-10-25 José Matos <jamatos@lyx.org>
1308 * sgml.C (escapeString): import the require boosts header file for
1309 tie, and avoid a signed unsigned comparison.
1311 2004-10-25 José Matos <jamatos@lyx.org>
1313 * sgml.h: add #include <string>
1315 2004-10-25 José Matos <jamatos@lyx.org>
1317 * sgml.[Ch] (escapeString): new function to escape all the string.
1319 2004-10-24 José Matos <jamatos@lyx.org>
1321 * paragraph.[Ch] (getFirstWord): new function to get the first
1322 word. Useful for description.
1323 (simpleDocBookOnePar): remove depth argument, add another that
1324 says where to start the paragraph.
1326 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1327 use the new functions to fix cleanly the support for descriptions.
1329 2004-10-24 José Matos <jamatos@lyx.org>
1331 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1332 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1333 * output_linuxdoc.C (linuxdocParagraphs):
1334 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1335 add buffer as argument.
1337 2004-10-24 José Matos <jamatos@lyx.org>
1339 * output_docbook.C (makeEnvironment, searchEnvironment): place
1340 CDATA inside paragraphs and fix scope for listitems.
1342 2004-10-24 José Matos <jamatos@lyx.org>
1344 * output_docbook.C: remove using statement for stack.
1346 2004-10-23 José Matos <jamatos@lyx.org>
1348 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1349 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1350 docbook. The new scheme is recursive and makes use of iterators, the
1351 same as latex export works.
1352 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1353 directly with the paragraph contents. This code was moved up to
1354 output_docbook.C (docbookParagraphs).
1355 * sgml.C (openTag, closeTag): removed unneeded newlines.
1356 (closeEnvTags) removed.
1358 2004-10-23 André Pönitz <poenitz@gmx.net>
1360 * undo.C (textUndoOrRedo):
1361 * dociterator.C (asDocIterator): work around crash
1363 * cursor.C (getStatus): replace ASSERT by more verbose error message
1364 and manual correction of the problem. Should increase stability
1365 while providing more sensible information.
1367 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1369 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1371 * bufferlist.C (previous, next): new methods
1374 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1376 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1378 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1379 entities to preamble.
1381 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1383 * messages.C (Pimpl): strip off translation context information
1385 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1387 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1388 the cursor is correct (bug 1694)
1390 2004-10-13 José Matos <jamatos@lyx.org>
1392 * output_docbook.C (docbookParagraphs): fix closing tags in the
1393 end of the document.
1395 2004-10-09 José Matos <jamatos@lyx.org>
1397 * buffer.C: format up to 237.
1398 * bufferparams.C (write): use tostr to convert booleans to strings.
1400 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1402 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1404 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1406 * LaTeX.C: implement use of babel language in xindy.
1408 2004-10-05 José Matos <jamatos@lyx.org>
1410 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1411 Add new translators to help reading and writing the lyx file.
1413 2004-10-05 José Matos <jamatos@lyx.org>
1415 * ParagraphParameters.C (read):
1416 * text.C (readParToken): replace nexToken by more appropriate lex
1419 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1421 * LaTeX.C (runMakeIndex):
1422 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1423 (usually 'makeindex') configurable.
1425 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1426 with a variable rather than with a number.
1428 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1430 * output_latex.C (TeXOnePar): make sure font setting is the first
1431 thing that gets output (and the last at the end). Should fix bug
1434 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1436 * pch.h: use proper signal include
1438 * LaTeX.h: Use preferred calling of Boost.Signal
1441 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1443 * pch.h: dont include <boost/function/function0.hpp>
1445 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1447 * paragraph_pimpl.h: remove usage of ShareContainer
1449 * paragraph_pimpl.C: remove initialization of ShareContainer.
1451 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1455 * BufferView.C (putSelectionAt): change the semantics when
1456 backwards == true: now, this just swaps cursor and anchor wrt the
1459 * BufferView.h (putSelectionAt): add some documentation
1461 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1462 make sure backwardChar is done at least once (to avoid getting
1464 (findNextChange): use putSelectionAt in the forward direction
1465 (operator()): use Paragraph::isWord
1467 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1469 * Spacing.C (set): c_str fix
1471 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1473 * lyx_cb.C (Reconfigure): quote the name of configure script in
1474 case it contains spaces
1476 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1481 (BOOST_LIBS): use top_buildir when looking for the file
1483 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1485 * pch.h: do not use include boost/format.hpp, multiple symbols
1486 will result (gcc bug)
1489 2004-08-23 José Matos <jamatos@lyx.org>
1491 * bufferparams.C (readToken): fix reading of the author field.
1493 2004-08-20 José Matos <jamatos@lyx.org>
1495 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1497 2004-08-20 José Matos <jamatos@lyx.org>
1499 * lyxlex.[Ch] (findToken): remove function.
1501 * ParagraphParameters.C (findToken):
1502 * bufferparams.C (findToken): replace call for previous function
1503 with local copy. This local function has one more argument, the
1504 read string argument.
1506 2004-08-16 José Matos <jamatos@lyx.org>
1508 * ParagraphParameters.C (write):
1509 * Spacing.C (writeFile):
1510 * bufferparams.C (writeLaTeX):
1511 * lyx_cb.C (Reconfigure):
1512 * paragraph.C (write):
1513 * tabular.C (write): remove unnecessary space at end of line.
1516 2004-08-16 José Matos <jamatos@lyx.org>
1518 * text.C (readParagraph): remove debug message.
1520 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1522 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1525 * output_plaintext.C (asciiParagraph): set depth correctly
1527 * outputparams.h: add member depth
1529 * paragraph_funcs.C (ownerPar): remove.
1531 * text2.C (setCounter): remove first_pit; comment out some
1532 non-working code that uses ownerPar
1534 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1537 2004-08-16 José Matos <jamatos@lyx.org>
1539 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1540 For the same level of importance use the same chanel to report problems.
1541 (read): add code to deal with \begin_body and \end_body.
1544 2004-08-15 José Matos <jamatos@lyx.org>
1546 * lyxlex.C (getString): fix comment, buffer::readBody is now
1547 buffer:readDocument.
1549 * tex-strings.C (string_papersize): Default -> default,
1550 Custom -> custom, for consistency with other options.
1552 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1556 * Makefile.am: support pch
1558 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * text.C (readParToken): remove the static LyXFont variable and
1561 pass it as a parameter instead. This fixes a nasty bug where an
1562 inset will be inserted with a bad font in some situations
1563 (readParagraph): adapt
1565 * text2.C (setCounter): reduce number of calls to pars_[pit]
1567 * text.C (singleWidth): add an assert, fix a test
1569 * rowpainter.C (paintText): reduce number of calls to singleWidth
1571 * paragraph.C (isHfill):
1572 (isNewline): ws only
1574 2004-08-14 André Pönitz <poenitz@gmx.net>
1579 * lyxtext.h (several functions): use a Paragraph & argument
1582 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1584 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1586 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1588 * text.C (singleWidth): remove useless test
1590 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * tabular.h: remove bogus comments
1594 * tabular.C (getDescentOfRow):
1595 (isPartOfMultiColumn): add assertions
1597 * lyxlength.C (inPixels): remove #warning
1599 2004-08-14 André Pönitz <poenitz@gmx.net>
1601 * paragraph.h: inline getChar()
1603 * BufferView.h: remove unused declarations
1605 2004-08-14 José Matos <jamatos@lyx.org>
1607 * Buffer.[Ch] (readDocument): new name for old readBody.
1608 * Buffer.C: new file format, new keywords: \begin_document,
1609 \begin_header, \begin_body, \end_body.
1611 * bufferparams.C (readToken): replace all calls to lex.nextToken
1612 by lex.next(). Do the same to eatLine except where really needed.
1614 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1615 line when writing to the lyx file.
1617 * output_plaintext.C (asciiParagraph): fix Bibliography style
1620 * text.C (read): fix end of file handling.
1622 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1624 * MenuBackend.C (Menu::operator[]): new method to access
1625 individual menu items
1626 (Menu::hasFunc): new method. search for an item that corresponds
1628 (MenuBackend::specialMenu): new method
1629 (MenuBackend::expand): if a special menu has been set, skip
1630 entries whose func() appears in this menu
1632 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1634 * text3.C: use Debug::DEBUG a bit more
1636 * text.C (leftMargin): try to simplify a tiny bit change var x to
1637 l_margin. Dont output the wide margins always.
1638 (rightMargin): no margin in inner texts
1640 * rowpainter.h (nestMargin): new func
1641 (changebarMargin): new func
1642 (rightMargin): new func
1644 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1648 * factory.C (createInset): modify setDrawFrame
1650 * cursor.C: use Debug::DEBUG a bit more
1652 2004-08-14 André Pönitz <poenitz@gmx.net>
1655 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1656 cache for all insets in (at least partially) visible (top-level)
1659 * BufferView_pimpl.C: reset external coord cache before every update.
1660 This means the coord cache only contains valid entries.
1662 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1665 * BufferView_pimpl.C (getInsetByCode): move function out of class
1666 and change in to a template in anon namespace. Also fix to do what
1669 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1672 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1674 (breakParagraph): rename par to par_offset and use a local
1675 reference. Add code to keep the language over a rebreak.
1676 (breakParagraphConservative): rename par to par_offset, use a
1678 (mergeParagraph): ditto
1680 (isFirstInSequence): ditto
1681 (outerFont): rename pit to par_offset
1683 * paragraph.C: ws change
1684 * paragraph.h: ditto
1688 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1693 * paragraph.C (simpleTeXOnePar): when we have a \item with
1694 optional argument, enclose the argument with curly brackets (in
1695 case it contains a closing square bracket)
1699 * text3.C (checkInsetHit): constify
1701 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1703 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1704 documents (bug 1629)
1706 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1708 Fix toggling of collapsable insets with the mouse (bug 1558)
1710 * lyxfunc.C (dispatch): adapt to LCursor changes
1712 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1713 make sure that dispatch is not invoked twice
1715 * cursor.C (needsUpdate): new method
1716 (dispatch): return void
1717 (result): new method, to access the DispatchResult of the cursor.
1719 2004-08-13 José Matos <jamatos@lyx.org>
1721 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1723 2004-08-13 André Pönitz <poenitz@gmx.net>
1725 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1727 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1730 2004-08-12 André Pönitz <poenitz@gmx.net>
1732 * text3.C: take out the 'cursor right' form insertInset and only
1733 do it in those places when it is really needed. Fixes crash on
1736 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1738 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1740 * BufferView_pimpl.C (setBuffer): initialize the current font of
1741 the underlying LyXText
1743 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1745 * kbsequence.C (print): use UI native formatting for menu
1748 * text.C (insertChar): call Paragraph::insertChar with a font
1751 * paragraph.C (insertInset, insertChar): the version that takes a
1752 LyXFont argument is now a wrapper around the other one (the
1753 opposite used to be true).
1755 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1756 argument. Font setting is done in Paragraph now.
1758 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1760 * outputparams.h: add new members intitle and lang.
1762 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1763 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1765 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1767 * text3.C (dispatch): remove special handling of button 4 and 5,
1768 it is now taken care of in the frontend code.
1770 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1772 * Spacing.h: add <string> (STLPort compile fix)
1774 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1776 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1778 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1780 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1783 * converter.C (showMessage): inherit from unary_function, make
1786 * buffer.C (writeFile): initialize retval
1788 * InsetList.h: rename private variable list to list_
1789 * InsetList.[Ch]: adjust accordingly.
1791 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1793 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1794 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1795 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1796 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1797 * ParagraphParameters.C, LaTeXFeatures.C: replace
1798 "support/std_sstream.h" with <sstream>
1800 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1802 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1803 * lyxsocket.C (LyXServerSocket): ditto
1804 (serverCallback): ditto
1806 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1808 * LaTeXFeatures.C: check release date when loading jurabib.
1810 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1812 * lyxserver.C (startPipe): call register_socket_callback
1813 (endPipe): call unregister_socket_callback
1815 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1817 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1818 (LyXServerSocket): register the callback
1819 (LyXServerSocket): unregister the callback
1820 (fd): delete function
1821 (serverCallback): improve error checking and setup the callbacks.
1822 (dataCallback): change arg to fd.
1823 (writeln): new func (copied fro the client socket) used for server
1825 (LyXDataSocket): simplify
1826 (~LyXDataSocket): close ann unregiser callback
1827 (server): delete function
1828 (fd): delete function
1829 (readln): small changes, improve some std::string usage
1830 (writeln): constify a bit
1832 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1834 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1837 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1840 after it has been populated
1842 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1844 * text2.C (insertInset): move cursor when inserting inset.
1846 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1848 * kbmap.C (findbindings): a couple of new methods. returns a
1849 container of kb_sequence objects. The real work is done by the
1850 private recursive version
1851 (printbindings): uses findbindings to print out a bracketed list
1852 of bindings (renamed from findbinding).
1854 * MenuBackend.C (binding): use kb_keymap::findbindings
1856 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1858 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1860 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1862 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1864 * paragraph.C (isWord): return true on insets that report
1867 * text.C (getWord): use Paragraph::isWord to decide what is in a
1868 word and what is not; fix bug 1609.
1870 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1872 * tex-strings.C: add "none" to string_paperpackages[], fixes
1873 off-by-one-error in the paperpackage selection.
1876 * tex-strings.[Ch]: char const * string[n]
1877 -> char const * const string[]
1879 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1881 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1882 command, return early.
1884 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1886 * debug.h: add DEBUG to enum and fix size of ANY.
1888 * debug.C: add support for Debug::DEBUG
1889 (showTags): cast errorTags.level to unsigned int
1891 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1892 (redoCurrentBuffer): ditto
1893 (updateScrollbar): ditto
1894 * cursor.C (dispatch): ditto
1895 * text2.C (setLayout): ditto
1897 (updateCounters): ditto
1899 (deleteEmptyParagraphMechanism): ditto
1901 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1903 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1904 annotations to cleanup the Makefile slightly.
1906 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1908 * lyxrc.C: do not set user_email to a default value but use empty
1909 instead. The entry used to be translated, which does not work
1910 since at the point where lyxrc is constructed there is no
1911 translation service available
1913 * messages.C (getLocaleDir): remove and use directly
1914 lyx_localedir() instead
1916 2004-06-02 Angus Leeming <leeming@lyx.org>
1918 Fix crash caused by dereferencing null pointer 'exportdata' in
1919 OutputParams by creating a new ExportData variable on the heap,
1920 storing it in a boost::shared_ptr.
1921 The crash was triggered when generating an Instant Preview
1922 of an external inset.
1924 * Makefile.am: add outputparams.C
1926 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1927 (c-tor): allocate memory to it.
1929 * exporter.C (c-tor): associated changes.
1931 2004-06-01 Angus Leeming <leeming@lyx.org>
1933 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1934 contains data before calling isInset(0). (Bug 1513.)
1936 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1938 * exporter.C (checkOverwrite): new method
1939 * exporter.C (copyFile): new method
1940 * exporter.C (Export): copy referenced files to the document dir
1941 * exporter.[Ch]: new class ExportedFile
1942 * exporter.[Ch]: new class ExportData. Contains currently the
1943 names of referenced external files
1944 * outputparams.h: add exportdata member.
1946 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1948 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1951 2004-05-19 Angus Leeming <leeming@lyx.org>
1956 * lyxfunc.C: small changes due to the introduction of namespace
1957 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1959 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1961 * text3.C (dispatch): supress update when only moving the cursor
1962 * cursor.C (selHandle): remove commented code
1964 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1966 * paragraph.C (startTeXParParams): correct column count
1967 * CutAndPaste.C (pasteSelection): remove const_cast
1968 * output_docbook.C (docbookParagraphs): remove const_cast
1969 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1970 const_cast and return ParagraphList::const_iterator
1971 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1972 * output_plaintext.C (writeFileAscii): remove const_cast
1973 * paragraph.[Ch] (simpleTeXOnePar): make const
1974 * paragraph_funcs.C (outerPar): use const iterators
1975 * paragraph_pimpl.C (validate): use const iterators
1976 * text.C (setHeightOfRow): use const iterators
1978 2004-05-17 Angus Leeming <leeming@lyx.org>
1981 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1983 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1984 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1985 if the citation engine has changed.
1987 2004-05-14 José Matos <jamatos@lyx.org>
1989 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1990 if the textclass does not provide it. Have it different for sgml and
1992 support the language of document.
1993 * output_docbook.C (docbookParagraphs):
1994 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1995 first anchor as the id of the paragraph, remove special case code.
1996 * sgml.C (escapeChar): escape only < & >.
1998 2004-05-14 Angus Leeming <leeming@lyx.org>
2000 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2001 dependencies on src/frontends/controllers/biblio.h. Define a
2002 CiteEngine_enum wrapper class to enable the enum to be forward
2005 2004-05-12 Angus Leeming <leeming@lyx.org>
2007 * buffer.C: up LYX_FORMAT to 234.
2008 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2009 use_numerical_citations with a single biblio::CiteEngine cite_engine
2011 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2013 2004-05-13 José Matos <jamatos@lyx.org>
2016 * converter.C (Converter, readFlags): add xml member.
2017 * outputparams.h: add XML flavor.
2018 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2020 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2022 * lyxfunc.C (dispatch):
2023 (getStatus): fix handling of LFUN_SEQUENCE
2025 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * debug.C (showLevel): do not forget the end-of-line marker
2029 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2031 * kbmap.C (read): do not stop parsing a bind file when an error
2034 2004-04-29 Angus Leeming <leeming@lyx.org>
2039 * text2.C: wrap a bunch of #warning statements
2040 inside #ifdef WITH_WARNINGS blocks.
2042 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2044 * buffer.C: increment format to 233.
2046 2004-04-28 Angus Leeming <leeming@lyx.org>
2048 * BufferView_pimpl.C:
2051 s/updateToolbar()/updateToolbars()/
2052 s/Toolbar.h/Toolbars.h/
2054 2004-04-28 Angus Leeming <leeming@lyx.org>
2056 * BufferView.[Ch] (c-tor):
2057 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2058 No longer passes these data to the WorkArea generator.
2060 2004-04-28 Angus Leeming <leeming@lyx.org>
2062 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2064 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2066 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2068 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2070 * output_latex.C (TeXEnvironment): make sure that there is a line
2071 break before \end{foo} for the last paragraph of a document
2072 (TeXOnePar): if the paragraph is at the end of the document (or
2073 inset) and the language has to be reset, then make sure that the
2074 line break is _before_ the language command, not after (fixes bug
2075 1225); also make sure that the language reset command is the first
2076 thing after the paragraph (to ensure proper nesting of
2077 environments and thus fix bug 1404)
2079 2004-04-21 John Levon <levon@movementarian.org>
2082 * ToolbarBackend.C: make "name" be a programmatic name
2083 and a gui_name field.
2085 * lyxfunc.C: display the minibuffer on M-x
2087 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2089 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2092 2004-04-19 Angus Leeming <leeming@lyx.org>
2094 * BufferView_pimpl.C (setBuffer): changed preview interface.
2096 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2099 2004-04-19 John Levon <levon@movementarian.org>
2101 * BufferView_pimpl.C:
2102 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2104 2004-04-05 Angus Leeming <leeming@lyx.org>
2106 * text.C (redoParagraphs): add call to updateCounters(), thereby
2107 fixing the missing "Figure #:" label from the caption of a
2110 2004-04-13 Angus Leeming <leeming@lyx.org>
2112 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2113 cursor is clicked out of an inset.
2115 2004-04-13 Angus Leeming <leeming@lyx.org>
2117 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2118 than an InsetOld one.
2120 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2122 * format.[Ch]: add editor to Format
2123 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2124 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2126 2004-04-08 André Pönitz <poenitz@gmx.net>
2128 * metricsinfo.h: remove PainterInfo::width member
2130 2004-04-08 Angus Leeming <leeming@lyx.org>
2132 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2133 "\providecommand" rather than "\newcommand", thereby preventing
2134 clashes with packages that define "\boldsymbol" themselves.
2137 2004-04-08 Angus Leeming <leeming@lyx.org>
2139 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2140 thereby squashing an unnecessary warning.
2142 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2144 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2147 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2149 * BufferView.C (setCursor): call redoParagraph (some insets could
2151 (putSelectionAt): remove the 'double update' trick
2153 * BufferView_pimpl.C (fitCursor): call refreshPar
2154 (workAreaDispatch): remove an uneeded update call
2155 (dispatch): remove some manual update calls
2157 * cursor.[Ch]: remove cached_y_, updatePos
2158 (selHandle): set noUpdate when appropriate
2160 * lyxfunc.C (dispatch): track if we need an update
2162 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2164 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2165 (paintSelection): cheap optimization, do not call cursorX when not
2167 (paintPars): change signature
2170 (paintTextInset): adjust
2174 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2176 * lengthcommon.C: compilation fix: remove explicit array size from
2177 unit_name[] and friends
2179 2004-04-05 Angus Leeming <leeming@lyx.org>
2181 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2183 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2184 present only for the preferences dialog.
2185 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2187 2004-04-05 Angus Leeming <leeming@lyx.org>
2189 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2190 to enable the frontends to export changes to lyxrc correctly.
2192 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2194 2004-04-07 André Pönitz <poenitz@gmx.net>
2196 * cursor.[Ch] (selClear, adjust): remove math
2198 * cursor_slice.C: more agressive assert
2201 * BufferView_pimpl.C: rework mouse event dispatch
2208 2004-04-05 André Pönitz <poenitz@gmx.net>
2210 * cursor.[Ch] (valign, halign...): remove unneeded functions
2212 2004-04-05 Angus Leeming <leeming@lyx.org>
2214 * lyxlength.[Ch] (unit_name et al.): const-correct.
2216 2004-04-05 Angus Leeming <leeming@lyx.org>
2218 * BufferView_pimpl.C:
2227 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2229 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2231 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2233 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2235 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2236 * BufferView_pimpl.[Ch] (getStatus)
2237 * BufferView.[Ch] (getStatus): add
2238 * lyxfunc.C (getStatus): move lfuns handled in
2239 BufferView::dispatch to te function above
2240 * Cursor.C (setSelection): set selection() = true
2242 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2244 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2246 2004-03-31 Angus Leeming <leeming@lyx.org>
2248 * lyxfunc.C (dispatch): Fall through to the generic
2249 Dialogs::show("preamble").
2251 2004-03-31 Angus Leeming <leeming@lyx.org>
2253 * lyxfunc.C (dispatch): Fall through to the generic
2254 Dialogs::show("spellchecker").
2256 2004-03-31 Angus Leeming <leeming@lyx.org>
2258 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2261 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2266 * insetiterator.[Ch]:
2271 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2273 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2275 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2276 insets where we are putting the cursor.
2278 2004-03-31 Angus Leeming <leeming@lyx.org>
2281 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2283 * lyxrc.[Ch] (read, write): overloaded member functions taking
2284 a std::[io]stream arguments.
2286 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2288 2004-03-31 Angus Leeming <leeming@lyx.org>
2290 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2291 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2293 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2294 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2296 2004-03-31 Angus Leeming <leeming@lyx.org>
2298 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2299 the LFUN_ALL_INSETS_TOGGLE code.
2301 2004-03-30 Angus Leeming <leeming@lyx.org>
2303 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2304 has died. Fall through to the generic Dialogs::show("document").
2306 2004-03-30 Angus Leeming <leeming@lyx.org>
2309 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2310 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2312 * lyxfunc.C (getStatus, dispatch): define the actions for these
2313 lfuns. Little more than a cut and pste job from ControlDocument.C
2315 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2317 2004-03-30 Angus Leeming <leeming@lyx.org>
2320 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2321 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2323 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2324 open/closed state of ollapsable insets. Usage:
2326 all-inset-toggle <state> <name>, where
2327 <state> == "open" || "closed" || "toggle" and
2328 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2330 * lyxtext.h, text2.C (toggleInset): removed.
2332 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2333 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2334 now passes LFUN_INSET_TOGGLE to the found inset.
2336 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2337 is now invoked as "all-insets-toggle toggle branch".
2339 2004-03-30 Angus Leeming <leeming@lyx.org>
2343 * pariterator.[Ch]: added/corrected header blurb.
2345 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2347 * dociterator.[Ch]: add an inset_ member
2348 (backwardPos): implemented
2349 (backwardPos, forwardPos): use inset_ when the stack is empty.
2350 (doc_iterator_begin, doc_iterator_end): implemented
2351 * pariterator.[Ch]: adjust, add begin, end
2352 * insetiterator.[Ch]: adjust, add begin, end
2356 * BufferView_pimpl.C:
2357 * CutAndPaste.C: adjust
2359 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2361 * buffer.C: increment file format to 232.
2362 * LaTeXFeatures.C: add bibtopic package.
2363 * bufferparams.[Ch]: param \use_bibtopic.
2365 * lyxrc.[Ch]: add lyxrc bibtex_command
2366 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2368 * buffer.C: increment file format to 231.
2370 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2372 * dociterator.C: implement forwardPar
2373 * iterators.[Ch]: remove, replaced by
2374 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2376 * BufferView_pimpl.C:
2379 * bufferview_funcs.C:
2385 * Makefile.am: adjust
2387 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2389 * CutAndPaste.C (pasteSelection): fix 2 crashes
2390 (eraseSelection): fix a crash
2391 * paragraph_funcs.C: remove a warning
2393 2004-03-28 Angus Leeming <leeming@lyx.org>
2396 * LyXAction.C (init): new LFUN_PRINT.
2398 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2400 2004-03-27 Angus Leeming <leeming@lyx.org>
2403 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2405 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2407 2004-03-27 Angus Leeming <leeming@lyx.org>
2409 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2410 insetlist always contains non-null pointers to insets.
2412 2004-03-26 Angus Leeming <leeming@lyx.org>
2414 * src/BufferView_pimpl.C:
2415 * src/CutAndPaste.C:
2418 * src/output_plaintext.C:
2419 * src/outputparams.h:
2420 * src/paragraph_funcs.C:
2424 * src/frontends/controllers/ControlErrorList.C:
2425 * src/frontends/gtk/FileDialogPrivate.C:
2426 * src/frontends/gtk/GPainter.C:
2427 * src/frontends/gtk/GToolbar.C:
2428 * src/frontends/qt2/QRef.C:
2429 * src/mathed/math_scriptinset.C: squash compiler warnings.
2431 2004-03-26 Angus Leeming <leeming@lyx.org>
2433 * ispell.C (LaunchIspell::start):
2434 * lyx_cb.C (AutoSaveBuffer::start):
2435 invoke run(DontWait) rather than runNonBlocking().
2437 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2439 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2441 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2443 * kbsequence.C (print): adjust
2445 * kbmap.C (printKeySym): rename and change signature
2446 (printKey): use LyXKeySym::print()
2448 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2450 * undo.C: add using std::advance to compile for stlport
2452 2004-03-24 Angus Leeming <leeming@lyx.org>
2454 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2455 it leads to a crash when no buffer is present.
2457 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 Martin Vermeer <martin.vermeer@hut.fi>
2460 * lyxfunc.C (dispatch):
2461 * bufferparams.C (readToken): use the new LColor::setColor
2463 * LColor.[Ch] (setColor): new version that takes two strings as
2464 argument and creates a new color entry if necessary
2466 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2468 * buffer.C (makeLaTeXFile): if the main latex file that is
2469 processed is usually a subdocument of some master, then pretend
2470 for a while that it is actually the master
2472 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2474 * buffer.C (getLabelList):
2475 (getBibkeyList): use getMasterBuffer()
2476 (getMasterBuffer): new method. Returns the main document in the
2477 case where one is using included documents.
2479 2004-03-25 André Pönitz <poenitz@gmx.net>
2483 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2485 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2487 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2488 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2490 * ParameterStruct.h: merge with ParagraphParameters
2492 * lyxtext.h: remove LyXText::parOffset() and getPar()
2494 * text3.C: Remove all 'manual' update calls. We do now one per user
2495 interaction which is completely sufficient.
2499 * BufferView_pimpl.C:
2500 * FontIterator.[Ch]:
2502 * ParagraphParameters.[Ch]:
2507 * cursor_slice.[Ch]:
2514 * output_docbook.[Ch]:
2515 * output_latex.[Ch]:
2516 * output_linuxdoc.[Ch]:
2517 * output_plaintext.[Ch]:
2519 * paragraph_funcs.[Ch]:
2520 * paragraph_pimpl.[Ch]:
2528 * frontends/controllers/ControlDocument.C:
2529 * frontends/controllers/ControlErrorList.C:
2530 * frontends/controllers/ControlSpellchecker.C:
2533 * insets/insetbase.h:
2534 * insets/insetbibitem.C:
2535 * insets/insetbox.C:
2536 * insets/insetbranch.C:
2537 * insets/insetcaption.C:
2538 * insets/insetcharstyle.C:
2539 * insets/insetcharstyle.h:
2540 * insets/insetcollapsable.C:
2541 * insets/insetcollapsable.h:
2542 * insets/insetert.C:
2543 * insets/insetfloat.C:
2544 * insets/insetfoot.C:
2545 * insets/insetmarginal.C:
2546 * insets/insetnote.C:
2547 * insets/insetoptarg.C:
2548 * insets/insettabular.C:
2549 * insets/insettext.C:
2550 * insets/insettext.h:
2551 * insets/insetwrap.C:
2552 * mathed/math_mboxinset.C:
2553 * mathed/math_nestinset.C:
2554 * mathed/math_scriptinset.C:
2555 * mathed/math_scriptinset.h:
2558 2004-03-24 Angus Leeming <leeming@lyx.org>
2560 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2561 deal with any child processes that have finished but are waiting to
2562 communicate this fact to the rest of LyX.
2564 2004-03-24 Angus Leeming <leeming@lyx.org>
2566 64-bit compile fixes.
2568 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2569 (c-tor): pass lyx::pos_types rather than ints.
2571 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2574 * text.C (Delete): compile fix.
2575 (getPar): ensure that function declaration is the same as that in
2578 2004-03-23 Angus Leeming <leeming@lyx.org>
2580 * ispell.C (LaunchIspell):
2581 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2582 a boost::shred_ptr rather than a std::auto_ptr.
2584 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2586 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2587 handle LFUN_FILE_INSERT_*
2589 * lyxrc.C (setDefaults, getDescription, output, read):
2590 * lyxrc.h: remove ps_command
2592 2004-03-22 Angus Leeming <leeming@lyx.org>
2594 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2595 Ensure that error_handler is processed once only and that all data
2596 is saved before attempting to output any warning messages.
2598 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2600 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2602 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2604 2004-03-19 André Pönitz <poenitz@gmx.net>
2606 * cursor.[Ch] (reset): take main text inset as argument
2608 * BufferView: adjust
2609 * BufferView_pimpl.C: adjust
2611 * paragraph.[Ch]: fix completely broken operator=()
2613 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * LColor.C (getFromLyXName): make sure that the color name is used
2618 2004-03-17 Angus Leeming <leeming@lyx.org>
2621 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2623 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2624 dialog and to kill a forked process.
2626 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2628 * text2.C (setCursorFromCoordinates): fix font problem
2630 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2632 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2633 bogus "rebuild cursor" code
2635 2004-03-11 André Pönitz <poenitz@gmx.net>
2637 * buffer.[Ch]: use InsetText instead of LyXText as container for
2640 * dociterator.[Ch]: drop the BufferView * member which is not needed
2641 anymore after the change to buffer.C
2643 * paragraph_funcs.C:
2647 * BufferView_pimpl.[Ch]:
2649 * cursor_slice.[Ch]: adjust
2651 * text3.C: fix bug in mathDispatch
2653 2004-03-08 André Pönitz <poenitz@gmx.net>
2655 * undo.[Ch]: use 'StableDocumentIterator' as base for
2658 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2661 * bufferparams.[Ch]: add jurabib support and param.
2663 * LaTeX.C: add FIXME/comment.
2665 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2667 * buffer.C: increment file format to 230.
2669 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2671 * cursor.C (dispatch): avoid infinite loops
2673 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2675 * rowpainter.C (paintSelection): fix x coordinates
2677 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2679 * text.C (rowBreakPoint): fix breaking before displayed insets
2681 2004-03-01 André Pönitz <poenitz@gmx.net>
2683 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2685 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2689 * BufferView_pimpl.C:
2697 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2703 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2704 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2706 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2708 * Bidi.[Ch] (computeTables): const correctness
2709 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2710 fill_hfill, fill_label_hfill and x from Row
2711 * lyxtext.h: prepareToPrint returns a RowMetrics
2712 * rowPainter.C: adjust
2713 * text.C (prepareToPrint): use width, not textWidth. adjust
2714 (redoParagraphInternal, cursorX): adjust
2715 * text2.C (getColumnNearX): adjust
2716 (init): put a default value to the top LyXText::width
2718 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2720 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2722 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2724 * lyxtext.h: add FontIterator class
2726 * text.C (FontIterator, operator*, operator->, operator++): add
2727 (rowBreakPoint, setRowWidth): adjust (fixing a
2730 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2732 * BufferView_pimpl.C (workAreaDispatch): allow also
2733 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2735 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2737 * text.C (rowBreakPoint): fix a bug showing with very large insets
2739 2004-02-25 André Pönitz <poenitz@gmx.net>
2742 * cursor.[Ch]: move some mathed specific code to mathed
2744 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2746 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2747 use_tempdir in preferences
2748 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2750 * lyx_main.C: ensure that tempdir is valid
2751 * lyxlex.h: correct typo
2752 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2753 * paragraph.[Ch] (isMultiLingual): make const
2754 * cursor.[Ch] (openable): make const
2756 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2758 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2760 2004-02-20 André Pönitz <poenitz@gmx.net>
2762 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2764 * cursor.[Ch]: prepare for localized getStatus()
2770 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2772 2004-02-20 André Pönitz <poenitz@gmx.net>
2774 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2776 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2778 * text2.C (setCursorFromCoordinates): switch to absolute coords
2780 (cursorDown): adjust
2781 * text3.C (dispatch): adjust
2783 2004-02-16 André Pönitz <poenitz@gmx.net>
2785 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2788 * cursor_slice.[Ch]: remove unneeded acessor function
2790 * lyxtext.h: rename rtl() to isRTL()
2798 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2800 * rowpainter.C (paintSelection): coord fix
2802 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2804 * Spacing.C: compile fix
2806 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2808 * cursor.C (dispatch): restore current_ before returning
2810 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2812 * text2.C (cursorUp, cursorDown): fix coords
2815 2004-02-12 André Pönitz <poenitz@gmx.net>
2820 * text3.C: add LCursor & parameter to most cursor movement functions
2821 remove usage of LyXText::cursorRow() and cursorPar()
2823 * cursor.[Ch]: add textRow() needed members
2826 * BufferView_pimpl.C:
2829 * BufferView_pimpl.C: adjust
2831 2004-02-11 André Pönitz <poenitz@gmx.net>
2835 * BufferView_pimpl.C: shift undo/redo handling
2837 * cursor.[Ch]: fix mathed crash
2840 * lyxtext.h: move selectionAsText to LCursor
2848 * rowpainter.C: fix excessive drawing
2850 2004-02-06 André Pönitz <poenitz@gmx.net>
2853 * BufferView_pimpl.[Ch]:
2854 * text3.C: move some text specific LFUN handling
2856 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2858 * text3.C (checkInsetHit): adjust coords
2859 * text2.C (getColumnNearX): adjust coords
2860 (edit): adjust coords
2861 * text.C (getRowNearY): add two asserts
2863 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2866 * format.C: add using std::distance to compile on gcc 2.95/stlport
2868 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2870 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2872 2004-02-04 André Pönitz <poenitz@gmx.net>
2874 * BufferView.[Ch] (insertInset):
2875 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2880 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2882 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2883 on the default clause of the switch
2884 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2885 wasn't catched by LCursor::dispatch
2887 2004-02-03 André Pönitz <poenitz@gmx.net>
2890 * cursor.[Ch]: some additional asserts
2892 * undo.[Ch]: remove LyXText dependency in interface
2896 * lyxtext.h (firstPar, lastPar): remove dead functions
2901 * paragraph.[Ch]: adjust
2903 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2905 * lyxfind.C (find): fix argument order in call to ::find
2907 2004-02-02 André Pönitz <poenitz@gmx.net>
2909 * cursor.[Ch]: remove direct access to anchor
2911 * text.C: remove findText() hack
2913 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2915 * iterators.[Ch] (lockPath): remove in favour of...
2916 * BufferView.[Ch] (setCursor): this addition
2917 * BufferView.C (putSelectionAt): adjust
2918 * undo.C (performUndoOrRedo): adjust
2919 * lyxfunc.C (dispatch): adjust
2921 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2923 * iterators.C (lockPath): add a missing slice
2924 * undo.C (performUndoOrRedo): remove redundant positioning code
2926 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2928 * vc-backend.C (scanMaster): ";" -> ';'
2930 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2932 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2933 std::binary_function
2935 * lyxtextclass.C (compare_name): rename to...
2936 (LayoutNamesEqual): ...this
2938 * lyxlex_pimpl.C (compare_tags): inherit from
2939 std::binary_function, put back into anon namespace
2941 * lyxfind.C (MatchString): inherig from std::binary_function
2942 (findChange): use empty() istead of !size()
2944 * format.C (FormatNamesEqual): new functor
2951 * converter.C (compare_Converter): rename to...
2952 (ConverterEqual): ...this, and fixup a bit.
2953 (getConverter): use it, and make function const
2954 (getNumber): use it, and make function const
2958 * bufferlist.C: add using boost::bind
2960 * MenuBackend.C (MenuNamesEqual): new functor
2961 (hasMenu): use it, and make function const
2962 (hasSubmenu): use nested bind to get rid of compare_memfun.
2964 2004-01-30 André Pönitz <poenitz@gmx.net>
2966 * BufferView_pimpl.C:
2969 * cursor_slice.[Ch]:
2972 * paragraph_funcs.C:
2973 * paragraph_funcs.h:
2977 * text3.C: move some of the edit(x,y) handling to the insets
2978 some coordinate changes.
2980 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2982 * text.C: add using statements for std::advance and std::distance
2984 * paragraph.C: add using statement for std::distance
2986 * lyxfind.C: add using statement for std::advance
2988 * cursor.C (region): remove std:: from swap
2989 (openable): use nucleus in stead of operator->
2991 * BufferView.C: add using statements for std::distance and std::swap
2993 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2995 * iterators.C: Remove the pimple, move the needed structures to
2996 the header file. Create accessor for the positions stack.
2997 (asPosIterator): remove function
2999 * PosIterator.C (PosIterator): move constructors to top of file
3000 (PosIterator): reimplement the constructor taking a ParIterator in
3002 (setFrom): new function
3003 (operator!=): inline it
3005 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3007 * lyxfind.C (replaceAll): use std::advance
3009 * iterators.h: inherit from std::iterator.
3011 * PosIterator.C (advance, distance): remove
3012 * PosIterator.h: interit from std::iterator.
3014 2004-01-26 André Pönitz <poenitz@gmx.net>
3017 * BufferView_pimpl.[Ch]:
3021 * bufferview_funcs.C:
3031 * output_linuxdoc.C:
3032 * output_plaintext.C:
3034 * paragraph_funcs.[Ch]:
3035 * paragraph_pimpl.[Ch]:
3041 * text3.C: more IU: dumps most of the rest of the mathcursor
3042 implementation into cursor.[Ch]; "globalize" a bit of it.
3044 2004-01-25 Angus Leeming <leeming@lyx.org>
3046 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3048 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3050 * LaTeXFeatures.h: add nice_ and nice() const
3051 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3053 2004-01-20 André Pönitz <poenitz@gmx.net>
3056 * BufferView_pimpl.C:
3058 * bufferview_funcs.C:
3060 * cursor_slice.[Ch]:
3071 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3072 LCursor and mathcursor parts to LCursor and InsetBase.
3074 2004-01-15 André Pönitz <poenitz@gmx.net>
3076 * cursor_slice.[Ch]: add a few covienience functions
3078 * funcrequest.[Ch]: remove BufferView * member
3080 * BufferView_pimpl.C:
3087 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3089 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3091 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3092 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3094 2004-01-13 André Pönitz <poenitz@gmx.net>
3097 * lyxtext.h: hide cursor and selection anchor behind accessor function
3100 * BufferView_pimpl.[Ch]:
3102 * bufferview_funcs.C:
3112 * cursor_slice.[Ch]: some integer type changes for inset unification
3114 * lyxcursor.[hC]: remove, it's CursorSlice now.
3117 * BufferView_pimpl.[Ch]:
3118 * bufferview_funcs.C:
3124 * textcursor.[Ch]: adjust
3126 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3128 * text2.C (undoSpan): add and use
3129 * text.C (breakParagraph): use undoSpan (fix bug 578)
3132 2004-01-08 Angus Leeming <leeming@lyx.org>
3134 * BufferView_pimpl.C (MenuInsertLyXFile):
3135 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3136 * lyxfunc.C (menuNew, open, doImport):
3137 FileFilterList change to the FileDialog open and save functions.
3139 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3141 * ShareContainer.h: make isEqual and isUnique adaptable
3143 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3145 2004-01-07 Angus Leeming <leeming@lyx.org>
3148 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3150 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3152 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3153 functions replacing find, replace and replaceAll.
3155 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3156 LFUN_WORDFIND(FORWARD|BACKWARD).
3158 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3160 * text.C (breakParagraph): remove an outdated #warning
3162 2004-01-07 André Pönitz <poenitz@gmx.net>
3164 * lyxfind.C: somewhat clearer logic
3166 * text.C: prevent crash in cursorX on unitialized row cache
3168 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3170 * lyxcursor.[Ch] (operator>): add
3171 * textcursor.C (selStart, selEnd): use std::min and std::max
3173 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3175 * Chktex.C: include boost/format.hpp
3177 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3179 * InsetList.C: replace functor MathcIt with adaptable functor
3181 (insetIterator): modify accordingly
3183 * BranchList.h: move the BranchNamesEqual functor here from...
3184 * BranchList.C: ... to here
3186 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3188 (add): replace a finding loop with std::find_if.
3190 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3192 * output_docbook.C: moving LatexParam functionality into
3195 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3197 * buffer.C: increment format to 229.
3199 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3202 * lyx_sty.[Ch]: remove minipageindent_def
3208 * text3.C: remove LFUN_INSET_MINIPAGE
3210 2003-12-28 Angus Leeming <leeming@lyx.org>
3212 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3214 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3216 * text2.C (setParagraph): fix off-by-one crash
3218 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3220 * output_docbook.C: header stuff for AGU
3222 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3224 * text2.C (redoCursor): remove
3227 * BufferView_pimpl.C: remove calls to redoCursor and
3228 setCursor(cursor.par(), cursor.pos()) all around
3230 2003-12-15 Angus Leeming <leeming@lyx.org>
3232 * buffer.C: up the format to 228.
3234 2003-12-15 André Pönitz <poenitz@gmx.net>
3236 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3241 * BufferView_pimpl.C:
3250 2003-12-15 Angus Leeming <leeming@lyx.org>
3252 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3253 than getFromGUIName to manipulate the color.
3255 2003-12-14 Angus Leeming <leeming@lyx.org>
3257 * BranchList.[Ch]: minimize the API.
3258 (Branch::getBranch, getColor): now return a 'const &'.
3259 (Branch::setSelected) now returns a bool set to true if the
3260 selection status changes.
3261 (BranchList::clear, size, getColor, setColor, setSelected,
3262 allBranches, allSelected, separator): removed.
3263 (BranchList::find): new functions, returning the Branch with
3265 (BranchList::add, remove): return a bool indicating that
3266 the operation was successful.
3268 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3269 new InsetBranch::isBranchSlected member function.
3271 * LColor.[Ch]: mimimize the API.
3272 (fill): renamed as addColor and made private.
3273 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3274 versions of these functions taking a string arg have been removed.
3276 * bufferparams.C (readToken):
3277 * lyxfunc.C (dispatch):
3278 * lyxrc.C (read): changes due to the altered BranchList and
3281 * factory.C (createInset, readInset): changes due to altered
3284 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3287 * lyxfunc.C: remove insetminipage. "minipage-insert"
3288 now produces a frameless minipage box inset.
3290 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3292 * textcursor.[Ch] (selStart,selEnd): add new methods
3293 remove selection::start, end, use LyXCursor::operator<
3294 * lyxcursor.[Ch] (operator<): add
3295 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3296 * BufferView.[Ch] (unsetXSel): add
3297 * text2.C (clearSelection): use unsetXSel,adjust
3300 * rowpainter.C: adjust
3301 * bufferview_funcs.C (put_selection_at): adjust
3303 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3305 * BufferView_pimpl.C: small coord. correction
3307 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3309 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3310 dragging over the splash screen.
3312 2003-12-11 Angus Leeming <leeming@lyx.org>
3314 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3315 as it is now handled in LyXText::dispatch.
3317 * text3.C (doInsertInset): remove a level of nesting.
3319 2003-12-11 Angus Leeming <leeming@lyx.org>
3321 * factory.C (createInset): changes due to the changed interface to
3322 InsetCommandMailer::string2params.
3324 2003-12-10 Angus Leeming <leeming@lyx.org>
3326 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3327 'dialog-show-new-inset <inset name>'
3329 2003-12-10 Angus Leeming <leeming@lyx.org>
3331 * buffer.C: up the format to 227.
3333 * factory.C: the box inset is now identified simply by 'Box'.
3335 2003-12-10 Angus Leeming <leeming@lyx.org>
3337 * buffer.C: up the format to 226.
3339 * factory.C: the note inset is now identified simply by 'Note'.
3341 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3343 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3344 when a pit is enough. Standarize a couple of loops.
3346 2003-12-05 Angus Leeming <leeming@lyx.org>
3348 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3349 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3350 data to the re-worked "log" dialog.
3352 2003-12-03 André Pönitz <poenitz@gmx.net>
3358 * paragraph_funcs.C:
3360 * text2.C: use Inset::getText instead of Inset::getParagraph
3362 2003-12-03 André Pönitz <poenitz@gmx.net>
3366 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3367 InsetText::read() as LyXText::read()
3369 2003-12-02 Angus Leeming <leeming@lyx.org>
3371 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3372 type. Add a comment in the implementation that the function uses
3373 the stream's bad() function rather than fail() as the std::streams
3376 2003-12-02 André Pönitz <poenitz@gmx.net>
3378 * lyxlex.[Ch]: make interface more similar to std::stream
3380 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3382 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3384 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3386 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3388 * vspace.[Ch]: remove VSpace::NONE
3390 2003-12-01 André Pönitz <poenitz@gmx.net>
3393 * lyxtext.h: move ParagraphList member to LyXText
3394 rename LyXText::ownerParagraphs to LyXText::paragraph
3397 * bufferview_funcs.C:
3407 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3409 * undo.C: fix cursor positioning
3411 2003-12-01 John Levon <levon@movementarian.org>
3413 * BufferView_pimpl.C: fix a crash on exit with
3416 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3418 * BranchList.C: fix setSelected() method.
3420 2003-11-28 André Pönitz <poenitz@gmx.net>
3422 * ParagraphParameters.[Ch]:
3423 * ParameterStruct.h: remove space above/below from Paragraph to
3426 * BufferView_pimpl.C:
3432 * paragraph_funcs.C:
3438 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3440 * factory.C: Syntax change for CharStyles
3442 2003-11-28 André Pönitz <poenitz@gmx.net>
3447 * buffer.[Ch]: move LyXText member
3449 2003-11-28 André Pönitz <poenitz@gmx.net>
3451 * BufferView.[Ch]: make LyXText * text a private member
3453 * BufferView_pimpl.C:
3464 * output_plaintext.C: cleanup
3466 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3469 * lyxtextclass.[Ch]: parametrize SGML document header
3471 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3474 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3477 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3479 * text2.C (setFont): rework using PosIterator (no more recursive)
3480 (setCharFont): no more needed
3481 (setLayout): no more selection cursors fiddling (done by redoCursor)
3482 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3483 destroy remaining ones)
3485 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3487 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3489 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3492 * text3.C: adjust + re-allow multi par depth changes
3493 * textcursor.C: simplify a bit
3495 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3501 * src/output_docbook.C:
3502 * src/output_latex.C:
3507 * src/text2.C: Introducing a number of tags parametrizing various
3508 XML formats that we may want to support
3510 2003-11-25 André Pönitz <poenitz@gmx.net>
3512 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3514 * lyxtext.h (leftMargin/rightMargin): simplify interface
3521 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3523 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3524 master file to any child files. Fixes bug 546.
3526 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3528 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3530 2003-11-24 André Pönitz <poenitz@gmx.net>
3532 * rowpainter.C: simplification
3534 * text2.C (updateCounters): remove call to redoParagraph on
3535 changed labels as this is far too expensive.
3537 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3539 * converter.C (convert): fix a crash: this function gets
3540 called with buffer == 0 from importer code.
3542 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3544 * text3.C (cursorPrevious): make sure that we do not compare
3545 iterators form different containers.
3548 * rowpainter.C (paintSelection): make sure that we do not compare
3549 iterators from different containers.
3551 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3552 iterators from different ParagraphList containers.
3555 * text2.C (LyXText): change order of initialization slightly
3556 (operator=): new function. copy all variables except cache_par_
3557 (moveUp): make sure that we do not compare iterators from
3558 different ParagraphList constainers.
3561 * text.C (firstPar): new function
3562 (lastPar): new function
3563 (endPar): new function
3565 * lyxtext.h: move things around and group public functions, public
3566 variables, private functions, private variables
3568 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3570 * factory.C: change call to InsetERT constructor to avoid
3571 additional invocation of method status
3572 * text2.C (toggleInset): remove redundant update() call
3573 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3574 instead of a Bufferview pointer
3576 2003-11-21 André Pönitz <poenitz@gmx.net>
3578 * rowpainter.C: simplification
3580 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3582 * text3.C (dispatch): make possible to extend a word/row selection
3585 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3587 * lyxtext.h: x0_,y0_ -> xo_,yo_
3588 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3589 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3590 * rowpainter.C (paintRows): paint full paragraphs
3592 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3594 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3597 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3599 * lyxtext.h: add x0_, y0_
3600 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3601 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3603 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3605 * text2.C (setCursorIntern): move the x_target update here *
3606 * text3.C: change some bv() to true/false in calls to
3607 cursorUp/Down/Right/Left
3608 * cursor.C: use helper function.
3610 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3612 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3613 * paragraph_funcs.[Ch]: correct comment
3614 * rowpainter.C: do not paint selections away from bv->cursor()
3615 Fix a long standing selection painting bug.
3616 * text3.C: generalize mouse-selection code to LyXTexts other that
3618 * textcursor.C: do not use y coords if we can use par offsets
3620 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3622 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3623 cursor position after e.g. inset insert)
3625 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3627 * lyxfind.C (replace): adjust to locking removal + some
3630 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3632 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3635 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3638 * output_docbook.C: XML sanitation: new layout
3639 parameters InnerTag and CommandDepth
3641 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3643 * BufferView_pimpl.C:
3645 * text3.C: Fix the insertion and modification of button-style
3648 2003-11-13 André Pönitz <poenitz@gmx.net>
3650 * InsetList.[Ch]: remove deleteLyXText
3652 * paragraph.[Ch]: cache beginOfBody position
3657 * text3.C: remove superfluous update() calls
3661 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3663 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3664 * BufferView.C (fitLockedInsetCursor): remove
3665 * cursor.[Ch] (getDim): add
3666 * text.C (getRowNearY): add faster version
3667 * text3.C: remove some update calls
3669 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3681 * text3.C: The Character Style /XML short element patch.
3683 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3686 * factory.C: Small step to solving 'unable to insert some insets'
3689 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3691 * cursor.[Ch] (updatePos): new function for updating the y
3692 position of the tip inset
3693 * bufferview_funcs.C (put_selection_at):
3694 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3696 2003-11-11 André Pönitz <poenitz@gmx.net>
3698 * text.C: remove big comment on invalid Paragraph pointers as it is
3701 2003-11-11 André Pönitz <poenitz@gmx.net>
3703 * text_funcs.[Ch]: merge with ...
3711 * Makefile.am: remove text_funcs.[Ch]
3713 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3715 * cursor.C (getPos): return absolute cached y coord
3717 * BufferView_pimpl.C (fitCursor): new simplistic code
3718 (workAreaDispatch): add a fitCursor call
3720 2003-11-10 André Pönitz <poenitz@gmx.net>
3723 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3725 2003-11-10 André Pönitz <poenitz@gmx.net>
3727 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3728 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3729 indicate that the cursor needs to leave an inset
3731 * lyxtext.h: remove inset locking
3733 * cursor.[Ch]: re-implement functionality provided by inset locking
3736 * BufferView_pimpl.[Ch]:
3738 * bufferview_funcs.[Ch]:
3750 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3752 * PosIterator.[Ch]: replace the stack with a vector, add inset
3754 * iterators.[C]: adjust
3756 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3758 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3760 * paragraph_funcs.C (readParToken): put the correct id in the
3761 error item, not the id of the top paragraph
3763 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3765 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3766 * bufferview_funcs.C (put_selection_at): use the above
3768 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3770 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3772 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3774 * output_linuxdoc.h:
3775 * output_plaintext.h:
3777 * output_docbook.h: add #include statements
3779 2003-11-05 José Matos <jamatos@lyx.org>
3781 * output_docbook.[Ch]:
3782 * output_latex.[Ch]:
3783 * output_linuxdoc.[Ch]:
3784 * output_plaintext.[Ch]: New files for output formats.
3785 * output.[Ch]: New file for helper functions.
3788 * paragraph_funcs.[Ch]: output functions moved to new files.
3790 * outputparams.h: rename of latexrunparams.h
3798 * paragraph_funcs.[Ch]:
3799 * paragraph_pimpl.[Ch]:
3800 * tabular.[Ch]: rename ascii to plaintext
3801 and LatexRunParams to OutputParams.
3803 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3805 * iterators.[Ch] (text): require bv argument
3806 * undo.C (recordUndo):
3807 * lyxfunc.C (dispatch):
3808 * bufferview_funcs.C (put_selection_at): adjust
3810 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3812 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3814 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3816 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3819 2003-11-04 André Pönitz <poenitz@gmx.net>
3821 * cursor.[Ch]: restructure
3824 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3826 * iterators.[Ch] (asCursor): remove
3828 * lfuns.h: remove LFUN_INSET_EDIT
3834 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3836 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3838 * lyxfind.[Ch]: complete overhaul
3839 * BufferView_pimpl.C:
3841 * paragraph.[Ch] (insert): add
3843 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3847 * text.C: remove dead spellcheck code
3849 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * dispatchresult.h: add a val setter
3853 * cursor.C (dispatch): use a tempvar for data_[i]
3855 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3857 * PosIterator.[Ch]: compile fix
3859 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3861 * text.C (cursorPar): deactivate the cursor cache
3863 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3865 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3867 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * text3.C (dispatch): adjust for new DisptchResult semantics.
3871 * lyxfunc.C (dispatch): handle update when return from
3872 Cursor::dispatch, adjust for new DispatchResult semantics.
3874 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3875 DispatchResult(true) mean to not update. Add class functions for
3876 setting dispatched and update, as well as reading.
3878 * cursor.C (dispatch): don't handle update here
3880 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3883 * trans_mgr.C: adjust
3885 * paragraph_funcs.C (readParToken): exception safety
3887 * lyxvc.h: store the vcs pointer in a scoped_ptr
3890 * lyxsocket.C (serverCallback): exception safety
3892 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3894 * ispell.C (clone): make it return a auto_ptr
3896 * factory.C (createInset): exception safety
3897 (readInset): exception safety
3899 * bufferlist.C (newBuffer): exception safety
3901 * Thesaurus.C (Thesaurus): use initialization for aik_
3903 * MenuBackend.C (expandToc): exception safety.
3905 2003-11-03 André Pönitz <poenitz@gmx.net>
3909 * bufferview_funcs.C: remove getInsetFromId()
3912 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3918 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3920 * PosIterator.C (distance, advance): new
3921 * bufferview_funcs.[Ch] (put_selection_at): new
3922 * iterators.[Ch] (lockPath): new
3924 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3926 * iterators.[Ch] (asPosIterator): added
3927 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3928 * PosIterator.[Ch]: added
3930 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * cursor.C (dispatch):
3935 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3937 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3938 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3939 contructor, add a class function dispatched. Remove operator>=
3941 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * debug.C: only use the default constructor for debugstream
3946 * main.C (main): include debug.h and setup the lyxerr streambuf
3949 2003-10-31 José Matos <jamatos@lyx.org>
3951 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3953 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3954 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3955 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3956 * paragraph_pimpl.C (simpleTeXSpecialC):
3957 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3958 add LatexRunParams argument.
3960 * exporter.C (Export): change call accordingly.
3962 * latexrunparams.h: add new member to take care of the other backends.
3963 2003-10-30 José Matos <jamatos@lyx.org>
3965 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3966 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3967 factorise code for paragraph output.
3969 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3972 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * text3.C (dispatch):
3975 * lyxfunc.C (dispatch):
3976 * cursor.C (dispatch):
3977 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3979 * dispatchresult.h: make the dispatch_result_t ctor explicit
3981 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3984 * buffer.C: small refactoring of docbook stuff
3986 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3991 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3994 operator dispatch_result_t, and operators for == != and >=
3996 * cursor.C (dispatch): adjust for operator dispatch_result_t
3997 removal. comment out call to update
3999 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4001 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4012 * dispatchresult.h: new file, DispatchResult broken out of
4015 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4017 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4019 * text.C (rowBreakPoint): put a hack inside #if 0
4021 2003-10-28 André Pönitz <poenitz@gmx.net>
4025 * paragraph_funcs.C:
4028 * text2.C: general cleanup (lots of small stuff)
4030 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4032 * text2.C (cursorEnd): simple fix to the "end key goes to one
4033 before the end on last row" bug
4035 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4037 * text.C (backspace): fix the "zombie characters"
4039 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4041 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4043 2003-10-27 André Pönitz <poenitz@gmx.net>
4045 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4047 * factory.C: handle new InsetPagebreak, InsetLine
4049 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4050 and move handling into new InsetPagebreak, InsetLine
4052 * BufferView_pimpl.C:
4054 * ParagraphParameters.C:
4055 * ParameterStruct.h:
4060 * paragraph_funcs.C:
4061 * paragraph_pimpl.C:
4067 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4070 * lyxrow_funcs.[Ch]:
4076 * text3.C: remove lastPos uses in favour of Row::endpos
4078 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4080 * undo.C (performUndoOrRedo): fix two crashes by setting a
4081 cursor by hand and reordering some calls. Use bv->lockInset instead
4082 of inset->edit because the latter loses cursor information
4084 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4086 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4088 (rowBreakPoint): fix width. change point to point + 1.
4089 Add a missing check.
4091 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4094 * lyxfunc.C: fix (at least partly) the problems
4095 with the Nav menu and headers inside branch insets
4098 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4100 * paragraph.C (getChar): add strong asserts
4102 * lyxrow_funcs.C (lastPos): remove hideous hack
4104 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4105 (fill): adjust to that (avoid an infinite loop)
4107 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4109 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4111 2003-10-23 André Pönitz <poenitz@gmx.net>
4113 * RowList_fwd.h: change list<> to vector<> to gain speed
4114 after suggestion from Alfredo
4116 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4118 * lyxtext.h: move the bidi stuff from here...
4121 * Bidi.[Ch]: ... to here
4123 2003-10-23 André Pönitz <poenitz@gmx.net>
4126 * text.C (isLastRow, isFirstRow): new functions
4128 * paragraph.h: new width cache member
4130 * rowpainter.C: replace RowList::iterator with Row & where possible
4132 * lyxfunc.C: replace several view()->text with a single call
4134 * toc.C: fix 'unused' warning
4136 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4139 when woring with stream::pos_type
4140 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4142 2003-10-22 André Pönitz <poenitz@gmx.net>
4145 * text.C: use Row & instead of RowList::iterator
4147 * lyxrow.h: rename end() to endpos()
4153 2003-10-22 Angus Leeming <leeming@lyx.org>
4155 * buffer.[Ch] (fully_loaded): new member function, returning true
4156 only when the file has been loaded fully.
4157 Used to prevent the premature generation of previews and by the
4158 citation inset to prevent computation of the natbib-style label.
4160 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4161 templates are all set up.
4163 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4165 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4167 * text.C: fixed an "oops" in the "is a bit silly"
4170 2003-10-21 André Pönitz <poenitz@gmx.net>
4172 * FuncStatus.[Ch]: small stuff, whitespace
4174 * lyxfont.[Ch]: operator<<() for debug reasons
4178 * lyxtext.h: whitespace, spelling
4180 * paragraph.C: naming of variables
4183 * text2.C: small stuff
4186 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4188 * text.C: (1) finish off the inset display() work;
4189 (2) fix the "is a bit silly" bug (accessing char
4192 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4194 * text.C: re-introduce display() for insets, fixing the
4195 various bugs (stretch of line above, math inset
4198 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4200 * text.C (rightMargin): remove spurious semicolon
4202 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4205 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4207 * text3.C: fix one crash due to wrong cursor def
4209 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * vc-backend.C (scanMaster): make the regex static
4213 * LaTeX.C (scanAuxFile): make the regexs static
4215 * text3.C (doInsertInset, dispatch, dispatch):
4216 * text2.C (cursorUp, cursorDown):
4217 * text.C (selectNextWordToSpellcheck):
4218 * BufferView_pimpl.C (dispatch):
4219 * lyxfunc.C (dispatch): localDispatch -> dispatch
4221 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4223 * lyxsocket.C: include <cerrno>
4225 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * lyxfunc.C (dispatch): remove textcache stuff
4229 * bufferlist.C (release): remove textcache stuff
4232 * TextCache.C: delete file
4233 * TextCache.h: delete file
4235 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4237 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4238 delete of the bv_->text.
4239 (resizeCurrentBuffer): remove texcache stuff
4240 (workAreaResize): ditto
4242 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4247 2003-10-16 André Pönitz <poenitz@gmx.net>
4254 * text3.C: speed up by storing y positions per paragraph plus per-row
4255 offset instead of having a 'full' y position in the row.
4257 2003-10-15 André Pönitz <poenitz@gmx.net>
4261 * undo.[Ch]: make undo aware of inner insets
4263 2003-10-14 Angus Leeming <leeming@lyx.org>
4265 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4266 static member functions LyX::ref() and LyX::cref.
4267 (lastfiles): new accessor functions for the new lastfiles_ member var.
4268 (addLyXView, views_): add a new LyXView to the list of views_.
4269 (updateInset): loop over all LyXViews to call their own updateInset
4270 member function, returning a pointer to the Buffer owning the inset.
4272 * BufferView_pimpl.C (loadLyXFile):
4273 * MenuBackend.C (expandLastfiles):
4274 * bufferlist.C (MenuWrite, QuitLyX):
4275 lastfiles is no longer a global variable.
4276 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4278 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4279 static function. Access through LyX::cref().emergencyCleanup().
4281 2003-10-14 André Pönitz <poenitz@gmx.net>
4283 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4285 * undo.[Ch]: restoring part of 'undo in insets'
4288 * undo_funcs.[Ch]: merge with undo.[Ch]
4290 * tabular.C: small cleansing stuff
4292 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4294 * paragraph_funcs.C (readParToken): report unknown insets as error
4295 boxes. Use the outer paragraph as location (also for unknown
4298 * factory.C (readInset): do not abort on reading an unknown inset.
4299 Eat it and return 0.
4301 2003-10-13 Angus Leeming <leeming@lyx.org>
4303 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4305 * lyxrc.C: displayTranslator is now a function,
4306 declared in GraphicsTypes.h.
4308 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4310 * format.C: new placeholder $$a to pass the socket address.
4312 * bufferlist.[Ch]: new function getBufferFromTmp.
4314 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4315 files in the temporary dir.
4317 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4319 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4321 * Makefile.am: add lyxsocket.[Ch].
4323 * lyx_main.C (error_handler): handle SIGPIPE.
4325 2003-10-13 André Pönitz <poenitz@gmx.net>
4327 * BufferView_pimpl.C:
4332 * undo_funcs.[Ch]: use paroffset_type instead of
4333 ParagraphList::iterators to prevent multiple conversion
4334 (and get a more robust interface)
4336 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4340 * text3.C (dispatch): ditto
4342 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4345 move the onlyfile, use onlyfile instead of foundfile in a couple
4348 * DepTable.C (update): flush the error stream a bit more
4350 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * lyxserver.C (callback): adjust
4354 * lyxfunc.C (getStatus): add a missing brace in commented code
4355 (ensureBufferClean): reindent
4356 (dispatch): delete version taking a string
4358 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * LaTeX.C (deplog): move found file handlig from here...
4361 (handleFoundFile): .. to new function here.
4362 (deplog): make sure to discover several files mentioned on the
4365 2003-10-10 André Pönitz <poenitz@gmx.net>
4372 * text3.C: fix some of the tabular crashes
4374 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4376 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4378 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4380 2003-10-09 André Pönitz <poenitz@gmx.net>
4382 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4385 * BufferView_pimpl.C:
4386 * bufferview_funcs.C:
4397 * undo_funcs.C: adjust
4399 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * text2.C (incrementItemDepth): new function, use a backtracking
4402 algorithm to discover the correct item depth.
4403 (resetEnumCounterIfNeeded): new function, use a backtracking
4404 algorithm to discover if counter reset is needed.
4405 (setCounter): use them. Simplify a bit. Add different labels for
4406 different item depths for itemize.
4408 * paragraph.C (Paragraph): remove initialization of enumdepth
4411 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4412 enumerate and itemize. Change the type of itemdepth to signed char.
4414 2003-10-08 André Pönitz <poenitz@gmx.net>
4416 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4421 * tabular.[Ch]: fix crash after 'row-insert'
4423 2003-10-08 Angus Leeming <leeming@lyx.org>
4425 Fix doxygen warnings.
4427 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4428 Remove CutAndPaste:: prefix from header file declaration.
4430 * LColor.h (fill): remove LColor:: prefix from declaration.
4432 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4433 use lyx::depth_type rather than Paragraph::depth_type so that
4434 header file and .C file match.
4436 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4438 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4439 * aspell.C: \file aspell_local.C -> \file aspell.C
4440 * gettext.C: \file gettext.C -> \file src/gettext.C
4441 * gettext.h: \file gettext.h -> \file src/gettext.h
4442 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4443 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4444 * text.C: \file text.C -> \file src/text.C
4446 * toc.C: move comment so that doxygen is not confused.
4448 2003-10-07 Angus Leeming <leeming@lyx.org>
4450 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4452 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4455 * aspell_local.h: add forgotten std::string's.
4457 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4464 * text3.C: The Box patch. Fancybox support, minipage, parbox
4466 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4472 * ParagraphParameters.h:
4482 * lyxtextclasslist.h:
4485 * paragraph_pimpl.C:
4486 * textcursor.h: add <string> and other small fixes to make Lars'
4487 std::string patch compile with STLport.
4489 2003-10-06 Angus Leeming <leeming@lyx.org>
4491 * LColor.h: Add missing #include <string>.
4493 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * All most all file in all subdirs: Make <string> be the prefered
4496 way of getting to std::string, add using declarations.
4498 2003-10-06 André Pönitz <poenitz@gmx.net>
4500 * metricsinfo.C: initialize LyXFont before changing attribute.
4501 (fixes the 'math in \emph is upright' bug)
4503 2003-10-06 André Pönitz <poenitz@gmx.net>
4505 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4507 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4510 * paragraph_pimpl.C: Small fixes to build using STLport
4512 2003-10-02 André Pönitz <poenitz@gmx.net>
4515 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4517 2003-10-01 André Pönitz <poenitz@gmx.net>
4519 * factory.C: assert early
4521 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * lyx_main.C: remove the global debug object
4525 * debug.h: adjust for new debugstream
4527 * debug.C: adjust for new debugstream and keep the global debug
4530 2003-09-22 Angus Leeming <leeming@lyx.org>
4532 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4533 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4534 an incomplete class LyXFont.
4536 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4538 * factory.C: bug fix in branches
4540 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * lyxfunc.C (processKeySym): adjust
4544 (dispatch): change arg name from ev to func, adjust
4545 (sendDispatchMessage): ditto
4547 * lyx_main.C (defaultKeyBindings): adjust keybindings
4548 (deadKeyBindings): ditto
4550 * kbsequence.C (addkey): return a FuncRequest
4552 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4554 * kbmap.C (bind): take a FuncRequest as arg, adjust
4557 (defkey): change to take a FuncRequest as arg, adjust
4558 (findbinding): take a FuncRequest as arg, adjust.
4560 * funcrequest.h (operator=): added
4562 * funcrequest.C (FuncRequest): default kb_action changed from
4563 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4565 * buffer.C (dispatch): simplify
4566 (dispatch): adjust to take a FuncRequest as arg, adjust
4568 * boost.C (assertion_failed): change assertion message slightly
4570 * ToolbarBackend.C (read): simplify
4572 * MenuBackend.C (binding): adjust call to findbinding, add a
4573 message if no binding is found.
4575 (expandToc): correct by adding a empty FuncRequest
4577 * LyXAction.C: include <boost/assert.hpp>
4578 (isPseudoAction): delete function
4579 (LookupFunc): change name to...
4580 (lookupFunc): this. change return type to FuncRequest.
4581 (getActionName): take kb_action as arg, simplify
4582 (funcHasFlag): add an assert, simplify.
4584 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * toc.C (action): return a FuncRequest, simplify
4588 * lyxfunc.C (processKeySym): adjust
4589 (getStatus): delete version that takes an int.
4591 (dispatch): delete version that takes action as int
4593 (sendDispatchMessage): simplify and adjust
4595 * funcrequest.C (getArg): take unsigned int as arg
4597 * ToolbarBackend.C (read): adjust
4598 (add): delete version that takes func as a string.
4599 (getIton): take a FuncRequest as arg
4601 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4604 * MenuBackend.C (MenuItem): add a new construct that only takes a
4605 Kind, simplify the constructor use for submenus.
4607 (expandLastfiles): adjust
4608 (expandDocuments): adjust
4609 (expandFormats): adjust
4610 (expandFloatListInsert): adjust
4611 (expandFloatInsert): adjust
4612 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4614 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4615 Remove class variables lyx_pseudo_map and lyx_arg_map
4617 * LyXAction.C (searchActionArg): delete function
4618 (getPseudoAction): delete function
4619 (retrieveActionArg): delete function
4620 (LookupFunc): make it return kb_action, simplify.
4621 (getActionName): simplify
4623 * factory.C (createInset): fix new bug
4625 2003-09-19 Angus Leeming <leeming@lyx.org>
4627 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4628 masterFilename_ parameter in the include inset.
4630 * factory.C (createInset): changes due to the changes to InsetInclude.
4632 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4634 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4636 2003-09-18 Angus Leeming <leeming@lyx.org>
4639 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4640 Inset::fillWithBibKeys.
4641 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4643 2003-09-18 Angus Leeming <leeming@lyx.org>
4645 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4647 (ctor): pass and store a 'Buffer const &'
4648 (buffer): new member function.
4650 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4651 '*this' to the LaTeXFeatures ctor.
4653 2003-09-18 Angus Leeming <leeming@lyx.org>
4659 * text.C: rename EnumLColor as LColor_color.
4661 2003-09-18 Angus Leeming <leeming@lyx.org>
4663 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4664 remove #include "insets/insetbase.h" from cursor.h.
4666 2003-09-18 Angus Leeming <leeming@lyx.org>
4668 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4669 InsetOld_code to remove #include "inset.h".
4671 * iterators.C: add #include "insets/inset.h"
4673 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4675 * BufferView.C: remove more locking stuff that apparently doesn't
4676 do anything sensible.
4678 2003-09-16 André Pönitz <poenitz@gmx.net>
4681 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4684 2003-09-16 Angus Leeming <leeming@lyx.org>
4686 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4688 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4691 * paragraph.h: remove #include "lyxfont.h". Forward declare
4694 2003-09-16 Angus Leeming <leeming@lyx.org>
4696 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4697 of support/textutils.h.
4698 (isWord): move the contents of support/textutils.h's IsWordChar here.
4704 * text2.C: add #include "paragraph.h".
4707 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4709 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * LaTeX.C: use namespace alias for lyx::support::os
4717 2003-09-16 Angus Leeming <leeming@lyx.org>
4720 * bufferview_funcs.C:
4723 * paragraph_pimpl.C:
4725 * text.C: add #include "LColor.h".
4727 2003-09-16 Angus Leeming <leeming@lyx.org>
4729 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4730 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4732 Store the FontBits::color variable as an int rather than as an
4733 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4736 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4737 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4738 string calls together.
4740 * lyxrc.C: add #include "LColor.h".
4742 2003-09-15 Angus Leeming <leeming@lyx.org>
4744 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4747 2003-09-15 Angus Leeming <leeming@lyx.org>
4749 * LColor.h: add an EnumLColor wrapper for LColor::color.
4751 * lyxfont.[Ch] (color, setColor, realColor):
4752 * lyxtext.h, text.C (backgroundColor):
4753 pass EnumLColor args to/from the functions, rather than LColor::color
4757 * lyxtext.h: forward declare EnumLColor.
4759 * lyx_main.C: add #include "LColor.h".
4761 2003-09-15 Angus Leeming <leeming@lyx.org>
4763 * .cvsignore: add lyx-gtk.
4765 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * ParagraphParameters.C
4774 * bufferview_funcs.C
4784 * vc-backend.C: remove usage of STRCONV
4786 2003-09-15 Angus Leeming <leeming@lyx.org>
4788 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4789 explicitly define the color passed to the painter.
4791 2003-09-15 Angus Leeming <leeming@lyx.org>
4793 * bufferparams.C (BufferParams): reorder member initializers to avoid
4796 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4798 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4799 * text.C (updateRowPositions): remove an unusual nop
4801 2003-09-12 André Pönitz <poenitz@gmx.net>
4803 * BufferView_pimpl.C:
4812 * Counters.[Ch]: finish the 'automatic counters' job
4814 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4816 * aspell.C: include <boost/assert.cpp> (compile fix)
4818 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4820 * boost.C (assertion_failed): use lyx::support::abort instead of
4823 2003-09-10 Angus Leeming <leeming@lyx.org>
4825 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4826 with their _fwd progeny.
4828 2003-09-09 Angus Leeming <leeming@lyx.org>
4830 134 files throughtout the source tree: replace 'using namespace abc;'
4831 directives with the appropriate 'using abc::xyz;' declarations.
4833 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4835 * boost.C (emergencyCleanup): moved here from LAssert.c
4836 (assertion_failed): new function, called by BOOST_ASSERT
4838 * several files: change Assert to BOOST_ASSERT
4840 2003-09-09 Angus Leeming <leeming@lyx.org>
4842 * buffer.[Ch]: Add an Impl class and move Buffer's member
4843 variables into it. As a result move several header files out of
4846 Add header files to lots of .C files all over the tree as a result.
4848 2003-09-09 Angus Leeming <leeming@lyx.org>
4850 * buffer.[Ch]: make Buffer's member variables private. Add
4853 Lots of changes all over the tree as a result.
4855 2003-09-08 Angus Leeming <leeming@lyx.org>
4857 * graph.C: #include <config.h>.
4859 2003-09-08 Angus Leeming <leeming@lyx.org>
4863 * BufferView_pimpl.C:
4892 * toc.C: remove redundant using directives.
4894 2003-09-07 Angus Leeming <leeming@lyx.org>
4896 * LaTeXFeatures.h: remove #include "support/types.h".
4897 * ToolbarBackend.h: remove #include <algorithm>.
4898 * changes.h: remove #include <ctime>.
4899 * debug.h: remove #include <iosfwd>.
4900 * graph.h: remove #include "support/std_string.h".
4901 * lyx_main.h: remove #include <csignal>.
4902 * lyxlex_pimpl.h: remove #include <fstream>.
4903 * sgml.h: remove #include <algorithm>, <utility>.
4904 * toc.h: remove #include "support/std_ostream.h".
4905 Add #include <iosfwd>.
4907 2003-09-07 Angus Leeming <leeming@lyx.org>
4909 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4911 * converter.h: forward declare LatexRunParams.
4912 * encoding.h: remove #include "lyxrc.h".
4913 * lyxtext.h: remove #include "LColor.h".
4914 * lyxtextclass.h: remove #include "support/types.h".
4915 * trans.h: remove #include "tex-accent.h".
4916 * trans_mgr.h: remove #include "tex-accent.h".
4917 * insets/inset.h: remove #include "support/types.h", <vector>.
4918 * insets/insetcollapsable.h: remove #include "LColor.h".
4919 * insets/insetinclude.h: remove #include "dimension.h".
4920 * insets/insetlatexaccent.h: remove #include "dimension.h".
4921 * insets/insetoptarg.h:: remove #include "insettext.h".
4922 * insets/insettext.h: remove #include "dimension.h",
4923 <boost/shared_ptr.hpp>
4925 * insets/renderers.h: add #include "dimension.h".
4926 * insets/updatableinset.h: add #include "support/types.h".
4928 * many .C files: Associated changes.
4930 2003-09-06 Angus Leeming <leeming@lyx.org>
4932 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4933 one, inside testInvariant.
4935 * PrinterParams.C: new file.
4936 * PrinterParams.[Ch]: move the function bodies out of line.
4938 2003-09-06 Angus Leeming <leeming@lyx.org>
4940 * ParagraphParameters.h: forward declare ParameterStruct rather than
4941 including its header file.
4942 (depth): moved out-of-line.
4944 2003-09-06 Angus Leeming <leeming@lyx.org>
4946 * BufferView_pimpl.h:
4949 * lyxfunc.h: forward declare LyXKeySym rather than
4950 #include "frontends/LyXKeySym.h".
4952 * BufferView_pimpl.C:
4955 * lyxfunc.C: associated changes.
4957 2003-09-06 Angus Leeming <leeming@lyx.org>
4959 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4960 As a result, can remove the #include "insets/inset.h" from BufferView.h
4962 2003-09-06 Angus Leeming <leeming@lyx.org>
4964 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4965 As a result, can remove the #include "insets/inset.h" from BufferView.h
4967 2003-09-06 Angus Leeming <leeming@lyx.org>
4973 * bufferview_funcs.C:
4974 * BufferView_pimpl.C:
4979 * ParagraphParameters.C:
4984 * frontends/controllers/ControlDocument.C:
4985 * insets/insetcaption.C: rearrange the #includes into some sort of
4988 * buffer.h: remove #includes ErrorList.h, undo.h
4990 2003-09-06 Angus Leeming <leeming@lyx.org>
4992 * support/types.h: add a 'depth_type' typedef, used to store the
4993 nesting depth of a paragraph.
4996 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4997 defining explicitly.
5000 * paragraph_funcs.h:
5001 * ParagraphParameters.h:
5002 * sgml.h: use lyx::depth_type rather than Paragraph or
5003 ParameterStruct's depth_type.
5006 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5009 * BufferView_pimpl.C:
5011 * ParagraphParameters.C:
5014 * bufferview_funcs.C:
5021 * frontends/LyXView.C:
5022 * frontends/controllers/ControlDocument.C:
5023 * frontends/controllers/ControlErrorList.C:
5024 * insets/insetbibitem.C:
5025 * insets/insetbranch.C:
5026 * insets/insetcaption.C:
5027 * insets/insetcollapsable.C:
5028 * insets/insetenv.C:
5029 * insets/insetert.C:
5030 * insets/insetfloat.C:
5031 * insets/insetfoot.C:
5032 * insets/insetfootlike.C:
5033 * insets/insetnewline.C:
5034 * insets/insetquotes.C:
5035 * insets/insettabular.C:
5036 * insets/insettext.C:
5037 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5039 * frontends/controllers/ControlChanges.C: #include "changes.h".
5041 2003-09-06 Angus Leeming <leeming@lyx.org>
5043 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5044 than #including paragraph.h.
5047 * RowList.h: deleted. Superfluous.
5057 * insets/insettext.h: use ParagraphList_fwd.h rather than
5060 * paragraph.h: don't forward declare ParagraphList.
5063 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5064 rather than ParagraphList.h. paragraph.h is still needed for the
5065 Paragraph::depth_type parameters.
5067 * textcursor.h: enable it to compile stand-alone in light of the
5070 * bufferview_funcs.C:
5082 * frontends/controllers/ControlParagraph.C:
5083 * frontends/controllers/ControlTabular.C:
5084 * insets/insetmarginal.C:
5085 * insets/insetminipage.C:
5086 * insets/insetnote.C:
5087 * insets/insetoptarg.C: add header files needed to compile again.
5089 2003-09-06 Angus Leeming <leeming@lyx.org>
5091 * RowList_fwd.h: new file, forward-declaring Row rather than
5092 #including lyxrow.h.
5097 * insets/insettext.h: use it instead of RowList.h
5099 * bufferview_funcs.C:
5106 * text3.C: #include "RowList.h".
5108 2003-09-05 Angus Leeming <leeming@lyx.org>
5110 * factory.C (createInset):
5111 * vspace.C (c-tor): replace sscanf call with an istringstream.
5112 * ispell.C: re-add missing HP/UX headers.
5113 * lyxserver.C: re-add missing os2 headers.
5115 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5124 * text3.C: re-add missing system headers, needed for 2.95.2.
5126 2003-09-05 Angus Leeming <leeming@lyx.org>
5128 Changes most place everywhere due to the removal of using directives
5129 from support/std_sstream.h.
5131 2003-09-05 Angus Leeming <leeming@lyx.org>
5133 Replace LString.h with support/std_string.h,
5134 Lsstream.h with support/std_sstream.h,
5135 support/LIstream.h with support/std_istream.h,
5136 support/LOstream.h with support/std_ostream.h.
5138 Changes resulting throughout the tree.
5140 2003-09-05 Angus Leeming <leeming@lyx.org>
5142 * sgml.h: ensure that the header file can be compiled stand-alone.
5143 * *.C: strip out redundant #includes. (320 in total.)
5145 2003-09-04 Angus Leeming <leeming@lyx.org>
5147 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5148 here (from getPackages).
5150 * debug.[Ch]: add a new EXTERNAL tag.
5152 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5154 * text2.C (cursorEnd): simplify
5156 (getColumnNearX): adjust
5158 * text.C (computeBidiTables): adjust
5161 * rowpainter.C (paintChars): adjust
5162 (paintSelection): adjust
5163 (paintChangeBar): adjust
5166 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5168 (numberOfSeparators): adjust
5170 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5176 * text3.C: Restricts the mouse click functionality
5177 of insets like bibtex, include, toc and floatlist to the visible
5178 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5179 up the dialogs. Cursor has to be in front of the inset (i.e.
5180 start of row) for this to function.
5182 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5184 * bufferview_funcs.C (currentState): output row information
5186 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5188 * bufferview_funcs.C (currentState): output paragraph position
5190 2003-09-04 Angus Leeming <leeming@lyx.org>
5192 * FloatList.h: move out #include "Floating.h".
5193 * LaTeX.h: move out #include "DepTable.h".
5194 * LyXAction.h: move out #include "funcrequest.h".
5195 * buffer.h: move out #include "author.h", "iterators.h".
5196 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5197 * lyx_main.h: move out #include "errorlist.h".
5198 * lyxfunc.h: move out #include "FuncStatus.h".
5199 * lyxtext: move out #include "lyxcursor.h".
5200 * paragraph_pimpl.h: move out #include "counters.h".
5202 2003-09-03 Angus Leeming <leeming@lyx.org>
5204 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5205 preamble_snippets list, enabling us to add snippets to the preamble
5206 only if the snippet was not there already.
5208 2003-09-04 Angus Leeming <leeming@lyx.org>
5210 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5212 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5217 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5219 * BranchList.C: point fix, earlier forgotten
5221 2003-09-02 Angus Leeming <leeming@lyx.org>
5223 * box.C (contains): renamed from 'contained' after a fantastic
5226 2003-09-02 John Levon <levon@movementarian.org>
5232 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5234 2003-09-02 John Levon <levon@movementarian.org>
5236 * text2.C: simplification of cursorEnd(), including partial
5239 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * buffer.C (readFile): add a space
5243 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5245 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5247 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * buffer.C (readFile): new function, take a filename and a
5250 ParagraphList::iterator
5252 (readFile): adjust, make it private. don't use setStream, make
5253 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5254 always contain the filename.
5256 * BufferView.C (insertLyXFile): simplify and make it work for
5259 2003-08-30 John Levon <levon@movementarian.org>
5261 * Makefile.am: fix dist (from Kayvan)
5263 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * most files: change to use const Buffer refs
5267 2003-08-27 André Pönitz <poenitz@gmx.net>
5269 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5270 on top of ownerPar().
5272 2003-08-27 John Levon <levon@movementarian.org>
5274 * funcrequest.C: properly initialise POD members
5276 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5278 * lyxtext.h (top_y): move top_y from here
5283 * BufferView_pimpl.[Ch]: to here
5284 * frontends/screen.C:
5285 * insets/insettabular.C:
5286 * insets/insettext.C: adjust
5287 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5289 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5292 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5294 2003-08-26 André Pönitz <poenitz@gmx.net>
5296 * paragraph_func.[Ch] (outerPar): new function
5299 * paragraph_funcs.C:
5300 * paragraph_funcs.h:
5301 * paragraph_pimpl.C:
5302 * text2.C: remove Inset::par_owner
5304 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5309 * text2.C: eliminates the needFullRow/display() stuff
5310 altogether, putting the logic in metrics/draw in the insets.
5312 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5314 * text2.C (redoParagraphInternal, redoParagraphs):
5315 * text.C (redoParagraph): add a call to updateRowPositions at the
5316 end of each 'metrics-like' call. Remove all others.
5317 (getRow): remove the 'y-computing' version.
5318 (getRowNearY): do not compute nor return the real y. Solve the
5319 'y < 0' problem and simplify.
5321 2003-08-22 Angus Leeming <leeming@lyx.org>
5323 * *.[Ch]: clean-up of licence and author blurbs.
5324 Also move config.h out of a few .h files and into a few .C files.
5326 2003-08-22 André Pönitz <poenitz@gmx.net>
5328 * lyxrow.[Ch]: add x_ and *fill_ members
5333 * text2.C: adjust/remove prepareToPrint() calls
5335 2003-08-22 André Pönitz <poenitz@gmx.net>
5337 * lyxrow.[Ch]: add end_ member
5339 * lyxrow_funcs.C: use LyXRow::end_
5341 * lyxtext.h (singleWidth): add LyXFont parameter
5344 * text2.C: adjust LyXText::singleWidth() calls
5346 * text.C (redoParagraph): simplify row breaking logic
5349 2003-08-19 André Pönitz <poenitz@gmx.net>
5351 * funcrequest.C: initialize button_ member
5354 * rowpainter.[Ch]: interface consolidation
5356 2003-08-18 André Pönitz <poenitz@gmx.net>
5359 * BufferView_pimpl.C:
5361 * paragraph_funcs.C:
5363 * text3.C: remove LyXScreen::draw() and fitCursor calls
5365 * BranchList.h: remove spurious semicolons
5367 * MenuBackend.C: fix branchlist related crash
5369 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5377 * bufferparams.[Ch]:
5381 * text3.C: implements the 'branch inset'
5382 idea. This allows the output of various versions of a document
5383 from a single source version, selectively outputing or suppressing
5384 output of parts of the text.
5385 This implementation contains a 'branch list editor' in a separate
5386 tab of the document settings dialog. Branches are user definable
5387 and have a "display colour" to distinguish them on-screen.
5389 ColorHandler was somewhat cleaned up.
5390 (1) make possible a dynamically growing LColor list by allowing
5391 the graphic context cache to grow along (vector);
5392 (2) eliminate an IMHO unnecessary step in colour allocation.
5394 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5396 * BufferView_pimpl.C: compile fix
5398 2003-08-15 André Pönitz <poenitz@gmx.net>
5400 * rowpainter.C: remove extra metrics calls
5402 * lyxtext.h: merge the two constructors into a single one,
5403 pass reference to owner's par list
5405 * BufferView_pimpl.C:
5409 2003-08-15 André Pönitz <poenitz@gmx.net>
5411 * lyxrow_funcs.[Ch]:
5414 * paragraph_funcs.C:
5419 * text_funcs.C: split LyXText::rowlist_ into individual
5420 Paragraph::rows_ chunks
5423 * BufferView_pimpl.[Ch]:
5426 * text3.C: remove toggleSelection()
5428 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5430 * bufferlist.C: beautify two alerts (shorter text of buttons)
5431 * buffer.C: Remove redundant ' ' from message
5433 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5434 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5435 rename VALIGN_CENTER to VALIGN_MIDDLE
5437 2003-08-11 André Pönitz <poenitz@gmx.net>
5439 * lyxtext.h (getPar):
5440 * text.C: new function
5442 2003-08-11 André Pönitz <poenitz@gmx.net>
5445 * tracer.[Ch]: remove unneeded files
5447 * InsetList.[Ch]: remove resizeInsetsLyXText()
5452 * text3.C: merge insertParagraphs() and appendParagraph()
5453 remove breakAgain(), update()
5455 * BufferView_pimpl.[Ch]:
5456 * bufferview_funcs.[Ch]:
5460 * tabular.C: adjust after text & InsetList changes.
5462 2003-08-08 André Pönitz <poenitz@gmx.net>
5464 * text.C (insertChar, backspace): replace rowlist fiddling
5465 with rebreak of full par
5468 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5469 checkParagraph, updateInset): removed
5471 2003-08-07 André Pönitz <poenitz@gmx.net>
5474 * text3.C: merge some LFUN handlers, remove dead code
5476 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5478 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5480 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5482 * text2.C (DEPM): fix part of bug 1255 and 1256
5484 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5486 * BufferView_pimpl.C (workAreaDispatch): change to use
5487 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5488 that are no mouse related.
5490 2003-08-05 André Pönitz <poenitz@gmx.net>
5493 * BufferView_pimpl.[Ch]:
5494 * bufferview_funcs.C:
5496 * text3.C: rip out "deep update"
5498 * textcursor.[Ch] (last_sel_cursor): remove unused member
5500 2003-08-04 André Pönitz <poenitz@gmx.net>
5503 * BufferView_pimpl.[Ch]:
5504 * ParagraphParameters.C:
5505 * bufferview_funcs.C:
5511 * text3.C: replace "complicated" BufferView::update(...) calls with
5514 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5516 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5518 * Makefile.am (lyx_SOURCES): add paper.h
5520 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5522 * Makefile.am: move things around so that both lyx-qt and
5523 lyx-xforms can be built (according to --with-frontend). Then lyx
5524 is a symbolic link to lyx-[firstfrontend]
5526 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5528 * Always use std::endl with lyxerr
5530 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5532 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5534 2003-08-01 André Pönitz <poenitz@gmx.net>
5537 * BufferView_pimpl.[Ch]:
5539 * text3.C: merge BufferView::repaint() and BufferView::update()
5541 2003-08-01 José Matos <jamatos@lyx.org>
5543 * buffer.[Ch]: file_format is no longer a buffer data element.
5545 2003-08-01 André Pönitz <poenitz@gmx.net>
5550 * text2.C: make redoParagraph more independent of current cursor
5552 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5554 * text2.C: remove unneeded members
5556 2003-07-30 André Pönitz <poenitz@gmx.net>
5558 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5560 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5561 create a single function...
5563 * paragraph_funcs.C (moveItem): ... here.
5566 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5568 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5570 * LColor.[Ch]: Add comment and greyedout logical colors.
5572 2003-07-30 André Pönitz <poenitz@gmx.net>
5574 * tabular.C: don't use Assert too heavily. This crashes where it
5577 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5579 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5580 is disabled (bug 1232)
5582 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5584 * factory.C: limited 'arg' scope
5586 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5588 * factory.C: fixed Note submenu issues
5590 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5592 * factory.C: submenu for Note/Comment/Greyedout
5594 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5597 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5599 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5602 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5603 greyedout. Patch provided by Jürgen Spitzmüller.
5605 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5607 * kbmap.C (read): fix error message when reading bind files
5609 2003-07-29 Angus Leeming <leeming@lyx.org>
5611 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5612 certainly does not do what it purports to do. I am doing it, and
5613 us, a favour by killing it.
5615 2003-07-28 José Matos <jamatos@lyx.org>
5617 * buffer.C (readBody, do_writeFile):
5618 * paragraph.C(readParagraph): \end_document replaces \the_end.
5620 2003-07-29 André Pönitz <poenitz@gmx.net>
5623 * BufferView_pimpl.[Ch]:
5627 * textcursor.[Ch]: remove toggleToggle & Co
5629 2003-07-28 José Matos <jamatos@fep.up.pt>
5631 * buffer.C (readParagraph):
5632 * params_func (readParToken, readParagraph):
5633 * paragraph.C (write): \layout -> \begin_layout.
5635 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5637 * lyxlex_pimpl.C (setFile): clean up slightly.
5639 * bufferparams.h: add compressed var
5641 * buffer_funcs.C (readFile): adjust for LyXLex change
5642 (newFile): ditto + simplify
5644 * buffer.C (writeFile): handle writing of compressed files
5646 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5647 Check if the file is compressed and set a bufferparm if so.
5649 * Makefile.am (lyx_LDADD): remove explicit -lz
5651 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5653 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5654 makeDocBookFile): put the real LyX version in the first line of
5658 * version.C.in: remove lyx_docversion
5660 * tabular.C (write_attribute): add a template-based version to
5661 write enums properly
5663 2003-07-28 André Pönitz <poenitz@gmx.net>
5668 * text3.C: use doubles again for x-coordinates. They are needed.
5670 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5672 * messages.C (getLocaleDir): use lyx_localedir()
5674 * lyxlex_pimpl.C (setFile): compress stuff
5676 * buffer.C (writeFile): add some compression stuff
5677 (do_writeFile): new func, dont call expliti close... will this
5680 * Makefile.am (lyx_LDADD): add -lz
5682 2003-07-28 José Matos <jamatos@fep.up.pt>
5684 * buffer.C: increment file format.
5685 * paragraph_funcs (readParagraph, readParToken):
5686 * paragraph.C (readParagraph): add \end_layout.
5688 2003-07-27 Angus Leeming <leeming@lyx.org>
5690 * Makefile.am: remove special casing for configure-time setting of
5691 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5693 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5694 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5696 2003-07-26 André Pönitz <poenitz@gmx.net>
5698 * paragraph_func.[Ch]:
5699 * paragraph.C (realizeFont): inline it whereever it is used
5704 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5707 2003-07-26 André Pönitz <poenitz@gmx.net>
5711 * text2.C: get rid of LyXText::need_break_row
5713 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5715 * toc.[Ch]: put namespace toc inside namespace lyx
5717 * MenuBackend.C (expandToc2): adjust for lyx::toc
5720 * lyxfunc.C (dispatch): adjust for lyx::find
5722 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5723 lyx::find instead. Reorganize a bit.
5724 (LyXReplace): rename to replace
5725 (LyXFind): rename to find
5727 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5730 2003-07-26 André Pönitz <poenitz@gmx.net>
5732 * text.C (setHeightOfRow): restrict scope of temporary variable
5734 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5735 code (never has been used?)
5737 2003-07-27 Asger Alstrup <alstrup@local>
5739 * text.C (fill): Optimise algorithm to exploit that we can reuse
5740 the LyXFont for many characters.
5741 (setHeightOfRow): Same thing.
5742 (rowBreakPoint): Same thing.
5744 2003-07-26 Asger Alstrup <alstrup@local>
5746 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5748 * text.C (singleWidth): Spurious font copying in hot-spot
5749 singleWidth avoided. Reorder tests for arabic for efficiency.
5751 * text.C (fill): handle empty paragraphs better.
5753 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5756 * encoding.h: add includes
5758 * lyxrc.C: remove reading of bind files
5760 * lyx_main.C (init): setup bindings and menus only if we have a
5763 * kbmap.C (read): new method. Do the actual reading of bind
5766 * converter.C (dvipdfm_options):
5769 (output): adapt PAPER_* enums.
5771 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5773 * bufferparams.h: remove paper-related enums from there
5775 * paper.h: New file. A trivial header file to hold paper-related
5776 enums. It should later expand to contain many paper-related
5779 * lyxrc.C: declare extern displayTranslator
5781 2003-07-27 José Matos <jamatos@fep.up.pt>
5783 * tabular.[Ch] (linuxdoc): add support for tables and figures
5786 2003-07-27 José Matos <jamatos@fep.up.pt>
5788 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5789 consistency in both functions.
5790 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5792 2003-07-26 Asger Alstrup <alstrup@local>
5794 * rowpainter.C (paintRows): Change algorithm to work directly on
5795 the insets rather than asking every character in the document
5796 whether its an inset.
5798 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5800 * buffer.C (openFileWrite): factorize some code
5802 2003-07-26 Angus Leeming <leeming@lyx.org>
5805 * lyx_main.[Ch]: replace occurances of system_tempdir with
5808 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * rename Inset to InsetOld
5812 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5814 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5815 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5816 which I think is a bit clearer. EDIT is gone, since it was
5817 premature optimisation, and broken for mathed anyway.
5818 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5819 with cursor positioning in insets as well (math insets still do not
5820 work, but that's a different story anyway.) It mysteriously
5821 crashes sometimes with undo in the first paragraph, but I'm fairly
5822 confident that this is a compiler bug.
5824 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * paragraph.C (Paragraph): adjust for new clone return type
5828 (copyIntoMinibuffer): ditto
5830 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5832 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5833 by not having a special case, and always doing a full rebreak of
5834 the document after undo.
5836 2003-07-23 Angus Leeming <leeming@lyx.org>
5838 * factory.C (createInset): InsetExternal::setParams now takes a
5841 2003-07-23 Angus Leeming <leeming@lyx.org>
5843 * factory.C (createInset): changed interface to the external and
5844 graphics mailers' string2params functions.
5846 2003-07-23 Angus Leeming <leeming@lyx.org>
5848 * factory.C (createInset): pass a
5849 Buffer const * parameter to InsetExternalMailer's string2params.
5851 2003-07-22 John Levon <levon@movementarian.org>
5853 * Thesaurus.h: include the right aiksaurus header
5855 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5857 * MenuBackend.C (expand): check menu shortcuts unconditionally
5859 2003-07-21 Angus Leeming <leeming@lyx.org>
5861 * factory.C (createInset): pass a
5862 buffer_path parameter to InsetGraphicsMailer's string2params.
5864 2003-07-21 Angus Leeming <leeming@lyx.org>
5866 * BufferView_pimpl.C (buffer):
5869 * lyxfunc.C (dispatch):
5870 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5871 rather than the grfx shortcut.
5873 2003-07-21 André Pönitz <poenitz@gmx.net>
5875 * rowpainter.C: remove unused variables
5878 * tabular_funcs.h: move to tabular.C
5879 * Makefile.am: adjust
5881 * tabular.[Ch]: basic optical cleaning
5883 * author.h: pass references, not values
5885 2003-07-18 André Pönitz <poenitz@gmx.net>
5893 * text3.C: two-phase drawing for InsetText and InsetTabular
5894 some float -> int changes.
5896 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5898 * lyx_main.C: fix the fix
5900 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5902 * lyx_main.C: fix a crash in batch mode if no files specified
5905 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5907 * format.[Ch] (papersize): moved to BufferParams
5908 * converter.[Ch] (dvips_options): moved to BufferParams
5909 (dvipdfm_options): moved to anon namespace
5910 * bufferparams.[Ch]: added above functions.
5912 2003-07-17 André Pönitz <poenitz@gmx.net>
5916 * text2.C: don't call inset->update() anymore
5918 * metricsinfo.[Ch]: add convenience constructor
5920 2003-07-16 André Pönitz <poenitz@gmx.net>
5925 * text2.C: replace the LyXCursor::irow_ member with
5926 on-demand computation of the value
5928 2003-07-16 John Levon <levon@movementarian.org>
5930 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5932 2003-07-15 André Pönitz <poenitz@gmx.net>
5935 * text2.C: remove no more needed refresh_row
5937 2003-07-15 André Pönitz <poenitz@gmx.net>
5942 * text3.C: refresh_status tristate -> need_update bool
5944 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5946 * lyxtext.h (init): remove reinit argument (act as if always true)
5947 * text2.C: adjust to that
5949 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5951 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5952 * text3.C: use it to delete selections in some cases
5953 (bugs 441, 673, 702, 954).
5955 2003-07-14 André Pönitz <poenitz@gmx.net>
5957 * rowpainter.[Ch]: reduce interface
5959 2003-07-14 André Pönitz <poenitz@gmx.net>
5961 * BufferView_pimpl.C:
5962 * text2.C: adjust after removing unused BufferView * argument
5964 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5966 * text2.C (init): fix a crash fired on resize
5968 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5970 * buffer.[Ch]: added new closing signal
5971 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5972 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5973 BufferView::Pimpl via the closing the signal
5975 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5977 * buffer.[Ch]: take out all bv-related from buffer
5979 * BufferView_pimpl.[Ch]: connect to new signals
5980 * CutAndPaste.C: removed useless asserts
5981 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5984 * lyxfunc.C: moved view-related funciontality from vc here
5985 * paragraph.C: removed outdated comments
5988 2003-07-10 André Pönitz <poenitz@gmx.net>
5990 * BufferView_pimpl.C:
5994 * text2.C: remove InsetText::InnerCache, clean up consequences
5996 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5998 * ispell.C: fix two typos in error messages
6000 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6002 * Extend Note inset to other forms of annotation like Comment
6003 and Greyedout. Right button click gives dialog.
6005 Files modified or added (+):
6009 * ControlNote.[Ch] +
6011 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6012 frontends/controllers
6016 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6018 * aspell.C: add missing namespace lyx::support
6020 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6022 * BufferView.[Ch] (newFile): Add
6023 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6024 * LaTeX.[Ch] (message): added this signal and use it
6025 * buffer.[Ch] (busy, message): added these signals and use them
6026 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6030 * importer.C: use buffer signals instead of direct bv calling
6031 * lyx_cb.[Ch] (ShowMessage): removed
6034 * paragraph_funcs.C:
6035 * text2.C: use buffer signals
6037 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6039 * introduce namespace lyx::graphics
6041 2003-07-02 André Pönitz <poenitz@gmx.net>
6043 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6045 2003-07-01 André Pönitz <poenitz@gmx.net>
6052 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6053 text*.C to text_func.C
6055 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * introduce namespace lyx::support
6059 2003-06-30 André Pönitz <poenitz@gmx.net>
6064 * text.C: re-enable --with-included-string
6066 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * textcursor.C: add <config.h>
6070 * text.C (getWord): remove const from word_location arg
6072 * lyxvc.C (getLogFile): fix const type order
6074 * lyxtext.h: remove const from word_location arg, add arg name
6076 * lyxlayout.h: currect type on labeltype.
6078 * importer.C: correct \file
6080 * converter.C (intToFormat): use std:: on ret val, ws changes
6082 * bufferlist.h: correct \file
6084 * buffer.C (makeLinuxDocFile): fix const type order
6085 (makeDocBookFile): ditto
6086 (fillWithBibKeys): use std:: on stdlib args.
6088 * CutAndPaste.C: fix authors.
6089 (availableSelections): use std:: on return vector
6091 2003-06-27 André Pönitz <poenitz@gmx.net>
6093 * BufferView_pimpl.C:
6094 * bufferview_funcs.C:
6102 * text3.C: remove LyXCursor::row_ member
6105 * text.C: rename fullRebreak() to partialRebreak() and implement
6106 a fullRebreak() that really bereks fully
6108 * textcursor.h: new struct for cursor-related data
6110 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6112 * lyx_main.C (LyX): get full path of document loaded on the
6115 2003-06-26 André Pönitz <poenitz@gmx.net>
6117 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6118 remove unused/broken operator>,<,>=.
6120 * text.C: remove only use of broken operator<= in an Assert().
6122 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6124 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6125 moved errorlist_.clear to showErrorList
6127 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6129 * converter.C (scanLog, runLaTeX):
6130 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6131 move the bv->showErrorList call to the callers
6132 * lyxfunc.C: i.e. here...
6134 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6135 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6136 namespace, the second to...
6137 * buffer_funcs (BufferFormat, parseErrors): added
6138 * errorlist.C (ErrorList(TeXErrors const &)): removed
6140 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6142 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6144 2003-06-24 "Garst R. Reese" <reese@isn.net>
6148 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6150 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6152 * version.C.in: change docversion to 1.4
6154 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6156 * buffer.C: fix a bug just introduced
6158 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6160 * buffer.[Ch]: added the parseError signal and use it, removed
6162 * BufferView.[Ch] (addError): moved to ...
6163 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6164 to the Buffer::parseError signal to catch (guess what) parse errors
6165 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6167 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6169 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6170 ability to create a buffer and to return an existing one from
6171 the list. Moved these functions to...
6172 * buffer_funcs.[Ch]: added
6173 * BufferView.[Ch] (loadLyXFile): added
6174 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6175 job removed from bufferlist::loadLyXFile.
6176 * buffer.C (setReadOnly): make it work without view
6177 (i.e added an if (users))
6179 2003-06-19 Angus Leeming <leeming@lyx.org>
6182 * LyXAction.C (init):
6183 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6184 with LFUN_DIALOG_SHOW <name> <data>.
6186 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6188 * CutAndPaste.C (availableSelections): small compilation fix for
6189 ancient (gcc 2.9x) compilers
6191 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * text3.C (cursorNext): add tmp var
6195 * text2.C (updateCounters): for function calling out of for clause
6196 (replaceSelectionWithString): ditto
6197 (insertStringAsParagraphs): ditto
6198 (getColumnNearX): add tmp var
6199 (setCursorFromCoordinates): add tmp var
6200 (cursorDownParagraph): add tmp var
6201 (deleteEmptyParagraphMechanism): add tmp var
6203 * text.C (insertChar): add tmp var
6205 * rowpainter.C (paintDepthBar): add tmp var
6207 * CutAndPaste.C (availableSelections): potentially check all
6208 paragraphs in a cut to fill the shown strings.
6210 2003-06-18 André Pönitz <poenitz@gmx.net>
6212 * kbmap.[Ch]: use vector<> instead of list<>
6214 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6216 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6217 pasteSelection with index
6219 * text2.C (pasteSelection): modify, call pasteSelection with index
6221 * paragraph.C (asString): reimplement version with no interval to
6222 call the one with interval.
6224 * lyxtext.h: add index arg to pasteSelection
6226 * MenuBackend.C (MenuItem): handle PasteRecent
6227 (Menu::read::Menutags): add md_pasterecent
6229 (expandPasteRecent): new function
6232 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6234 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6236 (availableSelections): new function
6238 2003-06-17 Angus Leeming <leeming@lyx.org>
6240 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6242 2003-06-17 Angus Leeming <leeming@lyx.org>
6245 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6247 * lyxfunc.C (dispatch): invoke it.
6249 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6251 * iterators.C (operator++, ParPosition): reintroduce some
6252 const_cast for the benefit of older compilers.
6254 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6256 * text3.C (dispatch): do not modify clipboard when doing
6257 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6258 LFUN_DELETE_SKIP on a selection selection
6260 2003-06-16 André Pönitz <poenitz@gmx.net>
6266 * tabular.[Ch]: IU of clone() and getLabelList();
6268 2003-06-13 André Pönitz <poenitz@gmx.net>
6270 * tabular.h: compactification
6272 2003-06-12 André Pönitz <poenitz@gmx.net>
6276 * tabular_funcs.h: some renaming plus whitespace
6278 2003-06-12 André Pönitz <poenitz@gmx.net>
6281 * BufferView_pimpl.C:
6287 * toc.C: Return a Paragraph & for ParIterator::operator*()
6289 2003-06-11 John Levon <levon@movementarian.org>
6293 * ToolbarBackend.C: add "Toolbars" section and
6296 2003-06-10 Angus Leeming <leeming@lyx.org>
6299 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6301 * lyxfunc.C (dispatch): invoke it.
6303 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * main.C: protect <ios> with HAVE_IOS
6306 (main): protect sync_with_stdio with HAVE_IOS
6308 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6310 * text2.C (cutSelection): adjust
6311 (pasteSelection): adjust
6313 * messages.C: handle get of empty string
6315 * main.C (main): use sync_with_stdio(false)
6317 * lyxfunc.C (dispatch): adjust
6319 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6320 (WriteAs): remove unneeded BufferView arg.
6322 * bufferparams.h: use correct types on papersize, papersize2 and
6325 * bufferparams.C (readToken): adjust for type
6326 (writeLaTeX): add missing cases to switch.
6328 * bufferlist.C (quitWriteBuffer): adjust
6331 * buffer.C (asciiParagraph): remove some commented code.
6333 * CutAndPaste.C: remove current_view extern variable.
6334 (cutSelection): add BufferParams arg.
6335 (eraseSelection): add BufferParams arg.
6336 (pasteSelection): add Buffer const & arg
6338 2003-06-07 John Levon <levon@movementarian.org>
6341 * paragraph_funcs.C:
6342 * paragraph_pimpl.C:
6346 * paragraph.C: allow InsetERT to freely space lines,
6347 and some consolidation of code
6349 2003-06-06 José Matos <jamatos@fep.up.pt>
6351 * buffer.C (makeDocBookFile): fix bug #821
6353 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6355 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6357 2003-06-04 Angus Leeming <leeming@lyx.org>
6359 * buffer.C: bump format to 224.
6361 2003-06-05 André Pönitz <poenitz@gmx.net>
6363 * text2.C (redoParagraphs): remove two const_cast<>
6365 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6367 * ParagraphList.h: remove last remnants of NO_STD_LIST
6369 2003-06-03 Angus Leeming <leeming@lyx.org>
6371 * factory.C (createInset): small change to the way InsetExternal's params
6374 2003-06-04 André Pönitz <poenitz@gmx.net>
6376 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6378 * paragraph_pimpl.h:
6379 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6381 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6383 * undo_funcs.C: make some simple cases of undo work again
6385 2003-06-03 John Levon <levon@movementarian.org>
6387 * ispell.C: HPUX doesn't have sys/select.h
6390 2003-06-03 John Levon <levon@movementarian.org>
6392 * CutAndPaste.C: update tabular and include inset
6397 * paragraph.C: remove owningBuffer(), don't pass Buffer
6400 * factory.C: insetGraphicsParams changed
6402 2003-06-02 John Levon <levon@movementarian.org>
6408 * text3.C: remove insetparent
6410 2003-06-02 John Levon <levon@movementarian.org>
6413 * buffer.C: fix inset_iterator.end(), move out of line
6416 2003-06-01 John Levon <levon@movementarian.org>
6418 * text3.C: use a proper cut/paste when doing inset
6419 insert (from Jürgen Spitzmüller)
6421 2003-06-01 John Levon <levon@movementarian.org>
6423 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6425 2003-05-30 André Pönitz <poenitz@gmx.net>
6427 * rowpainter.C: unify second drawing phase
6429 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * trans_mgr.C: remove one case of current_view
6433 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6435 * paragraph_funcs.h: remove paragraph.h include
6437 * paragraph.h: delete NO_STD_LIST stuff
6439 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6441 * buffer.h: remove paragraph.h include
6443 * ParagraphList.C: delete file
6445 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6447 * toc.C (getTocList): adjust
6449 * paragraph_pimpl.C (validate): adjust
6451 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6453 * paragraph.C (Paragraph): adjust
6454 (getPositionOfInset): use const_iterator, adjust
6455 (bibitem): use const_iterator, adjust
6456 (setInsetOwner): adjust
6458 * iterators.C (operator++): adjust
6460 * InsetList.[Ch]: Replace selfmade iterator with standard
6461 vector::iterator also introduce const_iterator. Remove getPos,
6462 getInset and setInset from InsetTable. Adjust accordingly.
6464 * BufferView.C (lockInset): adjust
6465 (ChangeInsets): adjust
6467 * tabular.[Ch]: delete commented same_id functions
6469 2003-05-28 John Levon <levon@movementarian.org>
6471 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6473 2003-05-28 André Pönitz <poenitz@gmx.net>
6475 * metricsinfo.[Ch]: remove 'fullredraw' member
6477 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6479 * lyxtextclass.C (operator): remove caching.
6481 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * text2.C (cursorBottom): adjust
6486 (setCounter): use ParagraphList::find, adjust
6488 * text.C (workWidth): use ParagraphList::find, adjust
6490 * lyxcursor.C (LyXCursor): adjust
6492 * buffer.C (inset_iterator): adjust
6494 * ParagraphList.h: make iterator(value_type) private, make
6495 ParagraphList a friend of iterator.
6497 * ParagraphList.C (find): new function
6499 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6501 2003-05-27 André Pönitz <poenitz@gmx.net>
6503 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6505 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6507 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6509 2003-05-26 John Levon <levon@movementarian.org>
6511 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6513 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6515 * remove same_id from function signatures, adjust.
6517 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6521 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6523 * paragraph.C (Paragraph): get rid of same_ids parameter
6525 * ParagraphList.C (insert): adjust
6528 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6530 * paragraph_funcs.C (breakParagraph): adjust
6531 (breakParagraphConservative): adjust
6533 * buffer.C (readParagraph): adjust
6535 * ParagraphList.C (insert): take a reference instead of a pointer
6538 * paragraph.[Ch] (id): new function
6540 * bufferlist.C (newFile): adjust
6542 * ParagraphList.C (ParagraphList): adjust
6544 (push_back): take a reference instead of a pointer.
6546 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6548 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6551 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6552 set else use old code.
6554 * ParagraphList.C: remove all NO_NEXT code and only compile this
6555 code of NO_STD_LIST is set.
6557 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6559 * BufferView_pimpl.C:
6569 * graphics/GraphicsConverter.C:
6570 * graphics/PreviewLoader.C: header adjustment
6572 2003-05-23 Angus Leeming <leeming@lyx.org>
6574 * LaTeXFeatures.[Ch] (useBabel): new method.
6575 * bufferparams.C (writeLaTeX): use it.
6577 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * ParagraphList.h (set): remove unused function.
6581 2003-05-23 André Pönitz <poenitz@gmx.net>
6584 * BufferView_pimpl.C:
6588 * undo_funcs.C: setUndo reworked
6590 * iterators.[Ch]: add access to topmost ParagraphList
6592 * lyxtext.[Ch] (workWidth): add a const
6594 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6596 * texrow.[Ch] (increasePos): remove function
6597 * exporter.C (export): removed unused var and outdated comment
6599 2003-05-23 Angus Leeming <leeming@lyx.org>
6601 * latexrunparams.h: rename fragile as moving_arg.
6602 * paragraph.C (simpleTeXOnePar): ditto.
6603 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6605 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6609 (textUndoOrRedo): comment out a currently unused var.
6611 * paragraph.h (NO_NEXT): enable NO_NEXT
6613 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6615 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6617 * exporter.C (Export): adjust for removeAutoInsets removal.
6619 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6621 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6623 * BufferView.[Ch] (removeAutoInsets): delete function
6625 2003-05-22 Angus Leeming <leeming@lyx.org>
6627 * latexrunparams.h: add a free_spacing variable.
6629 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6630 to pass moving_arg, as the data is stored in runparams.fragile.
6632 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6633 to Inset::latexOptional or to simpleTeXOnePar.
6635 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6636 free_spacing arg to Inset::latexOptional.
6638 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6641 2003-05-22 Angus Leeming <leeming@lyx.org>
6643 * latexrunparams.h: add fragile and use_babel variables.
6645 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6646 * buffer.C (makeLaTeXFile): store this returned value in
6647 runparams.use_babel, thus passing it to the inset::latex methods.
6649 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6650 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6652 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6653 longer has a fragile arg, as it is stored in runparams.fragile.
6655 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6656 moving_arg parameter as the data is stored in runparams.fragile.
6658 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6659 a fragile parameter as the data is stored in runparams.fragile.
6661 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6665 2003-05-22 Angus Leeming <leeming@lyx.org>
6667 * latexrunparams.h: add a 'bool nice' which defaults to false.
6669 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6670 now encapsulated within runparams.
6672 * bufferlist.C (updateIncludedTeXfiles):
6673 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6675 2003-05-22 Angus Leeming <leeming@lyx.org>
6677 * latexrunparams.h: new file containing struct LatexRunParams.
6678 * Makefile.am: add new file.
6680 * LaTeX.[Ch] (c-tor, run):
6681 * buffer.[Ch] (makeLaTeXFile):
6682 * bufferlist.[Ch] (updateIncludedTeXfiles):
6683 * converter.C (convert, scanLog):
6684 * converter.[Ch] (runLaTeX):
6685 * exporter.C (Export):
6686 * paragraph.[Ch] (simpleTeXOnePar):
6687 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6688 * paragraph_funcs.[Ch] (latexParagraphs):
6689 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6690 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6691 pass around a LatexRunParams parameter.
6693 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * paragraph.[Ch]: remove unused constructor
6697 * ParagraphList.C (erase): new function, taking two iterators
6699 2003-05-22 André Pönitz <poenitz@gmx.net>
6701 * undo_funcs.C: remove duplicated code
6703 * iterator.[Ch]: operator=
6705 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * tabular.C (SetMultiColumn): ws changes
6709 * rowpainter.C (paintFirst): get rid of a ->previous
6711 * lyx_cb.C (getPossibleLabel): parlist simplification
6713 * BufferView.C (ChangeInsets): simplify slightly.
6715 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6717 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6718 * lfuns.h: new LFUN_SPACE
6719 * lyxfunc.C: protected space has a new lfun
6720 * paragraph_funcs.C: read new space insets
6722 * factory.C: handle new space insets
6724 2003-05-22 André Pönitz <poenitz@gmx.net>
6727 * BufferView_pimpl.C:
6730 * undo_funcs.C: return a ParIterator from getParFromID.
6732 * iterators.[Ch]: add two const's
6734 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * toc.C (getTocList): adjust
6738 * iterators.[Ch]: rework for parlist
6740 * buffer.C (par_iterator_begin): adjust
6741 (par_iterator_end): adjust
6743 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6745 * BufferView.C (removeAutoInsets): adjust
6746 (ChangeInsets): adjust
6748 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6750 * text.C (top_y): fix bug 1110
6752 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6754 * errorlist.[Ch]: added
6757 * BufferView_pimpl.C:
6758 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6761 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * Makefile.am: ensure that lyx is relinked upon changes to the
6764 various "convenience" libs.
6766 2003-05-20 Angus Leeming <leeming@lyx.org>
6768 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6769 files are compiled in alphabetical order again.
6771 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6773 2003-05-19 Angus Leeming <leeming@lyx.org>
6775 * gettext.[Ch]: remove "char const * _(char const *)".
6777 2003-05-19 André Pönitz <poenitz@gmx.net>
6779 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6788 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6790 2003-05-19 André Pönitz <poenitz@gmx.net>
6794 * lyxtextclass.[Ch]:
6796 * paragraph_funcs.[Ch]:
6798 * text3.C: more insetenv work
6800 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6802 * ParagraphParameters.C (params2string): small bug fixed
6804 2003-05-16 André Pönitz <poenitz@gmx.net>
6807 * bufferview_funcs.C: patch from Kornel Benko to prevent
6808 crash when _(...) is called twice in a statement
6810 2003-05-16 André Pönitz <poenitz@gmx.net>
6817 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6819 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6821 * lyx_main.C (init): remove spurious static_cast
6823 2003-05-14 André Pönitz <poenitz@gmx.net>
6825 * BufferView.C: fix format string
6827 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6829 * BufferView.[Ch] (insertErrors): removed
6830 * BufferView.[Ch] (showErrorList): added
6831 * buffer.C (runChkTeX):
6832 * converter.C (scanLog): call showErrorList instead of inserterrors
6834 2003-05-13 André Pönitz <poenitz@gmx.net>
6836 * BufferView_pimpl.C:
6838 * bufferview_func.C:
6845 * tabular_funcs.h: tostr() from its own header
6847 * ParagraphParameters.C:
6852 * text3.C: STRCONV()
6854 2003-05-12 André Pönitz <poenitz@gmx.net>
6857 * BufferView_pimpl.C:
6861 * ParagraphParameters.C:
6865 * bufferview_funcs.C:
6878 * paragraph_funcs.C:
6882 * text3.C: boost::format -> bformat all over the place
6885 2003-05-09 André Pönitz <poenitz@gmx.net>
6887 * LColor.[Ch]: Pimpl the #include <map> away
6889 2003-05-09 John Levon <levon@movementarian.org>
6891 * bufferlist.C: never remove emergency saves
6893 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6895 * Makefile.am: better lib building
6897 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6899 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6901 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6902 (simpleTeXSpecialChars): adjust
6903 (simpleTeXSpecialChars): adjust
6904 * paragraph.C (simpleTeXOnePar): adjust
6905 * buffer.C (makeLaTeXFile): adjust
6907 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6909 * text2.C (changeDepth): parlist cleanup
6910 (getColumnNearX): ditto
6912 * rowpainter.C (getLabelFont): parlist cleanup
6914 * bufferlist.C (newFile): parlist cleanup
6916 * CutAndPaste.C (eraseSelection): parlist cleanup
6918 * BufferView_pimpl.C (trackChanges): parlist cleanup
6921 * BufferView.C (lockInset): parlist cleanup.
6922 (ChangeInsets): ditto
6924 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6926 * CutAndPaste.h: Update file header.
6928 * CutAndPaste.C: Update file header.
6929 Store the parts cut out of the Document in a limited_stack.
6930 (copySelection): adjust
6931 (pasteSelection): new function, takes the index in the limited stack.
6932 (nrOfParagraphs): adjust
6933 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6934 simplify error inset insertion.
6935 (checkPastePossible): adjust
6937 2003-05-06 John Levon <levon@movementarian.org>
6939 * text2.C: don't cast wrap inset to float
6941 2003-05-05 André Pönitz <poenitz@gmx.net>
6944 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6946 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6947 few naked Paragraph *.
6949 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6951 * bufferparams.C: Output warning if a document with missing
6952 TeX document class is loaded
6953 * exporter.C: Disable TeX exports if the document class is missing
6956 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6957 isTeXClassAvailable()
6959 2003-05-03 John Levon <levon@movementarian.org>
6962 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6963 explicit cursor show/hide
6965 * BufferView_pimpl.h:
6966 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6967 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6969 * lyxfunc.C: hide cursor before dispatching.
6974 * text3.C: remove explicit cursor hides
6976 2003-05-02 André Pönitz <poenitz@gmx.net>
6978 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6981 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6984 * text2.C: tiny whitespace
6986 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * undo_funcs.C: almost only ws changes.
6990 * ParagraphList.C (splice): just return if pl is empty.
6992 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6994 * ParagraphList.C (splice): new function.
6996 * CutAndPaste.C (pasteSelection): use it
6998 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * CutAndPaste.C (pasteSelection): remove the last next and
7001 previous from this file.
7003 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * CutAndPaste.C (pasteSelection): more clean up, user proper
7006 ParagraphList functions for pasteing.
7008 * ParagraphList.C (insert): new function, three arg insert
7010 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * ParagraphList.C (insert): new function, three arg insert
7014 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7017 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7021 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7023 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7025 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7028 (copySelection): clean up a bit.
7029 (pasteSelection): use make_pair
7031 * ParagraphList.C (ParagraphList): implement copy constructor
7032 (operator=): implement, base on copy constructor.
7035 * paragraph.C (erase): return a bool
7037 * paragraph_pimpl.C (erasePos): remove function, move contents...
7038 (erase): ... here. Return a bool.
7039 (erase): call erase instead of erasePos.
7041 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7043 * ParagraphList.h: define PitPosPair
7044 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7045 ParagraphList, fix a bug on pasting multiple pars
7046 * text2.C: change interface to C&P
7048 2003-04-30 André Pönitz <poenitz@gmx.net>
7050 * undo_func.C: revert part of yesterday's patch 2
7052 2003-04-30 John Levon <levon@movementarian.org>
7054 * LColor.C: s/tabular/table/
7056 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text3.C (dispatch): do not convert iterator -> pointer
7059 * undo_funcs.C (setCursorParUndo): ditto
7060 * text_funcs.C (transposeChars): ditto
7062 * text2.C (setLayout): ws changes only
7064 * text.C (breakParagraph): do not convert iterator -> pointer
7066 (acceptChange): ditto
7067 (rejectChange): ditto
7072 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7075 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7077 * text3.C (gotoInset): YABG (yet another bad getChar)
7079 2003-04-29 André Pönitz <poenitz@gmx.net>
7081 * paragraph.h: make operator= private unimplemented as long as
7084 * ParagraphList.C: whitespace
7087 * paragraph_pimpl.[Ch]:
7088 * paragraph_funcs.C:
7090 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7093 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7095 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7097 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7098 * paragraph.[Ch] (erase):
7099 * paragraph_pimpl.[Ch] (erase): change return type and value
7100 * text2.C (cutSelection): some rework
7102 2003-04-28 John Levon <levon@movementarian.org>
7104 * bufferlist.C: changes for unsaved changes dialog
7106 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * bufferlist.C (newFile): set language (messages_) for new
7111 * buffer.C (readFile): ws changes only.
7113 2003-04-28 André Pönitz <poenitz@gmx.net>
7118 * BufferView_pimpl.C:
7119 * BufferView.C: getParFromID related ParagraphList::iterator changes
7121 2003-04-28 André Pönitz <poenitz@gmx.net>
7123 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7126 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * messages.C: remove one more localedir class variable.
7130 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7132 * messages.C (getLocaleDir): singleton generation function
7134 (Messages): add a default constructor.
7136 * main.C (main): do not setup localedir here, do not call
7139 * gettext.C (_): use it.
7140 (gettext_init): delete funciton
7142 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * gettext.C (getLyXMessages): new singleton generating function.
7146 * buffer.C (updateDocLang): adjust
7148 * Makefile.am (messages.o): add target
7149 (main.o): remove target
7151 2003-04-27 John Levon <levon@movementarian.org>
7156 * lyxvc.C: specify cancel button in Alert::prompt
7158 2003-04-26 John Levon <levon@movementarian.org>
7163 * LyXAction.C: add LFUN_INSET_SETTINGS
7165 * lyxfunc.C: don't enable tabular-feature when there's
7166 just any locking inset
7168 2003-04-26 John Levon <levon@movementarian.org>
7170 * bufferlist.C: re-add Cancel to buffer close question
7172 * lyxfunc.C: fix import UI a bit
7174 2003-04-25 John Levon <levon@movementarian.org>
7176 * gettext.C: remove the broken asserts for now
7178 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * messages.C: make case where setlocale cannot comply work better.
7182 * buffer.C (updateDocLang): new function
7183 (changeLanguage): use it
7186 * text2.C (setCounter): use B_ a bit.
7188 * lyxlayout.C (Read): be sure to trim the label strings.
7190 * messages.C (Messages): fix typo in comment
7192 * buffer.C (readFile): set message_ after file is loaded.
7193 (makeDocBookFile): remove double return
7194 (changeLanguage): reset message_ upon language change.
7195 (B_): new func, use this to get translated buffer strings.
7197 * main.C: add myself and Jean Marc as authors.
7199 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * messages.[hC]: pimplify Messages, and three different pimpls to be
7202 used in different circumstances.
7204 * gettext.[Ch]: change for use with new message code.
7206 2003-04-24 André Pönitz <poenitz@gmx.net>
7208 * factory.C: support for eqref
7210 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7212 * messages.[Ch]: add missing char
7214 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7216 * messages.[Ch]: New files
7218 2003-04-18 John Levon <levon@movementarian.org>
7222 * BufferView_pimpl.C:
7226 * text2.C: remove layout-copy/paste (bug 778)
7228 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7230 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7232 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7234 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7235 if they succeed. Act accordingly.
7237 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * text2.C (setCharFont): adjust
7240 (setCounter): adjust
7241 (insertStringAsLines): adjust
7243 * text.C (leftMargin): adjust
7244 (setHeightOfRow): adjust
7246 * rowpainter.C (paintFirst): adjust
7249 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7251 (isFirstInSequence): ditto
7252 (getEndLabel): ditto
7255 * paragraph.C (getParLanguage): comment out some hard stuff.
7257 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7259 (simpleDocBookOnePar): ditto
7260 (makeDocBookFile): use ParagraphList::iterator
7262 * CutAndPaste.C (pasteSelection): adjust
7264 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7266 * text2.C (getFont): adjust
7267 (getLayoutFont): adjust
7268 (getLabelFont): adjust
7270 * paragraph_funcs.C (TeXOnePar): adjust
7272 * buffer.C (simpleLinuxDocOnePar): adjust
7273 (simpleDocBookOnePar): adjust
7275 * CutAndPaste.C (pasteSelection): adjust
7277 * BufferView.C (getEncoding): adjust
7279 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7281 2003-04-16 John Levon <levon@movementarian.org>
7283 * lyxfind.C: use parlist stuff for search/changes
7285 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7287 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7289 * text2.C (deleteEmptyParagraphMechanism): adjust
7291 * text2.[Ch] (ownerParagraph): delete func (both of them
7293 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7295 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7297 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7299 * ParagraphList.C: prepare for NO_NEXT
7301 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * text2.C (getFont): adjust
7304 (getLayoutFont): adjust
7305 (getLabelFont): adjust
7307 * paragraph.C (getFont): adjust
7308 (getLabelFont): adjust
7309 (getLayoutFont): adjust
7311 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7313 2003-04-15 John Levon <levon@movementarian.org>
7317 * lyx_main.C: handle Include in .ui files
7319 2003-04-15 John Levon <levon@movementarian.org>
7321 * MenuBackend.C: make the doc files length shorter
7324 * ToolbarBackend.C: handle toolbar placement flags,
7327 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7332 * paragraph_funcs.C (TeXOnePar): adjust
7334 * paragraph.C (getLabelFont): add outerfont arg, adjust
7335 (getLayoutFont): ditto
7336 (simpleTeXOnePar): adjust
7338 * paragraph_pimpl.C (realizeFont): delete func
7340 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7342 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7343 row argument, constify cur argument.
7345 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * text2.C (getFont): adjust
7348 (getLayoutFont): adjust
7349 (getLabelFont): adjust
7351 * paragraph_funcs.C (TeXOnePar): adjust
7352 (outerFont): new func...
7353 (realizeFont): ...moved out from here, changed this to facilitate
7356 * paragraph.C (getFont): take outerfont as arg, adjust
7357 (simpleTeXOnePar): add outerfont arg, adjust
7359 * buffer.C (simpleLinuxDocOnePar): adjust
7360 (simpleDocBookOnePar): adjust
7362 * CutAndPaste.C (pasteSelection): adjust
7364 * BufferView.C (getEncoding): adjust
7366 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * text2.C (setCharFont): adjust
7369 (setCounter): adjust
7371 * text.C (leftMargin): adjust
7372 (setHeightOfRow): adjust
7374 * rowpainter.C (paintFirst): adjust
7377 * paragraph_pimpl.C (realizeFont): adjust
7379 * paragraph.C (isFirstInSequence): move from here...
7380 * paragraph_funcs.C (isFirstInSequence): ...to here
7382 * paragraph.C (outerHook): move from here...
7383 * paragraph_funcs.C (outerHook): ...to here
7385 * paragraph.C (depthHook): move from here...
7386 * paragraph_funcs.C (depthHook): ...to here
7388 * paragraph.C (getEndLabel): move from here...
7389 * paragraph_funcs.C (getEndLabel): ...to here
7391 * text2.C (realizeFont): move from here...
7392 * paragraph_funcs.C (realizeFont): ...to here
7394 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7398 2003-04-14 Angus Leeming <leeming@lyx.org>
7400 * LColor.[Ch]: scrap LColor mathcursor.
7402 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7404 * lyxlex.[Ch] (text): delete function
7405 * trans.C (Load): adjust
7406 * paragraph_funcs.C (readParToken): adjust
7408 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7410 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7411 vector<char> instead of a char[].
7413 * lyxlex_pimpl.C (getString): adjust
7415 (lex): use getString
7419 * lyxlex.C (text): use pimpl_->getString()
7423 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7426 (makeFontEntriesLayoutSpecific): temp var for par.size()
7427 (setLayout): temp var for ownerParagraphs().end()
7428 (fullRebreak): temp var for rows().end()
7429 (selectionAsString): temp var for boost::next(startpit), realize
7430 that the while really is a regular for loop.
7431 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7432 setCursor in one place.
7433 (setParagraph): temp vr for ownerParagraphs().end()
7434 (updateCounters): make the while loop a for loop
7435 (cutSelection): temp var for ownerParagraphs().end()
7436 (updateInset): make the do {} while() a regular for loop
7437 (getCursorX): use temp vars
7438 (setCurrentFont): use temp vars
7439 (getColumnNearX): use temp vars
7441 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * text.C (transformChar): use temp var for getChar
7444 (computeBidiTables): use temp var for row->par()
7445 (fill): move temp vars for row->par() and pit->layout() earlier in
7447 (labelFill): use temp var for row->par()
7448 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7449 asc and desc, realize that pit never changes and that firstpit is
7450 just a duplicate and not needed. Exchange rit->par() with pit in a
7452 (breakAgain): use a temp var for boost::next(rit)
7453 (breakAgainOneRow): ditto
7454 (breakParagraph): use a temp var for rows().begin()
7455 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7456 (cursorRightOneWord): use temp var for cursor.par() and
7457 cursor.pos(), remove usage of tmpcursor.
7458 (cursorLeftOneWord): use temp var for cursor.par() and
7459 cursor.pos() only set cur at end of function.
7461 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7463 * text.C, text2.C: exchange all usage of Paragraph::next with
7464 boost::next(ParagraphList::iterator)
7466 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7468 * text2.C (cursorTop): simplify implementation
7469 (cursorBottom): ditto
7470 (setParagraph): use ParagraphList::iterator
7471 (setCurrentFont): adjust
7472 (getColumnNearX): adjust
7473 (cursorRight): adjust
7474 (cursorLeft): remove usage of Paragraph::previous
7475 (cursorUpParagraph): ditto
7476 (deleteEmptyParagraphMechanism): slight cleanup
7478 * text.C (isBoundary): take a Paragraph const & instead of a
7480 (addressBreakPoint): ditto
7481 (leftMargin): remove usage of Paragraph::previous.
7482 (setHeightOfRow): ditto
7483 (cursorLeftOneWord): ditto
7484 (selectNextWordToSpellcheck): ditto
7487 (breakParagraph): remove one usage of Paragraph::next
7488 (redoParagraph): ditto
7489 (acceptChange): ditto
7490 (insertChar): adjust
7491 (rowBreakPoint): adjust
7493 * bufferview_funcs.C (toggleAndShow): adjust
7495 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7497 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7498 methods to access it.
7500 * text.C: Added updateRowPositions to compute all row positions.
7501 Make top_y and getRowNearY() to use the cached y position
7503 2003-04-11 John Levon <levon@movementarian.org>
7505 * text.C (rowBreakPoint): reintroduce the labelEnd
7506 checks, code copied from the row fill stuff. Deep voodoo.
7508 * text.C (fill): add a comment and debugging for the
7511 2003-04-11 John Levon <levon@movementarian.org>
7513 * text.C: make sure fullrow insets get wrapped to the next line,
7514 even when they're in a manual label
7516 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * text2.C (insertParagraph): make it take ParagraphList::iterator
7520 (setLayout): make it return ParagraphList::iterator
7521 (redoParagraphs): ditto
7523 (checkParagraph): ditto
7525 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7527 * text2.C: adjust several funcs.
7528 (realizeFont): take a ParagraphList::iterator as arg.
7529 (getLayoutFont): ditto
7530 (getLabelFont): ditto
7531 (setCharFont): ditto
7533 * text.C: adjust several funcs.
7535 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7537 * text.C (selectNextWordToSpellcheck): don't accidentally
7540 2003-04-10 John Levon <levon@movementarian.org>
7542 * ToolbarBackend.C (getIcon): special handling for
7545 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7547 * text2.C (cursorRight): a getChar assert fixed
7549 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * text2.C (getFont): change to take a ParagraphList::iterator
7552 instead of Paragraph*
7553 Adjust several functions.
7555 * text.C (transformChar): change to take a ParagraphList::iterator
7556 instead of Paragraph*
7557 (singleWidth): ditto
7558 Adjust several functions.
7560 * rowpainter.C: adjust several functions
7561 * rowpainter.h:store a ParagraphList::iterator and not a
7565 2003-04-09 John Levon <levon@movementarian.org>
7570 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7571 and the "help" bits as well
7573 2003-04-09 John Levon <levon@movementarian.org>
7576 * ToolbarBackend.C: allow multiple toolbars
7578 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * undo_funcs.C (setCursorParUndo): adjust
7582 * text_funcs.C (transposeChars): adjust
7584 * text3.C (gotoNextInset): adjust
7587 * text2.C (setLayout): adjust
7588 (changeDepth): adjust
7590 (redoParagraphs): adjust
7591 (selectionAsString): adjust
7592 (setParagraph): adjust
7593 (insertInset): adjust
7594 (cutSelection): adjust
7595 (copySelection): adjust
7596 (pasteSelection): adjust
7597 (insertStringAsLines): adjust
7598 (updateInset): adjust
7599 (setCursor): change to take a ParagraphList::iterator parameter
7600 (setCursorIntern): change to take a ParagraphList::iterator parameter
7601 (setCurrentFont): adjust
7602 (cursorLeft): adjust
7603 (cursorRight): adjust
7604 (deleteEmptyParagraphMechanism): adjust
7606 * text.C (breakParagraph): adjust
7607 (insertChar): adjust
7608 (acceptChange): adjust
7609 (rejectChange): adjust
7610 (selectNextWordToSpellcheck): adjust
7611 (changeCase): adjust
7615 * lyxfind.C (SearchForward): adjust
7616 (SearchBackward): adjust
7617 (nextChange): adjust
7619 * lyxcursor.C (par): adjust
7621 * lyxcursor.h: store a ParagraphList::iterator instead of a
7624 * lyx_cb.C (getPossibleLabel): adjust
7626 * bufferview_funcs.C (toggleAndShow): adjust
7628 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7631 * BufferView.C (removeAutoInsets): adjust
7632 (lockedInsetStoreUndo): adjust
7634 2003-04-09 John Levon <levon@movementarian.org>
7636 * ToolbarBackend.C: try icon without argument
7637 if with argument fails
7639 2003-04-08 John Levon <levon@movementarian.org>
7642 * ToolbarBackend.C: add getIcon(), handle tooltip,
7643 and change from "Icon" to "Item".
7645 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7647 * BufferView.C (lockInset): another bad getchar crunched
7649 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7651 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7654 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7656 * lyxfind.C (searchForward, searchBackwards): bug 782
7658 2003-04-07 John Levon <levon@movementarian.org>
7660 * paragraph.C: remove dead comment
7662 * text.C: remove troublesome depth-fiddling code
7663 in leftMargin() and rightMargin() (bug 1017)
7665 * text.C: fix breaking of rows in nested lists
7668 * text2.C (updateCounters): fix up depth values
7671 2003-04-07 John Levon <levon@movementarian.org>
7673 * BufferView_pimpl.C: clear message when doc finishes resizing,
7674 and after a mouse event
7676 * lyxfunc.C: clear message after exiting inset
7678 2003-04-07 John Levon <levon@movementarian.org>
7680 * bufferview_funcs.C: show math status not outside
7681 status in the statusbar
7683 2003-04-07 John Levon <levon@movementarian.org>
7685 * lyxfunc.C: note status changed after a depth change
7687 2003-04-04 Angus Leeming <leeming@lyx.org>
7689 * LaTeX.h: move AuxInfo operator==, != out of line.
7690 Remove LaTeX virtual destructor; nothing derives from it.
7691 Move operator()() out of public area and rename it startscript().
7692 Change protected for private.
7694 2003-04-04 Angus Leeming <leeming@lyx.org>
7697 * text2.C: remove unneeded #includes.
7699 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7701 * text2.C (dEPM): fix the heigth of the next row
7703 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7705 * text.C: squashed an invalid getChar requester + some ws changes
7707 2003-04-03 John Levon <levon@movementarian.org>
7709 * bufferview_funcs.h:
7710 * bufferview_funcs.C:
7713 * text2.C: make getStatus work for the env depth lfuns
7715 2003-04-03 John Levon <levon@movementarian.org>
7717 * bufferview_funcs.h:
7718 * bufferview_funcs.C:
7721 * text2.C: parlistize decDepth(), by merging it with incDepth()
7723 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * lyxrow.h: store a ParagraphList::iterator instead of a
7726 Paragraph* and adjust other class functions to suit.
7728 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7731 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7733 * text2.C (setCursor): do not anchor to cursor row for the time being
7735 2003-04-02 John Levon <levon@movementarian.org>
7742 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7744 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * paragraph.h: make ParagraphList and ParagraphList::iterator
7747 friends of Paragraph.
7749 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7751 * ParagraphList.C: Use the private next_ and previous_ from
7754 2003-04-01 John Levon <levon@movementarian.org>
7758 * Makefile.am: rename, remove defaults gunk
7761 * MenuBackend.C: remove defaults gunk
7764 * Languages.C: remove defaults gunk
7767 * lyx_main.C: error out if files couldn't be found.
7769 2003-04-02 John Levon <levon@movementarian.org>
7771 * text2.C: make incDepth() use parlist
7773 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * undo_funcs.C (firstUndoParagraph): adjust
7777 * text3.C (gotoInset): adjust
7778 (dispatch): adjust, and rewrite loop.
7780 * text2.C (init): adjust, and rewrite loop.
7781 (redoParagraphs): adjust
7782 (updateInset): adjust, and rewrite loop.
7783 (deleteEmptyParagraphMechanism): adjust
7785 * tabular.C (LyXTabular): adjust
7786 (SetMultiColumn): adjust
7789 * lyxtext.[Ch] (ownerParagraph): delete function
7790 (ownerParagraphs): new function returns a ParagraphList.
7792 * BufferView.C (removeAutoInsets): adjust
7793 (insertErrors): adjust
7794 (setCursorFromRow): adjust
7796 2003-04-01 Angus Leeming <leeming@lyx.org>
7798 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7801 2003-04-02 John Levon <levon@movementarian.org>
7807 * text_funcs.C: make transposeChars a free function
7809 * lyxrow_funcs.C: remove wrong comment
7811 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * rowpainter.C: adjust
7819 * lyxrow_funcs. [Ch]: new files
7821 * lyxrow.[Ch]: remove next and previous pointers
7822 (next,previous): remove accessor functions
7823 (isParEnd): move to lyxrow_funcs
7824 (lastPos): move to lyxrow_funcs
7825 (nextRowIsAllInset): move to lyxrow_funcs
7826 (lastPrintablePos): move to lyxrow_funcs
7827 (numberOfSeparators): move to lyxrow_funcs
7828 (numberOfHfills): move to lyxrow_funcs
7829 (numberOfLabelHfills): move to lyxrow_funcs
7830 (hfillExpansion): move to lyxrow_funcs
7834 * bufferview_funcs.C (toggleAndShow): adjust
7836 * RowList.h: Remove class RowList from file leave just a
7839 * RowList.C: delete file
7841 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7844 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * text3.C (cursorPrevious): adjust
7847 (cursorNext): adjust
7850 * text2.C (redoHeightOfParagraph): adjust
7851 (redoDrawingOfParagraph): adjust
7854 * text.C (breakParagraph): adjust
7855 (insertChar): adjust
7858 * rowpainter.C (RowPainter): adjust
7859 (leftMargin): simplify and adjust
7860 (most rowpainter functions): adjust.
7862 * rowpainter.h: store the row as RowList::iterator not as Row*
7864 * lyxcursor.C (row): taka RowList::iterator as arg
7867 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7870 2003-04-01 Angus Leeming <leeming@lyx.org>
7872 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7873 stuff like bool Bool.
7875 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7877 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7880 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7885 * lyxtext.h (rows): drop one version and leve a const variant that
7886 returns a RowList::iterator.
7888 2003-03-31 Angus Leeming <leeming@lyx.org>
7890 * text.C (fill): ensure that the signature is the same as that in the
7893 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7895 * text2.C (redoParagraphs): adjust
7896 (updateCounters): adjust
7897 (checkParagraph): adjust
7898 (getColumnNearX): adjust and reformat a bit.
7900 * text.C (top_y): adjust
7902 (leftMargin): adjust
7903 (prepareToPrint): adjust
7905 (getRowNearY): adjust
7907 * lyxtext.h: make rowlist_ mutable.
7909 * RowList.h: add const_iterator
7910 * RowList.C: adjust for RowList::const_iterator.
7912 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7915 2003-03-31 John Levon <levon@movementarian.org>
7918 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7920 * lyx_main.C: set default fonts from using lyx_gui funcs
7922 * exporter.C: pdf_mode moved from lyxrc
7925 * lyxfunc.C: changes from above
7927 2003-03-31 John Levon <levon@movementarian.org>
7929 * lyx_main.C: fix to the last fix
7931 2003-03-31 John Levon <levon@movementarian.org>
7933 * bufferlist.C: "Load original" -> "Load Original"
7939 * format.C: more Alert cleanups
7941 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7943 * text2.C (removeParagraph): make it take a RowList::iterator as
7945 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7946 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7948 * text.C (anchor_row): make it take a RowList::iterator as arg,
7950 (computeBidiTables): make it take a const reference to Row instead
7951 of Row pointer, adjust.
7952 (leftMargin): make it take a RowList::iterator as arg, adjust.
7953 (rowBreakPoint): adjust
7954 (breakAgainOneRow): make it take a RowList::iterator as arg,
7956 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7958 * bufferview_funcs.C (toggleAndShow): adjust
7960 2003-03-30 John Levon <levon@movementarian.org>
7964 * boost-inst.C: moved to support
7966 * several files: changes as a result
7968 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * text2.C (LyXText): adjust.
7972 (removeRow): make it take a RowList::iterator as arg, adjust.
7973 (fullRebreak): adjust
7974 (deleteEmptyParagraphMechanism): adjust
7975 (clearPaint): adjust
7978 * text.C (top_y): adjust
7979 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7980 (breakAgain): make it take a RowList::iterator as arg, adjust.
7981 (breakParagraph): adjust
7982 (insertChar): adjust
7985 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7986 need_break_row, and refresh_row.
7988 * text3.C (dispatch): adjust
7990 * text2.C (checkParagraph): adjust
7992 (setCursorFromCoordinates): adjust
7994 * text.C (top_y): adjust
7996 (getRow): make it return a RowList::iterator, adjust
7997 (getRowNearY): make it return a RowList::iterator, adjust
7999 * text2.C (init): adjust
8000 (insertRow): remove function
8001 (insertParagraph): adjust
8002 (redoParagraphs): adjust
8003 (fullRebreak): adjust
8004 (updateCounters): adjust
8006 * text.C (top_y): rewrite to use RowList iterators.
8008 (setHeightOfRow): rewrite to sue RowList iterators.
8009 (appendParagraph): adjust
8010 (breakAgain): adjust
8011 (breakAgainOneRow): adjust
8012 (breakParagraph): adjust
8014 (getRowNearY): adjust, and remove commented code.
8016 * lyxtext.h (firstRow): delete function
8017 (lastRow): delete function
8018 (rows): new function (const and non-const versions.)
8019 (insertRow): delete function
8021 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8023 2003-03-29 John Levon <levon@movementarian.org>
8025 * BufferView_pimpl.C: always update scrollbar top
8026 because pasting text when we're anchored could mean we
8027 miss an update altogether
8029 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8031 * text2.C (init): use rowlist_.end() and not 0.
8032 (insertRow): change to take a RowList::iterator as arg, adjust
8034 (insertParagraph): change to take a RowList::iterator as arg,
8036 (redoParagraphs): remove some debug msgs.
8038 * text.C (appendParagraph): change to take a RowList::iterator
8039 arg, adjust for this.
8040 (breakAgain): add an assert
8041 (breakAgainOneRow): ditto
8043 2003-03-29 John Levon <levon@movementarian.org>
8045 * text2.C: do not clear selection after inc/decDepth
8048 2003-03-29 John Levon <levon@movementarian.org>
8051 * buffer.C: fix broken strerrors according to Lars
8053 2003-03-29 John Levon <levon@movementarian.org>
8055 * converters.C: more Alert cleanups
8057 2003-03-29 John Levon <levon@movementarian.org>
8059 * bufferview_funcs.C: remove pointless Alert
8061 * buffer.C: fix confusing error message when
8062 a template is chmoded 000
8064 2003-03-29 John Levon <levon@movementarian.org>
8068 * BufferView_pimpl.C: Alert fixes
8072 * tabular-old.C: remove unused table compat reading
8074 2003-03-29 John Levon <levon@movementarian.org>
8079 * lyx_cb.C: more Alert cleanups
8081 * lyxfunc.C: don't allow chktex if not latex document
8083 2003-03-29 John Levon <levon@movementarian.org>
8087 * buffer.C: warnings pushed down from support/,
8090 2003-03-29 John Levon <levon@movementarian.org>
8092 * lyxfunc.C: safety check for C-r (revert)
8094 2003-03-29 John Levon <levon@movementarian.org>
8097 * bufferlist.C: several UI fixes using Alert::prompt.
8098 Fix the pointless looping quit code. Fix stupid revert
8103 * lyx_cb.C: use Alert::prompt
8105 * lyx_main.C: remove a silly question
8107 * lyxfunc.C: remove a couple of silly questions,
8110 2003-03-28 John Levon <levon@movementarian.org>
8112 * text2.C: fix bug 974 (End on empty par)
8114 2003-03-28 John Levon <levon@movementarian.org>
8116 * BufferView_pimpl.C:
8118 * lfuns.h: remove do-nothing math greek lfuns
8120 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * lyxgluelength.h (isValidGlueLength): add default arg on
8123 parameter 2. Remove default arg from friend in class.
8125 * lyxlength.h (isValidLength): add default arg on parameter 2.
8126 Remove default arg from friend in class.
8128 * text2.C (LyXText): adjust, initialize refresh_row.
8132 (insertParagraph): adjst
8133 (redoParagraphs): adjust
8134 (fullRebreak): adjust
8135 (updateCounters): adjust
8136 (deleteEmptyParagraphMechanism): first attempt at fixing a
8139 * text.C (top_y): adjust
8140 (setHeightOfRow): adjust
8142 (getRowNearY): adjust
8144 * lyxtext.h: include RowList.h
8145 (~LyXText): not needed anymore, deleted.
8146 (firstRow): modify for RowList
8147 (lastRow): new function
8148 Delete firstrow and lastrow class variables, add a Rowlist
8149 rowlist_ class variable.
8151 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8154 * RowList.C (insert): fix case where it == begin().
8156 2003-03-26 Angus Leeming <leeming@lyx.org>
8158 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8159 the thesaurus dialog.
8161 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8165 * RowList.[Ch]: new files
8167 * ParagraphList.C (erase): handle the case where it == begin
8170 2003-03-25 John Levon <levon@movementarian.org>
8174 * aspell.C: add new aspell support
8177 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8180 2003-03-25 Angus Leeming <leeming@lyx.org>
8183 * LyXAction.C (init): new LFUN_INSET_INSERT.
8185 * BufferView_pimpl.C (dispatch): split out part of the
8186 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8188 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8191 2003-03-25 Angus Leeming <leeming@lyx.org>
8193 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8195 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8198 * text3.C: remove useless row->height(0)
8200 2003-03-25 John Levon <levon@movementarian.org>
8204 * text3.C: rename the refreshing stuff to better names
8206 2003-03-24 John Levon <levon@movementarian.org>
8208 * BufferView_pimpl.h:
8209 * BufferView_pimpl.C: update layout choice on a mouse
8212 2003-03-23 John Levon <levon@movementarian.org>
8214 * Makefile.am: fix commandtags.h reference
8216 2003-03-22 John Levon <levon@movementarian.org>
8218 * BufferView_pimpl.C:
8223 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8225 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8228 * text.C: take the rtl methods out of line
8230 2003-03-21 André Pönitz <poenitz@gmx.net>
8232 * metricsinfo.[Ch]: new files containing structures to be passed around
8233 during the two-phase-drawing...
8235 2003-03-21 André Pönitz <poenitz@gmx.net>
8237 * lyxtextclass.C: read 'environment' tag.
8239 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8241 * text2.C (removeRow): fix bug 964
8243 2003-03-20 John Levon <levon@movementarian.org>
8247 * text2.C: paint cleanups. Inset::update() dropped font
8250 2003-03-19 John Levon <levon@movementarian.org>
8252 * lyxfunc.C: only fitcursor/markDirty if available()
8254 2003-03-19 John Levon <levon@movementarian.org>
8256 * commandtags.h: rename to ...
8258 * lfuns.h: ... this, and renumber / cleanup
8260 2003-03-19 John Levon <levon@movementarian.org>
8262 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8263 fit the cursor after an lfun
8267 * BufferView_pimpl.h:
8268 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8270 * LyXAction.C: layout-character should have ReadOnly
8272 * ParagraphParameters.C:
8274 * bufferview_funcs.C:
8281 * undo_funcs.C: changes from above
8283 2003-03-18 John Levon <levon@movementarian.org>
8285 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8286 remove it from update()
8288 * lyxfunc.C: update layout choice after an lfun
8290 * text3.C: remove extra updateLayoutChoice()s
8292 2003-03-18 John Levon <levon@movementarian.org>
8294 * text.C: top_y change means full repaint, fix
8295 a drawing bug with cursor movement
8297 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8301 * text2.C: anchor row on setCursor
8303 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8305 * lyxtext.h: remove almost all mutable keywords
8308 * text3.C: remove const keywords accordingly
8310 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8312 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8314 (TeXEnvironment): ditto
8317 2003-03-17 John Levon <levon@movementarian.org>
8319 * text.C (rowBreakPoint): remove attempt to fix displayed
8320 math insets inside a manual label
8322 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8324 * lyxtext.h: remove BufferView* as first arg from almost all class
8326 * other files: adjust.
8328 2003-03-17 John Levon <levon@movementarian.org>
8332 * text2.C: more paint cleanups
8334 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8337 * rowpainter.C: remove "smart" background painting code
8339 2003-03-16 John Levon <levon@movementarian.org>
8344 * text3.C: add helper functions for setting refresh_row/y
8346 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8348 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8349 newline inset which *can* get inserted in the pass_thru layouts.
8350 This is primarily for literate documents.
8352 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8354 * buffer.C: increment LYX_FORMAT to 223
8356 2003-03-14 André Pönitz <poenitz@gmx.net>
8358 * textclass.h: prepare for environment handling, ws changes
8359 * lyxlayout.C: read latexheader and latexfooter tags
8361 2003-03-14 John Levon <levon@movementarian.org>
8363 * text2.C: rewrite ::status() a bit
8365 2003-03-13 John Levon <levon@movementarian.org>
8367 * lyxtext.h: add some docs
8369 2003-03-13 John Levon <levon@movementarian.org>
8374 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8376 2003-03-13 John Levon <levon@movementarian.org>
8378 * text3.C: fix appendix redrawing
8380 2003-03-13 John Levon <levon@movementarian.org>
8382 * text.C (setHeightOfRow):
8384 * rowpainter.C: make appendix mark have the text
8385 "Appendix" so the user knows what it is
8388 * LColor.C: s/appendixline/appendix/ from above
8390 2003-03-13 John Levon <levon@movementarian.org>
8392 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8394 * text.C: fix a getChar(pos) bug properly
8396 2003-03-13 Angus Leeming <leeming@lyx.org>
8399 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8400 Probably only temporary. Let's see how things pan out.
8402 * BufferView.C (unlockInset):
8403 * BufferView_pimpl.C (fitCursor):
8404 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8406 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8407 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8409 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8410 new functions that convert ParagraphParameters to and from a string.
8412 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8413 BufferView::Pimpl's dispatch.
8414 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8416 2003-03-13 André Pönitz <poenitz@gmx.net>
8420 * factory.C: make it aware of InsetEnv
8422 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8424 * text2.C (setCursor): never ask for one past last
8425 (setCursor): add some debugging messages.
8427 * text.C (singleWidth): never ask for one past last
8428 (singleWidth): ditto
8430 (rightMargin): ditto
8431 (rowBreakPoint): ditto
8432 (setHeightOfRow): ditto
8433 (prepareToPrint): ditto
8435 * rowpainter.C (paintBackground): never ask for one past last
8436 (paintText): never ask for one past last
8438 * paragraph_pimpl.C (getChar): make the assert stricter, never
8439 allow the one past last pos to be taken
8441 * paragraph.C (getChar): ws changes only
8443 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8444 (numberOfSeparators): ditto
8445 (numberOfHfills): ditto
8447 2003-03-12 John Levon <levon@movementarian.org>
8453 * paragraph_funcs.C: fix per-buffer authorlists
8455 2003-03-12 John Levon <levon@movementarian.org>
8457 * text.C: fix newline in right address
8459 2003-03-12 Angus Leeming <leeming@lyx.org>
8461 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8462 duplicate those in LyXFunc::dispatch.
8466 * ToolbarDefaults.C:
8467 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8468 Add LFUN_FONTFREE_UPDATE.
8470 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8471 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8473 * bufferview_func.[Ch]: several new functions to facilliate
8474 transfer of data to and from the character dialog.
8476 2003-03-12 John Levon <levon@movementarian.org>
8481 * paragraph_funcs.C:
8482 * paragraph_pimpl.C:
8486 * text3.C: remove META_NEWLINE in favour of an inset
8489 * rowpainter.C: remove paintNewline (done by inset)
8491 2003-03-12 John Levon <levon@movementarian.org>
8493 * paragraph_pimpl.C: complain about bad getChar()s
8494 for a while at least
8496 2003-03-12 John Levon <levon@movementarian.org>
8499 * buffer.C: move paragraph read into a separate function,
8500 a little renaming to reflect that.
8503 * bufferparams.C: remove the author_ids map, not necessary now
8506 * factory.C: moved Buffer::readInset to here
8508 * paragraph_funcs.h:
8509 * paragraph_funcs.C: readParagraph free function moved from
8512 * tabular.C: name change
8514 2003-03-12 John Levon <levon@movementarian.org>
8517 * ParagraphParameters.C: move par params input to
8520 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8521 behave like a normal read from the stream wrt reading
8522 a line vs. a \\token
8524 2003-03-12 John Levon <levon@movementarian.org>
8527 * ParagraphParameters.h:
8528 * ParagraphParameters.C: move output code to a
8531 2003-03-12 John Levon <levon@movementarian.org>
8533 * BufferView.C (insertLyXFile):
8536 * tabular.C: use a parlist iterator for creating the
8539 2003-03-12 John Levon <levon@movementarian.org>
8541 * buffer.C: make current_change static local not
8544 2003-03-12 John Levon <levon@movementarian.org>
8546 * buffer.C: fix insertStringAsLines for change tracking
8548 2003-03-12 John Levon <levon@movementarian.org>
8555 * bufferparams.C: move author list into params. Rename some
8556 functions. Move the header reading into a separate token
8557 loop. Move the header token reading into BufferParams.
8559 2003-03-12 John Levon <levon@movementarian.org>
8561 * changes.C: put debug inside lyxerr.debugging() checks
8563 2003-03-11 André Pönitz <poenitz@gmx.net>
8565 * factory.C: make it aware of InsetHFill
8567 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8569 * buffer.C (latexParagraphs): move function from here...
8570 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8573 2003-03-10 Angus Leeming <leeming@lyx.org>
8575 * LyXAction.C (init): fix bug in poplating array with multiple entries
8576 with the same LFUN (spotted by JMarc).
8578 2003-03-10 John Levon <levon@movementarian.org>
8581 * text2.C: move getColumnNearX() near its
8584 2003-03-10 John Levon <levon@movementarian.org>
8586 * text.C: fix break before a minipage
8588 2003-03-10 John Levon <levon@movementarian.org>
8590 * text.C: fix the last commit
8592 2003-03-09 John Levon <levon@movementarian.org>
8596 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8597 bug 365 (don't break before insets unless needed). Don't
8598 return a value > last under any circumstances.
8600 2003-03-09 Angus Leeming <leeming@lyx.org>
8602 * BufferView_pimpl.C (trackChanges, dispatch): call
8603 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8605 2003-03-09 Angus Leeming <leeming@lyx.org>
8607 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8608 than Dialogs::showAboutlyx().
8610 2003-03-09 Angus Leeming <leeming@lyx.org>
8612 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8613 than Dialogs::showTabularCreate().
8615 2003-03-09 John Levon <levon@movementarian.org>
8619 * text2.C: 3rd arg to nextBreakPoint was always the same.
8622 2003-03-08 John Levon <levon@movementarian.org>
8629 * text2.C: Remove the "main" bit from the "main body"
8632 2003-03-08 John Levon <levon@movementarian.org>
8634 * text.C (leftMargin): The left margin of an empty
8635 manual label paragraph should not include the label width
8638 * text.C (prepareToPrint): don't attempt to measure hfills
8639 for empty manual label paragraphs - the answer should be 0
8641 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8643 * CutAndPaste.C: remove commented code and reindent.
8645 2003-03-08 John Levon <levon@movementarian.org>
8648 * lyxfunc.C: move reloadBuffer()
8651 * BufferView.C: to here
8653 * lyxvc.C: add comment
8656 * vc-backend.C: call bv->reload() to avoid
8657 getStatus() check on MENURELOAD
8659 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8661 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8662 to an old format .dep file.
8664 2003-03-07 Angus Leeming <leeming@lyx.org>
8666 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8667 when the LFUN_MOUSE_RELEASE should have been handled by
8668 inset->localDispatch.
8670 2003-03-07 Angus Leeming <leeming@lyx.org>
8672 * BufferView_pimpl.C (dispatch):
8673 * LyXAction.C (init):
8674 * ToolbarDefaults.C (init):
8676 * lyxfunc.C (getStatus):
8677 remove LFUN_INSET_GRAPHICS.
8679 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8681 2003-03-07 Angus Leeming <leeming@lyx.org>
8684 * LyXAction.C (init):
8685 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8687 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8690 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8692 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8693 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8695 2003-03-07 Angus Leeming <leeming@lyx.org>
8697 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8700 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8702 * ParagraphList.C (front): new function
8705 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8707 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8708 and top_row_offset_. removed var first_y.
8710 * text2.C (LyXText, removeRow):
8712 * BufferView_pimpl.C:
8713 use these methods instead of using first_y
8715 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8717 * text2.C (pasteSelection): adjust for checkPastePossible
8719 * CutAndPaste.C: remove Paragraph * buf and replace with
8720 ParagraphList paragraphs.
8721 (DeleteBuffer): delete
8722 (cutSelection): change the tc type to textclass_type
8723 (copySelection): change the tc type to textclass_type
8724 (copySelection): adjust for ParagraphList
8725 (pasteSelection): change the tc type to textclass_type
8726 (pasteSelection): adjust for Paragraphlist
8727 (nrOfParagraphs): simplify for ParagraphList
8728 (checkPastePossible): simplify for ParagraphList
8729 (checkPastePossible): remove unused arg
8731 * ParagraphList.C (insert): handle the case where there are no
8734 * CutAndPaste.h: make CutAndPaste a namespace.
8736 * text3.C (dispatch): adjust
8738 * text.C (breakParagraph): add a ParagraphList as arg
8740 * paragraph_funcs.C (breakParagraph): change to take a
8741 BufferParams and a ParagraphList as args.
8742 (breakParagraphConservative): ditto
8743 (mergeParagraph): ditto
8744 (TeXDeeper): add a ParagraphList arg
8745 (TeXEnvironment): ditto
8748 * buffer.C (readLyXformat2): adjust
8749 (insertStringAsLines): adjust
8750 (latexParagraphs): adjust
8752 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8753 (cutSelection): adjust
8754 (pasteSelection): adjust
8756 * BufferView_pimpl.C (insertInset): adjust
8758 2003-03-05 Angus Leeming <leeming@lyx.org>
8761 * LyXAction.C (init):
8762 * BufferView_pimpl.C (dispatch):
8763 * lyxfunc.C (getStatus):
8764 remove LFUN_CHILD_INSERT.
8766 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8768 2003-03-05 Angus Leeming <leeming@lyx.org>
8771 * LyXAction.C (init):
8772 * src/factory.C (createInset):
8773 * lyxfunc.C (getStatus):
8774 * text3.C (dispatch):
8775 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8777 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8779 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8781 * ParagraphList.C (insert): handle insert right before end()
8782 (erase): fix cases where it can be first or last paragraph.
8784 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8786 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8787 Paragraph::next and Paragraph::previous
8790 * text.C (breakParagraph): adjust
8792 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8793 BufferParams& as arg.
8794 (breakParagraph): use ParagraphList::insert
8795 (breakParagraphConservative): take a Buffer* instead of a
8796 BufferParams& as arg.
8797 (breakParagraphConservative): use ParagraphList::insert.
8799 * buffer.C (insertStringAsLines): un-const it
8800 (insertStringAsLines): adjust
8802 * ParagraphList.C (insert): new function
8804 * CutAndPaste.C (pasteSelection): adjust
8806 * text.C (backspace): adjust
8808 * tabular.C (SetMultiColumn): adjust
8810 * CutAndPaste.C (cutSelection): adjust
8811 (pasteSelection): adjust
8813 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8814 Buffer const * as arg
8816 * ParagraphList.C (erase): new function
8817 * paragraph_funcs.C (mergeParagraph): use it
8818 (mergeParagraph): make it take a Buffer* instead of a
8819 BufferParams* as arg
8821 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8823 (breakParagraphConservative): ditto
8825 * paragraph.h: remove the breakParagraph friend
8827 * paragraph.C (eraseIntern): new function
8828 (setChange): new function
8830 * paragraph_funcs.C (mergeParagraph): make it take a
8831 ParagraphList::iterator instead of a Paragraph *, adjust
8834 * paragraph.h: move an #endif so that the change tracking stuff
8835 also works in the NO_NEXT case.
8837 2003-03-04 Angus Leeming <leeming@lyx.org>
8840 * LyXAction.C: new LFUN_INSET_MODIFY.
8842 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8843 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8845 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8847 * several files: ws changes only
8849 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8850 (TeXEnvironment): ditto
8853 * buffer.C (makeLaTeXFile): adjust
8854 (latexParagraphs): make it take ParagraphList::iterator as args
8856 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * buffer.C (latexParagraphs): adjust
8860 * paragraph.C (TeXOnePar): move function...
8861 (optArgInset): move function...
8862 (TeXEnvironment): move function...
8863 * paragraph_pimpl.C (TeXDeeper): move function...
8864 * paragraph_funcs.C: ...here
8866 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8868 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8870 * buffer.C (readInset): remove compability code for old Figure and
8873 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8875 * buffer.C: ws changes
8878 * BufferView_pimpl.C: ditto
8881 * bufferlist.h: ditto
8885 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8887 * converter.[Ch]: split into itself +
8890 * Makefile.am: += graph.[Ch] + format.[Ch]
8897 * lyxrc.C: added #include "format.h"
8899 2003-02-27 Angus Leeming <leeming@lyx.org>
8901 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8904 * factory.C (createInset): add "label" to the factory.
8906 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8907 string and do no more.
8909 2003-02-27 Angus Leeming <leeming@lyx.org>
8912 * LyXAction.C (init):
8913 * factory.C (createInset):
8914 * BufferView_pimpl.C (dispatch):
8915 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8917 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8919 * lyxfunc.C (dispatch):
8920 * text3.C (dispatch): pass name to params2string.
8922 2003-02-26 Angus Leeming <leeming@lyx.org>
8924 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8926 Rearrange the ~includes. Strip out the unnecessary ones.
8928 * factory.C (createInset): reformat.
8929 create new insets for the various LFUN_XYZ_APPLY lfuns.
8931 2003-02-26 John Levon <levon@movementarian.org>
8934 * lyxrow.C: add isParStart,isParEnd helpers
8936 * paragraph.h: make isInserted/DeletedText take refs
8938 * paragraph_funcs.h:
8939 * paragraph_funcs.C: remove #if 0'd code
8944 * text.C: use lyxrow helpers above.
8945 Move draw and paint routines to RowPainter.
8946 Make several methods use refs not pointers.
8947 Make backgroundColor() const.
8948 Add markChangeInDraw(), isInInset().
8949 Merge changeRegionCase into changeCase.
8950 Make workWidth() shouldn't-happen code into an Assert.
8953 * rowpainter.C: new class for painting a row.
8956 * vspace.C: make inPixels take a ref
8958 2003-02-26 Angus Leeming <leeming@lyx.org>
8960 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8963 2003-02-25 John Levon <levon@movementarian.org>
8965 * ispell.C: give the forked command a more accurate name
8967 2003-02-22 John Levon <levon@movementarian.org>
8970 * toc.C: make TocItem store an id not a Paragraph *
8973 2003-02-21 Angus Leeming <leeming@lyx.org>
8975 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8976 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8977 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8978 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8979 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8980 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8982 * BufferView_pimpl.C (dispatch):
8983 * LyXAction.C (init):
8984 * factory.C (createInset):
8985 * lyxfunc.C (getStatus, dispatch):
8986 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8988 2003-02-21 Angus Leeming <leeming@lyx.org>
8990 * BufferView_pimpl.C (MenuInsertLyXFile):
8991 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8992 * lyxfunc.C (menuNew, open, doImport):
8993 no longer pass a LyXView & to fileDlg.
8995 2003-02-21 Angus Leeming <leeming@lyx.org>
8997 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8998 * LyXAction.C: change, BIBKEY to BIBITEM.
8999 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9000 Change InsetBibKey to InsetBibitem.
9001 Change BIBKEY_CODE to BIBITEM_CODE.
9002 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9003 * factory.C: replace insetbib.h with insetbibitem.h.
9004 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9005 * paragraph.C: replace insetbib.h with insetbibitem.h.
9006 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9007 Change bibkey() to bibitem().
9008 * text.C: remove insetbib.h.
9009 * text2.C: replace insetbib.h with insetbibitem.h.
9010 change bibkey() to bibitem().
9011 * text3.C: remove insetbib.h.
9012 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9014 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * lyxrc.C (output): enclose user email in quotes (in case there are
9019 2003-02-18 John Levon <levon@movementarian.org>
9021 * buffer.h: add std::
9023 2003-02-17 John Levon <levon@movementarian.org>
9029 * pspell.C: reworking. Especially in ispell, a large
9030 number of clean ups and bug fixes.
9032 * lyxfunc.C: fix revert to behave sensibly
9034 2003-02-17 André Pönitz <poenitz@gmx.net>
9037 * commandtags.h: new LFUN_INSERT_BIBKEY
9047 * paragraph_func.C: remove special bibkey handling
9049 2003-02-17 John Levon <levon@movementarian.org>
9051 * text.C (Delete): fix case where delete at the end of
9052 the very first paragraph would not merge the pars
9054 2003-02-17 John Levon <levon@movementarian.org>
9056 * lyxrow.C: fix lastPrintablePos()
9058 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9060 * bufferparams.C (writeLaTeX): add a std:here
9062 * buffer.C: and remove a using directive there
9064 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9066 * buffer.C (makeLaTeXFile): move the code that generates the
9069 * bufferparams.C (writeLaTeX): ... in this new method
9071 * LaTeXFeatures.C (getEncodingSet): make const
9072 (getLanguages): make const
9074 * MenuBackend.C (binding): returns the binding associated to this
9076 (add): sets the status of each item by calling getStatus. Adds
9078 (read): add support for OptSubMenu
9079 (expand): remove extra separator at the end of expanded menu
9081 2003-02-15 John Levon <levon@movementarian.org>
9084 * BufferView_pimpl.C:
9086 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9087 inset code that had no actual effect. Remove unneeded status
9090 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9092 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9095 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9097 * text.C (drawLengthMarker): also draw an arrow marker for
9098 symbolic lengths (medskip...)
9100 2003-02-14 John Levon <levon@movementarian.org>
9103 * tabular.C: better method names
9105 2003-02-14 John Levon <levon@movementarian.org>
9107 * BufferView_pimpl.C:
9112 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9113 it's a more accurate name. Remove some pointless uses.
9115 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9117 * text2.C (LyXText): change order of initilizers to shut off
9120 2003-02-14 John Levon <levon@movementarian.org>
9122 * buffer.C: use ParIterator for getParFromID()
9126 * paragraph_pimpl.h:
9127 * paragraph_pimpl.C: remove unused getParFromID()
9129 2003-02-14 John Levon <levon@movementarian.org>
9131 * buffer.C: remove some very old #if 0'd parse code
9133 2003-02-13 John Levon <levon@movementarian.org>
9137 * text2.C: move hfillExpansion(), numberOfSeparators(),
9138 rowLast(), rowLastPrintable(), numberofHfills(),
9139 numberOfLabelHfills() ...
9142 * lyxrow.C: ... to member functions here.
9147 * text.C: remove LyXText::beginningOfMainBody(), and call
9148 p->beginningOfMainBody() directly. Move the check for
9149 LABEL_MANUAL into the latter.
9156 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9162 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9163 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9165 2003-02-13 John Levon <levon@movementarian.org>
9167 * CutAndPaste.C: remove debug
9169 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * paragraph.C (asString): remove two unused variables
9173 * lyxtextclass.C (readTitleType):
9175 (LyXTextClass): handle new members titletype_ and titlename_
9177 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9179 2003-02-09 John Levon <levon@movementarian.org>
9182 * buffer.C: replace hand-coded list with a map for the dep clean
9184 2003-02-08 John Levon <levon@movementarian.org>
9186 * LaTeX.C: consolidate code into showRunMessage() helper
9188 2003-02-08 John Levon <levon@movementarian.org>
9193 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9194 and pass the size in explicitly
9196 * BufferView_pimpl.h:
9197 * BufferView_pimpl.C:
9199 * BufferView.C: add getCurrentChange()
9201 * BufferView_pimpl.h:
9202 * BufferView_pimpl.C: handle change lfuns
9204 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9205 for changes. Mark pasted paragraphs as new.
9207 * support/lyxtime.h:
9208 * support/lyxtime.C:
9209 * DepTable.C: abstract time_t as lyx::time_type
9212 * LColor.C: add colours for new text, deleted text, changebars
9214 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9215 package use "usenames" option.
9219 * LyXAction.C: add change lfuns
9223 * author.C: author handling
9226 * buffer.C: add a per-buffer author list, with first entry as
9227 current author. Handle new .lyx tokens for change tracking. Output
9228 author list to .lyx file. Output dvipost stuff to .tex preamble.
9229 Bump lyx format to 222.
9232 * bufferlist.C: add setCurrentAuthor() to reset current author details
9236 * bufferparams.C: add param for tracking
9238 * bufferview_funcs.C: output change info in minibuffer
9242 * changes.C: add change-tracking structure
9245 * debug.C: add CHANGES debug flag
9248 * lyxfind.C: add code for finding the next change piece
9251 * lyxrc.C: add user_name and user_email
9254 * lyxrow.C: add a metric for the top of the text line
9257 * text.C: implement accept/rejectChange()
9260 * text.C: paint changebars. Paint new/deleted text in the chosen
9261 colours. Strike through deleted text.
9265 * paragraph_pimpl.h:
9266 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9267 in the current change to the insert functions. Rework erase to
9268 mark text as deleted, adding an eraseIntern() and a range-based
9269 erase(). Implement per-paragraph change lookup and
9272 * paragraph_funcs.C: Fixup paste for change tracking.
9274 * tabular.C: mark added row/columns as new.
9276 * text.C: fix rowLast() to never return -1. Don't allow
9277 spellchecking of deleted text. Track transpose changes. Don't
9278 allow paragraph break or merge where appropriate.
9280 * text2.C: leave cursor at end of selection after a cut.
9282 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9284 * text.C (getLengthMarkerHeight):
9285 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9286 visible on screen too.
9288 2003-02-07 John Levon <levon@movementarian.org>
9290 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9292 2003-02-05 Angus Leeming <leeming@lyx.org>
9294 * lyxserver.C (read_ready): revert my patch of 11 September last year
9295 as it sends PC cpu through the roof. Presumably this means that
9296 the lyxserver will no longer run on an Alpha...
9298 2003-01-30 Angus Leeming <leeming@lyx.org>
9300 * factory.C (createInset): create an InsetCommandParam of type "index"
9301 and use it to 'do the right thing'.
9303 * text2.C (getStringToIndex): ensure that cursor position is always
9304 reset to the reset_cursor position.
9306 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9308 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9311 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9315 * lyxfunc.C: Output messages with identical spelling, punctuation,
9318 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9320 * MenuBackend.C (expandFormats): List only viewable export formats
9323 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9326 * lyxfunc.C (getStatus): Make sure that formats other than
9327 "fax" can also be disabled
9329 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9331 * text3.C (dispatch): put the lfuns that insert insets in 3
9332 groups, and call doInsertInset with appropriate arguments.
9333 (doInsertInset): new function, that creates an inset and inserts
9334 it according to some boolean parameters.
9336 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9338 * buffer.C (readFile): remember to pass on 'par' when calling
9339 readFile recursively.
9341 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9343 * MenuBackend.C (expandFormats): add "..." to import formats.
9345 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9347 * paragraph.C (asString): Remove XForms RTL hacks.
9349 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9350 * buffer.C: fix typo
9352 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9354 * Makefile.am (LIBS): delete var
9355 (lyx_LDADD): add @LIBS@ here instead.
9357 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9359 * Clarify the meaning of "wheel mouse jump"
9361 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9363 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9366 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9368 * importer.C (Loaders): do not preallocate 3 elements in the
9369 vector, since one ends up with 6 elements otherwise
9371 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9373 * DepTable.C (write): write the file name as last element of the
9374 .dep file (because it may contain spaces)
9375 (read): read info in the right order
9377 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9379 * paragraph_pimpl.C (simpleTeXBlanks):
9380 (simpleTeXSpecialChars):
9381 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9383 * tabular.C (latex): add some missing case statements. Reindent.
9385 * MenuBackend.C (expandToc): remove unused variable.
9387 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9396 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9399 2003-01-05 John Levon <levon@movementarian.org>
9402 * BufferView.C: add getEncoding()
9405 * kbsequence.C: do not store last keypress
9408 * lyxfunc.C: store last keypress here instead. Pass encoding
9411 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9413 * lyx_main.C (init): remove annoying error message when following
9414 symbolic links (bug #780)
9416 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9418 * text.C (insertChar):
9419 * lyxrc.C (getDescription): remove extra spaces
9421 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9423 * lyxrc.C (getDescription): remove extra spaces
9425 2002-12-20 John Levon <levon@movementarian.org>
9427 * text3.C: hack fix for page up/down across tall rows
9429 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9431 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9434 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9436 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9437 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9438 thesaurus is not compiled in
9440 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9442 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9444 2002-12-16 Angus Leeming <leeming@lyx.org>
9447 * lyx_main.C (init): remove override_x_deadkeys stuff.
9449 2002-12-12 John Levon <levon@movementarian.org>
9451 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9452 insert. Only remove shift modifier under strict
9455 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9457 * MenuBackend.C (expandToc): fix crash.
9459 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9461 * MenuBackend.C (expandToc): gettext on float names.
9463 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9465 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9466 implement bool empty() [bug 490]
9468 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9470 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9472 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9474 * several files: ws changes
9476 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9478 * text2.C (setCounter): clean up a bit, use boost.format.
9479 (updateCounters): initialize par upon declaration.
9481 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9482 if the layout exists. We do not just store the layout any more.
9483 (SwitchLayoutsBetweenClasses): use boost.format
9485 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9487 * converter.C (convert): if from and to files are the same, use a
9488 temporary files as intermediary
9490 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9493 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9495 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9497 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9499 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9501 * tabular.C (asciiPrintCell): use string(size, char) instead of
9504 * sgml.C (openTag): fix order of arguments to string constructor
9507 * lyxfunc.C (dispatch): use boost.format
9509 * lots of files: change "c" -> 'c'
9511 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9513 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9515 2002-11-25 Angus Leeming <leeming@lyx.org>
9517 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9519 * lyx_main.C (init): compile fix.
9521 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9523 * lyx_cb.C (start): boost.formatify
9524 do not include <iostream>
9526 * lengthcommon.C: ws only
9528 * boost-inst.C,BoostFormat.h: add more explict instantations
9530 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9532 * lots of files: handle USE_BOOST_FORMAT
9534 2002-11-21 John Levon <levon@movementarian.org>
9536 * pspell.C: fix compile
9538 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9540 * lyxfunc.C (dispatch): use boost::format
9544 * lyxfont.C (stateText): use boost::format
9546 * lyx_main.C (LyX): use boost::format
9548 (queryUserLyXDir): ditto
9551 (typedef boost::function): use the recommened syntax.
9553 * importer.C (Import): use boost::format
9555 * debug.C (showLevel): use boost::format
9557 * converter.C (view): use boost::format
9562 * bufferview_funcs.C (currentState): use boost::format
9564 * bufferlist.C (emergencyWrite): use boost::format
9566 * buffer.C (readLyXformat2): use boost::format
9567 (parseSingleLyXformat2Token): ditto
9569 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9571 * LaTeX.C (run): use boost::format
9573 * Chktex.C (scanLogFile): use boost::format
9575 * BufferView_pimpl.C (savePosition): use boost::format
9576 (restorePosition): ditto
9577 (MenuInsertLyXFile): ditto
9579 * BoostFormat.h: help file for explicit instation.
9581 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9583 * tabular.C (latex): Support for block alignment in fixed width
9586 2002-11-17 John Levon <levon@movementarian.org>
9588 * BufferView_pimpl.C:
9590 * lyxfunc.C: split filedialog into open/save
9592 2002-11-08 Juergen Vigna <jug@sad.it>
9594 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9595 by my last patch (hopefully).
9597 2002-11-08 John Levon <levon@movementarian.org>
9606 * toc.C: ParConstIterator, and use it (from Lars)
9608 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9610 * lyxtextclass.[Ch]: revise and add doxygen comments
9612 2002-11-07 John Levon <levon@movementarian.org>
9614 * text.C: fix progress value for spellchecker
9616 * toc.C: fix navigate menu for insetwrap inside minipage
9618 * paragraph_funcs.C: added FIXME for suspect code
9620 2002-11-07 John Levon <levon@movementarian.org>
9622 * BufferView_pimpl.C: fix redrawing of insets
9625 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9627 * text2.C (updateCounters): fix bug 668
9629 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9631 * text3.C (dispatch): Do not make the buffer dirty when moving the
9634 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9636 * vc-backend.C: STRCONV
9639 * text2.C (setCounter): STRCONV
9641 * paragraph.C (asString): STRCONV
9643 * lyxlength.C (asString): STRCONV
9644 (asLatexString): ditto
9646 * lyxgluelength.C (asString): STRCONV
9647 (asLatexString): ditto
9649 * lyxfunc.C (dispatch): STRCONV
9652 * lyxfont.C (stateText): STRCONV
9654 * importer.C (Import): STRCONV
9656 * counters.C (labelItem): STRCONV
9657 (numberLabel): ditto
9658 (numberLabel): remove unused ostringstream o
9663 * bufferview_funcs.C (currentState): STRCONV
9665 * buffer.C (readFile): STRCONV
9666 (asciiParagraph): ditto
9667 (makeLaTeXFile): ditto
9669 * Spacing.C (writeEnvirBegin): STRCONV
9671 * LaTeXFeatures.C (getLanguages): STRCONV
9672 (getPackages): ditto
9674 (getBabelOptions): ditto
9675 (getTClassPreamble): ditto
9676 (getLyXSGMLEntities): ditto
9677 (getIncludedFiles): ditto
9681 (scanAuxFile): ditto
9684 * LString.h: add the STRCONV macros
9686 * BufferView_pimpl.C (savePosition): STRCONV
9687 (restorePosition): ditto
9688 (MenuInsertLyXFile): ditto
9690 * vc-backend.C (scanMaster): change from submatch[...] to
9693 * funcrequest.C: include config.h
9695 * factory.C: include config.h
9697 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9699 * box.C: include config.h
9701 * LaTeX.C (scanAuxFile): change from submatch[...] to
9705 2002-10-25 Angus Leeming <leeming@lyx.org>
9707 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9709 * ispell.[Ch] (setError): new method.
9710 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9711 Use setError() insetead of goto END.
9713 * lyx_cb.C (AutoSave): move out child process into new class
9716 2002-10-30 John Levon <levon@movementarian.org>
9718 * text3.C: make start appendix undoable
9720 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9722 * lyxlength.C (inPixels): Fix returned value.
9724 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9727 2002-10-24 Angus Leeming <leeming@lyx.org>
9729 * lyxgluelength.h: no need to forward declare BufferParams
9730 or BufferView, so don't.
9732 2002-10-21 John Levon <levon@movementarian.org>
9734 * BufferView.C: menuUndo ->undo, redo
9736 * BufferView.h: document, remove dead, make some methods private
9738 * paragraph_funcs.h:
9739 * paragraph_funcs.C:
9740 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9745 * sgml.C: move sgml open/close tag into sgml.C
9747 * bufferview_funcs.h: unused prototype
9750 * lyxfunc.C: remove unused
9753 * text.C: remove unused
9755 2002-10-21 John Levon <levon@movementarian.org>
9759 * BufferView_pimpl.h:
9760 * BufferView_pimpl.C: fix mouse wheel handling based on
9761 patch from Darren Freeman
9763 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9765 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9767 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9769 * lyxlength.C (inPixels): Fix hanfling of negative length.
9770 Fix LyXLength::MU case.
9772 2002-10-16 John Levon <levon@movementarian.org>
9774 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9776 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9778 * converter.C (view): add support for $$i (file name) and $$p
9779 (file path) for the viewer command. If $$i is not specified, then
9780 it is appended to the command (for compatibility with old syntax)
9782 2002-10-14 Juergen Vigna <jug@sad.it>
9784 * undo_funcs.C (textHandleUndo): alter the order in which the
9785 new undopar is added to the LyXText, as we have to set first
9786 the right prev/next and then add it as otherwise the rebuild of
9787 LyXText is not correct. Also reset the cursor to the right paragraph,
9788 with this IMO we could remove the hack in "redoParagraphs()".
9790 2002-10-09 Angus Leeming <leeming@lyx.org>
9792 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9793 to turn off an optimisation if a new inset is to be inserted.
9795 2002-10-11 André Pönitz <poenitz@gmx.net>
9797 * lyxtext.h: make some functions public to allow access
9798 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9800 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * text3.C (dispatch): when changing layout, avoid an infinite loop
9805 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9807 * lyxrc.C (read): treat a viewer or converter command of "none" as
9810 * MenuBackend.C (expandFormats): for an update, also allow the
9811 formats that are not viewable
9813 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9814 script if it is newer than the lyxrc.defaults in user directory
9816 2002-10-07 André Pönitz <poenitz@gmx.net>
9818 * text.C: Vitaly Lipatov's small i18n fix
9820 2002-09-25 Angus Leeming <leeming@lyx.org>
9822 * ispell.h: doxygen fix.
9824 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9826 * buffer.h (readFile): Add a new argument to the method, to allow
9827 reading of old-format templates.
9829 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9831 * toc.C (getTocList): Get TOC from InsetWrap.
9833 2002-09-16 John Levon <levon@movementarian.org>
9835 * lyxfunc.C: check tabular for cut/copy too
9837 2002-09-12 John Levon <levon@movementarian.org>
9842 * factory.C: add header
9844 * paragraph_funcs.h:
9845 * paragraph_funcs.C: cleanup
9847 2002-09-11 John Levon <levon@movementarian.org>
9849 * PrinterParams.h: odd/even default to true
9851 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9853 * PrinterParams.h: update printer parameters for new xforms dialog
9855 2002-09-11 Angus Leeming <leeming@lyx.org>
9857 * lyxserver.C (read_ready): re-write to make it more transparent
9858 and to make it work in coherent fashion under Tru64 Unix.
9860 2002-09-11 André Pönitz <poenitz@gmx.net>
9864 * text3.C: implement LFUN_WORDSEL
9866 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9868 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9869 make floatlist_ a boost::shared_ptr<FloatList>
9871 * lyxtextclass.C: include FloatList.h
9872 (LyXTextClass): initialize floatlist_
9873 (TextClassTags): add TC_NOFLOAT
9874 (Read): match "nofloat" to TC_NOFLOAT and use it.
9875 (readFloat): modify call to floatlist_
9879 * FloatList.[Ch] (FloatList): remove commented out float
9881 (erase): new function
9883 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9885 * MenuBackend.C (expandToc): fix crash when there is no document
9888 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9890 * many files: Add insetwrap.
9892 2002-09-09 John Levon <levon@movementarian.org>
9894 * text2.C: remove confusing and awkward depth wraparound
9896 2002-09-09 John Levon <levon@movementarian.org>
9898 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9901 * buffer.C: remove getIncludeonlyList()
9904 * lyxfunc.C: remove headers
9906 2002-09-09 Juergen Vigna <jug@sad.it>
9908 * text.C (getColumnNearX): fix form Michael this is most
9909 probably a cut&paste bug.
9911 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9913 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9915 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9916 references, ws changes.
9918 * text2.C (init): update counters after init
9919 (insertParagraph): no need to set counter on idividual paragraphs.
9920 (setCounter): access the counters object in the textclass object
9921 on in the buffer object.
9922 (updateCounters): ditto
9924 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9925 shared_ptr<Counters> to avoid loading counters.h in all
9927 (LyXTextClass): initialize ctrs_
9928 (TextClassTags): add TC_COUNTER, and ...
9929 (Read): use it here.
9930 (CounterTags): new tags
9931 (readCounter): new function
9932 (counters): new funtion
9933 (defaultLayoutName): return a const reference
9935 * counters.C (Counters): remove contructor
9936 (newCounter): remove a couple of unneeded statements.
9937 (newCounter): simplify a bit.
9938 (numberLabel): some small formatting changes.
9940 * buffer.[Ch]: remove all traces of counters, move the Counters
9941 object to the LyXTextClass.
9943 2002-09-06 Alain Castera <castera@in2p3.fr>
9945 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9946 package to set the horizontal alignment on fixed width columns.
9949 * lyx_sty.h: added tabularnewline macro def.
9951 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9953 2002-09-06 John Levon <levon@movementarian.org>
9955 * LyXAction.C: tooltips for sub/superscript
9957 * MenuBackend.C: a bit more verbose
9959 * lyxfunc.C: tiny clean
9961 * undo_funcs.C: document undo_frozen
9963 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9965 * counters.C (Counters): add missing algorithm counter.
9967 * text2.C (setCounter): lookup the counter with layouts latexname
9968 instead of by section number.
9969 (setCounter): use a hackish way to lookup the correct enum
9971 a float name->type change
9972 reset enum couners with counter name directly instead of depth value.
9974 * counters.C (Counters): remove the push_backs, change to use the
9975 float type not the float name.
9976 (labelItem): remove unused string, float name->type change
9978 * counters.h: don't include vector, loose the enums and sects vectors
9980 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9982 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9983 (Read): add float->TC_FLOAT to textclassTags
9984 (Read): and handle it in the switch
9985 (readFloat): new function
9987 * FloatList.C (FloatList): comment out the hardcoded float
9990 * lyxlayout.h: ws change.
9992 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9994 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9996 2002-09-03 Angus Leeming <leeming@lyx.org>
9998 * BufferView_pimpl.h: qualified name is not allowed in member
9999 declaration: WorkArea & Pimpl::workarea() const;
10001 * factory.C: added using std::endl directive.
10003 * text3.C: added using std::find and std::vector directives.
10005 2002-08-29 André Pönitz <poenitz@gmx.net>
10008 * text2.C: remove unused member number_of_rows
10011 * BufferView2.C: remove file, move contents to...
10012 * BufferView.C: ... here
10014 * BufferView_pimpl.C:
10015 * factory.C: move more inset creation to factory
10017 * vspace.C: avoid direct usage of LyXText, ws changes
10020 don't provide direct access to WorkArea, use two simple
10021 acessors haveSelction() and workHeight() instead
10024 2002-08-29 John Levon <levon@movementarian.org>
10026 * BufferView_pimpl.C (dispatch): do not continue when
10029 2002-08-28 André Pönitz <poenitz@gmx.net>
10031 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10034 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10036 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10038 * buffer.C: increment LYX_FORMAT to 221
10040 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10041 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10043 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10045 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10047 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10049 * factory.C (createInset): use LyXTextClass::floats
10051 * MenuBackend.C (expandFloatListInsert):
10052 (expandFloatInsert):
10055 * text2.C (setCounter):
10057 * LaTeXFeatures.C (useFloat):
10058 (getFloatDefinitions):
10060 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10062 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10063 floatlist_, with accessor floats().
10065 * FloatList.h: remove global FloatList
10067 2002-08-26 André Pönitz <poenitz@gmx.net>
10069 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10073 * BufferView_pimpl.C:
10074 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10076 2002-08-25 John Levon <levon@movementarian.org>
10078 * LyXAction.C: fix margin note description
10080 2002-08-24 John Levon <levon@movementarian.org>
10084 * bufferview_funcs.C:
10086 * undo_funcs.C: cleanups
10088 * lyxfunc.C: disable CUT/COPY when no selection
10090 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10092 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10093 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10095 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10096 Add backward compatibility to "mono", "gray" and "no".
10098 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10100 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10101 (and file_format >= 200).
10103 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10105 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10107 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10109 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10111 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10113 * BufferView_pimpl.C:
10120 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10121 inset and code to make it work with the paragraph code. The inset
10122 can be anywhere in the paragraph, but will only do the expected
10123 thing in LaTeX if the layout file contains the parameter line
10125 (or more generally, a nonzero value) for that layout.
10127 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10129 * paragraph.h: remove the declaration of undefined counters class
10132 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10134 * text2.C (setCounter): fixed enumeration mis-count as reported by
10135 Dr. Richard Hawkins.
10137 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10139 * paragraph_funcs.h: remove some unneeded includes
10141 * text.C (backspace): pasteParagraph now in global scipe
10143 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10144 (pasteSelection): ditto
10146 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10147 * paragraph_funcs.C (pasteParagraph): ... here
10149 2002-08-20 André Pönitz <poenitz@gmx.net>
10151 * commandtags.h: new LFUNs for swapping/copying table row/colums
10154 * lyxfunc.C: support for new lfuns
10156 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10159 * buffer.[Ch]: remove NO_COMPABILITY stuff
10161 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10163 * boost.C (throw_exception): new file, with helper function for
10164 boost compiled without exceptions.
10169 * ParameterStruct.h:
10170 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10172 * bufferlist.C (emergencyWriteAll): use boost bind
10174 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10176 * text.C: include paragraph_funcs.h
10177 (breakParagraph): breakParagraph is now in global scope
10179 * paragraph_funcs.[Ch]: new files
10181 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10184 * buffer.C: include paragraph_funcs.h
10185 (insertStringAsLines): breakParagraph is now in global scope
10187 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10190 * CutAndPaste.C: include paragraph_funcs.h
10191 (cutSelection): breakParagraphConservative is now in global scope
10192 (pasteSelection): ditto
10194 * buffer.h: declare oprator== and operator!= for
10195 Buffer::inset_iterator
10197 * bufferlist.C (emergencyWrite): don't use fmt(...)
10199 * text3.C: add using std::endl
10201 * BufferView.C (moveCursorUpdate): remove default arg
10203 2002-08-20 André Pönitz <poenitz@gmx.net>
10205 * buffer.[Ch]: move inline functions to .C
10208 * BufferView_pimpl.C:
10210 * buffer.[Ch]: use improved inset_iterator
10213 * paragraph.[Ch]: write one paragraph at a time
10215 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10217 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10218 style if style is not specified.
10220 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10222 * text2.C (setCounter): when searching for right label for a
10223 caption, make sure to recurse to parent insets (so that a caption
10224 in a minipage in a figure float works) (bug #568)
10226 2002-08-20 André Pönitz <poenitz@gmx.net>
10228 * text3.C: new file for LyXText::dispatch() and helpers
10230 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10232 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10234 2002-08-19 André Pönitz <poenitz@gmx.net>
10237 * text.C: new LyXText::dispatch()
10239 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10241 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10243 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10245 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10248 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10250 * Makefile.am: use $(variables) instead of @substitutions@
10252 2002-08-15 André Pönitz <poenitz@gmx.net>
10255 * BufferView_pimpl.C: streamlining mathed <-> outer world
10259 * LyXAction.C: remove unused LFUN_MATH
10261 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10263 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10265 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10267 * paragraph.C (Paragraph): reformat a bit
10268 (cutIntoMinibuffer): use builtin InsetList function instad of
10272 * buffer.C: include boost/bind.hpp, add using std::for_each
10273 (writeFileAscii): use ParagraphList iterators
10274 (validate): use for_each for validate traversal of paragraphs
10275 (getBibkeyList): use ParagraphList iterators
10276 (resizeInsets): use for_each to resizeInsetsLyXText for all
10278 (getParFromID): use ParagraphList iterators
10280 * BufferView2.C (lockInset): use paragraph list and iterators
10282 2002-08-14 John Levon <levon@movementarian.org>
10284 * lyxserver.C: remove spurious xforms include
10286 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10288 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10290 2002-08-13 André Pönitz <poenitz@gmx.net>
10293 * lyxfunc.C: further cleaning
10295 2002-08-13 André Pönitz <poenitz@gmx.net>
10297 * funcrequest.h: new constructor
10299 * funcrequest.C: move stuff here from .h
10302 * BufferView_pimpl.C:
10305 * lyxfunc.C: subsequent changes
10307 * lyxfunc.h: new view() member function
10309 * lyxfunc.C: subsequent changes
10311 2002-08-13 Angus Leeming <leeming@lyx.org>
10314 * BufferView_pimpl.C:
10322 changes due to the changed LyXView interface that now returns references
10323 to member variables not pointers.
10325 2002-08-13 Angus Leeming <leeming@lyx.org>
10327 * WordLangTuple (word, lang_code): return references to strings,
10332 * lyxtext.h: forward-declare WordLangTuple.
10337 * text.C: #include "WordLangTuple.h".
10340 * text.C: (selectNextWordToSpellcheck): constify return type.
10342 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10348 * paragraph_pimpl.h:
10351 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10352 suggested by Angus.
10353 Made updateCounter always count from start of buffer, and removed
10354 second argument (par).
10355 Reverted floats number display to '#'. Perhaps I'll try again when the
10356 code base is sanitized a bit.
10358 2002-08-12 Angus Leeming <leeming@lyx.org>
10360 * buffer.[Ch] (getLabelList): constify.
10362 2002-08-07 André Pönitz <poenitz@gmx.net>
10364 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10366 * funcrequest.h: extension to keep mouse (x,y) position
10368 2002-08-12 Juergen Vigna <jug@sad.it>
10370 * BufferView2.C (insertErrors): forbid undo when inserting error
10373 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10375 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10377 * ParagraphList.[Ch]: new files
10379 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10381 * BufferView2.C (lockInset): ParagraphList changes
10384 * bufferlist.C: ditto
10388 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10390 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10391 unused class variable counter_,
10393 * paragraph.[Ch] (getFirstCounter): delete unused function
10395 * counters.C: include LAssert.h
10396 (reset): add a new function with no arg, change other version to
10397 not have def. arg and to not allow empty arg.
10399 * text2.C (setCounter): remove empty arg from call to Counters::reset
10401 2002-08-11 John Levon <levon@movementarian.org>
10403 * Makefile.am: add WordLangTuple.h
10405 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10407 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10408 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10410 * insets/insettext.C: InsetList changes
10412 * graphics/GraphicsSupport.C (operator()): InsetList changes
10414 * toc.C (getTocList): InsetList changes
10416 * paragraph_pimpl.[Ch]: InsetList changes
10418 * paragraph.[Ch]: InsetList changes
10420 * buffer.C (inset_iterator): InsetList changes
10421 (setParagraph): ditto
10422 * buffer.h (inset_iterator): ditto
10423 * iterators.C (operator++): ditto
10424 * iterators.h: ditto
10426 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10428 * InsetList.[Ch]: new files, most InsetList handling moved out of
10431 * BufferView2.C (removeAutoInsets): InsetList changes
10433 (ChangeInsets): ditto
10435 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10437 * paragraph_pimpl.h (empty): new function
10439 * paragraph.[Ch] (empty): new function
10441 * other files: use the new Paragraph::empty function
10443 2002-08-09 John Levon <levon@movementarian.org>
10445 * lyxtext.h: remove unused refresh_height
10447 2002-08-09 John Levon <levon@movementarian.org>
10454 * paragraph.C: move sgml char escaping out of paragraph
10457 * paragraph.C: remove id setter
10461 * paragraph_pimpl.C: remove dead tex_code_break_column
10463 * bufferview_funcs.C: small cleanup
10465 * lyxfunc.C: remove dead proto
10467 * lyxtext.h: make some stuff private. Remove some dead stuff.
10469 * lyxgluelength.C: make as[LyX]String() readable
10471 2002-08-08 John Levon <levon@movementarian.org>
10476 * ToolbarDefaults.C:
10479 * toc.C: lyxaction cleanup
10481 2002-08-08 John Levon <levon@movementarian.org>
10483 * BufferView2.C: small cleanup
10486 * lyxfind.C: move unnecessary header into the .C
10488 2002-08-08 John Levon <levon@movementarian.org>
10490 * funcrequest.h: just tedious nonsense
10493 * lyx_main.C: cleanups
10496 * vspace.C: remove dead header lyx_main.h
10498 2002-08-07 Angus Leeming <leeming@lyx.org>
10501 * paragraph_pimpl.h:
10502 Forward declare class Counters in paragraph.h by moving the ctrs member
10503 variable into Paragraph::Pimpl.
10504 (counters): new method, returning a reference to pimpl_->ctrs.
10506 * text2.C: ensuing changes.
10508 2002-08-07 John Levon <levon@movementarian.org>
10510 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10512 * BufferView_pimpl.C: announce X selection on double/triple
10515 * lyx_main.C: use correct bool in batch dispatch
10517 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10519 2002-08-07 André Pönitz <poenitz@gmx.net>
10521 * funcrequest.h: new class to wrap a kb_action and its argument
10524 * BufferView_pimpl[Ch]:
10528 * lyxrc.C: subsequent changes
10531 2002-08-07 John Levon <levon@movementarian.org>
10533 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10534 document options change.
10536 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10541 * makefile.am: move counters functionality over from
10542 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10544 2002-08-06 John Levon <levon@movementarian.org>
10546 * WordLangTuple.h: new file for word + language code tuple
10557 * BufferView2.C: use WordLangTuple
10560 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10562 2002-08-06 John Levon <levon@movementarian.org>
10564 * lyx_main.C: fix cmdline batch handling
10566 2002-08-06 André Pönitz <poenitz@gmx.net>
10568 * lyxrc.C: set default for show_banner to true
10570 2002-08-06 John Levon <levon@movementarian.org>
10572 * pspell.C: fix a crash, and allow new aspell to work
10574 2002-08-06 John Levon <levon@movementarian.org>
10577 * kbmap.C: small cleanup
10580 * vspace.C: add const
10582 2002-08-05 John Levon <levon@movementarian.org>
10584 * LyXAction.C: back to tabular-insert
10586 2002-08-04 John Levon <levon@movementarian.org>
10589 * BufferView.C: cosmetic change
10591 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10601 * BufferView2.C: purge all "Lyx" not "LyX" strings
10604 * lyxcursor.C: attempt to add some documentation
10609 * ToolbarDefaults.C:
10610 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10611 merge with LFUN_TABULAR_INSERT
10618 * pspell.C: split up i/pspell implementations into separate
10619 files, many cleanups
10621 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10623 * text2.C: some cleanup
10625 * lyxfunc.C: don't check for isp_command == "none" any more, it
10626 didn't make any sense
10628 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10633 * makefile.am: move counters functionality over
10634 from text2.C/paragraph.[Ch] to counters.[Ch], and
10636 2002-08-02 John Levon <levon@movementarian.org>
10638 * buffer.C: s/lyxconvert/lyx2lyx/
10640 2002-08-02 Angus Leeming <leeming@lyx.org>
10642 * lyxlex.C: revert John's change as it breaks reading of the user
10645 2002-08-02 Angus Leeming <leeming@lyx.org>
10647 * importer.C (Import):
10648 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10649 changes due to LyXView::view() now returning a boost::shared_ptr.
10651 2002-08-02 John Levon <levon@movementarian.org>
10653 * lyxlex.C: small cleanup
10655 2002-08-02 John Levon <levon@movementarian.org>
10657 * text2.C (status): small cleanup, no logic change
10659 2002-08-01 John Levon <levon@movementarian.org>
10662 * buffer.C (writeFile): don't output alerts, caller
10666 * lyx_cb.C: from above
10668 * lyxfunc.C: allow to open non-existent files
10670 2002-07-31 John Levon <levon@movementarian.org>
10672 * lyxserver.C: don't let incidental errors get
10675 2002-07-30 John Levon <levon@movementarian.org>
10677 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10679 2002-07-30 John Levon <levon@movementarian.org>
10682 * lyxserver.C: remove I/O callback too
10684 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10689 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10691 * many files: strip,frontStrip -> trim,ltrim,rtrim
10693 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10695 * PrinterParams.h: remove extern containsOnly, and include
10696 support/lstrings.h instead.
10698 * LaTeX.C (scanAuxFile): modify because of strip changes
10700 * buffer.C (makeLaTeXFile): ditto
10701 * bufferparams.C (writeFile): ditt
10702 * lyxfont.C (stateText): ditto
10703 * lyxserver.C (read_ready): ditto
10704 * vc-backend.C (scanMaster): ditto
10706 * BufferView_pimpl.h: ws changes
10708 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10710 2002-07-26 André Pönitz <poenitz@gmx.net>
10712 * kb_sequence.C: remove unnedred usings
10714 2002-07-26 Juergen Vigna <jug@sad.it>
10716 * lyxfind.C (LyXReplace): we have to check better if the returned
10717 text is not of theLockingInset()->getLockingInset().
10719 2002-07-25 Juergen Vigna <jug@sad.it>
10721 * lyxfind.C (LyXReplace): don't replace if we don't get the
10724 * undo_funcs.C (createUndo): remove debugging code.
10726 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10728 * buffer.C (parseSingleLyXformat2Token): Use default placement
10729 when reading old floats.
10731 * FloatList.C (FloatList): Change the default placement of figure
10732 and tables to "tbp".
10734 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10736 * MenuBackend.C: using std::max
10738 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10740 * MenuBackend.C (expandToc):
10741 (expandToc2): code moved from xforms menu frontend. It is now
10742 generic and TOCs are transparent to menu frontends.
10744 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * toc.C (getTocList): protect against buf=0
10748 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10749 Menu as first parameter. Now, this calls itself recursively to
10750 expand a whole tree (this will be useful for TOC handling)
10751 (expandFloatInsert): remove 'wide' version of floats
10753 * MenuBackend.h (submenuname): returns the name of the submenu.
10754 (submenu): returns the submenu itself, provided it has been
10755 created by MenuBackend::expand
10757 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10759 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10760 insets which have noFontChange == true. (bug #172)
10762 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10764 * BufferView_pimpl.C: add connection objects and use them...
10767 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10769 * MenuBackend.C (expandLastfiles):
10772 (expandFloatListInsert):
10773 (expandFloatInsert):
10774 (expand): split expand in parts
10776 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10778 * lyx_gui.C: use lyx_gui::exit()
10780 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10782 * LyXAction.C: show the failing pseudo action
10784 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10786 * buffer.C (readFile): Run the lyxconvert script in order to read
10789 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10793 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10795 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10799 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10801 2002-07-22 Herbert Voss <voss@lyx.org>
10804 * lyxlength.[Ch]: add support for the vertical lengths
10806 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10808 * toc.[Ch]: std:: fixes
10810 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10812 * lyxrc.C: do not include lyx_main.h
10814 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10820 * BufferView2.C: include "lyxlex.h"
10823 * bufferparams.h: do not #include "lyxlex.h"
10825 * lyxtextclasslist.C (Add): remove method
10826 (classlist): renamed to classlist_
10828 * paragraph_pimpl.C:
10832 * bufferview_funcs.C:
10837 * toc.C (getTocList): use BufferParams::getLyXTextClass
10839 * toc.C (getTocList): use InsetFloat::addToToc
10841 * toc.[Ch]: new files, containing helper functions to handle table
10844 * lyxfunc.C (dispatch): no need to remove spaces around command
10846 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10847 first command of the sequence; it is not very clever, but I do not
10848 have a better idea, actually
10850 * LyXAction.C (LookupFunc): make sure to remove space at the
10851 beginning and end of the command
10853 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * MenuBackend.C (getMenubar): new method: return the menubar of
10857 (read): treat differently reading of menu and menubar (in
10858 particular, the menubar has no name now)
10859 (Menu::menubar): remove
10861 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10864 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10866 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10867 a bibitem inset in a RTL paragraph.
10869 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10871 * paragraph_pimpl.C: constify
10873 * BufferView_pimpl.C:
10875 * lyxfunc.C: fix dispatch in a nicer way
10877 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10879 * lyxfunc.C (dispatch):
10880 * BufferView_pimpl.C:
10881 * BufferView_pimpl.h:
10883 * BufferView.h: rename Dispatch() to dispatch()
10885 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10887 * lyxlayout.C (Read): honor DependsOn tag
10889 * lyxlayout.[Ch] (depends_on): new method
10891 * version.C.in: update lyx_docversion
10893 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10895 * paragraph.C (validate): remove from here...
10896 * paragraph_pimpl.C (validate): ... and move here
10897 (isTextAt): make it const
10899 * buffer.C (getLists): ws cleanup
10901 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10903 * language.C (read): Use iso8859-1 encoding in latex_lang
10904 (this prevents LyX from crashing when using iso10646-1 encoding).
10906 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10908 * text2.C (toggleInset): if cursor is inside an inset, close the
10909 inset and leave cursor _after_ it
10911 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10913 * lyxfunc.C: move minibuffer completion handling out of here
10915 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10917 * BufferView_pimpl.C:
10918 * LaTeX.C: fix dispatch calls
10920 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10922 * text.C (drawChars): Fix Arabic text rendering.
10924 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10928 * lyxfunc.C: remove message-push/pop
10932 * lyxfunc.C: rationalise some code by removing verboseDispatch
10933 in favour of a bool argument to dispatch()
10935 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10937 * lyx_main.C (init): make sure to read symlinks as absolute paths
10939 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10942 * lyxfunc.C: no need for commandshortcut to be a member
10944 2002-07-15 André Pönitz <poenitz@gmx.net>
10946 * converter.C: add support for $$s (scripts from lib/scripts dir)
10947 * lyx_main.C: white space
10949 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10953 * lyxrc.C: remove second exit confirmation
10955 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10960 * BufferView_pimpl.h:
10961 * BufferView_pimpl.C:
10962 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10964 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10966 * MenuBackend.C (expand): add numeric shortcuts to document menu
10968 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10970 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10972 * lyxfont.C (setLyXFamily):
10979 * buffer.C (asciiParagraph): use ascii_lowercase
10981 2002-07-15 Mike Fabian <mfabian@suse.de>
10983 * lyxlex_pimpl.C (search_kw):
10984 * lyxlex.C (getLongString):
10985 * converter.h (operator<):
10986 * converter.C (operator<):
10987 * buffer.C (parseSingleLyXformat2Token):
10989 * ToolbarDefaults.C (read):
10990 * MenuBackend.C (checkShortcuts):
10992 * LColor.C (getFromGUIName):
10993 (getFromLyXName): use the compare_ascii_no_case instead of
10994 compare_no_case, because in turkish, 'i' is not the lowercase
10995 version of 'I', and thus turkish locale breaks parsing of tags.
10997 2002-07-16 Angus Leeming <leeming@lyx.org>
10999 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11000 now takes a Buffer const & argument.
11002 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11004 * BufferView.C (resize): check there's a buffer to resize
11006 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11008 * lyxfunc.C: remove dead code
11011 * lyxserver.C: use lyx_guii::set_read_callback
11013 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11015 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11016 an inset in a RTL paragraph.
11018 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11020 * lyxfunc.C: repaint after a font size update
11022 2002-07-15 André Pönitz <poenitz@gmx.net>
11024 * lyxlength.C: inBP should be able to return negative values
11026 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11028 * lyxfunc.C: use lyx_gui::update_fonts()
11030 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11032 * lyxfunc.C: use lyx_gui::update_color()
11034 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11040 * lyxrc.C: remove file->new asks for name option, and let
11041 buffer-new take an argument
11043 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11045 * BufferView_pimpl.C: remove unneeded extra repaint()
11047 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11049 * LyXAction.C: allow command-sequence with NoBuffer
11051 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11053 2002-07-10 Angus Leeming <leeming@lyx.org>
11055 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11057 2002-07-09 Angus Leeming <leeming@lyx.org>
11059 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11061 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11063 * lengthcommon.h: whitespace
11065 * lyxfunc.C: update scrollbar after goto paragraph
11067 * lyxtext.h: factor out page break drawing, and fix it so
11068 page break/added space paints as selected nicely
11070 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11072 * BufferView_pimpl.C: add FIXMEs, clean up a little
11074 2002-07-09 André Pönitz <poenitz@gmx.net>
11076 * lyxfont.[Ch]: support for wasy symbols
11078 2002-07-08 André Pönitz <poenitz@gmx.net>
11080 * BufferView_pimpl.C: apply John's patch for #93.
11082 2002-07-05 Angus Leeming <leeming@lyx.org>
11084 * BufferView_pimpl.C (buffer): generate previews if desired.
11086 * LColor.h: add "preview" to the color enum.
11088 * LColor.C (LColor): add a corresponding entry to the items array.
11090 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11093 2002-07-05 Angus Leeming <leeming@lyx.org>
11095 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11096 The body of the code is now in the method that is passed an ostream &
11097 rather than a file name.
11098 Pass an additional only_preamble parameter, useful for the forthcoming
11101 2002-07-03 André Pönitz <poenitz@gmx.net>
11103 * lyxfunc.C: simplify getStatus() a bit for math stuff
11105 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11107 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11109 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * text.C (changeRegionCase): do not change case of all the
11112 document when region ends at paragraph end (bug #461)
11114 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11116 * paragraph.C (startTeXParParams):
11117 (endTeXParParams): add \protect when necessary
11119 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11121 * BufferView_pimpl.C (workAreaExpose): remove warning
11123 2002-06-27 Angus Leeming <leeming@lyx.org>
11125 * Makefile.am: add lyxlayout_ptr_fwd.h.
11127 2002-06-26 André Pönitz <poenitz@gmx.net>
11129 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11131 2002-06-25 Angus Leeming <leeming@lyx.org>
11133 * lyxfunc.C (dispatch): Comment out the call to
11134 grfx::GCache::changeDisplay. The method no longer exists now that the
11135 pixmap generation part of the graphics loader has been moved into
11138 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * text2.C: layout as layout
11142 * text.C: layout as layout
11144 * tabular.C (OldFormatRead): layout as layout
11146 * paragraph_pimpl.C (TeXDeeper): layout as layout
11147 (realizeFont): layout as layout
11149 * paragraph.C (writeFile): layout as layout
11150 (validate): layout as layout
11151 (getFont): layout as layout
11152 (getLabelFont): layout as layout
11153 (getLayoutFont): layout as layout
11154 (breakParagraph): layout as layout
11155 (stripLeadingSpaces): layout as layout
11156 (getEndLabel): layout as layout
11157 (getMaxDepthAfter): layout as layout
11158 (applyLayout): layout as layout
11159 (TeXOnePar): layout as layout
11160 (simpleTeXOnePar): layout as layout
11161 (TeXEnvironment): layout as layout
11162 (layout): layout as layout
11163 (layout): layout as layout
11165 * lyxtextclass.C (compare_name): new functor to work with
11166 shared_ptr, layout as layout
11167 (Read): layout as layout
11168 (hasLayout): layout as layout
11169 (operator): layout as layout
11170 (delete_layout): layout as layout
11171 (defaultLayout): layout as layout
11173 * lyxlayout_ptr_fwd.h: new file
11175 * lyxlayout.C (Read): layout as layout
11177 * lyx_cb.C (MenuInsertLabel): layout as layout
11179 * bufferlist.C (newFile): layout as layout
11181 * buffer.C (readLyXformat2): layout as layout
11182 (parseSingleLyXformat2Token): layout as layout
11183 (insertStringAsLines): layout as layout
11184 (asciiParagraph): layout as layout
11185 (latexParagraphs): layout as layout
11186 (makeLinuxDocFile): layout as layout
11187 (simpleLinuxDocOnePar): layout as layout
11188 (makeDocBookFile): layout as layout
11189 (simpleDocBookOnePar): layout as layout
11190 (getLists): layout as layout
11192 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11194 * CutAndPaste.C (cutSelection): layout as layout
11195 (pasteSelection): layout as layout
11196 (SwitchLayoutsBetweenClasses): layout as layout
11198 * BufferView_pimpl.C (Dispatch): layout as layout
11199 (smartQuote): layout as layout
11201 * BufferView2.C (unlockInset): layout as layout
11203 2002-06-24 André Pönitz <poenitz@gmx.net>
11205 * lyxfunc.C: fix #487
11207 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11211 * lyxfunc.C: remove display_shortcuts, show_banner
11213 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11215 * Buffer_pimpl.C: oops, update on resize
11217 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11224 * BufferView.C: use repaint()
11226 * BufferView_pimpl.h:
11227 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11228 as it's a clearer description. Remove superfluous
11231 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11233 * text.C: fix bug 488. Not ideal, but getting
11234 getWord() to work properly for the insets that
11235 matter is more difficult ...
11237 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11239 * BufferView_pimpl.C:
11242 * lyxfunc.C: remove the six million index lyxfuncs to just
11243 one, and DTRT (bug 458)
11245 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11249 * BufferView_pimpl.h:
11250 * BufferView_pimpl.C: clean up resize() stuff,
11251 and unnecessary updateScreen()s
11253 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11257 * BufferView_pimpl.h:
11258 * BufferView_pimpl.C:
11261 * minibuffer.C: remove focus management of workarea,
11262 not needed. Use screen's greyOut()
11264 2002-06-17 Herbert Voss <voss@lyx.org>
11266 * converter.C: (convert) do not post a message, when converting
11267 fails, let the calling function decide what to do in this case
11269 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11271 * lyxfunc.C: tidy up a little
11273 2002-06-16 <alstrup@diku.dk>
11275 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11276 Got rid of FORMS_H_LOCATION include. Now we are
11279 2002-06-15 LyX Development team <lyx@rilke>
11281 * buffer.[Ch] (sgmlOpenTag):
11282 (sgmlCloseTag): Added support for avoiding pernicious mixed
11283 content. Return number of lines written.
11285 (makeLinuxDocFile):
11286 (makeDocBookFile): Fixed calls to sgml*Tag.
11287 Simple white space clean.
11289 (simpleDocBookOnePar): Simple white space clean.
11291 * tabular.[Ch] (docBook): Renamed to docbook and got another
11292 argument to related with the pernicious mixed content.
11294 (docbookRow): Fixed calls for docbook inset method.
11296 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11298 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11299 so it's X11 independent.
11303 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11305 2002-06-15 Lyx Development team <lyx@electronia>
11307 * intl.h: Renamed getTrans to getTransManager.
11309 2002-06-14 Angus Leeming <leeming@lyx.org>
11311 * Makefile.am: nuke forgotten stl_string_fwd.h.
11313 2002-06-12 Angus Leeming <leeming@lyx.org>
11315 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11317 2002-06-13 Angus Leeming <leeming@lyx.org>
11320 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11322 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11324 * kbmap.C (getiso): add support for cyrillic and greek
11326 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11330 * BufferView_pimpl.h:
11331 * BufferView_pimpl.C: move bogus scrolling logic
11334 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11337 * BufferView_pimpl.C: view->resize() change
11339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11341 * BufferView_pimpl.C: topCursorVisible
11344 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11348 * lyx_gui.C: move to frontends/
11352 * lyx_main.C: changes from above
11354 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11361 * lyx_main.C: minor tidy
11363 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11365 * BufferView_pimpl.h:
11366 * BufferView_pimpl.C:
11368 * BufferView.C: make painter() const,
11371 * BufferView2.C: use screen() accessor
11374 * lyx_main.C: some minor cleanup
11376 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11378 * BufferView_pimpl.h:
11379 * BufferView_pimpl.C: remove enter/leaveView,
11382 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11387 * BufferView_pimpl.h:
11388 * BufferView_pimpl.C: only construct screen once,
11391 * lyxrc.C: remove pointless comment
11393 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11396 * BufferView.C: remove active() and belowMouse()
11398 * BufferView_pimpl.h:
11399 * BufferView_pimpl.C: use workarea() not workarea_,
11400 and make it use a scoped_ptr instead
11402 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11404 * lyx_gui.C: add debug message on BadWindow
11406 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11408 * sp_spell.C: fdopen is not part of the C++ standard.
11410 * paragraph.C (InsetIterator): use >= instead of ==
11412 2002-06-07 Angus Leeming <leeming@lyx.org>
11414 Fixes needed to compile with Compaq cxx 6.5.
11415 * BufferView_pimpl.C:
11422 * lyxtextclasslist.C:
11427 all c-library variables have been moved into namespace std. Wrap
11428 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11433 Add a using std::abs declaration.
11435 * kbmap.h (modifier_pair):
11436 * paragraph.h (InsetTable, InsetList):
11437 * lyxfont.h (FontBits):
11438 type definition made public.
11440 * bufferlist.C (emergencyWriteAll): the compiler complains that
11441 there is more than one possible lyx::class_fun template to choose from.
11442 I re-named the void specialisation as lyx::void_class_fun.
11444 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11446 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11447 the compiler is is unable to find tostr in write_attribute.
11449 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11451 * buffer.C (sgmlError): hide #warning
11453 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11455 * xtl/*: get rid of xtl, which is not in use anyway
11457 * LyXAction.C (init):
11458 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11459 were unimplemented xtl experimentation
11461 2002-06-04 André Pönitz <poenitz@gmx.net>
11463 * lyxfunc.C: disable array operation on simple formulae
11465 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11467 * converter.C: constify a bit
11469 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11471 * lyx_gui.C: check xforms version correctly
11473 2002-04-30 Herbert Voss <voss@lyx.org>
11475 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11478 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11480 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11481 attempt to register it with a VCS)
11483 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11485 * lyx_main.C (init): honor variables LYX_DIR_13x and
11488 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11492 * lyx_main.C: fix a crash on bad command line,
11493 and give a useful exit status on error
11495 * lyxfunc.C (doImport): allow -i lyx to work
11497 2002-03-30 André Pönitz <poenitz@gmx.net>
11499 * lyxfunc.C: mathed font changes
11501 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11516 * trans_mgr.h: srcdocs, and some minor cleanups
11518 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11520 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11521 call getFont all the time)
11523 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * switch from SigC signals to boost::signals
11527 2002-05-29 André Pönitz <poenitz@gmx.net>
11529 * paragraph_pimpl.C (getChar): don't call size() too often...
11531 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11533 * paragraph_pimpl.C (insertChar): do not try to update tables when
11534 appending (pos == size())
11536 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11537 in order to reduce drastically the number of comparisons needed to
11538 parse a large document
11540 2002-05-29 André Pönitz <poenitz@gmx.net>
11546 * textclasslist.[Ch]:
11547 * sp_ispell.h: whitespace change
11549 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11552 lyxaction directly now.
11554 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11558 * lyxvc.C: remove unused headers
11560 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11567 * undo_funcs.C: some cleanups. Use shared_ptr
11568 and a template for the undo stacks.
11570 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11572 * BufferView_pimpl.h:
11573 * BufferView_pimpl.C:
11580 * text2.C: use key_state/mouse_state
11582 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11584 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11587 * chset.C: change include order
11588 (loadFile): use boost regex and get rid of LRegex and LSubstring
11590 * Makefile.am (BOOST_LIBS): new variable
11591 (lyx_LDADD): use it
11593 * LaTeX.C: change include order.
11594 (scanAuxFile): use boost regex and get rid of LRegex and
11598 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11603 * FontInfo.C: moved to frontends/xforms/
11606 * FontLoader.C: moved into frontends for GUIIzation
11611 * lyxfunc.C: changes from above
11613 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11615 * LColor.C: remove spurious X include
11617 * BufferView_pimpl.C:
11622 * text2.C: move font metrics to frontends/
11624 2002-05-24 Juergen Vigna <jug@sad.it>
11626 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11627 setting the undo_cursor.
11629 * ParagraphParameters.h: include local includes first.
11631 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11633 * BufferView_pimpl.C:
11634 * BufferView_pimpl.h:
11638 * screen.C: move WorkArea into frontends/
11644 * BufferView2.C: move LyXScreen into frontends/
11648 * lyx_gui.C: move lyxlookup into frontends/xforms/
11650 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11653 * BufferView_pimpl.C:
11663 * bufferview_funcs.C:
11676 * vc-backend.C: move LyX/XFormsView into frontends/
11678 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11690 * text2.C: move Painter to frontends/
11692 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11694 * buffer.C: comment out some some code that depend upon lyx_format
11697 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11698 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11700 * buffer.h (NO_COMPABILITY): turn off compability
11702 * ColorHandler.C: include scoped_array.hpp
11704 * font.C: Use more specific smart_ptr header.
11707 * ShareContainer.h: ditto
11708 * lyx_main.h: ditto
11710 * FontInfo.h: ditto
11711 * BufferView_pimpl.h: ditto
11712 * ColorHandler.h: ditto
11714 * kbmap.C (defkey): change call to shared_ptr::reset
11716 2002-05-21 Juergen Vigna <jug@sad.it>
11718 * buffer.C (insertErtContents): fix to insert ert asis if it is
11719 non empty. Skip it completely if it contains only whitespaces.
11721 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11723 * BufferView_pimpl.C:
11724 * BufferView2.C: clear selection on paste (bug 393)
11726 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * DepTable.C: include ctime
11730 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11732 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11734 2002-05-14 Juergen Vigna <jug@sad.it>
11736 * text.C (breakParagraph): fixed function to honor the keepempty
11737 layout in the right maner and also to permit the right breaking
11738 algorithm on empty or non empyt keepempty paragraphs.
11740 * paragraph.C (breakParagraph): we have to check also if the par
11741 is really empty (!size()) for isempty otherwise we do the wrong
11744 2002-05-10 Juergen Vigna <jug@sad.it>
11746 * buffer.[Ch] : The following are only changes to the ert
11747 compatibility read reading old LaTeX layout and font stuff and
11748 convert it to ERTInsets.
11750 * buffer.h: added isErtInset().
11752 * buffer.C (struct ErtComp): add a fromlayout bool to check
11753 if we're inside a LaTeX layout.
11754 (isErtInset): new helper function.
11755 (insertErtContents): look for other ert insets before this one
11756 and insert the contents there, so that we don't have subsequent
11757 ERT insets with nothing between them. This way we create only one
11758 inset with multiple paragraphs. Also check if we don't insert only
11759 spaces ' ' as they are ignored anyway afterwards in the .tex file
11760 so if we have only spaces we will ignore this latex part in the
11762 (parseSingleLyXformat2Token \\layout): better compatibility when
11763 reading layout-latex stuff.
11764 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11766 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11767 stuff after reading the inset only get the information back from
11770 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11772 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11774 * LaTeXFeatures.C (getBabelOptions): New method.
11776 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * BufferView_pimpl.C (Dispatch): work around missing argument for
11781 2002-05-08 Juergen Vigna <jug@sad.it>
11783 * text.C (leftMargin): handle paragraph leftindent.
11785 * paragraph.C (writeFile): write the new \\leftindent tag.
11786 (validate): handle leftindent code.
11787 (TeXEnvironment): handle paragraphleftindent code again.
11789 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11791 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11792 for paragrap_extra indent code and new token \\leftindent.
11793 (latexParagraphs): handle the leftindent as environment.
11795 * ParameterStruct.h: added leftindent support.
11797 * ParagraphParameters.C (leftIndent): added support functions for
11798 the paragraph left indent.
11800 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11803 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11805 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11808 * text.C (computeBidiTables): No bidi in insetERT.
11810 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11813 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11815 * version.C.in: pre 5
11817 2002-05-02 José Matos <jamatos@fep.up.pt>
11818 * buffer.C (makeDocBookFile): white space changes, add newline to
11820 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11822 * tabular.C (docBook): fix typo.
11824 2002-05-03 Juergen Vigna <jug@sad.it>
11826 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11827 change in LyXText as we can not be sure it was not freed.
11828 (drawOneRow): remove unused code.
11830 * text.C (drawInset): redo the calculation of the need_break_row as
11831 it could have a row which was already freed.
11832 (draw): look at the return value of drawInset and return false if
11833 it also returned false.
11834 (paintRowText): look at the return value of draw and return false if
11835 it also returned false.
11837 * lyxtext.h: added bool return type to drawInset() and draw() so that
11838 if we have a change in the row so that the rowbreak has to be redone
11839 we abort drawing as it will be called again.
11841 2002-05-02 Juergen Vigna <jug@sad.it>
11843 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11844 a change in the maintext also if we're inside an inset.
11845 (Dispatch): set the cursor again after a break line and after the
11846 screen has been updated as it could be we're in a different row.
11848 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11849 to set the cursor behind the pargraph with > size().
11850 (setCursor): check also for the same paragraph when checking where
11851 to put the cursor if we have a NFR inset.
11853 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11854 parts of layout read further up as it still was in the wrong
11857 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * screen.C (drawFromTo): change sine fullRebreak always return
11862 * buffer.C (parseSingleLyXformat2Token): reindent some
11864 * BufferView_pimpl.C (update): change since fullRebreak always
11866 (Dispatch): git rid of the last hardcoded "Standard"s.
11868 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11870 * text2.[Ch] (fullRebreak): make it return void now that we always
11873 2002-04-30 Juergen Vigna <jug@sad.it>
11875 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11876 ert compatibility check for "latex" layout.
11878 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11880 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11881 minipages: use col% instead of p%, and also use the current font.
11882 (makeLaTeXFile): Fix use babel condition.
11883 (parseSingleLyXformat2Token): Correct font when reading old floats.
11885 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11887 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11888 inserting list of floats.
11890 2002-04-25 Herbert Voss <voss@lyx.org>
11892 * MenuBackend.C (expand): don't add the graphics extensions to the
11895 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11897 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11898 non-existing layout, do not complain if it was the default layout
11899 of the original class (bug #342)
11901 2002-04-24 Juergen Vigna <jug@sad.it>
11903 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11904 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11906 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11908 * buffer.C (getBibkeyList): If using \bibliography, return the
11909 option field with the reference itself. Enables us to provide natbib
11910 support when using \bibliography.
11912 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11914 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11916 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11917 natbib is provided by the LaTeX class.
11919 2002-04-23 Juergen Vigna <jug@sad.it>
11921 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11924 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11926 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11930 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11931 ensuremath around textordmasculine, textordfeminine and
11934 2002-04-19 Juergen Vigna <jug@sad.it>
11936 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11937 reinitializing the buffer otherwise row-dimensions may be wrong.
11938 (update): reset also the selection cursors if they do exits otherwise
11939 their x/y positions may be wrong.
11941 * text2.C (cursorDown): don't enter the inset if we came from a row
11942 above and are one row over the inset.
11944 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11945 really leaving an inset.
11947 2002-04-18 Juergen Vigna <jug@sad.it>
11949 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11950 of the selected paragraph does not have the selected layout also if
11953 * text2.C (setLayout): fixed bug which did not change last selected
11956 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11957 changed the read and substituted \\end_float with \\end_inset!
11959 * BufferView_pimpl.C (cursorPrevious):
11960 (cursorNext): fixed to make it work with rows heigher than the work
11961 area without moving the cursor only the draw of the row.
11962 (workAreaMotionNotify): fix jumping over high rows.
11964 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11969 2002-04-16 Juergen Vigna <jug@sad.it>
11971 * text2.C (setCursor): set also the irow().
11972 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11974 (cursorDown): support for locking an inset if the x_fix value goes
11975 inside it. That way I can transverse insets too with cursor up/down.
11977 * lyxrow.h: added irow helper function same as other (i) functions.
11979 * BufferView_pimpl.C (cursorPrevious):
11980 (cursorNext): fixed for insets!
11982 2002-04-15 Juergen Vigna <jug@sad.it>
11984 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11985 position otherwise it is wrong in some cases.
11987 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11988 inside the inset before the call.
11990 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11992 * buffer.[Ch] (getBibkeyList): make it const.
11994 2002-04-12 Juergen Vigna <jug@sad.it>
11996 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11998 * text2.C (getCursorX): new helper function
11999 (setCursor): compute also ix_
12000 (setCursorFromCoordinates): set also ix.
12002 * lyxcursor.h: added ix_ and helper functions.
12004 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12006 * buffer.C (insertStringAsLines): dont break paragraph if the this
12007 paragraph is inside an inset which does not permit it!
12009 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12010 also with no chars on this paragraph.
12011 (paintRowText): only paint stuff if it's inside the workarea!
12013 * paragraph.C (breakParagraph): honor keepempty flag and break the
12014 paragraph always below not above.
12016 * BufferView2.C (unlockInset): update the paragraph layout on inset
12017 unlock as we changed paragraph in such a case.
12019 * lyxfind.C (LyXFind): clear the former selection if not found!
12021 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12022 again called in insertChar().
12024 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12025 an inset which uses the whole row!
12026 (rightMargin): ditto.
12027 (insertChar): force a rebreak if we inserted an inset!
12029 2002-03-28 Herbert Voss <voss@lyx.org>
12031 * lyxlength.[Ch]: add inBP() to get the right PS-point
12032 units (BigPoint). With inPixels we have rounding errors
12034 2002-04-11 Juergen Vigna <jug@sad.it>
12036 * text2.C (setCursorFromCoordinates): set iy to the right value.
12037 (setCursor): add check if row->previous exists!
12039 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12040 an old float_type as this was the case in the old code!
12042 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12044 * BufferView2.C (showLockedInsetCursor): use iy
12045 (fitLockedInsetCursor): ditto
12047 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12048 locked insets as there we have the right value now.
12050 * lyxcursor.C: added iy_ variable and iy functions to set to the
12051 baseline of cursor-y of the locked inset.
12053 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12054 (setCursor): fixed for insets which need a full row.
12056 * text.C (rowLastPrintable): don't ignore the last space when before
12057 an inset which needs a full row.
12058 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12059 as last character of a row when before a inset which needs a full row.
12061 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * version.C.in: update date
12065 * text2.C (fullRebreak): try to always return true and see what
12068 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12070 * MenuBackend.C (expand): use Floating::listName
12072 * FloatList.C (FloatList): add listName argument to the built-in
12075 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12076 text associated with the float.
12078 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12080 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12082 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * ShareContainer.h: add a couple of missing typenames.
12086 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12088 * lyxrc.C (getDescription): use _() correctly rather than N_().
12090 2002-03-28 Herbert Voss <voss@lyx.org>
12092 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12093 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12095 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12097 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12098 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12100 2002-03-29 Juergen Vigna <jug@sad.it>
12102 * lyxfunc.C (dispatch): add a missing fitCursor call.
12104 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12105 it was scrolled by a cursor move, so return the bool status.
12107 * BufferView.C (fitCursor): return the bool flag also to the outside
12108 world as this is needed.
12110 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12112 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12113 call the edit() as it is not needed (and wrong) IMO.
12114 (workAreaButtonPress): set the screen_first variable before evt.
12115 unlock the inset as this may change screen_first and then we have
12116 a wrong y position for the click!
12118 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12120 * MenuBackend.C (expand): another translation that I missed
12122 2002-03-28 Juergen Vigna <jug@sad.it>
12124 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12126 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12128 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12130 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12132 * MenuBackend.C (expand): fix export/view/update when there is no
12135 2002-03-27 Herbert Voss <voss@lyx.org>
12137 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12140 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12142 * bufferview_funcs.C (currentState): only show paragraph number
12143 for is DEVEL_VERSION is set.
12145 * lyxfunc.C (dispatch): put warning in INFO channel
12147 * MenuBackend.C (expand): translate the name of floats
12149 * FloatList.C (FloatList): mark the float names for translation
12151 * converter.C (convert): use LibScriptSearch
12153 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12155 * MenuBackend.C (defaults): fix default menu (we might as well get
12158 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12163 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12165 * lyxvc.C: reorder includes.
12167 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12172 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12174 * CutAndPaste.C: change layouts earlier on paste
12175 to avoid crashing when calling getFont()
12177 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12179 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12182 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12184 * WorkArea.C: remove 'Pending' debug message.
12186 * most files: ws cleanup
12188 * buffer.[Ch]: ws changes
12190 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12192 2002-03-21 Juergen Vigna <jug@sad.it>
12194 * tabular.C (SetMultiColumn): collapse also the contents of the
12195 cells and set the last border right. Added a Buffer const * param.
12197 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12202 2002-03-19 Juergen Vigna <jug@sad.it>
12204 * text2.C (clearSelection): reset also xsel_cache.
12206 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12207 where it needs to be called (John tells us to do so too :)
12208 (selectionLost): reset sel_cache.
12210 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12212 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12214 * text2.C (setCursorIntern): put debuging code in INSETS channel
12216 2002-03-19 André Pönitz <poenitz@gmx.net>
12218 * lyxfunc.C: tiny whitespace change
12220 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12222 * ToolbarDefaults.C (init):
12223 * LyXAction.C (init):
12225 * BufferView_pimpl.C (Dispatch):
12226 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12228 2002-03-19 Allan Rae <rae@lyx.org>
12230 * exporter.C (Export): removeAutoInsets before doing anything else.
12231 While I've just introduced a dependency on BufferView this really is
12232 the best place to clean the buffer otherwise you need to cleanup in
12233 a dozen places before calling export or cleanup in a dozen functions
12236 * converter.C (runLaTeX):
12237 (scanLog): Better handling of removeAutoInsets and screen updates.
12239 * lyxfunc.C (dispatch): small whitespace changes
12241 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * WorkArea.C (C_WorkAreaEvent): return a value.
12244 (event_cb): return 1 if we handled the event, 0 otherwise.
12246 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12248 2002-03-18 Juergen Vigna <jug@sad.it>
12250 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12251 (GetAdditionalWidth): ditto.
12252 (RightLine): ditto.
12255 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12256 inset if we're there actually (probably not used right now but this
12257 is the direction to go for unifying code).
12258 (paste): disable code to clear the selection.
12260 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12261 inside an InsetText and move the check further up as it is in the
12264 * text2.C (pasteSelection): set a selection over the pasted text.
12266 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12268 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12269 and libgraphics to build on Cygwin.
12271 2002-03-15 Juergen Vigna <jug@sad.it>
12273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12274 inserting an Inset into the paragraph. I know this is not the best
12275 fix but we already use current_view in CutAndPaste so we will remove
12276 all of it's using at the same time.
12278 * buffer.C (sgmlError): deactivated function till it is rewritten in
12279 the right mode, now it can create problems.
12281 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12282 before accessing it.
12284 2002-03-14 Juergen Vigna <jug@sad.it>
12286 * undo_funcs.C (textHandleUndo): do the right thing when updating
12287 the inset after the undo/redo.
12289 * text2.C (setCursor): just some testcode for #44 not ready yet.
12291 * undo_funcs.C (textHandleUndo): set the next() and previous()
12292 pointers of the paragraph to 0 before deleting otherwise we have
12293 problems with the Paragraph::[destructor].
12295 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12296 on a paragraph insertion.
12298 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12300 * buffer.C (asciiParagraph): use += operator for char append to
12303 * paragraph.C (getFontSettings): compare >= not just >
12304 (highestFontInRange): ditto
12307 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * paragraph.C: change several algorithm to be more appripriate for
12310 the problem domain. This is lookip in FontList and in the InsetList.
12312 2002-03-13 André Pönitz <poenitz@gmx.net>
12315 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12317 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12322 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12324 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * Painter.C (display): anon helper function, adjust code for this
12328 (pixmap): remove function.
12330 * Painter.h: remove private display variable.
12332 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12334 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12336 * WorkArea.[Ch]: remove figinset_canvas cruft.
12338 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12340 * lyxtextclass.C (operator): add one item cache optimization.
12342 * bufferlist.h: doxy changes
12344 * bufferlist.C: ws changes
12346 * DepTable.[Ch] (ext_exist): place const in the right spot.
12348 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12350 (workAreaExpose): call resizeInsets when the with BufferView changes.
12351 (Dispatch): adjust for protectedBlank removal
12352 (specialChar): call updateInset if the insert went ok.
12354 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12355 specialChar instead.
12357 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12359 * BufferView.h: doxy change
12361 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12363 * lyxtextclass.C (operator[]): remove non-const version
12364 (defaultLayout): remove non-const version
12366 2002-03-12 Juergen Vigna <jug@sad.it>
12368 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12369 did resize the LyXText too.
12371 * buffer.C (readLyXformat2): set layout information on newly allocated
12374 * tabular.C (OldFormatRead): set layout information on the paragraph.
12376 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12378 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12380 2002-03-11 Juergen Vigna <jug@sad.it>
12382 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12384 (resizeCurrentBuffer): force also the insets to resize themselfes.
12385 (moveCursorUpdate): fixed up for InsetText.
12387 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12390 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12391 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12392 value of Dialogs::tooltipsEnabled().
12393 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12395 2002-03-08 Juergen Vigna <jug@sad.it>
12397 * BufferView_pimpl.C (updateInset): update inset inside inset also
12398 if it isn't inside theLockingInset().
12400 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * buffer.C (asciiParagraph): redo some of the word and line length
12404 (getLists): look for Caption instead of caption.
12406 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12408 * buffer.C (Buffer): initialize niceFile to true
12410 (makeLinuxDocFile):
12411 (makeDocBookFile): make sure niceFile is true on exit
12413 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12417 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12419 * LyXSendto.C: remove.
12420 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12421 * lyx_gui.C: remove now-redundant comment.
12422 * ColorHandler.h: remove forward declaration of class WorkArea.
12423 * lyxfunc.C: remove #include "WorkArea.h".
12425 2002-03-07 Juergen Vigna <jug@sad.it>
12427 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12428 got moved away with the DEPM and also set the inset_owner always
12429 right which before could have been omitted.
12431 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12433 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12434 wanted layout is not found.
12436 2002-03-07 Juergen Vigna <jug@sad.it>
12438 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12440 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * paragraph.C (breakParagraph): use default layout not layout of
12444 (Paragraph): clear ParagraphParameters.
12446 2002-03-06 Juergen Vigna <jug@sad.it>
12448 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12449 otherwise it would not be a valid lenght. Fixed a special case in
12450 the minipage compatibility read where we end the document with a
12453 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12454 was set as it could be 0 for InsetTexts first entry.
12456 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * paragraph.C (writeFile): if layout is empty write out
12459 defaultLayoutName().
12461 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12462 file without named layout we set layout to defaultLayoutName().
12464 2002-03-06 Juergen Vigna <jug@sad.it>
12466 * CutAndPaste.C (copySelection): set layout for new paragraph.
12468 * text.C (prepareToPrint): leave ERT inset left aligned
12469 (leftMargin): don't indent paragraphs inside ERT insets
12471 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12473 * paragraph.C (breakParagraph): dont call clear do the work manually
12475 * paragraph.[Ch] (clear): remove function
12477 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12479 * paragraph.C (Paragraph): dont call clear, the work has already
12482 * lyxtextclass.C (operator): assert if n is empty
12484 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12485 work manually instead.
12487 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12489 * BufferView_pimpl.C: protect selectionLost against text == 0
12491 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * text.C (breakParagraph): fix a setting layout to '0' problem.
12495 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12497 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12498 final location of file, for the included files, and graphics.
12500 2002-03-05 Juergen Vigna <jug@sad.it>
12502 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12504 2002-03-04 Juergen Vigna <jug@sad.it>
12506 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12508 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12509 last column of multicolumn cells.
12510 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12512 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12514 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12515 file if it doesn't go to a temporary file.
12517 * buffer.C (sgmlOpenTag):
12518 (sgmlCloseTag): remove extra newline insertion.
12520 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * text.C (getRowNearY): comment out debug msg
12524 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * text2.C: first -> first_y
12528 * text.C (getRowNearY): add some attemts at a possible
12529 optimization, not working.
12531 * tabular.[Ch]: add BufferParams to several function so that newly
12532 created paragraph can be initialized to he default layotu for the
12535 * tabular-old.C (ReadOld): add buf->params to call of Init
12537 * screen.C: rename text->first to text->first_y
12539 * paragraph.C (breakParagraph): always set layout in the broken
12542 * lyxtextclass.C (Read): remove lowercase
12545 (delete_layout): ditto
12547 * lyxtext.h: rename first -> first_y
12549 * lyxlayout.C (Read): remove lowercase
12552 (obsoleted_by): ditto
12554 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12556 * buffer.C (insertErtContents): add params are to InsetERT
12557 (parseSingleLyXformat2Token): add code to check if a paragraphs
12558 layout really exist.
12559 (parseSingleLyXformat2Token): add params to several inset
12561 (asciiParagraph): remove lowercase, do the layout comparisons with
12564 * BufferView_pimpl.C (cursorNext): first -> first_y
12565 (resizeCurrentBuffer): first -> first_y
12566 (updateScrollbar): first -> first_y
12567 (scrollCB): first -> first_y
12568 (workAreaMotionNotify): first -> first_y
12569 (workAreaButtonPress): first -> first_y
12570 (checkInsetHit): first -> first_y
12571 (cursorPrevious): first -> first_y
12572 (cursorNext): first -> first_y
12573 (Dispatch): add buffer_->params to severl inset contructors
12575 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12577 * lyxlayout.C (Read): remove some debug info that I forgot.
12579 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12580 clean up the code slightly.
12581 (makeLinuxDocFile): ditto
12582 (makeDocBookFile): ditto
12584 * text2.C: layout as string
12586 * text.C: layout as string
12588 * paragraph_pimpl.C: layout as string
12590 * paragraph.[Ch]: layout as string
12592 * lyxtextclasslist.[Ch]: layout as string
12594 * lyxtextclass.[Ch]: layout as string
12596 * lyxtext.h: layout as string
12598 * lyxlayout.[Ch]: layout as string
12600 * lyx_cb.C: layout as string
12602 * bufferview_funcs.C: layout as string
12604 * bufferparams.C: layout as string
12606 * buffer.C: layout as string
12608 * LyXView.[Ch]: layout as string
12610 * LaTeXFeatures.[Ch]: layout as string
12612 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12614 * BufferView_pimpl.C: change current_layout to string, remove
12619 (workAreaButtonRelease): layout as string
12621 * BufferView2.C (unlockInset): adjust
12623 * vspace.C (asLatexCommand): use an explict temp variable.
12625 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12627 * Makefile.am: use FRONTEND_*
12629 2002-03-01 Juergen Vigna <jug@sad.it>
12631 * tabular.C (SetWidthOfMulticolCell): changed to something better
12632 I hope but still work in progress.
12633 (recalculateMulticolumnsOfColumn): renamed function from
12634 recalculateMulticolCells as it is more appropriate now.
12635 (SetWidthOfCell): calculate multicols better.
12637 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12639 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12641 * lyxfunc.C (processKeySym): print sequence also if it is
12642 `deleted' (complete)
12644 * kbsequence.C (print): print sequence even if it is deleted
12645 (complete would be a better word, actually).
12647 * lyxfunc.C (dispatch): print complete options after a prefix key
12649 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12651 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12653 * text2.C (setCharFont): eliminate setCharFont code duplication.
12655 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12657 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12658 LFUN_TABULAR_FEATURE (bug #177)
12660 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12662 * Makefile.am: remove figure.h
12664 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12666 * Bufferview_pimpl.C:
12678 * text2.C: remove #include "lyx_gui_misc.h".
12680 * LaTeX.C: added #include <cstdio>
12682 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12684 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12685 that the paragraph following this one can have.
12687 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12689 * vspace.C (asLatexCommand): fix bogus gcc warning
12691 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12693 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12695 * text2.C (setLayout): get rid of redundant code
12697 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12699 * text2.C (incDepth): make sure depth cannot be increased beyond
12702 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12704 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12705 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12707 * PainterBase.h (image):
12708 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12709 a LyXImage const *.
12711 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12715 * BufferView_pimpl.C:
12716 * BufferView_pimpl.h:
12736 * sp_spell.C: remove fig inset, and the crap house of
12737 cards that follows it
12739 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12744 * os2_errortable.h:
12745 * nt_defines.h: move .h into support/
12747 * vms_defines.h: remove
12749 * WorkArea.C: add space in debug output
12753 * buffer.C: add WITH_WARNINGS
12757 * bufferlist.C: s/retrive/retrieve/, add docs
12766 * chset.C: add docs
12768 * lyxgui.C: add ID to X error handler
12770 * lyxtestclass.c: fix typo
12772 2002-02-26 Juergen Vigna <jug@sad.it>
12774 * tabular_funcs.C (write_attribute): changed so that some default
12775 attributes are not written at all.
12776 (getTokenValue): set default values before trying to read the
12777 value so we have the return value always set as default if we don't
12778 find the token we search for.
12780 * tabular.C (Write): write bools as bools not as strings!
12782 2002-02-22 Juergen Vigna <jug@sad.it>
12784 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12785 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12787 * text.C (leftMargin): don't add an indent for paragraphs inside
12788 tabular cells (fix #208).
12790 2002-02-21 José Matos <jamatos@fep.up.pt>
12792 * tabular.C (docBook): fixed support for long tables.
12794 2002-02-20 Juergen Vigna <jug@sad.it>
12796 * text2.C (getFont): get the drawing font of the Inset if this
12797 paragraph is inside an inset (only important for InsetERT for now).
12799 * buffer.C (insertErtContents): use new lanugage params in ERT
12802 * CutAndPaste.C: commenting out seemingly uneeded code.
12804 2002-02-19 Allan Rae <rae@lyx.org>
12806 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12807 Iterators might be simple to use but they also get invalidated.
12808 (removeAutoInsets): renamed saved cursor tracking variables and added
12809 some comments to clarify what everything does.
12811 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12818 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12819 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12822 * vc-backend.h: remove #include "support/syscall.h"
12826 * converter.C: rearrange #includes in Lars' approved fashion.
12828 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12829 forward declare class Timeout in the header file.
12831 * XFormsView.C: changes due to the above.
12833 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12834 similar to LyXView.
12836 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12837 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12839 2002-02-18 José Matos <jamatos@fep.up.pt>
12841 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12844 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12846 * a lot of small ws changes
12847 * add a lot of using std::XXX
12848 * use std construcs some places where approp.
12849 * use some exisint stuff from lyxfunctional where approp.
12850 * Make file changes to use partial linking (lets test this now...)
12852 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12856 remove #include "support/syscontr.h" as it's redundant. Always has been.
12864 change Systemcalls::System to Systemcalls::Wait and
12865 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12866 No change of functionality, just reflects the stripped down Systemcalls
12869 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12871 * debug.[Ch]: add a GRAPHICS type to the enum.
12873 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12875 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12877 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12880 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12882 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12883 match the changes below.
12885 * text2.C (toggleInset): if there is not editable inset at cursor
12886 position, try to see if cursor is _inside_ a collapsable inset
12889 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12891 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12892 document menu has a nice checkbox
12894 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12896 * lyxlength.C (asLatexString): change PW to output as percent of
12899 * lengthcommon.C: change '%' to 't%'
12901 * lyxfunc.C (dispatch): a few comments from Martin
12903 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12907 * BufferView_pimpl.h:
12908 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12911 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12913 * vspace.C (inPixels): fix compiler warning
12915 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12917 * lyxfunc.C (getStatus): fix status message for disabled commands.
12919 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12921 * BufferView_pimpl.C: fix crash on close buffer
12922 during selection (#227)
12924 2002-01-27 Herbert Voss <voss@lyx.org>
12926 * buffer.C: link old Figure to new graphic inset
12928 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12930 * FontLoader.C (getFontinfo): Change the latex font names in order
12931 to match the names of type1inst.
12933 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12937 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12938 (extchanged): ditto
12940 (remove_files_with_extension): ditto
12941 (remove_file): ditto
12944 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12945 document is smaller than the work area height. Do not initialize
12946 static variables to 0.
12948 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12950 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12952 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12953 LFUN_LAYOUT_PARAGRAPHS.
12955 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12956 tabular. It is possible to provide a possible cell, which will
12957 typically be the actcell from the corresponding insettabular
12959 * lyxfunc.C (getStatus): small cleanup; disable
12960 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12963 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12965 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12967 * paragraph.C (startTeXParParams):
12968 (endTeXParParams): new methods. The LaTeX code to
12969 start/end paragraph formatting
12970 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12971 empty (fixes bug #200)
12973 * vspace.C (inPixels): adapt to the change below
12974 (inPixels): [later] more cleanups (remove unused variables)
12976 * lyxlength.C (inPixels): change to use a width and a height as
12979 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12981 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12982 Replaced with \paperwidth
12984 * DepTable.C (insert): add std:: qualifier
12986 2002-01-18 Allan Rae <rae@lyx.org>
12988 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12991 * text.C (drawInset): Turned out I didn't know enough about how
12992 rebreaking worked. This fixes most of the redraw problems. I see
12993 an occasional cursor trail when a line is broken now and the cursor
12994 placement can seem out by a few pixels also after a rebreak.
12996 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12998 * buffer.C (parseSingleLyXformat2Token): update because minipage
12999 width is now a LyXLength
13001 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13003 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13006 2002-01-17 Juergen Vigna <jug@sad.it>
13008 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13010 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13011 is set correctly and the inset is updated correctly.
13013 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13015 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13016 the beginning of the loop.
13018 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13020 * lyxrc.C: improve help for use_scalable_fonts
13022 2002-01-17 Allan Rae <rae@lyx.org>
13024 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13026 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13028 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13029 make sure to set their inset_owner to the right value (bug #171)
13031 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13034 * DepTable.C: Implement mtime checking to reduce time spent doing
13037 2002-01-16 Juergen Vigna <jug@sad.it>
13039 * tabular.C (GetAdditionalHeight): one of error fixed.
13041 * lyxrc.C (output): small fix in writing use_pspell.
13043 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13045 * sp_base.h: #include LString.h
13047 2002-01-16 Allan Rae <rae@lyx.org>
13049 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13050 Can someone check this please?
13052 * text.C (drawInset): It was possible that p.row would be removed by
13053 breakAgainOneRow upsetting a few other settings. There may be another
13054 small tweak possible by setting need_break_row = 0 when p.row has been
13055 removed but I don't know enough about the logic here.
13057 2002-01-15 Allan Rae <rae@lyx.org>
13059 * text.C (insertChar): removed conditional truism.
13061 * BufferView2.C (removeAutoInsets): More tweaks.
13062 cur_par_prev could be a stray pointer. Check for trailing empty line
13063 in case last line was cur_par and only had an error inset on it.
13065 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13070 * vc-backend.C (most methods):
13071 * exporter.C (Export):
13072 * converter.C (convert):
13074 * LyXSendto.C (SendtoApplyCB):
13075 * lyxfunc.C (dispatch):
13079 * lyx_cb.C (AutoSave):
13081 * BufferView_pimpl.C (MenuInsertLyXFile):
13082 * buffer.C (runChktex): use Buffer::filePath().
13084 * buffer.h: rename filename to filename_; rename filepath to
13085 filepath_ and make it private
13086 (filePath): new method
13088 * buffer.C (writeFile): use fileName()
13091 * lyx_main.C (init): fix starting of LyX when the binary is a
13092 link from so,ewhere else.
13094 * minibuffer.C: include <cctype> for isprint
13096 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13098 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13099 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13100 name clash with InsetCollapsable's width function.
13102 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * lastfiles.C: include <iterator>
13106 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13108 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13111 * buffer.C (makeLaTeXFile): ditto.
13112 Also make loop operation more transparent.
13114 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13116 * ToolbarDefaults.C: remove trailing comma closing namespace.
13118 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13120 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13123 * trans.C (Load): comment out unused variable, allowed.
13125 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13127 * minibuffer.[Ch] (append_char): new method to recieve input from the
13128 drop-down completion browser. If a key was pressed, then recieve this
13129 char and append it to the existing string.
13130 (peek_event): modify the positioning data passed to the completion
13131 browser so that it can be placed above the minibuffer rather than below.
13132 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13134 * LyXAction.C (init): alloe error-next for readonly documents.
13136 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13139 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * bufferlist.C (readFile): create the buffer _after_ checking that
13144 * lyxfunc.C (verboseDispatch): fix handling of arguments
13146 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13148 * lyxrc.C: use string::erase() instead of initializing to "".
13151 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13153 * BufferView_pimpl.h:
13154 * BufferView_pimpl.C:
13157 * text2.C: tell X when we have made a selection for copying
13159 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13161 * BufferView_pimpl.C (MenuInsertLyXFile):
13162 * lyxfunc.C (menuNew):
13164 (doImport): add shortcuts to directory buttons
13166 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13169 * lyxfunc.C (setStatusMessage):
13170 (getStatusMessage): new methods
13171 (getStatus):use setStatusMessage instead of setErrorMessage
13172 (dispatch): when function is disabled, set error message here
13173 [instead of in getStatus previously]
13175 * BufferView_pimpl.C (workAreaButtonRelease): update
13176 toolbar/menubar here too.
13178 2002-01-13 Allan Rae <rae@lyx.org>
13180 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13181 Now seems indestructible. Remaining task is to audit all other
13182 code affected by deleteEmptyParagraphMechanism. One small quirk
13183 left is that an empty document with an error in the preamble can
13184 be made to report an error but no error box appears. I don't know
13186 (removeAutoInsets): Improved comments.
13188 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13191 * Thesaurus.C: update for Aiksaurus 0.14
13193 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13195 * text2.C (firstParagraph): removed member function, all uses
13196 replaces with ownerParagraph
13197 (redoParagraphs): here
13198 (updateInset): here
13199 (toggleAppendix): here
13200 * BufferView2.C (insertErrors): here
13201 (setCursorFromRow): here
13203 2002-01-13 Allan Rae <rae@lyx.org>
13205 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13206 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13207 There is still a way to segfault this although you may have to do this
13208 multiple times: Have an InsetERT with an unknown command in it.
13209 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13210 <down-arrow>, <Enter> again, View->DVI, BANG!
13212 * text2.C (setCursor):
13213 (deleteEmptyParagraphMechanism):
13214 * lyxtext.h (setCursor):
13215 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13216 Making use of the return value may help fix other bugs.
13218 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13220 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13222 * LyXView.C (updateMenubar): call MenuBar::update here
13223 (updateToolbar): but not here
13224 (showState): do not update toolbar/menubar
13226 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13227 should need to care about that.
13229 * lyxfunc.C (verboseDispatch): simplify a bit
13230 (getStatus): have a version which takes a pseudoaction, and
13231 another which requires a (kb_action,string).
13233 * LyXAction.C (retrieveActionArg): make it work also when action
13234 is not a pseudo-action.
13235 (getActionName): simplify a bit
13238 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13240 * lyxfunc.C (verboseDispatch): new families of methods with
13241 several ways to specify a command and a bool to indicate whether
13242 the command name and shortcut should be displayed in minibuffer
13243 (eventually, we could extend that to a finer bitmask like
13244 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13245 (dispatch): the pristine dispatch command which just, well,
13246 dispatchs! Note it still sets its result to minibuffer; I'm not
13249 * lyxfunc.h: remove setHintMessage
13251 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13253 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13255 * BufferView_pimpl.C (specialChar): delete new inset if we have
13256 not been able to insert it.
13258 * kbmap.C: revert to using int instead of kb_action, since all we
13259 are dealing with is pseudo-actions.
13261 * LyXAction.C (searchActionArg): change to return int instead of
13262 kb_action, since the result is a pseudoaction.
13264 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13266 * buffer.C (insertErtContents): Fix (partially) the font bug.
13268 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13270 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13271 as the other one is broken on my machine!
13273 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13276 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13278 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13280 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13281 reflect their actual use. Provide compatibility code for older lyxrc
13284 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13286 change names of popup font variables in line with the changes to lyxrc.C
13288 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13290 * buffer.C (asciiParagraph): avoid outputing a word twice after
13293 * lyxrc.C (getDescription): document that document_path and
13294 template_path can be empty.
13296 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13298 * LaTeXFeatures.C (getMacros):
13299 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13301 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13303 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13305 (getPackages): rename feature "floats" to "float". Use an array to
13306 iterate over 'simple' features (i.e. just a \usepackage). Add
13307 handling of "amsmath" (renamed from "amsstyle").
13309 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13311 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13314 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13316 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13317 FuncStaus::FuncStatus & FuncStaus::some_method().
13319 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13321 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13322 of the func_satus stuff. Edited and massaged in various ways by
13325 * lyxfunc.C (getStatus): use FuncStatus
13327 2002-01-08 Juergen Vigna <jug@sad.it>
13329 * text.C (nextBreakPoint): use function Inset::isChar().
13331 * paragraph.C (TeXOnePar): use function
13332 Inset::forceDefaultParagraphs.
13334 * buffer.C (latexParagraphs): use function
13335 Inset::forceDefaultParagraphs.
13337 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13339 * lyx_gui.C (init): set the style of the menu popups to
13340 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13342 2002-01-07 Juergen Vigna <jug@sad.it>
13344 * text.C (setHeightOfRow): small fix
13345 (prepareToPrint): don't look at alignment if we don't have the place
13348 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13350 * box.C: New file. Move the Box methods and functions out of box.h,
13351 following Lars' suggestion.
13353 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13355 * box.h: #include "support/LOstream.h", needed for inlined function.
13358 * lyxtextclasslist.C: added some using std declarations.
13360 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13362 * box.h: make signed dimensions to allow insets wider than
13363 the screen (bug #162)
13365 * BufferView_pimpl.C: add some insetHit debug
13367 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13369 * vc-backend.C: add FIXME
13371 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13373 * lyxfunc.C (getStatus): enable code for showing math font status
13376 2002-01-07 Juergen Vigna <jug@sad.it>
13378 * text.C (nextBreakPoint): removed debug output not needed anymore.
13380 2002-01-06 Juergen Vigna <jug@sad.it>
13382 * text.C (nextBreakPoint): fixed up this function we had this bug
13383 since ever but now hopefully we break row better.
13384 (insertChar): we have to check if an inset is the next char as it
13385 could now happen that a large inset is causing a break.
13387 2002-01-05 Juergen Vigna <jug@sad.it>
13389 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13390 if it doesn't like to be drawed.
13392 2002-01-04 Juergen Vigna <jug@sad.it>
13394 * BufferView2.C (lockInset): forgot to set a cursor.
13396 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13398 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13400 * FormMathsPanel.C:
13403 * form_maths_panel.C:
13404 * form_maths_panel.h:
13405 * form_maths_panel.fd: implemented sub- and super- buttons in math
13408 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13409 (or ^ space) to be used as in TeX (req'd by André).
13411 * lyxfunc.C: Allow ^ and _ again to be used both as
13412 super/subscript (mathed) and as themselves (in text).
13414 2002-01-03 Allan Rae <rae@lyx.org>
13416 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13417 "LyX" or the filename of the current buffer if it has one. This is a
13418 modified form of John Levon's patch.
13420 * XFormsView.C (setWindowTitle): also set icon title.
13422 * LyXView.h (setWindowTitle): signature changed.
13423 * XFormsView.h (setWindowTitle): ditto.
13425 2002-01-02 Juergen Vigna <jug@sad.it>
13427 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13429 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * screen.C (topCursorVisible): introduce a temp var for
13432 text->cursor.row(), handle the case where this row is null. (kindo
13435 * text2.C (setCursor): add a couple of asserts.
13437 * paragraph.h (inset_iterator): add -> operator
13439 * paragraph.[Ch] (autoDeleteInsets): remove member function
13441 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13442 cursor pos correctly and handle inset deletion by itself.
13443 (insertErrors): move iterator declaration out of for expression
13445 * lyxtextclass.C: add <algorithm>
13447 * Makefile.am: added the new files to sources, removed layout.C
13449 * layout.C: removed file
13451 * layout.h: remove LYX_DUMMY_LAYOUT
13453 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13457 * lyxtextclass.[Ch]:
13458 * lyxtextclasslist.[Ch]: new files
13460 * include order changes to a lot of files, also changes because of
13463 2001-12-27 Juergen Vigna <jug@sad.it>
13465 * buffer.C (asciiParagraph): more fixes.
13467 * tabular.C (ascii): make ascii export support export of only the
13468 data separated by a column-delimiter.
13469 (ascii): better support for ascii export.
13471 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13473 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13475 * tabular_funcs.C: use a "using std::getline" instead of the
13476 previous fix from Angus (necessary for cxx + lyxstring)
13478 2001-12-24 Juergen Vigna <jug@sad.it>
13480 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13482 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13483 problems. First check a minipage also if we have some ert-contents
13484 (not only on par->size(), second set the right depth of the paragraph
13485 on the relink to the root-paragraph-list!
13487 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13488 which then did not anymore update the main paragraphs on undo/redo!
13490 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13492 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13493 code. Support all font-changing funcs (even those which are not in
13494 menu currently). Support for reporting font settings in
13495 mathed (disabled until Andre provides a function on mathed's side).
13497 * func_status.h (toggle): small helper function to set toggle
13500 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13502 * tabular_funcs.C: getline -> std::getline
13504 2001-12-21 Juergen Vigna <jug@sad.it>
13506 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13507 accessed and could be 0 (I couldn't generate this but it seems
13510 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13512 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13513 * tabular_funcs.h: here and include iosfwd
13515 2001-12-20 Juergen Vigna <jug@sad.it>
13517 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13518 inside inset but undo_par was.
13520 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13522 * Thesaurus.C: always include <config.h> in sources.
13526 * box.h: do not include <config.h> in header files
13528 * text.C (paintLastRow): remove unused variable
13530 * text.C (transformChar):
13532 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13534 * Painter.C (text):
13535 * font.C (width): rewrite to use uppercase() instead of
13538 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13540 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13542 * lyxfind.C: clean up of find failure position change
13544 2001-12-20 Juergen Vigna <jug@sad.it>
13546 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13548 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13549 (TeXRow): added to LaTeX a single tabular row.
13550 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13551 (Latex): simplified and finally good LT-h/f support.
13552 (various_functions): just small adaptions for LT-h/f support.
13554 * tabular_funcs.[hC]: added and moved here all not classfunctions
13557 2001-12-19 Juergen Vigna <jug@sad.it>
13559 * tabular.[Ch]: better support for longtabular options (not finished
13562 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13564 * text.C (paintLastRow): use the label font instead of the font of
13565 the last character to compute the size of *_BOX. This makes more
13566 sense and avoids a crash with empty paragraphs.
13567 Use Painter::rectangle to draw EMPTY_BOX.
13569 2001-12-19 Juergen Vigna <jug@sad.it>
13571 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13572 the paragraphs if the replaced paragraph is not the first one!
13573 Tried to delete not used paragraphs but does not work yet so for
13574 now it's inside #ifdef's and by default off!
13576 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13578 * MenuBackend.C: include "lyx_main.h" instead of declaring
13579 lastfiles (actually was declared as LastFiles* instead of a
13582 2001-12-17 Juergen Vigna <jug@sad.it>
13584 * tabular.C (AppendColumn): applied John's fix
13586 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13590 * BufferView_pimpl.h:
13591 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13594 * box.h: new start of class for above
13596 * lyxfunc.C: ignore space-only minibuffer dispatches.
13597 Show the command name when it doesn't exist
13599 * minibuffer.C: don't add empty lines to the history
13601 * minibuffer.C: add a space on dropdown completion
13603 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13605 * text.C: fix line above/below drawing in insets
13607 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13609 * lyxlength.C (LyXLength): Initialize private variables.
13611 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13613 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13614 when inserting error insets.
13616 2001-12-13 Juergen Vigna <jug@sad.it>
13618 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13619 actually sometimes the before-paragraph.
13620 (setUndo): don't clear the redostack if we're not actually undoing!
13622 2001-12-06 Juergen Vigna <jug@sad.it>
13624 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13625 and fixed redoing of main paragraph, so we can use it now ;)
13627 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13629 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13631 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13634 2001-12-13 André Pönitz <poenitz@gmx.net>
13637 * undo_func.C: minor cleanup
13639 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13641 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13642 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13643 font in urw-fonts package which is marked as -urw-fontspecific and
13644 does not work (incidentally, changing the encoding in the
13645 fonts.dir of this package to -adobe-fontspecific fixes the
13648 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13649 is a crash when undoing first paragraph (Juergen, please take a
13650 look). THis does not mean the undo fix is wrong, just that it
13653 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13654 the (Paragraph*) version when needed instead of duplicating the
13657 * text.C (workWidth): use Inset::parOwner to find out where the
13658 inset has been inserted. This is a huge performance gain for large
13659 documents with lots of insets. If Inset::parOwner is not set, fall
13660 back on the brute force method
13662 * paragraph_pimpl.C (insertInset):
13663 * paragraph.C (Paragraph):
13664 (cutIntoMinibuffer): set parOwner of insets when
13665 inserting/removing them
13667 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13669 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13675 * mathed/formulabase.C:
13676 * mathed/math_cursor.[Ch]:
13677 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13680 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * lyxlength.[Ch] (operator!=): new function
13684 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13686 * text.C (workWidth): use Inset::parOwner to find out where the
13687 inset has been inserted. This is a huge performance gain for large
13688 documents with lots of insets. If Inset::parOwner is not set, fall
13689 back on the brute force method
13691 * paragraph_pimpl.C (insertInset):
13692 * paragraph.C (Paragraph):
13693 (cutIntoMinibuffer): set parOwner of insets when
13694 inserting/removing them
13696 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13698 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13700 * tabular-old.C (getTokenValue):
13701 * tabular.C (getTokenValue):
13702 (write_attribute): new versions for LyXLength
13703 (everywhere): adjust the use of widths
13705 * tabular.h: change the type of widths from string to LyXLength
13707 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13709 * paragraph.C: fixed missing line number count when exporting
13710 Environments to LaTeX file
13712 * buffer.C: added informational message for checking line numbers.
13714 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13716 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13717 paragraph, do the 'double space' part, but not the 'empty
13720 * text.C (workWidth): small optimization
13721 (getLengthMarkerHeight): use minimal size for negative lengths.
13723 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13725 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13727 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13729 2001-12-11 André Pönitz <poenitz@gmx.net>
13732 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13734 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13736 * text2.C: keep selection on a setFont()
13738 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13740 * lyx_cb.C: another bv->text misuse, from insert label
13742 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13745 * kbsequence.C: re-instate nmodifier mask
13747 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13749 * lyx_main.h: make lyxGUI private.
13751 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13753 * lyxfind.C: place the cursor correctly on failed search
13755 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13757 * text.C (getLengthMarkerHeight): for small heights, the arrows
13758 are not always on top/bottom of the text
13759 (drawLengthMarker): smaller arrows; take the left margin in
13760 account; draw also vfills.
13762 (paintLastRow): remove special code for vfill and standard spaces,
13763 since everything is handled in drawLengthMarker now.
13765 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13767 * buffer.C (insertErtContents): try to handle font and language
13768 interaction a bit better.g
13770 * ColorHandler.C (updateColor): change the hash to cover the whole
13771 LColor enum, ws cleanup
13772 (getGCLinepars): ditto
13773 (getGCLinepars): only lookup in the linecache once.
13775 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13777 * iterators.C (operator++): Make the iterator more robust
13779 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13781 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13783 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13786 * text.C: better added space drawing
13788 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13791 * BufferView2.C: fix layout combo update on inset unlock
13793 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13795 * Makefile.am: don't compile unused files
13797 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13801 * LyXAction.C: remove old LFUN_LAYOUTNO
13803 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13805 * paragraph_pimpl.h:
13806 * paragraph_pimpl.C: isTextAt() doesn't need font param
13808 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13811 * lyxlex.C: little cleanup
13813 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13815 * BufferView_pimpl.C: fix insertAscii for insets
13817 2001-12-05 Juergen Vigna <jug@sad.it>
13819 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13820 set the right font on the "multi" paragraph paste!
13822 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13828 * lyxlength.C: remove out-commented code.
13830 * BufferView_pimpl:
13844 * vc-backend.C: change "while(" to "while ("
13846 * lyxlength.[Ch]: add zero function to check if length is zero or
13848 * lyxgluelength.C: use it
13850 2001-12-05 Allan Rae <rae@lyx.org>
13852 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13853 Works for 2.95.3, from what I understand of Garst's reports this should
13854 work for other g++ versions. We're screwed if the abs(int) definition
13855 changed between bugfix releases of gcc.
13857 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13859 * text.C: fix chapter label offset !
13861 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13864 * text.C: fix hfill at end of line, clean up
13866 2001-12-04 Juergen Vigna <jug@sad.it>
13868 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13869 that we force an update of the inset and it's owners if neccessary.
13871 2001-12-03 Juergen Vigna <jug@sad.it>
13873 * text.C (rowLast): simplified code
13875 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13877 * lyxfunc.C: fix show options on timeout
13879 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13881 * screen.C (topCursorVisible): scroll half a page when the cursor
13882 reached top of bottom of screen
13884 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13886 * minibuffer.C: deactivate on loss of focus
13888 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13890 * vspace.[Ch] (operator!=): add operator.
13892 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13894 * BufferView_pimpl.C: refuse to open an inset when
13895 there's a selection.
13897 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13899 * BufferView_pimpl.C: allow to click on RHS of full row insets
13901 2001-11-30 Juergen Vigna <jug@sad.it>
13903 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13904 insets for undo reasons.
13906 2001-11-28 André Pönitz <poenitz@gmx.net>
13908 * vspace.[Ch]: cosmetical changes
13910 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13920 * kbsequence.C: part re-write of old kb code
13923 * WorkArea.C: remove Lgb_bug_find_hack
13925 2001-11-30 José Matos <jamatos@fep.up.pt>
13927 * buffer.C (makeDocBookFile): add a comment to point a hack.
13928 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13929 Fixed a double write of labels.
13931 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13934 * LaTeX.h Fixed bug in LaTeX class where it would not
13935 re-run latex if no depfiles were changed, but the .dvi was removed.
13937 2001-11-28 André Pönitz <poenitz@gmx.net>
13939 * all the files from the change on 2001/11/26:
13940 use lyx::layout_type instead of LyXTextClass::size_type
13941 use lyx::textclass_type instead of LyXTextClassList::size_type
13943 2001-11-29 Juergen Vigna <jug@sad.it>
13945 * text.C: added support for paragraph::isFreeSpacing()
13947 * buffer.C: same as above
13949 * paragraph.h: inserted isFreeSpacing() function to enable
13950 FreeSpacing inside InsetERT.
13952 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13953 of the paragraph's in the cut/copy buffer to 0!
13955 * text2.C (removeRow): remove the assert as it can!
13957 * lyxtext.h: added helper function firstRow returning firstrow and
13958 made firstrow private again.
13960 * BufferView2.C (lockInset): don't relock if we're already locked!
13962 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13963 the only paragraph.
13964 (removeRow): added Assert::(firstrow)
13966 * debug.C: forgot to add INSETTEXT here.
13968 2001-11-28 Juergen Vigna <jug@sad.it>
13970 * sp_spell.C (initialize): changed error text to more general
13971 spellchecker command use (not only ispell!)
13973 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13975 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13977 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13979 * vspace.C: initialise lyxgluelength on failure
13981 2001-11-28 Allan Rae <rae@lyx.org>
13983 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13984 declaration & definition that looks like a function declaration.
13986 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * BufferView2.C (copy):
13989 (copyEnvironment): do not clear the selection when doing a copy.
13991 * text.C (paintFirstRow): compilation fix
13993 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13995 * tabular.C (Latex): correct line count when writing latex.
13997 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13999 * paragraph_pimpl.h:
14000 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14003 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14007 * LColor.C: change vfillline->added_space
14009 * text.C: add markers and text for added space
14011 * vspace.C: fix comment
14013 2001-11-28 André Pönitz <poenitz@gmx.net>
14015 * paragraph.C: whitespace changes
14016 * all the other files from the change on 2001/11/26:
14017 change *::pos_type into lyx::pos_type
14019 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14021 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14022 language of the document when inserting error insets.
14024 2001-11-26 André Pönitz <poenitz@gmx.net>
14026 * BufferView_pimpl.[Ch]:
14034 * paragraph_pimpl.[Ch]:
14037 * text2.C: reduce header dependencies, introduce type for positions
14039 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14041 * <various>: change to use Alert.h
14043 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14045 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14046 when encountering an unknown token.
14047 (readLyXformat2): Show an error message if there were unknown tokens.
14049 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14052 * BufferView_pimpl.C:
14056 * text2.C: use par->isInset()
14058 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14060 * paragraph_pimpl.h:
14061 * paragraph_pimpl.C: cleanup
14063 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * text2.C (removeRow):
14066 * text.C (setHeightOfRow): remove useless (and costly) call to
14069 2001-11-20 Allan Rae <rae@lyx.org>
14071 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14072 Now need Inset*::checkInsertChar() to return true for appropriate
14073 cases so that the characters in the minibuffer will actually be
14076 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14078 * text.C: change the order of the includes.
14079 (workWidth): initialize it at once.
14080 (workWidth): make maxw unsigned
14081 (setHeightOfRow): remove unused variable (inset)
14082 (selectSelectedWord): remove unused variable (inset)
14083 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14085 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14087 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14088 server is not running.
14090 (closeConnection): add debug info when server is disabled.
14092 * ColorHandler.C (getGCForeground): send debug message to GUI
14095 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14097 * kbmap.C (bind): modify because return conventions of
14098 kb_sequence::parse have changed.
14100 * kbsequence.C (parse): only ignore spaces and not any stupid
14101 control character. This avoids tests like s[i] <= ' ', which are
14102 guaranteed to fail with 8bit characters and signed chars.
14103 Change return code to string::npos when there have been no error
14104 (0 was a bad idea when error is at first character)
14106 2001-11-14 José Matos <jamatos@fep.up.pt>
14109 * buffer.C (simpleDocBookOnePar): removed unused argument.
14111 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14113 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14114 insets which are part of a word. Paragraph::isLetter takes care of
14115 that now. Use Paragraph::isInset to identify insets.
14116 (selectSelectedWord): do not test for hyphenation break.
14118 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14119 that protected spaces are considered as spaces.
14121 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14124 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14127 * lyxserver.C: fix it. and small cleanup.
14129 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14131 * BufferView_pimpl.C: use inline helpers
14134 * LaTeXFeatures.C: fix typos
14137 * Spacing.C: move spacing_string into class
14139 * ToolbarDefaults.C: move stuff into namespace anon
14141 * layout.h: update enum
14143 * lyxfunc.C: use better debug
14145 * minibuffer.h: fix typo
14149 * WorkArea.C: add and use Debug::WORKAREA
14153 * text2.C: code re-organisation, inline helpers
14155 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14157 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14158 std::vector.empty().
14160 2001-11-09 Allan Rae <rae@lyx.org>
14162 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14163 '\n's after tables. Tabular and ERT inset work now makes this no
14166 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14169 * minibuffer.C: fix crash, improve drop-down completion
14171 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14174 * lyxserver.C: invalidate fd's when doing endPipe()
14176 2001-11-08 José Matos <jamatos@fep.up.pt>
14178 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14179 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14182 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14184 2001-11-07 José Matos <jamatos@fep.up.pt>
14187 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14190 * buffer.C (sgmlOpenTag):
14191 * buffer.C (sgmlCloseTag): removed debug info.
14193 * buffer.h (sgmlOpenTag):
14194 * buffer.h (sgmlCloseTag): made public.
14196 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14198 * buffer.C (saveParamsAsDefaults):
14199 * lyx_cb.C (MenuLayoutSave): remove
14201 * LyXAction.C (init):
14203 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14205 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * buffer.C (setPaperStuff): removed from here...
14209 * bufferparams.C (setPaperStuff): ... and moved there.
14211 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14215 * XFormsView.C: add support for drop-down completion
14217 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14219 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14222 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14224 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14227 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14229 * lyx_main.C: change ref to known bugs
14231 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14233 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14234 to work around older babel problems.
14236 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14238 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14240 2001-10-24 Juergen Vigna <jug@sad.it>
14242 * tabular-old.C (ReadOld): below variable changes reflected.
14244 * tabular.[Ch]: added ltType struct for longtable header/footer
14245 defines and changed all instances where they are used. Added
14246 future support for double top/bottom rows.
14248 2001-10-24 José Matos <jamatos@fep.up.pt>
14250 * buffer.h (docbookHandleCaption):
14251 * buffer.C (docbookHandleCaption): removed unused function.
14252 (makeDocBookFile): moved docbook supported version to v4.1.
14254 2001-10-24 José Matos <jamatos@fep.up.pt>
14257 * tabular.C (docbookRow): new function to export docbook code of a row.
14258 (DocBook): now honors the longtable flags.
14260 2001-10-23 José Matos <jamatos@fep.up.pt>
14263 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14264 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14266 * buffer.C (makeLinuxDocFile):
14267 (makeDocBookFile): reworked the preamble, more clean, and with
14268 support for lyx defined entities. Changed the document declaration
14269 to be more XML friendly.
14271 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14272 if we need to output XML that should be done with a filter.
14274 2001-10-22 Juergen Vigna <jug@sad.it>
14276 * sp_pspell.h (class PSpell): add alive function needed in the
14277 controller to see if the spellchecker could be started.
14279 2001-10-22 Juergen Vigna <jug@sad.it>
14281 * buffer.C (insertStringAsLines): modify the font for inserting
14282 chars in certain conditions by calling checkInsertChar(font).
14284 2001-10-19 Juergen Vigna <jug@sad.it>
14286 * text.C (workWidth): use getRow instead of wrong algorithm.
14287 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14289 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14294 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14296 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14298 * text.C (workWidth): do not search for the exact row when
14299 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14300 optimization for big documents.
14302 2001-10-18 Juergen Vigna <jug@sad.it>
14304 * text.C (workWidth): new function with added Inset * parameter.
14306 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14310 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14311 change return type of getColumnNearX.
14314 * text.C (changeRegionCase): use uppercase/lowercase instead of
14317 (rightMargin): simplify code by factoring out the uses of
14322 (appendParagraph): use Paragraph::size_type
14324 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14326 * vspace.C (asLatexString): add a missing break
14328 2001-10-15 Herbert Voss <voss@perce.de>
14330 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14332 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14334 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14337 2001-10-10 André Pönitz <poenitz@gmx.net>
14339 * lyxfunc.C: removed greek_kb_flag.
14341 2001-10-10 Herbert Voss <voss@perce.de>
14343 * lyx_main.C: delete global string help_lyxdir.
14345 2001-10-09 Herbert Voss <voss@perce.de>
14347 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14349 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14351 * lyx_main.C: added global string help_lyxdir.
14353 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14355 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14357 * lyxrc.C (set_font_norm_type): support iso8859-4
14359 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14361 * LaTeX.C (deplog): add another regex for MikTeX
14363 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14365 * lyxrc.C (set_font_norm_type): support iso8859-3
14367 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14369 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14371 * LaTeXFeatures.C: remove special case of french and index
14373 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14374 before \begin{document}). This solves several incompatibilities.
14376 2001-10-03 Garst Reese <reese@isn.net>
14378 * lyx_cb.C: change CheckTex error msg.
14380 2001-10-03 José Matos <jamatos@fep.up.pt>
14382 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14384 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14386 * .cvsignore: update
14388 * lyx_main.C (commandLineVersionInfo): use new style version info.
14390 * buffer.C (writeFile):
14392 (makeLinuxDocFile):
14393 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14395 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14397 * version.h: update to use stuff in version.C
14399 * version.C.in: new file. Contains version information determined
14400 at compile time. This is a merging of version.h and
14403 2001-10-03 Juergen Vigna <jug@sad.it>
14405 * BufferView_pimpl.C (update): don't change "dirty" status in
14408 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14410 * WorkArea.C (c-tor): re-position version string slightly.
14412 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14414 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14415 revert to previous code.
14417 WorkArea.[Ch]: (show, destroySplash): methods removed.
14419 WorkArea.C: rework code so that it's an amalgam of the codes before and
14420 after the splash screen was moved to WorkArea.
14422 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14425 * vspace.C (inPixels):
14428 * buffer.C (insertStringAsLines):
14429 (asciiParagraph): fix types to be large enough
14431 * lyxlex_pimpl.h: change member status from short to int
14433 * layout.h: fix type of endlabeltype
14436 * kbsequence.C (parse): change return type to string::size_type
14438 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14441 * Bullet.C (bulletSize):
14442 (bulletEntry): do not use short ints as parameters
14444 * BufferView2.C (insertLyXFile): change a char to an int.
14446 * WorkArea.C (WorkArea): remove unneeded floats in computation
14448 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14450 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14452 * paragraph.C (asString): Do not ignore newline/hfill chars when
14453 copying to the clipboard.
14455 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14457 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14458 after a multi-line inset.
14460 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14462 * paragraph.C (validate): Set NeedLyXFootnoteCode
14464 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14466 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14467 and decrease-error to decrease.
14469 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14471 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14472 it more readable (should be equivalent)
14474 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14476 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14478 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14480 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14481 of a cursor (row, etc.) after a character has been deleted
14482 (deleteEmptyParagraphMechanism): call the method above on _all_
14483 cursors held by the LyXText when a double space has been
14486 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14488 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14490 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14492 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14493 background. Use greyOut() and the new show() methods to toggle between
14494 the foreground and background. Add code to remove the splash after
14495 its initial showing.
14497 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14498 (create_forms): no longer call Dialogs::showSplash.
14500 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14502 * .cvsignore: add version_info.h
14504 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14506 * version_info.h.in: new file
14508 * Makefile.am: add version_info.h.in
14510 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14511 version_info.h instead of VERSION_INFO
14513 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14515 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14516 The ERT inset now returns string().
14518 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14520 * lyxtext.h, text.C (selectNextWord): renamed as
14521 selectNextWordToSpellcheck.
14523 * text.C (selectNextWordToSpellcheck): Modified to not select
14524 words inside an ERT inset.
14526 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14528 * lyx_cb.C (MenuLayoutSave): change a bit the question
14530 * sp_base.h: include <sys/types.h>
14532 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14534 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14536 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14538 * several files: fix typos in user-visible strings
14540 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14542 * text2.C (pasteSelection): do not set the selection, since it
14543 will be cleared later. Actually, the intent was to fix the way the
14544 selection was set, but I figured rmoving the code was just as good.
14546 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14548 * FontLoader.C (available): Check if font is available without
14551 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14553 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14555 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14557 * lyxrc.[Ch]: added display_graphics variable and associated code.
14559 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14561 * bufferparams.C (hasClassDefaults): new method. Returns true if
14562 the buffer parameters correspond to known class defaults
14564 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14566 * XFormsView.C (show): set minimum size to the main window.
14568 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14570 * text2.C (copySelection):
14572 * lyxfind.C (LyXReplace):
14573 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14574 LyXText::selectionAsString.
14576 * paragraph.C (asString): add "label" argument to the second form
14578 * text2.C (selectionAsString): add "label" argument and pass it to
14579 Paragraph::asString.
14581 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14583 * lyx_main.C (commandLineHelp): remove version information
14585 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14587 * lyx_main.C: add -version commandline option
14589 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * paragraph.h: make the optional constructor arg required instead.
14592 some modifications to other files because of this.
14594 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14596 * lyxserver.C (C_LyXComm_callback): make it static
14598 * lyx_main.C (error_handler): make it static
14600 * lyx_gui.C (LyX_XErrHandler): make it static
14602 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14604 * WorkArea.C: make the extern "C" methods static.
14606 * Makefile.am (lyx_LDADD): simplify
14608 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14610 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14611 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14613 * LyXAction.C (init):
14614 * lyxfunc.C (dispatch): associated code removal.
14616 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * lyxfont.h (isSymbolFont): shut off warning
14620 * text.C (setHeightOfRow):
14621 (getVisibleRow): fix crash with empty paragraphs which have a
14624 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14626 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14629 2001-09-04 José Matos <jamatos@fep.up.pt>
14632 * tabular.C (docbook): rename docBook method to docbook.
14634 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14636 * Makefile.am: add dependencies to main.o.
14638 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14640 * FontLoader.C (available): Return false if !lyxrc.use_gui
14642 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14644 * FontInfo.C (query):
14645 * converter.C (view):
14646 * importer.C (Import):
14647 * exporter.C (Export): Can not -> cannot.
14649 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14651 * BufferView_pimpl.C: allow to create index inset even if
14654 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14656 * buffer.C (getLists): replace boost::tie code with an explicit pair
14657 as boost::tie can break some compilers.
14659 * iterators.h: Added a std:: declaration to the return type of
14662 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14664 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14667 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14669 * iterators.[Ch]: New files. Provide paragraph iterators.
14671 * buffer.C (changeLanguage): Use paragraph iterators.
14672 (isMultiLingual): ditto
14674 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14676 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14678 * FontLoader.C: Support for cmr font.
14680 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14682 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14683 (available): New method.
14685 * FontInfo.C (getFontname): Use scalable fonts even when
14686 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14689 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14691 * converter.C (Formats::view): reverted! Incorrect fix.
14693 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14695 * converter.C (Formats::view): only output the -paper option
14696 if the dvi viewer is xdvi, thereby fixing bug #233429.
14698 2001-08-23 Herbert Voss <voss@perce>
14700 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14702 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14704 * Spacing.h (Spacing): Set space to Default on in the default
14707 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14709 * vc-backend.h (RCS::versionString): add RCS to version
14710 (CVS::versionString): add CVS to version
14712 * vc-backend.C (scanMaster): do not add CVS to version.
14713 (scanMaster): do not add RCS to version
14715 * lyxvc.C (versionString): new method
14717 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14719 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * Spacing.C (set): initialize fval
14723 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14725 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14728 2001-08-16 Juergen Vigna <jug@sad.it>
14730 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14732 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14734 * BufferView_pimpl.C:
14737 * text2.C: setParagraph takes linespacing now
14739 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14741 * LyxAction.C: add internal LFUN_CITATION_INSERT
14743 * LyXView.C: actually apply fix
14745 * bufferlist.C: fix open non-existent file
14747 * lyxfind.C: fix indentation
14749 * lyxfunc.C: remove unneeded assert, fix typo
14751 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14753 * MenuBackend.C: use "Floatname List"
14755 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14757 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14758 when converting LaTeX layout to insetERT.
14759 Generate a non-collapsed float when reading old float
14761 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14763 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14766 2001-08-13 Juergen Vigna <jug@sad.it>
14768 * text.C (fill): return 0 instead of 20 as this seems to be the more
14771 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14773 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14776 2001-08-13 Juergen Vigna <jug@sad.it>
14778 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14780 (SearchBackward): comment out the unlocking of the inset_owner this
14781 should not be needed!
14783 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14785 * Many files: Remove inherit_language, and add latex_language
14787 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14788 collapsible insets.
14790 2001-08-10 Juergen Vigna <jug@sad.it>
14792 * text.C (prepareToPrint): fixed hfill-width in draw!
14794 * BufferView2.C (selectLastWord): save the selection cursor as this
14795 now is cleared in the function LyXText::clearSelection!
14797 2001-08-08 Juergen Vigna <jug@sad.it>
14799 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14800 BACKSPACE type functions.
14802 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14803 is only cutted from the document but not put in the cut-buffer, where
14804 still the old stuff should be.
14806 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14808 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14810 * tabular.C (SetWidthOfCell): fixed special case where the width
14812 (LeftLine): handle '|' in align_special.
14814 (LeftAlreadyDrawed): ditto
14815 (SetWidthOfCell): ditto
14817 2001-08-07 Juergen Vigna <jug@sad.it>
14819 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14821 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14824 * lyxlex.[hC]: ditto
14826 2001-08-06 Juergen Vigna <jug@sad.it>
14828 * text.C (getVisibleRow): fix up row clearing a bit.
14830 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * minibuffer.C: make sure the X server sees the changes in the input.
14834 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14836 * paragraph.C (getFont): split into...
14837 (getLabelFont): this
14838 (getLayoutFont): and this
14839 * paragraph_pimpl.C (realizeFont): calling this
14841 * text2.C (getFont): split into...
14842 (getLayoutFont): this
14843 (getLabelFont): and this
14844 (realizeFont): all three calling this
14846 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14849 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14851 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14853 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14855 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14856 layouts from the Quote inset insertion.
14858 2001-08-03 Juergen Vigna <jug@sad.it>
14860 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14862 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14863 only if status not is already CHANGED_IN_DRAW (second level).
14865 * text.C (draw): don't set the need_break_row when inside an
14868 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14870 * buffer.C (parseSingleLyXformat2Token): handle more latex
14873 * bufferview_funcs.[hC]: change function names to
14874 begin with small char, adjust other files.
14876 2001-08-02 André Pönitz <poenitz@gmx.net>
14879 BufferView_pimpl.C: remove broken special code for math-greek
14881 2001-08-02 Juergen Vigna <jug@sad.it>
14883 * BufferView_pimpl.C (update): redone this function so that we
14884 update the text again if there was a CHANGE_IN_DRAW.
14886 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14887 (drawFromTo): added a new internal bool which is used by draw() and
14889 (general): some cursor drawing problems fixed.
14891 2001-08-01 Juergen Vigna <jug@sad.it>
14893 * lyxfind.C (LyXFind): fixed
14894 (SearchForward): ditto
14895 (SearchBackward): ditto
14897 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14898 spurius drawing of the cursor in the main area.
14900 * text2.C (status): small fix which could lead to a segfault!
14901 (clearSelection): remove unneeded BufferView param.
14903 2001-08-01 André Pönitz <poenitz@gmx.net>
14905 * lyxfunc.C: small change due to changed mathed interface
14907 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14911 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14913 * lyxfunc.c: fail gracefully if file doesn't exist
14918 * BufferView_pimpl.C: IsDirWriteable() proto changed
14920 * LyXView.C: fix updateWindowTitle() to store the last title
14922 2001-07-31 Juergen Vigna <jug@sad.it>
14924 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14925 the font (wrong since using of Paragraph::highestFontInRange).
14927 * paragraph.C (highestFontInRange): added a default_size parameter.
14929 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14930 (setHeightOfRow): reformat
14932 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14934 * converter.[hC] + affected files: move to (inital-char)lowercase
14937 * ParagraphParameters.C (ParagraphParameters): remove commented code
14939 * PainterBase.[Ch]: remove commented code
14941 * LaTeXFeatures.h: add "bool floats" for float.sty
14943 * LaTeXFeatures.C (LaTeXFeatures): init floats
14944 (require): handle float
14945 (getPackages): do it with floats
14947 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14949 * BufferView_pimpl.C (Dispatch): improve handling of
14950 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14952 * commandtags.h: #include lyxfont.h here temporarily to avoid
14955 * bufferlist.h: include LString.h here.
14957 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14959 * text2.C (getStringToIndex): new method.
14961 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14963 * *: Reduced header file dependencies all over.
14965 2001-07-30 Baruch Even <baruch@lyx.org>
14967 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14969 2001-07-29 Baruch Even <baruch@lyx.org>
14971 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14973 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14975 * ParameterStruct.h (endif): add a default constructor to make
14976 sure that all variables is initialized.
14978 * ParagraphParameters.C (ParagraphParameters): adjust
14980 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14982 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14983 index; also, check that there is something to index, and that it
14984 does not span over several paragraphs.
14985 (doubleClick): use WHOLE_WORD_STRICT for double click.
14987 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14989 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14992 2001-07-26 Baruch Even <baruch@lyx.org>
14994 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14995 an InsetFig figure, backwards compatible reading of old figure code.
14997 2001-07-27 Juergen Vigna <jug@sad.it>
14999 * text2.C: font.realize function adaption.
15001 * text.C (draw): add a warnings lyxerr text if needed.
15003 * layout.C: font.realize function adaption.
15005 * language.C: add inherit_language and implement it's handlings
15007 * bufferview_funcs.C (StyleReset): remove language parameter from
15008 font creation (should be language_inherit now).
15010 * bufferparams.C (writeFile): handle ignore_language.
15012 * paragraph.C (getFontSettings): the language has to be resolved
15013 otherwise we have problems in LyXFont!
15015 * lyxfont.C (lyxWriteChanges): added document_language parameter
15016 (update): removed unneeded language parameter
15018 * paragraph.C (validate): fixed wrong output of color-package when
15019 using interface colors for certain fonts in certain environments,
15020 which should not seen as that on the final output.
15022 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15024 * BufferView_pimpl.C:
15029 * LyXAction.C: add thesaurus support
15032 * lyxfind.C: add "once" parameter, for thesaurus, to not
15033 move to the next match
15035 2001-07-26 Juergen Vigna <jug@sad.it>
15037 * lyxfont.C (realize): honor ignore_language too!
15040 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15042 * text.C (draw): one place more for ignore_language to not draw
15045 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15047 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15049 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15051 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15052 the minipage conversion problem.
15054 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15059 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15061 * BufferView.h: don't forward declare WorkArea
15063 * BufferView.C: don't include WorkArea.h
15065 2001-07-25 André Pönitz <poenitz@gmx.net>
15069 * lyxfunc.C: new LFUN 'math-space'
15071 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15073 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15075 * text2.C (toggleInset): call open/close
15077 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * lyxfunc.C (dispatch): add debug for the disabled case
15081 * font.C (buttonText): make similar to rectText
15083 * buffer.C (readInset): comment out parsing of insetlist and
15086 * PainterBase.C (rectText): small correction
15088 * BufferView_pimpl.C: comment out insettheorem and insetlist
15089 * LyXAction.C: ditto
15090 * commandtags.h: ditto
15092 2001-07-24 Juergen Vigna <jug@sad.it>
15094 * text.C (draw): honor the ignore_language.
15096 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15098 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15100 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15103 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15105 * lyxtext.h: remove unused (and unimplemented) methods
15107 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15109 * text.C (getVisibleRow): honor background color
15112 * Painter.h: remove default color argument for fillRectangle
15114 * text.C (backgroundColor): new method
15116 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15118 * text.C (getVisibleRow): adjust
15120 * font.[Ch] (rectText): new method, metrics
15121 (buttonText): new method, metrics
15123 * PainterBase.[hC]: make rectText and buttonText always draw and take
15126 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15128 * ToolbarDefaults.C (read):
15129 * MenuBackend.C (read): allow escaping in all strings
15131 * BufferView_pimpl.C (insertAndEditInset): new method.
15132 (Dispatch): use insertAndEditInset whenever appropriate.
15134 * BufferView_pimpl.C (insertNote): removed
15136 * BufferView_pimpl.C (smartQuote): new method, moved from
15137 BufferView; if an insetquote cannot be inserted, insert a '"'
15140 * BufferView2.C: remove insertCorrectQuote();
15142 * lyxfunc.C (getStatus): Add support for all remaingin
15143 inset-insert lfuns.
15145 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15147 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15148 command (necessary to pass " as parameter of self-insert.
15150 * text.C (selectWordWhenUnderCursor):
15151 (selectWord): add word_location parameter
15152 (selectWordWhenUnderCursor): same + remove special code for word
15154 (selectNextWord): use kind() to guess type of insetspecialchar,
15157 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15158 (insertErtContents): create ert insets as collapsed.
15159 (readInset): better compatibility code for Info inset.
15161 2001-07-20 Juergen Vigna <jug@sad.it>
15163 * lyxfunc.C (dispatch): use always LyXFind now!
15165 * text2.C (init): add a reinit flag so that the LyXText can be
15166 reinited instead of deleted and reallocated (used in InsetText).
15168 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15174 2001-07-18 Juergen Vigna <jug@sad.it>
15176 * text.C (selectNextWord): handle insets inside inset by calling
15177 always the bv->text functions so that we can go up the_locking_inset!
15179 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15180 in strange locations when inside an inset!
15182 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15183 handling to include insets.
15185 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15187 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * LyXAction.C (init):
15191 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15192 LIGATURE_BREAK, since the name is so stupid.
15194 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15196 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15199 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15201 * sp_form.[Ch]: remove.
15203 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15205 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15208 * src/buffer.C (readInset): ditto.
15210 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15212 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15213 menuSeparator(), endOfSentenceDot(), ldots() and
15214 hyphenationPoint(), which are therefore removed.
15215 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15217 * LyXAction.C (init):
15218 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15220 * paragraph.C (getWord): removed.
15222 * BufferView_pimpl.C (Dispatch): use last word or selection for
15223 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15225 * lyx_main.C (queryUserLyXDir): do not ask before creating
15226 user_dir, except if it has been named explicitely.
15228 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15230 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15231 a document of zero size.
15233 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15235 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15236 approriately in the c-tor and in require().
15237 (getPackages): output the appropriate LaTeX for natbib support.
15239 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15240 variables "use_natbib" and "use_numerical_citations" when reading the
15242 (readInset): read the various natbib cite commands.
15243 (validate): white-space change.
15245 * bufferparams.[Ch]: new variables "bool use_natbib" and
15246 "bool use_numerical_citations".
15247 (writeFile): output them in the LyX file.
15249 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15251 * lyxfunc.C (getStatus): add support for all the inset insertion
15254 * text2.C (insertInset):
15255 * paragraph.C (insetAllowed):
15256 * BufferView_pimpl.C (insertInset): update to take in account the
15257 renaming of insertInsetAllowed
15259 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15261 * text2.C (getInset): new method. returns inset at cursor position.
15263 * BufferView_pimpl.C (Dispatch): changes because of this.
15265 * LyXAction.C (init): rename open-stuff to inset-toggle.
15267 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15269 * text2.C (toggleInset): renamed from openStuff; use
15272 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15274 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15276 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15278 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15280 * buffer.C (readLyXformat2): Add filename to the error dialog
15282 2001-07-18 Juergen Vigna <jug@sad.it>
15284 * tabular.C (GetCellNumber): put an assert here instead of the check!
15286 2001-07-17 Juergen Vigna <jug@sad.it>
15288 * BufferView_pimpl.C (toggleSelection): adapted too.
15290 * text.C (selectNextWord): adapted for use with insets.
15291 (selectSelectedWord): ditto
15293 2001-07-17 Juergen Vigna <jug@sad.it>
15295 * sp_spell.C (PSpell): fix initialitation order.
15297 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15299 * paragraph.C: spacing
15301 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15303 * sp_spell.C: repair language selection for pspell
15305 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15307 * lyxfunc.h: change more methods to begin with lower char.
15309 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15311 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15312 for unknown layouts.
15314 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15316 * buffer.C (readLyXformat2): Generate an error dialog if there are
15319 2001-07-16 Juergen Vigna <jug@sad.it>
15321 * sp_spell.C: always compile ISpell part.
15323 * lyxrc.C: added use_pspell entry and it's handling.
15325 2001-07-13 Juergen Vigna <jug@sad.it>
15327 * sp_spell.C: removed double includes.
15329 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15331 Consistent use of Lsstream.h:
15332 * Lsstream.h: added using std::stringstream for consistencies sake.
15334 * buffer.C: removed using std::stringstream
15336 * lyxfont.C (stateText):
15337 * paragraph.C (asString):
15338 * text.C (selectNextWord, selectSelectedWord):
15339 * text2.C (setCounter):
15340 * vspace.C (asString, asLatexString):
15341 std::ostringstream -> ostringstream.
15343 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15345 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15346 * commandtags.h: add LFUN_HELP_ABOUTLYX
15347 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15349 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15351 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15353 * lyx_gui_misc.C: remove spellchecker
15354 * lyxfunc.C: showSpellchecker
15356 * sp_ispell.h: added
15357 * sp_pspell.h: added
15358 * sp_spell.C: added
15359 * sp_form.[Ch]: removed
15360 * spellchecker.[Ch]: removed
15362 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15364 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15366 (simpleTeXSpecialChars): Simply print the input character without
15367 any special translation if pass_thru is set.
15369 * layout.h: Added bool pass_thru to layout class for being able to
15370 implement pass through of a paragraph for Literate Programming.
15372 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15373 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15374 * layout.C (Read): add "passthru" to list of layout tags and add
15375 code to set the pass_thru boolean when it is read.
15377 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15379 * trans_decl.h: remove allowed from KmodInfo
15381 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15382 remove allowed code
15385 * paragraph_pimpl.C (erase): use boost::prior
15387 * Painter.C (text): use data() instead of c_str() when length is
15389 * WorkArea.C (putClipboard): ditto
15390 * font.h (width): ditto
15392 * BufferView2.C: use it-> instead of (*it). for iterators
15394 * paragraph_pimpl.C: ditto
15395 * paragraph.C: ditto
15396 * minibuffer.C: ditto
15397 * language.C: ditto
15399 * encoding.C: ditto
15400 * counters.C: ditto
15401 * converter.C: ditto
15403 * Variables.C: ditto
15404 * TextCache.C: ditto
15405 * MenuBackend.C: ditto
15406 * LyXAction.C: ditto
15408 * FloatList.C: ditto
15409 * DepTable.C: ditto
15410 * ColorHandler.C (LyXColorHandler): ditto
15412 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15416 * text2.C (openStuff): reintroduce this method (which had been
15417 nuked in NEW_INSETS frenzy).
15419 * lyxfunc.C (Dispatch): when an action has not been handled, use
15420 its name in the error message, not its number.
15422 * paragraph.C (inInset): change method name to begin with lowercase.
15425 * text2.C: updates because of this.
15427 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15429 * ToolbarDefaults.C (add): add spaces in error message
15431 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15433 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15434 (readLyXformat2): rename return_par to first_par, use lyxlex's
15435 pushToken and remove the manual push handling.
15436 (parseSingleLyXformat2Token): add another ert comp. variable:
15437 in_tabular, rename return_par to first_par. handle newlines better
15439 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15443 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * text2.C (getParFromID): removed
15447 * buffer.C (getParFromID): new method moved form lyxtext.
15448 * BufferView2.C (insertErrors): adjust
15449 (setCursorFromRow): adjust
15450 * BufferView_pimpl.C (restorePosition): adjust
15451 * lyxfunc.C (Dispatch): adjust
15452 * undo_funcs.C (textUndo): adjust
15454 (textHandleUndo): adjust
15455 (textHandleUndo): adjust
15457 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15459 * buffer.C: up' the LYX_FORMAT
15461 * lyxfont.h: turn NO_LATEX on as default
15463 * buffer.C (insertErtContents): new methods of tex style compability.
15464 (parseSingleLyXformat2Token): use it several places.
15465 * tabular.C (OldFormatRead): and here
15467 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15469 * text2.C: remove some commented code.
15472 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15473 * trans.C: changes because of the above.
15475 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15477 * text2.C (setCounter): Fix counters bug with bibliography layout.
15479 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15482 own member functions
15483 (simpleTeXSpecialChars): ditto
15485 2001-07-06 Juergen Vigna <jug@sad.it>
15487 * a lot of files: changed the access to LyXText::status and the
15488 call of undo-functions.
15490 * undo.[Ch]: added a inset_id to the undo informations.
15492 * undo_funcs.[Ch]: added and moved here all undo functions.
15494 * lyxtext.h: give the status enum a weight, made status_ a private
15495 variable and made accessor functions for it, removed the whole bunch
15496 of undo-functions as they are now in their own file, make some
15497 functions publically available. Added function ownerParagraph with
15500 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15501 made InInset() a const function, added getParFromID() function.
15503 * buffer.[Ch]: added const version for inset_iterator functions,
15504 added getInsetFromID() function.
15506 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15507 changed undo functions for new version.
15509 2001-07-05 Juergen Vigna <jug@sad.it>
15511 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15512 unknow mechanism does not call the proper constructor but only this
15513 one also if I request the other!?
15515 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15517 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15519 * text2.C (LyXText): use initialization lists.
15521 * lyxtext.h (Selection): initialize set_ and mark_
15522 (init): remove method
15524 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15526 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15528 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15530 * screen.[Ch]: change method names to begin with lowercase
15532 * BufferView_pimpl.C (updateScrollbar): simplify further and
15533 hopefully make it a bit faster.
15535 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15537 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15538 calling directly xforms functions.
15540 * Painter.C (Painter):
15541 * lyx_cb.C (MenuWrite):
15542 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15545 * lyx_gui.C: remove bogus guiruntime extern declaration.
15547 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15549 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15551 (redoDrawingOfParagraph): ditto
15552 (redoParagraphs): ditto
15553 (cutSelection): don't create a object for CutAndPaste use the
15554 static method directly
15555 (pasteSelection): ditto
15557 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15560 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15562 * modifications to some other files because of this.
15564 * Makefile.am (lyx_SOURCES): add XFormsView
15566 * XFormsView.[Ch]: new files
15568 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15569 the main window. Move the gui dependent stuff to XFormsView
15571 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * tabular.C (GetCellInset): update cur_cell also in the row/col
15574 version of this function.
15576 * lyxfunc.C: no need to include figure_form.h here.
15582 * lyxvc.C: no need to include forms.h here.
15584 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15586 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15588 * lyxfunc.C (Dispatch):
15590 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15591 constructor argument.
15593 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15595 * paragraph.C (Paragraph): dont't clear, and just set layout.
15596 (makeSameLayout): use params's copy contructor.
15598 * ParagraphParameters.[Ch] (makeSame): delete method
15600 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15602 * Variables.[Ch]: fix indentation, rename set to isSet
15604 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15606 * lyxfunc.C (Dispatch): fix typo
15608 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15610 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15613 * bufferlist.C: include assert.h for emergencyWrite().
15615 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15617 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15618 give up at last (bug #425202) !
15620 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15626 * spellchecker.C: strip spellchecker options and bring up
15627 preferences tab instead
15629 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15631 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15632 the istringstream constructor
15634 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15636 * paragraph.C (getLayout): fix return value
15638 * paragraph.h: do not declare getLayout as inline.
15640 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15642 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15644 * lyxcursor.h (operator<): new func
15645 (operator>): new func
15646 (operator>=): new func
15647 (operator<=): new func
15649 * text.C (changeCase): use selection.start and selection.end
15650 (changeRegionCase): require from to be <= to. Require par to be a
15653 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15655 2001-06-27 Juergen Vigna <jug@sad.it>
15657 * text.C (cursorLeftOneWord): changed to return the cursor and added
15658 overlay with BufferView * parameter which calls this one.
15660 (selectWord): use new getWord function.
15661 (changeCase): renamed from changeWordCase as and extended to work
15662 also on selections.
15664 * lyxtext.h: added enum word_location
15666 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15667 changeCase as this operates now also on selections.
15669 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15671 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15673 * many files: send debug output to Debug::INFO instead of
15676 * converter.C (View):
15678 (Move): send debug output to Debug::FILES instead of console.
15680 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15682 * lyxfunc.C (getStatus): use func_status
15684 * func_status.h: new header, describing the results of
15685 LyXFunc::getStatus;
15687 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15690 2001-06-25 The LyX Project <jug@sad.it>
15692 * buffer.C (sgmlOpenTag):
15694 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15696 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * text2.C: remove some dead code
15700 * tabular.C (GetCellInset): store the last cell checked (gotten)
15702 * tabular.h: add the helper for the speedup
15704 * lyxtext.h: remove some dead code
15706 2001-06-26 The LyX Project <Asger>
15708 * paragraph.C: Change export to LaTeX of alignment to
15709 \begin{center} and family for better roundtrip work with reLyX.
15711 * Tune the math drawing a bit.
15713 2001-06-25 The LyX Project <Asger>
15715 * LColor.C (LColor): New color for math background. New color
15718 2001-06-25 The LyX Project <jug@sad.it>
15720 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15722 * lyxfunc.C (Open):
15723 * bufferlist.C (newFile): do not restrict to files ending with
15726 * BufferView_pimpl.C (MenuInsertLyXFile):
15728 2001-06-24 The LyX Project <jug@sad.it>
15730 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15733 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * lyxtext.h: rename most methods to begin with a small char.
15736 Lots of changes because of this.
15738 * paragraph.C (Paragraph): do not call fitToSize
15739 (erase): call Pimpl::erase
15740 (insertChar): call Pimpl::insertChar
15741 (insertInset): call Pipl::insertInset
15742 (breakParagraph): do not call fitToSize
15743 (breakParagraphConservative): do not call fitToSize
15744 (fitToSize): remove method
15746 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15748 2001-06-24 The LyX Project <Asger>
15750 * Fix Qt compilation^2
15752 2001-06-24 The LyX Project <jug@sad.it>
15754 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15755 depthHook(getDepth()-1).
15758 * ParagraphParameters.h:
15759 * ParameterStruct.h: change type of depth to unsigned int ==
15760 depth_type. Many adaptations to other files before of that.
15762 2001-06-24 The LyX Project <Asger>
15764 * Fix Qt compilation.
15766 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15768 * paragraph.h: renamed several methods to begin with small letter.
15769 several changes to many parts of the code because of this.
15771 2001-06-23 The LyX Project <jug@sad.it>
15773 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15774 rewritten to discard all double spaces when KeepEmpty is off
15775 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15776 to only handle newlines but not fiddle with spaces and friends.
15778 * lyxfunc.C (MenuNew): when doing 'new from template', use
15779 template_path as default directory
15781 2001-06-23 The LyX Project <Asger>
15783 * Clean-up of header file includes all over
15784 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15786 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15788 * paragraph.h: renamed from lyxparagraph.h
15790 2001-06-23 Asger <lyx@violet.home.sad.it>
15792 * Buffer.h: Removed Buffer::resize
15793 * BufferList.h: Removed BufferList::resize
15794 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15795 the document lazily when we change the width, or the font settings.
15797 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15799 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15801 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15803 * buffer.h: remove out of date comment
15805 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15808 * screen.C: fix "theoretical" GC leak
15810 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * LaTeX.C (scanAuxFile):
15813 (deplog): remove trailing \r when reading stream (useful under
15816 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15818 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15819 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15820 and BufferView::theLockingInset(Inset*), so should use them and not
15821 access bv_->text->the_locking_inset directly.
15823 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15825 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15828 * tex-defs.h: remove old unused file
15830 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15832 * BufferView_pimpl.C: fix typo, remove minibuffer message
15833 when buffer has loaded
15835 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15837 * lyxfunc.C (Dispatch): use stringstream
15838 (MenuNew): use stringstream
15839 (Open): use stringstream
15841 * importer.C (Import): use stringstream
15843 * bufferview_funcs.C (CurrentState): use stringstream
15845 * LaTeX.C (run): use stringstream
15847 * BufferView_pimpl.C (savePosition): use stringstream
15848 (restorePosition): use stringstream
15849 (MenuInsertLyXFile): use stringstream
15851 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15864 * vspace.C: removed // -*- C++ -*- as first line.
15867 * version.h: added // -*- C++ -*- as first line.
15869 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15871 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15873 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15876 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15878 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15881 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15883 * gettext.C: include LString.h even when --disable-nls is on.
15885 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15887 * converter.h (Get): changed argument type from int to
15888 FormatList::size_type to avoid unnecessary conversion.
15890 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15893 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * gettext.h: include LString.h even when --disable-nls is on.
15897 2001-06-07 Juergen Vigna <jug@sad.it>
15899 * text.C (BreakAgain): subst spaces with tabs.
15901 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15902 (resizeInsetsLyXText): set force on resizeLyXText.
15904 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15906 * gettext.h (gettext_init):
15907 (locale_init): use a real definition instead of a macro
15909 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15911 * Bufferview_pimpl.C:
15913 * LColor.C: further lcolor tidies
15915 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15917 * BufferView_pimpl.C (updateScrollbar): simplify.
15919 * BufferView2.C: don't include insets/insetinfo.h, change
15920 prototype for insertInset and call the Pimpl version. let
15921 updateInset call Pimpl version.
15923 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15924 gotoInset to BufferView::Pimpl
15926 2001-06-01 Juergen Vigna <jug@sad.it>
15928 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15929 inside a LockingInset (is the update needed at all?).
15931 2001-05-31 Juergen Vigna <jug@sad.it>
15933 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15934 here not the old one otherwise how should we compare it afterwards
15937 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15942 * FontInfo.C: bring C functions into global namespace when
15945 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15947 * LString.h: make sure config.h has been loaded before LString.h.
15949 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15950 (one for each char read by EatLine!).
15952 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15955 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15957 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15958 to the same as the par we break from
15960 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15962 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15964 * MenuBackend.C (expand): also create menu entries for wide
15965 versions of the floats.
15967 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15969 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15971 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15972 frontends/Makefile.am
15978 * tabular.C (getTokenValue): add std::
15980 * tabular-old.C (getTokenValue): add std::
15981 (getTokenValue): ditto
15982 (getTokenValue): ditto
15984 * screen.C (ToggleSelection): adjust
15986 * lyxtext.h: put selection cursors inside a Selection struct.
15988 * lyxfunc.C (moveCursorUpdate): adjust
15990 * lyxfont.C (latexWriteStartChanges): add std::
15992 * lyxfind.C: adjust
15994 * font.h: delete with(char const *, LyXFont const &)
15996 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15998 * FontInfo.C (getFontname): add std::
16000 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16001 (workAreaButtonPress): adjust
16002 (tripleClick): adjust
16004 (moveCursorUpdate): adjust
16007 * BufferView2.C (gotoInset): adjust
16009 2001-05-30 Juergen Vigna <jug@sad.it>
16011 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16012 to check pspell I add this as default as I now have new pspell
16013 libraries and they seem to use this.
16015 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16017 * text2.C (CutSelection): make the cursor valid before the call to
16020 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16022 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16023 relied on 0 terminated strings and other horrors. Bug found due to
16024 the new assert in lyxstring!
16026 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16029 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16034 * lyxfunc.C (processKeySym): change method of getting to the
16037 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16038 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16039 * BufferView_pimpl.[Ch]: here as private methods.
16041 2001-05-28 Juergen Vigna <jug@sad.it>
16043 * text.C (SetHeightOfRow): added the update() call again as it is
16044 needed to initialize inset dimensions!
16046 2001-05-16 Juergen Vigna <jug@sad.it>
16048 * text2.C (SetCharFont): Add new function with BufferView * and
16049 bool toggleall parameters for setting insets internal fonts.
16050 (SetFont): Freeze the undo as we may change fonts in Insets and
16051 all this change should be inside only one Undo!
16053 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16054 setting font's in insets as for them we have the SetFont function!
16056 2001-05-15 Juergen Vigna <jug@sad.it>
16058 * text2.C (ClearSelection): to be sure we REALLY don't have any
16061 * tabular.C (TeXCellPreamble): fixed the left border problem for
16064 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16066 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16069 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16071 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16072 LFUN_BREAKPARAGRAPH.
16074 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16075 help test to "internal only", similar for LFUN_INSERT_URL
16077 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16078 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16079 auto_region_delete and deadkeys.
16081 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16084 * LColor.C: remove some dead entries, tidy a little
16086 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16088 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16090 (Dispatch): implement LFUN_ESCAPE
16092 * commandtags.h: add LFUN_ESCAPE
16094 * LyXAction.C (init): add entry for LFUN_ESCAPE
16096 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16097 Remove commented code.
16098 (insertNote): moved here
16099 (open_new_inset): moved here
16101 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16104 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16106 * kbmap.C (findbinding): clean it up and make it work correctly.
16108 * lyx_main.C (init): do not pass argc and argv as parameters
16110 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16112 * buffer.C: fix path for OS/2 & Win32
16116 * lyx_main.C: Added os:: class.
16118 * os2_defines.h: update
16120 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16122 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16123 better by trying again with reduced state.
16125 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16127 * lyxrc.C (read): print error about invalid key sequence only when
16128 debugging (because not all latinX keysyms are known to some X
16131 * kbsequence.C (getiso): add a few std:: qualifiers
16132 (getiso): comment out extra return statement.
16134 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16136 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16138 (Dispatch): enhance the accent inset a bit. (not perfect)
16140 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16144 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16146 * bufferlist.C (emergencyWrite): fix assert() call
16148 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16150 * text.C (InsertChar): Added trivial patch to only send the "you
16151 can not do multiple spaces this way" message once during a
16154 2001-05-08 Baruch Even <baruch@lyx.org>
16156 * Makefile.am: Changed order of libraries to get LyX to link properly
16157 with the gnome frontend.
16159 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16161 * LaTeXFeatures.h: add a std:: qualifier
16163 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16165 * paragraph.C (String): use stringstream
16167 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16169 * paragraph.C (writeFile): remove footflag arg
16171 * buffer.C (makeLaTeXFile): use stringstream
16172 (latexParagraphs): remove footnot gurba
16174 * LaTeXFeatures.C (getPackages): use stringstream
16175 (getMacros): likewise
16176 (getTClassPreamble): likewise
16177 (getFloatDefinitions): new method
16179 * paragraph.C (writeFile): reindent
16182 * WorkArea.h: revert the xpos + etc changes.
16184 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16186 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16188 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16189 (pasteSelection): likewise
16190 * text2.C (CreateUndo): likewise
16192 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16194 * minibuffer.C (peek_event): temporarily reduce the functionality
16195 of the minibuffer (to allow args on lfuns)
16197 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16198 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16200 * buffer.C (readInset): add compability reading of old float
16201 lists, add reading of new style float list.
16202 (readInset): avoid reevaluation of inscmd.getCmdName()
16203 (getLists): reindent
16205 * MenuBackend.C (MenuItem): implement parsing of
16206 md_floatlistinsert and md_floatinsert.
16207 (expand::LastFiles): move initalizaton of iterators out of loop,
16208 avoid reevaluation.
16209 (expand::Documents): introduce typdedef vector<string> Strings,
16211 (expand::ExportFormats): introduce typedef vector<Format const *>
16212 Formats, and use it.
16213 (expand): implement FloatListInsert and FloatInsert.
16215 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16216 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16217 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16219 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16221 (Dispatch::LFUN_FLOAT_LIST): implement
16223 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16225 * LaTeX.C (run): Fix problem with --export code.
16227 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16229 * BufferView.[Ch] (workarea): removed.
16230 (getClipboard) new method; wrapper for workarea()->getClipboard()
16232 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16235 * WorkArea.h (width, height, xpos, ypos): These methods all
16236 returned the dimensions of the work_area sub-area of WorkArea,
16237 resulting in a position error if the WorkArea were resized. Now
16238 return the dimensions of the entire WorkArea.
16240 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16242 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * LaTeX.C (deplog): correct the syntax of regex reg1
16246 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * undo.C: remove !NEW_INSETS cruft
16250 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16252 * text2.C: remove !NEW_INSETS cruft
16254 * text.C: remove !NEW_INSETS cruft
16256 * tabular.C: remove !NEW_INSETS cruft
16258 * spellchecker.C: remove !NEW_INSETS cruft
16260 * lyxtext.h: remove !NEW_INSETS cruft
16262 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16264 * lyxfunc.C: remove !NEW_INSETS cruft
16266 * lyxfind.C: remove !NEW_INSETS cruft
16268 * lyx_cb.C: remove !NEW_INSETS cruft
16270 * figureForm.C: remove !NEW_INSETS cruft
16272 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16274 * buffer.[Ch]: remove !NEW_INSETS cruft
16276 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16278 * CutAndPaste.C: remove !NEW_INSETS cruft
16280 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16282 * BufferView2.C: remove !NEW_INSETS cruft
16284 * BufferView.h: remove !NEW_INSETS cruft
16286 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16288 * Lsstream.h: include LString.h before the sstream headers to
16289 fix problem with gcc 2.95.3 and lyxstring
16291 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16293 * lyx_main.C: add using directives when needed for C functions
16294 declared in std:: namespace.
16296 2001-04-27 Juergen Vigna <jug@sad.it>
16298 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16299 (SetHeightOfRow): comment out the update call should not be needed!
16301 2001-04-13 Juergen Vigna <jug@sad.it>
16303 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16304 (LyXTabular): tried to minimize operator= operations (and realized
16305 hopfully Lars wish).
16307 2001-04-27 Juergen Vigna <jug@sad.it>
16309 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16311 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16313 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16315 * buffer.C (readInset): hack to make listof algorithm work
16317 * BufferView_pimpl.C: hack to make listof algorithm work
16319 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16321 * LyXAction.C: removed all !NEW_INSETS cruft
16322 (init): moved lfun_item in method
16324 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16326 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16328 * BufferView2.C (theLockingInset): white space.
16330 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16332 * minibuffer.C: include <iostream>
16334 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16336 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16338 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16340 * text.[Ch] (TransposeChars): new method
16342 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16344 * call message directly through LyXView instead of through LyXFunc
16345 * BufferView2.C: adjust
16346 * BufferView_pimpl.C: adjust
16347 * FontLoader.C: adjust
16349 * bufferview_funcs.C: adjust
16350 * converter.C: adjust
16351 * figureForm.C: adjust
16352 * importer.C: adjust
16354 * lyx_gui_misc.C: adjust
16355 * lyxfunc.C: adjust
16358 + more files in subdirs
16360 * lyxparagraph.h (size): move up int file
16363 * adjust all uses of Assert to lyx::Assert.
16365 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16366 lyxfunctional in namespace lyx
16367 * layout.C (hasLayout): ditto
16370 (delete_layout): ditto
16371 (NumberOfClass): ditto
16372 * converter.C (GetFormat): ditto
16377 * bufferlist.C (getFileNames): ditto
16378 (emergencyWriteAll): ditto
16381 * MenuBackend.C (hasSubmenu): ditto
16384 * BufferView_pimpl.C (getInsetByCode): ditto
16386 2001-04-18 Juergen Vigna <jug@sad.it>
16388 * vspace.C (asLatexString): fixed the 100% problem.
16390 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * lyxfunc.C (Dispatch):
16394 * minibuffer.h: add a few std:: qualifiers
16396 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * minibuffer.[Ch]: reimplement so that commands is initiated and
16399 run from lyxfunc, simplified som handling, and made the completion
16400 and history code for complete. wip.
16402 * lyxfunc.C (processKeySym): call message
16403 (miniDispatch): new temporary method
16404 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16405 (LFUN_MESSAGE): implement
16406 (LFUN_MESSAGE_PUSH): implement
16407 (LFUN_MESSAGE_POP): implement
16408 (initMiniBuffer): the initial/defualt minibuffer message.
16410 * lyxfont.[Ch]: inline some more getters
16412 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16414 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16416 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16417 (AutoSave): use LFUN_MESSAGE
16418 (Reconfigure): ditto
16420 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16422 * figureForm.C: use LFUN_MESSAGE
16424 * converter.C (runLaTeX): use LFUN_MESSAGE
16426 * bufferview_funcs.C: use LFUN_MESSAGE
16428 (changeDepth): ditto
16430 * bufferparams.h: use boost::
16432 * bufferlist.h: inherit privately from noncopyable
16434 * bufferlist.C (loadLyXFile): remove some commented code.
16436 * buffer.C (runChktex): use LFUN_MESSAGE
16438 * ShareContainer.h: inherit privately from noncopyable
16440 * ParagraphParameters.[hC] (depth): inline it.
16442 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16444 (message): new method
16445 (messagePush): ditto
16446 (messagePop): ditto
16447 (show): init minibuffer
16448 (showState): direct call
16450 * LaTeX.[Ch]: inherit privately from noncopyable
16451 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16452 instead of WriteStatus.
16454 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16456 * BufferView_pimpl.C (buffer): don't init minibuffer
16457 (workAreaButtonPress): use LFUN_MESSAGE
16458 (workAreaButtonRelease): ditto
16459 (savePosition): ditto
16460 (restorePosition): ditto
16461 (MenuInsertLyXFile): ditto
16462 (workAreaExpose): don't init minibuffer
16463 (update): remove commented code, simplify
16465 * BufferView2.C (openStuff): use LFUN_MESSAGE
16466 (toggleFloat): ditto
16469 (copyEnvironment): ditto
16470 (pasteEnvironment): ditto
16475 (updateInset): remove some commented code
16477 * lastfiles.h: inherit privately from noncopyable
16480 * lyx_main.h: ditto
16482 * lyxlex_pimpl.h: ditto
16484 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16485 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16486 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16488 * LyXAction.h: inherit privately from noncopyable, add methods
16489 func_begin, func_end, returning iterators to the func map.
16491 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16492 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16493 (func_begin): new method
16494 (func_end): new method
16496 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16498 (copySelection): ditto
16499 (pasteSelection): ditto
16501 * BufferView.C: whitespace change
16502 * BufferView.h: inherit privately from noncopyable
16504 2001-04-16 Allan Rae <rae@lyx.org>
16506 * tabular-old.C (l_getline):
16507 * spellchecker.C (sc_check_word):
16508 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16509 an unrecognised preprocessor directive. So ensure they're wrapped.
16511 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16513 * src/exporter.C (Export): Give an error message when path to file
16516 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16518 * LaTeX.C (deplog): Always check that foundfile exists.
16520 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16523 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16525 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16527 * tabular.[Ch] (getLabelList): implement new method
16529 * minibuffer.h: comment ouf setTiimer
16531 * minibuffer.C (ExecutingCB): constify res
16532 (peek_event): constify s
16533 (Set): constify ntext
16534 (Init): constify nicename
16536 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16538 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16539 (savePosition): use two params to Minibuffer::Set
16540 (restorePosition): ditto
16542 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16544 * lyx_main.C: include language.h
16546 * Makefile.am (lyx_main.o): add language.h
16548 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16554 * CutAndPaste.C: include gettext.h
16556 * lyxfont.h: remove old hack with ON and OFF.
16559 * lyxfont.h: do not include language.h...
16564 * bufferview_funcs.C:
16570 * paragraph.C: ... but do it here instead
16572 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16574 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16576 * tabular.C: small reformat
16578 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16581 (BreakParagraph): ditto
16582 (SetOnlyLayout): ditto
16585 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16588 * lastfiles.C: removed most using decl, add std:: where needed
16590 * buffer.C: ws changes
16592 * MenuBackend.C (class compare_format): put into anon namespace
16593 (expand): constify label, names, action, action2
16596 * text.C (SingleWidth): constify font
16597 (IsBoundary): constify rtl2
16598 (GetVisibleRow): constify ww
16600 * LaTeX.C (deplog): constify logfile
16602 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16604 (workAreaExpose): constify widthChange, heightChange
16606 * lyxrow.C (par): moved
16609 * lyxrow.h: as inlines here
16611 * lyxfont.h (shape): moved from lyxfont.C
16612 (emph): moved from lyxfont.C
16614 * lyxfont.C (LyXFont): use initialization list for all
16616 (shape): move to lyxfont.h as inline
16617 (emph): move to lyxfont.h as inline
16620 2001-04-04 Juergen Vigna <jug@sad.it>
16622 * vspace.C: had to include stdio.h for use of sscanf
16624 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16627 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16628 independent of xforms.
16630 2001-04-02 Juergen Vigna <jug@sad.it>
16632 * spellchecker.C: fixed namespace placing!
16634 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16636 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16637 the LyXParagraph * is 0.
16639 2001-03-29 Juergen Vigna <jug@sad.it>
16641 * vspace.C: added support for %, c%, p%, l%.
16642 (stringFromUnit): added helper function.
16643 (asLatexString): changed to give right results for the %-values.
16645 * buffer.C: convert the widthp in a width%.
16647 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16649 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16652 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16653 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16655 * lyx_cb.[Ch]: see above.
16657 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16661 * lyx.[Ch]: replaced by figure_form.[Ch].
16665 * lyxfunc.C: changed headers associated with above changes.
16667 2001-03-27 Juergen Vigna <jug@sad.it>
16669 * BufferView_pimpl.C: set the temporary cursor right!
16671 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16673 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16675 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16677 * LString.h: removed "using std::getline"!
16679 * BufferView_pimpl.C (Dispatch): changes due to changes in
16680 InsetInclude::Params.
16682 * buffer.C (tag_name): removed redundant break statements as they were
16683 producing lots of warnings with my compiler.
16685 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16687 * LString.h: add "using std::getline" when using the real <string>.
16689 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16691 * buffer.C: removed bitset usage.
16692 PAR_TAG moved to an anonymous name space.
16693 (tag_name): new funtion, also in the anonymous namespace.
16694 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16695 (makeDocBookFile): clean code. Completed transition from string arrays
16697 (SimpleDocBookOnePar): code clean.
16699 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16701 * tabular.C: add some comments.
16703 2001-03-22 Juergen Vigna <jug@sad.it>
16705 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16706 compatibility read a bit and fixed bug with minipage in different
16709 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16711 * buffer.C (pop_tag): removed.
16712 (push_tag): removed.
16713 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16714 array replaced with vector. Added support for CDATA sections.
16715 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16717 (makeDocBookFile): XML conformant declaration of CDATA section,
16718 fixed bug related to <emphasis> in the first paragraph char.
16719 (sgmlOpenTag): exclude empty tags.
16720 (sgmlCloseTag): ditto.
16722 * buffer.h (pop_tag): removed.
16723 (push_tag): removed.
16725 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16727 * language.h (Languages): added size_type and size().
16729 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16731 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16732 response on compability reading of minipages. One probliem is that
16733 the old usage of minipages was «flertydig»
16735 * several files here and in subdirs: don't use static at file
16736 scope use anon namespaces instead.
16738 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16740 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16741 LaTeX output. This is necessary for Literate document
16744 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16746 * buffer.C: insert hfill when needed.
16748 * tabular.C (l_getline): use string::erase, small whitespace change.
16750 * BufferView_pimpl.C: try the anon namespace.
16751 * WorkArea.C: ditto
16753 2001-03-16 Juergen Vigna <jug@sad.it>
16755 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16756 otherwise it won't open options-dialogs.
16758 * buffer.C: honor pextraWidth(p) on converting minipages.
16760 * tabular.C (l_getline): changed the functions to strip trailing \r.
16762 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16764 * BufferView_pimpl.C:
16765 * minibuffer..C: added "using SigC::slot" declaration.
16767 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16769 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16775 * paragraph.C: ditto
16777 * lyxtext.h: NO_PEXTRA
16779 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16781 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16782 * ParameterStruct.h: ditto
16783 * ParagraphParameters.h: ditto
16784 * lyxparagraph.h: ditto
16786 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16788 * buffer.C: add compability for minipage alignment.
16789 (latexParagraphs): remove unwanted pextra check.
16791 * several files: remove CXX_WORKING_NAMESPACES
16793 * buffer.C (pop_tag): tie is in namespace boost
16795 * BufferView.h: noncopyable is in namespace boost
16797 * lyx_main.h: ditto
16800 * lastfiles.h: ditto
16801 * bufferlist.h: ditto
16802 * ShareContainer.h: ditto
16804 * LyXAction.h: ditto
16807 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16809 * Merging changes from BRANCH_MVC back into HEAD.
16811 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16813 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16815 * BufferView_pimpl.C: change from intl.C
16819 * Makefile.am: move combox.*
16825 * intl.C: remove dialog (covered by prefs)
16827 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16829 * lyxfunc.C (Dispatch): removed redundant break statement.
16831 2001-03-14 Juergen Vigna <jug@sad.it>
16833 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16835 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16837 * buffer.C: add hack to fix compability reading of minipages.
16839 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16841 * buffer.C (getLists): Cleanup.
16843 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16845 * lyxfont.C (update): don't honor toggleall on font size.
16847 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16851 * Makefile.am: moved to frontends/xforms/
16855 * BufferView_pimpl.C: changes for moved mathpanel
16857 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16859 * gettext.h: fix gettext_init() in --disable-nls
16861 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16863 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16865 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16868 * lyx.h: strip external form
16870 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16872 * BufferView_pimpl.C: add comment, destroySplash()
16874 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16876 * BufferView_pimpl.C:
16880 * lyxfunc.C: use re-worked insetinclude
16882 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16884 * buffer.C: add using std::stringstream.
16886 * lyx_cb.C: readd using std::ios.
16888 * buffer.C: add using std::map.
16890 * BufferView_pimpl.C: add using std::vector.
16892 * ShareContainer.h: add std:: to swap.
16894 * buffer.h: add some typedefs
16895 * buffer.C (getLists): use them
16896 (getLists): renamed from getTocList.
16897 add a counter for the different float types and use it in the
16899 (getLists): use the same counter for the NEW_INSETS and the "non"
16902 * lyx_cb.h: remove unused items, includes, using etc.
16904 * ShareContainer.h: remove some commented code, add more comments
16905 and "documentation".
16907 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16909 * buffer.C (getTocList): make the list also when NEW_INSETS is
16912 * buffer.h: remove TocType
16914 * buffer.C (getTocList): change to return a map<string,
16915 vector<TocItem> >, implement for dynamic number of list.
16917 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16918 * text2.C (PasteSelection): adjust
16919 * CutAndPaste.C (pasteSelection): adjust
16921 * FloatList.C (FloatList): update from the new_insets branch.
16922 * Floating.[Ch]: ditto
16923 * LaTeXFeatures.C: ditto
16925 * lyxlex_pimpl.C: ditto
16927 * paragraph.C (Last): remove when NEW_INSETS is defined.
16929 * other file: changes because of the above.
16931 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16933 * lyxparagraph.h: rename next to next_, previous to previous_,
16934 make them private for NEW_INSETS. Rename Next() to next(),
16935 Previous() to previous().
16937 * other files: changes because of the above.
16939 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16942 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16945 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16947 * main.C (main): pass lyx_localedir to gettext_init().
16949 * gettext.h: remove locale_init and gettext_init macros
16951 * gettext.C (locale_init): new function
16952 (gettext_init): new function
16954 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16957 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16959 * Moved credits to frontends:
16960 * credits.[Ch]: removed
16961 * credits_form.[Ch]: removed
16962 * lyx_gui_misc.C: remove credits stuff
16965 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16967 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16969 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16970 unneeded destructor.
16972 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16973 a standalone pointer again.
16975 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16977 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16983 * ToolbarDefaults.C:
16992 * BufferView_pimpl.C: use new file dialog in GUII
16995 * lyx_cb.C: remove LayoutsCB to Toolbar
16997 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16999 * ShareContainer.h (get): add std:: qualifier
17001 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17003 * ShareContainer.h: define a proper ShareContainer::value_type
17004 type (and use typename to please compaq cxx)
17006 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17008 * lyxparagraph.h: move serveral local vars to
17009 ParameterStruct/ParagraphParameters., use ShareContainer in
17010 FontTable., make vars in FontTable private and add getter and
17013 * paragraph.C: changes because of the above.
17015 * lyxfont.h: remove copy constructor and copy assignment. (the
17016 default ones is ok), move number inside FontBits. move inlines to
17019 * lyxfont.C: add number to initializaton of statics, move several
17020 inlines here. constify several local vars. some whitespace
17021 cleanup. Dont hide outerscope variables.
17023 * Spacing.h: add two new constructors to match the set methods.
17025 * ShareContainer.h: new file, will perhaps be moved to support
17027 * ParameterStruct.h: new file
17029 * ParagraphParameters.h: new file
17031 * ParagraphParameters.C: new file
17033 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17034 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17036 * BufferView_pimpl.C: ParagraphParameter changes.
17037 * buffer.C: Likewise.
17038 * bufferview_funcs.C: Likewise.
17039 * text.C: Likewise.
17040 * text2.C: Likewise.
17042 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17044 * lyxfind.C (LyXReplace): do not redefine default argument in
17046 (IsStringInText): ditto
17047 (SearchForward): ditto
17048 (SearchBackward): ditto
17050 2001-03-06 Juergen Vigna <jug@sad.it>
17052 * lyxfind.C (IsStringInText): put parentes around expressions.
17054 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17056 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17058 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17060 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17062 * stl_string_fwd.h: add comment
17064 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17067 * tabular.C: remove unused DocBook methods
17073 killed DO_USE_DEFAULT_LANGUAGE
17075 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17077 * lyx_gui.C: do not include language.h.
17079 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17080 arguments in function implementation.
17082 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17084 * BufferView_pimpl.C: add <ctime>
17086 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17088 * BufferView_pimpl.C: add using std::find_if
17090 2001-02-27 José Matos <jamatos@fep.up.pt>
17092 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17095 2001-02-11 José Matos <jamatos@fep.up.pt>
17097 * buffer.C (makeDocBookFile): command styles now have a parameter as
17098 "title" by default.
17100 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17102 * layout_forms.[Ch]: removed
17103 * lyx_cb.[Ch]: out character
17104 * lyx_gui.C: out character
17105 * lyx_gui_misc.C: out character
17106 * bufferview_funcs.C: : out character,
17107 added toggleall as parameter in ToggleAndShow
17109 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17111 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17113 * text2.C (SetCurrentFont): Disable number property at boundary.
17115 2001-02-26 Juergen Vigna <jug@sad.it>
17117 * lyxfunc.C (getStatus): added a string argument override function so
17118 that this is correctly called from LyXFunc::Dispatch if it contains a
17119 do_not_use_argument which is used!
17120 (Dispatch): added check for "custom" export and call appropriate func.
17122 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17124 * lyxrc.C: Add language_command_local, language_use_babel and
17125 language_global_options.
17127 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17129 * buffer.C (makeLaTeXFile): Use language_use_babel and
17130 language_global_options.
17132 2001-02-23 Juergen Vigna <jug@sad.it>
17134 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17135 which works with LyXText and putted it inside BufferView. Here now we
17136 only call for that part the BufferView::Dispatch() function.
17138 * BufferView.C (Dispatch): added.
17140 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17141 functions which needs to use a LyXText over from LyXFunc.
17142 (MenuInsertLyXFile): added
17143 (getInsetByCode): added
17144 (moveCursorUpdate): added
17145 (static TEXT): added
17147 2001-02-22 Juergen Vigna <jug@sad.it>
17149 * BufferView_pimpl.C (update): call a status update to see if LyXText
17152 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17154 * vc-backend.C (revert): implement for CVS
17155 (getLog): implement for CVS
17157 2001-02-20 Juergen Vigna <jug@sad.it>
17159 * text2.C (ClearSelection): added BufferView param for inset_owner call
17161 * lyxfunc.C (TEXT): added this function and use it instead of
17162 directly owner->view()-text of getLyXText().
17164 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17166 * src/layout_forms.C: out preamble
17167 * src/layout_forms.h: out preamble
17168 * src/lyx_cb.C: out preamble
17169 * src/lyx_cb.h: out preamble
17170 * src/lyx_gui.C: out preamble
17171 * src/lyx_gui_misc.C: out preamble
17172 * src/lyxfunc.C: connect with guii preamble
17174 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17176 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17178 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17180 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17181 whether to run bibtex.
17183 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17185 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17187 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17189 * Makefile.am (lyx_SOURCES): removed bibforms.h
17191 * vspace.h: doxygen
17193 * text.C (GetVisibleRow): make several local vars const
17195 * tabular.C: small cleanup.
17197 * lyxserver.C (callback): use compare instead of strncmp
17199 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17200 inlines to after class or to paragraph.C
17202 * lyxfont.h: remove friend operator!=
17204 * converter.h: move friend bool operator< to non friend and after
17207 * combox.h: small cleanup
17209 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17210 to inlines after class def.
17212 * buffer.C (pop_tag): use string operations instead of strcmp
17214 * bmtable.c: doxygen, small cleanup
17216 * LaTeX.h: remove friend operator==
17218 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17230 * BufferView_pimpl.C:
17231 * BufferView.[Ch]: remove cruft
17233 2001-02-14 Juergen Vigna <jug@sad.it>
17235 * lyxfunc.C: removed #if 0 unused code
17237 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17239 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17241 * text2.C (SetSelection): added a BufferView * parameter
17243 2001-02-13 Juergen Vigna <jug@sad.it>
17245 * lyxfunc.C (Dispatch): fixed protected blank problem.
17246 * BufferView2.C (protectedBlank): added LyxText * parameter.
17248 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17249 (AppendColumn): same as above for column_info.
17251 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17252 (moveCursorUpdate): use a LyXText param for support of InsetText.
17254 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17255 (tripleClick): ditto
17257 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17259 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17261 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17263 * text2.C (SetSelection): set correct update status if inset_owner
17264 (ToggleFree): ditto
17266 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17268 * tabular.C: remove some commented code.
17270 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17272 * BufferView_pimpl.C: call hideSplash()
17274 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17277 * bibforms.h: remove
17280 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17281 add LFUN_CHILD_CREATE
17283 * counters.h: fix tiny typo
17288 * lyx.C: move splash to frontends/xforms/
17290 * lyx_gui_misc.C: move Include and Bibform to frontends
17292 * lyxvc.h: clarify comment
17294 * vspace.C: tiny housekeeping
17296 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17298 * text.C (PrepareToPrint): RTL Fix.
17300 * paragraph.C (GetUChar): New method.
17301 (String): Use GetUChar.
17303 * buffer.C (asciiParagraph): Use GetUChar.
17305 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17307 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17309 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17312 * buffer.C: rename to getLogName(), handle
17313 build log / latex log nicely
17315 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17318 * MenuBackend.h: remove support for reference menuitem type.
17320 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17322 * BufferView_pimpl.C: housekeeping
17323 * BufferView_pimpl.h:
17328 * minibuffer.h: move Timeout GUI-I
17330 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17332 * lyxrc.C (read): Update converters data-structures.
17334 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17336 * LaTeX.h (operator!=): add operator != for Aux_Info
17338 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17340 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17342 * LaTeXLog.C: deleted, useful code moved to Buffer
17345 * buffer.C: new function getLatexLogName()
17351 * lyxfunc.C: use frontends for LaTeX and VC logs
17353 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17355 * LaTeX.h: yet another std:: that Allan forgot.
17357 * Variables.C (set): renamed from isset(), because this clashes
17358 with some HP-UX macros (grr).
17360 2001-02-06 Allan Rae <rae@lyx.org>
17362 * LaTeX.h: Another bug fix. Missing std:: this time.
17364 2001-02-04 Allan Rae <rae@lyx.org>
17366 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17367 floats problem. I've left it commented out because it's not quite
17368 correct. It should also test that the current object is a table or
17369 figure inset. But I haven't gotten around to figuring out how to do
17370 that. I *think* it'll be something like: "table" == inset.type()
17372 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17375 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17377 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17378 all the citation/databases/styles in the auxilary file.
17379 (run): Rerun latex if there was a babel language error.
17381 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17383 * text.C (Backspace): Preserve the font when changing newline char
17385 (BreakParagraph): If the cursor is before a space, delete the space.
17387 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17389 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17391 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17392 new argument (code).
17393 (ChangeCitationsIfUnique): New method.
17395 * paragraph.C (GetPositionOfInset): Handle bibkey.
17397 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17399 * BufferView_pimpl.h: change type of Position::par_pos to
17400 LyXParagraph::size_type.
17402 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17404 * BufferView_pimpl.C (savePosition, restorePosition): Write
17405 messages to minibuffer.
17407 2001-01-28 José Matos <jamatos@fep.up.pt>
17409 * buffer.C (makeDocBookFile): adds support for document language.
17410 A silly restriction on the name of LatexCommand types where removed.
17411 Added support for CDATA sections, allows to chars unescaped, used
17412 among others in code, to avoid escape < and >.
17414 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17416 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17417 saved positions instrad of a stack. Furthermore, a position is
17418 stored using paragraph id/paragraph position.
17420 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17421 Remove LFUN_REF_BACK.
17423 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17425 * converter.C (dvipdfm_options): New method.
17427 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17429 * vspace.C (isValidLength): Fix for empty input string.
17431 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17433 * LyXAction.C (init): change description of LFUN_FIGURE to
17436 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17438 * LaTeX.C: add using directive
17440 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17442 * MenuBackend.C (expand): Fix the sorting of the formats.
17444 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17446 * lyx_main.C: tiny error message fix
17448 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17450 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17451 calling fl_initialize(). This fixes the problem with ',' as
17452 decimal separator in text files.
17454 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17456 * trans.C (process): Fix the keymap bug.
17458 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17460 * LaTeX.C (scanAuxFiles): New method. Provides support for
17461 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17462 (scanLogFile) Scan for "run BibTeX" messages.
17464 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17465 OT1 font encoding. Also, load the aecompl package if the ae
17468 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17470 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17472 * texrow.C (increasePos): turn two error messages into debug
17475 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17477 * LaTeX.C (scanAux): Handle the \@input macro.
17478 (runBibTeX): Use scanAux().
17480 * language.C (latex_options_): New field.
17482 * LaTeXFeatures.C (getMacros): Add language macros.
17484 * buffer.C (makeLaTeXFile): Small fix.
17486 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17488 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17490 * text2.C: add a using directive.
17492 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17497 * lyxfunc.C: kill LyXBell.
17499 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17501 * text.C (IsBoundary): Remove the error message
17503 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17505 * lyxrc.C (setDefaults): Correct initialization value for
17508 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17510 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17513 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17514 and GotoNextNote().
17516 * src/LyXAction.C: Added reference-next.
17518 * text.C (InsertChar): Use contains instead of strchr.
17520 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17522 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17524 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17525 alignment commands (when needed).
17527 * text.C (InsertChar): Add ':' to number separator chars.