1 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
5 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
7 2005-05-07 André Pönitz <poenitz@gmx.net>
9 * cursor.[Ch] (leaveInset): new function
11 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
15 2005-05-04 Angus Leeming <leeming@lyx.org>
17 * lyxfunc.C (getStatus): disable the spell checker dialog if
18 none of USE_[AIP]SPELL are defined.
20 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
22 * tabular.C (setWidthOfCell): remove obsolete comment
24 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
26 * paragraph.C (bibitem):
27 * buffer_funcs.C (setCounter):
28 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
30 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
32 * text3.C (getStatus): immediately return after setOnOff
34 * rowpainter.C: fix drawing of appendix start
36 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
39 SwitchBetweenClasses and remove the unused return value.
40 Handle character styles, too
42 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
44 * factory.C (createInset): handle undefined character styles
46 2005-05-02 Angus Leeming <leeming@lyx.org>
48 * buffer.C: protect the #include of utime.h with a preprocessor
51 2005-05-02 Angus Leeming <leeming@lyx.org>
53 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
54 function so that suto-saving works, albeit in a blocking manner.
56 * Makefile.am: make compilation of the client sub directory, of
57 apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
58 on conditionals set at configure time.
60 * SpellBase.[Ch]: no longer an abstract base class. Instead,
61 it can be compiled in its own right but has no-op functionality.
63 * aspell.C, pspell.C: remove preprocessor guards. The files should
64 be compiled only if the necessary functionality exists.
66 * lyxserver.C, lyxsocket.C: disable on Windows.
68 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
70 * text.C (leftMargin): Fix the parindent use bug (1764)
73 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
75 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
78 2005-04-25 Angus Leeming <leeming@lyx.org>
86 include <config.h> in .C files, not .h ones.
88 protect headers inside preprocessor guards.
90 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
92 * FuncStatus.h (StatusCodes): document
94 2005-04-21 André Pönitz <poenitz@gmx.net>
96 * FuncStatus.h (enabled, onoff): document
98 2005-04-19 Angus Leeming <leeming@lyx.org>
100 * BufferView_pimpl.C (cursorToggle): no longer test whether
101 any child processes have been reaped before calling
102 handleCompletedProcesses().
104 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
106 * text3.C (dispatch): fix, finally fix, the language problem in
107 new lyxtexts, without disabling on-the-fly font changes (Helge's
110 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
112 * text3.C (dispatch): set cursor on double/triple click events
115 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
118 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
120 * rowpainter.C (paintFirst): simplify the code a little bit. In
121 particular, remove the test for secnumdepth.
122 * text.C (setHeightOfRow): only allocate space for chapter number
123 when updateCounters provided an actual label, instead of looking
124 at secnumdepth directly.
126 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
128 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
129 paragraphs when secnumdepth is large enough or, for environments,
130 when they are not the first in a sequence.
132 2005-04-17 Angus Leeming <leeming@lyx.org>
134 * buffer.C (makeLaTeXFile): replace code to manipulate a path
135 containing space and '~' characters with a call to latex_path().
137 2005-04-17 Angus Leeming <leeming@lyx.org>
139 * converter.C (convert): protect all args of convertDefault.sh
142 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * text3.C (dispatch): change the layout to "Caption" after inserting
147 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
149 * text3.C (dispatch): fix language problem in newly created
150 textinsets (and main text) in non-english docs
152 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
154 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
155 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
156 * text3.C (getStatus): disable LFUN_INSET_MODIFY
158 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
163 * rowpainter.C (getFont): Fix metrics bug introduced by inset
166 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
168 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
169 output of \item arguments without trailing text.
171 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * FontIterator.C (operator*): avoid a copy of the font.
175 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
177 * rowpainter.C (getFont): fix language bug from previous fix
179 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
181 * rowpainter.C (RowPainter, getFont): fix font inside inset
184 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
186 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
187 preventing inserted font, deco, delim insets jumping to start of
190 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * lyxfunc.C (dispatch): translate message before sending it to the
195 2005-03-29 Angus Leeming <leeming@lyx.org>
197 * lyx_main.C (priv_exec): call os::internal_path on each file passed
198 to LyX on the command line.
200 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
202 * vc-backend.C: use QuoteName to protect file names wherever
205 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
208 * BranchList.h: fix bugs 1844,1845: document settings don't
211 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * lyxrc.C (setDefaults, read, output, getDescription): add support
214 for tex_allows_spaces.
216 * exporter.C (Export): allows files in directory containing spaces
217 if tex_allows_spaces is true.
219 * buffer.C (makeLaTeXFile): if the document path contains spaces,
220 output it in double quotes.
222 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * rowpainter.C: use default text height for drawing change tracker
227 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
229 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
231 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
234 directory is missing.
236 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
238 * text2.C: fixed the fix, extended to other case.
240 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
242 * text2.C: fix for cursor up/down stuck in math [bug 1792]
244 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
246 * text2.C (cursorUp): get rid of a crash
247 * text.C (x2pos): add an assert
249 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * lyxfunc.C (getStatus): fix warning when assertions are disabled
255 * dociterator.C: include <boost/current_function.hpp>, which is
256 needed when assertions are disabled.
258 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
260 * text2.C: fix for stuck cursor when traversing two
261 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
263 2005-02-25 Andreas Vox <avox@arcor.de>
265 * output_docbook.C (makeParagraph): suppress trailing newline
266 after a run of paragraphs
268 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
270 * paragraph.C: fix for confused change tracker when pasting
271 text that begins with a lineseparator. [bug 1827]
272 (setChange(0, Change::INSERTED);)
274 * paragraph_funcs.C: fix for lost changes on triple-paste
275 in change tracking mode [bug 1827] (par.setChange()).
277 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * text2.C (updateCounters, setCounter, expandLabel): move to
282 * buffer_funcs.C (updateCounters): turn into a free standing
283 function and add a buffer parameter. Remove dead code for tracking
285 (setCounter): change into a free-standing function which gets a
286 dociterator as argument. Use this iterator to fix captions in a
287 simple way. When no float is found above the caption, use the
288 labelstring of the caption layout as default.
290 * text.C (breakParagraph, backspace):
291 * text2.C (init, setLayout, changeDepth):
292 * text3.C (dispatch):
293 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
296 * dociterator.C (forwardPar): make it much faster by calling
297 forwardPos() only when really necessary.
299 * output_docbook.C (makeCommand): adapt to expandLabel move.
301 * cursor.C: remove unused variable
303 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
305 * paragraph_funcs.C: fix crash when pasting insets in change
306 tracking mode [bug 1277] (honour change type in moveItem).
308 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
312 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * BufferView.C (setCursor): change to use a DocIterator.
315 (gotoLabel): use BufferView::setCursor (other part of bug 781).
316 (putSelectionAt): adapt to BufferView::setCursor change.
318 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
319 moved here from LyXText and rewritten to use proper cursor
320 methods. Fixes bug 1787, 616 and 835.
322 * BufferView_pimpl.C (restorePosition): set the cursor correctly
323 when inside an inset (part of bug 781).
324 (dispatch): adapt to change of BufferView::setCursor.
325 (getStatus, dispatch): handle LFUN_GOTOERROR,
326 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
328 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
329 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
330 * text3.C (gotoNextInset, gotoInset): removed.
332 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
336 2005-02-15 Angus Leeming <leeming@lyx.org>
338 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
339 can be used meaningfully in a comparison.
341 2005-02-13 André Pönitz <poenitz@gmx.net>
343 * bufferview_funcs.C (coordOffset): improve cursor drawing
345 2005-02-13 André Pönitz <poenitz@gmx.net>
347 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
348 * Cursor.C (dispatch): use fixIfBroken
349 * lyxfunc.C (getStatus): use fixIfBroken
351 2005-02-15 Angus Leeming <leeming@lyx.org>
353 * lyx_main.C (error_handler):
355 * lyxrc.C (setDefaults):
357 #include "environment.h".
359 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
361 2005-02-15 Angus Leeming <leeming@lyx.org>
363 * lyxserver.C (startPipe): squash MSVC warning "local variable
364 'fd' used without having been initialized".
366 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
368 * BufferView_pimpl.C: revert accidental commit.
370 2005-02-14 André Pönitz <poenitz@gmx.net>
372 * dociterator.[Ch]: new member forwardPosNoDescent(),
373 which doesn't enter nested insets.
374 * text2.C (setFont): use forwardPosNoDescent() instead
375 of ForwardPos() (fixes crash on font change).
377 2005-02-13 Angus Leeming <leeming@lyx.org>
379 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
380 only if lyxrc.path_prefix is not empty.
382 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
384 * bufferparams.C (readGraphicsDriver): prevent crash
386 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * text2.C (setCounter): check for inInset() == 0
390 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
393 but use update() to get correct screen display; use convert
394 instead of istringstream.
395 (getStatus): handle LFUN_GOTO_PARAGRAPH
397 * lyxfunc.C (dispatch, getStatus): do not handle
398 LFUN_GOTO_PARAGRAPH here.
400 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
402 * text3.C (dispatch): size() -> depth()
404 * text2.C: remove some debug output
406 * paragraph.C: ws changes only
408 * lyxfunc.C (getStatus): size() -> depth()
410 * dociterator.h (clear, push_back, pop_back, internalData,
411 operator[], resize, empty): new functions
412 Make StableDocIterator and operator== be friends. Don't inherit
413 from std::vector use a privat class variable slices_ instead.
416 * dociterator.C: update because of not inheriting from std::vector
417 anymore. Call explictly to slices_ instead. Use depth() instead of
418 size() and top() instead of back()
420 * cursor.C: chagne size() -> depth and back() -> top(). Also
421 remove some direct operator[](i) calls in favour of foo[i]
422 (getFont): remove some dead code
424 * bufferview_funcs.C (coordOffset): size() -> depth()
426 * buffer.C: ws changes only
428 * CutAndPaste.C (eraseSelection): back() -> top()
430 * BufferView_pimpl.C (selectionRequested): back() -> top()
432 * BufferView.C (setCursor): size() -> depth()
434 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
436 * text3.C (cursorPrevious): return true if depm changed something
438 (dispatch): rename sl to oldTopSlice, remove moving use the new
439 NoUpdate func attrib instead. Make sure that needsUpdate is set
440 for function that have NoUpdate, but where depm might have changed
443 * text2.C (cursorLeft): make us return true if depm changed
446 (cursorUpParagraph): ditto
447 (curosrDownParagraph): ditto
448 (cursorUp, cursorDown): ditto, make sure to read comments in code
449 (deleteEmptyParagraphMechanism): remove an assert, also return
450 true if just a single char was deleted.
452 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
453 cursor that we modify, to avoid modifying an active cursor before
454 we call setCursor. This allows depm to run. Also return true if
455 depm deleted something.
457 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
458 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
459 cursorDownParagraph, cursorPrevious and cursorNext, return true if
460 something was changed in the buffer because of them (ie. depm run)
462 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
463 debug messages. Make update by default be false. Make sure that
464 the result of update is retained throught several calls down to
467 * LyXAction.h: add a new func_attrib: NoUpdate
469 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
470 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
471 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
473 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
475 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
478 bv_->owner(), bv_->buffer() by direct references to the private
480 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
481 (getStatus): isSavedPosition() is in BufferView::Pimpl.
482 (fitCursor): center() is in BufferView::Pimpl.
483 (getStatus, trackChanges, dispatch): no need for a temporary buf
485 (fitCursor, workAreaDispatch): use workarea().workheight()
487 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
489 * CutAndPaste.C (pasteSelectionHelper): fix a crash
491 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
493 * buffer.C: format up to 241.
494 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
495 break if pasting into ERT
496 * lyxfunc.C (getStatus): suppress mathpanel and
497 LFUN_DIALOG_SHOW_NEW_INSET in ERT
499 2005-02-01 Angus Leeming <leeming@lyx.org>
501 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
503 2005-02-01 Angus Leeming <leeming@lyx.org>
505 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
506 calling fs::is_directory().
508 2005-01-31 Angus Leeming <leeming@lyx.org>
510 * lyx_main.C (priv_exec): specify explicitly the relative location
511 of the top level build directory when run in-place.
513 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
516 LyXText containing the cursor, not the top-level one.
518 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
520 (insertStringAsLines): rename par to pit; use temporary variable
521 par to hold a Paragraph; do not store par.layout() in a variable,
522 since the pointer may die when breaking paragraphs; pass pars to
523 breakParagraph() instead of Buffer::paragraphs().
525 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
527 * lyxlex_pimpl.h: #include <fstream>.
529 * BufferView.[Ch] (getLyXText): add a const version.
531 * BufferView_pimpl.C: add debug aids.
536 * paragraph_funcs.h: add commentary explaining what the class does.
539 * coordcache.[Ch]: add lots of commentary.
540 (startUpdating, doneUpdating): debug aids.
541 (arrays, insets, parPos, getParPos): accessors to private data.
543 * cursor_slice.[Ch] (text): add a const version.
544 * dociterator.[Ch] (text, innerText): add const versions.
546 * lyxtext.h (breakParagraph): change the keep_layout arg to a
549 * paragraph.C (getRow, pos2ros): add asserts.
551 * paragraph.h: add commentary. Lots of.
553 * paragraph.[Ch] (metrucs, draw): removed.
556 * rowpainter.[Ch]: const-correct changes.
558 * text.C: various obvious clean-ups. Removal of ancient cruft.
561 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
563 * vc-backend.C (find_file): rewrite to use boost.filesystem
566 * main.C (main): set default name check for boost.filesystem to
569 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
572 (actOnUpdatedPrefs): ditto
574 * lyx_main.C (init): rewrite to use boost.filesystem
575 (queryUserLyXDir): ditto
577 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
578 (getContentsOfAsciiFile): ditto
580 * lastfiles.C (readFile): rewrite to use boost.filesystem
582 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
584 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
587 * buffer.C (Buffer): adjust for destroydir
588 (getLogName): rewrite to use boost.filesystem
590 (save): use fs::copy_file (from fs_extras)
592 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
594 * LaTeX.C (run): rewrite to use boost.filesystem
595 (scanAuxFiles): ditto
596 (handleFoundFile): ditto
598 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
600 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
602 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
604 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
606 * lyxlayout.[Ch]: change some vars from float to double
608 * buffer.C (readFile): make a local var const
610 * Several files: use convert<> instead of atoi,strToXXX and friends
612 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
614 * LaTeXFeatures.[Ch]: Add a static list packages_ that
615 holds the contents of packages.lst. New functions getAvailable
616 and isAvailable to parse and check that list, resp.
620 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
622 * bufferparams.[Ch]: new param output_changes.
624 * Buffer.C: increase file format to 240.
625 Use output_changes and isVailable.
629 * paragraph_pimpl.C: Use output_changes and isVailable.
631 2005-01-23 Angus Leeming <leeming@lyx.org>
633 * output_latex.C: #include "insetbibitem.h", rather than
634 forward declare function bibitemWidest.
636 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
638 * lyx_main.C (init): make it compile on the Mac.
640 2005-01-20 Angus Leeming <leeming@lyx.org>
642 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
643 (setLyXMisc): (char string literal) != (char string literal) is
644 performing a comparison on the addresses. Convert one operand
645 explicitly to string to guarantee expected behaviour.
648 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
651 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
653 * output_plaintext.C: remove unneeded #include gzstream.h.
655 2005-01-20 Angus Leeming <leeming@lyx.org>
657 * SpellBase.h: rename some of the elements of the Result enum.
664 * pspell.C (check): ditto
666 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
668 * buffer.C: add #include <fstream>.
670 * lyx_main.C (init): Compile fix.
672 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
674 2005-01-20 Angus Leeming <leeming@lyx.org>
676 * mover.h: change commentary to reflect the changed meaning of
679 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * output_linuxdoc.C (linuxdocParagraphs): silence warning
683 * lyxfind.C (MatchString::operator()): remove bogus semicolon
685 2005-01-20 Angus Leeming <leeming@lyx.org>
687 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
688 printing diagnostic data by not dereferecing an iterator past the
691 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
693 * buffer.C (readHeader): use "&&" rather than "and".
695 * lyxserver.h (inPipeName, outPipeName): make these const.
697 2005-01-19 Angus Leeming <leeming@lyx.org>
699 * lyx_main.C (error_handler, init): protect SIGHUP with
700 #ifdef SIGHUP guards.
702 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
706 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * text.C (setHeightOfRow): add a margin at the top and bottom of
709 the document (bug 1761)
711 2005-01-17 Angus Leeming <leeming@lyx.org>
713 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
714 with "python ". Workaround for a brain-dead Windows.
716 2005-01-16 Angus Leeming <leeming@lyx.org>
718 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
719 for MacOSX and Windows to use prependEnvPath.
720 Strip out the hard-coded block to add elements to the PATH for
721 MacOSX and replace it with a call to prependEnvPath using the
722 contents of LyXRC::path_prefix.
723 (queryUserLyXDir): strip out the code to run reconfigure, instead
724 returning a boolean indicating the necessity to do so.
725 (reconfigureUserLyXDir): contains the code to reconfigure the
726 user support directory. Is now called after the various LyXRC data
727 files have been read.
729 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
731 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
733 * converter.[Ch] (convert): take a new parameter try_default. Use
734 a default converter (imagemagick) if try_default is true.
736 2005-01-13 Angus Leeming <leeming@lyx.org>
738 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
740 (write): output LyXRC::cygwin_path_fix as necessary.
742 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
745 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
747 2005-01-12 Angus Leeming <leeming@lyx.org>
749 * lyx_main.C (init): set the PATH variable to include the
750 directory containing the LyX binary when running on Mac or Windows.
752 2005-01-12 Angus Leeming <leeming@lyx.org>
754 * lyx_main.C (init): remove cruft that purports to set the locale
755 dir. It doesn't and is not needed anyway.
757 2005-01-10 Angus Leeming <leeming@lyx.org>
759 * Makefile.am: remove the lyx_main.C special casing.
761 * BufferView_pimpl.C:
767 * messages.C: use support/package.h to provide the paths to the
768 various directories used by LyX.
770 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
772 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
773 layout if pasting into an empty paragraph)
775 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
777 * tex-accent.C: add <string>
779 2005-01-06 José Matos <jamatos@lyx.org>
781 * ParagraphParameters.C (write): put every parameter in its own line.
782 * paragraph.C (write): reduce number of consecutive empty lines exported.
783 * buffer.C (LYX_FORMAT): increase file format to 239.
785 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
787 * everywhere: change support/tostr.h -> support/convert.h
789 * tabular.C: make all write_attributes templates, tostr -> convert
791 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
792 (emptyTag): and -> &&, and fix type for ret from getChar
793 (getFirstWord): fix type for ret from getChar
794 (onlyText): and -> &&
795 (simpleDocBookOnePar): and not -> && !, fix type for ret from
798 * toc.C (goTo, action):
799 * text3.C (dispatch):
800 * text.C (currentState):
801 * tex-accent.C (DoAccent):
804 * lyxfunc.C (menuNew):
805 * lyxfinc.C (replace):
806 * counters.C (laberItem):
807 * bufferview_funcs.C (font2string):
808 * bufferparams.C (writeFile):
809 * buffer.C (readFile):
811 * MenuBackend.C: tostr -> convert
813 * LaTeX.C (runMessage): fix format
814 (scanAuxFiles): tostr -> convert
816 * BufferView_pimpl.C (savePosition): fix format
817 (restorePosition): ditto
820 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
822 * Spacing.[Ch]: New method getValueAsString().
826 * ParagraphParameters.C:
829 * text3.C: store/read spacing value as string.
831 * rowpainter.C: change float value (spacing_val) to double.
833 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
834 broken custom document spacing).
836 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
838 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
839 namespace, also more use of temp references and const
841 * cursor.[Ch] (getStatus): move to lyxfunc.C
843 * bufferparams.C: reformat slightly
845 * bufferview_funcs.C (font2string): constify arg
851 * buffer_funcs.C: (many funcs): constify arg on function
852 definitions, also make more local vars const, also add ASSERTS on
855 * buffer.C (LYX_FORMAT): put const in correct place
856 (many funcs): constify arg on function definitions, also make
857 more local vars const
859 * aspell_local.h: remove "struct" from typdef setup
861 * aspell.C (check): make word_ok const
862 (nextMiss): simplify slightly
865 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
867 * lyxrc.[Ch]: store all float values as strings.
868 use int (not float) for lyxrc.dpi.
870 2005-01-04 Angus Leeming <leeming@lyx.org>
872 * lyx_cb.C (Reconfigure):
873 * lyx_main.C (queryUserLyXDir):
874 to run the <system_lyxdir>/configure correctly on Windows, prefix
875 the path to the script with "sh " when generating the string that
876 is passed to system().
878 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
880 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
882 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * lyxlength.C (asLatexString): get rid of setprecision
886 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
888 * text2.C (setLayout): remove unused variable endpit.
889 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
891 * paragraph.C (onlyText): remove unused variable style.
893 * cursor.C (bruteFind): remove unused variables beg and end.
895 * Makefile.am (dist_noinset_DATA): not needed anymore
897 * cheaders/*: remove.
899 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
901 * text3.C: fix LFUN_MATH_MODE.
903 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
905 * buffer_funcs.C (countWords): new function. Counts words between
908 * BufferView_pimpl.C (getStatus, dispatch): handle
911 * LyXAction.C (init):
912 * lfuns.h: add LFUN_WORDS_COUNT.
914 2004-12-19 Angus Leeming <leeming@lyx.org>
916 * buffer.C (save): s/slashify_path/internal_path/.
918 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
920 * lyxfind.C (findChange): do not search for end of pars, because
921 the change tracker cannot handle this (fixes bug 1719).
923 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
925 * paragraph.[Ch] (autoBreakRows): remove
927 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
929 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
930 avoid using the paragraph one
932 * text2.C (LyXText, insertStringAsLines): adjust
934 2004-12-16 Angus Leeming <leeming@lyx.org>
938 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
940 2004-12-14 Angus Leeming <leeming@lyx.org>
942 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
944 * bufferlist.C (emergencyWrite):
945 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
948 2004-12-14 Angus Leeming <leeming@lyx.org>
950 * main.C: (main): no longer pass pointers to os::init.
952 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
954 * undo.C (textUndoOrRedo): simplify logic, fix a crash
955 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
957 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
960 * text3.C: remove selection_possible global flag
962 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
964 * text2.C (getSelectionSpan): remove
965 (changeDepth, changeDepthAllowed): adjust
967 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
969 * Makefile.am (BOOST_LIBS): use boost variables
971 2004-12-03 José Matos <jamatos@lyx.org>
973 * buffer.C: format up to 238.
975 2004-12-03 José Matos <jamatos@lyx.org>
977 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
979 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
981 * cursor.C (goUpDown): remove call to idxUpDown2
983 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
985 * tabular.[Ch]: use size_t-like types for cell, row and column
988 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * lyxfunc.C (getStatus): do not lose previous information when
991 calling BufferView::getStatus; do not set a default "Command
992 disabled" message at the beginning, but just before returning.
994 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
996 * cursor.h (getStatus): add better comment from src/cursor.C
998 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1000 * text3.C (getStatus): return false when the lfun is not handled
1002 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1004 * broken_headers.h: remove
1006 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1008 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1010 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1011 offset_ref accessors
1013 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1014 top_y_, merge fitcursor with update
1015 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1017 (metrics): introduce
1018 (workAreaDispatch): adapt to new coord scheme
1019 (redoCurrentBuffer): remove
1021 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1023 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1026 * coordcache.[Ch]: add paragraph cache and helpers
1028 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1031 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1032 (targetX, setTargetX): introduce
1034 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1035 baseline -> ascent, as the rest of lyx
1037 * lyxtext.h: remove redoParagraphs, updateParPositions,
1038 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1039 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1040 have ascent/descent (ascent is ascent of first par)
1042 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1045 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1047 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1049 * pariterator.C: fix infinite loop introduced in par->pit renaming
1051 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1052 in insets and LyXText, draw two off-screen paragraphs using
1053 NullPainter, and adapt to new coord scheme
1057 * text3.C: adapt lfun handlers to the new coord scheme, which
1058 means: there's only guaranteed coord information for onscreen pars
1059 plus one above and one below. This implies that one can do search
1060 from y coordinates in the range [-1,workHeight]
1062 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1064 * rename a lot of InsetOld to InsetBase
1066 2004-11-25 Angus Leeming <leeming@lyx.org>
1068 * BufferView_pimpl.C:
1070 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1072 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1075 call BufferView::getStatus if LCursor::getStatus did nothing
1076 (setStatusMessage, getStatusMessage): removed.
1078 * FuncStatus.C (message): new methods. Used to provide an error
1079 message indicating why a command is disabled.
1080 (clear, |=, FuncStatus): update for message.
1082 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1084 * lyxfunc.C (dispatch): always call sendDispatchMessage
1086 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1089 * BufferView_pimpl.C:
1094 * cursor_slice.[Ch]:
1097 * paragraph_funcs.C:
1103 * undo.C: par->pit renaming
1105 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1107 * tabular.C (cellstruct): use initialization, store a shared_ptr
1108 to insettext instead of the insettext directly, adjust to fit.
1109 (operator=): new function
1110 (swap): new function
1111 (rowstruct): use initialization
1112 (columnstruct): use initialization
1113 (ltType): use initialization
1116 * lyxlength.h (swap): new function
1118 * LColor.[Ch] (operator=): use the common semantics
1120 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1122 * lyxfind.C (findNextChange): update the bufferview after setting
1125 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1127 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1128 number of InsetOptArgs has already been inserted.
1130 * output_latex.C (latexOptArgInsets): new method. This outputs all
1131 the optarg insets, up to the limit defined in the layout file.
1132 (optArgInset): removed
1133 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1135 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * paragraph.C (isLetter): remove special spellchecker-related
1138 code; return true also for digits
1139 (isWord, isKomma): remove
1141 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1142 * lyxfind.C (MatchString()): use isLetter instead of isWord
1144 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1146 * pariterator.h (operatir=): comment out un-implemented member
1149 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1152 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1154 * lyxfont.h: include LColor.h to satisfy concept checks.
1156 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1158 * pariterator.h: add typdefs for value_type, difference_type,
1159 pointer and reference to satisfy concept checks. Also add default
1160 constructor for same reason.
1162 * pariterator.C (operator++): add post-increment operator to
1163 satisfy concept checks.
1165 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1168 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1170 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1171 checks. Also rename base_type to BaseType to follow naming
1174 * FloatList.h: include Floating.h to satisfy concept checks.
1176 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1178 * lyxfunc.C (getStatus): when the origin of the request is menu or
1179 toolbar, and the LyXView does not have focus, do as if there was
1180 no buffer (bug 1720)
1182 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1183 FuncRequest to individual entries of LFUN_SEQUENCE
1185 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1187 * output_latex.C (TeXOnePar): override runparams.moving_arg
1188 according to the needprotect value of the current paragraph (bug
1191 * paragraph.C (simpleTeXOnePar): no need to override
1192 runparams.moving_args here
1194 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1196 * vspace.C: fix off-by-one-error, related to fix #1682
1198 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1200 * lengthcommon.C: a more general fix for bug 1682
1202 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1204 * text.C (backspace): fix crash
1206 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1208 * format.[Ch] (getFormatFromFile): new method
1209 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1211 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1215 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1217 * lyxfunc.C (dispatch): remove the verbose argument
1218 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1221 * kbmap.C (defkey): set the origin of func to KEYBOARD
1223 * MenuBackend.C (MenuItem):
1224 * ToolbarBackend.C (add): set the origin of func to UI
1226 * funcrequest.[Ch]: add origin member, which indicates which part
1227 of LyX requests an action
1229 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1231 * converter.C (move): don't lie in the error message
1232 * converter.h (isReachable, move): document
1234 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1236 * buffer.C: remove unused using lyx::support::atoi
1237 * paragraph_funcs.C: ditto
1239 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1241 * bufferlist.C (exists): use bind and equal_to instead of
1244 * lyxtextclasslist.C (NumberOfClass): ditto
1246 * cursor.C (insert): use for_each instead of explicit for loop
1248 * bufferlist.C (getFileNames): use std::transform and
1249 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1251 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1254 * buffer.C (changeLanguage): use for_each instead of explicit for
1256 (hasParWithID): implement using getParFromID
1258 * LaTeXFeatures.C: ws change only
1260 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1263 * BufferView_pimpl.C (trackChanges): use for_each instead of
1266 2004-11-04 André Pönitz <poenitz@gmx.net>
1269 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1271 * dociterator.C (asDocIterator): use hard assert again.
1273 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1275 * lyxlength.C (asLatexString): rewrite so that it does not use
1278 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * text3.C (specialChar, dispatch): make sure cursor moves to the
1281 right after inserting an inset
1283 2004-11-02 José Matos <jamatos@lyx.org>
1285 * output_docbook.C (docbook):
1286 * paragraph.C (getID):
1287 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1288 garantee that the output is always legal.
1290 * tabular.C (docbook):
1291 * outputprams.[Ch]: remove mixed contents.
1293 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1295 * text2.C (setCounter): prevent endless loop
1297 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1299 * exporter.C (copyFile): use the mover instead of support::copy()
1300 * exporter.C (Export): pass format and latex name to copyFile()
1301 * exporter.h (addExternalFile): document
1302 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1304 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1306 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1308 2004-10-30 José Matos <jamatos@lyx.org>
1310 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1311 text and no inset or font change. This allows to use CDATA
1312 sections just for the whole paragraph.
1314 2004-10-30 José Matos <jamatos@lyx.org>
1316 * paragraph.C (getFirstWord): remove unused variable.
1318 2004-10-30 José Matos <jamatos@lyx.org>
1320 * paragraph.C (getFirstWord): the content should always be escaped
1322 (simpleDocBookOnePar):
1323 * output_docbook.C (makeEnvironment): replace reference to CDATA
1326 2004-10-30 José Matos <jamatos@lyx.org>
1328 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1330 2004-10-30 José Matos <jamatos@lyx.org>
1332 * output_docbook.C (makeParagraphs):
1333 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1334 standard paragraph has only a given type of content drop the wrapper.
1336 2004-10-29 José Matos <jamatos@lyx.org>
1338 * output_docbook.C (makeEnvironment):
1340 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1342 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1344 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1345 (cleanID): sanitize any id.
1347 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1349 * buffer.C, lyxlex_pimpl.C:
1350 * lyxlex_pimpl.C (setFile):
1351 s/getExtFromContents/getFormatFromContents/
1353 2004-10-28 José Matos <jamatos@lyx.org>
1355 * output_docbook.C (makeEnvironment): move id to broadest possible
1358 * sgml.C (openTag): apply substitution of <> for all attributes.
1360 2004-10-28 José Matos <jamatos@lyx.org>
1362 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1363 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1364 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1366 * sgml.[Ch]: new version for open and closeTag for paragraph and
1367 for strings. Now they handle the ids of paragraphs.
1369 2004-10-26 Angus Leeming <leeming@lyx.org>
1371 * Makefile.am: add mover.[Ch].
1373 * converter.C (convert, move): use the new Movers to move external
1374 files to the temp directory.
1376 * lyx_main.C (init): ensure that the global system_movers data
1379 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1382 * mover.[Ch]: new files, defining a Mover as a utility to move an
1383 external file between directories and, if necessary, manipulate this
1384 file using a helper script.
1386 2004-10-25 José Matos <jamatos@lyx.org>
1388 * output_docbook.C (makeCommand): merge two if's that tested the
1391 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1393 * sgml.C (escapeString): fix warning in a better way
1395 2004-10-25 José Matos <jamatos@lyx.org>
1397 * sgml.C (escapeString): import the require boosts header file for
1398 tie, and avoid a signed unsigned comparison.
1400 2004-10-25 José Matos <jamatos@lyx.org>
1402 * sgml.h: add #include <string>
1404 2004-10-25 José Matos <jamatos@lyx.org>
1406 * sgml.[Ch] (escapeString): new function to escape all the string.
1408 2004-10-24 José Matos <jamatos@lyx.org>
1410 * paragraph.[Ch] (getFirstWord): new function to get the first
1411 word. Useful for description.
1412 (simpleDocBookOnePar): remove depth argument, add another that
1413 says where to start the paragraph.
1415 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1416 use the new functions to fix cleanly the support for descriptions.
1418 2004-10-24 José Matos <jamatos@lyx.org>
1420 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1421 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1422 * output_linuxdoc.C (linuxdocParagraphs):
1423 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1424 add buffer as argument.
1426 2004-10-24 José Matos <jamatos@lyx.org>
1428 * output_docbook.C (makeEnvironment, searchEnvironment): place
1429 CDATA inside paragraphs and fix scope for listitems.
1431 2004-10-24 José Matos <jamatos@lyx.org>
1433 * output_docbook.C: remove using statement for stack.
1435 2004-10-23 José Matos <jamatos@lyx.org>
1437 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1438 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1439 docbook. The new scheme is recursive and makes use of iterators, the
1440 same as latex export works.
1441 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1442 directly with the paragraph contents. This code was moved up to
1443 output_docbook.C (docbookParagraphs).
1444 * sgml.C (openTag, closeTag): removed unneeded newlines.
1445 (closeEnvTags) removed.
1447 2004-10-23 André Pönitz <poenitz@gmx.net>
1449 * undo.C (textUndoOrRedo):
1450 * dociterator.C (asDocIterator): work around crash
1452 * cursor.C (getStatus): replace ASSERT by more verbose error message
1453 and manual correction of the problem. Should increase stability
1454 while providing more sensible information.
1456 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1460 * bufferlist.C (previous, next): new methods
1463 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1465 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1467 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1468 entities to preamble.
1470 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1472 * messages.C (Pimpl): strip off translation context information
1474 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1476 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1477 the cursor is correct (bug 1694)
1479 2004-10-13 José Matos <jamatos@lyx.org>
1481 * output_docbook.C (docbookParagraphs): fix closing tags in the
1482 end of the document.
1484 2004-10-09 José Matos <jamatos@lyx.org>
1486 * buffer.C: format up to 237.
1487 * bufferparams.C (write): use tostr to convert booleans to strings.
1489 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1491 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1493 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1495 * LaTeX.C: implement use of babel language in xindy.
1497 2004-10-05 José Matos <jamatos@lyx.org>
1499 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1500 Add new translators to help reading and writing the lyx file.
1502 2004-10-05 José Matos <jamatos@lyx.org>
1504 * ParagraphParameters.C (read):
1505 * text.C (readParToken): replace nexToken by more appropriate lex
1508 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1510 * LaTeX.C (runMakeIndex):
1511 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1512 (usually 'makeindex') configurable.
1514 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1515 with a variable rather than with a number.
1517 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * output_latex.C (TeXOnePar): make sure font setting is the first
1520 thing that gets output (and the last at the end). Should fix bug
1523 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1525 * pch.h: use proper signal include
1527 * LaTeX.h: Use preferred calling of Boost.Signal
1530 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1532 * pch.h: dont include <boost/function/function0.hpp>
1534 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1536 * paragraph_pimpl.h: remove usage of ShareContainer
1538 * paragraph_pimpl.C: remove initialization of ShareContainer.
1540 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1544 * BufferView.C (putSelectionAt): change the semantics when
1545 backwards == true: now, this just swaps cursor and anchor wrt the
1548 * BufferView.h (putSelectionAt): add some documentation
1550 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1551 make sure backwardChar is done at least once (to avoid getting
1553 (findNextChange): use putSelectionAt in the forward direction
1554 (operator()): use Paragraph::isWord
1556 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1558 * Spacing.C (set): c_str fix
1560 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * lyx_cb.C (Reconfigure): quote the name of configure script in
1563 case it contains spaces
1565 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1569 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1570 (BOOST_LIBS): use top_buildir when looking for the file
1572 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1574 * pch.h: do not use include boost/format.hpp, multiple symbols
1575 will result (gcc bug)
1578 2004-08-23 José Matos <jamatos@lyx.org>
1580 * bufferparams.C (readToken): fix reading of the author field.
1582 2004-08-20 José Matos <jamatos@lyx.org>
1584 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1586 2004-08-20 José Matos <jamatos@lyx.org>
1588 * lyxlex.[Ch] (findToken): remove function.
1590 * ParagraphParameters.C (findToken):
1591 * bufferparams.C (findToken): replace call for previous function
1592 with local copy. This local function has one more argument, the
1593 read string argument.
1595 2004-08-16 José Matos <jamatos@lyx.org>
1597 * ParagraphParameters.C (write):
1598 * Spacing.C (writeFile):
1599 * bufferparams.C (writeLaTeX):
1600 * lyx_cb.C (Reconfigure):
1601 * paragraph.C (write):
1602 * tabular.C (write): remove unnecessary space at end of line.
1605 2004-08-16 José Matos <jamatos@lyx.org>
1607 * text.C (readParagraph): remove debug message.
1609 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1611 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1614 * output_plaintext.C (asciiParagraph): set depth correctly
1616 * outputparams.h: add member depth
1618 * paragraph_funcs.C (ownerPar): remove.
1620 * text2.C (setCounter): remove first_pit; comment out some
1621 non-working code that uses ownerPar
1623 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1626 2004-08-16 José Matos <jamatos@lyx.org>
1628 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1629 For the same level of importance use the same chanel to report problems.
1630 (read): add code to deal with \begin_body and \end_body.
1633 2004-08-15 José Matos <jamatos@lyx.org>
1635 * lyxlex.C (getString): fix comment, buffer::readBody is now
1636 buffer:readDocument.
1638 * tex-strings.C (string_papersize): Default -> default,
1639 Custom -> custom, for consistency with other options.
1641 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1645 * Makefile.am: support pch
1647 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1649 * text.C (readParToken): remove the static LyXFont variable and
1650 pass it as a parameter instead. This fixes a nasty bug where an
1651 inset will be inserted with a bad font in some situations
1652 (readParagraph): adapt
1654 * text2.C (setCounter): reduce number of calls to pars_[pit]
1656 * text.C (singleWidth): add an assert, fix a test
1658 * rowpainter.C (paintText): reduce number of calls to singleWidth
1660 * paragraph.C (isHfill):
1661 (isNewline): ws only
1663 2004-08-14 André Pönitz <poenitz@gmx.net>
1668 * lyxtext.h (several functions): use a Paragraph & argument
1671 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1675 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1677 * text.C (singleWidth): remove useless test
1679 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1681 * tabular.h: remove bogus comments
1683 * tabular.C (getDescentOfRow):
1684 (isPartOfMultiColumn): add assertions
1686 * lyxlength.C (inPixels): remove #warning
1688 2004-08-14 André Pönitz <poenitz@gmx.net>
1690 * paragraph.h: inline getChar()
1692 * BufferView.h: remove unused declarations
1694 2004-08-14 José Matos <jamatos@lyx.org>
1696 * Buffer.[Ch] (readDocument): new name for old readBody.
1697 * Buffer.C: new file format, new keywords: \begin_document,
1698 \begin_header, \begin_body, \end_body.
1700 * bufferparams.C (readToken): replace all calls to lex.nextToken
1701 by lex.next(). Do the same to eatLine except where really needed.
1703 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1704 line when writing to the lyx file.
1706 * output_plaintext.C (asciiParagraph): fix Bibliography style
1709 * text.C (read): fix end of file handling.
1711 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * MenuBackend.C (Menu::operator[]): new method to access
1714 individual menu items
1715 (Menu::hasFunc): new method. search for an item that corresponds
1717 (MenuBackend::specialMenu): new method
1718 (MenuBackend::expand): if a special menu has been set, skip
1719 entries whose func() appears in this menu
1721 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1723 * text3.C: use Debug::DEBUG a bit more
1725 * text.C (leftMargin): try to simplify a tiny bit change var x to
1726 l_margin. Dont output the wide margins always.
1727 (rightMargin): no margin in inner texts
1729 * rowpainter.h (nestMargin): new func
1730 (changebarMargin): new func
1731 (rightMargin): new func
1733 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1737 * factory.C (createInset): modify setDrawFrame
1739 * cursor.C: use Debug::DEBUG a bit more
1741 2004-08-14 André Pönitz <poenitz@gmx.net>
1744 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1745 cache for all insets in (at least partially) visible (top-level)
1748 * BufferView_pimpl.C: reset external coord cache before every update.
1749 This means the coord cache only contains valid entries.
1751 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1754 * BufferView_pimpl.C (getInsetByCode): move function out of class
1755 and change in to a template in anon namespace. Also fix to do what
1758 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1761 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1763 (breakParagraph): rename par to par_offset and use a local
1764 reference. Add code to keep the language over a rebreak.
1765 (breakParagraphConservative): rename par to par_offset, use a
1767 (mergeParagraph): ditto
1769 (isFirstInSequence): ditto
1770 (outerFont): rename pit to par_offset
1772 * paragraph.C: ws change
1773 * paragraph.h: ditto
1777 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1779 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1782 * paragraph.C (simpleTeXOnePar): when we have a \item with
1783 optional argument, enclose the argument with curly brackets (in
1784 case it contains a closing square bracket)
1788 * text3.C (checkInsetHit): constify
1790 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1792 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1793 documents (bug 1629)
1795 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 Fix toggling of collapsable insets with the mouse (bug 1558)
1799 * lyxfunc.C (dispatch): adapt to LCursor changes
1801 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1802 make sure that dispatch is not invoked twice
1804 * cursor.C (needsUpdate): new method
1805 (dispatch): return void
1806 (result): new method, to access the DispatchResult of the cursor.
1808 2004-08-13 José Matos <jamatos@lyx.org>
1810 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1812 2004-08-13 André Pönitz <poenitz@gmx.net>
1814 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1816 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1819 2004-08-12 André Pönitz <poenitz@gmx.net>
1821 * text3.C: take out the 'cursor right' form insertInset and only
1822 do it in those places when it is really needed. Fixes crash on
1825 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1829 * BufferView_pimpl.C (setBuffer): initialize the current font of
1830 the underlying LyXText
1832 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1834 * kbsequence.C (print): use UI native formatting for menu
1837 * text.C (insertChar): call Paragraph::insertChar with a font
1840 * paragraph.C (insertInset, insertChar): the version that takes a
1841 LyXFont argument is now a wrapper around the other one (the
1842 opposite used to be true).
1844 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1845 argument. Font setting is done in Paragraph now.
1847 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1849 * outputparams.h: add new members intitle and lang.
1851 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1852 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1854 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1856 * text3.C (dispatch): remove special handling of button 4 and 5,
1857 it is now taken care of in the frontend code.
1859 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1861 * Spacing.h: add <string> (STLPort compile fix)
1863 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1865 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1867 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1869 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1872 * converter.C (showMessage): inherit from unary_function, make
1875 * buffer.C (writeFile): initialize retval
1877 * InsetList.h: rename private variable list to list_
1878 * InsetList.[Ch]: adjust accordingly.
1880 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1882 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1883 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1884 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1885 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1886 * ParagraphParameters.C, LaTeXFeatures.C: replace
1887 "support/std_sstream.h" with <sstream>
1889 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1891 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1892 * lyxsocket.C (LyXServerSocket): ditto
1893 (serverCallback): ditto
1895 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1897 * LaTeXFeatures.C: check release date when loading jurabib.
1899 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1901 * lyxserver.C (startPipe): call register_socket_callback
1902 (endPipe): call unregister_socket_callback
1904 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1906 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1907 (LyXServerSocket): register the callback
1908 (LyXServerSocket): unregister the callback
1909 (fd): delete function
1910 (serverCallback): improve error checking and setup the callbacks.
1911 (dataCallback): change arg to fd.
1912 (writeln): new func (copied fro the client socket) used for server
1914 (LyXDataSocket): simplify
1915 (~LyXDataSocket): close ann unregiser callback
1916 (server): delete function
1917 (fd): delete function
1918 (readln): small changes, improve some std::string usage
1919 (writeln): constify a bit
1921 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1926 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1928 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1929 after it has been populated
1931 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1933 * text2.C (insertInset): move cursor when inserting inset.
1935 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1937 * kbmap.C (findbindings): a couple of new methods. returns a
1938 container of kb_sequence objects. The real work is done by the
1939 private recursive version
1940 (printbindings): uses findbindings to print out a bracketed list
1941 of bindings (renamed from findbinding).
1943 * MenuBackend.C (binding): use kb_keymap::findbindings
1945 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1947 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1949 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1951 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1953 * paragraph.C (isWord): return true on insets that report
1956 * text.C (getWord): use Paragraph::isWord to decide what is in a
1957 word and what is not; fix bug 1609.
1959 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1961 * tex-strings.C: add "none" to string_paperpackages[], fixes
1962 off-by-one-error in the paperpackage selection.
1965 * tex-strings.[Ch]: char const * string[n]
1966 -> char const * const string[]
1968 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1970 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1971 command, return early.
1973 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1975 * debug.h: add DEBUG to enum and fix size of ANY.
1977 * debug.C: add support for Debug::DEBUG
1978 (showTags): cast errorTags.level to unsigned int
1980 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1981 (redoCurrentBuffer): ditto
1982 (updateScrollbar): ditto
1983 * cursor.C (dispatch): ditto
1984 * text2.C (setLayout): ditto
1986 (updateCounters): ditto
1988 (deleteEmptyParagraphMechanism): ditto
1990 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1992 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1993 annotations to cleanup the Makefile slightly.
1995 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * lyxrc.C: do not set user_email to a default value but use empty
1998 instead. The entry used to be translated, which does not work
1999 since at the point where lyxrc is constructed there is no
2000 translation service available
2002 * messages.C (getLocaleDir): remove and use directly
2003 lyx_localedir() instead
2005 2004-06-02 Angus Leeming <leeming@lyx.org>
2007 Fix crash caused by dereferencing null pointer 'exportdata' in
2008 OutputParams by creating a new ExportData variable on the heap,
2009 storing it in a boost::shared_ptr.
2010 The crash was triggered when generating an Instant Preview
2011 of an external inset.
2013 * Makefile.am: add outputparams.C
2015 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2016 (c-tor): allocate memory to it.
2018 * exporter.C (c-tor): associated changes.
2020 2004-06-01 Angus Leeming <leeming@lyx.org>
2022 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2023 contains data before calling isInset(0). (Bug 1513.)
2025 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2027 * exporter.C (checkOverwrite): new method
2028 * exporter.C (copyFile): new method
2029 * exporter.C (Export): copy referenced files to the document dir
2030 * exporter.[Ch]: new class ExportedFile
2031 * exporter.[Ch]: new class ExportData. Contains currently the
2032 names of referenced external files
2033 * outputparams.h: add exportdata member.
2035 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2037 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2040 2004-05-19 Angus Leeming <leeming@lyx.org>
2045 * lyxfunc.C: small changes due to the introduction of namespace
2046 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2048 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2050 * text3.C (dispatch): supress update when only moving the cursor
2051 * cursor.C (selHandle): remove commented code
2053 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2055 * paragraph.C (startTeXParParams): correct column count
2056 * CutAndPaste.C (pasteSelection): remove const_cast
2057 * output_docbook.C (docbookParagraphs): remove const_cast
2058 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2059 const_cast and return ParagraphList::const_iterator
2060 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2061 * output_plaintext.C (writeFileAscii): remove const_cast
2062 * paragraph.[Ch] (simpleTeXOnePar): make const
2063 * paragraph_funcs.C (outerPar): use const iterators
2064 * paragraph_pimpl.C (validate): use const iterators
2065 * text.C (setHeightOfRow): use const iterators
2067 2004-05-17 Angus Leeming <leeming@lyx.org>
2070 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2072 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2073 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2074 if the citation engine has changed.
2076 2004-05-14 José Matos <jamatos@lyx.org>
2078 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2079 if the textclass does not provide it. Have it different for sgml and
2081 support the language of document.
2082 * output_docbook.C (docbookParagraphs):
2083 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2084 first anchor as the id of the paragraph, remove special case code.
2085 * sgml.C (escapeChar): escape only < & >.
2087 2004-05-14 Angus Leeming <leeming@lyx.org>
2089 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2090 dependencies on src/frontends/controllers/biblio.h. Define a
2091 CiteEngine_enum wrapper class to enable the enum to be forward
2094 2004-05-12 Angus Leeming <leeming@lyx.org>
2096 * buffer.C: up LYX_FORMAT to 234.
2097 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2098 use_numerical_citations with a single biblio::CiteEngine cite_engine
2100 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2102 2004-05-13 José Matos <jamatos@lyx.org>
2105 * converter.C (Converter, readFlags): add xml member.
2106 * outputparams.h: add XML flavor.
2107 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2109 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * lyxfunc.C (dispatch):
2112 (getStatus): fix handling of LFUN_SEQUENCE
2114 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * debug.C (showLevel): do not forget the end-of-line marker
2118 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2120 * kbmap.C (read): do not stop parsing a bind file when an error
2123 2004-04-29 Angus Leeming <leeming@lyx.org>
2128 * text2.C: wrap a bunch of #warning statements
2129 inside #ifdef WITH_WARNINGS blocks.
2131 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2133 * buffer.C: increment format to 233.
2135 2004-04-28 Angus Leeming <leeming@lyx.org>
2137 * BufferView_pimpl.C:
2140 s/updateToolbar()/updateToolbars()/
2141 s/Toolbar.h/Toolbars.h/
2143 2004-04-28 Angus Leeming <leeming@lyx.org>
2145 * BufferView.[Ch] (c-tor):
2146 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2147 No longer passes these data to the WorkArea generator.
2149 2004-04-28 Angus Leeming <leeming@lyx.org>
2151 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2153 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2155 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2157 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2159 * output_latex.C (TeXEnvironment): make sure that there is a line
2160 break before \end{foo} for the last paragraph of a document
2161 (TeXOnePar): if the paragraph is at the end of the document (or
2162 inset) and the language has to be reset, then make sure that the
2163 line break is _before_ the language command, not after (fixes bug
2164 1225); also make sure that the language reset command is the first
2165 thing after the paragraph (to ensure proper nesting of
2166 environments and thus fix bug 1404)
2168 2004-04-21 John Levon <levon@movementarian.org>
2171 * ToolbarBackend.C: make "name" be a programmatic name
2172 and a gui_name field.
2174 * lyxfunc.C: display the minibuffer on M-x
2176 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2178 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2181 2004-04-19 Angus Leeming <leeming@lyx.org>
2183 * BufferView_pimpl.C (setBuffer): changed preview interface.
2185 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2188 2004-04-19 John Levon <levon@movementarian.org>
2190 * BufferView_pimpl.C:
2191 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2193 2004-04-05 Angus Leeming <leeming@lyx.org>
2195 * text.C (redoParagraphs): add call to updateCounters(), thereby
2196 fixing the missing "Figure #:" label from the caption of a
2199 2004-04-13 Angus Leeming <leeming@lyx.org>
2201 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2202 cursor is clicked out of an inset.
2204 2004-04-13 Angus Leeming <leeming@lyx.org>
2206 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2207 than an InsetOld one.
2209 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2211 * format.[Ch]: add editor to Format
2212 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2213 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2215 2004-04-08 André Pönitz <poenitz@gmx.net>
2217 * metricsinfo.h: remove PainterInfo::width member
2219 2004-04-08 Angus Leeming <leeming@lyx.org>
2221 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2222 "\providecommand" rather than "\newcommand", thereby preventing
2223 clashes with packages that define "\boldsymbol" themselves.
2226 2004-04-08 Angus Leeming <leeming@lyx.org>
2228 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2229 thereby squashing an unnecessary warning.
2231 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2233 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2236 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2238 * BufferView.C (setCursor): call redoParagraph (some insets could
2240 (putSelectionAt): remove the 'double update' trick
2242 * BufferView_pimpl.C (fitCursor): call refreshPar
2243 (workAreaDispatch): remove an uneeded update call
2244 (dispatch): remove some manual update calls
2246 * cursor.[Ch]: remove cached_y_, updatePos
2247 (selHandle): set noUpdate when appropriate
2249 * lyxfunc.C (dispatch): track if we need an update
2251 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2253 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2254 (paintSelection): cheap optimization, do not call cursorX when not
2256 (paintPars): change signature
2259 (paintTextInset): adjust
2263 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * lengthcommon.C: compilation fix: remove explicit array size from
2266 unit_name[] and friends
2268 2004-04-05 Angus Leeming <leeming@lyx.org>
2270 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2272 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2273 present only for the preferences dialog.
2274 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2276 2004-04-05 Angus Leeming <leeming@lyx.org>
2278 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2279 to enable the frontends to export changes to lyxrc correctly.
2281 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2283 2004-04-07 André Pönitz <poenitz@gmx.net>
2285 * cursor.[Ch] (selClear, adjust): remove math
2287 * cursor_slice.C: more agressive assert
2290 * BufferView_pimpl.C: rework mouse event dispatch
2297 2004-04-05 André Pönitz <poenitz@gmx.net>
2299 * cursor.[Ch] (valign, halign...): remove unneeded functions
2301 2004-04-05 Angus Leeming <leeming@lyx.org>
2303 * lyxlength.[Ch] (unit_name et al.): const-correct.
2305 2004-04-05 Angus Leeming <leeming@lyx.org>
2307 * BufferView_pimpl.C:
2316 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2318 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2320 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2322 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2324 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2325 * BufferView_pimpl.[Ch] (getStatus)
2326 * BufferView.[Ch] (getStatus): add
2327 * lyxfunc.C (getStatus): move lfuns handled in
2328 BufferView::dispatch to te function above
2329 * Cursor.C (setSelection): set selection() = true
2331 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2333 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2335 2004-03-31 Angus Leeming <leeming@lyx.org>
2337 * lyxfunc.C (dispatch): Fall through to the generic
2338 Dialogs::show("preamble").
2340 2004-03-31 Angus Leeming <leeming@lyx.org>
2342 * lyxfunc.C (dispatch): Fall through to the generic
2343 Dialogs::show("spellchecker").
2345 2004-03-31 Angus Leeming <leeming@lyx.org>
2347 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2350 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2355 * insetiterator.[Ch]:
2360 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2362 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2364 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2365 insets where we are putting the cursor.
2367 2004-03-31 Angus Leeming <leeming@lyx.org>
2370 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2372 * lyxrc.[Ch] (read, write): overloaded member functions taking
2373 a std::[io]stream arguments.
2375 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2377 2004-03-31 Angus Leeming <leeming@lyx.org>
2379 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2380 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2382 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2383 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2385 2004-03-31 Angus Leeming <leeming@lyx.org>
2387 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2388 the LFUN_ALL_INSETS_TOGGLE code.
2390 2004-03-30 Angus Leeming <leeming@lyx.org>
2392 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2393 has died. Fall through to the generic Dialogs::show("document").
2395 2004-03-30 Angus Leeming <leeming@lyx.org>
2398 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2399 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2401 * lyxfunc.C (getStatus, dispatch): define the actions for these
2402 lfuns. Little more than a cut and pste job from ControlDocument.C
2404 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2406 2004-03-30 Angus Leeming <leeming@lyx.org>
2409 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2410 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2412 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2413 open/closed state of ollapsable insets. Usage:
2415 all-inset-toggle <state> <name>, where
2416 <state> == "open" || "closed" || "toggle" and
2417 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2419 * lyxtext.h, text2.C (toggleInset): removed.
2421 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2422 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2423 now passes LFUN_INSET_TOGGLE to the found inset.
2425 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2426 is now invoked as "all-insets-toggle toggle branch".
2428 2004-03-30 Angus Leeming <leeming@lyx.org>
2432 * pariterator.[Ch]: added/corrected header blurb.
2434 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2436 * dociterator.[Ch]: add an inset_ member
2437 (backwardPos): implemented
2438 (backwardPos, forwardPos): use inset_ when the stack is empty.
2439 (doc_iterator_begin, doc_iterator_end): implemented
2440 * pariterator.[Ch]: adjust, add begin, end
2441 * insetiterator.[Ch]: adjust, add begin, end
2445 * BufferView_pimpl.C:
2446 * CutAndPaste.C: adjust
2448 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2450 * buffer.C: increment file format to 232.
2451 * LaTeXFeatures.C: add bibtopic package.
2452 * bufferparams.[Ch]: param \use_bibtopic.
2454 * lyxrc.[Ch]: add lyxrc bibtex_command
2455 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2457 * buffer.C: increment file format to 231.
2459 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2461 * dociterator.C: implement forwardPar
2462 * iterators.[Ch]: remove, replaced by
2463 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2465 * BufferView_pimpl.C:
2468 * bufferview_funcs.C:
2474 * Makefile.am: adjust
2476 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2478 * CutAndPaste.C (pasteSelection): fix 2 crashes
2479 (eraseSelection): fix a crash
2480 * paragraph_funcs.C: remove a warning
2482 2004-03-28 Angus Leeming <leeming@lyx.org>
2485 * LyXAction.C (init): new LFUN_PRINT.
2487 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2489 2004-03-27 Angus Leeming <leeming@lyx.org>
2492 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2494 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2496 2004-03-27 Angus Leeming <leeming@lyx.org>
2498 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2499 insetlist always contains non-null pointers to insets.
2501 2004-03-26 Angus Leeming <leeming@lyx.org>
2503 * src/BufferView_pimpl.C:
2504 * src/CutAndPaste.C:
2507 * src/output_plaintext.C:
2508 * src/outputparams.h:
2509 * src/paragraph_funcs.C:
2513 * src/frontends/controllers/ControlErrorList.C:
2514 * src/frontends/gtk/FileDialogPrivate.C:
2515 * src/frontends/gtk/GPainter.C:
2516 * src/frontends/gtk/GToolbar.C:
2517 * src/frontends/qt2/QRef.C:
2518 * src/mathed/math_scriptinset.C: squash compiler warnings.
2520 2004-03-26 Angus Leeming <leeming@lyx.org>
2522 * ispell.C (LaunchIspell::start):
2523 * lyx_cb.C (AutoSaveBuffer::start):
2524 invoke run(DontWait) rather than runNonBlocking().
2526 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2528 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2530 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2532 * kbsequence.C (print): adjust
2534 * kbmap.C (printKeySym): rename and change signature
2535 (printKey): use LyXKeySym::print()
2537 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2539 * undo.C: add using std::advance to compile for stlport
2541 2004-03-24 Angus Leeming <leeming@lyx.org>
2543 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2544 it leads to a crash when no buffer is present.
2546 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 Martin Vermeer <martin.vermeer@hut.fi>
2549 * lyxfunc.C (dispatch):
2550 * bufferparams.C (readToken): use the new LColor::setColor
2552 * LColor.[Ch] (setColor): new version that takes two strings as
2553 argument and creates a new color entry if necessary
2555 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2557 * buffer.C (makeLaTeXFile): if the main latex file that is
2558 processed is usually a subdocument of some master, then pretend
2559 for a while that it is actually the master
2561 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2563 * buffer.C (getLabelList):
2564 (getBibkeyList): use getMasterBuffer()
2565 (getMasterBuffer): new method. Returns the main document in the
2566 case where one is using included documents.
2568 2004-03-25 André Pönitz <poenitz@gmx.net>
2572 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2574 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2576 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2577 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2579 * ParameterStruct.h: merge with ParagraphParameters
2581 * lyxtext.h: remove LyXText::parOffset() and getPar()
2583 * text3.C: Remove all 'manual' update calls. We do now one per user
2584 interaction which is completely sufficient.
2588 * BufferView_pimpl.C:
2589 * FontIterator.[Ch]:
2591 * ParagraphParameters.[Ch]:
2596 * cursor_slice.[Ch]:
2603 * output_docbook.[Ch]:
2604 * output_latex.[Ch]:
2605 * output_linuxdoc.[Ch]:
2606 * output_plaintext.[Ch]:
2608 * paragraph_funcs.[Ch]:
2609 * paragraph_pimpl.[Ch]:
2617 * frontends/controllers/ControlDocument.C:
2618 * frontends/controllers/ControlErrorList.C:
2619 * frontends/controllers/ControlSpellchecker.C:
2622 * insets/insetbase.h:
2623 * insets/insetbibitem.C:
2624 * insets/insetbox.C:
2625 * insets/insetbranch.C:
2626 * insets/insetcaption.C:
2627 * insets/insetcharstyle.C:
2628 * insets/insetcharstyle.h:
2629 * insets/insetcollapsable.C:
2630 * insets/insetcollapsable.h:
2631 * insets/insetert.C:
2632 * insets/insetfloat.C:
2633 * insets/insetfoot.C:
2634 * insets/insetmarginal.C:
2635 * insets/insetnote.C:
2636 * insets/insetoptarg.C:
2637 * insets/insettabular.C:
2638 * insets/insettext.C:
2639 * insets/insettext.h:
2640 * insets/insetwrap.C:
2641 * mathed/math_mboxinset.C:
2642 * mathed/math_nestinset.C:
2643 * mathed/math_scriptinset.C:
2644 * mathed/math_scriptinset.h:
2647 2004-03-24 Angus Leeming <leeming@lyx.org>
2649 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2650 deal with any child processes that have finished but are waiting to
2651 communicate this fact to the rest of LyX.
2653 2004-03-24 Angus Leeming <leeming@lyx.org>
2655 64-bit compile fixes.
2657 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2658 (c-tor): pass lyx::pos_types rather than ints.
2660 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2663 * text.C (Delete): compile fix.
2664 (getPar): ensure that function declaration is the same as that in
2667 2004-03-23 Angus Leeming <leeming@lyx.org>
2669 * ispell.C (LaunchIspell):
2670 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2671 a boost::shred_ptr rather than a std::auto_ptr.
2673 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2675 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2676 handle LFUN_FILE_INSERT_*
2678 * lyxrc.C (setDefaults, getDescription, output, read):
2679 * lyxrc.h: remove ps_command
2681 2004-03-22 Angus Leeming <leeming@lyx.org>
2683 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2684 Ensure that error_handler is processed once only and that all data
2685 is saved before attempting to output any warning messages.
2687 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2689 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2691 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2693 2004-03-19 André Pönitz <poenitz@gmx.net>
2695 * cursor.[Ch] (reset): take main text inset as argument
2697 * BufferView: adjust
2698 * BufferView_pimpl.C: adjust
2700 * paragraph.[Ch]: fix completely broken operator=()
2702 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2704 * LColor.C (getFromLyXName): make sure that the color name is used
2707 2004-03-17 Angus Leeming <leeming@lyx.org>
2710 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2712 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2713 dialog and to kill a forked process.
2715 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2717 * text2.C (setCursorFromCoordinates): fix font problem
2719 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2721 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2722 bogus "rebuild cursor" code
2724 2004-03-11 André Pönitz <poenitz@gmx.net>
2726 * buffer.[Ch]: use InsetText instead of LyXText as container for
2729 * dociterator.[Ch]: drop the BufferView * member which is not needed
2730 anymore after the change to buffer.C
2732 * paragraph_funcs.C:
2736 * BufferView_pimpl.[Ch]:
2738 * cursor_slice.[Ch]: adjust
2740 * text3.C: fix bug in mathDispatch
2742 2004-03-08 André Pönitz <poenitz@gmx.net>
2744 * undo.[Ch]: use 'StableDocumentIterator' as base for
2747 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2750 * bufferparams.[Ch]: add jurabib support and param.
2752 * LaTeX.C: add FIXME/comment.
2754 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2756 * buffer.C: increment file format to 230.
2758 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2760 * cursor.C (dispatch): avoid infinite loops
2762 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2764 * rowpainter.C (paintSelection): fix x coordinates
2766 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2768 * text.C (rowBreakPoint): fix breaking before displayed insets
2770 2004-03-01 André Pönitz <poenitz@gmx.net>
2772 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2774 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2778 * BufferView_pimpl.C:
2786 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2792 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2793 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2795 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2797 * Bidi.[Ch] (computeTables): const correctness
2798 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2799 fill_hfill, fill_label_hfill and x from Row
2800 * lyxtext.h: prepareToPrint returns a RowMetrics
2801 * rowPainter.C: adjust
2802 * text.C (prepareToPrint): use width, not textWidth. adjust
2803 (redoParagraphInternal, cursorX): adjust
2804 * text2.C (getColumnNearX): adjust
2805 (init): put a default value to the top LyXText::width
2807 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2809 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2811 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2813 * lyxtext.h: add FontIterator class
2815 * text.C (FontIterator, operator*, operator->, operator++): add
2816 (rowBreakPoint, setRowWidth): adjust (fixing a
2819 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2821 * BufferView_pimpl.C (workAreaDispatch): allow also
2822 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2824 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2826 * text.C (rowBreakPoint): fix a bug showing with very large insets
2828 2004-02-25 André Pönitz <poenitz@gmx.net>
2831 * cursor.[Ch]: move some mathed specific code to mathed
2833 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2835 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2836 use_tempdir in preferences
2837 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2839 * lyx_main.C: ensure that tempdir is valid
2840 * lyxlex.h: correct typo
2841 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2842 * paragraph.[Ch] (isMultiLingual): make const
2843 * cursor.[Ch] (openable): make const
2845 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2847 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2849 2004-02-20 André Pönitz <poenitz@gmx.net>
2851 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2853 * cursor.[Ch]: prepare for localized getStatus()
2859 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2861 2004-02-20 André Pönitz <poenitz@gmx.net>
2863 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2865 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2867 * text2.C (setCursorFromCoordinates): switch to absolute coords
2869 (cursorDown): adjust
2870 * text3.C (dispatch): adjust
2872 2004-02-16 André Pönitz <poenitz@gmx.net>
2874 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2877 * cursor_slice.[Ch]: remove unneeded acessor function
2879 * lyxtext.h: rename rtl() to isRTL()
2887 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2889 * rowpainter.C (paintSelection): coord fix
2891 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2893 * Spacing.C: compile fix
2895 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2897 * cursor.C (dispatch): restore current_ before returning
2899 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2901 * text2.C (cursorUp, cursorDown): fix coords
2904 2004-02-12 André Pönitz <poenitz@gmx.net>
2909 * text3.C: add LCursor & parameter to most cursor movement functions
2910 remove usage of LyXText::cursorRow() and cursorPar()
2912 * cursor.[Ch]: add textRow() needed members
2915 * BufferView_pimpl.C:
2918 * BufferView_pimpl.C: adjust
2920 2004-02-11 André Pönitz <poenitz@gmx.net>
2924 * BufferView_pimpl.C: shift undo/redo handling
2926 * cursor.[Ch]: fix mathed crash
2929 * lyxtext.h: move selectionAsText to LCursor
2937 * rowpainter.C: fix excessive drawing
2939 2004-02-06 André Pönitz <poenitz@gmx.net>
2942 * BufferView_pimpl.[Ch]:
2943 * text3.C: move some text specific LFUN handling
2945 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2947 * text3.C (checkInsetHit): adjust coords
2948 * text2.C (getColumnNearX): adjust coords
2949 (edit): adjust coords
2950 * text.C (getRowNearY): add two asserts
2952 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2955 * format.C: add using std::distance to compile on gcc 2.95/stlport
2957 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2959 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2961 2004-02-04 André Pönitz <poenitz@gmx.net>
2963 * BufferView.[Ch] (insertInset):
2964 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2969 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2971 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2972 on the default clause of the switch
2973 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2974 wasn't catched by LCursor::dispatch
2976 2004-02-03 André Pönitz <poenitz@gmx.net>
2979 * cursor.[Ch]: some additional asserts
2981 * undo.[Ch]: remove LyXText dependency in interface
2985 * lyxtext.h (firstPar, lastPar): remove dead functions
2990 * paragraph.[Ch]: adjust
2992 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2994 * lyxfind.C (find): fix argument order in call to ::find
2996 2004-02-02 André Pönitz <poenitz@gmx.net>
2998 * cursor.[Ch]: remove direct access to anchor
3000 * text.C: remove findText() hack
3002 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3004 * iterators.[Ch] (lockPath): remove in favour of...
3005 * BufferView.[Ch] (setCursor): this addition
3006 * BufferView.C (putSelectionAt): adjust
3007 * undo.C (performUndoOrRedo): adjust
3008 * lyxfunc.C (dispatch): adjust
3010 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3012 * iterators.C (lockPath): add a missing slice
3013 * undo.C (performUndoOrRedo): remove redundant positioning code
3015 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3017 * vc-backend.C (scanMaster): ";" -> ';'
3019 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3021 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3022 std::binary_function
3024 * lyxtextclass.C (compare_name): rename to...
3025 (LayoutNamesEqual): ...this
3027 * lyxlex_pimpl.C (compare_tags): inherit from
3028 std::binary_function, put back into anon namespace
3030 * lyxfind.C (MatchString): inherig from std::binary_function
3031 (findChange): use empty() istead of !size()
3033 * format.C (FormatNamesEqual): new functor
3040 * converter.C (compare_Converter): rename to...
3041 (ConverterEqual): ...this, and fixup a bit.
3042 (getConverter): use it, and make function const
3043 (getNumber): use it, and make function const
3047 * bufferlist.C: add using boost::bind
3049 * MenuBackend.C (MenuNamesEqual): new functor
3050 (hasMenu): use it, and make function const
3051 (hasSubmenu): use nested bind to get rid of compare_memfun.
3053 2004-01-30 André Pönitz <poenitz@gmx.net>
3055 * BufferView_pimpl.C:
3058 * cursor_slice.[Ch]:
3061 * paragraph_funcs.C:
3062 * paragraph_funcs.h:
3066 * text3.C: move some of the edit(x,y) handling to the insets
3067 some coordinate changes.
3069 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3071 * text.C: add using statements for std::advance and std::distance
3073 * paragraph.C: add using statement for std::distance
3075 * lyxfind.C: add using statement for std::advance
3077 * cursor.C (region): remove std:: from swap
3078 (openable): use nucleus in stead of operator->
3080 * BufferView.C: add using statements for std::distance and std::swap
3082 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3084 * iterators.C: Remove the pimple, move the needed structures to
3085 the header file. Create accessor for the positions stack.
3086 (asPosIterator): remove function
3088 * PosIterator.C (PosIterator): move constructors to top of file
3089 (PosIterator): reimplement the constructor taking a ParIterator in
3091 (setFrom): new function
3092 (operator!=): inline it
3094 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3096 * lyxfind.C (replaceAll): use std::advance
3098 * iterators.h: inherit from std::iterator.
3100 * PosIterator.C (advance, distance): remove
3101 * PosIterator.h: interit from std::iterator.
3103 2004-01-26 André Pönitz <poenitz@gmx.net>
3106 * BufferView_pimpl.[Ch]:
3110 * bufferview_funcs.C:
3120 * output_linuxdoc.C:
3121 * output_plaintext.C:
3123 * paragraph_funcs.[Ch]:
3124 * paragraph_pimpl.[Ch]:
3130 * text3.C: more IU: dumps most of the rest of the mathcursor
3131 implementation into cursor.[Ch]; "globalize" a bit of it.
3133 2004-01-25 Angus Leeming <leeming@lyx.org>
3135 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3137 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3139 * LaTeXFeatures.h: add nice_ and nice() const
3140 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3142 2004-01-20 André Pönitz <poenitz@gmx.net>
3145 * BufferView_pimpl.C:
3147 * bufferview_funcs.C:
3149 * cursor_slice.[Ch]:
3160 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3161 LCursor and mathcursor parts to LCursor and InsetBase.
3163 2004-01-15 André Pönitz <poenitz@gmx.net>
3165 * cursor_slice.[Ch]: add a few covienience functions
3167 * funcrequest.[Ch]: remove BufferView * member
3169 * BufferView_pimpl.C:
3176 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3178 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3180 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3181 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3183 2004-01-13 André Pönitz <poenitz@gmx.net>
3186 * lyxtext.h: hide cursor and selection anchor behind accessor function
3189 * BufferView_pimpl.[Ch]:
3191 * bufferview_funcs.C:
3201 * cursor_slice.[Ch]: some integer type changes for inset unification
3203 * lyxcursor.[hC]: remove, it's CursorSlice now.
3206 * BufferView_pimpl.[Ch]:
3207 * bufferview_funcs.C:
3213 * textcursor.[Ch]: adjust
3215 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3217 * text2.C (undoSpan): add and use
3218 * text.C (breakParagraph): use undoSpan (fix bug 578)
3221 2004-01-08 Angus Leeming <leeming@lyx.org>
3223 * BufferView_pimpl.C (MenuInsertLyXFile):
3224 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3225 * lyxfunc.C (menuNew, open, doImport):
3226 FileFilterList change to the FileDialog open and save functions.
3228 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3230 * ShareContainer.h: make isEqual and isUnique adaptable
3232 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3234 2004-01-07 Angus Leeming <leeming@lyx.org>
3237 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3239 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3241 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3242 functions replacing find, replace and replaceAll.
3244 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3245 LFUN_WORDFIND(FORWARD|BACKWARD).
3247 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3249 * text.C (breakParagraph): remove an outdated #warning
3251 2004-01-07 André Pönitz <poenitz@gmx.net>
3253 * lyxfind.C: somewhat clearer logic
3255 * text.C: prevent crash in cursorX on unitialized row cache
3257 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3259 * lyxcursor.[Ch] (operator>): add
3260 * textcursor.C (selStart, selEnd): use std::min and std::max
3262 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3264 * Chktex.C: include boost/format.hpp
3266 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3268 * InsetList.C: replace functor MathcIt with adaptable functor
3270 (insetIterator): modify accordingly
3272 * BranchList.h: move the BranchNamesEqual functor here from...
3273 * BranchList.C: ... to here
3275 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3277 (add): replace a finding loop with std::find_if.
3279 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3281 * output_docbook.C: moving LatexParam functionality into
3284 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3286 * buffer.C: increment format to 229.
3288 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3291 * lyx_sty.[Ch]: remove minipageindent_def
3297 * text3.C: remove LFUN_INSET_MINIPAGE
3299 2003-12-28 Angus Leeming <leeming@lyx.org>
3301 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3303 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3305 * text2.C (setParagraph): fix off-by-one crash
3307 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3309 * output_docbook.C: header stuff for AGU
3311 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3313 * text2.C (redoCursor): remove
3316 * BufferView_pimpl.C: remove calls to redoCursor and
3317 setCursor(cursor.par(), cursor.pos()) all around
3319 2003-12-15 Angus Leeming <leeming@lyx.org>
3321 * buffer.C: up the format to 228.
3323 2003-12-15 André Pönitz <poenitz@gmx.net>
3325 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3330 * BufferView_pimpl.C:
3339 2003-12-15 Angus Leeming <leeming@lyx.org>
3341 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3342 than getFromGUIName to manipulate the color.
3344 2003-12-14 Angus Leeming <leeming@lyx.org>
3346 * BranchList.[Ch]: minimize the API.
3347 (Branch::getBranch, getColor): now return a 'const &'.
3348 (Branch::setSelected) now returns a bool set to true if the
3349 selection status changes.
3350 (BranchList::clear, size, getColor, setColor, setSelected,
3351 allBranches, allSelected, separator): removed.
3352 (BranchList::find): new functions, returning the Branch with
3354 (BranchList::add, remove): return a bool indicating that
3355 the operation was successful.
3357 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3358 new InsetBranch::isBranchSlected member function.
3360 * LColor.[Ch]: mimimize the API.
3361 (fill): renamed as addColor and made private.
3362 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3363 versions of these functions taking a string arg have been removed.
3365 * bufferparams.C (readToken):
3366 * lyxfunc.C (dispatch):
3367 * lyxrc.C (read): changes due to the altered BranchList and
3370 * factory.C (createInset, readInset): changes due to altered
3373 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3376 * lyxfunc.C: remove insetminipage. "minipage-insert"
3377 now produces a frameless minipage box inset.
3379 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3381 * textcursor.[Ch] (selStart,selEnd): add new methods
3382 remove selection::start, end, use LyXCursor::operator<
3383 * lyxcursor.[Ch] (operator<): add
3384 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3385 * BufferView.[Ch] (unsetXSel): add
3386 * text2.C (clearSelection): use unsetXSel,adjust
3389 * rowpainter.C: adjust
3390 * bufferview_funcs.C (put_selection_at): adjust
3392 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3394 * BufferView_pimpl.C: small coord. correction
3396 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3398 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3399 dragging over the splash screen.
3401 2003-12-11 Angus Leeming <leeming@lyx.org>
3403 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3404 as it is now handled in LyXText::dispatch.
3406 * text3.C (doInsertInset): remove a level of nesting.
3408 2003-12-11 Angus Leeming <leeming@lyx.org>
3410 * factory.C (createInset): changes due to the changed interface to
3411 InsetCommandMailer::string2params.
3413 2003-12-10 Angus Leeming <leeming@lyx.org>
3415 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3416 'dialog-show-new-inset <inset name>'
3418 2003-12-10 Angus Leeming <leeming@lyx.org>
3420 * buffer.C: up the format to 227.
3422 * factory.C: the box inset is now identified simply by 'Box'.
3424 2003-12-10 Angus Leeming <leeming@lyx.org>
3426 * buffer.C: up the format to 226.
3428 * factory.C: the note inset is now identified simply by 'Note'.
3430 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3432 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3433 when a pit is enough. Standarize a couple of loops.
3435 2003-12-05 Angus Leeming <leeming@lyx.org>
3437 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3438 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3439 data to the re-worked "log" dialog.
3441 2003-12-03 André Pönitz <poenitz@gmx.net>
3447 * paragraph_funcs.C:
3449 * text2.C: use Inset::getText instead of Inset::getParagraph
3451 2003-12-03 André Pönitz <poenitz@gmx.net>
3455 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3456 InsetText::read() as LyXText::read()
3458 2003-12-02 Angus Leeming <leeming@lyx.org>
3460 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3461 type. Add a comment in the implementation that the function uses
3462 the stream's bad() function rather than fail() as the std::streams
3465 2003-12-02 André Pönitz <poenitz@gmx.net>
3467 * lyxlex.[Ch]: make interface more similar to std::stream
3469 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3471 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3473 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3475 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3477 * vspace.[Ch]: remove VSpace::NONE
3479 2003-12-01 André Pönitz <poenitz@gmx.net>
3482 * lyxtext.h: move ParagraphList member to LyXText
3483 rename LyXText::ownerParagraphs to LyXText::paragraph
3486 * bufferview_funcs.C:
3496 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3498 * undo.C: fix cursor positioning
3500 2003-12-01 John Levon <levon@movementarian.org>
3502 * BufferView_pimpl.C: fix a crash on exit with
3505 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3507 * BranchList.C: fix setSelected() method.
3509 2003-11-28 André Pönitz <poenitz@gmx.net>
3511 * ParagraphParameters.[Ch]:
3512 * ParameterStruct.h: remove space above/below from Paragraph to
3515 * BufferView_pimpl.C:
3521 * paragraph_funcs.C:
3527 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3529 * factory.C: Syntax change for CharStyles
3531 2003-11-28 André Pönitz <poenitz@gmx.net>
3536 * buffer.[Ch]: move LyXText member
3538 2003-11-28 André Pönitz <poenitz@gmx.net>
3540 * BufferView.[Ch]: make LyXText * text a private member
3542 * BufferView_pimpl.C:
3553 * output_plaintext.C: cleanup
3555 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3558 * lyxtextclass.[Ch]: parametrize SGML document header
3560 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3563 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3566 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3568 * text2.C (setFont): rework using PosIterator (no more recursive)
3569 (setCharFont): no more needed
3570 (setLayout): no more selection cursors fiddling (done by redoCursor)
3571 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3572 destroy remaining ones)
3574 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3576 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3578 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3581 * text3.C: adjust + re-allow multi par depth changes
3582 * textcursor.C: simplify a bit
3584 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3590 * src/output_docbook.C:
3591 * src/output_latex.C:
3596 * src/text2.C: Introducing a number of tags parametrizing various
3597 XML formats that we may want to support
3599 2003-11-25 André Pönitz <poenitz@gmx.net>
3601 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3603 * lyxtext.h (leftMargin/rightMargin): simplify interface
3610 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3612 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3613 master file to any child files. Fixes bug 546.
3615 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3617 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3619 2003-11-24 André Pönitz <poenitz@gmx.net>
3621 * rowpainter.C: simplification
3623 * text2.C (updateCounters): remove call to redoParagraph on
3624 changed labels as this is far too expensive.
3626 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3628 * converter.C (convert): fix a crash: this function gets
3629 called with buffer == 0 from importer code.
3631 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3633 * text3.C (cursorPrevious): make sure that we do not compare
3634 iterators form different containers.
3637 * rowpainter.C (paintSelection): make sure that we do not compare
3638 iterators from different containers.
3640 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3641 iterators from different ParagraphList containers.
3644 * text2.C (LyXText): change order of initialization slightly
3645 (operator=): new function. copy all variables except cache_par_
3646 (moveUp): make sure that we do not compare iterators from
3647 different ParagraphList constainers.
3650 * text.C (firstPar): new function
3651 (lastPar): new function
3652 (endPar): new function
3654 * lyxtext.h: move things around and group public functions, public
3655 variables, private functions, private variables
3657 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3659 * factory.C: change call to InsetERT constructor to avoid
3660 additional invocation of method status
3661 * text2.C (toggleInset): remove redundant update() call
3662 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3663 instead of a Bufferview pointer
3665 2003-11-21 André Pönitz <poenitz@gmx.net>
3667 * rowpainter.C: simplification
3669 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3671 * text3.C (dispatch): make possible to extend a word/row selection
3674 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3676 * lyxtext.h: x0_,y0_ -> xo_,yo_
3677 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3678 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3679 * rowpainter.C (paintRows): paint full paragraphs
3681 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3683 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3686 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3688 * lyxtext.h: add x0_, y0_
3689 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3690 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3692 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3694 * text2.C (setCursorIntern): move the x_target update here *
3695 * text3.C: change some bv() to true/false in calls to
3696 cursorUp/Down/Right/Left
3697 * cursor.C: use helper function.
3699 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3701 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3702 * paragraph_funcs.[Ch]: correct comment
3703 * rowpainter.C: do not paint selections away from bv->cursor()
3704 Fix a long standing selection painting bug.
3705 * text3.C: generalize mouse-selection code to LyXTexts other that
3707 * textcursor.C: do not use y coords if we can use par offsets
3709 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3711 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3712 cursor position after e.g. inset insert)
3714 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3716 * lyxfind.C (replace): adjust to locking removal + some
3719 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3721 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3724 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3727 * output_docbook.C: XML sanitation: new layout
3728 parameters InnerTag and CommandDepth
3730 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3732 * BufferView_pimpl.C:
3734 * text3.C: Fix the insertion and modification of button-style
3737 2003-11-13 André Pönitz <poenitz@gmx.net>
3739 * InsetList.[Ch]: remove deleteLyXText
3741 * paragraph.[Ch]: cache beginOfBody position
3746 * text3.C: remove superfluous update() calls
3750 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3752 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3753 * BufferView.C (fitLockedInsetCursor): remove
3754 * cursor.[Ch] (getDim): add
3755 * text.C (getRowNearY): add faster version
3756 * text3.C: remove some update calls
3758 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3770 * text3.C: The Character Style /XML short element patch.
3772 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3775 * factory.C: Small step to solving 'unable to insert some insets'
3778 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3780 * cursor.[Ch] (updatePos): new function for updating the y
3781 position of the tip inset
3782 * bufferview_funcs.C (put_selection_at):
3783 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3785 2003-11-11 André Pönitz <poenitz@gmx.net>
3787 * text.C: remove big comment on invalid Paragraph pointers as it is
3790 2003-11-11 André Pönitz <poenitz@gmx.net>
3792 * text_funcs.[Ch]: merge with ...
3800 * Makefile.am: remove text_funcs.[Ch]
3802 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3804 * cursor.C (getPos): return absolute cached y coord
3806 * BufferView_pimpl.C (fitCursor): new simplistic code
3807 (workAreaDispatch): add a fitCursor call
3809 2003-11-10 André Pönitz <poenitz@gmx.net>
3812 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3814 2003-11-10 André Pönitz <poenitz@gmx.net>
3816 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3817 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3818 indicate that the cursor needs to leave an inset
3820 * lyxtext.h: remove inset locking
3822 * cursor.[Ch]: re-implement functionality provided by inset locking
3825 * BufferView_pimpl.[Ch]:
3827 * bufferview_funcs.[Ch]:
3839 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3841 * PosIterator.[Ch]: replace the stack with a vector, add inset
3843 * iterators.[C]: adjust
3845 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3847 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3849 * paragraph_funcs.C (readParToken): put the correct id in the
3850 error item, not the id of the top paragraph
3852 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3854 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3855 * bufferview_funcs.C (put_selection_at): use the above
3857 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3859 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3861 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3863 * output_linuxdoc.h:
3864 * output_plaintext.h:
3866 * output_docbook.h: add #include statements
3868 2003-11-05 José Matos <jamatos@lyx.org>
3870 * output_docbook.[Ch]:
3871 * output_latex.[Ch]:
3872 * output_linuxdoc.[Ch]:
3873 * output_plaintext.[Ch]: New files for output formats.
3874 * output.[Ch]: New file for helper functions.
3877 * paragraph_funcs.[Ch]: output functions moved to new files.
3879 * outputparams.h: rename of latexrunparams.h
3887 * paragraph_funcs.[Ch]:
3888 * paragraph_pimpl.[Ch]:
3889 * tabular.[Ch]: rename ascii to plaintext
3890 and LatexRunParams to OutputParams.
3892 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3894 * iterators.[Ch] (text): require bv argument
3895 * undo.C (recordUndo):
3896 * lyxfunc.C (dispatch):
3897 * bufferview_funcs.C (put_selection_at): adjust
3899 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3901 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3903 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3905 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3908 2003-11-04 André Pönitz <poenitz@gmx.net>
3910 * cursor.[Ch]: restructure
3913 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3915 * iterators.[Ch] (asCursor): remove
3917 * lfuns.h: remove LFUN_INSET_EDIT
3923 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3925 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3927 * lyxfind.[Ch]: complete overhaul
3928 * BufferView_pimpl.C:
3930 * paragraph.[Ch] (insert): add
3932 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3936 * text.C: remove dead spellcheck code
3938 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * dispatchresult.h: add a val setter
3942 * cursor.C (dispatch): use a tempvar for data_[i]
3944 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3946 * PosIterator.[Ch]: compile fix
3948 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3950 * text.C (cursorPar): deactivate the cursor cache
3952 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3954 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3956 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * text3.C (dispatch): adjust for new DisptchResult semantics.
3960 * lyxfunc.C (dispatch): handle update when return from
3961 Cursor::dispatch, adjust for new DispatchResult semantics.
3963 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3964 DispatchResult(true) mean to not update. Add class functions for
3965 setting dispatched and update, as well as reading.
3967 * cursor.C (dispatch): don't handle update here
3969 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3972 * trans_mgr.C: adjust
3974 * paragraph_funcs.C (readParToken): exception safety
3976 * lyxvc.h: store the vcs pointer in a scoped_ptr
3979 * lyxsocket.C (serverCallback): exception safety
3981 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3983 * ispell.C (clone): make it return a auto_ptr
3985 * factory.C (createInset): exception safety
3986 (readInset): exception safety
3988 * bufferlist.C (newBuffer): exception safety
3990 * Thesaurus.C (Thesaurus): use initialization for aik_
3992 * MenuBackend.C (expandToc): exception safety.
3994 2003-11-03 André Pönitz <poenitz@gmx.net>
3998 * bufferview_funcs.C: remove getInsetFromId()
4001 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4007 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4009 * PosIterator.C (distance, advance): new
4010 * bufferview_funcs.[Ch] (put_selection_at): new
4011 * iterators.[Ch] (lockPath): new
4013 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4015 * iterators.[Ch] (asPosIterator): added
4016 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4017 * PosIterator.[Ch]: added
4019 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * cursor.C (dispatch):
4024 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4026 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4027 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4028 contructor, add a class function dispatched. Remove operator>=
4030 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * debug.C: only use the default constructor for debugstream
4035 * main.C (main): include debug.h and setup the lyxerr streambuf
4038 2003-10-31 José Matos <jamatos@lyx.org>
4040 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4042 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4043 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4044 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4045 * paragraph_pimpl.C (simpleTeXSpecialC):
4046 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4047 add LatexRunParams argument.
4049 * exporter.C (Export): change call accordingly.
4051 * latexrunparams.h: add new member to take care of the other backends.
4052 2003-10-30 José Matos <jamatos@lyx.org>
4054 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4055 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4056 factorise code for paragraph output.
4058 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4061 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * text3.C (dispatch):
4064 * lyxfunc.C (dispatch):
4065 * cursor.C (dispatch):
4066 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4068 * dispatchresult.h: make the dispatch_result_t ctor explicit
4070 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4073 * buffer.C: small refactoring of docbook stuff
4075 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4080 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4083 operator dispatch_result_t, and operators for == != and >=
4085 * cursor.C (dispatch): adjust for operator dispatch_result_t
4086 removal. comment out call to update
4088 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4090 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4101 * dispatchresult.h: new file, DispatchResult broken out of
4104 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4106 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4108 * text.C (rowBreakPoint): put a hack inside #if 0
4110 2003-10-28 André Pönitz <poenitz@gmx.net>
4114 * paragraph_funcs.C:
4117 * text2.C: general cleanup (lots of small stuff)
4119 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4121 * text2.C (cursorEnd): simple fix to the "end key goes to one
4122 before the end on last row" bug
4124 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4126 * text.C (backspace): fix the "zombie characters"
4128 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4130 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4132 2003-10-27 André Pönitz <poenitz@gmx.net>
4134 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4136 * factory.C: handle new InsetPagebreak, InsetLine
4138 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4139 and move handling into new InsetPagebreak, InsetLine
4141 * BufferView_pimpl.C:
4143 * ParagraphParameters.C:
4144 * ParameterStruct.h:
4149 * paragraph_funcs.C:
4150 * paragraph_pimpl.C:
4156 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4159 * lyxrow_funcs.[Ch]:
4165 * text3.C: remove lastPos uses in favour of Row::endpos
4167 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4169 * undo.C (performUndoOrRedo): fix two crashes by setting a
4170 cursor by hand and reordering some calls. Use bv->lockInset instead
4171 of inset->edit because the latter loses cursor information
4173 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4175 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4177 (rowBreakPoint): fix width. change point to point + 1.
4178 Add a missing check.
4180 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4183 * lyxfunc.C: fix (at least partly) the problems
4184 with the Nav menu and headers inside branch insets
4187 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4189 * paragraph.C (getChar): add strong asserts
4191 * lyxrow_funcs.C (lastPos): remove hideous hack
4193 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4194 (fill): adjust to that (avoid an infinite loop)
4196 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4198 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4200 2003-10-23 André Pönitz <poenitz@gmx.net>
4202 * RowList_fwd.h: change list<> to vector<> to gain speed
4203 after suggestion from Alfredo
4205 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4207 * lyxtext.h: move the bidi stuff from here...
4210 * Bidi.[Ch]: ... to here
4212 2003-10-23 André Pönitz <poenitz@gmx.net>
4215 * text.C (isLastRow, isFirstRow): new functions
4217 * paragraph.h: new width cache member
4219 * rowpainter.C: replace RowList::iterator with Row & where possible
4221 * lyxfunc.C: replace several view()->text with a single call
4223 * toc.C: fix 'unused' warning
4225 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4228 when woring with stream::pos_type
4229 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4231 2003-10-22 André Pönitz <poenitz@gmx.net>
4234 * text.C: use Row & instead of RowList::iterator
4236 * lyxrow.h: rename end() to endpos()
4242 2003-10-22 Angus Leeming <leeming@lyx.org>
4244 * buffer.[Ch] (fully_loaded): new member function, returning true
4245 only when the file has been loaded fully.
4246 Used to prevent the premature generation of previews and by the
4247 citation inset to prevent computation of the natbib-style label.
4249 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4250 templates are all set up.
4252 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4254 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4256 * text.C: fixed an "oops" in the "is a bit silly"
4259 2003-10-21 André Pönitz <poenitz@gmx.net>
4261 * FuncStatus.[Ch]: small stuff, whitespace
4263 * lyxfont.[Ch]: operator<<() for debug reasons
4267 * lyxtext.h: whitespace, spelling
4269 * paragraph.C: naming of variables
4272 * text2.C: small stuff
4275 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4277 * text.C: (1) finish off the inset display() work;
4278 (2) fix the "is a bit silly" bug (accessing char
4281 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4283 * text.C: re-introduce display() for insets, fixing the
4284 various bugs (stretch of line above, math inset
4287 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4289 * text.C (rightMargin): remove spurious semicolon
4291 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4294 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4296 * text3.C: fix one crash due to wrong cursor def
4298 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * vc-backend.C (scanMaster): make the regex static
4302 * LaTeX.C (scanAuxFile): make the regexs static
4304 * text3.C (doInsertInset, dispatch, dispatch):
4305 * text2.C (cursorUp, cursorDown):
4306 * text.C (selectNextWordToSpellcheck):
4307 * BufferView_pimpl.C (dispatch):
4308 * lyxfunc.C (dispatch): localDispatch -> dispatch
4310 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4312 * lyxsocket.C: include <cerrno>
4314 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * lyxfunc.C (dispatch): remove textcache stuff
4318 * bufferlist.C (release): remove textcache stuff
4321 * TextCache.C: delete file
4322 * TextCache.h: delete file
4324 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4326 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4327 delete of the bv_->text.
4328 (resizeCurrentBuffer): remove texcache stuff
4329 (workAreaResize): ditto
4331 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4336 2003-10-16 André Pönitz <poenitz@gmx.net>
4343 * text3.C: speed up by storing y positions per paragraph plus per-row
4344 offset instead of having a 'full' y position in the row.
4346 2003-10-15 André Pönitz <poenitz@gmx.net>
4350 * undo.[Ch]: make undo aware of inner insets
4352 2003-10-14 Angus Leeming <leeming@lyx.org>
4354 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4355 static member functions LyX::ref() and LyX::cref.
4356 (lastfiles): new accessor functions for the new lastfiles_ member var.
4357 (addLyXView, views_): add a new LyXView to the list of views_.
4358 (updateInset): loop over all LyXViews to call their own updateInset
4359 member function, returning a pointer to the Buffer owning the inset.
4361 * BufferView_pimpl.C (loadLyXFile):
4362 * MenuBackend.C (expandLastfiles):
4363 * bufferlist.C (MenuWrite, QuitLyX):
4364 lastfiles is no longer a global variable.
4365 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4367 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4368 static function. Access through LyX::cref().emergencyCleanup().
4370 2003-10-14 André Pönitz <poenitz@gmx.net>
4372 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4374 * undo.[Ch]: restoring part of 'undo in insets'
4377 * undo_funcs.[Ch]: merge with undo.[Ch]
4379 * tabular.C: small cleansing stuff
4381 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4383 * paragraph_funcs.C (readParToken): report unknown insets as error
4384 boxes. Use the outer paragraph as location (also for unknown
4387 * factory.C (readInset): do not abort on reading an unknown inset.
4388 Eat it and return 0.
4390 2003-10-13 Angus Leeming <leeming@lyx.org>
4392 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4394 * lyxrc.C: displayTranslator is now a function,
4395 declared in GraphicsTypes.h.
4397 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4399 * format.C: new placeholder $$a to pass the socket address.
4401 * bufferlist.[Ch]: new function getBufferFromTmp.
4403 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4404 files in the temporary dir.
4406 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4408 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4410 * Makefile.am: add lyxsocket.[Ch].
4412 * lyx_main.C (error_handler): handle SIGPIPE.
4414 2003-10-13 André Pönitz <poenitz@gmx.net>
4416 * BufferView_pimpl.C:
4421 * undo_funcs.[Ch]: use paroffset_type instead of
4422 ParagraphList::iterators to prevent multiple conversion
4423 (and get a more robust interface)
4425 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4429 * text3.C (dispatch): ditto
4431 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4434 move the onlyfile, use onlyfile instead of foundfile in a couple
4437 * DepTable.C (update): flush the error stream a bit more
4439 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * lyxserver.C (callback): adjust
4443 * lyxfunc.C (getStatus): add a missing brace in commented code
4444 (ensureBufferClean): reindent
4445 (dispatch): delete version taking a string
4447 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * LaTeX.C (deplog): move found file handlig from here...
4450 (handleFoundFile): .. to new function here.
4451 (deplog): make sure to discover several files mentioned on the
4454 2003-10-10 André Pönitz <poenitz@gmx.net>
4461 * text3.C: fix some of the tabular crashes
4463 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4465 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4467 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4469 2003-10-09 André Pönitz <poenitz@gmx.net>
4471 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4474 * BufferView_pimpl.C:
4475 * bufferview_funcs.C:
4486 * undo_funcs.C: adjust
4488 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4490 * text2.C (incrementItemDepth): new function, use a backtracking
4491 algorithm to discover the correct item depth.
4492 (resetEnumCounterIfNeeded): new function, use a backtracking
4493 algorithm to discover if counter reset is needed.
4494 (setCounter): use them. Simplify a bit. Add different labels for
4495 different item depths for itemize.
4497 * paragraph.C (Paragraph): remove initialization of enumdepth
4500 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4501 enumerate and itemize. Change the type of itemdepth to signed char.
4503 2003-10-08 André Pönitz <poenitz@gmx.net>
4505 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4510 * tabular.[Ch]: fix crash after 'row-insert'
4512 2003-10-08 Angus Leeming <leeming@lyx.org>
4514 Fix doxygen warnings.
4516 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4517 Remove CutAndPaste:: prefix from header file declaration.
4519 * LColor.h (fill): remove LColor:: prefix from declaration.
4521 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4522 use lyx::depth_type rather than Paragraph::depth_type so that
4523 header file and .C file match.
4525 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4527 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4528 * aspell.C: \file aspell_local.C -> \file aspell.C
4529 * gettext.C: \file gettext.C -> \file src/gettext.C
4530 * gettext.h: \file gettext.h -> \file src/gettext.h
4531 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4532 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4533 * text.C: \file text.C -> \file src/text.C
4535 * toc.C: move comment so that doxygen is not confused.
4537 2003-10-07 Angus Leeming <leeming@lyx.org>
4539 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4541 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4544 * aspell_local.h: add forgotten std::string's.
4546 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4553 * text3.C: The Box patch. Fancybox support, minipage, parbox
4555 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4561 * ParagraphParameters.h:
4571 * lyxtextclasslist.h:
4574 * paragraph_pimpl.C:
4575 * textcursor.h: add <string> and other small fixes to make Lars'
4576 std::string patch compile with STLport.
4578 2003-10-06 Angus Leeming <leeming@lyx.org>
4580 * LColor.h: Add missing #include <string>.
4582 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4584 * All most all file in all subdirs: Make <string> be the prefered
4585 way of getting to std::string, add using declarations.
4587 2003-10-06 André Pönitz <poenitz@gmx.net>
4589 * metricsinfo.C: initialize LyXFont before changing attribute.
4590 (fixes the 'math in \emph is upright' bug)
4592 2003-10-06 André Pönitz <poenitz@gmx.net>
4594 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4596 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4599 * paragraph_pimpl.C: Small fixes to build using STLport
4601 2003-10-02 André Pönitz <poenitz@gmx.net>
4604 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4606 2003-10-01 André Pönitz <poenitz@gmx.net>
4608 * factory.C: assert early
4610 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * lyx_main.C: remove the global debug object
4614 * debug.h: adjust for new debugstream
4616 * debug.C: adjust for new debugstream and keep the global debug
4619 2003-09-22 Angus Leeming <leeming@lyx.org>
4621 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4622 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4623 an incomplete class LyXFont.
4625 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4627 * factory.C: bug fix in branches
4629 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * lyxfunc.C (processKeySym): adjust
4633 (dispatch): change arg name from ev to func, adjust
4634 (sendDispatchMessage): ditto
4636 * lyx_main.C (defaultKeyBindings): adjust keybindings
4637 (deadKeyBindings): ditto
4639 * kbsequence.C (addkey): return a FuncRequest
4641 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4643 * kbmap.C (bind): take a FuncRequest as arg, adjust
4646 (defkey): change to take a FuncRequest as arg, adjust
4647 (findbinding): take a FuncRequest as arg, adjust.
4649 * funcrequest.h (operator=): added
4651 * funcrequest.C (FuncRequest): default kb_action changed from
4652 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4654 * buffer.C (dispatch): simplify
4655 (dispatch): adjust to take a FuncRequest as arg, adjust
4657 * boost.C (assertion_failed): change assertion message slightly
4659 * ToolbarBackend.C (read): simplify
4661 * MenuBackend.C (binding): adjust call to findbinding, add a
4662 message if no binding is found.
4664 (expandToc): correct by adding a empty FuncRequest
4666 * LyXAction.C: include <boost/assert.hpp>
4667 (isPseudoAction): delete function
4668 (LookupFunc): change name to...
4669 (lookupFunc): this. change return type to FuncRequest.
4670 (getActionName): take kb_action as arg, simplify
4671 (funcHasFlag): add an assert, simplify.
4673 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * toc.C (action): return a FuncRequest, simplify
4677 * lyxfunc.C (processKeySym): adjust
4678 (getStatus): delete version that takes an int.
4680 (dispatch): delete version that takes action as int
4682 (sendDispatchMessage): simplify and adjust
4684 * funcrequest.C (getArg): take unsigned int as arg
4686 * ToolbarBackend.C (read): adjust
4687 (add): delete version that takes func as a string.
4688 (getIton): take a FuncRequest as arg
4690 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4693 * MenuBackend.C (MenuItem): add a new construct that only takes a
4694 Kind, simplify the constructor use for submenus.
4696 (expandLastfiles): adjust
4697 (expandDocuments): adjust
4698 (expandFormats): adjust
4699 (expandFloatListInsert): adjust
4700 (expandFloatInsert): adjust
4701 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4703 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4704 Remove class variables lyx_pseudo_map and lyx_arg_map
4706 * LyXAction.C (searchActionArg): delete function
4707 (getPseudoAction): delete function
4708 (retrieveActionArg): delete function
4709 (LookupFunc): make it return kb_action, simplify.
4710 (getActionName): simplify
4712 * factory.C (createInset): fix new bug
4714 2003-09-19 Angus Leeming <leeming@lyx.org>
4716 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4717 masterFilename_ parameter in the include inset.
4719 * factory.C (createInset): changes due to the changes to InsetInclude.
4721 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4723 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4725 2003-09-18 Angus Leeming <leeming@lyx.org>
4728 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4729 Inset::fillWithBibKeys.
4730 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4732 2003-09-18 Angus Leeming <leeming@lyx.org>
4734 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4736 (ctor): pass and store a 'Buffer const &'
4737 (buffer): new member function.
4739 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4740 '*this' to the LaTeXFeatures ctor.
4742 2003-09-18 Angus Leeming <leeming@lyx.org>
4748 * text.C: rename EnumLColor as LColor_color.
4750 2003-09-18 Angus Leeming <leeming@lyx.org>
4752 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4753 remove #include "insets/insetbase.h" from cursor.h.
4755 2003-09-18 Angus Leeming <leeming@lyx.org>
4757 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4758 InsetOld_code to remove #include "inset.h".
4760 * iterators.C: add #include "insets/inset.h"
4762 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4764 * BufferView.C: remove more locking stuff that apparently doesn't
4765 do anything sensible.
4767 2003-09-16 André Pönitz <poenitz@gmx.net>
4770 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4773 2003-09-16 Angus Leeming <leeming@lyx.org>
4775 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4777 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4780 * paragraph.h: remove #include "lyxfont.h". Forward declare
4783 2003-09-16 Angus Leeming <leeming@lyx.org>
4785 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4786 of support/textutils.h.
4787 (isWord): move the contents of support/textutils.h's IsWordChar here.
4793 * text2.C: add #include "paragraph.h".
4796 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4798 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * LaTeX.C: use namespace alias for lyx::support::os
4806 2003-09-16 Angus Leeming <leeming@lyx.org>
4809 * bufferview_funcs.C:
4812 * paragraph_pimpl.C:
4814 * text.C: add #include "LColor.h".
4816 2003-09-16 Angus Leeming <leeming@lyx.org>
4818 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4819 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4821 Store the FontBits::color variable as an int rather than as an
4822 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4825 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4826 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4827 string calls together.
4829 * lyxrc.C: add #include "LColor.h".
4831 2003-09-15 Angus Leeming <leeming@lyx.org>
4833 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4836 2003-09-15 Angus Leeming <leeming@lyx.org>
4838 * LColor.h: add an EnumLColor wrapper for LColor::color.
4840 * lyxfont.[Ch] (color, setColor, realColor):
4841 * lyxtext.h, text.C (backgroundColor):
4842 pass EnumLColor args to/from the functions, rather than LColor::color
4846 * lyxtext.h: forward declare EnumLColor.
4848 * lyx_main.C: add #include "LColor.h".
4850 2003-09-15 Angus Leeming <leeming@lyx.org>
4852 * .cvsignore: add lyx-gtk.
4854 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * ParagraphParameters.C
4863 * bufferview_funcs.C
4873 * vc-backend.C: remove usage of STRCONV
4875 2003-09-15 Angus Leeming <leeming@lyx.org>
4877 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4878 explicitly define the color passed to the painter.
4880 2003-09-15 Angus Leeming <leeming@lyx.org>
4882 * bufferparams.C (BufferParams): reorder member initializers to avoid
4885 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4887 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4888 * text.C (updateRowPositions): remove an unusual nop
4890 2003-09-12 André Pönitz <poenitz@gmx.net>
4892 * BufferView_pimpl.C:
4901 * Counters.[Ch]: finish the 'automatic counters' job
4903 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4905 * aspell.C: include <boost/assert.cpp> (compile fix)
4907 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4909 * boost.C (assertion_failed): use lyx::support::abort instead of
4912 2003-09-10 Angus Leeming <leeming@lyx.org>
4914 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4915 with their _fwd progeny.
4917 2003-09-09 Angus Leeming <leeming@lyx.org>
4919 134 files throughtout the source tree: replace 'using namespace abc;'
4920 directives with the appropriate 'using abc::xyz;' declarations.
4922 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4924 * boost.C (emergencyCleanup): moved here from LAssert.c
4925 (assertion_failed): new function, called by BOOST_ASSERT
4927 * several files: change Assert to BOOST_ASSERT
4929 2003-09-09 Angus Leeming <leeming@lyx.org>
4931 * buffer.[Ch]: Add an Impl class and move Buffer's member
4932 variables into it. As a result move several header files out of
4935 Add header files to lots of .C files all over the tree as a result.
4937 2003-09-09 Angus Leeming <leeming@lyx.org>
4939 * buffer.[Ch]: make Buffer's member variables private. Add
4942 Lots of changes all over the tree as a result.
4944 2003-09-08 Angus Leeming <leeming@lyx.org>
4946 * graph.C: #include <config.h>.
4948 2003-09-08 Angus Leeming <leeming@lyx.org>
4952 * BufferView_pimpl.C:
4981 * toc.C: remove redundant using directives.
4983 2003-09-07 Angus Leeming <leeming@lyx.org>
4985 * LaTeXFeatures.h: remove #include "support/types.h".
4986 * ToolbarBackend.h: remove #include <algorithm>.
4987 * changes.h: remove #include <ctime>.
4988 * debug.h: remove #include <iosfwd>.
4989 * graph.h: remove #include "support/std_string.h".
4990 * lyx_main.h: remove #include <csignal>.
4991 * lyxlex_pimpl.h: remove #include <fstream>.
4992 * sgml.h: remove #include <algorithm>, <utility>.
4993 * toc.h: remove #include "support/std_ostream.h".
4994 Add #include <iosfwd>.
4996 2003-09-07 Angus Leeming <leeming@lyx.org>
4998 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5000 * converter.h: forward declare LatexRunParams.
5001 * encoding.h: remove #include "lyxrc.h".
5002 * lyxtext.h: remove #include "LColor.h".
5003 * lyxtextclass.h: remove #include "support/types.h".
5004 * trans.h: remove #include "tex-accent.h".
5005 * trans_mgr.h: remove #include "tex-accent.h".
5006 * insets/inset.h: remove #include "support/types.h", <vector>.
5007 * insets/insetcollapsable.h: remove #include "LColor.h".
5008 * insets/insetinclude.h: remove #include "dimension.h".
5009 * insets/insetlatexaccent.h: remove #include "dimension.h".
5010 * insets/insetoptarg.h:: remove #include "insettext.h".
5011 * insets/insettext.h: remove #include "dimension.h",
5012 <boost/shared_ptr.hpp>
5014 * insets/renderers.h: add #include "dimension.h".
5015 * insets/updatableinset.h: add #include "support/types.h".
5017 * many .C files: Associated changes.
5019 2003-09-06 Angus Leeming <leeming@lyx.org>
5021 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5022 one, inside testInvariant.
5024 * PrinterParams.C: new file.
5025 * PrinterParams.[Ch]: move the function bodies out of line.
5027 2003-09-06 Angus Leeming <leeming@lyx.org>
5029 * ParagraphParameters.h: forward declare ParameterStruct rather than
5030 including its header file.
5031 (depth): moved out-of-line.
5033 2003-09-06 Angus Leeming <leeming@lyx.org>
5035 * BufferView_pimpl.h:
5038 * lyxfunc.h: forward declare LyXKeySym rather than
5039 #include "frontends/LyXKeySym.h".
5041 * BufferView_pimpl.C:
5044 * lyxfunc.C: associated changes.
5046 2003-09-06 Angus Leeming <leeming@lyx.org>
5048 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5049 As a result, can remove the #include "insets/inset.h" from BufferView.h
5051 2003-09-06 Angus Leeming <leeming@lyx.org>
5053 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5054 As a result, can remove the #include "insets/inset.h" from BufferView.h
5056 2003-09-06 Angus Leeming <leeming@lyx.org>
5062 * bufferview_funcs.C:
5063 * BufferView_pimpl.C:
5068 * ParagraphParameters.C:
5073 * frontends/controllers/ControlDocument.C:
5074 * insets/insetcaption.C: rearrange the #includes into some sort of
5077 * buffer.h: remove #includes ErrorList.h, undo.h
5079 2003-09-06 Angus Leeming <leeming@lyx.org>
5081 * support/types.h: add a 'depth_type' typedef, used to store the
5082 nesting depth of a paragraph.
5085 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5086 defining explicitly.
5089 * paragraph_funcs.h:
5090 * ParagraphParameters.h:
5091 * sgml.h: use lyx::depth_type rather than Paragraph or
5092 ParameterStruct's depth_type.
5095 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5098 * BufferView_pimpl.C:
5100 * ParagraphParameters.C:
5103 * bufferview_funcs.C:
5110 * frontends/LyXView.C:
5111 * frontends/controllers/ControlDocument.C:
5112 * frontends/controllers/ControlErrorList.C:
5113 * insets/insetbibitem.C:
5114 * insets/insetbranch.C:
5115 * insets/insetcaption.C:
5116 * insets/insetcollapsable.C:
5117 * insets/insetenv.C:
5118 * insets/insetert.C:
5119 * insets/insetfloat.C:
5120 * insets/insetfoot.C:
5121 * insets/insetfootlike.C:
5122 * insets/insetnewline.C:
5123 * insets/insetquotes.C:
5124 * insets/insettabular.C:
5125 * insets/insettext.C:
5126 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5128 * frontends/controllers/ControlChanges.C: #include "changes.h".
5130 2003-09-06 Angus Leeming <leeming@lyx.org>
5132 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5133 than #including paragraph.h.
5136 * RowList.h: deleted. Superfluous.
5146 * insets/insettext.h: use ParagraphList_fwd.h rather than
5149 * paragraph.h: don't forward declare ParagraphList.
5152 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5153 rather than ParagraphList.h. paragraph.h is still needed for the
5154 Paragraph::depth_type parameters.
5156 * textcursor.h: enable it to compile stand-alone in light of the
5159 * bufferview_funcs.C:
5171 * frontends/controllers/ControlParagraph.C:
5172 * frontends/controllers/ControlTabular.C:
5173 * insets/insetmarginal.C:
5174 * insets/insetminipage.C:
5175 * insets/insetnote.C:
5176 * insets/insetoptarg.C: add header files needed to compile again.
5178 2003-09-06 Angus Leeming <leeming@lyx.org>
5180 * RowList_fwd.h: new file, forward-declaring Row rather than
5181 #including lyxrow.h.
5186 * insets/insettext.h: use it instead of RowList.h
5188 * bufferview_funcs.C:
5195 * text3.C: #include "RowList.h".
5197 2003-09-05 Angus Leeming <leeming@lyx.org>
5199 * factory.C (createInset):
5200 * vspace.C (c-tor): replace sscanf call with an istringstream.
5201 * ispell.C: re-add missing HP/UX headers.
5202 * lyxserver.C: re-add missing os2 headers.
5204 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5213 * text3.C: re-add missing system headers, needed for 2.95.2.
5215 2003-09-05 Angus Leeming <leeming@lyx.org>
5217 Changes most place everywhere due to the removal of using directives
5218 from support/std_sstream.h.
5220 2003-09-05 Angus Leeming <leeming@lyx.org>
5222 Replace LString.h with support/std_string.h,
5223 Lsstream.h with support/std_sstream.h,
5224 support/LIstream.h with support/std_istream.h,
5225 support/LOstream.h with support/std_ostream.h.
5227 Changes resulting throughout the tree.
5229 2003-09-05 Angus Leeming <leeming@lyx.org>
5231 * sgml.h: ensure that the header file can be compiled stand-alone.
5232 * *.C: strip out redundant #includes. (320 in total.)
5234 2003-09-04 Angus Leeming <leeming@lyx.org>
5236 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5237 here (from getPackages).
5239 * debug.[Ch]: add a new EXTERNAL tag.
5241 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5243 * text2.C (cursorEnd): simplify
5245 (getColumnNearX): adjust
5247 * text.C (computeBidiTables): adjust
5250 * rowpainter.C (paintChars): adjust
5251 (paintSelection): adjust
5252 (paintChangeBar): adjust
5255 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5257 (numberOfSeparators): adjust
5259 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5265 * text3.C: Restricts the mouse click functionality
5266 of insets like bibtex, include, toc and floatlist to the visible
5267 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5268 up the dialogs. Cursor has to be in front of the inset (i.e.
5269 start of row) for this to function.
5271 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5273 * bufferview_funcs.C (currentState): output row information
5275 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5277 * bufferview_funcs.C (currentState): output paragraph position
5279 2003-09-04 Angus Leeming <leeming@lyx.org>
5281 * FloatList.h: move out #include "Floating.h".
5282 * LaTeX.h: move out #include "DepTable.h".
5283 * LyXAction.h: move out #include "funcrequest.h".
5284 * buffer.h: move out #include "author.h", "iterators.h".
5285 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5286 * lyx_main.h: move out #include "errorlist.h".
5287 * lyxfunc.h: move out #include "FuncStatus.h".
5288 * lyxtext: move out #include "lyxcursor.h".
5289 * paragraph_pimpl.h: move out #include "counters.h".
5291 2003-09-03 Angus Leeming <leeming@lyx.org>
5293 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5294 preamble_snippets list, enabling us to add snippets to the preamble
5295 only if the snippet was not there already.
5297 2003-09-04 Angus Leeming <leeming@lyx.org>
5299 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5301 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5306 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5308 * BranchList.C: point fix, earlier forgotten
5310 2003-09-02 Angus Leeming <leeming@lyx.org>
5312 * box.C (contains): renamed from 'contained' after a fantastic
5315 2003-09-02 John Levon <levon@movementarian.org>
5321 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5323 2003-09-02 John Levon <levon@movementarian.org>
5325 * text2.C: simplification of cursorEnd(), including partial
5328 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * buffer.C (readFile): add a space
5332 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5334 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5336 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * buffer.C (readFile): new function, take a filename and a
5339 ParagraphList::iterator
5341 (readFile): adjust, make it private. don't use setStream, make
5342 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5343 always contain the filename.
5345 * BufferView.C (insertLyXFile): simplify and make it work for
5348 2003-08-30 John Levon <levon@movementarian.org>
5350 * Makefile.am: fix dist (from Kayvan)
5352 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5354 * most files: change to use const Buffer refs
5356 2003-08-27 André Pönitz <poenitz@gmx.net>
5358 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5359 on top of ownerPar().
5361 2003-08-27 John Levon <levon@movementarian.org>
5363 * funcrequest.C: properly initialise POD members
5365 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5367 * lyxtext.h (top_y): move top_y from here
5372 * BufferView_pimpl.[Ch]: to here
5373 * frontends/screen.C:
5374 * insets/insettabular.C:
5375 * insets/insettext.C: adjust
5376 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5378 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5381 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5383 2003-08-26 André Pönitz <poenitz@gmx.net>
5385 * paragraph_func.[Ch] (outerPar): new function
5388 * paragraph_funcs.C:
5389 * paragraph_funcs.h:
5390 * paragraph_pimpl.C:
5391 * text2.C: remove Inset::par_owner
5393 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5398 * text2.C: eliminates the needFullRow/display() stuff
5399 altogether, putting the logic in metrics/draw in the insets.
5401 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5403 * text2.C (redoParagraphInternal, redoParagraphs):
5404 * text.C (redoParagraph): add a call to updateRowPositions at the
5405 end of each 'metrics-like' call. Remove all others.
5406 (getRow): remove the 'y-computing' version.
5407 (getRowNearY): do not compute nor return the real y. Solve the
5408 'y < 0' problem and simplify.
5410 2003-08-22 Angus Leeming <leeming@lyx.org>
5412 * *.[Ch]: clean-up of licence and author blurbs.
5413 Also move config.h out of a few .h files and into a few .C files.
5415 2003-08-22 André Pönitz <poenitz@gmx.net>
5417 * lyxrow.[Ch]: add x_ and *fill_ members
5422 * text2.C: adjust/remove prepareToPrint() calls
5424 2003-08-22 André Pönitz <poenitz@gmx.net>
5426 * lyxrow.[Ch]: add end_ member
5428 * lyxrow_funcs.C: use LyXRow::end_
5430 * lyxtext.h (singleWidth): add LyXFont parameter
5433 * text2.C: adjust LyXText::singleWidth() calls
5435 * text.C (redoParagraph): simplify row breaking logic
5438 2003-08-19 André Pönitz <poenitz@gmx.net>
5440 * funcrequest.C: initialize button_ member
5443 * rowpainter.[Ch]: interface consolidation
5445 2003-08-18 André Pönitz <poenitz@gmx.net>
5448 * BufferView_pimpl.C:
5450 * paragraph_funcs.C:
5452 * text3.C: remove LyXScreen::draw() and fitCursor calls
5454 * BranchList.h: remove spurious semicolons
5456 * MenuBackend.C: fix branchlist related crash
5458 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5466 * bufferparams.[Ch]:
5470 * text3.C: implements the 'branch inset'
5471 idea. This allows the output of various versions of a document
5472 from a single source version, selectively outputing or suppressing
5473 output of parts of the text.
5474 This implementation contains a 'branch list editor' in a separate
5475 tab of the document settings dialog. Branches are user definable
5476 and have a "display colour" to distinguish them on-screen.
5478 ColorHandler was somewhat cleaned up.
5479 (1) make possible a dynamically growing LColor list by allowing
5480 the graphic context cache to grow along (vector);
5481 (2) eliminate an IMHO unnecessary step in colour allocation.
5483 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5485 * BufferView_pimpl.C: compile fix
5487 2003-08-15 André Pönitz <poenitz@gmx.net>
5489 * rowpainter.C: remove extra metrics calls
5491 * lyxtext.h: merge the two constructors into a single one,
5492 pass reference to owner's par list
5494 * BufferView_pimpl.C:
5498 2003-08-15 André Pönitz <poenitz@gmx.net>
5500 * lyxrow_funcs.[Ch]:
5503 * paragraph_funcs.C:
5508 * text_funcs.C: split LyXText::rowlist_ into individual
5509 Paragraph::rows_ chunks
5512 * BufferView_pimpl.[Ch]:
5515 * text3.C: remove toggleSelection()
5517 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5519 * bufferlist.C: beautify two alerts (shorter text of buttons)
5520 * buffer.C: Remove redundant ' ' from message
5522 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5523 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5524 rename VALIGN_CENTER to VALIGN_MIDDLE
5526 2003-08-11 André Pönitz <poenitz@gmx.net>
5528 * lyxtext.h (getPar):
5529 * text.C: new function
5531 2003-08-11 André Pönitz <poenitz@gmx.net>
5534 * tracer.[Ch]: remove unneeded files
5536 * InsetList.[Ch]: remove resizeInsetsLyXText()
5541 * text3.C: merge insertParagraphs() and appendParagraph()
5542 remove breakAgain(), update()
5544 * BufferView_pimpl.[Ch]:
5545 * bufferview_funcs.[Ch]:
5549 * tabular.C: adjust after text & InsetList changes.
5551 2003-08-08 André Pönitz <poenitz@gmx.net>
5553 * text.C (insertChar, backspace): replace rowlist fiddling
5554 with rebreak of full par
5557 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5558 checkParagraph, updateInset): removed
5560 2003-08-07 André Pönitz <poenitz@gmx.net>
5563 * text3.C: merge some LFUN handlers, remove dead code
5565 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5567 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5569 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5571 * text2.C (DEPM): fix part of bug 1255 and 1256
5573 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5575 * BufferView_pimpl.C (workAreaDispatch): change to use
5576 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5577 that are no mouse related.
5579 2003-08-05 André Pönitz <poenitz@gmx.net>
5582 * BufferView_pimpl.[Ch]:
5583 * bufferview_funcs.C:
5585 * text3.C: rip out "deep update"
5587 * textcursor.[Ch] (last_sel_cursor): remove unused member
5589 2003-08-04 André Pönitz <poenitz@gmx.net>
5592 * BufferView_pimpl.[Ch]:
5593 * ParagraphParameters.C:
5594 * bufferview_funcs.C:
5600 * text3.C: replace "complicated" BufferView::update(...) calls with
5603 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5605 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5607 * Makefile.am (lyx_SOURCES): add paper.h
5609 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5611 * Makefile.am: move things around so that both lyx-qt and
5612 lyx-xforms can be built (according to --with-frontend). Then lyx
5613 is a symbolic link to lyx-[firstfrontend]
5615 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5617 * Always use std::endl with lyxerr
5619 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5621 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5623 2003-08-01 André Pönitz <poenitz@gmx.net>
5626 * BufferView_pimpl.[Ch]:
5628 * text3.C: merge BufferView::repaint() and BufferView::update()
5630 2003-08-01 José Matos <jamatos@lyx.org>
5632 * buffer.[Ch]: file_format is no longer a buffer data element.
5634 2003-08-01 André Pönitz <poenitz@gmx.net>
5639 * text2.C: make redoParagraph more independent of current cursor
5641 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5643 * text2.C: remove unneeded members
5645 2003-07-30 André Pönitz <poenitz@gmx.net>
5647 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5649 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5650 create a single function...
5652 * paragraph_funcs.C (moveItem): ... here.
5655 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5657 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5659 * LColor.[Ch]: Add comment and greyedout logical colors.
5661 2003-07-30 André Pönitz <poenitz@gmx.net>
5663 * tabular.C: don't use Assert too heavily. This crashes where it
5666 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5668 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5669 is disabled (bug 1232)
5671 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5673 * factory.C: limited 'arg' scope
5675 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5677 * factory.C: fixed Note submenu issues
5679 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5681 * factory.C: submenu for Note/Comment/Greyedout
5683 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5686 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5688 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5691 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5692 greyedout. Patch provided by Jürgen Spitzmüller.
5694 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5696 * kbmap.C (read): fix error message when reading bind files
5698 2003-07-29 Angus Leeming <leeming@lyx.org>
5700 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5701 certainly does not do what it purports to do. I am doing it, and
5702 us, a favour by killing it.
5704 2003-07-28 José Matos <jamatos@lyx.org>
5706 * buffer.C (readBody, do_writeFile):
5707 * paragraph.C(readParagraph): \end_document replaces \the_end.
5709 2003-07-29 André Pönitz <poenitz@gmx.net>
5712 * BufferView_pimpl.[Ch]:
5716 * textcursor.[Ch]: remove toggleToggle & Co
5718 2003-07-28 José Matos <jamatos@fep.up.pt>
5720 * buffer.C (readParagraph):
5721 * params_func (readParToken, readParagraph):
5722 * paragraph.C (write): \layout -> \begin_layout.
5724 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * lyxlex_pimpl.C (setFile): clean up slightly.
5728 * bufferparams.h: add compressed var
5730 * buffer_funcs.C (readFile): adjust for LyXLex change
5731 (newFile): ditto + simplify
5733 * buffer.C (writeFile): handle writing of compressed files
5735 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5736 Check if the file is compressed and set a bufferparm if so.
5738 * Makefile.am (lyx_LDADD): remove explicit -lz
5740 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5742 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5743 makeDocBookFile): put the real LyX version in the first line of
5747 * version.C.in: remove lyx_docversion
5749 * tabular.C (write_attribute): add a template-based version to
5750 write enums properly
5752 2003-07-28 André Pönitz <poenitz@gmx.net>
5757 * text3.C: use doubles again for x-coordinates. They are needed.
5759 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * messages.C (getLocaleDir): use lyx_localedir()
5763 * lyxlex_pimpl.C (setFile): compress stuff
5765 * buffer.C (writeFile): add some compression stuff
5766 (do_writeFile): new func, dont call expliti close... will this
5769 * Makefile.am (lyx_LDADD): add -lz
5771 2003-07-28 José Matos <jamatos@fep.up.pt>
5773 * buffer.C: increment file format.
5774 * paragraph_funcs (readParagraph, readParToken):
5775 * paragraph.C (readParagraph): add \end_layout.
5777 2003-07-27 Angus Leeming <leeming@lyx.org>
5779 * Makefile.am: remove special casing for configure-time setting of
5780 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5782 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5783 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5785 2003-07-26 André Pönitz <poenitz@gmx.net>
5787 * paragraph_func.[Ch]:
5788 * paragraph.C (realizeFont): inline it whereever it is used
5793 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5796 2003-07-26 André Pönitz <poenitz@gmx.net>
5800 * text2.C: get rid of LyXText::need_break_row
5802 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5804 * toc.[Ch]: put namespace toc inside namespace lyx
5806 * MenuBackend.C (expandToc2): adjust for lyx::toc
5809 * lyxfunc.C (dispatch): adjust for lyx::find
5811 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5812 lyx::find instead. Reorganize a bit.
5813 (LyXReplace): rename to replace
5814 (LyXFind): rename to find
5816 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5819 2003-07-26 André Pönitz <poenitz@gmx.net>
5821 * text.C (setHeightOfRow): restrict scope of temporary variable
5823 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5824 code (never has been used?)
5826 2003-07-27 Asger Alstrup <alstrup@local>
5828 * text.C (fill): Optimise algorithm to exploit that we can reuse
5829 the LyXFont for many characters.
5830 (setHeightOfRow): Same thing.
5831 (rowBreakPoint): Same thing.
5833 2003-07-26 Asger Alstrup <alstrup@local>
5835 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5837 * text.C (singleWidth): Spurious font copying in hot-spot
5838 singleWidth avoided. Reorder tests for arabic for efficiency.
5840 * text.C (fill): handle empty paragraphs better.
5842 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5845 * encoding.h: add includes
5847 * lyxrc.C: remove reading of bind files
5849 * lyx_main.C (init): setup bindings and menus only if we have a
5852 * kbmap.C (read): new method. Do the actual reading of bind
5855 * converter.C (dvipdfm_options):
5858 (output): adapt PAPER_* enums.
5860 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5862 * bufferparams.h: remove paper-related enums from there
5864 * paper.h: New file. A trivial header file to hold paper-related
5865 enums. It should later expand to contain many paper-related
5868 * lyxrc.C: declare extern displayTranslator
5870 2003-07-27 José Matos <jamatos@fep.up.pt>
5872 * tabular.[Ch] (linuxdoc): add support for tables and figures
5875 2003-07-27 José Matos <jamatos@fep.up.pt>
5877 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5878 consistency in both functions.
5879 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5881 2003-07-26 Asger Alstrup <alstrup@local>
5883 * rowpainter.C (paintRows): Change algorithm to work directly on
5884 the insets rather than asking every character in the document
5885 whether its an inset.
5887 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5889 * buffer.C (openFileWrite): factorize some code
5891 2003-07-26 Angus Leeming <leeming@lyx.org>
5894 * lyx_main.[Ch]: replace occurances of system_tempdir with
5897 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5899 * rename Inset to InsetOld
5901 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5903 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5904 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5905 which I think is a bit clearer. EDIT is gone, since it was
5906 premature optimisation, and broken for mathed anyway.
5907 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5908 with cursor positioning in insets as well (math insets still do not
5909 work, but that's a different story anyway.) It mysteriously
5910 crashes sometimes with undo in the first paragraph, but I'm fairly
5911 confident that this is a compiler bug.
5913 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * paragraph.C (Paragraph): adjust for new clone return type
5917 (copyIntoMinibuffer): ditto
5919 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5921 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5922 by not having a special case, and always doing a full rebreak of
5923 the document after undo.
5925 2003-07-23 Angus Leeming <leeming@lyx.org>
5927 * factory.C (createInset): InsetExternal::setParams now takes a
5930 2003-07-23 Angus Leeming <leeming@lyx.org>
5932 * factory.C (createInset): changed interface to the external and
5933 graphics mailers' string2params functions.
5935 2003-07-23 Angus Leeming <leeming@lyx.org>
5937 * factory.C (createInset): pass a
5938 Buffer const * parameter to InsetExternalMailer's string2params.
5940 2003-07-22 John Levon <levon@movementarian.org>
5942 * Thesaurus.h: include the right aiksaurus header
5944 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5946 * MenuBackend.C (expand): check menu shortcuts unconditionally
5948 2003-07-21 Angus Leeming <leeming@lyx.org>
5950 * factory.C (createInset): pass a
5951 buffer_path parameter to InsetGraphicsMailer's string2params.
5953 2003-07-21 Angus Leeming <leeming@lyx.org>
5955 * BufferView_pimpl.C (buffer):
5958 * lyxfunc.C (dispatch):
5959 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5960 rather than the grfx shortcut.
5962 2003-07-21 André Pönitz <poenitz@gmx.net>
5964 * rowpainter.C: remove unused variables
5967 * tabular_funcs.h: move to tabular.C
5968 * Makefile.am: adjust
5970 * tabular.[Ch]: basic optical cleaning
5972 * author.h: pass references, not values
5974 2003-07-18 André Pönitz <poenitz@gmx.net>
5982 * text3.C: two-phase drawing for InsetText and InsetTabular
5983 some float -> int changes.
5985 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5987 * lyx_main.C: fix the fix
5989 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5991 * lyx_main.C: fix a crash in batch mode if no files specified
5994 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5996 * format.[Ch] (papersize): moved to BufferParams
5997 * converter.[Ch] (dvips_options): moved to BufferParams
5998 (dvipdfm_options): moved to anon namespace
5999 * bufferparams.[Ch]: added above functions.
6001 2003-07-17 André Pönitz <poenitz@gmx.net>
6005 * text2.C: don't call inset->update() anymore
6007 * metricsinfo.[Ch]: add convenience constructor
6009 2003-07-16 André Pönitz <poenitz@gmx.net>
6014 * text2.C: replace the LyXCursor::irow_ member with
6015 on-demand computation of the value
6017 2003-07-16 John Levon <levon@movementarian.org>
6019 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6021 2003-07-15 André Pönitz <poenitz@gmx.net>
6024 * text2.C: remove no more needed refresh_row
6026 2003-07-15 André Pönitz <poenitz@gmx.net>
6031 * text3.C: refresh_status tristate -> need_update bool
6033 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6035 * lyxtext.h (init): remove reinit argument (act as if always true)
6036 * text2.C: adjust to that
6038 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6040 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6041 * text3.C: use it to delete selections in some cases
6042 (bugs 441, 673, 702, 954).
6044 2003-07-14 André Pönitz <poenitz@gmx.net>
6046 * rowpainter.[Ch]: reduce interface
6048 2003-07-14 André Pönitz <poenitz@gmx.net>
6050 * BufferView_pimpl.C:
6051 * text2.C: adjust after removing unused BufferView * argument
6053 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6055 * text2.C (init): fix a crash fired on resize
6057 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6059 * buffer.[Ch]: added new closing signal
6060 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6061 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6062 BufferView::Pimpl via the closing the signal
6064 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6066 * buffer.[Ch]: take out all bv-related from buffer
6068 * BufferView_pimpl.[Ch]: connect to new signals
6069 * CutAndPaste.C: removed useless asserts
6070 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6073 * lyxfunc.C: moved view-related funciontality from vc here
6074 * paragraph.C: removed outdated comments
6077 2003-07-10 André Pönitz <poenitz@gmx.net>
6079 * BufferView_pimpl.C:
6083 * text2.C: remove InsetText::InnerCache, clean up consequences
6085 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6087 * ispell.C: fix two typos in error messages
6089 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6091 * Extend Note inset to other forms of annotation like Comment
6092 and Greyedout. Right button click gives dialog.
6094 Files modified or added (+):
6098 * ControlNote.[Ch] +
6100 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6101 frontends/controllers
6105 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6107 * aspell.C: add missing namespace lyx::support
6109 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6111 * BufferView.[Ch] (newFile): Add
6112 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6113 * LaTeX.[Ch] (message): added this signal and use it
6114 * buffer.[Ch] (busy, message): added these signals and use them
6115 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6119 * importer.C: use buffer signals instead of direct bv calling
6120 * lyx_cb.[Ch] (ShowMessage): removed
6123 * paragraph_funcs.C:
6124 * text2.C: use buffer signals
6126 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * introduce namespace lyx::graphics
6130 2003-07-02 André Pönitz <poenitz@gmx.net>
6132 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6134 2003-07-01 André Pönitz <poenitz@gmx.net>
6141 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6142 text*.C to text_func.C
6144 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * introduce namespace lyx::support
6148 2003-06-30 André Pönitz <poenitz@gmx.net>
6153 * text.C: re-enable --with-included-string
6155 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * textcursor.C: add <config.h>
6159 * text.C (getWord): remove const from word_location arg
6161 * lyxvc.C (getLogFile): fix const type order
6163 * lyxtext.h: remove const from word_location arg, add arg name
6165 * lyxlayout.h: currect type on labeltype.
6167 * importer.C: correct \file
6169 * converter.C (intToFormat): use std:: on ret val, ws changes
6171 * bufferlist.h: correct \file
6173 * buffer.C (makeLinuxDocFile): fix const type order
6174 (makeDocBookFile): ditto
6175 (fillWithBibKeys): use std:: on stdlib args.
6177 * CutAndPaste.C: fix authors.
6178 (availableSelections): use std:: on return vector
6180 2003-06-27 André Pönitz <poenitz@gmx.net>
6182 * BufferView_pimpl.C:
6183 * bufferview_funcs.C:
6191 * text3.C: remove LyXCursor::row_ member
6194 * text.C: rename fullRebreak() to partialRebreak() and implement
6195 a fullRebreak() that really bereks fully
6197 * textcursor.h: new struct for cursor-related data
6199 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6201 * lyx_main.C (LyX): get full path of document loaded on the
6204 2003-06-26 André Pönitz <poenitz@gmx.net>
6206 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6207 remove unused/broken operator>,<,>=.
6209 * text.C: remove only use of broken operator<= in an Assert().
6211 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6213 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6214 moved errorlist_.clear to showErrorList
6216 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6218 * converter.C (scanLog, runLaTeX):
6219 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6220 move the bv->showErrorList call to the callers
6221 * lyxfunc.C: i.e. here...
6223 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6224 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6225 namespace, the second to...
6226 * buffer_funcs (BufferFormat, parseErrors): added
6227 * errorlist.C (ErrorList(TeXErrors const &)): removed
6229 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6231 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6233 2003-06-24 "Garst R. Reese" <reese@isn.net>
6237 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6239 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6241 * version.C.in: change docversion to 1.4
6243 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6245 * buffer.C: fix a bug just introduced
6247 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6249 * buffer.[Ch]: added the parseError signal and use it, removed
6251 * BufferView.[Ch] (addError): moved to ...
6252 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6253 to the Buffer::parseError signal to catch (guess what) parse errors
6254 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6256 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6258 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6259 ability to create a buffer and to return an existing one from
6260 the list. Moved these functions to...
6261 * buffer_funcs.[Ch]: added
6262 * BufferView.[Ch] (loadLyXFile): added
6263 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6264 job removed from bufferlist::loadLyXFile.
6265 * buffer.C (setReadOnly): make it work without view
6266 (i.e added an if (users))
6268 2003-06-19 Angus Leeming <leeming@lyx.org>
6271 * LyXAction.C (init):
6272 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6273 with LFUN_DIALOG_SHOW <name> <data>.
6275 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6277 * CutAndPaste.C (availableSelections): small compilation fix for
6278 ancient (gcc 2.9x) compilers
6280 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * text3.C (cursorNext): add tmp var
6284 * text2.C (updateCounters): for function calling out of for clause
6285 (replaceSelectionWithString): ditto
6286 (insertStringAsParagraphs): ditto
6287 (getColumnNearX): add tmp var
6288 (setCursorFromCoordinates): add tmp var
6289 (cursorDownParagraph): add tmp var
6290 (deleteEmptyParagraphMechanism): add tmp var
6292 * text.C (insertChar): add tmp var
6294 * rowpainter.C (paintDepthBar): add tmp var
6296 * CutAndPaste.C (availableSelections): potentially check all
6297 paragraphs in a cut to fill the shown strings.
6299 2003-06-18 André Pönitz <poenitz@gmx.net>
6301 * kbmap.[Ch]: use vector<> instead of list<>
6303 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6305 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6306 pasteSelection with index
6308 * text2.C (pasteSelection): modify, call pasteSelection with index
6310 * paragraph.C (asString): reimplement version with no interval to
6311 call the one with interval.
6313 * lyxtext.h: add index arg to pasteSelection
6315 * MenuBackend.C (MenuItem): handle PasteRecent
6316 (Menu::read::Menutags): add md_pasterecent
6318 (expandPasteRecent): new function
6321 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6323 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6325 (availableSelections): new function
6327 2003-06-17 Angus Leeming <leeming@lyx.org>
6329 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6331 2003-06-17 Angus Leeming <leeming@lyx.org>
6334 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6336 * lyxfunc.C (dispatch): invoke it.
6338 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6340 * iterators.C (operator++, ParPosition): reintroduce some
6341 const_cast for the benefit of older compilers.
6343 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6345 * text3.C (dispatch): do not modify clipboard when doing
6346 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6347 LFUN_DELETE_SKIP on a selection selection
6349 2003-06-16 André Pönitz <poenitz@gmx.net>
6355 * tabular.[Ch]: IU of clone() and getLabelList();
6357 2003-06-13 André Pönitz <poenitz@gmx.net>
6359 * tabular.h: compactification
6361 2003-06-12 André Pönitz <poenitz@gmx.net>
6365 * tabular_funcs.h: some renaming plus whitespace
6367 2003-06-12 André Pönitz <poenitz@gmx.net>
6370 * BufferView_pimpl.C:
6376 * toc.C: Return a Paragraph & for ParIterator::operator*()
6378 2003-06-11 John Levon <levon@movementarian.org>
6382 * ToolbarBackend.C: add "Toolbars" section and
6385 2003-06-10 Angus Leeming <leeming@lyx.org>
6388 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6390 * lyxfunc.C (dispatch): invoke it.
6392 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6394 * main.C: protect <ios> with HAVE_IOS
6395 (main): protect sync_with_stdio with HAVE_IOS
6397 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6399 * text2.C (cutSelection): adjust
6400 (pasteSelection): adjust
6402 * messages.C: handle get of empty string
6404 * main.C (main): use sync_with_stdio(false)
6406 * lyxfunc.C (dispatch): adjust
6408 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6409 (WriteAs): remove unneeded BufferView arg.
6411 * bufferparams.h: use correct types on papersize, papersize2 and
6414 * bufferparams.C (readToken): adjust for type
6415 (writeLaTeX): add missing cases to switch.
6417 * bufferlist.C (quitWriteBuffer): adjust
6420 * buffer.C (asciiParagraph): remove some commented code.
6422 * CutAndPaste.C: remove current_view extern variable.
6423 (cutSelection): add BufferParams arg.
6424 (eraseSelection): add BufferParams arg.
6425 (pasteSelection): add Buffer const & arg
6427 2003-06-07 John Levon <levon@movementarian.org>
6430 * paragraph_funcs.C:
6431 * paragraph_pimpl.C:
6435 * paragraph.C: allow InsetERT to freely space lines,
6436 and some consolidation of code
6438 2003-06-06 José Matos <jamatos@fep.up.pt>
6440 * buffer.C (makeDocBookFile): fix bug #821
6442 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6444 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6446 2003-06-04 Angus Leeming <leeming@lyx.org>
6448 * buffer.C: bump format to 224.
6450 2003-06-05 André Pönitz <poenitz@gmx.net>
6452 * text2.C (redoParagraphs): remove two const_cast<>
6454 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6456 * ParagraphList.h: remove last remnants of NO_STD_LIST
6458 2003-06-03 Angus Leeming <leeming@lyx.org>
6460 * factory.C (createInset): small change to the way InsetExternal's params
6463 2003-06-04 André Pönitz <poenitz@gmx.net>
6465 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6467 * paragraph_pimpl.h:
6468 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6470 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6472 * undo_funcs.C: make some simple cases of undo work again
6474 2003-06-03 John Levon <levon@movementarian.org>
6476 * ispell.C: HPUX doesn't have sys/select.h
6479 2003-06-03 John Levon <levon@movementarian.org>
6481 * CutAndPaste.C: update tabular and include inset
6486 * paragraph.C: remove owningBuffer(), don't pass Buffer
6489 * factory.C: insetGraphicsParams changed
6491 2003-06-02 John Levon <levon@movementarian.org>
6497 * text3.C: remove insetparent
6499 2003-06-02 John Levon <levon@movementarian.org>
6502 * buffer.C: fix inset_iterator.end(), move out of line
6505 2003-06-01 John Levon <levon@movementarian.org>
6507 * text3.C: use a proper cut/paste when doing inset
6508 insert (from Jürgen Spitzmüller)
6510 2003-06-01 John Levon <levon@movementarian.org>
6512 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6514 2003-05-30 André Pönitz <poenitz@gmx.net>
6516 * rowpainter.C: unify second drawing phase
6518 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * trans_mgr.C: remove one case of current_view
6522 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6524 * paragraph_funcs.h: remove paragraph.h include
6526 * paragraph.h: delete NO_STD_LIST stuff
6528 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6530 * buffer.h: remove paragraph.h include
6532 * ParagraphList.C: delete file
6534 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6536 * toc.C (getTocList): adjust
6538 * paragraph_pimpl.C (validate): adjust
6540 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6542 * paragraph.C (Paragraph): adjust
6543 (getPositionOfInset): use const_iterator, adjust
6544 (bibitem): use const_iterator, adjust
6545 (setInsetOwner): adjust
6547 * iterators.C (operator++): adjust
6549 * InsetList.[Ch]: Replace selfmade iterator with standard
6550 vector::iterator also introduce const_iterator. Remove getPos,
6551 getInset and setInset from InsetTable. Adjust accordingly.
6553 * BufferView.C (lockInset): adjust
6554 (ChangeInsets): adjust
6556 * tabular.[Ch]: delete commented same_id functions
6558 2003-05-28 John Levon <levon@movementarian.org>
6560 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6562 2003-05-28 André Pönitz <poenitz@gmx.net>
6564 * metricsinfo.[Ch]: remove 'fullredraw' member
6566 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6568 * lyxtextclass.C (operator): remove caching.
6570 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6574 * text2.C (cursorBottom): adjust
6575 (setCounter): use ParagraphList::find, adjust
6577 * text.C (workWidth): use ParagraphList::find, adjust
6579 * lyxcursor.C (LyXCursor): adjust
6581 * buffer.C (inset_iterator): adjust
6583 * ParagraphList.h: make iterator(value_type) private, make
6584 ParagraphList a friend of iterator.
6586 * ParagraphList.C (find): new function
6588 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6590 2003-05-27 André Pönitz <poenitz@gmx.net>
6592 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6594 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6596 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6598 2003-05-26 John Levon <levon@movementarian.org>
6600 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6602 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * remove same_id from function signatures, adjust.
6606 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6610 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6612 * paragraph.C (Paragraph): get rid of same_ids parameter
6614 * ParagraphList.C (insert): adjust
6617 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * paragraph_funcs.C (breakParagraph): adjust
6620 (breakParagraphConservative): adjust
6622 * buffer.C (readParagraph): adjust
6624 * ParagraphList.C (insert): take a reference instead of a pointer
6627 * paragraph.[Ch] (id): new function
6629 * bufferlist.C (newFile): adjust
6631 * ParagraphList.C (ParagraphList): adjust
6633 (push_back): take a reference instead of a pointer.
6635 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6637 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6640 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6641 set else use old code.
6643 * ParagraphList.C: remove all NO_NEXT code and only compile this
6644 code of NO_STD_LIST is set.
6646 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6648 * BufferView_pimpl.C:
6658 * graphics/GraphicsConverter.C:
6659 * graphics/PreviewLoader.C: header adjustment
6661 2003-05-23 Angus Leeming <leeming@lyx.org>
6663 * LaTeXFeatures.[Ch] (useBabel): new method.
6664 * bufferparams.C (writeLaTeX): use it.
6666 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6668 * ParagraphList.h (set): remove unused function.
6670 2003-05-23 André Pönitz <poenitz@gmx.net>
6673 * BufferView_pimpl.C:
6677 * undo_funcs.C: setUndo reworked
6679 * iterators.[Ch]: add access to topmost ParagraphList
6681 * lyxtext.[Ch] (workWidth): add a const
6683 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6685 * texrow.[Ch] (increasePos): remove function
6686 * exporter.C (export): removed unused var and outdated comment
6688 2003-05-23 Angus Leeming <leeming@lyx.org>
6690 * latexrunparams.h: rename fragile as moving_arg.
6691 * paragraph.C (simpleTeXOnePar): ditto.
6692 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6694 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6696 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6698 (textUndoOrRedo): comment out a currently unused var.
6700 * paragraph.h (NO_NEXT): enable NO_NEXT
6702 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6704 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6706 * exporter.C (Export): adjust for removeAutoInsets removal.
6708 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6710 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6712 * BufferView.[Ch] (removeAutoInsets): delete function
6714 2003-05-22 Angus Leeming <leeming@lyx.org>
6716 * latexrunparams.h: add a free_spacing variable.
6718 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6719 to pass moving_arg, as the data is stored in runparams.fragile.
6721 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6722 to Inset::latexOptional or to simpleTeXOnePar.
6724 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6725 free_spacing arg to Inset::latexOptional.
6727 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6730 2003-05-22 Angus Leeming <leeming@lyx.org>
6732 * latexrunparams.h: add fragile and use_babel variables.
6734 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6735 * buffer.C (makeLaTeXFile): store this returned value in
6736 runparams.use_babel, thus passing it to the inset::latex methods.
6738 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6739 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6741 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6742 longer has a fragile arg, as it is stored in runparams.fragile.
6744 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6745 moving_arg parameter as the data is stored in runparams.fragile.
6747 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6748 a fragile parameter as the data is stored in runparams.fragile.
6750 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6754 2003-05-22 Angus Leeming <leeming@lyx.org>
6756 * latexrunparams.h: add a 'bool nice' which defaults to false.
6758 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6759 now encapsulated within runparams.
6761 * bufferlist.C (updateIncludedTeXfiles):
6762 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6764 2003-05-22 Angus Leeming <leeming@lyx.org>
6766 * latexrunparams.h: new file containing struct LatexRunParams.
6767 * Makefile.am: add new file.
6769 * LaTeX.[Ch] (c-tor, run):
6770 * buffer.[Ch] (makeLaTeXFile):
6771 * bufferlist.[Ch] (updateIncludedTeXfiles):
6772 * converter.C (convert, scanLog):
6773 * converter.[Ch] (runLaTeX):
6774 * exporter.C (Export):
6775 * paragraph.[Ch] (simpleTeXOnePar):
6776 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6777 * paragraph_funcs.[Ch] (latexParagraphs):
6778 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6779 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6780 pass around a LatexRunParams parameter.
6782 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * paragraph.[Ch]: remove unused constructor
6786 * ParagraphList.C (erase): new function, taking two iterators
6788 2003-05-22 André Pönitz <poenitz@gmx.net>
6790 * undo_funcs.C: remove duplicated code
6792 * iterator.[Ch]: operator=
6794 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6796 * tabular.C (SetMultiColumn): ws changes
6798 * rowpainter.C (paintFirst): get rid of a ->previous
6800 * lyx_cb.C (getPossibleLabel): parlist simplification
6802 * BufferView.C (ChangeInsets): simplify slightly.
6804 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6806 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6807 * lfuns.h: new LFUN_SPACE
6808 * lyxfunc.C: protected space has a new lfun
6809 * paragraph_funcs.C: read new space insets
6811 * factory.C: handle new space insets
6813 2003-05-22 André Pönitz <poenitz@gmx.net>
6816 * BufferView_pimpl.C:
6819 * undo_funcs.C: return a ParIterator from getParFromID.
6821 * iterators.[Ch]: add two const's
6823 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * toc.C (getTocList): adjust
6827 * iterators.[Ch]: rework for parlist
6829 * buffer.C (par_iterator_begin): adjust
6830 (par_iterator_end): adjust
6832 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6834 * BufferView.C (removeAutoInsets): adjust
6835 (ChangeInsets): adjust
6837 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6839 * text.C (top_y): fix bug 1110
6841 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6843 * errorlist.[Ch]: added
6846 * BufferView_pimpl.C:
6847 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6850 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * Makefile.am: ensure that lyx is relinked upon changes to the
6853 various "convenience" libs.
6855 2003-05-20 Angus Leeming <leeming@lyx.org>
6857 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6858 files are compiled in alphabetical order again.
6860 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6862 2003-05-19 Angus Leeming <leeming@lyx.org>
6864 * gettext.[Ch]: remove "char const * _(char const *)".
6866 2003-05-19 André Pönitz <poenitz@gmx.net>
6868 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6877 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6879 2003-05-19 André Pönitz <poenitz@gmx.net>
6883 * lyxtextclass.[Ch]:
6885 * paragraph_funcs.[Ch]:
6887 * text3.C: more insetenv work
6889 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6891 * ParagraphParameters.C (params2string): small bug fixed
6893 2003-05-16 André Pönitz <poenitz@gmx.net>
6896 * bufferview_funcs.C: patch from Kornel Benko to prevent
6897 crash when _(...) is called twice in a statement
6899 2003-05-16 André Pönitz <poenitz@gmx.net>
6906 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6908 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6910 * lyx_main.C (init): remove spurious static_cast
6912 2003-05-14 André Pönitz <poenitz@gmx.net>
6914 * BufferView.C: fix format string
6916 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6918 * BufferView.[Ch] (insertErrors): removed
6919 * BufferView.[Ch] (showErrorList): added
6920 * buffer.C (runChkTeX):
6921 * converter.C (scanLog): call showErrorList instead of inserterrors
6923 2003-05-13 André Pönitz <poenitz@gmx.net>
6925 * BufferView_pimpl.C:
6927 * bufferview_func.C:
6934 * tabular_funcs.h: tostr() from its own header
6936 * ParagraphParameters.C:
6941 * text3.C: STRCONV()
6943 2003-05-12 André Pönitz <poenitz@gmx.net>
6946 * BufferView_pimpl.C:
6950 * ParagraphParameters.C:
6954 * bufferview_funcs.C:
6967 * paragraph_funcs.C:
6971 * text3.C: boost::format -> bformat all over the place
6974 2003-05-09 André Pönitz <poenitz@gmx.net>
6976 * LColor.[Ch]: Pimpl the #include <map> away
6978 2003-05-09 John Levon <levon@movementarian.org>
6980 * bufferlist.C: never remove emergency saves
6982 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6984 * Makefile.am: better lib building
6986 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6988 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6990 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6991 (simpleTeXSpecialChars): adjust
6992 (simpleTeXSpecialChars): adjust
6993 * paragraph.C (simpleTeXOnePar): adjust
6994 * buffer.C (makeLaTeXFile): adjust
6996 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6998 * text2.C (changeDepth): parlist cleanup
6999 (getColumnNearX): ditto
7001 * rowpainter.C (getLabelFont): parlist cleanup
7003 * bufferlist.C (newFile): parlist cleanup
7005 * CutAndPaste.C (eraseSelection): parlist cleanup
7007 * BufferView_pimpl.C (trackChanges): parlist cleanup
7010 * BufferView.C (lockInset): parlist cleanup.
7011 (ChangeInsets): ditto
7013 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7015 * CutAndPaste.h: Update file header.
7017 * CutAndPaste.C: Update file header.
7018 Store the parts cut out of the Document in a limited_stack.
7019 (copySelection): adjust
7020 (pasteSelection): new function, takes the index in the limited stack.
7021 (nrOfParagraphs): adjust
7022 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7023 simplify error inset insertion.
7024 (checkPastePossible): adjust
7026 2003-05-06 John Levon <levon@movementarian.org>
7028 * text2.C: don't cast wrap inset to float
7030 2003-05-05 André Pönitz <poenitz@gmx.net>
7033 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7035 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7036 few naked Paragraph *.
7038 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7040 * bufferparams.C: Output warning if a document with missing
7041 TeX document class is loaded
7042 * exporter.C: Disable TeX exports if the document class is missing
7045 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7046 isTeXClassAvailable()
7048 2003-05-03 John Levon <levon@movementarian.org>
7051 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7052 explicit cursor show/hide
7054 * BufferView_pimpl.h:
7055 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7056 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7058 * lyxfunc.C: hide cursor before dispatching.
7063 * text3.C: remove explicit cursor hides
7065 2003-05-02 André Pönitz <poenitz@gmx.net>
7067 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7070 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7073 * text2.C: tiny whitespace
7075 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * undo_funcs.C: almost only ws changes.
7079 * ParagraphList.C (splice): just return if pl is empty.
7081 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * ParagraphList.C (splice): new function.
7085 * CutAndPaste.C (pasteSelection): use it
7087 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * CutAndPaste.C (pasteSelection): remove the last next and
7090 previous from this file.
7092 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7094 * CutAndPaste.C (pasteSelection): more clean up, user proper
7095 ParagraphList functions for pasteing.
7097 * ParagraphList.C (insert): new function, three arg insert
7099 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * ParagraphList.C (insert): new function, three arg insert
7103 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7106 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7110 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7114 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7117 (copySelection): clean up a bit.
7118 (pasteSelection): use make_pair
7120 * ParagraphList.C (ParagraphList): implement copy constructor
7121 (operator=): implement, base on copy constructor.
7124 * paragraph.C (erase): return a bool
7126 * paragraph_pimpl.C (erasePos): remove function, move contents...
7127 (erase): ... here. Return a bool.
7128 (erase): call erase instead of erasePos.
7130 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7132 * ParagraphList.h: define PitPosPair
7133 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7134 ParagraphList, fix a bug on pasting multiple pars
7135 * text2.C: change interface to C&P
7137 2003-04-30 André Pönitz <poenitz@gmx.net>
7139 * undo_func.C: revert part of yesterday's patch 2
7141 2003-04-30 John Levon <levon@movementarian.org>
7143 * LColor.C: s/tabular/table/
7145 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * text3.C (dispatch): do not convert iterator -> pointer
7148 * undo_funcs.C (setCursorParUndo): ditto
7149 * text_funcs.C (transposeChars): ditto
7151 * text2.C (setLayout): ws changes only
7153 * text.C (breakParagraph): do not convert iterator -> pointer
7155 (acceptChange): ditto
7156 (rejectChange): ditto
7161 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7164 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7166 * text3.C (gotoInset): YABG (yet another bad getChar)
7168 2003-04-29 André Pönitz <poenitz@gmx.net>
7170 * paragraph.h: make operator= private unimplemented as long as
7173 * ParagraphList.C: whitespace
7176 * paragraph_pimpl.[Ch]:
7177 * paragraph_funcs.C:
7179 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7182 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7184 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7186 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7187 * paragraph.[Ch] (erase):
7188 * paragraph_pimpl.[Ch] (erase): change return type and value
7189 * text2.C (cutSelection): some rework
7191 2003-04-28 John Levon <levon@movementarian.org>
7193 * bufferlist.C: changes for unsaved changes dialog
7195 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * bufferlist.C (newFile): set language (messages_) for new
7200 * buffer.C (readFile): ws changes only.
7202 2003-04-28 André Pönitz <poenitz@gmx.net>
7207 * BufferView_pimpl.C:
7208 * BufferView.C: getParFromID related ParagraphList::iterator changes
7210 2003-04-28 André Pönitz <poenitz@gmx.net>
7212 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7215 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * messages.C: remove one more localedir class variable.
7219 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * messages.C (getLocaleDir): singleton generation function
7223 (Messages): add a default constructor.
7225 * main.C (main): do not setup localedir here, do not call
7228 * gettext.C (_): use it.
7229 (gettext_init): delete funciton
7231 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7233 * gettext.C (getLyXMessages): new singleton generating function.
7235 * buffer.C (updateDocLang): adjust
7237 * Makefile.am (messages.o): add target
7238 (main.o): remove target
7240 2003-04-27 John Levon <levon@movementarian.org>
7245 * lyxvc.C: specify cancel button in Alert::prompt
7247 2003-04-26 John Levon <levon@movementarian.org>
7252 * LyXAction.C: add LFUN_INSET_SETTINGS
7254 * lyxfunc.C: don't enable tabular-feature when there's
7255 just any locking inset
7257 2003-04-26 John Levon <levon@movementarian.org>
7259 * bufferlist.C: re-add Cancel to buffer close question
7261 * lyxfunc.C: fix import UI a bit
7263 2003-04-25 John Levon <levon@movementarian.org>
7265 * gettext.C: remove the broken asserts for now
7267 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7269 * messages.C: make case where setlocale cannot comply work better.
7271 * buffer.C (updateDocLang): new function
7272 (changeLanguage): use it
7275 * text2.C (setCounter): use B_ a bit.
7277 * lyxlayout.C (Read): be sure to trim the label strings.
7279 * messages.C (Messages): fix typo in comment
7281 * buffer.C (readFile): set message_ after file is loaded.
7282 (makeDocBookFile): remove double return
7283 (changeLanguage): reset message_ upon language change.
7284 (B_): new func, use this to get translated buffer strings.
7286 * main.C: add myself and Jean Marc as authors.
7288 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7290 * messages.[hC]: pimplify Messages, and three different pimpls to be
7291 used in different circumstances.
7293 * gettext.[Ch]: change for use with new message code.
7295 2003-04-24 André Pönitz <poenitz@gmx.net>
7297 * factory.C: support for eqref
7299 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7301 * messages.[Ch]: add missing char
7303 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7305 * messages.[Ch]: New files
7307 2003-04-18 John Levon <levon@movementarian.org>
7311 * BufferView_pimpl.C:
7315 * text2.C: remove layout-copy/paste (bug 778)
7317 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7319 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7321 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7323 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7324 if they succeed. Act accordingly.
7326 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * text2.C (setCharFont): adjust
7329 (setCounter): adjust
7330 (insertStringAsLines): adjust
7332 * text.C (leftMargin): adjust
7333 (setHeightOfRow): adjust
7335 * rowpainter.C (paintFirst): adjust
7338 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7340 (isFirstInSequence): ditto
7341 (getEndLabel): ditto
7344 * paragraph.C (getParLanguage): comment out some hard stuff.
7346 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7348 (simpleDocBookOnePar): ditto
7349 (makeDocBookFile): use ParagraphList::iterator
7351 * CutAndPaste.C (pasteSelection): adjust
7353 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7355 * text2.C (getFont): adjust
7356 (getLayoutFont): adjust
7357 (getLabelFont): adjust
7359 * paragraph_funcs.C (TeXOnePar): adjust
7361 * buffer.C (simpleLinuxDocOnePar): adjust
7362 (simpleDocBookOnePar): adjust
7364 * CutAndPaste.C (pasteSelection): adjust
7366 * BufferView.C (getEncoding): adjust
7368 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7370 2003-04-16 John Levon <levon@movementarian.org>
7372 * lyxfind.C: use parlist stuff for search/changes
7374 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7378 * text2.C (deleteEmptyParagraphMechanism): adjust
7380 * text2.[Ch] (ownerParagraph): delete func (both of them
7382 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7384 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7386 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7388 * ParagraphList.C: prepare for NO_NEXT
7390 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7392 * text2.C (getFont): adjust
7393 (getLayoutFont): adjust
7394 (getLabelFont): adjust
7396 * paragraph.C (getFont): adjust
7397 (getLabelFont): adjust
7398 (getLayoutFont): adjust
7400 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7402 2003-04-15 John Levon <levon@movementarian.org>
7406 * lyx_main.C: handle Include in .ui files
7408 2003-04-15 John Levon <levon@movementarian.org>
7410 * MenuBackend.C: make the doc files length shorter
7413 * ToolbarBackend.C: handle toolbar placement flags,
7416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7418 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7421 * paragraph_funcs.C (TeXOnePar): adjust
7423 * paragraph.C (getLabelFont): add outerfont arg, adjust
7424 (getLayoutFont): ditto
7425 (simpleTeXOnePar): adjust
7427 * paragraph_pimpl.C (realizeFont): delete func
7429 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7431 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7432 row argument, constify cur argument.
7434 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * text2.C (getFont): adjust
7437 (getLayoutFont): adjust
7438 (getLabelFont): adjust
7440 * paragraph_funcs.C (TeXOnePar): adjust
7441 (outerFont): new func...
7442 (realizeFont): ...moved out from here, changed this to facilitate
7445 * paragraph.C (getFont): take outerfont as arg, adjust
7446 (simpleTeXOnePar): add outerfont arg, adjust
7448 * buffer.C (simpleLinuxDocOnePar): adjust
7449 (simpleDocBookOnePar): adjust
7451 * CutAndPaste.C (pasteSelection): adjust
7453 * BufferView.C (getEncoding): adjust
7455 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * text2.C (setCharFont): adjust
7458 (setCounter): adjust
7460 * text.C (leftMargin): adjust
7461 (setHeightOfRow): adjust
7463 * rowpainter.C (paintFirst): adjust
7466 * paragraph_pimpl.C (realizeFont): adjust
7468 * paragraph.C (isFirstInSequence): move from here...
7469 * paragraph_funcs.C (isFirstInSequence): ...to here
7471 * paragraph.C (outerHook): move from here...
7472 * paragraph_funcs.C (outerHook): ...to here
7474 * paragraph.C (depthHook): move from here...
7475 * paragraph_funcs.C (depthHook): ...to here
7477 * paragraph.C (getEndLabel): move from here...
7478 * paragraph_funcs.C (getEndLabel): ...to here
7480 * text2.C (realizeFont): move from here...
7481 * paragraph_funcs.C (realizeFont): ...to here
7483 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7485 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7487 2003-04-14 Angus Leeming <leeming@lyx.org>
7489 * LColor.[Ch]: scrap LColor mathcursor.
7491 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7493 * lyxlex.[Ch] (text): delete function
7494 * trans.C (Load): adjust
7495 * paragraph_funcs.C (readParToken): adjust
7497 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7500 vector<char> instead of a char[].
7502 * lyxlex_pimpl.C (getString): adjust
7504 (lex): use getString
7508 * lyxlex.C (text): use pimpl_->getString()
7512 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7515 (makeFontEntriesLayoutSpecific): temp var for par.size()
7516 (setLayout): temp var for ownerParagraphs().end()
7517 (fullRebreak): temp var for rows().end()
7518 (selectionAsString): temp var for boost::next(startpit), realize
7519 that the while really is a regular for loop.
7520 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7521 setCursor in one place.
7522 (setParagraph): temp vr for ownerParagraphs().end()
7523 (updateCounters): make the while loop a for loop
7524 (cutSelection): temp var for ownerParagraphs().end()
7525 (updateInset): make the do {} while() a regular for loop
7526 (getCursorX): use temp vars
7527 (setCurrentFont): use temp vars
7528 (getColumnNearX): use temp vars
7530 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * text.C (transformChar): use temp var for getChar
7533 (computeBidiTables): use temp var for row->par()
7534 (fill): move temp vars for row->par() and pit->layout() earlier in
7536 (labelFill): use temp var for row->par()
7537 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7538 asc and desc, realize that pit never changes and that firstpit is
7539 just a duplicate and not needed. Exchange rit->par() with pit in a
7541 (breakAgain): use a temp var for boost::next(rit)
7542 (breakAgainOneRow): ditto
7543 (breakParagraph): use a temp var for rows().begin()
7544 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7545 (cursorRightOneWord): use temp var for cursor.par() and
7546 cursor.pos(), remove usage of tmpcursor.
7547 (cursorLeftOneWord): use temp var for cursor.par() and
7548 cursor.pos() only set cur at end of function.
7550 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * text.C, text2.C: exchange all usage of Paragraph::next with
7553 boost::next(ParagraphList::iterator)
7555 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7557 * text2.C (cursorTop): simplify implementation
7558 (cursorBottom): ditto
7559 (setParagraph): use ParagraphList::iterator
7560 (setCurrentFont): adjust
7561 (getColumnNearX): adjust
7562 (cursorRight): adjust
7563 (cursorLeft): remove usage of Paragraph::previous
7564 (cursorUpParagraph): ditto
7565 (deleteEmptyParagraphMechanism): slight cleanup
7567 * text.C (isBoundary): take a Paragraph const & instead of a
7569 (addressBreakPoint): ditto
7570 (leftMargin): remove usage of Paragraph::previous.
7571 (setHeightOfRow): ditto
7572 (cursorLeftOneWord): ditto
7573 (selectNextWordToSpellcheck): ditto
7576 (breakParagraph): remove one usage of Paragraph::next
7577 (redoParagraph): ditto
7578 (acceptChange): ditto
7579 (insertChar): adjust
7580 (rowBreakPoint): adjust
7582 * bufferview_funcs.C (toggleAndShow): adjust
7584 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7586 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7587 methods to access it.
7589 * text.C: Added updateRowPositions to compute all row positions.
7590 Make top_y and getRowNearY() to use the cached y position
7592 2003-04-11 John Levon <levon@movementarian.org>
7594 * text.C (rowBreakPoint): reintroduce the labelEnd
7595 checks, code copied from the row fill stuff. Deep voodoo.
7597 * text.C (fill): add a comment and debugging for the
7600 2003-04-11 John Levon <levon@movementarian.org>
7602 * text.C: make sure fullrow insets get wrapped to the next line,
7603 even when they're in a manual label
7605 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * text2.C (insertParagraph): make it take ParagraphList::iterator
7609 (setLayout): make it return ParagraphList::iterator
7610 (redoParagraphs): ditto
7612 (checkParagraph): ditto
7614 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7616 * text2.C: adjust several funcs.
7617 (realizeFont): take a ParagraphList::iterator as arg.
7618 (getLayoutFont): ditto
7619 (getLabelFont): ditto
7620 (setCharFont): ditto
7622 * text.C: adjust several funcs.
7624 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7626 * text.C (selectNextWordToSpellcheck): don't accidentally
7629 2003-04-10 John Levon <levon@movementarian.org>
7631 * ToolbarBackend.C (getIcon): special handling for
7634 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7636 * text2.C (cursorRight): a getChar assert fixed
7638 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * text2.C (getFont): change to take a ParagraphList::iterator
7641 instead of Paragraph*
7642 Adjust several functions.
7644 * text.C (transformChar): change to take a ParagraphList::iterator
7645 instead of Paragraph*
7646 (singleWidth): ditto
7647 Adjust several functions.
7649 * rowpainter.C: adjust several functions
7650 * rowpainter.h:store a ParagraphList::iterator and not a
7654 2003-04-09 John Levon <levon@movementarian.org>
7659 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7660 and the "help" bits as well
7662 2003-04-09 John Levon <levon@movementarian.org>
7665 * ToolbarBackend.C: allow multiple toolbars
7667 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7669 * undo_funcs.C (setCursorParUndo): adjust
7671 * text_funcs.C (transposeChars): adjust
7673 * text3.C (gotoNextInset): adjust
7676 * text2.C (setLayout): adjust
7677 (changeDepth): adjust
7679 (redoParagraphs): adjust
7680 (selectionAsString): adjust
7681 (setParagraph): adjust
7682 (insertInset): adjust
7683 (cutSelection): adjust
7684 (copySelection): adjust
7685 (pasteSelection): adjust
7686 (insertStringAsLines): adjust
7687 (updateInset): adjust
7688 (setCursor): change to take a ParagraphList::iterator parameter
7689 (setCursorIntern): change to take a ParagraphList::iterator parameter
7690 (setCurrentFont): adjust
7691 (cursorLeft): adjust
7692 (cursorRight): adjust
7693 (deleteEmptyParagraphMechanism): adjust
7695 * text.C (breakParagraph): adjust
7696 (insertChar): adjust
7697 (acceptChange): adjust
7698 (rejectChange): adjust
7699 (selectNextWordToSpellcheck): adjust
7700 (changeCase): adjust
7704 * lyxfind.C (SearchForward): adjust
7705 (SearchBackward): adjust
7706 (nextChange): adjust
7708 * lyxcursor.C (par): adjust
7710 * lyxcursor.h: store a ParagraphList::iterator instead of a
7713 * lyx_cb.C (getPossibleLabel): adjust
7715 * bufferview_funcs.C (toggleAndShow): adjust
7717 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7720 * BufferView.C (removeAutoInsets): adjust
7721 (lockedInsetStoreUndo): adjust
7723 2003-04-09 John Levon <levon@movementarian.org>
7725 * ToolbarBackend.C: try icon without argument
7726 if with argument fails
7728 2003-04-08 John Levon <levon@movementarian.org>
7731 * ToolbarBackend.C: add getIcon(), handle tooltip,
7732 and change from "Icon" to "Item".
7734 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7736 * BufferView.C (lockInset): another bad getchar crunched
7738 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7740 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7743 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7745 * lyxfind.C (searchForward, searchBackwards): bug 782
7747 2003-04-07 John Levon <levon@movementarian.org>
7749 * paragraph.C: remove dead comment
7751 * text.C: remove troublesome depth-fiddling code
7752 in leftMargin() and rightMargin() (bug 1017)
7754 * text.C: fix breaking of rows in nested lists
7757 * text2.C (updateCounters): fix up depth values
7760 2003-04-07 John Levon <levon@movementarian.org>
7762 * BufferView_pimpl.C: clear message when doc finishes resizing,
7763 and after a mouse event
7765 * lyxfunc.C: clear message after exiting inset
7767 2003-04-07 John Levon <levon@movementarian.org>
7769 * bufferview_funcs.C: show math status not outside
7770 status in the statusbar
7772 2003-04-07 John Levon <levon@movementarian.org>
7774 * lyxfunc.C: note status changed after a depth change
7776 2003-04-04 Angus Leeming <leeming@lyx.org>
7778 * LaTeX.h: move AuxInfo operator==, != out of line.
7779 Remove LaTeX virtual destructor; nothing derives from it.
7780 Move operator()() out of public area and rename it startscript().
7781 Change protected for private.
7783 2003-04-04 Angus Leeming <leeming@lyx.org>
7786 * text2.C: remove unneeded #includes.
7788 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7790 * text2.C (dEPM): fix the heigth of the next row
7792 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7794 * text.C: squashed an invalid getChar requester + some ws changes
7796 2003-04-03 John Levon <levon@movementarian.org>
7798 * bufferview_funcs.h:
7799 * bufferview_funcs.C:
7802 * text2.C: make getStatus work for the env depth lfuns
7804 2003-04-03 John Levon <levon@movementarian.org>
7806 * bufferview_funcs.h:
7807 * bufferview_funcs.C:
7810 * text2.C: parlistize decDepth(), by merging it with incDepth()
7812 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7814 * lyxrow.h: store a ParagraphList::iterator instead of a
7815 Paragraph* and adjust other class functions to suit.
7817 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7820 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7822 * text2.C (setCursor): do not anchor to cursor row for the time being
7824 2003-04-02 John Levon <levon@movementarian.org>
7831 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7833 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7835 * paragraph.h: make ParagraphList and ParagraphList::iterator
7836 friends of Paragraph.
7838 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7840 * ParagraphList.C: Use the private next_ and previous_ from
7843 2003-04-01 John Levon <levon@movementarian.org>
7847 * Makefile.am: rename, remove defaults gunk
7850 * MenuBackend.C: remove defaults gunk
7853 * Languages.C: remove defaults gunk
7856 * lyx_main.C: error out if files couldn't be found.
7858 2003-04-02 John Levon <levon@movementarian.org>
7860 * text2.C: make incDepth() use parlist
7862 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7864 * undo_funcs.C (firstUndoParagraph): adjust
7866 * text3.C (gotoInset): adjust
7867 (dispatch): adjust, and rewrite loop.
7869 * text2.C (init): adjust, and rewrite loop.
7870 (redoParagraphs): adjust
7871 (updateInset): adjust, and rewrite loop.
7872 (deleteEmptyParagraphMechanism): adjust
7874 * tabular.C (LyXTabular): adjust
7875 (SetMultiColumn): adjust
7878 * lyxtext.[Ch] (ownerParagraph): delete function
7879 (ownerParagraphs): new function returns a ParagraphList.
7881 * BufferView.C (removeAutoInsets): adjust
7882 (insertErrors): adjust
7883 (setCursorFromRow): adjust
7885 2003-04-01 Angus Leeming <leeming@lyx.org>
7887 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7890 2003-04-02 John Levon <levon@movementarian.org>
7896 * text_funcs.C: make transposeChars a free function
7898 * lyxrow_funcs.C: remove wrong comment
7900 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7903 * rowpainter.C: adjust
7908 * lyxrow_funcs. [Ch]: new files
7910 * lyxrow.[Ch]: remove next and previous pointers
7911 (next,previous): remove accessor functions
7912 (isParEnd): move to lyxrow_funcs
7913 (lastPos): move to lyxrow_funcs
7914 (nextRowIsAllInset): move to lyxrow_funcs
7915 (lastPrintablePos): move to lyxrow_funcs
7916 (numberOfSeparators): move to lyxrow_funcs
7917 (numberOfHfills): move to lyxrow_funcs
7918 (numberOfLabelHfills): move to lyxrow_funcs
7919 (hfillExpansion): move to lyxrow_funcs
7923 * bufferview_funcs.C (toggleAndShow): adjust
7925 * RowList.h: Remove class RowList from file leave just a
7928 * RowList.C: delete file
7930 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7933 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * text3.C (cursorPrevious): adjust
7936 (cursorNext): adjust
7939 * text2.C (redoHeightOfParagraph): adjust
7940 (redoDrawingOfParagraph): adjust
7943 * text.C (breakParagraph): adjust
7944 (insertChar): adjust
7947 * rowpainter.C (RowPainter): adjust
7948 (leftMargin): simplify and adjust
7949 (most rowpainter functions): adjust.
7951 * rowpainter.h: store the row as RowList::iterator not as Row*
7953 * lyxcursor.C (row): taka RowList::iterator as arg
7956 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7959 2003-04-01 Angus Leeming <leeming@lyx.org>
7961 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7962 stuff like bool Bool.
7964 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7966 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7969 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7974 * lyxtext.h (rows): drop one version and leve a const variant that
7975 returns a RowList::iterator.
7977 2003-03-31 Angus Leeming <leeming@lyx.org>
7979 * text.C (fill): ensure that the signature is the same as that in the
7982 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7984 * text2.C (redoParagraphs): adjust
7985 (updateCounters): adjust
7986 (checkParagraph): adjust
7987 (getColumnNearX): adjust and reformat a bit.
7989 * text.C (top_y): adjust
7991 (leftMargin): adjust
7992 (prepareToPrint): adjust
7994 (getRowNearY): adjust
7996 * lyxtext.h: make rowlist_ mutable.
7998 * RowList.h: add const_iterator
7999 * RowList.C: adjust for RowList::const_iterator.
8001 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8004 2003-03-31 John Levon <levon@movementarian.org>
8007 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8009 * lyx_main.C: set default fonts from using lyx_gui funcs
8011 * exporter.C: pdf_mode moved from lyxrc
8014 * lyxfunc.C: changes from above
8016 2003-03-31 John Levon <levon@movementarian.org>
8018 * lyx_main.C: fix to the last fix
8020 2003-03-31 John Levon <levon@movementarian.org>
8022 * bufferlist.C: "Load original" -> "Load Original"
8028 * format.C: more Alert cleanups
8030 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * text2.C (removeParagraph): make it take a RowList::iterator as
8034 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8035 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8037 * text.C (anchor_row): make it take a RowList::iterator as arg,
8039 (computeBidiTables): make it take a const reference to Row instead
8040 of Row pointer, adjust.
8041 (leftMargin): make it take a RowList::iterator as arg, adjust.
8042 (rowBreakPoint): adjust
8043 (breakAgainOneRow): make it take a RowList::iterator as arg,
8045 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8047 * bufferview_funcs.C (toggleAndShow): adjust
8049 2003-03-30 John Levon <levon@movementarian.org>
8053 * boost-inst.C: moved to support
8055 * several files: changes as a result
8057 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * text2.C (LyXText): adjust.
8061 (removeRow): make it take a RowList::iterator as arg, adjust.
8062 (fullRebreak): adjust
8063 (deleteEmptyParagraphMechanism): adjust
8064 (clearPaint): adjust
8067 * text.C (top_y): adjust
8068 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8069 (breakAgain): make it take a RowList::iterator as arg, adjust.
8070 (breakParagraph): adjust
8071 (insertChar): adjust
8074 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8075 need_break_row, and refresh_row.
8077 * text3.C (dispatch): adjust
8079 * text2.C (checkParagraph): adjust
8081 (setCursorFromCoordinates): adjust
8083 * text.C (top_y): adjust
8085 (getRow): make it return a RowList::iterator, adjust
8086 (getRowNearY): make it return a RowList::iterator, adjust
8088 * text2.C (init): adjust
8089 (insertRow): remove function
8090 (insertParagraph): adjust
8091 (redoParagraphs): adjust
8092 (fullRebreak): adjust
8093 (updateCounters): adjust
8095 * text.C (top_y): rewrite to use RowList iterators.
8097 (setHeightOfRow): rewrite to sue RowList iterators.
8098 (appendParagraph): adjust
8099 (breakAgain): adjust
8100 (breakAgainOneRow): adjust
8101 (breakParagraph): adjust
8103 (getRowNearY): adjust, and remove commented code.
8105 * lyxtext.h (firstRow): delete function
8106 (lastRow): delete function
8107 (rows): new function (const and non-const versions.)
8108 (insertRow): delete function
8110 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8112 2003-03-29 John Levon <levon@movementarian.org>
8114 * BufferView_pimpl.C: always update scrollbar top
8115 because pasting text when we're anchored could mean we
8116 miss an update altogether
8118 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * text2.C (init): use rowlist_.end() and not 0.
8121 (insertRow): change to take a RowList::iterator as arg, adjust
8123 (insertParagraph): change to take a RowList::iterator as arg,
8125 (redoParagraphs): remove some debug msgs.
8127 * text.C (appendParagraph): change to take a RowList::iterator
8128 arg, adjust for this.
8129 (breakAgain): add an assert
8130 (breakAgainOneRow): ditto
8132 2003-03-29 John Levon <levon@movementarian.org>
8134 * text2.C: do not clear selection after inc/decDepth
8137 2003-03-29 John Levon <levon@movementarian.org>
8140 * buffer.C: fix broken strerrors according to Lars
8142 2003-03-29 John Levon <levon@movementarian.org>
8144 * converters.C: more Alert cleanups
8146 2003-03-29 John Levon <levon@movementarian.org>
8148 * bufferview_funcs.C: remove pointless Alert
8150 * buffer.C: fix confusing error message when
8151 a template is chmoded 000
8153 2003-03-29 John Levon <levon@movementarian.org>
8157 * BufferView_pimpl.C: Alert fixes
8161 * tabular-old.C: remove unused table compat reading
8163 2003-03-29 John Levon <levon@movementarian.org>
8168 * lyx_cb.C: more Alert cleanups
8170 * lyxfunc.C: don't allow chktex if not latex document
8172 2003-03-29 John Levon <levon@movementarian.org>
8176 * buffer.C: warnings pushed down from support/,
8179 2003-03-29 John Levon <levon@movementarian.org>
8181 * lyxfunc.C: safety check for C-r (revert)
8183 2003-03-29 John Levon <levon@movementarian.org>
8186 * bufferlist.C: several UI fixes using Alert::prompt.
8187 Fix the pointless looping quit code. Fix stupid revert
8192 * lyx_cb.C: use Alert::prompt
8194 * lyx_main.C: remove a silly question
8196 * lyxfunc.C: remove a couple of silly questions,
8199 2003-03-28 John Levon <levon@movementarian.org>
8201 * text2.C: fix bug 974 (End on empty par)
8203 2003-03-28 John Levon <levon@movementarian.org>
8205 * BufferView_pimpl.C:
8207 * lfuns.h: remove do-nothing math greek lfuns
8209 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8211 * lyxgluelength.h (isValidGlueLength): add default arg on
8212 parameter 2. Remove default arg from friend in class.
8214 * lyxlength.h (isValidLength): add default arg on parameter 2.
8215 Remove default arg from friend in class.
8217 * text2.C (LyXText): adjust, initialize refresh_row.
8221 (insertParagraph): adjst
8222 (redoParagraphs): adjust
8223 (fullRebreak): adjust
8224 (updateCounters): adjust
8225 (deleteEmptyParagraphMechanism): first attempt at fixing a
8228 * text.C (top_y): adjust
8229 (setHeightOfRow): adjust
8231 (getRowNearY): adjust
8233 * lyxtext.h: include RowList.h
8234 (~LyXText): not needed anymore, deleted.
8235 (firstRow): modify for RowList
8236 (lastRow): new function
8237 Delete firstrow and lastrow class variables, add a Rowlist
8238 rowlist_ class variable.
8240 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8243 * RowList.C (insert): fix case where it == begin().
8245 2003-03-26 Angus Leeming <leeming@lyx.org>
8247 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8248 the thesaurus dialog.
8250 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8254 * RowList.[Ch]: new files
8256 * ParagraphList.C (erase): handle the case where it == begin
8259 2003-03-25 John Levon <levon@movementarian.org>
8263 * aspell.C: add new aspell support
8266 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8269 2003-03-25 Angus Leeming <leeming@lyx.org>
8272 * LyXAction.C (init): new LFUN_INSET_INSERT.
8274 * BufferView_pimpl.C (dispatch): split out part of the
8275 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8277 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8280 2003-03-25 Angus Leeming <leeming@lyx.org>
8282 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8284 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8287 * text3.C: remove useless row->height(0)
8289 2003-03-25 John Levon <levon@movementarian.org>
8293 * text3.C: rename the refreshing stuff to better names
8295 2003-03-24 John Levon <levon@movementarian.org>
8297 * BufferView_pimpl.h:
8298 * BufferView_pimpl.C: update layout choice on a mouse
8301 2003-03-23 John Levon <levon@movementarian.org>
8303 * Makefile.am: fix commandtags.h reference
8305 2003-03-22 John Levon <levon@movementarian.org>
8307 * BufferView_pimpl.C:
8312 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8314 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8317 * text.C: take the rtl methods out of line
8319 2003-03-21 André Pönitz <poenitz@gmx.net>
8321 * metricsinfo.[Ch]: new files containing structures to be passed around
8322 during the two-phase-drawing...
8324 2003-03-21 André Pönitz <poenitz@gmx.net>
8326 * lyxtextclass.C: read 'environment' tag.
8328 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8330 * text2.C (removeRow): fix bug 964
8332 2003-03-20 John Levon <levon@movementarian.org>
8336 * text2.C: paint cleanups. Inset::update() dropped font
8339 2003-03-19 John Levon <levon@movementarian.org>
8341 * lyxfunc.C: only fitcursor/markDirty if available()
8343 2003-03-19 John Levon <levon@movementarian.org>
8345 * commandtags.h: rename to ...
8347 * lfuns.h: ... this, and renumber / cleanup
8349 2003-03-19 John Levon <levon@movementarian.org>
8351 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8352 fit the cursor after an lfun
8356 * BufferView_pimpl.h:
8357 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8359 * LyXAction.C: layout-character should have ReadOnly
8361 * ParagraphParameters.C:
8363 * bufferview_funcs.C:
8370 * undo_funcs.C: changes from above
8372 2003-03-18 John Levon <levon@movementarian.org>
8374 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8375 remove it from update()
8377 * lyxfunc.C: update layout choice after an lfun
8379 * text3.C: remove extra updateLayoutChoice()s
8381 2003-03-18 John Levon <levon@movementarian.org>
8383 * text.C: top_y change means full repaint, fix
8384 a drawing bug with cursor movement
8386 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8390 * text2.C: anchor row on setCursor
8392 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8394 * lyxtext.h: remove almost all mutable keywords
8397 * text3.C: remove const keywords accordingly
8399 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8401 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8403 (TeXEnvironment): ditto
8406 2003-03-17 John Levon <levon@movementarian.org>
8408 * text.C (rowBreakPoint): remove attempt to fix displayed
8409 math insets inside a manual label
8411 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8413 * lyxtext.h: remove BufferView* as first arg from almost all class
8415 * other files: adjust.
8417 2003-03-17 John Levon <levon@movementarian.org>
8421 * text2.C: more paint cleanups
8423 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8426 * rowpainter.C: remove "smart" background painting code
8428 2003-03-16 John Levon <levon@movementarian.org>
8433 * text3.C: add helper functions for setting refresh_row/y
8435 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8437 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8438 newline inset which *can* get inserted in the pass_thru layouts.
8439 This is primarily for literate documents.
8441 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8443 * buffer.C: increment LYX_FORMAT to 223
8445 2003-03-14 André Pönitz <poenitz@gmx.net>
8447 * textclass.h: prepare for environment handling, ws changes
8448 * lyxlayout.C: read latexheader and latexfooter tags
8450 2003-03-14 John Levon <levon@movementarian.org>
8452 * text2.C: rewrite ::status() a bit
8454 2003-03-13 John Levon <levon@movementarian.org>
8456 * lyxtext.h: add some docs
8458 2003-03-13 John Levon <levon@movementarian.org>
8463 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8465 2003-03-13 John Levon <levon@movementarian.org>
8467 * text3.C: fix appendix redrawing
8469 2003-03-13 John Levon <levon@movementarian.org>
8471 * text.C (setHeightOfRow):
8473 * rowpainter.C: make appendix mark have the text
8474 "Appendix" so the user knows what it is
8477 * LColor.C: s/appendixline/appendix/ from above
8479 2003-03-13 John Levon <levon@movementarian.org>
8481 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8483 * text.C: fix a getChar(pos) bug properly
8485 2003-03-13 Angus Leeming <leeming@lyx.org>
8488 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8489 Probably only temporary. Let's see how things pan out.
8491 * BufferView.C (unlockInset):
8492 * BufferView_pimpl.C (fitCursor):
8493 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8495 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8496 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8498 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8499 new functions that convert ParagraphParameters to and from a string.
8501 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8502 BufferView::Pimpl's dispatch.
8503 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8505 2003-03-13 André Pönitz <poenitz@gmx.net>
8509 * factory.C: make it aware of InsetEnv
8511 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8513 * text2.C (setCursor): never ask for one past last
8514 (setCursor): add some debugging messages.
8516 * text.C (singleWidth): never ask for one past last
8517 (singleWidth): ditto
8519 (rightMargin): ditto
8520 (rowBreakPoint): ditto
8521 (setHeightOfRow): ditto
8522 (prepareToPrint): ditto
8524 * rowpainter.C (paintBackground): never ask for one past last
8525 (paintText): never ask for one past last
8527 * paragraph_pimpl.C (getChar): make the assert stricter, never
8528 allow the one past last pos to be taken
8530 * paragraph.C (getChar): ws changes only
8532 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8533 (numberOfSeparators): ditto
8534 (numberOfHfills): ditto
8536 2003-03-12 John Levon <levon@movementarian.org>
8542 * paragraph_funcs.C: fix per-buffer authorlists
8544 2003-03-12 John Levon <levon@movementarian.org>
8546 * text.C: fix newline in right address
8548 2003-03-12 Angus Leeming <leeming@lyx.org>
8550 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8551 duplicate those in LyXFunc::dispatch.
8555 * ToolbarDefaults.C:
8556 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8557 Add LFUN_FONTFREE_UPDATE.
8559 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8560 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8562 * bufferview_func.[Ch]: several new functions to facilliate
8563 transfer of data to and from the character dialog.
8565 2003-03-12 John Levon <levon@movementarian.org>
8570 * paragraph_funcs.C:
8571 * paragraph_pimpl.C:
8575 * text3.C: remove META_NEWLINE in favour of an inset
8578 * rowpainter.C: remove paintNewline (done by inset)
8580 2003-03-12 John Levon <levon@movementarian.org>
8582 * paragraph_pimpl.C: complain about bad getChar()s
8583 for a while at least
8585 2003-03-12 John Levon <levon@movementarian.org>
8588 * buffer.C: move paragraph read into a separate function,
8589 a little renaming to reflect that.
8592 * bufferparams.C: remove the author_ids map, not necessary now
8595 * factory.C: moved Buffer::readInset to here
8597 * paragraph_funcs.h:
8598 * paragraph_funcs.C: readParagraph free function moved from
8601 * tabular.C: name change
8603 2003-03-12 John Levon <levon@movementarian.org>
8606 * ParagraphParameters.C: move par params input to
8609 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8610 behave like a normal read from the stream wrt reading
8611 a line vs. a \\token
8613 2003-03-12 John Levon <levon@movementarian.org>
8616 * ParagraphParameters.h:
8617 * ParagraphParameters.C: move output code to a
8620 2003-03-12 John Levon <levon@movementarian.org>
8622 * BufferView.C (insertLyXFile):
8625 * tabular.C: use a parlist iterator for creating the
8628 2003-03-12 John Levon <levon@movementarian.org>
8630 * buffer.C: make current_change static local not
8633 2003-03-12 John Levon <levon@movementarian.org>
8635 * buffer.C: fix insertStringAsLines for change tracking
8637 2003-03-12 John Levon <levon@movementarian.org>
8644 * bufferparams.C: move author list into params. Rename some
8645 functions. Move the header reading into a separate token
8646 loop. Move the header token reading into BufferParams.
8648 2003-03-12 John Levon <levon@movementarian.org>
8650 * changes.C: put debug inside lyxerr.debugging() checks
8652 2003-03-11 André Pönitz <poenitz@gmx.net>
8654 * factory.C: make it aware of InsetHFill
8656 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8658 * buffer.C (latexParagraphs): move function from here...
8659 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8662 2003-03-10 Angus Leeming <leeming@lyx.org>
8664 * LyXAction.C (init): fix bug in poplating array with multiple entries
8665 with the same LFUN (spotted by JMarc).
8667 2003-03-10 John Levon <levon@movementarian.org>
8670 * text2.C: move getColumnNearX() near its
8673 2003-03-10 John Levon <levon@movementarian.org>
8675 * text.C: fix break before a minipage
8677 2003-03-10 John Levon <levon@movementarian.org>
8679 * text.C: fix the last commit
8681 2003-03-09 John Levon <levon@movementarian.org>
8685 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8686 bug 365 (don't break before insets unless needed). Don't
8687 return a value > last under any circumstances.
8689 2003-03-09 Angus Leeming <leeming@lyx.org>
8691 * BufferView_pimpl.C (trackChanges, dispatch): call
8692 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8694 2003-03-09 Angus Leeming <leeming@lyx.org>
8696 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8697 than Dialogs::showAboutlyx().
8699 2003-03-09 Angus Leeming <leeming@lyx.org>
8701 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8702 than Dialogs::showTabularCreate().
8704 2003-03-09 John Levon <levon@movementarian.org>
8708 * text2.C: 3rd arg to nextBreakPoint was always the same.
8711 2003-03-08 John Levon <levon@movementarian.org>
8718 * text2.C: Remove the "main" bit from the "main body"
8721 2003-03-08 John Levon <levon@movementarian.org>
8723 * text.C (leftMargin): The left margin of an empty
8724 manual label paragraph should not include the label width
8727 * text.C (prepareToPrint): don't attempt to measure hfills
8728 for empty manual label paragraphs - the answer should be 0
8730 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8732 * CutAndPaste.C: remove commented code and reindent.
8734 2003-03-08 John Levon <levon@movementarian.org>
8737 * lyxfunc.C: move reloadBuffer()
8740 * BufferView.C: to here
8742 * lyxvc.C: add comment
8745 * vc-backend.C: call bv->reload() to avoid
8746 getStatus() check on MENURELOAD
8748 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8750 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8751 to an old format .dep file.
8753 2003-03-07 Angus Leeming <leeming@lyx.org>
8755 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8756 when the LFUN_MOUSE_RELEASE should have been handled by
8757 inset->localDispatch.
8759 2003-03-07 Angus Leeming <leeming@lyx.org>
8761 * BufferView_pimpl.C (dispatch):
8762 * LyXAction.C (init):
8763 * ToolbarDefaults.C (init):
8765 * lyxfunc.C (getStatus):
8766 remove LFUN_INSET_GRAPHICS.
8768 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8770 2003-03-07 Angus Leeming <leeming@lyx.org>
8773 * LyXAction.C (init):
8774 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8776 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8779 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8781 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8782 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8784 2003-03-07 Angus Leeming <leeming@lyx.org>
8786 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8789 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8791 * ParagraphList.C (front): new function
8794 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8796 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8797 and top_row_offset_. removed var first_y.
8799 * text2.C (LyXText, removeRow):
8801 * BufferView_pimpl.C:
8802 use these methods instead of using first_y
8804 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8806 * text2.C (pasteSelection): adjust for checkPastePossible
8808 * CutAndPaste.C: remove Paragraph * buf and replace with
8809 ParagraphList paragraphs.
8810 (DeleteBuffer): delete
8811 (cutSelection): change the tc type to textclass_type
8812 (copySelection): change the tc type to textclass_type
8813 (copySelection): adjust for ParagraphList
8814 (pasteSelection): change the tc type to textclass_type
8815 (pasteSelection): adjust for Paragraphlist
8816 (nrOfParagraphs): simplify for ParagraphList
8817 (checkPastePossible): simplify for ParagraphList
8818 (checkPastePossible): remove unused arg
8820 * ParagraphList.C (insert): handle the case where there are no
8823 * CutAndPaste.h: make CutAndPaste a namespace.
8825 * text3.C (dispatch): adjust
8827 * text.C (breakParagraph): add a ParagraphList as arg
8829 * paragraph_funcs.C (breakParagraph): change to take a
8830 BufferParams and a ParagraphList as args.
8831 (breakParagraphConservative): ditto
8832 (mergeParagraph): ditto
8833 (TeXDeeper): add a ParagraphList arg
8834 (TeXEnvironment): ditto
8837 * buffer.C (readLyXformat2): adjust
8838 (insertStringAsLines): adjust
8839 (latexParagraphs): adjust
8841 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8842 (cutSelection): adjust
8843 (pasteSelection): adjust
8845 * BufferView_pimpl.C (insertInset): adjust
8847 2003-03-05 Angus Leeming <leeming@lyx.org>
8850 * LyXAction.C (init):
8851 * BufferView_pimpl.C (dispatch):
8852 * lyxfunc.C (getStatus):
8853 remove LFUN_CHILD_INSERT.
8855 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8857 2003-03-05 Angus Leeming <leeming@lyx.org>
8860 * LyXAction.C (init):
8861 * src/factory.C (createInset):
8862 * lyxfunc.C (getStatus):
8863 * text3.C (dispatch):
8864 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8866 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8868 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8870 * ParagraphList.C (insert): handle insert right before end()
8871 (erase): fix cases where it can be first or last paragraph.
8873 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8875 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8876 Paragraph::next and Paragraph::previous
8879 * text.C (breakParagraph): adjust
8881 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8882 BufferParams& as arg.
8883 (breakParagraph): use ParagraphList::insert
8884 (breakParagraphConservative): take a Buffer* instead of a
8885 BufferParams& as arg.
8886 (breakParagraphConservative): use ParagraphList::insert.
8888 * buffer.C (insertStringAsLines): un-const it
8889 (insertStringAsLines): adjust
8891 * ParagraphList.C (insert): new function
8893 * CutAndPaste.C (pasteSelection): adjust
8895 * text.C (backspace): adjust
8897 * tabular.C (SetMultiColumn): adjust
8899 * CutAndPaste.C (cutSelection): adjust
8900 (pasteSelection): adjust
8902 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8903 Buffer const * as arg
8905 * ParagraphList.C (erase): new function
8906 * paragraph_funcs.C (mergeParagraph): use it
8907 (mergeParagraph): make it take a Buffer* instead of a
8908 BufferParams* as arg
8910 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8912 (breakParagraphConservative): ditto
8914 * paragraph.h: remove the breakParagraph friend
8916 * paragraph.C (eraseIntern): new function
8917 (setChange): new function
8919 * paragraph_funcs.C (mergeParagraph): make it take a
8920 ParagraphList::iterator instead of a Paragraph *, adjust
8923 * paragraph.h: move an #endif so that the change tracking stuff
8924 also works in the NO_NEXT case.
8926 2003-03-04 Angus Leeming <leeming@lyx.org>
8929 * LyXAction.C: new LFUN_INSET_MODIFY.
8931 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8932 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8934 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8936 * several files: ws changes only
8938 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8939 (TeXEnvironment): ditto
8942 * buffer.C (makeLaTeXFile): adjust
8943 (latexParagraphs): make it take ParagraphList::iterator as args
8945 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8947 * buffer.C (latexParagraphs): adjust
8949 * paragraph.C (TeXOnePar): move function...
8950 (optArgInset): move function...
8951 (TeXEnvironment): move function...
8952 * paragraph_pimpl.C (TeXDeeper): move function...
8953 * paragraph_funcs.C: ...here
8955 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8957 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8959 * buffer.C (readInset): remove compability code for old Figure and
8962 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8964 * buffer.C: ws changes
8967 * BufferView_pimpl.C: ditto
8970 * bufferlist.h: ditto
8974 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8976 * converter.[Ch]: split into itself +
8979 * Makefile.am: += graph.[Ch] + format.[Ch]
8986 * lyxrc.C: added #include "format.h"
8988 2003-02-27 Angus Leeming <leeming@lyx.org>
8990 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8993 * factory.C (createInset): add "label" to the factory.
8995 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8996 string and do no more.
8998 2003-02-27 Angus Leeming <leeming@lyx.org>
9001 * LyXAction.C (init):
9002 * factory.C (createInset):
9003 * BufferView_pimpl.C (dispatch):
9004 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9006 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9008 * lyxfunc.C (dispatch):
9009 * text3.C (dispatch): pass name to params2string.
9011 2003-02-26 Angus Leeming <leeming@lyx.org>
9013 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9015 Rearrange the ~includes. Strip out the unnecessary ones.
9017 * factory.C (createInset): reformat.
9018 create new insets for the various LFUN_XYZ_APPLY lfuns.
9020 2003-02-26 John Levon <levon@movementarian.org>
9023 * lyxrow.C: add isParStart,isParEnd helpers
9025 * paragraph.h: make isInserted/DeletedText take refs
9027 * paragraph_funcs.h:
9028 * paragraph_funcs.C: remove #if 0'd code
9033 * text.C: use lyxrow helpers above.
9034 Move draw and paint routines to RowPainter.
9035 Make several methods use refs not pointers.
9036 Make backgroundColor() const.
9037 Add markChangeInDraw(), isInInset().
9038 Merge changeRegionCase into changeCase.
9039 Make workWidth() shouldn't-happen code into an Assert.
9042 * rowpainter.C: new class for painting a row.
9045 * vspace.C: make inPixels take a ref
9047 2003-02-26 Angus Leeming <leeming@lyx.org>
9049 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9052 2003-02-25 John Levon <levon@movementarian.org>
9054 * ispell.C: give the forked command a more accurate name
9056 2003-02-22 John Levon <levon@movementarian.org>
9059 * toc.C: make TocItem store an id not a Paragraph *
9062 2003-02-21 Angus Leeming <leeming@lyx.org>
9064 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9065 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9066 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9067 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9068 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9069 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9071 * BufferView_pimpl.C (dispatch):
9072 * LyXAction.C (init):
9073 * factory.C (createInset):
9074 * lyxfunc.C (getStatus, dispatch):
9075 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9077 2003-02-21 Angus Leeming <leeming@lyx.org>
9079 * BufferView_pimpl.C (MenuInsertLyXFile):
9080 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9081 * lyxfunc.C (menuNew, open, doImport):
9082 no longer pass a LyXView & to fileDlg.
9084 2003-02-21 Angus Leeming <leeming@lyx.org>
9086 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9087 * LyXAction.C: change, BIBKEY to BIBITEM.
9088 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9089 Change InsetBibKey to InsetBibitem.
9090 Change BIBKEY_CODE to BIBITEM_CODE.
9091 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9092 * factory.C: replace insetbib.h with insetbibitem.h.
9093 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9094 * paragraph.C: replace insetbib.h with insetbibitem.h.
9095 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9096 Change bibkey() to bibitem().
9097 * text.C: remove insetbib.h.
9098 * text2.C: replace insetbib.h with insetbibitem.h.
9099 change bibkey() to bibitem().
9100 * text3.C: remove insetbib.h.
9101 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9103 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9105 * lyxrc.C (output): enclose user email in quotes (in case there are
9108 2003-02-18 John Levon <levon@movementarian.org>
9110 * buffer.h: add std::
9112 2003-02-17 John Levon <levon@movementarian.org>
9118 * pspell.C: reworking. Especially in ispell, a large
9119 number of clean ups and bug fixes.
9121 * lyxfunc.C: fix revert to behave sensibly
9123 2003-02-17 André Pönitz <poenitz@gmx.net>
9126 * commandtags.h: new LFUN_INSERT_BIBKEY
9136 * paragraph_func.C: remove special bibkey handling
9138 2003-02-17 John Levon <levon@movementarian.org>
9140 * text.C (Delete): fix case where delete at the end of
9141 the very first paragraph would not merge the pars
9143 2003-02-17 John Levon <levon@movementarian.org>
9145 * lyxrow.C: fix lastPrintablePos()
9147 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9149 * bufferparams.C (writeLaTeX): add a std:here
9151 * buffer.C: and remove a using directive there
9153 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9155 * buffer.C (makeLaTeXFile): move the code that generates the
9158 * bufferparams.C (writeLaTeX): ... in this new method
9160 * LaTeXFeatures.C (getEncodingSet): make const
9161 (getLanguages): make const
9163 * MenuBackend.C (binding): returns the binding associated to this
9165 (add): sets the status of each item by calling getStatus. Adds
9167 (read): add support for OptSubMenu
9168 (expand): remove extra separator at the end of expanded menu
9170 2003-02-15 John Levon <levon@movementarian.org>
9173 * BufferView_pimpl.C:
9175 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9176 inset code that had no actual effect. Remove unneeded status
9179 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9181 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9184 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9186 * text.C (drawLengthMarker): also draw an arrow marker for
9187 symbolic lengths (medskip...)
9189 2003-02-14 John Levon <levon@movementarian.org>
9192 * tabular.C: better method names
9194 2003-02-14 John Levon <levon@movementarian.org>
9196 * BufferView_pimpl.C:
9201 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9202 it's a more accurate name. Remove some pointless uses.
9204 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9206 * text2.C (LyXText): change order of initilizers to shut off
9209 2003-02-14 John Levon <levon@movementarian.org>
9211 * buffer.C: use ParIterator for getParFromID()
9215 * paragraph_pimpl.h:
9216 * paragraph_pimpl.C: remove unused getParFromID()
9218 2003-02-14 John Levon <levon@movementarian.org>
9220 * buffer.C: remove some very old #if 0'd parse code
9222 2003-02-13 John Levon <levon@movementarian.org>
9226 * text2.C: move hfillExpansion(), numberOfSeparators(),
9227 rowLast(), rowLastPrintable(), numberofHfills(),
9228 numberOfLabelHfills() ...
9231 * lyxrow.C: ... to member functions here.
9236 * text.C: remove LyXText::beginningOfMainBody(), and call
9237 p->beginningOfMainBody() directly. Move the check for
9238 LABEL_MANUAL into the latter.
9245 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9251 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9252 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9254 2003-02-13 John Levon <levon@movementarian.org>
9256 * CutAndPaste.C: remove debug
9258 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9260 * paragraph.C (asString): remove two unused variables
9262 * lyxtextclass.C (readTitleType):
9264 (LyXTextClass): handle new members titletype_ and titlename_
9266 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9268 2003-02-09 John Levon <levon@movementarian.org>
9271 * buffer.C: replace hand-coded list with a map for the dep clean
9273 2003-02-08 John Levon <levon@movementarian.org>
9275 * LaTeX.C: consolidate code into showRunMessage() helper
9277 2003-02-08 John Levon <levon@movementarian.org>
9282 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9283 and pass the size in explicitly
9285 * BufferView_pimpl.h:
9286 * BufferView_pimpl.C:
9288 * BufferView.C: add getCurrentChange()
9290 * BufferView_pimpl.h:
9291 * BufferView_pimpl.C: handle change lfuns
9293 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9294 for changes. Mark pasted paragraphs as new.
9296 * support/lyxtime.h:
9297 * support/lyxtime.C:
9298 * DepTable.C: abstract time_t as lyx::time_type
9301 * LColor.C: add colours for new text, deleted text, changebars
9303 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9304 package use "usenames" option.
9308 * LyXAction.C: add change lfuns
9312 * author.C: author handling
9315 * buffer.C: add a per-buffer author list, with first entry as
9316 current author. Handle new .lyx tokens for change tracking. Output
9317 author list to .lyx file. Output dvipost stuff to .tex preamble.
9318 Bump lyx format to 222.
9321 * bufferlist.C: add setCurrentAuthor() to reset current author details
9325 * bufferparams.C: add param for tracking
9327 * bufferview_funcs.C: output change info in minibuffer
9331 * changes.C: add change-tracking structure
9334 * debug.C: add CHANGES debug flag
9337 * lyxfind.C: add code for finding the next change piece
9340 * lyxrc.C: add user_name and user_email
9343 * lyxrow.C: add a metric for the top of the text line
9346 * text.C: implement accept/rejectChange()
9349 * text.C: paint changebars. Paint new/deleted text in the chosen
9350 colours. Strike through deleted text.
9354 * paragraph_pimpl.h:
9355 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9356 in the current change to the insert functions. Rework erase to
9357 mark text as deleted, adding an eraseIntern() and a range-based
9358 erase(). Implement per-paragraph change lookup and
9361 * paragraph_funcs.C: Fixup paste for change tracking.
9363 * tabular.C: mark added row/columns as new.
9365 * text.C: fix rowLast() to never return -1. Don't allow
9366 spellchecking of deleted text. Track transpose changes. Don't
9367 allow paragraph break or merge where appropriate.
9369 * text2.C: leave cursor at end of selection after a cut.
9371 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9373 * text.C (getLengthMarkerHeight):
9374 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9375 visible on screen too.
9377 2003-02-07 John Levon <levon@movementarian.org>
9379 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9381 2003-02-05 Angus Leeming <leeming@lyx.org>
9383 * lyxserver.C (read_ready): revert my patch of 11 September last year
9384 as it sends PC cpu through the roof. Presumably this means that
9385 the lyxserver will no longer run on an Alpha...
9387 2003-01-30 Angus Leeming <leeming@lyx.org>
9389 * factory.C (createInset): create an InsetCommandParam of type "index"
9390 and use it to 'do the right thing'.
9392 * text2.C (getStringToIndex): ensure that cursor position is always
9393 reset to the reset_cursor position.
9395 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9397 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9400 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9404 * lyxfunc.C: Output messages with identical spelling, punctuation,
9407 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9409 * MenuBackend.C (expandFormats): List only viewable export formats
9412 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9415 * lyxfunc.C (getStatus): Make sure that formats other than
9416 "fax" can also be disabled
9418 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9420 * text3.C (dispatch): put the lfuns that insert insets in 3
9421 groups, and call doInsertInset with appropriate arguments.
9422 (doInsertInset): new function, that creates an inset and inserts
9423 it according to some boolean parameters.
9425 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9427 * buffer.C (readFile): remember to pass on 'par' when calling
9428 readFile recursively.
9430 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9432 * MenuBackend.C (expandFormats): add "..." to import formats.
9434 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9436 * paragraph.C (asString): Remove XForms RTL hacks.
9438 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9439 * buffer.C: fix typo
9441 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9443 * Makefile.am (LIBS): delete var
9444 (lyx_LDADD): add @LIBS@ here instead.
9446 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9448 * Clarify the meaning of "wheel mouse jump"
9450 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9452 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9455 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9457 * importer.C (Loaders): do not preallocate 3 elements in the
9458 vector, since one ends up with 6 elements otherwise
9460 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9462 * DepTable.C (write): write the file name as last element of the
9463 .dep file (because it may contain spaces)
9464 (read): read info in the right order
9466 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9468 * paragraph_pimpl.C (simpleTeXBlanks):
9469 (simpleTeXSpecialChars):
9470 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9472 * tabular.C (latex): add some missing case statements. Reindent.
9474 * MenuBackend.C (expandToc): remove unused variable.
9476 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9485 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9488 2003-01-05 John Levon <levon@movementarian.org>
9491 * BufferView.C: add getEncoding()
9494 * kbsequence.C: do not store last keypress
9497 * lyxfunc.C: store last keypress here instead. Pass encoding
9500 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9502 * lyx_main.C (init): remove annoying error message when following
9503 symbolic links (bug #780)
9505 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9507 * text.C (insertChar):
9508 * lyxrc.C (getDescription): remove extra spaces
9510 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9512 * lyxrc.C (getDescription): remove extra spaces
9514 2002-12-20 John Levon <levon@movementarian.org>
9516 * text3.C: hack fix for page up/down across tall rows
9518 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9520 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9523 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9525 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9526 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9527 thesaurus is not compiled in
9529 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9531 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9533 2002-12-16 Angus Leeming <leeming@lyx.org>
9536 * lyx_main.C (init): remove override_x_deadkeys stuff.
9538 2002-12-12 John Levon <levon@movementarian.org>
9540 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9541 insert. Only remove shift modifier under strict
9544 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9546 * MenuBackend.C (expandToc): fix crash.
9548 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9550 * MenuBackend.C (expandToc): gettext on float names.
9552 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9554 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9555 implement bool empty() [bug 490]
9557 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9559 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9561 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9563 * several files: ws changes
9565 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9567 * text2.C (setCounter): clean up a bit, use boost.format.
9568 (updateCounters): initialize par upon declaration.
9570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9571 if the layout exists. We do not just store the layout any more.
9572 (SwitchLayoutsBetweenClasses): use boost.format
9574 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9576 * converter.C (convert): if from and to files are the same, use a
9577 temporary files as intermediary
9579 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9582 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9584 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9586 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9588 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9590 * tabular.C (asciiPrintCell): use string(size, char) instead of
9593 * sgml.C (openTag): fix order of arguments to string constructor
9596 * lyxfunc.C (dispatch): use boost.format
9598 * lots of files: change "c" -> 'c'
9600 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9602 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9604 2002-11-25 Angus Leeming <leeming@lyx.org>
9606 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9608 * lyx_main.C (init): compile fix.
9610 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9612 * lyx_cb.C (start): boost.formatify
9613 do not include <iostream>
9615 * lengthcommon.C: ws only
9617 * boost-inst.C,BoostFormat.h: add more explict instantations
9619 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9621 * lots of files: handle USE_BOOST_FORMAT
9623 2002-11-21 John Levon <levon@movementarian.org>
9625 * pspell.C: fix compile
9627 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * lyxfunc.C (dispatch): use boost::format
9633 * lyxfont.C (stateText): use boost::format
9635 * lyx_main.C (LyX): use boost::format
9637 (queryUserLyXDir): ditto
9640 (typedef boost::function): use the recommened syntax.
9642 * importer.C (Import): use boost::format
9644 * debug.C (showLevel): use boost::format
9646 * converter.C (view): use boost::format
9651 * bufferview_funcs.C (currentState): use boost::format
9653 * bufferlist.C (emergencyWrite): use boost::format
9655 * buffer.C (readLyXformat2): use boost::format
9656 (parseSingleLyXformat2Token): ditto
9658 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9660 * LaTeX.C (run): use boost::format
9662 * Chktex.C (scanLogFile): use boost::format
9664 * BufferView_pimpl.C (savePosition): use boost::format
9665 (restorePosition): ditto
9666 (MenuInsertLyXFile): ditto
9668 * BoostFormat.h: help file for explicit instation.
9670 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9672 * tabular.C (latex): Support for block alignment in fixed width
9675 2002-11-17 John Levon <levon@movementarian.org>
9677 * BufferView_pimpl.C:
9679 * lyxfunc.C: split filedialog into open/save
9681 2002-11-08 Juergen Vigna <jug@sad.it>
9683 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9684 by my last patch (hopefully).
9686 2002-11-08 John Levon <levon@movementarian.org>
9695 * toc.C: ParConstIterator, and use it (from Lars)
9697 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9699 * lyxtextclass.[Ch]: revise and add doxygen comments
9701 2002-11-07 John Levon <levon@movementarian.org>
9703 * text.C: fix progress value for spellchecker
9705 * toc.C: fix navigate menu for insetwrap inside minipage
9707 * paragraph_funcs.C: added FIXME for suspect code
9709 2002-11-07 John Levon <levon@movementarian.org>
9711 * BufferView_pimpl.C: fix redrawing of insets
9714 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * text2.C (updateCounters): fix bug 668
9718 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9720 * text3.C (dispatch): Do not make the buffer dirty when moving the
9723 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9725 * vc-backend.C: STRCONV
9728 * text2.C (setCounter): STRCONV
9730 * paragraph.C (asString): STRCONV
9732 * lyxlength.C (asString): STRCONV
9733 (asLatexString): ditto
9735 * lyxgluelength.C (asString): STRCONV
9736 (asLatexString): ditto
9738 * lyxfunc.C (dispatch): STRCONV
9741 * lyxfont.C (stateText): STRCONV
9743 * importer.C (Import): STRCONV
9745 * counters.C (labelItem): STRCONV
9746 (numberLabel): ditto
9747 (numberLabel): remove unused ostringstream o
9752 * bufferview_funcs.C (currentState): STRCONV
9754 * buffer.C (readFile): STRCONV
9755 (asciiParagraph): ditto
9756 (makeLaTeXFile): ditto
9758 * Spacing.C (writeEnvirBegin): STRCONV
9760 * LaTeXFeatures.C (getLanguages): STRCONV
9761 (getPackages): ditto
9763 (getBabelOptions): ditto
9764 (getTClassPreamble): ditto
9765 (getLyXSGMLEntities): ditto
9766 (getIncludedFiles): ditto
9770 (scanAuxFile): ditto
9773 * LString.h: add the STRCONV macros
9775 * BufferView_pimpl.C (savePosition): STRCONV
9776 (restorePosition): ditto
9777 (MenuInsertLyXFile): ditto
9779 * vc-backend.C (scanMaster): change from submatch[...] to
9782 * funcrequest.C: include config.h
9784 * factory.C: include config.h
9786 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9788 * box.C: include config.h
9790 * LaTeX.C (scanAuxFile): change from submatch[...] to
9794 2002-10-25 Angus Leeming <leeming@lyx.org>
9796 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9798 * ispell.[Ch] (setError): new method.
9799 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9800 Use setError() insetead of goto END.
9802 * lyx_cb.C (AutoSave): move out child process into new class
9805 2002-10-30 John Levon <levon@movementarian.org>
9807 * text3.C: make start appendix undoable
9809 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9811 * lyxlength.C (inPixels): Fix returned value.
9813 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9816 2002-10-24 Angus Leeming <leeming@lyx.org>
9818 * lyxgluelength.h: no need to forward declare BufferParams
9819 or BufferView, so don't.
9821 2002-10-21 John Levon <levon@movementarian.org>
9823 * BufferView.C: menuUndo ->undo, redo
9825 * BufferView.h: document, remove dead, make some methods private
9827 * paragraph_funcs.h:
9828 * paragraph_funcs.C:
9829 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9834 * sgml.C: move sgml open/close tag into sgml.C
9836 * bufferview_funcs.h: unused prototype
9839 * lyxfunc.C: remove unused
9842 * text.C: remove unused
9844 2002-10-21 John Levon <levon@movementarian.org>
9848 * BufferView_pimpl.h:
9849 * BufferView_pimpl.C: fix mouse wheel handling based on
9850 patch from Darren Freeman
9852 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9854 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9856 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9858 * lyxlength.C (inPixels): Fix hanfling of negative length.
9859 Fix LyXLength::MU case.
9861 2002-10-16 John Levon <levon@movementarian.org>
9863 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9865 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9867 * converter.C (view): add support for $$i (file name) and $$p
9868 (file path) for the viewer command. If $$i is not specified, then
9869 it is appended to the command (for compatibility with old syntax)
9871 2002-10-14 Juergen Vigna <jug@sad.it>
9873 * undo_funcs.C (textHandleUndo): alter the order in which the
9874 new undopar is added to the LyXText, as we have to set first
9875 the right prev/next and then add it as otherwise the rebuild of
9876 LyXText is not correct. Also reset the cursor to the right paragraph,
9877 with this IMO we could remove the hack in "redoParagraphs()".
9879 2002-10-09 Angus Leeming <leeming@lyx.org>
9881 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9882 to turn off an optimisation if a new inset is to be inserted.
9884 2002-10-11 André Pönitz <poenitz@gmx.net>
9886 * lyxtext.h: make some functions public to allow access
9887 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9889 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9891 * text3.C (dispatch): when changing layout, avoid an infinite loop
9894 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9896 * lyxrc.C (read): treat a viewer or converter command of "none" as
9899 * MenuBackend.C (expandFormats): for an update, also allow the
9900 formats that are not viewable
9902 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9903 script if it is newer than the lyxrc.defaults in user directory
9905 2002-10-07 André Pönitz <poenitz@gmx.net>
9907 * text.C: Vitaly Lipatov's small i18n fix
9909 2002-09-25 Angus Leeming <leeming@lyx.org>
9911 * ispell.h: doxygen fix.
9913 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9915 * buffer.h (readFile): Add a new argument to the method, to allow
9916 reading of old-format templates.
9918 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9920 * toc.C (getTocList): Get TOC from InsetWrap.
9922 2002-09-16 John Levon <levon@movementarian.org>
9924 * lyxfunc.C: check tabular for cut/copy too
9926 2002-09-12 John Levon <levon@movementarian.org>
9931 * factory.C: add header
9933 * paragraph_funcs.h:
9934 * paragraph_funcs.C: cleanup
9936 2002-09-11 John Levon <levon@movementarian.org>
9938 * PrinterParams.h: odd/even default to true
9940 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9942 * PrinterParams.h: update printer parameters for new xforms dialog
9944 2002-09-11 Angus Leeming <leeming@lyx.org>
9946 * lyxserver.C (read_ready): re-write to make it more transparent
9947 and to make it work in coherent fashion under Tru64 Unix.
9949 2002-09-11 André Pönitz <poenitz@gmx.net>
9953 * text3.C: implement LFUN_WORDSEL
9955 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9957 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9958 make floatlist_ a boost::shared_ptr<FloatList>
9960 * lyxtextclass.C: include FloatList.h
9961 (LyXTextClass): initialize floatlist_
9962 (TextClassTags): add TC_NOFLOAT
9963 (Read): match "nofloat" to TC_NOFLOAT and use it.
9964 (readFloat): modify call to floatlist_
9968 * FloatList.[Ch] (FloatList): remove commented out float
9970 (erase): new function
9972 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9974 * MenuBackend.C (expandToc): fix crash when there is no document
9977 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9979 * many files: Add insetwrap.
9981 2002-09-09 John Levon <levon@movementarian.org>
9983 * text2.C: remove confusing and awkward depth wraparound
9985 2002-09-09 John Levon <levon@movementarian.org>
9987 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9990 * buffer.C: remove getIncludeonlyList()
9993 * lyxfunc.C: remove headers
9995 2002-09-09 Juergen Vigna <jug@sad.it>
9997 * text.C (getColumnNearX): fix form Michael this is most
9998 probably a cut&paste bug.
10000 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10002 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10004 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10005 references, ws changes.
10007 * text2.C (init): update counters after init
10008 (insertParagraph): no need to set counter on idividual paragraphs.
10009 (setCounter): access the counters object in the textclass object
10010 on in the buffer object.
10011 (updateCounters): ditto
10013 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10014 shared_ptr<Counters> to avoid loading counters.h in all
10016 (LyXTextClass): initialize ctrs_
10017 (TextClassTags): add TC_COUNTER, and ...
10018 (Read): use it here.
10019 (CounterTags): new tags
10020 (readCounter): new function
10021 (counters): new funtion
10022 (defaultLayoutName): return a const reference
10024 * counters.C (Counters): remove contructor
10025 (newCounter): remove a couple of unneeded statements.
10026 (newCounter): simplify a bit.
10027 (numberLabel): some small formatting changes.
10029 * buffer.[Ch]: remove all traces of counters, move the Counters
10030 object to the LyXTextClass.
10032 2002-09-06 Alain Castera <castera@in2p3.fr>
10034 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10035 package to set the horizontal alignment on fixed width columns.
10038 * lyx_sty.h: added tabularnewline macro def.
10040 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10042 2002-09-06 John Levon <levon@movementarian.org>
10044 * LyXAction.C: tooltips for sub/superscript
10046 * MenuBackend.C: a bit more verbose
10048 * lyxfunc.C: tiny clean
10050 * undo_funcs.C: document undo_frozen
10052 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10054 * counters.C (Counters): add missing algorithm counter.
10056 * text2.C (setCounter): lookup the counter with layouts latexname
10057 instead of by section number.
10058 (setCounter): use a hackish way to lookup the correct enum
10060 a float name->type change
10061 reset enum couners with counter name directly instead of depth value.
10063 * counters.C (Counters): remove the push_backs, change to use the
10064 float type not the float name.
10065 (labelItem): remove unused string, float name->type change
10067 * counters.h: don't include vector, loose the enums and sects vectors
10069 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10071 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10072 (Read): add float->TC_FLOAT to textclassTags
10073 (Read): and handle it in the switch
10074 (readFloat): new function
10076 * FloatList.C (FloatList): comment out the hardcoded float
10079 * lyxlayout.h: ws change.
10081 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10083 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10085 2002-09-03 Angus Leeming <leeming@lyx.org>
10087 * BufferView_pimpl.h: qualified name is not allowed in member
10088 declaration: WorkArea & Pimpl::workarea() const;
10090 * factory.C: added using std::endl directive.
10092 * text3.C: added using std::find and std::vector directives.
10094 2002-08-29 André Pönitz <poenitz@gmx.net>
10097 * text2.C: remove unused member number_of_rows
10100 * BufferView2.C: remove file, move contents to...
10101 * BufferView.C: ... here
10103 * BufferView_pimpl.C:
10104 * factory.C: move more inset creation to factory
10106 * vspace.C: avoid direct usage of LyXText, ws changes
10109 don't provide direct access to WorkArea, use two simple
10110 acessors haveSelction() and workHeight() instead
10113 2002-08-29 John Levon <levon@movementarian.org>
10115 * BufferView_pimpl.C (dispatch): do not continue when
10118 2002-08-28 André Pönitz <poenitz@gmx.net>
10120 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10123 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10125 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10127 * buffer.C: increment LYX_FORMAT to 221
10129 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10130 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10132 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10134 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10136 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10138 * factory.C (createInset): use LyXTextClass::floats
10140 * MenuBackend.C (expandFloatListInsert):
10141 (expandFloatInsert):
10144 * text2.C (setCounter):
10146 * LaTeXFeatures.C (useFloat):
10147 (getFloatDefinitions):
10149 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10151 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10152 floatlist_, with accessor floats().
10154 * FloatList.h: remove global FloatList
10156 2002-08-26 André Pönitz <poenitz@gmx.net>
10158 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10162 * BufferView_pimpl.C:
10163 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10165 2002-08-25 John Levon <levon@movementarian.org>
10167 * LyXAction.C: fix margin note description
10169 2002-08-24 John Levon <levon@movementarian.org>
10173 * bufferview_funcs.C:
10175 * undo_funcs.C: cleanups
10177 * lyxfunc.C: disable CUT/COPY when no selection
10179 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10181 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10182 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10184 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10185 Add backward compatibility to "mono", "gray" and "no".
10187 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10189 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10190 (and file_format >= 200).
10192 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10194 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10196 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10198 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10200 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10202 * BufferView_pimpl.C:
10209 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10210 inset and code to make it work with the paragraph code. The inset
10211 can be anywhere in the paragraph, but will only do the expected
10212 thing in LaTeX if the layout file contains the parameter line
10214 (or more generally, a nonzero value) for that layout.
10216 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10218 * paragraph.h: remove the declaration of undefined counters class
10221 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10223 * text2.C (setCounter): fixed enumeration mis-count as reported by
10224 Dr. Richard Hawkins.
10226 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * paragraph_funcs.h: remove some unneeded includes
10230 * text.C (backspace): pasteParagraph now in global scipe
10232 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10233 (pasteSelection): ditto
10235 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10236 * paragraph_funcs.C (pasteParagraph): ... here
10238 2002-08-20 André Pönitz <poenitz@gmx.net>
10240 * commandtags.h: new LFUNs for swapping/copying table row/colums
10243 * lyxfunc.C: support for new lfuns
10245 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10248 * buffer.[Ch]: remove NO_COMPABILITY stuff
10250 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10252 * boost.C (throw_exception): new file, with helper function for
10253 boost compiled without exceptions.
10258 * ParameterStruct.h:
10259 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10261 * bufferlist.C (emergencyWriteAll): use boost bind
10263 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10265 * text.C: include paragraph_funcs.h
10266 (breakParagraph): breakParagraph is now in global scope
10268 * paragraph_funcs.[Ch]: new files
10270 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10273 * buffer.C: include paragraph_funcs.h
10274 (insertStringAsLines): breakParagraph is now in global scope
10276 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10279 * CutAndPaste.C: include paragraph_funcs.h
10280 (cutSelection): breakParagraphConservative is now in global scope
10281 (pasteSelection): ditto
10283 * buffer.h: declare oprator== and operator!= for
10284 Buffer::inset_iterator
10286 * bufferlist.C (emergencyWrite): don't use fmt(...)
10288 * text3.C: add using std::endl
10290 * BufferView.C (moveCursorUpdate): remove default arg
10292 2002-08-20 André Pönitz <poenitz@gmx.net>
10294 * buffer.[Ch]: move inline functions to .C
10297 * BufferView_pimpl.C:
10299 * buffer.[Ch]: use improved inset_iterator
10302 * paragraph.[Ch]: write one paragraph at a time
10304 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10306 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10307 style if style is not specified.
10309 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10311 * text2.C (setCounter): when searching for right label for a
10312 caption, make sure to recurse to parent insets (so that a caption
10313 in a minipage in a figure float works) (bug #568)
10315 2002-08-20 André Pönitz <poenitz@gmx.net>
10317 * text3.C: new file for LyXText::dispatch() and helpers
10319 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10321 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10323 2002-08-19 André Pönitz <poenitz@gmx.net>
10326 * text.C: new LyXText::dispatch()
10328 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10330 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10332 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10334 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10337 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * Makefile.am: use $(variables) instead of @substitutions@
10341 2002-08-15 André Pönitz <poenitz@gmx.net>
10344 * BufferView_pimpl.C: streamlining mathed <-> outer world
10348 * LyXAction.C: remove unused LFUN_MATH
10350 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10352 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10354 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10356 * paragraph.C (Paragraph): reformat a bit
10357 (cutIntoMinibuffer): use builtin InsetList function instad of
10361 * buffer.C: include boost/bind.hpp, add using std::for_each
10362 (writeFileAscii): use ParagraphList iterators
10363 (validate): use for_each for validate traversal of paragraphs
10364 (getBibkeyList): use ParagraphList iterators
10365 (resizeInsets): use for_each to resizeInsetsLyXText for all
10367 (getParFromID): use ParagraphList iterators
10369 * BufferView2.C (lockInset): use paragraph list and iterators
10371 2002-08-14 John Levon <levon@movementarian.org>
10373 * lyxserver.C: remove spurious xforms include
10375 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10379 2002-08-13 André Pönitz <poenitz@gmx.net>
10382 * lyxfunc.C: further cleaning
10384 2002-08-13 André Pönitz <poenitz@gmx.net>
10386 * funcrequest.h: new constructor
10388 * funcrequest.C: move stuff here from .h
10391 * BufferView_pimpl.C:
10394 * lyxfunc.C: subsequent changes
10396 * lyxfunc.h: new view() member function
10398 * lyxfunc.C: subsequent changes
10400 2002-08-13 Angus Leeming <leeming@lyx.org>
10403 * BufferView_pimpl.C:
10411 changes due to the changed LyXView interface that now returns references
10412 to member variables not pointers.
10414 2002-08-13 Angus Leeming <leeming@lyx.org>
10416 * WordLangTuple (word, lang_code): return references to strings,
10421 * lyxtext.h: forward-declare WordLangTuple.
10426 * text.C: #include "WordLangTuple.h".
10429 * text.C: (selectNextWordToSpellcheck): constify return type.
10431 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10437 * paragraph_pimpl.h:
10440 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10441 suggested by Angus.
10442 Made updateCounter always count from start of buffer, and removed
10443 second argument (par).
10444 Reverted floats number display to '#'. Perhaps I'll try again when the
10445 code base is sanitized a bit.
10447 2002-08-12 Angus Leeming <leeming@lyx.org>
10449 * buffer.[Ch] (getLabelList): constify.
10451 2002-08-07 André Pönitz <poenitz@gmx.net>
10453 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10455 * funcrequest.h: extension to keep mouse (x,y) position
10457 2002-08-12 Juergen Vigna <jug@sad.it>
10459 * BufferView2.C (insertErrors): forbid undo when inserting error
10462 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10464 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10466 * ParagraphList.[Ch]: new files
10468 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10470 * BufferView2.C (lockInset): ParagraphList changes
10473 * bufferlist.C: ditto
10477 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10479 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10480 unused class variable counter_,
10482 * paragraph.[Ch] (getFirstCounter): delete unused function
10484 * counters.C: include LAssert.h
10485 (reset): add a new function with no arg, change other version to
10486 not have def. arg and to not allow empty arg.
10488 * text2.C (setCounter): remove empty arg from call to Counters::reset
10490 2002-08-11 John Levon <levon@movementarian.org>
10492 * Makefile.am: add WordLangTuple.h
10494 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10496 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10497 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10499 * insets/insettext.C: InsetList changes
10501 * graphics/GraphicsSupport.C (operator()): InsetList changes
10503 * toc.C (getTocList): InsetList changes
10505 * paragraph_pimpl.[Ch]: InsetList changes
10507 * paragraph.[Ch]: InsetList changes
10509 * buffer.C (inset_iterator): InsetList changes
10510 (setParagraph): ditto
10511 * buffer.h (inset_iterator): ditto
10512 * iterators.C (operator++): ditto
10513 * iterators.h: ditto
10515 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10517 * InsetList.[Ch]: new files, most InsetList handling moved out of
10520 * BufferView2.C (removeAutoInsets): InsetList changes
10522 (ChangeInsets): ditto
10524 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10526 * paragraph_pimpl.h (empty): new function
10528 * paragraph.[Ch] (empty): new function
10530 * other files: use the new Paragraph::empty function
10532 2002-08-09 John Levon <levon@movementarian.org>
10534 * lyxtext.h: remove unused refresh_height
10536 2002-08-09 John Levon <levon@movementarian.org>
10543 * paragraph.C: move sgml char escaping out of paragraph
10546 * paragraph.C: remove id setter
10550 * paragraph_pimpl.C: remove dead tex_code_break_column
10552 * bufferview_funcs.C: small cleanup
10554 * lyxfunc.C: remove dead proto
10556 * lyxtext.h: make some stuff private. Remove some dead stuff.
10558 * lyxgluelength.C: make as[LyX]String() readable
10560 2002-08-08 John Levon <levon@movementarian.org>
10565 * ToolbarDefaults.C:
10568 * toc.C: lyxaction cleanup
10570 2002-08-08 John Levon <levon@movementarian.org>
10572 * BufferView2.C: small cleanup
10575 * lyxfind.C: move unnecessary header into the .C
10577 2002-08-08 John Levon <levon@movementarian.org>
10579 * funcrequest.h: just tedious nonsense
10582 * lyx_main.C: cleanups
10585 * vspace.C: remove dead header lyx_main.h
10587 2002-08-07 Angus Leeming <leeming@lyx.org>
10590 * paragraph_pimpl.h:
10591 Forward declare class Counters in paragraph.h by moving the ctrs member
10592 variable into Paragraph::Pimpl.
10593 (counters): new method, returning a reference to pimpl_->ctrs.
10595 * text2.C: ensuing changes.
10597 2002-08-07 John Levon <levon@movementarian.org>
10599 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10601 * BufferView_pimpl.C: announce X selection on double/triple
10604 * lyx_main.C: use correct bool in batch dispatch
10606 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10608 2002-08-07 André Pönitz <poenitz@gmx.net>
10610 * funcrequest.h: new class to wrap a kb_action and its argument
10613 * BufferView_pimpl[Ch]:
10617 * lyxrc.C: subsequent changes
10620 2002-08-07 John Levon <levon@movementarian.org>
10622 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10623 document options change.
10625 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10630 * makefile.am: move counters functionality over from
10631 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10633 2002-08-06 John Levon <levon@movementarian.org>
10635 * WordLangTuple.h: new file for word + language code tuple
10646 * BufferView2.C: use WordLangTuple
10649 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10651 2002-08-06 John Levon <levon@movementarian.org>
10653 * lyx_main.C: fix cmdline batch handling
10655 2002-08-06 André Pönitz <poenitz@gmx.net>
10657 * lyxrc.C: set default for show_banner to true
10659 2002-08-06 John Levon <levon@movementarian.org>
10661 * pspell.C: fix a crash, and allow new aspell to work
10663 2002-08-06 John Levon <levon@movementarian.org>
10666 * kbmap.C: small cleanup
10669 * vspace.C: add const
10671 2002-08-05 John Levon <levon@movementarian.org>
10673 * LyXAction.C: back to tabular-insert
10675 2002-08-04 John Levon <levon@movementarian.org>
10678 * BufferView.C: cosmetic change
10680 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10690 * BufferView2.C: purge all "Lyx" not "LyX" strings
10693 * lyxcursor.C: attempt to add some documentation
10698 * ToolbarDefaults.C:
10699 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10700 merge with LFUN_TABULAR_INSERT
10707 * pspell.C: split up i/pspell implementations into separate
10708 files, many cleanups
10710 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10712 * text2.C: some cleanup
10714 * lyxfunc.C: don't check for isp_command == "none" any more, it
10715 didn't make any sense
10717 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10722 * makefile.am: move counters functionality over
10723 from text2.C/paragraph.[Ch] to counters.[Ch], and
10725 2002-08-02 John Levon <levon@movementarian.org>
10727 * buffer.C: s/lyxconvert/lyx2lyx/
10729 2002-08-02 Angus Leeming <leeming@lyx.org>
10731 * lyxlex.C: revert John's change as it breaks reading of the user
10734 2002-08-02 Angus Leeming <leeming@lyx.org>
10736 * importer.C (Import):
10737 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10738 changes due to LyXView::view() now returning a boost::shared_ptr.
10740 2002-08-02 John Levon <levon@movementarian.org>
10742 * lyxlex.C: small cleanup
10744 2002-08-02 John Levon <levon@movementarian.org>
10746 * text2.C (status): small cleanup, no logic change
10748 2002-08-01 John Levon <levon@movementarian.org>
10751 * buffer.C (writeFile): don't output alerts, caller
10755 * lyx_cb.C: from above
10757 * lyxfunc.C: allow to open non-existent files
10759 2002-07-31 John Levon <levon@movementarian.org>
10761 * lyxserver.C: don't let incidental errors get
10764 2002-07-30 John Levon <levon@movementarian.org>
10766 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10768 2002-07-30 John Levon <levon@movementarian.org>
10771 * lyxserver.C: remove I/O callback too
10773 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10778 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10780 * many files: strip,frontStrip -> trim,ltrim,rtrim
10782 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10784 * PrinterParams.h: remove extern containsOnly, and include
10785 support/lstrings.h instead.
10787 * LaTeX.C (scanAuxFile): modify because of strip changes
10789 * buffer.C (makeLaTeXFile): ditto
10790 * bufferparams.C (writeFile): ditt
10791 * lyxfont.C (stateText): ditto
10792 * lyxserver.C (read_ready): ditto
10793 * vc-backend.C (scanMaster): ditto
10795 * BufferView_pimpl.h: ws changes
10797 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10799 2002-07-26 André Pönitz <poenitz@gmx.net>
10801 * kb_sequence.C: remove unnedred usings
10803 2002-07-26 Juergen Vigna <jug@sad.it>
10805 * lyxfind.C (LyXReplace): we have to check better if the returned
10806 text is not of theLockingInset()->getLockingInset().
10808 2002-07-25 Juergen Vigna <jug@sad.it>
10810 * lyxfind.C (LyXReplace): don't replace if we don't get the
10813 * undo_funcs.C (createUndo): remove debugging code.
10815 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10817 * buffer.C (parseSingleLyXformat2Token): Use default placement
10818 when reading old floats.
10820 * FloatList.C (FloatList): Change the default placement of figure
10821 and tables to "tbp".
10823 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10825 * MenuBackend.C: using std::max
10827 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * MenuBackend.C (expandToc):
10830 (expandToc2): code moved from xforms menu frontend. It is now
10831 generic and TOCs are transparent to menu frontends.
10833 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * toc.C (getTocList): protect against buf=0
10837 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10838 Menu as first parameter. Now, this calls itself recursively to
10839 expand a whole tree (this will be useful for TOC handling)
10840 (expandFloatInsert): remove 'wide' version of floats
10842 * MenuBackend.h (submenuname): returns the name of the submenu.
10843 (submenu): returns the submenu itself, provided it has been
10844 created by MenuBackend::expand
10846 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10848 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10849 insets which have noFontChange == true. (bug #172)
10851 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10853 * BufferView_pimpl.C: add connection objects and use them...
10856 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * MenuBackend.C (expandLastfiles):
10861 (expandFloatListInsert):
10862 (expandFloatInsert):
10863 (expand): split expand in parts
10865 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10867 * lyx_gui.C: use lyx_gui::exit()
10869 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10871 * LyXAction.C: show the failing pseudo action
10873 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10875 * buffer.C (readFile): Run the lyxconvert script in order to read
10878 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10882 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10884 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10888 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10890 2002-07-22 Herbert Voss <voss@lyx.org>
10893 * lyxlength.[Ch]: add support for the vertical lengths
10895 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10897 * toc.[Ch]: std:: fixes
10899 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10901 * lyxrc.C: do not include lyx_main.h
10903 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10909 * BufferView2.C: include "lyxlex.h"
10912 * bufferparams.h: do not #include "lyxlex.h"
10914 * lyxtextclasslist.C (Add): remove method
10915 (classlist): renamed to classlist_
10917 * paragraph_pimpl.C:
10921 * bufferview_funcs.C:
10926 * toc.C (getTocList): use BufferParams::getLyXTextClass
10928 * toc.C (getTocList): use InsetFloat::addToToc
10930 * toc.[Ch]: new files, containing helper functions to handle table
10933 * lyxfunc.C (dispatch): no need to remove spaces around command
10935 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10936 first command of the sequence; it is not very clever, but I do not
10937 have a better idea, actually
10939 * LyXAction.C (LookupFunc): make sure to remove space at the
10940 beginning and end of the command
10942 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10944 * MenuBackend.C (getMenubar): new method: return the menubar of
10946 (read): treat differently reading of menu and menubar (in
10947 particular, the menubar has no name now)
10948 (Menu::menubar): remove
10950 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10953 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10955 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10956 a bibitem inset in a RTL paragraph.
10958 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10960 * paragraph_pimpl.C: constify
10962 * BufferView_pimpl.C:
10964 * lyxfunc.C: fix dispatch in a nicer way
10966 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10968 * lyxfunc.C (dispatch):
10969 * BufferView_pimpl.C:
10970 * BufferView_pimpl.h:
10972 * BufferView.h: rename Dispatch() to dispatch()
10974 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10976 * lyxlayout.C (Read): honor DependsOn tag
10978 * lyxlayout.[Ch] (depends_on): new method
10980 * version.C.in: update lyx_docversion
10982 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10984 * paragraph.C (validate): remove from here...
10985 * paragraph_pimpl.C (validate): ... and move here
10986 (isTextAt): make it const
10988 * buffer.C (getLists): ws cleanup
10990 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10992 * language.C (read): Use iso8859-1 encoding in latex_lang
10993 (this prevents LyX from crashing when using iso10646-1 encoding).
10995 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10997 * text2.C (toggleInset): if cursor is inside an inset, close the
10998 inset and leave cursor _after_ it
11000 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11002 * lyxfunc.C: move minibuffer completion handling out of here
11004 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11006 * BufferView_pimpl.C:
11007 * LaTeX.C: fix dispatch calls
11009 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11011 * text.C (drawChars): Fix Arabic text rendering.
11013 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11017 * lyxfunc.C: remove message-push/pop
11021 * lyxfunc.C: rationalise some code by removing verboseDispatch
11022 in favour of a bool argument to dispatch()
11024 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * lyx_main.C (init): make sure to read symlinks as absolute paths
11028 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11031 * lyxfunc.C: no need for commandshortcut to be a member
11033 2002-07-15 André Pönitz <poenitz@gmx.net>
11035 * converter.C: add support for $$s (scripts from lib/scripts dir)
11036 * lyx_main.C: white space
11038 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11042 * lyxrc.C: remove second exit confirmation
11044 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11049 * BufferView_pimpl.h:
11050 * BufferView_pimpl.C:
11051 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11053 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * MenuBackend.C (expand): add numeric shortcuts to document menu
11057 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11059 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * lyxfont.C (setLyXFamily):
11068 * buffer.C (asciiParagraph): use ascii_lowercase
11070 2002-07-15 Mike Fabian <mfabian@suse.de>
11072 * lyxlex_pimpl.C (search_kw):
11073 * lyxlex.C (getLongString):
11074 * converter.h (operator<):
11075 * converter.C (operator<):
11076 * buffer.C (parseSingleLyXformat2Token):
11078 * ToolbarDefaults.C (read):
11079 * MenuBackend.C (checkShortcuts):
11081 * LColor.C (getFromGUIName):
11082 (getFromLyXName): use the compare_ascii_no_case instead of
11083 compare_no_case, because in turkish, 'i' is not the lowercase
11084 version of 'I', and thus turkish locale breaks parsing of tags.
11086 2002-07-16 Angus Leeming <leeming@lyx.org>
11088 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11089 now takes a Buffer const & argument.
11091 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11093 * BufferView.C (resize): check there's a buffer to resize
11095 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11097 * lyxfunc.C: remove dead code
11100 * lyxserver.C: use lyx_guii::set_read_callback
11102 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11104 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11105 an inset in a RTL paragraph.
11107 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11109 * lyxfunc.C: repaint after a font size update
11111 2002-07-15 André Pönitz <poenitz@gmx.net>
11113 * lyxlength.C: inBP should be able to return negative values
11115 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11117 * lyxfunc.C: use lyx_gui::update_fonts()
11119 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11121 * lyxfunc.C: use lyx_gui::update_color()
11123 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11129 * lyxrc.C: remove file->new asks for name option, and let
11130 buffer-new take an argument
11132 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11134 * BufferView_pimpl.C: remove unneeded extra repaint()
11136 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11138 * LyXAction.C: allow command-sequence with NoBuffer
11140 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11142 2002-07-10 Angus Leeming <leeming@lyx.org>
11144 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11146 2002-07-09 Angus Leeming <leeming@lyx.org>
11148 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11150 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11152 * lengthcommon.h: whitespace
11154 * lyxfunc.C: update scrollbar after goto paragraph
11156 * lyxtext.h: factor out page break drawing, and fix it so
11157 page break/added space paints as selected nicely
11159 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11161 * BufferView_pimpl.C: add FIXMEs, clean up a little
11163 2002-07-09 André Pönitz <poenitz@gmx.net>
11165 * lyxfont.[Ch]: support for wasy symbols
11167 2002-07-08 André Pönitz <poenitz@gmx.net>
11169 * BufferView_pimpl.C: apply John's patch for #93.
11171 2002-07-05 Angus Leeming <leeming@lyx.org>
11173 * BufferView_pimpl.C (buffer): generate previews if desired.
11175 * LColor.h: add "preview" to the color enum.
11177 * LColor.C (LColor): add a corresponding entry to the items array.
11179 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11182 2002-07-05 Angus Leeming <leeming@lyx.org>
11184 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11185 The body of the code is now in the method that is passed an ostream &
11186 rather than a file name.
11187 Pass an additional only_preamble parameter, useful for the forthcoming
11190 2002-07-03 André Pönitz <poenitz@gmx.net>
11192 * lyxfunc.C: simplify getStatus() a bit for math stuff
11194 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11198 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11200 * text.C (changeRegionCase): do not change case of all the
11201 document when region ends at paragraph end (bug #461)
11203 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11205 * paragraph.C (startTeXParParams):
11206 (endTeXParParams): add \protect when necessary
11208 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11210 * BufferView_pimpl.C (workAreaExpose): remove warning
11212 2002-06-27 Angus Leeming <leeming@lyx.org>
11214 * Makefile.am: add lyxlayout_ptr_fwd.h.
11216 2002-06-26 André Pönitz <poenitz@gmx.net>
11218 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11220 2002-06-25 Angus Leeming <leeming@lyx.org>
11222 * lyxfunc.C (dispatch): Comment out the call to
11223 grfx::GCache::changeDisplay. The method no longer exists now that the
11224 pixmap generation part of the graphics loader has been moved into
11227 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * text2.C: layout as layout
11231 * text.C: layout as layout
11233 * tabular.C (OldFormatRead): layout as layout
11235 * paragraph_pimpl.C (TeXDeeper): layout as layout
11236 (realizeFont): layout as layout
11238 * paragraph.C (writeFile): layout as layout
11239 (validate): layout as layout
11240 (getFont): layout as layout
11241 (getLabelFont): layout as layout
11242 (getLayoutFont): layout as layout
11243 (breakParagraph): layout as layout
11244 (stripLeadingSpaces): layout as layout
11245 (getEndLabel): layout as layout
11246 (getMaxDepthAfter): layout as layout
11247 (applyLayout): layout as layout
11248 (TeXOnePar): layout as layout
11249 (simpleTeXOnePar): layout as layout
11250 (TeXEnvironment): layout as layout
11251 (layout): layout as layout
11252 (layout): layout as layout
11254 * lyxtextclass.C (compare_name): new functor to work with
11255 shared_ptr, layout as layout
11256 (Read): layout as layout
11257 (hasLayout): layout as layout
11258 (operator): layout as layout
11259 (delete_layout): layout as layout
11260 (defaultLayout): layout as layout
11262 * lyxlayout_ptr_fwd.h: new file
11264 * lyxlayout.C (Read): layout as layout
11266 * lyx_cb.C (MenuInsertLabel): layout as layout
11268 * bufferlist.C (newFile): layout as layout
11270 * buffer.C (readLyXformat2): layout as layout
11271 (parseSingleLyXformat2Token): layout as layout
11272 (insertStringAsLines): layout as layout
11273 (asciiParagraph): layout as layout
11274 (latexParagraphs): layout as layout
11275 (makeLinuxDocFile): layout as layout
11276 (simpleLinuxDocOnePar): layout as layout
11277 (makeDocBookFile): layout as layout
11278 (simpleDocBookOnePar): layout as layout
11279 (getLists): layout as layout
11281 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11283 * CutAndPaste.C (cutSelection): layout as layout
11284 (pasteSelection): layout as layout
11285 (SwitchLayoutsBetweenClasses): layout as layout
11287 * BufferView_pimpl.C (Dispatch): layout as layout
11288 (smartQuote): layout as layout
11290 * BufferView2.C (unlockInset): layout as layout
11292 2002-06-24 André Pönitz <poenitz@gmx.net>
11294 * lyxfunc.C: fix #487
11296 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11300 * lyxfunc.C: remove display_shortcuts, show_banner
11302 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11304 * Buffer_pimpl.C: oops, update on resize
11306 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11313 * BufferView.C: use repaint()
11315 * BufferView_pimpl.h:
11316 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11317 as it's a clearer description. Remove superfluous
11320 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11322 * text.C: fix bug 488. Not ideal, but getting
11323 getWord() to work properly for the insets that
11324 matter is more difficult ...
11326 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11328 * BufferView_pimpl.C:
11331 * lyxfunc.C: remove the six million index lyxfuncs to just
11332 one, and DTRT (bug 458)
11334 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11338 * BufferView_pimpl.h:
11339 * BufferView_pimpl.C: clean up resize() stuff,
11340 and unnecessary updateScreen()s
11342 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11346 * BufferView_pimpl.h:
11347 * BufferView_pimpl.C:
11350 * minibuffer.C: remove focus management of workarea,
11351 not needed. Use screen's greyOut()
11353 2002-06-17 Herbert Voss <voss@lyx.org>
11355 * converter.C: (convert) do not post a message, when converting
11356 fails, let the calling function decide what to do in this case
11358 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11360 * lyxfunc.C: tidy up a little
11362 2002-06-16 <alstrup@diku.dk>
11364 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11365 Got rid of FORMS_H_LOCATION include. Now we are
11368 2002-06-15 LyX Development team <lyx@rilke>
11370 * buffer.[Ch] (sgmlOpenTag):
11371 (sgmlCloseTag): Added support for avoiding pernicious mixed
11372 content. Return number of lines written.
11374 (makeLinuxDocFile):
11375 (makeDocBookFile): Fixed calls to sgml*Tag.
11376 Simple white space clean.
11378 (simpleDocBookOnePar): Simple white space clean.
11380 * tabular.[Ch] (docBook): Renamed to docbook and got another
11381 argument to related with the pernicious mixed content.
11383 (docbookRow): Fixed calls for docbook inset method.
11385 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11387 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11388 so it's X11 independent.
11392 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11394 2002-06-15 Lyx Development team <lyx@electronia>
11396 * intl.h: Renamed getTrans to getTransManager.
11398 2002-06-14 Angus Leeming <leeming@lyx.org>
11400 * Makefile.am: nuke forgotten stl_string_fwd.h.
11402 2002-06-12 Angus Leeming <leeming@lyx.org>
11404 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11406 2002-06-13 Angus Leeming <leeming@lyx.org>
11409 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11411 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11413 * kbmap.C (getiso): add support for cyrillic and greek
11415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11419 * BufferView_pimpl.h:
11420 * BufferView_pimpl.C: move bogus scrolling logic
11423 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11426 * BufferView_pimpl.C: view->resize() change
11428 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11430 * BufferView_pimpl.C: topCursorVisible
11433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11437 * lyx_gui.C: move to frontends/
11441 * lyx_main.C: changes from above
11443 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11450 * lyx_main.C: minor tidy
11452 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11454 * BufferView_pimpl.h:
11455 * BufferView_pimpl.C:
11457 * BufferView.C: make painter() const,
11460 * BufferView2.C: use screen() accessor
11463 * lyx_main.C: some minor cleanup
11465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11467 * BufferView_pimpl.h:
11468 * BufferView_pimpl.C: remove enter/leaveView,
11471 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11476 * BufferView_pimpl.h:
11477 * BufferView_pimpl.C: only construct screen once,
11480 * lyxrc.C: remove pointless comment
11482 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11485 * BufferView.C: remove active() and belowMouse()
11487 * BufferView_pimpl.h:
11488 * BufferView_pimpl.C: use workarea() not workarea_,
11489 and make it use a scoped_ptr instead
11491 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11493 * lyx_gui.C: add debug message on BadWindow
11495 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11497 * sp_spell.C: fdopen is not part of the C++ standard.
11499 * paragraph.C (InsetIterator): use >= instead of ==
11501 2002-06-07 Angus Leeming <leeming@lyx.org>
11503 Fixes needed to compile with Compaq cxx 6.5.
11504 * BufferView_pimpl.C:
11511 * lyxtextclasslist.C:
11516 all c-library variables have been moved into namespace std. Wrap
11517 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11522 Add a using std::abs declaration.
11524 * kbmap.h (modifier_pair):
11525 * paragraph.h (InsetTable, InsetList):
11526 * lyxfont.h (FontBits):
11527 type definition made public.
11529 * bufferlist.C (emergencyWriteAll): the compiler complains that
11530 there is more than one possible lyx::class_fun template to choose from.
11531 I re-named the void specialisation as lyx::void_class_fun.
11533 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11535 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11536 the compiler is is unable to find tostr in write_attribute.
11538 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * buffer.C (sgmlError): hide #warning
11542 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11544 * xtl/*: get rid of xtl, which is not in use anyway
11546 * LyXAction.C (init):
11547 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11548 were unimplemented xtl experimentation
11550 2002-06-04 André Pönitz <poenitz@gmx.net>
11552 * lyxfunc.C: disable array operation on simple formulae
11554 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11556 * converter.C: constify a bit
11558 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11560 * lyx_gui.C: check xforms version correctly
11562 2002-04-30 Herbert Voss <voss@lyx.org>
11564 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11567 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11569 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11570 attempt to register it with a VCS)
11572 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11574 * lyx_main.C (init): honor variables LYX_DIR_13x and
11577 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11581 * lyx_main.C: fix a crash on bad command line,
11582 and give a useful exit status on error
11584 * lyxfunc.C (doImport): allow -i lyx to work
11586 2002-03-30 André Pönitz <poenitz@gmx.net>
11588 * lyxfunc.C: mathed font changes
11590 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11605 * trans_mgr.h: srcdocs, and some minor cleanups
11607 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11610 call getFont all the time)
11612 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * switch from SigC signals to boost::signals
11616 2002-05-29 André Pönitz <poenitz@gmx.net>
11618 * paragraph_pimpl.C (getChar): don't call size() too often...
11620 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11622 * paragraph_pimpl.C (insertChar): do not try to update tables when
11623 appending (pos == size())
11625 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11626 in order to reduce drastically the number of comparisons needed to
11627 parse a large document
11629 2002-05-29 André Pönitz <poenitz@gmx.net>
11635 * textclasslist.[Ch]:
11636 * sp_ispell.h: whitespace change
11638 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11640 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11641 lyxaction directly now.
11643 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11647 * lyxvc.C: remove unused headers
11649 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11656 * undo_funcs.C: some cleanups. Use shared_ptr
11657 and a template for the undo stacks.
11659 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11661 * BufferView_pimpl.h:
11662 * BufferView_pimpl.C:
11669 * text2.C: use key_state/mouse_state
11671 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11676 * chset.C: change include order
11677 (loadFile): use boost regex and get rid of LRegex and LSubstring
11679 * Makefile.am (BOOST_LIBS): new variable
11680 (lyx_LDADD): use it
11682 * LaTeX.C: change include order.
11683 (scanAuxFile): use boost regex and get rid of LRegex and
11687 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11692 * FontInfo.C: moved to frontends/xforms/
11695 * FontLoader.C: moved into frontends for GUIIzation
11700 * lyxfunc.C: changes from above
11702 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11704 * LColor.C: remove spurious X include
11706 * BufferView_pimpl.C:
11711 * text2.C: move font metrics to frontends/
11713 2002-05-24 Juergen Vigna <jug@sad.it>
11715 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11716 setting the undo_cursor.
11718 * ParagraphParameters.h: include local includes first.
11720 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11722 * BufferView_pimpl.C:
11723 * BufferView_pimpl.h:
11727 * screen.C: move WorkArea into frontends/
11733 * BufferView2.C: move LyXScreen into frontends/
11737 * lyx_gui.C: move lyxlookup into frontends/xforms/
11739 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11742 * BufferView_pimpl.C:
11752 * bufferview_funcs.C:
11765 * vc-backend.C: move LyX/XFormsView into frontends/
11767 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11779 * text2.C: move Painter to frontends/
11781 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11783 * buffer.C: comment out some some code that depend upon lyx_format
11786 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11787 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11789 * buffer.h (NO_COMPABILITY): turn off compability
11791 * ColorHandler.C: include scoped_array.hpp
11793 * font.C: Use more specific smart_ptr header.
11796 * ShareContainer.h: ditto
11797 * lyx_main.h: ditto
11799 * FontInfo.h: ditto
11800 * BufferView_pimpl.h: ditto
11801 * ColorHandler.h: ditto
11803 * kbmap.C (defkey): change call to shared_ptr::reset
11805 2002-05-21 Juergen Vigna <jug@sad.it>
11807 * buffer.C (insertErtContents): fix to insert ert asis if it is
11808 non empty. Skip it completely if it contains only whitespaces.
11810 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11812 * BufferView_pimpl.C:
11813 * BufferView2.C: clear selection on paste (bug 393)
11815 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * DepTable.C: include ctime
11819 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11821 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11823 2002-05-14 Juergen Vigna <jug@sad.it>
11825 * text.C (breakParagraph): fixed function to honor the keepempty
11826 layout in the right maner and also to permit the right breaking
11827 algorithm on empty or non empyt keepempty paragraphs.
11829 * paragraph.C (breakParagraph): we have to check also if the par
11830 is really empty (!size()) for isempty otherwise we do the wrong
11833 2002-05-10 Juergen Vigna <jug@sad.it>
11835 * buffer.[Ch] : The following are only changes to the ert
11836 compatibility read reading old LaTeX layout and font stuff and
11837 convert it to ERTInsets.
11839 * buffer.h: added isErtInset().
11841 * buffer.C (struct ErtComp): add a fromlayout bool to check
11842 if we're inside a LaTeX layout.
11843 (isErtInset): new helper function.
11844 (insertErtContents): look for other ert insets before this one
11845 and insert the contents there, so that we don't have subsequent
11846 ERT insets with nothing between them. This way we create only one
11847 inset with multiple paragraphs. Also check if we don't insert only
11848 spaces ' ' as they are ignored anyway afterwards in the .tex file
11849 so if we have only spaces we will ignore this latex part in the
11851 (parseSingleLyXformat2Token \\layout): better compatibility when
11852 reading layout-latex stuff.
11853 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11855 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11856 stuff after reading the inset only get the information back from
11859 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11861 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11863 * LaTeXFeatures.C (getBabelOptions): New method.
11865 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * BufferView_pimpl.C (Dispatch): work around missing argument for
11870 2002-05-08 Juergen Vigna <jug@sad.it>
11872 * text.C (leftMargin): handle paragraph leftindent.
11874 * paragraph.C (writeFile): write the new \\leftindent tag.
11875 (validate): handle leftindent code.
11876 (TeXEnvironment): handle paragraphleftindent code again.
11878 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11880 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11881 for paragrap_extra indent code and new token \\leftindent.
11882 (latexParagraphs): handle the leftindent as environment.
11884 * ParameterStruct.h: added leftindent support.
11886 * ParagraphParameters.C (leftIndent): added support functions for
11887 the paragraph left indent.
11889 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11892 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11894 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11897 * text.C (computeBidiTables): No bidi in insetERT.
11899 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11902 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * version.C.in: pre 5
11906 2002-05-02 José Matos <jamatos@fep.up.pt>
11907 * buffer.C (makeDocBookFile): white space changes, add newline to
11909 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11911 * tabular.C (docBook): fix typo.
11913 2002-05-03 Juergen Vigna <jug@sad.it>
11915 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11916 change in LyXText as we can not be sure it was not freed.
11917 (drawOneRow): remove unused code.
11919 * text.C (drawInset): redo the calculation of the need_break_row as
11920 it could have a row which was already freed.
11921 (draw): look at the return value of drawInset and return false if
11922 it also returned false.
11923 (paintRowText): look at the return value of draw and return false if
11924 it also returned false.
11926 * lyxtext.h: added bool return type to drawInset() and draw() so that
11927 if we have a change in the row so that the rowbreak has to be redone
11928 we abort drawing as it will be called again.
11930 2002-05-02 Juergen Vigna <jug@sad.it>
11932 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11933 a change in the maintext also if we're inside an inset.
11934 (Dispatch): set the cursor again after a break line and after the
11935 screen has been updated as it could be we're in a different row.
11937 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11938 to set the cursor behind the pargraph with > size().
11939 (setCursor): check also for the same paragraph when checking where
11940 to put the cursor if we have a NFR inset.
11942 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11943 parts of layout read further up as it still was in the wrong
11946 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11948 * screen.C (drawFromTo): change sine fullRebreak always return
11951 * buffer.C (parseSingleLyXformat2Token): reindent some
11953 * BufferView_pimpl.C (update): change since fullRebreak always
11955 (Dispatch): git rid of the last hardcoded "Standard"s.
11957 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11959 * text2.[Ch] (fullRebreak): make it return void now that we always
11962 2002-04-30 Juergen Vigna <jug@sad.it>
11964 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11965 ert compatibility check for "latex" layout.
11967 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11969 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11970 minipages: use col% instead of p%, and also use the current font.
11971 (makeLaTeXFile): Fix use babel condition.
11972 (parseSingleLyXformat2Token): Correct font when reading old floats.
11974 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11976 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11977 inserting list of floats.
11979 2002-04-25 Herbert Voss <voss@lyx.org>
11981 * MenuBackend.C (expand): don't add the graphics extensions to the
11984 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11987 non-existing layout, do not complain if it was the default layout
11988 of the original class (bug #342)
11990 2002-04-24 Juergen Vigna <jug@sad.it>
11992 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11993 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11995 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11997 * buffer.C (getBibkeyList): If using \bibliography, return the
11998 option field with the reference itself. Enables us to provide natbib
11999 support when using \bibliography.
12001 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12003 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12005 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12006 natbib is provided by the LaTeX class.
12008 2002-04-23 Juergen Vigna <jug@sad.it>
12010 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12013 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12015 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12017 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12019 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12020 ensuremath around textordmasculine, textordfeminine and
12023 2002-04-19 Juergen Vigna <jug@sad.it>
12025 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12026 reinitializing the buffer otherwise row-dimensions may be wrong.
12027 (update): reset also the selection cursors if they do exits otherwise
12028 their x/y positions may be wrong.
12030 * text2.C (cursorDown): don't enter the inset if we came from a row
12031 above and are one row over the inset.
12033 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12034 really leaving an inset.
12036 2002-04-18 Juergen Vigna <jug@sad.it>
12038 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12039 of the selected paragraph does not have the selected layout also if
12042 * text2.C (setLayout): fixed bug which did not change last selected
12045 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12046 changed the read and substituted \\end_float with \\end_inset!
12048 * BufferView_pimpl.C (cursorPrevious):
12049 (cursorNext): fixed to make it work with rows heigher than the work
12050 area without moving the cursor only the draw of the row.
12051 (workAreaMotionNotify): fix jumping over high rows.
12053 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12058 2002-04-16 Juergen Vigna <jug@sad.it>
12060 * text2.C (setCursor): set also the irow().
12061 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12063 (cursorDown): support for locking an inset if the x_fix value goes
12064 inside it. That way I can transverse insets too with cursor up/down.
12066 * lyxrow.h: added irow helper function same as other (i) functions.
12068 * BufferView_pimpl.C (cursorPrevious):
12069 (cursorNext): fixed for insets!
12071 2002-04-15 Juergen Vigna <jug@sad.it>
12073 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12074 position otherwise it is wrong in some cases.
12076 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12077 inside the inset before the call.
12079 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12081 * buffer.[Ch] (getBibkeyList): make it const.
12083 2002-04-12 Juergen Vigna <jug@sad.it>
12085 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12087 * text2.C (getCursorX): new helper function
12088 (setCursor): compute also ix_
12089 (setCursorFromCoordinates): set also ix.
12091 * lyxcursor.h: added ix_ and helper functions.
12093 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12095 * buffer.C (insertStringAsLines): dont break paragraph if the this
12096 paragraph is inside an inset which does not permit it!
12098 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12099 also with no chars on this paragraph.
12100 (paintRowText): only paint stuff if it's inside the workarea!
12102 * paragraph.C (breakParagraph): honor keepempty flag and break the
12103 paragraph always below not above.
12105 * BufferView2.C (unlockInset): update the paragraph layout on inset
12106 unlock as we changed paragraph in such a case.
12108 * lyxfind.C (LyXFind): clear the former selection if not found!
12110 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12111 again called in insertChar().
12113 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12114 an inset which uses the whole row!
12115 (rightMargin): ditto.
12116 (insertChar): force a rebreak if we inserted an inset!
12118 2002-03-28 Herbert Voss <voss@lyx.org>
12120 * lyxlength.[Ch]: add inBP() to get the right PS-point
12121 units (BigPoint). With inPixels we have rounding errors
12123 2002-04-11 Juergen Vigna <jug@sad.it>
12125 * text2.C (setCursorFromCoordinates): set iy to the right value.
12126 (setCursor): add check if row->previous exists!
12128 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12129 an old float_type as this was the case in the old code!
12131 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12133 * BufferView2.C (showLockedInsetCursor): use iy
12134 (fitLockedInsetCursor): ditto
12136 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12137 locked insets as there we have the right value now.
12139 * lyxcursor.C: added iy_ variable and iy functions to set to the
12140 baseline of cursor-y of the locked inset.
12142 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12143 (setCursor): fixed for insets which need a full row.
12145 * text.C (rowLastPrintable): don't ignore the last space when before
12146 an inset which needs a full row.
12147 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12148 as last character of a row when before a inset which needs a full row.
12150 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12152 * version.C.in: update date
12154 * text2.C (fullRebreak): try to always return true and see what
12157 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12159 * MenuBackend.C (expand): use Floating::listName
12161 * FloatList.C (FloatList): add listName argument to the built-in
12164 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12165 text associated with the float.
12167 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12169 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12171 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * ShareContainer.h: add a couple of missing typenames.
12175 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12177 * lyxrc.C (getDescription): use _() correctly rather than N_().
12179 2002-03-28 Herbert Voss <voss@lyx.org>
12181 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12182 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12184 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12187 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12189 2002-03-29 Juergen Vigna <jug@sad.it>
12191 * lyxfunc.C (dispatch): add a missing fitCursor call.
12193 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12194 it was scrolled by a cursor move, so return the bool status.
12196 * BufferView.C (fitCursor): return the bool flag also to the outside
12197 world as this is needed.
12199 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12201 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12202 call the edit() as it is not needed (and wrong) IMO.
12203 (workAreaButtonPress): set the screen_first variable before evt.
12204 unlock the inset as this may change screen_first and then we have
12205 a wrong y position for the click!
12207 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12209 * MenuBackend.C (expand): another translation that I missed
12211 2002-03-28 Juergen Vigna <jug@sad.it>
12213 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12215 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12217 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12219 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12221 * MenuBackend.C (expand): fix export/view/update when there is no
12224 2002-03-27 Herbert Voss <voss@lyx.org>
12226 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12229 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12231 * bufferview_funcs.C (currentState): only show paragraph number
12232 for is DEVEL_VERSION is set.
12234 * lyxfunc.C (dispatch): put warning in INFO channel
12236 * MenuBackend.C (expand): translate the name of floats
12238 * FloatList.C (FloatList): mark the float names for translation
12240 * converter.C (convert): use LibScriptSearch
12242 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12244 * MenuBackend.C (defaults): fix default menu (we might as well get
12247 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12249 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12252 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12254 * lyxvc.C: reorder includes.
12256 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12258 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12261 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12263 * CutAndPaste.C: change layouts earlier on paste
12264 to avoid crashing when calling getFont()
12266 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12268 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12271 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12273 * WorkArea.C: remove 'Pending' debug message.
12275 * most files: ws cleanup
12277 * buffer.[Ch]: ws changes
12279 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12281 2002-03-21 Juergen Vigna <jug@sad.it>
12283 * tabular.C (SetMultiColumn): collapse also the contents of the
12284 cells and set the last border right. Added a Buffer const * param.
12286 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12291 2002-03-19 Juergen Vigna <jug@sad.it>
12293 * text2.C (clearSelection): reset also xsel_cache.
12295 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12296 where it needs to be called (John tells us to do so too :)
12297 (selectionLost): reset sel_cache.
12299 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12301 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * text2.C (setCursorIntern): put debuging code in INSETS channel
12305 2002-03-19 André Pönitz <poenitz@gmx.net>
12307 * lyxfunc.C: tiny whitespace change
12309 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12311 * ToolbarDefaults.C (init):
12312 * LyXAction.C (init):
12314 * BufferView_pimpl.C (Dispatch):
12315 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12317 2002-03-19 Allan Rae <rae@lyx.org>
12319 * exporter.C (Export): removeAutoInsets before doing anything else.
12320 While I've just introduced a dependency on BufferView this really is
12321 the best place to clean the buffer otherwise you need to cleanup in
12322 a dozen places before calling export or cleanup in a dozen functions
12325 * converter.C (runLaTeX):
12326 (scanLog): Better handling of removeAutoInsets and screen updates.
12328 * lyxfunc.C (dispatch): small whitespace changes
12330 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * WorkArea.C (C_WorkAreaEvent): return a value.
12333 (event_cb): return 1 if we handled the event, 0 otherwise.
12335 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12337 2002-03-18 Juergen Vigna <jug@sad.it>
12339 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12340 (GetAdditionalWidth): ditto.
12341 (RightLine): ditto.
12344 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12345 inset if we're there actually (probably not used right now but this
12346 is the direction to go for unifying code).
12347 (paste): disable code to clear the selection.
12349 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12350 inside an InsetText and move the check further up as it is in the
12353 * text2.C (pasteSelection): set a selection over the pasted text.
12355 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12357 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12358 and libgraphics to build on Cygwin.
12360 2002-03-15 Juergen Vigna <jug@sad.it>
12362 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12363 inserting an Inset into the paragraph. I know this is not the best
12364 fix but we already use current_view in CutAndPaste so we will remove
12365 all of it's using at the same time.
12367 * buffer.C (sgmlError): deactivated function till it is rewritten in
12368 the right mode, now it can create problems.
12370 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12371 before accessing it.
12373 2002-03-14 Juergen Vigna <jug@sad.it>
12375 * undo_funcs.C (textHandleUndo): do the right thing when updating
12376 the inset after the undo/redo.
12378 * text2.C (setCursor): just some testcode for #44 not ready yet.
12380 * undo_funcs.C (textHandleUndo): set the next() and previous()
12381 pointers of the paragraph to 0 before deleting otherwise we have
12382 problems with the Paragraph::[destructor].
12384 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12385 on a paragraph insertion.
12387 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * buffer.C (asciiParagraph): use += operator for char append to
12392 * paragraph.C (getFontSettings): compare >= not just >
12393 (highestFontInRange): ditto
12396 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12398 * paragraph.C: change several algorithm to be more appripriate for
12399 the problem domain. This is lookip in FontList and in the InsetList.
12401 2002-03-13 André Pönitz <poenitz@gmx.net>
12404 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12406 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12411 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12413 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * Painter.C (display): anon helper function, adjust code for this
12417 (pixmap): remove function.
12419 * Painter.h: remove private display variable.
12421 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12423 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12425 * WorkArea.[Ch]: remove figinset_canvas cruft.
12427 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * lyxtextclass.C (operator): add one item cache optimization.
12431 * bufferlist.h: doxy changes
12433 * bufferlist.C: ws changes
12435 * DepTable.[Ch] (ext_exist): place const in the right spot.
12437 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12439 (workAreaExpose): call resizeInsets when the with BufferView changes.
12440 (Dispatch): adjust for protectedBlank removal
12441 (specialChar): call updateInset if the insert went ok.
12443 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12444 specialChar instead.
12446 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12448 * BufferView.h: doxy change
12450 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12452 * lyxtextclass.C (operator[]): remove non-const version
12453 (defaultLayout): remove non-const version
12455 2002-03-12 Juergen Vigna <jug@sad.it>
12457 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12458 did resize the LyXText too.
12460 * buffer.C (readLyXformat2): set layout information on newly allocated
12463 * tabular.C (OldFormatRead): set layout information on the paragraph.
12465 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12467 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12469 2002-03-11 Juergen Vigna <jug@sad.it>
12471 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12473 (resizeCurrentBuffer): force also the insets to resize themselfes.
12474 (moveCursorUpdate): fixed up for InsetText.
12476 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12479 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12480 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12481 value of Dialogs::tooltipsEnabled().
12482 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12484 2002-03-08 Juergen Vigna <jug@sad.it>
12486 * BufferView_pimpl.C (updateInset): update inset inside inset also
12487 if it isn't inside theLockingInset().
12489 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12491 * buffer.C (asciiParagraph): redo some of the word and line length
12493 (getLists): look for Caption instead of caption.
12495 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12497 * buffer.C (Buffer): initialize niceFile to true
12499 (makeLinuxDocFile):
12500 (makeDocBookFile): make sure niceFile is true on exit
12502 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12504 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12506 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12508 * LyXSendto.C: remove.
12509 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12510 * lyx_gui.C: remove now-redundant comment.
12511 * ColorHandler.h: remove forward declaration of class WorkArea.
12512 * lyxfunc.C: remove #include "WorkArea.h".
12514 2002-03-07 Juergen Vigna <jug@sad.it>
12516 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12517 got moved away with the DEPM and also set the inset_owner always
12518 right which before could have been omitted.
12520 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12523 wanted layout is not found.
12525 2002-03-07 Juergen Vigna <jug@sad.it>
12527 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12529 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * paragraph.C (breakParagraph): use default layout not layout of
12533 (Paragraph): clear ParagraphParameters.
12535 2002-03-06 Juergen Vigna <jug@sad.it>
12537 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12538 otherwise it would not be a valid lenght. Fixed a special case in
12539 the minipage compatibility read where we end the document with a
12542 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12543 was set as it could be 0 for InsetTexts first entry.
12545 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * paragraph.C (writeFile): if layout is empty write out
12548 defaultLayoutName().
12550 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12551 file without named layout we set layout to defaultLayoutName().
12553 2002-03-06 Juergen Vigna <jug@sad.it>
12555 * CutAndPaste.C (copySelection): set layout for new paragraph.
12557 * text.C (prepareToPrint): leave ERT inset left aligned
12558 (leftMargin): don't indent paragraphs inside ERT insets
12560 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12562 * paragraph.C (breakParagraph): dont call clear do the work manually
12564 * paragraph.[Ch] (clear): remove function
12566 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12568 * paragraph.C (Paragraph): dont call clear, the work has already
12571 * lyxtextclass.C (operator): assert if n is empty
12573 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12574 work manually instead.
12576 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12578 * BufferView_pimpl.C: protect selectionLost against text == 0
12580 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12582 * text.C (breakParagraph): fix a setting layout to '0' problem.
12584 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12586 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12587 final location of file, for the included files, and graphics.
12589 2002-03-05 Juergen Vigna <jug@sad.it>
12591 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12593 2002-03-04 Juergen Vigna <jug@sad.it>
12595 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12597 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12598 last column of multicolumn cells.
12599 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12601 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12603 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12604 file if it doesn't go to a temporary file.
12606 * buffer.C (sgmlOpenTag):
12607 (sgmlCloseTag): remove extra newline insertion.
12609 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * text.C (getRowNearY): comment out debug msg
12613 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * text2.C: first -> first_y
12617 * text.C (getRowNearY): add some attemts at a possible
12618 optimization, not working.
12620 * tabular.[Ch]: add BufferParams to several function so that newly
12621 created paragraph can be initialized to he default layotu for the
12624 * tabular-old.C (ReadOld): add buf->params to call of Init
12626 * screen.C: rename text->first to text->first_y
12628 * paragraph.C (breakParagraph): always set layout in the broken
12631 * lyxtextclass.C (Read): remove lowercase
12634 (delete_layout): ditto
12636 * lyxtext.h: rename first -> first_y
12638 * lyxlayout.C (Read): remove lowercase
12641 (obsoleted_by): ditto
12643 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12645 * buffer.C (insertErtContents): add params are to InsetERT
12646 (parseSingleLyXformat2Token): add code to check if a paragraphs
12647 layout really exist.
12648 (parseSingleLyXformat2Token): add params to several inset
12650 (asciiParagraph): remove lowercase, do the layout comparisons with
12653 * BufferView_pimpl.C (cursorNext): first -> first_y
12654 (resizeCurrentBuffer): first -> first_y
12655 (updateScrollbar): first -> first_y
12656 (scrollCB): first -> first_y
12657 (workAreaMotionNotify): first -> first_y
12658 (workAreaButtonPress): first -> first_y
12659 (checkInsetHit): first -> first_y
12660 (cursorPrevious): first -> first_y
12661 (cursorNext): first -> first_y
12662 (Dispatch): add buffer_->params to severl inset contructors
12664 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12666 * lyxlayout.C (Read): remove some debug info that I forgot.
12668 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12669 clean up the code slightly.
12670 (makeLinuxDocFile): ditto
12671 (makeDocBookFile): ditto
12673 * text2.C: layout as string
12675 * text.C: layout as string
12677 * paragraph_pimpl.C: layout as string
12679 * paragraph.[Ch]: layout as string
12681 * lyxtextclasslist.[Ch]: layout as string
12683 * lyxtextclass.[Ch]: layout as string
12685 * lyxtext.h: layout as string
12687 * lyxlayout.[Ch]: layout as string
12689 * lyx_cb.C: layout as string
12691 * bufferview_funcs.C: layout as string
12693 * bufferparams.C: layout as string
12695 * buffer.C: layout as string
12697 * LyXView.[Ch]: layout as string
12699 * LaTeXFeatures.[Ch]: layout as string
12701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12703 * BufferView_pimpl.C: change current_layout to string, remove
12708 (workAreaButtonRelease): layout as string
12710 * BufferView2.C (unlockInset): adjust
12712 * vspace.C (asLatexCommand): use an explict temp variable.
12714 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12716 * Makefile.am: use FRONTEND_*
12718 2002-03-01 Juergen Vigna <jug@sad.it>
12720 * tabular.C (SetWidthOfMulticolCell): changed to something better
12721 I hope but still work in progress.
12722 (recalculateMulticolumnsOfColumn): renamed function from
12723 recalculateMulticolCells as it is more appropriate now.
12724 (SetWidthOfCell): calculate multicols better.
12726 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12730 * lyxfunc.C (processKeySym): print sequence also if it is
12731 `deleted' (complete)
12733 * kbsequence.C (print): print sequence even if it is deleted
12734 (complete would be a better word, actually).
12736 * lyxfunc.C (dispatch): print complete options after a prefix key
12738 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12740 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12742 * text2.C (setCharFont): eliminate setCharFont code duplication.
12744 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12747 LFUN_TABULAR_FEATURE (bug #177)
12749 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12751 * Makefile.am: remove figure.h
12753 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12755 * Bufferview_pimpl.C:
12767 * text2.C: remove #include "lyx_gui_misc.h".
12769 * LaTeX.C: added #include <cstdio>
12771 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12773 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12774 that the paragraph following this one can have.
12776 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12778 * vspace.C (asLatexCommand): fix bogus gcc warning
12780 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12782 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12784 * text2.C (setLayout): get rid of redundant code
12786 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12788 * text2.C (incDepth): make sure depth cannot be increased beyond
12791 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12793 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12794 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12796 * PainterBase.h (image):
12797 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12798 a LyXImage const *.
12800 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12804 * BufferView_pimpl.C:
12805 * BufferView_pimpl.h:
12825 * sp_spell.C: remove fig inset, and the crap house of
12826 cards that follows it
12828 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12833 * os2_errortable.h:
12834 * nt_defines.h: move .h into support/
12836 * vms_defines.h: remove
12838 * WorkArea.C: add space in debug output
12842 * buffer.C: add WITH_WARNINGS
12846 * bufferlist.C: s/retrive/retrieve/, add docs
12855 * chset.C: add docs
12857 * lyxgui.C: add ID to X error handler
12859 * lyxtestclass.c: fix typo
12861 2002-02-26 Juergen Vigna <jug@sad.it>
12863 * tabular_funcs.C (write_attribute): changed so that some default
12864 attributes are not written at all.
12865 (getTokenValue): set default values before trying to read the
12866 value so we have the return value always set as default if we don't
12867 find the token we search for.
12869 * tabular.C (Write): write bools as bools not as strings!
12871 2002-02-22 Juergen Vigna <jug@sad.it>
12873 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12874 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12876 * text.C (leftMargin): don't add an indent for paragraphs inside
12877 tabular cells (fix #208).
12879 2002-02-21 José Matos <jamatos@fep.up.pt>
12881 * tabular.C (docBook): fixed support for long tables.
12883 2002-02-20 Juergen Vigna <jug@sad.it>
12885 * text2.C (getFont): get the drawing font of the Inset if this
12886 paragraph is inside an inset (only important for InsetERT for now).
12888 * buffer.C (insertErtContents): use new lanugage params in ERT
12891 * CutAndPaste.C: commenting out seemingly uneeded code.
12893 2002-02-19 Allan Rae <rae@lyx.org>
12895 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12896 Iterators might be simple to use but they also get invalidated.
12897 (removeAutoInsets): renamed saved cursor tracking variables and added
12898 some comments to clarify what everything does.
12900 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12907 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12908 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12911 * vc-backend.h: remove #include "support/syscall.h"
12915 * converter.C: rearrange #includes in Lars' approved fashion.
12917 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12918 forward declare class Timeout in the header file.
12920 * XFormsView.C: changes due to the above.
12922 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12923 similar to LyXView.
12925 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12926 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12928 2002-02-18 José Matos <jamatos@fep.up.pt>
12930 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12933 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12935 * a lot of small ws changes
12936 * add a lot of using std::XXX
12937 * use std construcs some places where approp.
12938 * use some exisint stuff from lyxfunctional where approp.
12939 * Make file changes to use partial linking (lets test this now...)
12941 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12945 remove #include "support/syscontr.h" as it's redundant. Always has been.
12953 change Systemcalls::System to Systemcalls::Wait and
12954 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12955 No change of functionality, just reflects the stripped down Systemcalls
12958 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12960 * debug.[Ch]: add a GRAPHICS type to the enum.
12962 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12964 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12966 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12969 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12971 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12972 match the changes below.
12974 * text2.C (toggleInset): if there is not editable inset at cursor
12975 position, try to see if cursor is _inside_ a collapsable inset
12978 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12980 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12981 document menu has a nice checkbox
12983 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12985 * lyxlength.C (asLatexString): change PW to output as percent of
12988 * lengthcommon.C: change '%' to 't%'
12990 * lyxfunc.C (dispatch): a few comments from Martin
12992 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12996 * BufferView_pimpl.h:
12997 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13000 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13002 * vspace.C (inPixels): fix compiler warning
13004 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13006 * lyxfunc.C (getStatus): fix status message for disabled commands.
13008 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13010 * BufferView_pimpl.C: fix crash on close buffer
13011 during selection (#227)
13013 2002-01-27 Herbert Voss <voss@lyx.org>
13015 * buffer.C: link old Figure to new graphic inset
13017 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13019 * FontLoader.C (getFontinfo): Change the latex font names in order
13020 to match the names of type1inst.
13022 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13024 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13026 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13027 (extchanged): ditto
13029 (remove_files_with_extension): ditto
13030 (remove_file): ditto
13033 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13034 document is smaller than the work area height. Do not initialize
13035 static variables to 0.
13037 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13039 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13041 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13042 LFUN_LAYOUT_PARAGRAPHS.
13044 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13045 tabular. It is possible to provide a possible cell, which will
13046 typically be the actcell from the corresponding insettabular
13048 * lyxfunc.C (getStatus): small cleanup; disable
13049 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13052 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13054 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13056 * paragraph.C (startTeXParParams):
13057 (endTeXParParams): new methods. The LaTeX code to
13058 start/end paragraph formatting
13059 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13060 empty (fixes bug #200)
13062 * vspace.C (inPixels): adapt to the change below
13063 (inPixels): [later] more cleanups (remove unused variables)
13065 * lyxlength.C (inPixels): change to use a width and a height as
13068 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13070 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13071 Replaced with \paperwidth
13073 * DepTable.C (insert): add std:: qualifier
13075 2002-01-18 Allan Rae <rae@lyx.org>
13077 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13080 * text.C (drawInset): Turned out I didn't know enough about how
13081 rebreaking worked. This fixes most of the redraw problems. I see
13082 an occasional cursor trail when a line is broken now and the cursor
13083 placement can seem out by a few pixels also after a rebreak.
13085 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13087 * buffer.C (parseSingleLyXformat2Token): update because minipage
13088 width is now a LyXLength
13090 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13092 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13095 2002-01-17 Juergen Vigna <jug@sad.it>
13097 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13099 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13100 is set correctly and the inset is updated correctly.
13102 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13104 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13105 the beginning of the loop.
13107 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13109 * lyxrc.C: improve help for use_scalable_fonts
13111 2002-01-17 Allan Rae <rae@lyx.org>
13113 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13115 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13117 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13118 make sure to set their inset_owner to the right value (bug #171)
13120 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13123 * DepTable.C: Implement mtime checking to reduce time spent doing
13126 2002-01-16 Juergen Vigna <jug@sad.it>
13128 * tabular.C (GetAdditionalHeight): one of error fixed.
13130 * lyxrc.C (output): small fix in writing use_pspell.
13132 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13134 * sp_base.h: #include LString.h
13136 2002-01-16 Allan Rae <rae@lyx.org>
13138 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13139 Can someone check this please?
13141 * text.C (drawInset): It was possible that p.row would be removed by
13142 breakAgainOneRow upsetting a few other settings. There may be another
13143 small tweak possible by setting need_break_row = 0 when p.row has been
13144 removed but I don't know enough about the logic here.
13146 2002-01-15 Allan Rae <rae@lyx.org>
13148 * text.C (insertChar): removed conditional truism.
13150 * BufferView2.C (removeAutoInsets): More tweaks.
13151 cur_par_prev could be a stray pointer. Check for trailing empty line
13152 in case last line was cur_par and only had an error inset on it.
13154 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13156 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13159 * vc-backend.C (most methods):
13160 * exporter.C (Export):
13161 * converter.C (convert):
13163 * LyXSendto.C (SendtoApplyCB):
13164 * lyxfunc.C (dispatch):
13168 * lyx_cb.C (AutoSave):
13170 * BufferView_pimpl.C (MenuInsertLyXFile):
13171 * buffer.C (runChktex): use Buffer::filePath().
13173 * buffer.h: rename filename to filename_; rename filepath to
13174 filepath_ and make it private
13175 (filePath): new method
13177 * buffer.C (writeFile): use fileName()
13180 * lyx_main.C (init): fix starting of LyX when the binary is a
13181 link from so,ewhere else.
13183 * minibuffer.C: include <cctype> for isprint
13185 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13187 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13188 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13189 name clash with InsetCollapsable's width function.
13191 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * lastfiles.C: include <iterator>
13195 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13197 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13200 * buffer.C (makeLaTeXFile): ditto.
13201 Also make loop operation more transparent.
13203 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13205 * ToolbarDefaults.C: remove trailing comma closing namespace.
13207 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13209 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13212 * trans.C (Load): comment out unused variable, allowed.
13214 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13216 * minibuffer.[Ch] (append_char): new method to recieve input from the
13217 drop-down completion browser. If a key was pressed, then recieve this
13218 char and append it to the existing string.
13219 (peek_event): modify the positioning data passed to the completion
13220 browser so that it can be placed above the minibuffer rather than below.
13221 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13223 * LyXAction.C (init): alloe error-next for readonly documents.
13225 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13228 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13230 * bufferlist.C (readFile): create the buffer _after_ checking that
13233 * lyxfunc.C (verboseDispatch): fix handling of arguments
13235 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13237 * lyxrc.C: use string::erase() instead of initializing to "".
13240 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13242 * BufferView_pimpl.h:
13243 * BufferView_pimpl.C:
13246 * text2.C: tell X when we have made a selection for copying
13248 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13250 * BufferView_pimpl.C (MenuInsertLyXFile):
13251 * lyxfunc.C (menuNew):
13253 (doImport): add shortcuts to directory buttons
13255 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13258 * lyxfunc.C (setStatusMessage):
13259 (getStatusMessage): new methods
13260 (getStatus):use setStatusMessage instead of setErrorMessage
13261 (dispatch): when function is disabled, set error message here
13262 [instead of in getStatus previously]
13264 * BufferView_pimpl.C (workAreaButtonRelease): update
13265 toolbar/menubar here too.
13267 2002-01-13 Allan Rae <rae@lyx.org>
13269 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13270 Now seems indestructible. Remaining task is to audit all other
13271 code affected by deleteEmptyParagraphMechanism. One small quirk
13272 left is that an empty document with an error in the preamble can
13273 be made to report an error but no error box appears. I don't know
13275 (removeAutoInsets): Improved comments.
13277 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13280 * Thesaurus.C: update for Aiksaurus 0.14
13282 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13284 * text2.C (firstParagraph): removed member function, all uses
13285 replaces with ownerParagraph
13286 (redoParagraphs): here
13287 (updateInset): here
13288 (toggleAppendix): here
13289 * BufferView2.C (insertErrors): here
13290 (setCursorFromRow): here
13292 2002-01-13 Allan Rae <rae@lyx.org>
13294 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13295 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13296 There is still a way to segfault this although you may have to do this
13297 multiple times: Have an InsetERT with an unknown command in it.
13298 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13299 <down-arrow>, <Enter> again, View->DVI, BANG!
13301 * text2.C (setCursor):
13302 (deleteEmptyParagraphMechanism):
13303 * lyxtext.h (setCursor):
13304 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13305 Making use of the return value may help fix other bugs.
13307 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13309 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13311 * LyXView.C (updateMenubar): call MenuBar::update here
13312 (updateToolbar): but not here
13313 (showState): do not update toolbar/menubar
13315 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13316 should need to care about that.
13318 * lyxfunc.C (verboseDispatch): simplify a bit
13319 (getStatus): have a version which takes a pseudoaction, and
13320 another which requires a (kb_action,string).
13322 * LyXAction.C (retrieveActionArg): make it work also when action
13323 is not a pseudo-action.
13324 (getActionName): simplify a bit
13327 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13329 * lyxfunc.C (verboseDispatch): new families of methods with
13330 several ways to specify a command and a bool to indicate whether
13331 the command name and shortcut should be displayed in minibuffer
13332 (eventually, we could extend that to a finer bitmask like
13333 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13334 (dispatch): the pristine dispatch command which just, well,
13335 dispatchs! Note it still sets its result to minibuffer; I'm not
13338 * lyxfunc.h: remove setHintMessage
13340 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13342 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13344 * BufferView_pimpl.C (specialChar): delete new inset if we have
13345 not been able to insert it.
13347 * kbmap.C: revert to using int instead of kb_action, since all we
13348 are dealing with is pseudo-actions.
13350 * LyXAction.C (searchActionArg): change to return int instead of
13351 kb_action, since the result is a pseudoaction.
13353 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13355 * buffer.C (insertErtContents): Fix (partially) the font bug.
13357 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13359 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13360 as the other one is broken on my machine!
13362 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13365 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13367 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13369 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13370 reflect their actual use. Provide compatibility code for older lyxrc
13373 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13375 change names of popup font variables in line with the changes to lyxrc.C
13377 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13379 * buffer.C (asciiParagraph): avoid outputing a word twice after
13382 * lyxrc.C (getDescription): document that document_path and
13383 template_path can be empty.
13385 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13387 * LaTeXFeatures.C (getMacros):
13388 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13390 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13392 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13394 (getPackages): rename feature "floats" to "float". Use an array to
13395 iterate over 'simple' features (i.e. just a \usepackage). Add
13396 handling of "amsmath" (renamed from "amsstyle").
13398 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13400 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13403 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13405 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13406 FuncStaus::FuncStatus & FuncStaus::some_method().
13408 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13410 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13411 of the func_satus stuff. Edited and massaged in various ways by
13414 * lyxfunc.C (getStatus): use FuncStatus
13416 2002-01-08 Juergen Vigna <jug@sad.it>
13418 * text.C (nextBreakPoint): use function Inset::isChar().
13420 * paragraph.C (TeXOnePar): use function
13421 Inset::forceDefaultParagraphs.
13423 * buffer.C (latexParagraphs): use function
13424 Inset::forceDefaultParagraphs.
13426 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13428 * lyx_gui.C (init): set the style of the menu popups to
13429 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13431 2002-01-07 Juergen Vigna <jug@sad.it>
13433 * text.C (setHeightOfRow): small fix
13434 (prepareToPrint): don't look at alignment if we don't have the place
13437 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13439 * box.C: New file. Move the Box methods and functions out of box.h,
13440 following Lars' suggestion.
13442 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13444 * box.h: #include "support/LOstream.h", needed for inlined function.
13447 * lyxtextclasslist.C: added some using std declarations.
13449 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13451 * box.h: make signed dimensions to allow insets wider than
13452 the screen (bug #162)
13454 * BufferView_pimpl.C: add some insetHit debug
13456 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13458 * vc-backend.C: add FIXME
13460 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13462 * lyxfunc.C (getStatus): enable code for showing math font status
13465 2002-01-07 Juergen Vigna <jug@sad.it>
13467 * text.C (nextBreakPoint): removed debug output not needed anymore.
13469 2002-01-06 Juergen Vigna <jug@sad.it>
13471 * text.C (nextBreakPoint): fixed up this function we had this bug
13472 since ever but now hopefully we break row better.
13473 (insertChar): we have to check if an inset is the next char as it
13474 could now happen that a large inset is causing a break.
13476 2002-01-05 Juergen Vigna <jug@sad.it>
13478 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13479 if it doesn't like to be drawed.
13481 2002-01-04 Juergen Vigna <jug@sad.it>
13483 * BufferView2.C (lockInset): forgot to set a cursor.
13485 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13487 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13489 * FormMathsPanel.C:
13492 * form_maths_panel.C:
13493 * form_maths_panel.h:
13494 * form_maths_panel.fd: implemented sub- and super- buttons in math
13497 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13498 (or ^ space) to be used as in TeX (req'd by André).
13500 * lyxfunc.C: Allow ^ and _ again to be used both as
13501 super/subscript (mathed) and as themselves (in text).
13503 2002-01-03 Allan Rae <rae@lyx.org>
13505 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13506 "LyX" or the filename of the current buffer if it has one. This is a
13507 modified form of John Levon's patch.
13509 * XFormsView.C (setWindowTitle): also set icon title.
13511 * LyXView.h (setWindowTitle): signature changed.
13512 * XFormsView.h (setWindowTitle): ditto.
13514 2002-01-02 Juergen Vigna <jug@sad.it>
13516 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13518 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * screen.C (topCursorVisible): introduce a temp var for
13521 text->cursor.row(), handle the case where this row is null. (kindo
13524 * text2.C (setCursor): add a couple of asserts.
13526 * paragraph.h (inset_iterator): add -> operator
13528 * paragraph.[Ch] (autoDeleteInsets): remove member function
13530 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13531 cursor pos correctly and handle inset deletion by itself.
13532 (insertErrors): move iterator declaration out of for expression
13534 * lyxtextclass.C: add <algorithm>
13536 * Makefile.am: added the new files to sources, removed layout.C
13538 * layout.C: removed file
13540 * layout.h: remove LYX_DUMMY_LAYOUT
13542 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13546 * lyxtextclass.[Ch]:
13547 * lyxtextclasslist.[Ch]: new files
13549 * include order changes to a lot of files, also changes because of
13552 2001-12-27 Juergen Vigna <jug@sad.it>
13554 * buffer.C (asciiParagraph): more fixes.
13556 * tabular.C (ascii): make ascii export support export of only the
13557 data separated by a column-delimiter.
13558 (ascii): better support for ascii export.
13560 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13562 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13564 * tabular_funcs.C: use a "using std::getline" instead of the
13565 previous fix from Angus (necessary for cxx + lyxstring)
13567 2001-12-24 Juergen Vigna <jug@sad.it>
13569 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13571 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13572 problems. First check a minipage also if we have some ert-contents
13573 (not only on par->size(), second set the right depth of the paragraph
13574 on the relink to the root-paragraph-list!
13576 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13577 which then did not anymore update the main paragraphs on undo/redo!
13579 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13581 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13582 code. Support all font-changing funcs (even those which are not in
13583 menu currently). Support for reporting font settings in
13584 mathed (disabled until Andre provides a function on mathed's side).
13586 * func_status.h (toggle): small helper function to set toggle
13589 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13591 * tabular_funcs.C: getline -> std::getline
13593 2001-12-21 Juergen Vigna <jug@sad.it>
13595 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13596 accessed and could be 0 (I couldn't generate this but it seems
13599 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13602 * tabular_funcs.h: here and include iosfwd
13604 2001-12-20 Juergen Vigna <jug@sad.it>
13606 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13607 inside inset but undo_par was.
13609 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13611 * Thesaurus.C: always include <config.h> in sources.
13615 * box.h: do not include <config.h> in header files
13617 * text.C (paintLastRow): remove unused variable
13619 * text.C (transformChar):
13621 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13623 * Painter.C (text):
13624 * font.C (width): rewrite to use uppercase() instead of
13627 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13629 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13631 * lyxfind.C: clean up of find failure position change
13633 2001-12-20 Juergen Vigna <jug@sad.it>
13635 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13637 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13638 (TeXRow): added to LaTeX a single tabular row.
13639 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13640 (Latex): simplified and finally good LT-h/f support.
13641 (various_functions): just small adaptions for LT-h/f support.
13643 * tabular_funcs.[hC]: added and moved here all not classfunctions
13646 2001-12-19 Juergen Vigna <jug@sad.it>
13648 * tabular.[Ch]: better support for longtabular options (not finished
13651 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13653 * text.C (paintLastRow): use the label font instead of the font of
13654 the last character to compute the size of *_BOX. This makes more
13655 sense and avoids a crash with empty paragraphs.
13656 Use Painter::rectangle to draw EMPTY_BOX.
13658 2001-12-19 Juergen Vigna <jug@sad.it>
13660 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13661 the paragraphs if the replaced paragraph is not the first one!
13662 Tried to delete not used paragraphs but does not work yet so for
13663 now it's inside #ifdef's and by default off!
13665 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13667 * MenuBackend.C: include "lyx_main.h" instead of declaring
13668 lastfiles (actually was declared as LastFiles* instead of a
13671 2001-12-17 Juergen Vigna <jug@sad.it>
13673 * tabular.C (AppendColumn): applied John's fix
13675 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13679 * BufferView_pimpl.h:
13680 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13683 * box.h: new start of class for above
13685 * lyxfunc.C: ignore space-only minibuffer dispatches.
13686 Show the command name when it doesn't exist
13688 * minibuffer.C: don't add empty lines to the history
13690 * minibuffer.C: add a space on dropdown completion
13692 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13694 * text.C: fix line above/below drawing in insets
13696 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13698 * lyxlength.C (LyXLength): Initialize private variables.
13700 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13702 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13703 when inserting error insets.
13705 2001-12-13 Juergen Vigna <jug@sad.it>
13707 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13708 actually sometimes the before-paragraph.
13709 (setUndo): don't clear the redostack if we're not actually undoing!
13711 2001-12-06 Juergen Vigna <jug@sad.it>
13713 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13714 and fixed redoing of main paragraph, so we can use it now ;)
13716 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13718 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13720 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13723 2001-12-13 André Pönitz <poenitz@gmx.net>
13726 * undo_func.C: minor cleanup
13728 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13730 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13731 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13732 font in urw-fonts package which is marked as -urw-fontspecific and
13733 does not work (incidentally, changing the encoding in the
13734 fonts.dir of this package to -adobe-fontspecific fixes the
13737 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13738 is a crash when undoing first paragraph (Juergen, please take a
13739 look). THis does not mean the undo fix is wrong, just that it
13742 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13743 the (Paragraph*) version when needed instead of duplicating the
13746 * text.C (workWidth): use Inset::parOwner to find out where the
13747 inset has been inserted. This is a huge performance gain for large
13748 documents with lots of insets. If Inset::parOwner is not set, fall
13749 back on the brute force method
13751 * paragraph_pimpl.C (insertInset):
13752 * paragraph.C (Paragraph):
13753 (cutIntoMinibuffer): set parOwner of insets when
13754 inserting/removing them
13756 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13758 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13764 * mathed/formulabase.C:
13765 * mathed/math_cursor.[Ch]:
13766 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13769 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13771 * lyxlength.[Ch] (operator!=): new function
13773 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13775 * text.C (workWidth): use Inset::parOwner to find out where the
13776 inset has been inserted. This is a huge performance gain for large
13777 documents with lots of insets. If Inset::parOwner is not set, fall
13778 back on the brute force method
13780 * paragraph_pimpl.C (insertInset):
13781 * paragraph.C (Paragraph):
13782 (cutIntoMinibuffer): set parOwner of insets when
13783 inserting/removing them
13785 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13787 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13789 * tabular-old.C (getTokenValue):
13790 * tabular.C (getTokenValue):
13791 (write_attribute): new versions for LyXLength
13792 (everywhere): adjust the use of widths
13794 * tabular.h: change the type of widths from string to LyXLength
13796 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13798 * paragraph.C: fixed missing line number count when exporting
13799 Environments to LaTeX file
13801 * buffer.C: added informational message for checking line numbers.
13803 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13805 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13806 paragraph, do the 'double space' part, but not the 'empty
13809 * text.C (workWidth): small optimization
13810 (getLengthMarkerHeight): use minimal size for negative lengths.
13812 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13814 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13816 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13818 2001-12-11 André Pönitz <poenitz@gmx.net>
13821 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13823 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13825 * text2.C: keep selection on a setFont()
13827 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13829 * lyx_cb.C: another bv->text misuse, from insert label
13831 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13834 * kbsequence.C: re-instate nmodifier mask
13836 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13838 * lyx_main.h: make lyxGUI private.
13840 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13842 * lyxfind.C: place the cursor correctly on failed search
13844 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13846 * text.C (getLengthMarkerHeight): for small heights, the arrows
13847 are not always on top/bottom of the text
13848 (drawLengthMarker): smaller arrows; take the left margin in
13849 account; draw also vfills.
13851 (paintLastRow): remove special code for vfill and standard spaces,
13852 since everything is handled in drawLengthMarker now.
13854 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * buffer.C (insertErtContents): try to handle font and language
13857 interaction a bit better.g
13859 * ColorHandler.C (updateColor): change the hash to cover the whole
13860 LColor enum, ws cleanup
13861 (getGCLinepars): ditto
13862 (getGCLinepars): only lookup in the linecache once.
13864 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13866 * iterators.C (operator++): Make the iterator more robust
13868 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13870 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13872 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13875 * text.C: better added space drawing
13877 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13880 * BufferView2.C: fix layout combo update on inset unlock
13882 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13884 * Makefile.am: don't compile unused files
13886 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13890 * LyXAction.C: remove old LFUN_LAYOUTNO
13892 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13894 * paragraph_pimpl.h:
13895 * paragraph_pimpl.C: isTextAt() doesn't need font param
13897 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13900 * lyxlex.C: little cleanup
13902 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13904 * BufferView_pimpl.C: fix insertAscii for insets
13906 2001-12-05 Juergen Vigna <jug@sad.it>
13908 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13909 set the right font on the "multi" paragraph paste!
13911 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13917 * lyxlength.C: remove out-commented code.
13919 * BufferView_pimpl:
13933 * vc-backend.C: change "while(" to "while ("
13935 * lyxlength.[Ch]: add zero function to check if length is zero or
13937 * lyxgluelength.C: use it
13939 2001-12-05 Allan Rae <rae@lyx.org>
13941 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13942 Works for 2.95.3, from what I understand of Garst's reports this should
13943 work for other g++ versions. We're screwed if the abs(int) definition
13944 changed between bugfix releases of gcc.
13946 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13948 * text.C: fix chapter label offset !
13950 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13953 * text.C: fix hfill at end of line, clean up
13955 2001-12-04 Juergen Vigna <jug@sad.it>
13957 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13958 that we force an update of the inset and it's owners if neccessary.
13960 2001-12-03 Juergen Vigna <jug@sad.it>
13962 * text.C (rowLast): simplified code
13964 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13966 * lyxfunc.C: fix show options on timeout
13968 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13970 * screen.C (topCursorVisible): scroll half a page when the cursor
13971 reached top of bottom of screen
13973 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13975 * minibuffer.C: deactivate on loss of focus
13977 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * vspace.[Ch] (operator!=): add operator.
13981 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13983 * BufferView_pimpl.C: refuse to open an inset when
13984 there's a selection.
13986 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13988 * BufferView_pimpl.C: allow to click on RHS of full row insets
13990 2001-11-30 Juergen Vigna <jug@sad.it>
13992 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13993 insets for undo reasons.
13995 2001-11-28 André Pönitz <poenitz@gmx.net>
13997 * vspace.[Ch]: cosmetical changes
13999 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14009 * kbsequence.C: part re-write of old kb code
14012 * WorkArea.C: remove Lgb_bug_find_hack
14014 2001-11-30 José Matos <jamatos@fep.up.pt>
14016 * buffer.C (makeDocBookFile): add a comment to point a hack.
14017 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14018 Fixed a double write of labels.
14020 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14023 * LaTeX.h Fixed bug in LaTeX class where it would not
14024 re-run latex if no depfiles were changed, but the .dvi was removed.
14026 2001-11-28 André Pönitz <poenitz@gmx.net>
14028 * all the files from the change on 2001/11/26:
14029 use lyx::layout_type instead of LyXTextClass::size_type
14030 use lyx::textclass_type instead of LyXTextClassList::size_type
14032 2001-11-29 Juergen Vigna <jug@sad.it>
14034 * text.C: added support for paragraph::isFreeSpacing()
14036 * buffer.C: same as above
14038 * paragraph.h: inserted isFreeSpacing() function to enable
14039 FreeSpacing inside InsetERT.
14041 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14042 of the paragraph's in the cut/copy buffer to 0!
14044 * text2.C (removeRow): remove the assert as it can!
14046 * lyxtext.h: added helper function firstRow returning firstrow and
14047 made firstrow private again.
14049 * BufferView2.C (lockInset): don't relock if we're already locked!
14051 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14052 the only paragraph.
14053 (removeRow): added Assert::(firstrow)
14055 * debug.C: forgot to add INSETTEXT here.
14057 2001-11-28 Juergen Vigna <jug@sad.it>
14059 * sp_spell.C (initialize): changed error text to more general
14060 spellchecker command use (not only ispell!)
14062 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14064 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14066 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14068 * vspace.C: initialise lyxgluelength on failure
14070 2001-11-28 Allan Rae <rae@lyx.org>
14072 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14073 declaration & definition that looks like a function declaration.
14075 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14077 * BufferView2.C (copy):
14078 (copyEnvironment): do not clear the selection when doing a copy.
14080 * text.C (paintFirstRow): compilation fix
14082 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14084 * tabular.C (Latex): correct line count when writing latex.
14086 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14088 * paragraph_pimpl.h:
14089 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14092 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14096 * LColor.C: change vfillline->added_space
14098 * text.C: add markers and text for added space
14100 * vspace.C: fix comment
14102 2001-11-28 André Pönitz <poenitz@gmx.net>
14104 * paragraph.C: whitespace changes
14105 * all the other files from the change on 2001/11/26:
14106 change *::pos_type into lyx::pos_type
14108 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14110 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14111 language of the document when inserting error insets.
14113 2001-11-26 André Pönitz <poenitz@gmx.net>
14115 * BufferView_pimpl.[Ch]:
14123 * paragraph_pimpl.[Ch]:
14126 * text2.C: reduce header dependencies, introduce type for positions
14128 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14130 * <various>: change to use Alert.h
14132 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14134 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14135 when encountering an unknown token.
14136 (readLyXformat2): Show an error message if there were unknown tokens.
14138 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14141 * BufferView_pimpl.C:
14145 * text2.C: use par->isInset()
14147 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14149 * paragraph_pimpl.h:
14150 * paragraph_pimpl.C: cleanup
14152 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14154 * text2.C (removeRow):
14155 * text.C (setHeightOfRow): remove useless (and costly) call to
14158 2001-11-20 Allan Rae <rae@lyx.org>
14160 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14161 Now need Inset*::checkInsertChar() to return true for appropriate
14162 cases so that the characters in the minibuffer will actually be
14165 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * text.C: change the order of the includes.
14168 (workWidth): initialize it at once.
14169 (workWidth): make maxw unsigned
14170 (setHeightOfRow): remove unused variable (inset)
14171 (selectSelectedWord): remove unused variable (inset)
14172 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14174 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14177 server is not running.
14179 (closeConnection): add debug info when server is disabled.
14181 * ColorHandler.C (getGCForeground): send debug message to GUI
14184 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14186 * kbmap.C (bind): modify because return conventions of
14187 kb_sequence::parse have changed.
14189 * kbsequence.C (parse): only ignore spaces and not any stupid
14190 control character. This avoids tests like s[i] <= ' ', which are
14191 guaranteed to fail with 8bit characters and signed chars.
14192 Change return code to string::npos when there have been no error
14193 (0 was a bad idea when error is at first character)
14195 2001-11-14 José Matos <jamatos@fep.up.pt>
14198 * buffer.C (simpleDocBookOnePar): removed unused argument.
14200 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14203 insets which are part of a word. Paragraph::isLetter takes care of
14204 that now. Use Paragraph::isInset to identify insets.
14205 (selectSelectedWord): do not test for hyphenation break.
14207 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14208 that protected spaces are considered as spaces.
14210 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14213 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14216 * lyxserver.C: fix it. and small cleanup.
14218 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14220 * BufferView_pimpl.C: use inline helpers
14223 * LaTeXFeatures.C: fix typos
14226 * Spacing.C: move spacing_string into class
14228 * ToolbarDefaults.C: move stuff into namespace anon
14230 * layout.h: update enum
14232 * lyxfunc.C: use better debug
14234 * minibuffer.h: fix typo
14238 * WorkArea.C: add and use Debug::WORKAREA
14242 * text2.C: code re-organisation, inline helpers
14244 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14246 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14247 std::vector.empty().
14249 2001-11-09 Allan Rae <rae@lyx.org>
14251 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14252 '\n's after tables. Tabular and ERT inset work now makes this no
14255 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14258 * minibuffer.C: fix crash, improve drop-down completion
14260 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14263 * lyxserver.C: invalidate fd's when doing endPipe()
14265 2001-11-08 José Matos <jamatos@fep.up.pt>
14267 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14268 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14271 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14273 2001-11-07 José Matos <jamatos@fep.up.pt>
14276 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14279 * buffer.C (sgmlOpenTag):
14280 * buffer.C (sgmlCloseTag): removed debug info.
14282 * buffer.h (sgmlOpenTag):
14283 * buffer.h (sgmlCloseTag): made public.
14285 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14287 * buffer.C (saveParamsAsDefaults):
14288 * lyx_cb.C (MenuLayoutSave): remove
14290 * LyXAction.C (init):
14292 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14294 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * buffer.C (setPaperStuff): removed from here...
14298 * bufferparams.C (setPaperStuff): ... and moved there.
14300 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14304 * XFormsView.C: add support for drop-down completion
14306 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14308 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14311 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14313 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14316 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14318 * lyx_main.C: change ref to known bugs
14320 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14322 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14323 to work around older babel problems.
14325 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14327 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14329 2001-10-24 Juergen Vigna <jug@sad.it>
14331 * tabular-old.C (ReadOld): below variable changes reflected.
14333 * tabular.[Ch]: added ltType struct for longtable header/footer
14334 defines and changed all instances where they are used. Added
14335 future support for double top/bottom rows.
14337 2001-10-24 José Matos <jamatos@fep.up.pt>
14339 * buffer.h (docbookHandleCaption):
14340 * buffer.C (docbookHandleCaption): removed unused function.
14341 (makeDocBookFile): moved docbook supported version to v4.1.
14343 2001-10-24 José Matos <jamatos@fep.up.pt>
14346 * tabular.C (docbookRow): new function to export docbook code of a row.
14347 (DocBook): now honors the longtable flags.
14349 2001-10-23 José Matos <jamatos@fep.up.pt>
14352 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14353 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14355 * buffer.C (makeLinuxDocFile):
14356 (makeDocBookFile): reworked the preamble, more clean, and with
14357 support for lyx defined entities. Changed the document declaration
14358 to be more XML friendly.
14360 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14361 if we need to output XML that should be done with a filter.
14363 2001-10-22 Juergen Vigna <jug@sad.it>
14365 * sp_pspell.h (class PSpell): add alive function needed in the
14366 controller to see if the spellchecker could be started.
14368 2001-10-22 Juergen Vigna <jug@sad.it>
14370 * buffer.C (insertStringAsLines): modify the font for inserting
14371 chars in certain conditions by calling checkInsertChar(font).
14373 2001-10-19 Juergen Vigna <jug@sad.it>
14375 * text.C (workWidth): use getRow instead of wrong algorithm.
14376 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14378 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14383 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14385 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * text.C (workWidth): do not search for the exact row when
14388 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14389 optimization for big documents.
14391 2001-10-18 Juergen Vigna <jug@sad.it>
14393 * text.C (workWidth): new function with added Inset * parameter.
14395 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14397 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14399 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14400 change return type of getColumnNearX.
14403 * text.C (changeRegionCase): use uppercase/lowercase instead of
14406 (rightMargin): simplify code by factoring out the uses of
14411 (appendParagraph): use Paragraph::size_type
14413 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14415 * vspace.C (asLatexString): add a missing break
14417 2001-10-15 Herbert Voss <voss@perce.de>
14419 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14421 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14423 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14426 2001-10-10 André Pönitz <poenitz@gmx.net>
14428 * lyxfunc.C: removed greek_kb_flag.
14430 2001-10-10 Herbert Voss <voss@perce.de>
14432 * lyx_main.C: delete global string help_lyxdir.
14434 2001-10-09 Herbert Voss <voss@perce.de>
14436 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14438 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14440 * lyx_main.C: added global string help_lyxdir.
14442 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14444 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14446 * lyxrc.C (set_font_norm_type): support iso8859-4
14448 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14450 * LaTeX.C (deplog): add another regex for MikTeX
14452 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14454 * lyxrc.C (set_font_norm_type): support iso8859-3
14456 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14458 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14460 * LaTeXFeatures.C: remove special case of french and index
14462 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14463 before \begin{document}). This solves several incompatibilities.
14465 2001-10-03 Garst Reese <reese@isn.net>
14467 * lyx_cb.C: change CheckTex error msg.
14469 2001-10-03 José Matos <jamatos@fep.up.pt>
14471 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14473 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14475 * .cvsignore: update
14477 * lyx_main.C (commandLineVersionInfo): use new style version info.
14479 * buffer.C (writeFile):
14481 (makeLinuxDocFile):
14482 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14484 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14486 * version.h: update to use stuff in version.C
14488 * version.C.in: new file. Contains version information determined
14489 at compile time. This is a merging of version.h and
14492 2001-10-03 Juergen Vigna <jug@sad.it>
14494 * BufferView_pimpl.C (update): don't change "dirty" status in
14497 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14499 * WorkArea.C (c-tor): re-position version string slightly.
14501 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14503 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14504 revert to previous code.
14506 WorkArea.[Ch]: (show, destroySplash): methods removed.
14508 WorkArea.C: rework code so that it's an amalgam of the codes before and
14509 after the splash screen was moved to WorkArea.
14511 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14514 * vspace.C (inPixels):
14517 * buffer.C (insertStringAsLines):
14518 (asciiParagraph): fix types to be large enough
14520 * lyxlex_pimpl.h: change member status from short to int
14522 * layout.h: fix type of endlabeltype
14525 * kbsequence.C (parse): change return type to string::size_type
14527 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14530 * Bullet.C (bulletSize):
14531 (bulletEntry): do not use short ints as parameters
14533 * BufferView2.C (insertLyXFile): change a char to an int.
14535 * WorkArea.C (WorkArea): remove unneeded floats in computation
14537 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14539 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14541 * paragraph.C (asString): Do not ignore newline/hfill chars when
14542 copying to the clipboard.
14544 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14546 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14547 after a multi-line inset.
14549 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14551 * paragraph.C (validate): Set NeedLyXFootnoteCode
14553 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14555 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14556 and decrease-error to decrease.
14558 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14560 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14561 it more readable (should be equivalent)
14563 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14565 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14567 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14570 of a cursor (row, etc.) after a character has been deleted
14571 (deleteEmptyParagraphMechanism): call the method above on _all_
14572 cursors held by the LyXText when a double space has been
14575 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14577 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14579 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14581 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14582 background. Use greyOut() and the new show() methods to toggle between
14583 the foreground and background. Add code to remove the splash after
14584 its initial showing.
14586 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14587 (create_forms): no longer call Dialogs::showSplash.
14589 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14591 * .cvsignore: add version_info.h
14593 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * version_info.h.in: new file
14597 * Makefile.am: add version_info.h.in
14599 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14600 version_info.h instead of VERSION_INFO
14602 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14604 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14605 The ERT inset now returns string().
14607 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14609 * lyxtext.h, text.C (selectNextWord): renamed as
14610 selectNextWordToSpellcheck.
14612 * text.C (selectNextWordToSpellcheck): Modified to not select
14613 words inside an ERT inset.
14615 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14617 * lyx_cb.C (MenuLayoutSave): change a bit the question
14619 * sp_base.h: include <sys/types.h>
14621 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14623 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14625 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14627 * several files: fix typos in user-visible strings
14629 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * text2.C (pasteSelection): do not set the selection, since it
14632 will be cleared later. Actually, the intent was to fix the way the
14633 selection was set, but I figured rmoving the code was just as good.
14635 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14637 * FontLoader.C (available): Check if font is available without
14640 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14642 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14644 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14646 * lyxrc.[Ch]: added display_graphics variable and associated code.
14648 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * bufferparams.C (hasClassDefaults): new method. Returns true if
14651 the buffer parameters correspond to known class defaults
14653 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14655 * XFormsView.C (show): set minimum size to the main window.
14657 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14659 * text2.C (copySelection):
14661 * lyxfind.C (LyXReplace):
14662 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14663 LyXText::selectionAsString.
14665 * paragraph.C (asString): add "label" argument to the second form
14667 * text2.C (selectionAsString): add "label" argument and pass it to
14668 Paragraph::asString.
14670 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14672 * lyx_main.C (commandLineHelp): remove version information
14674 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14676 * lyx_main.C: add -version commandline option
14678 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14680 * paragraph.h: make the optional constructor arg required instead.
14681 some modifications to other files because of this.
14683 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14685 * lyxserver.C (C_LyXComm_callback): make it static
14687 * lyx_main.C (error_handler): make it static
14689 * lyx_gui.C (LyX_XErrHandler): make it static
14691 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14693 * WorkArea.C: make the extern "C" methods static.
14695 * Makefile.am (lyx_LDADD): simplify
14697 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14699 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14700 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14702 * LyXAction.C (init):
14703 * lyxfunc.C (dispatch): associated code removal.
14705 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * lyxfont.h (isSymbolFont): shut off warning
14709 * text.C (setHeightOfRow):
14710 (getVisibleRow): fix crash with empty paragraphs which have a
14713 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14715 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14718 2001-09-04 José Matos <jamatos@fep.up.pt>
14721 * tabular.C (docbook): rename docBook method to docbook.
14723 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14725 * Makefile.am: add dependencies to main.o.
14727 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14729 * FontLoader.C (available): Return false if !lyxrc.use_gui
14731 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14733 * FontInfo.C (query):
14734 * converter.C (view):
14735 * importer.C (Import):
14736 * exporter.C (Export): Can not -> cannot.
14738 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14740 * BufferView_pimpl.C: allow to create index inset even if
14743 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14745 * buffer.C (getLists): replace boost::tie code with an explicit pair
14746 as boost::tie can break some compilers.
14748 * iterators.h: Added a std:: declaration to the return type of
14751 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14753 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14756 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14758 * iterators.[Ch]: New files. Provide paragraph iterators.
14760 * buffer.C (changeLanguage): Use paragraph iterators.
14761 (isMultiLingual): ditto
14763 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14765 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14767 * FontLoader.C: Support for cmr font.
14769 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14771 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14772 (available): New method.
14774 * FontInfo.C (getFontname): Use scalable fonts even when
14775 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14778 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14780 * converter.C (Formats::view): reverted! Incorrect fix.
14782 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14784 * converter.C (Formats::view): only output the -paper option
14785 if the dvi viewer is xdvi, thereby fixing bug #233429.
14787 2001-08-23 Herbert Voss <voss@perce>
14789 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14791 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14793 * Spacing.h (Spacing): Set space to Default on in the default
14796 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14798 * vc-backend.h (RCS::versionString): add RCS to version
14799 (CVS::versionString): add CVS to version
14801 * vc-backend.C (scanMaster): do not add CVS to version.
14802 (scanMaster): do not add RCS to version
14804 * lyxvc.C (versionString): new method
14806 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14808 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14810 * Spacing.C (set): initialize fval
14812 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14814 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14817 2001-08-16 Juergen Vigna <jug@sad.it>
14819 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14821 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14823 * BufferView_pimpl.C:
14826 * text2.C: setParagraph takes linespacing now
14828 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14830 * LyxAction.C: add internal LFUN_CITATION_INSERT
14832 * LyXView.C: actually apply fix
14834 * bufferlist.C: fix open non-existent file
14836 * lyxfind.C: fix indentation
14838 * lyxfunc.C: remove unneeded assert, fix typo
14840 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14842 * MenuBackend.C: use "Floatname List"
14844 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14846 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14847 when converting LaTeX layout to insetERT.
14848 Generate a non-collapsed float when reading old float
14850 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14852 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14855 2001-08-13 Juergen Vigna <jug@sad.it>
14857 * text.C (fill): return 0 instead of 20 as this seems to be the more
14860 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14862 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14865 2001-08-13 Juergen Vigna <jug@sad.it>
14867 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14869 (SearchBackward): comment out the unlocking of the inset_owner this
14870 should not be needed!
14872 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14874 * Many files: Remove inherit_language, and add latex_language
14876 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14877 collapsible insets.
14879 2001-08-10 Juergen Vigna <jug@sad.it>
14881 * text.C (prepareToPrint): fixed hfill-width in draw!
14883 * BufferView2.C (selectLastWord): save the selection cursor as this
14884 now is cleared in the function LyXText::clearSelection!
14886 2001-08-08 Juergen Vigna <jug@sad.it>
14888 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14889 BACKSPACE type functions.
14891 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14892 is only cutted from the document but not put in the cut-buffer, where
14893 still the old stuff should be.
14895 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14897 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14899 * tabular.C (SetWidthOfCell): fixed special case where the width
14901 (LeftLine): handle '|' in align_special.
14903 (LeftAlreadyDrawed): ditto
14904 (SetWidthOfCell): ditto
14906 2001-08-07 Juergen Vigna <jug@sad.it>
14908 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14910 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14912 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14913 * lyxlex.[hC]: ditto
14915 2001-08-06 Juergen Vigna <jug@sad.it>
14917 * text.C (getVisibleRow): fix up row clearing a bit.
14919 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14921 * minibuffer.C: make sure the X server sees the changes in the input.
14923 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14925 * paragraph.C (getFont): split into...
14926 (getLabelFont): this
14927 (getLayoutFont): and this
14928 * paragraph_pimpl.C (realizeFont): calling this
14930 * text2.C (getFont): split into...
14931 (getLayoutFont): this
14932 (getLabelFont): and this
14933 (realizeFont): all three calling this
14935 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14938 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14942 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14944 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14945 layouts from the Quote inset insertion.
14947 2001-08-03 Juergen Vigna <jug@sad.it>
14949 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14951 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14952 only if status not is already CHANGED_IN_DRAW (second level).
14954 * text.C (draw): don't set the need_break_row when inside an
14957 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14959 * buffer.C (parseSingleLyXformat2Token): handle more latex
14962 * bufferview_funcs.[hC]: change function names to
14963 begin with small char, adjust other files.
14965 2001-08-02 André Pönitz <poenitz@gmx.net>
14968 BufferView_pimpl.C: remove broken special code for math-greek
14970 2001-08-02 Juergen Vigna <jug@sad.it>
14972 * BufferView_pimpl.C (update): redone this function so that we
14973 update the text again if there was a CHANGE_IN_DRAW.
14975 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14976 (drawFromTo): added a new internal bool which is used by draw() and
14978 (general): some cursor drawing problems fixed.
14980 2001-08-01 Juergen Vigna <jug@sad.it>
14982 * lyxfind.C (LyXFind): fixed
14983 (SearchForward): ditto
14984 (SearchBackward): ditto
14986 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14987 spurius drawing of the cursor in the main area.
14989 * text2.C (status): small fix which could lead to a segfault!
14990 (clearSelection): remove unneeded BufferView param.
14992 2001-08-01 André Pönitz <poenitz@gmx.net>
14994 * lyxfunc.C: small change due to changed mathed interface
14996 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14998 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15000 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15002 * lyxfunc.c: fail gracefully if file doesn't exist
15007 * BufferView_pimpl.C: IsDirWriteable() proto changed
15009 * LyXView.C: fix updateWindowTitle() to store the last title
15011 2001-07-31 Juergen Vigna <jug@sad.it>
15013 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15014 the font (wrong since using of Paragraph::highestFontInRange).
15016 * paragraph.C (highestFontInRange): added a default_size parameter.
15018 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15019 (setHeightOfRow): reformat
15021 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15023 * converter.[hC] + affected files: move to (inital-char)lowercase
15026 * ParagraphParameters.C (ParagraphParameters): remove commented code
15028 * PainterBase.[Ch]: remove commented code
15030 * LaTeXFeatures.h: add "bool floats" for float.sty
15032 * LaTeXFeatures.C (LaTeXFeatures): init floats
15033 (require): handle float
15034 (getPackages): do it with floats
15036 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * BufferView_pimpl.C (Dispatch): improve handling of
15039 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15041 * commandtags.h: #include lyxfont.h here temporarily to avoid
15044 * bufferlist.h: include LString.h here.
15046 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15048 * text2.C (getStringToIndex): new method.
15050 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15052 * *: Reduced header file dependencies all over.
15054 2001-07-30 Baruch Even <baruch@lyx.org>
15056 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15058 2001-07-29 Baruch Even <baruch@lyx.org>
15060 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15062 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * ParameterStruct.h (endif): add a default constructor to make
15065 sure that all variables is initialized.
15067 * ParagraphParameters.C (ParagraphParameters): adjust
15069 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15071 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15072 index; also, check that there is something to index, and that it
15073 does not span over several paragraphs.
15074 (doubleClick): use WHOLE_WORD_STRICT for double click.
15076 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15078 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15081 2001-07-26 Baruch Even <baruch@lyx.org>
15083 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15084 an InsetFig figure, backwards compatible reading of old figure code.
15086 2001-07-27 Juergen Vigna <jug@sad.it>
15088 * text2.C: font.realize function adaption.
15090 * text.C (draw): add a warnings lyxerr text if needed.
15092 * layout.C: font.realize function adaption.
15094 * language.C: add inherit_language and implement it's handlings
15096 * bufferview_funcs.C (StyleReset): remove language parameter from
15097 font creation (should be language_inherit now).
15099 * bufferparams.C (writeFile): handle ignore_language.
15101 * paragraph.C (getFontSettings): the language has to be resolved
15102 otherwise we have problems in LyXFont!
15104 * lyxfont.C (lyxWriteChanges): added document_language parameter
15105 (update): removed unneeded language parameter
15107 * paragraph.C (validate): fixed wrong output of color-package when
15108 using interface colors for certain fonts in certain environments,
15109 which should not seen as that on the final output.
15111 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15113 * BufferView_pimpl.C:
15118 * LyXAction.C: add thesaurus support
15121 * lyxfind.C: add "once" parameter, for thesaurus, to not
15122 move to the next match
15124 2001-07-26 Juergen Vigna <jug@sad.it>
15126 * lyxfont.C (realize): honor ignore_language too!
15129 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15131 * text.C (draw): one place more for ignore_language to not draw
15134 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15136 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15138 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15140 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15141 the minipage conversion problem.
15143 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15145 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15148 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15150 * BufferView.h: don't forward declare WorkArea
15152 * BufferView.C: don't include WorkArea.h
15154 2001-07-25 André Pönitz <poenitz@gmx.net>
15158 * lyxfunc.C: new LFUN 'math-space'
15160 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15162 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15164 * text2.C (toggleInset): call open/close
15166 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15168 * lyxfunc.C (dispatch): add debug for the disabled case
15170 * font.C (buttonText): make similar to rectText
15172 * buffer.C (readInset): comment out parsing of insetlist and
15175 * PainterBase.C (rectText): small correction
15177 * BufferView_pimpl.C: comment out insettheorem and insetlist
15178 * LyXAction.C: ditto
15179 * commandtags.h: ditto
15181 2001-07-24 Juergen Vigna <jug@sad.it>
15183 * text.C (draw): honor the ignore_language.
15185 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15187 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15192 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15194 * lyxtext.h: remove unused (and unimplemented) methods
15196 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15198 * text.C (getVisibleRow): honor background color
15201 * Painter.h: remove default color argument for fillRectangle
15203 * text.C (backgroundColor): new method
15205 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15207 * text.C (getVisibleRow): adjust
15209 * font.[Ch] (rectText): new method, metrics
15210 (buttonText): new method, metrics
15212 * PainterBase.[hC]: make rectText and buttonText always draw and take
15215 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15217 * ToolbarDefaults.C (read):
15218 * MenuBackend.C (read): allow escaping in all strings
15220 * BufferView_pimpl.C (insertAndEditInset): new method.
15221 (Dispatch): use insertAndEditInset whenever appropriate.
15223 * BufferView_pimpl.C (insertNote): removed
15225 * BufferView_pimpl.C (smartQuote): new method, moved from
15226 BufferView; if an insetquote cannot be inserted, insert a '"'
15229 * BufferView2.C: remove insertCorrectQuote();
15231 * lyxfunc.C (getStatus): Add support for all remaingin
15232 inset-insert lfuns.
15234 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15236 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15237 command (necessary to pass " as parameter of self-insert.
15239 * text.C (selectWordWhenUnderCursor):
15240 (selectWord): add word_location parameter
15241 (selectWordWhenUnderCursor): same + remove special code for word
15243 (selectNextWord): use kind() to guess type of insetspecialchar,
15246 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15247 (insertErtContents): create ert insets as collapsed.
15248 (readInset): better compatibility code for Info inset.
15250 2001-07-20 Juergen Vigna <jug@sad.it>
15252 * lyxfunc.C (dispatch): use always LyXFind now!
15254 * text2.C (init): add a reinit flag so that the LyXText can be
15255 reinited instead of deleted and reallocated (used in InsetText).
15257 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15263 2001-07-18 Juergen Vigna <jug@sad.it>
15265 * text.C (selectNextWord): handle insets inside inset by calling
15266 always the bv->text functions so that we can go up the_locking_inset!
15268 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15269 in strange locations when inside an inset!
15271 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15272 handling to include insets.
15274 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15276 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * LyXAction.C (init):
15280 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15281 LIGATURE_BREAK, since the name is so stupid.
15283 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15285 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15288 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15290 * sp_form.[Ch]: remove.
15292 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15294 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15297 * src/buffer.C (readInset): ditto.
15299 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15301 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15302 menuSeparator(), endOfSentenceDot(), ldots() and
15303 hyphenationPoint(), which are therefore removed.
15304 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15306 * LyXAction.C (init):
15307 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15309 * paragraph.C (getWord): removed.
15311 * BufferView_pimpl.C (Dispatch): use last word or selection for
15312 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15314 * lyx_main.C (queryUserLyXDir): do not ask before creating
15315 user_dir, except if it has been named explicitely.
15317 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15319 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15320 a document of zero size.
15322 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15324 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15325 approriately in the c-tor and in require().
15326 (getPackages): output the appropriate LaTeX for natbib support.
15328 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15329 variables "use_natbib" and "use_numerical_citations" when reading the
15331 (readInset): read the various natbib cite commands.
15332 (validate): white-space change.
15334 * bufferparams.[Ch]: new variables "bool use_natbib" and
15335 "bool use_numerical_citations".
15336 (writeFile): output them in the LyX file.
15338 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15340 * lyxfunc.C (getStatus): add support for all the inset insertion
15343 * text2.C (insertInset):
15344 * paragraph.C (insetAllowed):
15345 * BufferView_pimpl.C (insertInset): update to take in account the
15346 renaming of insertInsetAllowed
15348 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15350 * text2.C (getInset): new method. returns inset at cursor position.
15352 * BufferView_pimpl.C (Dispatch): changes because of this.
15354 * LyXAction.C (init): rename open-stuff to inset-toggle.
15356 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15358 * text2.C (toggleInset): renamed from openStuff; use
15361 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15363 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15365 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15367 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15369 * buffer.C (readLyXformat2): Add filename to the error dialog
15371 2001-07-18 Juergen Vigna <jug@sad.it>
15373 * tabular.C (GetCellNumber): put an assert here instead of the check!
15375 2001-07-17 Juergen Vigna <jug@sad.it>
15377 * BufferView_pimpl.C (toggleSelection): adapted too.
15379 * text.C (selectNextWord): adapted for use with insets.
15380 (selectSelectedWord): ditto
15382 2001-07-17 Juergen Vigna <jug@sad.it>
15384 * sp_spell.C (PSpell): fix initialitation order.
15386 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15388 * paragraph.C: spacing
15390 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15392 * sp_spell.C: repair language selection for pspell
15394 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15396 * lyxfunc.h: change more methods to begin with lower char.
15398 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15400 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15401 for unknown layouts.
15403 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15405 * buffer.C (readLyXformat2): Generate an error dialog if there are
15408 2001-07-16 Juergen Vigna <jug@sad.it>
15410 * sp_spell.C: always compile ISpell part.
15412 * lyxrc.C: added use_pspell entry and it's handling.
15414 2001-07-13 Juergen Vigna <jug@sad.it>
15416 * sp_spell.C: removed double includes.
15418 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15420 Consistent use of Lsstream.h:
15421 * Lsstream.h: added using std::stringstream for consistencies sake.
15423 * buffer.C: removed using std::stringstream
15425 * lyxfont.C (stateText):
15426 * paragraph.C (asString):
15427 * text.C (selectNextWord, selectSelectedWord):
15428 * text2.C (setCounter):
15429 * vspace.C (asString, asLatexString):
15430 std::ostringstream -> ostringstream.
15432 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15434 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15435 * commandtags.h: add LFUN_HELP_ABOUTLYX
15436 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15438 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15440 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15442 * lyx_gui_misc.C: remove spellchecker
15443 * lyxfunc.C: showSpellchecker
15445 * sp_ispell.h: added
15446 * sp_pspell.h: added
15447 * sp_spell.C: added
15448 * sp_form.[Ch]: removed
15449 * spellchecker.[Ch]: removed
15451 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15453 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15455 (simpleTeXSpecialChars): Simply print the input character without
15456 any special translation if pass_thru is set.
15458 * layout.h: Added bool pass_thru to layout class for being able to
15459 implement pass through of a paragraph for Literate Programming.
15461 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15462 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15463 * layout.C (Read): add "passthru" to list of layout tags and add
15464 code to set the pass_thru boolean when it is read.
15466 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15468 * trans_decl.h: remove allowed from KmodInfo
15470 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15471 remove allowed code
15474 * paragraph_pimpl.C (erase): use boost::prior
15476 * Painter.C (text): use data() instead of c_str() when length is
15478 * WorkArea.C (putClipboard): ditto
15479 * font.h (width): ditto
15481 * BufferView2.C: use it-> instead of (*it). for iterators
15483 * paragraph_pimpl.C: ditto
15484 * paragraph.C: ditto
15485 * minibuffer.C: ditto
15486 * language.C: ditto
15488 * encoding.C: ditto
15489 * counters.C: ditto
15490 * converter.C: ditto
15492 * Variables.C: ditto
15493 * TextCache.C: ditto
15494 * MenuBackend.C: ditto
15495 * LyXAction.C: ditto
15497 * FloatList.C: ditto
15498 * DepTable.C: ditto
15499 * ColorHandler.C (LyXColorHandler): ditto
15501 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15503 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15505 * text2.C (openStuff): reintroduce this method (which had been
15506 nuked in NEW_INSETS frenzy).
15508 * lyxfunc.C (Dispatch): when an action has not been handled, use
15509 its name in the error message, not its number.
15511 * paragraph.C (inInset): change method name to begin with lowercase.
15514 * text2.C: updates because of this.
15516 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15518 * ToolbarDefaults.C (add): add spaces in error message
15520 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15522 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15523 (readLyXformat2): rename return_par to first_par, use lyxlex's
15524 pushToken and remove the manual push handling.
15525 (parseSingleLyXformat2Token): add another ert comp. variable:
15526 in_tabular, rename return_par to first_par. handle newlines better
15528 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15530 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15532 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15534 * text2.C (getParFromID): removed
15536 * buffer.C (getParFromID): new method moved form lyxtext.
15537 * BufferView2.C (insertErrors): adjust
15538 (setCursorFromRow): adjust
15539 * BufferView_pimpl.C (restorePosition): adjust
15540 * lyxfunc.C (Dispatch): adjust
15541 * undo_funcs.C (textUndo): adjust
15543 (textHandleUndo): adjust
15544 (textHandleUndo): adjust
15546 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * buffer.C: up' the LYX_FORMAT
15550 * lyxfont.h: turn NO_LATEX on as default
15552 * buffer.C (insertErtContents): new methods of tex style compability.
15553 (parseSingleLyXformat2Token): use it several places.
15554 * tabular.C (OldFormatRead): and here
15556 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15558 * text2.C: remove some commented code.
15561 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15562 * trans.C: changes because of the above.
15564 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15566 * text2.C (setCounter): Fix counters bug with bibliography layout.
15568 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15570 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15571 own member functions
15572 (simpleTeXSpecialChars): ditto
15574 2001-07-06 Juergen Vigna <jug@sad.it>
15576 * a lot of files: changed the access to LyXText::status and the
15577 call of undo-functions.
15579 * undo.[Ch]: added a inset_id to the undo informations.
15581 * undo_funcs.[Ch]: added and moved here all undo functions.
15583 * lyxtext.h: give the status enum a weight, made status_ a private
15584 variable and made accessor functions for it, removed the whole bunch
15585 of undo-functions as they are now in their own file, make some
15586 functions publically available. Added function ownerParagraph with
15589 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15590 made InInset() a const function, added getParFromID() function.
15592 * buffer.[Ch]: added const version for inset_iterator functions,
15593 added getInsetFromID() function.
15595 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15596 changed undo functions for new version.
15598 2001-07-05 Juergen Vigna <jug@sad.it>
15600 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15601 unknow mechanism does not call the proper constructor but only this
15602 one also if I request the other!?
15604 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15606 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15608 * text2.C (LyXText): use initialization lists.
15610 * lyxtext.h (Selection): initialize set_ and mark_
15611 (init): remove method
15613 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15615 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15617 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15619 * screen.[Ch]: change method names to begin with lowercase
15621 * BufferView_pimpl.C (updateScrollbar): simplify further and
15622 hopefully make it a bit faster.
15624 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15626 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15627 calling directly xforms functions.
15629 * Painter.C (Painter):
15630 * lyx_cb.C (MenuWrite):
15631 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15634 * lyx_gui.C: remove bogus guiruntime extern declaration.
15636 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15638 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15640 (redoDrawingOfParagraph): ditto
15641 (redoParagraphs): ditto
15642 (cutSelection): don't create a object for CutAndPaste use the
15643 static method directly
15644 (pasteSelection): ditto
15646 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15649 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15651 * modifications to some other files because of this.
15653 * Makefile.am (lyx_SOURCES): add XFormsView
15655 * XFormsView.[Ch]: new files
15657 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15658 the main window. Move the gui dependent stuff to XFormsView
15660 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * tabular.C (GetCellInset): update cur_cell also in the row/col
15663 version of this function.
15665 * lyxfunc.C: no need to include figure_form.h here.
15671 * lyxvc.C: no need to include forms.h here.
15673 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15675 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15677 * lyxfunc.C (Dispatch):
15679 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15680 constructor argument.
15682 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15684 * paragraph.C (Paragraph): dont't clear, and just set layout.
15685 (makeSameLayout): use params's copy contructor.
15687 * ParagraphParameters.[Ch] (makeSame): delete method
15689 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15691 * Variables.[Ch]: fix indentation, rename set to isSet
15693 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15695 * lyxfunc.C (Dispatch): fix typo
15697 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15699 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15702 * bufferlist.C: include assert.h for emergencyWrite().
15704 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15706 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15707 give up at last (bug #425202) !
15709 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15715 * spellchecker.C: strip spellchecker options and bring up
15716 preferences tab instead
15718 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15720 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15721 the istringstream constructor
15723 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15725 * paragraph.C (getLayout): fix return value
15727 * paragraph.h: do not declare getLayout as inline.
15729 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15731 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15733 * lyxcursor.h (operator<): new func
15734 (operator>): new func
15735 (operator>=): new func
15736 (operator<=): new func
15738 * text.C (changeCase): use selection.start and selection.end
15739 (changeRegionCase): require from to be <= to. Require par to be a
15742 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15744 2001-06-27 Juergen Vigna <jug@sad.it>
15746 * text.C (cursorLeftOneWord): changed to return the cursor and added
15747 overlay with BufferView * parameter which calls this one.
15749 (selectWord): use new getWord function.
15750 (changeCase): renamed from changeWordCase as and extended to work
15751 also on selections.
15753 * lyxtext.h: added enum word_location
15755 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15756 changeCase as this operates now also on selections.
15758 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15760 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15762 * many files: send debug output to Debug::INFO instead of
15765 * converter.C (View):
15767 (Move): send debug output to Debug::FILES instead of console.
15769 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15771 * lyxfunc.C (getStatus): use func_status
15773 * func_status.h: new header, describing the results of
15774 LyXFunc::getStatus;
15776 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15779 2001-06-25 The LyX Project <jug@sad.it>
15781 * buffer.C (sgmlOpenTag):
15783 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15785 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15787 * text2.C: remove some dead code
15789 * tabular.C (GetCellInset): store the last cell checked (gotten)
15791 * tabular.h: add the helper for the speedup
15793 * lyxtext.h: remove some dead code
15795 2001-06-26 The LyX Project <Asger>
15797 * paragraph.C: Change export to LaTeX of alignment to
15798 \begin{center} and family for better roundtrip work with reLyX.
15800 * Tune the math drawing a bit.
15802 2001-06-25 The LyX Project <Asger>
15804 * LColor.C (LColor): New color for math background. New color
15807 2001-06-25 The LyX Project <jug@sad.it>
15809 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15811 * lyxfunc.C (Open):
15812 * bufferlist.C (newFile): do not restrict to files ending with
15815 * BufferView_pimpl.C (MenuInsertLyXFile):
15817 2001-06-24 The LyX Project <jug@sad.it>
15819 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15822 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15824 * lyxtext.h: rename most methods to begin with a small char.
15825 Lots of changes because of this.
15827 * paragraph.C (Paragraph): do not call fitToSize
15828 (erase): call Pimpl::erase
15829 (insertChar): call Pimpl::insertChar
15830 (insertInset): call Pipl::insertInset
15831 (breakParagraph): do not call fitToSize
15832 (breakParagraphConservative): do not call fitToSize
15833 (fitToSize): remove method
15835 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15837 2001-06-24 The LyX Project <Asger>
15839 * Fix Qt compilation^2
15841 2001-06-24 The LyX Project <jug@sad.it>
15843 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15844 depthHook(getDepth()-1).
15847 * ParagraphParameters.h:
15848 * ParameterStruct.h: change type of depth to unsigned int ==
15849 depth_type. Many adaptations to other files before of that.
15851 2001-06-24 The LyX Project <Asger>
15853 * Fix Qt compilation.
15855 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15857 * paragraph.h: renamed several methods to begin with small letter.
15858 several changes to many parts of the code because of this.
15860 2001-06-23 The LyX Project <jug@sad.it>
15862 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15863 rewritten to discard all double spaces when KeepEmpty is off
15864 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15865 to only handle newlines but not fiddle with spaces and friends.
15867 * lyxfunc.C (MenuNew): when doing 'new from template', use
15868 template_path as default directory
15870 2001-06-23 The LyX Project <Asger>
15872 * Clean-up of header file includes all over
15873 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15875 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15877 * paragraph.h: renamed from lyxparagraph.h
15879 2001-06-23 Asger <lyx@violet.home.sad.it>
15881 * Buffer.h: Removed Buffer::resize
15882 * BufferList.h: Removed BufferList::resize
15883 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15884 the document lazily when we change the width, or the font settings.
15886 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15888 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15890 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15892 * buffer.h: remove out of date comment
15894 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15897 * screen.C: fix "theoretical" GC leak
15899 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15901 * LaTeX.C (scanAuxFile):
15902 (deplog): remove trailing \r when reading stream (useful under
15905 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15907 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15908 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15909 and BufferView::theLockingInset(Inset*), so should use them and not
15910 access bv_->text->the_locking_inset directly.
15912 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15914 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15917 * tex-defs.h: remove old unused file
15919 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15921 * BufferView_pimpl.C: fix typo, remove minibuffer message
15922 when buffer has loaded
15924 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15926 * lyxfunc.C (Dispatch): use stringstream
15927 (MenuNew): use stringstream
15928 (Open): use stringstream
15930 * importer.C (Import): use stringstream
15932 * bufferview_funcs.C (CurrentState): use stringstream
15934 * LaTeX.C (run): use stringstream
15936 * BufferView_pimpl.C (savePosition): use stringstream
15937 (restorePosition): use stringstream
15938 (MenuInsertLyXFile): use stringstream
15940 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15953 * vspace.C: removed // -*- C++ -*- as first line.
15956 * version.h: added // -*- C++ -*- as first line.
15958 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15960 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15962 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15965 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15967 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15970 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15972 * gettext.C: include LString.h even when --disable-nls is on.
15974 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15976 * converter.h (Get): changed argument type from int to
15977 FormatList::size_type to avoid unnecessary conversion.
15979 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15982 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15984 * gettext.h: include LString.h even when --disable-nls is on.
15986 2001-06-07 Juergen Vigna <jug@sad.it>
15988 * text.C (BreakAgain): subst spaces with tabs.
15990 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15991 (resizeInsetsLyXText): set force on resizeLyXText.
15993 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15995 * gettext.h (gettext_init):
15996 (locale_init): use a real definition instead of a macro
15998 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16000 * Bufferview_pimpl.C:
16002 * LColor.C: further lcolor tidies
16004 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16006 * BufferView_pimpl.C (updateScrollbar): simplify.
16008 * BufferView2.C: don't include insets/insetinfo.h, change
16009 prototype for insertInset and call the Pimpl version. let
16010 updateInset call Pimpl version.
16012 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16013 gotoInset to BufferView::Pimpl
16015 2001-06-01 Juergen Vigna <jug@sad.it>
16017 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16018 inside a LockingInset (is the update needed at all?).
16020 2001-05-31 Juergen Vigna <jug@sad.it>
16022 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16023 here not the old one otherwise how should we compare it afterwards
16026 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16031 * FontInfo.C: bring C functions into global namespace when
16034 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16036 * LString.h: make sure config.h has been loaded before LString.h.
16038 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16039 (one for each char read by EatLine!).
16041 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16044 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16047 to the same as the par we break from
16049 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16051 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16053 * MenuBackend.C (expand): also create menu entries for wide
16054 versions of the floats.
16056 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16058 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16060 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16061 frontends/Makefile.am
16067 * tabular.C (getTokenValue): add std::
16069 * tabular-old.C (getTokenValue): add std::
16070 (getTokenValue): ditto
16071 (getTokenValue): ditto
16073 * screen.C (ToggleSelection): adjust
16075 * lyxtext.h: put selection cursors inside a Selection struct.
16077 * lyxfunc.C (moveCursorUpdate): adjust
16079 * lyxfont.C (latexWriteStartChanges): add std::
16081 * lyxfind.C: adjust
16083 * font.h: delete with(char const *, LyXFont const &)
16085 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16087 * FontInfo.C (getFontname): add std::
16089 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16090 (workAreaButtonPress): adjust
16091 (tripleClick): adjust
16093 (moveCursorUpdate): adjust
16096 * BufferView2.C (gotoInset): adjust
16098 2001-05-30 Juergen Vigna <jug@sad.it>
16100 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16101 to check pspell I add this as default as I now have new pspell
16102 libraries and they seem to use this.
16104 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16106 * text2.C (CutSelection): make the cursor valid before the call to
16109 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16111 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16112 relied on 0 terminated strings and other horrors. Bug found due to
16113 the new assert in lyxstring!
16115 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16118 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16120 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16123 * lyxfunc.C (processKeySym): change method of getting to the
16126 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16127 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16128 * BufferView_pimpl.[Ch]: here as private methods.
16130 2001-05-28 Juergen Vigna <jug@sad.it>
16132 * text.C (SetHeightOfRow): added the update() call again as it is
16133 needed to initialize inset dimensions!
16135 2001-05-16 Juergen Vigna <jug@sad.it>
16137 * text2.C (SetCharFont): Add new function with BufferView * and
16138 bool toggleall parameters for setting insets internal fonts.
16139 (SetFont): Freeze the undo as we may change fonts in Insets and
16140 all this change should be inside only one Undo!
16142 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16143 setting font's in insets as for them we have the SetFont function!
16145 2001-05-15 Juergen Vigna <jug@sad.it>
16147 * text2.C (ClearSelection): to be sure we REALLY don't have any
16150 * tabular.C (TeXCellPreamble): fixed the left border problem for
16153 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16155 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16158 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16160 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16161 LFUN_BREAKPARAGRAPH.
16163 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16164 help test to "internal only", similar for LFUN_INSERT_URL
16166 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16167 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16168 auto_region_delete and deadkeys.
16170 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16173 * LColor.C: remove some dead entries, tidy a little
16175 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16177 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16179 (Dispatch): implement LFUN_ESCAPE
16181 * commandtags.h: add LFUN_ESCAPE
16183 * LyXAction.C (init): add entry for LFUN_ESCAPE
16185 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16186 Remove commented code.
16187 (insertNote): moved here
16188 (open_new_inset): moved here
16190 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16193 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16195 * kbmap.C (findbinding): clean it up and make it work correctly.
16197 * lyx_main.C (init): do not pass argc and argv as parameters
16199 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16201 * buffer.C: fix path for OS/2 & Win32
16205 * lyx_main.C: Added os:: class.
16207 * os2_defines.h: update
16209 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16211 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16212 better by trying again with reduced state.
16214 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * lyxrc.C (read): print error about invalid key sequence only when
16217 debugging (because not all latinX keysyms are known to some X
16220 * kbsequence.C (getiso): add a few std:: qualifiers
16221 (getiso): comment out extra return statement.
16223 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16225 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16227 (Dispatch): enhance the accent inset a bit. (not perfect)
16229 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16231 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16233 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16235 * bufferlist.C (emergencyWrite): fix assert() call
16237 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16239 * text.C (InsertChar): Added trivial patch to only send the "you
16240 can not do multiple spaces this way" message once during a
16243 2001-05-08 Baruch Even <baruch@lyx.org>
16245 * Makefile.am: Changed order of libraries to get LyX to link properly
16246 with the gnome frontend.
16248 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16250 * LaTeXFeatures.h: add a std:: qualifier
16252 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16254 * paragraph.C (String): use stringstream
16256 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16258 * paragraph.C (writeFile): remove footflag arg
16260 * buffer.C (makeLaTeXFile): use stringstream
16261 (latexParagraphs): remove footnot gurba
16263 * LaTeXFeatures.C (getPackages): use stringstream
16264 (getMacros): likewise
16265 (getTClassPreamble): likewise
16266 (getFloatDefinitions): new method
16268 * paragraph.C (writeFile): reindent
16271 * WorkArea.h: revert the xpos + etc changes.
16273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16275 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16277 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16278 (pasteSelection): likewise
16279 * text2.C (CreateUndo): likewise
16281 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16283 * minibuffer.C (peek_event): temporarily reduce the functionality
16284 of the minibuffer (to allow args on lfuns)
16286 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16287 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16289 * buffer.C (readInset): add compability reading of old float
16290 lists, add reading of new style float list.
16291 (readInset): avoid reevaluation of inscmd.getCmdName()
16292 (getLists): reindent
16294 * MenuBackend.C (MenuItem): implement parsing of
16295 md_floatlistinsert and md_floatinsert.
16296 (expand::LastFiles): move initalizaton of iterators out of loop,
16297 avoid reevaluation.
16298 (expand::Documents): introduce typdedef vector<string> Strings,
16300 (expand::ExportFormats): introduce typedef vector<Format const *>
16301 Formats, and use it.
16302 (expand): implement FloatListInsert and FloatInsert.
16304 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16305 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16306 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16308 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16310 (Dispatch::LFUN_FLOAT_LIST): implement
16312 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16314 * LaTeX.C (run): Fix problem with --export code.
16316 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16318 * BufferView.[Ch] (workarea): removed.
16319 (getClipboard) new method; wrapper for workarea()->getClipboard()
16321 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16324 * WorkArea.h (width, height, xpos, ypos): These methods all
16325 returned the dimensions of the work_area sub-area of WorkArea,
16326 resulting in a position error if the WorkArea were resized. Now
16327 return the dimensions of the entire WorkArea.
16329 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16331 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16333 * LaTeX.C (deplog): correct the syntax of regex reg1
16335 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16337 * undo.C: remove !NEW_INSETS cruft
16339 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16341 * text2.C: remove !NEW_INSETS cruft
16343 * text.C: remove !NEW_INSETS cruft
16345 * tabular.C: remove !NEW_INSETS cruft
16347 * spellchecker.C: remove !NEW_INSETS cruft
16349 * lyxtext.h: remove !NEW_INSETS cruft
16351 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16353 * lyxfunc.C: remove !NEW_INSETS cruft
16355 * lyxfind.C: remove !NEW_INSETS cruft
16357 * lyx_cb.C: remove !NEW_INSETS cruft
16359 * figureForm.C: remove !NEW_INSETS cruft
16361 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16363 * buffer.[Ch]: remove !NEW_INSETS cruft
16365 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16367 * CutAndPaste.C: remove !NEW_INSETS cruft
16369 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16371 * BufferView2.C: remove !NEW_INSETS cruft
16373 * BufferView.h: remove !NEW_INSETS cruft
16375 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * Lsstream.h: include LString.h before the sstream headers to
16378 fix problem with gcc 2.95.3 and lyxstring
16380 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16382 * lyx_main.C: add using directives when needed for C functions
16383 declared in std:: namespace.
16385 2001-04-27 Juergen Vigna <jug@sad.it>
16387 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16388 (SetHeightOfRow): comment out the update call should not be needed!
16390 2001-04-13 Juergen Vigna <jug@sad.it>
16392 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16393 (LyXTabular): tried to minimize operator= operations (and realized
16394 hopfully Lars wish).
16396 2001-04-27 Juergen Vigna <jug@sad.it>
16398 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16400 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16402 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16404 * buffer.C (readInset): hack to make listof algorithm work
16406 * BufferView_pimpl.C: hack to make listof algorithm work
16408 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16410 * LyXAction.C: removed all !NEW_INSETS cruft
16411 (init): moved lfun_item in method
16413 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16415 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16417 * BufferView2.C (theLockingInset): white space.
16419 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16421 * minibuffer.C: include <iostream>
16423 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16425 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16427 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16429 * text.[Ch] (TransposeChars): new method
16431 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16433 * call message directly through LyXView instead of through LyXFunc
16434 * BufferView2.C: adjust
16435 * BufferView_pimpl.C: adjust
16436 * FontLoader.C: adjust
16438 * bufferview_funcs.C: adjust
16439 * converter.C: adjust
16440 * figureForm.C: adjust
16441 * importer.C: adjust
16443 * lyx_gui_misc.C: adjust
16444 * lyxfunc.C: adjust
16447 + more files in subdirs
16449 * lyxparagraph.h (size): move up int file
16452 * adjust all uses of Assert to lyx::Assert.
16454 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16455 lyxfunctional in namespace lyx
16456 * layout.C (hasLayout): ditto
16459 (delete_layout): ditto
16460 (NumberOfClass): ditto
16461 * converter.C (GetFormat): ditto
16466 * bufferlist.C (getFileNames): ditto
16467 (emergencyWriteAll): ditto
16470 * MenuBackend.C (hasSubmenu): ditto
16473 * BufferView_pimpl.C (getInsetByCode): ditto
16475 2001-04-18 Juergen Vigna <jug@sad.it>
16477 * vspace.C (asLatexString): fixed the 100% problem.
16479 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16481 * lyxfunc.C (Dispatch):
16483 * minibuffer.h: add a few std:: qualifiers
16485 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16487 * minibuffer.[Ch]: reimplement so that commands is initiated and
16488 run from lyxfunc, simplified som handling, and made the completion
16489 and history code for complete. wip.
16491 * lyxfunc.C (processKeySym): call message
16492 (miniDispatch): new temporary method
16493 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16494 (LFUN_MESSAGE): implement
16495 (LFUN_MESSAGE_PUSH): implement
16496 (LFUN_MESSAGE_POP): implement
16497 (initMiniBuffer): the initial/defualt minibuffer message.
16499 * lyxfont.[Ch]: inline some more getters
16501 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16503 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16505 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16506 (AutoSave): use LFUN_MESSAGE
16507 (Reconfigure): ditto
16509 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16511 * figureForm.C: use LFUN_MESSAGE
16513 * converter.C (runLaTeX): use LFUN_MESSAGE
16515 * bufferview_funcs.C: use LFUN_MESSAGE
16517 (changeDepth): ditto
16519 * bufferparams.h: use boost::
16521 * bufferlist.h: inherit privately from noncopyable
16523 * bufferlist.C (loadLyXFile): remove some commented code.
16525 * buffer.C (runChktex): use LFUN_MESSAGE
16527 * ShareContainer.h: inherit privately from noncopyable
16529 * ParagraphParameters.[hC] (depth): inline it.
16531 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16533 (message): new method
16534 (messagePush): ditto
16535 (messagePop): ditto
16536 (show): init minibuffer
16537 (showState): direct call
16539 * LaTeX.[Ch]: inherit privately from noncopyable
16540 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16541 instead of WriteStatus.
16543 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16545 * BufferView_pimpl.C (buffer): don't init minibuffer
16546 (workAreaButtonPress): use LFUN_MESSAGE
16547 (workAreaButtonRelease): ditto
16548 (savePosition): ditto
16549 (restorePosition): ditto
16550 (MenuInsertLyXFile): ditto
16551 (workAreaExpose): don't init minibuffer
16552 (update): remove commented code, simplify
16554 * BufferView2.C (openStuff): use LFUN_MESSAGE
16555 (toggleFloat): ditto
16558 (copyEnvironment): ditto
16559 (pasteEnvironment): ditto
16564 (updateInset): remove some commented code
16566 * lastfiles.h: inherit privately from noncopyable
16569 * lyx_main.h: ditto
16571 * lyxlex_pimpl.h: ditto
16573 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16574 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16575 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16577 * LyXAction.h: inherit privately from noncopyable, add methods
16578 func_begin, func_end, returning iterators to the func map.
16580 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16581 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16582 (func_begin): new method
16583 (func_end): new method
16585 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16587 (copySelection): ditto
16588 (pasteSelection): ditto
16590 * BufferView.C: whitespace change
16591 * BufferView.h: inherit privately from noncopyable
16593 2001-04-16 Allan Rae <rae@lyx.org>
16595 * tabular-old.C (l_getline):
16596 * spellchecker.C (sc_check_word):
16597 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16598 an unrecognised preprocessor directive. So ensure they're wrapped.
16600 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16602 * src/exporter.C (Export): Give an error message when path to file
16605 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16607 * LaTeX.C (deplog): Always check that foundfile exists.
16609 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16612 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16614 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16616 * tabular.[Ch] (getLabelList): implement new method
16618 * minibuffer.h: comment ouf setTiimer
16620 * minibuffer.C (ExecutingCB): constify res
16621 (peek_event): constify s
16622 (Set): constify ntext
16623 (Init): constify nicename
16625 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16627 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16628 (savePosition): use two params to Minibuffer::Set
16629 (restorePosition): ditto
16631 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16633 * lyx_main.C: include language.h
16635 * Makefile.am (lyx_main.o): add language.h
16637 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16643 * CutAndPaste.C: include gettext.h
16645 * lyxfont.h: remove old hack with ON and OFF.
16648 * lyxfont.h: do not include language.h...
16653 * bufferview_funcs.C:
16659 * paragraph.C: ... but do it here instead
16661 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16663 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16665 * tabular.C: small reformat
16667 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16670 (BreakParagraph): ditto
16671 (SetOnlyLayout): ditto
16674 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16677 * lastfiles.C: removed most using decl, add std:: where needed
16679 * buffer.C: ws changes
16681 * MenuBackend.C (class compare_format): put into anon namespace
16682 (expand): constify label, names, action, action2
16685 * text.C (SingleWidth): constify font
16686 (IsBoundary): constify rtl2
16687 (GetVisibleRow): constify ww
16689 * LaTeX.C (deplog): constify logfile
16691 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16693 (workAreaExpose): constify widthChange, heightChange
16695 * lyxrow.C (par): moved
16698 * lyxrow.h: as inlines here
16700 * lyxfont.h (shape): moved from lyxfont.C
16701 (emph): moved from lyxfont.C
16703 * lyxfont.C (LyXFont): use initialization list for all
16705 (shape): move to lyxfont.h as inline
16706 (emph): move to lyxfont.h as inline
16709 2001-04-04 Juergen Vigna <jug@sad.it>
16711 * vspace.C: had to include stdio.h for use of sscanf
16713 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16716 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16717 independent of xforms.
16719 2001-04-02 Juergen Vigna <jug@sad.it>
16721 * spellchecker.C: fixed namespace placing!
16723 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16725 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16726 the LyXParagraph * is 0.
16728 2001-03-29 Juergen Vigna <jug@sad.it>
16730 * vspace.C: added support for %, c%, p%, l%.
16731 (stringFromUnit): added helper function.
16732 (asLatexString): changed to give right results for the %-values.
16734 * buffer.C: convert the widthp in a width%.
16736 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16738 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16741 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16742 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16744 * lyx_cb.[Ch]: see above.
16746 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16750 * lyx.[Ch]: replaced by figure_form.[Ch].
16754 * lyxfunc.C: changed headers associated with above changes.
16756 2001-03-27 Juergen Vigna <jug@sad.it>
16758 * BufferView_pimpl.C: set the temporary cursor right!
16760 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16762 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16764 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16766 * LString.h: removed "using std::getline"!
16768 * BufferView_pimpl.C (Dispatch): changes due to changes in
16769 InsetInclude::Params.
16771 * buffer.C (tag_name): removed redundant break statements as they were
16772 producing lots of warnings with my compiler.
16774 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16776 * LString.h: add "using std::getline" when using the real <string>.
16778 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16780 * buffer.C: removed bitset usage.
16781 PAR_TAG moved to an anonymous name space.
16782 (tag_name): new funtion, also in the anonymous namespace.
16783 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16784 (makeDocBookFile): clean code. Completed transition from string arrays
16786 (SimpleDocBookOnePar): code clean.
16788 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16790 * tabular.C: add some comments.
16792 2001-03-22 Juergen Vigna <jug@sad.it>
16794 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16795 compatibility read a bit and fixed bug with minipage in different
16798 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16800 * buffer.C (pop_tag): removed.
16801 (push_tag): removed.
16802 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16803 array replaced with vector. Added support for CDATA sections.
16804 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16806 (makeDocBookFile): XML conformant declaration of CDATA section,
16807 fixed bug related to <emphasis> in the first paragraph char.
16808 (sgmlOpenTag): exclude empty tags.
16809 (sgmlCloseTag): ditto.
16811 * buffer.h (pop_tag): removed.
16812 (push_tag): removed.
16814 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16816 * language.h (Languages): added size_type and size().
16818 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16820 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16821 response on compability reading of minipages. One probliem is that
16822 the old usage of minipages was «flertydig»
16824 * several files here and in subdirs: don't use static at file
16825 scope use anon namespaces instead.
16827 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16829 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16830 LaTeX output. This is necessary for Literate document
16833 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16835 * buffer.C: insert hfill when needed.
16837 * tabular.C (l_getline): use string::erase, small whitespace change.
16839 * BufferView_pimpl.C: try the anon namespace.
16840 * WorkArea.C: ditto
16842 2001-03-16 Juergen Vigna <jug@sad.it>
16844 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16845 otherwise it won't open options-dialogs.
16847 * buffer.C: honor pextraWidth(p) on converting minipages.
16849 * tabular.C (l_getline): changed the functions to strip trailing \r.
16851 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16853 * BufferView_pimpl.C:
16854 * minibuffer..C: added "using SigC::slot" declaration.
16856 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16858 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16864 * paragraph.C: ditto
16866 * lyxtext.h: NO_PEXTRA
16868 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16870 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16871 * ParameterStruct.h: ditto
16872 * ParagraphParameters.h: ditto
16873 * lyxparagraph.h: ditto
16875 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16877 * buffer.C: add compability for minipage alignment.
16878 (latexParagraphs): remove unwanted pextra check.
16880 * several files: remove CXX_WORKING_NAMESPACES
16882 * buffer.C (pop_tag): tie is in namespace boost
16884 * BufferView.h: noncopyable is in namespace boost
16886 * lyx_main.h: ditto
16889 * lastfiles.h: ditto
16890 * bufferlist.h: ditto
16891 * ShareContainer.h: ditto
16893 * LyXAction.h: ditto
16896 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16898 * Merging changes from BRANCH_MVC back into HEAD.
16900 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16902 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16904 * BufferView_pimpl.C: change from intl.C
16908 * Makefile.am: move combox.*
16914 * intl.C: remove dialog (covered by prefs)
16916 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16918 * lyxfunc.C (Dispatch): removed redundant break statement.
16920 2001-03-14 Juergen Vigna <jug@sad.it>
16922 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16924 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16926 * buffer.C: add hack to fix compability reading of minipages.
16928 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16930 * buffer.C (getLists): Cleanup.
16932 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16934 * lyxfont.C (update): don't honor toggleall on font size.
16936 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16940 * Makefile.am: moved to frontends/xforms/
16944 * BufferView_pimpl.C: changes for moved mathpanel
16946 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16948 * gettext.h: fix gettext_init() in --disable-nls
16950 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16952 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16954 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16957 * lyx.h: strip external form
16959 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16961 * BufferView_pimpl.C: add comment, destroySplash()
16963 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16965 * BufferView_pimpl.C:
16969 * lyxfunc.C: use re-worked insetinclude
16971 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16973 * buffer.C: add using std::stringstream.
16975 * lyx_cb.C: readd using std::ios.
16977 * buffer.C: add using std::map.
16979 * BufferView_pimpl.C: add using std::vector.
16981 * ShareContainer.h: add std:: to swap.
16983 * buffer.h: add some typedefs
16984 * buffer.C (getLists): use them
16985 (getLists): renamed from getTocList.
16986 add a counter for the different float types and use it in the
16988 (getLists): use the same counter for the NEW_INSETS and the "non"
16991 * lyx_cb.h: remove unused items, includes, using etc.
16993 * ShareContainer.h: remove some commented code, add more comments
16994 and "documentation".
16996 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16998 * buffer.C (getTocList): make the list also when NEW_INSETS is
17001 * buffer.h: remove TocType
17003 * buffer.C (getTocList): change to return a map<string,
17004 vector<TocItem> >, implement for dynamic number of list.
17006 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17007 * text2.C (PasteSelection): adjust
17008 * CutAndPaste.C (pasteSelection): adjust
17010 * FloatList.C (FloatList): update from the new_insets branch.
17011 * Floating.[Ch]: ditto
17012 * LaTeXFeatures.C: ditto
17014 * lyxlex_pimpl.C: ditto
17016 * paragraph.C (Last): remove when NEW_INSETS is defined.
17018 * other file: changes because of the above.
17020 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17022 * lyxparagraph.h: rename next to next_, previous to previous_,
17023 make them private for NEW_INSETS. Rename Next() to next(),
17024 Previous() to previous().
17026 * other files: changes because of the above.
17028 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17031 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17034 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17036 * main.C (main): pass lyx_localedir to gettext_init().
17038 * gettext.h: remove locale_init and gettext_init macros
17040 * gettext.C (locale_init): new function
17041 (gettext_init): new function
17043 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17046 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17048 * Moved credits to frontends:
17049 * credits.[Ch]: removed
17050 * credits_form.[Ch]: removed
17051 * lyx_gui_misc.C: remove credits stuff
17054 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17056 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17058 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17059 unneeded destructor.
17061 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17062 a standalone pointer again.
17064 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17066 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17072 * ToolbarDefaults.C:
17081 * BufferView_pimpl.C: use new file dialog in GUII
17084 * lyx_cb.C: remove LayoutsCB to Toolbar
17086 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17088 * ShareContainer.h (get): add std:: qualifier
17090 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17092 * ShareContainer.h: define a proper ShareContainer::value_type
17093 type (and use typename to please compaq cxx)
17095 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17097 * lyxparagraph.h: move serveral local vars to
17098 ParameterStruct/ParagraphParameters., use ShareContainer in
17099 FontTable., make vars in FontTable private and add getter and
17102 * paragraph.C: changes because of the above.
17104 * lyxfont.h: remove copy constructor and copy assignment. (the
17105 default ones is ok), move number inside FontBits. move inlines to
17108 * lyxfont.C: add number to initializaton of statics, move several
17109 inlines here. constify several local vars. some whitespace
17110 cleanup. Dont hide outerscope variables.
17112 * Spacing.h: add two new constructors to match the set methods.
17114 * ShareContainer.h: new file, will perhaps be moved to support
17116 * ParameterStruct.h: new file
17118 * ParagraphParameters.h: new file
17120 * ParagraphParameters.C: new file
17122 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17123 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17125 * BufferView_pimpl.C: ParagraphParameter changes.
17126 * buffer.C: Likewise.
17127 * bufferview_funcs.C: Likewise.
17128 * text.C: Likewise.
17129 * text2.C: Likewise.
17131 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17133 * lyxfind.C (LyXReplace): do not redefine default argument in
17135 (IsStringInText): ditto
17136 (SearchForward): ditto
17137 (SearchBackward): ditto
17139 2001-03-06 Juergen Vigna <jug@sad.it>
17141 * lyxfind.C (IsStringInText): put parentes around expressions.
17143 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17145 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17147 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17149 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17151 * stl_string_fwd.h: add comment
17153 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17156 * tabular.C: remove unused DocBook methods
17162 killed DO_USE_DEFAULT_LANGUAGE
17164 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17166 * lyx_gui.C: do not include language.h.
17168 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17169 arguments in function implementation.
17171 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17173 * BufferView_pimpl.C: add <ctime>
17175 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17177 * BufferView_pimpl.C: add using std::find_if
17179 2001-02-27 José Matos <jamatos@fep.up.pt>
17181 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17184 2001-02-11 José Matos <jamatos@fep.up.pt>
17186 * buffer.C (makeDocBookFile): command styles now have a parameter as
17187 "title" by default.
17189 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17191 * layout_forms.[Ch]: removed
17192 * lyx_cb.[Ch]: out character
17193 * lyx_gui.C: out character
17194 * lyx_gui_misc.C: out character
17195 * bufferview_funcs.C: : out character,
17196 added toggleall as parameter in ToggleAndShow
17198 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17200 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17202 * text2.C (SetCurrentFont): Disable number property at boundary.
17204 2001-02-26 Juergen Vigna <jug@sad.it>
17206 * lyxfunc.C (getStatus): added a string argument override function so
17207 that this is correctly called from LyXFunc::Dispatch if it contains a
17208 do_not_use_argument which is used!
17209 (Dispatch): added check for "custom" export and call appropriate func.
17211 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17213 * lyxrc.C: Add language_command_local, language_use_babel and
17214 language_global_options.
17216 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17218 * buffer.C (makeLaTeXFile): Use language_use_babel and
17219 language_global_options.
17221 2001-02-23 Juergen Vigna <jug@sad.it>
17223 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17224 which works with LyXText and putted it inside BufferView. Here now we
17225 only call for that part the BufferView::Dispatch() function.
17227 * BufferView.C (Dispatch): added.
17229 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17230 functions which needs to use a LyXText over from LyXFunc.
17231 (MenuInsertLyXFile): added
17232 (getInsetByCode): added
17233 (moveCursorUpdate): added
17234 (static TEXT): added
17236 2001-02-22 Juergen Vigna <jug@sad.it>
17238 * BufferView_pimpl.C (update): call a status update to see if LyXText
17241 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17243 * vc-backend.C (revert): implement for CVS
17244 (getLog): implement for CVS
17246 2001-02-20 Juergen Vigna <jug@sad.it>
17248 * text2.C (ClearSelection): added BufferView param for inset_owner call
17250 * lyxfunc.C (TEXT): added this function and use it instead of
17251 directly owner->view()-text of getLyXText().
17253 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17255 * src/layout_forms.C: out preamble
17256 * src/layout_forms.h: out preamble
17257 * src/lyx_cb.C: out preamble
17258 * src/lyx_cb.h: out preamble
17259 * src/lyx_gui.C: out preamble
17260 * src/lyx_gui_misc.C: out preamble
17261 * src/lyxfunc.C: connect with guii preamble
17263 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17265 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17267 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17269 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17270 whether to run bibtex.
17272 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17274 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17276 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17278 * Makefile.am (lyx_SOURCES): removed bibforms.h
17280 * vspace.h: doxygen
17282 * text.C (GetVisibleRow): make several local vars const
17284 * tabular.C: small cleanup.
17286 * lyxserver.C (callback): use compare instead of strncmp
17288 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17289 inlines to after class or to paragraph.C
17291 * lyxfont.h: remove friend operator!=
17293 * converter.h: move friend bool operator< to non friend and after
17296 * combox.h: small cleanup
17298 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17299 to inlines after class def.
17301 * buffer.C (pop_tag): use string operations instead of strcmp
17303 * bmtable.c: doxygen, small cleanup
17305 * LaTeX.h: remove friend operator==
17307 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17319 * BufferView_pimpl.C:
17320 * BufferView.[Ch]: remove cruft
17322 2001-02-14 Juergen Vigna <jug@sad.it>
17324 * lyxfunc.C: removed #if 0 unused code
17326 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17328 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17330 * text2.C (SetSelection): added a BufferView * parameter
17332 2001-02-13 Juergen Vigna <jug@sad.it>
17334 * lyxfunc.C (Dispatch): fixed protected blank problem.
17335 * BufferView2.C (protectedBlank): added LyxText * parameter.
17337 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17338 (AppendColumn): same as above for column_info.
17340 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17341 (moveCursorUpdate): use a LyXText param for support of InsetText.
17343 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17344 (tripleClick): ditto
17346 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17348 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17350 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17352 * text2.C (SetSelection): set correct update status if inset_owner
17353 (ToggleFree): ditto
17355 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17357 * tabular.C: remove some commented code.
17359 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17361 * BufferView_pimpl.C: call hideSplash()
17363 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17366 * bibforms.h: remove
17369 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17370 add LFUN_CHILD_CREATE
17372 * counters.h: fix tiny typo
17377 * lyx.C: move splash to frontends/xforms/
17379 * lyx_gui_misc.C: move Include and Bibform to frontends
17381 * lyxvc.h: clarify comment
17383 * vspace.C: tiny housekeeping
17385 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17387 * text.C (PrepareToPrint): RTL Fix.
17389 * paragraph.C (GetUChar): New method.
17390 (String): Use GetUChar.
17392 * buffer.C (asciiParagraph): Use GetUChar.
17394 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17396 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17398 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17401 * buffer.C: rename to getLogName(), handle
17402 build log / latex log nicely
17404 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17407 * MenuBackend.h: remove support for reference menuitem type.
17409 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17411 * BufferView_pimpl.C: housekeeping
17412 * BufferView_pimpl.h:
17417 * minibuffer.h: move Timeout GUI-I
17419 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17421 * lyxrc.C (read): Update converters data-structures.
17423 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17425 * LaTeX.h (operator!=): add operator != for Aux_Info
17427 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17429 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17431 * LaTeXLog.C: deleted, useful code moved to Buffer
17434 * buffer.C: new function getLatexLogName()
17440 * lyxfunc.C: use frontends for LaTeX and VC logs
17442 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17444 * LaTeX.h: yet another std:: that Allan forgot.
17446 * Variables.C (set): renamed from isset(), because this clashes
17447 with some HP-UX macros (grr).
17449 2001-02-06 Allan Rae <rae@lyx.org>
17451 * LaTeX.h: Another bug fix. Missing std:: this time.
17453 2001-02-04 Allan Rae <rae@lyx.org>
17455 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17456 floats problem. I've left it commented out because it's not quite
17457 correct. It should also test that the current object is a table or
17458 figure inset. But I haven't gotten around to figuring out how to do
17459 that. I *think* it'll be something like: "table" == inset.type()
17461 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17464 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17466 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17467 all the citation/databases/styles in the auxilary file.
17468 (run): Rerun latex if there was a babel language error.
17470 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17472 * text.C (Backspace): Preserve the font when changing newline char
17474 (BreakParagraph): If the cursor is before a space, delete the space.
17476 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17478 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17480 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17481 new argument (code).
17482 (ChangeCitationsIfUnique): New method.
17484 * paragraph.C (GetPositionOfInset): Handle bibkey.
17486 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17488 * BufferView_pimpl.h: change type of Position::par_pos to
17489 LyXParagraph::size_type.
17491 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17493 * BufferView_pimpl.C (savePosition, restorePosition): Write
17494 messages to minibuffer.
17496 2001-01-28 José Matos <jamatos@fep.up.pt>
17498 * buffer.C (makeDocBookFile): adds support for document language.
17499 A silly restriction on the name of LatexCommand types where removed.
17500 Added support for CDATA sections, allows to chars unescaped, used
17501 among others in code, to avoid escape < and >.
17503 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17505 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17506 saved positions instrad of a stack. Furthermore, a position is
17507 stored using paragraph id/paragraph position.
17509 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17510 Remove LFUN_REF_BACK.
17512 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17514 * converter.C (dvipdfm_options): New method.
17516 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17518 * vspace.C (isValidLength): Fix for empty input string.
17520 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17522 * LyXAction.C (init): change description of LFUN_FIGURE to
17525 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17527 * LaTeX.C: add using directive
17529 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17531 * MenuBackend.C (expand): Fix the sorting of the formats.
17533 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17535 * lyx_main.C: tiny error message fix
17537 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17539 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17540 calling fl_initialize(). This fixes the problem with ',' as
17541 decimal separator in text files.
17543 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17545 * trans.C (process): Fix the keymap bug.
17547 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17549 * LaTeX.C (scanAuxFiles): New method. Provides support for
17550 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17551 (scanLogFile) Scan for "run BibTeX" messages.
17553 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17554 OT1 font encoding. Also, load the aecompl package if the ae
17557 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17559 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17561 * texrow.C (increasePos): turn two error messages into debug
17564 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17566 * LaTeX.C (scanAux): Handle the \@input macro.
17567 (runBibTeX): Use scanAux().
17569 * language.C (latex_options_): New field.
17571 * LaTeXFeatures.C (getMacros): Add language macros.
17573 * buffer.C (makeLaTeXFile): Small fix.
17575 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17577 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17579 * text2.C: add a using directive.
17581 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17586 * lyxfunc.C: kill LyXBell.
17588 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17590 * text.C (IsBoundary): Remove the error message
17592 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17594 * lyxrc.C (setDefaults): Correct initialization value for
17597 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17599 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17602 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17603 and GotoNextNote().
17605 * src/LyXAction.C: Added reference-next.
17607 * text.C (InsertChar): Use contains instead of strchr.
17609 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17611 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17613 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17614 alignment commands (when needed).
17616 * text.C (InsertChar): Add ':' to number separator chars.