1 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
5 2005-05-04 Angus Leeming <leeming@lyx.org>
7 * lyxfunc.C (getStatus): disable the spell checker dialog if
8 none of USE_[AIP]SPELL are defined.
10 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
12 * tabular.C (setWidthOfCell): remove obsolete comment
14 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
16 * paragraph.C (bibitem):
17 * buffer_funcs.C (setCounter):
18 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
20 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
22 * text3.C (getStatus): immediately return after setOnOff
24 * rowpainter.C: fix drawing of appendix start
26 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
28 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
29 SwitchBetweenClasses and remove the unused return value.
30 Handle character styles, too
32 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
34 * factory.C (createInset): handle undefined character styles
36 2005-05-02 Angus Leeming <leeming@lyx.org>
38 * buffer.C: protect the #include of utime.h with a preprocessor
41 2005-05-02 Angus Leeming <leeming@lyx.org>
43 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
44 function so that suto-saving works, albeit in a blocking manner.
46 * Makefile.am: make compilation of the client sub directory, of
47 apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
48 on conditionals set at configure time.
50 * SpellBase.[Ch]: no longer an abstract base class. Instead,
51 it can be compiled in its own right but has no-op functionality.
53 * aspell.C, pspell.C: remove preprocessor guards. The files should
54 be compiled only if the necessary functionality exists.
56 * lyxserver.C, lyxsocket.C: disable on Windows.
58 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
60 * text.C (leftMargin): Fix the parindent use bug (1764)
63 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
65 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
68 2005-04-25 Angus Leeming <leeming@lyx.org>
76 include <config.h> in .C files, not .h ones.
78 protect headers inside preprocessor guards.
80 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * FuncStatus.h (StatusCodes): document
84 2005-04-21 André Pönitz <poenitz@gmx.net>
86 * FuncStatus.h (enabled, onoff): document
88 2005-04-19 Angus Leeming <leeming@lyx.org>
90 * BufferView_pimpl.C (cursorToggle): no longer test whether
91 any child processes have been reaped before calling
92 handleCompletedProcesses().
94 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
96 * text3.C (dispatch): fix, finally fix, the language problem in
97 new lyxtexts, without disabling on-the-fly font changes (Helge's
100 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
102 * text3.C (dispatch): set cursor on double/triple click events
105 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
108 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
110 * rowpainter.C (paintFirst): simplify the code a little bit. In
111 particular, remove the test for secnumdepth.
112 * text.C (setHeightOfRow): only allocate space for chapter number
113 when updateCounters provided an actual label, instead of looking
114 at secnumdepth directly.
116 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
118 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
119 paragraphs when secnumdepth is large enough or, for environments,
120 when they are not the first in a sequence.
122 2005-04-17 Angus Leeming <leeming@lyx.org>
124 * buffer.C (makeLaTeXFile): replace code to manipulate a path
125 containing space and '~' characters with a call to latex_path().
127 2005-04-17 Angus Leeming <leeming@lyx.org>
129 * converter.C (convert): protect all args of convertDefault.sh
132 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * text3.C (dispatch): change the layout to "Caption" after inserting
137 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
139 * text3.C (dispatch): fix language problem in newly created
140 textinsets (and main text) in non-english docs
142 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
145 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
146 * text3.C (getStatus): disable LFUN_INSET_MODIFY
148 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
153 * rowpainter.C (getFont): Fix metrics bug introduced by inset
156 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
158 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
159 output of \item arguments without trailing text.
161 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * FontIterator.C (operator*): avoid a copy of the font.
165 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
167 * rowpainter.C (getFont): fix language bug from previous fix
169 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
171 * rowpainter.C (RowPainter, getFont): fix font inside inset
174 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
176 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
177 preventing inserted font, deco, delim insets jumping to start of
180 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * lyxfunc.C (dispatch): translate message before sending it to the
185 2005-03-29 Angus Leeming <leeming@lyx.org>
187 * lyx_main.C (priv_exec): call os::internal_path on each file passed
188 to LyX on the command line.
190 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
192 * vc-backend.C: use QuoteName to protect file names wherever
195 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
198 * BranchList.h: fix bugs 1844,1845: document settings don't
201 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * lyxrc.C (setDefaults, read, output, getDescription): add support
204 for tex_allows_spaces.
206 * exporter.C (Export): allows files in directory containing spaces
207 if tex_allows_spaces is true.
209 * buffer.C (makeLaTeXFile): if the document path contains spaces,
210 output it in double quotes.
212 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
214 * rowpainter.C: use default text height for drawing change tracker
217 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
219 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
221 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
224 directory is missing.
226 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
228 * text2.C: fixed the fix, extended to other case.
230 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
232 * text2.C: fix for cursor up/down stuck in math [bug 1792]
234 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
236 * text2.C (cursorUp): get rid of a crash
237 * text.C (x2pos): add an assert
239 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * lyxfunc.C (getStatus): fix warning when assertions are disabled
245 * dociterator.C: include <boost/current_function.hpp>, which is
246 needed when assertions are disabled.
248 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
250 * text2.C: fix for stuck cursor when traversing two
251 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
253 2005-02-25 Andreas Vox <avox@arcor.de>
255 * output_docbook.C (makeParagraph): suppress trailing newline
256 after a run of paragraphs
258 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
260 * paragraph.C: fix for confused change tracker when pasting
261 text that begins with a lineseparator. [bug 1827]
262 (setChange(0, Change::INSERTED);)
264 * paragraph_funcs.C: fix for lost changes on triple-paste
265 in change tracking mode [bug 1827] (par.setChange()).
267 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * text2.C (updateCounters, setCounter, expandLabel): move to
272 * buffer_funcs.C (updateCounters): turn into a free standing
273 function and add a buffer parameter. Remove dead code for tracking
275 (setCounter): change into a free-standing function which gets a
276 dociterator as argument. Use this iterator to fix captions in a
277 simple way. When no float is found above the caption, use the
278 labelstring of the caption layout as default.
280 * text.C (breakParagraph, backspace):
281 * text2.C (init, setLayout, changeDepth):
282 * text3.C (dispatch):
283 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
286 * dociterator.C (forwardPar): make it much faster by calling
287 forwardPos() only when really necessary.
289 * output_docbook.C (makeCommand): adapt to expandLabel move.
291 * cursor.C: remove unused variable
293 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
295 * paragraph_funcs.C: fix crash when pasting insets in change
296 tracking mode [bug 1277] (honour change type in moveItem).
298 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
300 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
302 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * BufferView.C (setCursor): change to use a DocIterator.
305 (gotoLabel): use BufferView::setCursor (other part of bug 781).
306 (putSelectionAt): adapt to BufferView::setCursor change.
308 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
309 moved here from LyXText and rewritten to use proper cursor
310 methods. Fixes bug 1787, 616 and 835.
312 * BufferView_pimpl.C (restorePosition): set the cursor correctly
313 when inside an inset (part of bug 781).
314 (dispatch): adapt to change of BufferView::setCursor.
315 (getStatus, dispatch): handle LFUN_GOTOERROR,
316 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
318 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
319 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
320 * text3.C (gotoNextInset, gotoInset): removed.
322 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
326 2005-02-15 Angus Leeming <leeming@lyx.org>
328 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
329 can be used meaningfully in a comparison.
331 2005-02-13 André Pönitz <poenitz@gmx.net>
333 * bufferview_funcs.C (coordOffset): improve cursor drawing
335 2005-02-13 André Pönitz <poenitz@gmx.net>
337 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
338 * Cursor.C (dispatch): use fixIfBroken
339 * lyxfunc.C (getStatus): use fixIfBroken
341 2005-02-15 Angus Leeming <leeming@lyx.org>
343 * lyx_main.C (error_handler):
345 * lyxrc.C (setDefaults):
347 #include "environment.h".
349 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
351 2005-02-15 Angus Leeming <leeming@lyx.org>
353 * lyxserver.C (startPipe): squash MSVC warning "local variable
354 'fd' used without having been initialized".
356 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
358 * BufferView_pimpl.C: revert accidental commit.
360 2005-02-14 André Pönitz <poenitz@gmx.net>
362 * dociterator.[Ch]: new member forwardPosNoDescent(),
363 which doesn't enter nested insets.
364 * text2.C (setFont): use forwardPosNoDescent() instead
365 of ForwardPos() (fixes crash on font change).
367 2005-02-13 Angus Leeming <leeming@lyx.org>
369 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
370 only if lyxrc.path_prefix is not empty.
372 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * bufferparams.C (readGraphicsDriver): prevent crash
376 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * text2.C (setCounter): check for inInset() == 0
380 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
383 but use update() to get correct screen display; use convert
384 instead of istringstream.
385 (getStatus): handle LFUN_GOTO_PARAGRAPH
387 * lyxfunc.C (dispatch, getStatus): do not handle
388 LFUN_GOTO_PARAGRAPH here.
390 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
392 * text3.C (dispatch): size() -> depth()
394 * text2.C: remove some debug output
396 * paragraph.C: ws changes only
398 * lyxfunc.C (getStatus): size() -> depth()
400 * dociterator.h (clear, push_back, pop_back, internalData,
401 operator[], resize, empty): new functions
402 Make StableDocIterator and operator== be friends. Don't inherit
403 from std::vector use a privat class variable slices_ instead.
406 * dociterator.C: update because of not inheriting from std::vector
407 anymore. Call explictly to slices_ instead. Use depth() instead of
408 size() and top() instead of back()
410 * cursor.C: chagne size() -> depth and back() -> top(). Also
411 remove some direct operator[](i) calls in favour of foo[i]
412 (getFont): remove some dead code
414 * bufferview_funcs.C (coordOffset): size() -> depth()
416 * buffer.C: ws changes only
418 * CutAndPaste.C (eraseSelection): back() -> top()
420 * BufferView_pimpl.C (selectionRequested): back() -> top()
422 * BufferView.C (setCursor): size() -> depth()
424 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
426 * text3.C (cursorPrevious): return true if depm changed something
428 (dispatch): rename sl to oldTopSlice, remove moving use the new
429 NoUpdate func attrib instead. Make sure that needsUpdate is set
430 for function that have NoUpdate, but where depm might have changed
433 * text2.C (cursorLeft): make us return true if depm changed
436 (cursorUpParagraph): ditto
437 (curosrDownParagraph): ditto
438 (cursorUp, cursorDown): ditto, make sure to read comments in code
439 (deleteEmptyParagraphMechanism): remove an assert, also return
440 true if just a single char was deleted.
442 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
443 cursor that we modify, to avoid modifying an active cursor before
444 we call setCursor. This allows depm to run. Also return true if
445 depm deleted something.
447 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
448 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
449 cursorDownParagraph, cursorPrevious and cursorNext, return true if
450 something was changed in the buffer because of them (ie. depm run)
452 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
453 debug messages. Make update by default be false. Make sure that
454 the result of update is retained throught several calls down to
457 * LyXAction.h: add a new func_attrib: NoUpdate
459 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
460 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
461 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
463 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
465 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
468 bv_->owner(), bv_->buffer() by direct references to the private
470 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
471 (getStatus): isSavedPosition() is in BufferView::Pimpl.
472 (fitCursor): center() is in BufferView::Pimpl.
473 (getStatus, trackChanges, dispatch): no need for a temporary buf
475 (fitCursor, workAreaDispatch): use workarea().workheight()
477 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
479 * CutAndPaste.C (pasteSelectionHelper): fix a crash
481 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * buffer.C: format up to 241.
484 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
485 break if pasting into ERT
486 * lyxfunc.C (getStatus): suppress mathpanel and
487 LFUN_DIALOG_SHOW_NEW_INSET in ERT
489 2005-02-01 Angus Leeming <leeming@lyx.org>
491 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
493 2005-02-01 Angus Leeming <leeming@lyx.org>
495 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
496 calling fs::is_directory().
498 2005-01-31 Angus Leeming <leeming@lyx.org>
500 * lyx_main.C (priv_exec): specify explicitly the relative location
501 of the top level build directory when run in-place.
503 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
506 LyXText containing the cursor, not the top-level one.
508 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
510 (insertStringAsLines): rename par to pit; use temporary variable
511 par to hold a Paragraph; do not store par.layout() in a variable,
512 since the pointer may die when breaking paragraphs; pass pars to
513 breakParagraph() instead of Buffer::paragraphs().
515 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
517 * lyxlex_pimpl.h: #include <fstream>.
519 * BufferView.[Ch] (getLyXText): add a const version.
521 * BufferView_pimpl.C: add debug aids.
526 * paragraph_funcs.h: add commentary explaining what the class does.
529 * coordcache.[Ch]: add lots of commentary.
530 (startUpdating, doneUpdating): debug aids.
531 (arrays, insets, parPos, getParPos): accessors to private data.
533 * cursor_slice.[Ch] (text): add a const version.
534 * dociterator.[Ch] (text, innerText): add const versions.
536 * lyxtext.h (breakParagraph): change the keep_layout arg to a
539 * paragraph.C (getRow, pos2ros): add asserts.
541 * paragraph.h: add commentary. Lots of.
543 * paragraph.[Ch] (metrucs, draw): removed.
546 * rowpainter.[Ch]: const-correct changes.
548 * text.C: various obvious clean-ups. Removal of ancient cruft.
551 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
553 * vc-backend.C (find_file): rewrite to use boost.filesystem
556 * main.C (main): set default name check for boost.filesystem to
559 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
562 (actOnUpdatedPrefs): ditto
564 * lyx_main.C (init): rewrite to use boost.filesystem
565 (queryUserLyXDir): ditto
567 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
568 (getContentsOfAsciiFile): ditto
570 * lastfiles.C (readFile): rewrite to use boost.filesystem
572 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
574 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
577 * buffer.C (Buffer): adjust for destroydir
578 (getLogName): rewrite to use boost.filesystem
580 (save): use fs::copy_file (from fs_extras)
582 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
584 * LaTeX.C (run): rewrite to use boost.filesystem
585 (scanAuxFiles): ditto
586 (handleFoundFile): ditto
588 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
590 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
592 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
594 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * lyxlayout.[Ch]: change some vars from float to double
598 * buffer.C (readFile): make a local var const
600 * Several files: use convert<> instead of atoi,strToXXX and friends
602 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
604 * LaTeXFeatures.[Ch]: Add a static list packages_ that
605 holds the contents of packages.lst. New functions getAvailable
606 and isAvailable to parse and check that list, resp.
610 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
612 * bufferparams.[Ch]: new param output_changes.
614 * Buffer.C: increase file format to 240.
615 Use output_changes and isVailable.
619 * paragraph_pimpl.C: Use output_changes and isVailable.
621 2005-01-23 Angus Leeming <leeming@lyx.org>
623 * output_latex.C: #include "insetbibitem.h", rather than
624 forward declare function bibitemWidest.
626 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
628 * lyx_main.C (init): make it compile on the Mac.
630 2005-01-20 Angus Leeming <leeming@lyx.org>
632 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
633 (setLyXMisc): (char string literal) != (char string literal) is
634 performing a comparison on the addresses. Convert one operand
635 explicitly to string to guarantee expected behaviour.
638 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
641 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
643 * output_plaintext.C: remove unneeded #include gzstream.h.
645 2005-01-20 Angus Leeming <leeming@lyx.org>
647 * SpellBase.h: rename some of the elements of the Result enum.
654 * pspell.C (check): ditto
656 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
658 * buffer.C: add #include <fstream>.
660 * lyx_main.C (init): Compile fix.
662 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
664 2005-01-20 Angus Leeming <leeming@lyx.org>
666 * mover.h: change commentary to reflect the changed meaning of
669 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * output_linuxdoc.C (linuxdocParagraphs): silence warning
673 * lyxfind.C (MatchString::operator()): remove bogus semicolon
675 2005-01-20 Angus Leeming <leeming@lyx.org>
677 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
678 printing diagnostic data by not dereferecing an iterator past the
681 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
683 * buffer.C (readHeader): use "&&" rather than "and".
685 * lyxserver.h (inPipeName, outPipeName): make these const.
687 2005-01-19 Angus Leeming <leeming@lyx.org>
689 * lyx_main.C (error_handler, init): protect SIGHUP with
690 #ifdef SIGHUP guards.
692 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
694 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
696 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * text.C (setHeightOfRow): add a margin at the top and bottom of
699 the document (bug 1761)
701 2005-01-17 Angus Leeming <leeming@lyx.org>
703 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
704 with "python ". Workaround for a brain-dead Windows.
706 2005-01-16 Angus Leeming <leeming@lyx.org>
708 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
709 for MacOSX and Windows to use prependEnvPath.
710 Strip out the hard-coded block to add elements to the PATH for
711 MacOSX and replace it with a call to prependEnvPath using the
712 contents of LyXRC::path_prefix.
713 (queryUserLyXDir): strip out the code to run reconfigure, instead
714 returning a boolean indicating the necessity to do so.
715 (reconfigureUserLyXDir): contains the code to reconfigure the
716 user support directory. Is now called after the various LyXRC data
717 files have been read.
719 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
721 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
723 * converter.[Ch] (convert): take a new parameter try_default. Use
724 a default converter (imagemagick) if try_default is true.
726 2005-01-13 Angus Leeming <leeming@lyx.org>
728 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
730 (write): output LyXRC::cygwin_path_fix as necessary.
732 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
735 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
737 2005-01-12 Angus Leeming <leeming@lyx.org>
739 * lyx_main.C (init): set the PATH variable to include the
740 directory containing the LyX binary when running on Mac or Windows.
742 2005-01-12 Angus Leeming <leeming@lyx.org>
744 * lyx_main.C (init): remove cruft that purports to set the locale
745 dir. It doesn't and is not needed anyway.
747 2005-01-10 Angus Leeming <leeming@lyx.org>
749 * Makefile.am: remove the lyx_main.C special casing.
751 * BufferView_pimpl.C:
757 * messages.C: use support/package.h to provide the paths to the
758 various directories used by LyX.
760 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
762 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
763 layout if pasting into an empty paragraph)
765 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
767 * tex-accent.C: add <string>
769 2005-01-06 José Matos <jamatos@lyx.org>
771 * ParagraphParameters.C (write): put every parameter in its own line.
772 * paragraph.C (write): reduce number of consecutive empty lines exported.
773 * buffer.C (LYX_FORMAT): increase file format to 239.
775 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
777 * everywhere: change support/tostr.h -> support/convert.h
779 * tabular.C: make all write_attributes templates, tostr -> convert
781 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
782 (emptyTag): and -> &&, and fix type for ret from getChar
783 (getFirstWord): fix type for ret from getChar
784 (onlyText): and -> &&
785 (simpleDocBookOnePar): and not -> && !, fix type for ret from
788 * toc.C (goTo, action):
789 * text3.C (dispatch):
790 * text.C (currentState):
791 * tex-accent.C (DoAccent):
794 * lyxfunc.C (menuNew):
795 * lyxfinc.C (replace):
796 * counters.C (laberItem):
797 * bufferview_funcs.C (font2string):
798 * bufferparams.C (writeFile):
799 * buffer.C (readFile):
801 * MenuBackend.C: tostr -> convert
803 * LaTeX.C (runMessage): fix format
804 (scanAuxFiles): tostr -> convert
806 * BufferView_pimpl.C (savePosition): fix format
807 (restorePosition): ditto
810 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
812 * Spacing.[Ch]: New method getValueAsString().
816 * ParagraphParameters.C:
819 * text3.C: store/read spacing value as string.
821 * rowpainter.C: change float value (spacing_val) to double.
823 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
824 broken custom document spacing).
826 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
828 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
829 namespace, also more use of temp references and const
831 * cursor.[Ch] (getStatus): move to lyxfunc.C
833 * bufferparams.C: reformat slightly
835 * bufferview_funcs.C (font2string): constify arg
841 * buffer_funcs.C: (many funcs): constify arg on function
842 definitions, also make more local vars const, also add ASSERTS on
845 * buffer.C (LYX_FORMAT): put const in correct place
846 (many funcs): constify arg on function definitions, also make
847 more local vars const
849 * aspell_local.h: remove "struct" from typdef setup
851 * aspell.C (check): make word_ok const
852 (nextMiss): simplify slightly
855 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
857 * lyxrc.[Ch]: store all float values as strings.
858 use int (not float) for lyxrc.dpi.
860 2005-01-04 Angus Leeming <leeming@lyx.org>
862 * lyx_cb.C (Reconfigure):
863 * lyx_main.C (queryUserLyXDir):
864 to run the <system_lyxdir>/configure correctly on Windows, prefix
865 the path to the script with "sh " when generating the string that
866 is passed to system().
868 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
870 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
872 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
874 * lyxlength.C (asLatexString): get rid of setprecision
876 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * text2.C (setLayout): remove unused variable endpit.
879 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
881 * paragraph.C (onlyText): remove unused variable style.
883 * cursor.C (bruteFind): remove unused variables beg and end.
885 * Makefile.am (dist_noinset_DATA): not needed anymore
887 * cheaders/*: remove.
889 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
891 * text3.C: fix LFUN_MATH_MODE.
893 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * buffer_funcs.C (countWords): new function. Counts words between
898 * BufferView_pimpl.C (getStatus, dispatch): handle
901 * LyXAction.C (init):
902 * lfuns.h: add LFUN_WORDS_COUNT.
904 2004-12-19 Angus Leeming <leeming@lyx.org>
906 * buffer.C (save): s/slashify_path/internal_path/.
908 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
910 * lyxfind.C (findChange): do not search for end of pars, because
911 the change tracker cannot handle this (fixes bug 1719).
913 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
915 * paragraph.[Ch] (autoBreakRows): remove
917 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
919 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
920 avoid using the paragraph one
922 * text2.C (LyXText, insertStringAsLines): adjust
924 2004-12-16 Angus Leeming <leeming@lyx.org>
928 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
930 2004-12-14 Angus Leeming <leeming@lyx.org>
932 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
934 * bufferlist.C (emergencyWrite):
935 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
938 2004-12-14 Angus Leeming <leeming@lyx.org>
940 * main.C: (main): no longer pass pointers to os::init.
942 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
944 * undo.C (textUndoOrRedo): simplify logic, fix a crash
945 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
947 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
950 * text3.C: remove selection_possible global flag
952 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
954 * text2.C (getSelectionSpan): remove
955 (changeDepth, changeDepthAllowed): adjust
957 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
959 * Makefile.am (BOOST_LIBS): use boost variables
961 2004-12-03 José Matos <jamatos@lyx.org>
963 * buffer.C: format up to 238.
965 2004-12-03 José Matos <jamatos@lyx.org>
967 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
969 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * cursor.C (goUpDown): remove call to idxUpDown2
973 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
975 * tabular.[Ch]: use size_t-like types for cell, row and column
978 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
980 * lyxfunc.C (getStatus): do not lose previous information when
981 calling BufferView::getStatus; do not set a default "Command
982 disabled" message at the beginning, but just before returning.
984 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
986 * cursor.h (getStatus): add better comment from src/cursor.C
988 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * text3.C (getStatus): return false when the lfun is not handled
992 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * broken_headers.h: remove
996 * Makefile.am (lyx_SOURCES): remove broken_headers.h
998 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1000 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1001 offset_ref accessors
1003 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1004 top_y_, merge fitcursor with update
1005 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1007 (metrics): introduce
1008 (workAreaDispatch): adapt to new coord scheme
1009 (redoCurrentBuffer): remove
1011 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1013 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1016 * coordcache.[Ch]: add paragraph cache and helpers
1018 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1021 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1022 (targetX, setTargetX): introduce
1024 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1025 baseline -> ascent, as the rest of lyx
1027 * lyxtext.h: remove redoParagraphs, updateParPositions,
1028 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1029 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1030 have ascent/descent (ascent is ascent of first par)
1032 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1035 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1037 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1039 * pariterator.C: fix infinite loop introduced in par->pit renaming
1041 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1042 in insets and LyXText, draw two off-screen paragraphs using
1043 NullPainter, and adapt to new coord scheme
1047 * text3.C: adapt lfun handlers to the new coord scheme, which
1048 means: there's only guaranteed coord information for onscreen pars
1049 plus one above and one below. This implies that one can do search
1050 from y coordinates in the range [-1,workHeight]
1052 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1054 * rename a lot of InsetOld to InsetBase
1056 2004-11-25 Angus Leeming <leeming@lyx.org>
1058 * BufferView_pimpl.C:
1060 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1062 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1065 call BufferView::getStatus if LCursor::getStatus did nothing
1066 (setStatusMessage, getStatusMessage): removed.
1068 * FuncStatus.C (message): new methods. Used to provide an error
1069 message indicating why a command is disabled.
1070 (clear, |=, FuncStatus): update for message.
1072 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1074 * lyxfunc.C (dispatch): always call sendDispatchMessage
1076 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1079 * BufferView_pimpl.C:
1084 * cursor_slice.[Ch]:
1087 * paragraph_funcs.C:
1093 * undo.C: par->pit renaming
1095 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1097 * tabular.C (cellstruct): use initialization, store a shared_ptr
1098 to insettext instead of the insettext directly, adjust to fit.
1099 (operator=): new function
1100 (swap): new function
1101 (rowstruct): use initialization
1102 (columnstruct): use initialization
1103 (ltType): use initialization
1106 * lyxlength.h (swap): new function
1108 * LColor.[Ch] (operator=): use the common semantics
1110 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1112 * lyxfind.C (findNextChange): update the bufferview after setting
1115 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1117 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1118 number of InsetOptArgs has already been inserted.
1120 * output_latex.C (latexOptArgInsets): new method. This outputs all
1121 the optarg insets, up to the limit defined in the layout file.
1122 (optArgInset): removed
1123 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1125 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1127 * paragraph.C (isLetter): remove special spellchecker-related
1128 code; return true also for digits
1129 (isWord, isKomma): remove
1131 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1132 * lyxfind.C (MatchString()): use isLetter instead of isWord
1134 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1136 * pariterator.h (operatir=): comment out un-implemented member
1139 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1142 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1144 * lyxfont.h: include LColor.h to satisfy concept checks.
1146 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1148 * pariterator.h: add typdefs for value_type, difference_type,
1149 pointer and reference to satisfy concept checks. Also add default
1150 constructor for same reason.
1152 * pariterator.C (operator++): add post-increment operator to
1153 satisfy concept checks.
1155 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1158 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1160 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1161 checks. Also rename base_type to BaseType to follow naming
1164 * FloatList.h: include Floating.h to satisfy concept checks.
1166 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1168 * lyxfunc.C (getStatus): when the origin of the request is menu or
1169 toolbar, and the LyXView does not have focus, do as if there was
1170 no buffer (bug 1720)
1172 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1173 FuncRequest to individual entries of LFUN_SEQUENCE
1175 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * output_latex.C (TeXOnePar): override runparams.moving_arg
1178 according to the needprotect value of the current paragraph (bug
1181 * paragraph.C (simpleTeXOnePar): no need to override
1182 runparams.moving_args here
1184 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1186 * vspace.C: fix off-by-one-error, related to fix #1682
1188 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1190 * lengthcommon.C: a more general fix for bug 1682
1192 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1194 * text.C (backspace): fix crash
1196 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1198 * format.[Ch] (getFormatFromFile): new method
1199 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1201 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1203 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1205 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1207 * lyxfunc.C (dispatch): remove the verbose argument
1208 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1211 * kbmap.C (defkey): set the origin of func to KEYBOARD
1213 * MenuBackend.C (MenuItem):
1214 * ToolbarBackend.C (add): set the origin of func to UI
1216 * funcrequest.[Ch]: add origin member, which indicates which part
1217 of LyX requests an action
1219 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1221 * converter.C (move): don't lie in the error message
1222 * converter.h (isReachable, move): document
1224 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1226 * buffer.C: remove unused using lyx::support::atoi
1227 * paragraph_funcs.C: ditto
1229 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1231 * bufferlist.C (exists): use bind and equal_to instead of
1234 * lyxtextclasslist.C (NumberOfClass): ditto
1236 * cursor.C (insert): use for_each instead of explicit for loop
1238 * bufferlist.C (getFileNames): use std::transform and
1239 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1241 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1244 * buffer.C (changeLanguage): use for_each instead of explicit for
1246 (hasParWithID): implement using getParFromID
1248 * LaTeXFeatures.C: ws change only
1250 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1253 * BufferView_pimpl.C (trackChanges): use for_each instead of
1256 2004-11-04 André Pönitz <poenitz@gmx.net>
1259 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1261 * dociterator.C (asDocIterator): use hard assert again.
1263 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1265 * lyxlength.C (asLatexString): rewrite so that it does not use
1268 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 * text3.C (specialChar, dispatch): make sure cursor moves to the
1271 right after inserting an inset
1273 2004-11-02 José Matos <jamatos@lyx.org>
1275 * output_docbook.C (docbook):
1276 * paragraph.C (getID):
1277 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1278 garantee that the output is always legal.
1280 * tabular.C (docbook):
1281 * outputprams.[Ch]: remove mixed contents.
1283 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1285 * text2.C (setCounter): prevent endless loop
1287 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1289 * exporter.C (copyFile): use the mover instead of support::copy()
1290 * exporter.C (Export): pass format and latex name to copyFile()
1291 * exporter.h (addExternalFile): document
1292 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1294 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1296 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1298 2004-10-30 José Matos <jamatos@lyx.org>
1300 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1301 text and no inset or font change. This allows to use CDATA
1302 sections just for the whole paragraph.
1304 2004-10-30 José Matos <jamatos@lyx.org>
1306 * paragraph.C (getFirstWord): remove unused variable.
1308 2004-10-30 José Matos <jamatos@lyx.org>
1310 * paragraph.C (getFirstWord): the content should always be escaped
1312 (simpleDocBookOnePar):
1313 * output_docbook.C (makeEnvironment): replace reference to CDATA
1316 2004-10-30 José Matos <jamatos@lyx.org>
1318 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1320 2004-10-30 José Matos <jamatos@lyx.org>
1322 * output_docbook.C (makeParagraphs):
1323 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1324 standard paragraph has only a given type of content drop the wrapper.
1326 2004-10-29 José Matos <jamatos@lyx.org>
1328 * output_docbook.C (makeEnvironment):
1330 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1332 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1334 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1335 (cleanID): sanitize any id.
1337 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1339 * buffer.C, lyxlex_pimpl.C:
1340 * lyxlex_pimpl.C (setFile):
1341 s/getExtFromContents/getFormatFromContents/
1343 2004-10-28 José Matos <jamatos@lyx.org>
1345 * output_docbook.C (makeEnvironment): move id to broadest possible
1348 * sgml.C (openTag): apply substitution of <> for all attributes.
1350 2004-10-28 José Matos <jamatos@lyx.org>
1352 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1353 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1354 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1356 * sgml.[Ch]: new version for open and closeTag for paragraph and
1357 for strings. Now they handle the ids of paragraphs.
1359 2004-10-26 Angus Leeming <leeming@lyx.org>
1361 * Makefile.am: add mover.[Ch].
1363 * converter.C (convert, move): use the new Movers to move external
1364 files to the temp directory.
1366 * lyx_main.C (init): ensure that the global system_movers data
1369 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1372 * mover.[Ch]: new files, defining a Mover as a utility to move an
1373 external file between directories and, if necessary, manipulate this
1374 file using a helper script.
1376 2004-10-25 José Matos <jamatos@lyx.org>
1378 * output_docbook.C (makeCommand): merge two if's that tested the
1381 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1383 * sgml.C (escapeString): fix warning in a better way
1385 2004-10-25 José Matos <jamatos@lyx.org>
1387 * sgml.C (escapeString): import the require boosts header file for
1388 tie, and avoid a signed unsigned comparison.
1390 2004-10-25 José Matos <jamatos@lyx.org>
1392 * sgml.h: add #include <string>
1394 2004-10-25 José Matos <jamatos@lyx.org>
1396 * sgml.[Ch] (escapeString): new function to escape all the string.
1398 2004-10-24 José Matos <jamatos@lyx.org>
1400 * paragraph.[Ch] (getFirstWord): new function to get the first
1401 word. Useful for description.
1402 (simpleDocBookOnePar): remove depth argument, add another that
1403 says where to start the paragraph.
1405 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1406 use the new functions to fix cleanly the support for descriptions.
1408 2004-10-24 José Matos <jamatos@lyx.org>
1410 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1411 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1412 * output_linuxdoc.C (linuxdocParagraphs):
1413 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1414 add buffer as argument.
1416 2004-10-24 José Matos <jamatos@lyx.org>
1418 * output_docbook.C (makeEnvironment, searchEnvironment): place
1419 CDATA inside paragraphs and fix scope for listitems.
1421 2004-10-24 José Matos <jamatos@lyx.org>
1423 * output_docbook.C: remove using statement for stack.
1425 2004-10-23 José Matos <jamatos@lyx.org>
1427 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1428 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1429 docbook. The new scheme is recursive and makes use of iterators, the
1430 same as latex export works.
1431 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1432 directly with the paragraph contents. This code was moved up to
1433 output_docbook.C (docbookParagraphs).
1434 * sgml.C (openTag, closeTag): removed unneeded newlines.
1435 (closeEnvTags) removed.
1437 2004-10-23 André Pönitz <poenitz@gmx.net>
1439 * undo.C (textUndoOrRedo):
1440 * dociterator.C (asDocIterator): work around crash
1442 * cursor.C (getStatus): replace ASSERT by more verbose error message
1443 and manual correction of the problem. Should increase stability
1444 while providing more sensible information.
1446 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1448 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1450 * bufferlist.C (previous, next): new methods
1453 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1455 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1457 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1458 entities to preamble.
1460 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1462 * messages.C (Pimpl): strip off translation context information
1464 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1467 the cursor is correct (bug 1694)
1469 2004-10-13 José Matos <jamatos@lyx.org>
1471 * output_docbook.C (docbookParagraphs): fix closing tags in the
1472 end of the document.
1474 2004-10-09 José Matos <jamatos@lyx.org>
1476 * buffer.C: format up to 237.
1477 * bufferparams.C (write): use tostr to convert booleans to strings.
1479 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1481 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1483 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1485 * LaTeX.C: implement use of babel language in xindy.
1487 2004-10-05 José Matos <jamatos@lyx.org>
1489 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1490 Add new translators to help reading and writing the lyx file.
1492 2004-10-05 José Matos <jamatos@lyx.org>
1494 * ParagraphParameters.C (read):
1495 * text.C (readParToken): replace nexToken by more appropriate lex
1498 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1500 * LaTeX.C (runMakeIndex):
1501 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1502 (usually 'makeindex') configurable.
1504 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1505 with a variable rather than with a number.
1507 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * output_latex.C (TeXOnePar): make sure font setting is the first
1510 thing that gets output (and the last at the end). Should fix bug
1513 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1515 * pch.h: use proper signal include
1517 * LaTeX.h: Use preferred calling of Boost.Signal
1520 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1522 * pch.h: dont include <boost/function/function0.hpp>
1524 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1526 * paragraph_pimpl.h: remove usage of ShareContainer
1528 * paragraph_pimpl.C: remove initialization of ShareContainer.
1530 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1534 * BufferView.C (putSelectionAt): change the semantics when
1535 backwards == true: now, this just swaps cursor and anchor wrt the
1538 * BufferView.h (putSelectionAt): add some documentation
1540 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1541 make sure backwardChar is done at least once (to avoid getting
1543 (findNextChange): use putSelectionAt in the forward direction
1544 (operator()): use Paragraph::isWord
1546 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1548 * Spacing.C (set): c_str fix
1550 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * lyx_cb.C (Reconfigure): quote the name of configure script in
1553 case it contains spaces
1555 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1559 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1560 (BOOST_LIBS): use top_buildir when looking for the file
1562 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1564 * pch.h: do not use include boost/format.hpp, multiple symbols
1565 will result (gcc bug)
1568 2004-08-23 José Matos <jamatos@lyx.org>
1570 * bufferparams.C (readToken): fix reading of the author field.
1572 2004-08-20 José Matos <jamatos@lyx.org>
1574 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1576 2004-08-20 José Matos <jamatos@lyx.org>
1578 * lyxlex.[Ch] (findToken): remove function.
1580 * ParagraphParameters.C (findToken):
1581 * bufferparams.C (findToken): replace call for previous function
1582 with local copy. This local function has one more argument, the
1583 read string argument.
1585 2004-08-16 José Matos <jamatos@lyx.org>
1587 * ParagraphParameters.C (write):
1588 * Spacing.C (writeFile):
1589 * bufferparams.C (writeLaTeX):
1590 * lyx_cb.C (Reconfigure):
1591 * paragraph.C (write):
1592 * tabular.C (write): remove unnecessary space at end of line.
1595 2004-08-16 José Matos <jamatos@lyx.org>
1597 * text.C (readParagraph): remove debug message.
1599 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1604 * output_plaintext.C (asciiParagraph): set depth correctly
1606 * outputparams.h: add member depth
1608 * paragraph_funcs.C (ownerPar): remove.
1610 * text2.C (setCounter): remove first_pit; comment out some
1611 non-working code that uses ownerPar
1613 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1616 2004-08-16 José Matos <jamatos@lyx.org>
1618 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1619 For the same level of importance use the same chanel to report problems.
1620 (read): add code to deal with \begin_body and \end_body.
1623 2004-08-15 José Matos <jamatos@lyx.org>
1625 * lyxlex.C (getString): fix comment, buffer::readBody is now
1626 buffer:readDocument.
1628 * tex-strings.C (string_papersize): Default -> default,
1629 Custom -> custom, for consistency with other options.
1631 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1635 * Makefile.am: support pch
1637 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1639 * text.C (readParToken): remove the static LyXFont variable and
1640 pass it as a parameter instead. This fixes a nasty bug where an
1641 inset will be inserted with a bad font in some situations
1642 (readParagraph): adapt
1644 * text2.C (setCounter): reduce number of calls to pars_[pit]
1646 * text.C (singleWidth): add an assert, fix a test
1648 * rowpainter.C (paintText): reduce number of calls to singleWidth
1650 * paragraph.C (isHfill):
1651 (isNewline): ws only
1653 2004-08-14 André Pönitz <poenitz@gmx.net>
1658 * lyxtext.h (several functions): use a Paragraph & argument
1661 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1663 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1665 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1667 * text.C (singleWidth): remove useless test
1669 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1671 * tabular.h: remove bogus comments
1673 * tabular.C (getDescentOfRow):
1674 (isPartOfMultiColumn): add assertions
1676 * lyxlength.C (inPixels): remove #warning
1678 2004-08-14 André Pönitz <poenitz@gmx.net>
1680 * paragraph.h: inline getChar()
1682 * BufferView.h: remove unused declarations
1684 2004-08-14 José Matos <jamatos@lyx.org>
1686 * Buffer.[Ch] (readDocument): new name for old readBody.
1687 * Buffer.C: new file format, new keywords: \begin_document,
1688 \begin_header, \begin_body, \end_body.
1690 * bufferparams.C (readToken): replace all calls to lex.nextToken
1691 by lex.next(). Do the same to eatLine except where really needed.
1693 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1694 line when writing to the lyx file.
1696 * output_plaintext.C (asciiParagraph): fix Bibliography style
1699 * text.C (read): fix end of file handling.
1701 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1703 * MenuBackend.C (Menu::operator[]): new method to access
1704 individual menu items
1705 (Menu::hasFunc): new method. search for an item that corresponds
1707 (MenuBackend::specialMenu): new method
1708 (MenuBackend::expand): if a special menu has been set, skip
1709 entries whose func() appears in this menu
1711 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1713 * text3.C: use Debug::DEBUG a bit more
1715 * text.C (leftMargin): try to simplify a tiny bit change var x to
1716 l_margin. Dont output the wide margins always.
1717 (rightMargin): no margin in inner texts
1719 * rowpainter.h (nestMargin): new func
1720 (changebarMargin): new func
1721 (rightMargin): new func
1723 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1727 * factory.C (createInset): modify setDrawFrame
1729 * cursor.C: use Debug::DEBUG a bit more
1731 2004-08-14 André Pönitz <poenitz@gmx.net>
1734 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1735 cache for all insets in (at least partially) visible (top-level)
1738 * BufferView_pimpl.C: reset external coord cache before every update.
1739 This means the coord cache only contains valid entries.
1741 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1744 * BufferView_pimpl.C (getInsetByCode): move function out of class
1745 and change in to a template in anon namespace. Also fix to do what
1748 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1751 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1753 (breakParagraph): rename par to par_offset and use a local
1754 reference. Add code to keep the language over a rebreak.
1755 (breakParagraphConservative): rename par to par_offset, use a
1757 (mergeParagraph): ditto
1759 (isFirstInSequence): ditto
1760 (outerFont): rename pit to par_offset
1762 * paragraph.C: ws change
1763 * paragraph.h: ditto
1767 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1769 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1772 * paragraph.C (simpleTeXOnePar): when we have a \item with
1773 optional argument, enclose the argument with curly brackets (in
1774 case it contains a closing square bracket)
1778 * text3.C (checkInsetHit): constify
1780 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1782 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1783 documents (bug 1629)
1785 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1787 Fix toggling of collapsable insets with the mouse (bug 1558)
1789 * lyxfunc.C (dispatch): adapt to LCursor changes
1791 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1792 make sure that dispatch is not invoked twice
1794 * cursor.C (needsUpdate): new method
1795 (dispatch): return void
1796 (result): new method, to access the DispatchResult of the cursor.
1798 2004-08-13 José Matos <jamatos@lyx.org>
1800 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1802 2004-08-13 André Pönitz <poenitz@gmx.net>
1804 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1806 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1809 2004-08-12 André Pönitz <poenitz@gmx.net>
1811 * text3.C: take out the 'cursor right' form insertInset and only
1812 do it in those places when it is really needed. Fixes crash on
1815 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1817 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1819 * BufferView_pimpl.C (setBuffer): initialize the current font of
1820 the underlying LyXText
1822 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1824 * kbsequence.C (print): use UI native formatting for menu
1827 * text.C (insertChar): call Paragraph::insertChar with a font
1830 * paragraph.C (insertInset, insertChar): the version that takes a
1831 LyXFont argument is now a wrapper around the other one (the
1832 opposite used to be true).
1834 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1835 argument. Font setting is done in Paragraph now.
1837 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * outputparams.h: add new members intitle and lang.
1841 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1842 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1844 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1846 * text3.C (dispatch): remove special handling of button 4 and 5,
1847 it is now taken care of in the frontend code.
1849 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1851 * Spacing.h: add <string> (STLPort compile fix)
1853 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1855 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1857 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1859 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1862 * converter.C (showMessage): inherit from unary_function, make
1865 * buffer.C (writeFile): initialize retval
1867 * InsetList.h: rename private variable list to list_
1868 * InsetList.[Ch]: adjust accordingly.
1870 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1872 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1873 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1874 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1875 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1876 * ParagraphParameters.C, LaTeXFeatures.C: replace
1877 "support/std_sstream.h" with <sstream>
1879 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1881 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1882 * lyxsocket.C (LyXServerSocket): ditto
1883 (serverCallback): ditto
1885 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1887 * LaTeXFeatures.C: check release date when loading jurabib.
1889 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1891 * lyxserver.C (startPipe): call register_socket_callback
1892 (endPipe): call unregister_socket_callback
1894 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1896 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1897 (LyXServerSocket): register the callback
1898 (LyXServerSocket): unregister the callback
1899 (fd): delete function
1900 (serverCallback): improve error checking and setup the callbacks.
1901 (dataCallback): change arg to fd.
1902 (writeln): new func (copied fro the client socket) used for server
1904 (LyXDataSocket): simplify
1905 (~LyXDataSocket): close ann unregiser callback
1906 (server): delete function
1907 (fd): delete function
1908 (readln): small changes, improve some std::string usage
1909 (writeln): constify a bit
1911 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1913 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1916 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1918 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1919 after it has been populated
1921 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * text2.C (insertInset): move cursor when inserting inset.
1925 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1927 * kbmap.C (findbindings): a couple of new methods. returns a
1928 container of kb_sequence objects. The real work is done by the
1929 private recursive version
1930 (printbindings): uses findbindings to print out a bracketed list
1931 of bindings (renamed from findbinding).
1933 * MenuBackend.C (binding): use kb_keymap::findbindings
1935 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1937 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1939 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1941 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1943 * paragraph.C (isWord): return true on insets that report
1946 * text.C (getWord): use Paragraph::isWord to decide what is in a
1947 word and what is not; fix bug 1609.
1949 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1951 * tex-strings.C: add "none" to string_paperpackages[], fixes
1952 off-by-one-error in the paperpackage selection.
1955 * tex-strings.[Ch]: char const * string[n]
1956 -> char const * const string[]
1958 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1961 command, return early.
1963 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1965 * debug.h: add DEBUG to enum and fix size of ANY.
1967 * debug.C: add support for Debug::DEBUG
1968 (showTags): cast errorTags.level to unsigned int
1970 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1971 (redoCurrentBuffer): ditto
1972 (updateScrollbar): ditto
1973 * cursor.C (dispatch): ditto
1974 * text2.C (setLayout): ditto
1976 (updateCounters): ditto
1978 (deleteEmptyParagraphMechanism): ditto
1980 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1982 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1983 annotations to cleanup the Makefile slightly.
1985 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * lyxrc.C: do not set user_email to a default value but use empty
1988 instead. The entry used to be translated, which does not work
1989 since at the point where lyxrc is constructed there is no
1990 translation service available
1992 * messages.C (getLocaleDir): remove and use directly
1993 lyx_localedir() instead
1995 2004-06-02 Angus Leeming <leeming@lyx.org>
1997 Fix crash caused by dereferencing null pointer 'exportdata' in
1998 OutputParams by creating a new ExportData variable on the heap,
1999 storing it in a boost::shared_ptr.
2000 The crash was triggered when generating an Instant Preview
2001 of an external inset.
2003 * Makefile.am: add outputparams.C
2005 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2006 (c-tor): allocate memory to it.
2008 * exporter.C (c-tor): associated changes.
2010 2004-06-01 Angus Leeming <leeming@lyx.org>
2012 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2013 contains data before calling isInset(0). (Bug 1513.)
2015 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2017 * exporter.C (checkOverwrite): new method
2018 * exporter.C (copyFile): new method
2019 * exporter.C (Export): copy referenced files to the document dir
2020 * exporter.[Ch]: new class ExportedFile
2021 * exporter.[Ch]: new class ExportData. Contains currently the
2022 names of referenced external files
2023 * outputparams.h: add exportdata member.
2025 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2027 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2030 2004-05-19 Angus Leeming <leeming@lyx.org>
2035 * lyxfunc.C: small changes due to the introduction of namespace
2036 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2038 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2040 * text3.C (dispatch): supress update when only moving the cursor
2041 * cursor.C (selHandle): remove commented code
2043 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2045 * paragraph.C (startTeXParParams): correct column count
2046 * CutAndPaste.C (pasteSelection): remove const_cast
2047 * output_docbook.C (docbookParagraphs): remove const_cast
2048 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2049 const_cast and return ParagraphList::const_iterator
2050 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2051 * output_plaintext.C (writeFileAscii): remove const_cast
2052 * paragraph.[Ch] (simpleTeXOnePar): make const
2053 * paragraph_funcs.C (outerPar): use const iterators
2054 * paragraph_pimpl.C (validate): use const iterators
2055 * text.C (setHeightOfRow): use const iterators
2057 2004-05-17 Angus Leeming <leeming@lyx.org>
2060 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2062 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2063 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2064 if the citation engine has changed.
2066 2004-05-14 José Matos <jamatos@lyx.org>
2068 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2069 if the textclass does not provide it. Have it different for sgml and
2071 support the language of document.
2072 * output_docbook.C (docbookParagraphs):
2073 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2074 first anchor as the id of the paragraph, remove special case code.
2075 * sgml.C (escapeChar): escape only < & >.
2077 2004-05-14 Angus Leeming <leeming@lyx.org>
2079 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2080 dependencies on src/frontends/controllers/biblio.h. Define a
2081 CiteEngine_enum wrapper class to enable the enum to be forward
2084 2004-05-12 Angus Leeming <leeming@lyx.org>
2086 * buffer.C: up LYX_FORMAT to 234.
2087 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2088 use_numerical_citations with a single biblio::CiteEngine cite_engine
2090 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2092 2004-05-13 José Matos <jamatos@lyx.org>
2095 * converter.C (Converter, readFlags): add xml member.
2096 * outputparams.h: add XML flavor.
2097 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2099 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * lyxfunc.C (dispatch):
2102 (getStatus): fix handling of LFUN_SEQUENCE
2104 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * debug.C (showLevel): do not forget the end-of-line marker
2108 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * kbmap.C (read): do not stop parsing a bind file when an error
2113 2004-04-29 Angus Leeming <leeming@lyx.org>
2118 * text2.C: wrap a bunch of #warning statements
2119 inside #ifdef WITH_WARNINGS blocks.
2121 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2123 * buffer.C: increment format to 233.
2125 2004-04-28 Angus Leeming <leeming@lyx.org>
2127 * BufferView_pimpl.C:
2130 s/updateToolbar()/updateToolbars()/
2131 s/Toolbar.h/Toolbars.h/
2133 2004-04-28 Angus Leeming <leeming@lyx.org>
2135 * BufferView.[Ch] (c-tor):
2136 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2137 No longer passes these data to the WorkArea generator.
2139 2004-04-28 Angus Leeming <leeming@lyx.org>
2141 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2143 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2145 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2147 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * output_latex.C (TeXEnvironment): make sure that there is a line
2150 break before \end{foo} for the last paragraph of a document
2151 (TeXOnePar): if the paragraph is at the end of the document (or
2152 inset) and the language has to be reset, then make sure that the
2153 line break is _before_ the language command, not after (fixes bug
2154 1225); also make sure that the language reset command is the first
2155 thing after the paragraph (to ensure proper nesting of
2156 environments and thus fix bug 1404)
2158 2004-04-21 John Levon <levon@movementarian.org>
2161 * ToolbarBackend.C: make "name" be a programmatic name
2162 and a gui_name field.
2164 * lyxfunc.C: display the minibuffer on M-x
2166 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2168 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2171 2004-04-19 Angus Leeming <leeming@lyx.org>
2173 * BufferView_pimpl.C (setBuffer): changed preview interface.
2175 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2178 2004-04-19 John Levon <levon@movementarian.org>
2180 * BufferView_pimpl.C:
2181 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2183 2004-04-05 Angus Leeming <leeming@lyx.org>
2185 * text.C (redoParagraphs): add call to updateCounters(), thereby
2186 fixing the missing "Figure #:" label from the caption of a
2189 2004-04-13 Angus Leeming <leeming@lyx.org>
2191 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2192 cursor is clicked out of an inset.
2194 2004-04-13 Angus Leeming <leeming@lyx.org>
2196 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2197 than an InsetOld one.
2199 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2201 * format.[Ch]: add editor to Format
2202 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2203 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2205 2004-04-08 André Pönitz <poenitz@gmx.net>
2207 * metricsinfo.h: remove PainterInfo::width member
2209 2004-04-08 Angus Leeming <leeming@lyx.org>
2211 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2212 "\providecommand" rather than "\newcommand", thereby preventing
2213 clashes with packages that define "\boldsymbol" themselves.
2216 2004-04-08 Angus Leeming <leeming@lyx.org>
2218 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2219 thereby squashing an unnecessary warning.
2221 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2223 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2226 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2228 * BufferView.C (setCursor): call redoParagraph (some insets could
2230 (putSelectionAt): remove the 'double update' trick
2232 * BufferView_pimpl.C (fitCursor): call refreshPar
2233 (workAreaDispatch): remove an uneeded update call
2234 (dispatch): remove some manual update calls
2236 * cursor.[Ch]: remove cached_y_, updatePos
2237 (selHandle): set noUpdate when appropriate
2239 * lyxfunc.C (dispatch): track if we need an update
2241 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2243 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2244 (paintSelection): cheap optimization, do not call cursorX when not
2246 (paintPars): change signature
2249 (paintTextInset): adjust
2253 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * lengthcommon.C: compilation fix: remove explicit array size from
2256 unit_name[] and friends
2258 2004-04-05 Angus Leeming <leeming@lyx.org>
2260 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2262 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2263 present only for the preferences dialog.
2264 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2266 2004-04-05 Angus Leeming <leeming@lyx.org>
2268 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2269 to enable the frontends to export changes to lyxrc correctly.
2271 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2273 2004-04-07 André Pönitz <poenitz@gmx.net>
2275 * cursor.[Ch] (selClear, adjust): remove math
2277 * cursor_slice.C: more agressive assert
2280 * BufferView_pimpl.C: rework mouse event dispatch
2287 2004-04-05 André Pönitz <poenitz@gmx.net>
2289 * cursor.[Ch] (valign, halign...): remove unneeded functions
2291 2004-04-05 Angus Leeming <leeming@lyx.org>
2293 * lyxlength.[Ch] (unit_name et al.): const-correct.
2295 2004-04-05 Angus Leeming <leeming@lyx.org>
2297 * BufferView_pimpl.C:
2306 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2308 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2310 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2312 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2314 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2315 * BufferView_pimpl.[Ch] (getStatus)
2316 * BufferView.[Ch] (getStatus): add
2317 * lyxfunc.C (getStatus): move lfuns handled in
2318 BufferView::dispatch to te function above
2319 * Cursor.C (setSelection): set selection() = true
2321 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2323 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2325 2004-03-31 Angus Leeming <leeming@lyx.org>
2327 * lyxfunc.C (dispatch): Fall through to the generic
2328 Dialogs::show("preamble").
2330 2004-03-31 Angus Leeming <leeming@lyx.org>
2332 * lyxfunc.C (dispatch): Fall through to the generic
2333 Dialogs::show("spellchecker").
2335 2004-03-31 Angus Leeming <leeming@lyx.org>
2337 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2340 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2345 * insetiterator.[Ch]:
2350 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2352 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2354 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2355 insets where we are putting the cursor.
2357 2004-03-31 Angus Leeming <leeming@lyx.org>
2360 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2362 * lyxrc.[Ch] (read, write): overloaded member functions taking
2363 a std::[io]stream arguments.
2365 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2367 2004-03-31 Angus Leeming <leeming@lyx.org>
2369 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2370 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2372 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2373 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2375 2004-03-31 Angus Leeming <leeming@lyx.org>
2377 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2378 the LFUN_ALL_INSETS_TOGGLE code.
2380 2004-03-30 Angus Leeming <leeming@lyx.org>
2382 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2383 has died. Fall through to the generic Dialogs::show("document").
2385 2004-03-30 Angus Leeming <leeming@lyx.org>
2388 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2389 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2391 * lyxfunc.C (getStatus, dispatch): define the actions for these
2392 lfuns. Little more than a cut and pste job from ControlDocument.C
2394 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2396 2004-03-30 Angus Leeming <leeming@lyx.org>
2399 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2400 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2402 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2403 open/closed state of ollapsable insets. Usage:
2405 all-inset-toggle <state> <name>, where
2406 <state> == "open" || "closed" || "toggle" and
2407 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2409 * lyxtext.h, text2.C (toggleInset): removed.
2411 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2412 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2413 now passes LFUN_INSET_TOGGLE to the found inset.
2415 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2416 is now invoked as "all-insets-toggle toggle branch".
2418 2004-03-30 Angus Leeming <leeming@lyx.org>
2422 * pariterator.[Ch]: added/corrected header blurb.
2424 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2426 * dociterator.[Ch]: add an inset_ member
2427 (backwardPos): implemented
2428 (backwardPos, forwardPos): use inset_ when the stack is empty.
2429 (doc_iterator_begin, doc_iterator_end): implemented
2430 * pariterator.[Ch]: adjust, add begin, end
2431 * insetiterator.[Ch]: adjust, add begin, end
2435 * BufferView_pimpl.C:
2436 * CutAndPaste.C: adjust
2438 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2440 * buffer.C: increment file format to 232.
2441 * LaTeXFeatures.C: add bibtopic package.
2442 * bufferparams.[Ch]: param \use_bibtopic.
2444 * lyxrc.[Ch]: add lyxrc bibtex_command
2445 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2447 * buffer.C: increment file format to 231.
2449 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2451 * dociterator.C: implement forwardPar
2452 * iterators.[Ch]: remove, replaced by
2453 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2455 * BufferView_pimpl.C:
2458 * bufferview_funcs.C:
2464 * Makefile.am: adjust
2466 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2468 * CutAndPaste.C (pasteSelection): fix 2 crashes
2469 (eraseSelection): fix a crash
2470 * paragraph_funcs.C: remove a warning
2472 2004-03-28 Angus Leeming <leeming@lyx.org>
2475 * LyXAction.C (init): new LFUN_PRINT.
2477 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2479 2004-03-27 Angus Leeming <leeming@lyx.org>
2482 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2484 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2486 2004-03-27 Angus Leeming <leeming@lyx.org>
2488 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2489 insetlist always contains non-null pointers to insets.
2491 2004-03-26 Angus Leeming <leeming@lyx.org>
2493 * src/BufferView_pimpl.C:
2494 * src/CutAndPaste.C:
2497 * src/output_plaintext.C:
2498 * src/outputparams.h:
2499 * src/paragraph_funcs.C:
2503 * src/frontends/controllers/ControlErrorList.C:
2504 * src/frontends/gtk/FileDialogPrivate.C:
2505 * src/frontends/gtk/GPainter.C:
2506 * src/frontends/gtk/GToolbar.C:
2507 * src/frontends/qt2/QRef.C:
2508 * src/mathed/math_scriptinset.C: squash compiler warnings.
2510 2004-03-26 Angus Leeming <leeming@lyx.org>
2512 * ispell.C (LaunchIspell::start):
2513 * lyx_cb.C (AutoSaveBuffer::start):
2514 invoke run(DontWait) rather than runNonBlocking().
2516 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2518 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2520 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2522 * kbsequence.C (print): adjust
2524 * kbmap.C (printKeySym): rename and change signature
2525 (printKey): use LyXKeySym::print()
2527 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2529 * undo.C: add using std::advance to compile for stlport
2531 2004-03-24 Angus Leeming <leeming@lyx.org>
2533 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2534 it leads to a crash when no buffer is present.
2536 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2537 Martin Vermeer <martin.vermeer@hut.fi>
2539 * lyxfunc.C (dispatch):
2540 * bufferparams.C (readToken): use the new LColor::setColor
2542 * LColor.[Ch] (setColor): new version that takes two strings as
2543 argument and creates a new color entry if necessary
2545 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2547 * buffer.C (makeLaTeXFile): if the main latex file that is
2548 processed is usually a subdocument of some master, then pretend
2549 for a while that it is actually the master
2551 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2553 * buffer.C (getLabelList):
2554 (getBibkeyList): use getMasterBuffer()
2555 (getMasterBuffer): new method. Returns the main document in the
2556 case where one is using included documents.
2558 2004-03-25 André Pönitz <poenitz@gmx.net>
2562 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2564 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2566 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2567 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2569 * ParameterStruct.h: merge with ParagraphParameters
2571 * lyxtext.h: remove LyXText::parOffset() and getPar()
2573 * text3.C: Remove all 'manual' update calls. We do now one per user
2574 interaction which is completely sufficient.
2578 * BufferView_pimpl.C:
2579 * FontIterator.[Ch]:
2581 * ParagraphParameters.[Ch]:
2586 * cursor_slice.[Ch]:
2593 * output_docbook.[Ch]:
2594 * output_latex.[Ch]:
2595 * output_linuxdoc.[Ch]:
2596 * output_plaintext.[Ch]:
2598 * paragraph_funcs.[Ch]:
2599 * paragraph_pimpl.[Ch]:
2607 * frontends/controllers/ControlDocument.C:
2608 * frontends/controllers/ControlErrorList.C:
2609 * frontends/controllers/ControlSpellchecker.C:
2612 * insets/insetbase.h:
2613 * insets/insetbibitem.C:
2614 * insets/insetbox.C:
2615 * insets/insetbranch.C:
2616 * insets/insetcaption.C:
2617 * insets/insetcharstyle.C:
2618 * insets/insetcharstyle.h:
2619 * insets/insetcollapsable.C:
2620 * insets/insetcollapsable.h:
2621 * insets/insetert.C:
2622 * insets/insetfloat.C:
2623 * insets/insetfoot.C:
2624 * insets/insetmarginal.C:
2625 * insets/insetnote.C:
2626 * insets/insetoptarg.C:
2627 * insets/insettabular.C:
2628 * insets/insettext.C:
2629 * insets/insettext.h:
2630 * insets/insetwrap.C:
2631 * mathed/math_mboxinset.C:
2632 * mathed/math_nestinset.C:
2633 * mathed/math_scriptinset.C:
2634 * mathed/math_scriptinset.h:
2637 2004-03-24 Angus Leeming <leeming@lyx.org>
2639 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2640 deal with any child processes that have finished but are waiting to
2641 communicate this fact to the rest of LyX.
2643 2004-03-24 Angus Leeming <leeming@lyx.org>
2645 64-bit compile fixes.
2647 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2648 (c-tor): pass lyx::pos_types rather than ints.
2650 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2653 * text.C (Delete): compile fix.
2654 (getPar): ensure that function declaration is the same as that in
2657 2004-03-23 Angus Leeming <leeming@lyx.org>
2659 * ispell.C (LaunchIspell):
2660 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2661 a boost::shred_ptr rather than a std::auto_ptr.
2663 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2665 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2666 handle LFUN_FILE_INSERT_*
2668 * lyxrc.C (setDefaults, getDescription, output, read):
2669 * lyxrc.h: remove ps_command
2671 2004-03-22 Angus Leeming <leeming@lyx.org>
2673 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2674 Ensure that error_handler is processed once only and that all data
2675 is saved before attempting to output any warning messages.
2677 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2679 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2681 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2683 2004-03-19 André Pönitz <poenitz@gmx.net>
2685 * cursor.[Ch] (reset): take main text inset as argument
2687 * BufferView: adjust
2688 * BufferView_pimpl.C: adjust
2690 * paragraph.[Ch]: fix completely broken operator=()
2692 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2694 * LColor.C (getFromLyXName): make sure that the color name is used
2697 2004-03-17 Angus Leeming <leeming@lyx.org>
2700 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2702 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2703 dialog and to kill a forked process.
2705 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2707 * text2.C (setCursorFromCoordinates): fix font problem
2709 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2711 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2712 bogus "rebuild cursor" code
2714 2004-03-11 André Pönitz <poenitz@gmx.net>
2716 * buffer.[Ch]: use InsetText instead of LyXText as container for
2719 * dociterator.[Ch]: drop the BufferView * member which is not needed
2720 anymore after the change to buffer.C
2722 * paragraph_funcs.C:
2726 * BufferView_pimpl.[Ch]:
2728 * cursor_slice.[Ch]: adjust
2730 * text3.C: fix bug in mathDispatch
2732 2004-03-08 André Pönitz <poenitz@gmx.net>
2734 * undo.[Ch]: use 'StableDocumentIterator' as base for
2737 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2740 * bufferparams.[Ch]: add jurabib support and param.
2742 * LaTeX.C: add FIXME/comment.
2744 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2746 * buffer.C: increment file format to 230.
2748 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2750 * cursor.C (dispatch): avoid infinite loops
2752 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2754 * rowpainter.C (paintSelection): fix x coordinates
2756 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2758 * text.C (rowBreakPoint): fix breaking before displayed insets
2760 2004-03-01 André Pönitz <poenitz@gmx.net>
2762 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2764 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2768 * BufferView_pimpl.C:
2776 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2782 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2783 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2785 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2787 * Bidi.[Ch] (computeTables): const correctness
2788 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2789 fill_hfill, fill_label_hfill and x from Row
2790 * lyxtext.h: prepareToPrint returns a RowMetrics
2791 * rowPainter.C: adjust
2792 * text.C (prepareToPrint): use width, not textWidth. adjust
2793 (redoParagraphInternal, cursorX): adjust
2794 * text2.C (getColumnNearX): adjust
2795 (init): put a default value to the top LyXText::width
2797 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2799 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2801 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2803 * lyxtext.h: add FontIterator class
2805 * text.C (FontIterator, operator*, operator->, operator++): add
2806 (rowBreakPoint, setRowWidth): adjust (fixing a
2809 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2811 * BufferView_pimpl.C (workAreaDispatch): allow also
2812 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2814 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2816 * text.C (rowBreakPoint): fix a bug showing with very large insets
2818 2004-02-25 André Pönitz <poenitz@gmx.net>
2821 * cursor.[Ch]: move some mathed specific code to mathed
2823 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2825 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2826 use_tempdir in preferences
2827 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2829 * lyx_main.C: ensure that tempdir is valid
2830 * lyxlex.h: correct typo
2831 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2832 * paragraph.[Ch] (isMultiLingual): make const
2833 * cursor.[Ch] (openable): make const
2835 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2837 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2839 2004-02-20 André Pönitz <poenitz@gmx.net>
2841 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2843 * cursor.[Ch]: prepare for localized getStatus()
2849 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2851 2004-02-20 André Pönitz <poenitz@gmx.net>
2853 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2855 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2857 * text2.C (setCursorFromCoordinates): switch to absolute coords
2859 (cursorDown): adjust
2860 * text3.C (dispatch): adjust
2862 2004-02-16 André Pönitz <poenitz@gmx.net>
2864 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2867 * cursor_slice.[Ch]: remove unneeded acessor function
2869 * lyxtext.h: rename rtl() to isRTL()
2877 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2879 * rowpainter.C (paintSelection): coord fix
2881 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2883 * Spacing.C: compile fix
2885 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2887 * cursor.C (dispatch): restore current_ before returning
2889 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2891 * text2.C (cursorUp, cursorDown): fix coords
2894 2004-02-12 André Pönitz <poenitz@gmx.net>
2899 * text3.C: add LCursor & parameter to most cursor movement functions
2900 remove usage of LyXText::cursorRow() and cursorPar()
2902 * cursor.[Ch]: add textRow() needed members
2905 * BufferView_pimpl.C:
2908 * BufferView_pimpl.C: adjust
2910 2004-02-11 André Pönitz <poenitz@gmx.net>
2914 * BufferView_pimpl.C: shift undo/redo handling
2916 * cursor.[Ch]: fix mathed crash
2919 * lyxtext.h: move selectionAsText to LCursor
2927 * rowpainter.C: fix excessive drawing
2929 2004-02-06 André Pönitz <poenitz@gmx.net>
2932 * BufferView_pimpl.[Ch]:
2933 * text3.C: move some text specific LFUN handling
2935 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2937 * text3.C (checkInsetHit): adjust coords
2938 * text2.C (getColumnNearX): adjust coords
2939 (edit): adjust coords
2940 * text.C (getRowNearY): add two asserts
2942 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2945 * format.C: add using std::distance to compile on gcc 2.95/stlport
2947 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2949 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2951 2004-02-04 André Pönitz <poenitz@gmx.net>
2953 * BufferView.[Ch] (insertInset):
2954 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2959 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2961 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2962 on the default clause of the switch
2963 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2964 wasn't catched by LCursor::dispatch
2966 2004-02-03 André Pönitz <poenitz@gmx.net>
2969 * cursor.[Ch]: some additional asserts
2971 * undo.[Ch]: remove LyXText dependency in interface
2975 * lyxtext.h (firstPar, lastPar): remove dead functions
2980 * paragraph.[Ch]: adjust
2982 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2984 * lyxfind.C (find): fix argument order in call to ::find
2986 2004-02-02 André Pönitz <poenitz@gmx.net>
2988 * cursor.[Ch]: remove direct access to anchor
2990 * text.C: remove findText() hack
2992 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2994 * iterators.[Ch] (lockPath): remove in favour of...
2995 * BufferView.[Ch] (setCursor): this addition
2996 * BufferView.C (putSelectionAt): adjust
2997 * undo.C (performUndoOrRedo): adjust
2998 * lyxfunc.C (dispatch): adjust
3000 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3002 * iterators.C (lockPath): add a missing slice
3003 * undo.C (performUndoOrRedo): remove redundant positioning code
3005 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3007 * vc-backend.C (scanMaster): ";" -> ';'
3009 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3011 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3012 std::binary_function
3014 * lyxtextclass.C (compare_name): rename to...
3015 (LayoutNamesEqual): ...this
3017 * lyxlex_pimpl.C (compare_tags): inherit from
3018 std::binary_function, put back into anon namespace
3020 * lyxfind.C (MatchString): inherig from std::binary_function
3021 (findChange): use empty() istead of !size()
3023 * format.C (FormatNamesEqual): new functor
3030 * converter.C (compare_Converter): rename to...
3031 (ConverterEqual): ...this, and fixup a bit.
3032 (getConverter): use it, and make function const
3033 (getNumber): use it, and make function const
3037 * bufferlist.C: add using boost::bind
3039 * MenuBackend.C (MenuNamesEqual): new functor
3040 (hasMenu): use it, and make function const
3041 (hasSubmenu): use nested bind to get rid of compare_memfun.
3043 2004-01-30 André Pönitz <poenitz@gmx.net>
3045 * BufferView_pimpl.C:
3048 * cursor_slice.[Ch]:
3051 * paragraph_funcs.C:
3052 * paragraph_funcs.h:
3056 * text3.C: move some of the edit(x,y) handling to the insets
3057 some coordinate changes.
3059 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3061 * text.C: add using statements for std::advance and std::distance
3063 * paragraph.C: add using statement for std::distance
3065 * lyxfind.C: add using statement for std::advance
3067 * cursor.C (region): remove std:: from swap
3068 (openable): use nucleus in stead of operator->
3070 * BufferView.C: add using statements for std::distance and std::swap
3072 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3074 * iterators.C: Remove the pimple, move the needed structures to
3075 the header file. Create accessor for the positions stack.
3076 (asPosIterator): remove function
3078 * PosIterator.C (PosIterator): move constructors to top of file
3079 (PosIterator): reimplement the constructor taking a ParIterator in
3081 (setFrom): new function
3082 (operator!=): inline it
3084 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3086 * lyxfind.C (replaceAll): use std::advance
3088 * iterators.h: inherit from std::iterator.
3090 * PosIterator.C (advance, distance): remove
3091 * PosIterator.h: interit from std::iterator.
3093 2004-01-26 André Pönitz <poenitz@gmx.net>
3096 * BufferView_pimpl.[Ch]:
3100 * bufferview_funcs.C:
3110 * output_linuxdoc.C:
3111 * output_plaintext.C:
3113 * paragraph_funcs.[Ch]:
3114 * paragraph_pimpl.[Ch]:
3120 * text3.C: more IU: dumps most of the rest of the mathcursor
3121 implementation into cursor.[Ch]; "globalize" a bit of it.
3123 2004-01-25 Angus Leeming <leeming@lyx.org>
3125 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3127 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3129 * LaTeXFeatures.h: add nice_ and nice() const
3130 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3132 2004-01-20 André Pönitz <poenitz@gmx.net>
3135 * BufferView_pimpl.C:
3137 * bufferview_funcs.C:
3139 * cursor_slice.[Ch]:
3150 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3151 LCursor and mathcursor parts to LCursor and InsetBase.
3153 2004-01-15 André Pönitz <poenitz@gmx.net>
3155 * cursor_slice.[Ch]: add a few covienience functions
3157 * funcrequest.[Ch]: remove BufferView * member
3159 * BufferView_pimpl.C:
3166 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3168 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3170 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3171 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3173 2004-01-13 André Pönitz <poenitz@gmx.net>
3176 * lyxtext.h: hide cursor and selection anchor behind accessor function
3179 * BufferView_pimpl.[Ch]:
3181 * bufferview_funcs.C:
3191 * cursor_slice.[Ch]: some integer type changes for inset unification
3193 * lyxcursor.[hC]: remove, it's CursorSlice now.
3196 * BufferView_pimpl.[Ch]:
3197 * bufferview_funcs.C:
3203 * textcursor.[Ch]: adjust
3205 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3207 * text2.C (undoSpan): add and use
3208 * text.C (breakParagraph): use undoSpan (fix bug 578)
3211 2004-01-08 Angus Leeming <leeming@lyx.org>
3213 * BufferView_pimpl.C (MenuInsertLyXFile):
3214 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3215 * lyxfunc.C (menuNew, open, doImport):
3216 FileFilterList change to the FileDialog open and save functions.
3218 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3220 * ShareContainer.h: make isEqual and isUnique adaptable
3222 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3224 2004-01-07 Angus Leeming <leeming@lyx.org>
3227 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3229 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3231 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3232 functions replacing find, replace and replaceAll.
3234 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3235 LFUN_WORDFIND(FORWARD|BACKWARD).
3237 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3239 * text.C (breakParagraph): remove an outdated #warning
3241 2004-01-07 André Pönitz <poenitz@gmx.net>
3243 * lyxfind.C: somewhat clearer logic
3245 * text.C: prevent crash in cursorX on unitialized row cache
3247 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3249 * lyxcursor.[Ch] (operator>): add
3250 * textcursor.C (selStart, selEnd): use std::min and std::max
3252 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3254 * Chktex.C: include boost/format.hpp
3256 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3258 * InsetList.C: replace functor MathcIt with adaptable functor
3260 (insetIterator): modify accordingly
3262 * BranchList.h: move the BranchNamesEqual functor here from...
3263 * BranchList.C: ... to here
3265 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3267 (add): replace a finding loop with std::find_if.
3269 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3271 * output_docbook.C: moving LatexParam functionality into
3274 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3276 * buffer.C: increment format to 229.
3278 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3281 * lyx_sty.[Ch]: remove minipageindent_def
3287 * text3.C: remove LFUN_INSET_MINIPAGE
3289 2003-12-28 Angus Leeming <leeming@lyx.org>
3291 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3293 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3295 * text2.C (setParagraph): fix off-by-one crash
3297 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3299 * output_docbook.C: header stuff for AGU
3301 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3303 * text2.C (redoCursor): remove
3306 * BufferView_pimpl.C: remove calls to redoCursor and
3307 setCursor(cursor.par(), cursor.pos()) all around
3309 2003-12-15 Angus Leeming <leeming@lyx.org>
3311 * buffer.C: up the format to 228.
3313 2003-12-15 André Pönitz <poenitz@gmx.net>
3315 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3320 * BufferView_pimpl.C:
3329 2003-12-15 Angus Leeming <leeming@lyx.org>
3331 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3332 than getFromGUIName to manipulate the color.
3334 2003-12-14 Angus Leeming <leeming@lyx.org>
3336 * BranchList.[Ch]: minimize the API.
3337 (Branch::getBranch, getColor): now return a 'const &'.
3338 (Branch::setSelected) now returns a bool set to true if the
3339 selection status changes.
3340 (BranchList::clear, size, getColor, setColor, setSelected,
3341 allBranches, allSelected, separator): removed.
3342 (BranchList::find): new functions, returning the Branch with
3344 (BranchList::add, remove): return a bool indicating that
3345 the operation was successful.
3347 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3348 new InsetBranch::isBranchSlected member function.
3350 * LColor.[Ch]: mimimize the API.
3351 (fill): renamed as addColor and made private.
3352 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3353 versions of these functions taking a string arg have been removed.
3355 * bufferparams.C (readToken):
3356 * lyxfunc.C (dispatch):
3357 * lyxrc.C (read): changes due to the altered BranchList and
3360 * factory.C (createInset, readInset): changes due to altered
3363 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3366 * lyxfunc.C: remove insetminipage. "minipage-insert"
3367 now produces a frameless minipage box inset.
3369 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3371 * textcursor.[Ch] (selStart,selEnd): add new methods
3372 remove selection::start, end, use LyXCursor::operator<
3373 * lyxcursor.[Ch] (operator<): add
3374 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3375 * BufferView.[Ch] (unsetXSel): add
3376 * text2.C (clearSelection): use unsetXSel,adjust
3379 * rowpainter.C: adjust
3380 * bufferview_funcs.C (put_selection_at): adjust
3382 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3384 * BufferView_pimpl.C: small coord. correction
3386 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3388 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3389 dragging over the splash screen.
3391 2003-12-11 Angus Leeming <leeming@lyx.org>
3393 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3394 as it is now handled in LyXText::dispatch.
3396 * text3.C (doInsertInset): remove a level of nesting.
3398 2003-12-11 Angus Leeming <leeming@lyx.org>
3400 * factory.C (createInset): changes due to the changed interface to
3401 InsetCommandMailer::string2params.
3403 2003-12-10 Angus Leeming <leeming@lyx.org>
3405 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3406 'dialog-show-new-inset <inset name>'
3408 2003-12-10 Angus Leeming <leeming@lyx.org>
3410 * buffer.C: up the format to 227.
3412 * factory.C: the box inset is now identified simply by 'Box'.
3414 2003-12-10 Angus Leeming <leeming@lyx.org>
3416 * buffer.C: up the format to 226.
3418 * factory.C: the note inset is now identified simply by 'Note'.
3420 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3422 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3423 when a pit is enough. Standarize a couple of loops.
3425 2003-12-05 Angus Leeming <leeming@lyx.org>
3427 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3428 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3429 data to the re-worked "log" dialog.
3431 2003-12-03 André Pönitz <poenitz@gmx.net>
3437 * paragraph_funcs.C:
3439 * text2.C: use Inset::getText instead of Inset::getParagraph
3441 2003-12-03 André Pönitz <poenitz@gmx.net>
3445 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3446 InsetText::read() as LyXText::read()
3448 2003-12-02 Angus Leeming <leeming@lyx.org>
3450 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3451 type. Add a comment in the implementation that the function uses
3452 the stream's bad() function rather than fail() as the std::streams
3455 2003-12-02 André Pönitz <poenitz@gmx.net>
3457 * lyxlex.[Ch]: make interface more similar to std::stream
3459 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3461 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3463 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3465 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3467 * vspace.[Ch]: remove VSpace::NONE
3469 2003-12-01 André Pönitz <poenitz@gmx.net>
3472 * lyxtext.h: move ParagraphList member to LyXText
3473 rename LyXText::ownerParagraphs to LyXText::paragraph
3476 * bufferview_funcs.C:
3486 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3488 * undo.C: fix cursor positioning
3490 2003-12-01 John Levon <levon@movementarian.org>
3492 * BufferView_pimpl.C: fix a crash on exit with
3495 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3497 * BranchList.C: fix setSelected() method.
3499 2003-11-28 André Pönitz <poenitz@gmx.net>
3501 * ParagraphParameters.[Ch]:
3502 * ParameterStruct.h: remove space above/below from Paragraph to
3505 * BufferView_pimpl.C:
3511 * paragraph_funcs.C:
3517 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3519 * factory.C: Syntax change for CharStyles
3521 2003-11-28 André Pönitz <poenitz@gmx.net>
3526 * buffer.[Ch]: move LyXText member
3528 2003-11-28 André Pönitz <poenitz@gmx.net>
3530 * BufferView.[Ch]: make LyXText * text a private member
3532 * BufferView_pimpl.C:
3543 * output_plaintext.C: cleanup
3545 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3548 * lyxtextclass.[Ch]: parametrize SGML document header
3550 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3553 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3556 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3558 * text2.C (setFont): rework using PosIterator (no more recursive)
3559 (setCharFont): no more needed
3560 (setLayout): no more selection cursors fiddling (done by redoCursor)
3561 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3562 destroy remaining ones)
3564 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3566 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3568 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3571 * text3.C: adjust + re-allow multi par depth changes
3572 * textcursor.C: simplify a bit
3574 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3580 * src/output_docbook.C:
3581 * src/output_latex.C:
3586 * src/text2.C: Introducing a number of tags parametrizing various
3587 XML formats that we may want to support
3589 2003-11-25 André Pönitz <poenitz@gmx.net>
3591 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3593 * lyxtext.h (leftMargin/rightMargin): simplify interface
3600 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3602 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3603 master file to any child files. Fixes bug 546.
3605 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3607 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3609 2003-11-24 André Pönitz <poenitz@gmx.net>
3611 * rowpainter.C: simplification
3613 * text2.C (updateCounters): remove call to redoParagraph on
3614 changed labels as this is far too expensive.
3616 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3618 * converter.C (convert): fix a crash: this function gets
3619 called with buffer == 0 from importer code.
3621 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3623 * text3.C (cursorPrevious): make sure that we do not compare
3624 iterators form different containers.
3627 * rowpainter.C (paintSelection): make sure that we do not compare
3628 iterators from different containers.
3630 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3631 iterators from different ParagraphList containers.
3634 * text2.C (LyXText): change order of initialization slightly
3635 (operator=): new function. copy all variables except cache_par_
3636 (moveUp): make sure that we do not compare iterators from
3637 different ParagraphList constainers.
3640 * text.C (firstPar): new function
3641 (lastPar): new function
3642 (endPar): new function
3644 * lyxtext.h: move things around and group public functions, public
3645 variables, private functions, private variables
3647 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3649 * factory.C: change call to InsetERT constructor to avoid
3650 additional invocation of method status
3651 * text2.C (toggleInset): remove redundant update() call
3652 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3653 instead of a Bufferview pointer
3655 2003-11-21 André Pönitz <poenitz@gmx.net>
3657 * rowpainter.C: simplification
3659 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3661 * text3.C (dispatch): make possible to extend a word/row selection
3664 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3666 * lyxtext.h: x0_,y0_ -> xo_,yo_
3667 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3668 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3669 * rowpainter.C (paintRows): paint full paragraphs
3671 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3673 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3676 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3678 * lyxtext.h: add x0_, y0_
3679 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3680 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3682 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3684 * text2.C (setCursorIntern): move the x_target update here *
3685 * text3.C: change some bv() to true/false in calls to
3686 cursorUp/Down/Right/Left
3687 * cursor.C: use helper function.
3689 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3691 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3692 * paragraph_funcs.[Ch]: correct comment
3693 * rowpainter.C: do not paint selections away from bv->cursor()
3694 Fix a long standing selection painting bug.
3695 * text3.C: generalize mouse-selection code to LyXTexts other that
3697 * textcursor.C: do not use y coords if we can use par offsets
3699 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3701 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3702 cursor position after e.g. inset insert)
3704 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3706 * lyxfind.C (replace): adjust to locking removal + some
3709 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3711 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3714 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3717 * output_docbook.C: XML sanitation: new layout
3718 parameters InnerTag and CommandDepth
3720 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3722 * BufferView_pimpl.C:
3724 * text3.C: Fix the insertion and modification of button-style
3727 2003-11-13 André Pönitz <poenitz@gmx.net>
3729 * InsetList.[Ch]: remove deleteLyXText
3731 * paragraph.[Ch]: cache beginOfBody position
3736 * text3.C: remove superfluous update() calls
3740 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3742 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3743 * BufferView.C (fitLockedInsetCursor): remove
3744 * cursor.[Ch] (getDim): add
3745 * text.C (getRowNearY): add faster version
3746 * text3.C: remove some update calls
3748 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3760 * text3.C: The Character Style /XML short element patch.
3762 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3765 * factory.C: Small step to solving 'unable to insert some insets'
3768 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3770 * cursor.[Ch] (updatePos): new function for updating the y
3771 position of the tip inset
3772 * bufferview_funcs.C (put_selection_at):
3773 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3775 2003-11-11 André Pönitz <poenitz@gmx.net>
3777 * text.C: remove big comment on invalid Paragraph pointers as it is
3780 2003-11-11 André Pönitz <poenitz@gmx.net>
3782 * text_funcs.[Ch]: merge with ...
3790 * Makefile.am: remove text_funcs.[Ch]
3792 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3794 * cursor.C (getPos): return absolute cached y coord
3796 * BufferView_pimpl.C (fitCursor): new simplistic code
3797 (workAreaDispatch): add a fitCursor call
3799 2003-11-10 André Pönitz <poenitz@gmx.net>
3802 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3804 2003-11-10 André Pönitz <poenitz@gmx.net>
3806 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3807 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3808 indicate that the cursor needs to leave an inset
3810 * lyxtext.h: remove inset locking
3812 * cursor.[Ch]: re-implement functionality provided by inset locking
3815 * BufferView_pimpl.[Ch]:
3817 * bufferview_funcs.[Ch]:
3829 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3831 * PosIterator.[Ch]: replace the stack with a vector, add inset
3833 * iterators.[C]: adjust
3835 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3837 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3839 * paragraph_funcs.C (readParToken): put the correct id in the
3840 error item, not the id of the top paragraph
3842 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3844 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3845 * bufferview_funcs.C (put_selection_at): use the above
3847 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3849 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3851 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3853 * output_linuxdoc.h:
3854 * output_plaintext.h:
3856 * output_docbook.h: add #include statements
3858 2003-11-05 José Matos <jamatos@lyx.org>
3860 * output_docbook.[Ch]:
3861 * output_latex.[Ch]:
3862 * output_linuxdoc.[Ch]:
3863 * output_plaintext.[Ch]: New files for output formats.
3864 * output.[Ch]: New file for helper functions.
3867 * paragraph_funcs.[Ch]: output functions moved to new files.
3869 * outputparams.h: rename of latexrunparams.h
3877 * paragraph_funcs.[Ch]:
3878 * paragraph_pimpl.[Ch]:
3879 * tabular.[Ch]: rename ascii to plaintext
3880 and LatexRunParams to OutputParams.
3882 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3884 * iterators.[Ch] (text): require bv argument
3885 * undo.C (recordUndo):
3886 * lyxfunc.C (dispatch):
3887 * bufferview_funcs.C (put_selection_at): adjust
3889 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3891 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3893 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3895 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3898 2003-11-04 André Pönitz <poenitz@gmx.net>
3900 * cursor.[Ch]: restructure
3903 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3905 * iterators.[Ch] (asCursor): remove
3907 * lfuns.h: remove LFUN_INSET_EDIT
3913 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3915 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3917 * lyxfind.[Ch]: complete overhaul
3918 * BufferView_pimpl.C:
3920 * paragraph.[Ch] (insert): add
3922 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3926 * text.C: remove dead spellcheck code
3928 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * dispatchresult.h: add a val setter
3932 * cursor.C (dispatch): use a tempvar for data_[i]
3934 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3936 * PosIterator.[Ch]: compile fix
3938 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3940 * text.C (cursorPar): deactivate the cursor cache
3942 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3944 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3946 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * text3.C (dispatch): adjust for new DisptchResult semantics.
3950 * lyxfunc.C (dispatch): handle update when return from
3951 Cursor::dispatch, adjust for new DispatchResult semantics.
3953 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3954 DispatchResult(true) mean to not update. Add class functions for
3955 setting dispatched and update, as well as reading.
3957 * cursor.C (dispatch): don't handle update here
3959 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3962 * trans_mgr.C: adjust
3964 * paragraph_funcs.C (readParToken): exception safety
3966 * lyxvc.h: store the vcs pointer in a scoped_ptr
3969 * lyxsocket.C (serverCallback): exception safety
3971 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3973 * ispell.C (clone): make it return a auto_ptr
3975 * factory.C (createInset): exception safety
3976 (readInset): exception safety
3978 * bufferlist.C (newBuffer): exception safety
3980 * Thesaurus.C (Thesaurus): use initialization for aik_
3982 * MenuBackend.C (expandToc): exception safety.
3984 2003-11-03 André Pönitz <poenitz@gmx.net>
3988 * bufferview_funcs.C: remove getInsetFromId()
3991 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3997 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3999 * PosIterator.C (distance, advance): new
4000 * bufferview_funcs.[Ch] (put_selection_at): new
4001 * iterators.[Ch] (lockPath): new
4003 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4005 * iterators.[Ch] (asPosIterator): added
4006 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4007 * PosIterator.[Ch]: added
4009 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * cursor.C (dispatch):
4014 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4016 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4017 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4018 contructor, add a class function dispatched. Remove operator>=
4020 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4022 * debug.C: only use the default constructor for debugstream
4025 * main.C (main): include debug.h and setup the lyxerr streambuf
4028 2003-10-31 José Matos <jamatos@lyx.org>
4030 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4032 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4033 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4034 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4035 * paragraph_pimpl.C (simpleTeXSpecialC):
4036 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4037 add LatexRunParams argument.
4039 * exporter.C (Export): change call accordingly.
4041 * latexrunparams.h: add new member to take care of the other backends.
4042 2003-10-30 José Matos <jamatos@lyx.org>
4044 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4045 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4046 factorise code for paragraph output.
4048 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4051 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * text3.C (dispatch):
4054 * lyxfunc.C (dispatch):
4055 * cursor.C (dispatch):
4056 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4058 * dispatchresult.h: make the dispatch_result_t ctor explicit
4060 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4063 * buffer.C: small refactoring of docbook stuff
4065 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4067 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4070 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4073 operator dispatch_result_t, and operators for == != and >=
4075 * cursor.C (dispatch): adjust for operator dispatch_result_t
4076 removal. comment out call to update
4078 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4080 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4088 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4091 * dispatchresult.h: new file, DispatchResult broken out of
4094 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4096 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4098 * text.C (rowBreakPoint): put a hack inside #if 0
4100 2003-10-28 André Pönitz <poenitz@gmx.net>
4104 * paragraph_funcs.C:
4107 * text2.C: general cleanup (lots of small stuff)
4109 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4111 * text2.C (cursorEnd): simple fix to the "end key goes to one
4112 before the end on last row" bug
4114 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4116 * text.C (backspace): fix the "zombie characters"
4118 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4120 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4122 2003-10-27 André Pönitz <poenitz@gmx.net>
4124 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4126 * factory.C: handle new InsetPagebreak, InsetLine
4128 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4129 and move handling into new InsetPagebreak, InsetLine
4131 * BufferView_pimpl.C:
4133 * ParagraphParameters.C:
4134 * ParameterStruct.h:
4139 * paragraph_funcs.C:
4140 * paragraph_pimpl.C:
4146 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4149 * lyxrow_funcs.[Ch]:
4155 * text3.C: remove lastPos uses in favour of Row::endpos
4157 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4159 * undo.C (performUndoOrRedo): fix two crashes by setting a
4160 cursor by hand and reordering some calls. Use bv->lockInset instead
4161 of inset->edit because the latter loses cursor information
4163 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4165 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4167 (rowBreakPoint): fix width. change point to point + 1.
4168 Add a missing check.
4170 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4173 * lyxfunc.C: fix (at least partly) the problems
4174 with the Nav menu and headers inside branch insets
4177 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4179 * paragraph.C (getChar): add strong asserts
4181 * lyxrow_funcs.C (lastPos): remove hideous hack
4183 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4184 (fill): adjust to that (avoid an infinite loop)
4186 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4188 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4190 2003-10-23 André Pönitz <poenitz@gmx.net>
4192 * RowList_fwd.h: change list<> to vector<> to gain speed
4193 after suggestion from Alfredo
4195 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4197 * lyxtext.h: move the bidi stuff from here...
4200 * Bidi.[Ch]: ... to here
4202 2003-10-23 André Pönitz <poenitz@gmx.net>
4205 * text.C (isLastRow, isFirstRow): new functions
4207 * paragraph.h: new width cache member
4209 * rowpainter.C: replace RowList::iterator with Row & where possible
4211 * lyxfunc.C: replace several view()->text with a single call
4213 * toc.C: fix 'unused' warning
4215 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4218 when woring with stream::pos_type
4219 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4221 2003-10-22 André Pönitz <poenitz@gmx.net>
4224 * text.C: use Row & instead of RowList::iterator
4226 * lyxrow.h: rename end() to endpos()
4232 2003-10-22 Angus Leeming <leeming@lyx.org>
4234 * buffer.[Ch] (fully_loaded): new member function, returning true
4235 only when the file has been loaded fully.
4236 Used to prevent the premature generation of previews and by the
4237 citation inset to prevent computation of the natbib-style label.
4239 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4240 templates are all set up.
4242 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4244 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4246 * text.C: fixed an "oops" in the "is a bit silly"
4249 2003-10-21 André Pönitz <poenitz@gmx.net>
4251 * FuncStatus.[Ch]: small stuff, whitespace
4253 * lyxfont.[Ch]: operator<<() for debug reasons
4257 * lyxtext.h: whitespace, spelling
4259 * paragraph.C: naming of variables
4262 * text2.C: small stuff
4265 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4267 * text.C: (1) finish off the inset display() work;
4268 (2) fix the "is a bit silly" bug (accessing char
4271 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4273 * text.C: re-introduce display() for insets, fixing the
4274 various bugs (stretch of line above, math inset
4277 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4279 * text.C (rightMargin): remove spurious semicolon
4281 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4284 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4286 * text3.C: fix one crash due to wrong cursor def
4288 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * vc-backend.C (scanMaster): make the regex static
4292 * LaTeX.C (scanAuxFile): make the regexs static
4294 * text3.C (doInsertInset, dispatch, dispatch):
4295 * text2.C (cursorUp, cursorDown):
4296 * text.C (selectNextWordToSpellcheck):
4297 * BufferView_pimpl.C (dispatch):
4298 * lyxfunc.C (dispatch): localDispatch -> dispatch
4300 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4302 * lyxsocket.C: include <cerrno>
4304 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * lyxfunc.C (dispatch): remove textcache stuff
4308 * bufferlist.C (release): remove textcache stuff
4311 * TextCache.C: delete file
4312 * TextCache.h: delete file
4314 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4316 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4317 delete of the bv_->text.
4318 (resizeCurrentBuffer): remove texcache stuff
4319 (workAreaResize): ditto
4321 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4326 2003-10-16 André Pönitz <poenitz@gmx.net>
4333 * text3.C: speed up by storing y positions per paragraph plus per-row
4334 offset instead of having a 'full' y position in the row.
4336 2003-10-15 André Pönitz <poenitz@gmx.net>
4340 * undo.[Ch]: make undo aware of inner insets
4342 2003-10-14 Angus Leeming <leeming@lyx.org>
4344 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4345 static member functions LyX::ref() and LyX::cref.
4346 (lastfiles): new accessor functions for the new lastfiles_ member var.
4347 (addLyXView, views_): add a new LyXView to the list of views_.
4348 (updateInset): loop over all LyXViews to call their own updateInset
4349 member function, returning a pointer to the Buffer owning the inset.
4351 * BufferView_pimpl.C (loadLyXFile):
4352 * MenuBackend.C (expandLastfiles):
4353 * bufferlist.C (MenuWrite, QuitLyX):
4354 lastfiles is no longer a global variable.
4355 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4357 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4358 static function. Access through LyX::cref().emergencyCleanup().
4360 2003-10-14 André Pönitz <poenitz@gmx.net>
4362 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4364 * undo.[Ch]: restoring part of 'undo in insets'
4367 * undo_funcs.[Ch]: merge with undo.[Ch]
4369 * tabular.C: small cleansing stuff
4371 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4373 * paragraph_funcs.C (readParToken): report unknown insets as error
4374 boxes. Use the outer paragraph as location (also for unknown
4377 * factory.C (readInset): do not abort on reading an unknown inset.
4378 Eat it and return 0.
4380 2003-10-13 Angus Leeming <leeming@lyx.org>
4382 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4384 * lyxrc.C: displayTranslator is now a function,
4385 declared in GraphicsTypes.h.
4387 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4389 * format.C: new placeholder $$a to pass the socket address.
4391 * bufferlist.[Ch]: new function getBufferFromTmp.
4393 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4394 files in the temporary dir.
4396 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4398 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4400 * Makefile.am: add lyxsocket.[Ch].
4402 * lyx_main.C (error_handler): handle SIGPIPE.
4404 2003-10-13 André Pönitz <poenitz@gmx.net>
4406 * BufferView_pimpl.C:
4411 * undo_funcs.[Ch]: use paroffset_type instead of
4412 ParagraphList::iterators to prevent multiple conversion
4413 (and get a more robust interface)
4415 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4419 * text3.C (dispatch): ditto
4421 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4424 move the onlyfile, use onlyfile instead of foundfile in a couple
4427 * DepTable.C (update): flush the error stream a bit more
4429 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * lyxserver.C (callback): adjust
4433 * lyxfunc.C (getStatus): add a missing brace in commented code
4434 (ensureBufferClean): reindent
4435 (dispatch): delete version taking a string
4437 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * LaTeX.C (deplog): move found file handlig from here...
4440 (handleFoundFile): .. to new function here.
4441 (deplog): make sure to discover several files mentioned on the
4444 2003-10-10 André Pönitz <poenitz@gmx.net>
4451 * text3.C: fix some of the tabular crashes
4453 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4455 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4457 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4459 2003-10-09 André Pönitz <poenitz@gmx.net>
4461 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4464 * BufferView_pimpl.C:
4465 * bufferview_funcs.C:
4476 * undo_funcs.C: adjust
4478 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * text2.C (incrementItemDepth): new function, use a backtracking
4481 algorithm to discover the correct item depth.
4482 (resetEnumCounterIfNeeded): new function, use a backtracking
4483 algorithm to discover if counter reset is needed.
4484 (setCounter): use them. Simplify a bit. Add different labels for
4485 different item depths for itemize.
4487 * paragraph.C (Paragraph): remove initialization of enumdepth
4490 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4491 enumerate and itemize. Change the type of itemdepth to signed char.
4493 2003-10-08 André Pönitz <poenitz@gmx.net>
4495 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4500 * tabular.[Ch]: fix crash after 'row-insert'
4502 2003-10-08 Angus Leeming <leeming@lyx.org>
4504 Fix doxygen warnings.
4506 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4507 Remove CutAndPaste:: prefix from header file declaration.
4509 * LColor.h (fill): remove LColor:: prefix from declaration.
4511 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4512 use lyx::depth_type rather than Paragraph::depth_type so that
4513 header file and .C file match.
4515 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4517 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4518 * aspell.C: \file aspell_local.C -> \file aspell.C
4519 * gettext.C: \file gettext.C -> \file src/gettext.C
4520 * gettext.h: \file gettext.h -> \file src/gettext.h
4521 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4522 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4523 * text.C: \file text.C -> \file src/text.C
4525 * toc.C: move comment so that doxygen is not confused.
4527 2003-10-07 Angus Leeming <leeming@lyx.org>
4529 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4531 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4534 * aspell_local.h: add forgotten std::string's.
4536 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4543 * text3.C: The Box patch. Fancybox support, minipage, parbox
4545 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4551 * ParagraphParameters.h:
4561 * lyxtextclasslist.h:
4564 * paragraph_pimpl.C:
4565 * textcursor.h: add <string> and other small fixes to make Lars'
4566 std::string patch compile with STLport.
4568 2003-10-06 Angus Leeming <leeming@lyx.org>
4570 * LColor.h: Add missing #include <string>.
4572 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * All most all file in all subdirs: Make <string> be the prefered
4575 way of getting to std::string, add using declarations.
4577 2003-10-06 André Pönitz <poenitz@gmx.net>
4579 * metricsinfo.C: initialize LyXFont before changing attribute.
4580 (fixes the 'math in \emph is upright' bug)
4582 2003-10-06 André Pönitz <poenitz@gmx.net>
4584 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4586 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4589 * paragraph_pimpl.C: Small fixes to build using STLport
4591 2003-10-02 André Pönitz <poenitz@gmx.net>
4594 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4596 2003-10-01 André Pönitz <poenitz@gmx.net>
4598 * factory.C: assert early
4600 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * lyx_main.C: remove the global debug object
4604 * debug.h: adjust for new debugstream
4606 * debug.C: adjust for new debugstream and keep the global debug
4609 2003-09-22 Angus Leeming <leeming@lyx.org>
4611 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4612 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4613 an incomplete class LyXFont.
4615 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4617 * factory.C: bug fix in branches
4619 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * lyxfunc.C (processKeySym): adjust
4623 (dispatch): change arg name from ev to func, adjust
4624 (sendDispatchMessage): ditto
4626 * lyx_main.C (defaultKeyBindings): adjust keybindings
4627 (deadKeyBindings): ditto
4629 * kbsequence.C (addkey): return a FuncRequest
4631 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4633 * kbmap.C (bind): take a FuncRequest as arg, adjust
4636 (defkey): change to take a FuncRequest as arg, adjust
4637 (findbinding): take a FuncRequest as arg, adjust.
4639 * funcrequest.h (operator=): added
4641 * funcrequest.C (FuncRequest): default kb_action changed from
4642 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4644 * buffer.C (dispatch): simplify
4645 (dispatch): adjust to take a FuncRequest as arg, adjust
4647 * boost.C (assertion_failed): change assertion message slightly
4649 * ToolbarBackend.C (read): simplify
4651 * MenuBackend.C (binding): adjust call to findbinding, add a
4652 message if no binding is found.
4654 (expandToc): correct by adding a empty FuncRequest
4656 * LyXAction.C: include <boost/assert.hpp>
4657 (isPseudoAction): delete function
4658 (LookupFunc): change name to...
4659 (lookupFunc): this. change return type to FuncRequest.
4660 (getActionName): take kb_action as arg, simplify
4661 (funcHasFlag): add an assert, simplify.
4663 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * toc.C (action): return a FuncRequest, simplify
4667 * lyxfunc.C (processKeySym): adjust
4668 (getStatus): delete version that takes an int.
4670 (dispatch): delete version that takes action as int
4672 (sendDispatchMessage): simplify and adjust
4674 * funcrequest.C (getArg): take unsigned int as arg
4676 * ToolbarBackend.C (read): adjust
4677 (add): delete version that takes func as a string.
4678 (getIton): take a FuncRequest as arg
4680 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4683 * MenuBackend.C (MenuItem): add a new construct that only takes a
4684 Kind, simplify the constructor use for submenus.
4686 (expandLastfiles): adjust
4687 (expandDocuments): adjust
4688 (expandFormats): adjust
4689 (expandFloatListInsert): adjust
4690 (expandFloatInsert): adjust
4691 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4693 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4694 Remove class variables lyx_pseudo_map and lyx_arg_map
4696 * LyXAction.C (searchActionArg): delete function
4697 (getPseudoAction): delete function
4698 (retrieveActionArg): delete function
4699 (LookupFunc): make it return kb_action, simplify.
4700 (getActionName): simplify
4702 * factory.C (createInset): fix new bug
4704 2003-09-19 Angus Leeming <leeming@lyx.org>
4706 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4707 masterFilename_ parameter in the include inset.
4709 * factory.C (createInset): changes due to the changes to InsetInclude.
4711 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4713 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4715 2003-09-18 Angus Leeming <leeming@lyx.org>
4718 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4719 Inset::fillWithBibKeys.
4720 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4722 2003-09-18 Angus Leeming <leeming@lyx.org>
4724 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4726 (ctor): pass and store a 'Buffer const &'
4727 (buffer): new member function.
4729 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4730 '*this' to the LaTeXFeatures ctor.
4732 2003-09-18 Angus Leeming <leeming@lyx.org>
4738 * text.C: rename EnumLColor as LColor_color.
4740 2003-09-18 Angus Leeming <leeming@lyx.org>
4742 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4743 remove #include "insets/insetbase.h" from cursor.h.
4745 2003-09-18 Angus Leeming <leeming@lyx.org>
4747 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4748 InsetOld_code to remove #include "inset.h".
4750 * iterators.C: add #include "insets/inset.h"
4752 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4754 * BufferView.C: remove more locking stuff that apparently doesn't
4755 do anything sensible.
4757 2003-09-16 André Pönitz <poenitz@gmx.net>
4760 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4763 2003-09-16 Angus Leeming <leeming@lyx.org>
4765 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4767 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4770 * paragraph.h: remove #include "lyxfont.h". Forward declare
4773 2003-09-16 Angus Leeming <leeming@lyx.org>
4775 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4776 of support/textutils.h.
4777 (isWord): move the contents of support/textutils.h's IsWordChar here.
4783 * text2.C: add #include "paragraph.h".
4786 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4788 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * LaTeX.C: use namespace alias for lyx::support::os
4796 2003-09-16 Angus Leeming <leeming@lyx.org>
4799 * bufferview_funcs.C:
4802 * paragraph_pimpl.C:
4804 * text.C: add #include "LColor.h".
4806 2003-09-16 Angus Leeming <leeming@lyx.org>
4808 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4809 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4811 Store the FontBits::color variable as an int rather than as an
4812 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4815 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4816 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4817 string calls together.
4819 * lyxrc.C: add #include "LColor.h".
4821 2003-09-15 Angus Leeming <leeming@lyx.org>
4823 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4826 2003-09-15 Angus Leeming <leeming@lyx.org>
4828 * LColor.h: add an EnumLColor wrapper for LColor::color.
4830 * lyxfont.[Ch] (color, setColor, realColor):
4831 * lyxtext.h, text.C (backgroundColor):
4832 pass EnumLColor args to/from the functions, rather than LColor::color
4836 * lyxtext.h: forward declare EnumLColor.
4838 * lyx_main.C: add #include "LColor.h".
4840 2003-09-15 Angus Leeming <leeming@lyx.org>
4842 * .cvsignore: add lyx-gtk.
4844 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4849 * ParagraphParameters.C
4853 * bufferview_funcs.C
4863 * vc-backend.C: remove usage of STRCONV
4865 2003-09-15 Angus Leeming <leeming@lyx.org>
4867 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4868 explicitly define the color passed to the painter.
4870 2003-09-15 Angus Leeming <leeming@lyx.org>
4872 * bufferparams.C (BufferParams): reorder member initializers to avoid
4875 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4877 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4878 * text.C (updateRowPositions): remove an unusual nop
4880 2003-09-12 André Pönitz <poenitz@gmx.net>
4882 * BufferView_pimpl.C:
4891 * Counters.[Ch]: finish the 'automatic counters' job
4893 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4895 * aspell.C: include <boost/assert.cpp> (compile fix)
4897 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4899 * boost.C (assertion_failed): use lyx::support::abort instead of
4902 2003-09-10 Angus Leeming <leeming@lyx.org>
4904 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4905 with their _fwd progeny.
4907 2003-09-09 Angus Leeming <leeming@lyx.org>
4909 134 files throughtout the source tree: replace 'using namespace abc;'
4910 directives with the appropriate 'using abc::xyz;' declarations.
4912 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4914 * boost.C (emergencyCleanup): moved here from LAssert.c
4915 (assertion_failed): new function, called by BOOST_ASSERT
4917 * several files: change Assert to BOOST_ASSERT
4919 2003-09-09 Angus Leeming <leeming@lyx.org>
4921 * buffer.[Ch]: Add an Impl class and move Buffer's member
4922 variables into it. As a result move several header files out of
4925 Add header files to lots of .C files all over the tree as a result.
4927 2003-09-09 Angus Leeming <leeming@lyx.org>
4929 * buffer.[Ch]: make Buffer's member variables private. Add
4932 Lots of changes all over the tree as a result.
4934 2003-09-08 Angus Leeming <leeming@lyx.org>
4936 * graph.C: #include <config.h>.
4938 2003-09-08 Angus Leeming <leeming@lyx.org>
4942 * BufferView_pimpl.C:
4971 * toc.C: remove redundant using directives.
4973 2003-09-07 Angus Leeming <leeming@lyx.org>
4975 * LaTeXFeatures.h: remove #include "support/types.h".
4976 * ToolbarBackend.h: remove #include <algorithm>.
4977 * changes.h: remove #include <ctime>.
4978 * debug.h: remove #include <iosfwd>.
4979 * graph.h: remove #include "support/std_string.h".
4980 * lyx_main.h: remove #include <csignal>.
4981 * lyxlex_pimpl.h: remove #include <fstream>.
4982 * sgml.h: remove #include <algorithm>, <utility>.
4983 * toc.h: remove #include "support/std_ostream.h".
4984 Add #include <iosfwd>.
4986 2003-09-07 Angus Leeming <leeming@lyx.org>
4988 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4990 * converter.h: forward declare LatexRunParams.
4991 * encoding.h: remove #include "lyxrc.h".
4992 * lyxtext.h: remove #include "LColor.h".
4993 * lyxtextclass.h: remove #include "support/types.h".
4994 * trans.h: remove #include "tex-accent.h".
4995 * trans_mgr.h: remove #include "tex-accent.h".
4996 * insets/inset.h: remove #include "support/types.h", <vector>.
4997 * insets/insetcollapsable.h: remove #include "LColor.h".
4998 * insets/insetinclude.h: remove #include "dimension.h".
4999 * insets/insetlatexaccent.h: remove #include "dimension.h".
5000 * insets/insetoptarg.h:: remove #include "insettext.h".
5001 * insets/insettext.h: remove #include "dimension.h",
5002 <boost/shared_ptr.hpp>
5004 * insets/renderers.h: add #include "dimension.h".
5005 * insets/updatableinset.h: add #include "support/types.h".
5007 * many .C files: Associated changes.
5009 2003-09-06 Angus Leeming <leeming@lyx.org>
5011 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5012 one, inside testInvariant.
5014 * PrinterParams.C: new file.
5015 * PrinterParams.[Ch]: move the function bodies out of line.
5017 2003-09-06 Angus Leeming <leeming@lyx.org>
5019 * ParagraphParameters.h: forward declare ParameterStruct rather than
5020 including its header file.
5021 (depth): moved out-of-line.
5023 2003-09-06 Angus Leeming <leeming@lyx.org>
5025 * BufferView_pimpl.h:
5028 * lyxfunc.h: forward declare LyXKeySym rather than
5029 #include "frontends/LyXKeySym.h".
5031 * BufferView_pimpl.C:
5034 * lyxfunc.C: associated changes.
5036 2003-09-06 Angus Leeming <leeming@lyx.org>
5038 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5039 As a result, can remove the #include "insets/inset.h" from BufferView.h
5041 2003-09-06 Angus Leeming <leeming@lyx.org>
5043 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5044 As a result, can remove the #include "insets/inset.h" from BufferView.h
5046 2003-09-06 Angus Leeming <leeming@lyx.org>
5052 * bufferview_funcs.C:
5053 * BufferView_pimpl.C:
5058 * ParagraphParameters.C:
5063 * frontends/controllers/ControlDocument.C:
5064 * insets/insetcaption.C: rearrange the #includes into some sort of
5067 * buffer.h: remove #includes ErrorList.h, undo.h
5069 2003-09-06 Angus Leeming <leeming@lyx.org>
5071 * support/types.h: add a 'depth_type' typedef, used to store the
5072 nesting depth of a paragraph.
5075 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5076 defining explicitly.
5079 * paragraph_funcs.h:
5080 * ParagraphParameters.h:
5081 * sgml.h: use lyx::depth_type rather than Paragraph or
5082 ParameterStruct's depth_type.
5085 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5088 * BufferView_pimpl.C:
5090 * ParagraphParameters.C:
5093 * bufferview_funcs.C:
5100 * frontends/LyXView.C:
5101 * frontends/controllers/ControlDocument.C:
5102 * frontends/controllers/ControlErrorList.C:
5103 * insets/insetbibitem.C:
5104 * insets/insetbranch.C:
5105 * insets/insetcaption.C:
5106 * insets/insetcollapsable.C:
5107 * insets/insetenv.C:
5108 * insets/insetert.C:
5109 * insets/insetfloat.C:
5110 * insets/insetfoot.C:
5111 * insets/insetfootlike.C:
5112 * insets/insetnewline.C:
5113 * insets/insetquotes.C:
5114 * insets/insettabular.C:
5115 * insets/insettext.C:
5116 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5118 * frontends/controllers/ControlChanges.C: #include "changes.h".
5120 2003-09-06 Angus Leeming <leeming@lyx.org>
5122 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5123 than #including paragraph.h.
5126 * RowList.h: deleted. Superfluous.
5136 * insets/insettext.h: use ParagraphList_fwd.h rather than
5139 * paragraph.h: don't forward declare ParagraphList.
5142 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5143 rather than ParagraphList.h. paragraph.h is still needed for the
5144 Paragraph::depth_type parameters.
5146 * textcursor.h: enable it to compile stand-alone in light of the
5149 * bufferview_funcs.C:
5161 * frontends/controllers/ControlParagraph.C:
5162 * frontends/controllers/ControlTabular.C:
5163 * insets/insetmarginal.C:
5164 * insets/insetminipage.C:
5165 * insets/insetnote.C:
5166 * insets/insetoptarg.C: add header files needed to compile again.
5168 2003-09-06 Angus Leeming <leeming@lyx.org>
5170 * RowList_fwd.h: new file, forward-declaring Row rather than
5171 #including lyxrow.h.
5176 * insets/insettext.h: use it instead of RowList.h
5178 * bufferview_funcs.C:
5185 * text3.C: #include "RowList.h".
5187 2003-09-05 Angus Leeming <leeming@lyx.org>
5189 * factory.C (createInset):
5190 * vspace.C (c-tor): replace sscanf call with an istringstream.
5191 * ispell.C: re-add missing HP/UX headers.
5192 * lyxserver.C: re-add missing os2 headers.
5194 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5203 * text3.C: re-add missing system headers, needed for 2.95.2.
5205 2003-09-05 Angus Leeming <leeming@lyx.org>
5207 Changes most place everywhere due to the removal of using directives
5208 from support/std_sstream.h.
5210 2003-09-05 Angus Leeming <leeming@lyx.org>
5212 Replace LString.h with support/std_string.h,
5213 Lsstream.h with support/std_sstream.h,
5214 support/LIstream.h with support/std_istream.h,
5215 support/LOstream.h with support/std_ostream.h.
5217 Changes resulting throughout the tree.
5219 2003-09-05 Angus Leeming <leeming@lyx.org>
5221 * sgml.h: ensure that the header file can be compiled stand-alone.
5222 * *.C: strip out redundant #includes. (320 in total.)
5224 2003-09-04 Angus Leeming <leeming@lyx.org>
5226 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5227 here (from getPackages).
5229 * debug.[Ch]: add a new EXTERNAL tag.
5231 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5233 * text2.C (cursorEnd): simplify
5235 (getColumnNearX): adjust
5237 * text.C (computeBidiTables): adjust
5240 * rowpainter.C (paintChars): adjust
5241 (paintSelection): adjust
5242 (paintChangeBar): adjust
5245 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5247 (numberOfSeparators): adjust
5249 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5255 * text3.C: Restricts the mouse click functionality
5256 of insets like bibtex, include, toc and floatlist to the visible
5257 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5258 up the dialogs. Cursor has to be in front of the inset (i.e.
5259 start of row) for this to function.
5261 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5263 * bufferview_funcs.C (currentState): output row information
5265 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5267 * bufferview_funcs.C (currentState): output paragraph position
5269 2003-09-04 Angus Leeming <leeming@lyx.org>
5271 * FloatList.h: move out #include "Floating.h".
5272 * LaTeX.h: move out #include "DepTable.h".
5273 * LyXAction.h: move out #include "funcrequest.h".
5274 * buffer.h: move out #include "author.h", "iterators.h".
5275 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5276 * lyx_main.h: move out #include "errorlist.h".
5277 * lyxfunc.h: move out #include "FuncStatus.h".
5278 * lyxtext: move out #include "lyxcursor.h".
5279 * paragraph_pimpl.h: move out #include "counters.h".
5281 2003-09-03 Angus Leeming <leeming@lyx.org>
5283 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5284 preamble_snippets list, enabling us to add snippets to the preamble
5285 only if the snippet was not there already.
5287 2003-09-04 Angus Leeming <leeming@lyx.org>
5289 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5291 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5296 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5298 * BranchList.C: point fix, earlier forgotten
5300 2003-09-02 Angus Leeming <leeming@lyx.org>
5302 * box.C (contains): renamed from 'contained' after a fantastic
5305 2003-09-02 John Levon <levon@movementarian.org>
5311 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5313 2003-09-02 John Levon <levon@movementarian.org>
5315 * text2.C: simplification of cursorEnd(), including partial
5318 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * buffer.C (readFile): add a space
5322 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5324 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5326 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5328 * buffer.C (readFile): new function, take a filename and a
5329 ParagraphList::iterator
5331 (readFile): adjust, make it private. don't use setStream, make
5332 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5333 always contain the filename.
5335 * BufferView.C (insertLyXFile): simplify and make it work for
5338 2003-08-30 John Levon <levon@movementarian.org>
5340 * Makefile.am: fix dist (from Kayvan)
5342 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5344 * most files: change to use const Buffer refs
5346 2003-08-27 André Pönitz <poenitz@gmx.net>
5348 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5349 on top of ownerPar().
5351 2003-08-27 John Levon <levon@movementarian.org>
5353 * funcrequest.C: properly initialise POD members
5355 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5357 * lyxtext.h (top_y): move top_y from here
5362 * BufferView_pimpl.[Ch]: to here
5363 * frontends/screen.C:
5364 * insets/insettabular.C:
5365 * insets/insettext.C: adjust
5366 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5368 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5371 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5373 2003-08-26 André Pönitz <poenitz@gmx.net>
5375 * paragraph_func.[Ch] (outerPar): new function
5378 * paragraph_funcs.C:
5379 * paragraph_funcs.h:
5380 * paragraph_pimpl.C:
5381 * text2.C: remove Inset::par_owner
5383 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5388 * text2.C: eliminates the needFullRow/display() stuff
5389 altogether, putting the logic in metrics/draw in the insets.
5391 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5393 * text2.C (redoParagraphInternal, redoParagraphs):
5394 * text.C (redoParagraph): add a call to updateRowPositions at the
5395 end of each 'metrics-like' call. Remove all others.
5396 (getRow): remove the 'y-computing' version.
5397 (getRowNearY): do not compute nor return the real y. Solve the
5398 'y < 0' problem and simplify.
5400 2003-08-22 Angus Leeming <leeming@lyx.org>
5402 * *.[Ch]: clean-up of licence and author blurbs.
5403 Also move config.h out of a few .h files and into a few .C files.
5405 2003-08-22 André Pönitz <poenitz@gmx.net>
5407 * lyxrow.[Ch]: add x_ and *fill_ members
5412 * text2.C: adjust/remove prepareToPrint() calls
5414 2003-08-22 André Pönitz <poenitz@gmx.net>
5416 * lyxrow.[Ch]: add end_ member
5418 * lyxrow_funcs.C: use LyXRow::end_
5420 * lyxtext.h (singleWidth): add LyXFont parameter
5423 * text2.C: adjust LyXText::singleWidth() calls
5425 * text.C (redoParagraph): simplify row breaking logic
5428 2003-08-19 André Pönitz <poenitz@gmx.net>
5430 * funcrequest.C: initialize button_ member
5433 * rowpainter.[Ch]: interface consolidation
5435 2003-08-18 André Pönitz <poenitz@gmx.net>
5438 * BufferView_pimpl.C:
5440 * paragraph_funcs.C:
5442 * text3.C: remove LyXScreen::draw() and fitCursor calls
5444 * BranchList.h: remove spurious semicolons
5446 * MenuBackend.C: fix branchlist related crash
5448 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5456 * bufferparams.[Ch]:
5460 * text3.C: implements the 'branch inset'
5461 idea. This allows the output of various versions of a document
5462 from a single source version, selectively outputing or suppressing
5463 output of parts of the text.
5464 This implementation contains a 'branch list editor' in a separate
5465 tab of the document settings dialog. Branches are user definable
5466 and have a "display colour" to distinguish them on-screen.
5468 ColorHandler was somewhat cleaned up.
5469 (1) make possible a dynamically growing LColor list by allowing
5470 the graphic context cache to grow along (vector);
5471 (2) eliminate an IMHO unnecessary step in colour allocation.
5473 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5475 * BufferView_pimpl.C: compile fix
5477 2003-08-15 André Pönitz <poenitz@gmx.net>
5479 * rowpainter.C: remove extra metrics calls
5481 * lyxtext.h: merge the two constructors into a single one,
5482 pass reference to owner's par list
5484 * BufferView_pimpl.C:
5488 2003-08-15 André Pönitz <poenitz@gmx.net>
5490 * lyxrow_funcs.[Ch]:
5493 * paragraph_funcs.C:
5498 * text_funcs.C: split LyXText::rowlist_ into individual
5499 Paragraph::rows_ chunks
5502 * BufferView_pimpl.[Ch]:
5505 * text3.C: remove toggleSelection()
5507 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5509 * bufferlist.C: beautify two alerts (shorter text of buttons)
5510 * buffer.C: Remove redundant ' ' from message
5512 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5513 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5514 rename VALIGN_CENTER to VALIGN_MIDDLE
5516 2003-08-11 André Pönitz <poenitz@gmx.net>
5518 * lyxtext.h (getPar):
5519 * text.C: new function
5521 2003-08-11 André Pönitz <poenitz@gmx.net>
5524 * tracer.[Ch]: remove unneeded files
5526 * InsetList.[Ch]: remove resizeInsetsLyXText()
5531 * text3.C: merge insertParagraphs() and appendParagraph()
5532 remove breakAgain(), update()
5534 * BufferView_pimpl.[Ch]:
5535 * bufferview_funcs.[Ch]:
5539 * tabular.C: adjust after text & InsetList changes.
5541 2003-08-08 André Pönitz <poenitz@gmx.net>
5543 * text.C (insertChar, backspace): replace rowlist fiddling
5544 with rebreak of full par
5547 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5548 checkParagraph, updateInset): removed
5550 2003-08-07 André Pönitz <poenitz@gmx.net>
5553 * text3.C: merge some LFUN handlers, remove dead code
5555 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5557 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5559 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5561 * text2.C (DEPM): fix part of bug 1255 and 1256
5563 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5565 * BufferView_pimpl.C (workAreaDispatch): change to use
5566 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5567 that are no mouse related.
5569 2003-08-05 André Pönitz <poenitz@gmx.net>
5572 * BufferView_pimpl.[Ch]:
5573 * bufferview_funcs.C:
5575 * text3.C: rip out "deep update"
5577 * textcursor.[Ch] (last_sel_cursor): remove unused member
5579 2003-08-04 André Pönitz <poenitz@gmx.net>
5582 * BufferView_pimpl.[Ch]:
5583 * ParagraphParameters.C:
5584 * bufferview_funcs.C:
5590 * text3.C: replace "complicated" BufferView::update(...) calls with
5593 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5595 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5597 * Makefile.am (lyx_SOURCES): add paper.h
5599 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5601 * Makefile.am: move things around so that both lyx-qt and
5602 lyx-xforms can be built (according to --with-frontend). Then lyx
5603 is a symbolic link to lyx-[firstfrontend]
5605 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5607 * Always use std::endl with lyxerr
5609 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5611 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5613 2003-08-01 André Pönitz <poenitz@gmx.net>
5616 * BufferView_pimpl.[Ch]:
5618 * text3.C: merge BufferView::repaint() and BufferView::update()
5620 2003-08-01 José Matos <jamatos@lyx.org>
5622 * buffer.[Ch]: file_format is no longer a buffer data element.
5624 2003-08-01 André Pönitz <poenitz@gmx.net>
5629 * text2.C: make redoParagraph more independent of current cursor
5631 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5633 * text2.C: remove unneeded members
5635 2003-07-30 André Pönitz <poenitz@gmx.net>
5637 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5639 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5640 create a single function...
5642 * paragraph_funcs.C (moveItem): ... here.
5645 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5647 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5649 * LColor.[Ch]: Add comment and greyedout logical colors.
5651 2003-07-30 André Pönitz <poenitz@gmx.net>
5653 * tabular.C: don't use Assert too heavily. This crashes where it
5656 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5658 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5659 is disabled (bug 1232)
5661 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5663 * factory.C: limited 'arg' scope
5665 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5667 * factory.C: fixed Note submenu issues
5669 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5671 * factory.C: submenu for Note/Comment/Greyedout
5673 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5676 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5678 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5681 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5682 greyedout. Patch provided by Jürgen Spitzmüller.
5684 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5686 * kbmap.C (read): fix error message when reading bind files
5688 2003-07-29 Angus Leeming <leeming@lyx.org>
5690 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5691 certainly does not do what it purports to do. I am doing it, and
5692 us, a favour by killing it.
5694 2003-07-28 José Matos <jamatos@lyx.org>
5696 * buffer.C (readBody, do_writeFile):
5697 * paragraph.C(readParagraph): \end_document replaces \the_end.
5699 2003-07-29 André Pönitz <poenitz@gmx.net>
5702 * BufferView_pimpl.[Ch]:
5706 * textcursor.[Ch]: remove toggleToggle & Co
5708 2003-07-28 José Matos <jamatos@fep.up.pt>
5710 * buffer.C (readParagraph):
5711 * params_func (readParToken, readParagraph):
5712 * paragraph.C (write): \layout -> \begin_layout.
5714 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * lyxlex_pimpl.C (setFile): clean up slightly.
5718 * bufferparams.h: add compressed var
5720 * buffer_funcs.C (readFile): adjust for LyXLex change
5721 (newFile): ditto + simplify
5723 * buffer.C (writeFile): handle writing of compressed files
5725 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5726 Check if the file is compressed and set a bufferparm if so.
5728 * Makefile.am (lyx_LDADD): remove explicit -lz
5730 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5732 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5733 makeDocBookFile): put the real LyX version in the first line of
5737 * version.C.in: remove lyx_docversion
5739 * tabular.C (write_attribute): add a template-based version to
5740 write enums properly
5742 2003-07-28 André Pönitz <poenitz@gmx.net>
5747 * text3.C: use doubles again for x-coordinates. They are needed.
5749 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * messages.C (getLocaleDir): use lyx_localedir()
5753 * lyxlex_pimpl.C (setFile): compress stuff
5755 * buffer.C (writeFile): add some compression stuff
5756 (do_writeFile): new func, dont call expliti close... will this
5759 * Makefile.am (lyx_LDADD): add -lz
5761 2003-07-28 José Matos <jamatos@fep.up.pt>
5763 * buffer.C: increment file format.
5764 * paragraph_funcs (readParagraph, readParToken):
5765 * paragraph.C (readParagraph): add \end_layout.
5767 2003-07-27 Angus Leeming <leeming@lyx.org>
5769 * Makefile.am: remove special casing for configure-time setting of
5770 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5772 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5773 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5775 2003-07-26 André Pönitz <poenitz@gmx.net>
5777 * paragraph_func.[Ch]:
5778 * paragraph.C (realizeFont): inline it whereever it is used
5783 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5786 2003-07-26 André Pönitz <poenitz@gmx.net>
5790 * text2.C: get rid of LyXText::need_break_row
5792 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * toc.[Ch]: put namespace toc inside namespace lyx
5796 * MenuBackend.C (expandToc2): adjust for lyx::toc
5799 * lyxfunc.C (dispatch): adjust for lyx::find
5801 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5802 lyx::find instead. Reorganize a bit.
5803 (LyXReplace): rename to replace
5804 (LyXFind): rename to find
5806 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5809 2003-07-26 André Pönitz <poenitz@gmx.net>
5811 * text.C (setHeightOfRow): restrict scope of temporary variable
5813 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5814 code (never has been used?)
5816 2003-07-27 Asger Alstrup <alstrup@local>
5818 * text.C (fill): Optimise algorithm to exploit that we can reuse
5819 the LyXFont for many characters.
5820 (setHeightOfRow): Same thing.
5821 (rowBreakPoint): Same thing.
5823 2003-07-26 Asger Alstrup <alstrup@local>
5825 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5827 * text.C (singleWidth): Spurious font copying in hot-spot
5828 singleWidth avoided. Reorder tests for arabic for efficiency.
5830 * text.C (fill): handle empty paragraphs better.
5832 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5835 * encoding.h: add includes
5837 * lyxrc.C: remove reading of bind files
5839 * lyx_main.C (init): setup bindings and menus only if we have a
5842 * kbmap.C (read): new method. Do the actual reading of bind
5845 * converter.C (dvipdfm_options):
5848 (output): adapt PAPER_* enums.
5850 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5852 * bufferparams.h: remove paper-related enums from there
5854 * paper.h: New file. A trivial header file to hold paper-related
5855 enums. It should later expand to contain many paper-related
5858 * lyxrc.C: declare extern displayTranslator
5860 2003-07-27 José Matos <jamatos@fep.up.pt>
5862 * tabular.[Ch] (linuxdoc): add support for tables and figures
5865 2003-07-27 José Matos <jamatos@fep.up.pt>
5867 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5868 consistency in both functions.
5869 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5871 2003-07-26 Asger Alstrup <alstrup@local>
5873 * rowpainter.C (paintRows): Change algorithm to work directly on
5874 the insets rather than asking every character in the document
5875 whether its an inset.
5877 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5879 * buffer.C (openFileWrite): factorize some code
5881 2003-07-26 Angus Leeming <leeming@lyx.org>
5884 * lyx_main.[Ch]: replace occurances of system_tempdir with
5887 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * rename Inset to InsetOld
5891 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5893 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5894 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5895 which I think is a bit clearer. EDIT is gone, since it was
5896 premature optimisation, and broken for mathed anyway.
5897 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5898 with cursor positioning in insets as well (math insets still do not
5899 work, but that's a different story anyway.) It mysteriously
5900 crashes sometimes with undo in the first paragraph, but I'm fairly
5901 confident that this is a compiler bug.
5903 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5905 * paragraph.C (Paragraph): adjust for new clone return type
5907 (copyIntoMinibuffer): ditto
5909 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5911 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5912 by not having a special case, and always doing a full rebreak of
5913 the document after undo.
5915 2003-07-23 Angus Leeming <leeming@lyx.org>
5917 * factory.C (createInset): InsetExternal::setParams now takes a
5920 2003-07-23 Angus Leeming <leeming@lyx.org>
5922 * factory.C (createInset): changed interface to the external and
5923 graphics mailers' string2params functions.
5925 2003-07-23 Angus Leeming <leeming@lyx.org>
5927 * factory.C (createInset): pass a
5928 Buffer const * parameter to InsetExternalMailer's string2params.
5930 2003-07-22 John Levon <levon@movementarian.org>
5932 * Thesaurus.h: include the right aiksaurus header
5934 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5936 * MenuBackend.C (expand): check menu shortcuts unconditionally
5938 2003-07-21 Angus Leeming <leeming@lyx.org>
5940 * factory.C (createInset): pass a
5941 buffer_path parameter to InsetGraphicsMailer's string2params.
5943 2003-07-21 Angus Leeming <leeming@lyx.org>
5945 * BufferView_pimpl.C (buffer):
5948 * lyxfunc.C (dispatch):
5949 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5950 rather than the grfx shortcut.
5952 2003-07-21 André Pönitz <poenitz@gmx.net>
5954 * rowpainter.C: remove unused variables
5957 * tabular_funcs.h: move to tabular.C
5958 * Makefile.am: adjust
5960 * tabular.[Ch]: basic optical cleaning
5962 * author.h: pass references, not values
5964 2003-07-18 André Pönitz <poenitz@gmx.net>
5972 * text3.C: two-phase drawing for InsetText and InsetTabular
5973 some float -> int changes.
5975 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5977 * lyx_main.C: fix the fix
5979 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5981 * lyx_main.C: fix a crash in batch mode if no files specified
5984 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5986 * format.[Ch] (papersize): moved to BufferParams
5987 * converter.[Ch] (dvips_options): moved to BufferParams
5988 (dvipdfm_options): moved to anon namespace
5989 * bufferparams.[Ch]: added above functions.
5991 2003-07-17 André Pönitz <poenitz@gmx.net>
5995 * text2.C: don't call inset->update() anymore
5997 * metricsinfo.[Ch]: add convenience constructor
5999 2003-07-16 André Pönitz <poenitz@gmx.net>
6004 * text2.C: replace the LyXCursor::irow_ member with
6005 on-demand computation of the value
6007 2003-07-16 John Levon <levon@movementarian.org>
6009 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6011 2003-07-15 André Pönitz <poenitz@gmx.net>
6014 * text2.C: remove no more needed refresh_row
6016 2003-07-15 André Pönitz <poenitz@gmx.net>
6021 * text3.C: refresh_status tristate -> need_update bool
6023 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6025 * lyxtext.h (init): remove reinit argument (act as if always true)
6026 * text2.C: adjust to that
6028 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6030 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6031 * text3.C: use it to delete selections in some cases
6032 (bugs 441, 673, 702, 954).
6034 2003-07-14 André Pönitz <poenitz@gmx.net>
6036 * rowpainter.[Ch]: reduce interface
6038 2003-07-14 André Pönitz <poenitz@gmx.net>
6040 * BufferView_pimpl.C:
6041 * text2.C: adjust after removing unused BufferView * argument
6043 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6045 * text2.C (init): fix a crash fired on resize
6047 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6049 * buffer.[Ch]: added new closing signal
6050 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6051 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6052 BufferView::Pimpl via the closing the signal
6054 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6056 * buffer.[Ch]: take out all bv-related from buffer
6058 * BufferView_pimpl.[Ch]: connect to new signals
6059 * CutAndPaste.C: removed useless asserts
6060 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6063 * lyxfunc.C: moved view-related funciontality from vc here
6064 * paragraph.C: removed outdated comments
6067 2003-07-10 André Pönitz <poenitz@gmx.net>
6069 * BufferView_pimpl.C:
6073 * text2.C: remove InsetText::InnerCache, clean up consequences
6075 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6077 * ispell.C: fix two typos in error messages
6079 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6081 * Extend Note inset to other forms of annotation like Comment
6082 and Greyedout. Right button click gives dialog.
6084 Files modified or added (+):
6088 * ControlNote.[Ch] +
6090 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6091 frontends/controllers
6095 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6097 * aspell.C: add missing namespace lyx::support
6099 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6101 * BufferView.[Ch] (newFile): Add
6102 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6103 * LaTeX.[Ch] (message): added this signal and use it
6104 * buffer.[Ch] (busy, message): added these signals and use them
6105 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6109 * importer.C: use buffer signals instead of direct bv calling
6110 * lyx_cb.[Ch] (ShowMessage): removed
6113 * paragraph_funcs.C:
6114 * text2.C: use buffer signals
6116 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * introduce namespace lyx::graphics
6120 2003-07-02 André Pönitz <poenitz@gmx.net>
6122 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6124 2003-07-01 André Pönitz <poenitz@gmx.net>
6131 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6132 text*.C to text_func.C
6134 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6136 * introduce namespace lyx::support
6138 2003-06-30 André Pönitz <poenitz@gmx.net>
6143 * text.C: re-enable --with-included-string
6145 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * textcursor.C: add <config.h>
6149 * text.C (getWord): remove const from word_location arg
6151 * lyxvc.C (getLogFile): fix const type order
6153 * lyxtext.h: remove const from word_location arg, add arg name
6155 * lyxlayout.h: currect type on labeltype.
6157 * importer.C: correct \file
6159 * converter.C (intToFormat): use std:: on ret val, ws changes
6161 * bufferlist.h: correct \file
6163 * buffer.C (makeLinuxDocFile): fix const type order
6164 (makeDocBookFile): ditto
6165 (fillWithBibKeys): use std:: on stdlib args.
6167 * CutAndPaste.C: fix authors.
6168 (availableSelections): use std:: on return vector
6170 2003-06-27 André Pönitz <poenitz@gmx.net>
6172 * BufferView_pimpl.C:
6173 * bufferview_funcs.C:
6181 * text3.C: remove LyXCursor::row_ member
6184 * text.C: rename fullRebreak() to partialRebreak() and implement
6185 a fullRebreak() that really bereks fully
6187 * textcursor.h: new struct for cursor-related data
6189 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6191 * lyx_main.C (LyX): get full path of document loaded on the
6194 2003-06-26 André Pönitz <poenitz@gmx.net>
6196 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6197 remove unused/broken operator>,<,>=.
6199 * text.C: remove only use of broken operator<= in an Assert().
6201 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6203 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6204 moved errorlist_.clear to showErrorList
6206 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6208 * converter.C (scanLog, runLaTeX):
6209 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6210 move the bv->showErrorList call to the callers
6211 * lyxfunc.C: i.e. here...
6213 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6214 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6215 namespace, the second to...
6216 * buffer_funcs (BufferFormat, parseErrors): added
6217 * errorlist.C (ErrorList(TeXErrors const &)): removed
6219 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6221 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6223 2003-06-24 "Garst R. Reese" <reese@isn.net>
6227 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6229 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6231 * version.C.in: change docversion to 1.4
6233 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6235 * buffer.C: fix a bug just introduced
6237 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6239 * buffer.[Ch]: added the parseError signal and use it, removed
6241 * BufferView.[Ch] (addError): moved to ...
6242 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6243 to the Buffer::parseError signal to catch (guess what) parse errors
6244 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6246 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6248 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6249 ability to create a buffer and to return an existing one from
6250 the list. Moved these functions to...
6251 * buffer_funcs.[Ch]: added
6252 * BufferView.[Ch] (loadLyXFile): added
6253 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6254 job removed from bufferlist::loadLyXFile.
6255 * buffer.C (setReadOnly): make it work without view
6256 (i.e added an if (users))
6258 2003-06-19 Angus Leeming <leeming@lyx.org>
6261 * LyXAction.C (init):
6262 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6263 with LFUN_DIALOG_SHOW <name> <data>.
6265 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6267 * CutAndPaste.C (availableSelections): small compilation fix for
6268 ancient (gcc 2.9x) compilers
6270 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * text3.C (cursorNext): add tmp var
6274 * text2.C (updateCounters): for function calling out of for clause
6275 (replaceSelectionWithString): ditto
6276 (insertStringAsParagraphs): ditto
6277 (getColumnNearX): add tmp var
6278 (setCursorFromCoordinates): add tmp var
6279 (cursorDownParagraph): add tmp var
6280 (deleteEmptyParagraphMechanism): add tmp var
6282 * text.C (insertChar): add tmp var
6284 * rowpainter.C (paintDepthBar): add tmp var
6286 * CutAndPaste.C (availableSelections): potentially check all
6287 paragraphs in a cut to fill the shown strings.
6289 2003-06-18 André Pönitz <poenitz@gmx.net>
6291 * kbmap.[Ch]: use vector<> instead of list<>
6293 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6295 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6296 pasteSelection with index
6298 * text2.C (pasteSelection): modify, call pasteSelection with index
6300 * paragraph.C (asString): reimplement version with no interval to
6301 call the one with interval.
6303 * lyxtext.h: add index arg to pasteSelection
6305 * MenuBackend.C (MenuItem): handle PasteRecent
6306 (Menu::read::Menutags): add md_pasterecent
6308 (expandPasteRecent): new function
6311 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6313 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6315 (availableSelections): new function
6317 2003-06-17 Angus Leeming <leeming@lyx.org>
6319 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6321 2003-06-17 Angus Leeming <leeming@lyx.org>
6324 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6326 * lyxfunc.C (dispatch): invoke it.
6328 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6330 * iterators.C (operator++, ParPosition): reintroduce some
6331 const_cast for the benefit of older compilers.
6333 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6335 * text3.C (dispatch): do not modify clipboard when doing
6336 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6337 LFUN_DELETE_SKIP on a selection selection
6339 2003-06-16 André Pönitz <poenitz@gmx.net>
6345 * tabular.[Ch]: IU of clone() and getLabelList();
6347 2003-06-13 André Pönitz <poenitz@gmx.net>
6349 * tabular.h: compactification
6351 2003-06-12 André Pönitz <poenitz@gmx.net>
6355 * tabular_funcs.h: some renaming plus whitespace
6357 2003-06-12 André Pönitz <poenitz@gmx.net>
6360 * BufferView_pimpl.C:
6366 * toc.C: Return a Paragraph & for ParIterator::operator*()
6368 2003-06-11 John Levon <levon@movementarian.org>
6372 * ToolbarBackend.C: add "Toolbars" section and
6375 2003-06-10 Angus Leeming <leeming@lyx.org>
6378 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6380 * lyxfunc.C (dispatch): invoke it.
6382 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6384 * main.C: protect <ios> with HAVE_IOS
6385 (main): protect sync_with_stdio with HAVE_IOS
6387 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6389 * text2.C (cutSelection): adjust
6390 (pasteSelection): adjust
6392 * messages.C: handle get of empty string
6394 * main.C (main): use sync_with_stdio(false)
6396 * lyxfunc.C (dispatch): adjust
6398 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6399 (WriteAs): remove unneeded BufferView arg.
6401 * bufferparams.h: use correct types on papersize, papersize2 and
6404 * bufferparams.C (readToken): adjust for type
6405 (writeLaTeX): add missing cases to switch.
6407 * bufferlist.C (quitWriteBuffer): adjust
6410 * buffer.C (asciiParagraph): remove some commented code.
6412 * CutAndPaste.C: remove current_view extern variable.
6413 (cutSelection): add BufferParams arg.
6414 (eraseSelection): add BufferParams arg.
6415 (pasteSelection): add Buffer const & arg
6417 2003-06-07 John Levon <levon@movementarian.org>
6420 * paragraph_funcs.C:
6421 * paragraph_pimpl.C:
6425 * paragraph.C: allow InsetERT to freely space lines,
6426 and some consolidation of code
6428 2003-06-06 José Matos <jamatos@fep.up.pt>
6430 * buffer.C (makeDocBookFile): fix bug #821
6432 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6434 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6436 2003-06-04 Angus Leeming <leeming@lyx.org>
6438 * buffer.C: bump format to 224.
6440 2003-06-05 André Pönitz <poenitz@gmx.net>
6442 * text2.C (redoParagraphs): remove two const_cast<>
6444 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6446 * ParagraphList.h: remove last remnants of NO_STD_LIST
6448 2003-06-03 Angus Leeming <leeming@lyx.org>
6450 * factory.C (createInset): small change to the way InsetExternal's params
6453 2003-06-04 André Pönitz <poenitz@gmx.net>
6455 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6457 * paragraph_pimpl.h:
6458 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6460 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6462 * undo_funcs.C: make some simple cases of undo work again
6464 2003-06-03 John Levon <levon@movementarian.org>
6466 * ispell.C: HPUX doesn't have sys/select.h
6469 2003-06-03 John Levon <levon@movementarian.org>
6471 * CutAndPaste.C: update tabular and include inset
6476 * paragraph.C: remove owningBuffer(), don't pass Buffer
6479 * factory.C: insetGraphicsParams changed
6481 2003-06-02 John Levon <levon@movementarian.org>
6487 * text3.C: remove insetparent
6489 2003-06-02 John Levon <levon@movementarian.org>
6492 * buffer.C: fix inset_iterator.end(), move out of line
6495 2003-06-01 John Levon <levon@movementarian.org>
6497 * text3.C: use a proper cut/paste when doing inset
6498 insert (from Jürgen Spitzmüller)
6500 2003-06-01 John Levon <levon@movementarian.org>
6502 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6504 2003-05-30 André Pönitz <poenitz@gmx.net>
6506 * rowpainter.C: unify second drawing phase
6508 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * trans_mgr.C: remove one case of current_view
6512 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6514 * paragraph_funcs.h: remove paragraph.h include
6516 * paragraph.h: delete NO_STD_LIST stuff
6518 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6520 * buffer.h: remove paragraph.h include
6522 * ParagraphList.C: delete file
6524 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6526 * toc.C (getTocList): adjust
6528 * paragraph_pimpl.C (validate): adjust
6530 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6532 * paragraph.C (Paragraph): adjust
6533 (getPositionOfInset): use const_iterator, adjust
6534 (bibitem): use const_iterator, adjust
6535 (setInsetOwner): adjust
6537 * iterators.C (operator++): adjust
6539 * InsetList.[Ch]: Replace selfmade iterator with standard
6540 vector::iterator also introduce const_iterator. Remove getPos,
6541 getInset and setInset from InsetTable. Adjust accordingly.
6543 * BufferView.C (lockInset): adjust
6544 (ChangeInsets): adjust
6546 * tabular.[Ch]: delete commented same_id functions
6548 2003-05-28 John Levon <levon@movementarian.org>
6550 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6552 2003-05-28 André Pönitz <poenitz@gmx.net>
6554 * metricsinfo.[Ch]: remove 'fullredraw' member
6556 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6558 * lyxtextclass.C (operator): remove caching.
6560 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6564 * text2.C (cursorBottom): adjust
6565 (setCounter): use ParagraphList::find, adjust
6567 * text.C (workWidth): use ParagraphList::find, adjust
6569 * lyxcursor.C (LyXCursor): adjust
6571 * buffer.C (inset_iterator): adjust
6573 * ParagraphList.h: make iterator(value_type) private, make
6574 ParagraphList a friend of iterator.
6576 * ParagraphList.C (find): new function
6578 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6580 2003-05-27 André Pönitz <poenitz@gmx.net>
6582 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6584 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6586 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6588 2003-05-26 John Levon <levon@movementarian.org>
6590 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6592 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * remove same_id from function signatures, adjust.
6596 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6600 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6602 * paragraph.C (Paragraph): get rid of same_ids parameter
6604 * ParagraphList.C (insert): adjust
6607 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * paragraph_funcs.C (breakParagraph): adjust
6610 (breakParagraphConservative): adjust
6612 * buffer.C (readParagraph): adjust
6614 * ParagraphList.C (insert): take a reference instead of a pointer
6617 * paragraph.[Ch] (id): new function
6619 * bufferlist.C (newFile): adjust
6621 * ParagraphList.C (ParagraphList): adjust
6623 (push_back): take a reference instead of a pointer.
6625 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6627 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6630 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6631 set else use old code.
6633 * ParagraphList.C: remove all NO_NEXT code and only compile this
6634 code of NO_STD_LIST is set.
6636 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6638 * BufferView_pimpl.C:
6648 * graphics/GraphicsConverter.C:
6649 * graphics/PreviewLoader.C: header adjustment
6651 2003-05-23 Angus Leeming <leeming@lyx.org>
6653 * LaTeXFeatures.[Ch] (useBabel): new method.
6654 * bufferparams.C (writeLaTeX): use it.
6656 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * ParagraphList.h (set): remove unused function.
6660 2003-05-23 André Pönitz <poenitz@gmx.net>
6663 * BufferView_pimpl.C:
6667 * undo_funcs.C: setUndo reworked
6669 * iterators.[Ch]: add access to topmost ParagraphList
6671 * lyxtext.[Ch] (workWidth): add a const
6673 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6675 * texrow.[Ch] (increasePos): remove function
6676 * exporter.C (export): removed unused var and outdated comment
6678 2003-05-23 Angus Leeming <leeming@lyx.org>
6680 * latexrunparams.h: rename fragile as moving_arg.
6681 * paragraph.C (simpleTeXOnePar): ditto.
6682 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6684 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6686 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6688 (textUndoOrRedo): comment out a currently unused var.
6690 * paragraph.h (NO_NEXT): enable NO_NEXT
6692 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6694 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6696 * exporter.C (Export): adjust for removeAutoInsets removal.
6698 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6700 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6702 * BufferView.[Ch] (removeAutoInsets): delete function
6704 2003-05-22 Angus Leeming <leeming@lyx.org>
6706 * latexrunparams.h: add a free_spacing variable.
6708 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6709 to pass moving_arg, as the data is stored in runparams.fragile.
6711 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6712 to Inset::latexOptional or to simpleTeXOnePar.
6714 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6715 free_spacing arg to Inset::latexOptional.
6717 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6720 2003-05-22 Angus Leeming <leeming@lyx.org>
6722 * latexrunparams.h: add fragile and use_babel variables.
6724 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6725 * buffer.C (makeLaTeXFile): store this returned value in
6726 runparams.use_babel, thus passing it to the inset::latex methods.
6728 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6729 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6731 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6732 longer has a fragile arg, as it is stored in runparams.fragile.
6734 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6735 moving_arg parameter as the data is stored in runparams.fragile.
6737 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6738 a fragile parameter as the data is stored in runparams.fragile.
6740 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6744 2003-05-22 Angus Leeming <leeming@lyx.org>
6746 * latexrunparams.h: add a 'bool nice' which defaults to false.
6748 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6749 now encapsulated within runparams.
6751 * bufferlist.C (updateIncludedTeXfiles):
6752 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6754 2003-05-22 Angus Leeming <leeming@lyx.org>
6756 * latexrunparams.h: new file containing struct LatexRunParams.
6757 * Makefile.am: add new file.
6759 * LaTeX.[Ch] (c-tor, run):
6760 * buffer.[Ch] (makeLaTeXFile):
6761 * bufferlist.[Ch] (updateIncludedTeXfiles):
6762 * converter.C (convert, scanLog):
6763 * converter.[Ch] (runLaTeX):
6764 * exporter.C (Export):
6765 * paragraph.[Ch] (simpleTeXOnePar):
6766 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6767 * paragraph_funcs.[Ch] (latexParagraphs):
6768 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6769 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6770 pass around a LatexRunParams parameter.
6772 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6774 * paragraph.[Ch]: remove unused constructor
6776 * ParagraphList.C (erase): new function, taking two iterators
6778 2003-05-22 André Pönitz <poenitz@gmx.net>
6780 * undo_funcs.C: remove duplicated code
6782 * iterator.[Ch]: operator=
6784 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6786 * tabular.C (SetMultiColumn): ws changes
6788 * rowpainter.C (paintFirst): get rid of a ->previous
6790 * lyx_cb.C (getPossibleLabel): parlist simplification
6792 * BufferView.C (ChangeInsets): simplify slightly.
6794 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6796 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6797 * lfuns.h: new LFUN_SPACE
6798 * lyxfunc.C: protected space has a new lfun
6799 * paragraph_funcs.C: read new space insets
6801 * factory.C: handle new space insets
6803 2003-05-22 André Pönitz <poenitz@gmx.net>
6806 * BufferView_pimpl.C:
6809 * undo_funcs.C: return a ParIterator from getParFromID.
6811 * iterators.[Ch]: add two const's
6813 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6815 * toc.C (getTocList): adjust
6817 * iterators.[Ch]: rework for parlist
6819 * buffer.C (par_iterator_begin): adjust
6820 (par_iterator_end): adjust
6822 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6824 * BufferView.C (removeAutoInsets): adjust
6825 (ChangeInsets): adjust
6827 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6829 * text.C (top_y): fix bug 1110
6831 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6833 * errorlist.[Ch]: added
6836 * BufferView_pimpl.C:
6837 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6840 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * Makefile.am: ensure that lyx is relinked upon changes to the
6843 various "convenience" libs.
6845 2003-05-20 Angus Leeming <leeming@lyx.org>
6847 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6848 files are compiled in alphabetical order again.
6850 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6852 2003-05-19 Angus Leeming <leeming@lyx.org>
6854 * gettext.[Ch]: remove "char const * _(char const *)".
6856 2003-05-19 André Pönitz <poenitz@gmx.net>
6858 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6867 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6869 2003-05-19 André Pönitz <poenitz@gmx.net>
6873 * lyxtextclass.[Ch]:
6875 * paragraph_funcs.[Ch]:
6877 * text3.C: more insetenv work
6879 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6881 * ParagraphParameters.C (params2string): small bug fixed
6883 2003-05-16 André Pönitz <poenitz@gmx.net>
6886 * bufferview_funcs.C: patch from Kornel Benko to prevent
6887 crash when _(...) is called twice in a statement
6889 2003-05-16 André Pönitz <poenitz@gmx.net>
6896 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6898 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6900 * lyx_main.C (init): remove spurious static_cast
6902 2003-05-14 André Pönitz <poenitz@gmx.net>
6904 * BufferView.C: fix format string
6906 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6908 * BufferView.[Ch] (insertErrors): removed
6909 * BufferView.[Ch] (showErrorList): added
6910 * buffer.C (runChkTeX):
6911 * converter.C (scanLog): call showErrorList instead of inserterrors
6913 2003-05-13 André Pönitz <poenitz@gmx.net>
6915 * BufferView_pimpl.C:
6917 * bufferview_func.C:
6924 * tabular_funcs.h: tostr() from its own header
6926 * ParagraphParameters.C:
6931 * text3.C: STRCONV()
6933 2003-05-12 André Pönitz <poenitz@gmx.net>
6936 * BufferView_pimpl.C:
6940 * ParagraphParameters.C:
6944 * bufferview_funcs.C:
6957 * paragraph_funcs.C:
6961 * text3.C: boost::format -> bformat all over the place
6964 2003-05-09 André Pönitz <poenitz@gmx.net>
6966 * LColor.[Ch]: Pimpl the #include <map> away
6968 2003-05-09 John Levon <levon@movementarian.org>
6970 * bufferlist.C: never remove emergency saves
6972 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6974 * Makefile.am: better lib building
6976 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6980 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6981 (simpleTeXSpecialChars): adjust
6982 (simpleTeXSpecialChars): adjust
6983 * paragraph.C (simpleTeXOnePar): adjust
6984 * buffer.C (makeLaTeXFile): adjust
6986 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6988 * text2.C (changeDepth): parlist cleanup
6989 (getColumnNearX): ditto
6991 * rowpainter.C (getLabelFont): parlist cleanup
6993 * bufferlist.C (newFile): parlist cleanup
6995 * CutAndPaste.C (eraseSelection): parlist cleanup
6997 * BufferView_pimpl.C (trackChanges): parlist cleanup
7000 * BufferView.C (lockInset): parlist cleanup.
7001 (ChangeInsets): ditto
7003 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * CutAndPaste.h: Update file header.
7007 * CutAndPaste.C: Update file header.
7008 Store the parts cut out of the Document in a limited_stack.
7009 (copySelection): adjust
7010 (pasteSelection): new function, takes the index in the limited stack.
7011 (nrOfParagraphs): adjust
7012 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7013 simplify error inset insertion.
7014 (checkPastePossible): adjust
7016 2003-05-06 John Levon <levon@movementarian.org>
7018 * text2.C: don't cast wrap inset to float
7020 2003-05-05 André Pönitz <poenitz@gmx.net>
7023 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7025 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7026 few naked Paragraph *.
7028 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7030 * bufferparams.C: Output warning if a document with missing
7031 TeX document class is loaded
7032 * exporter.C: Disable TeX exports if the document class is missing
7035 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7036 isTeXClassAvailable()
7038 2003-05-03 John Levon <levon@movementarian.org>
7041 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7042 explicit cursor show/hide
7044 * BufferView_pimpl.h:
7045 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7046 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7048 * lyxfunc.C: hide cursor before dispatching.
7053 * text3.C: remove explicit cursor hides
7055 2003-05-02 André Pönitz <poenitz@gmx.net>
7057 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7060 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7063 * text2.C: tiny whitespace
7065 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * undo_funcs.C: almost only ws changes.
7069 * ParagraphList.C (splice): just return if pl is empty.
7071 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * ParagraphList.C (splice): new function.
7075 * CutAndPaste.C (pasteSelection): use it
7077 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * CutAndPaste.C (pasteSelection): remove the last next and
7080 previous from this file.
7082 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * CutAndPaste.C (pasteSelection): more clean up, user proper
7085 ParagraphList functions for pasteing.
7087 * ParagraphList.C (insert): new function, three arg insert
7089 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * ParagraphList.C (insert): new function, three arg insert
7093 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7096 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7100 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7104 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7107 (copySelection): clean up a bit.
7108 (pasteSelection): use make_pair
7110 * ParagraphList.C (ParagraphList): implement copy constructor
7111 (operator=): implement, base on copy constructor.
7114 * paragraph.C (erase): return a bool
7116 * paragraph_pimpl.C (erasePos): remove function, move contents...
7117 (erase): ... here. Return a bool.
7118 (erase): call erase instead of erasePos.
7120 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7122 * ParagraphList.h: define PitPosPair
7123 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7124 ParagraphList, fix a bug on pasting multiple pars
7125 * text2.C: change interface to C&P
7127 2003-04-30 André Pönitz <poenitz@gmx.net>
7129 * undo_func.C: revert part of yesterday's patch 2
7131 2003-04-30 John Levon <levon@movementarian.org>
7133 * LColor.C: s/tabular/table/
7135 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7137 * text3.C (dispatch): do not convert iterator -> pointer
7138 * undo_funcs.C (setCursorParUndo): ditto
7139 * text_funcs.C (transposeChars): ditto
7141 * text2.C (setLayout): ws changes only
7143 * text.C (breakParagraph): do not convert iterator -> pointer
7145 (acceptChange): ditto
7146 (rejectChange): ditto
7151 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7154 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7156 * text3.C (gotoInset): YABG (yet another bad getChar)
7158 2003-04-29 André Pönitz <poenitz@gmx.net>
7160 * paragraph.h: make operator= private unimplemented as long as
7163 * ParagraphList.C: whitespace
7166 * paragraph_pimpl.[Ch]:
7167 * paragraph_funcs.C:
7169 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7172 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7174 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7176 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7177 * paragraph.[Ch] (erase):
7178 * paragraph_pimpl.[Ch] (erase): change return type and value
7179 * text2.C (cutSelection): some rework
7181 2003-04-28 John Levon <levon@movementarian.org>
7183 * bufferlist.C: changes for unsaved changes dialog
7185 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * bufferlist.C (newFile): set language (messages_) for new
7190 * buffer.C (readFile): ws changes only.
7192 2003-04-28 André Pönitz <poenitz@gmx.net>
7197 * BufferView_pimpl.C:
7198 * BufferView.C: getParFromID related ParagraphList::iterator changes
7200 2003-04-28 André Pönitz <poenitz@gmx.net>
7202 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7205 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * messages.C: remove one more localedir class variable.
7209 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * messages.C (getLocaleDir): singleton generation function
7213 (Messages): add a default constructor.
7215 * main.C (main): do not setup localedir here, do not call
7218 * gettext.C (_): use it.
7219 (gettext_init): delete funciton
7221 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7223 * gettext.C (getLyXMessages): new singleton generating function.
7225 * buffer.C (updateDocLang): adjust
7227 * Makefile.am (messages.o): add target
7228 (main.o): remove target
7230 2003-04-27 John Levon <levon@movementarian.org>
7235 * lyxvc.C: specify cancel button in Alert::prompt
7237 2003-04-26 John Levon <levon@movementarian.org>
7242 * LyXAction.C: add LFUN_INSET_SETTINGS
7244 * lyxfunc.C: don't enable tabular-feature when there's
7245 just any locking inset
7247 2003-04-26 John Levon <levon@movementarian.org>
7249 * bufferlist.C: re-add Cancel to buffer close question
7251 * lyxfunc.C: fix import UI a bit
7253 2003-04-25 John Levon <levon@movementarian.org>
7255 * gettext.C: remove the broken asserts for now
7257 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * messages.C: make case where setlocale cannot comply work better.
7261 * buffer.C (updateDocLang): new function
7262 (changeLanguage): use it
7265 * text2.C (setCounter): use B_ a bit.
7267 * lyxlayout.C (Read): be sure to trim the label strings.
7269 * messages.C (Messages): fix typo in comment
7271 * buffer.C (readFile): set message_ after file is loaded.
7272 (makeDocBookFile): remove double return
7273 (changeLanguage): reset message_ upon language change.
7274 (B_): new func, use this to get translated buffer strings.
7276 * main.C: add myself and Jean Marc as authors.
7278 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * messages.[hC]: pimplify Messages, and three different pimpls to be
7281 used in different circumstances.
7283 * gettext.[Ch]: change for use with new message code.
7285 2003-04-24 André Pönitz <poenitz@gmx.net>
7287 * factory.C: support for eqref
7289 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7291 * messages.[Ch]: add missing char
7293 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7295 * messages.[Ch]: New files
7297 2003-04-18 John Levon <levon@movementarian.org>
7301 * BufferView_pimpl.C:
7305 * text2.C: remove layout-copy/paste (bug 778)
7307 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7309 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7311 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7313 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7314 if they succeed. Act accordingly.
7316 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7318 * text2.C (setCharFont): adjust
7319 (setCounter): adjust
7320 (insertStringAsLines): adjust
7322 * text.C (leftMargin): adjust
7323 (setHeightOfRow): adjust
7325 * rowpainter.C (paintFirst): adjust
7328 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7330 (isFirstInSequence): ditto
7331 (getEndLabel): ditto
7334 * paragraph.C (getParLanguage): comment out some hard stuff.
7336 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7338 (simpleDocBookOnePar): ditto
7339 (makeDocBookFile): use ParagraphList::iterator
7341 * CutAndPaste.C (pasteSelection): adjust
7343 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7345 * text2.C (getFont): adjust
7346 (getLayoutFont): adjust
7347 (getLabelFont): adjust
7349 * paragraph_funcs.C (TeXOnePar): adjust
7351 * buffer.C (simpleLinuxDocOnePar): adjust
7352 (simpleDocBookOnePar): adjust
7354 * CutAndPaste.C (pasteSelection): adjust
7356 * BufferView.C (getEncoding): adjust
7358 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7360 2003-04-16 John Levon <levon@movementarian.org>
7362 * lyxfind.C: use parlist stuff for search/changes
7364 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7366 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7368 * text2.C (deleteEmptyParagraphMechanism): adjust
7370 * text2.[Ch] (ownerParagraph): delete func (both of them
7372 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7374 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7376 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * ParagraphList.C: prepare for NO_NEXT
7380 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * text2.C (getFont): adjust
7383 (getLayoutFont): adjust
7384 (getLabelFont): adjust
7386 * paragraph.C (getFont): adjust
7387 (getLabelFont): adjust
7388 (getLayoutFont): adjust
7390 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7392 2003-04-15 John Levon <levon@movementarian.org>
7396 * lyx_main.C: handle Include in .ui files
7398 2003-04-15 John Levon <levon@movementarian.org>
7400 * MenuBackend.C: make the doc files length shorter
7403 * ToolbarBackend.C: handle toolbar placement flags,
7406 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7411 * paragraph_funcs.C (TeXOnePar): adjust
7413 * paragraph.C (getLabelFont): add outerfont arg, adjust
7414 (getLayoutFont): ditto
7415 (simpleTeXOnePar): adjust
7417 * paragraph_pimpl.C (realizeFont): delete func
7419 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7421 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7422 row argument, constify cur argument.
7424 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * text2.C (getFont): adjust
7427 (getLayoutFont): adjust
7428 (getLabelFont): adjust
7430 * paragraph_funcs.C (TeXOnePar): adjust
7431 (outerFont): new func...
7432 (realizeFont): ...moved out from here, changed this to facilitate
7435 * paragraph.C (getFont): take outerfont as arg, adjust
7436 (simpleTeXOnePar): add outerfont arg, adjust
7438 * buffer.C (simpleLinuxDocOnePar): adjust
7439 (simpleDocBookOnePar): adjust
7441 * CutAndPaste.C (pasteSelection): adjust
7443 * BufferView.C (getEncoding): adjust
7445 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7447 * text2.C (setCharFont): adjust
7448 (setCounter): adjust
7450 * text.C (leftMargin): adjust
7451 (setHeightOfRow): adjust
7453 * rowpainter.C (paintFirst): adjust
7456 * paragraph_pimpl.C (realizeFont): adjust
7458 * paragraph.C (isFirstInSequence): move from here...
7459 * paragraph_funcs.C (isFirstInSequence): ...to here
7461 * paragraph.C (outerHook): move from here...
7462 * paragraph_funcs.C (outerHook): ...to here
7464 * paragraph.C (depthHook): move from here...
7465 * paragraph_funcs.C (depthHook): ...to here
7467 * paragraph.C (getEndLabel): move from here...
7468 * paragraph_funcs.C (getEndLabel): ...to here
7470 * text2.C (realizeFont): move from here...
7471 * paragraph_funcs.C (realizeFont): ...to here
7473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7477 2003-04-14 Angus Leeming <leeming@lyx.org>
7479 * LColor.[Ch]: scrap LColor mathcursor.
7481 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * lyxlex.[Ch] (text): delete function
7484 * trans.C (Load): adjust
7485 * paragraph_funcs.C (readParToken): adjust
7487 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7489 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7490 vector<char> instead of a char[].
7492 * lyxlex_pimpl.C (getString): adjust
7494 (lex): use getString
7498 * lyxlex.C (text): use pimpl_->getString()
7502 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7505 (makeFontEntriesLayoutSpecific): temp var for par.size()
7506 (setLayout): temp var for ownerParagraphs().end()
7507 (fullRebreak): temp var for rows().end()
7508 (selectionAsString): temp var for boost::next(startpit), realize
7509 that the while really is a regular for loop.
7510 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7511 setCursor in one place.
7512 (setParagraph): temp vr for ownerParagraphs().end()
7513 (updateCounters): make the while loop a for loop
7514 (cutSelection): temp var for ownerParagraphs().end()
7515 (updateInset): make the do {} while() a regular for loop
7516 (getCursorX): use temp vars
7517 (setCurrentFont): use temp vars
7518 (getColumnNearX): use temp vars
7520 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * text.C (transformChar): use temp var for getChar
7523 (computeBidiTables): use temp var for row->par()
7524 (fill): move temp vars for row->par() and pit->layout() earlier in
7526 (labelFill): use temp var for row->par()
7527 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7528 asc and desc, realize that pit never changes and that firstpit is
7529 just a duplicate and not needed. Exchange rit->par() with pit in a
7531 (breakAgain): use a temp var for boost::next(rit)
7532 (breakAgainOneRow): ditto
7533 (breakParagraph): use a temp var for rows().begin()
7534 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7535 (cursorRightOneWord): use temp var for cursor.par() and
7536 cursor.pos(), remove usage of tmpcursor.
7537 (cursorLeftOneWord): use temp var for cursor.par() and
7538 cursor.pos() only set cur at end of function.
7540 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7542 * text.C, text2.C: exchange all usage of Paragraph::next with
7543 boost::next(ParagraphList::iterator)
7545 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7547 * text2.C (cursorTop): simplify implementation
7548 (cursorBottom): ditto
7549 (setParagraph): use ParagraphList::iterator
7550 (setCurrentFont): adjust
7551 (getColumnNearX): adjust
7552 (cursorRight): adjust
7553 (cursorLeft): remove usage of Paragraph::previous
7554 (cursorUpParagraph): ditto
7555 (deleteEmptyParagraphMechanism): slight cleanup
7557 * text.C (isBoundary): take a Paragraph const & instead of a
7559 (addressBreakPoint): ditto
7560 (leftMargin): remove usage of Paragraph::previous.
7561 (setHeightOfRow): ditto
7562 (cursorLeftOneWord): ditto
7563 (selectNextWordToSpellcheck): ditto
7566 (breakParagraph): remove one usage of Paragraph::next
7567 (redoParagraph): ditto
7568 (acceptChange): ditto
7569 (insertChar): adjust
7570 (rowBreakPoint): adjust
7572 * bufferview_funcs.C (toggleAndShow): adjust
7574 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7576 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7577 methods to access it.
7579 * text.C: Added updateRowPositions to compute all row positions.
7580 Make top_y and getRowNearY() to use the cached y position
7582 2003-04-11 John Levon <levon@movementarian.org>
7584 * text.C (rowBreakPoint): reintroduce the labelEnd
7585 checks, code copied from the row fill stuff. Deep voodoo.
7587 * text.C (fill): add a comment and debugging for the
7590 2003-04-11 John Levon <levon@movementarian.org>
7592 * text.C: make sure fullrow insets get wrapped to the next line,
7593 even when they're in a manual label
7595 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * text2.C (insertParagraph): make it take ParagraphList::iterator
7599 (setLayout): make it return ParagraphList::iterator
7600 (redoParagraphs): ditto
7602 (checkParagraph): ditto
7604 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7606 * text2.C: adjust several funcs.
7607 (realizeFont): take a ParagraphList::iterator as arg.
7608 (getLayoutFont): ditto
7609 (getLabelFont): ditto
7610 (setCharFont): ditto
7612 * text.C: adjust several funcs.
7614 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7616 * text.C (selectNextWordToSpellcheck): don't accidentally
7619 2003-04-10 John Levon <levon@movementarian.org>
7621 * ToolbarBackend.C (getIcon): special handling for
7624 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7626 * text2.C (cursorRight): a getChar assert fixed
7628 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * text2.C (getFont): change to take a ParagraphList::iterator
7631 instead of Paragraph*
7632 Adjust several functions.
7634 * text.C (transformChar): change to take a ParagraphList::iterator
7635 instead of Paragraph*
7636 (singleWidth): ditto
7637 Adjust several functions.
7639 * rowpainter.C: adjust several functions
7640 * rowpainter.h:store a ParagraphList::iterator and not a
7644 2003-04-09 John Levon <levon@movementarian.org>
7649 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7650 and the "help" bits as well
7652 2003-04-09 John Levon <levon@movementarian.org>
7655 * ToolbarBackend.C: allow multiple toolbars
7657 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7659 * undo_funcs.C (setCursorParUndo): adjust
7661 * text_funcs.C (transposeChars): adjust
7663 * text3.C (gotoNextInset): adjust
7666 * text2.C (setLayout): adjust
7667 (changeDepth): adjust
7669 (redoParagraphs): adjust
7670 (selectionAsString): adjust
7671 (setParagraph): adjust
7672 (insertInset): adjust
7673 (cutSelection): adjust
7674 (copySelection): adjust
7675 (pasteSelection): adjust
7676 (insertStringAsLines): adjust
7677 (updateInset): adjust
7678 (setCursor): change to take a ParagraphList::iterator parameter
7679 (setCursorIntern): change to take a ParagraphList::iterator parameter
7680 (setCurrentFont): adjust
7681 (cursorLeft): adjust
7682 (cursorRight): adjust
7683 (deleteEmptyParagraphMechanism): adjust
7685 * text.C (breakParagraph): adjust
7686 (insertChar): adjust
7687 (acceptChange): adjust
7688 (rejectChange): adjust
7689 (selectNextWordToSpellcheck): adjust
7690 (changeCase): adjust
7694 * lyxfind.C (SearchForward): adjust
7695 (SearchBackward): adjust
7696 (nextChange): adjust
7698 * lyxcursor.C (par): adjust
7700 * lyxcursor.h: store a ParagraphList::iterator instead of a
7703 * lyx_cb.C (getPossibleLabel): adjust
7705 * bufferview_funcs.C (toggleAndShow): adjust
7707 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7710 * BufferView.C (removeAutoInsets): adjust
7711 (lockedInsetStoreUndo): adjust
7713 2003-04-09 John Levon <levon@movementarian.org>
7715 * ToolbarBackend.C: try icon without argument
7716 if with argument fails
7718 2003-04-08 John Levon <levon@movementarian.org>
7721 * ToolbarBackend.C: add getIcon(), handle tooltip,
7722 and change from "Icon" to "Item".
7724 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7726 * BufferView.C (lockInset): another bad getchar crunched
7728 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7730 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7733 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7735 * lyxfind.C (searchForward, searchBackwards): bug 782
7737 2003-04-07 John Levon <levon@movementarian.org>
7739 * paragraph.C: remove dead comment
7741 * text.C: remove troublesome depth-fiddling code
7742 in leftMargin() and rightMargin() (bug 1017)
7744 * text.C: fix breaking of rows in nested lists
7747 * text2.C (updateCounters): fix up depth values
7750 2003-04-07 John Levon <levon@movementarian.org>
7752 * BufferView_pimpl.C: clear message when doc finishes resizing,
7753 and after a mouse event
7755 * lyxfunc.C: clear message after exiting inset
7757 2003-04-07 John Levon <levon@movementarian.org>
7759 * bufferview_funcs.C: show math status not outside
7760 status in the statusbar
7762 2003-04-07 John Levon <levon@movementarian.org>
7764 * lyxfunc.C: note status changed after a depth change
7766 2003-04-04 Angus Leeming <leeming@lyx.org>
7768 * LaTeX.h: move AuxInfo operator==, != out of line.
7769 Remove LaTeX virtual destructor; nothing derives from it.
7770 Move operator()() out of public area and rename it startscript().
7771 Change protected for private.
7773 2003-04-04 Angus Leeming <leeming@lyx.org>
7776 * text2.C: remove unneeded #includes.
7778 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7780 * text2.C (dEPM): fix the heigth of the next row
7782 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7784 * text.C: squashed an invalid getChar requester + some ws changes
7786 2003-04-03 John Levon <levon@movementarian.org>
7788 * bufferview_funcs.h:
7789 * bufferview_funcs.C:
7792 * text2.C: make getStatus work for the env depth lfuns
7794 2003-04-03 John Levon <levon@movementarian.org>
7796 * bufferview_funcs.h:
7797 * bufferview_funcs.C:
7800 * text2.C: parlistize decDepth(), by merging it with incDepth()
7802 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * lyxrow.h: store a ParagraphList::iterator instead of a
7805 Paragraph* and adjust other class functions to suit.
7807 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7810 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7812 * text2.C (setCursor): do not anchor to cursor row for the time being
7814 2003-04-02 John Levon <levon@movementarian.org>
7821 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7823 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * paragraph.h: make ParagraphList and ParagraphList::iterator
7826 friends of Paragraph.
7828 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7830 * ParagraphList.C: Use the private next_ and previous_ from
7833 2003-04-01 John Levon <levon@movementarian.org>
7837 * Makefile.am: rename, remove defaults gunk
7840 * MenuBackend.C: remove defaults gunk
7843 * Languages.C: remove defaults gunk
7846 * lyx_main.C: error out if files couldn't be found.
7848 2003-04-02 John Levon <levon@movementarian.org>
7850 * text2.C: make incDepth() use parlist
7852 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7854 * undo_funcs.C (firstUndoParagraph): adjust
7856 * text3.C (gotoInset): adjust
7857 (dispatch): adjust, and rewrite loop.
7859 * text2.C (init): adjust, and rewrite loop.
7860 (redoParagraphs): adjust
7861 (updateInset): adjust, and rewrite loop.
7862 (deleteEmptyParagraphMechanism): adjust
7864 * tabular.C (LyXTabular): adjust
7865 (SetMultiColumn): adjust
7868 * lyxtext.[Ch] (ownerParagraph): delete function
7869 (ownerParagraphs): new function returns a ParagraphList.
7871 * BufferView.C (removeAutoInsets): adjust
7872 (insertErrors): adjust
7873 (setCursorFromRow): adjust
7875 2003-04-01 Angus Leeming <leeming@lyx.org>
7877 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7880 2003-04-02 John Levon <levon@movementarian.org>
7886 * text_funcs.C: make transposeChars a free function
7888 * lyxrow_funcs.C: remove wrong comment
7890 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7893 * rowpainter.C: adjust
7898 * lyxrow_funcs. [Ch]: new files
7900 * lyxrow.[Ch]: remove next and previous pointers
7901 (next,previous): remove accessor functions
7902 (isParEnd): move to lyxrow_funcs
7903 (lastPos): move to lyxrow_funcs
7904 (nextRowIsAllInset): move to lyxrow_funcs
7905 (lastPrintablePos): move to lyxrow_funcs
7906 (numberOfSeparators): move to lyxrow_funcs
7907 (numberOfHfills): move to lyxrow_funcs
7908 (numberOfLabelHfills): move to lyxrow_funcs
7909 (hfillExpansion): move to lyxrow_funcs
7913 * bufferview_funcs.C (toggleAndShow): adjust
7915 * RowList.h: Remove class RowList from file leave just a
7918 * RowList.C: delete file
7920 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7923 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * text3.C (cursorPrevious): adjust
7926 (cursorNext): adjust
7929 * text2.C (redoHeightOfParagraph): adjust
7930 (redoDrawingOfParagraph): adjust
7933 * text.C (breakParagraph): adjust
7934 (insertChar): adjust
7937 * rowpainter.C (RowPainter): adjust
7938 (leftMargin): simplify and adjust
7939 (most rowpainter functions): adjust.
7941 * rowpainter.h: store the row as RowList::iterator not as Row*
7943 * lyxcursor.C (row): taka RowList::iterator as arg
7946 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7949 2003-04-01 Angus Leeming <leeming@lyx.org>
7951 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7952 stuff like bool Bool.
7954 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7956 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7959 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7964 * lyxtext.h (rows): drop one version and leve a const variant that
7965 returns a RowList::iterator.
7967 2003-03-31 Angus Leeming <leeming@lyx.org>
7969 * text.C (fill): ensure that the signature is the same as that in the
7972 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7974 * text2.C (redoParagraphs): adjust
7975 (updateCounters): adjust
7976 (checkParagraph): adjust
7977 (getColumnNearX): adjust and reformat a bit.
7979 * text.C (top_y): adjust
7981 (leftMargin): adjust
7982 (prepareToPrint): adjust
7984 (getRowNearY): adjust
7986 * lyxtext.h: make rowlist_ mutable.
7988 * RowList.h: add const_iterator
7989 * RowList.C: adjust for RowList::const_iterator.
7991 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7994 2003-03-31 John Levon <levon@movementarian.org>
7997 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7999 * lyx_main.C: set default fonts from using lyx_gui funcs
8001 * exporter.C: pdf_mode moved from lyxrc
8004 * lyxfunc.C: changes from above
8006 2003-03-31 John Levon <levon@movementarian.org>
8008 * lyx_main.C: fix to the last fix
8010 2003-03-31 John Levon <levon@movementarian.org>
8012 * bufferlist.C: "Load original" -> "Load Original"
8018 * format.C: more Alert cleanups
8020 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * text2.C (removeParagraph): make it take a RowList::iterator as
8024 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8025 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8027 * text.C (anchor_row): make it take a RowList::iterator as arg,
8029 (computeBidiTables): make it take a const reference to Row instead
8030 of Row pointer, adjust.
8031 (leftMargin): make it take a RowList::iterator as arg, adjust.
8032 (rowBreakPoint): adjust
8033 (breakAgainOneRow): make it take a RowList::iterator as arg,
8035 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8037 * bufferview_funcs.C (toggleAndShow): adjust
8039 2003-03-30 John Levon <levon@movementarian.org>
8043 * boost-inst.C: moved to support
8045 * several files: changes as a result
8047 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * text2.C (LyXText): adjust.
8051 (removeRow): make it take a RowList::iterator as arg, adjust.
8052 (fullRebreak): adjust
8053 (deleteEmptyParagraphMechanism): adjust
8054 (clearPaint): adjust
8057 * text.C (top_y): adjust
8058 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8059 (breakAgain): make it take a RowList::iterator as arg, adjust.
8060 (breakParagraph): adjust
8061 (insertChar): adjust
8064 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8065 need_break_row, and refresh_row.
8067 * text3.C (dispatch): adjust
8069 * text2.C (checkParagraph): adjust
8071 (setCursorFromCoordinates): adjust
8073 * text.C (top_y): adjust
8075 (getRow): make it return a RowList::iterator, adjust
8076 (getRowNearY): make it return a RowList::iterator, adjust
8078 * text2.C (init): adjust
8079 (insertRow): remove function
8080 (insertParagraph): adjust
8081 (redoParagraphs): adjust
8082 (fullRebreak): adjust
8083 (updateCounters): adjust
8085 * text.C (top_y): rewrite to use RowList iterators.
8087 (setHeightOfRow): rewrite to sue RowList iterators.
8088 (appendParagraph): adjust
8089 (breakAgain): adjust
8090 (breakAgainOneRow): adjust
8091 (breakParagraph): adjust
8093 (getRowNearY): adjust, and remove commented code.
8095 * lyxtext.h (firstRow): delete function
8096 (lastRow): delete function
8097 (rows): new function (const and non-const versions.)
8098 (insertRow): delete function
8100 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8102 2003-03-29 John Levon <levon@movementarian.org>
8104 * BufferView_pimpl.C: always update scrollbar top
8105 because pasting text when we're anchored could mean we
8106 miss an update altogether
8108 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8110 * text2.C (init): use rowlist_.end() and not 0.
8111 (insertRow): change to take a RowList::iterator as arg, adjust
8113 (insertParagraph): change to take a RowList::iterator as arg,
8115 (redoParagraphs): remove some debug msgs.
8117 * text.C (appendParagraph): change to take a RowList::iterator
8118 arg, adjust for this.
8119 (breakAgain): add an assert
8120 (breakAgainOneRow): ditto
8122 2003-03-29 John Levon <levon@movementarian.org>
8124 * text2.C: do not clear selection after inc/decDepth
8127 2003-03-29 John Levon <levon@movementarian.org>
8130 * buffer.C: fix broken strerrors according to Lars
8132 2003-03-29 John Levon <levon@movementarian.org>
8134 * converters.C: more Alert cleanups
8136 2003-03-29 John Levon <levon@movementarian.org>
8138 * bufferview_funcs.C: remove pointless Alert
8140 * buffer.C: fix confusing error message when
8141 a template is chmoded 000
8143 2003-03-29 John Levon <levon@movementarian.org>
8147 * BufferView_pimpl.C: Alert fixes
8151 * tabular-old.C: remove unused table compat reading
8153 2003-03-29 John Levon <levon@movementarian.org>
8158 * lyx_cb.C: more Alert cleanups
8160 * lyxfunc.C: don't allow chktex if not latex document
8162 2003-03-29 John Levon <levon@movementarian.org>
8166 * buffer.C: warnings pushed down from support/,
8169 2003-03-29 John Levon <levon@movementarian.org>
8171 * lyxfunc.C: safety check for C-r (revert)
8173 2003-03-29 John Levon <levon@movementarian.org>
8176 * bufferlist.C: several UI fixes using Alert::prompt.
8177 Fix the pointless looping quit code. Fix stupid revert
8182 * lyx_cb.C: use Alert::prompt
8184 * lyx_main.C: remove a silly question
8186 * lyxfunc.C: remove a couple of silly questions,
8189 2003-03-28 John Levon <levon@movementarian.org>
8191 * text2.C: fix bug 974 (End on empty par)
8193 2003-03-28 John Levon <levon@movementarian.org>
8195 * BufferView_pimpl.C:
8197 * lfuns.h: remove do-nothing math greek lfuns
8199 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * lyxgluelength.h (isValidGlueLength): add default arg on
8202 parameter 2. Remove default arg from friend in class.
8204 * lyxlength.h (isValidLength): add default arg on parameter 2.
8205 Remove default arg from friend in class.
8207 * text2.C (LyXText): adjust, initialize refresh_row.
8211 (insertParagraph): adjst
8212 (redoParagraphs): adjust
8213 (fullRebreak): adjust
8214 (updateCounters): adjust
8215 (deleteEmptyParagraphMechanism): first attempt at fixing a
8218 * text.C (top_y): adjust
8219 (setHeightOfRow): adjust
8221 (getRowNearY): adjust
8223 * lyxtext.h: include RowList.h
8224 (~LyXText): not needed anymore, deleted.
8225 (firstRow): modify for RowList
8226 (lastRow): new function
8227 Delete firstrow and lastrow class variables, add a Rowlist
8228 rowlist_ class variable.
8230 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8233 * RowList.C (insert): fix case where it == begin().
8235 2003-03-26 Angus Leeming <leeming@lyx.org>
8237 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8238 the thesaurus dialog.
8240 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8244 * RowList.[Ch]: new files
8246 * ParagraphList.C (erase): handle the case where it == begin
8249 2003-03-25 John Levon <levon@movementarian.org>
8253 * aspell.C: add new aspell support
8256 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8259 2003-03-25 Angus Leeming <leeming@lyx.org>
8262 * LyXAction.C (init): new LFUN_INSET_INSERT.
8264 * BufferView_pimpl.C (dispatch): split out part of the
8265 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8267 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8270 2003-03-25 Angus Leeming <leeming@lyx.org>
8272 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8274 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8277 * text3.C: remove useless row->height(0)
8279 2003-03-25 John Levon <levon@movementarian.org>
8283 * text3.C: rename the refreshing stuff to better names
8285 2003-03-24 John Levon <levon@movementarian.org>
8287 * BufferView_pimpl.h:
8288 * BufferView_pimpl.C: update layout choice on a mouse
8291 2003-03-23 John Levon <levon@movementarian.org>
8293 * Makefile.am: fix commandtags.h reference
8295 2003-03-22 John Levon <levon@movementarian.org>
8297 * BufferView_pimpl.C:
8302 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8304 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8307 * text.C: take the rtl methods out of line
8309 2003-03-21 André Pönitz <poenitz@gmx.net>
8311 * metricsinfo.[Ch]: new files containing structures to be passed around
8312 during the two-phase-drawing...
8314 2003-03-21 André Pönitz <poenitz@gmx.net>
8316 * lyxtextclass.C: read 'environment' tag.
8318 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8320 * text2.C (removeRow): fix bug 964
8322 2003-03-20 John Levon <levon@movementarian.org>
8326 * text2.C: paint cleanups. Inset::update() dropped font
8329 2003-03-19 John Levon <levon@movementarian.org>
8331 * lyxfunc.C: only fitcursor/markDirty if available()
8333 2003-03-19 John Levon <levon@movementarian.org>
8335 * commandtags.h: rename to ...
8337 * lfuns.h: ... this, and renumber / cleanup
8339 2003-03-19 John Levon <levon@movementarian.org>
8341 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8342 fit the cursor after an lfun
8346 * BufferView_pimpl.h:
8347 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8349 * LyXAction.C: layout-character should have ReadOnly
8351 * ParagraphParameters.C:
8353 * bufferview_funcs.C:
8360 * undo_funcs.C: changes from above
8362 2003-03-18 John Levon <levon@movementarian.org>
8364 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8365 remove it from update()
8367 * lyxfunc.C: update layout choice after an lfun
8369 * text3.C: remove extra updateLayoutChoice()s
8371 2003-03-18 John Levon <levon@movementarian.org>
8373 * text.C: top_y change means full repaint, fix
8374 a drawing bug with cursor movement
8376 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8380 * text2.C: anchor row on setCursor
8382 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8384 * lyxtext.h: remove almost all mutable keywords
8387 * text3.C: remove const keywords accordingly
8389 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8393 (TeXEnvironment): ditto
8396 2003-03-17 John Levon <levon@movementarian.org>
8398 * text.C (rowBreakPoint): remove attempt to fix displayed
8399 math insets inside a manual label
8401 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8403 * lyxtext.h: remove BufferView* as first arg from almost all class
8405 * other files: adjust.
8407 2003-03-17 John Levon <levon@movementarian.org>
8411 * text2.C: more paint cleanups
8413 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8416 * rowpainter.C: remove "smart" background painting code
8418 2003-03-16 John Levon <levon@movementarian.org>
8423 * text3.C: add helper functions for setting refresh_row/y
8425 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8427 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8428 newline inset which *can* get inserted in the pass_thru layouts.
8429 This is primarily for literate documents.
8431 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8433 * buffer.C: increment LYX_FORMAT to 223
8435 2003-03-14 André Pönitz <poenitz@gmx.net>
8437 * textclass.h: prepare for environment handling, ws changes
8438 * lyxlayout.C: read latexheader and latexfooter tags
8440 2003-03-14 John Levon <levon@movementarian.org>
8442 * text2.C: rewrite ::status() a bit
8444 2003-03-13 John Levon <levon@movementarian.org>
8446 * lyxtext.h: add some docs
8448 2003-03-13 John Levon <levon@movementarian.org>
8453 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8455 2003-03-13 John Levon <levon@movementarian.org>
8457 * text3.C: fix appendix redrawing
8459 2003-03-13 John Levon <levon@movementarian.org>
8461 * text.C (setHeightOfRow):
8463 * rowpainter.C: make appendix mark have the text
8464 "Appendix" so the user knows what it is
8467 * LColor.C: s/appendixline/appendix/ from above
8469 2003-03-13 John Levon <levon@movementarian.org>
8471 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8473 * text.C: fix a getChar(pos) bug properly
8475 2003-03-13 Angus Leeming <leeming@lyx.org>
8478 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8479 Probably only temporary. Let's see how things pan out.
8481 * BufferView.C (unlockInset):
8482 * BufferView_pimpl.C (fitCursor):
8483 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8485 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8486 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8488 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8489 new functions that convert ParagraphParameters to and from a string.
8491 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8492 BufferView::Pimpl's dispatch.
8493 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8495 2003-03-13 André Pönitz <poenitz@gmx.net>
8499 * factory.C: make it aware of InsetEnv
8501 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8503 * text2.C (setCursor): never ask for one past last
8504 (setCursor): add some debugging messages.
8506 * text.C (singleWidth): never ask for one past last
8507 (singleWidth): ditto
8509 (rightMargin): ditto
8510 (rowBreakPoint): ditto
8511 (setHeightOfRow): ditto
8512 (prepareToPrint): ditto
8514 * rowpainter.C (paintBackground): never ask for one past last
8515 (paintText): never ask for one past last
8517 * paragraph_pimpl.C (getChar): make the assert stricter, never
8518 allow the one past last pos to be taken
8520 * paragraph.C (getChar): ws changes only
8522 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8523 (numberOfSeparators): ditto
8524 (numberOfHfills): ditto
8526 2003-03-12 John Levon <levon@movementarian.org>
8532 * paragraph_funcs.C: fix per-buffer authorlists
8534 2003-03-12 John Levon <levon@movementarian.org>
8536 * text.C: fix newline in right address
8538 2003-03-12 Angus Leeming <leeming@lyx.org>
8540 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8541 duplicate those in LyXFunc::dispatch.
8545 * ToolbarDefaults.C:
8546 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8547 Add LFUN_FONTFREE_UPDATE.
8549 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8550 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8552 * bufferview_func.[Ch]: several new functions to facilliate
8553 transfer of data to and from the character dialog.
8555 2003-03-12 John Levon <levon@movementarian.org>
8560 * paragraph_funcs.C:
8561 * paragraph_pimpl.C:
8565 * text3.C: remove META_NEWLINE in favour of an inset
8568 * rowpainter.C: remove paintNewline (done by inset)
8570 2003-03-12 John Levon <levon@movementarian.org>
8572 * paragraph_pimpl.C: complain about bad getChar()s
8573 for a while at least
8575 2003-03-12 John Levon <levon@movementarian.org>
8578 * buffer.C: move paragraph read into a separate function,
8579 a little renaming to reflect that.
8582 * bufferparams.C: remove the author_ids map, not necessary now
8585 * factory.C: moved Buffer::readInset to here
8587 * paragraph_funcs.h:
8588 * paragraph_funcs.C: readParagraph free function moved from
8591 * tabular.C: name change
8593 2003-03-12 John Levon <levon@movementarian.org>
8596 * ParagraphParameters.C: move par params input to
8599 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8600 behave like a normal read from the stream wrt reading
8601 a line vs. a \\token
8603 2003-03-12 John Levon <levon@movementarian.org>
8606 * ParagraphParameters.h:
8607 * ParagraphParameters.C: move output code to a
8610 2003-03-12 John Levon <levon@movementarian.org>
8612 * BufferView.C (insertLyXFile):
8615 * tabular.C: use a parlist iterator for creating the
8618 2003-03-12 John Levon <levon@movementarian.org>
8620 * buffer.C: make current_change static local not
8623 2003-03-12 John Levon <levon@movementarian.org>
8625 * buffer.C: fix insertStringAsLines for change tracking
8627 2003-03-12 John Levon <levon@movementarian.org>
8634 * bufferparams.C: move author list into params. Rename some
8635 functions. Move the header reading into a separate token
8636 loop. Move the header token reading into BufferParams.
8638 2003-03-12 John Levon <levon@movementarian.org>
8640 * changes.C: put debug inside lyxerr.debugging() checks
8642 2003-03-11 André Pönitz <poenitz@gmx.net>
8644 * factory.C: make it aware of InsetHFill
8646 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8648 * buffer.C (latexParagraphs): move function from here...
8649 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8652 2003-03-10 Angus Leeming <leeming@lyx.org>
8654 * LyXAction.C (init): fix bug in poplating array with multiple entries
8655 with the same LFUN (spotted by JMarc).
8657 2003-03-10 John Levon <levon@movementarian.org>
8660 * text2.C: move getColumnNearX() near its
8663 2003-03-10 John Levon <levon@movementarian.org>
8665 * text.C: fix break before a minipage
8667 2003-03-10 John Levon <levon@movementarian.org>
8669 * text.C: fix the last commit
8671 2003-03-09 John Levon <levon@movementarian.org>
8675 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8676 bug 365 (don't break before insets unless needed). Don't
8677 return a value > last under any circumstances.
8679 2003-03-09 Angus Leeming <leeming@lyx.org>
8681 * BufferView_pimpl.C (trackChanges, dispatch): call
8682 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8684 2003-03-09 Angus Leeming <leeming@lyx.org>
8686 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8687 than Dialogs::showAboutlyx().
8689 2003-03-09 Angus Leeming <leeming@lyx.org>
8691 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8692 than Dialogs::showTabularCreate().
8694 2003-03-09 John Levon <levon@movementarian.org>
8698 * text2.C: 3rd arg to nextBreakPoint was always the same.
8701 2003-03-08 John Levon <levon@movementarian.org>
8708 * text2.C: Remove the "main" bit from the "main body"
8711 2003-03-08 John Levon <levon@movementarian.org>
8713 * text.C (leftMargin): The left margin of an empty
8714 manual label paragraph should not include the label width
8717 * text.C (prepareToPrint): don't attempt to measure hfills
8718 for empty manual label paragraphs - the answer should be 0
8720 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8722 * CutAndPaste.C: remove commented code and reindent.
8724 2003-03-08 John Levon <levon@movementarian.org>
8727 * lyxfunc.C: move reloadBuffer()
8730 * BufferView.C: to here
8732 * lyxvc.C: add comment
8735 * vc-backend.C: call bv->reload() to avoid
8736 getStatus() check on MENURELOAD
8738 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8740 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8741 to an old format .dep file.
8743 2003-03-07 Angus Leeming <leeming@lyx.org>
8745 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8746 when the LFUN_MOUSE_RELEASE should have been handled by
8747 inset->localDispatch.
8749 2003-03-07 Angus Leeming <leeming@lyx.org>
8751 * BufferView_pimpl.C (dispatch):
8752 * LyXAction.C (init):
8753 * ToolbarDefaults.C (init):
8755 * lyxfunc.C (getStatus):
8756 remove LFUN_INSET_GRAPHICS.
8758 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8760 2003-03-07 Angus Leeming <leeming@lyx.org>
8763 * LyXAction.C (init):
8764 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8766 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8769 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8771 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8772 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8774 2003-03-07 Angus Leeming <leeming@lyx.org>
8776 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8779 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8781 * ParagraphList.C (front): new function
8784 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8786 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8787 and top_row_offset_. removed var first_y.
8789 * text2.C (LyXText, removeRow):
8791 * BufferView_pimpl.C:
8792 use these methods instead of using first_y
8794 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8796 * text2.C (pasteSelection): adjust for checkPastePossible
8798 * CutAndPaste.C: remove Paragraph * buf and replace with
8799 ParagraphList paragraphs.
8800 (DeleteBuffer): delete
8801 (cutSelection): change the tc type to textclass_type
8802 (copySelection): change the tc type to textclass_type
8803 (copySelection): adjust for ParagraphList
8804 (pasteSelection): change the tc type to textclass_type
8805 (pasteSelection): adjust for Paragraphlist
8806 (nrOfParagraphs): simplify for ParagraphList
8807 (checkPastePossible): simplify for ParagraphList
8808 (checkPastePossible): remove unused arg
8810 * ParagraphList.C (insert): handle the case where there are no
8813 * CutAndPaste.h: make CutAndPaste a namespace.
8815 * text3.C (dispatch): adjust
8817 * text.C (breakParagraph): add a ParagraphList as arg
8819 * paragraph_funcs.C (breakParagraph): change to take a
8820 BufferParams and a ParagraphList as args.
8821 (breakParagraphConservative): ditto
8822 (mergeParagraph): ditto
8823 (TeXDeeper): add a ParagraphList arg
8824 (TeXEnvironment): ditto
8827 * buffer.C (readLyXformat2): adjust
8828 (insertStringAsLines): adjust
8829 (latexParagraphs): adjust
8831 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8832 (cutSelection): adjust
8833 (pasteSelection): adjust
8835 * BufferView_pimpl.C (insertInset): adjust
8837 2003-03-05 Angus Leeming <leeming@lyx.org>
8840 * LyXAction.C (init):
8841 * BufferView_pimpl.C (dispatch):
8842 * lyxfunc.C (getStatus):
8843 remove LFUN_CHILD_INSERT.
8845 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8847 2003-03-05 Angus Leeming <leeming@lyx.org>
8850 * LyXAction.C (init):
8851 * src/factory.C (createInset):
8852 * lyxfunc.C (getStatus):
8853 * text3.C (dispatch):
8854 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8856 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8858 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8860 * ParagraphList.C (insert): handle insert right before end()
8861 (erase): fix cases where it can be first or last paragraph.
8863 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8865 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8866 Paragraph::next and Paragraph::previous
8869 * text.C (breakParagraph): adjust
8871 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8872 BufferParams& as arg.
8873 (breakParagraph): use ParagraphList::insert
8874 (breakParagraphConservative): take a Buffer* instead of a
8875 BufferParams& as arg.
8876 (breakParagraphConservative): use ParagraphList::insert.
8878 * buffer.C (insertStringAsLines): un-const it
8879 (insertStringAsLines): adjust
8881 * ParagraphList.C (insert): new function
8883 * CutAndPaste.C (pasteSelection): adjust
8885 * text.C (backspace): adjust
8887 * tabular.C (SetMultiColumn): adjust
8889 * CutAndPaste.C (cutSelection): adjust
8890 (pasteSelection): adjust
8892 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8893 Buffer const * as arg
8895 * ParagraphList.C (erase): new function
8896 * paragraph_funcs.C (mergeParagraph): use it
8897 (mergeParagraph): make it take a Buffer* instead of a
8898 BufferParams* as arg
8900 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8902 (breakParagraphConservative): ditto
8904 * paragraph.h: remove the breakParagraph friend
8906 * paragraph.C (eraseIntern): new function
8907 (setChange): new function
8909 * paragraph_funcs.C (mergeParagraph): make it take a
8910 ParagraphList::iterator instead of a Paragraph *, adjust
8913 * paragraph.h: move an #endif so that the change tracking stuff
8914 also works in the NO_NEXT case.
8916 2003-03-04 Angus Leeming <leeming@lyx.org>
8919 * LyXAction.C: new LFUN_INSET_MODIFY.
8921 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8922 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8924 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8926 * several files: ws changes only
8928 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8929 (TeXEnvironment): ditto
8932 * buffer.C (makeLaTeXFile): adjust
8933 (latexParagraphs): make it take ParagraphList::iterator as args
8935 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8937 * buffer.C (latexParagraphs): adjust
8939 * paragraph.C (TeXOnePar): move function...
8940 (optArgInset): move function...
8941 (TeXEnvironment): move function...
8942 * paragraph_pimpl.C (TeXDeeper): move function...
8943 * paragraph_funcs.C: ...here
8945 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8947 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8949 * buffer.C (readInset): remove compability code for old Figure and
8952 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8954 * buffer.C: ws changes
8957 * BufferView_pimpl.C: ditto
8960 * bufferlist.h: ditto
8964 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8966 * converter.[Ch]: split into itself +
8969 * Makefile.am: += graph.[Ch] + format.[Ch]
8976 * lyxrc.C: added #include "format.h"
8978 2003-02-27 Angus Leeming <leeming@lyx.org>
8980 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8983 * factory.C (createInset): add "label" to the factory.
8985 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8986 string and do no more.
8988 2003-02-27 Angus Leeming <leeming@lyx.org>
8991 * LyXAction.C (init):
8992 * factory.C (createInset):
8993 * BufferView_pimpl.C (dispatch):
8994 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8996 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8998 * lyxfunc.C (dispatch):
8999 * text3.C (dispatch): pass name to params2string.
9001 2003-02-26 Angus Leeming <leeming@lyx.org>
9003 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9005 Rearrange the ~includes. Strip out the unnecessary ones.
9007 * factory.C (createInset): reformat.
9008 create new insets for the various LFUN_XYZ_APPLY lfuns.
9010 2003-02-26 John Levon <levon@movementarian.org>
9013 * lyxrow.C: add isParStart,isParEnd helpers
9015 * paragraph.h: make isInserted/DeletedText take refs
9017 * paragraph_funcs.h:
9018 * paragraph_funcs.C: remove #if 0'd code
9023 * text.C: use lyxrow helpers above.
9024 Move draw and paint routines to RowPainter.
9025 Make several methods use refs not pointers.
9026 Make backgroundColor() const.
9027 Add markChangeInDraw(), isInInset().
9028 Merge changeRegionCase into changeCase.
9029 Make workWidth() shouldn't-happen code into an Assert.
9032 * rowpainter.C: new class for painting a row.
9035 * vspace.C: make inPixels take a ref
9037 2003-02-26 Angus Leeming <leeming@lyx.org>
9039 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9042 2003-02-25 John Levon <levon@movementarian.org>
9044 * ispell.C: give the forked command a more accurate name
9046 2003-02-22 John Levon <levon@movementarian.org>
9049 * toc.C: make TocItem store an id not a Paragraph *
9052 2003-02-21 Angus Leeming <leeming@lyx.org>
9054 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9055 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9056 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9057 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9058 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9059 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9061 * BufferView_pimpl.C (dispatch):
9062 * LyXAction.C (init):
9063 * factory.C (createInset):
9064 * lyxfunc.C (getStatus, dispatch):
9065 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9067 2003-02-21 Angus Leeming <leeming@lyx.org>
9069 * BufferView_pimpl.C (MenuInsertLyXFile):
9070 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9071 * lyxfunc.C (menuNew, open, doImport):
9072 no longer pass a LyXView & to fileDlg.
9074 2003-02-21 Angus Leeming <leeming@lyx.org>
9076 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9077 * LyXAction.C: change, BIBKEY to BIBITEM.
9078 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9079 Change InsetBibKey to InsetBibitem.
9080 Change BIBKEY_CODE to BIBITEM_CODE.
9081 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9082 * factory.C: replace insetbib.h with insetbibitem.h.
9083 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9084 * paragraph.C: replace insetbib.h with insetbibitem.h.
9085 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9086 Change bibkey() to bibitem().
9087 * text.C: remove insetbib.h.
9088 * text2.C: replace insetbib.h with insetbibitem.h.
9089 change bibkey() to bibitem().
9090 * text3.C: remove insetbib.h.
9091 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9093 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9095 * lyxrc.C (output): enclose user email in quotes (in case there are
9098 2003-02-18 John Levon <levon@movementarian.org>
9100 * buffer.h: add std::
9102 2003-02-17 John Levon <levon@movementarian.org>
9108 * pspell.C: reworking. Especially in ispell, a large
9109 number of clean ups and bug fixes.
9111 * lyxfunc.C: fix revert to behave sensibly
9113 2003-02-17 André Pönitz <poenitz@gmx.net>
9116 * commandtags.h: new LFUN_INSERT_BIBKEY
9126 * paragraph_func.C: remove special bibkey handling
9128 2003-02-17 John Levon <levon@movementarian.org>
9130 * text.C (Delete): fix case where delete at the end of
9131 the very first paragraph would not merge the pars
9133 2003-02-17 John Levon <levon@movementarian.org>
9135 * lyxrow.C: fix lastPrintablePos()
9137 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9139 * bufferparams.C (writeLaTeX): add a std:here
9141 * buffer.C: and remove a using directive there
9143 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9145 * buffer.C (makeLaTeXFile): move the code that generates the
9148 * bufferparams.C (writeLaTeX): ... in this new method
9150 * LaTeXFeatures.C (getEncodingSet): make const
9151 (getLanguages): make const
9153 * MenuBackend.C (binding): returns the binding associated to this
9155 (add): sets the status of each item by calling getStatus. Adds
9157 (read): add support for OptSubMenu
9158 (expand): remove extra separator at the end of expanded menu
9160 2003-02-15 John Levon <levon@movementarian.org>
9163 * BufferView_pimpl.C:
9165 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9166 inset code that had no actual effect. Remove unneeded status
9169 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9174 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9176 * text.C (drawLengthMarker): also draw an arrow marker for
9177 symbolic lengths (medskip...)
9179 2003-02-14 John Levon <levon@movementarian.org>
9182 * tabular.C: better method names
9184 2003-02-14 John Levon <levon@movementarian.org>
9186 * BufferView_pimpl.C:
9191 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9192 it's a more accurate name. Remove some pointless uses.
9194 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9196 * text2.C (LyXText): change order of initilizers to shut off
9199 2003-02-14 John Levon <levon@movementarian.org>
9201 * buffer.C: use ParIterator for getParFromID()
9205 * paragraph_pimpl.h:
9206 * paragraph_pimpl.C: remove unused getParFromID()
9208 2003-02-14 John Levon <levon@movementarian.org>
9210 * buffer.C: remove some very old #if 0'd parse code
9212 2003-02-13 John Levon <levon@movementarian.org>
9216 * text2.C: move hfillExpansion(), numberOfSeparators(),
9217 rowLast(), rowLastPrintable(), numberofHfills(),
9218 numberOfLabelHfills() ...
9221 * lyxrow.C: ... to member functions here.
9226 * text.C: remove LyXText::beginningOfMainBody(), and call
9227 p->beginningOfMainBody() directly. Move the check for
9228 LABEL_MANUAL into the latter.
9235 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9241 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9242 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9244 2003-02-13 John Levon <levon@movementarian.org>
9246 * CutAndPaste.C: remove debug
9248 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9250 * paragraph.C (asString): remove two unused variables
9252 * lyxtextclass.C (readTitleType):
9254 (LyXTextClass): handle new members titletype_ and titlename_
9256 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9258 2003-02-09 John Levon <levon@movementarian.org>
9261 * buffer.C: replace hand-coded list with a map for the dep clean
9263 2003-02-08 John Levon <levon@movementarian.org>
9265 * LaTeX.C: consolidate code into showRunMessage() helper
9267 2003-02-08 John Levon <levon@movementarian.org>
9272 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9273 and pass the size in explicitly
9275 * BufferView_pimpl.h:
9276 * BufferView_pimpl.C:
9278 * BufferView.C: add getCurrentChange()
9280 * BufferView_pimpl.h:
9281 * BufferView_pimpl.C: handle change lfuns
9283 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9284 for changes. Mark pasted paragraphs as new.
9286 * support/lyxtime.h:
9287 * support/lyxtime.C:
9288 * DepTable.C: abstract time_t as lyx::time_type
9291 * LColor.C: add colours for new text, deleted text, changebars
9293 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9294 package use "usenames" option.
9298 * LyXAction.C: add change lfuns
9302 * author.C: author handling
9305 * buffer.C: add a per-buffer author list, with first entry as
9306 current author. Handle new .lyx tokens for change tracking. Output
9307 author list to .lyx file. Output dvipost stuff to .tex preamble.
9308 Bump lyx format to 222.
9311 * bufferlist.C: add setCurrentAuthor() to reset current author details
9315 * bufferparams.C: add param for tracking
9317 * bufferview_funcs.C: output change info in minibuffer
9321 * changes.C: add change-tracking structure
9324 * debug.C: add CHANGES debug flag
9327 * lyxfind.C: add code for finding the next change piece
9330 * lyxrc.C: add user_name and user_email
9333 * lyxrow.C: add a metric for the top of the text line
9336 * text.C: implement accept/rejectChange()
9339 * text.C: paint changebars. Paint new/deleted text in the chosen
9340 colours. Strike through deleted text.
9344 * paragraph_pimpl.h:
9345 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9346 in the current change to the insert functions. Rework erase to
9347 mark text as deleted, adding an eraseIntern() and a range-based
9348 erase(). Implement per-paragraph change lookup and
9351 * paragraph_funcs.C: Fixup paste for change tracking.
9353 * tabular.C: mark added row/columns as new.
9355 * text.C: fix rowLast() to never return -1. Don't allow
9356 spellchecking of deleted text. Track transpose changes. Don't
9357 allow paragraph break or merge where appropriate.
9359 * text2.C: leave cursor at end of selection after a cut.
9361 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9363 * text.C (getLengthMarkerHeight):
9364 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9365 visible on screen too.
9367 2003-02-07 John Levon <levon@movementarian.org>
9369 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9371 2003-02-05 Angus Leeming <leeming@lyx.org>
9373 * lyxserver.C (read_ready): revert my patch of 11 September last year
9374 as it sends PC cpu through the roof. Presumably this means that
9375 the lyxserver will no longer run on an Alpha...
9377 2003-01-30 Angus Leeming <leeming@lyx.org>
9379 * factory.C (createInset): create an InsetCommandParam of type "index"
9380 and use it to 'do the right thing'.
9382 * text2.C (getStringToIndex): ensure that cursor position is always
9383 reset to the reset_cursor position.
9385 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9387 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9390 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9394 * lyxfunc.C: Output messages with identical spelling, punctuation,
9397 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9399 * MenuBackend.C (expandFormats): List only viewable export formats
9402 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9405 * lyxfunc.C (getStatus): Make sure that formats other than
9406 "fax" can also be disabled
9408 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9410 * text3.C (dispatch): put the lfuns that insert insets in 3
9411 groups, and call doInsertInset with appropriate arguments.
9412 (doInsertInset): new function, that creates an inset and inserts
9413 it according to some boolean parameters.
9415 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9417 * buffer.C (readFile): remember to pass on 'par' when calling
9418 readFile recursively.
9420 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9422 * MenuBackend.C (expandFormats): add "..." to import formats.
9424 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9426 * paragraph.C (asString): Remove XForms RTL hacks.
9428 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9429 * buffer.C: fix typo
9431 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9433 * Makefile.am (LIBS): delete var
9434 (lyx_LDADD): add @LIBS@ here instead.
9436 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9438 * Clarify the meaning of "wheel mouse jump"
9440 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9442 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9445 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9447 * importer.C (Loaders): do not preallocate 3 elements in the
9448 vector, since one ends up with 6 elements otherwise
9450 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9452 * DepTable.C (write): write the file name as last element of the
9453 .dep file (because it may contain spaces)
9454 (read): read info in the right order
9456 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9458 * paragraph_pimpl.C (simpleTeXBlanks):
9459 (simpleTeXSpecialChars):
9460 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9462 * tabular.C (latex): add some missing case statements. Reindent.
9464 * MenuBackend.C (expandToc): remove unused variable.
9466 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9475 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9478 2003-01-05 John Levon <levon@movementarian.org>
9481 * BufferView.C: add getEncoding()
9484 * kbsequence.C: do not store last keypress
9487 * lyxfunc.C: store last keypress here instead. Pass encoding
9490 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9492 * lyx_main.C (init): remove annoying error message when following
9493 symbolic links (bug #780)
9495 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9497 * text.C (insertChar):
9498 * lyxrc.C (getDescription): remove extra spaces
9500 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9502 * lyxrc.C (getDescription): remove extra spaces
9504 2002-12-20 John Levon <levon@movementarian.org>
9506 * text3.C: hack fix for page up/down across tall rows
9508 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9510 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9513 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9515 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9516 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9517 thesaurus is not compiled in
9519 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9521 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9523 2002-12-16 Angus Leeming <leeming@lyx.org>
9526 * lyx_main.C (init): remove override_x_deadkeys stuff.
9528 2002-12-12 John Levon <levon@movementarian.org>
9530 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9531 insert. Only remove shift modifier under strict
9534 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9536 * MenuBackend.C (expandToc): fix crash.
9538 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9540 * MenuBackend.C (expandToc): gettext on float names.
9542 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9544 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9545 implement bool empty() [bug 490]
9547 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9549 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9551 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9553 * several files: ws changes
9555 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9557 * text2.C (setCounter): clean up a bit, use boost.format.
9558 (updateCounters): initialize par upon declaration.
9560 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9561 if the layout exists. We do not just store the layout any more.
9562 (SwitchLayoutsBetweenClasses): use boost.format
9564 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9566 * converter.C (convert): if from and to files are the same, use a
9567 temporary files as intermediary
9569 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9572 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9574 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9576 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9578 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9580 * tabular.C (asciiPrintCell): use string(size, char) instead of
9583 * sgml.C (openTag): fix order of arguments to string constructor
9586 * lyxfunc.C (dispatch): use boost.format
9588 * lots of files: change "c" -> 'c'
9590 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9592 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9594 2002-11-25 Angus Leeming <leeming@lyx.org>
9596 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9598 * lyx_main.C (init): compile fix.
9600 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9602 * lyx_cb.C (start): boost.formatify
9603 do not include <iostream>
9605 * lengthcommon.C: ws only
9607 * boost-inst.C,BoostFormat.h: add more explict instantations
9609 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9611 * lots of files: handle USE_BOOST_FORMAT
9613 2002-11-21 John Levon <levon@movementarian.org>
9615 * pspell.C: fix compile
9617 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * lyxfunc.C (dispatch): use boost::format
9623 * lyxfont.C (stateText): use boost::format
9625 * lyx_main.C (LyX): use boost::format
9627 (queryUserLyXDir): ditto
9630 (typedef boost::function): use the recommened syntax.
9632 * importer.C (Import): use boost::format
9634 * debug.C (showLevel): use boost::format
9636 * converter.C (view): use boost::format
9641 * bufferview_funcs.C (currentState): use boost::format
9643 * bufferlist.C (emergencyWrite): use boost::format
9645 * buffer.C (readLyXformat2): use boost::format
9646 (parseSingleLyXformat2Token): ditto
9648 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9650 * LaTeX.C (run): use boost::format
9652 * Chktex.C (scanLogFile): use boost::format
9654 * BufferView_pimpl.C (savePosition): use boost::format
9655 (restorePosition): ditto
9656 (MenuInsertLyXFile): ditto
9658 * BoostFormat.h: help file for explicit instation.
9660 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9662 * tabular.C (latex): Support for block alignment in fixed width
9665 2002-11-17 John Levon <levon@movementarian.org>
9667 * BufferView_pimpl.C:
9669 * lyxfunc.C: split filedialog into open/save
9671 2002-11-08 Juergen Vigna <jug@sad.it>
9673 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9674 by my last patch (hopefully).
9676 2002-11-08 John Levon <levon@movementarian.org>
9685 * toc.C: ParConstIterator, and use it (from Lars)
9687 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9689 * lyxtextclass.[Ch]: revise and add doxygen comments
9691 2002-11-07 John Levon <levon@movementarian.org>
9693 * text.C: fix progress value for spellchecker
9695 * toc.C: fix navigate menu for insetwrap inside minipage
9697 * paragraph_funcs.C: added FIXME for suspect code
9699 2002-11-07 John Levon <levon@movementarian.org>
9701 * BufferView_pimpl.C: fix redrawing of insets
9704 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9706 * text2.C (updateCounters): fix bug 668
9708 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9710 * text3.C (dispatch): Do not make the buffer dirty when moving the
9713 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9715 * vc-backend.C: STRCONV
9718 * text2.C (setCounter): STRCONV
9720 * paragraph.C (asString): STRCONV
9722 * lyxlength.C (asString): STRCONV
9723 (asLatexString): ditto
9725 * lyxgluelength.C (asString): STRCONV
9726 (asLatexString): ditto
9728 * lyxfunc.C (dispatch): STRCONV
9731 * lyxfont.C (stateText): STRCONV
9733 * importer.C (Import): STRCONV
9735 * counters.C (labelItem): STRCONV
9736 (numberLabel): ditto
9737 (numberLabel): remove unused ostringstream o
9742 * bufferview_funcs.C (currentState): STRCONV
9744 * buffer.C (readFile): STRCONV
9745 (asciiParagraph): ditto
9746 (makeLaTeXFile): ditto
9748 * Spacing.C (writeEnvirBegin): STRCONV
9750 * LaTeXFeatures.C (getLanguages): STRCONV
9751 (getPackages): ditto
9753 (getBabelOptions): ditto
9754 (getTClassPreamble): ditto
9755 (getLyXSGMLEntities): ditto
9756 (getIncludedFiles): ditto
9760 (scanAuxFile): ditto
9763 * LString.h: add the STRCONV macros
9765 * BufferView_pimpl.C (savePosition): STRCONV
9766 (restorePosition): ditto
9767 (MenuInsertLyXFile): ditto
9769 * vc-backend.C (scanMaster): change from submatch[...] to
9772 * funcrequest.C: include config.h
9774 * factory.C: include config.h
9776 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9778 * box.C: include config.h
9780 * LaTeX.C (scanAuxFile): change from submatch[...] to
9784 2002-10-25 Angus Leeming <leeming@lyx.org>
9786 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9788 * ispell.[Ch] (setError): new method.
9789 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9790 Use setError() insetead of goto END.
9792 * lyx_cb.C (AutoSave): move out child process into new class
9795 2002-10-30 John Levon <levon@movementarian.org>
9797 * text3.C: make start appendix undoable
9799 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9801 * lyxlength.C (inPixels): Fix returned value.
9803 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9806 2002-10-24 Angus Leeming <leeming@lyx.org>
9808 * lyxgluelength.h: no need to forward declare BufferParams
9809 or BufferView, so don't.
9811 2002-10-21 John Levon <levon@movementarian.org>
9813 * BufferView.C: menuUndo ->undo, redo
9815 * BufferView.h: document, remove dead, make some methods private
9817 * paragraph_funcs.h:
9818 * paragraph_funcs.C:
9819 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9824 * sgml.C: move sgml open/close tag into sgml.C
9826 * bufferview_funcs.h: unused prototype
9829 * lyxfunc.C: remove unused
9832 * text.C: remove unused
9834 2002-10-21 John Levon <levon@movementarian.org>
9838 * BufferView_pimpl.h:
9839 * BufferView_pimpl.C: fix mouse wheel handling based on
9840 patch from Darren Freeman
9842 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9844 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9846 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9848 * lyxlength.C (inPixels): Fix hanfling of negative length.
9849 Fix LyXLength::MU case.
9851 2002-10-16 John Levon <levon@movementarian.org>
9853 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9855 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9857 * converter.C (view): add support for $$i (file name) and $$p
9858 (file path) for the viewer command. If $$i is not specified, then
9859 it is appended to the command (for compatibility with old syntax)
9861 2002-10-14 Juergen Vigna <jug@sad.it>
9863 * undo_funcs.C (textHandleUndo): alter the order in which the
9864 new undopar is added to the LyXText, as we have to set first
9865 the right prev/next and then add it as otherwise the rebuild of
9866 LyXText is not correct. Also reset the cursor to the right paragraph,
9867 with this IMO we could remove the hack in "redoParagraphs()".
9869 2002-10-09 Angus Leeming <leeming@lyx.org>
9871 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9872 to turn off an optimisation if a new inset is to be inserted.
9874 2002-10-11 André Pönitz <poenitz@gmx.net>
9876 * lyxtext.h: make some functions public to allow access
9877 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9879 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9881 * text3.C (dispatch): when changing layout, avoid an infinite loop
9884 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * lyxrc.C (read): treat a viewer or converter command of "none" as
9889 * MenuBackend.C (expandFormats): for an update, also allow the
9890 formats that are not viewable
9892 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9893 script if it is newer than the lyxrc.defaults in user directory
9895 2002-10-07 André Pönitz <poenitz@gmx.net>
9897 * text.C: Vitaly Lipatov's small i18n fix
9899 2002-09-25 Angus Leeming <leeming@lyx.org>
9901 * ispell.h: doxygen fix.
9903 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9905 * buffer.h (readFile): Add a new argument to the method, to allow
9906 reading of old-format templates.
9908 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9910 * toc.C (getTocList): Get TOC from InsetWrap.
9912 2002-09-16 John Levon <levon@movementarian.org>
9914 * lyxfunc.C: check tabular for cut/copy too
9916 2002-09-12 John Levon <levon@movementarian.org>
9921 * factory.C: add header
9923 * paragraph_funcs.h:
9924 * paragraph_funcs.C: cleanup
9926 2002-09-11 John Levon <levon@movementarian.org>
9928 * PrinterParams.h: odd/even default to true
9930 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9932 * PrinterParams.h: update printer parameters for new xforms dialog
9934 2002-09-11 Angus Leeming <leeming@lyx.org>
9936 * lyxserver.C (read_ready): re-write to make it more transparent
9937 and to make it work in coherent fashion under Tru64 Unix.
9939 2002-09-11 André Pönitz <poenitz@gmx.net>
9943 * text3.C: implement LFUN_WORDSEL
9945 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9947 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9948 make floatlist_ a boost::shared_ptr<FloatList>
9950 * lyxtextclass.C: include FloatList.h
9951 (LyXTextClass): initialize floatlist_
9952 (TextClassTags): add TC_NOFLOAT
9953 (Read): match "nofloat" to TC_NOFLOAT and use it.
9954 (readFloat): modify call to floatlist_
9958 * FloatList.[Ch] (FloatList): remove commented out float
9960 (erase): new function
9962 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9964 * MenuBackend.C (expandToc): fix crash when there is no document
9967 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9969 * many files: Add insetwrap.
9971 2002-09-09 John Levon <levon@movementarian.org>
9973 * text2.C: remove confusing and awkward depth wraparound
9975 2002-09-09 John Levon <levon@movementarian.org>
9977 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9980 * buffer.C: remove getIncludeonlyList()
9983 * lyxfunc.C: remove headers
9985 2002-09-09 Juergen Vigna <jug@sad.it>
9987 * text.C (getColumnNearX): fix form Michael this is most
9988 probably a cut&paste bug.
9990 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9992 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9994 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9995 references, ws changes.
9997 * text2.C (init): update counters after init
9998 (insertParagraph): no need to set counter on idividual paragraphs.
9999 (setCounter): access the counters object in the textclass object
10000 on in the buffer object.
10001 (updateCounters): ditto
10003 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10004 shared_ptr<Counters> to avoid loading counters.h in all
10006 (LyXTextClass): initialize ctrs_
10007 (TextClassTags): add TC_COUNTER, and ...
10008 (Read): use it here.
10009 (CounterTags): new tags
10010 (readCounter): new function
10011 (counters): new funtion
10012 (defaultLayoutName): return a const reference
10014 * counters.C (Counters): remove contructor
10015 (newCounter): remove a couple of unneeded statements.
10016 (newCounter): simplify a bit.
10017 (numberLabel): some small formatting changes.
10019 * buffer.[Ch]: remove all traces of counters, move the Counters
10020 object to the LyXTextClass.
10022 2002-09-06 Alain Castera <castera@in2p3.fr>
10024 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10025 package to set the horizontal alignment on fixed width columns.
10028 * lyx_sty.h: added tabularnewline macro def.
10030 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10032 2002-09-06 John Levon <levon@movementarian.org>
10034 * LyXAction.C: tooltips for sub/superscript
10036 * MenuBackend.C: a bit more verbose
10038 * lyxfunc.C: tiny clean
10040 * undo_funcs.C: document undo_frozen
10042 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10044 * counters.C (Counters): add missing algorithm counter.
10046 * text2.C (setCounter): lookup the counter with layouts latexname
10047 instead of by section number.
10048 (setCounter): use a hackish way to lookup the correct enum
10050 a float name->type change
10051 reset enum couners with counter name directly instead of depth value.
10053 * counters.C (Counters): remove the push_backs, change to use the
10054 float type not the float name.
10055 (labelItem): remove unused string, float name->type change
10057 * counters.h: don't include vector, loose the enums and sects vectors
10059 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10061 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10062 (Read): add float->TC_FLOAT to textclassTags
10063 (Read): and handle it in the switch
10064 (readFloat): new function
10066 * FloatList.C (FloatList): comment out the hardcoded float
10069 * lyxlayout.h: ws change.
10071 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10073 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10075 2002-09-03 Angus Leeming <leeming@lyx.org>
10077 * BufferView_pimpl.h: qualified name is not allowed in member
10078 declaration: WorkArea & Pimpl::workarea() const;
10080 * factory.C: added using std::endl directive.
10082 * text3.C: added using std::find and std::vector directives.
10084 2002-08-29 André Pönitz <poenitz@gmx.net>
10087 * text2.C: remove unused member number_of_rows
10090 * BufferView2.C: remove file, move contents to...
10091 * BufferView.C: ... here
10093 * BufferView_pimpl.C:
10094 * factory.C: move more inset creation to factory
10096 * vspace.C: avoid direct usage of LyXText, ws changes
10099 don't provide direct access to WorkArea, use two simple
10100 acessors haveSelction() and workHeight() instead
10103 2002-08-29 John Levon <levon@movementarian.org>
10105 * BufferView_pimpl.C (dispatch): do not continue when
10108 2002-08-28 André Pönitz <poenitz@gmx.net>
10110 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10113 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10115 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10117 * buffer.C: increment LYX_FORMAT to 221
10119 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10120 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10122 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10124 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10126 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * factory.C (createInset): use LyXTextClass::floats
10130 * MenuBackend.C (expandFloatListInsert):
10131 (expandFloatInsert):
10134 * text2.C (setCounter):
10136 * LaTeXFeatures.C (useFloat):
10137 (getFloatDefinitions):
10139 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10141 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10142 floatlist_, with accessor floats().
10144 * FloatList.h: remove global FloatList
10146 2002-08-26 André Pönitz <poenitz@gmx.net>
10148 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10152 * BufferView_pimpl.C:
10153 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10155 2002-08-25 John Levon <levon@movementarian.org>
10157 * LyXAction.C: fix margin note description
10159 2002-08-24 John Levon <levon@movementarian.org>
10163 * bufferview_funcs.C:
10165 * undo_funcs.C: cleanups
10167 * lyxfunc.C: disable CUT/COPY when no selection
10169 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10171 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10172 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10174 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10175 Add backward compatibility to "mono", "gray" and "no".
10177 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10179 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10180 (and file_format >= 200).
10182 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10186 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10190 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10192 * BufferView_pimpl.C:
10199 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10200 inset and code to make it work with the paragraph code. The inset
10201 can be anywhere in the paragraph, but will only do the expected
10202 thing in LaTeX if the layout file contains the parameter line
10204 (or more generally, a nonzero value) for that layout.
10206 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10208 * paragraph.h: remove the declaration of undefined counters class
10211 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10213 * text2.C (setCounter): fixed enumeration mis-count as reported by
10214 Dr. Richard Hawkins.
10216 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * paragraph_funcs.h: remove some unneeded includes
10220 * text.C (backspace): pasteParagraph now in global scipe
10222 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10223 (pasteSelection): ditto
10225 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10226 * paragraph_funcs.C (pasteParagraph): ... here
10228 2002-08-20 André Pönitz <poenitz@gmx.net>
10230 * commandtags.h: new LFUNs for swapping/copying table row/colums
10233 * lyxfunc.C: support for new lfuns
10235 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10238 * buffer.[Ch]: remove NO_COMPABILITY stuff
10240 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10242 * boost.C (throw_exception): new file, with helper function for
10243 boost compiled without exceptions.
10248 * ParameterStruct.h:
10249 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10251 * bufferlist.C (emergencyWriteAll): use boost bind
10253 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10255 * text.C: include paragraph_funcs.h
10256 (breakParagraph): breakParagraph is now in global scope
10258 * paragraph_funcs.[Ch]: new files
10260 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10263 * buffer.C: include paragraph_funcs.h
10264 (insertStringAsLines): breakParagraph is now in global scope
10266 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10269 * CutAndPaste.C: include paragraph_funcs.h
10270 (cutSelection): breakParagraphConservative is now in global scope
10271 (pasteSelection): ditto
10273 * buffer.h: declare oprator== and operator!= for
10274 Buffer::inset_iterator
10276 * bufferlist.C (emergencyWrite): don't use fmt(...)
10278 * text3.C: add using std::endl
10280 * BufferView.C (moveCursorUpdate): remove default arg
10282 2002-08-20 André Pönitz <poenitz@gmx.net>
10284 * buffer.[Ch]: move inline functions to .C
10287 * BufferView_pimpl.C:
10289 * buffer.[Ch]: use improved inset_iterator
10292 * paragraph.[Ch]: write one paragraph at a time
10294 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10296 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10297 style if style is not specified.
10299 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * text2.C (setCounter): when searching for right label for a
10302 caption, make sure to recurse to parent insets (so that a caption
10303 in a minipage in a figure float works) (bug #568)
10305 2002-08-20 André Pönitz <poenitz@gmx.net>
10307 * text3.C: new file for LyXText::dispatch() and helpers
10309 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10311 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10313 2002-08-19 André Pönitz <poenitz@gmx.net>
10316 * text.C: new LyXText::dispatch()
10318 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10320 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10322 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10324 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10327 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * Makefile.am: use $(variables) instead of @substitutions@
10331 2002-08-15 André Pönitz <poenitz@gmx.net>
10334 * BufferView_pimpl.C: streamlining mathed <-> outer world
10338 * LyXAction.C: remove unused LFUN_MATH
10340 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10342 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10344 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10346 * paragraph.C (Paragraph): reformat a bit
10347 (cutIntoMinibuffer): use builtin InsetList function instad of
10351 * buffer.C: include boost/bind.hpp, add using std::for_each
10352 (writeFileAscii): use ParagraphList iterators
10353 (validate): use for_each for validate traversal of paragraphs
10354 (getBibkeyList): use ParagraphList iterators
10355 (resizeInsets): use for_each to resizeInsetsLyXText for all
10357 (getParFromID): use ParagraphList iterators
10359 * BufferView2.C (lockInset): use paragraph list and iterators
10361 2002-08-14 John Levon <levon@movementarian.org>
10363 * lyxserver.C: remove spurious xforms include
10365 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10367 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10369 2002-08-13 André Pönitz <poenitz@gmx.net>
10372 * lyxfunc.C: further cleaning
10374 2002-08-13 André Pönitz <poenitz@gmx.net>
10376 * funcrequest.h: new constructor
10378 * funcrequest.C: move stuff here from .h
10381 * BufferView_pimpl.C:
10384 * lyxfunc.C: subsequent changes
10386 * lyxfunc.h: new view() member function
10388 * lyxfunc.C: subsequent changes
10390 2002-08-13 Angus Leeming <leeming@lyx.org>
10393 * BufferView_pimpl.C:
10401 changes due to the changed LyXView interface that now returns references
10402 to member variables not pointers.
10404 2002-08-13 Angus Leeming <leeming@lyx.org>
10406 * WordLangTuple (word, lang_code): return references to strings,
10411 * lyxtext.h: forward-declare WordLangTuple.
10416 * text.C: #include "WordLangTuple.h".
10419 * text.C: (selectNextWordToSpellcheck): constify return type.
10421 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10427 * paragraph_pimpl.h:
10430 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10431 suggested by Angus.
10432 Made updateCounter always count from start of buffer, and removed
10433 second argument (par).
10434 Reverted floats number display to '#'. Perhaps I'll try again when the
10435 code base is sanitized a bit.
10437 2002-08-12 Angus Leeming <leeming@lyx.org>
10439 * buffer.[Ch] (getLabelList): constify.
10441 2002-08-07 André Pönitz <poenitz@gmx.net>
10443 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10445 * funcrequest.h: extension to keep mouse (x,y) position
10447 2002-08-12 Juergen Vigna <jug@sad.it>
10449 * BufferView2.C (insertErrors): forbid undo when inserting error
10452 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10454 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10456 * ParagraphList.[Ch]: new files
10458 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10460 * BufferView2.C (lockInset): ParagraphList changes
10463 * bufferlist.C: ditto
10467 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10469 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10470 unused class variable counter_,
10472 * paragraph.[Ch] (getFirstCounter): delete unused function
10474 * counters.C: include LAssert.h
10475 (reset): add a new function with no arg, change other version to
10476 not have def. arg and to not allow empty arg.
10478 * text2.C (setCounter): remove empty arg from call to Counters::reset
10480 2002-08-11 John Levon <levon@movementarian.org>
10482 * Makefile.am: add WordLangTuple.h
10484 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10486 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10487 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10489 * insets/insettext.C: InsetList changes
10491 * graphics/GraphicsSupport.C (operator()): InsetList changes
10493 * toc.C (getTocList): InsetList changes
10495 * paragraph_pimpl.[Ch]: InsetList changes
10497 * paragraph.[Ch]: InsetList changes
10499 * buffer.C (inset_iterator): InsetList changes
10500 (setParagraph): ditto
10501 * buffer.h (inset_iterator): ditto
10502 * iterators.C (operator++): ditto
10503 * iterators.h: ditto
10505 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10507 * InsetList.[Ch]: new files, most InsetList handling moved out of
10510 * BufferView2.C (removeAutoInsets): InsetList changes
10512 (ChangeInsets): ditto
10514 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10516 * paragraph_pimpl.h (empty): new function
10518 * paragraph.[Ch] (empty): new function
10520 * other files: use the new Paragraph::empty function
10522 2002-08-09 John Levon <levon@movementarian.org>
10524 * lyxtext.h: remove unused refresh_height
10526 2002-08-09 John Levon <levon@movementarian.org>
10533 * paragraph.C: move sgml char escaping out of paragraph
10536 * paragraph.C: remove id setter
10540 * paragraph_pimpl.C: remove dead tex_code_break_column
10542 * bufferview_funcs.C: small cleanup
10544 * lyxfunc.C: remove dead proto
10546 * lyxtext.h: make some stuff private. Remove some dead stuff.
10548 * lyxgluelength.C: make as[LyX]String() readable
10550 2002-08-08 John Levon <levon@movementarian.org>
10555 * ToolbarDefaults.C:
10558 * toc.C: lyxaction cleanup
10560 2002-08-08 John Levon <levon@movementarian.org>
10562 * BufferView2.C: small cleanup
10565 * lyxfind.C: move unnecessary header into the .C
10567 2002-08-08 John Levon <levon@movementarian.org>
10569 * funcrequest.h: just tedious nonsense
10572 * lyx_main.C: cleanups
10575 * vspace.C: remove dead header lyx_main.h
10577 2002-08-07 Angus Leeming <leeming@lyx.org>
10580 * paragraph_pimpl.h:
10581 Forward declare class Counters in paragraph.h by moving the ctrs member
10582 variable into Paragraph::Pimpl.
10583 (counters): new method, returning a reference to pimpl_->ctrs.
10585 * text2.C: ensuing changes.
10587 2002-08-07 John Levon <levon@movementarian.org>
10589 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10591 * BufferView_pimpl.C: announce X selection on double/triple
10594 * lyx_main.C: use correct bool in batch dispatch
10596 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10598 2002-08-07 André Pönitz <poenitz@gmx.net>
10600 * funcrequest.h: new class to wrap a kb_action and its argument
10603 * BufferView_pimpl[Ch]:
10607 * lyxrc.C: subsequent changes
10610 2002-08-07 John Levon <levon@movementarian.org>
10612 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10613 document options change.
10615 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10620 * makefile.am: move counters functionality over from
10621 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10623 2002-08-06 John Levon <levon@movementarian.org>
10625 * WordLangTuple.h: new file for word + language code tuple
10636 * BufferView2.C: use WordLangTuple
10639 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10641 2002-08-06 John Levon <levon@movementarian.org>
10643 * lyx_main.C: fix cmdline batch handling
10645 2002-08-06 André Pönitz <poenitz@gmx.net>
10647 * lyxrc.C: set default for show_banner to true
10649 2002-08-06 John Levon <levon@movementarian.org>
10651 * pspell.C: fix a crash, and allow new aspell to work
10653 2002-08-06 John Levon <levon@movementarian.org>
10656 * kbmap.C: small cleanup
10659 * vspace.C: add const
10661 2002-08-05 John Levon <levon@movementarian.org>
10663 * LyXAction.C: back to tabular-insert
10665 2002-08-04 John Levon <levon@movementarian.org>
10668 * BufferView.C: cosmetic change
10670 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10680 * BufferView2.C: purge all "Lyx" not "LyX" strings
10683 * lyxcursor.C: attempt to add some documentation
10688 * ToolbarDefaults.C:
10689 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10690 merge with LFUN_TABULAR_INSERT
10697 * pspell.C: split up i/pspell implementations into separate
10698 files, many cleanups
10700 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10702 * text2.C: some cleanup
10704 * lyxfunc.C: don't check for isp_command == "none" any more, it
10705 didn't make any sense
10707 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10712 * makefile.am: move counters functionality over
10713 from text2.C/paragraph.[Ch] to counters.[Ch], and
10715 2002-08-02 John Levon <levon@movementarian.org>
10717 * buffer.C: s/lyxconvert/lyx2lyx/
10719 2002-08-02 Angus Leeming <leeming@lyx.org>
10721 * lyxlex.C: revert John's change as it breaks reading of the user
10724 2002-08-02 Angus Leeming <leeming@lyx.org>
10726 * importer.C (Import):
10727 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10728 changes due to LyXView::view() now returning a boost::shared_ptr.
10730 2002-08-02 John Levon <levon@movementarian.org>
10732 * lyxlex.C: small cleanup
10734 2002-08-02 John Levon <levon@movementarian.org>
10736 * text2.C (status): small cleanup, no logic change
10738 2002-08-01 John Levon <levon@movementarian.org>
10741 * buffer.C (writeFile): don't output alerts, caller
10745 * lyx_cb.C: from above
10747 * lyxfunc.C: allow to open non-existent files
10749 2002-07-31 John Levon <levon@movementarian.org>
10751 * lyxserver.C: don't let incidental errors get
10754 2002-07-30 John Levon <levon@movementarian.org>
10756 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10758 2002-07-30 John Levon <levon@movementarian.org>
10761 * lyxserver.C: remove I/O callback too
10763 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10768 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10770 * many files: strip,frontStrip -> trim,ltrim,rtrim
10772 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10774 * PrinterParams.h: remove extern containsOnly, and include
10775 support/lstrings.h instead.
10777 * LaTeX.C (scanAuxFile): modify because of strip changes
10779 * buffer.C (makeLaTeXFile): ditto
10780 * bufferparams.C (writeFile): ditt
10781 * lyxfont.C (stateText): ditto
10782 * lyxserver.C (read_ready): ditto
10783 * vc-backend.C (scanMaster): ditto
10785 * BufferView_pimpl.h: ws changes
10787 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10789 2002-07-26 André Pönitz <poenitz@gmx.net>
10791 * kb_sequence.C: remove unnedred usings
10793 2002-07-26 Juergen Vigna <jug@sad.it>
10795 * lyxfind.C (LyXReplace): we have to check better if the returned
10796 text is not of theLockingInset()->getLockingInset().
10798 2002-07-25 Juergen Vigna <jug@sad.it>
10800 * lyxfind.C (LyXReplace): don't replace if we don't get the
10803 * undo_funcs.C (createUndo): remove debugging code.
10805 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10807 * buffer.C (parseSingleLyXformat2Token): Use default placement
10808 when reading old floats.
10810 * FloatList.C (FloatList): Change the default placement of figure
10811 and tables to "tbp".
10813 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10815 * MenuBackend.C: using std::max
10817 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10819 * MenuBackend.C (expandToc):
10820 (expandToc2): code moved from xforms menu frontend. It is now
10821 generic and TOCs are transparent to menu frontends.
10823 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * toc.C (getTocList): protect against buf=0
10827 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10828 Menu as first parameter. Now, this calls itself recursively to
10829 expand a whole tree (this will be useful for TOC handling)
10830 (expandFloatInsert): remove 'wide' version of floats
10832 * MenuBackend.h (submenuname): returns the name of the submenu.
10833 (submenu): returns the submenu itself, provided it has been
10834 created by MenuBackend::expand
10836 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10838 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10839 insets which have noFontChange == true. (bug #172)
10841 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10843 * BufferView_pimpl.C: add connection objects and use them...
10846 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10848 * MenuBackend.C (expandLastfiles):
10851 (expandFloatListInsert):
10852 (expandFloatInsert):
10853 (expand): split expand in parts
10855 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10857 * lyx_gui.C: use lyx_gui::exit()
10859 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10861 * LyXAction.C: show the failing pseudo action
10863 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10865 * buffer.C (readFile): Run the lyxconvert script in order to read
10868 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10872 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10874 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10878 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10880 2002-07-22 Herbert Voss <voss@lyx.org>
10883 * lyxlength.[Ch]: add support for the vertical lengths
10885 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10887 * toc.[Ch]: std:: fixes
10889 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10891 * lyxrc.C: do not include lyx_main.h
10893 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10899 * BufferView2.C: include "lyxlex.h"
10902 * bufferparams.h: do not #include "lyxlex.h"
10904 * lyxtextclasslist.C (Add): remove method
10905 (classlist): renamed to classlist_
10907 * paragraph_pimpl.C:
10911 * bufferview_funcs.C:
10916 * toc.C (getTocList): use BufferParams::getLyXTextClass
10918 * toc.C (getTocList): use InsetFloat::addToToc
10920 * toc.[Ch]: new files, containing helper functions to handle table
10923 * lyxfunc.C (dispatch): no need to remove spaces around command
10925 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10926 first command of the sequence; it is not very clever, but I do not
10927 have a better idea, actually
10929 * LyXAction.C (LookupFunc): make sure to remove space at the
10930 beginning and end of the command
10932 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10934 * MenuBackend.C (getMenubar): new method: return the menubar of
10936 (read): treat differently reading of menu and menubar (in
10937 particular, the menubar has no name now)
10938 (Menu::menubar): remove
10940 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10943 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10945 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10946 a bibitem inset in a RTL paragraph.
10948 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10950 * paragraph_pimpl.C: constify
10952 * BufferView_pimpl.C:
10954 * lyxfunc.C: fix dispatch in a nicer way
10956 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10958 * lyxfunc.C (dispatch):
10959 * BufferView_pimpl.C:
10960 * BufferView_pimpl.h:
10962 * BufferView.h: rename Dispatch() to dispatch()
10964 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10966 * lyxlayout.C (Read): honor DependsOn tag
10968 * lyxlayout.[Ch] (depends_on): new method
10970 * version.C.in: update lyx_docversion
10972 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10974 * paragraph.C (validate): remove from here...
10975 * paragraph_pimpl.C (validate): ... and move here
10976 (isTextAt): make it const
10978 * buffer.C (getLists): ws cleanup
10980 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10982 * language.C (read): Use iso8859-1 encoding in latex_lang
10983 (this prevents LyX from crashing when using iso10646-1 encoding).
10985 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10987 * text2.C (toggleInset): if cursor is inside an inset, close the
10988 inset and leave cursor _after_ it
10990 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10992 * lyxfunc.C: move minibuffer completion handling out of here
10994 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10996 * BufferView_pimpl.C:
10997 * LaTeX.C: fix dispatch calls
10999 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11001 * text.C (drawChars): Fix Arabic text rendering.
11003 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11007 * lyxfunc.C: remove message-push/pop
11011 * lyxfunc.C: rationalise some code by removing verboseDispatch
11012 in favour of a bool argument to dispatch()
11014 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * lyx_main.C (init): make sure to read symlinks as absolute paths
11018 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11021 * lyxfunc.C: no need for commandshortcut to be a member
11023 2002-07-15 André Pönitz <poenitz@gmx.net>
11025 * converter.C: add support for $$s (scripts from lib/scripts dir)
11026 * lyx_main.C: white space
11028 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11032 * lyxrc.C: remove second exit confirmation
11034 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11039 * BufferView_pimpl.h:
11040 * BufferView_pimpl.C:
11041 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11043 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * MenuBackend.C (expand): add numeric shortcuts to document menu
11047 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11049 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11051 * lyxfont.C (setLyXFamily):
11058 * buffer.C (asciiParagraph): use ascii_lowercase
11060 2002-07-15 Mike Fabian <mfabian@suse.de>
11062 * lyxlex_pimpl.C (search_kw):
11063 * lyxlex.C (getLongString):
11064 * converter.h (operator<):
11065 * converter.C (operator<):
11066 * buffer.C (parseSingleLyXformat2Token):
11068 * ToolbarDefaults.C (read):
11069 * MenuBackend.C (checkShortcuts):
11071 * LColor.C (getFromGUIName):
11072 (getFromLyXName): use the compare_ascii_no_case instead of
11073 compare_no_case, because in turkish, 'i' is not the lowercase
11074 version of 'I', and thus turkish locale breaks parsing of tags.
11076 2002-07-16 Angus Leeming <leeming@lyx.org>
11078 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11079 now takes a Buffer const & argument.
11081 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11083 * BufferView.C (resize): check there's a buffer to resize
11085 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11087 * lyxfunc.C: remove dead code
11090 * lyxserver.C: use lyx_guii::set_read_callback
11092 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11094 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11095 an inset in a RTL paragraph.
11097 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11099 * lyxfunc.C: repaint after a font size update
11101 2002-07-15 André Pönitz <poenitz@gmx.net>
11103 * lyxlength.C: inBP should be able to return negative values
11105 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11107 * lyxfunc.C: use lyx_gui::update_fonts()
11109 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11111 * lyxfunc.C: use lyx_gui::update_color()
11113 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11119 * lyxrc.C: remove file->new asks for name option, and let
11120 buffer-new take an argument
11122 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11124 * BufferView_pimpl.C: remove unneeded extra repaint()
11126 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11128 * LyXAction.C: allow command-sequence with NoBuffer
11130 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11132 2002-07-10 Angus Leeming <leeming@lyx.org>
11134 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11136 2002-07-09 Angus Leeming <leeming@lyx.org>
11138 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11140 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11142 * lengthcommon.h: whitespace
11144 * lyxfunc.C: update scrollbar after goto paragraph
11146 * lyxtext.h: factor out page break drawing, and fix it so
11147 page break/added space paints as selected nicely
11149 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11151 * BufferView_pimpl.C: add FIXMEs, clean up a little
11153 2002-07-09 André Pönitz <poenitz@gmx.net>
11155 * lyxfont.[Ch]: support for wasy symbols
11157 2002-07-08 André Pönitz <poenitz@gmx.net>
11159 * BufferView_pimpl.C: apply John's patch for #93.
11161 2002-07-05 Angus Leeming <leeming@lyx.org>
11163 * BufferView_pimpl.C (buffer): generate previews if desired.
11165 * LColor.h: add "preview" to the color enum.
11167 * LColor.C (LColor): add a corresponding entry to the items array.
11169 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11172 2002-07-05 Angus Leeming <leeming@lyx.org>
11174 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11175 The body of the code is now in the method that is passed an ostream &
11176 rather than a file name.
11177 Pass an additional only_preamble parameter, useful for the forthcoming
11180 2002-07-03 André Pönitz <poenitz@gmx.net>
11182 * lyxfunc.C: simplify getStatus() a bit for math stuff
11184 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11188 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11190 * text.C (changeRegionCase): do not change case of all the
11191 document when region ends at paragraph end (bug #461)
11193 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11195 * paragraph.C (startTeXParParams):
11196 (endTeXParParams): add \protect when necessary
11198 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11200 * BufferView_pimpl.C (workAreaExpose): remove warning
11202 2002-06-27 Angus Leeming <leeming@lyx.org>
11204 * Makefile.am: add lyxlayout_ptr_fwd.h.
11206 2002-06-26 André Pönitz <poenitz@gmx.net>
11208 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11210 2002-06-25 Angus Leeming <leeming@lyx.org>
11212 * lyxfunc.C (dispatch): Comment out the call to
11213 grfx::GCache::changeDisplay. The method no longer exists now that the
11214 pixmap generation part of the graphics loader has been moved into
11217 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11219 * text2.C: layout as layout
11221 * text.C: layout as layout
11223 * tabular.C (OldFormatRead): layout as layout
11225 * paragraph_pimpl.C (TeXDeeper): layout as layout
11226 (realizeFont): layout as layout
11228 * paragraph.C (writeFile): layout as layout
11229 (validate): layout as layout
11230 (getFont): layout as layout
11231 (getLabelFont): layout as layout
11232 (getLayoutFont): layout as layout
11233 (breakParagraph): layout as layout
11234 (stripLeadingSpaces): layout as layout
11235 (getEndLabel): layout as layout
11236 (getMaxDepthAfter): layout as layout
11237 (applyLayout): layout as layout
11238 (TeXOnePar): layout as layout
11239 (simpleTeXOnePar): layout as layout
11240 (TeXEnvironment): layout as layout
11241 (layout): layout as layout
11242 (layout): layout as layout
11244 * lyxtextclass.C (compare_name): new functor to work with
11245 shared_ptr, layout as layout
11246 (Read): layout as layout
11247 (hasLayout): layout as layout
11248 (operator): layout as layout
11249 (delete_layout): layout as layout
11250 (defaultLayout): layout as layout
11252 * lyxlayout_ptr_fwd.h: new file
11254 * lyxlayout.C (Read): layout as layout
11256 * lyx_cb.C (MenuInsertLabel): layout as layout
11258 * bufferlist.C (newFile): layout as layout
11260 * buffer.C (readLyXformat2): layout as layout
11261 (parseSingleLyXformat2Token): layout as layout
11262 (insertStringAsLines): layout as layout
11263 (asciiParagraph): layout as layout
11264 (latexParagraphs): layout as layout
11265 (makeLinuxDocFile): layout as layout
11266 (simpleLinuxDocOnePar): layout as layout
11267 (makeDocBookFile): layout as layout
11268 (simpleDocBookOnePar): layout as layout
11269 (getLists): layout as layout
11271 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11273 * CutAndPaste.C (cutSelection): layout as layout
11274 (pasteSelection): layout as layout
11275 (SwitchLayoutsBetweenClasses): layout as layout
11277 * BufferView_pimpl.C (Dispatch): layout as layout
11278 (smartQuote): layout as layout
11280 * BufferView2.C (unlockInset): layout as layout
11282 2002-06-24 André Pönitz <poenitz@gmx.net>
11284 * lyxfunc.C: fix #487
11286 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11290 * lyxfunc.C: remove display_shortcuts, show_banner
11292 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11294 * Buffer_pimpl.C: oops, update on resize
11296 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11303 * BufferView.C: use repaint()
11305 * BufferView_pimpl.h:
11306 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11307 as it's a clearer description. Remove superfluous
11310 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11312 * text.C: fix bug 488. Not ideal, but getting
11313 getWord() to work properly for the insets that
11314 matter is more difficult ...
11316 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11318 * BufferView_pimpl.C:
11321 * lyxfunc.C: remove the six million index lyxfuncs to just
11322 one, and DTRT (bug 458)
11324 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11328 * BufferView_pimpl.h:
11329 * BufferView_pimpl.C: clean up resize() stuff,
11330 and unnecessary updateScreen()s
11332 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11336 * BufferView_pimpl.h:
11337 * BufferView_pimpl.C:
11340 * minibuffer.C: remove focus management of workarea,
11341 not needed. Use screen's greyOut()
11343 2002-06-17 Herbert Voss <voss@lyx.org>
11345 * converter.C: (convert) do not post a message, when converting
11346 fails, let the calling function decide what to do in this case
11348 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11350 * lyxfunc.C: tidy up a little
11352 2002-06-16 <alstrup@diku.dk>
11354 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11355 Got rid of FORMS_H_LOCATION include. Now we are
11358 2002-06-15 LyX Development team <lyx@rilke>
11360 * buffer.[Ch] (sgmlOpenTag):
11361 (sgmlCloseTag): Added support for avoiding pernicious mixed
11362 content. Return number of lines written.
11364 (makeLinuxDocFile):
11365 (makeDocBookFile): Fixed calls to sgml*Tag.
11366 Simple white space clean.
11368 (simpleDocBookOnePar): Simple white space clean.
11370 * tabular.[Ch] (docBook): Renamed to docbook and got another
11371 argument to related with the pernicious mixed content.
11373 (docbookRow): Fixed calls for docbook inset method.
11375 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11377 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11378 so it's X11 independent.
11382 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11384 2002-06-15 Lyx Development team <lyx@electronia>
11386 * intl.h: Renamed getTrans to getTransManager.
11388 2002-06-14 Angus Leeming <leeming@lyx.org>
11390 * Makefile.am: nuke forgotten stl_string_fwd.h.
11392 2002-06-12 Angus Leeming <leeming@lyx.org>
11394 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11396 2002-06-13 Angus Leeming <leeming@lyx.org>
11399 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11401 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11403 * kbmap.C (getiso): add support for cyrillic and greek
11405 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11409 * BufferView_pimpl.h:
11410 * BufferView_pimpl.C: move bogus scrolling logic
11413 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11416 * BufferView_pimpl.C: view->resize() change
11418 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11420 * BufferView_pimpl.C: topCursorVisible
11423 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11427 * lyx_gui.C: move to frontends/
11431 * lyx_main.C: changes from above
11433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11440 * lyx_main.C: minor tidy
11442 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11444 * BufferView_pimpl.h:
11445 * BufferView_pimpl.C:
11447 * BufferView.C: make painter() const,
11450 * BufferView2.C: use screen() accessor
11453 * lyx_main.C: some minor cleanup
11455 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11457 * BufferView_pimpl.h:
11458 * BufferView_pimpl.C: remove enter/leaveView,
11461 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11466 * BufferView_pimpl.h:
11467 * BufferView_pimpl.C: only construct screen once,
11470 * lyxrc.C: remove pointless comment
11472 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11475 * BufferView.C: remove active() and belowMouse()
11477 * BufferView_pimpl.h:
11478 * BufferView_pimpl.C: use workarea() not workarea_,
11479 and make it use a scoped_ptr instead
11481 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11483 * lyx_gui.C: add debug message on BadWindow
11485 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * sp_spell.C: fdopen is not part of the C++ standard.
11489 * paragraph.C (InsetIterator): use >= instead of ==
11491 2002-06-07 Angus Leeming <leeming@lyx.org>
11493 Fixes needed to compile with Compaq cxx 6.5.
11494 * BufferView_pimpl.C:
11501 * lyxtextclasslist.C:
11506 all c-library variables have been moved into namespace std. Wrap
11507 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11512 Add a using std::abs declaration.
11514 * kbmap.h (modifier_pair):
11515 * paragraph.h (InsetTable, InsetList):
11516 * lyxfont.h (FontBits):
11517 type definition made public.
11519 * bufferlist.C (emergencyWriteAll): the compiler complains that
11520 there is more than one possible lyx::class_fun template to choose from.
11521 I re-named the void specialisation as lyx::void_class_fun.
11523 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11525 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11526 the compiler is is unable to find tostr in write_attribute.
11528 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * buffer.C (sgmlError): hide #warning
11532 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * xtl/*: get rid of xtl, which is not in use anyway
11536 * LyXAction.C (init):
11537 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11538 were unimplemented xtl experimentation
11540 2002-06-04 André Pönitz <poenitz@gmx.net>
11542 * lyxfunc.C: disable array operation on simple formulae
11544 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11546 * converter.C: constify a bit
11548 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11550 * lyx_gui.C: check xforms version correctly
11552 2002-04-30 Herbert Voss <voss@lyx.org>
11554 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11557 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11559 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11560 attempt to register it with a VCS)
11562 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * lyx_main.C (init): honor variables LYX_DIR_13x and
11567 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11571 * lyx_main.C: fix a crash on bad command line,
11572 and give a useful exit status on error
11574 * lyxfunc.C (doImport): allow -i lyx to work
11576 2002-03-30 André Pönitz <poenitz@gmx.net>
11578 * lyxfunc.C: mathed font changes
11580 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11595 * trans_mgr.h: srcdocs, and some minor cleanups
11597 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11600 call getFont all the time)
11602 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11604 * switch from SigC signals to boost::signals
11606 2002-05-29 André Pönitz <poenitz@gmx.net>
11608 * paragraph_pimpl.C (getChar): don't call size() too often...
11610 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11612 * paragraph_pimpl.C (insertChar): do not try to update tables when
11613 appending (pos == size())
11615 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11616 in order to reduce drastically the number of comparisons needed to
11617 parse a large document
11619 2002-05-29 André Pönitz <poenitz@gmx.net>
11625 * textclasslist.[Ch]:
11626 * sp_ispell.h: whitespace change
11628 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11630 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11631 lyxaction directly now.
11633 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11637 * lyxvc.C: remove unused headers
11639 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11646 * undo_funcs.C: some cleanups. Use shared_ptr
11647 and a template for the undo stacks.
11649 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11651 * BufferView_pimpl.h:
11652 * BufferView_pimpl.C:
11659 * text2.C: use key_state/mouse_state
11661 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11663 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11666 * chset.C: change include order
11667 (loadFile): use boost regex and get rid of LRegex and LSubstring
11669 * Makefile.am (BOOST_LIBS): new variable
11670 (lyx_LDADD): use it
11672 * LaTeX.C: change include order.
11673 (scanAuxFile): use boost regex and get rid of LRegex and
11677 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11682 * FontInfo.C: moved to frontends/xforms/
11685 * FontLoader.C: moved into frontends for GUIIzation
11690 * lyxfunc.C: changes from above
11692 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11694 * LColor.C: remove spurious X include
11696 * BufferView_pimpl.C:
11701 * text2.C: move font metrics to frontends/
11703 2002-05-24 Juergen Vigna <jug@sad.it>
11705 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11706 setting the undo_cursor.
11708 * ParagraphParameters.h: include local includes first.
11710 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11712 * BufferView_pimpl.C:
11713 * BufferView_pimpl.h:
11717 * screen.C: move WorkArea into frontends/
11723 * BufferView2.C: move LyXScreen into frontends/
11727 * lyx_gui.C: move lyxlookup into frontends/xforms/
11729 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11732 * BufferView_pimpl.C:
11742 * bufferview_funcs.C:
11755 * vc-backend.C: move LyX/XFormsView into frontends/
11757 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11769 * text2.C: move Painter to frontends/
11771 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * buffer.C: comment out some some code that depend upon lyx_format
11776 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11777 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11779 * buffer.h (NO_COMPABILITY): turn off compability
11781 * ColorHandler.C: include scoped_array.hpp
11783 * font.C: Use more specific smart_ptr header.
11786 * ShareContainer.h: ditto
11787 * lyx_main.h: ditto
11789 * FontInfo.h: ditto
11790 * BufferView_pimpl.h: ditto
11791 * ColorHandler.h: ditto
11793 * kbmap.C (defkey): change call to shared_ptr::reset
11795 2002-05-21 Juergen Vigna <jug@sad.it>
11797 * buffer.C (insertErtContents): fix to insert ert asis if it is
11798 non empty. Skip it completely if it contains only whitespaces.
11800 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11802 * BufferView_pimpl.C:
11803 * BufferView2.C: clear selection on paste (bug 393)
11805 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * DepTable.C: include ctime
11809 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11811 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11813 2002-05-14 Juergen Vigna <jug@sad.it>
11815 * text.C (breakParagraph): fixed function to honor the keepempty
11816 layout in the right maner and also to permit the right breaking
11817 algorithm on empty or non empyt keepempty paragraphs.
11819 * paragraph.C (breakParagraph): we have to check also if the par
11820 is really empty (!size()) for isempty otherwise we do the wrong
11823 2002-05-10 Juergen Vigna <jug@sad.it>
11825 * buffer.[Ch] : The following are only changes to the ert
11826 compatibility read reading old LaTeX layout and font stuff and
11827 convert it to ERTInsets.
11829 * buffer.h: added isErtInset().
11831 * buffer.C (struct ErtComp): add a fromlayout bool to check
11832 if we're inside a LaTeX layout.
11833 (isErtInset): new helper function.
11834 (insertErtContents): look for other ert insets before this one
11835 and insert the contents there, so that we don't have subsequent
11836 ERT insets with nothing between them. This way we create only one
11837 inset with multiple paragraphs. Also check if we don't insert only
11838 spaces ' ' as they are ignored anyway afterwards in the .tex file
11839 so if we have only spaces we will ignore this latex part in the
11841 (parseSingleLyXformat2Token \\layout): better compatibility when
11842 reading layout-latex stuff.
11843 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11845 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11846 stuff after reading the inset only get the information back from
11849 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11851 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11853 * LaTeXFeatures.C (getBabelOptions): New method.
11855 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * BufferView_pimpl.C (Dispatch): work around missing argument for
11860 2002-05-08 Juergen Vigna <jug@sad.it>
11862 * text.C (leftMargin): handle paragraph leftindent.
11864 * paragraph.C (writeFile): write the new \\leftindent tag.
11865 (validate): handle leftindent code.
11866 (TeXEnvironment): handle paragraphleftindent code again.
11868 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11870 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11871 for paragrap_extra indent code and new token \\leftindent.
11872 (latexParagraphs): handle the leftindent as environment.
11874 * ParameterStruct.h: added leftindent support.
11876 * ParagraphParameters.C (leftIndent): added support functions for
11877 the paragraph left indent.
11879 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11882 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11884 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11887 * text.C (computeBidiTables): No bidi in insetERT.
11889 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11892 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11894 * version.C.in: pre 5
11896 2002-05-02 José Matos <jamatos@fep.up.pt>
11897 * buffer.C (makeDocBookFile): white space changes, add newline to
11899 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11901 * tabular.C (docBook): fix typo.
11903 2002-05-03 Juergen Vigna <jug@sad.it>
11905 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11906 change in LyXText as we can not be sure it was not freed.
11907 (drawOneRow): remove unused code.
11909 * text.C (drawInset): redo the calculation of the need_break_row as
11910 it could have a row which was already freed.
11911 (draw): look at the return value of drawInset and return false if
11912 it also returned false.
11913 (paintRowText): look at the return value of draw and return false if
11914 it also returned false.
11916 * lyxtext.h: added bool return type to drawInset() and draw() so that
11917 if we have a change in the row so that the rowbreak has to be redone
11918 we abort drawing as it will be called again.
11920 2002-05-02 Juergen Vigna <jug@sad.it>
11922 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11923 a change in the maintext also if we're inside an inset.
11924 (Dispatch): set the cursor again after a break line and after the
11925 screen has been updated as it could be we're in a different row.
11927 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11928 to set the cursor behind the pargraph with > size().
11929 (setCursor): check also for the same paragraph when checking where
11930 to put the cursor if we have a NFR inset.
11932 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11933 parts of layout read further up as it still was in the wrong
11936 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * screen.C (drawFromTo): change sine fullRebreak always return
11941 * buffer.C (parseSingleLyXformat2Token): reindent some
11943 * BufferView_pimpl.C (update): change since fullRebreak always
11945 (Dispatch): git rid of the last hardcoded "Standard"s.
11947 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11949 * text2.[Ch] (fullRebreak): make it return void now that we always
11952 2002-04-30 Juergen Vigna <jug@sad.it>
11954 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11955 ert compatibility check for "latex" layout.
11957 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11959 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11960 minipages: use col% instead of p%, and also use the current font.
11961 (makeLaTeXFile): Fix use babel condition.
11962 (parseSingleLyXformat2Token): Correct font when reading old floats.
11964 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11966 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11967 inserting list of floats.
11969 2002-04-25 Herbert Voss <voss@lyx.org>
11971 * MenuBackend.C (expand): don't add the graphics extensions to the
11974 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11977 non-existing layout, do not complain if it was the default layout
11978 of the original class (bug #342)
11980 2002-04-24 Juergen Vigna <jug@sad.it>
11982 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11983 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11985 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11987 * buffer.C (getBibkeyList): If using \bibliography, return the
11988 option field with the reference itself. Enables us to provide natbib
11989 support when using \bibliography.
11991 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11993 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11995 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11996 natbib is provided by the LaTeX class.
11998 2002-04-23 Juergen Vigna <jug@sad.it>
12000 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12003 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12005 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12009 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12010 ensuremath around textordmasculine, textordfeminine and
12013 2002-04-19 Juergen Vigna <jug@sad.it>
12015 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12016 reinitializing the buffer otherwise row-dimensions may be wrong.
12017 (update): reset also the selection cursors if they do exits otherwise
12018 their x/y positions may be wrong.
12020 * text2.C (cursorDown): don't enter the inset if we came from a row
12021 above and are one row over the inset.
12023 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12024 really leaving an inset.
12026 2002-04-18 Juergen Vigna <jug@sad.it>
12028 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12029 of the selected paragraph does not have the selected layout also if
12032 * text2.C (setLayout): fixed bug which did not change last selected
12035 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12036 changed the read and substituted \\end_float with \\end_inset!
12038 * BufferView_pimpl.C (cursorPrevious):
12039 (cursorNext): fixed to make it work with rows heigher than the work
12040 area without moving the cursor only the draw of the row.
12041 (workAreaMotionNotify): fix jumping over high rows.
12043 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12048 2002-04-16 Juergen Vigna <jug@sad.it>
12050 * text2.C (setCursor): set also the irow().
12051 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12053 (cursorDown): support for locking an inset if the x_fix value goes
12054 inside it. That way I can transverse insets too with cursor up/down.
12056 * lyxrow.h: added irow helper function same as other (i) functions.
12058 * BufferView_pimpl.C (cursorPrevious):
12059 (cursorNext): fixed for insets!
12061 2002-04-15 Juergen Vigna <jug@sad.it>
12063 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12064 position otherwise it is wrong in some cases.
12066 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12067 inside the inset before the call.
12069 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12071 * buffer.[Ch] (getBibkeyList): make it const.
12073 2002-04-12 Juergen Vigna <jug@sad.it>
12075 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12077 * text2.C (getCursorX): new helper function
12078 (setCursor): compute also ix_
12079 (setCursorFromCoordinates): set also ix.
12081 * lyxcursor.h: added ix_ and helper functions.
12083 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12085 * buffer.C (insertStringAsLines): dont break paragraph if the this
12086 paragraph is inside an inset which does not permit it!
12088 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12089 also with no chars on this paragraph.
12090 (paintRowText): only paint stuff if it's inside the workarea!
12092 * paragraph.C (breakParagraph): honor keepempty flag and break the
12093 paragraph always below not above.
12095 * BufferView2.C (unlockInset): update the paragraph layout on inset
12096 unlock as we changed paragraph in such a case.
12098 * lyxfind.C (LyXFind): clear the former selection if not found!
12100 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12101 again called in insertChar().
12103 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12104 an inset which uses the whole row!
12105 (rightMargin): ditto.
12106 (insertChar): force a rebreak if we inserted an inset!
12108 2002-03-28 Herbert Voss <voss@lyx.org>
12110 * lyxlength.[Ch]: add inBP() to get the right PS-point
12111 units (BigPoint). With inPixels we have rounding errors
12113 2002-04-11 Juergen Vigna <jug@sad.it>
12115 * text2.C (setCursorFromCoordinates): set iy to the right value.
12116 (setCursor): add check if row->previous exists!
12118 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12119 an old float_type as this was the case in the old code!
12121 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12123 * BufferView2.C (showLockedInsetCursor): use iy
12124 (fitLockedInsetCursor): ditto
12126 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12127 locked insets as there we have the right value now.
12129 * lyxcursor.C: added iy_ variable and iy functions to set to the
12130 baseline of cursor-y of the locked inset.
12132 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12133 (setCursor): fixed for insets which need a full row.
12135 * text.C (rowLastPrintable): don't ignore the last space when before
12136 an inset which needs a full row.
12137 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12138 as last character of a row when before a inset which needs a full row.
12140 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * version.C.in: update date
12144 * text2.C (fullRebreak): try to always return true and see what
12147 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12149 * MenuBackend.C (expand): use Floating::listName
12151 * FloatList.C (FloatList): add listName argument to the built-in
12154 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12155 text associated with the float.
12157 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12159 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12161 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * ShareContainer.h: add a couple of missing typenames.
12165 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12167 * lyxrc.C (getDescription): use _() correctly rather than N_().
12169 2002-03-28 Herbert Voss <voss@lyx.org>
12171 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12172 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12174 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12176 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12177 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12179 2002-03-29 Juergen Vigna <jug@sad.it>
12181 * lyxfunc.C (dispatch): add a missing fitCursor call.
12183 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12184 it was scrolled by a cursor move, so return the bool status.
12186 * BufferView.C (fitCursor): return the bool flag also to the outside
12187 world as this is needed.
12189 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12191 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12192 call the edit() as it is not needed (and wrong) IMO.
12193 (workAreaButtonPress): set the screen_first variable before evt.
12194 unlock the inset as this may change screen_first and then we have
12195 a wrong y position for the click!
12197 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12199 * MenuBackend.C (expand): another translation that I missed
12201 2002-03-28 Juergen Vigna <jug@sad.it>
12203 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12205 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12207 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12209 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12211 * MenuBackend.C (expand): fix export/view/update when there is no
12214 2002-03-27 Herbert Voss <voss@lyx.org>
12216 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12219 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12221 * bufferview_funcs.C (currentState): only show paragraph number
12222 for is DEVEL_VERSION is set.
12224 * lyxfunc.C (dispatch): put warning in INFO channel
12226 * MenuBackend.C (expand): translate the name of floats
12228 * FloatList.C (FloatList): mark the float names for translation
12230 * converter.C (convert): use LibScriptSearch
12232 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12234 * MenuBackend.C (defaults): fix default menu (we might as well get
12237 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12242 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12244 * lyxvc.C: reorder includes.
12246 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12248 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12251 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12253 * CutAndPaste.C: change layouts earlier on paste
12254 to avoid crashing when calling getFont()
12256 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12258 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12261 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12263 * WorkArea.C: remove 'Pending' debug message.
12265 * most files: ws cleanup
12267 * buffer.[Ch]: ws changes
12269 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12271 2002-03-21 Juergen Vigna <jug@sad.it>
12273 * tabular.C (SetMultiColumn): collapse also the contents of the
12274 cells and set the last border right. Added a Buffer const * param.
12276 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12281 2002-03-19 Juergen Vigna <jug@sad.it>
12283 * text2.C (clearSelection): reset also xsel_cache.
12285 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12286 where it needs to be called (John tells us to do so too :)
12287 (selectionLost): reset sel_cache.
12289 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12291 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12293 * text2.C (setCursorIntern): put debuging code in INSETS channel
12295 2002-03-19 André Pönitz <poenitz@gmx.net>
12297 * lyxfunc.C: tiny whitespace change
12299 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12301 * ToolbarDefaults.C (init):
12302 * LyXAction.C (init):
12304 * BufferView_pimpl.C (Dispatch):
12305 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12307 2002-03-19 Allan Rae <rae@lyx.org>
12309 * exporter.C (Export): removeAutoInsets before doing anything else.
12310 While I've just introduced a dependency on BufferView this really is
12311 the best place to clean the buffer otherwise you need to cleanup in
12312 a dozen places before calling export or cleanup in a dozen functions
12315 * converter.C (runLaTeX):
12316 (scanLog): Better handling of removeAutoInsets and screen updates.
12318 * lyxfunc.C (dispatch): small whitespace changes
12320 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12322 * WorkArea.C (C_WorkAreaEvent): return a value.
12323 (event_cb): return 1 if we handled the event, 0 otherwise.
12325 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12327 2002-03-18 Juergen Vigna <jug@sad.it>
12329 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12330 (GetAdditionalWidth): ditto.
12331 (RightLine): ditto.
12334 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12335 inset if we're there actually (probably not used right now but this
12336 is the direction to go for unifying code).
12337 (paste): disable code to clear the selection.
12339 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12340 inside an InsetText and move the check further up as it is in the
12343 * text2.C (pasteSelection): set a selection over the pasted text.
12345 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12347 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12348 and libgraphics to build on Cygwin.
12350 2002-03-15 Juergen Vigna <jug@sad.it>
12352 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12353 inserting an Inset into the paragraph. I know this is not the best
12354 fix but we already use current_view in CutAndPaste so we will remove
12355 all of it's using at the same time.
12357 * buffer.C (sgmlError): deactivated function till it is rewritten in
12358 the right mode, now it can create problems.
12360 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12361 before accessing it.
12363 2002-03-14 Juergen Vigna <jug@sad.it>
12365 * undo_funcs.C (textHandleUndo): do the right thing when updating
12366 the inset after the undo/redo.
12368 * text2.C (setCursor): just some testcode for #44 not ready yet.
12370 * undo_funcs.C (textHandleUndo): set the next() and previous()
12371 pointers of the paragraph to 0 before deleting otherwise we have
12372 problems with the Paragraph::[destructor].
12374 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12375 on a paragraph insertion.
12377 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * buffer.C (asciiParagraph): use += operator for char append to
12382 * paragraph.C (getFontSettings): compare >= not just >
12383 (highestFontInRange): ditto
12386 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12388 * paragraph.C: change several algorithm to be more appripriate for
12389 the problem domain. This is lookip in FontList and in the InsetList.
12391 2002-03-13 André Pönitz <poenitz@gmx.net>
12394 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12396 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12401 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12403 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * Painter.C (display): anon helper function, adjust code for this
12407 (pixmap): remove function.
12409 * Painter.h: remove private display variable.
12411 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12413 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12415 * WorkArea.[Ch]: remove figinset_canvas cruft.
12417 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * lyxtextclass.C (operator): add one item cache optimization.
12421 * bufferlist.h: doxy changes
12423 * bufferlist.C: ws changes
12425 * DepTable.[Ch] (ext_exist): place const in the right spot.
12427 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12429 (workAreaExpose): call resizeInsets when the with BufferView changes.
12430 (Dispatch): adjust for protectedBlank removal
12431 (specialChar): call updateInset if the insert went ok.
12433 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12434 specialChar instead.
12436 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12438 * BufferView.h: doxy change
12440 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12442 * lyxtextclass.C (operator[]): remove non-const version
12443 (defaultLayout): remove non-const version
12445 2002-03-12 Juergen Vigna <jug@sad.it>
12447 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12448 did resize the LyXText too.
12450 * buffer.C (readLyXformat2): set layout information on newly allocated
12453 * tabular.C (OldFormatRead): set layout information on the paragraph.
12455 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12457 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12459 2002-03-11 Juergen Vigna <jug@sad.it>
12461 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12463 (resizeCurrentBuffer): force also the insets to resize themselfes.
12464 (moveCursorUpdate): fixed up for InsetText.
12466 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12469 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12470 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12471 value of Dialogs::tooltipsEnabled().
12472 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12474 2002-03-08 Juergen Vigna <jug@sad.it>
12476 * BufferView_pimpl.C (updateInset): update inset inside inset also
12477 if it isn't inside theLockingInset().
12479 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * buffer.C (asciiParagraph): redo some of the word and line length
12483 (getLists): look for Caption instead of caption.
12485 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12487 * buffer.C (Buffer): initialize niceFile to true
12489 (makeLinuxDocFile):
12490 (makeDocBookFile): make sure niceFile is true on exit
12492 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12494 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12496 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12498 * LyXSendto.C: remove.
12499 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12500 * lyx_gui.C: remove now-redundant comment.
12501 * ColorHandler.h: remove forward declaration of class WorkArea.
12502 * lyxfunc.C: remove #include "WorkArea.h".
12504 2002-03-07 Juergen Vigna <jug@sad.it>
12506 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12507 got moved away with the DEPM and also set the inset_owner always
12508 right which before could have been omitted.
12510 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12513 wanted layout is not found.
12515 2002-03-07 Juergen Vigna <jug@sad.it>
12517 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12519 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12521 * paragraph.C (breakParagraph): use default layout not layout of
12523 (Paragraph): clear ParagraphParameters.
12525 2002-03-06 Juergen Vigna <jug@sad.it>
12527 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12528 otherwise it would not be a valid lenght. Fixed a special case in
12529 the minipage compatibility read where we end the document with a
12532 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12533 was set as it could be 0 for InsetTexts first entry.
12535 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * paragraph.C (writeFile): if layout is empty write out
12538 defaultLayoutName().
12540 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12541 file without named layout we set layout to defaultLayoutName().
12543 2002-03-06 Juergen Vigna <jug@sad.it>
12545 * CutAndPaste.C (copySelection): set layout for new paragraph.
12547 * text.C (prepareToPrint): leave ERT inset left aligned
12548 (leftMargin): don't indent paragraphs inside ERT insets
12550 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12552 * paragraph.C (breakParagraph): dont call clear do the work manually
12554 * paragraph.[Ch] (clear): remove function
12556 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12558 * paragraph.C (Paragraph): dont call clear, the work has already
12561 * lyxtextclass.C (operator): assert if n is empty
12563 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12564 work manually instead.
12566 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12568 * BufferView_pimpl.C: protect selectionLost against text == 0
12570 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * text.C (breakParagraph): fix a setting layout to '0' problem.
12574 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12576 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12577 final location of file, for the included files, and graphics.
12579 2002-03-05 Juergen Vigna <jug@sad.it>
12581 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12583 2002-03-04 Juergen Vigna <jug@sad.it>
12585 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12587 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12588 last column of multicolumn cells.
12589 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12591 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12593 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12594 file if it doesn't go to a temporary file.
12596 * buffer.C (sgmlOpenTag):
12597 (sgmlCloseTag): remove extra newline insertion.
12599 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * text.C (getRowNearY): comment out debug msg
12603 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * text2.C: first -> first_y
12607 * text.C (getRowNearY): add some attemts at a possible
12608 optimization, not working.
12610 * tabular.[Ch]: add BufferParams to several function so that newly
12611 created paragraph can be initialized to he default layotu for the
12614 * tabular-old.C (ReadOld): add buf->params to call of Init
12616 * screen.C: rename text->first to text->first_y
12618 * paragraph.C (breakParagraph): always set layout in the broken
12621 * lyxtextclass.C (Read): remove lowercase
12624 (delete_layout): ditto
12626 * lyxtext.h: rename first -> first_y
12628 * lyxlayout.C (Read): remove lowercase
12631 (obsoleted_by): ditto
12633 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12635 * buffer.C (insertErtContents): add params are to InsetERT
12636 (parseSingleLyXformat2Token): add code to check if a paragraphs
12637 layout really exist.
12638 (parseSingleLyXformat2Token): add params to several inset
12640 (asciiParagraph): remove lowercase, do the layout comparisons with
12643 * BufferView_pimpl.C (cursorNext): first -> first_y
12644 (resizeCurrentBuffer): first -> first_y
12645 (updateScrollbar): first -> first_y
12646 (scrollCB): first -> first_y
12647 (workAreaMotionNotify): first -> first_y
12648 (workAreaButtonPress): first -> first_y
12649 (checkInsetHit): first -> first_y
12650 (cursorPrevious): first -> first_y
12651 (cursorNext): first -> first_y
12652 (Dispatch): add buffer_->params to severl inset contructors
12654 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * lyxlayout.C (Read): remove some debug info that I forgot.
12658 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12659 clean up the code slightly.
12660 (makeLinuxDocFile): ditto
12661 (makeDocBookFile): ditto
12663 * text2.C: layout as string
12665 * text.C: layout as string
12667 * paragraph_pimpl.C: layout as string
12669 * paragraph.[Ch]: layout as string
12671 * lyxtextclasslist.[Ch]: layout as string
12673 * lyxtextclass.[Ch]: layout as string
12675 * lyxtext.h: layout as string
12677 * lyxlayout.[Ch]: layout as string
12679 * lyx_cb.C: layout as string
12681 * bufferview_funcs.C: layout as string
12683 * bufferparams.C: layout as string
12685 * buffer.C: layout as string
12687 * LyXView.[Ch]: layout as string
12689 * LaTeXFeatures.[Ch]: layout as string
12691 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12693 * BufferView_pimpl.C: change current_layout to string, remove
12698 (workAreaButtonRelease): layout as string
12700 * BufferView2.C (unlockInset): adjust
12702 * vspace.C (asLatexCommand): use an explict temp variable.
12704 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12706 * Makefile.am: use FRONTEND_*
12708 2002-03-01 Juergen Vigna <jug@sad.it>
12710 * tabular.C (SetWidthOfMulticolCell): changed to something better
12711 I hope but still work in progress.
12712 (recalculateMulticolumnsOfColumn): renamed function from
12713 recalculateMulticolCells as it is more appropriate now.
12714 (SetWidthOfCell): calculate multicols better.
12716 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12718 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12720 * lyxfunc.C (processKeySym): print sequence also if it is
12721 `deleted' (complete)
12723 * kbsequence.C (print): print sequence even if it is deleted
12724 (complete would be a better word, actually).
12726 * lyxfunc.C (dispatch): print complete options after a prefix key
12728 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12730 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12732 * text2.C (setCharFont): eliminate setCharFont code duplication.
12734 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12736 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12737 LFUN_TABULAR_FEATURE (bug #177)
12739 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12741 * Makefile.am: remove figure.h
12743 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12745 * Bufferview_pimpl.C:
12757 * text2.C: remove #include "lyx_gui_misc.h".
12759 * LaTeX.C: added #include <cstdio>
12761 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12763 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12764 that the paragraph following this one can have.
12766 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12768 * vspace.C (asLatexCommand): fix bogus gcc warning
12770 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12772 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12774 * text2.C (setLayout): get rid of redundant code
12776 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12778 * text2.C (incDepth): make sure depth cannot be increased beyond
12781 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12783 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12784 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12786 * PainterBase.h (image):
12787 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12788 a LyXImage const *.
12790 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12794 * BufferView_pimpl.C:
12795 * BufferView_pimpl.h:
12815 * sp_spell.C: remove fig inset, and the crap house of
12816 cards that follows it
12818 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12823 * os2_errortable.h:
12824 * nt_defines.h: move .h into support/
12826 * vms_defines.h: remove
12828 * WorkArea.C: add space in debug output
12832 * buffer.C: add WITH_WARNINGS
12836 * bufferlist.C: s/retrive/retrieve/, add docs
12845 * chset.C: add docs
12847 * lyxgui.C: add ID to X error handler
12849 * lyxtestclass.c: fix typo
12851 2002-02-26 Juergen Vigna <jug@sad.it>
12853 * tabular_funcs.C (write_attribute): changed so that some default
12854 attributes are not written at all.
12855 (getTokenValue): set default values before trying to read the
12856 value so we have the return value always set as default if we don't
12857 find the token we search for.
12859 * tabular.C (Write): write bools as bools not as strings!
12861 2002-02-22 Juergen Vigna <jug@sad.it>
12863 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12864 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12866 * text.C (leftMargin): don't add an indent for paragraphs inside
12867 tabular cells (fix #208).
12869 2002-02-21 José Matos <jamatos@fep.up.pt>
12871 * tabular.C (docBook): fixed support for long tables.
12873 2002-02-20 Juergen Vigna <jug@sad.it>
12875 * text2.C (getFont): get the drawing font of the Inset if this
12876 paragraph is inside an inset (only important for InsetERT for now).
12878 * buffer.C (insertErtContents): use new lanugage params in ERT
12881 * CutAndPaste.C: commenting out seemingly uneeded code.
12883 2002-02-19 Allan Rae <rae@lyx.org>
12885 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12886 Iterators might be simple to use but they also get invalidated.
12887 (removeAutoInsets): renamed saved cursor tracking variables and added
12888 some comments to clarify what everything does.
12890 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12897 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12898 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12901 * vc-backend.h: remove #include "support/syscall.h"
12905 * converter.C: rearrange #includes in Lars' approved fashion.
12907 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12908 forward declare class Timeout in the header file.
12910 * XFormsView.C: changes due to the above.
12912 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12913 similar to LyXView.
12915 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12916 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12918 2002-02-18 José Matos <jamatos@fep.up.pt>
12920 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12923 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12925 * a lot of small ws changes
12926 * add a lot of using std::XXX
12927 * use std construcs some places where approp.
12928 * use some exisint stuff from lyxfunctional where approp.
12929 * Make file changes to use partial linking (lets test this now...)
12931 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12935 remove #include "support/syscontr.h" as it's redundant. Always has been.
12943 change Systemcalls::System to Systemcalls::Wait and
12944 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12945 No change of functionality, just reflects the stripped down Systemcalls
12948 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12950 * debug.[Ch]: add a GRAPHICS type to the enum.
12952 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12954 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12956 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12959 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12961 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12962 match the changes below.
12964 * text2.C (toggleInset): if there is not editable inset at cursor
12965 position, try to see if cursor is _inside_ a collapsable inset
12968 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12970 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12971 document menu has a nice checkbox
12973 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12975 * lyxlength.C (asLatexString): change PW to output as percent of
12978 * lengthcommon.C: change '%' to 't%'
12980 * lyxfunc.C (dispatch): a few comments from Martin
12982 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12986 * BufferView_pimpl.h:
12987 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12990 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12992 * vspace.C (inPixels): fix compiler warning
12994 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12996 * lyxfunc.C (getStatus): fix status message for disabled commands.
12998 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13000 * BufferView_pimpl.C: fix crash on close buffer
13001 during selection (#227)
13003 2002-01-27 Herbert Voss <voss@lyx.org>
13005 * buffer.C: link old Figure to new graphic inset
13007 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13009 * FontLoader.C (getFontinfo): Change the latex font names in order
13010 to match the names of type1inst.
13012 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13016 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13017 (extchanged): ditto
13019 (remove_files_with_extension): ditto
13020 (remove_file): ditto
13023 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13024 document is smaller than the work area height. Do not initialize
13025 static variables to 0.
13027 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13029 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13031 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13032 LFUN_LAYOUT_PARAGRAPHS.
13034 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13035 tabular. It is possible to provide a possible cell, which will
13036 typically be the actcell from the corresponding insettabular
13038 * lyxfunc.C (getStatus): small cleanup; disable
13039 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13042 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13044 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13046 * paragraph.C (startTeXParParams):
13047 (endTeXParParams): new methods. The LaTeX code to
13048 start/end paragraph formatting
13049 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13050 empty (fixes bug #200)
13052 * vspace.C (inPixels): adapt to the change below
13053 (inPixels): [later] more cleanups (remove unused variables)
13055 * lyxlength.C (inPixels): change to use a width and a height as
13058 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13060 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13061 Replaced with \paperwidth
13063 * DepTable.C (insert): add std:: qualifier
13065 2002-01-18 Allan Rae <rae@lyx.org>
13067 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13070 * text.C (drawInset): Turned out I didn't know enough about how
13071 rebreaking worked. This fixes most of the redraw problems. I see
13072 an occasional cursor trail when a line is broken now and the cursor
13073 placement can seem out by a few pixels also after a rebreak.
13075 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13077 * buffer.C (parseSingleLyXformat2Token): update because minipage
13078 width is now a LyXLength
13080 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13082 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13085 2002-01-17 Juergen Vigna <jug@sad.it>
13087 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13089 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13090 is set correctly and the inset is updated correctly.
13092 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13094 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13095 the beginning of the loop.
13097 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13099 * lyxrc.C: improve help for use_scalable_fonts
13101 2002-01-17 Allan Rae <rae@lyx.org>
13103 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13105 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13107 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13108 make sure to set their inset_owner to the right value (bug #171)
13110 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13113 * DepTable.C: Implement mtime checking to reduce time spent doing
13116 2002-01-16 Juergen Vigna <jug@sad.it>
13118 * tabular.C (GetAdditionalHeight): one of error fixed.
13120 * lyxrc.C (output): small fix in writing use_pspell.
13122 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13124 * sp_base.h: #include LString.h
13126 2002-01-16 Allan Rae <rae@lyx.org>
13128 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13129 Can someone check this please?
13131 * text.C (drawInset): It was possible that p.row would be removed by
13132 breakAgainOneRow upsetting a few other settings. There may be another
13133 small tweak possible by setting need_break_row = 0 when p.row has been
13134 removed but I don't know enough about the logic here.
13136 2002-01-15 Allan Rae <rae@lyx.org>
13138 * text.C (insertChar): removed conditional truism.
13140 * BufferView2.C (removeAutoInsets): More tweaks.
13141 cur_par_prev could be a stray pointer. Check for trailing empty line
13142 in case last line was cur_par and only had an error inset on it.
13144 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13146 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13149 * vc-backend.C (most methods):
13150 * exporter.C (Export):
13151 * converter.C (convert):
13153 * LyXSendto.C (SendtoApplyCB):
13154 * lyxfunc.C (dispatch):
13158 * lyx_cb.C (AutoSave):
13160 * BufferView_pimpl.C (MenuInsertLyXFile):
13161 * buffer.C (runChktex): use Buffer::filePath().
13163 * buffer.h: rename filename to filename_; rename filepath to
13164 filepath_ and make it private
13165 (filePath): new method
13167 * buffer.C (writeFile): use fileName()
13170 * lyx_main.C (init): fix starting of LyX when the binary is a
13171 link from so,ewhere else.
13173 * minibuffer.C: include <cctype> for isprint
13175 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13177 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13178 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13179 name clash with InsetCollapsable's width function.
13181 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * lastfiles.C: include <iterator>
13185 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13187 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13190 * buffer.C (makeLaTeXFile): ditto.
13191 Also make loop operation more transparent.
13193 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13195 * ToolbarDefaults.C: remove trailing comma closing namespace.
13197 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13199 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13202 * trans.C (Load): comment out unused variable, allowed.
13204 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13206 * minibuffer.[Ch] (append_char): new method to recieve input from the
13207 drop-down completion browser. If a key was pressed, then recieve this
13208 char and append it to the existing string.
13209 (peek_event): modify the positioning data passed to the completion
13210 browser so that it can be placed above the minibuffer rather than below.
13211 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * LyXAction.C (init): alloe error-next for readonly documents.
13215 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13218 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13220 * bufferlist.C (readFile): create the buffer _after_ checking that
13223 * lyxfunc.C (verboseDispatch): fix handling of arguments
13225 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13227 * lyxrc.C: use string::erase() instead of initializing to "".
13230 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13232 * BufferView_pimpl.h:
13233 * BufferView_pimpl.C:
13236 * text2.C: tell X when we have made a selection for copying
13238 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13240 * BufferView_pimpl.C (MenuInsertLyXFile):
13241 * lyxfunc.C (menuNew):
13243 (doImport): add shortcuts to directory buttons
13245 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13248 * lyxfunc.C (setStatusMessage):
13249 (getStatusMessage): new methods
13250 (getStatus):use setStatusMessage instead of setErrorMessage
13251 (dispatch): when function is disabled, set error message here
13252 [instead of in getStatus previously]
13254 * BufferView_pimpl.C (workAreaButtonRelease): update
13255 toolbar/menubar here too.
13257 2002-01-13 Allan Rae <rae@lyx.org>
13259 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13260 Now seems indestructible. Remaining task is to audit all other
13261 code affected by deleteEmptyParagraphMechanism. One small quirk
13262 left is that an empty document with an error in the preamble can
13263 be made to report an error but no error box appears. I don't know
13265 (removeAutoInsets): Improved comments.
13267 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13270 * Thesaurus.C: update for Aiksaurus 0.14
13272 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * text2.C (firstParagraph): removed member function, all uses
13275 replaces with ownerParagraph
13276 (redoParagraphs): here
13277 (updateInset): here
13278 (toggleAppendix): here
13279 * BufferView2.C (insertErrors): here
13280 (setCursorFromRow): here
13282 2002-01-13 Allan Rae <rae@lyx.org>
13284 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13285 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13286 There is still a way to segfault this although you may have to do this
13287 multiple times: Have an InsetERT with an unknown command in it.
13288 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13289 <down-arrow>, <Enter> again, View->DVI, BANG!
13291 * text2.C (setCursor):
13292 (deleteEmptyParagraphMechanism):
13293 * lyxtext.h (setCursor):
13294 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13295 Making use of the return value may help fix other bugs.
13297 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13299 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13301 * LyXView.C (updateMenubar): call MenuBar::update here
13302 (updateToolbar): but not here
13303 (showState): do not update toolbar/menubar
13305 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13306 should need to care about that.
13308 * lyxfunc.C (verboseDispatch): simplify a bit
13309 (getStatus): have a version which takes a pseudoaction, and
13310 another which requires a (kb_action,string).
13312 * LyXAction.C (retrieveActionArg): make it work also when action
13313 is not a pseudo-action.
13314 (getActionName): simplify a bit
13317 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13319 * lyxfunc.C (verboseDispatch): new families of methods with
13320 several ways to specify a command and a bool to indicate whether
13321 the command name and shortcut should be displayed in minibuffer
13322 (eventually, we could extend that to a finer bitmask like
13323 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13324 (dispatch): the pristine dispatch command which just, well,
13325 dispatchs! Note it still sets its result to minibuffer; I'm not
13328 * lyxfunc.h: remove setHintMessage
13330 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13332 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13334 * BufferView_pimpl.C (specialChar): delete new inset if we have
13335 not been able to insert it.
13337 * kbmap.C: revert to using int instead of kb_action, since all we
13338 are dealing with is pseudo-actions.
13340 * LyXAction.C (searchActionArg): change to return int instead of
13341 kb_action, since the result is a pseudoaction.
13343 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13345 * buffer.C (insertErtContents): Fix (partially) the font bug.
13347 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13349 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13350 as the other one is broken on my machine!
13352 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13355 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13357 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13359 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13360 reflect their actual use. Provide compatibility code for older lyxrc
13363 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13365 change names of popup font variables in line with the changes to lyxrc.C
13367 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13369 * buffer.C (asciiParagraph): avoid outputing a word twice after
13372 * lyxrc.C (getDescription): document that document_path and
13373 template_path can be empty.
13375 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13377 * LaTeXFeatures.C (getMacros):
13378 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13380 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13382 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13384 (getPackages): rename feature "floats" to "float". Use an array to
13385 iterate over 'simple' features (i.e. just a \usepackage). Add
13386 handling of "amsmath" (renamed from "amsstyle").
13388 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13390 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13393 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13395 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13396 FuncStaus::FuncStatus & FuncStaus::some_method().
13398 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13400 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13401 of the func_satus stuff. Edited and massaged in various ways by
13404 * lyxfunc.C (getStatus): use FuncStatus
13406 2002-01-08 Juergen Vigna <jug@sad.it>
13408 * text.C (nextBreakPoint): use function Inset::isChar().
13410 * paragraph.C (TeXOnePar): use function
13411 Inset::forceDefaultParagraphs.
13413 * buffer.C (latexParagraphs): use function
13414 Inset::forceDefaultParagraphs.
13416 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13418 * lyx_gui.C (init): set the style of the menu popups to
13419 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13421 2002-01-07 Juergen Vigna <jug@sad.it>
13423 * text.C (setHeightOfRow): small fix
13424 (prepareToPrint): don't look at alignment if we don't have the place
13427 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13429 * box.C: New file. Move the Box methods and functions out of box.h,
13430 following Lars' suggestion.
13432 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13434 * box.h: #include "support/LOstream.h", needed for inlined function.
13437 * lyxtextclasslist.C: added some using std declarations.
13439 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13441 * box.h: make signed dimensions to allow insets wider than
13442 the screen (bug #162)
13444 * BufferView_pimpl.C: add some insetHit debug
13446 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13448 * vc-backend.C: add FIXME
13450 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13452 * lyxfunc.C (getStatus): enable code for showing math font status
13455 2002-01-07 Juergen Vigna <jug@sad.it>
13457 * text.C (nextBreakPoint): removed debug output not needed anymore.
13459 2002-01-06 Juergen Vigna <jug@sad.it>
13461 * text.C (nextBreakPoint): fixed up this function we had this bug
13462 since ever but now hopefully we break row better.
13463 (insertChar): we have to check if an inset is the next char as it
13464 could now happen that a large inset is causing a break.
13466 2002-01-05 Juergen Vigna <jug@sad.it>
13468 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13469 if it doesn't like to be drawed.
13471 2002-01-04 Juergen Vigna <jug@sad.it>
13473 * BufferView2.C (lockInset): forgot to set a cursor.
13475 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13477 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13479 * FormMathsPanel.C:
13482 * form_maths_panel.C:
13483 * form_maths_panel.h:
13484 * form_maths_panel.fd: implemented sub- and super- buttons in math
13487 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13488 (or ^ space) to be used as in TeX (req'd by André).
13490 * lyxfunc.C: Allow ^ and _ again to be used both as
13491 super/subscript (mathed) and as themselves (in text).
13493 2002-01-03 Allan Rae <rae@lyx.org>
13495 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13496 "LyX" or the filename of the current buffer if it has one. This is a
13497 modified form of John Levon's patch.
13499 * XFormsView.C (setWindowTitle): also set icon title.
13501 * LyXView.h (setWindowTitle): signature changed.
13502 * XFormsView.h (setWindowTitle): ditto.
13504 2002-01-02 Juergen Vigna <jug@sad.it>
13506 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13508 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13510 * screen.C (topCursorVisible): introduce a temp var for
13511 text->cursor.row(), handle the case where this row is null. (kindo
13514 * text2.C (setCursor): add a couple of asserts.
13516 * paragraph.h (inset_iterator): add -> operator
13518 * paragraph.[Ch] (autoDeleteInsets): remove member function
13520 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13521 cursor pos correctly and handle inset deletion by itself.
13522 (insertErrors): move iterator declaration out of for expression
13524 * lyxtextclass.C: add <algorithm>
13526 * Makefile.am: added the new files to sources, removed layout.C
13528 * layout.C: removed file
13530 * layout.h: remove LYX_DUMMY_LAYOUT
13532 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13536 * lyxtextclass.[Ch]:
13537 * lyxtextclasslist.[Ch]: new files
13539 * include order changes to a lot of files, also changes because of
13542 2001-12-27 Juergen Vigna <jug@sad.it>
13544 * buffer.C (asciiParagraph): more fixes.
13546 * tabular.C (ascii): make ascii export support export of only the
13547 data separated by a column-delimiter.
13548 (ascii): better support for ascii export.
13550 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13552 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13554 * tabular_funcs.C: use a "using std::getline" instead of the
13555 previous fix from Angus (necessary for cxx + lyxstring)
13557 2001-12-24 Juergen Vigna <jug@sad.it>
13559 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13561 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13562 problems. First check a minipage also if we have some ert-contents
13563 (not only on par->size(), second set the right depth of the paragraph
13564 on the relink to the root-paragraph-list!
13566 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13567 which then did not anymore update the main paragraphs on undo/redo!
13569 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13571 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13572 code. Support all font-changing funcs (even those which are not in
13573 menu currently). Support for reporting font settings in
13574 mathed (disabled until Andre provides a function on mathed's side).
13576 * func_status.h (toggle): small helper function to set toggle
13579 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13581 * tabular_funcs.C: getline -> std::getline
13583 2001-12-21 Juergen Vigna <jug@sad.it>
13585 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13586 accessed and could be 0 (I couldn't generate this but it seems
13589 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13591 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13592 * tabular_funcs.h: here and include iosfwd
13594 2001-12-20 Juergen Vigna <jug@sad.it>
13596 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13597 inside inset but undo_par was.
13599 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13601 * Thesaurus.C: always include <config.h> in sources.
13605 * box.h: do not include <config.h> in header files
13607 * text.C (paintLastRow): remove unused variable
13609 * text.C (transformChar):
13611 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13613 * Painter.C (text):
13614 * font.C (width): rewrite to use uppercase() instead of
13617 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13619 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13621 * lyxfind.C: clean up of find failure position change
13623 2001-12-20 Juergen Vigna <jug@sad.it>
13625 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13627 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13628 (TeXRow): added to LaTeX a single tabular row.
13629 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13630 (Latex): simplified and finally good LT-h/f support.
13631 (various_functions): just small adaptions for LT-h/f support.
13633 * tabular_funcs.[hC]: added and moved here all not classfunctions
13636 2001-12-19 Juergen Vigna <jug@sad.it>
13638 * tabular.[Ch]: better support for longtabular options (not finished
13641 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13643 * text.C (paintLastRow): use the label font instead of the font of
13644 the last character to compute the size of *_BOX. This makes more
13645 sense and avoids a crash with empty paragraphs.
13646 Use Painter::rectangle to draw EMPTY_BOX.
13648 2001-12-19 Juergen Vigna <jug@sad.it>
13650 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13651 the paragraphs if the replaced paragraph is not the first one!
13652 Tried to delete not used paragraphs but does not work yet so for
13653 now it's inside #ifdef's and by default off!
13655 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13657 * MenuBackend.C: include "lyx_main.h" instead of declaring
13658 lastfiles (actually was declared as LastFiles* instead of a
13661 2001-12-17 Juergen Vigna <jug@sad.it>
13663 * tabular.C (AppendColumn): applied John's fix
13665 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13669 * BufferView_pimpl.h:
13670 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13673 * box.h: new start of class for above
13675 * lyxfunc.C: ignore space-only minibuffer dispatches.
13676 Show the command name when it doesn't exist
13678 * minibuffer.C: don't add empty lines to the history
13680 * minibuffer.C: add a space on dropdown completion
13682 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13684 * text.C: fix line above/below drawing in insets
13686 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * lyxlength.C (LyXLength): Initialize private variables.
13690 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13692 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13693 when inserting error insets.
13695 2001-12-13 Juergen Vigna <jug@sad.it>
13697 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13698 actually sometimes the before-paragraph.
13699 (setUndo): don't clear the redostack if we're not actually undoing!
13701 2001-12-06 Juergen Vigna <jug@sad.it>
13703 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13704 and fixed redoing of main paragraph, so we can use it now ;)
13706 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13708 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13710 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13713 2001-12-13 André Pönitz <poenitz@gmx.net>
13716 * undo_func.C: minor cleanup
13718 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13720 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13721 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13722 font in urw-fonts package which is marked as -urw-fontspecific and
13723 does not work (incidentally, changing the encoding in the
13724 fonts.dir of this package to -adobe-fontspecific fixes the
13727 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13728 is a crash when undoing first paragraph (Juergen, please take a
13729 look). THis does not mean the undo fix is wrong, just that it
13732 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13733 the (Paragraph*) version when needed instead of duplicating the
13736 * text.C (workWidth): use Inset::parOwner to find out where the
13737 inset has been inserted. This is a huge performance gain for large
13738 documents with lots of insets. If Inset::parOwner is not set, fall
13739 back on the brute force method
13741 * paragraph_pimpl.C (insertInset):
13742 * paragraph.C (Paragraph):
13743 (cutIntoMinibuffer): set parOwner of insets when
13744 inserting/removing them
13746 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13748 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13754 * mathed/formulabase.C:
13755 * mathed/math_cursor.[Ch]:
13756 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13759 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13761 * lyxlength.[Ch] (operator!=): new function
13763 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13765 * text.C (workWidth): use Inset::parOwner to find out where the
13766 inset has been inserted. This is a huge performance gain for large
13767 documents with lots of insets. If Inset::parOwner is not set, fall
13768 back on the brute force method
13770 * paragraph_pimpl.C (insertInset):
13771 * paragraph.C (Paragraph):
13772 (cutIntoMinibuffer): set parOwner of insets when
13773 inserting/removing them
13775 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13777 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13779 * tabular-old.C (getTokenValue):
13780 * tabular.C (getTokenValue):
13781 (write_attribute): new versions for LyXLength
13782 (everywhere): adjust the use of widths
13784 * tabular.h: change the type of widths from string to LyXLength
13786 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13788 * paragraph.C: fixed missing line number count when exporting
13789 Environments to LaTeX file
13791 * buffer.C: added informational message for checking line numbers.
13793 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13795 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13796 paragraph, do the 'double space' part, but not the 'empty
13799 * text.C (workWidth): small optimization
13800 (getLengthMarkerHeight): use minimal size for negative lengths.
13802 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13804 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13806 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13808 2001-12-11 André Pönitz <poenitz@gmx.net>
13811 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13813 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13815 * text2.C: keep selection on a setFont()
13817 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13819 * lyx_cb.C: another bv->text misuse, from insert label
13821 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13824 * kbsequence.C: re-instate nmodifier mask
13826 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13828 * lyx_main.h: make lyxGUI private.
13830 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13832 * lyxfind.C: place the cursor correctly on failed search
13834 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13836 * text.C (getLengthMarkerHeight): for small heights, the arrows
13837 are not always on top/bottom of the text
13838 (drawLengthMarker): smaller arrows; take the left margin in
13839 account; draw also vfills.
13841 (paintLastRow): remove special code for vfill and standard spaces,
13842 since everything is handled in drawLengthMarker now.
13844 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13846 * buffer.C (insertErtContents): try to handle font and language
13847 interaction a bit better.g
13849 * ColorHandler.C (updateColor): change the hash to cover the whole
13850 LColor enum, ws cleanup
13851 (getGCLinepars): ditto
13852 (getGCLinepars): only lookup in the linecache once.
13854 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13856 * iterators.C (operator++): Make the iterator more robust
13858 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13860 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13862 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13865 * text.C: better added space drawing
13867 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13870 * BufferView2.C: fix layout combo update on inset unlock
13872 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13874 * Makefile.am: don't compile unused files
13876 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13880 * LyXAction.C: remove old LFUN_LAYOUTNO
13882 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13884 * paragraph_pimpl.h:
13885 * paragraph_pimpl.C: isTextAt() doesn't need font param
13887 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13890 * lyxlex.C: little cleanup
13892 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13894 * BufferView_pimpl.C: fix insertAscii for insets
13896 2001-12-05 Juergen Vigna <jug@sad.it>
13898 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13899 set the right font on the "multi" paragraph paste!
13901 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * lyxlength.C: remove out-commented code.
13909 * BufferView_pimpl:
13923 * vc-backend.C: change "while(" to "while ("
13925 * lyxlength.[Ch]: add zero function to check if length is zero or
13927 * lyxgluelength.C: use it
13929 2001-12-05 Allan Rae <rae@lyx.org>
13931 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13932 Works for 2.95.3, from what I understand of Garst's reports this should
13933 work for other g++ versions. We're screwed if the abs(int) definition
13934 changed between bugfix releases of gcc.
13936 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13938 * text.C: fix chapter label offset !
13940 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13943 * text.C: fix hfill at end of line, clean up
13945 2001-12-04 Juergen Vigna <jug@sad.it>
13947 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13948 that we force an update of the inset and it's owners if neccessary.
13950 2001-12-03 Juergen Vigna <jug@sad.it>
13952 * text.C (rowLast): simplified code
13954 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13956 * lyxfunc.C: fix show options on timeout
13958 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13960 * screen.C (topCursorVisible): scroll half a page when the cursor
13961 reached top of bottom of screen
13963 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13965 * minibuffer.C: deactivate on loss of focus
13967 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13969 * vspace.[Ch] (operator!=): add operator.
13971 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13973 * BufferView_pimpl.C: refuse to open an inset when
13974 there's a selection.
13976 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13978 * BufferView_pimpl.C: allow to click on RHS of full row insets
13980 2001-11-30 Juergen Vigna <jug@sad.it>
13982 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13983 insets for undo reasons.
13985 2001-11-28 André Pönitz <poenitz@gmx.net>
13987 * vspace.[Ch]: cosmetical changes
13989 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13999 * kbsequence.C: part re-write of old kb code
14002 * WorkArea.C: remove Lgb_bug_find_hack
14004 2001-11-30 José Matos <jamatos@fep.up.pt>
14006 * buffer.C (makeDocBookFile): add a comment to point a hack.
14007 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14008 Fixed a double write of labels.
14010 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14013 * LaTeX.h Fixed bug in LaTeX class where it would not
14014 re-run latex if no depfiles were changed, but the .dvi was removed.
14016 2001-11-28 André Pönitz <poenitz@gmx.net>
14018 * all the files from the change on 2001/11/26:
14019 use lyx::layout_type instead of LyXTextClass::size_type
14020 use lyx::textclass_type instead of LyXTextClassList::size_type
14022 2001-11-29 Juergen Vigna <jug@sad.it>
14024 * text.C: added support for paragraph::isFreeSpacing()
14026 * buffer.C: same as above
14028 * paragraph.h: inserted isFreeSpacing() function to enable
14029 FreeSpacing inside InsetERT.
14031 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14032 of the paragraph's in the cut/copy buffer to 0!
14034 * text2.C (removeRow): remove the assert as it can!
14036 * lyxtext.h: added helper function firstRow returning firstrow and
14037 made firstrow private again.
14039 * BufferView2.C (lockInset): don't relock if we're already locked!
14041 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14042 the only paragraph.
14043 (removeRow): added Assert::(firstrow)
14045 * debug.C: forgot to add INSETTEXT here.
14047 2001-11-28 Juergen Vigna <jug@sad.it>
14049 * sp_spell.C (initialize): changed error text to more general
14050 spellchecker command use (not only ispell!)
14052 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14054 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14056 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14058 * vspace.C: initialise lyxgluelength on failure
14060 2001-11-28 Allan Rae <rae@lyx.org>
14062 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14063 declaration & definition that looks like a function declaration.
14065 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14067 * BufferView2.C (copy):
14068 (copyEnvironment): do not clear the selection when doing a copy.
14070 * text.C (paintFirstRow): compilation fix
14072 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14074 * tabular.C (Latex): correct line count when writing latex.
14076 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14078 * paragraph_pimpl.h:
14079 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14082 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14086 * LColor.C: change vfillline->added_space
14088 * text.C: add markers and text for added space
14090 * vspace.C: fix comment
14092 2001-11-28 André Pönitz <poenitz@gmx.net>
14094 * paragraph.C: whitespace changes
14095 * all the other files from the change on 2001/11/26:
14096 change *::pos_type into lyx::pos_type
14098 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14100 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14101 language of the document when inserting error insets.
14103 2001-11-26 André Pönitz <poenitz@gmx.net>
14105 * BufferView_pimpl.[Ch]:
14113 * paragraph_pimpl.[Ch]:
14116 * text2.C: reduce header dependencies, introduce type for positions
14118 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14120 * <various>: change to use Alert.h
14122 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14124 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14125 when encountering an unknown token.
14126 (readLyXformat2): Show an error message if there were unknown tokens.
14128 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14131 * BufferView_pimpl.C:
14135 * text2.C: use par->isInset()
14137 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14139 * paragraph_pimpl.h:
14140 * paragraph_pimpl.C: cleanup
14142 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * text2.C (removeRow):
14145 * text.C (setHeightOfRow): remove useless (and costly) call to
14148 2001-11-20 Allan Rae <rae@lyx.org>
14150 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14151 Now need Inset*::checkInsertChar() to return true for appropriate
14152 cases so that the characters in the minibuffer will actually be
14155 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14157 * text.C: change the order of the includes.
14158 (workWidth): initialize it at once.
14159 (workWidth): make maxw unsigned
14160 (setHeightOfRow): remove unused variable (inset)
14161 (selectSelectedWord): remove unused variable (inset)
14162 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14164 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14167 server is not running.
14169 (closeConnection): add debug info when server is disabled.
14171 * ColorHandler.C (getGCForeground): send debug message to GUI
14174 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14176 * kbmap.C (bind): modify because return conventions of
14177 kb_sequence::parse have changed.
14179 * kbsequence.C (parse): only ignore spaces and not any stupid
14180 control character. This avoids tests like s[i] <= ' ', which are
14181 guaranteed to fail with 8bit characters and signed chars.
14182 Change return code to string::npos when there have been no error
14183 (0 was a bad idea when error is at first character)
14185 2001-11-14 José Matos <jamatos@fep.up.pt>
14188 * buffer.C (simpleDocBookOnePar): removed unused argument.
14190 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14192 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14193 insets which are part of a word. Paragraph::isLetter takes care of
14194 that now. Use Paragraph::isInset to identify insets.
14195 (selectSelectedWord): do not test for hyphenation break.
14197 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14198 that protected spaces are considered as spaces.
14200 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14203 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14206 * lyxserver.C: fix it. and small cleanup.
14208 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14210 * BufferView_pimpl.C: use inline helpers
14213 * LaTeXFeatures.C: fix typos
14216 * Spacing.C: move spacing_string into class
14218 * ToolbarDefaults.C: move stuff into namespace anon
14220 * layout.h: update enum
14222 * lyxfunc.C: use better debug
14224 * minibuffer.h: fix typo
14228 * WorkArea.C: add and use Debug::WORKAREA
14232 * text2.C: code re-organisation, inline helpers
14234 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14236 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14237 std::vector.empty().
14239 2001-11-09 Allan Rae <rae@lyx.org>
14241 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14242 '\n's after tables. Tabular and ERT inset work now makes this no
14245 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14248 * minibuffer.C: fix crash, improve drop-down completion
14250 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14253 * lyxserver.C: invalidate fd's when doing endPipe()
14255 2001-11-08 José Matos <jamatos@fep.up.pt>
14257 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14258 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14261 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14263 2001-11-07 José Matos <jamatos@fep.up.pt>
14266 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14269 * buffer.C (sgmlOpenTag):
14270 * buffer.C (sgmlCloseTag): removed debug info.
14272 * buffer.h (sgmlOpenTag):
14273 * buffer.h (sgmlCloseTag): made public.
14275 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14277 * buffer.C (saveParamsAsDefaults):
14278 * lyx_cb.C (MenuLayoutSave): remove
14280 * LyXAction.C (init):
14282 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14284 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * buffer.C (setPaperStuff): removed from here...
14288 * bufferparams.C (setPaperStuff): ... and moved there.
14290 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14294 * XFormsView.C: add support for drop-down completion
14296 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14298 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14301 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14306 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14308 * lyx_main.C: change ref to known bugs
14310 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14312 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14313 to work around older babel problems.
14315 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14317 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14319 2001-10-24 Juergen Vigna <jug@sad.it>
14321 * tabular-old.C (ReadOld): below variable changes reflected.
14323 * tabular.[Ch]: added ltType struct for longtable header/footer
14324 defines and changed all instances where they are used. Added
14325 future support for double top/bottom rows.
14327 2001-10-24 José Matos <jamatos@fep.up.pt>
14329 * buffer.h (docbookHandleCaption):
14330 * buffer.C (docbookHandleCaption): removed unused function.
14331 (makeDocBookFile): moved docbook supported version to v4.1.
14333 2001-10-24 José Matos <jamatos@fep.up.pt>
14336 * tabular.C (docbookRow): new function to export docbook code of a row.
14337 (DocBook): now honors the longtable flags.
14339 2001-10-23 José Matos <jamatos@fep.up.pt>
14342 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14343 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14345 * buffer.C (makeLinuxDocFile):
14346 (makeDocBookFile): reworked the preamble, more clean, and with
14347 support for lyx defined entities. Changed the document declaration
14348 to be more XML friendly.
14350 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14351 if we need to output XML that should be done with a filter.
14353 2001-10-22 Juergen Vigna <jug@sad.it>
14355 * sp_pspell.h (class PSpell): add alive function needed in the
14356 controller to see if the spellchecker could be started.
14358 2001-10-22 Juergen Vigna <jug@sad.it>
14360 * buffer.C (insertStringAsLines): modify the font for inserting
14361 chars in certain conditions by calling checkInsertChar(font).
14363 2001-10-19 Juergen Vigna <jug@sad.it>
14365 * text.C (workWidth): use getRow instead of wrong algorithm.
14366 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14368 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14373 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14375 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14377 * text.C (workWidth): do not search for the exact row when
14378 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14379 optimization for big documents.
14381 2001-10-18 Juergen Vigna <jug@sad.it>
14383 * text.C (workWidth): new function with added Inset * parameter.
14385 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14389 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14390 change return type of getColumnNearX.
14393 * text.C (changeRegionCase): use uppercase/lowercase instead of
14396 (rightMargin): simplify code by factoring out the uses of
14401 (appendParagraph): use Paragraph::size_type
14403 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * vspace.C (asLatexString): add a missing break
14407 2001-10-15 Herbert Voss <voss@perce.de>
14409 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14411 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14413 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14416 2001-10-10 André Pönitz <poenitz@gmx.net>
14418 * lyxfunc.C: removed greek_kb_flag.
14420 2001-10-10 Herbert Voss <voss@perce.de>
14422 * lyx_main.C: delete global string help_lyxdir.
14424 2001-10-09 Herbert Voss <voss@perce.de>
14426 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14428 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14430 * lyx_main.C: added global string help_lyxdir.
14432 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14434 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14436 * lyxrc.C (set_font_norm_type): support iso8859-4
14438 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14440 * LaTeX.C (deplog): add another regex for MikTeX
14442 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14444 * lyxrc.C (set_font_norm_type): support iso8859-3
14446 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14448 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14450 * LaTeXFeatures.C: remove special case of french and index
14452 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14453 before \begin{document}). This solves several incompatibilities.
14455 2001-10-03 Garst Reese <reese@isn.net>
14457 * lyx_cb.C: change CheckTex error msg.
14459 2001-10-03 José Matos <jamatos@fep.up.pt>
14461 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14463 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14465 * .cvsignore: update
14467 * lyx_main.C (commandLineVersionInfo): use new style version info.
14469 * buffer.C (writeFile):
14471 (makeLinuxDocFile):
14472 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14474 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14476 * version.h: update to use stuff in version.C
14478 * version.C.in: new file. Contains version information determined
14479 at compile time. This is a merging of version.h and
14482 2001-10-03 Juergen Vigna <jug@sad.it>
14484 * BufferView_pimpl.C (update): don't change "dirty" status in
14487 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14489 * WorkArea.C (c-tor): re-position version string slightly.
14491 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14493 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14494 revert to previous code.
14496 WorkArea.[Ch]: (show, destroySplash): methods removed.
14498 WorkArea.C: rework code so that it's an amalgam of the codes before and
14499 after the splash screen was moved to WorkArea.
14501 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14504 * vspace.C (inPixels):
14507 * buffer.C (insertStringAsLines):
14508 (asciiParagraph): fix types to be large enough
14510 * lyxlex_pimpl.h: change member status from short to int
14512 * layout.h: fix type of endlabeltype
14515 * kbsequence.C (parse): change return type to string::size_type
14517 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14520 * Bullet.C (bulletSize):
14521 (bulletEntry): do not use short ints as parameters
14523 * BufferView2.C (insertLyXFile): change a char to an int.
14525 * WorkArea.C (WorkArea): remove unneeded floats in computation
14527 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14529 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14531 * paragraph.C (asString): Do not ignore newline/hfill chars when
14532 copying to the clipboard.
14534 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14536 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14537 after a multi-line inset.
14539 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14541 * paragraph.C (validate): Set NeedLyXFootnoteCode
14543 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14545 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14546 and decrease-error to decrease.
14548 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14551 it more readable (should be equivalent)
14553 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14555 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14557 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14559 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14560 of a cursor (row, etc.) after a character has been deleted
14561 (deleteEmptyParagraphMechanism): call the method above on _all_
14562 cursors held by the LyXText when a double space has been
14565 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14567 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14569 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14571 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14572 background. Use greyOut() and the new show() methods to toggle between
14573 the foreground and background. Add code to remove the splash after
14574 its initial showing.
14576 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14577 (create_forms): no longer call Dialogs::showSplash.
14579 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14581 * .cvsignore: add version_info.h
14583 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14585 * version_info.h.in: new file
14587 * Makefile.am: add version_info.h.in
14589 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14590 version_info.h instead of VERSION_INFO
14592 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14594 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14595 The ERT inset now returns string().
14597 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14599 * lyxtext.h, text.C (selectNextWord): renamed as
14600 selectNextWordToSpellcheck.
14602 * text.C (selectNextWordToSpellcheck): Modified to not select
14603 words inside an ERT inset.
14605 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14607 * lyx_cb.C (MenuLayoutSave): change a bit the question
14609 * sp_base.h: include <sys/types.h>
14611 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14613 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14615 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14617 * several files: fix typos in user-visible strings
14619 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14621 * text2.C (pasteSelection): do not set the selection, since it
14622 will be cleared later. Actually, the intent was to fix the way the
14623 selection was set, but I figured rmoving the code was just as good.
14625 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14627 * FontLoader.C (available): Check if font is available without
14630 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14632 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14634 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14636 * lyxrc.[Ch]: added display_graphics variable and associated code.
14638 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14640 * bufferparams.C (hasClassDefaults): new method. Returns true if
14641 the buffer parameters correspond to known class defaults
14643 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14645 * XFormsView.C (show): set minimum size to the main window.
14647 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * text2.C (copySelection):
14651 * lyxfind.C (LyXReplace):
14652 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14653 LyXText::selectionAsString.
14655 * paragraph.C (asString): add "label" argument to the second form
14657 * text2.C (selectionAsString): add "label" argument and pass it to
14658 Paragraph::asString.
14660 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * lyx_main.C (commandLineHelp): remove version information
14664 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14666 * lyx_main.C: add -version commandline option
14668 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14670 * paragraph.h: make the optional constructor arg required instead.
14671 some modifications to other files because of this.
14673 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14675 * lyxserver.C (C_LyXComm_callback): make it static
14677 * lyx_main.C (error_handler): make it static
14679 * lyx_gui.C (LyX_XErrHandler): make it static
14681 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14683 * WorkArea.C: make the extern "C" methods static.
14685 * Makefile.am (lyx_LDADD): simplify
14687 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14689 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14690 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14692 * LyXAction.C (init):
14693 * lyxfunc.C (dispatch): associated code removal.
14695 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14697 * lyxfont.h (isSymbolFont): shut off warning
14699 * text.C (setHeightOfRow):
14700 (getVisibleRow): fix crash with empty paragraphs which have a
14703 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14705 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14708 2001-09-04 José Matos <jamatos@fep.up.pt>
14711 * tabular.C (docbook): rename docBook method to docbook.
14713 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14715 * Makefile.am: add dependencies to main.o.
14717 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14719 * FontLoader.C (available): Return false if !lyxrc.use_gui
14721 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14723 * FontInfo.C (query):
14724 * converter.C (view):
14725 * importer.C (Import):
14726 * exporter.C (Export): Can not -> cannot.
14728 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14730 * BufferView_pimpl.C: allow to create index inset even if
14733 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14735 * buffer.C (getLists): replace boost::tie code with an explicit pair
14736 as boost::tie can break some compilers.
14738 * iterators.h: Added a std:: declaration to the return type of
14741 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14743 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14746 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14748 * iterators.[Ch]: New files. Provide paragraph iterators.
14750 * buffer.C (changeLanguage): Use paragraph iterators.
14751 (isMultiLingual): ditto
14753 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14755 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14757 * FontLoader.C: Support for cmr font.
14759 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14761 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14762 (available): New method.
14764 * FontInfo.C (getFontname): Use scalable fonts even when
14765 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14768 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14770 * converter.C (Formats::view): reverted! Incorrect fix.
14772 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14774 * converter.C (Formats::view): only output the -paper option
14775 if the dvi viewer is xdvi, thereby fixing bug #233429.
14777 2001-08-23 Herbert Voss <voss@perce>
14779 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14781 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14783 * Spacing.h (Spacing): Set space to Default on in the default
14786 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14788 * vc-backend.h (RCS::versionString): add RCS to version
14789 (CVS::versionString): add CVS to version
14791 * vc-backend.C (scanMaster): do not add CVS to version.
14792 (scanMaster): do not add RCS to version
14794 * lyxvc.C (versionString): new method
14796 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14798 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14800 * Spacing.C (set): initialize fval
14802 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14804 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14807 2001-08-16 Juergen Vigna <jug@sad.it>
14809 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14811 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14813 * BufferView_pimpl.C:
14816 * text2.C: setParagraph takes linespacing now
14818 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14820 * LyxAction.C: add internal LFUN_CITATION_INSERT
14822 * LyXView.C: actually apply fix
14824 * bufferlist.C: fix open non-existent file
14826 * lyxfind.C: fix indentation
14828 * lyxfunc.C: remove unneeded assert, fix typo
14830 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14832 * MenuBackend.C: use "Floatname List"
14834 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14836 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14837 when converting LaTeX layout to insetERT.
14838 Generate a non-collapsed float when reading old float
14840 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14842 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14845 2001-08-13 Juergen Vigna <jug@sad.it>
14847 * text.C (fill): return 0 instead of 20 as this seems to be the more
14850 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14852 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14855 2001-08-13 Juergen Vigna <jug@sad.it>
14857 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14859 (SearchBackward): comment out the unlocking of the inset_owner this
14860 should not be needed!
14862 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14864 * Many files: Remove inherit_language, and add latex_language
14866 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14867 collapsible insets.
14869 2001-08-10 Juergen Vigna <jug@sad.it>
14871 * text.C (prepareToPrint): fixed hfill-width in draw!
14873 * BufferView2.C (selectLastWord): save the selection cursor as this
14874 now is cleared in the function LyXText::clearSelection!
14876 2001-08-08 Juergen Vigna <jug@sad.it>
14878 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14879 BACKSPACE type functions.
14881 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14882 is only cutted from the document but not put in the cut-buffer, where
14883 still the old stuff should be.
14885 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14887 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14889 * tabular.C (SetWidthOfCell): fixed special case where the width
14891 (LeftLine): handle '|' in align_special.
14893 (LeftAlreadyDrawed): ditto
14894 (SetWidthOfCell): ditto
14896 2001-08-07 Juergen Vigna <jug@sad.it>
14898 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14900 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14902 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14903 * lyxlex.[hC]: ditto
14905 2001-08-06 Juergen Vigna <jug@sad.it>
14907 * text.C (getVisibleRow): fix up row clearing a bit.
14909 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * minibuffer.C: make sure the X server sees the changes in the input.
14913 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14915 * paragraph.C (getFont): split into...
14916 (getLabelFont): this
14917 (getLayoutFont): and this
14918 * paragraph_pimpl.C (realizeFont): calling this
14920 * text2.C (getFont): split into...
14921 (getLayoutFont): this
14922 (getLabelFont): and this
14923 (realizeFont): all three calling this
14925 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14928 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14932 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14934 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14935 layouts from the Quote inset insertion.
14937 2001-08-03 Juergen Vigna <jug@sad.it>
14939 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14941 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14942 only if status not is already CHANGED_IN_DRAW (second level).
14944 * text.C (draw): don't set the need_break_row when inside an
14947 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14949 * buffer.C (parseSingleLyXformat2Token): handle more latex
14952 * bufferview_funcs.[hC]: change function names to
14953 begin with small char, adjust other files.
14955 2001-08-02 André Pönitz <poenitz@gmx.net>
14958 BufferView_pimpl.C: remove broken special code for math-greek
14960 2001-08-02 Juergen Vigna <jug@sad.it>
14962 * BufferView_pimpl.C (update): redone this function so that we
14963 update the text again if there was a CHANGE_IN_DRAW.
14965 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14966 (drawFromTo): added a new internal bool which is used by draw() and
14968 (general): some cursor drawing problems fixed.
14970 2001-08-01 Juergen Vigna <jug@sad.it>
14972 * lyxfind.C (LyXFind): fixed
14973 (SearchForward): ditto
14974 (SearchBackward): ditto
14976 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14977 spurius drawing of the cursor in the main area.
14979 * text2.C (status): small fix which could lead to a segfault!
14980 (clearSelection): remove unneeded BufferView param.
14982 2001-08-01 André Pönitz <poenitz@gmx.net>
14984 * lyxfunc.C: small change due to changed mathed interface
14986 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14990 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14992 * lyxfunc.c: fail gracefully if file doesn't exist
14997 * BufferView_pimpl.C: IsDirWriteable() proto changed
14999 * LyXView.C: fix updateWindowTitle() to store the last title
15001 2001-07-31 Juergen Vigna <jug@sad.it>
15003 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15004 the font (wrong since using of Paragraph::highestFontInRange).
15006 * paragraph.C (highestFontInRange): added a default_size parameter.
15008 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15009 (setHeightOfRow): reformat
15011 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15013 * converter.[hC] + affected files: move to (inital-char)lowercase
15016 * ParagraphParameters.C (ParagraphParameters): remove commented code
15018 * PainterBase.[Ch]: remove commented code
15020 * LaTeXFeatures.h: add "bool floats" for float.sty
15022 * LaTeXFeatures.C (LaTeXFeatures): init floats
15023 (require): handle float
15024 (getPackages): do it with floats
15026 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15028 * BufferView_pimpl.C (Dispatch): improve handling of
15029 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15031 * commandtags.h: #include lyxfont.h here temporarily to avoid
15034 * bufferlist.h: include LString.h here.
15036 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * text2.C (getStringToIndex): new method.
15040 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15042 * *: Reduced header file dependencies all over.
15044 2001-07-30 Baruch Even <baruch@lyx.org>
15046 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15048 2001-07-29 Baruch Even <baruch@lyx.org>
15050 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15052 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * ParameterStruct.h (endif): add a default constructor to make
15055 sure that all variables is initialized.
15057 * ParagraphParameters.C (ParagraphParameters): adjust
15059 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15062 index; also, check that there is something to index, and that it
15063 does not span over several paragraphs.
15064 (doubleClick): use WHOLE_WORD_STRICT for double click.
15066 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15068 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15071 2001-07-26 Baruch Even <baruch@lyx.org>
15073 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15074 an InsetFig figure, backwards compatible reading of old figure code.
15076 2001-07-27 Juergen Vigna <jug@sad.it>
15078 * text2.C: font.realize function adaption.
15080 * text.C (draw): add a warnings lyxerr text if needed.
15082 * layout.C: font.realize function adaption.
15084 * language.C: add inherit_language and implement it's handlings
15086 * bufferview_funcs.C (StyleReset): remove language parameter from
15087 font creation (should be language_inherit now).
15089 * bufferparams.C (writeFile): handle ignore_language.
15091 * paragraph.C (getFontSettings): the language has to be resolved
15092 otherwise we have problems in LyXFont!
15094 * lyxfont.C (lyxWriteChanges): added document_language parameter
15095 (update): removed unneeded language parameter
15097 * paragraph.C (validate): fixed wrong output of color-package when
15098 using interface colors for certain fonts in certain environments,
15099 which should not seen as that on the final output.
15101 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15103 * BufferView_pimpl.C:
15108 * LyXAction.C: add thesaurus support
15111 * lyxfind.C: add "once" parameter, for thesaurus, to not
15112 move to the next match
15114 2001-07-26 Juergen Vigna <jug@sad.it>
15116 * lyxfont.C (realize): honor ignore_language too!
15119 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15121 * text.C (draw): one place more for ignore_language to not draw
15124 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15126 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15128 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15130 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15131 the minipage conversion problem.
15133 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15135 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15138 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15140 * BufferView.h: don't forward declare WorkArea
15142 * BufferView.C: don't include WorkArea.h
15144 2001-07-25 André Pönitz <poenitz@gmx.net>
15148 * lyxfunc.C: new LFUN 'math-space'
15150 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15152 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15154 * text2.C (toggleInset): call open/close
15156 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15158 * lyxfunc.C (dispatch): add debug for the disabled case
15160 * font.C (buttonText): make similar to rectText
15162 * buffer.C (readInset): comment out parsing of insetlist and
15165 * PainterBase.C (rectText): small correction
15167 * BufferView_pimpl.C: comment out insettheorem and insetlist
15168 * LyXAction.C: ditto
15169 * commandtags.h: ditto
15171 2001-07-24 Juergen Vigna <jug@sad.it>
15173 * text.C (draw): honor the ignore_language.
15175 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15177 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15179 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15182 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15184 * lyxtext.h: remove unused (and unimplemented) methods
15186 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15188 * text.C (getVisibleRow): honor background color
15191 * Painter.h: remove default color argument for fillRectangle
15193 * text.C (backgroundColor): new method
15195 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15197 * text.C (getVisibleRow): adjust
15199 * font.[Ch] (rectText): new method, metrics
15200 (buttonText): new method, metrics
15202 * PainterBase.[hC]: make rectText and buttonText always draw and take
15205 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15207 * ToolbarDefaults.C (read):
15208 * MenuBackend.C (read): allow escaping in all strings
15210 * BufferView_pimpl.C (insertAndEditInset): new method.
15211 (Dispatch): use insertAndEditInset whenever appropriate.
15213 * BufferView_pimpl.C (insertNote): removed
15215 * BufferView_pimpl.C (smartQuote): new method, moved from
15216 BufferView; if an insetquote cannot be inserted, insert a '"'
15219 * BufferView2.C: remove insertCorrectQuote();
15221 * lyxfunc.C (getStatus): Add support for all remaingin
15222 inset-insert lfuns.
15224 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15226 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15227 command (necessary to pass " as parameter of self-insert.
15229 * text.C (selectWordWhenUnderCursor):
15230 (selectWord): add word_location parameter
15231 (selectWordWhenUnderCursor): same + remove special code for word
15233 (selectNextWord): use kind() to guess type of insetspecialchar,
15236 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15237 (insertErtContents): create ert insets as collapsed.
15238 (readInset): better compatibility code for Info inset.
15240 2001-07-20 Juergen Vigna <jug@sad.it>
15242 * lyxfunc.C (dispatch): use always LyXFind now!
15244 * text2.C (init): add a reinit flag so that the LyXText can be
15245 reinited instead of deleted and reallocated (used in InsetText).
15247 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15253 2001-07-18 Juergen Vigna <jug@sad.it>
15255 * text.C (selectNextWord): handle insets inside inset by calling
15256 always the bv->text functions so that we can go up the_locking_inset!
15258 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15259 in strange locations when inside an inset!
15261 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15262 handling to include insets.
15264 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15266 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15268 * LyXAction.C (init):
15270 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15271 LIGATURE_BREAK, since the name is so stupid.
15273 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15275 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15278 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15280 * sp_form.[Ch]: remove.
15282 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15284 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15287 * src/buffer.C (readInset): ditto.
15289 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15291 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15292 menuSeparator(), endOfSentenceDot(), ldots() and
15293 hyphenationPoint(), which are therefore removed.
15294 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15296 * LyXAction.C (init):
15297 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15299 * paragraph.C (getWord): removed.
15301 * BufferView_pimpl.C (Dispatch): use last word or selection for
15302 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15304 * lyx_main.C (queryUserLyXDir): do not ask before creating
15305 user_dir, except if it has been named explicitely.
15307 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15309 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15310 a document of zero size.
15312 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15314 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15315 approriately in the c-tor and in require().
15316 (getPackages): output the appropriate LaTeX for natbib support.
15318 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15319 variables "use_natbib" and "use_numerical_citations" when reading the
15321 (readInset): read the various natbib cite commands.
15322 (validate): white-space change.
15324 * bufferparams.[Ch]: new variables "bool use_natbib" and
15325 "bool use_numerical_citations".
15326 (writeFile): output them in the LyX file.
15328 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15330 * lyxfunc.C (getStatus): add support for all the inset insertion
15333 * text2.C (insertInset):
15334 * paragraph.C (insetAllowed):
15335 * BufferView_pimpl.C (insertInset): update to take in account the
15336 renaming of insertInsetAllowed
15338 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15340 * text2.C (getInset): new method. returns inset at cursor position.
15342 * BufferView_pimpl.C (Dispatch): changes because of this.
15344 * LyXAction.C (init): rename open-stuff to inset-toggle.
15346 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15348 * text2.C (toggleInset): renamed from openStuff; use
15351 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15353 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15355 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15357 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15359 * buffer.C (readLyXformat2): Add filename to the error dialog
15361 2001-07-18 Juergen Vigna <jug@sad.it>
15363 * tabular.C (GetCellNumber): put an assert here instead of the check!
15365 2001-07-17 Juergen Vigna <jug@sad.it>
15367 * BufferView_pimpl.C (toggleSelection): adapted too.
15369 * text.C (selectNextWord): adapted for use with insets.
15370 (selectSelectedWord): ditto
15372 2001-07-17 Juergen Vigna <jug@sad.it>
15374 * sp_spell.C (PSpell): fix initialitation order.
15376 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15378 * paragraph.C: spacing
15380 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15382 * sp_spell.C: repair language selection for pspell
15384 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15386 * lyxfunc.h: change more methods to begin with lower char.
15388 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15390 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15391 for unknown layouts.
15393 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15395 * buffer.C (readLyXformat2): Generate an error dialog if there are
15398 2001-07-16 Juergen Vigna <jug@sad.it>
15400 * sp_spell.C: always compile ISpell part.
15402 * lyxrc.C: added use_pspell entry and it's handling.
15404 2001-07-13 Juergen Vigna <jug@sad.it>
15406 * sp_spell.C: removed double includes.
15408 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15410 Consistent use of Lsstream.h:
15411 * Lsstream.h: added using std::stringstream for consistencies sake.
15413 * buffer.C: removed using std::stringstream
15415 * lyxfont.C (stateText):
15416 * paragraph.C (asString):
15417 * text.C (selectNextWord, selectSelectedWord):
15418 * text2.C (setCounter):
15419 * vspace.C (asString, asLatexString):
15420 std::ostringstream -> ostringstream.
15422 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15424 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15425 * commandtags.h: add LFUN_HELP_ABOUTLYX
15426 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15428 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15430 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15432 * lyx_gui_misc.C: remove spellchecker
15433 * lyxfunc.C: showSpellchecker
15435 * sp_ispell.h: added
15436 * sp_pspell.h: added
15437 * sp_spell.C: added
15438 * sp_form.[Ch]: removed
15439 * spellchecker.[Ch]: removed
15441 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15443 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15445 (simpleTeXSpecialChars): Simply print the input character without
15446 any special translation if pass_thru is set.
15448 * layout.h: Added bool pass_thru to layout class for being able to
15449 implement pass through of a paragraph for Literate Programming.
15451 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15452 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15453 * layout.C (Read): add "passthru" to list of layout tags and add
15454 code to set the pass_thru boolean when it is read.
15456 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15458 * trans_decl.h: remove allowed from KmodInfo
15460 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15461 remove allowed code
15464 * paragraph_pimpl.C (erase): use boost::prior
15466 * Painter.C (text): use data() instead of c_str() when length is
15468 * WorkArea.C (putClipboard): ditto
15469 * font.h (width): ditto
15471 * BufferView2.C: use it-> instead of (*it). for iterators
15473 * paragraph_pimpl.C: ditto
15474 * paragraph.C: ditto
15475 * minibuffer.C: ditto
15476 * language.C: ditto
15478 * encoding.C: ditto
15479 * counters.C: ditto
15480 * converter.C: ditto
15482 * Variables.C: ditto
15483 * TextCache.C: ditto
15484 * MenuBackend.C: ditto
15485 * LyXAction.C: ditto
15487 * FloatList.C: ditto
15488 * DepTable.C: ditto
15489 * ColorHandler.C (LyXColorHandler): ditto
15491 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15495 * text2.C (openStuff): reintroduce this method (which had been
15496 nuked in NEW_INSETS frenzy).
15498 * lyxfunc.C (Dispatch): when an action has not been handled, use
15499 its name in the error message, not its number.
15501 * paragraph.C (inInset): change method name to begin with lowercase.
15504 * text2.C: updates because of this.
15506 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15508 * ToolbarDefaults.C (add): add spaces in error message
15510 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15513 (readLyXformat2): rename return_par to first_par, use lyxlex's
15514 pushToken and remove the manual push handling.
15515 (parseSingleLyXformat2Token): add another ert comp. variable:
15516 in_tabular, rename return_par to first_par. handle newlines better
15518 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15520 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15522 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15524 * text2.C (getParFromID): removed
15526 * buffer.C (getParFromID): new method moved form lyxtext.
15527 * BufferView2.C (insertErrors): adjust
15528 (setCursorFromRow): adjust
15529 * BufferView_pimpl.C (restorePosition): adjust
15530 * lyxfunc.C (Dispatch): adjust
15531 * undo_funcs.C (textUndo): adjust
15533 (textHandleUndo): adjust
15534 (textHandleUndo): adjust
15536 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15538 * buffer.C: up' the LYX_FORMAT
15540 * lyxfont.h: turn NO_LATEX on as default
15542 * buffer.C (insertErtContents): new methods of tex style compability.
15543 (parseSingleLyXformat2Token): use it several places.
15544 * tabular.C (OldFormatRead): and here
15546 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * text2.C: remove some commented code.
15551 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15552 * trans.C: changes because of the above.
15554 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15556 * text2.C (setCounter): Fix counters bug with bibliography layout.
15558 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15560 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15561 own member functions
15562 (simpleTeXSpecialChars): ditto
15564 2001-07-06 Juergen Vigna <jug@sad.it>
15566 * a lot of files: changed the access to LyXText::status and the
15567 call of undo-functions.
15569 * undo.[Ch]: added a inset_id to the undo informations.
15571 * undo_funcs.[Ch]: added and moved here all undo functions.
15573 * lyxtext.h: give the status enum a weight, made status_ a private
15574 variable and made accessor functions for it, removed the whole bunch
15575 of undo-functions as they are now in their own file, make some
15576 functions publically available. Added function ownerParagraph with
15579 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15580 made InInset() a const function, added getParFromID() function.
15582 * buffer.[Ch]: added const version for inset_iterator functions,
15583 added getInsetFromID() function.
15585 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15586 changed undo functions for new version.
15588 2001-07-05 Juergen Vigna <jug@sad.it>
15590 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15591 unknow mechanism does not call the proper constructor but only this
15592 one also if I request the other!?
15594 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15596 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15598 * text2.C (LyXText): use initialization lists.
15600 * lyxtext.h (Selection): initialize set_ and mark_
15601 (init): remove method
15603 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15605 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15607 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15609 * screen.[Ch]: change method names to begin with lowercase
15611 * BufferView_pimpl.C (updateScrollbar): simplify further and
15612 hopefully make it a bit faster.
15614 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15616 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15617 calling directly xforms functions.
15619 * Painter.C (Painter):
15620 * lyx_cb.C (MenuWrite):
15621 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15624 * lyx_gui.C: remove bogus guiruntime extern declaration.
15626 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15628 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15630 (redoDrawingOfParagraph): ditto
15631 (redoParagraphs): ditto
15632 (cutSelection): don't create a object for CutAndPaste use the
15633 static method directly
15634 (pasteSelection): ditto
15636 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15639 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15641 * modifications to some other files because of this.
15643 * Makefile.am (lyx_SOURCES): add XFormsView
15645 * XFormsView.[Ch]: new files
15647 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15648 the main window. Move the gui dependent stuff to XFormsView
15650 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * tabular.C (GetCellInset): update cur_cell also in the row/col
15653 version of this function.
15655 * lyxfunc.C: no need to include figure_form.h here.
15661 * lyxvc.C: no need to include forms.h here.
15663 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15665 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15667 * lyxfunc.C (Dispatch):
15669 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15670 constructor argument.
15672 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15674 * paragraph.C (Paragraph): dont't clear, and just set layout.
15675 (makeSameLayout): use params's copy contructor.
15677 * ParagraphParameters.[Ch] (makeSame): delete method
15679 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15681 * Variables.[Ch]: fix indentation, rename set to isSet
15683 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15685 * lyxfunc.C (Dispatch): fix typo
15687 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15689 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15692 * bufferlist.C: include assert.h for emergencyWrite().
15694 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15696 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15697 give up at last (bug #425202) !
15699 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15705 * spellchecker.C: strip spellchecker options and bring up
15706 preferences tab instead
15708 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15710 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15711 the istringstream constructor
15713 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * paragraph.C (getLayout): fix return value
15717 * paragraph.h: do not declare getLayout as inline.
15719 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15721 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15723 * lyxcursor.h (operator<): new func
15724 (operator>): new func
15725 (operator>=): new func
15726 (operator<=): new func
15728 * text.C (changeCase): use selection.start and selection.end
15729 (changeRegionCase): require from to be <= to. Require par to be a
15732 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15734 2001-06-27 Juergen Vigna <jug@sad.it>
15736 * text.C (cursorLeftOneWord): changed to return the cursor and added
15737 overlay with BufferView * parameter which calls this one.
15739 (selectWord): use new getWord function.
15740 (changeCase): renamed from changeWordCase as and extended to work
15741 also on selections.
15743 * lyxtext.h: added enum word_location
15745 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15746 changeCase as this operates now also on selections.
15748 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15750 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15752 * many files: send debug output to Debug::INFO instead of
15755 * converter.C (View):
15757 (Move): send debug output to Debug::FILES instead of console.
15759 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15761 * lyxfunc.C (getStatus): use func_status
15763 * func_status.h: new header, describing the results of
15764 LyXFunc::getStatus;
15766 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15769 2001-06-25 The LyX Project <jug@sad.it>
15771 * buffer.C (sgmlOpenTag):
15773 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15775 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15777 * text2.C: remove some dead code
15779 * tabular.C (GetCellInset): store the last cell checked (gotten)
15781 * tabular.h: add the helper for the speedup
15783 * lyxtext.h: remove some dead code
15785 2001-06-26 The LyX Project <Asger>
15787 * paragraph.C: Change export to LaTeX of alignment to
15788 \begin{center} and family for better roundtrip work with reLyX.
15790 * Tune the math drawing a bit.
15792 2001-06-25 The LyX Project <Asger>
15794 * LColor.C (LColor): New color for math background. New color
15797 2001-06-25 The LyX Project <jug@sad.it>
15799 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15801 * lyxfunc.C (Open):
15802 * bufferlist.C (newFile): do not restrict to files ending with
15805 * BufferView_pimpl.C (MenuInsertLyXFile):
15807 2001-06-24 The LyX Project <jug@sad.it>
15809 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15812 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15814 * lyxtext.h: rename most methods to begin with a small char.
15815 Lots of changes because of this.
15817 * paragraph.C (Paragraph): do not call fitToSize
15818 (erase): call Pimpl::erase
15819 (insertChar): call Pimpl::insertChar
15820 (insertInset): call Pipl::insertInset
15821 (breakParagraph): do not call fitToSize
15822 (breakParagraphConservative): do not call fitToSize
15823 (fitToSize): remove method
15825 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15827 2001-06-24 The LyX Project <Asger>
15829 * Fix Qt compilation^2
15831 2001-06-24 The LyX Project <jug@sad.it>
15833 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15834 depthHook(getDepth()-1).
15837 * ParagraphParameters.h:
15838 * ParameterStruct.h: change type of depth to unsigned int ==
15839 depth_type. Many adaptations to other files before of that.
15841 2001-06-24 The LyX Project <Asger>
15843 * Fix Qt compilation.
15845 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15847 * paragraph.h: renamed several methods to begin with small letter.
15848 several changes to many parts of the code because of this.
15850 2001-06-23 The LyX Project <jug@sad.it>
15852 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15853 rewritten to discard all double spaces when KeepEmpty is off
15854 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15855 to only handle newlines but not fiddle with spaces and friends.
15857 * lyxfunc.C (MenuNew): when doing 'new from template', use
15858 template_path as default directory
15860 2001-06-23 The LyX Project <Asger>
15862 * Clean-up of header file includes all over
15863 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15865 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * paragraph.h: renamed from lyxparagraph.h
15869 2001-06-23 Asger <lyx@violet.home.sad.it>
15871 * Buffer.h: Removed Buffer::resize
15872 * BufferList.h: Removed BufferList::resize
15873 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15874 the document lazily when we change the width, or the font settings.
15876 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15878 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15880 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15882 * buffer.h: remove out of date comment
15884 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15887 * screen.C: fix "theoretical" GC leak
15889 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15891 * LaTeX.C (scanAuxFile):
15892 (deplog): remove trailing \r when reading stream (useful under
15895 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15897 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15898 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15899 and BufferView::theLockingInset(Inset*), so should use them and not
15900 access bv_->text->the_locking_inset directly.
15902 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15904 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15907 * tex-defs.h: remove old unused file
15909 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15911 * BufferView_pimpl.C: fix typo, remove minibuffer message
15912 when buffer has loaded
15914 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15916 * lyxfunc.C (Dispatch): use stringstream
15917 (MenuNew): use stringstream
15918 (Open): use stringstream
15920 * importer.C (Import): use stringstream
15922 * bufferview_funcs.C (CurrentState): use stringstream
15924 * LaTeX.C (run): use stringstream
15926 * BufferView_pimpl.C (savePosition): use stringstream
15927 (restorePosition): use stringstream
15928 (MenuInsertLyXFile): use stringstream
15930 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15943 * vspace.C: removed // -*- C++ -*- as first line.
15946 * version.h: added // -*- C++ -*- as first line.
15948 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15950 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15952 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15955 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15957 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15960 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15962 * gettext.C: include LString.h even when --disable-nls is on.
15964 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15966 * converter.h (Get): changed argument type from int to
15967 FormatList::size_type to avoid unnecessary conversion.
15969 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15972 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15974 * gettext.h: include LString.h even when --disable-nls is on.
15976 2001-06-07 Juergen Vigna <jug@sad.it>
15978 * text.C (BreakAgain): subst spaces with tabs.
15980 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15981 (resizeInsetsLyXText): set force on resizeLyXText.
15983 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15985 * gettext.h (gettext_init):
15986 (locale_init): use a real definition instead of a macro
15988 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15990 * Bufferview_pimpl.C:
15992 * LColor.C: further lcolor tidies
15994 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15996 * BufferView_pimpl.C (updateScrollbar): simplify.
15998 * BufferView2.C: don't include insets/insetinfo.h, change
15999 prototype for insertInset and call the Pimpl version. let
16000 updateInset call Pimpl version.
16002 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16003 gotoInset to BufferView::Pimpl
16005 2001-06-01 Juergen Vigna <jug@sad.it>
16007 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16008 inside a LockingInset (is the update needed at all?).
16010 2001-05-31 Juergen Vigna <jug@sad.it>
16012 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16013 here not the old one otherwise how should we compare it afterwards
16016 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16021 * FontInfo.C: bring C functions into global namespace when
16024 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16026 * LString.h: make sure config.h has been loaded before LString.h.
16028 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16029 (one for each char read by EatLine!).
16031 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16034 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16036 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16037 to the same as the par we break from
16039 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16041 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16043 * MenuBackend.C (expand): also create menu entries for wide
16044 versions of the floats.
16046 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16048 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16050 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16051 frontends/Makefile.am
16057 * tabular.C (getTokenValue): add std::
16059 * tabular-old.C (getTokenValue): add std::
16060 (getTokenValue): ditto
16061 (getTokenValue): ditto
16063 * screen.C (ToggleSelection): adjust
16065 * lyxtext.h: put selection cursors inside a Selection struct.
16067 * lyxfunc.C (moveCursorUpdate): adjust
16069 * lyxfont.C (latexWriteStartChanges): add std::
16071 * lyxfind.C: adjust
16073 * font.h: delete with(char const *, LyXFont const &)
16075 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16077 * FontInfo.C (getFontname): add std::
16079 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16080 (workAreaButtonPress): adjust
16081 (tripleClick): adjust
16083 (moveCursorUpdate): adjust
16086 * BufferView2.C (gotoInset): adjust
16088 2001-05-30 Juergen Vigna <jug@sad.it>
16090 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16091 to check pspell I add this as default as I now have new pspell
16092 libraries and they seem to use this.
16094 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16096 * text2.C (CutSelection): make the cursor valid before the call to
16099 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16101 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16102 relied on 0 terminated strings and other horrors. Bug found due to
16103 the new assert in lyxstring!
16105 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16108 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16110 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16113 * lyxfunc.C (processKeySym): change method of getting to the
16116 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16117 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16118 * BufferView_pimpl.[Ch]: here as private methods.
16120 2001-05-28 Juergen Vigna <jug@sad.it>
16122 * text.C (SetHeightOfRow): added the update() call again as it is
16123 needed to initialize inset dimensions!
16125 2001-05-16 Juergen Vigna <jug@sad.it>
16127 * text2.C (SetCharFont): Add new function with BufferView * and
16128 bool toggleall parameters for setting insets internal fonts.
16129 (SetFont): Freeze the undo as we may change fonts in Insets and
16130 all this change should be inside only one Undo!
16132 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16133 setting font's in insets as for them we have the SetFont function!
16135 2001-05-15 Juergen Vigna <jug@sad.it>
16137 * text2.C (ClearSelection): to be sure we REALLY don't have any
16140 * tabular.C (TeXCellPreamble): fixed the left border problem for
16143 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16145 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16148 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16150 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16151 LFUN_BREAKPARAGRAPH.
16153 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16154 help test to "internal only", similar for LFUN_INSERT_URL
16156 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16157 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16158 auto_region_delete and deadkeys.
16160 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16163 * LColor.C: remove some dead entries, tidy a little
16165 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16167 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16169 (Dispatch): implement LFUN_ESCAPE
16171 * commandtags.h: add LFUN_ESCAPE
16173 * LyXAction.C (init): add entry for LFUN_ESCAPE
16175 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16176 Remove commented code.
16177 (insertNote): moved here
16178 (open_new_inset): moved here
16180 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16183 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16185 * kbmap.C (findbinding): clean it up and make it work correctly.
16187 * lyx_main.C (init): do not pass argc and argv as parameters
16189 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16191 * buffer.C: fix path for OS/2 & Win32
16195 * lyx_main.C: Added os:: class.
16197 * os2_defines.h: update
16199 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16201 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16202 better by trying again with reduced state.
16204 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16206 * lyxrc.C (read): print error about invalid key sequence only when
16207 debugging (because not all latinX keysyms are known to some X
16210 * kbsequence.C (getiso): add a few std:: qualifiers
16211 (getiso): comment out extra return statement.
16213 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16215 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16217 (Dispatch): enhance the accent inset a bit. (not perfect)
16219 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16221 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16223 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16225 * bufferlist.C (emergencyWrite): fix assert() call
16227 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16229 * text.C (InsertChar): Added trivial patch to only send the "you
16230 can not do multiple spaces this way" message once during a
16233 2001-05-08 Baruch Even <baruch@lyx.org>
16235 * Makefile.am: Changed order of libraries to get LyX to link properly
16236 with the gnome frontend.
16238 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16240 * LaTeXFeatures.h: add a std:: qualifier
16242 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16244 * paragraph.C (String): use stringstream
16246 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * paragraph.C (writeFile): remove footflag arg
16250 * buffer.C (makeLaTeXFile): use stringstream
16251 (latexParagraphs): remove footnot gurba
16253 * LaTeXFeatures.C (getPackages): use stringstream
16254 (getMacros): likewise
16255 (getTClassPreamble): likewise
16256 (getFloatDefinitions): new method
16258 * paragraph.C (writeFile): reindent
16261 * WorkArea.h: revert the xpos + etc changes.
16263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16265 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16267 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16268 (pasteSelection): likewise
16269 * text2.C (CreateUndo): likewise
16271 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16273 * minibuffer.C (peek_event): temporarily reduce the functionality
16274 of the minibuffer (to allow args on lfuns)
16276 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16277 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16279 * buffer.C (readInset): add compability reading of old float
16280 lists, add reading of new style float list.
16281 (readInset): avoid reevaluation of inscmd.getCmdName()
16282 (getLists): reindent
16284 * MenuBackend.C (MenuItem): implement parsing of
16285 md_floatlistinsert and md_floatinsert.
16286 (expand::LastFiles): move initalizaton of iterators out of loop,
16287 avoid reevaluation.
16288 (expand::Documents): introduce typdedef vector<string> Strings,
16290 (expand::ExportFormats): introduce typedef vector<Format const *>
16291 Formats, and use it.
16292 (expand): implement FloatListInsert and FloatInsert.
16294 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16295 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16296 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16298 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16300 (Dispatch::LFUN_FLOAT_LIST): implement
16302 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16304 * LaTeX.C (run): Fix problem with --export code.
16306 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16308 * BufferView.[Ch] (workarea): removed.
16309 (getClipboard) new method; wrapper for workarea()->getClipboard()
16311 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16314 * WorkArea.h (width, height, xpos, ypos): These methods all
16315 returned the dimensions of the work_area sub-area of WorkArea,
16316 resulting in a position error if the WorkArea were resized. Now
16317 return the dimensions of the entire WorkArea.
16319 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16321 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16323 * LaTeX.C (deplog): correct the syntax of regex reg1
16325 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16327 * undo.C: remove !NEW_INSETS cruft
16329 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16331 * text2.C: remove !NEW_INSETS cruft
16333 * text.C: remove !NEW_INSETS cruft
16335 * tabular.C: remove !NEW_INSETS cruft
16337 * spellchecker.C: remove !NEW_INSETS cruft
16339 * lyxtext.h: remove !NEW_INSETS cruft
16341 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16343 * lyxfunc.C: remove !NEW_INSETS cruft
16345 * lyxfind.C: remove !NEW_INSETS cruft
16347 * lyx_cb.C: remove !NEW_INSETS cruft
16349 * figureForm.C: remove !NEW_INSETS cruft
16351 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16353 * buffer.[Ch]: remove !NEW_INSETS cruft
16355 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16357 * CutAndPaste.C: remove !NEW_INSETS cruft
16359 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16361 * BufferView2.C: remove !NEW_INSETS cruft
16363 * BufferView.h: remove !NEW_INSETS cruft
16365 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16367 * Lsstream.h: include LString.h before the sstream headers to
16368 fix problem with gcc 2.95.3 and lyxstring
16370 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16372 * lyx_main.C: add using directives when needed for C functions
16373 declared in std:: namespace.
16375 2001-04-27 Juergen Vigna <jug@sad.it>
16377 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16378 (SetHeightOfRow): comment out the update call should not be needed!
16380 2001-04-13 Juergen Vigna <jug@sad.it>
16382 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16383 (LyXTabular): tried to minimize operator= operations (and realized
16384 hopfully Lars wish).
16386 2001-04-27 Juergen Vigna <jug@sad.it>
16388 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16390 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16392 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16394 * buffer.C (readInset): hack to make listof algorithm work
16396 * BufferView_pimpl.C: hack to make listof algorithm work
16398 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16400 * LyXAction.C: removed all !NEW_INSETS cruft
16401 (init): moved lfun_item in method
16403 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16405 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16407 * BufferView2.C (theLockingInset): white space.
16409 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16411 * minibuffer.C: include <iostream>
16413 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16415 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16417 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16419 * text.[Ch] (TransposeChars): new method
16421 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16423 * call message directly through LyXView instead of through LyXFunc
16424 * BufferView2.C: adjust
16425 * BufferView_pimpl.C: adjust
16426 * FontLoader.C: adjust
16428 * bufferview_funcs.C: adjust
16429 * converter.C: adjust
16430 * figureForm.C: adjust
16431 * importer.C: adjust
16433 * lyx_gui_misc.C: adjust
16434 * lyxfunc.C: adjust
16437 + more files in subdirs
16439 * lyxparagraph.h (size): move up int file
16442 * adjust all uses of Assert to lyx::Assert.
16444 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16445 lyxfunctional in namespace lyx
16446 * layout.C (hasLayout): ditto
16449 (delete_layout): ditto
16450 (NumberOfClass): ditto
16451 * converter.C (GetFormat): ditto
16456 * bufferlist.C (getFileNames): ditto
16457 (emergencyWriteAll): ditto
16460 * MenuBackend.C (hasSubmenu): ditto
16463 * BufferView_pimpl.C (getInsetByCode): ditto
16465 2001-04-18 Juergen Vigna <jug@sad.it>
16467 * vspace.C (asLatexString): fixed the 100% problem.
16469 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16471 * lyxfunc.C (Dispatch):
16473 * minibuffer.h: add a few std:: qualifiers
16475 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16477 * minibuffer.[Ch]: reimplement so that commands is initiated and
16478 run from lyxfunc, simplified som handling, and made the completion
16479 and history code for complete. wip.
16481 * lyxfunc.C (processKeySym): call message
16482 (miniDispatch): new temporary method
16483 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16484 (LFUN_MESSAGE): implement
16485 (LFUN_MESSAGE_PUSH): implement
16486 (LFUN_MESSAGE_POP): implement
16487 (initMiniBuffer): the initial/defualt minibuffer message.
16489 * lyxfont.[Ch]: inline some more getters
16491 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16493 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16495 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16496 (AutoSave): use LFUN_MESSAGE
16497 (Reconfigure): ditto
16499 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16501 * figureForm.C: use LFUN_MESSAGE
16503 * converter.C (runLaTeX): use LFUN_MESSAGE
16505 * bufferview_funcs.C: use LFUN_MESSAGE
16507 (changeDepth): ditto
16509 * bufferparams.h: use boost::
16511 * bufferlist.h: inherit privately from noncopyable
16513 * bufferlist.C (loadLyXFile): remove some commented code.
16515 * buffer.C (runChktex): use LFUN_MESSAGE
16517 * ShareContainer.h: inherit privately from noncopyable
16519 * ParagraphParameters.[hC] (depth): inline it.
16521 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16523 (message): new method
16524 (messagePush): ditto
16525 (messagePop): ditto
16526 (show): init minibuffer
16527 (showState): direct call
16529 * LaTeX.[Ch]: inherit privately from noncopyable
16530 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16531 instead of WriteStatus.
16533 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16535 * BufferView_pimpl.C (buffer): don't init minibuffer
16536 (workAreaButtonPress): use LFUN_MESSAGE
16537 (workAreaButtonRelease): ditto
16538 (savePosition): ditto
16539 (restorePosition): ditto
16540 (MenuInsertLyXFile): ditto
16541 (workAreaExpose): don't init minibuffer
16542 (update): remove commented code, simplify
16544 * BufferView2.C (openStuff): use LFUN_MESSAGE
16545 (toggleFloat): ditto
16548 (copyEnvironment): ditto
16549 (pasteEnvironment): ditto
16554 (updateInset): remove some commented code
16556 * lastfiles.h: inherit privately from noncopyable
16559 * lyx_main.h: ditto
16561 * lyxlex_pimpl.h: ditto
16563 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16564 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16565 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16567 * LyXAction.h: inherit privately from noncopyable, add methods
16568 func_begin, func_end, returning iterators to the func map.
16570 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16571 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16572 (func_begin): new method
16573 (func_end): new method
16575 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16577 (copySelection): ditto
16578 (pasteSelection): ditto
16580 * BufferView.C: whitespace change
16581 * BufferView.h: inherit privately from noncopyable
16583 2001-04-16 Allan Rae <rae@lyx.org>
16585 * tabular-old.C (l_getline):
16586 * spellchecker.C (sc_check_word):
16587 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16588 an unrecognised preprocessor directive. So ensure they're wrapped.
16590 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16592 * src/exporter.C (Export): Give an error message when path to file
16595 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16597 * LaTeX.C (deplog): Always check that foundfile exists.
16599 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16602 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16604 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16606 * tabular.[Ch] (getLabelList): implement new method
16608 * minibuffer.h: comment ouf setTiimer
16610 * minibuffer.C (ExecutingCB): constify res
16611 (peek_event): constify s
16612 (Set): constify ntext
16613 (Init): constify nicename
16615 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16617 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16618 (savePosition): use two params to Minibuffer::Set
16619 (restorePosition): ditto
16621 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16623 * lyx_main.C: include language.h
16625 * Makefile.am (lyx_main.o): add language.h
16627 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16633 * CutAndPaste.C: include gettext.h
16635 * lyxfont.h: remove old hack with ON and OFF.
16638 * lyxfont.h: do not include language.h...
16643 * bufferview_funcs.C:
16649 * paragraph.C: ... but do it here instead
16651 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16653 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16655 * tabular.C: small reformat
16657 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16660 (BreakParagraph): ditto
16661 (SetOnlyLayout): ditto
16664 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16667 * lastfiles.C: removed most using decl, add std:: where needed
16669 * buffer.C: ws changes
16671 * MenuBackend.C (class compare_format): put into anon namespace
16672 (expand): constify label, names, action, action2
16675 * text.C (SingleWidth): constify font
16676 (IsBoundary): constify rtl2
16677 (GetVisibleRow): constify ww
16679 * LaTeX.C (deplog): constify logfile
16681 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16683 (workAreaExpose): constify widthChange, heightChange
16685 * lyxrow.C (par): moved
16688 * lyxrow.h: as inlines here
16690 * lyxfont.h (shape): moved from lyxfont.C
16691 (emph): moved from lyxfont.C
16693 * lyxfont.C (LyXFont): use initialization list for all
16695 (shape): move to lyxfont.h as inline
16696 (emph): move to lyxfont.h as inline
16699 2001-04-04 Juergen Vigna <jug@sad.it>
16701 * vspace.C: had to include stdio.h for use of sscanf
16703 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16706 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16707 independent of xforms.
16709 2001-04-02 Juergen Vigna <jug@sad.it>
16711 * spellchecker.C: fixed namespace placing!
16713 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16715 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16716 the LyXParagraph * is 0.
16718 2001-03-29 Juergen Vigna <jug@sad.it>
16720 * vspace.C: added support for %, c%, p%, l%.
16721 (stringFromUnit): added helper function.
16722 (asLatexString): changed to give right results for the %-values.
16724 * buffer.C: convert the widthp in a width%.
16726 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16728 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16731 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16732 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16734 * lyx_cb.[Ch]: see above.
16736 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16740 * lyx.[Ch]: replaced by figure_form.[Ch].
16744 * lyxfunc.C: changed headers associated with above changes.
16746 2001-03-27 Juergen Vigna <jug@sad.it>
16748 * BufferView_pimpl.C: set the temporary cursor right!
16750 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16752 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16754 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16756 * LString.h: removed "using std::getline"!
16758 * BufferView_pimpl.C (Dispatch): changes due to changes in
16759 InsetInclude::Params.
16761 * buffer.C (tag_name): removed redundant break statements as they were
16762 producing lots of warnings with my compiler.
16764 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16766 * LString.h: add "using std::getline" when using the real <string>.
16768 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16770 * buffer.C: removed bitset usage.
16771 PAR_TAG moved to an anonymous name space.
16772 (tag_name): new funtion, also in the anonymous namespace.
16773 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16774 (makeDocBookFile): clean code. Completed transition from string arrays
16776 (SimpleDocBookOnePar): code clean.
16778 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16780 * tabular.C: add some comments.
16782 2001-03-22 Juergen Vigna <jug@sad.it>
16784 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16785 compatibility read a bit and fixed bug with minipage in different
16788 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16790 * buffer.C (pop_tag): removed.
16791 (push_tag): removed.
16792 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16793 array replaced with vector. Added support for CDATA sections.
16794 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16796 (makeDocBookFile): XML conformant declaration of CDATA section,
16797 fixed bug related to <emphasis> in the first paragraph char.
16798 (sgmlOpenTag): exclude empty tags.
16799 (sgmlCloseTag): ditto.
16801 * buffer.h (pop_tag): removed.
16802 (push_tag): removed.
16804 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16806 * language.h (Languages): added size_type and size().
16808 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16810 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16811 response on compability reading of minipages. One probliem is that
16812 the old usage of minipages was «flertydig»
16814 * several files here and in subdirs: don't use static at file
16815 scope use anon namespaces instead.
16817 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16819 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16820 LaTeX output. This is necessary for Literate document
16823 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16825 * buffer.C: insert hfill when needed.
16827 * tabular.C (l_getline): use string::erase, small whitespace change.
16829 * BufferView_pimpl.C: try the anon namespace.
16830 * WorkArea.C: ditto
16832 2001-03-16 Juergen Vigna <jug@sad.it>
16834 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16835 otherwise it won't open options-dialogs.
16837 * buffer.C: honor pextraWidth(p) on converting minipages.
16839 * tabular.C (l_getline): changed the functions to strip trailing \r.
16841 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16843 * BufferView_pimpl.C:
16844 * minibuffer..C: added "using SigC::slot" declaration.
16846 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16848 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16854 * paragraph.C: ditto
16856 * lyxtext.h: NO_PEXTRA
16858 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16860 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16861 * ParameterStruct.h: ditto
16862 * ParagraphParameters.h: ditto
16863 * lyxparagraph.h: ditto
16865 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16867 * buffer.C: add compability for minipage alignment.
16868 (latexParagraphs): remove unwanted pextra check.
16870 * several files: remove CXX_WORKING_NAMESPACES
16872 * buffer.C (pop_tag): tie is in namespace boost
16874 * BufferView.h: noncopyable is in namespace boost
16876 * lyx_main.h: ditto
16879 * lastfiles.h: ditto
16880 * bufferlist.h: ditto
16881 * ShareContainer.h: ditto
16883 * LyXAction.h: ditto
16886 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16888 * Merging changes from BRANCH_MVC back into HEAD.
16890 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16892 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16894 * BufferView_pimpl.C: change from intl.C
16898 * Makefile.am: move combox.*
16904 * intl.C: remove dialog (covered by prefs)
16906 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16908 * lyxfunc.C (Dispatch): removed redundant break statement.
16910 2001-03-14 Juergen Vigna <jug@sad.it>
16912 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16914 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16916 * buffer.C: add hack to fix compability reading of minipages.
16918 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16920 * buffer.C (getLists): Cleanup.
16922 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16924 * lyxfont.C (update): don't honor toggleall on font size.
16926 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16930 * Makefile.am: moved to frontends/xforms/
16934 * BufferView_pimpl.C: changes for moved mathpanel
16936 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16938 * gettext.h: fix gettext_init() in --disable-nls
16940 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16942 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16944 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16947 * lyx.h: strip external form
16949 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16951 * BufferView_pimpl.C: add comment, destroySplash()
16953 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16955 * BufferView_pimpl.C:
16959 * lyxfunc.C: use re-worked insetinclude
16961 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16963 * buffer.C: add using std::stringstream.
16965 * lyx_cb.C: readd using std::ios.
16967 * buffer.C: add using std::map.
16969 * BufferView_pimpl.C: add using std::vector.
16971 * ShareContainer.h: add std:: to swap.
16973 * buffer.h: add some typedefs
16974 * buffer.C (getLists): use them
16975 (getLists): renamed from getTocList.
16976 add a counter for the different float types and use it in the
16978 (getLists): use the same counter for the NEW_INSETS and the "non"
16981 * lyx_cb.h: remove unused items, includes, using etc.
16983 * ShareContainer.h: remove some commented code, add more comments
16984 and "documentation".
16986 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16988 * buffer.C (getTocList): make the list also when NEW_INSETS is
16991 * buffer.h: remove TocType
16993 * buffer.C (getTocList): change to return a map<string,
16994 vector<TocItem> >, implement for dynamic number of list.
16996 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16997 * text2.C (PasteSelection): adjust
16998 * CutAndPaste.C (pasteSelection): adjust
17000 * FloatList.C (FloatList): update from the new_insets branch.
17001 * Floating.[Ch]: ditto
17002 * LaTeXFeatures.C: ditto
17004 * lyxlex_pimpl.C: ditto
17006 * paragraph.C (Last): remove when NEW_INSETS is defined.
17008 * other file: changes because of the above.
17010 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17012 * lyxparagraph.h: rename next to next_, previous to previous_,
17013 make them private for NEW_INSETS. Rename Next() to next(),
17014 Previous() to previous().
17016 * other files: changes because of the above.
17018 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17021 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17024 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17026 * main.C (main): pass lyx_localedir to gettext_init().
17028 * gettext.h: remove locale_init and gettext_init macros
17030 * gettext.C (locale_init): new function
17031 (gettext_init): new function
17033 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17036 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17038 * Moved credits to frontends:
17039 * credits.[Ch]: removed
17040 * credits_form.[Ch]: removed
17041 * lyx_gui_misc.C: remove credits stuff
17044 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17046 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17048 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17049 unneeded destructor.
17051 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17052 a standalone pointer again.
17054 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17056 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17062 * ToolbarDefaults.C:
17071 * BufferView_pimpl.C: use new file dialog in GUII
17074 * lyx_cb.C: remove LayoutsCB to Toolbar
17076 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17078 * ShareContainer.h (get): add std:: qualifier
17080 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17082 * ShareContainer.h: define a proper ShareContainer::value_type
17083 type (and use typename to please compaq cxx)
17085 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17087 * lyxparagraph.h: move serveral local vars to
17088 ParameterStruct/ParagraphParameters., use ShareContainer in
17089 FontTable., make vars in FontTable private and add getter and
17092 * paragraph.C: changes because of the above.
17094 * lyxfont.h: remove copy constructor and copy assignment. (the
17095 default ones is ok), move number inside FontBits. move inlines to
17098 * lyxfont.C: add number to initializaton of statics, move several
17099 inlines here. constify several local vars. some whitespace
17100 cleanup. Dont hide outerscope variables.
17102 * Spacing.h: add two new constructors to match the set methods.
17104 * ShareContainer.h: new file, will perhaps be moved to support
17106 * ParameterStruct.h: new file
17108 * ParagraphParameters.h: new file
17110 * ParagraphParameters.C: new file
17112 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17113 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17115 * BufferView_pimpl.C: ParagraphParameter changes.
17116 * buffer.C: Likewise.
17117 * bufferview_funcs.C: Likewise.
17118 * text.C: Likewise.
17119 * text2.C: Likewise.
17121 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17123 * lyxfind.C (LyXReplace): do not redefine default argument in
17125 (IsStringInText): ditto
17126 (SearchForward): ditto
17127 (SearchBackward): ditto
17129 2001-03-06 Juergen Vigna <jug@sad.it>
17131 * lyxfind.C (IsStringInText): put parentes around expressions.
17133 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17135 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17137 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17139 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17141 * stl_string_fwd.h: add comment
17143 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17146 * tabular.C: remove unused DocBook methods
17152 killed DO_USE_DEFAULT_LANGUAGE
17154 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17156 * lyx_gui.C: do not include language.h.
17158 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17159 arguments in function implementation.
17161 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17163 * BufferView_pimpl.C: add <ctime>
17165 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17167 * BufferView_pimpl.C: add using std::find_if
17169 2001-02-27 José Matos <jamatos@fep.up.pt>
17171 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17174 2001-02-11 José Matos <jamatos@fep.up.pt>
17176 * buffer.C (makeDocBookFile): command styles now have a parameter as
17177 "title" by default.
17179 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17181 * layout_forms.[Ch]: removed
17182 * lyx_cb.[Ch]: out character
17183 * lyx_gui.C: out character
17184 * lyx_gui_misc.C: out character
17185 * bufferview_funcs.C: : out character,
17186 added toggleall as parameter in ToggleAndShow
17188 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17190 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17192 * text2.C (SetCurrentFont): Disable number property at boundary.
17194 2001-02-26 Juergen Vigna <jug@sad.it>
17196 * lyxfunc.C (getStatus): added a string argument override function so
17197 that this is correctly called from LyXFunc::Dispatch if it contains a
17198 do_not_use_argument which is used!
17199 (Dispatch): added check for "custom" export and call appropriate func.
17201 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17203 * lyxrc.C: Add language_command_local, language_use_babel and
17204 language_global_options.
17206 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17208 * buffer.C (makeLaTeXFile): Use language_use_babel and
17209 language_global_options.
17211 2001-02-23 Juergen Vigna <jug@sad.it>
17213 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17214 which works with LyXText and putted it inside BufferView. Here now we
17215 only call for that part the BufferView::Dispatch() function.
17217 * BufferView.C (Dispatch): added.
17219 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17220 functions which needs to use a LyXText over from LyXFunc.
17221 (MenuInsertLyXFile): added
17222 (getInsetByCode): added
17223 (moveCursorUpdate): added
17224 (static TEXT): added
17226 2001-02-22 Juergen Vigna <jug@sad.it>
17228 * BufferView_pimpl.C (update): call a status update to see if LyXText
17231 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17233 * vc-backend.C (revert): implement for CVS
17234 (getLog): implement for CVS
17236 2001-02-20 Juergen Vigna <jug@sad.it>
17238 * text2.C (ClearSelection): added BufferView param for inset_owner call
17240 * lyxfunc.C (TEXT): added this function and use it instead of
17241 directly owner->view()-text of getLyXText().
17243 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17245 * src/layout_forms.C: out preamble
17246 * src/layout_forms.h: out preamble
17247 * src/lyx_cb.C: out preamble
17248 * src/lyx_cb.h: out preamble
17249 * src/lyx_gui.C: out preamble
17250 * src/lyx_gui_misc.C: out preamble
17251 * src/lyxfunc.C: connect with guii preamble
17253 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17255 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17257 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17259 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17260 whether to run bibtex.
17262 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17264 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17266 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17268 * Makefile.am (lyx_SOURCES): removed bibforms.h
17270 * vspace.h: doxygen
17272 * text.C (GetVisibleRow): make several local vars const
17274 * tabular.C: small cleanup.
17276 * lyxserver.C (callback): use compare instead of strncmp
17278 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17279 inlines to after class or to paragraph.C
17281 * lyxfont.h: remove friend operator!=
17283 * converter.h: move friend bool operator< to non friend and after
17286 * combox.h: small cleanup
17288 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17289 to inlines after class def.
17291 * buffer.C (pop_tag): use string operations instead of strcmp
17293 * bmtable.c: doxygen, small cleanup
17295 * LaTeX.h: remove friend operator==
17297 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17309 * BufferView_pimpl.C:
17310 * BufferView.[Ch]: remove cruft
17312 2001-02-14 Juergen Vigna <jug@sad.it>
17314 * lyxfunc.C: removed #if 0 unused code
17316 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17318 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17320 * text2.C (SetSelection): added a BufferView * parameter
17322 2001-02-13 Juergen Vigna <jug@sad.it>
17324 * lyxfunc.C (Dispatch): fixed protected blank problem.
17325 * BufferView2.C (protectedBlank): added LyxText * parameter.
17327 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17328 (AppendColumn): same as above for column_info.
17330 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17331 (moveCursorUpdate): use a LyXText param for support of InsetText.
17333 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17334 (tripleClick): ditto
17336 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17338 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17340 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17342 * text2.C (SetSelection): set correct update status if inset_owner
17343 (ToggleFree): ditto
17345 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17347 * tabular.C: remove some commented code.
17349 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17351 * BufferView_pimpl.C: call hideSplash()
17353 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17356 * bibforms.h: remove
17359 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17360 add LFUN_CHILD_CREATE
17362 * counters.h: fix tiny typo
17367 * lyx.C: move splash to frontends/xforms/
17369 * lyx_gui_misc.C: move Include and Bibform to frontends
17371 * lyxvc.h: clarify comment
17373 * vspace.C: tiny housekeeping
17375 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17377 * text.C (PrepareToPrint): RTL Fix.
17379 * paragraph.C (GetUChar): New method.
17380 (String): Use GetUChar.
17382 * buffer.C (asciiParagraph): Use GetUChar.
17384 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17386 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17388 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17391 * buffer.C: rename to getLogName(), handle
17392 build log / latex log nicely
17394 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17397 * MenuBackend.h: remove support for reference menuitem type.
17399 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17401 * BufferView_pimpl.C: housekeeping
17402 * BufferView_pimpl.h:
17407 * minibuffer.h: move Timeout GUI-I
17409 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17411 * lyxrc.C (read): Update converters data-structures.
17413 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17415 * LaTeX.h (operator!=): add operator != for Aux_Info
17417 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17419 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17421 * LaTeXLog.C: deleted, useful code moved to Buffer
17424 * buffer.C: new function getLatexLogName()
17430 * lyxfunc.C: use frontends for LaTeX and VC logs
17432 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17434 * LaTeX.h: yet another std:: that Allan forgot.
17436 * Variables.C (set): renamed from isset(), because this clashes
17437 with some HP-UX macros (grr).
17439 2001-02-06 Allan Rae <rae@lyx.org>
17441 * LaTeX.h: Another bug fix. Missing std:: this time.
17443 2001-02-04 Allan Rae <rae@lyx.org>
17445 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17446 floats problem. I've left it commented out because it's not quite
17447 correct. It should also test that the current object is a table or
17448 figure inset. But I haven't gotten around to figuring out how to do
17449 that. I *think* it'll be something like: "table" == inset.type()
17451 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17454 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17456 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17457 all the citation/databases/styles in the auxilary file.
17458 (run): Rerun latex if there was a babel language error.
17460 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17462 * text.C (Backspace): Preserve the font when changing newline char
17464 (BreakParagraph): If the cursor is before a space, delete the space.
17466 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17468 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17470 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17471 new argument (code).
17472 (ChangeCitationsIfUnique): New method.
17474 * paragraph.C (GetPositionOfInset): Handle bibkey.
17476 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17478 * BufferView_pimpl.h: change type of Position::par_pos to
17479 LyXParagraph::size_type.
17481 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17483 * BufferView_pimpl.C (savePosition, restorePosition): Write
17484 messages to minibuffer.
17486 2001-01-28 José Matos <jamatos@fep.up.pt>
17488 * buffer.C (makeDocBookFile): adds support for document language.
17489 A silly restriction on the name of LatexCommand types where removed.
17490 Added support for CDATA sections, allows to chars unescaped, used
17491 among others in code, to avoid escape < and >.
17493 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17495 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17496 saved positions instrad of a stack. Furthermore, a position is
17497 stored using paragraph id/paragraph position.
17499 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17500 Remove LFUN_REF_BACK.
17502 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17504 * converter.C (dvipdfm_options): New method.
17506 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17508 * vspace.C (isValidLength): Fix for empty input string.
17510 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17512 * LyXAction.C (init): change description of LFUN_FIGURE to
17515 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17517 * LaTeX.C: add using directive
17519 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17521 * MenuBackend.C (expand): Fix the sorting of the formats.
17523 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17525 * lyx_main.C: tiny error message fix
17527 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17529 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17530 calling fl_initialize(). This fixes the problem with ',' as
17531 decimal separator in text files.
17533 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17535 * trans.C (process): Fix the keymap bug.
17537 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17539 * LaTeX.C (scanAuxFiles): New method. Provides support for
17540 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17541 (scanLogFile) Scan for "run BibTeX" messages.
17543 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17544 OT1 font encoding. Also, load the aecompl package if the ae
17547 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17549 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17551 * texrow.C (increasePos): turn two error messages into debug
17554 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17556 * LaTeX.C (scanAux): Handle the \@input macro.
17557 (runBibTeX): Use scanAux().
17559 * language.C (latex_options_): New field.
17561 * LaTeXFeatures.C (getMacros): Add language macros.
17563 * buffer.C (makeLaTeXFile): Small fix.
17565 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17567 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17569 * text2.C: add a using directive.
17571 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17576 * lyxfunc.C: kill LyXBell.
17578 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17580 * text.C (IsBoundary): Remove the error message
17582 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17584 * lyxrc.C (setDefaults): Correct initialization value for
17587 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17589 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17592 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17593 and GotoNextNote().
17595 * src/LyXAction.C: Added reference-next.
17597 * text.C (InsertChar): Use contains instead of strchr.
17599 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17601 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17603 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17604 alignment commands (when needed).
17606 * text.C (InsertChar): Add ':' to number separator chars.