1 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * rowpainter.C (paintInset, paintHebrewComposeChar)
4 (paintArabicComposeChar, paintChars): add a LyXFont argument.
5 (paintChars): use getFontSpan to reduce calls to getFont to a
6 minimum; use Paragraph::lookupChange instead of isXXXText.
7 (paintForeignMark): rename LyXFont argument.
8 (paintFromPos): pass a LyXFont object to the various paintXXX
11 * FontIterator.C (FontIterator, operator++): use
12 Paragraph::getFontSpan
14 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
15 version that returns the font span as a pair.
17 2005-06-09 Angus Leeming <leeming@lyx.org>
19 * converter.C (convert): Don't forget "outfile = real_outfile" as
20 the final step in a conversion where the input and output file names
21 are the same. Otherwise, future conversion steps won't work...
23 2005-06-09 Angus Leeming <leeming@lyx.org>
25 * lyxsocket.C: remove stub code as it isn't needed by
26 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
28 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
31 effectively disabled -x
33 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
35 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
36 when it actually makes sense.
38 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
40 * BufferView_pimpl.C: revert to showCursor in connection with
41 Lars's front-end stack
43 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * text.C (redoParagraph): move cursor right after a bibitem
48 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
50 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * buffer_funcs.C (bufferErrors): fix computation of the end of an
55 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
57 * BufferView.[Ch] (update):
58 * BufferView_pimpl.[Ch] (update, metrics):
59 * dimension.h (operator==):
60 * lyxfunc.C (dispatch):
61 * metricsinfo.h (ViewMetricsInfo):
62 * rowpainter.C (paintText):
64 * text.C (redoParagraph):
65 * text3.C (dispatch): Make LyX only repaint current paragraph in
66 case of character insert --> speedup. Also fix cursor draw
69 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
72 avoid a crash (bug 1891)
74 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * text2.C (getStringToIndex): constify cur argument.
80 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
81 argument has been given
82 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
83 try to invoke LFUN_INSET_APPLY).
85 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
86 if no inset was created by doInsertInset
87 (doInsertInset): return true if an inset has been inserted.
89 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * vspace.C (asGUIName): new method. A version of the space
92 suitable for showing on screen.
94 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
97 * lyxrc.C: rename "ASCII" to "Plain Text"
99 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * buffer_funcs.C (expandLabel): take a Buffer as argument;
102 translate the labelstring.
103 (setCounter): translate labelstring as needed.
105 * output_docbook.C (makeCommand): fix expandLabel invokation
107 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
109 * BufferView.C: fix dialog title
111 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * lyx_main.C (priv_exec): fix logic error with help from Angus
114 * lyx_main.C (parse_execute): set is_gui = false and remove now
115 obsolete comment about a segfault
117 2005-05-18 Angus Leeming <leeming@lyx.org>
119 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
121 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
123 * tabular.[hC]: added setCellInset to fix tabular paste.
125 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
127 * buffer.C (save): check if destination is writable before trying
130 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
132 * BufferView_pimpl.C (update): fix processEvents -caused update
135 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * buffer_funcs.C (setCounter): fix test for numbering of
140 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
141 depth correctly; use optional argument when it exists
143 * lyxtextclass.C: remove unused MaxCounterTags enum
144 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
145 (max_toclevel, min_toclevel): new methods.
147 * MenuBackend.C (expandToc2): fix case where depth is smaller than
148 the smallest depth in toc.
150 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
151 layouts that should not appear in a table of contents.
153 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * cursor.h (undispatched, noUpdate): add comments from André
157 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
161 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
163 2005-05-07 André Pönitz <poenitz@gmx.net>
165 * cursor.[Ch] (leaveInset): new function
167 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
169 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
171 2005-05-04 Angus Leeming <leeming@lyx.org>
173 * lyxfunc.C (getStatus): disable the spell checker dialog if
174 none of USE_[AIP]SPELL are defined.
176 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
178 * tabular.C (setWidthOfCell): remove obsolete comment
180 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
182 * paragraph.C (bibitem):
183 * buffer_funcs.C (setCounter):
184 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
186 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
188 * text3.C (getStatus): immediately return after setOnOff
190 * rowpainter.C: fix drawing of appendix start
192 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
195 SwitchBetweenClasses and remove the unused return value.
196 Handle character styles, too
198 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
200 * factory.C (createInset): handle undefined character styles
202 2005-05-02 Angus Leeming <leeming@lyx.org>
204 * buffer.C: protect the #include of utime.h with a preprocessor
207 2005-05-02 Angus Leeming <leeming@lyx.org>
209 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
210 function so that auto-saving works, albeit in a blocking manner.
212 * Makefile.am: make compilation of the client sub directory, of
213 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
214 on conditionals set at configure time.
216 * SpellBase.[Ch]: no longer an abstract base class. Instead,
217 it can be compiled in its own right but has no-op functionality.
219 * aspell.C, pspell.C: remove preprocessor guards. The files should
220 be compiled only if the necessary functionality exists.
222 * lyxserver.C, lyxsocket.C: disable on Windows.
224 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
226 * text.C (leftMargin): Fix the parindent use bug (1764)
229 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
231 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
234 2005-04-25 Angus Leeming <leeming@lyx.org>
242 include <config.h> in .C files, not .h ones.
244 protect headers inside preprocessor guards.
246 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
248 * FuncStatus.h (StatusCodes): document
250 2005-04-21 André Pönitz <poenitz@gmx.net>
252 * FuncStatus.h (enabled, onoff): document
254 2005-04-19 Angus Leeming <leeming@lyx.org>
256 * BufferView_pimpl.C (cursorToggle): no longer test whether
257 any child processes have been reaped before calling
258 handleCompletedProcesses().
260 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
262 * text3.C (dispatch): fix, finally fix, the language problem in
263 new lyxtexts, without disabling on-the-fly font changes (Helge's
266 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * text3.C (dispatch): set cursor on double/triple click events
271 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
274 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
276 * rowpainter.C (paintFirst): simplify the code a little bit. In
277 particular, remove the test for secnumdepth.
278 * text.C (setHeightOfRow): only allocate space for chapter number
279 when updateCounters provided an actual label, instead of looking
280 at secnumdepth directly.
282 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
284 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
285 paragraphs when secnumdepth is large enough or, for environments,
286 when they are not the first in a sequence.
288 2005-04-17 Angus Leeming <leeming@lyx.org>
290 * buffer.C (makeLaTeXFile): replace code to manipulate a path
291 containing space and '~' characters with a call to latex_path().
293 2005-04-17 Angus Leeming <leeming@lyx.org>
295 * converter.C (convert): protect all args of convertDefault.sh
298 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * text3.C (dispatch): change the layout to "Caption" after inserting
303 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
305 * text3.C (dispatch): fix language problem in newly created
306 textinsets (and main text) in non-english docs
308 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
311 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
312 * text3.C (getStatus): disable LFUN_INSET_MODIFY
314 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
319 * rowpainter.C (getFont): Fix metrics bug introduced by inset
322 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
325 output of \item arguments without trailing text.
327 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * FontIterator.C (operator*): avoid a copy of the font.
331 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
333 * rowpainter.C (getFont): fix language bug from previous fix
335 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
337 * rowpainter.C (RowPainter, getFont): fix font inside inset
340 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
342 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
343 preventing inserted font, deco, delim insets jumping to start of
346 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * lyxfunc.C (dispatch): translate message before sending it to the
351 2005-03-29 Angus Leeming <leeming@lyx.org>
353 * lyx_main.C (priv_exec): call os::internal_path on each file passed
354 to LyX on the command line.
356 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
358 * vc-backend.C: use QuoteName to protect file names wherever
361 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
364 * BranchList.h: fix bugs 1844,1845: document settings don't
367 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * lyxrc.C (setDefaults, read, output, getDescription): add support
370 for tex_allows_spaces.
372 * exporter.C (Export): allows files in directory containing spaces
373 if tex_allows_spaces is true.
375 * buffer.C (makeLaTeXFile): if the document path contains spaces,
376 output it in double quotes.
378 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * rowpainter.C: use default text height for drawing change tracker
383 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
387 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
390 directory is missing.
392 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
394 * text2.C: fixed the fix, extended to other case.
396 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
398 * text2.C: fix for cursor up/down stuck in math [bug 1792]
400 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
402 * text2.C (cursorUp): get rid of a crash
403 * text.C (x2pos): add an assert
405 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * lyxfunc.C (getStatus): fix warning when assertions are disabled
411 * dociterator.C: include <boost/current_function.hpp>, which is
412 needed when assertions are disabled.
414 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
416 * text2.C: fix for stuck cursor when traversing two
417 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
419 2005-02-25 Andreas Vox <avox@arcor.de>
421 * output_docbook.C (makeParagraph): suppress trailing newline
422 after a run of paragraphs
424 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
426 * paragraph.C: fix for confused change tracker when pasting
427 text that begins with a lineseparator. [bug 1827]
428 (setChange(0, Change::INSERTED);)
430 * paragraph_funcs.C: fix for lost changes on triple-paste
431 in change tracking mode [bug 1827] (par.setChange()).
433 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * text2.C (updateCounters, setCounter, expandLabel): move to
438 * buffer_funcs.C (updateCounters): turn into a free standing
439 function and add a buffer parameter. Remove dead code for tracking
441 (setCounter): change into a free-standing function which gets a
442 dociterator as argument. Use this iterator to fix captions in a
443 simple way. When no float is found above the caption, use the
444 labelstring of the caption layout as default.
446 * text.C (breakParagraph, backspace):
447 * text2.C (init, setLayout, changeDepth):
448 * text3.C (dispatch):
449 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
452 * dociterator.C (forwardPar): make it much faster by calling
453 forwardPos() only when really necessary.
455 * output_docbook.C (makeCommand): adapt to expandLabel move.
457 * cursor.C: remove unused variable
459 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
461 * paragraph_funcs.C: fix crash when pasting insets in change
462 tracking mode [bug 1277] (honour change type in moveItem).
464 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
468 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * BufferView.C (setCursor): change to use a DocIterator.
471 (gotoLabel): use BufferView::setCursor (other part of bug 781).
472 (putSelectionAt): adapt to BufferView::setCursor change.
474 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
475 moved here from LyXText and rewritten to use proper cursor
476 methods. Fixes bug 1787, 616 and 835.
478 * BufferView_pimpl.C (restorePosition): set the cursor correctly
479 when inside an inset (part of bug 781).
480 (dispatch): adapt to change of BufferView::setCursor.
481 (getStatus, dispatch): handle LFUN_GOTOERROR,
482 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
484 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
485 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
486 * text3.C (gotoNextInset, gotoInset): removed.
488 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
492 2005-02-15 Angus Leeming <leeming@lyx.org>
494 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
495 can be used meaningfully in a comparison.
497 2005-02-13 André Pönitz <poenitz@gmx.net>
499 * bufferview_funcs.C (coordOffset): improve cursor drawing
501 2005-02-13 André Pönitz <poenitz@gmx.net>
503 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
504 * Cursor.C (dispatch): use fixIfBroken
505 * lyxfunc.C (getStatus): use fixIfBroken
507 2005-02-15 Angus Leeming <leeming@lyx.org>
509 * lyx_main.C (error_handler):
511 * lyxrc.C (setDefaults):
513 #include "environment.h".
515 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
517 2005-02-15 Angus Leeming <leeming@lyx.org>
519 * lyxserver.C (startPipe): squash MSVC warning "local variable
520 'fd' used without having been initialized".
522 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
524 * BufferView_pimpl.C: revert accidental commit.
526 2005-02-14 André Pönitz <poenitz@gmx.net>
528 * dociterator.[Ch]: new member forwardPosNoDescent(),
529 which doesn't enter nested insets.
530 * text2.C (setFont): use forwardPosNoDescent() instead
531 of ForwardPos() (fixes crash on font change).
533 2005-02-13 Angus Leeming <leeming@lyx.org>
535 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
536 only if lyxrc.path_prefix is not empty.
538 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
540 * bufferparams.C (readGraphicsDriver): prevent crash
542 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
544 * text2.C (setCounter): check for inInset() == 0
546 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
549 but use update() to get correct screen display; use convert
550 instead of istringstream.
551 (getStatus): handle LFUN_GOTO_PARAGRAPH
553 * lyxfunc.C (dispatch, getStatus): do not handle
554 LFUN_GOTO_PARAGRAPH here.
556 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
558 * text3.C (dispatch): size() -> depth()
560 * text2.C: remove some debug output
562 * paragraph.C: ws changes only
564 * lyxfunc.C (getStatus): size() -> depth()
566 * dociterator.h (clear, push_back, pop_back, internalData,
567 operator[], resize, empty): new functions
568 Make StableDocIterator and operator== be friends. Don't inherit
569 from std::vector use a privat class variable slices_ instead.
572 * dociterator.C: update because of not inheriting from std::vector
573 anymore. Call explictly to slices_ instead. Use depth() instead of
574 size() and top() instead of back()
576 * cursor.C: chagne size() -> depth and back() -> top(). Also
577 remove some direct operator[](i) calls in favour of foo[i]
578 (getFont): remove some dead code
580 * bufferview_funcs.C (coordOffset): size() -> depth()
582 * buffer.C: ws changes only
584 * CutAndPaste.C (eraseSelection): back() -> top()
586 * BufferView_pimpl.C (selectionRequested): back() -> top()
588 * BufferView.C (setCursor): size() -> depth()
590 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
592 * text3.C (cursorPrevious): return true if depm changed something
594 (dispatch): rename sl to oldTopSlice, remove moving use the new
595 NoUpdate func attrib instead. Make sure that needsUpdate is set
596 for function that have NoUpdate, but where depm might have changed
599 * text2.C (cursorLeft): make us return true if depm changed
602 (cursorUpParagraph): ditto
603 (curosrDownParagraph): ditto
604 (cursorUp, cursorDown): ditto, make sure to read comments in code
605 (deleteEmptyParagraphMechanism): remove an assert, also return
606 true if just a single char was deleted.
608 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
609 cursor that we modify, to avoid modifying an active cursor before
610 we call setCursor. This allows depm to run. Also return true if
611 depm deleted something.
613 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
614 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
615 cursorDownParagraph, cursorPrevious and cursorNext, return true if
616 something was changed in the buffer because of them (ie. depm run)
618 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
619 debug messages. Make update by default be false. Make sure that
620 the result of update is retained throught several calls down to
623 * LyXAction.h: add a new func_attrib: NoUpdate
625 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
626 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
627 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
629 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
631 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
634 bv_->owner(), bv_->buffer() by direct references to the private
636 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
637 (getStatus): isSavedPosition() is in BufferView::Pimpl.
638 (fitCursor): center() is in BufferView::Pimpl.
639 (getStatus, trackChanges, dispatch): no need for a temporary buf
641 (fitCursor, workAreaDispatch): use workarea().workheight()
643 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
645 * CutAndPaste.C (pasteSelectionHelper): fix a crash
647 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
649 * buffer.C: format up to 241.
650 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
651 break if pasting into ERT
652 * lyxfunc.C (getStatus): suppress mathpanel and
653 LFUN_DIALOG_SHOW_NEW_INSET in ERT
655 2005-02-01 Angus Leeming <leeming@lyx.org>
657 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
659 2005-02-01 Angus Leeming <leeming@lyx.org>
661 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
662 calling fs::is_directory().
664 2005-01-31 Angus Leeming <leeming@lyx.org>
666 * lyx_main.C (priv_exec): specify explicitly the relative location
667 of the top level build directory when run in-place.
669 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
672 LyXText containing the cursor, not the top-level one.
674 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
676 (insertStringAsLines): rename par to pit; use temporary variable
677 par to hold a Paragraph; do not store par.layout() in a variable,
678 since the pointer may die when breaking paragraphs; pass pars to
679 breakParagraph() instead of Buffer::paragraphs().
681 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
683 * lyxlex_pimpl.h: #include <fstream>.
685 * BufferView.[Ch] (getLyXText): add a const version.
687 * BufferView_pimpl.C: add debug aids.
692 * paragraph_funcs.h: add commentary explaining what the class does.
695 * coordcache.[Ch]: add lots of commentary.
696 (startUpdating, doneUpdating): debug aids.
697 (arrays, insets, parPos, getParPos): accessors to private data.
699 * cursor_slice.[Ch] (text): add a const version.
700 * dociterator.[Ch] (text, innerText): add const versions.
702 * lyxtext.h (breakParagraph): change the keep_layout arg to a
705 * paragraph.C (getRow, pos2ros): add asserts.
707 * paragraph.h: add commentary. Lots of.
709 * paragraph.[Ch] (metrucs, draw): removed.
712 * rowpainter.[Ch]: const-correct changes.
714 * text.C: various obvious clean-ups. Removal of ancient cruft.
717 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
719 * vc-backend.C (find_file): rewrite to use boost.filesystem
722 * main.C (main): set default name check for boost.filesystem to
725 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
728 (actOnUpdatedPrefs): ditto
730 * lyx_main.C (init): rewrite to use boost.filesystem
731 (queryUserLyXDir): ditto
733 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
734 (getContentsOfAsciiFile): ditto
736 * lastfiles.C (readFile): rewrite to use boost.filesystem
738 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
740 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
743 * buffer.C (Buffer): adjust for destroydir
744 (getLogName): rewrite to use boost.filesystem
746 (save): use fs::copy_file (from fs_extras)
748 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
750 * LaTeX.C (run): rewrite to use boost.filesystem
751 (scanAuxFiles): ditto
752 (handleFoundFile): ditto
754 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
756 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
758 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
760 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
762 * lyxlayout.[Ch]: change some vars from float to double
764 * buffer.C (readFile): make a local var const
766 * Several files: use convert<> instead of atoi,strToXXX and friends
768 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
770 * LaTeXFeatures.[Ch]: Add a static list packages_ that
771 holds the contents of packages.lst. New functions getAvailable
772 and isAvailable to parse and check that list, resp.
776 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
778 * bufferparams.[Ch]: new param output_changes.
780 * Buffer.C: increase file format to 240.
781 Use output_changes and isVailable.
785 * paragraph_pimpl.C: Use output_changes and isVailable.
787 2005-01-23 Angus Leeming <leeming@lyx.org>
789 * output_latex.C: #include "insetbibitem.h", rather than
790 forward declare function bibitemWidest.
792 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
794 * lyx_main.C (init): make it compile on the Mac.
796 2005-01-20 Angus Leeming <leeming@lyx.org>
798 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
799 (setLyXMisc): (char string literal) != (char string literal) is
800 performing a comparison on the addresses. Convert one operand
801 explicitly to string to guarantee expected behaviour.
804 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
807 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
809 * output_plaintext.C: remove unneeded #include gzstream.h.
811 2005-01-20 Angus Leeming <leeming@lyx.org>
813 * SpellBase.h: rename some of the elements of the Result enum.
820 * pspell.C (check): ditto
822 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
824 * buffer.C: add #include <fstream>.
826 * lyx_main.C (init): Compile fix.
828 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
830 2005-01-20 Angus Leeming <leeming@lyx.org>
832 * mover.h: change commentary to reflect the changed meaning of
835 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * output_linuxdoc.C (linuxdocParagraphs): silence warning
839 * lyxfind.C (MatchString::operator()): remove bogus semicolon
841 2005-01-20 Angus Leeming <leeming@lyx.org>
843 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
844 printing diagnostic data by not dereferecing an iterator past the
847 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
849 * buffer.C (readHeader): use "&&" rather than "and".
851 * lyxserver.h (inPipeName, outPipeName): make these const.
853 2005-01-19 Angus Leeming <leeming@lyx.org>
855 * lyx_main.C (error_handler, init): protect SIGHUP with
856 #ifdef SIGHUP guards.
858 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
862 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * text.C (setHeightOfRow): add a margin at the top and bottom of
865 the document (bug 1761)
867 2005-01-17 Angus Leeming <leeming@lyx.org>
869 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
870 with "python ". Workaround for a brain-dead Windows.
872 2005-01-16 Angus Leeming <leeming@lyx.org>
874 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
875 for MacOSX and Windows to use prependEnvPath.
876 Strip out the hard-coded block to add elements to the PATH for
877 MacOSX and replace it with a call to prependEnvPath using the
878 contents of LyXRC::path_prefix.
879 (queryUserLyXDir): strip out the code to run reconfigure, instead
880 returning a boolean indicating the necessity to do so.
881 (reconfigureUserLyXDir): contains the code to reconfigure the
882 user support directory. Is now called after the various LyXRC data
883 files have been read.
885 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
887 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
889 * converter.[Ch] (convert): take a new parameter try_default. Use
890 a default converter (imagemagick) if try_default is true.
892 2005-01-13 Angus Leeming <leeming@lyx.org>
894 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
896 (write): output LyXRC::cygwin_path_fix as necessary.
898 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
901 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
903 2005-01-12 Angus Leeming <leeming@lyx.org>
905 * lyx_main.C (init): set the PATH variable to include the
906 directory containing the LyX binary when running on Mac or Windows.
908 2005-01-12 Angus Leeming <leeming@lyx.org>
910 * lyx_main.C (init): remove cruft that purports to set the locale
911 dir. It doesn't and is not needed anyway.
913 2005-01-10 Angus Leeming <leeming@lyx.org>
915 * Makefile.am: remove the lyx_main.C special casing.
917 * BufferView_pimpl.C:
923 * messages.C: use support/package.h to provide the paths to the
924 various directories used by LyX.
926 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
928 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
929 layout if pasting into an empty paragraph)
931 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
933 * tex-accent.C: add <string>
935 2005-01-06 José Matos <jamatos@lyx.org>
937 * ParagraphParameters.C (write): put every parameter in its own line.
938 * paragraph.C (write): reduce number of consecutive empty lines exported.
939 * buffer.C (LYX_FORMAT): increase file format to 239.
941 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
943 * everywhere: change support/tostr.h -> support/convert.h
945 * tabular.C: make all write_attributes templates, tostr -> convert
947 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
948 (emptyTag): and -> &&, and fix type for ret from getChar
949 (getFirstWord): fix type for ret from getChar
950 (onlyText): and -> &&
951 (simpleDocBookOnePar): and not -> && !, fix type for ret from
954 * toc.C (goTo, action):
955 * text3.C (dispatch):
956 * text.C (currentState):
957 * tex-accent.C (DoAccent):
960 * lyxfunc.C (menuNew):
961 * lyxfinc.C (replace):
962 * counters.C (laberItem):
963 * bufferview_funcs.C (font2string):
964 * bufferparams.C (writeFile):
965 * buffer.C (readFile):
967 * MenuBackend.C: tostr -> convert
969 * LaTeX.C (runMessage): fix format
970 (scanAuxFiles): tostr -> convert
972 * BufferView_pimpl.C (savePosition): fix format
973 (restorePosition): ditto
976 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
978 * Spacing.[Ch]: New method getValueAsString().
982 * ParagraphParameters.C:
985 * text3.C: store/read spacing value as string.
987 * rowpainter.C: change float value (spacing_val) to double.
989 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
990 broken custom document spacing).
992 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
994 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
995 namespace, also more use of temp references and const
997 * cursor.[Ch] (getStatus): move to lyxfunc.C
999 * bufferparams.C: reformat slightly
1001 * bufferview_funcs.C (font2string): constify arg
1007 * buffer_funcs.C: (many funcs): constify arg on function
1008 definitions, also make more local vars const, also add ASSERTS on
1011 * buffer.C (LYX_FORMAT): put const in correct place
1012 (many funcs): constify arg on function definitions, also make
1013 more local vars const
1015 * aspell_local.h: remove "struct" from typdef setup
1017 * aspell.C (check): make word_ok const
1018 (nextMiss): simplify slightly
1021 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1023 * lyxrc.[Ch]: store all float values as strings.
1024 use int (not float) for lyxrc.dpi.
1026 2005-01-04 Angus Leeming <leeming@lyx.org>
1028 * lyx_cb.C (Reconfigure):
1029 * lyx_main.C (queryUserLyXDir):
1030 to run the <system_lyxdir>/configure correctly on Windows, prefix
1031 the path to the script with "sh " when generating the string that
1032 is passed to system().
1034 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1036 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1038 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * lyxlength.C (asLatexString): get rid of setprecision
1042 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1044 * text2.C (setLayout): remove unused variable endpit.
1045 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1047 * paragraph.C (onlyText): remove unused variable style.
1049 * cursor.C (bruteFind): remove unused variables beg and end.
1051 * Makefile.am (dist_noinset_DATA): not needed anymore
1053 * cheaders/*: remove.
1055 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1057 * text3.C: fix LFUN_MATH_MODE.
1059 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1061 * buffer_funcs.C (countWords): new function. Counts words between
1064 * BufferView_pimpl.C (getStatus, dispatch): handle
1067 * LyXAction.C (init):
1068 * lfuns.h: add LFUN_WORDS_COUNT.
1070 2004-12-19 Angus Leeming <leeming@lyx.org>
1072 * buffer.C (save): s/slashify_path/internal_path/.
1074 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1076 * lyxfind.C (findChange): do not search for end of pars, because
1077 the change tracker cannot handle this (fixes bug 1719).
1079 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1081 * paragraph.[Ch] (autoBreakRows): remove
1083 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1085 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1086 avoid using the paragraph one
1088 * text2.C (LyXText, insertStringAsLines): adjust
1090 2004-12-16 Angus Leeming <leeming@lyx.org>
1094 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1096 2004-12-14 Angus Leeming <leeming@lyx.org>
1098 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1100 * bufferlist.C (emergencyWrite):
1101 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1104 2004-12-14 Angus Leeming <leeming@lyx.org>
1106 * main.C: (main): no longer pass pointers to os::init.
1108 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1110 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1111 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1113 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1116 * text3.C: remove selection_possible global flag
1118 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1120 * text2.C (getSelectionSpan): remove
1121 (changeDepth, changeDepthAllowed): adjust
1123 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1125 * Makefile.am (BOOST_LIBS): use boost variables
1127 2004-12-03 José Matos <jamatos@lyx.org>
1129 * buffer.C: format up to 238.
1131 2004-12-03 José Matos <jamatos@lyx.org>
1133 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1135 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1137 * cursor.C (goUpDown): remove call to idxUpDown2
1139 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1141 * tabular.[Ch]: use size_t-like types for cell, row and column
1144 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * lyxfunc.C (getStatus): do not lose previous information when
1147 calling BufferView::getStatus; do not set a default "Command
1148 disabled" message at the beginning, but just before returning.
1150 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1152 * cursor.h (getStatus): add better comment from src/cursor.C
1154 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1156 * text3.C (getStatus): return false when the lfun is not handled
1158 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1160 * broken_headers.h: remove
1162 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1164 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1166 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1167 offset_ref accessors
1169 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1170 top_y_, merge fitcursor with update
1171 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1173 (metrics): introduce
1174 (workAreaDispatch): adapt to new coord scheme
1175 (redoCurrentBuffer): remove
1177 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1179 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1182 * coordcache.[Ch]: add paragraph cache and helpers
1184 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1187 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1188 (targetX, setTargetX): introduce
1190 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1191 baseline -> ascent, as the rest of lyx
1193 * lyxtext.h: remove redoParagraphs, updateParPositions,
1194 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1195 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1196 have ascent/descent (ascent is ascent of first par)
1198 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1201 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1203 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1205 * pariterator.C: fix infinite loop introduced in par->pit renaming
1207 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1208 in insets and LyXText, draw two off-screen paragraphs using
1209 NullPainter, and adapt to new coord scheme
1213 * text3.C: adapt lfun handlers to the new coord scheme, which
1214 means: there's only guaranteed coord information for onscreen pars
1215 plus one above and one below. This implies that one can do search
1216 from y coordinates in the range [-1,workHeight]
1218 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1220 * rename a lot of InsetOld to InsetBase
1222 2004-11-25 Angus Leeming <leeming@lyx.org>
1224 * BufferView_pimpl.C:
1226 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1228 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1231 call BufferView::getStatus if LCursor::getStatus did nothing
1232 (setStatusMessage, getStatusMessage): removed.
1234 * FuncStatus.C (message): new methods. Used to provide an error
1235 message indicating why a command is disabled.
1236 (clear, |=, FuncStatus): update for message.
1238 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1240 * lyxfunc.C (dispatch): always call sendDispatchMessage
1242 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1245 * BufferView_pimpl.C:
1250 * cursor_slice.[Ch]:
1253 * paragraph_funcs.C:
1259 * undo.C: par->pit renaming
1261 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1263 * tabular.C (cellstruct): use initialization, store a shared_ptr
1264 to insettext instead of the insettext directly, adjust to fit.
1265 (operator=): new function
1266 (swap): new function
1267 (rowstruct): use initialization
1268 (columnstruct): use initialization
1269 (ltType): use initialization
1272 * lyxlength.h (swap): new function
1274 * LColor.[Ch] (operator=): use the common semantics
1276 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1278 * lyxfind.C (findNextChange): update the bufferview after setting
1281 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1283 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1284 number of InsetOptArgs has already been inserted.
1286 * output_latex.C (latexOptArgInsets): new method. This outputs all
1287 the optarg insets, up to the limit defined in the layout file.
1288 (optArgInset): removed
1289 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1291 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1293 * paragraph.C (isLetter): remove special spellchecker-related
1294 code; return true also for digits
1295 (isWord, isKomma): remove
1297 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1298 * lyxfind.C (MatchString()): use isLetter instead of isWord
1300 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1302 * pariterator.h (operatir=): comment out un-implemented member
1305 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1308 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1310 * lyxfont.h: include LColor.h to satisfy concept checks.
1312 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1314 * pariterator.h: add typdefs for value_type, difference_type,
1315 pointer and reference to satisfy concept checks. Also add default
1316 constructor for same reason.
1318 * pariterator.C (operator++): add post-increment operator to
1319 satisfy concept checks.
1321 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1324 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1326 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1327 checks. Also rename base_type to BaseType to follow naming
1330 * FloatList.h: include Floating.h to satisfy concept checks.
1332 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1334 * lyxfunc.C (getStatus): when the origin of the request is menu or
1335 toolbar, and the LyXView does not have focus, do as if there was
1336 no buffer (bug 1720)
1338 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1339 FuncRequest to individual entries of LFUN_SEQUENCE
1341 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * output_latex.C (TeXOnePar): override runparams.moving_arg
1344 according to the needprotect value of the current paragraph (bug
1347 * paragraph.C (simpleTeXOnePar): no need to override
1348 runparams.moving_args here
1350 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1352 * vspace.C: fix off-by-one-error, related to fix #1682
1354 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1356 * lengthcommon.C: a more general fix for bug 1682
1358 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1360 * text.C (backspace): fix crash
1362 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1364 * format.[Ch] (getFormatFromFile): new method
1365 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1367 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1369 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1371 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * lyxfunc.C (dispatch): remove the verbose argument
1374 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1377 * kbmap.C (defkey): set the origin of func to KEYBOARD
1379 * MenuBackend.C (MenuItem):
1380 * ToolbarBackend.C (add): set the origin of func to UI
1382 * funcrequest.[Ch]: add origin member, which indicates which part
1383 of LyX requests an action
1385 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1387 * converter.C (move): don't lie in the error message
1388 * converter.h (isReachable, move): document
1390 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1392 * buffer.C: remove unused using lyx::support::atoi
1393 * paragraph_funcs.C: ditto
1395 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1397 * bufferlist.C (exists): use bind and equal_to instead of
1400 * lyxtextclasslist.C (NumberOfClass): ditto
1402 * cursor.C (insert): use for_each instead of explicit for loop
1404 * bufferlist.C (getFileNames): use std::transform and
1405 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1407 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1410 * buffer.C (changeLanguage): use for_each instead of explicit for
1412 (hasParWithID): implement using getParFromID
1414 * LaTeXFeatures.C: ws change only
1416 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1419 * BufferView_pimpl.C (trackChanges): use for_each instead of
1422 2004-11-04 André Pönitz <poenitz@gmx.net>
1425 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1427 * dociterator.C (asDocIterator): use hard assert again.
1429 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * lyxlength.C (asLatexString): rewrite so that it does not use
1434 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * text3.C (specialChar, dispatch): make sure cursor moves to the
1437 right after inserting an inset
1439 2004-11-02 José Matos <jamatos@lyx.org>
1441 * output_docbook.C (docbook):
1442 * paragraph.C (getID):
1443 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1444 garantee that the output is always legal.
1446 * tabular.C (docbook):
1447 * outputprams.[Ch]: remove mixed contents.
1449 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1451 * text2.C (setCounter): prevent endless loop
1453 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1455 * exporter.C (copyFile): use the mover instead of support::copy()
1456 * exporter.C (Export): pass format and latex name to copyFile()
1457 * exporter.h (addExternalFile): document
1458 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1460 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1462 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1464 2004-10-30 José Matos <jamatos@lyx.org>
1466 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1467 text and no inset or font change. This allows to use CDATA
1468 sections just for the whole paragraph.
1470 2004-10-30 José Matos <jamatos@lyx.org>
1472 * paragraph.C (getFirstWord): remove unused variable.
1474 2004-10-30 José Matos <jamatos@lyx.org>
1476 * paragraph.C (getFirstWord): the content should always be escaped
1478 (simpleDocBookOnePar):
1479 * output_docbook.C (makeEnvironment): replace reference to CDATA
1482 2004-10-30 José Matos <jamatos@lyx.org>
1484 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1486 2004-10-30 José Matos <jamatos@lyx.org>
1488 * output_docbook.C (makeParagraphs):
1489 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1490 standard paragraph has only a given type of content drop the wrapper.
1492 2004-10-29 José Matos <jamatos@lyx.org>
1494 * output_docbook.C (makeEnvironment):
1496 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1498 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1500 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1501 (cleanID): sanitize any id.
1503 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1505 * buffer.C, lyxlex_pimpl.C:
1506 * lyxlex_pimpl.C (setFile):
1507 s/getExtFromContents/getFormatFromContents/
1509 2004-10-28 José Matos <jamatos@lyx.org>
1511 * output_docbook.C (makeEnvironment): move id to broadest possible
1514 * sgml.C (openTag): apply substitution of <> for all attributes.
1516 2004-10-28 José Matos <jamatos@lyx.org>
1518 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1519 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1520 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1522 * sgml.[Ch]: new version for open and closeTag for paragraph and
1523 for strings. Now they handle the ids of paragraphs.
1525 2004-10-26 Angus Leeming <leeming@lyx.org>
1527 * Makefile.am: add mover.[Ch].
1529 * converter.C (convert, move): use the new Movers to move external
1530 files to the temp directory.
1532 * lyx_main.C (init): ensure that the global system_movers data
1535 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1538 * mover.[Ch]: new files, defining a Mover as a utility to move an
1539 external file between directories and, if necessary, manipulate this
1540 file using a helper script.
1542 2004-10-25 José Matos <jamatos@lyx.org>
1544 * output_docbook.C (makeCommand): merge two if's that tested the
1547 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1549 * sgml.C (escapeString): fix warning in a better way
1551 2004-10-25 José Matos <jamatos@lyx.org>
1553 * sgml.C (escapeString): import the require boosts header file for
1554 tie, and avoid a signed unsigned comparison.
1556 2004-10-25 José Matos <jamatos@lyx.org>
1558 * sgml.h: add #include <string>
1560 2004-10-25 José Matos <jamatos@lyx.org>
1562 * sgml.[Ch] (escapeString): new function to escape all the string.
1564 2004-10-24 José Matos <jamatos@lyx.org>
1566 * paragraph.[Ch] (getFirstWord): new function to get the first
1567 word. Useful for description.
1568 (simpleDocBookOnePar): remove depth argument, add another that
1569 says where to start the paragraph.
1571 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1572 use the new functions to fix cleanly the support for descriptions.
1574 2004-10-24 José Matos <jamatos@lyx.org>
1576 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1577 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1578 * output_linuxdoc.C (linuxdocParagraphs):
1579 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1580 add buffer as argument.
1582 2004-10-24 José Matos <jamatos@lyx.org>
1584 * output_docbook.C (makeEnvironment, searchEnvironment): place
1585 CDATA inside paragraphs and fix scope for listitems.
1587 2004-10-24 José Matos <jamatos@lyx.org>
1589 * output_docbook.C: remove using statement for stack.
1591 2004-10-23 José Matos <jamatos@lyx.org>
1593 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1594 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1595 docbook. The new scheme is recursive and makes use of iterators, the
1596 same as latex export works.
1597 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1598 directly with the paragraph contents. This code was moved up to
1599 output_docbook.C (docbookParagraphs).
1600 * sgml.C (openTag, closeTag): removed unneeded newlines.
1601 (closeEnvTags) removed.
1603 2004-10-23 André Pönitz <poenitz@gmx.net>
1605 * undo.C (textUndoOrRedo):
1606 * dociterator.C (asDocIterator): work around crash
1608 * cursor.C (getStatus): replace ASSERT by more verbose error message
1609 and manual correction of the problem. Should increase stability
1610 while providing more sensible information.
1612 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1616 * bufferlist.C (previous, next): new methods
1619 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1621 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1623 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1624 entities to preamble.
1626 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1628 * messages.C (Pimpl): strip off translation context information
1630 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1632 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1633 the cursor is correct (bug 1694)
1635 2004-10-13 José Matos <jamatos@lyx.org>
1637 * output_docbook.C (docbookParagraphs): fix closing tags in the
1638 end of the document.
1640 2004-10-09 José Matos <jamatos@lyx.org>
1642 * buffer.C: format up to 237.
1643 * bufferparams.C (write): use tostr to convert booleans to strings.
1645 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1647 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1649 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1651 * LaTeX.C: implement use of babel language in xindy.
1653 2004-10-05 José Matos <jamatos@lyx.org>
1655 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1656 Add new translators to help reading and writing the lyx file.
1658 2004-10-05 José Matos <jamatos@lyx.org>
1660 * ParagraphParameters.C (read):
1661 * text.C (readParToken): replace nexToken by more appropriate lex
1664 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1666 * LaTeX.C (runMakeIndex):
1667 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1668 (usually 'makeindex') configurable.
1670 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1671 with a variable rather than with a number.
1673 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1675 * output_latex.C (TeXOnePar): make sure font setting is the first
1676 thing that gets output (and the last at the end). Should fix bug
1679 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1681 * pch.h: use proper signal include
1683 * LaTeX.h: Use preferred calling of Boost.Signal
1686 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1688 * pch.h: dont include <boost/function/function0.hpp>
1690 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1692 * paragraph_pimpl.h: remove usage of ShareContainer
1694 * paragraph_pimpl.C: remove initialization of ShareContainer.
1696 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1700 * BufferView.C (putSelectionAt): change the semantics when
1701 backwards == true: now, this just swaps cursor and anchor wrt the
1704 * BufferView.h (putSelectionAt): add some documentation
1706 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1707 make sure backwardChar is done at least once (to avoid getting
1709 (findNextChange): use putSelectionAt in the forward direction
1710 (operator()): use Paragraph::isWord
1712 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1714 * Spacing.C (set): c_str fix
1716 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1718 * lyx_cb.C (Reconfigure): quote the name of configure script in
1719 case it contains spaces
1721 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1725 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1726 (BOOST_LIBS): use top_buildir when looking for the file
1728 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1730 * pch.h: do not use include boost/format.hpp, multiple symbols
1731 will result (gcc bug)
1734 2004-08-23 José Matos <jamatos@lyx.org>
1736 * bufferparams.C (readToken): fix reading of the author field.
1738 2004-08-20 José Matos <jamatos@lyx.org>
1740 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1742 2004-08-20 José Matos <jamatos@lyx.org>
1744 * lyxlex.[Ch] (findToken): remove function.
1746 * ParagraphParameters.C (findToken):
1747 * bufferparams.C (findToken): replace call for previous function
1748 with local copy. This local function has one more argument, the
1749 read string argument.
1751 2004-08-16 José Matos <jamatos@lyx.org>
1753 * ParagraphParameters.C (write):
1754 * Spacing.C (writeFile):
1755 * bufferparams.C (writeLaTeX):
1756 * lyx_cb.C (Reconfigure):
1757 * paragraph.C (write):
1758 * tabular.C (write): remove unnecessary space at end of line.
1761 2004-08-16 José Matos <jamatos@lyx.org>
1763 * text.C (readParagraph): remove debug message.
1765 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1767 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1770 * output_plaintext.C (asciiParagraph): set depth correctly
1772 * outputparams.h: add member depth
1774 * paragraph_funcs.C (ownerPar): remove.
1776 * text2.C (setCounter): remove first_pit; comment out some
1777 non-working code that uses ownerPar
1779 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1782 2004-08-16 José Matos <jamatos@lyx.org>
1784 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1785 For the same level of importance use the same chanel to report problems.
1786 (read): add code to deal with \begin_body and \end_body.
1789 2004-08-15 José Matos <jamatos@lyx.org>
1791 * lyxlex.C (getString): fix comment, buffer::readBody is now
1792 buffer:readDocument.
1794 * tex-strings.C (string_papersize): Default -> default,
1795 Custom -> custom, for consistency with other options.
1797 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1801 * Makefile.am: support pch
1803 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1805 * text.C (readParToken): remove the static LyXFont variable and
1806 pass it as a parameter instead. This fixes a nasty bug where an
1807 inset will be inserted with a bad font in some situations
1808 (readParagraph): adapt
1810 * text2.C (setCounter): reduce number of calls to pars_[pit]
1812 * text.C (singleWidth): add an assert, fix a test
1814 * rowpainter.C (paintText): reduce number of calls to singleWidth
1816 * paragraph.C (isHfill):
1817 (isNewline): ws only
1819 2004-08-14 André Pönitz <poenitz@gmx.net>
1824 * lyxtext.h (several functions): use a Paragraph & argument
1827 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1829 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1831 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1833 * text.C (singleWidth): remove useless test
1835 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1837 * tabular.h: remove bogus comments
1839 * tabular.C (getDescentOfRow):
1840 (isPartOfMultiColumn): add assertions
1842 * lyxlength.C (inPixels): remove #warning
1844 2004-08-14 André Pönitz <poenitz@gmx.net>
1846 * paragraph.h: inline getChar()
1848 * BufferView.h: remove unused declarations
1850 2004-08-14 José Matos <jamatos@lyx.org>
1852 * Buffer.[Ch] (readDocument): new name for old readBody.
1853 * Buffer.C: new file format, new keywords: \begin_document,
1854 \begin_header, \begin_body, \end_body.
1856 * bufferparams.C (readToken): replace all calls to lex.nextToken
1857 by lex.next(). Do the same to eatLine except where really needed.
1859 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1860 line when writing to the lyx file.
1862 * output_plaintext.C (asciiParagraph): fix Bibliography style
1865 * text.C (read): fix end of file handling.
1867 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 * MenuBackend.C (Menu::operator[]): new method to access
1870 individual menu items
1871 (Menu::hasFunc): new method. search for an item that corresponds
1873 (MenuBackend::specialMenu): new method
1874 (MenuBackend::expand): if a special menu has been set, skip
1875 entries whose func() appears in this menu
1877 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1879 * text3.C: use Debug::DEBUG a bit more
1881 * text.C (leftMargin): try to simplify a tiny bit change var x to
1882 l_margin. Dont output the wide margins always.
1883 (rightMargin): no margin in inner texts
1885 * rowpainter.h (nestMargin): new func
1886 (changebarMargin): new func
1887 (rightMargin): new func
1889 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1893 * factory.C (createInset): modify setDrawFrame
1895 * cursor.C: use Debug::DEBUG a bit more
1897 2004-08-14 André Pönitz <poenitz@gmx.net>
1900 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1901 cache for all insets in (at least partially) visible (top-level)
1904 * BufferView_pimpl.C: reset external coord cache before every update.
1905 This means the coord cache only contains valid entries.
1907 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1910 * BufferView_pimpl.C (getInsetByCode): move function out of class
1911 and change in to a template in anon namespace. Also fix to do what
1914 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1917 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1919 (breakParagraph): rename par to par_offset and use a local
1920 reference. Add code to keep the language over a rebreak.
1921 (breakParagraphConservative): rename par to par_offset, use a
1923 (mergeParagraph): ditto
1925 (isFirstInSequence): ditto
1926 (outerFont): rename pit to par_offset
1928 * paragraph.C: ws change
1929 * paragraph.h: ditto
1933 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1935 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1938 * paragraph.C (simpleTeXOnePar): when we have a \item with
1939 optional argument, enclose the argument with curly brackets (in
1940 case it contains a closing square bracket)
1944 * text3.C (checkInsetHit): constify
1946 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1948 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1949 documents (bug 1629)
1951 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1953 Fix toggling of collapsable insets with the mouse (bug 1558)
1955 * lyxfunc.C (dispatch): adapt to LCursor changes
1957 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1958 make sure that dispatch is not invoked twice
1960 * cursor.C (needsUpdate): new method
1961 (dispatch): return void
1962 (result): new method, to access the DispatchResult of the cursor.
1964 2004-08-13 José Matos <jamatos@lyx.org>
1966 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1968 2004-08-13 André Pönitz <poenitz@gmx.net>
1970 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1972 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1975 2004-08-12 André Pönitz <poenitz@gmx.net>
1977 * text3.C: take out the 'cursor right' form insertInset and only
1978 do it in those places when it is really needed. Fixes crash on
1981 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1983 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1985 * BufferView_pimpl.C (setBuffer): initialize the current font of
1986 the underlying LyXText
1988 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1990 * kbsequence.C (print): use UI native formatting for menu
1993 * text.C (insertChar): call Paragraph::insertChar with a font
1996 * paragraph.C (insertInset, insertChar): the version that takes a
1997 LyXFont argument is now a wrapper around the other one (the
1998 opposite used to be true).
2000 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2001 argument. Font setting is done in Paragraph now.
2003 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2005 * outputparams.h: add new members intitle and lang.
2007 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2008 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2010 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2012 * text3.C (dispatch): remove special handling of button 4 and 5,
2013 it is now taken care of in the frontend code.
2015 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2017 * Spacing.h: add <string> (STLPort compile fix)
2019 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2021 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2023 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2025 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2028 * converter.C (showMessage): inherit from unary_function, make
2031 * buffer.C (writeFile): initialize retval
2033 * InsetList.h: rename private variable list to list_
2034 * InsetList.[Ch]: adjust accordingly.
2036 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2038 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2039 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2040 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2041 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2042 * ParagraphParameters.C, LaTeXFeatures.C: replace
2043 "support/std_sstream.h" with <sstream>
2045 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2047 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2048 * lyxsocket.C (LyXServerSocket): ditto
2049 (serverCallback): ditto
2051 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2053 * LaTeXFeatures.C: check release date when loading jurabib.
2055 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2057 * lyxserver.C (startPipe): call register_socket_callback
2058 (endPipe): call unregister_socket_callback
2060 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2062 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2063 (LyXServerSocket): register the callback
2064 (LyXServerSocket): unregister the callback
2065 (fd): delete function
2066 (serverCallback): improve error checking and setup the callbacks.
2067 (dataCallback): change arg to fd.
2068 (writeln): new func (copied fro the client socket) used for server
2070 (LyXDataSocket): simplify
2071 (~LyXDataSocket): close ann unregiser callback
2072 (server): delete function
2073 (fd): delete function
2074 (readln): small changes, improve some std::string usage
2075 (writeln): constify a bit
2077 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2079 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2082 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2085 after it has been populated
2087 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2089 * text2.C (insertInset): move cursor when inserting inset.
2091 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * kbmap.C (findbindings): a couple of new methods. returns a
2094 container of kb_sequence objects. The real work is done by the
2095 private recursive version
2096 (printbindings): uses findbindings to print out a bracketed list
2097 of bindings (renamed from findbinding).
2099 * MenuBackend.C (binding): use kb_keymap::findbindings
2101 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2103 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2105 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2107 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2109 * paragraph.C (isWord): return true on insets that report
2112 * text.C (getWord): use Paragraph::isWord to decide what is in a
2113 word and what is not; fix bug 1609.
2115 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2117 * tex-strings.C: add "none" to string_paperpackages[], fixes
2118 off-by-one-error in the paperpackage selection.
2121 * tex-strings.[Ch]: char const * string[n]
2122 -> char const * const string[]
2124 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2126 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2127 command, return early.
2129 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2131 * debug.h: add DEBUG to enum and fix size of ANY.
2133 * debug.C: add support for Debug::DEBUG
2134 (showTags): cast errorTags.level to unsigned int
2136 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2137 (redoCurrentBuffer): ditto
2138 (updateScrollbar): ditto
2139 * cursor.C (dispatch): ditto
2140 * text2.C (setLayout): ditto
2142 (updateCounters): ditto
2144 (deleteEmptyParagraphMechanism): ditto
2146 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2148 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2149 annotations to cleanup the Makefile slightly.
2151 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * lyxrc.C: do not set user_email to a default value but use empty
2154 instead. The entry used to be translated, which does not work
2155 since at the point where lyxrc is constructed there is no
2156 translation service available
2158 * messages.C (getLocaleDir): remove and use directly
2159 lyx_localedir() instead
2161 2004-06-02 Angus Leeming <leeming@lyx.org>
2163 Fix crash caused by dereferencing null pointer 'exportdata' in
2164 OutputParams by creating a new ExportData variable on the heap,
2165 storing it in a boost::shared_ptr.
2166 The crash was triggered when generating an Instant Preview
2167 of an external inset.
2169 * Makefile.am: add outputparams.C
2171 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2172 (c-tor): allocate memory to it.
2174 * exporter.C (c-tor): associated changes.
2176 2004-06-01 Angus Leeming <leeming@lyx.org>
2178 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2179 contains data before calling isInset(0). (Bug 1513.)
2181 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2183 * exporter.C (checkOverwrite): new method
2184 * exporter.C (copyFile): new method
2185 * exporter.C (Export): copy referenced files to the document dir
2186 * exporter.[Ch]: new class ExportedFile
2187 * exporter.[Ch]: new class ExportData. Contains currently the
2188 names of referenced external files
2189 * outputparams.h: add exportdata member.
2191 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2193 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2196 2004-05-19 Angus Leeming <leeming@lyx.org>
2201 * lyxfunc.C: small changes due to the introduction of namespace
2202 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2204 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2206 * text3.C (dispatch): supress update when only moving the cursor
2207 * cursor.C (selHandle): remove commented code
2209 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2211 * paragraph.C (startTeXParParams): correct column count
2212 * CutAndPaste.C (pasteSelection): remove const_cast
2213 * output_docbook.C (docbookParagraphs): remove const_cast
2214 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2215 const_cast and return ParagraphList::const_iterator
2216 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2217 * output_plaintext.C (writeFileAscii): remove const_cast
2218 * paragraph.[Ch] (simpleTeXOnePar): make const
2219 * paragraph_funcs.C (outerPar): use const iterators
2220 * paragraph_pimpl.C (validate): use const iterators
2221 * text.C (setHeightOfRow): use const iterators
2223 2004-05-17 Angus Leeming <leeming@lyx.org>
2226 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2228 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2229 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2230 if the citation engine has changed.
2232 2004-05-14 José Matos <jamatos@lyx.org>
2234 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2235 if the textclass does not provide it. Have it different for sgml and
2237 support the language of document.
2238 * output_docbook.C (docbookParagraphs):
2239 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2240 first anchor as the id of the paragraph, remove special case code.
2241 * sgml.C (escapeChar): escape only < & >.
2243 2004-05-14 Angus Leeming <leeming@lyx.org>
2245 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2246 dependencies on src/frontends/controllers/biblio.h. Define a
2247 CiteEngine_enum wrapper class to enable the enum to be forward
2250 2004-05-12 Angus Leeming <leeming@lyx.org>
2252 * buffer.C: up LYX_FORMAT to 234.
2253 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2254 use_numerical_citations with a single biblio::CiteEngine cite_engine
2256 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2258 2004-05-13 José Matos <jamatos@lyx.org>
2261 * converter.C (Converter, readFlags): add xml member.
2262 * outputparams.h: add XML flavor.
2263 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2265 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2267 * lyxfunc.C (dispatch):
2268 (getStatus): fix handling of LFUN_SEQUENCE
2270 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2272 * debug.C (showLevel): do not forget the end-of-line marker
2274 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2276 * kbmap.C (read): do not stop parsing a bind file when an error
2279 2004-04-29 Angus Leeming <leeming@lyx.org>
2284 * text2.C: wrap a bunch of #warning statements
2285 inside #ifdef WITH_WARNINGS blocks.
2287 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2289 * buffer.C: increment format to 233.
2291 2004-04-28 Angus Leeming <leeming@lyx.org>
2293 * BufferView_pimpl.C:
2296 s/updateToolbar()/updateToolbars()/
2297 s/Toolbar.h/Toolbars.h/
2299 2004-04-28 Angus Leeming <leeming@lyx.org>
2301 * BufferView.[Ch] (c-tor):
2302 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2303 No longer passes these data to the WorkArea generator.
2305 2004-04-28 Angus Leeming <leeming@lyx.org>
2307 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2309 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2311 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2313 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2315 * output_latex.C (TeXEnvironment): make sure that there is a line
2316 break before \end{foo} for the last paragraph of a document
2317 (TeXOnePar): if the paragraph is at the end of the document (or
2318 inset) and the language has to be reset, then make sure that the
2319 line break is _before_ the language command, not after (fixes bug
2320 1225); also make sure that the language reset command is the first
2321 thing after the paragraph (to ensure proper nesting of
2322 environments and thus fix bug 1404)
2324 2004-04-21 John Levon <levon@movementarian.org>
2327 * ToolbarBackend.C: make "name" be a programmatic name
2328 and a gui_name field.
2330 * lyxfunc.C: display the minibuffer on M-x
2332 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2334 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2337 2004-04-19 Angus Leeming <leeming@lyx.org>
2339 * BufferView_pimpl.C (setBuffer): changed preview interface.
2341 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2344 2004-04-19 John Levon <levon@movementarian.org>
2346 * BufferView_pimpl.C:
2347 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2349 2004-04-05 Angus Leeming <leeming@lyx.org>
2351 * text.C (redoParagraphs): add call to updateCounters(), thereby
2352 fixing the missing "Figure #:" label from the caption of a
2355 2004-04-13 Angus Leeming <leeming@lyx.org>
2357 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2358 cursor is clicked out of an inset.
2360 2004-04-13 Angus Leeming <leeming@lyx.org>
2362 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2363 than an InsetOld one.
2365 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2367 * format.[Ch]: add editor to Format
2368 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2369 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2371 2004-04-08 André Pönitz <poenitz@gmx.net>
2373 * metricsinfo.h: remove PainterInfo::width member
2375 2004-04-08 Angus Leeming <leeming@lyx.org>
2377 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2378 "\providecommand" rather than "\newcommand", thereby preventing
2379 clashes with packages that define "\boldsymbol" themselves.
2382 2004-04-08 Angus Leeming <leeming@lyx.org>
2384 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2385 thereby squashing an unnecessary warning.
2387 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2389 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2392 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2394 * BufferView.C (setCursor): call redoParagraph (some insets could
2396 (putSelectionAt): remove the 'double update' trick
2398 * BufferView_pimpl.C (fitCursor): call refreshPar
2399 (workAreaDispatch): remove an uneeded update call
2400 (dispatch): remove some manual update calls
2402 * cursor.[Ch]: remove cached_y_, updatePos
2403 (selHandle): set noUpdate when appropriate
2405 * lyxfunc.C (dispatch): track if we need an update
2407 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2409 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2410 (paintSelection): cheap optimization, do not call cursorX when not
2412 (paintPars): change signature
2415 (paintTextInset): adjust
2419 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2421 * lengthcommon.C: compilation fix: remove explicit array size from
2422 unit_name[] and friends
2424 2004-04-05 Angus Leeming <leeming@lyx.org>
2426 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2428 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2429 present only for the preferences dialog.
2430 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2432 2004-04-05 Angus Leeming <leeming@lyx.org>
2434 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2435 to enable the frontends to export changes to lyxrc correctly.
2437 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2439 2004-04-07 André Pönitz <poenitz@gmx.net>
2441 * cursor.[Ch] (selClear, adjust): remove math
2443 * cursor_slice.C: more agressive assert
2446 * BufferView_pimpl.C: rework mouse event dispatch
2453 2004-04-05 André Pönitz <poenitz@gmx.net>
2455 * cursor.[Ch] (valign, halign...): remove unneeded functions
2457 2004-04-05 Angus Leeming <leeming@lyx.org>
2459 * lyxlength.[Ch] (unit_name et al.): const-correct.
2461 2004-04-05 Angus Leeming <leeming@lyx.org>
2463 * BufferView_pimpl.C:
2472 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2474 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2476 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2478 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2480 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2481 * BufferView_pimpl.[Ch] (getStatus)
2482 * BufferView.[Ch] (getStatus): add
2483 * lyxfunc.C (getStatus): move lfuns handled in
2484 BufferView::dispatch to te function above
2485 * Cursor.C (setSelection): set selection() = true
2487 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2489 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2491 2004-03-31 Angus Leeming <leeming@lyx.org>
2493 * lyxfunc.C (dispatch): Fall through to the generic
2494 Dialogs::show("preamble").
2496 2004-03-31 Angus Leeming <leeming@lyx.org>
2498 * lyxfunc.C (dispatch): Fall through to the generic
2499 Dialogs::show("spellchecker").
2501 2004-03-31 Angus Leeming <leeming@lyx.org>
2503 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2506 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2511 * insetiterator.[Ch]:
2516 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2518 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2520 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2521 insets where we are putting the cursor.
2523 2004-03-31 Angus Leeming <leeming@lyx.org>
2526 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2528 * lyxrc.[Ch] (read, write): overloaded member functions taking
2529 a std::[io]stream arguments.
2531 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2533 2004-03-31 Angus Leeming <leeming@lyx.org>
2535 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2536 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2538 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2539 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2541 2004-03-31 Angus Leeming <leeming@lyx.org>
2543 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2544 the LFUN_ALL_INSETS_TOGGLE code.
2546 2004-03-30 Angus Leeming <leeming@lyx.org>
2548 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2549 has died. Fall through to the generic Dialogs::show("document").
2551 2004-03-30 Angus Leeming <leeming@lyx.org>
2554 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2555 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2557 * lyxfunc.C (getStatus, dispatch): define the actions for these
2558 lfuns. Little more than a cut and pste job from ControlDocument.C
2560 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2562 2004-03-30 Angus Leeming <leeming@lyx.org>
2565 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2566 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2568 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2569 open/closed state of ollapsable insets. Usage:
2571 all-inset-toggle <state> <name>, where
2572 <state> == "open" || "closed" || "toggle" and
2573 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2575 * lyxtext.h, text2.C (toggleInset): removed.
2577 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2578 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2579 now passes LFUN_INSET_TOGGLE to the found inset.
2581 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2582 is now invoked as "all-insets-toggle toggle branch".
2584 2004-03-30 Angus Leeming <leeming@lyx.org>
2588 * pariterator.[Ch]: added/corrected header blurb.
2590 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2592 * dociterator.[Ch]: add an inset_ member
2593 (backwardPos): implemented
2594 (backwardPos, forwardPos): use inset_ when the stack is empty.
2595 (doc_iterator_begin, doc_iterator_end): implemented
2596 * pariterator.[Ch]: adjust, add begin, end
2597 * insetiterator.[Ch]: adjust, add begin, end
2601 * BufferView_pimpl.C:
2602 * CutAndPaste.C: adjust
2604 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2606 * buffer.C: increment file format to 232.
2607 * LaTeXFeatures.C: add bibtopic package.
2608 * bufferparams.[Ch]: param \use_bibtopic.
2610 * lyxrc.[Ch]: add lyxrc bibtex_command
2611 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2613 * buffer.C: increment file format to 231.
2615 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2617 * dociterator.C: implement forwardPar
2618 * iterators.[Ch]: remove, replaced by
2619 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2621 * BufferView_pimpl.C:
2624 * bufferview_funcs.C:
2630 * Makefile.am: adjust
2632 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2634 * CutAndPaste.C (pasteSelection): fix 2 crashes
2635 (eraseSelection): fix a crash
2636 * paragraph_funcs.C: remove a warning
2638 2004-03-28 Angus Leeming <leeming@lyx.org>
2641 * LyXAction.C (init): new LFUN_PRINT.
2643 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2645 2004-03-27 Angus Leeming <leeming@lyx.org>
2648 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2650 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2652 2004-03-27 Angus Leeming <leeming@lyx.org>
2654 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2655 insetlist always contains non-null pointers to insets.
2657 2004-03-26 Angus Leeming <leeming@lyx.org>
2659 * src/BufferView_pimpl.C:
2660 * src/CutAndPaste.C:
2663 * src/output_plaintext.C:
2664 * src/outputparams.h:
2665 * src/paragraph_funcs.C:
2669 * src/frontends/controllers/ControlErrorList.C:
2670 * src/frontends/gtk/FileDialogPrivate.C:
2671 * src/frontends/gtk/GPainter.C:
2672 * src/frontends/gtk/GToolbar.C:
2673 * src/frontends/qt2/QRef.C:
2674 * src/mathed/math_scriptinset.C: squash compiler warnings.
2676 2004-03-26 Angus Leeming <leeming@lyx.org>
2678 * ispell.C (LaunchIspell::start):
2679 * lyx_cb.C (AutoSaveBuffer::start):
2680 invoke run(DontWait) rather than runNonBlocking().
2682 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2684 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2686 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2688 * kbsequence.C (print): adjust
2690 * kbmap.C (printKeySym): rename and change signature
2691 (printKey): use LyXKeySym::print()
2693 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2695 * undo.C: add using std::advance to compile for stlport
2697 2004-03-24 Angus Leeming <leeming@lyx.org>
2699 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2700 it leads to a crash when no buffer is present.
2702 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2703 Martin Vermeer <martin.vermeer@hut.fi>
2705 * lyxfunc.C (dispatch):
2706 * bufferparams.C (readToken): use the new LColor::setColor
2708 * LColor.[Ch] (setColor): new version that takes two strings as
2709 argument and creates a new color entry if necessary
2711 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2713 * buffer.C (makeLaTeXFile): if the main latex file that is
2714 processed is usually a subdocument of some master, then pretend
2715 for a while that it is actually the master
2717 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2719 * buffer.C (getLabelList):
2720 (getBibkeyList): use getMasterBuffer()
2721 (getMasterBuffer): new method. Returns the main document in the
2722 case where one is using included documents.
2724 2004-03-25 André Pönitz <poenitz@gmx.net>
2728 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2730 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2732 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2733 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2735 * ParameterStruct.h: merge with ParagraphParameters
2737 * lyxtext.h: remove LyXText::parOffset() and getPar()
2739 * text3.C: Remove all 'manual' update calls. We do now one per user
2740 interaction which is completely sufficient.
2744 * BufferView_pimpl.C:
2745 * FontIterator.[Ch]:
2747 * ParagraphParameters.[Ch]:
2752 * cursor_slice.[Ch]:
2759 * output_docbook.[Ch]:
2760 * output_latex.[Ch]:
2761 * output_linuxdoc.[Ch]:
2762 * output_plaintext.[Ch]:
2764 * paragraph_funcs.[Ch]:
2765 * paragraph_pimpl.[Ch]:
2773 * frontends/controllers/ControlDocument.C:
2774 * frontends/controllers/ControlErrorList.C:
2775 * frontends/controllers/ControlSpellchecker.C:
2778 * insets/insetbase.h:
2779 * insets/insetbibitem.C:
2780 * insets/insetbox.C:
2781 * insets/insetbranch.C:
2782 * insets/insetcaption.C:
2783 * insets/insetcharstyle.C:
2784 * insets/insetcharstyle.h:
2785 * insets/insetcollapsable.C:
2786 * insets/insetcollapsable.h:
2787 * insets/insetert.C:
2788 * insets/insetfloat.C:
2789 * insets/insetfoot.C:
2790 * insets/insetmarginal.C:
2791 * insets/insetnote.C:
2792 * insets/insetoptarg.C:
2793 * insets/insettabular.C:
2794 * insets/insettext.C:
2795 * insets/insettext.h:
2796 * insets/insetwrap.C:
2797 * mathed/math_mboxinset.C:
2798 * mathed/math_nestinset.C:
2799 * mathed/math_scriptinset.C:
2800 * mathed/math_scriptinset.h:
2803 2004-03-24 Angus Leeming <leeming@lyx.org>
2805 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2806 deal with any child processes that have finished but are waiting to
2807 communicate this fact to the rest of LyX.
2809 2004-03-24 Angus Leeming <leeming@lyx.org>
2811 64-bit compile fixes.
2813 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2814 (c-tor): pass lyx::pos_types rather than ints.
2816 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2819 * text.C (Delete): compile fix.
2820 (getPar): ensure that function declaration is the same as that in
2823 2004-03-23 Angus Leeming <leeming@lyx.org>
2825 * ispell.C (LaunchIspell):
2826 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2827 a boost::shred_ptr rather than a std::auto_ptr.
2829 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2831 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2832 handle LFUN_FILE_INSERT_*
2834 * lyxrc.C (setDefaults, getDescription, output, read):
2835 * lyxrc.h: remove ps_command
2837 2004-03-22 Angus Leeming <leeming@lyx.org>
2839 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2840 Ensure that error_handler is processed once only and that all data
2841 is saved before attempting to output any warning messages.
2843 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2845 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2847 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2849 2004-03-19 André Pönitz <poenitz@gmx.net>
2851 * cursor.[Ch] (reset): take main text inset as argument
2853 * BufferView: adjust
2854 * BufferView_pimpl.C: adjust
2856 * paragraph.[Ch]: fix completely broken operator=()
2858 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2860 * LColor.C (getFromLyXName): make sure that the color name is used
2863 2004-03-17 Angus Leeming <leeming@lyx.org>
2866 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2868 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2869 dialog and to kill a forked process.
2871 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2873 * text2.C (setCursorFromCoordinates): fix font problem
2875 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2877 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2878 bogus "rebuild cursor" code
2880 2004-03-11 André Pönitz <poenitz@gmx.net>
2882 * buffer.[Ch]: use InsetText instead of LyXText as container for
2885 * dociterator.[Ch]: drop the BufferView * member which is not needed
2886 anymore after the change to buffer.C
2888 * paragraph_funcs.C:
2892 * BufferView_pimpl.[Ch]:
2894 * cursor_slice.[Ch]: adjust
2896 * text3.C: fix bug in mathDispatch
2898 2004-03-08 André Pönitz <poenitz@gmx.net>
2900 * undo.[Ch]: use 'StableDocumentIterator' as base for
2903 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2906 * bufferparams.[Ch]: add jurabib support and param.
2908 * LaTeX.C: add FIXME/comment.
2910 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2912 * buffer.C: increment file format to 230.
2914 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2916 * cursor.C (dispatch): avoid infinite loops
2918 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2920 * rowpainter.C (paintSelection): fix x coordinates
2922 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2924 * text.C (rowBreakPoint): fix breaking before displayed insets
2926 2004-03-01 André Pönitz <poenitz@gmx.net>
2928 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2930 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2934 * BufferView_pimpl.C:
2942 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2948 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2949 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2951 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2953 * Bidi.[Ch] (computeTables): const correctness
2954 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2955 fill_hfill, fill_label_hfill and x from Row
2956 * lyxtext.h: prepareToPrint returns a RowMetrics
2957 * rowPainter.C: adjust
2958 * text.C (prepareToPrint): use width, not textWidth. adjust
2959 (redoParagraphInternal, cursorX): adjust
2960 * text2.C (getColumnNearX): adjust
2961 (init): put a default value to the top LyXText::width
2963 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2965 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2967 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2969 * lyxtext.h: add FontIterator class
2971 * text.C (FontIterator, operator*, operator->, operator++): add
2972 (rowBreakPoint, setRowWidth): adjust (fixing a
2975 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2977 * BufferView_pimpl.C (workAreaDispatch): allow also
2978 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2980 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2982 * text.C (rowBreakPoint): fix a bug showing with very large insets
2984 2004-02-25 André Pönitz <poenitz@gmx.net>
2987 * cursor.[Ch]: move some mathed specific code to mathed
2989 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2991 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2992 use_tempdir in preferences
2993 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2995 * lyx_main.C: ensure that tempdir is valid
2996 * lyxlex.h: correct typo
2997 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2998 * paragraph.[Ch] (isMultiLingual): make const
2999 * cursor.[Ch] (openable): make const
3001 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3003 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3005 2004-02-20 André Pönitz <poenitz@gmx.net>
3007 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3009 * cursor.[Ch]: prepare for localized getStatus()
3015 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3017 2004-02-20 André Pönitz <poenitz@gmx.net>
3019 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3021 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3023 * text2.C (setCursorFromCoordinates): switch to absolute coords
3025 (cursorDown): adjust
3026 * text3.C (dispatch): adjust
3028 2004-02-16 André Pönitz <poenitz@gmx.net>
3030 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3033 * cursor_slice.[Ch]: remove unneeded acessor function
3035 * lyxtext.h: rename rtl() to isRTL()
3043 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3045 * rowpainter.C (paintSelection): coord fix
3047 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3049 * Spacing.C: compile fix
3051 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3053 * cursor.C (dispatch): restore current_ before returning
3055 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3057 * text2.C (cursorUp, cursorDown): fix coords
3060 2004-02-12 André Pönitz <poenitz@gmx.net>
3065 * text3.C: add LCursor & parameter to most cursor movement functions
3066 remove usage of LyXText::cursorRow() and cursorPar()
3068 * cursor.[Ch]: add textRow() needed members
3071 * BufferView_pimpl.C:
3074 * BufferView_pimpl.C: adjust
3076 2004-02-11 André Pönitz <poenitz@gmx.net>
3080 * BufferView_pimpl.C: shift undo/redo handling
3082 * cursor.[Ch]: fix mathed crash
3085 * lyxtext.h: move selectionAsText to LCursor
3093 * rowpainter.C: fix excessive drawing
3095 2004-02-06 André Pönitz <poenitz@gmx.net>
3098 * BufferView_pimpl.[Ch]:
3099 * text3.C: move some text specific LFUN handling
3101 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3103 * text3.C (checkInsetHit): adjust coords
3104 * text2.C (getColumnNearX): adjust coords
3105 (edit): adjust coords
3106 * text.C (getRowNearY): add two asserts
3108 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3111 * format.C: add using std::distance to compile on gcc 2.95/stlport
3113 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3115 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3117 2004-02-04 André Pönitz <poenitz@gmx.net>
3119 * BufferView.[Ch] (insertInset):
3120 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3125 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3127 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3128 on the default clause of the switch
3129 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3130 wasn't catched by LCursor::dispatch
3132 2004-02-03 André Pönitz <poenitz@gmx.net>
3135 * cursor.[Ch]: some additional asserts
3137 * undo.[Ch]: remove LyXText dependency in interface
3141 * lyxtext.h (firstPar, lastPar): remove dead functions
3146 * paragraph.[Ch]: adjust
3148 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3150 * lyxfind.C (find): fix argument order in call to ::find
3152 2004-02-02 André Pönitz <poenitz@gmx.net>
3154 * cursor.[Ch]: remove direct access to anchor
3156 * text.C: remove findText() hack
3158 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3160 * iterators.[Ch] (lockPath): remove in favour of...
3161 * BufferView.[Ch] (setCursor): this addition
3162 * BufferView.C (putSelectionAt): adjust
3163 * undo.C (performUndoOrRedo): adjust
3164 * lyxfunc.C (dispatch): adjust
3166 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3168 * iterators.C (lockPath): add a missing slice
3169 * undo.C (performUndoOrRedo): remove redundant positioning code
3171 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3173 * vc-backend.C (scanMaster): ";" -> ';'
3175 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3177 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3178 std::binary_function
3180 * lyxtextclass.C (compare_name): rename to...
3181 (LayoutNamesEqual): ...this
3183 * lyxlex_pimpl.C (compare_tags): inherit from
3184 std::binary_function, put back into anon namespace
3186 * lyxfind.C (MatchString): inherig from std::binary_function
3187 (findChange): use empty() istead of !size()
3189 * format.C (FormatNamesEqual): new functor
3196 * converter.C (compare_Converter): rename to...
3197 (ConverterEqual): ...this, and fixup a bit.
3198 (getConverter): use it, and make function const
3199 (getNumber): use it, and make function const
3203 * bufferlist.C: add using boost::bind
3205 * MenuBackend.C (MenuNamesEqual): new functor
3206 (hasMenu): use it, and make function const
3207 (hasSubmenu): use nested bind to get rid of compare_memfun.
3209 2004-01-30 André Pönitz <poenitz@gmx.net>
3211 * BufferView_pimpl.C:
3214 * cursor_slice.[Ch]:
3217 * paragraph_funcs.C:
3218 * paragraph_funcs.h:
3222 * text3.C: move some of the edit(x,y) handling to the insets
3223 some coordinate changes.
3225 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3227 * text.C: add using statements for std::advance and std::distance
3229 * paragraph.C: add using statement for std::distance
3231 * lyxfind.C: add using statement for std::advance
3233 * cursor.C (region): remove std:: from swap
3234 (openable): use nucleus in stead of operator->
3236 * BufferView.C: add using statements for std::distance and std::swap
3238 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3240 * iterators.C: Remove the pimple, move the needed structures to
3241 the header file. Create accessor for the positions stack.
3242 (asPosIterator): remove function
3244 * PosIterator.C (PosIterator): move constructors to top of file
3245 (PosIterator): reimplement the constructor taking a ParIterator in
3247 (setFrom): new function
3248 (operator!=): inline it
3250 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3252 * lyxfind.C (replaceAll): use std::advance
3254 * iterators.h: inherit from std::iterator.
3256 * PosIterator.C (advance, distance): remove
3257 * PosIterator.h: interit from std::iterator.
3259 2004-01-26 André Pönitz <poenitz@gmx.net>
3262 * BufferView_pimpl.[Ch]:
3266 * bufferview_funcs.C:
3276 * output_linuxdoc.C:
3277 * output_plaintext.C:
3279 * paragraph_funcs.[Ch]:
3280 * paragraph_pimpl.[Ch]:
3286 * text3.C: more IU: dumps most of the rest of the mathcursor
3287 implementation into cursor.[Ch]; "globalize" a bit of it.
3289 2004-01-25 Angus Leeming <leeming@lyx.org>
3291 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3293 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3295 * LaTeXFeatures.h: add nice_ and nice() const
3296 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3298 2004-01-20 André Pönitz <poenitz@gmx.net>
3301 * BufferView_pimpl.C:
3303 * bufferview_funcs.C:
3305 * cursor_slice.[Ch]:
3316 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3317 LCursor and mathcursor parts to LCursor and InsetBase.
3319 2004-01-15 André Pönitz <poenitz@gmx.net>
3321 * cursor_slice.[Ch]: add a few covienience functions
3323 * funcrequest.[Ch]: remove BufferView * member
3325 * BufferView_pimpl.C:
3332 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3334 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3336 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3337 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3339 2004-01-13 André Pönitz <poenitz@gmx.net>
3342 * lyxtext.h: hide cursor and selection anchor behind accessor function
3345 * BufferView_pimpl.[Ch]:
3347 * bufferview_funcs.C:
3357 * cursor_slice.[Ch]: some integer type changes for inset unification
3359 * lyxcursor.[hC]: remove, it's CursorSlice now.
3362 * BufferView_pimpl.[Ch]:
3363 * bufferview_funcs.C:
3369 * textcursor.[Ch]: adjust
3371 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3373 * text2.C (undoSpan): add and use
3374 * text.C (breakParagraph): use undoSpan (fix bug 578)
3377 2004-01-08 Angus Leeming <leeming@lyx.org>
3379 * BufferView_pimpl.C (MenuInsertLyXFile):
3380 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3381 * lyxfunc.C (menuNew, open, doImport):
3382 FileFilterList change to the FileDialog open and save functions.
3384 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3386 * ShareContainer.h: make isEqual and isUnique adaptable
3388 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3390 2004-01-07 Angus Leeming <leeming@lyx.org>
3393 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3395 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3397 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3398 functions replacing find, replace and replaceAll.
3400 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3401 LFUN_WORDFIND(FORWARD|BACKWARD).
3403 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3405 * text.C (breakParagraph): remove an outdated #warning
3407 2004-01-07 André Pönitz <poenitz@gmx.net>
3409 * lyxfind.C: somewhat clearer logic
3411 * text.C: prevent crash in cursorX on unitialized row cache
3413 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3415 * lyxcursor.[Ch] (operator>): add
3416 * textcursor.C (selStart, selEnd): use std::min and std::max
3418 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3420 * Chktex.C: include boost/format.hpp
3422 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3424 * InsetList.C: replace functor MathcIt with adaptable functor
3426 (insetIterator): modify accordingly
3428 * BranchList.h: move the BranchNamesEqual functor here from...
3429 * BranchList.C: ... to here
3431 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3433 (add): replace a finding loop with std::find_if.
3435 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3437 * output_docbook.C: moving LatexParam functionality into
3440 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3442 * buffer.C: increment format to 229.
3444 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3447 * lyx_sty.[Ch]: remove minipageindent_def
3453 * text3.C: remove LFUN_INSET_MINIPAGE
3455 2003-12-28 Angus Leeming <leeming@lyx.org>
3457 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3459 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3461 * text2.C (setParagraph): fix off-by-one crash
3463 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3465 * output_docbook.C: header stuff for AGU
3467 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3469 * text2.C (redoCursor): remove
3472 * BufferView_pimpl.C: remove calls to redoCursor and
3473 setCursor(cursor.par(), cursor.pos()) all around
3475 2003-12-15 Angus Leeming <leeming@lyx.org>
3477 * buffer.C: up the format to 228.
3479 2003-12-15 André Pönitz <poenitz@gmx.net>
3481 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3486 * BufferView_pimpl.C:
3495 2003-12-15 Angus Leeming <leeming@lyx.org>
3497 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3498 than getFromGUIName to manipulate the color.
3500 2003-12-14 Angus Leeming <leeming@lyx.org>
3502 * BranchList.[Ch]: minimize the API.
3503 (Branch::getBranch, getColor): now return a 'const &'.
3504 (Branch::setSelected) now returns a bool set to true if the
3505 selection status changes.
3506 (BranchList::clear, size, getColor, setColor, setSelected,
3507 allBranches, allSelected, separator): removed.
3508 (BranchList::find): new functions, returning the Branch with
3510 (BranchList::add, remove): return a bool indicating that
3511 the operation was successful.
3513 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3514 new InsetBranch::isBranchSlected member function.
3516 * LColor.[Ch]: mimimize the API.
3517 (fill): renamed as addColor and made private.
3518 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3519 versions of these functions taking a string arg have been removed.
3521 * bufferparams.C (readToken):
3522 * lyxfunc.C (dispatch):
3523 * lyxrc.C (read): changes due to the altered BranchList and
3526 * factory.C (createInset, readInset): changes due to altered
3529 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3532 * lyxfunc.C: remove insetminipage. "minipage-insert"
3533 now produces a frameless minipage box inset.
3535 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3537 * textcursor.[Ch] (selStart,selEnd): add new methods
3538 remove selection::start, end, use LyXCursor::operator<
3539 * lyxcursor.[Ch] (operator<): add
3540 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3541 * BufferView.[Ch] (unsetXSel): add
3542 * text2.C (clearSelection): use unsetXSel,adjust
3545 * rowpainter.C: adjust
3546 * bufferview_funcs.C (put_selection_at): adjust
3548 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3550 * BufferView_pimpl.C: small coord. correction
3552 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3554 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3555 dragging over the splash screen.
3557 2003-12-11 Angus Leeming <leeming@lyx.org>
3559 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3560 as it is now handled in LyXText::dispatch.
3562 * text3.C (doInsertInset): remove a level of nesting.
3564 2003-12-11 Angus Leeming <leeming@lyx.org>
3566 * factory.C (createInset): changes due to the changed interface to
3567 InsetCommandMailer::string2params.
3569 2003-12-10 Angus Leeming <leeming@lyx.org>
3571 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3572 'dialog-show-new-inset <inset name>'
3574 2003-12-10 Angus Leeming <leeming@lyx.org>
3576 * buffer.C: up the format to 227.
3578 * factory.C: the box inset is now identified simply by 'Box'.
3580 2003-12-10 Angus Leeming <leeming@lyx.org>
3582 * buffer.C: up the format to 226.
3584 * factory.C: the note inset is now identified simply by 'Note'.
3586 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3588 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3589 when a pit is enough. Standarize a couple of loops.
3591 2003-12-05 Angus Leeming <leeming@lyx.org>
3593 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3594 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3595 data to the re-worked "log" dialog.
3597 2003-12-03 André Pönitz <poenitz@gmx.net>
3603 * paragraph_funcs.C:
3605 * text2.C: use Inset::getText instead of Inset::getParagraph
3607 2003-12-03 André Pönitz <poenitz@gmx.net>
3611 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3612 InsetText::read() as LyXText::read()
3614 2003-12-02 Angus Leeming <leeming@lyx.org>
3616 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3617 type. Add a comment in the implementation that the function uses
3618 the stream's bad() function rather than fail() as the std::streams
3621 2003-12-02 André Pönitz <poenitz@gmx.net>
3623 * lyxlex.[Ch]: make interface more similar to std::stream
3625 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3627 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3629 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3631 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3633 * vspace.[Ch]: remove VSpace::NONE
3635 2003-12-01 André Pönitz <poenitz@gmx.net>
3638 * lyxtext.h: move ParagraphList member to LyXText
3639 rename LyXText::ownerParagraphs to LyXText::paragraph
3642 * bufferview_funcs.C:
3652 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3654 * undo.C: fix cursor positioning
3656 2003-12-01 John Levon <levon@movementarian.org>
3658 * BufferView_pimpl.C: fix a crash on exit with
3661 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3663 * BranchList.C: fix setSelected() method.
3665 2003-11-28 André Pönitz <poenitz@gmx.net>
3667 * ParagraphParameters.[Ch]:
3668 * ParameterStruct.h: remove space above/below from Paragraph to
3671 * BufferView_pimpl.C:
3677 * paragraph_funcs.C:
3683 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3685 * factory.C: Syntax change for CharStyles
3687 2003-11-28 André Pönitz <poenitz@gmx.net>
3692 * buffer.[Ch]: move LyXText member
3694 2003-11-28 André Pönitz <poenitz@gmx.net>
3696 * BufferView.[Ch]: make LyXText * text a private member
3698 * BufferView_pimpl.C:
3709 * output_plaintext.C: cleanup
3711 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3714 * lyxtextclass.[Ch]: parametrize SGML document header
3716 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3719 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3722 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3724 * text2.C (setFont): rework using PosIterator (no more recursive)
3725 (setCharFont): no more needed
3726 (setLayout): no more selection cursors fiddling (done by redoCursor)
3727 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3728 destroy remaining ones)
3730 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3732 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3734 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3737 * text3.C: adjust + re-allow multi par depth changes
3738 * textcursor.C: simplify a bit
3740 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3746 * src/output_docbook.C:
3747 * src/output_latex.C:
3752 * src/text2.C: Introducing a number of tags parametrizing various
3753 XML formats that we may want to support
3755 2003-11-25 André Pönitz <poenitz@gmx.net>
3757 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3759 * lyxtext.h (leftMargin/rightMargin): simplify interface
3766 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3768 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3769 master file to any child files. Fixes bug 546.
3771 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3773 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3775 2003-11-24 André Pönitz <poenitz@gmx.net>
3777 * rowpainter.C: simplification
3779 * text2.C (updateCounters): remove call to redoParagraph on
3780 changed labels as this is far too expensive.
3782 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3784 * converter.C (convert): fix a crash: this function gets
3785 called with buffer == 0 from importer code.
3787 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3789 * text3.C (cursorPrevious): make sure that we do not compare
3790 iterators form different containers.
3793 * rowpainter.C (paintSelection): make sure that we do not compare
3794 iterators from different containers.
3796 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3797 iterators from different ParagraphList containers.
3800 * text2.C (LyXText): change order of initialization slightly
3801 (operator=): new function. copy all variables except cache_par_
3802 (moveUp): make sure that we do not compare iterators from
3803 different ParagraphList constainers.
3806 * text.C (firstPar): new function
3807 (lastPar): new function
3808 (endPar): new function
3810 * lyxtext.h: move things around and group public functions, public
3811 variables, private functions, private variables
3813 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3815 * factory.C: change call to InsetERT constructor to avoid
3816 additional invocation of method status
3817 * text2.C (toggleInset): remove redundant update() call
3818 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3819 instead of a Bufferview pointer
3821 2003-11-21 André Pönitz <poenitz@gmx.net>
3823 * rowpainter.C: simplification
3825 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3827 * text3.C (dispatch): make possible to extend a word/row selection
3830 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3832 * lyxtext.h: x0_,y0_ -> xo_,yo_
3833 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3834 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3835 * rowpainter.C (paintRows): paint full paragraphs
3837 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3839 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3842 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3844 * lyxtext.h: add x0_, y0_
3845 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3846 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3848 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3850 * text2.C (setCursorIntern): move the x_target update here *
3851 * text3.C: change some bv() to true/false in calls to
3852 cursorUp/Down/Right/Left
3853 * cursor.C: use helper function.
3855 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3857 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3858 * paragraph_funcs.[Ch]: correct comment
3859 * rowpainter.C: do not paint selections away from bv->cursor()
3860 Fix a long standing selection painting bug.
3861 * text3.C: generalize mouse-selection code to LyXTexts other that
3863 * textcursor.C: do not use y coords if we can use par offsets
3865 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3867 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3868 cursor position after e.g. inset insert)
3870 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3872 * lyxfind.C (replace): adjust to locking removal + some
3875 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3877 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3880 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3883 * output_docbook.C: XML sanitation: new layout
3884 parameters InnerTag and CommandDepth
3886 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3888 * BufferView_pimpl.C:
3890 * text3.C: Fix the insertion and modification of button-style
3893 2003-11-13 André Pönitz <poenitz@gmx.net>
3895 * InsetList.[Ch]: remove deleteLyXText
3897 * paragraph.[Ch]: cache beginOfBody position
3902 * text3.C: remove superfluous update() calls
3906 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3908 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3909 * BufferView.C (fitLockedInsetCursor): remove
3910 * cursor.[Ch] (getDim): add
3911 * text.C (getRowNearY): add faster version
3912 * text3.C: remove some update calls
3914 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3926 * text3.C: The Character Style /XML short element patch.
3928 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3931 * factory.C: Small step to solving 'unable to insert some insets'
3934 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3936 * cursor.[Ch] (updatePos): new function for updating the y
3937 position of the tip inset
3938 * bufferview_funcs.C (put_selection_at):
3939 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3941 2003-11-11 André Pönitz <poenitz@gmx.net>
3943 * text.C: remove big comment on invalid Paragraph pointers as it is
3946 2003-11-11 André Pönitz <poenitz@gmx.net>
3948 * text_funcs.[Ch]: merge with ...
3956 * Makefile.am: remove text_funcs.[Ch]
3958 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3960 * cursor.C (getPos): return absolute cached y coord
3962 * BufferView_pimpl.C (fitCursor): new simplistic code
3963 (workAreaDispatch): add a fitCursor call
3965 2003-11-10 André Pönitz <poenitz@gmx.net>
3968 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3970 2003-11-10 André Pönitz <poenitz@gmx.net>
3972 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3973 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3974 indicate that the cursor needs to leave an inset
3976 * lyxtext.h: remove inset locking
3978 * cursor.[Ch]: re-implement functionality provided by inset locking
3981 * BufferView_pimpl.[Ch]:
3983 * bufferview_funcs.[Ch]:
3995 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3997 * PosIterator.[Ch]: replace the stack with a vector, add inset
3999 * iterators.[C]: adjust
4001 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4003 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4005 * paragraph_funcs.C (readParToken): put the correct id in the
4006 error item, not the id of the top paragraph
4008 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4010 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4011 * bufferview_funcs.C (put_selection_at): use the above
4013 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4015 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4017 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4019 * output_linuxdoc.h:
4020 * output_plaintext.h:
4022 * output_docbook.h: add #include statements
4024 2003-11-05 José Matos <jamatos@lyx.org>
4026 * output_docbook.[Ch]:
4027 * output_latex.[Ch]:
4028 * output_linuxdoc.[Ch]:
4029 * output_plaintext.[Ch]: New files for output formats.
4030 * output.[Ch]: New file for helper functions.
4033 * paragraph_funcs.[Ch]: output functions moved to new files.
4035 * outputparams.h: rename of latexrunparams.h
4043 * paragraph_funcs.[Ch]:
4044 * paragraph_pimpl.[Ch]:
4045 * tabular.[Ch]: rename ascii to plaintext
4046 and LatexRunParams to OutputParams.
4048 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4050 * iterators.[Ch] (text): require bv argument
4051 * undo.C (recordUndo):
4052 * lyxfunc.C (dispatch):
4053 * bufferview_funcs.C (put_selection_at): adjust
4055 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4057 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4059 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4061 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4064 2003-11-04 André Pönitz <poenitz@gmx.net>
4066 * cursor.[Ch]: restructure
4069 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4071 * iterators.[Ch] (asCursor): remove
4073 * lfuns.h: remove LFUN_INSET_EDIT
4079 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4081 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4083 * lyxfind.[Ch]: complete overhaul
4084 * BufferView_pimpl.C:
4086 * paragraph.[Ch] (insert): add
4088 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4092 * text.C: remove dead spellcheck code
4094 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * dispatchresult.h: add a val setter
4098 * cursor.C (dispatch): use a tempvar for data_[i]
4100 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4102 * PosIterator.[Ch]: compile fix
4104 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4106 * text.C (cursorPar): deactivate the cursor cache
4108 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4110 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4112 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * text3.C (dispatch): adjust for new DisptchResult semantics.
4116 * lyxfunc.C (dispatch): handle update when return from
4117 Cursor::dispatch, adjust for new DispatchResult semantics.
4119 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4120 DispatchResult(true) mean to not update. Add class functions for
4121 setting dispatched and update, as well as reading.
4123 * cursor.C (dispatch): don't handle update here
4125 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4128 * trans_mgr.C: adjust
4130 * paragraph_funcs.C (readParToken): exception safety
4132 * lyxvc.h: store the vcs pointer in a scoped_ptr
4135 * lyxsocket.C (serverCallback): exception safety
4137 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4139 * ispell.C (clone): make it return a auto_ptr
4141 * factory.C (createInset): exception safety
4142 (readInset): exception safety
4144 * bufferlist.C (newBuffer): exception safety
4146 * Thesaurus.C (Thesaurus): use initialization for aik_
4148 * MenuBackend.C (expandToc): exception safety.
4150 2003-11-03 André Pönitz <poenitz@gmx.net>
4154 * bufferview_funcs.C: remove getInsetFromId()
4157 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4163 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4165 * PosIterator.C (distance, advance): new
4166 * bufferview_funcs.[Ch] (put_selection_at): new
4167 * iterators.[Ch] (lockPath): new
4169 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4171 * iterators.[Ch] (asPosIterator): added
4172 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4173 * PosIterator.[Ch]: added
4175 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * cursor.C (dispatch):
4180 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4182 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4183 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4184 contructor, add a class function dispatched. Remove operator>=
4186 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * debug.C: only use the default constructor for debugstream
4191 * main.C (main): include debug.h and setup the lyxerr streambuf
4194 2003-10-31 José Matos <jamatos@lyx.org>
4196 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4198 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4199 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4200 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4201 * paragraph_pimpl.C (simpleTeXSpecialC):
4202 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4203 add LatexRunParams argument.
4205 * exporter.C (Export): change call accordingly.
4207 * latexrunparams.h: add new member to take care of the other backends.
4208 2003-10-30 José Matos <jamatos@lyx.org>
4210 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4211 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4212 factorise code for paragraph output.
4214 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4217 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * text3.C (dispatch):
4220 * lyxfunc.C (dispatch):
4221 * cursor.C (dispatch):
4222 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4224 * dispatchresult.h: make the dispatch_result_t ctor explicit
4226 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4229 * buffer.C: small refactoring of docbook stuff
4231 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4236 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4239 operator dispatch_result_t, and operators for == != and >=
4241 * cursor.C (dispatch): adjust for operator dispatch_result_t
4242 removal. comment out call to update
4244 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4246 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4257 * dispatchresult.h: new file, DispatchResult broken out of
4260 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4262 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4264 * text.C (rowBreakPoint): put a hack inside #if 0
4266 2003-10-28 André Pönitz <poenitz@gmx.net>
4270 * paragraph_funcs.C:
4273 * text2.C: general cleanup (lots of small stuff)
4275 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4277 * text2.C (cursorEnd): simple fix to the "end key goes to one
4278 before the end on last row" bug
4280 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4282 * text.C (backspace): fix the "zombie characters"
4284 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4286 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4288 2003-10-27 André Pönitz <poenitz@gmx.net>
4290 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4292 * factory.C: handle new InsetPagebreak, InsetLine
4294 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4295 and move handling into new InsetPagebreak, InsetLine
4297 * BufferView_pimpl.C:
4299 * ParagraphParameters.C:
4300 * ParameterStruct.h:
4305 * paragraph_funcs.C:
4306 * paragraph_pimpl.C:
4312 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4315 * lyxrow_funcs.[Ch]:
4321 * text3.C: remove lastPos uses in favour of Row::endpos
4323 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4325 * undo.C (performUndoOrRedo): fix two crashes by setting a
4326 cursor by hand and reordering some calls. Use bv->lockInset instead
4327 of inset->edit because the latter loses cursor information
4329 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4331 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4333 (rowBreakPoint): fix width. change point to point + 1.
4334 Add a missing check.
4336 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4339 * lyxfunc.C: fix (at least partly) the problems
4340 with the Nav menu and headers inside branch insets
4343 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4345 * paragraph.C (getChar): add strong asserts
4347 * lyxrow_funcs.C (lastPos): remove hideous hack
4349 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4350 (fill): adjust to that (avoid an infinite loop)
4352 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4354 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4356 2003-10-23 André Pönitz <poenitz@gmx.net>
4358 * RowList_fwd.h: change list<> to vector<> to gain speed
4359 after suggestion from Alfredo
4361 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4363 * lyxtext.h: move the bidi stuff from here...
4366 * Bidi.[Ch]: ... to here
4368 2003-10-23 André Pönitz <poenitz@gmx.net>
4371 * text.C (isLastRow, isFirstRow): new functions
4373 * paragraph.h: new width cache member
4375 * rowpainter.C: replace RowList::iterator with Row & where possible
4377 * lyxfunc.C: replace several view()->text with a single call
4379 * toc.C: fix 'unused' warning
4381 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4384 when woring with stream::pos_type
4385 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4387 2003-10-22 André Pönitz <poenitz@gmx.net>
4390 * text.C: use Row & instead of RowList::iterator
4392 * lyxrow.h: rename end() to endpos()
4398 2003-10-22 Angus Leeming <leeming@lyx.org>
4400 * buffer.[Ch] (fully_loaded): new member function, returning true
4401 only when the file has been loaded fully.
4402 Used to prevent the premature generation of previews and by the
4403 citation inset to prevent computation of the natbib-style label.
4405 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4406 templates are all set up.
4408 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4410 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4412 * text.C: fixed an "oops" in the "is a bit silly"
4415 2003-10-21 André Pönitz <poenitz@gmx.net>
4417 * FuncStatus.[Ch]: small stuff, whitespace
4419 * lyxfont.[Ch]: operator<<() for debug reasons
4423 * lyxtext.h: whitespace, spelling
4425 * paragraph.C: naming of variables
4428 * text2.C: small stuff
4431 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4433 * text.C: (1) finish off the inset display() work;
4434 (2) fix the "is a bit silly" bug (accessing char
4437 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4439 * text.C: re-introduce display() for insets, fixing the
4440 various bugs (stretch of line above, math inset
4443 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4445 * text.C (rightMargin): remove spurious semicolon
4447 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4450 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4452 * text3.C: fix one crash due to wrong cursor def
4454 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * vc-backend.C (scanMaster): make the regex static
4458 * LaTeX.C (scanAuxFile): make the regexs static
4460 * text3.C (doInsertInset, dispatch, dispatch):
4461 * text2.C (cursorUp, cursorDown):
4462 * text.C (selectNextWordToSpellcheck):
4463 * BufferView_pimpl.C (dispatch):
4464 * lyxfunc.C (dispatch): localDispatch -> dispatch
4466 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4468 * lyxsocket.C: include <cerrno>
4470 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * lyxfunc.C (dispatch): remove textcache stuff
4474 * bufferlist.C (release): remove textcache stuff
4477 * TextCache.C: delete file
4478 * TextCache.h: delete file
4480 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4482 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4483 delete of the bv_->text.
4484 (resizeCurrentBuffer): remove texcache stuff
4485 (workAreaResize): ditto
4487 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4489 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4492 2003-10-16 André Pönitz <poenitz@gmx.net>
4499 * text3.C: speed up by storing y positions per paragraph plus per-row
4500 offset instead of having a 'full' y position in the row.
4502 2003-10-15 André Pönitz <poenitz@gmx.net>
4506 * undo.[Ch]: make undo aware of inner insets
4508 2003-10-14 Angus Leeming <leeming@lyx.org>
4510 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4511 static member functions LyX::ref() and LyX::cref.
4512 (lastfiles): new accessor functions for the new lastfiles_ member var.
4513 (addLyXView, views_): add a new LyXView to the list of views_.
4514 (updateInset): loop over all LyXViews to call their own updateInset
4515 member function, returning a pointer to the Buffer owning the inset.
4517 * BufferView_pimpl.C (loadLyXFile):
4518 * MenuBackend.C (expandLastfiles):
4519 * bufferlist.C (MenuWrite, QuitLyX):
4520 lastfiles is no longer a global variable.
4521 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4523 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4524 static function. Access through LyX::cref().emergencyCleanup().
4526 2003-10-14 André Pönitz <poenitz@gmx.net>
4528 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4530 * undo.[Ch]: restoring part of 'undo in insets'
4533 * undo_funcs.[Ch]: merge with undo.[Ch]
4535 * tabular.C: small cleansing stuff
4537 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4539 * paragraph_funcs.C (readParToken): report unknown insets as error
4540 boxes. Use the outer paragraph as location (also for unknown
4543 * factory.C (readInset): do not abort on reading an unknown inset.
4544 Eat it and return 0.
4546 2003-10-13 Angus Leeming <leeming@lyx.org>
4548 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4550 * lyxrc.C: displayTranslator is now a function,
4551 declared in GraphicsTypes.h.
4553 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4555 * format.C: new placeholder $$a to pass the socket address.
4557 * bufferlist.[Ch]: new function getBufferFromTmp.
4559 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4560 files in the temporary dir.
4562 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4564 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4566 * Makefile.am: add lyxsocket.[Ch].
4568 * lyx_main.C (error_handler): handle SIGPIPE.
4570 2003-10-13 André Pönitz <poenitz@gmx.net>
4572 * BufferView_pimpl.C:
4577 * undo_funcs.[Ch]: use paroffset_type instead of
4578 ParagraphList::iterators to prevent multiple conversion
4579 (and get a more robust interface)
4581 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4585 * text3.C (dispatch): ditto
4587 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4590 move the onlyfile, use onlyfile instead of foundfile in a couple
4593 * DepTable.C (update): flush the error stream a bit more
4595 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * lyxserver.C (callback): adjust
4599 * lyxfunc.C (getStatus): add a missing brace in commented code
4600 (ensureBufferClean): reindent
4601 (dispatch): delete version taking a string
4603 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4605 * LaTeX.C (deplog): move found file handlig from here...
4606 (handleFoundFile): .. to new function here.
4607 (deplog): make sure to discover several files mentioned on the
4610 2003-10-10 André Pönitz <poenitz@gmx.net>
4617 * text3.C: fix some of the tabular crashes
4619 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4621 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4623 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4625 2003-10-09 André Pönitz <poenitz@gmx.net>
4627 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4630 * BufferView_pimpl.C:
4631 * bufferview_funcs.C:
4642 * undo_funcs.C: adjust
4644 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * text2.C (incrementItemDepth): new function, use a backtracking
4647 algorithm to discover the correct item depth.
4648 (resetEnumCounterIfNeeded): new function, use a backtracking
4649 algorithm to discover if counter reset is needed.
4650 (setCounter): use them. Simplify a bit. Add different labels for
4651 different item depths for itemize.
4653 * paragraph.C (Paragraph): remove initialization of enumdepth
4656 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4657 enumerate and itemize. Change the type of itemdepth to signed char.
4659 2003-10-08 André Pönitz <poenitz@gmx.net>
4661 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4666 * tabular.[Ch]: fix crash after 'row-insert'
4668 2003-10-08 Angus Leeming <leeming@lyx.org>
4670 Fix doxygen warnings.
4672 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4673 Remove CutAndPaste:: prefix from header file declaration.
4675 * LColor.h (fill): remove LColor:: prefix from declaration.
4677 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4678 use lyx::depth_type rather than Paragraph::depth_type so that
4679 header file and .C file match.
4681 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4683 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4684 * aspell.C: \file aspell_local.C -> \file aspell.C
4685 * gettext.C: \file gettext.C -> \file src/gettext.C
4686 * gettext.h: \file gettext.h -> \file src/gettext.h
4687 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4688 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4689 * text.C: \file text.C -> \file src/text.C
4691 * toc.C: move comment so that doxygen is not confused.
4693 2003-10-07 Angus Leeming <leeming@lyx.org>
4695 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4697 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4700 * aspell_local.h: add forgotten std::string's.
4702 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4709 * text3.C: The Box patch. Fancybox support, minipage, parbox
4711 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4717 * ParagraphParameters.h:
4727 * lyxtextclasslist.h:
4730 * paragraph_pimpl.C:
4731 * textcursor.h: add <string> and other small fixes to make Lars'
4732 std::string patch compile with STLport.
4734 2003-10-06 Angus Leeming <leeming@lyx.org>
4736 * LColor.h: Add missing #include <string>.
4738 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * All most all file in all subdirs: Make <string> be the prefered
4741 way of getting to std::string, add using declarations.
4743 2003-10-06 André Pönitz <poenitz@gmx.net>
4745 * metricsinfo.C: initialize LyXFont before changing attribute.
4746 (fixes the 'math in \emph is upright' bug)
4748 2003-10-06 André Pönitz <poenitz@gmx.net>
4750 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4752 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4755 * paragraph_pimpl.C: Small fixes to build using STLport
4757 2003-10-02 André Pönitz <poenitz@gmx.net>
4760 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4762 2003-10-01 André Pönitz <poenitz@gmx.net>
4764 * factory.C: assert early
4766 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * lyx_main.C: remove the global debug object
4770 * debug.h: adjust for new debugstream
4772 * debug.C: adjust for new debugstream and keep the global debug
4775 2003-09-22 Angus Leeming <leeming@lyx.org>
4777 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4778 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4779 an incomplete class LyXFont.
4781 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4783 * factory.C: bug fix in branches
4785 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * lyxfunc.C (processKeySym): adjust
4789 (dispatch): change arg name from ev to func, adjust
4790 (sendDispatchMessage): ditto
4792 * lyx_main.C (defaultKeyBindings): adjust keybindings
4793 (deadKeyBindings): ditto
4795 * kbsequence.C (addkey): return a FuncRequest
4797 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4799 * kbmap.C (bind): take a FuncRequest as arg, adjust
4802 (defkey): change to take a FuncRequest as arg, adjust
4803 (findbinding): take a FuncRequest as arg, adjust.
4805 * funcrequest.h (operator=): added
4807 * funcrequest.C (FuncRequest): default kb_action changed from
4808 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4810 * buffer.C (dispatch): simplify
4811 (dispatch): adjust to take a FuncRequest as arg, adjust
4813 * boost.C (assertion_failed): change assertion message slightly
4815 * ToolbarBackend.C (read): simplify
4817 * MenuBackend.C (binding): adjust call to findbinding, add a
4818 message if no binding is found.
4820 (expandToc): correct by adding a empty FuncRequest
4822 * LyXAction.C: include <boost/assert.hpp>
4823 (isPseudoAction): delete function
4824 (LookupFunc): change name to...
4825 (lookupFunc): this. change return type to FuncRequest.
4826 (getActionName): take kb_action as arg, simplify
4827 (funcHasFlag): add an assert, simplify.
4829 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * toc.C (action): return a FuncRequest, simplify
4833 * lyxfunc.C (processKeySym): adjust
4834 (getStatus): delete version that takes an int.
4836 (dispatch): delete version that takes action as int
4838 (sendDispatchMessage): simplify and adjust
4840 * funcrequest.C (getArg): take unsigned int as arg
4842 * ToolbarBackend.C (read): adjust
4843 (add): delete version that takes func as a string.
4844 (getIton): take a FuncRequest as arg
4846 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4849 * MenuBackend.C (MenuItem): add a new construct that only takes a
4850 Kind, simplify the constructor use for submenus.
4852 (expandLastfiles): adjust
4853 (expandDocuments): adjust
4854 (expandFormats): adjust
4855 (expandFloatListInsert): adjust
4856 (expandFloatInsert): adjust
4857 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4859 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4860 Remove class variables lyx_pseudo_map and lyx_arg_map
4862 * LyXAction.C (searchActionArg): delete function
4863 (getPseudoAction): delete function
4864 (retrieveActionArg): delete function
4865 (LookupFunc): make it return kb_action, simplify.
4866 (getActionName): simplify
4868 * factory.C (createInset): fix new bug
4870 2003-09-19 Angus Leeming <leeming@lyx.org>
4872 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4873 masterFilename_ parameter in the include inset.
4875 * factory.C (createInset): changes due to the changes to InsetInclude.
4877 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4879 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4881 2003-09-18 Angus Leeming <leeming@lyx.org>
4884 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4885 Inset::fillWithBibKeys.
4886 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4888 2003-09-18 Angus Leeming <leeming@lyx.org>
4890 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4892 (ctor): pass and store a 'Buffer const &'
4893 (buffer): new member function.
4895 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4896 '*this' to the LaTeXFeatures ctor.
4898 2003-09-18 Angus Leeming <leeming@lyx.org>
4904 * text.C: rename EnumLColor as LColor_color.
4906 2003-09-18 Angus Leeming <leeming@lyx.org>
4908 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4909 remove #include "insets/insetbase.h" from cursor.h.
4911 2003-09-18 Angus Leeming <leeming@lyx.org>
4913 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4914 InsetOld_code to remove #include "inset.h".
4916 * iterators.C: add #include "insets/inset.h"
4918 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4920 * BufferView.C: remove more locking stuff that apparently doesn't
4921 do anything sensible.
4923 2003-09-16 André Pönitz <poenitz@gmx.net>
4926 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4929 2003-09-16 Angus Leeming <leeming@lyx.org>
4931 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4933 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4936 * paragraph.h: remove #include "lyxfont.h". Forward declare
4939 2003-09-16 Angus Leeming <leeming@lyx.org>
4941 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4942 of support/textutils.h.
4943 (isWord): move the contents of support/textutils.h's IsWordChar here.
4949 * text2.C: add #include "paragraph.h".
4952 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4954 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * LaTeX.C: use namespace alias for lyx::support::os
4962 2003-09-16 Angus Leeming <leeming@lyx.org>
4965 * bufferview_funcs.C:
4968 * paragraph_pimpl.C:
4970 * text.C: add #include "LColor.h".
4972 2003-09-16 Angus Leeming <leeming@lyx.org>
4974 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4975 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4977 Store the FontBits::color variable as an int rather than as an
4978 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4981 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4982 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4983 string calls together.
4985 * lyxrc.C: add #include "LColor.h".
4987 2003-09-15 Angus Leeming <leeming@lyx.org>
4989 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4992 2003-09-15 Angus Leeming <leeming@lyx.org>
4994 * LColor.h: add an EnumLColor wrapper for LColor::color.
4996 * lyxfont.[Ch] (color, setColor, realColor):
4997 * lyxtext.h, text.C (backgroundColor):
4998 pass EnumLColor args to/from the functions, rather than LColor::color
5002 * lyxtext.h: forward declare EnumLColor.
5004 * lyx_main.C: add #include "LColor.h".
5006 2003-09-15 Angus Leeming <leeming@lyx.org>
5008 * .cvsignore: add lyx-gtk.
5010 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * ParagraphParameters.C
5019 * bufferview_funcs.C
5029 * vc-backend.C: remove usage of STRCONV
5031 2003-09-15 Angus Leeming <leeming@lyx.org>
5033 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5034 explicitly define the color passed to the painter.
5036 2003-09-15 Angus Leeming <leeming@lyx.org>
5038 * bufferparams.C (BufferParams): reorder member initializers to avoid
5041 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5043 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5044 * text.C (updateRowPositions): remove an unusual nop
5046 2003-09-12 André Pönitz <poenitz@gmx.net>
5048 * BufferView_pimpl.C:
5057 * Counters.[Ch]: finish the 'automatic counters' job
5059 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5061 * aspell.C: include <boost/assert.cpp> (compile fix)
5063 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5065 * boost.C (assertion_failed): use lyx::support::abort instead of
5068 2003-09-10 Angus Leeming <leeming@lyx.org>
5070 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5071 with their _fwd progeny.
5073 2003-09-09 Angus Leeming <leeming@lyx.org>
5075 134 files throughtout the source tree: replace 'using namespace abc;'
5076 directives with the appropriate 'using abc::xyz;' declarations.
5078 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5080 * boost.C (emergencyCleanup): moved here from LAssert.c
5081 (assertion_failed): new function, called by BOOST_ASSERT
5083 * several files: change Assert to BOOST_ASSERT
5085 2003-09-09 Angus Leeming <leeming@lyx.org>
5087 * buffer.[Ch]: Add an Impl class and move Buffer's member
5088 variables into it. As a result move several header files out of
5091 Add header files to lots of .C files all over the tree as a result.
5093 2003-09-09 Angus Leeming <leeming@lyx.org>
5095 * buffer.[Ch]: make Buffer's member variables private. Add
5098 Lots of changes all over the tree as a result.
5100 2003-09-08 Angus Leeming <leeming@lyx.org>
5102 * graph.C: #include <config.h>.
5104 2003-09-08 Angus Leeming <leeming@lyx.org>
5108 * BufferView_pimpl.C:
5137 * toc.C: remove redundant using directives.
5139 2003-09-07 Angus Leeming <leeming@lyx.org>
5141 * LaTeXFeatures.h: remove #include "support/types.h".
5142 * ToolbarBackend.h: remove #include <algorithm>.
5143 * changes.h: remove #include <ctime>.
5144 * debug.h: remove #include <iosfwd>.
5145 * graph.h: remove #include "support/std_string.h".
5146 * lyx_main.h: remove #include <csignal>.
5147 * lyxlex_pimpl.h: remove #include <fstream>.
5148 * sgml.h: remove #include <algorithm>, <utility>.
5149 * toc.h: remove #include "support/std_ostream.h".
5150 Add #include <iosfwd>.
5152 2003-09-07 Angus Leeming <leeming@lyx.org>
5154 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5156 * converter.h: forward declare LatexRunParams.
5157 * encoding.h: remove #include "lyxrc.h".
5158 * lyxtext.h: remove #include "LColor.h".
5159 * lyxtextclass.h: remove #include "support/types.h".
5160 * trans.h: remove #include "tex-accent.h".
5161 * trans_mgr.h: remove #include "tex-accent.h".
5162 * insets/inset.h: remove #include "support/types.h", <vector>.
5163 * insets/insetcollapsable.h: remove #include "LColor.h".
5164 * insets/insetinclude.h: remove #include "dimension.h".
5165 * insets/insetlatexaccent.h: remove #include "dimension.h".
5166 * insets/insetoptarg.h:: remove #include "insettext.h".
5167 * insets/insettext.h: remove #include "dimension.h",
5168 <boost/shared_ptr.hpp>
5170 * insets/renderers.h: add #include "dimension.h".
5171 * insets/updatableinset.h: add #include "support/types.h".
5173 * many .C files: Associated changes.
5175 2003-09-06 Angus Leeming <leeming@lyx.org>
5177 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5178 one, inside testInvariant.
5180 * PrinterParams.C: new file.
5181 * PrinterParams.[Ch]: move the function bodies out of line.
5183 2003-09-06 Angus Leeming <leeming@lyx.org>
5185 * ParagraphParameters.h: forward declare ParameterStruct rather than
5186 including its header file.
5187 (depth): moved out-of-line.
5189 2003-09-06 Angus Leeming <leeming@lyx.org>
5191 * BufferView_pimpl.h:
5194 * lyxfunc.h: forward declare LyXKeySym rather than
5195 #include "frontends/LyXKeySym.h".
5197 * BufferView_pimpl.C:
5200 * lyxfunc.C: associated changes.
5202 2003-09-06 Angus Leeming <leeming@lyx.org>
5204 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5205 As a result, can remove the #include "insets/inset.h" from BufferView.h
5207 2003-09-06 Angus Leeming <leeming@lyx.org>
5209 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5210 As a result, can remove the #include "insets/inset.h" from BufferView.h
5212 2003-09-06 Angus Leeming <leeming@lyx.org>
5218 * bufferview_funcs.C:
5219 * BufferView_pimpl.C:
5224 * ParagraphParameters.C:
5229 * frontends/controllers/ControlDocument.C:
5230 * insets/insetcaption.C: rearrange the #includes into some sort of
5233 * buffer.h: remove #includes ErrorList.h, undo.h
5235 2003-09-06 Angus Leeming <leeming@lyx.org>
5237 * support/types.h: add a 'depth_type' typedef, used to store the
5238 nesting depth of a paragraph.
5241 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5242 defining explicitly.
5245 * paragraph_funcs.h:
5246 * ParagraphParameters.h:
5247 * sgml.h: use lyx::depth_type rather than Paragraph or
5248 ParameterStruct's depth_type.
5251 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5254 * BufferView_pimpl.C:
5256 * ParagraphParameters.C:
5259 * bufferview_funcs.C:
5266 * frontends/LyXView.C:
5267 * frontends/controllers/ControlDocument.C:
5268 * frontends/controllers/ControlErrorList.C:
5269 * insets/insetbibitem.C:
5270 * insets/insetbranch.C:
5271 * insets/insetcaption.C:
5272 * insets/insetcollapsable.C:
5273 * insets/insetenv.C:
5274 * insets/insetert.C:
5275 * insets/insetfloat.C:
5276 * insets/insetfoot.C:
5277 * insets/insetfootlike.C:
5278 * insets/insetnewline.C:
5279 * insets/insetquotes.C:
5280 * insets/insettabular.C:
5281 * insets/insettext.C:
5282 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5284 * frontends/controllers/ControlChanges.C: #include "changes.h".
5286 2003-09-06 Angus Leeming <leeming@lyx.org>
5288 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5289 than #including paragraph.h.
5292 * RowList.h: deleted. Superfluous.
5302 * insets/insettext.h: use ParagraphList_fwd.h rather than
5305 * paragraph.h: don't forward declare ParagraphList.
5308 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5309 rather than ParagraphList.h. paragraph.h is still needed for the
5310 Paragraph::depth_type parameters.
5312 * textcursor.h: enable it to compile stand-alone in light of the
5315 * bufferview_funcs.C:
5327 * frontends/controllers/ControlParagraph.C:
5328 * frontends/controllers/ControlTabular.C:
5329 * insets/insetmarginal.C:
5330 * insets/insetminipage.C:
5331 * insets/insetnote.C:
5332 * insets/insetoptarg.C: add header files needed to compile again.
5334 2003-09-06 Angus Leeming <leeming@lyx.org>
5336 * RowList_fwd.h: new file, forward-declaring Row rather than
5337 #including lyxrow.h.
5342 * insets/insettext.h: use it instead of RowList.h
5344 * bufferview_funcs.C:
5351 * text3.C: #include "RowList.h".
5353 2003-09-05 Angus Leeming <leeming@lyx.org>
5355 * factory.C (createInset):
5356 * vspace.C (c-tor): replace sscanf call with an istringstream.
5357 * ispell.C: re-add missing HP/UX headers.
5358 * lyxserver.C: re-add missing os2 headers.
5360 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5369 * text3.C: re-add missing system headers, needed for 2.95.2.
5371 2003-09-05 Angus Leeming <leeming@lyx.org>
5373 Changes most place everywhere due to the removal of using directives
5374 from support/std_sstream.h.
5376 2003-09-05 Angus Leeming <leeming@lyx.org>
5378 Replace LString.h with support/std_string.h,
5379 Lsstream.h with support/std_sstream.h,
5380 support/LIstream.h with support/std_istream.h,
5381 support/LOstream.h with support/std_ostream.h.
5383 Changes resulting throughout the tree.
5385 2003-09-05 Angus Leeming <leeming@lyx.org>
5387 * sgml.h: ensure that the header file can be compiled stand-alone.
5388 * *.C: strip out redundant #includes. (320 in total.)
5390 2003-09-04 Angus Leeming <leeming@lyx.org>
5392 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5393 here (from getPackages).
5395 * debug.[Ch]: add a new EXTERNAL tag.
5397 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5399 * text2.C (cursorEnd): simplify
5401 (getColumnNearX): adjust
5403 * text.C (computeBidiTables): adjust
5406 * rowpainter.C (paintChars): adjust
5407 (paintSelection): adjust
5408 (paintChangeBar): adjust
5411 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5413 (numberOfSeparators): adjust
5415 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5421 * text3.C: Restricts the mouse click functionality
5422 of insets like bibtex, include, toc and floatlist to the visible
5423 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5424 up the dialogs. Cursor has to be in front of the inset (i.e.
5425 start of row) for this to function.
5427 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5429 * bufferview_funcs.C (currentState): output row information
5431 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5433 * bufferview_funcs.C (currentState): output paragraph position
5435 2003-09-04 Angus Leeming <leeming@lyx.org>
5437 * FloatList.h: move out #include "Floating.h".
5438 * LaTeX.h: move out #include "DepTable.h".
5439 * LyXAction.h: move out #include "funcrequest.h".
5440 * buffer.h: move out #include "author.h", "iterators.h".
5441 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5442 * lyx_main.h: move out #include "errorlist.h".
5443 * lyxfunc.h: move out #include "FuncStatus.h".
5444 * lyxtext: move out #include "lyxcursor.h".
5445 * paragraph_pimpl.h: move out #include "counters.h".
5447 2003-09-03 Angus Leeming <leeming@lyx.org>
5449 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5450 preamble_snippets list, enabling us to add snippets to the preamble
5451 only if the snippet was not there already.
5453 2003-09-04 Angus Leeming <leeming@lyx.org>
5455 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5457 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5462 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5464 * BranchList.C: point fix, earlier forgotten
5466 2003-09-02 Angus Leeming <leeming@lyx.org>
5468 * box.C (contains): renamed from 'contained' after a fantastic
5471 2003-09-02 John Levon <levon@movementarian.org>
5477 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5479 2003-09-02 John Levon <levon@movementarian.org>
5481 * text2.C: simplification of cursorEnd(), including partial
5484 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5486 * buffer.C (readFile): add a space
5488 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5490 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5492 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * buffer.C (readFile): new function, take a filename and a
5495 ParagraphList::iterator
5497 (readFile): adjust, make it private. don't use setStream, make
5498 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5499 always contain the filename.
5501 * BufferView.C (insertLyXFile): simplify and make it work for
5504 2003-08-30 John Levon <levon@movementarian.org>
5506 * Makefile.am: fix dist (from Kayvan)
5508 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * most files: change to use const Buffer refs
5512 2003-08-27 André Pönitz <poenitz@gmx.net>
5514 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5515 on top of ownerPar().
5517 2003-08-27 John Levon <levon@movementarian.org>
5519 * funcrequest.C: properly initialise POD members
5521 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5523 * lyxtext.h (top_y): move top_y from here
5528 * BufferView_pimpl.[Ch]: to here
5529 * frontends/screen.C:
5530 * insets/insettabular.C:
5531 * insets/insettext.C: adjust
5532 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5534 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5537 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5539 2003-08-26 André Pönitz <poenitz@gmx.net>
5541 * paragraph_func.[Ch] (outerPar): new function
5544 * paragraph_funcs.C:
5545 * paragraph_funcs.h:
5546 * paragraph_pimpl.C:
5547 * text2.C: remove Inset::par_owner
5549 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5554 * text2.C: eliminates the needFullRow/display() stuff
5555 altogether, putting the logic in metrics/draw in the insets.
5557 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5559 * text2.C (redoParagraphInternal, redoParagraphs):
5560 * text.C (redoParagraph): add a call to updateRowPositions at the
5561 end of each 'metrics-like' call. Remove all others.
5562 (getRow): remove the 'y-computing' version.
5563 (getRowNearY): do not compute nor return the real y. Solve the
5564 'y < 0' problem and simplify.
5566 2003-08-22 Angus Leeming <leeming@lyx.org>
5568 * *.[Ch]: clean-up of licence and author blurbs.
5569 Also move config.h out of a few .h files and into a few .C files.
5571 2003-08-22 André Pönitz <poenitz@gmx.net>
5573 * lyxrow.[Ch]: add x_ and *fill_ members
5578 * text2.C: adjust/remove prepareToPrint() calls
5580 2003-08-22 André Pönitz <poenitz@gmx.net>
5582 * lyxrow.[Ch]: add end_ member
5584 * lyxrow_funcs.C: use LyXRow::end_
5586 * lyxtext.h (singleWidth): add LyXFont parameter
5589 * text2.C: adjust LyXText::singleWidth() calls
5591 * text.C (redoParagraph): simplify row breaking logic
5594 2003-08-19 André Pönitz <poenitz@gmx.net>
5596 * funcrequest.C: initialize button_ member
5599 * rowpainter.[Ch]: interface consolidation
5601 2003-08-18 André Pönitz <poenitz@gmx.net>
5604 * BufferView_pimpl.C:
5606 * paragraph_funcs.C:
5608 * text3.C: remove LyXScreen::draw() and fitCursor calls
5610 * BranchList.h: remove spurious semicolons
5612 * MenuBackend.C: fix branchlist related crash
5614 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5622 * bufferparams.[Ch]:
5626 * text3.C: implements the 'branch inset'
5627 idea. This allows the output of various versions of a document
5628 from a single source version, selectively outputing or suppressing
5629 output of parts of the text.
5630 This implementation contains a 'branch list editor' in a separate
5631 tab of the document settings dialog. Branches are user definable
5632 and have a "display colour" to distinguish them on-screen.
5634 ColorHandler was somewhat cleaned up.
5635 (1) make possible a dynamically growing LColor list by allowing
5636 the graphic context cache to grow along (vector);
5637 (2) eliminate an IMHO unnecessary step in colour allocation.
5639 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5641 * BufferView_pimpl.C: compile fix
5643 2003-08-15 André Pönitz <poenitz@gmx.net>
5645 * rowpainter.C: remove extra metrics calls
5647 * lyxtext.h: merge the two constructors into a single one,
5648 pass reference to owner's par list
5650 * BufferView_pimpl.C:
5654 2003-08-15 André Pönitz <poenitz@gmx.net>
5656 * lyxrow_funcs.[Ch]:
5659 * paragraph_funcs.C:
5664 * text_funcs.C: split LyXText::rowlist_ into individual
5665 Paragraph::rows_ chunks
5668 * BufferView_pimpl.[Ch]:
5671 * text3.C: remove toggleSelection()
5673 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5675 * bufferlist.C: beautify two alerts (shorter text of buttons)
5676 * buffer.C: Remove redundant ' ' from message
5678 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5679 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5680 rename VALIGN_CENTER to VALIGN_MIDDLE
5682 2003-08-11 André Pönitz <poenitz@gmx.net>
5684 * lyxtext.h (getPar):
5685 * text.C: new function
5687 2003-08-11 André Pönitz <poenitz@gmx.net>
5690 * tracer.[Ch]: remove unneeded files
5692 * InsetList.[Ch]: remove resizeInsetsLyXText()
5697 * text3.C: merge insertParagraphs() and appendParagraph()
5698 remove breakAgain(), update()
5700 * BufferView_pimpl.[Ch]:
5701 * bufferview_funcs.[Ch]:
5705 * tabular.C: adjust after text & InsetList changes.
5707 2003-08-08 André Pönitz <poenitz@gmx.net>
5709 * text.C (insertChar, backspace): replace rowlist fiddling
5710 with rebreak of full par
5713 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5714 checkParagraph, updateInset): removed
5716 2003-08-07 André Pönitz <poenitz@gmx.net>
5719 * text3.C: merge some LFUN handlers, remove dead code
5721 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5723 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5725 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5727 * text2.C (DEPM): fix part of bug 1255 and 1256
5729 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5731 * BufferView_pimpl.C (workAreaDispatch): change to use
5732 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5733 that are no mouse related.
5735 2003-08-05 André Pönitz <poenitz@gmx.net>
5738 * BufferView_pimpl.[Ch]:
5739 * bufferview_funcs.C:
5741 * text3.C: rip out "deep update"
5743 * textcursor.[Ch] (last_sel_cursor): remove unused member
5745 2003-08-04 André Pönitz <poenitz@gmx.net>
5748 * BufferView_pimpl.[Ch]:
5749 * ParagraphParameters.C:
5750 * bufferview_funcs.C:
5756 * text3.C: replace "complicated" BufferView::update(...) calls with
5759 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5761 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5763 * Makefile.am (lyx_SOURCES): add paper.h
5765 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5767 * Makefile.am: move things around so that both lyx-qt and
5768 lyx-xforms can be built (according to --with-frontend). Then lyx
5769 is a symbolic link to lyx-[firstfrontend]
5771 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5773 * Always use std::endl with lyxerr
5775 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5777 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5779 2003-08-01 André Pönitz <poenitz@gmx.net>
5782 * BufferView_pimpl.[Ch]:
5784 * text3.C: merge BufferView::repaint() and BufferView::update()
5786 2003-08-01 José Matos <jamatos@lyx.org>
5788 * buffer.[Ch]: file_format is no longer a buffer data element.
5790 2003-08-01 André Pönitz <poenitz@gmx.net>
5795 * text2.C: make redoParagraph more independent of current cursor
5797 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5799 * text2.C: remove unneeded members
5801 2003-07-30 André Pönitz <poenitz@gmx.net>
5803 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5805 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5806 create a single function...
5808 * paragraph_funcs.C (moveItem): ... here.
5811 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5813 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5815 * LColor.[Ch]: Add comment and greyedout logical colors.
5817 2003-07-30 André Pönitz <poenitz@gmx.net>
5819 * tabular.C: don't use Assert too heavily. This crashes where it
5822 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5824 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5825 is disabled (bug 1232)
5827 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5829 * factory.C: limited 'arg' scope
5831 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5833 * factory.C: fixed Note submenu issues
5835 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5837 * factory.C: submenu for Note/Comment/Greyedout
5839 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5842 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5844 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5847 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5848 greyedout. Patch provided by Jürgen Spitzmüller.
5850 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5852 * kbmap.C (read): fix error message when reading bind files
5854 2003-07-29 Angus Leeming <leeming@lyx.org>
5856 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5857 certainly does not do what it purports to do. I am doing it, and
5858 us, a favour by killing it.
5860 2003-07-28 José Matos <jamatos@lyx.org>
5862 * buffer.C (readBody, do_writeFile):
5863 * paragraph.C(readParagraph): \end_document replaces \the_end.
5865 2003-07-29 André Pönitz <poenitz@gmx.net>
5868 * BufferView_pimpl.[Ch]:
5872 * textcursor.[Ch]: remove toggleToggle & Co
5874 2003-07-28 José Matos <jamatos@fep.up.pt>
5876 * buffer.C (readParagraph):
5877 * params_func (readParToken, readParagraph):
5878 * paragraph.C (write): \layout -> \begin_layout.
5880 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * lyxlex_pimpl.C (setFile): clean up slightly.
5884 * bufferparams.h: add compressed var
5886 * buffer_funcs.C (readFile): adjust for LyXLex change
5887 (newFile): ditto + simplify
5889 * buffer.C (writeFile): handle writing of compressed files
5891 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5892 Check if the file is compressed and set a bufferparm if so.
5894 * Makefile.am (lyx_LDADD): remove explicit -lz
5896 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5898 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5899 makeDocBookFile): put the real LyX version in the first line of
5903 * version.C.in: remove lyx_docversion
5905 * tabular.C (write_attribute): add a template-based version to
5906 write enums properly
5908 2003-07-28 André Pönitz <poenitz@gmx.net>
5913 * text3.C: use doubles again for x-coordinates. They are needed.
5915 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5917 * messages.C (getLocaleDir): use lyx_localedir()
5919 * lyxlex_pimpl.C (setFile): compress stuff
5921 * buffer.C (writeFile): add some compression stuff
5922 (do_writeFile): new func, dont call expliti close... will this
5925 * Makefile.am (lyx_LDADD): add -lz
5927 2003-07-28 José Matos <jamatos@fep.up.pt>
5929 * buffer.C: increment file format.
5930 * paragraph_funcs (readParagraph, readParToken):
5931 * paragraph.C (readParagraph): add \end_layout.
5933 2003-07-27 Angus Leeming <leeming@lyx.org>
5935 * Makefile.am: remove special casing for configure-time setting of
5936 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5938 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5939 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5941 2003-07-26 André Pönitz <poenitz@gmx.net>
5943 * paragraph_func.[Ch]:
5944 * paragraph.C (realizeFont): inline it whereever it is used
5949 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5952 2003-07-26 André Pönitz <poenitz@gmx.net>
5956 * text2.C: get rid of LyXText::need_break_row
5958 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * toc.[Ch]: put namespace toc inside namespace lyx
5962 * MenuBackend.C (expandToc2): adjust for lyx::toc
5965 * lyxfunc.C (dispatch): adjust for lyx::find
5967 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5968 lyx::find instead. Reorganize a bit.
5969 (LyXReplace): rename to replace
5970 (LyXFind): rename to find
5972 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5975 2003-07-26 André Pönitz <poenitz@gmx.net>
5977 * text.C (setHeightOfRow): restrict scope of temporary variable
5979 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5980 code (never has been used?)
5982 2003-07-27 Asger Alstrup <alstrup@local>
5984 * text.C (fill): Optimise algorithm to exploit that we can reuse
5985 the LyXFont for many characters.
5986 (setHeightOfRow): Same thing.
5987 (rowBreakPoint): Same thing.
5989 2003-07-26 Asger Alstrup <alstrup@local>
5991 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5993 * text.C (singleWidth): Spurious font copying in hot-spot
5994 singleWidth avoided. Reorder tests for arabic for efficiency.
5996 * text.C (fill): handle empty paragraphs better.
5998 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6001 * encoding.h: add includes
6003 * lyxrc.C: remove reading of bind files
6005 * lyx_main.C (init): setup bindings and menus only if we have a
6008 * kbmap.C (read): new method. Do the actual reading of bind
6011 * converter.C (dvipdfm_options):
6014 (output): adapt PAPER_* enums.
6016 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6018 * bufferparams.h: remove paper-related enums from there
6020 * paper.h: New file. A trivial header file to hold paper-related
6021 enums. It should later expand to contain many paper-related
6024 * lyxrc.C: declare extern displayTranslator
6026 2003-07-27 José Matos <jamatos@fep.up.pt>
6028 * tabular.[Ch] (linuxdoc): add support for tables and figures
6031 2003-07-27 José Matos <jamatos@fep.up.pt>
6033 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6034 consistency in both functions.
6035 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6037 2003-07-26 Asger Alstrup <alstrup@local>
6039 * rowpainter.C (paintRows): Change algorithm to work directly on
6040 the insets rather than asking every character in the document
6041 whether its an inset.
6043 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6045 * buffer.C (openFileWrite): factorize some code
6047 2003-07-26 Angus Leeming <leeming@lyx.org>
6050 * lyx_main.[Ch]: replace occurances of system_tempdir with
6053 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * rename Inset to InsetOld
6057 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6059 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6060 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6061 which I think is a bit clearer. EDIT is gone, since it was
6062 premature optimisation, and broken for mathed anyway.
6063 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6064 with cursor positioning in insets as well (math insets still do not
6065 work, but that's a different story anyway.) It mysteriously
6066 crashes sometimes with undo in the first paragraph, but I'm fairly
6067 confident that this is a compiler bug.
6069 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * paragraph.C (Paragraph): adjust for new clone return type
6073 (copyIntoMinibuffer): ditto
6075 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6077 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6078 by not having a special case, and always doing a full rebreak of
6079 the document after undo.
6081 2003-07-23 Angus Leeming <leeming@lyx.org>
6083 * factory.C (createInset): InsetExternal::setParams now takes a
6086 2003-07-23 Angus Leeming <leeming@lyx.org>
6088 * factory.C (createInset): changed interface to the external and
6089 graphics mailers' string2params functions.
6091 2003-07-23 Angus Leeming <leeming@lyx.org>
6093 * factory.C (createInset): pass a
6094 Buffer const * parameter to InsetExternalMailer's string2params.
6096 2003-07-22 John Levon <levon@movementarian.org>
6098 * Thesaurus.h: include the right aiksaurus header
6100 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6102 * MenuBackend.C (expand): check menu shortcuts unconditionally
6104 2003-07-21 Angus Leeming <leeming@lyx.org>
6106 * factory.C (createInset): pass a
6107 buffer_path parameter to InsetGraphicsMailer's string2params.
6109 2003-07-21 Angus Leeming <leeming@lyx.org>
6111 * BufferView_pimpl.C (buffer):
6114 * lyxfunc.C (dispatch):
6115 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6116 rather than the grfx shortcut.
6118 2003-07-21 André Pönitz <poenitz@gmx.net>
6120 * rowpainter.C: remove unused variables
6123 * tabular_funcs.h: move to tabular.C
6124 * Makefile.am: adjust
6126 * tabular.[Ch]: basic optical cleaning
6128 * author.h: pass references, not values
6130 2003-07-18 André Pönitz <poenitz@gmx.net>
6138 * text3.C: two-phase drawing for InsetText and InsetTabular
6139 some float -> int changes.
6141 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6143 * lyx_main.C: fix the fix
6145 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6147 * lyx_main.C: fix a crash in batch mode if no files specified
6150 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6152 * format.[Ch] (papersize): moved to BufferParams
6153 * converter.[Ch] (dvips_options): moved to BufferParams
6154 (dvipdfm_options): moved to anon namespace
6155 * bufferparams.[Ch]: added above functions.
6157 2003-07-17 André Pönitz <poenitz@gmx.net>
6161 * text2.C: don't call inset->update() anymore
6163 * metricsinfo.[Ch]: add convenience constructor
6165 2003-07-16 André Pönitz <poenitz@gmx.net>
6170 * text2.C: replace the LyXCursor::irow_ member with
6171 on-demand computation of the value
6173 2003-07-16 John Levon <levon@movementarian.org>
6175 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6177 2003-07-15 André Pönitz <poenitz@gmx.net>
6180 * text2.C: remove no more needed refresh_row
6182 2003-07-15 André Pönitz <poenitz@gmx.net>
6187 * text3.C: refresh_status tristate -> need_update bool
6189 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6191 * lyxtext.h (init): remove reinit argument (act as if always true)
6192 * text2.C: adjust to that
6194 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6196 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6197 * text3.C: use it to delete selections in some cases
6198 (bugs 441, 673, 702, 954).
6200 2003-07-14 André Pönitz <poenitz@gmx.net>
6202 * rowpainter.[Ch]: reduce interface
6204 2003-07-14 André Pönitz <poenitz@gmx.net>
6206 * BufferView_pimpl.C:
6207 * text2.C: adjust after removing unused BufferView * argument
6209 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6211 * text2.C (init): fix a crash fired on resize
6213 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6215 * buffer.[Ch]: added new closing signal
6216 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6217 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6218 BufferView::Pimpl via the closing the signal
6220 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6222 * buffer.[Ch]: take out all bv-related from buffer
6224 * BufferView_pimpl.[Ch]: connect to new signals
6225 * CutAndPaste.C: removed useless asserts
6226 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6229 * lyxfunc.C: moved view-related funciontality from vc here
6230 * paragraph.C: removed outdated comments
6233 2003-07-10 André Pönitz <poenitz@gmx.net>
6235 * BufferView_pimpl.C:
6239 * text2.C: remove InsetText::InnerCache, clean up consequences
6241 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6243 * ispell.C: fix two typos in error messages
6245 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6247 * Extend Note inset to other forms of annotation like Comment
6248 and Greyedout. Right button click gives dialog.
6250 Files modified or added (+):
6254 * ControlNote.[Ch] +
6256 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6257 frontends/controllers
6261 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6263 * aspell.C: add missing namespace lyx::support
6265 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6267 * BufferView.[Ch] (newFile): Add
6268 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6269 * LaTeX.[Ch] (message): added this signal and use it
6270 * buffer.[Ch] (busy, message): added these signals and use them
6271 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6275 * importer.C: use buffer signals instead of direct bv calling
6276 * lyx_cb.[Ch] (ShowMessage): removed
6279 * paragraph_funcs.C:
6280 * text2.C: use buffer signals
6282 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * introduce namespace lyx::graphics
6286 2003-07-02 André Pönitz <poenitz@gmx.net>
6288 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6290 2003-07-01 André Pönitz <poenitz@gmx.net>
6297 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6298 text*.C to text_func.C
6300 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * introduce namespace lyx::support
6304 2003-06-30 André Pönitz <poenitz@gmx.net>
6309 * text.C: re-enable --with-included-string
6311 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6313 * textcursor.C: add <config.h>
6315 * text.C (getWord): remove const from word_location arg
6317 * lyxvc.C (getLogFile): fix const type order
6319 * lyxtext.h: remove const from word_location arg, add arg name
6321 * lyxlayout.h: currect type on labeltype.
6323 * importer.C: correct \file
6325 * converter.C (intToFormat): use std:: on ret val, ws changes
6327 * bufferlist.h: correct \file
6329 * buffer.C (makeLinuxDocFile): fix const type order
6330 (makeDocBookFile): ditto
6331 (fillWithBibKeys): use std:: on stdlib args.
6333 * CutAndPaste.C: fix authors.
6334 (availableSelections): use std:: on return vector
6336 2003-06-27 André Pönitz <poenitz@gmx.net>
6338 * BufferView_pimpl.C:
6339 * bufferview_funcs.C:
6347 * text3.C: remove LyXCursor::row_ member
6350 * text.C: rename fullRebreak() to partialRebreak() and implement
6351 a fullRebreak() that really bereks fully
6353 * textcursor.h: new struct for cursor-related data
6355 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6357 * lyx_main.C (LyX): get full path of document loaded on the
6360 2003-06-26 André Pönitz <poenitz@gmx.net>
6362 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6363 remove unused/broken operator>,<,>=.
6365 * text.C: remove only use of broken operator<= in an Assert().
6367 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6369 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6370 moved errorlist_.clear to showErrorList
6372 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6374 * converter.C (scanLog, runLaTeX):
6375 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6376 move the bv->showErrorList call to the callers
6377 * lyxfunc.C: i.e. here...
6379 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6380 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6381 namespace, the second to...
6382 * buffer_funcs (BufferFormat, parseErrors): added
6383 * errorlist.C (ErrorList(TeXErrors const &)): removed
6385 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6387 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6389 2003-06-24 "Garst R. Reese" <reese@isn.net>
6393 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6395 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6397 * version.C.in: change docversion to 1.4
6399 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6401 * buffer.C: fix a bug just introduced
6403 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6405 * buffer.[Ch]: added the parseError signal and use it, removed
6407 * BufferView.[Ch] (addError): moved to ...
6408 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6409 to the Buffer::parseError signal to catch (guess what) parse errors
6410 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6412 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6414 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6415 ability to create a buffer and to return an existing one from
6416 the list. Moved these functions to...
6417 * buffer_funcs.[Ch]: added
6418 * BufferView.[Ch] (loadLyXFile): added
6419 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6420 job removed from bufferlist::loadLyXFile.
6421 * buffer.C (setReadOnly): make it work without view
6422 (i.e added an if (users))
6424 2003-06-19 Angus Leeming <leeming@lyx.org>
6427 * LyXAction.C (init):
6428 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6429 with LFUN_DIALOG_SHOW <name> <data>.
6431 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6433 * CutAndPaste.C (availableSelections): small compilation fix for
6434 ancient (gcc 2.9x) compilers
6436 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * text3.C (cursorNext): add tmp var
6440 * text2.C (updateCounters): for function calling out of for clause
6441 (replaceSelectionWithString): ditto
6442 (insertStringAsParagraphs): ditto
6443 (getColumnNearX): add tmp var
6444 (setCursorFromCoordinates): add tmp var
6445 (cursorDownParagraph): add tmp var
6446 (deleteEmptyParagraphMechanism): add tmp var
6448 * text.C (insertChar): add tmp var
6450 * rowpainter.C (paintDepthBar): add tmp var
6452 * CutAndPaste.C (availableSelections): potentially check all
6453 paragraphs in a cut to fill the shown strings.
6455 2003-06-18 André Pönitz <poenitz@gmx.net>
6457 * kbmap.[Ch]: use vector<> instead of list<>
6459 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6461 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6462 pasteSelection with index
6464 * text2.C (pasteSelection): modify, call pasteSelection with index
6466 * paragraph.C (asString): reimplement version with no interval to
6467 call the one with interval.
6469 * lyxtext.h: add index arg to pasteSelection
6471 * MenuBackend.C (MenuItem): handle PasteRecent
6472 (Menu::read::Menutags): add md_pasterecent
6474 (expandPasteRecent): new function
6477 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6479 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6481 (availableSelections): new function
6483 2003-06-17 Angus Leeming <leeming@lyx.org>
6485 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6487 2003-06-17 Angus Leeming <leeming@lyx.org>
6490 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6492 * lyxfunc.C (dispatch): invoke it.
6494 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6496 * iterators.C (operator++, ParPosition): reintroduce some
6497 const_cast for the benefit of older compilers.
6499 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6501 * text3.C (dispatch): do not modify clipboard when doing
6502 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6503 LFUN_DELETE_SKIP on a selection selection
6505 2003-06-16 André Pönitz <poenitz@gmx.net>
6511 * tabular.[Ch]: IU of clone() and getLabelList();
6513 2003-06-13 André Pönitz <poenitz@gmx.net>
6515 * tabular.h: compactification
6517 2003-06-12 André Pönitz <poenitz@gmx.net>
6521 * tabular_funcs.h: some renaming plus whitespace
6523 2003-06-12 André Pönitz <poenitz@gmx.net>
6526 * BufferView_pimpl.C:
6532 * toc.C: Return a Paragraph & for ParIterator::operator*()
6534 2003-06-11 John Levon <levon@movementarian.org>
6538 * ToolbarBackend.C: add "Toolbars" section and
6541 2003-06-10 Angus Leeming <leeming@lyx.org>
6544 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6546 * lyxfunc.C (dispatch): invoke it.
6548 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * main.C: protect <ios> with HAVE_IOS
6551 (main): protect sync_with_stdio with HAVE_IOS
6553 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6555 * text2.C (cutSelection): adjust
6556 (pasteSelection): adjust
6558 * messages.C: handle get of empty string
6560 * main.C (main): use sync_with_stdio(false)
6562 * lyxfunc.C (dispatch): adjust
6564 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6565 (WriteAs): remove unneeded BufferView arg.
6567 * bufferparams.h: use correct types on papersize, papersize2 and
6570 * bufferparams.C (readToken): adjust for type
6571 (writeLaTeX): add missing cases to switch.
6573 * bufferlist.C (quitWriteBuffer): adjust
6576 * buffer.C (asciiParagraph): remove some commented code.
6578 * CutAndPaste.C: remove current_view extern variable.
6579 (cutSelection): add BufferParams arg.
6580 (eraseSelection): add BufferParams arg.
6581 (pasteSelection): add Buffer const & arg
6583 2003-06-07 John Levon <levon@movementarian.org>
6586 * paragraph_funcs.C:
6587 * paragraph_pimpl.C:
6591 * paragraph.C: allow InsetERT to freely space lines,
6592 and some consolidation of code
6594 2003-06-06 José Matos <jamatos@fep.up.pt>
6596 * buffer.C (makeDocBookFile): fix bug #821
6598 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6600 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6602 2003-06-04 Angus Leeming <leeming@lyx.org>
6604 * buffer.C: bump format to 224.
6606 2003-06-05 André Pönitz <poenitz@gmx.net>
6608 * text2.C (redoParagraphs): remove two const_cast<>
6610 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6612 * ParagraphList.h: remove last remnants of NO_STD_LIST
6614 2003-06-03 Angus Leeming <leeming@lyx.org>
6616 * factory.C (createInset): small change to the way InsetExternal's params
6619 2003-06-04 André Pönitz <poenitz@gmx.net>
6621 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6623 * paragraph_pimpl.h:
6624 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6626 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6628 * undo_funcs.C: make some simple cases of undo work again
6630 2003-06-03 John Levon <levon@movementarian.org>
6632 * ispell.C: HPUX doesn't have sys/select.h
6635 2003-06-03 John Levon <levon@movementarian.org>
6637 * CutAndPaste.C: update tabular and include inset
6642 * paragraph.C: remove owningBuffer(), don't pass Buffer
6645 * factory.C: insetGraphicsParams changed
6647 2003-06-02 John Levon <levon@movementarian.org>
6653 * text3.C: remove insetparent
6655 2003-06-02 John Levon <levon@movementarian.org>
6658 * buffer.C: fix inset_iterator.end(), move out of line
6661 2003-06-01 John Levon <levon@movementarian.org>
6663 * text3.C: use a proper cut/paste when doing inset
6664 insert (from Jürgen Spitzmüller)
6666 2003-06-01 John Levon <levon@movementarian.org>
6668 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6670 2003-05-30 André Pönitz <poenitz@gmx.net>
6672 * rowpainter.C: unify second drawing phase
6674 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6676 * trans_mgr.C: remove one case of current_view
6678 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6680 * paragraph_funcs.h: remove paragraph.h include
6682 * paragraph.h: delete NO_STD_LIST stuff
6684 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6686 * buffer.h: remove paragraph.h include
6688 * ParagraphList.C: delete file
6690 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6692 * toc.C (getTocList): adjust
6694 * paragraph_pimpl.C (validate): adjust
6696 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6698 * paragraph.C (Paragraph): adjust
6699 (getPositionOfInset): use const_iterator, adjust
6700 (bibitem): use const_iterator, adjust
6701 (setInsetOwner): adjust
6703 * iterators.C (operator++): adjust
6705 * InsetList.[Ch]: Replace selfmade iterator with standard
6706 vector::iterator also introduce const_iterator. Remove getPos,
6707 getInset and setInset from InsetTable. Adjust accordingly.
6709 * BufferView.C (lockInset): adjust
6710 (ChangeInsets): adjust
6712 * tabular.[Ch]: delete commented same_id functions
6714 2003-05-28 John Levon <levon@movementarian.org>
6716 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6718 2003-05-28 André Pönitz <poenitz@gmx.net>
6720 * metricsinfo.[Ch]: remove 'fullredraw' member
6722 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6724 * lyxtextclass.C (operator): remove caching.
6726 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * text2.C (cursorBottom): adjust
6731 (setCounter): use ParagraphList::find, adjust
6733 * text.C (workWidth): use ParagraphList::find, adjust
6735 * lyxcursor.C (LyXCursor): adjust
6737 * buffer.C (inset_iterator): adjust
6739 * ParagraphList.h: make iterator(value_type) private, make
6740 ParagraphList a friend of iterator.
6742 * ParagraphList.C (find): new function
6744 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6746 2003-05-27 André Pönitz <poenitz@gmx.net>
6748 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6750 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6752 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6754 2003-05-26 John Levon <levon@movementarian.org>
6756 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6758 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6760 * remove same_id from function signatures, adjust.
6762 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6764 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6766 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6768 * paragraph.C (Paragraph): get rid of same_ids parameter
6770 * ParagraphList.C (insert): adjust
6773 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * paragraph_funcs.C (breakParagraph): adjust
6776 (breakParagraphConservative): adjust
6778 * buffer.C (readParagraph): adjust
6780 * ParagraphList.C (insert): take a reference instead of a pointer
6783 * paragraph.[Ch] (id): new function
6785 * bufferlist.C (newFile): adjust
6787 * ParagraphList.C (ParagraphList): adjust
6789 (push_back): take a reference instead of a pointer.
6791 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6793 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6796 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6797 set else use old code.
6799 * ParagraphList.C: remove all NO_NEXT code and only compile this
6800 code of NO_STD_LIST is set.
6802 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6804 * BufferView_pimpl.C:
6814 * graphics/GraphicsConverter.C:
6815 * graphics/PreviewLoader.C: header adjustment
6817 2003-05-23 Angus Leeming <leeming@lyx.org>
6819 * LaTeXFeatures.[Ch] (useBabel): new method.
6820 * bufferparams.C (writeLaTeX): use it.
6822 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * ParagraphList.h (set): remove unused function.
6826 2003-05-23 André Pönitz <poenitz@gmx.net>
6829 * BufferView_pimpl.C:
6833 * undo_funcs.C: setUndo reworked
6835 * iterators.[Ch]: add access to topmost ParagraphList
6837 * lyxtext.[Ch] (workWidth): add a const
6839 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6841 * texrow.[Ch] (increasePos): remove function
6842 * exporter.C (export): removed unused var and outdated comment
6844 2003-05-23 Angus Leeming <leeming@lyx.org>
6846 * latexrunparams.h: rename fragile as moving_arg.
6847 * paragraph.C (simpleTeXOnePar): ditto.
6848 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6850 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6854 (textUndoOrRedo): comment out a currently unused var.
6856 * paragraph.h (NO_NEXT): enable NO_NEXT
6858 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6860 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6862 * exporter.C (Export): adjust for removeAutoInsets removal.
6864 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6866 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6868 * BufferView.[Ch] (removeAutoInsets): delete function
6870 2003-05-22 Angus Leeming <leeming@lyx.org>
6872 * latexrunparams.h: add a free_spacing variable.
6874 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6875 to pass moving_arg, as the data is stored in runparams.fragile.
6877 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6878 to Inset::latexOptional or to simpleTeXOnePar.
6880 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6881 free_spacing arg to Inset::latexOptional.
6883 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6886 2003-05-22 Angus Leeming <leeming@lyx.org>
6888 * latexrunparams.h: add fragile and use_babel variables.
6890 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6891 * buffer.C (makeLaTeXFile): store this returned value in
6892 runparams.use_babel, thus passing it to the inset::latex methods.
6894 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6895 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6897 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6898 longer has a fragile arg, as it is stored in runparams.fragile.
6900 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6901 moving_arg parameter as the data is stored in runparams.fragile.
6903 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6904 a fragile parameter as the data is stored in runparams.fragile.
6906 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6910 2003-05-22 Angus Leeming <leeming@lyx.org>
6912 * latexrunparams.h: add a 'bool nice' which defaults to false.
6914 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6915 now encapsulated within runparams.
6917 * bufferlist.C (updateIncludedTeXfiles):
6918 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6920 2003-05-22 Angus Leeming <leeming@lyx.org>
6922 * latexrunparams.h: new file containing struct LatexRunParams.
6923 * Makefile.am: add new file.
6925 * LaTeX.[Ch] (c-tor, run):
6926 * buffer.[Ch] (makeLaTeXFile):
6927 * bufferlist.[Ch] (updateIncludedTeXfiles):
6928 * converter.C (convert, scanLog):
6929 * converter.[Ch] (runLaTeX):
6930 * exporter.C (Export):
6931 * paragraph.[Ch] (simpleTeXOnePar):
6932 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6933 * paragraph_funcs.[Ch] (latexParagraphs):
6934 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6935 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6936 pass around a LatexRunParams parameter.
6938 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * paragraph.[Ch]: remove unused constructor
6942 * ParagraphList.C (erase): new function, taking two iterators
6944 2003-05-22 André Pönitz <poenitz@gmx.net>
6946 * undo_funcs.C: remove duplicated code
6948 * iterator.[Ch]: operator=
6950 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6952 * tabular.C (SetMultiColumn): ws changes
6954 * rowpainter.C (paintFirst): get rid of a ->previous
6956 * lyx_cb.C (getPossibleLabel): parlist simplification
6958 * BufferView.C (ChangeInsets): simplify slightly.
6960 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6962 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6963 * lfuns.h: new LFUN_SPACE
6964 * lyxfunc.C: protected space has a new lfun
6965 * paragraph_funcs.C: read new space insets
6967 * factory.C: handle new space insets
6969 2003-05-22 André Pönitz <poenitz@gmx.net>
6972 * BufferView_pimpl.C:
6975 * undo_funcs.C: return a ParIterator from getParFromID.
6977 * iterators.[Ch]: add two const's
6979 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6981 * toc.C (getTocList): adjust
6983 * iterators.[Ch]: rework for parlist
6985 * buffer.C (par_iterator_begin): adjust
6986 (par_iterator_end): adjust
6988 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6990 * BufferView.C (removeAutoInsets): adjust
6991 (ChangeInsets): adjust
6993 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6995 * text.C (top_y): fix bug 1110
6997 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6999 * errorlist.[Ch]: added
7002 * BufferView_pimpl.C:
7003 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7006 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7008 * Makefile.am: ensure that lyx is relinked upon changes to the
7009 various "convenience" libs.
7011 2003-05-20 Angus Leeming <leeming@lyx.org>
7013 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7014 files are compiled in alphabetical order again.
7016 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7018 2003-05-19 Angus Leeming <leeming@lyx.org>
7020 * gettext.[Ch]: remove "char const * _(char const *)".
7022 2003-05-19 André Pönitz <poenitz@gmx.net>
7024 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7033 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7035 2003-05-19 André Pönitz <poenitz@gmx.net>
7039 * lyxtextclass.[Ch]:
7041 * paragraph_funcs.[Ch]:
7043 * text3.C: more insetenv work
7045 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7047 * ParagraphParameters.C (params2string): small bug fixed
7049 2003-05-16 André Pönitz <poenitz@gmx.net>
7052 * bufferview_funcs.C: patch from Kornel Benko to prevent
7053 crash when _(...) is called twice in a statement
7055 2003-05-16 André Pönitz <poenitz@gmx.net>
7062 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7064 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7066 * lyx_main.C (init): remove spurious static_cast
7068 2003-05-14 André Pönitz <poenitz@gmx.net>
7070 * BufferView.C: fix format string
7072 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7074 * BufferView.[Ch] (insertErrors): removed
7075 * BufferView.[Ch] (showErrorList): added
7076 * buffer.C (runChkTeX):
7077 * converter.C (scanLog): call showErrorList instead of inserterrors
7079 2003-05-13 André Pönitz <poenitz@gmx.net>
7081 * BufferView_pimpl.C:
7083 * bufferview_func.C:
7090 * tabular_funcs.h: tostr() from its own header
7092 * ParagraphParameters.C:
7097 * text3.C: STRCONV()
7099 2003-05-12 André Pönitz <poenitz@gmx.net>
7102 * BufferView_pimpl.C:
7106 * ParagraphParameters.C:
7110 * bufferview_funcs.C:
7123 * paragraph_funcs.C:
7127 * text3.C: boost::format -> bformat all over the place
7130 2003-05-09 André Pönitz <poenitz@gmx.net>
7132 * LColor.[Ch]: Pimpl the #include <map> away
7134 2003-05-09 John Levon <levon@movementarian.org>
7136 * bufferlist.C: never remove emergency saves
7138 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7140 * Makefile.am: better lib building
7142 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7146 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7147 (simpleTeXSpecialChars): adjust
7148 (simpleTeXSpecialChars): adjust
7149 * paragraph.C (simpleTeXOnePar): adjust
7150 * buffer.C (makeLaTeXFile): adjust
7152 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7154 * text2.C (changeDepth): parlist cleanup
7155 (getColumnNearX): ditto
7157 * rowpainter.C (getLabelFont): parlist cleanup
7159 * bufferlist.C (newFile): parlist cleanup
7161 * CutAndPaste.C (eraseSelection): parlist cleanup
7163 * BufferView_pimpl.C (trackChanges): parlist cleanup
7166 * BufferView.C (lockInset): parlist cleanup.
7167 (ChangeInsets): ditto
7169 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7171 * CutAndPaste.h: Update file header.
7173 * CutAndPaste.C: Update file header.
7174 Store the parts cut out of the Document in a limited_stack.
7175 (copySelection): adjust
7176 (pasteSelection): new function, takes the index in the limited stack.
7177 (nrOfParagraphs): adjust
7178 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7179 simplify error inset insertion.
7180 (checkPastePossible): adjust
7182 2003-05-06 John Levon <levon@movementarian.org>
7184 * text2.C: don't cast wrap inset to float
7186 2003-05-05 André Pönitz <poenitz@gmx.net>
7189 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7191 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7192 few naked Paragraph *.
7194 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7196 * bufferparams.C: Output warning if a document with missing
7197 TeX document class is loaded
7198 * exporter.C: Disable TeX exports if the document class is missing
7201 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7202 isTeXClassAvailable()
7204 2003-05-03 John Levon <levon@movementarian.org>
7207 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7208 explicit cursor show/hide
7210 * BufferView_pimpl.h:
7211 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7212 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7214 * lyxfunc.C: hide cursor before dispatching.
7219 * text3.C: remove explicit cursor hides
7221 2003-05-02 André Pönitz <poenitz@gmx.net>
7223 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7226 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7229 * text2.C: tiny whitespace
7231 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7233 * undo_funcs.C: almost only ws changes.
7235 * ParagraphList.C (splice): just return if pl is empty.
7237 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * ParagraphList.C (splice): new function.
7241 * CutAndPaste.C (pasteSelection): use it
7243 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * CutAndPaste.C (pasteSelection): remove the last next and
7246 previous from this file.
7248 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * CutAndPaste.C (pasteSelection): more clean up, user proper
7251 ParagraphList functions for pasteing.
7253 * ParagraphList.C (insert): new function, three arg insert
7255 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * ParagraphList.C (insert): new function, three arg insert
7259 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7262 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7266 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7270 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7272 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7273 (copySelection): clean up a bit.
7274 (pasteSelection): use make_pair
7276 * ParagraphList.C (ParagraphList): implement copy constructor
7277 (operator=): implement, base on copy constructor.
7280 * paragraph.C (erase): return a bool
7282 * paragraph_pimpl.C (erasePos): remove function, move contents...
7283 (erase): ... here. Return a bool.
7284 (erase): call erase instead of erasePos.
7286 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7288 * ParagraphList.h: define PitPosPair
7289 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7290 ParagraphList, fix a bug on pasting multiple pars
7291 * text2.C: change interface to C&P
7293 2003-04-30 André Pönitz <poenitz@gmx.net>
7295 * undo_func.C: revert part of yesterday's patch 2
7297 2003-04-30 John Levon <levon@movementarian.org>
7299 * LColor.C: s/tabular/table/
7301 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * text3.C (dispatch): do not convert iterator -> pointer
7304 * undo_funcs.C (setCursorParUndo): ditto
7305 * text_funcs.C (transposeChars): ditto
7307 * text2.C (setLayout): ws changes only
7309 * text.C (breakParagraph): do not convert iterator -> pointer
7311 (acceptChange): ditto
7312 (rejectChange): ditto
7317 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7320 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7322 * text3.C (gotoInset): YABG (yet another bad getChar)
7324 2003-04-29 André Pönitz <poenitz@gmx.net>
7326 * paragraph.h: make operator= private unimplemented as long as
7329 * ParagraphList.C: whitespace
7332 * paragraph_pimpl.[Ch]:
7333 * paragraph_funcs.C:
7335 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7338 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7340 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7342 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7343 * paragraph.[Ch] (erase):
7344 * paragraph_pimpl.[Ch] (erase): change return type and value
7345 * text2.C (cutSelection): some rework
7347 2003-04-28 John Levon <levon@movementarian.org>
7349 * bufferlist.C: changes for unsaved changes dialog
7351 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7353 * bufferlist.C (newFile): set language (messages_) for new
7356 * buffer.C (readFile): ws changes only.
7358 2003-04-28 André Pönitz <poenitz@gmx.net>
7363 * BufferView_pimpl.C:
7364 * BufferView.C: getParFromID related ParagraphList::iterator changes
7366 2003-04-28 André Pönitz <poenitz@gmx.net>
7368 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7371 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7373 * messages.C: remove one more localedir class variable.
7375 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7377 * messages.C (getLocaleDir): singleton generation function
7379 (Messages): add a default constructor.
7381 * main.C (main): do not setup localedir here, do not call
7384 * gettext.C (_): use it.
7385 (gettext_init): delete funciton
7387 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * gettext.C (getLyXMessages): new singleton generating function.
7391 * buffer.C (updateDocLang): adjust
7393 * Makefile.am (messages.o): add target
7394 (main.o): remove target
7396 2003-04-27 John Levon <levon@movementarian.org>
7401 * lyxvc.C: specify cancel button in Alert::prompt
7403 2003-04-26 John Levon <levon@movementarian.org>
7408 * LyXAction.C: add LFUN_INSET_SETTINGS
7410 * lyxfunc.C: don't enable tabular-feature when there's
7411 just any locking inset
7413 2003-04-26 John Levon <levon@movementarian.org>
7415 * bufferlist.C: re-add Cancel to buffer close question
7417 * lyxfunc.C: fix import UI a bit
7419 2003-04-25 John Levon <levon@movementarian.org>
7421 * gettext.C: remove the broken asserts for now
7423 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * messages.C: make case where setlocale cannot comply work better.
7427 * buffer.C (updateDocLang): new function
7428 (changeLanguage): use it
7431 * text2.C (setCounter): use B_ a bit.
7433 * lyxlayout.C (Read): be sure to trim the label strings.
7435 * messages.C (Messages): fix typo in comment
7437 * buffer.C (readFile): set message_ after file is loaded.
7438 (makeDocBookFile): remove double return
7439 (changeLanguage): reset message_ upon language change.
7440 (B_): new func, use this to get translated buffer strings.
7442 * main.C: add myself and Jean Marc as authors.
7444 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * messages.[hC]: pimplify Messages, and three different pimpls to be
7447 used in different circumstances.
7449 * gettext.[Ch]: change for use with new message code.
7451 2003-04-24 André Pönitz <poenitz@gmx.net>
7453 * factory.C: support for eqref
7455 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * messages.[Ch]: add missing char
7459 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7461 * messages.[Ch]: New files
7463 2003-04-18 John Levon <levon@movementarian.org>
7467 * BufferView_pimpl.C:
7471 * text2.C: remove layout-copy/paste (bug 778)
7473 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7475 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7477 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7479 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7480 if they succeed. Act accordingly.
7482 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7484 * text2.C (setCharFont): adjust
7485 (setCounter): adjust
7486 (insertStringAsLines): adjust
7488 * text.C (leftMargin): adjust
7489 (setHeightOfRow): adjust
7491 * rowpainter.C (paintFirst): adjust
7494 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7496 (isFirstInSequence): ditto
7497 (getEndLabel): ditto
7500 * paragraph.C (getParLanguage): comment out some hard stuff.
7502 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7504 (simpleDocBookOnePar): ditto
7505 (makeDocBookFile): use ParagraphList::iterator
7507 * CutAndPaste.C (pasteSelection): adjust
7509 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * text2.C (getFont): adjust
7512 (getLayoutFont): adjust
7513 (getLabelFont): adjust
7515 * paragraph_funcs.C (TeXOnePar): adjust
7517 * buffer.C (simpleLinuxDocOnePar): adjust
7518 (simpleDocBookOnePar): adjust
7520 * CutAndPaste.C (pasteSelection): adjust
7522 * BufferView.C (getEncoding): adjust
7524 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7526 2003-04-16 John Levon <levon@movementarian.org>
7528 * lyxfind.C: use parlist stuff for search/changes
7530 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7534 * text2.C (deleteEmptyParagraphMechanism): adjust
7536 * text2.[Ch] (ownerParagraph): delete func (both of them
7538 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7540 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7542 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7544 * ParagraphList.C: prepare for NO_NEXT
7546 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7548 * text2.C (getFont): adjust
7549 (getLayoutFont): adjust
7550 (getLabelFont): adjust
7552 * paragraph.C (getFont): adjust
7553 (getLabelFont): adjust
7554 (getLayoutFont): adjust
7556 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7558 2003-04-15 John Levon <levon@movementarian.org>
7562 * lyx_main.C: handle Include in .ui files
7564 2003-04-15 John Levon <levon@movementarian.org>
7566 * MenuBackend.C: make the doc files length shorter
7569 * ToolbarBackend.C: handle toolbar placement flags,
7572 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7577 * paragraph_funcs.C (TeXOnePar): adjust
7579 * paragraph.C (getLabelFont): add outerfont arg, adjust
7580 (getLayoutFont): ditto
7581 (simpleTeXOnePar): adjust
7583 * paragraph_pimpl.C (realizeFont): delete func
7585 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7587 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7588 row argument, constify cur argument.
7590 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7592 * text2.C (getFont): adjust
7593 (getLayoutFont): adjust
7594 (getLabelFont): adjust
7596 * paragraph_funcs.C (TeXOnePar): adjust
7597 (outerFont): new func...
7598 (realizeFont): ...moved out from here, changed this to facilitate
7601 * paragraph.C (getFont): take outerfont as arg, adjust
7602 (simpleTeXOnePar): add outerfont arg, adjust
7604 * buffer.C (simpleLinuxDocOnePar): adjust
7605 (simpleDocBookOnePar): adjust
7607 * CutAndPaste.C (pasteSelection): adjust
7609 * BufferView.C (getEncoding): adjust
7611 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * text2.C (setCharFont): adjust
7614 (setCounter): adjust
7616 * text.C (leftMargin): adjust
7617 (setHeightOfRow): adjust
7619 * rowpainter.C (paintFirst): adjust
7622 * paragraph_pimpl.C (realizeFont): adjust
7624 * paragraph.C (isFirstInSequence): move from here...
7625 * paragraph_funcs.C (isFirstInSequence): ...to here
7627 * paragraph.C (outerHook): move from here...
7628 * paragraph_funcs.C (outerHook): ...to here
7630 * paragraph.C (depthHook): move from here...
7631 * paragraph_funcs.C (depthHook): ...to here
7633 * paragraph.C (getEndLabel): move from here...
7634 * paragraph_funcs.C (getEndLabel): ...to here
7636 * text2.C (realizeFont): move from here...
7637 * paragraph_funcs.C (realizeFont): ...to here
7639 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7641 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7643 2003-04-14 Angus Leeming <leeming@lyx.org>
7645 * LColor.[Ch]: scrap LColor mathcursor.
7647 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * lyxlex.[Ch] (text): delete function
7650 * trans.C (Load): adjust
7651 * paragraph_funcs.C (readParToken): adjust
7653 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7656 vector<char> instead of a char[].
7658 * lyxlex_pimpl.C (getString): adjust
7660 (lex): use getString
7664 * lyxlex.C (text): use pimpl_->getString()
7668 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7671 (makeFontEntriesLayoutSpecific): temp var for par.size()
7672 (setLayout): temp var for ownerParagraphs().end()
7673 (fullRebreak): temp var for rows().end()
7674 (selectionAsString): temp var for boost::next(startpit), realize
7675 that the while really is a regular for loop.
7676 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7677 setCursor in one place.
7678 (setParagraph): temp vr for ownerParagraphs().end()
7679 (updateCounters): make the while loop a for loop
7680 (cutSelection): temp var for ownerParagraphs().end()
7681 (updateInset): make the do {} while() a regular for loop
7682 (getCursorX): use temp vars
7683 (setCurrentFont): use temp vars
7684 (getColumnNearX): use temp vars
7686 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7688 * text.C (transformChar): use temp var for getChar
7689 (computeBidiTables): use temp var for row->par()
7690 (fill): move temp vars for row->par() and pit->layout() earlier in
7692 (labelFill): use temp var for row->par()
7693 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7694 asc and desc, realize that pit never changes and that firstpit is
7695 just a duplicate and not needed. Exchange rit->par() with pit in a
7697 (breakAgain): use a temp var for boost::next(rit)
7698 (breakAgainOneRow): ditto
7699 (breakParagraph): use a temp var for rows().begin()
7700 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7701 (cursorRightOneWord): use temp var for cursor.par() and
7702 cursor.pos(), remove usage of tmpcursor.
7703 (cursorLeftOneWord): use temp var for cursor.par() and
7704 cursor.pos() only set cur at end of function.
7706 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7708 * text.C, text2.C: exchange all usage of Paragraph::next with
7709 boost::next(ParagraphList::iterator)
7711 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7713 * text2.C (cursorTop): simplify implementation
7714 (cursorBottom): ditto
7715 (setParagraph): use ParagraphList::iterator
7716 (setCurrentFont): adjust
7717 (getColumnNearX): adjust
7718 (cursorRight): adjust
7719 (cursorLeft): remove usage of Paragraph::previous
7720 (cursorUpParagraph): ditto
7721 (deleteEmptyParagraphMechanism): slight cleanup
7723 * text.C (isBoundary): take a Paragraph const & instead of a
7725 (addressBreakPoint): ditto
7726 (leftMargin): remove usage of Paragraph::previous.
7727 (setHeightOfRow): ditto
7728 (cursorLeftOneWord): ditto
7729 (selectNextWordToSpellcheck): ditto
7732 (breakParagraph): remove one usage of Paragraph::next
7733 (redoParagraph): ditto
7734 (acceptChange): ditto
7735 (insertChar): adjust
7736 (rowBreakPoint): adjust
7738 * bufferview_funcs.C (toggleAndShow): adjust
7740 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7742 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7743 methods to access it.
7745 * text.C: Added updateRowPositions to compute all row positions.
7746 Make top_y and getRowNearY() to use the cached y position
7748 2003-04-11 John Levon <levon@movementarian.org>
7750 * text.C (rowBreakPoint): reintroduce the labelEnd
7751 checks, code copied from the row fill stuff. Deep voodoo.
7753 * text.C (fill): add a comment and debugging for the
7756 2003-04-11 John Levon <levon@movementarian.org>
7758 * text.C: make sure fullrow insets get wrapped to the next line,
7759 even when they're in a manual label
7761 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * text2.C (insertParagraph): make it take ParagraphList::iterator
7765 (setLayout): make it return ParagraphList::iterator
7766 (redoParagraphs): ditto
7768 (checkParagraph): ditto
7770 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7772 * text2.C: adjust several funcs.
7773 (realizeFont): take a ParagraphList::iterator as arg.
7774 (getLayoutFont): ditto
7775 (getLabelFont): ditto
7776 (setCharFont): ditto
7778 * text.C: adjust several funcs.
7780 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7782 * text.C (selectNextWordToSpellcheck): don't accidentally
7785 2003-04-10 John Levon <levon@movementarian.org>
7787 * ToolbarBackend.C (getIcon): special handling for
7790 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7792 * text2.C (cursorRight): a getChar assert fixed
7794 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * text2.C (getFont): change to take a ParagraphList::iterator
7797 instead of Paragraph*
7798 Adjust several functions.
7800 * text.C (transformChar): change to take a ParagraphList::iterator
7801 instead of Paragraph*
7802 (singleWidth): ditto
7803 Adjust several functions.
7805 * rowpainter.C: adjust several functions
7806 * rowpainter.h:store a ParagraphList::iterator and not a
7810 2003-04-09 John Levon <levon@movementarian.org>
7815 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7816 and the "help" bits as well
7818 2003-04-09 John Levon <levon@movementarian.org>
7821 * ToolbarBackend.C: allow multiple toolbars
7823 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * undo_funcs.C (setCursorParUndo): adjust
7827 * text_funcs.C (transposeChars): adjust
7829 * text3.C (gotoNextInset): adjust
7832 * text2.C (setLayout): adjust
7833 (changeDepth): adjust
7835 (redoParagraphs): adjust
7836 (selectionAsString): adjust
7837 (setParagraph): adjust
7838 (insertInset): adjust
7839 (cutSelection): adjust
7840 (copySelection): adjust
7841 (pasteSelection): adjust
7842 (insertStringAsLines): adjust
7843 (updateInset): adjust
7844 (setCursor): change to take a ParagraphList::iterator parameter
7845 (setCursorIntern): change to take a ParagraphList::iterator parameter
7846 (setCurrentFont): adjust
7847 (cursorLeft): adjust
7848 (cursorRight): adjust
7849 (deleteEmptyParagraphMechanism): adjust
7851 * text.C (breakParagraph): adjust
7852 (insertChar): adjust
7853 (acceptChange): adjust
7854 (rejectChange): adjust
7855 (selectNextWordToSpellcheck): adjust
7856 (changeCase): adjust
7860 * lyxfind.C (SearchForward): adjust
7861 (SearchBackward): adjust
7862 (nextChange): adjust
7864 * lyxcursor.C (par): adjust
7866 * lyxcursor.h: store a ParagraphList::iterator instead of a
7869 * lyx_cb.C (getPossibleLabel): adjust
7871 * bufferview_funcs.C (toggleAndShow): adjust
7873 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7876 * BufferView.C (removeAutoInsets): adjust
7877 (lockedInsetStoreUndo): adjust
7879 2003-04-09 John Levon <levon@movementarian.org>
7881 * ToolbarBackend.C: try icon without argument
7882 if with argument fails
7884 2003-04-08 John Levon <levon@movementarian.org>
7887 * ToolbarBackend.C: add getIcon(), handle tooltip,
7888 and change from "Icon" to "Item".
7890 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7892 * BufferView.C (lockInset): another bad getchar crunched
7894 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7896 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7899 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7901 * lyxfind.C (searchForward, searchBackwards): bug 782
7903 2003-04-07 John Levon <levon@movementarian.org>
7905 * paragraph.C: remove dead comment
7907 * text.C: remove troublesome depth-fiddling code
7908 in leftMargin() and rightMargin() (bug 1017)
7910 * text.C: fix breaking of rows in nested lists
7913 * text2.C (updateCounters): fix up depth values
7916 2003-04-07 John Levon <levon@movementarian.org>
7918 * BufferView_pimpl.C: clear message when doc finishes resizing,
7919 and after a mouse event
7921 * lyxfunc.C: clear message after exiting inset
7923 2003-04-07 John Levon <levon@movementarian.org>
7925 * bufferview_funcs.C: show math status not outside
7926 status in the statusbar
7928 2003-04-07 John Levon <levon@movementarian.org>
7930 * lyxfunc.C: note status changed after a depth change
7932 2003-04-04 Angus Leeming <leeming@lyx.org>
7934 * LaTeX.h: move AuxInfo operator==, != out of line.
7935 Remove LaTeX virtual destructor; nothing derives from it.
7936 Move operator()() out of public area and rename it startscript().
7937 Change protected for private.
7939 2003-04-04 Angus Leeming <leeming@lyx.org>
7942 * text2.C: remove unneeded #includes.
7944 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7946 * text2.C (dEPM): fix the heigth of the next row
7948 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7950 * text.C: squashed an invalid getChar requester + some ws changes
7952 2003-04-03 John Levon <levon@movementarian.org>
7954 * bufferview_funcs.h:
7955 * bufferview_funcs.C:
7958 * text2.C: make getStatus work for the env depth lfuns
7960 2003-04-03 John Levon <levon@movementarian.org>
7962 * bufferview_funcs.h:
7963 * bufferview_funcs.C:
7966 * text2.C: parlistize decDepth(), by merging it with incDepth()
7968 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * lyxrow.h: store a ParagraphList::iterator instead of a
7971 Paragraph* and adjust other class functions to suit.
7973 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7976 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7978 * text2.C (setCursor): do not anchor to cursor row for the time being
7980 2003-04-02 John Levon <levon@movementarian.org>
7987 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7989 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * paragraph.h: make ParagraphList and ParagraphList::iterator
7992 friends of Paragraph.
7994 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7996 * ParagraphList.C: Use the private next_ and previous_ from
7999 2003-04-01 John Levon <levon@movementarian.org>
8003 * Makefile.am: rename, remove defaults gunk
8006 * MenuBackend.C: remove defaults gunk
8009 * Languages.C: remove defaults gunk
8012 * lyx_main.C: error out if files couldn't be found.
8014 2003-04-02 John Levon <levon@movementarian.org>
8016 * text2.C: make incDepth() use parlist
8018 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * undo_funcs.C (firstUndoParagraph): adjust
8022 * text3.C (gotoInset): adjust
8023 (dispatch): adjust, and rewrite loop.
8025 * text2.C (init): adjust, and rewrite loop.
8026 (redoParagraphs): adjust
8027 (updateInset): adjust, and rewrite loop.
8028 (deleteEmptyParagraphMechanism): adjust
8030 * tabular.C (LyXTabular): adjust
8031 (SetMultiColumn): adjust
8034 * lyxtext.[Ch] (ownerParagraph): delete function
8035 (ownerParagraphs): new function returns a ParagraphList.
8037 * BufferView.C (removeAutoInsets): adjust
8038 (insertErrors): adjust
8039 (setCursorFromRow): adjust
8041 2003-04-01 Angus Leeming <leeming@lyx.org>
8043 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8046 2003-04-02 John Levon <levon@movementarian.org>
8052 * text_funcs.C: make transposeChars a free function
8054 * lyxrow_funcs.C: remove wrong comment
8056 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * rowpainter.C: adjust
8064 * lyxrow_funcs. [Ch]: new files
8066 * lyxrow.[Ch]: remove next and previous pointers
8067 (next,previous): remove accessor functions
8068 (isParEnd): move to lyxrow_funcs
8069 (lastPos): move to lyxrow_funcs
8070 (nextRowIsAllInset): move to lyxrow_funcs
8071 (lastPrintablePos): move to lyxrow_funcs
8072 (numberOfSeparators): move to lyxrow_funcs
8073 (numberOfHfills): move to lyxrow_funcs
8074 (numberOfLabelHfills): move to lyxrow_funcs
8075 (hfillExpansion): move to lyxrow_funcs
8079 * bufferview_funcs.C (toggleAndShow): adjust
8081 * RowList.h: Remove class RowList from file leave just a
8084 * RowList.C: delete file
8086 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8089 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * text3.C (cursorPrevious): adjust
8092 (cursorNext): adjust
8095 * text2.C (redoHeightOfParagraph): adjust
8096 (redoDrawingOfParagraph): adjust
8099 * text.C (breakParagraph): adjust
8100 (insertChar): adjust
8103 * rowpainter.C (RowPainter): adjust
8104 (leftMargin): simplify and adjust
8105 (most rowpainter functions): adjust.
8107 * rowpainter.h: store the row as RowList::iterator not as Row*
8109 * lyxcursor.C (row): taka RowList::iterator as arg
8112 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8115 2003-04-01 Angus Leeming <leeming@lyx.org>
8117 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8118 stuff like bool Bool.
8120 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8122 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8125 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8127 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8130 * lyxtext.h (rows): drop one version and leve a const variant that
8131 returns a RowList::iterator.
8133 2003-03-31 Angus Leeming <leeming@lyx.org>
8135 * text.C (fill): ensure that the signature is the same as that in the
8138 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * text2.C (redoParagraphs): adjust
8141 (updateCounters): adjust
8142 (checkParagraph): adjust
8143 (getColumnNearX): adjust and reformat a bit.
8145 * text.C (top_y): adjust
8147 (leftMargin): adjust
8148 (prepareToPrint): adjust
8150 (getRowNearY): adjust
8152 * lyxtext.h: make rowlist_ mutable.
8154 * RowList.h: add const_iterator
8155 * RowList.C: adjust for RowList::const_iterator.
8157 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8160 2003-03-31 John Levon <levon@movementarian.org>
8163 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8165 * lyx_main.C: set default fonts from using lyx_gui funcs
8167 * exporter.C: pdf_mode moved from lyxrc
8170 * lyxfunc.C: changes from above
8172 2003-03-31 John Levon <levon@movementarian.org>
8174 * lyx_main.C: fix to the last fix
8176 2003-03-31 John Levon <levon@movementarian.org>
8178 * bufferlist.C: "Load original" -> "Load Original"
8184 * format.C: more Alert cleanups
8186 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * text2.C (removeParagraph): make it take a RowList::iterator as
8190 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8191 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8193 * text.C (anchor_row): make it take a RowList::iterator as arg,
8195 (computeBidiTables): make it take a const reference to Row instead
8196 of Row pointer, adjust.
8197 (leftMargin): make it take a RowList::iterator as arg, adjust.
8198 (rowBreakPoint): adjust
8199 (breakAgainOneRow): make it take a RowList::iterator as arg,
8201 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8203 * bufferview_funcs.C (toggleAndShow): adjust
8205 2003-03-30 John Levon <levon@movementarian.org>
8209 * boost-inst.C: moved to support
8211 * several files: changes as a result
8213 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * text2.C (LyXText): adjust.
8217 (removeRow): make it take a RowList::iterator as arg, adjust.
8218 (fullRebreak): adjust
8219 (deleteEmptyParagraphMechanism): adjust
8220 (clearPaint): adjust
8223 * text.C (top_y): adjust
8224 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8225 (breakAgain): make it take a RowList::iterator as arg, adjust.
8226 (breakParagraph): adjust
8227 (insertChar): adjust
8230 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8231 need_break_row, and refresh_row.
8233 * text3.C (dispatch): adjust
8235 * text2.C (checkParagraph): adjust
8237 (setCursorFromCoordinates): adjust
8239 * text.C (top_y): adjust
8241 (getRow): make it return a RowList::iterator, adjust
8242 (getRowNearY): make it return a RowList::iterator, adjust
8244 * text2.C (init): adjust
8245 (insertRow): remove function
8246 (insertParagraph): adjust
8247 (redoParagraphs): adjust
8248 (fullRebreak): adjust
8249 (updateCounters): adjust
8251 * text.C (top_y): rewrite to use RowList iterators.
8253 (setHeightOfRow): rewrite to sue RowList iterators.
8254 (appendParagraph): adjust
8255 (breakAgain): adjust
8256 (breakAgainOneRow): adjust
8257 (breakParagraph): adjust
8259 (getRowNearY): adjust, and remove commented code.
8261 * lyxtext.h (firstRow): delete function
8262 (lastRow): delete function
8263 (rows): new function (const and non-const versions.)
8264 (insertRow): delete function
8266 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8268 2003-03-29 John Levon <levon@movementarian.org>
8270 * BufferView_pimpl.C: always update scrollbar top
8271 because pasting text when we're anchored could mean we
8272 miss an update altogether
8274 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * text2.C (init): use rowlist_.end() and not 0.
8277 (insertRow): change to take a RowList::iterator as arg, adjust
8279 (insertParagraph): change to take a RowList::iterator as arg,
8281 (redoParagraphs): remove some debug msgs.
8283 * text.C (appendParagraph): change to take a RowList::iterator
8284 arg, adjust for this.
8285 (breakAgain): add an assert
8286 (breakAgainOneRow): ditto
8288 2003-03-29 John Levon <levon@movementarian.org>
8290 * text2.C: do not clear selection after inc/decDepth
8293 2003-03-29 John Levon <levon@movementarian.org>
8296 * buffer.C: fix broken strerrors according to Lars
8298 2003-03-29 John Levon <levon@movementarian.org>
8300 * converters.C: more Alert cleanups
8302 2003-03-29 John Levon <levon@movementarian.org>
8304 * bufferview_funcs.C: remove pointless Alert
8306 * buffer.C: fix confusing error message when
8307 a template is chmoded 000
8309 2003-03-29 John Levon <levon@movementarian.org>
8313 * BufferView_pimpl.C: Alert fixes
8317 * tabular-old.C: remove unused table compat reading
8319 2003-03-29 John Levon <levon@movementarian.org>
8324 * lyx_cb.C: more Alert cleanups
8326 * lyxfunc.C: don't allow chktex if not latex document
8328 2003-03-29 John Levon <levon@movementarian.org>
8332 * buffer.C: warnings pushed down from support/,
8335 2003-03-29 John Levon <levon@movementarian.org>
8337 * lyxfunc.C: safety check for C-r (revert)
8339 2003-03-29 John Levon <levon@movementarian.org>
8342 * bufferlist.C: several UI fixes using Alert::prompt.
8343 Fix the pointless looping quit code. Fix stupid revert
8348 * lyx_cb.C: use Alert::prompt
8350 * lyx_main.C: remove a silly question
8352 * lyxfunc.C: remove a couple of silly questions,
8355 2003-03-28 John Levon <levon@movementarian.org>
8357 * text2.C: fix bug 974 (End on empty par)
8359 2003-03-28 John Levon <levon@movementarian.org>
8361 * BufferView_pimpl.C:
8363 * lfuns.h: remove do-nothing math greek lfuns
8365 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * lyxgluelength.h (isValidGlueLength): add default arg on
8368 parameter 2. Remove default arg from friend in class.
8370 * lyxlength.h (isValidLength): add default arg on parameter 2.
8371 Remove default arg from friend in class.
8373 * text2.C (LyXText): adjust, initialize refresh_row.
8377 (insertParagraph): adjst
8378 (redoParagraphs): adjust
8379 (fullRebreak): adjust
8380 (updateCounters): adjust
8381 (deleteEmptyParagraphMechanism): first attempt at fixing a
8384 * text.C (top_y): adjust
8385 (setHeightOfRow): adjust
8387 (getRowNearY): adjust
8389 * lyxtext.h: include RowList.h
8390 (~LyXText): not needed anymore, deleted.
8391 (firstRow): modify for RowList
8392 (lastRow): new function
8393 Delete firstrow and lastrow class variables, add a Rowlist
8394 rowlist_ class variable.
8396 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8399 * RowList.C (insert): fix case where it == begin().
8401 2003-03-26 Angus Leeming <leeming@lyx.org>
8403 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8404 the thesaurus dialog.
8406 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8410 * RowList.[Ch]: new files
8412 * ParagraphList.C (erase): handle the case where it == begin
8415 2003-03-25 John Levon <levon@movementarian.org>
8419 * aspell.C: add new aspell support
8422 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8425 2003-03-25 Angus Leeming <leeming@lyx.org>
8428 * LyXAction.C (init): new LFUN_INSET_INSERT.
8430 * BufferView_pimpl.C (dispatch): split out part of the
8431 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8433 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8436 2003-03-25 Angus Leeming <leeming@lyx.org>
8438 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8440 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8443 * text3.C: remove useless row->height(0)
8445 2003-03-25 John Levon <levon@movementarian.org>
8449 * text3.C: rename the refreshing stuff to better names
8451 2003-03-24 John Levon <levon@movementarian.org>
8453 * BufferView_pimpl.h:
8454 * BufferView_pimpl.C: update layout choice on a mouse
8457 2003-03-23 John Levon <levon@movementarian.org>
8459 * Makefile.am: fix commandtags.h reference
8461 2003-03-22 John Levon <levon@movementarian.org>
8463 * BufferView_pimpl.C:
8468 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8470 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8473 * text.C: take the rtl methods out of line
8475 2003-03-21 André Pönitz <poenitz@gmx.net>
8477 * metricsinfo.[Ch]: new files containing structures to be passed around
8478 during the two-phase-drawing...
8480 2003-03-21 André Pönitz <poenitz@gmx.net>
8482 * lyxtextclass.C: read 'environment' tag.
8484 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8486 * text2.C (removeRow): fix bug 964
8488 2003-03-20 John Levon <levon@movementarian.org>
8492 * text2.C: paint cleanups. Inset::update() dropped font
8495 2003-03-19 John Levon <levon@movementarian.org>
8497 * lyxfunc.C: only fitcursor/markDirty if available()
8499 2003-03-19 John Levon <levon@movementarian.org>
8501 * commandtags.h: rename to ...
8503 * lfuns.h: ... this, and renumber / cleanup
8505 2003-03-19 John Levon <levon@movementarian.org>
8507 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8508 fit the cursor after an lfun
8512 * BufferView_pimpl.h:
8513 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8515 * LyXAction.C: layout-character should have ReadOnly
8517 * ParagraphParameters.C:
8519 * bufferview_funcs.C:
8526 * undo_funcs.C: changes from above
8528 2003-03-18 John Levon <levon@movementarian.org>
8530 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8531 remove it from update()
8533 * lyxfunc.C: update layout choice after an lfun
8535 * text3.C: remove extra updateLayoutChoice()s
8537 2003-03-18 John Levon <levon@movementarian.org>
8539 * text.C: top_y change means full repaint, fix
8540 a drawing bug with cursor movement
8542 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8546 * text2.C: anchor row on setCursor
8548 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8550 * lyxtext.h: remove almost all mutable keywords
8553 * text3.C: remove const keywords accordingly
8555 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8557 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8559 (TeXEnvironment): ditto
8562 2003-03-17 John Levon <levon@movementarian.org>
8564 * text.C (rowBreakPoint): remove attempt to fix displayed
8565 math insets inside a manual label
8567 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8569 * lyxtext.h: remove BufferView* as first arg from almost all class
8571 * other files: adjust.
8573 2003-03-17 John Levon <levon@movementarian.org>
8577 * text2.C: more paint cleanups
8579 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8582 * rowpainter.C: remove "smart" background painting code
8584 2003-03-16 John Levon <levon@movementarian.org>
8589 * text3.C: add helper functions for setting refresh_row/y
8591 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8593 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8594 newline inset which *can* get inserted in the pass_thru layouts.
8595 This is primarily for literate documents.
8597 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8599 * buffer.C: increment LYX_FORMAT to 223
8601 2003-03-14 André Pönitz <poenitz@gmx.net>
8603 * textclass.h: prepare for environment handling, ws changes
8604 * lyxlayout.C: read latexheader and latexfooter tags
8606 2003-03-14 John Levon <levon@movementarian.org>
8608 * text2.C: rewrite ::status() a bit
8610 2003-03-13 John Levon <levon@movementarian.org>
8612 * lyxtext.h: add some docs
8614 2003-03-13 John Levon <levon@movementarian.org>
8619 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8621 2003-03-13 John Levon <levon@movementarian.org>
8623 * text3.C: fix appendix redrawing
8625 2003-03-13 John Levon <levon@movementarian.org>
8627 * text.C (setHeightOfRow):
8629 * rowpainter.C: make appendix mark have the text
8630 "Appendix" so the user knows what it is
8633 * LColor.C: s/appendixline/appendix/ from above
8635 2003-03-13 John Levon <levon@movementarian.org>
8637 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8639 * text.C: fix a getChar(pos) bug properly
8641 2003-03-13 Angus Leeming <leeming@lyx.org>
8644 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8645 Probably only temporary. Let's see how things pan out.
8647 * BufferView.C (unlockInset):
8648 * BufferView_pimpl.C (fitCursor):
8649 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8651 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8652 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8654 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8655 new functions that convert ParagraphParameters to and from a string.
8657 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8658 BufferView::Pimpl's dispatch.
8659 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8661 2003-03-13 André Pönitz <poenitz@gmx.net>
8665 * factory.C: make it aware of InsetEnv
8667 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8669 * text2.C (setCursor): never ask for one past last
8670 (setCursor): add some debugging messages.
8672 * text.C (singleWidth): never ask for one past last
8673 (singleWidth): ditto
8675 (rightMargin): ditto
8676 (rowBreakPoint): ditto
8677 (setHeightOfRow): ditto
8678 (prepareToPrint): ditto
8680 * rowpainter.C (paintBackground): never ask for one past last
8681 (paintText): never ask for one past last
8683 * paragraph_pimpl.C (getChar): make the assert stricter, never
8684 allow the one past last pos to be taken
8686 * paragraph.C (getChar): ws changes only
8688 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8689 (numberOfSeparators): ditto
8690 (numberOfHfills): ditto
8692 2003-03-12 John Levon <levon@movementarian.org>
8698 * paragraph_funcs.C: fix per-buffer authorlists
8700 2003-03-12 John Levon <levon@movementarian.org>
8702 * text.C: fix newline in right address
8704 2003-03-12 Angus Leeming <leeming@lyx.org>
8706 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8707 duplicate those in LyXFunc::dispatch.
8711 * ToolbarDefaults.C:
8712 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8713 Add LFUN_FONTFREE_UPDATE.
8715 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8716 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8718 * bufferview_func.[Ch]: several new functions to facilliate
8719 transfer of data to and from the character dialog.
8721 2003-03-12 John Levon <levon@movementarian.org>
8726 * paragraph_funcs.C:
8727 * paragraph_pimpl.C:
8731 * text3.C: remove META_NEWLINE in favour of an inset
8734 * rowpainter.C: remove paintNewline (done by inset)
8736 2003-03-12 John Levon <levon@movementarian.org>
8738 * paragraph_pimpl.C: complain about bad getChar()s
8739 for a while at least
8741 2003-03-12 John Levon <levon@movementarian.org>
8744 * buffer.C: move paragraph read into a separate function,
8745 a little renaming to reflect that.
8748 * bufferparams.C: remove the author_ids map, not necessary now
8751 * factory.C: moved Buffer::readInset to here
8753 * paragraph_funcs.h:
8754 * paragraph_funcs.C: readParagraph free function moved from
8757 * tabular.C: name change
8759 2003-03-12 John Levon <levon@movementarian.org>
8762 * ParagraphParameters.C: move par params input to
8765 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8766 behave like a normal read from the stream wrt reading
8767 a line vs. a \\token
8769 2003-03-12 John Levon <levon@movementarian.org>
8772 * ParagraphParameters.h:
8773 * ParagraphParameters.C: move output code to a
8776 2003-03-12 John Levon <levon@movementarian.org>
8778 * BufferView.C (insertLyXFile):
8781 * tabular.C: use a parlist iterator for creating the
8784 2003-03-12 John Levon <levon@movementarian.org>
8786 * buffer.C: make current_change static local not
8789 2003-03-12 John Levon <levon@movementarian.org>
8791 * buffer.C: fix insertStringAsLines for change tracking
8793 2003-03-12 John Levon <levon@movementarian.org>
8800 * bufferparams.C: move author list into params. Rename some
8801 functions. Move the header reading into a separate token
8802 loop. Move the header token reading into BufferParams.
8804 2003-03-12 John Levon <levon@movementarian.org>
8806 * changes.C: put debug inside lyxerr.debugging() checks
8808 2003-03-11 André Pönitz <poenitz@gmx.net>
8810 * factory.C: make it aware of InsetHFill
8812 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * buffer.C (latexParagraphs): move function from here...
8815 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8818 2003-03-10 Angus Leeming <leeming@lyx.org>
8820 * LyXAction.C (init): fix bug in poplating array with multiple entries
8821 with the same LFUN (spotted by JMarc).
8823 2003-03-10 John Levon <levon@movementarian.org>
8826 * text2.C: move getColumnNearX() near its
8829 2003-03-10 John Levon <levon@movementarian.org>
8831 * text.C: fix break before a minipage
8833 2003-03-10 John Levon <levon@movementarian.org>
8835 * text.C: fix the last commit
8837 2003-03-09 John Levon <levon@movementarian.org>
8841 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8842 bug 365 (don't break before insets unless needed). Don't
8843 return a value > last under any circumstances.
8845 2003-03-09 Angus Leeming <leeming@lyx.org>
8847 * BufferView_pimpl.C (trackChanges, dispatch): call
8848 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8850 2003-03-09 Angus Leeming <leeming@lyx.org>
8852 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8853 than Dialogs::showAboutlyx().
8855 2003-03-09 Angus Leeming <leeming@lyx.org>
8857 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8858 than Dialogs::showTabularCreate().
8860 2003-03-09 John Levon <levon@movementarian.org>
8864 * text2.C: 3rd arg to nextBreakPoint was always the same.
8867 2003-03-08 John Levon <levon@movementarian.org>
8874 * text2.C: Remove the "main" bit from the "main body"
8877 2003-03-08 John Levon <levon@movementarian.org>
8879 * text.C (leftMargin): The left margin of an empty
8880 manual label paragraph should not include the label width
8883 * text.C (prepareToPrint): don't attempt to measure hfills
8884 for empty manual label paragraphs - the answer should be 0
8886 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8888 * CutAndPaste.C: remove commented code and reindent.
8890 2003-03-08 John Levon <levon@movementarian.org>
8893 * lyxfunc.C: move reloadBuffer()
8896 * BufferView.C: to here
8898 * lyxvc.C: add comment
8901 * vc-backend.C: call bv->reload() to avoid
8902 getStatus() check on MENURELOAD
8904 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8906 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8907 to an old format .dep file.
8909 2003-03-07 Angus Leeming <leeming@lyx.org>
8911 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8912 when the LFUN_MOUSE_RELEASE should have been handled by
8913 inset->localDispatch.
8915 2003-03-07 Angus Leeming <leeming@lyx.org>
8917 * BufferView_pimpl.C (dispatch):
8918 * LyXAction.C (init):
8919 * ToolbarDefaults.C (init):
8921 * lyxfunc.C (getStatus):
8922 remove LFUN_INSET_GRAPHICS.
8924 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8926 2003-03-07 Angus Leeming <leeming@lyx.org>
8929 * LyXAction.C (init):
8930 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8932 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8935 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8937 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8938 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8940 2003-03-07 Angus Leeming <leeming@lyx.org>
8942 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8945 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8947 * ParagraphList.C (front): new function
8950 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8952 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8953 and top_row_offset_. removed var first_y.
8955 * text2.C (LyXText, removeRow):
8957 * BufferView_pimpl.C:
8958 use these methods instead of using first_y
8960 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * text2.C (pasteSelection): adjust for checkPastePossible
8964 * CutAndPaste.C: remove Paragraph * buf and replace with
8965 ParagraphList paragraphs.
8966 (DeleteBuffer): delete
8967 (cutSelection): change the tc type to textclass_type
8968 (copySelection): change the tc type to textclass_type
8969 (copySelection): adjust for ParagraphList
8970 (pasteSelection): change the tc type to textclass_type
8971 (pasteSelection): adjust for Paragraphlist
8972 (nrOfParagraphs): simplify for ParagraphList
8973 (checkPastePossible): simplify for ParagraphList
8974 (checkPastePossible): remove unused arg
8976 * ParagraphList.C (insert): handle the case where there are no
8979 * CutAndPaste.h: make CutAndPaste a namespace.
8981 * text3.C (dispatch): adjust
8983 * text.C (breakParagraph): add a ParagraphList as arg
8985 * paragraph_funcs.C (breakParagraph): change to take a
8986 BufferParams and a ParagraphList as args.
8987 (breakParagraphConservative): ditto
8988 (mergeParagraph): ditto
8989 (TeXDeeper): add a ParagraphList arg
8990 (TeXEnvironment): ditto
8993 * buffer.C (readLyXformat2): adjust
8994 (insertStringAsLines): adjust
8995 (latexParagraphs): adjust
8997 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8998 (cutSelection): adjust
8999 (pasteSelection): adjust
9001 * BufferView_pimpl.C (insertInset): adjust
9003 2003-03-05 Angus Leeming <leeming@lyx.org>
9006 * LyXAction.C (init):
9007 * BufferView_pimpl.C (dispatch):
9008 * lyxfunc.C (getStatus):
9009 remove LFUN_CHILD_INSERT.
9011 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9013 2003-03-05 Angus Leeming <leeming@lyx.org>
9016 * LyXAction.C (init):
9017 * src/factory.C (createInset):
9018 * lyxfunc.C (getStatus):
9019 * text3.C (dispatch):
9020 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9022 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9024 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9026 * ParagraphList.C (insert): handle insert right before end()
9027 (erase): fix cases where it can be first or last paragraph.
9029 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9031 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9032 Paragraph::next and Paragraph::previous
9035 * text.C (breakParagraph): adjust
9037 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9038 BufferParams& as arg.
9039 (breakParagraph): use ParagraphList::insert
9040 (breakParagraphConservative): take a Buffer* instead of a
9041 BufferParams& as arg.
9042 (breakParagraphConservative): use ParagraphList::insert.
9044 * buffer.C (insertStringAsLines): un-const it
9045 (insertStringAsLines): adjust
9047 * ParagraphList.C (insert): new function
9049 * CutAndPaste.C (pasteSelection): adjust
9051 * text.C (backspace): adjust
9053 * tabular.C (SetMultiColumn): adjust
9055 * CutAndPaste.C (cutSelection): adjust
9056 (pasteSelection): adjust
9058 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9059 Buffer const * as arg
9061 * ParagraphList.C (erase): new function
9062 * paragraph_funcs.C (mergeParagraph): use it
9063 (mergeParagraph): make it take a Buffer* instead of a
9064 BufferParams* as arg
9066 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9068 (breakParagraphConservative): ditto
9070 * paragraph.h: remove the breakParagraph friend
9072 * paragraph.C (eraseIntern): new function
9073 (setChange): new function
9075 * paragraph_funcs.C (mergeParagraph): make it take a
9076 ParagraphList::iterator instead of a Paragraph *, adjust
9079 * paragraph.h: move an #endif so that the change tracking stuff
9080 also works in the NO_NEXT case.
9082 2003-03-04 Angus Leeming <leeming@lyx.org>
9085 * LyXAction.C: new LFUN_INSET_MODIFY.
9087 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9088 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9090 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9092 * several files: ws changes only
9094 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9095 (TeXEnvironment): ditto
9098 * buffer.C (makeLaTeXFile): adjust
9099 (latexParagraphs): make it take ParagraphList::iterator as args
9101 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9103 * buffer.C (latexParagraphs): adjust
9105 * paragraph.C (TeXOnePar): move function...
9106 (optArgInset): move function...
9107 (TeXEnvironment): move function...
9108 * paragraph_pimpl.C (TeXDeeper): move function...
9109 * paragraph_funcs.C: ...here
9111 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9113 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9115 * buffer.C (readInset): remove compability code for old Figure and
9118 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9120 * buffer.C: ws changes
9123 * BufferView_pimpl.C: ditto
9126 * bufferlist.h: ditto
9130 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9132 * converter.[Ch]: split into itself +
9135 * Makefile.am: += graph.[Ch] + format.[Ch]
9142 * lyxrc.C: added #include "format.h"
9144 2003-02-27 Angus Leeming <leeming@lyx.org>
9146 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9149 * factory.C (createInset): add "label" to the factory.
9151 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9152 string and do no more.
9154 2003-02-27 Angus Leeming <leeming@lyx.org>
9157 * LyXAction.C (init):
9158 * factory.C (createInset):
9159 * BufferView_pimpl.C (dispatch):
9160 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9162 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9164 * lyxfunc.C (dispatch):
9165 * text3.C (dispatch): pass name to params2string.
9167 2003-02-26 Angus Leeming <leeming@lyx.org>
9169 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9171 Rearrange the ~includes. Strip out the unnecessary ones.
9173 * factory.C (createInset): reformat.
9174 create new insets for the various LFUN_XYZ_APPLY lfuns.
9176 2003-02-26 John Levon <levon@movementarian.org>
9179 * lyxrow.C: add isParStart,isParEnd helpers
9181 * paragraph.h: make isInserted/DeletedText take refs
9183 * paragraph_funcs.h:
9184 * paragraph_funcs.C: remove #if 0'd code
9189 * text.C: use lyxrow helpers above.
9190 Move draw and paint routines to RowPainter.
9191 Make several methods use refs not pointers.
9192 Make backgroundColor() const.
9193 Add markChangeInDraw(), isInInset().
9194 Merge changeRegionCase into changeCase.
9195 Make workWidth() shouldn't-happen code into an Assert.
9198 * rowpainter.C: new class for painting a row.
9201 * vspace.C: make inPixels take a ref
9203 2003-02-26 Angus Leeming <leeming@lyx.org>
9205 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9208 2003-02-25 John Levon <levon@movementarian.org>
9210 * ispell.C: give the forked command a more accurate name
9212 2003-02-22 John Levon <levon@movementarian.org>
9215 * toc.C: make TocItem store an id not a Paragraph *
9218 2003-02-21 Angus Leeming <leeming@lyx.org>
9220 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9221 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9222 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9223 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9224 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9225 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9227 * BufferView_pimpl.C (dispatch):
9228 * LyXAction.C (init):
9229 * factory.C (createInset):
9230 * lyxfunc.C (getStatus, dispatch):
9231 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9233 2003-02-21 Angus Leeming <leeming@lyx.org>
9235 * BufferView_pimpl.C (MenuInsertLyXFile):
9236 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9237 * lyxfunc.C (menuNew, open, doImport):
9238 no longer pass a LyXView & to fileDlg.
9240 2003-02-21 Angus Leeming <leeming@lyx.org>
9242 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9243 * LyXAction.C: change, BIBKEY to BIBITEM.
9244 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9245 Change InsetBibKey to InsetBibitem.
9246 Change BIBKEY_CODE to BIBITEM_CODE.
9247 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9248 * factory.C: replace insetbib.h with insetbibitem.h.
9249 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9250 * paragraph.C: replace insetbib.h with insetbibitem.h.
9251 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9252 Change bibkey() to bibitem().
9253 * text.C: remove insetbib.h.
9254 * text2.C: replace insetbib.h with insetbibitem.h.
9255 change bibkey() to bibitem().
9256 * text3.C: remove insetbib.h.
9257 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9259 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9261 * lyxrc.C (output): enclose user email in quotes (in case there are
9264 2003-02-18 John Levon <levon@movementarian.org>
9266 * buffer.h: add std::
9268 2003-02-17 John Levon <levon@movementarian.org>
9274 * pspell.C: reworking. Especially in ispell, a large
9275 number of clean ups and bug fixes.
9277 * lyxfunc.C: fix revert to behave sensibly
9279 2003-02-17 André Pönitz <poenitz@gmx.net>
9282 * commandtags.h: new LFUN_INSERT_BIBKEY
9292 * paragraph_func.C: remove special bibkey handling
9294 2003-02-17 John Levon <levon@movementarian.org>
9296 * text.C (Delete): fix case where delete at the end of
9297 the very first paragraph would not merge the pars
9299 2003-02-17 John Levon <levon@movementarian.org>
9301 * lyxrow.C: fix lastPrintablePos()
9303 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9305 * bufferparams.C (writeLaTeX): add a std:here
9307 * buffer.C: and remove a using directive there
9309 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * buffer.C (makeLaTeXFile): move the code that generates the
9314 * bufferparams.C (writeLaTeX): ... in this new method
9316 * LaTeXFeatures.C (getEncodingSet): make const
9317 (getLanguages): make const
9319 * MenuBackend.C (binding): returns the binding associated to this
9321 (add): sets the status of each item by calling getStatus. Adds
9323 (read): add support for OptSubMenu
9324 (expand): remove extra separator at the end of expanded menu
9326 2003-02-15 John Levon <levon@movementarian.org>
9329 * BufferView_pimpl.C:
9331 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9332 inset code that had no actual effect. Remove unneeded status
9335 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9340 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9342 * text.C (drawLengthMarker): also draw an arrow marker for
9343 symbolic lengths (medskip...)
9345 2003-02-14 John Levon <levon@movementarian.org>
9348 * tabular.C: better method names
9350 2003-02-14 John Levon <levon@movementarian.org>
9352 * BufferView_pimpl.C:
9357 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9358 it's a more accurate name. Remove some pointless uses.
9360 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9362 * text2.C (LyXText): change order of initilizers to shut off
9365 2003-02-14 John Levon <levon@movementarian.org>
9367 * buffer.C: use ParIterator for getParFromID()
9371 * paragraph_pimpl.h:
9372 * paragraph_pimpl.C: remove unused getParFromID()
9374 2003-02-14 John Levon <levon@movementarian.org>
9376 * buffer.C: remove some very old #if 0'd parse code
9378 2003-02-13 John Levon <levon@movementarian.org>
9382 * text2.C: move hfillExpansion(), numberOfSeparators(),
9383 rowLast(), rowLastPrintable(), numberofHfills(),
9384 numberOfLabelHfills() ...
9387 * lyxrow.C: ... to member functions here.
9392 * text.C: remove LyXText::beginningOfMainBody(), and call
9393 p->beginningOfMainBody() directly. Move the check for
9394 LABEL_MANUAL into the latter.
9401 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9407 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9408 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9410 2003-02-13 John Levon <levon@movementarian.org>
9412 * CutAndPaste.C: remove debug
9414 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9416 * paragraph.C (asString): remove two unused variables
9418 * lyxtextclass.C (readTitleType):
9420 (LyXTextClass): handle new members titletype_ and titlename_
9422 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9424 2003-02-09 John Levon <levon@movementarian.org>
9427 * buffer.C: replace hand-coded list with a map for the dep clean
9429 2003-02-08 John Levon <levon@movementarian.org>
9431 * LaTeX.C: consolidate code into showRunMessage() helper
9433 2003-02-08 John Levon <levon@movementarian.org>
9438 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9439 and pass the size in explicitly
9441 * BufferView_pimpl.h:
9442 * BufferView_pimpl.C:
9444 * BufferView.C: add getCurrentChange()
9446 * BufferView_pimpl.h:
9447 * BufferView_pimpl.C: handle change lfuns
9449 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9450 for changes. Mark pasted paragraphs as new.
9452 * support/lyxtime.h:
9453 * support/lyxtime.C:
9454 * DepTable.C: abstract time_t as lyx::time_type
9457 * LColor.C: add colours for new text, deleted text, changebars
9459 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9460 package use "usenames" option.
9464 * LyXAction.C: add change lfuns
9468 * author.C: author handling
9471 * buffer.C: add a per-buffer author list, with first entry as
9472 current author. Handle new .lyx tokens for change tracking. Output
9473 author list to .lyx file. Output dvipost stuff to .tex preamble.
9474 Bump lyx format to 222.
9477 * bufferlist.C: add setCurrentAuthor() to reset current author details
9481 * bufferparams.C: add param for tracking
9483 * bufferview_funcs.C: output change info in minibuffer
9487 * changes.C: add change-tracking structure
9490 * debug.C: add CHANGES debug flag
9493 * lyxfind.C: add code for finding the next change piece
9496 * lyxrc.C: add user_name and user_email
9499 * lyxrow.C: add a metric for the top of the text line
9502 * text.C: implement accept/rejectChange()
9505 * text.C: paint changebars. Paint new/deleted text in the chosen
9506 colours. Strike through deleted text.
9510 * paragraph_pimpl.h:
9511 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9512 in the current change to the insert functions. Rework erase to
9513 mark text as deleted, adding an eraseIntern() and a range-based
9514 erase(). Implement per-paragraph change lookup and
9517 * paragraph_funcs.C: Fixup paste for change tracking.
9519 * tabular.C: mark added row/columns as new.
9521 * text.C: fix rowLast() to never return -1. Don't allow
9522 spellchecking of deleted text. Track transpose changes. Don't
9523 allow paragraph break or merge where appropriate.
9525 * text2.C: leave cursor at end of selection after a cut.
9527 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9529 * text.C (getLengthMarkerHeight):
9530 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9531 visible on screen too.
9533 2003-02-07 John Levon <levon@movementarian.org>
9535 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9537 2003-02-05 Angus Leeming <leeming@lyx.org>
9539 * lyxserver.C (read_ready): revert my patch of 11 September last year
9540 as it sends PC cpu through the roof. Presumably this means that
9541 the lyxserver will no longer run on an Alpha...
9543 2003-01-30 Angus Leeming <leeming@lyx.org>
9545 * factory.C (createInset): create an InsetCommandParam of type "index"
9546 and use it to 'do the right thing'.
9548 * text2.C (getStringToIndex): ensure that cursor position is always
9549 reset to the reset_cursor position.
9551 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9553 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9556 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9560 * lyxfunc.C: Output messages with identical spelling, punctuation,
9563 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9565 * MenuBackend.C (expandFormats): List only viewable export formats
9568 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9571 * lyxfunc.C (getStatus): Make sure that formats other than
9572 "fax" can also be disabled
9574 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9576 * text3.C (dispatch): put the lfuns that insert insets in 3
9577 groups, and call doInsertInset with appropriate arguments.
9578 (doInsertInset): new function, that creates an inset and inserts
9579 it according to some boolean parameters.
9581 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9583 * buffer.C (readFile): remember to pass on 'par' when calling
9584 readFile recursively.
9586 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9588 * MenuBackend.C (expandFormats): add "..." to import formats.
9590 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9592 * paragraph.C (asString): Remove XForms RTL hacks.
9594 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9595 * buffer.C: fix typo
9597 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9599 * Makefile.am (LIBS): delete var
9600 (lyx_LDADD): add @LIBS@ here instead.
9602 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9604 * Clarify the meaning of "wheel mouse jump"
9606 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9608 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9611 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9613 * importer.C (Loaders): do not preallocate 3 elements in the
9614 vector, since one ends up with 6 elements otherwise
9616 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9618 * DepTable.C (write): write the file name as last element of the
9619 .dep file (because it may contain spaces)
9620 (read): read info in the right order
9622 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9624 * paragraph_pimpl.C (simpleTeXBlanks):
9625 (simpleTeXSpecialChars):
9626 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9628 * tabular.C (latex): add some missing case statements. Reindent.
9630 * MenuBackend.C (expandToc): remove unused variable.
9632 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9641 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9644 2003-01-05 John Levon <levon@movementarian.org>
9647 * BufferView.C: add getEncoding()
9650 * kbsequence.C: do not store last keypress
9653 * lyxfunc.C: store last keypress here instead. Pass encoding
9656 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * lyx_main.C (init): remove annoying error message when following
9659 symbolic links (bug #780)
9661 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9663 * text.C (insertChar):
9664 * lyxrc.C (getDescription): remove extra spaces
9666 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9668 * lyxrc.C (getDescription): remove extra spaces
9670 2002-12-20 John Levon <levon@movementarian.org>
9672 * text3.C: hack fix for page up/down across tall rows
9674 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9676 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9679 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9681 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9682 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9683 thesaurus is not compiled in
9685 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9687 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9689 2002-12-16 Angus Leeming <leeming@lyx.org>
9692 * lyx_main.C (init): remove override_x_deadkeys stuff.
9694 2002-12-12 John Levon <levon@movementarian.org>
9696 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9697 insert. Only remove shift modifier under strict
9700 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9702 * MenuBackend.C (expandToc): fix crash.
9704 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9706 * MenuBackend.C (expandToc): gettext on float names.
9708 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9710 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9711 implement bool empty() [bug 490]
9713 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9715 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9717 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9719 * several files: ws changes
9721 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9723 * text2.C (setCounter): clean up a bit, use boost.format.
9724 (updateCounters): initialize par upon declaration.
9726 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9727 if the layout exists. We do not just store the layout any more.
9728 (SwitchLayoutsBetweenClasses): use boost.format
9730 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9732 * converter.C (convert): if from and to files are the same, use a
9733 temporary files as intermediary
9735 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9740 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9742 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9744 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9746 * tabular.C (asciiPrintCell): use string(size, char) instead of
9749 * sgml.C (openTag): fix order of arguments to string constructor
9752 * lyxfunc.C (dispatch): use boost.format
9754 * lots of files: change "c" -> 'c'
9756 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9758 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9760 2002-11-25 Angus Leeming <leeming@lyx.org>
9762 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9764 * lyx_main.C (init): compile fix.
9766 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9768 * lyx_cb.C (start): boost.formatify
9769 do not include <iostream>
9771 * lengthcommon.C: ws only
9773 * boost-inst.C,BoostFormat.h: add more explict instantations
9775 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9777 * lots of files: handle USE_BOOST_FORMAT
9779 2002-11-21 John Levon <levon@movementarian.org>
9781 * pspell.C: fix compile
9783 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * lyxfunc.C (dispatch): use boost::format
9789 * lyxfont.C (stateText): use boost::format
9791 * lyx_main.C (LyX): use boost::format
9793 (queryUserLyXDir): ditto
9796 (typedef boost::function): use the recommened syntax.
9798 * importer.C (Import): use boost::format
9800 * debug.C (showLevel): use boost::format
9802 * converter.C (view): use boost::format
9807 * bufferview_funcs.C (currentState): use boost::format
9809 * bufferlist.C (emergencyWrite): use boost::format
9811 * buffer.C (readLyXformat2): use boost::format
9812 (parseSingleLyXformat2Token): ditto
9814 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9816 * LaTeX.C (run): use boost::format
9818 * Chktex.C (scanLogFile): use boost::format
9820 * BufferView_pimpl.C (savePosition): use boost::format
9821 (restorePosition): ditto
9822 (MenuInsertLyXFile): ditto
9824 * BoostFormat.h: help file for explicit instation.
9826 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9828 * tabular.C (latex): Support for block alignment in fixed width
9831 2002-11-17 John Levon <levon@movementarian.org>
9833 * BufferView_pimpl.C:
9835 * lyxfunc.C: split filedialog into open/save
9837 2002-11-08 Juergen Vigna <jug@sad.it>
9839 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9840 by my last patch (hopefully).
9842 2002-11-08 John Levon <levon@movementarian.org>
9851 * toc.C: ParConstIterator, and use it (from Lars)
9853 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9855 * lyxtextclass.[Ch]: revise and add doxygen comments
9857 2002-11-07 John Levon <levon@movementarian.org>
9859 * text.C: fix progress value for spellchecker
9861 * toc.C: fix navigate menu for insetwrap inside minipage
9863 * paragraph_funcs.C: added FIXME for suspect code
9865 2002-11-07 John Levon <levon@movementarian.org>
9867 * BufferView_pimpl.C: fix redrawing of insets
9870 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9872 * text2.C (updateCounters): fix bug 668
9874 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9876 * text3.C (dispatch): Do not make the buffer dirty when moving the
9879 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9881 * vc-backend.C: STRCONV
9884 * text2.C (setCounter): STRCONV
9886 * paragraph.C (asString): STRCONV
9888 * lyxlength.C (asString): STRCONV
9889 (asLatexString): ditto
9891 * lyxgluelength.C (asString): STRCONV
9892 (asLatexString): ditto
9894 * lyxfunc.C (dispatch): STRCONV
9897 * lyxfont.C (stateText): STRCONV
9899 * importer.C (Import): STRCONV
9901 * counters.C (labelItem): STRCONV
9902 (numberLabel): ditto
9903 (numberLabel): remove unused ostringstream o
9908 * bufferview_funcs.C (currentState): STRCONV
9910 * buffer.C (readFile): STRCONV
9911 (asciiParagraph): ditto
9912 (makeLaTeXFile): ditto
9914 * Spacing.C (writeEnvirBegin): STRCONV
9916 * LaTeXFeatures.C (getLanguages): STRCONV
9917 (getPackages): ditto
9919 (getBabelOptions): ditto
9920 (getTClassPreamble): ditto
9921 (getLyXSGMLEntities): ditto
9922 (getIncludedFiles): ditto
9926 (scanAuxFile): ditto
9929 * LString.h: add the STRCONV macros
9931 * BufferView_pimpl.C (savePosition): STRCONV
9932 (restorePosition): ditto
9933 (MenuInsertLyXFile): ditto
9935 * vc-backend.C (scanMaster): change from submatch[...] to
9938 * funcrequest.C: include config.h
9940 * factory.C: include config.h
9942 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9944 * box.C: include config.h
9946 * LaTeX.C (scanAuxFile): change from submatch[...] to
9950 2002-10-25 Angus Leeming <leeming@lyx.org>
9952 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9954 * ispell.[Ch] (setError): new method.
9955 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9956 Use setError() insetead of goto END.
9958 * lyx_cb.C (AutoSave): move out child process into new class
9961 2002-10-30 John Levon <levon@movementarian.org>
9963 * text3.C: make start appendix undoable
9965 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9967 * lyxlength.C (inPixels): Fix returned value.
9969 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9972 2002-10-24 Angus Leeming <leeming@lyx.org>
9974 * lyxgluelength.h: no need to forward declare BufferParams
9975 or BufferView, so don't.
9977 2002-10-21 John Levon <levon@movementarian.org>
9979 * BufferView.C: menuUndo ->undo, redo
9981 * BufferView.h: document, remove dead, make some methods private
9983 * paragraph_funcs.h:
9984 * paragraph_funcs.C:
9985 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9990 * sgml.C: move sgml open/close tag into sgml.C
9992 * bufferview_funcs.h: unused prototype
9995 * lyxfunc.C: remove unused
9998 * text.C: remove unused
10000 2002-10-21 John Levon <levon@movementarian.org>
10004 * BufferView_pimpl.h:
10005 * BufferView_pimpl.C: fix mouse wheel handling based on
10006 patch from Darren Freeman
10008 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10010 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10012 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10014 * lyxlength.C (inPixels): Fix hanfling of negative length.
10015 Fix LyXLength::MU case.
10017 2002-10-16 John Levon <levon@movementarian.org>
10019 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10021 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10023 * converter.C (view): add support for $$i (file name) and $$p
10024 (file path) for the viewer command. If $$i is not specified, then
10025 it is appended to the command (for compatibility with old syntax)
10027 2002-10-14 Juergen Vigna <jug@sad.it>
10029 * undo_funcs.C (textHandleUndo): alter the order in which the
10030 new undopar is added to the LyXText, as we have to set first
10031 the right prev/next and then add it as otherwise the rebuild of
10032 LyXText is not correct. Also reset the cursor to the right paragraph,
10033 with this IMO we could remove the hack in "redoParagraphs()".
10035 2002-10-09 Angus Leeming <leeming@lyx.org>
10037 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10038 to turn off an optimisation if a new inset is to be inserted.
10040 2002-10-11 André Pönitz <poenitz@gmx.net>
10042 * lyxtext.h: make some functions public to allow access
10043 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10045 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10047 * text3.C (dispatch): when changing layout, avoid an infinite loop
10050 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10052 * lyxrc.C (read): treat a viewer or converter command of "none" as
10055 * MenuBackend.C (expandFormats): for an update, also allow the
10056 formats that are not viewable
10058 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10059 script if it is newer than the lyxrc.defaults in user directory
10061 2002-10-07 André Pönitz <poenitz@gmx.net>
10063 * text.C: Vitaly Lipatov's small i18n fix
10065 2002-09-25 Angus Leeming <leeming@lyx.org>
10067 * ispell.h: doxygen fix.
10069 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10071 * buffer.h (readFile): Add a new argument to the method, to allow
10072 reading of old-format templates.
10074 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10076 * toc.C (getTocList): Get TOC from InsetWrap.
10078 2002-09-16 John Levon <levon@movementarian.org>
10080 * lyxfunc.C: check tabular for cut/copy too
10082 2002-09-12 John Levon <levon@movementarian.org>
10084 * LyXAction.C: tidy
10087 * factory.C: add header
10089 * paragraph_funcs.h:
10090 * paragraph_funcs.C: cleanup
10092 2002-09-11 John Levon <levon@movementarian.org>
10094 * PrinterParams.h: odd/even default to true
10096 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10098 * PrinterParams.h: update printer parameters for new xforms dialog
10100 2002-09-11 Angus Leeming <leeming@lyx.org>
10102 * lyxserver.C (read_ready): re-write to make it more transparent
10103 and to make it work in coherent fashion under Tru64 Unix.
10105 2002-09-11 André Pönitz <poenitz@gmx.net>
10109 * text3.C: implement LFUN_WORDSEL
10111 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10113 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10114 make floatlist_ a boost::shared_ptr<FloatList>
10116 * lyxtextclass.C: include FloatList.h
10117 (LyXTextClass): initialize floatlist_
10118 (TextClassTags): add TC_NOFLOAT
10119 (Read): match "nofloat" to TC_NOFLOAT and use it.
10120 (readFloat): modify call to floatlist_
10124 * FloatList.[Ch] (FloatList): remove commented out float
10126 (erase): new function
10128 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10130 * MenuBackend.C (expandToc): fix crash when there is no document
10133 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10135 * many files: Add insetwrap.
10137 2002-09-09 John Levon <levon@movementarian.org>
10139 * text2.C: remove confusing and awkward depth wraparound
10141 2002-09-09 John Levon <levon@movementarian.org>
10143 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10146 * buffer.C: remove getIncludeonlyList()
10149 * lyxfunc.C: remove headers
10151 2002-09-09 Juergen Vigna <jug@sad.it>
10153 * text.C (getColumnNearX): fix form Michael this is most
10154 probably a cut&paste bug.
10156 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10158 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10160 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10161 references, ws changes.
10163 * text2.C (init): update counters after init
10164 (insertParagraph): no need to set counter on idividual paragraphs.
10165 (setCounter): access the counters object in the textclass object
10166 on in the buffer object.
10167 (updateCounters): ditto
10169 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10170 shared_ptr<Counters> to avoid loading counters.h in all
10172 (LyXTextClass): initialize ctrs_
10173 (TextClassTags): add TC_COUNTER, and ...
10174 (Read): use it here.
10175 (CounterTags): new tags
10176 (readCounter): new function
10177 (counters): new funtion
10178 (defaultLayoutName): return a const reference
10180 * counters.C (Counters): remove contructor
10181 (newCounter): remove a couple of unneeded statements.
10182 (newCounter): simplify a bit.
10183 (numberLabel): some small formatting changes.
10185 * buffer.[Ch]: remove all traces of counters, move the Counters
10186 object to the LyXTextClass.
10188 2002-09-06 Alain Castera <castera@in2p3.fr>
10190 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10191 package to set the horizontal alignment on fixed width columns.
10194 * lyx_sty.h: added tabularnewline macro def.
10196 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10198 2002-09-06 John Levon <levon@movementarian.org>
10200 * LyXAction.C: tooltips for sub/superscript
10202 * MenuBackend.C: a bit more verbose
10204 * lyxfunc.C: tiny clean
10206 * undo_funcs.C: document undo_frozen
10208 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10210 * counters.C (Counters): add missing algorithm counter.
10212 * text2.C (setCounter): lookup the counter with layouts latexname
10213 instead of by section number.
10214 (setCounter): use a hackish way to lookup the correct enum
10216 a float name->type change
10217 reset enum couners with counter name directly instead of depth value.
10219 * counters.C (Counters): remove the push_backs, change to use the
10220 float type not the float name.
10221 (labelItem): remove unused string, float name->type change
10223 * counters.h: don't include vector, loose the enums and sects vectors
10225 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10227 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10228 (Read): add float->TC_FLOAT to textclassTags
10229 (Read): and handle it in the switch
10230 (readFloat): new function
10232 * FloatList.C (FloatList): comment out the hardcoded float
10235 * lyxlayout.h: ws change.
10237 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10239 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10241 2002-09-03 Angus Leeming <leeming@lyx.org>
10243 * BufferView_pimpl.h: qualified name is not allowed in member
10244 declaration: WorkArea & Pimpl::workarea() const;
10246 * factory.C: added using std::endl directive.
10248 * text3.C: added using std::find and std::vector directives.
10250 2002-08-29 André Pönitz <poenitz@gmx.net>
10253 * text2.C: remove unused member number_of_rows
10256 * BufferView2.C: remove file, move contents to...
10257 * BufferView.C: ... here
10259 * BufferView_pimpl.C:
10260 * factory.C: move more inset creation to factory
10262 * vspace.C: avoid direct usage of LyXText, ws changes
10265 don't provide direct access to WorkArea, use two simple
10266 acessors haveSelction() and workHeight() instead
10269 2002-08-29 John Levon <levon@movementarian.org>
10271 * BufferView_pimpl.C (dispatch): do not continue when
10274 2002-08-28 André Pönitz <poenitz@gmx.net>
10276 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10279 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10281 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10283 * buffer.C: increment LYX_FORMAT to 221
10285 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10286 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10288 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10290 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10292 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10294 * factory.C (createInset): use LyXTextClass::floats
10296 * MenuBackend.C (expandFloatListInsert):
10297 (expandFloatInsert):
10300 * text2.C (setCounter):
10302 * LaTeXFeatures.C (useFloat):
10303 (getFloatDefinitions):
10305 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10307 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10308 floatlist_, with accessor floats().
10310 * FloatList.h: remove global FloatList
10312 2002-08-26 André Pönitz <poenitz@gmx.net>
10314 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10318 * BufferView_pimpl.C:
10319 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10321 2002-08-25 John Levon <levon@movementarian.org>
10323 * LyXAction.C: fix margin note description
10325 2002-08-24 John Levon <levon@movementarian.org>
10329 * bufferview_funcs.C:
10331 * undo_funcs.C: cleanups
10333 * lyxfunc.C: disable CUT/COPY when no selection
10335 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10337 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10338 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10340 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10341 Add backward compatibility to "mono", "gray" and "no".
10343 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10345 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10346 (and file_format >= 200).
10348 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10350 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10352 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10356 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10358 * BufferView_pimpl.C:
10365 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10366 inset and code to make it work with the paragraph code. The inset
10367 can be anywhere in the paragraph, but will only do the expected
10368 thing in LaTeX if the layout file contains the parameter line
10370 (or more generally, a nonzero value) for that layout.
10372 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10374 * paragraph.h: remove the declaration of undefined counters class
10377 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10379 * text2.C (setCounter): fixed enumeration mis-count as reported by
10380 Dr. Richard Hawkins.
10382 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10384 * paragraph_funcs.h: remove some unneeded includes
10386 * text.C (backspace): pasteParagraph now in global scipe
10388 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10389 (pasteSelection): ditto
10391 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10392 * paragraph_funcs.C (pasteParagraph): ... here
10394 2002-08-20 André Pönitz <poenitz@gmx.net>
10396 * commandtags.h: new LFUNs for swapping/copying table row/colums
10399 * lyxfunc.C: support for new lfuns
10401 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10404 * buffer.[Ch]: remove NO_COMPABILITY stuff
10406 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10408 * boost.C (throw_exception): new file, with helper function for
10409 boost compiled without exceptions.
10414 * ParameterStruct.h:
10415 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10417 * bufferlist.C (emergencyWriteAll): use boost bind
10419 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10421 * text.C: include paragraph_funcs.h
10422 (breakParagraph): breakParagraph is now in global scope
10424 * paragraph_funcs.[Ch]: new files
10426 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10429 * buffer.C: include paragraph_funcs.h
10430 (insertStringAsLines): breakParagraph is now in global scope
10432 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10435 * CutAndPaste.C: include paragraph_funcs.h
10436 (cutSelection): breakParagraphConservative is now in global scope
10437 (pasteSelection): ditto
10439 * buffer.h: declare oprator== and operator!= for
10440 Buffer::inset_iterator
10442 * bufferlist.C (emergencyWrite): don't use fmt(...)
10444 * text3.C: add using std::endl
10446 * BufferView.C (moveCursorUpdate): remove default arg
10448 2002-08-20 André Pönitz <poenitz@gmx.net>
10450 * buffer.[Ch]: move inline functions to .C
10453 * BufferView_pimpl.C:
10455 * buffer.[Ch]: use improved inset_iterator
10458 * paragraph.[Ch]: write one paragraph at a time
10460 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10462 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10463 style if style is not specified.
10465 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10467 * text2.C (setCounter): when searching for right label for a
10468 caption, make sure to recurse to parent insets (so that a caption
10469 in a minipage in a figure float works) (bug #568)
10471 2002-08-20 André Pönitz <poenitz@gmx.net>
10473 * text3.C: new file for LyXText::dispatch() and helpers
10475 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10477 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10479 2002-08-19 André Pönitz <poenitz@gmx.net>
10482 * text.C: new LyXText::dispatch()
10484 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10486 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10488 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10490 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10493 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10495 * Makefile.am: use $(variables) instead of @substitutions@
10497 2002-08-15 André Pönitz <poenitz@gmx.net>
10500 * BufferView_pimpl.C: streamlining mathed <-> outer world
10504 * LyXAction.C: remove unused LFUN_MATH
10506 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10508 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10510 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10512 * paragraph.C (Paragraph): reformat a bit
10513 (cutIntoMinibuffer): use builtin InsetList function instad of
10517 * buffer.C: include boost/bind.hpp, add using std::for_each
10518 (writeFileAscii): use ParagraphList iterators
10519 (validate): use for_each for validate traversal of paragraphs
10520 (getBibkeyList): use ParagraphList iterators
10521 (resizeInsets): use for_each to resizeInsetsLyXText for all
10523 (getParFromID): use ParagraphList iterators
10525 * BufferView2.C (lockInset): use paragraph list and iterators
10527 2002-08-14 John Levon <levon@movementarian.org>
10529 * lyxserver.C: remove spurious xforms include
10531 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10535 2002-08-13 André Pönitz <poenitz@gmx.net>
10538 * lyxfunc.C: further cleaning
10540 2002-08-13 André Pönitz <poenitz@gmx.net>
10542 * funcrequest.h: new constructor
10544 * funcrequest.C: move stuff here from .h
10547 * BufferView_pimpl.C:
10550 * lyxfunc.C: subsequent changes
10552 * lyxfunc.h: new view() member function
10554 * lyxfunc.C: subsequent changes
10556 2002-08-13 Angus Leeming <leeming@lyx.org>
10559 * BufferView_pimpl.C:
10567 changes due to the changed LyXView interface that now returns references
10568 to member variables not pointers.
10570 2002-08-13 Angus Leeming <leeming@lyx.org>
10572 * WordLangTuple (word, lang_code): return references to strings,
10577 * lyxtext.h: forward-declare WordLangTuple.
10582 * text.C: #include "WordLangTuple.h".
10585 * text.C: (selectNextWordToSpellcheck): constify return type.
10587 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10593 * paragraph_pimpl.h:
10596 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10597 suggested by Angus.
10598 Made updateCounter always count from start of buffer, and removed
10599 second argument (par).
10600 Reverted floats number display to '#'. Perhaps I'll try again when the
10601 code base is sanitized a bit.
10603 2002-08-12 Angus Leeming <leeming@lyx.org>
10605 * buffer.[Ch] (getLabelList): constify.
10607 2002-08-07 André Pönitz <poenitz@gmx.net>
10609 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10611 * funcrequest.h: extension to keep mouse (x,y) position
10613 2002-08-12 Juergen Vigna <jug@sad.it>
10615 * BufferView2.C (insertErrors): forbid undo when inserting error
10618 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10620 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10622 * ParagraphList.[Ch]: new files
10624 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10626 * BufferView2.C (lockInset): ParagraphList changes
10629 * bufferlist.C: ditto
10633 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10635 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10636 unused class variable counter_,
10638 * paragraph.[Ch] (getFirstCounter): delete unused function
10640 * counters.C: include LAssert.h
10641 (reset): add a new function with no arg, change other version to
10642 not have def. arg and to not allow empty arg.
10644 * text2.C (setCounter): remove empty arg from call to Counters::reset
10646 2002-08-11 John Levon <levon@movementarian.org>
10648 * Makefile.am: add WordLangTuple.h
10650 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10652 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10653 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10655 * insets/insettext.C: InsetList changes
10657 * graphics/GraphicsSupport.C (operator()): InsetList changes
10659 * toc.C (getTocList): InsetList changes
10661 * paragraph_pimpl.[Ch]: InsetList changes
10663 * paragraph.[Ch]: InsetList changes
10665 * buffer.C (inset_iterator): InsetList changes
10666 (setParagraph): ditto
10667 * buffer.h (inset_iterator): ditto
10668 * iterators.C (operator++): ditto
10669 * iterators.h: ditto
10671 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10673 * InsetList.[Ch]: new files, most InsetList handling moved out of
10676 * BufferView2.C (removeAutoInsets): InsetList changes
10678 (ChangeInsets): ditto
10680 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10682 * paragraph_pimpl.h (empty): new function
10684 * paragraph.[Ch] (empty): new function
10686 * other files: use the new Paragraph::empty function
10688 2002-08-09 John Levon <levon@movementarian.org>
10690 * lyxtext.h: remove unused refresh_height
10692 2002-08-09 John Levon <levon@movementarian.org>
10699 * paragraph.C: move sgml char escaping out of paragraph
10702 * paragraph.C: remove id setter
10706 * paragraph_pimpl.C: remove dead tex_code_break_column
10708 * bufferview_funcs.C: small cleanup
10710 * lyxfunc.C: remove dead proto
10712 * lyxtext.h: make some stuff private. Remove some dead stuff.
10714 * lyxgluelength.C: make as[LyX]String() readable
10716 2002-08-08 John Levon <levon@movementarian.org>
10721 * ToolbarDefaults.C:
10724 * toc.C: lyxaction cleanup
10726 2002-08-08 John Levon <levon@movementarian.org>
10728 * BufferView2.C: small cleanup
10731 * lyxfind.C: move unnecessary header into the .C
10733 2002-08-08 John Levon <levon@movementarian.org>
10735 * funcrequest.h: just tedious nonsense
10738 * lyx_main.C: cleanups
10741 * vspace.C: remove dead header lyx_main.h
10743 2002-08-07 Angus Leeming <leeming@lyx.org>
10746 * paragraph_pimpl.h:
10747 Forward declare class Counters in paragraph.h by moving the ctrs member
10748 variable into Paragraph::Pimpl.
10749 (counters): new method, returning a reference to pimpl_->ctrs.
10751 * text2.C: ensuing changes.
10753 2002-08-07 John Levon <levon@movementarian.org>
10755 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10757 * BufferView_pimpl.C: announce X selection on double/triple
10760 * lyx_main.C: use correct bool in batch dispatch
10762 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10764 2002-08-07 André Pönitz <poenitz@gmx.net>
10766 * funcrequest.h: new class to wrap a kb_action and its argument
10769 * BufferView_pimpl[Ch]:
10773 * lyxrc.C: subsequent changes
10776 2002-08-07 John Levon <levon@movementarian.org>
10778 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10779 document options change.
10781 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10786 * makefile.am: move counters functionality over from
10787 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10789 2002-08-06 John Levon <levon@movementarian.org>
10791 * WordLangTuple.h: new file for word + language code tuple
10802 * BufferView2.C: use WordLangTuple
10805 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10807 2002-08-06 John Levon <levon@movementarian.org>
10809 * lyx_main.C: fix cmdline batch handling
10811 2002-08-06 André Pönitz <poenitz@gmx.net>
10813 * lyxrc.C: set default for show_banner to true
10815 2002-08-06 John Levon <levon@movementarian.org>
10817 * pspell.C: fix a crash, and allow new aspell to work
10819 2002-08-06 John Levon <levon@movementarian.org>
10822 * kbmap.C: small cleanup
10825 * vspace.C: add const
10827 2002-08-05 John Levon <levon@movementarian.org>
10829 * LyXAction.C: back to tabular-insert
10831 2002-08-04 John Levon <levon@movementarian.org>
10834 * BufferView.C: cosmetic change
10836 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10846 * BufferView2.C: purge all "Lyx" not "LyX" strings
10849 * lyxcursor.C: attempt to add some documentation
10854 * ToolbarDefaults.C:
10855 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10856 merge with LFUN_TABULAR_INSERT
10863 * pspell.C: split up i/pspell implementations into separate
10864 files, many cleanups
10866 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10868 * text2.C: some cleanup
10870 * lyxfunc.C: don't check for isp_command == "none" any more, it
10871 didn't make any sense
10873 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10878 * makefile.am: move counters functionality over
10879 from text2.C/paragraph.[Ch] to counters.[Ch], and
10881 2002-08-02 John Levon <levon@movementarian.org>
10883 * buffer.C: s/lyxconvert/lyx2lyx/
10885 2002-08-02 Angus Leeming <leeming@lyx.org>
10887 * lyxlex.C: revert John's change as it breaks reading of the user
10890 2002-08-02 Angus Leeming <leeming@lyx.org>
10892 * importer.C (Import):
10893 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10894 changes due to LyXView::view() now returning a boost::shared_ptr.
10896 2002-08-02 John Levon <levon@movementarian.org>
10898 * lyxlex.C: small cleanup
10900 2002-08-02 John Levon <levon@movementarian.org>
10902 * text2.C (status): small cleanup, no logic change
10904 2002-08-01 John Levon <levon@movementarian.org>
10907 * buffer.C (writeFile): don't output alerts, caller
10911 * lyx_cb.C: from above
10913 * lyxfunc.C: allow to open non-existent files
10915 2002-07-31 John Levon <levon@movementarian.org>
10917 * lyxserver.C: don't let incidental errors get
10920 2002-07-30 John Levon <levon@movementarian.org>
10922 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10924 2002-07-30 John Levon <levon@movementarian.org>
10927 * lyxserver.C: remove I/O callback too
10929 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10934 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10936 * many files: strip,frontStrip -> trim,ltrim,rtrim
10938 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10940 * PrinterParams.h: remove extern containsOnly, and include
10941 support/lstrings.h instead.
10943 * LaTeX.C (scanAuxFile): modify because of strip changes
10945 * buffer.C (makeLaTeXFile): ditto
10946 * bufferparams.C (writeFile): ditt
10947 * lyxfont.C (stateText): ditto
10948 * lyxserver.C (read_ready): ditto
10949 * vc-backend.C (scanMaster): ditto
10951 * BufferView_pimpl.h: ws changes
10953 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10955 2002-07-26 André Pönitz <poenitz@gmx.net>
10957 * kb_sequence.C: remove unnedred usings
10959 2002-07-26 Juergen Vigna <jug@sad.it>
10961 * lyxfind.C (LyXReplace): we have to check better if the returned
10962 text is not of theLockingInset()->getLockingInset().
10964 2002-07-25 Juergen Vigna <jug@sad.it>
10966 * lyxfind.C (LyXReplace): don't replace if we don't get the
10969 * undo_funcs.C (createUndo): remove debugging code.
10971 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10973 * buffer.C (parseSingleLyXformat2Token): Use default placement
10974 when reading old floats.
10976 * FloatList.C (FloatList): Change the default placement of figure
10977 and tables to "tbp".
10979 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10981 * MenuBackend.C: using std::max
10983 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10985 * MenuBackend.C (expandToc):
10986 (expandToc2): code moved from xforms menu frontend. It is now
10987 generic and TOCs are transparent to menu frontends.
10989 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * toc.C (getTocList): protect against buf=0
10993 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10994 Menu as first parameter. Now, this calls itself recursively to
10995 expand a whole tree (this will be useful for TOC handling)
10996 (expandFloatInsert): remove 'wide' version of floats
10998 * MenuBackend.h (submenuname): returns the name of the submenu.
10999 (submenu): returns the submenu itself, provided it has been
11000 created by MenuBackend::expand
11002 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11005 insets which have noFontChange == true. (bug #172)
11007 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11009 * BufferView_pimpl.C: add connection objects and use them...
11012 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11014 * MenuBackend.C (expandLastfiles):
11017 (expandFloatListInsert):
11018 (expandFloatInsert):
11019 (expand): split expand in parts
11021 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11023 * lyx_gui.C: use lyx_gui::exit()
11025 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11027 * LyXAction.C: show the failing pseudo action
11029 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11031 * buffer.C (readFile): Run the lyxconvert script in order to read
11034 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11038 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11040 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11044 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11046 2002-07-22 Herbert Voss <voss@lyx.org>
11049 * lyxlength.[Ch]: add support for the vertical lengths
11051 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11053 * toc.[Ch]: std:: fixes
11055 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11057 * lyxrc.C: do not include lyx_main.h
11059 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11065 * BufferView2.C: include "lyxlex.h"
11068 * bufferparams.h: do not #include "lyxlex.h"
11070 * lyxtextclasslist.C (Add): remove method
11071 (classlist): renamed to classlist_
11073 * paragraph_pimpl.C:
11077 * bufferview_funcs.C:
11082 * toc.C (getTocList): use BufferParams::getLyXTextClass
11084 * toc.C (getTocList): use InsetFloat::addToToc
11086 * toc.[Ch]: new files, containing helper functions to handle table
11089 * lyxfunc.C (dispatch): no need to remove spaces around command
11091 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11092 first command of the sequence; it is not very clever, but I do not
11093 have a better idea, actually
11095 * LyXAction.C (LookupFunc): make sure to remove space at the
11096 beginning and end of the command
11098 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * MenuBackend.C (getMenubar): new method: return the menubar of
11102 (read): treat differently reading of menu and menubar (in
11103 particular, the menubar has no name now)
11104 (Menu::menubar): remove
11106 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11109 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11111 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11112 a bibitem inset in a RTL paragraph.
11114 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11116 * paragraph_pimpl.C: constify
11118 * BufferView_pimpl.C:
11120 * lyxfunc.C: fix dispatch in a nicer way
11122 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * lyxfunc.C (dispatch):
11125 * BufferView_pimpl.C:
11126 * BufferView_pimpl.h:
11128 * BufferView.h: rename Dispatch() to dispatch()
11130 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11132 * lyxlayout.C (Read): honor DependsOn tag
11134 * lyxlayout.[Ch] (depends_on): new method
11136 * version.C.in: update lyx_docversion
11138 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11140 * paragraph.C (validate): remove from here...
11141 * paragraph_pimpl.C (validate): ... and move here
11142 (isTextAt): make it const
11144 * buffer.C (getLists): ws cleanup
11146 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11148 * language.C (read): Use iso8859-1 encoding in latex_lang
11149 (this prevents LyX from crashing when using iso10646-1 encoding).
11151 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * text2.C (toggleInset): if cursor is inside an inset, close the
11154 inset and leave cursor _after_ it
11156 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11158 * lyxfunc.C: move minibuffer completion handling out of here
11160 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11162 * BufferView_pimpl.C:
11163 * LaTeX.C: fix dispatch calls
11165 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11167 * text.C (drawChars): Fix Arabic text rendering.
11169 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11173 * lyxfunc.C: remove message-push/pop
11177 * lyxfunc.C: rationalise some code by removing verboseDispatch
11178 in favour of a bool argument to dispatch()
11180 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * lyx_main.C (init): make sure to read symlinks as absolute paths
11184 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11187 * lyxfunc.C: no need for commandshortcut to be a member
11189 2002-07-15 André Pönitz <poenitz@gmx.net>
11191 * converter.C: add support for $$s (scripts from lib/scripts dir)
11192 * lyx_main.C: white space
11194 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11198 * lyxrc.C: remove second exit confirmation
11200 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11205 * BufferView_pimpl.h:
11206 * BufferView_pimpl.C:
11207 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11209 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11211 * MenuBackend.C (expand): add numeric shortcuts to document menu
11213 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11215 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11217 * lyxfont.C (setLyXFamily):
11224 * buffer.C (asciiParagraph): use ascii_lowercase
11226 2002-07-15 Mike Fabian <mfabian@suse.de>
11228 * lyxlex_pimpl.C (search_kw):
11229 * lyxlex.C (getLongString):
11230 * converter.h (operator<):
11231 * converter.C (operator<):
11232 * buffer.C (parseSingleLyXformat2Token):
11234 * ToolbarDefaults.C (read):
11235 * MenuBackend.C (checkShortcuts):
11237 * LColor.C (getFromGUIName):
11238 (getFromLyXName): use the compare_ascii_no_case instead of
11239 compare_no_case, because in turkish, 'i' is not the lowercase
11240 version of 'I', and thus turkish locale breaks parsing of tags.
11242 2002-07-16 Angus Leeming <leeming@lyx.org>
11244 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11245 now takes a Buffer const & argument.
11247 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11249 * BufferView.C (resize): check there's a buffer to resize
11251 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11253 * lyxfunc.C: remove dead code
11256 * lyxserver.C: use lyx_guii::set_read_callback
11258 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11260 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11261 an inset in a RTL paragraph.
11263 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11265 * lyxfunc.C: repaint after a font size update
11267 2002-07-15 André Pönitz <poenitz@gmx.net>
11269 * lyxlength.C: inBP should be able to return negative values
11271 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11273 * lyxfunc.C: use lyx_gui::update_fonts()
11275 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11277 * lyxfunc.C: use lyx_gui::update_color()
11279 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11285 * lyxrc.C: remove file->new asks for name option, and let
11286 buffer-new take an argument
11288 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11290 * BufferView_pimpl.C: remove unneeded extra repaint()
11292 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11294 * LyXAction.C: allow command-sequence with NoBuffer
11296 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11298 2002-07-10 Angus Leeming <leeming@lyx.org>
11300 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11302 2002-07-09 Angus Leeming <leeming@lyx.org>
11304 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11306 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11308 * lengthcommon.h: whitespace
11310 * lyxfunc.C: update scrollbar after goto paragraph
11312 * lyxtext.h: factor out page break drawing, and fix it so
11313 page break/added space paints as selected nicely
11315 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11317 * BufferView_pimpl.C: add FIXMEs, clean up a little
11319 2002-07-09 André Pönitz <poenitz@gmx.net>
11321 * lyxfont.[Ch]: support for wasy symbols
11323 2002-07-08 André Pönitz <poenitz@gmx.net>
11325 * BufferView_pimpl.C: apply John's patch for #93.
11327 2002-07-05 Angus Leeming <leeming@lyx.org>
11329 * BufferView_pimpl.C (buffer): generate previews if desired.
11331 * LColor.h: add "preview" to the color enum.
11333 * LColor.C (LColor): add a corresponding entry to the items array.
11335 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11338 2002-07-05 Angus Leeming <leeming@lyx.org>
11340 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11341 The body of the code is now in the method that is passed an ostream &
11342 rather than a file name.
11343 Pass an additional only_preamble parameter, useful for the forthcoming
11346 2002-07-03 André Pönitz <poenitz@gmx.net>
11348 * lyxfunc.C: simplify getStatus() a bit for math stuff
11350 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11352 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11354 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11356 * text.C (changeRegionCase): do not change case of all the
11357 document when region ends at paragraph end (bug #461)
11359 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11361 * paragraph.C (startTeXParParams):
11362 (endTeXParParams): add \protect when necessary
11364 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11366 * BufferView_pimpl.C (workAreaExpose): remove warning
11368 2002-06-27 Angus Leeming <leeming@lyx.org>
11370 * Makefile.am: add lyxlayout_ptr_fwd.h.
11372 2002-06-26 André Pönitz <poenitz@gmx.net>
11374 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11376 2002-06-25 Angus Leeming <leeming@lyx.org>
11378 * lyxfunc.C (dispatch): Comment out the call to
11379 grfx::GCache::changeDisplay. The method no longer exists now that the
11380 pixmap generation part of the graphics loader has been moved into
11383 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * text2.C: layout as layout
11387 * text.C: layout as layout
11389 * tabular.C (OldFormatRead): layout as layout
11391 * paragraph_pimpl.C (TeXDeeper): layout as layout
11392 (realizeFont): layout as layout
11394 * paragraph.C (writeFile): layout as layout
11395 (validate): layout as layout
11396 (getFont): layout as layout
11397 (getLabelFont): layout as layout
11398 (getLayoutFont): layout as layout
11399 (breakParagraph): layout as layout
11400 (stripLeadingSpaces): layout as layout
11401 (getEndLabel): layout as layout
11402 (getMaxDepthAfter): layout as layout
11403 (applyLayout): layout as layout
11404 (TeXOnePar): layout as layout
11405 (simpleTeXOnePar): layout as layout
11406 (TeXEnvironment): layout as layout
11407 (layout): layout as layout
11408 (layout): layout as layout
11410 * lyxtextclass.C (compare_name): new functor to work with
11411 shared_ptr, layout as layout
11412 (Read): layout as layout
11413 (hasLayout): layout as layout
11414 (operator): layout as layout
11415 (delete_layout): layout as layout
11416 (defaultLayout): layout as layout
11418 * lyxlayout_ptr_fwd.h: new file
11420 * lyxlayout.C (Read): layout as layout
11422 * lyx_cb.C (MenuInsertLabel): layout as layout
11424 * bufferlist.C (newFile): layout as layout
11426 * buffer.C (readLyXformat2): layout as layout
11427 (parseSingleLyXformat2Token): layout as layout
11428 (insertStringAsLines): layout as layout
11429 (asciiParagraph): layout as layout
11430 (latexParagraphs): layout as layout
11431 (makeLinuxDocFile): layout as layout
11432 (simpleLinuxDocOnePar): layout as layout
11433 (makeDocBookFile): layout as layout
11434 (simpleDocBookOnePar): layout as layout
11435 (getLists): layout as layout
11437 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11439 * CutAndPaste.C (cutSelection): layout as layout
11440 (pasteSelection): layout as layout
11441 (SwitchLayoutsBetweenClasses): layout as layout
11443 * BufferView_pimpl.C (Dispatch): layout as layout
11444 (smartQuote): layout as layout
11446 * BufferView2.C (unlockInset): layout as layout
11448 2002-06-24 André Pönitz <poenitz@gmx.net>
11450 * lyxfunc.C: fix #487
11452 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11456 * lyxfunc.C: remove display_shortcuts, show_banner
11458 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11460 * Buffer_pimpl.C: oops, update on resize
11462 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11469 * BufferView.C: use repaint()
11471 * BufferView_pimpl.h:
11472 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11473 as it's a clearer description. Remove superfluous
11476 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11478 * text.C: fix bug 488. Not ideal, but getting
11479 getWord() to work properly for the insets that
11480 matter is more difficult ...
11482 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11484 * BufferView_pimpl.C:
11487 * lyxfunc.C: remove the six million index lyxfuncs to just
11488 one, and DTRT (bug 458)
11490 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11494 * BufferView_pimpl.h:
11495 * BufferView_pimpl.C: clean up resize() stuff,
11496 and unnecessary updateScreen()s
11498 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11502 * BufferView_pimpl.h:
11503 * BufferView_pimpl.C:
11506 * minibuffer.C: remove focus management of workarea,
11507 not needed. Use screen's greyOut()
11509 2002-06-17 Herbert Voss <voss@lyx.org>
11511 * converter.C: (convert) do not post a message, when converting
11512 fails, let the calling function decide what to do in this case
11514 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11516 * lyxfunc.C: tidy up a little
11518 2002-06-16 <alstrup@diku.dk>
11520 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11521 Got rid of FORMS_H_LOCATION include. Now we are
11524 2002-06-15 LyX Development team <lyx@rilke>
11526 * buffer.[Ch] (sgmlOpenTag):
11527 (sgmlCloseTag): Added support for avoiding pernicious mixed
11528 content. Return number of lines written.
11530 (makeLinuxDocFile):
11531 (makeDocBookFile): Fixed calls to sgml*Tag.
11532 Simple white space clean.
11534 (simpleDocBookOnePar): Simple white space clean.
11536 * tabular.[Ch] (docBook): Renamed to docbook and got another
11537 argument to related with the pernicious mixed content.
11539 (docbookRow): Fixed calls for docbook inset method.
11541 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11543 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11544 so it's X11 independent.
11548 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11550 2002-06-15 Lyx Development team <lyx@electronia>
11552 * intl.h: Renamed getTrans to getTransManager.
11554 2002-06-14 Angus Leeming <leeming@lyx.org>
11556 * Makefile.am: nuke forgotten stl_string_fwd.h.
11558 2002-06-12 Angus Leeming <leeming@lyx.org>
11560 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11562 2002-06-13 Angus Leeming <leeming@lyx.org>
11565 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11567 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11569 * kbmap.C (getiso): add support for cyrillic and greek
11571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11575 * BufferView_pimpl.h:
11576 * BufferView_pimpl.C: move bogus scrolling logic
11579 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11582 * BufferView_pimpl.C: view->resize() change
11584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11586 * BufferView_pimpl.C: topCursorVisible
11589 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11593 * lyx_gui.C: move to frontends/
11597 * lyx_main.C: changes from above
11599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11606 * lyx_main.C: minor tidy
11608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11610 * BufferView_pimpl.h:
11611 * BufferView_pimpl.C:
11613 * BufferView.C: make painter() const,
11616 * BufferView2.C: use screen() accessor
11619 * lyx_main.C: some minor cleanup
11621 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11623 * BufferView_pimpl.h:
11624 * BufferView_pimpl.C: remove enter/leaveView,
11627 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11632 * BufferView_pimpl.h:
11633 * BufferView_pimpl.C: only construct screen once,
11636 * lyxrc.C: remove pointless comment
11638 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11641 * BufferView.C: remove active() and belowMouse()
11643 * BufferView_pimpl.h:
11644 * BufferView_pimpl.C: use workarea() not workarea_,
11645 and make it use a scoped_ptr instead
11647 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11649 * lyx_gui.C: add debug message on BadWindow
11651 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11653 * sp_spell.C: fdopen is not part of the C++ standard.
11655 * paragraph.C (InsetIterator): use >= instead of ==
11657 2002-06-07 Angus Leeming <leeming@lyx.org>
11659 Fixes needed to compile with Compaq cxx 6.5.
11660 * BufferView_pimpl.C:
11667 * lyxtextclasslist.C:
11672 all c-library variables have been moved into namespace std. Wrap
11673 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11678 Add a using std::abs declaration.
11680 * kbmap.h (modifier_pair):
11681 * paragraph.h (InsetTable, InsetList):
11682 * lyxfont.h (FontBits):
11683 type definition made public.
11685 * bufferlist.C (emergencyWriteAll): the compiler complains that
11686 there is more than one possible lyx::class_fun template to choose from.
11687 I re-named the void specialisation as lyx::void_class_fun.
11689 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11691 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11692 the compiler is is unable to find tostr in write_attribute.
11694 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11696 * buffer.C (sgmlError): hide #warning
11698 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11700 * xtl/*: get rid of xtl, which is not in use anyway
11702 * LyXAction.C (init):
11703 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11704 were unimplemented xtl experimentation
11706 2002-06-04 André Pönitz <poenitz@gmx.net>
11708 * lyxfunc.C: disable array operation on simple formulae
11710 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11712 * converter.C: constify a bit
11714 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11716 * lyx_gui.C: check xforms version correctly
11718 2002-04-30 Herbert Voss <voss@lyx.org>
11720 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11723 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11725 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11726 attempt to register it with a VCS)
11728 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11730 * lyx_main.C (init): honor variables LYX_DIR_13x and
11733 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11737 * lyx_main.C: fix a crash on bad command line,
11738 and give a useful exit status on error
11740 * lyxfunc.C (doImport): allow -i lyx to work
11742 2002-03-30 André Pönitz <poenitz@gmx.net>
11744 * lyxfunc.C: mathed font changes
11746 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11761 * trans_mgr.h: srcdocs, and some minor cleanups
11763 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11765 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11766 call getFont all the time)
11768 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11770 * switch from SigC signals to boost::signals
11772 2002-05-29 André Pönitz <poenitz@gmx.net>
11774 * paragraph_pimpl.C (getChar): don't call size() too often...
11776 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * paragraph_pimpl.C (insertChar): do not try to update tables when
11779 appending (pos == size())
11781 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11782 in order to reduce drastically the number of comparisons needed to
11783 parse a large document
11785 2002-05-29 André Pönitz <poenitz@gmx.net>
11791 * textclasslist.[Ch]:
11792 * sp_ispell.h: whitespace change
11794 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11797 lyxaction directly now.
11799 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11803 * lyxvc.C: remove unused headers
11805 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11812 * undo_funcs.C: some cleanups. Use shared_ptr
11813 and a template for the undo stacks.
11815 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11817 * BufferView_pimpl.h:
11818 * BufferView_pimpl.C:
11825 * text2.C: use key_state/mouse_state
11827 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11832 * chset.C: change include order
11833 (loadFile): use boost regex and get rid of LRegex and LSubstring
11835 * Makefile.am (BOOST_LIBS): new variable
11836 (lyx_LDADD): use it
11838 * LaTeX.C: change include order.
11839 (scanAuxFile): use boost regex and get rid of LRegex and
11843 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11848 * FontInfo.C: moved to frontends/xforms/
11851 * FontLoader.C: moved into frontends for GUIIzation
11856 * lyxfunc.C: changes from above
11858 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11860 * LColor.C: remove spurious X include
11862 * BufferView_pimpl.C:
11867 * text2.C: move font metrics to frontends/
11869 2002-05-24 Juergen Vigna <jug@sad.it>
11871 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11872 setting the undo_cursor.
11874 * ParagraphParameters.h: include local includes first.
11876 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11878 * BufferView_pimpl.C:
11879 * BufferView_pimpl.h:
11883 * screen.C: move WorkArea into frontends/
11889 * BufferView2.C: move LyXScreen into frontends/
11893 * lyx_gui.C: move lyxlookup into frontends/xforms/
11895 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11898 * BufferView_pimpl.C:
11908 * bufferview_funcs.C:
11921 * vc-backend.C: move LyX/XFormsView into frontends/
11923 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11935 * text2.C: move Painter to frontends/
11937 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11939 * buffer.C: comment out some some code that depend upon lyx_format
11942 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11943 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11945 * buffer.h (NO_COMPABILITY): turn off compability
11947 * ColorHandler.C: include scoped_array.hpp
11949 * font.C: Use more specific smart_ptr header.
11952 * ShareContainer.h: ditto
11953 * lyx_main.h: ditto
11955 * FontInfo.h: ditto
11956 * BufferView_pimpl.h: ditto
11957 * ColorHandler.h: ditto
11959 * kbmap.C (defkey): change call to shared_ptr::reset
11961 2002-05-21 Juergen Vigna <jug@sad.it>
11963 * buffer.C (insertErtContents): fix to insert ert asis if it is
11964 non empty. Skip it completely if it contains only whitespaces.
11966 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11968 * BufferView_pimpl.C:
11969 * BufferView2.C: clear selection on paste (bug 393)
11971 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11973 * DepTable.C: include ctime
11975 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11977 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11979 2002-05-14 Juergen Vigna <jug@sad.it>
11981 * text.C (breakParagraph): fixed function to honor the keepempty
11982 layout in the right maner and also to permit the right breaking
11983 algorithm on empty or non empyt keepempty paragraphs.
11985 * paragraph.C (breakParagraph): we have to check also if the par
11986 is really empty (!size()) for isempty otherwise we do the wrong
11989 2002-05-10 Juergen Vigna <jug@sad.it>
11991 * buffer.[Ch] : The following are only changes to the ert
11992 compatibility read reading old LaTeX layout and font stuff and
11993 convert it to ERTInsets.
11995 * buffer.h: added isErtInset().
11997 * buffer.C (struct ErtComp): add a fromlayout bool to check
11998 if we're inside a LaTeX layout.
11999 (isErtInset): new helper function.
12000 (insertErtContents): look for other ert insets before this one
12001 and insert the contents there, so that we don't have subsequent
12002 ERT insets with nothing between them. This way we create only one
12003 inset with multiple paragraphs. Also check if we don't insert only
12004 spaces ' ' as they are ignored anyway afterwards in the .tex file
12005 so if we have only spaces we will ignore this latex part in the
12007 (parseSingleLyXformat2Token \\layout): better compatibility when
12008 reading layout-latex stuff.
12009 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12011 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12012 stuff after reading the inset only get the information back from
12015 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12017 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12019 * LaTeXFeatures.C (getBabelOptions): New method.
12021 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12023 * BufferView_pimpl.C (Dispatch): work around missing argument for
12026 2002-05-08 Juergen Vigna <jug@sad.it>
12028 * text.C (leftMargin): handle paragraph leftindent.
12030 * paragraph.C (writeFile): write the new \\leftindent tag.
12031 (validate): handle leftindent code.
12032 (TeXEnvironment): handle paragraphleftindent code again.
12034 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12036 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12037 for paragrap_extra indent code and new token \\leftindent.
12038 (latexParagraphs): handle the leftindent as environment.
12040 * ParameterStruct.h: added leftindent support.
12042 * ParagraphParameters.C (leftIndent): added support functions for
12043 the paragraph left indent.
12045 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12048 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12050 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12053 * text.C (computeBidiTables): No bidi in insetERT.
12055 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12058 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12060 * version.C.in: pre 5
12062 2002-05-02 José Matos <jamatos@fep.up.pt>
12063 * buffer.C (makeDocBookFile): white space changes, add newline to
12065 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12067 * tabular.C (docBook): fix typo.
12069 2002-05-03 Juergen Vigna <jug@sad.it>
12071 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12072 change in LyXText as we can not be sure it was not freed.
12073 (drawOneRow): remove unused code.
12075 * text.C (drawInset): redo the calculation of the need_break_row as
12076 it could have a row which was already freed.
12077 (draw): look at the return value of drawInset and return false if
12078 it also returned false.
12079 (paintRowText): look at the return value of draw and return false if
12080 it also returned false.
12082 * lyxtext.h: added bool return type to drawInset() and draw() so that
12083 if we have a change in the row so that the rowbreak has to be redone
12084 we abort drawing as it will be called again.
12086 2002-05-02 Juergen Vigna <jug@sad.it>
12088 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12089 a change in the maintext also if we're inside an inset.
12090 (Dispatch): set the cursor again after a break line and after the
12091 screen has been updated as it could be we're in a different row.
12093 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12094 to set the cursor behind the pargraph with > size().
12095 (setCursor): check also for the same paragraph when checking where
12096 to put the cursor if we have a NFR inset.
12098 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12099 parts of layout read further up as it still was in the wrong
12102 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * screen.C (drawFromTo): change sine fullRebreak always return
12107 * buffer.C (parseSingleLyXformat2Token): reindent some
12109 * BufferView_pimpl.C (update): change since fullRebreak always
12111 (Dispatch): git rid of the last hardcoded "Standard"s.
12113 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12115 * text2.[Ch] (fullRebreak): make it return void now that we always
12118 2002-04-30 Juergen Vigna <jug@sad.it>
12120 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12121 ert compatibility check for "latex" layout.
12123 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12125 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12126 minipages: use col% instead of p%, and also use the current font.
12127 (makeLaTeXFile): Fix use babel condition.
12128 (parseSingleLyXformat2Token): Correct font when reading old floats.
12130 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12132 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12133 inserting list of floats.
12135 2002-04-25 Herbert Voss <voss@lyx.org>
12137 * MenuBackend.C (expand): don't add the graphics extensions to the
12140 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12143 non-existing layout, do not complain if it was the default layout
12144 of the original class (bug #342)
12146 2002-04-24 Juergen Vigna <jug@sad.it>
12148 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12149 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12151 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12153 * buffer.C (getBibkeyList): If using \bibliography, return the
12154 option field with the reference itself. Enables us to provide natbib
12155 support when using \bibliography.
12157 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12159 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12161 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12162 natbib is provided by the LaTeX class.
12164 2002-04-23 Juergen Vigna <jug@sad.it>
12166 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12169 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12171 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12173 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12175 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12176 ensuremath around textordmasculine, textordfeminine and
12179 2002-04-19 Juergen Vigna <jug@sad.it>
12181 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12182 reinitializing the buffer otherwise row-dimensions may be wrong.
12183 (update): reset also the selection cursors if they do exits otherwise
12184 their x/y positions may be wrong.
12186 * text2.C (cursorDown): don't enter the inset if we came from a row
12187 above and are one row over the inset.
12189 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12190 really leaving an inset.
12192 2002-04-18 Juergen Vigna <jug@sad.it>
12194 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12195 of the selected paragraph does not have the selected layout also if
12198 * text2.C (setLayout): fixed bug which did not change last selected
12201 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12202 changed the read and substituted \\end_float with \\end_inset!
12204 * BufferView_pimpl.C (cursorPrevious):
12205 (cursorNext): fixed to make it work with rows heigher than the work
12206 area without moving the cursor only the draw of the row.
12207 (workAreaMotionNotify): fix jumping over high rows.
12209 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12214 2002-04-16 Juergen Vigna <jug@sad.it>
12216 * text2.C (setCursor): set also the irow().
12217 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12219 (cursorDown): support for locking an inset if the x_fix value goes
12220 inside it. That way I can transverse insets too with cursor up/down.
12222 * lyxrow.h: added irow helper function same as other (i) functions.
12224 * BufferView_pimpl.C (cursorPrevious):
12225 (cursorNext): fixed for insets!
12227 2002-04-15 Juergen Vigna <jug@sad.it>
12229 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12230 position otherwise it is wrong in some cases.
12232 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12233 inside the inset before the call.
12235 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12237 * buffer.[Ch] (getBibkeyList): make it const.
12239 2002-04-12 Juergen Vigna <jug@sad.it>
12241 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12243 * text2.C (getCursorX): new helper function
12244 (setCursor): compute also ix_
12245 (setCursorFromCoordinates): set also ix.
12247 * lyxcursor.h: added ix_ and helper functions.
12249 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12251 * buffer.C (insertStringAsLines): dont break paragraph if the this
12252 paragraph is inside an inset which does not permit it!
12254 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12255 also with no chars on this paragraph.
12256 (paintRowText): only paint stuff if it's inside the workarea!
12258 * paragraph.C (breakParagraph): honor keepempty flag and break the
12259 paragraph always below not above.
12261 * BufferView2.C (unlockInset): update the paragraph layout on inset
12262 unlock as we changed paragraph in such a case.
12264 * lyxfind.C (LyXFind): clear the former selection if not found!
12266 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12267 again called in insertChar().
12269 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12270 an inset which uses the whole row!
12271 (rightMargin): ditto.
12272 (insertChar): force a rebreak if we inserted an inset!
12274 2002-03-28 Herbert Voss <voss@lyx.org>
12276 * lyxlength.[Ch]: add inBP() to get the right PS-point
12277 units (BigPoint). With inPixels we have rounding errors
12279 2002-04-11 Juergen Vigna <jug@sad.it>
12281 * text2.C (setCursorFromCoordinates): set iy to the right value.
12282 (setCursor): add check if row->previous exists!
12284 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12285 an old float_type as this was the case in the old code!
12287 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12289 * BufferView2.C (showLockedInsetCursor): use iy
12290 (fitLockedInsetCursor): ditto
12292 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12293 locked insets as there we have the right value now.
12295 * lyxcursor.C: added iy_ variable and iy functions to set to the
12296 baseline of cursor-y of the locked inset.
12298 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12299 (setCursor): fixed for insets which need a full row.
12301 * text.C (rowLastPrintable): don't ignore the last space when before
12302 an inset which needs a full row.
12303 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12304 as last character of a row when before a inset which needs a full row.
12306 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * version.C.in: update date
12310 * text2.C (fullRebreak): try to always return true and see what
12313 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12315 * MenuBackend.C (expand): use Floating::listName
12317 * FloatList.C (FloatList): add listName argument to the built-in
12320 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12321 text associated with the float.
12323 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12325 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12327 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * ShareContainer.h: add a couple of missing typenames.
12331 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12333 * lyxrc.C (getDescription): use _() correctly rather than N_().
12335 2002-03-28 Herbert Voss <voss@lyx.org>
12337 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12338 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12340 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12342 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12343 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12345 2002-03-29 Juergen Vigna <jug@sad.it>
12347 * lyxfunc.C (dispatch): add a missing fitCursor call.
12349 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12350 it was scrolled by a cursor move, so return the bool status.
12352 * BufferView.C (fitCursor): return the bool flag also to the outside
12353 world as this is needed.
12355 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12357 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12358 call the edit() as it is not needed (and wrong) IMO.
12359 (workAreaButtonPress): set the screen_first variable before evt.
12360 unlock the inset as this may change screen_first and then we have
12361 a wrong y position for the click!
12363 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12365 * MenuBackend.C (expand): another translation that I missed
12367 2002-03-28 Juergen Vigna <jug@sad.it>
12369 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12371 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12373 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12375 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12377 * MenuBackend.C (expand): fix export/view/update when there is no
12380 2002-03-27 Herbert Voss <voss@lyx.org>
12382 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12385 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12387 * bufferview_funcs.C (currentState): only show paragraph number
12388 for is DEVEL_VERSION is set.
12390 * lyxfunc.C (dispatch): put warning in INFO channel
12392 * MenuBackend.C (expand): translate the name of floats
12394 * FloatList.C (FloatList): mark the float names for translation
12396 * converter.C (convert): use LibScriptSearch
12398 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12400 * MenuBackend.C (defaults): fix default menu (we might as well get
12403 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12408 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12410 * lyxvc.C: reorder includes.
12412 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12414 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12417 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12419 * CutAndPaste.C: change layouts earlier on paste
12420 to avoid crashing when calling getFont()
12422 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12424 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12427 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * WorkArea.C: remove 'Pending' debug message.
12431 * most files: ws cleanup
12433 * buffer.[Ch]: ws changes
12435 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12437 2002-03-21 Juergen Vigna <jug@sad.it>
12439 * tabular.C (SetMultiColumn): collapse also the contents of the
12440 cells and set the last border right. Added a Buffer const * param.
12442 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12447 2002-03-19 Juergen Vigna <jug@sad.it>
12449 * text2.C (clearSelection): reset also xsel_cache.
12451 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12452 where it needs to be called (John tells us to do so too :)
12453 (selectionLost): reset sel_cache.
12455 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12457 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12459 * text2.C (setCursorIntern): put debuging code in INSETS channel
12461 2002-03-19 André Pönitz <poenitz@gmx.net>
12463 * lyxfunc.C: tiny whitespace change
12465 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12467 * ToolbarDefaults.C (init):
12468 * LyXAction.C (init):
12470 * BufferView_pimpl.C (Dispatch):
12471 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12473 2002-03-19 Allan Rae <rae@lyx.org>
12475 * exporter.C (Export): removeAutoInsets before doing anything else.
12476 While I've just introduced a dependency on BufferView this really is
12477 the best place to clean the buffer otherwise you need to cleanup in
12478 a dozen places before calling export or cleanup in a dozen functions
12481 * converter.C (runLaTeX):
12482 (scanLog): Better handling of removeAutoInsets and screen updates.
12484 * lyxfunc.C (dispatch): small whitespace changes
12486 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * WorkArea.C (C_WorkAreaEvent): return a value.
12489 (event_cb): return 1 if we handled the event, 0 otherwise.
12491 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12493 2002-03-18 Juergen Vigna <jug@sad.it>
12495 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12496 (GetAdditionalWidth): ditto.
12497 (RightLine): ditto.
12500 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12501 inset if we're there actually (probably not used right now but this
12502 is the direction to go for unifying code).
12503 (paste): disable code to clear the selection.
12505 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12506 inside an InsetText and move the check further up as it is in the
12509 * text2.C (pasteSelection): set a selection over the pasted text.
12511 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12513 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12514 and libgraphics to build on Cygwin.
12516 2002-03-15 Juergen Vigna <jug@sad.it>
12518 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12519 inserting an Inset into the paragraph. I know this is not the best
12520 fix but we already use current_view in CutAndPaste so we will remove
12521 all of it's using at the same time.
12523 * buffer.C (sgmlError): deactivated function till it is rewritten in
12524 the right mode, now it can create problems.
12526 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12527 before accessing it.
12529 2002-03-14 Juergen Vigna <jug@sad.it>
12531 * undo_funcs.C (textHandleUndo): do the right thing when updating
12532 the inset after the undo/redo.
12534 * text2.C (setCursor): just some testcode for #44 not ready yet.
12536 * undo_funcs.C (textHandleUndo): set the next() and previous()
12537 pointers of the paragraph to 0 before deleting otherwise we have
12538 problems with the Paragraph::[destructor].
12540 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12541 on a paragraph insertion.
12543 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12545 * buffer.C (asciiParagraph): use += operator for char append to
12548 * paragraph.C (getFontSettings): compare >= not just >
12549 (highestFontInRange): ditto
12552 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * paragraph.C: change several algorithm to be more appripriate for
12555 the problem domain. This is lookip in FontList and in the InsetList.
12557 2002-03-13 André Pönitz <poenitz@gmx.net>
12560 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12562 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12567 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12569 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12571 * Painter.C (display): anon helper function, adjust code for this
12573 (pixmap): remove function.
12575 * Painter.h: remove private display variable.
12577 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12579 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12581 * WorkArea.[Ch]: remove figinset_canvas cruft.
12583 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12585 * lyxtextclass.C (operator): add one item cache optimization.
12587 * bufferlist.h: doxy changes
12589 * bufferlist.C: ws changes
12591 * DepTable.[Ch] (ext_exist): place const in the right spot.
12593 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12595 (workAreaExpose): call resizeInsets when the with BufferView changes.
12596 (Dispatch): adjust for protectedBlank removal
12597 (specialChar): call updateInset if the insert went ok.
12599 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12600 specialChar instead.
12602 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12604 * BufferView.h: doxy change
12606 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12608 * lyxtextclass.C (operator[]): remove non-const version
12609 (defaultLayout): remove non-const version
12611 2002-03-12 Juergen Vigna <jug@sad.it>
12613 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12614 did resize the LyXText too.
12616 * buffer.C (readLyXformat2): set layout information on newly allocated
12619 * tabular.C (OldFormatRead): set layout information on the paragraph.
12621 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12623 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12625 2002-03-11 Juergen Vigna <jug@sad.it>
12627 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12629 (resizeCurrentBuffer): force also the insets to resize themselfes.
12630 (moveCursorUpdate): fixed up for InsetText.
12632 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12635 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12636 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12637 value of Dialogs::tooltipsEnabled().
12638 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12640 2002-03-08 Juergen Vigna <jug@sad.it>
12642 * BufferView_pimpl.C (updateInset): update inset inside inset also
12643 if it isn't inside theLockingInset().
12645 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * buffer.C (asciiParagraph): redo some of the word and line length
12649 (getLists): look for Caption instead of caption.
12651 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12653 * buffer.C (Buffer): initialize niceFile to true
12655 (makeLinuxDocFile):
12656 (makeDocBookFile): make sure niceFile is true on exit
12658 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12660 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12662 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12664 * LyXSendto.C: remove.
12665 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12666 * lyx_gui.C: remove now-redundant comment.
12667 * ColorHandler.h: remove forward declaration of class WorkArea.
12668 * lyxfunc.C: remove #include "WorkArea.h".
12670 2002-03-07 Juergen Vigna <jug@sad.it>
12672 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12673 got moved away with the DEPM and also set the inset_owner always
12674 right which before could have been omitted.
12676 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12678 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12679 wanted layout is not found.
12681 2002-03-07 Juergen Vigna <jug@sad.it>
12683 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12685 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * paragraph.C (breakParagraph): use default layout not layout of
12689 (Paragraph): clear ParagraphParameters.
12691 2002-03-06 Juergen Vigna <jug@sad.it>
12693 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12694 otherwise it would not be a valid lenght. Fixed a special case in
12695 the minipage compatibility read where we end the document with a
12698 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12699 was set as it could be 0 for InsetTexts first entry.
12701 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * paragraph.C (writeFile): if layout is empty write out
12704 defaultLayoutName().
12706 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12707 file without named layout we set layout to defaultLayoutName().
12709 2002-03-06 Juergen Vigna <jug@sad.it>
12711 * CutAndPaste.C (copySelection): set layout for new paragraph.
12713 * text.C (prepareToPrint): leave ERT inset left aligned
12714 (leftMargin): don't indent paragraphs inside ERT insets
12716 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12718 * paragraph.C (breakParagraph): dont call clear do the work manually
12720 * paragraph.[Ch] (clear): remove function
12722 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * paragraph.C (Paragraph): dont call clear, the work has already
12727 * lyxtextclass.C (operator): assert if n is empty
12729 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12730 work manually instead.
12732 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12734 * BufferView_pimpl.C: protect selectionLost against text == 0
12736 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12738 * text.C (breakParagraph): fix a setting layout to '0' problem.
12740 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12742 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12743 final location of file, for the included files, and graphics.
12745 2002-03-05 Juergen Vigna <jug@sad.it>
12747 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12749 2002-03-04 Juergen Vigna <jug@sad.it>
12751 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12753 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12754 last column of multicolumn cells.
12755 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12757 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12759 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12760 file if it doesn't go to a temporary file.
12762 * buffer.C (sgmlOpenTag):
12763 (sgmlCloseTag): remove extra newline insertion.
12765 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12767 * text.C (getRowNearY): comment out debug msg
12769 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12771 * text2.C: first -> first_y
12773 * text.C (getRowNearY): add some attemts at a possible
12774 optimization, not working.
12776 * tabular.[Ch]: add BufferParams to several function so that newly
12777 created paragraph can be initialized to he default layotu for the
12780 * tabular-old.C (ReadOld): add buf->params to call of Init
12782 * screen.C: rename text->first to text->first_y
12784 * paragraph.C (breakParagraph): always set layout in the broken
12787 * lyxtextclass.C (Read): remove lowercase
12790 (delete_layout): ditto
12792 * lyxtext.h: rename first -> first_y
12794 * lyxlayout.C (Read): remove lowercase
12797 (obsoleted_by): ditto
12799 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12801 * buffer.C (insertErtContents): add params are to InsetERT
12802 (parseSingleLyXformat2Token): add code to check if a paragraphs
12803 layout really exist.
12804 (parseSingleLyXformat2Token): add params to several inset
12806 (asciiParagraph): remove lowercase, do the layout comparisons with
12809 * BufferView_pimpl.C (cursorNext): first -> first_y
12810 (resizeCurrentBuffer): first -> first_y
12811 (updateScrollbar): first -> first_y
12812 (scrollCB): first -> first_y
12813 (workAreaMotionNotify): first -> first_y
12814 (workAreaButtonPress): first -> first_y
12815 (checkInsetHit): first -> first_y
12816 (cursorPrevious): first -> first_y
12817 (cursorNext): first -> first_y
12818 (Dispatch): add buffer_->params to severl inset contructors
12820 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12822 * lyxlayout.C (Read): remove some debug info that I forgot.
12824 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12825 clean up the code slightly.
12826 (makeLinuxDocFile): ditto
12827 (makeDocBookFile): ditto
12829 * text2.C: layout as string
12831 * text.C: layout as string
12833 * paragraph_pimpl.C: layout as string
12835 * paragraph.[Ch]: layout as string
12837 * lyxtextclasslist.[Ch]: layout as string
12839 * lyxtextclass.[Ch]: layout as string
12841 * lyxtext.h: layout as string
12843 * lyxlayout.[Ch]: layout as string
12845 * lyx_cb.C: layout as string
12847 * bufferview_funcs.C: layout as string
12849 * bufferparams.C: layout as string
12851 * buffer.C: layout as string
12853 * LyXView.[Ch]: layout as string
12855 * LaTeXFeatures.[Ch]: layout as string
12857 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12859 * BufferView_pimpl.C: change current_layout to string, remove
12864 (workAreaButtonRelease): layout as string
12866 * BufferView2.C (unlockInset): adjust
12868 * vspace.C (asLatexCommand): use an explict temp variable.
12870 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12872 * Makefile.am: use FRONTEND_*
12874 2002-03-01 Juergen Vigna <jug@sad.it>
12876 * tabular.C (SetWidthOfMulticolCell): changed to something better
12877 I hope but still work in progress.
12878 (recalculateMulticolumnsOfColumn): renamed function from
12879 recalculateMulticolCells as it is more appropriate now.
12880 (SetWidthOfCell): calculate multicols better.
12882 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12884 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12886 * lyxfunc.C (processKeySym): print sequence also if it is
12887 `deleted' (complete)
12889 * kbsequence.C (print): print sequence even if it is deleted
12890 (complete would be a better word, actually).
12892 * lyxfunc.C (dispatch): print complete options after a prefix key
12894 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12896 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12898 * text2.C (setCharFont): eliminate setCharFont code duplication.
12900 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12902 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12903 LFUN_TABULAR_FEATURE (bug #177)
12905 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12907 * Makefile.am: remove figure.h
12909 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12911 * Bufferview_pimpl.C:
12923 * text2.C: remove #include "lyx_gui_misc.h".
12925 * LaTeX.C: added #include <cstdio>
12927 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12929 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12930 that the paragraph following this one can have.
12932 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12934 * vspace.C (asLatexCommand): fix bogus gcc warning
12936 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12938 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12940 * text2.C (setLayout): get rid of redundant code
12942 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12944 * text2.C (incDepth): make sure depth cannot be increased beyond
12947 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12949 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12950 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12952 * PainterBase.h (image):
12953 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12954 a LyXImage const *.
12956 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12960 * BufferView_pimpl.C:
12961 * BufferView_pimpl.h:
12981 * sp_spell.C: remove fig inset, and the crap house of
12982 cards that follows it
12984 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12989 * os2_errortable.h:
12990 * nt_defines.h: move .h into support/
12992 * vms_defines.h: remove
12994 * WorkArea.C: add space in debug output
12998 * buffer.C: add WITH_WARNINGS
13002 * bufferlist.C: s/retrive/retrieve/, add docs
13011 * chset.C: add docs
13013 * lyxgui.C: add ID to X error handler
13015 * lyxtestclass.c: fix typo
13017 2002-02-26 Juergen Vigna <jug@sad.it>
13019 * tabular_funcs.C (write_attribute): changed so that some default
13020 attributes are not written at all.
13021 (getTokenValue): set default values before trying to read the
13022 value so we have the return value always set as default if we don't
13023 find the token we search for.
13025 * tabular.C (Write): write bools as bools not as strings!
13027 2002-02-22 Juergen Vigna <jug@sad.it>
13029 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13030 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13032 * text.C (leftMargin): don't add an indent for paragraphs inside
13033 tabular cells (fix #208).
13035 2002-02-21 José Matos <jamatos@fep.up.pt>
13037 * tabular.C (docBook): fixed support for long tables.
13039 2002-02-20 Juergen Vigna <jug@sad.it>
13041 * text2.C (getFont): get the drawing font of the Inset if this
13042 paragraph is inside an inset (only important for InsetERT for now).
13044 * buffer.C (insertErtContents): use new lanugage params in ERT
13047 * CutAndPaste.C: commenting out seemingly uneeded code.
13049 2002-02-19 Allan Rae <rae@lyx.org>
13051 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13052 Iterators might be simple to use but they also get invalidated.
13053 (removeAutoInsets): renamed saved cursor tracking variables and added
13054 some comments to clarify what everything does.
13056 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13063 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13064 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13067 * vc-backend.h: remove #include "support/syscall.h"
13071 * converter.C: rearrange #includes in Lars' approved fashion.
13073 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13074 forward declare class Timeout in the header file.
13076 * XFormsView.C: changes due to the above.
13078 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13079 similar to LyXView.
13081 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13082 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13084 2002-02-18 José Matos <jamatos@fep.up.pt>
13086 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13089 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13091 * a lot of small ws changes
13092 * add a lot of using std::XXX
13093 * use std construcs some places where approp.
13094 * use some exisint stuff from lyxfunctional where approp.
13095 * Make file changes to use partial linking (lets test this now...)
13097 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13101 remove #include "support/syscontr.h" as it's redundant. Always has been.
13109 change Systemcalls::System to Systemcalls::Wait and
13110 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13111 No change of functionality, just reflects the stripped down Systemcalls
13114 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13116 * debug.[Ch]: add a GRAPHICS type to the enum.
13118 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13120 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13122 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13125 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13127 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13128 match the changes below.
13130 * text2.C (toggleInset): if there is not editable inset at cursor
13131 position, try to see if cursor is _inside_ a collapsable inset
13134 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13136 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13137 document menu has a nice checkbox
13139 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * lyxlength.C (asLatexString): change PW to output as percent of
13144 * lengthcommon.C: change '%' to 't%'
13146 * lyxfunc.C (dispatch): a few comments from Martin
13148 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13152 * BufferView_pimpl.h:
13153 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13156 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13158 * vspace.C (inPixels): fix compiler warning
13160 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13162 * lyxfunc.C (getStatus): fix status message for disabled commands.
13164 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13166 * BufferView_pimpl.C: fix crash on close buffer
13167 during selection (#227)
13169 2002-01-27 Herbert Voss <voss@lyx.org>
13171 * buffer.C: link old Figure to new graphic inset
13173 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13175 * FontLoader.C (getFontinfo): Change the latex font names in order
13176 to match the names of type1inst.
13178 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13180 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13182 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13183 (extchanged): ditto
13185 (remove_files_with_extension): ditto
13186 (remove_file): ditto
13189 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13190 document is smaller than the work area height. Do not initialize
13191 static variables to 0.
13193 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13195 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13197 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13198 LFUN_LAYOUT_PARAGRAPHS.
13200 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13201 tabular. It is possible to provide a possible cell, which will
13202 typically be the actcell from the corresponding insettabular
13204 * lyxfunc.C (getStatus): small cleanup; disable
13205 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13208 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13210 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13212 * paragraph.C (startTeXParParams):
13213 (endTeXParParams): new methods. The LaTeX code to
13214 start/end paragraph formatting
13215 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13216 empty (fixes bug #200)
13218 * vspace.C (inPixels): adapt to the change below
13219 (inPixels): [later] more cleanups (remove unused variables)
13221 * lyxlength.C (inPixels): change to use a width and a height as
13224 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13226 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13227 Replaced with \paperwidth
13229 * DepTable.C (insert): add std:: qualifier
13231 2002-01-18 Allan Rae <rae@lyx.org>
13233 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13236 * text.C (drawInset): Turned out I didn't know enough about how
13237 rebreaking worked. This fixes most of the redraw problems. I see
13238 an occasional cursor trail when a line is broken now and the cursor
13239 placement can seem out by a few pixels also after a rebreak.
13241 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13243 * buffer.C (parseSingleLyXformat2Token): update because minipage
13244 width is now a LyXLength
13246 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13248 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13251 2002-01-17 Juergen Vigna <jug@sad.it>
13253 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13255 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13256 is set correctly and the inset is updated correctly.
13258 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13260 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13261 the beginning of the loop.
13263 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13265 * lyxrc.C: improve help for use_scalable_fonts
13267 2002-01-17 Allan Rae <rae@lyx.org>
13269 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13271 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13273 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13274 make sure to set their inset_owner to the right value (bug #171)
13276 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13279 * DepTable.C: Implement mtime checking to reduce time spent doing
13282 2002-01-16 Juergen Vigna <jug@sad.it>
13284 * tabular.C (GetAdditionalHeight): one of error fixed.
13286 * lyxrc.C (output): small fix in writing use_pspell.
13288 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13290 * sp_base.h: #include LString.h
13292 2002-01-16 Allan Rae <rae@lyx.org>
13294 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13295 Can someone check this please?
13297 * text.C (drawInset): It was possible that p.row would be removed by
13298 breakAgainOneRow upsetting a few other settings. There may be another
13299 small tweak possible by setting need_break_row = 0 when p.row has been
13300 removed but I don't know enough about the logic here.
13302 2002-01-15 Allan Rae <rae@lyx.org>
13304 * text.C (insertChar): removed conditional truism.
13306 * BufferView2.C (removeAutoInsets): More tweaks.
13307 cur_par_prev could be a stray pointer. Check for trailing empty line
13308 in case last line was cur_par and only had an error inset on it.
13310 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13312 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13315 * vc-backend.C (most methods):
13316 * exporter.C (Export):
13317 * converter.C (convert):
13319 * LyXSendto.C (SendtoApplyCB):
13320 * lyxfunc.C (dispatch):
13324 * lyx_cb.C (AutoSave):
13326 * BufferView_pimpl.C (MenuInsertLyXFile):
13327 * buffer.C (runChktex): use Buffer::filePath().
13329 * buffer.h: rename filename to filename_; rename filepath to
13330 filepath_ and make it private
13331 (filePath): new method
13333 * buffer.C (writeFile): use fileName()
13336 * lyx_main.C (init): fix starting of LyX when the binary is a
13337 link from so,ewhere else.
13339 * minibuffer.C: include <cctype> for isprint
13341 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13343 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13344 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13345 name clash with InsetCollapsable's width function.
13347 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * lastfiles.C: include <iterator>
13351 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13353 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13356 * buffer.C (makeLaTeXFile): ditto.
13357 Also make loop operation more transparent.
13359 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13361 * ToolbarDefaults.C: remove trailing comma closing namespace.
13363 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13365 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13368 * trans.C (Load): comment out unused variable, allowed.
13370 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13372 * minibuffer.[Ch] (append_char): new method to recieve input from the
13373 drop-down completion browser. If a key was pressed, then recieve this
13374 char and append it to the existing string.
13375 (peek_event): modify the positioning data passed to the completion
13376 browser so that it can be placed above the minibuffer rather than below.
13377 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13379 * LyXAction.C (init): alloe error-next for readonly documents.
13381 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13384 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13386 * bufferlist.C (readFile): create the buffer _after_ checking that
13389 * lyxfunc.C (verboseDispatch): fix handling of arguments
13391 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13393 * lyxrc.C: use string::erase() instead of initializing to "".
13396 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13398 * BufferView_pimpl.h:
13399 * BufferView_pimpl.C:
13402 * text2.C: tell X when we have made a selection for copying
13404 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13406 * BufferView_pimpl.C (MenuInsertLyXFile):
13407 * lyxfunc.C (menuNew):
13409 (doImport): add shortcuts to directory buttons
13411 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13414 * lyxfunc.C (setStatusMessage):
13415 (getStatusMessage): new methods
13416 (getStatus):use setStatusMessage instead of setErrorMessage
13417 (dispatch): when function is disabled, set error message here
13418 [instead of in getStatus previously]
13420 * BufferView_pimpl.C (workAreaButtonRelease): update
13421 toolbar/menubar here too.
13423 2002-01-13 Allan Rae <rae@lyx.org>
13425 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13426 Now seems indestructible. Remaining task is to audit all other
13427 code affected by deleteEmptyParagraphMechanism. One small quirk
13428 left is that an empty document with an error in the preamble can
13429 be made to report an error but no error box appears. I don't know
13431 (removeAutoInsets): Improved comments.
13433 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13436 * Thesaurus.C: update for Aiksaurus 0.14
13438 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * text2.C (firstParagraph): removed member function, all uses
13441 replaces with ownerParagraph
13442 (redoParagraphs): here
13443 (updateInset): here
13444 (toggleAppendix): here
13445 * BufferView2.C (insertErrors): here
13446 (setCursorFromRow): here
13448 2002-01-13 Allan Rae <rae@lyx.org>
13450 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13451 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13452 There is still a way to segfault this although you may have to do this
13453 multiple times: Have an InsetERT with an unknown command in it.
13454 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13455 <down-arrow>, <Enter> again, View->DVI, BANG!
13457 * text2.C (setCursor):
13458 (deleteEmptyParagraphMechanism):
13459 * lyxtext.h (setCursor):
13460 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13461 Making use of the return value may help fix other bugs.
13463 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13465 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13467 * LyXView.C (updateMenubar): call MenuBar::update here
13468 (updateToolbar): but not here
13469 (showState): do not update toolbar/menubar
13471 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13472 should need to care about that.
13474 * lyxfunc.C (verboseDispatch): simplify a bit
13475 (getStatus): have a version which takes a pseudoaction, and
13476 another which requires a (kb_action,string).
13478 * LyXAction.C (retrieveActionArg): make it work also when action
13479 is not a pseudo-action.
13480 (getActionName): simplify a bit
13483 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13485 * lyxfunc.C (verboseDispatch): new families of methods with
13486 several ways to specify a command and a bool to indicate whether
13487 the command name and shortcut should be displayed in minibuffer
13488 (eventually, we could extend that to a finer bitmask like
13489 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13490 (dispatch): the pristine dispatch command which just, well,
13491 dispatchs! Note it still sets its result to minibuffer; I'm not
13494 * lyxfunc.h: remove setHintMessage
13496 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13498 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13500 * BufferView_pimpl.C (specialChar): delete new inset if we have
13501 not been able to insert it.
13503 * kbmap.C: revert to using int instead of kb_action, since all we
13504 are dealing with is pseudo-actions.
13506 * LyXAction.C (searchActionArg): change to return int instead of
13507 kb_action, since the result is a pseudoaction.
13509 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13511 * buffer.C (insertErtContents): Fix (partially) the font bug.
13513 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13515 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13516 as the other one is broken on my machine!
13518 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13521 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13523 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13525 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13526 reflect their actual use. Provide compatibility code for older lyxrc
13529 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13531 change names of popup font variables in line with the changes to lyxrc.C
13533 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13535 * buffer.C (asciiParagraph): avoid outputing a word twice after
13538 * lyxrc.C (getDescription): document that document_path and
13539 template_path can be empty.
13541 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13543 * LaTeXFeatures.C (getMacros):
13544 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13546 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13548 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13550 (getPackages): rename feature "floats" to "float". Use an array to
13551 iterate over 'simple' features (i.e. just a \usepackage). Add
13552 handling of "amsmath" (renamed from "amsstyle").
13554 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13556 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13559 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13561 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13562 FuncStaus::FuncStatus & FuncStaus::some_method().
13564 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13566 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13567 of the func_satus stuff. Edited and massaged in various ways by
13570 * lyxfunc.C (getStatus): use FuncStatus
13572 2002-01-08 Juergen Vigna <jug@sad.it>
13574 * text.C (nextBreakPoint): use function Inset::isChar().
13576 * paragraph.C (TeXOnePar): use function
13577 Inset::forceDefaultParagraphs.
13579 * buffer.C (latexParagraphs): use function
13580 Inset::forceDefaultParagraphs.
13582 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13584 * lyx_gui.C (init): set the style of the menu popups to
13585 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13587 2002-01-07 Juergen Vigna <jug@sad.it>
13589 * text.C (setHeightOfRow): small fix
13590 (prepareToPrint): don't look at alignment if we don't have the place
13593 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13595 * box.C: New file. Move the Box methods and functions out of box.h,
13596 following Lars' suggestion.
13598 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13600 * box.h: #include "support/LOstream.h", needed for inlined function.
13603 * lyxtextclasslist.C: added some using std declarations.
13605 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13607 * box.h: make signed dimensions to allow insets wider than
13608 the screen (bug #162)
13610 * BufferView_pimpl.C: add some insetHit debug
13612 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13614 * vc-backend.C: add FIXME
13616 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13618 * lyxfunc.C (getStatus): enable code for showing math font status
13621 2002-01-07 Juergen Vigna <jug@sad.it>
13623 * text.C (nextBreakPoint): removed debug output not needed anymore.
13625 2002-01-06 Juergen Vigna <jug@sad.it>
13627 * text.C (nextBreakPoint): fixed up this function we had this bug
13628 since ever but now hopefully we break row better.
13629 (insertChar): we have to check if an inset is the next char as it
13630 could now happen that a large inset is causing a break.
13632 2002-01-05 Juergen Vigna <jug@sad.it>
13634 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13635 if it doesn't like to be drawed.
13637 2002-01-04 Juergen Vigna <jug@sad.it>
13639 * BufferView2.C (lockInset): forgot to set a cursor.
13641 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13643 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13645 * FormMathsPanel.C:
13648 * form_maths_panel.C:
13649 * form_maths_panel.h:
13650 * form_maths_panel.fd: implemented sub- and super- buttons in math
13653 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13654 (or ^ space) to be used as in TeX (req'd by André).
13656 * lyxfunc.C: Allow ^ and _ again to be used both as
13657 super/subscript (mathed) and as themselves (in text).
13659 2002-01-03 Allan Rae <rae@lyx.org>
13661 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13662 "LyX" or the filename of the current buffer if it has one. This is a
13663 modified form of John Levon's patch.
13665 * XFormsView.C (setWindowTitle): also set icon title.
13667 * LyXView.h (setWindowTitle): signature changed.
13668 * XFormsView.h (setWindowTitle): ditto.
13670 2002-01-02 Juergen Vigna <jug@sad.it>
13672 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13674 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * screen.C (topCursorVisible): introduce a temp var for
13677 text->cursor.row(), handle the case where this row is null. (kindo
13680 * text2.C (setCursor): add a couple of asserts.
13682 * paragraph.h (inset_iterator): add -> operator
13684 * paragraph.[Ch] (autoDeleteInsets): remove member function
13686 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13687 cursor pos correctly and handle inset deletion by itself.
13688 (insertErrors): move iterator declaration out of for expression
13690 * lyxtextclass.C: add <algorithm>
13692 * Makefile.am: added the new files to sources, removed layout.C
13694 * layout.C: removed file
13696 * layout.h: remove LYX_DUMMY_LAYOUT
13698 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13702 * lyxtextclass.[Ch]:
13703 * lyxtextclasslist.[Ch]: new files
13705 * include order changes to a lot of files, also changes because of
13708 2001-12-27 Juergen Vigna <jug@sad.it>
13710 * buffer.C (asciiParagraph): more fixes.
13712 * tabular.C (ascii): make ascii export support export of only the
13713 data separated by a column-delimiter.
13714 (ascii): better support for ascii export.
13716 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13718 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13720 * tabular_funcs.C: use a "using std::getline" instead of the
13721 previous fix from Angus (necessary for cxx + lyxstring)
13723 2001-12-24 Juergen Vigna <jug@sad.it>
13725 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13727 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13728 problems. First check a minipage also if we have some ert-contents
13729 (not only on par->size(), second set the right depth of the paragraph
13730 on the relink to the root-paragraph-list!
13732 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13733 which then did not anymore update the main paragraphs on undo/redo!
13735 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13737 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13738 code. Support all font-changing funcs (even those which are not in
13739 menu currently). Support for reporting font settings in
13740 mathed (disabled until Andre provides a function on mathed's side).
13742 * func_status.h (toggle): small helper function to set toggle
13745 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13747 * tabular_funcs.C: getline -> std::getline
13749 2001-12-21 Juergen Vigna <jug@sad.it>
13751 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13752 accessed and could be 0 (I couldn't generate this but it seems
13755 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13758 * tabular_funcs.h: here and include iosfwd
13760 2001-12-20 Juergen Vigna <jug@sad.it>
13762 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13763 inside inset but undo_par was.
13765 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13767 * Thesaurus.C: always include <config.h> in sources.
13771 * box.h: do not include <config.h> in header files
13773 * text.C (paintLastRow): remove unused variable
13775 * text.C (transformChar):
13777 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13779 * Painter.C (text):
13780 * font.C (width): rewrite to use uppercase() instead of
13783 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13785 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13787 * lyxfind.C: clean up of find failure position change
13789 2001-12-20 Juergen Vigna <jug@sad.it>
13791 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13793 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13794 (TeXRow): added to LaTeX a single tabular row.
13795 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13796 (Latex): simplified and finally good LT-h/f support.
13797 (various_functions): just small adaptions for LT-h/f support.
13799 * tabular_funcs.[hC]: added and moved here all not classfunctions
13802 2001-12-19 Juergen Vigna <jug@sad.it>
13804 * tabular.[Ch]: better support for longtabular options (not finished
13807 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13809 * text.C (paintLastRow): use the label font instead of the font of
13810 the last character to compute the size of *_BOX. This makes more
13811 sense and avoids a crash with empty paragraphs.
13812 Use Painter::rectangle to draw EMPTY_BOX.
13814 2001-12-19 Juergen Vigna <jug@sad.it>
13816 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13817 the paragraphs if the replaced paragraph is not the first one!
13818 Tried to delete not used paragraphs but does not work yet so for
13819 now it's inside #ifdef's and by default off!
13821 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13823 * MenuBackend.C: include "lyx_main.h" instead of declaring
13824 lastfiles (actually was declared as LastFiles* instead of a
13827 2001-12-17 Juergen Vigna <jug@sad.it>
13829 * tabular.C (AppendColumn): applied John's fix
13831 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13835 * BufferView_pimpl.h:
13836 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13839 * box.h: new start of class for above
13841 * lyxfunc.C: ignore space-only minibuffer dispatches.
13842 Show the command name when it doesn't exist
13844 * minibuffer.C: don't add empty lines to the history
13846 * minibuffer.C: add a space on dropdown completion
13848 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13850 * text.C: fix line above/below drawing in insets
13852 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * lyxlength.C (LyXLength): Initialize private variables.
13856 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13859 when inserting error insets.
13861 2001-12-13 Juergen Vigna <jug@sad.it>
13863 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13864 actually sometimes the before-paragraph.
13865 (setUndo): don't clear the redostack if we're not actually undoing!
13867 2001-12-06 Juergen Vigna <jug@sad.it>
13869 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13870 and fixed redoing of main paragraph, so we can use it now ;)
13872 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13874 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13876 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13879 2001-12-13 André Pönitz <poenitz@gmx.net>
13882 * undo_func.C: minor cleanup
13884 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13886 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13887 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13888 font in urw-fonts package which is marked as -urw-fontspecific and
13889 does not work (incidentally, changing the encoding in the
13890 fonts.dir of this package to -adobe-fontspecific fixes the
13893 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13894 is a crash when undoing first paragraph (Juergen, please take a
13895 look). THis does not mean the undo fix is wrong, just that it
13898 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13899 the (Paragraph*) version when needed instead of duplicating the
13902 * text.C (workWidth): use Inset::parOwner to find out where the
13903 inset has been inserted. This is a huge performance gain for large
13904 documents with lots of insets. If Inset::parOwner is not set, fall
13905 back on the brute force method
13907 * paragraph_pimpl.C (insertInset):
13908 * paragraph.C (Paragraph):
13909 (cutIntoMinibuffer): set parOwner of insets when
13910 inserting/removing them
13912 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13914 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13920 * mathed/formulabase.C:
13921 * mathed/math_cursor.[Ch]:
13922 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13925 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13927 * lyxlength.[Ch] (operator!=): new function
13929 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13931 * text.C (workWidth): use Inset::parOwner to find out where the
13932 inset has been inserted. This is a huge performance gain for large
13933 documents with lots of insets. If Inset::parOwner is not set, fall
13934 back on the brute force method
13936 * paragraph_pimpl.C (insertInset):
13937 * paragraph.C (Paragraph):
13938 (cutIntoMinibuffer): set parOwner of insets when
13939 inserting/removing them
13941 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13943 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13945 * tabular-old.C (getTokenValue):
13946 * tabular.C (getTokenValue):
13947 (write_attribute): new versions for LyXLength
13948 (everywhere): adjust the use of widths
13950 * tabular.h: change the type of widths from string to LyXLength
13952 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13954 * paragraph.C: fixed missing line number count when exporting
13955 Environments to LaTeX file
13957 * buffer.C: added informational message for checking line numbers.
13959 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13961 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13962 paragraph, do the 'double space' part, but not the 'empty
13965 * text.C (workWidth): small optimization
13966 (getLengthMarkerHeight): use minimal size for negative lengths.
13968 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13970 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13972 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13974 2001-12-11 André Pönitz <poenitz@gmx.net>
13977 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13979 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13981 * text2.C: keep selection on a setFont()
13983 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13985 * lyx_cb.C: another bv->text misuse, from insert label
13987 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13990 * kbsequence.C: re-instate nmodifier mask
13992 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13994 * lyx_main.h: make lyxGUI private.
13996 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13998 * lyxfind.C: place the cursor correctly on failed search
14000 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14002 * text.C (getLengthMarkerHeight): for small heights, the arrows
14003 are not always on top/bottom of the text
14004 (drawLengthMarker): smaller arrows; take the left margin in
14005 account; draw also vfills.
14007 (paintLastRow): remove special code for vfill and standard spaces,
14008 since everything is handled in drawLengthMarker now.
14010 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * buffer.C (insertErtContents): try to handle font and language
14013 interaction a bit better.g
14015 * ColorHandler.C (updateColor): change the hash to cover the whole
14016 LColor enum, ws cleanup
14017 (getGCLinepars): ditto
14018 (getGCLinepars): only lookup in the linecache once.
14020 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14022 * iterators.C (operator++): Make the iterator more robust
14024 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14026 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14028 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14031 * text.C: better added space drawing
14033 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14036 * BufferView2.C: fix layout combo update on inset unlock
14038 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14040 * Makefile.am: don't compile unused files
14042 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14046 * LyXAction.C: remove old LFUN_LAYOUTNO
14048 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14050 * paragraph_pimpl.h:
14051 * paragraph_pimpl.C: isTextAt() doesn't need font param
14053 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14056 * lyxlex.C: little cleanup
14058 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14060 * BufferView_pimpl.C: fix insertAscii for insets
14062 2001-12-05 Juergen Vigna <jug@sad.it>
14064 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14065 set the right font on the "multi" paragraph paste!
14067 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14073 * lyxlength.C: remove out-commented code.
14075 * BufferView_pimpl:
14089 * vc-backend.C: change "while(" to "while ("
14091 * lyxlength.[Ch]: add zero function to check if length is zero or
14093 * lyxgluelength.C: use it
14095 2001-12-05 Allan Rae <rae@lyx.org>
14097 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14098 Works for 2.95.3, from what I understand of Garst's reports this should
14099 work for other g++ versions. We're screwed if the abs(int) definition
14100 changed between bugfix releases of gcc.
14102 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14104 * text.C: fix chapter label offset !
14106 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14109 * text.C: fix hfill at end of line, clean up
14111 2001-12-04 Juergen Vigna <jug@sad.it>
14113 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14114 that we force an update of the inset and it's owners if neccessary.
14116 2001-12-03 Juergen Vigna <jug@sad.it>
14118 * text.C (rowLast): simplified code
14120 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14122 * lyxfunc.C: fix show options on timeout
14124 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14126 * screen.C (topCursorVisible): scroll half a page when the cursor
14127 reached top of bottom of screen
14129 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14131 * minibuffer.C: deactivate on loss of focus
14133 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14135 * vspace.[Ch] (operator!=): add operator.
14137 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14139 * BufferView_pimpl.C: refuse to open an inset when
14140 there's a selection.
14142 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14144 * BufferView_pimpl.C: allow to click on RHS of full row insets
14146 2001-11-30 Juergen Vigna <jug@sad.it>
14148 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14149 insets for undo reasons.
14151 2001-11-28 André Pönitz <poenitz@gmx.net>
14153 * vspace.[Ch]: cosmetical changes
14155 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14165 * kbsequence.C: part re-write of old kb code
14168 * WorkArea.C: remove Lgb_bug_find_hack
14170 2001-11-30 José Matos <jamatos@fep.up.pt>
14172 * buffer.C (makeDocBookFile): add a comment to point a hack.
14173 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14174 Fixed a double write of labels.
14176 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14179 * LaTeX.h Fixed bug in LaTeX class where it would not
14180 re-run latex if no depfiles were changed, but the .dvi was removed.
14182 2001-11-28 André Pönitz <poenitz@gmx.net>
14184 * all the files from the change on 2001/11/26:
14185 use lyx::layout_type instead of LyXTextClass::size_type
14186 use lyx::textclass_type instead of LyXTextClassList::size_type
14188 2001-11-29 Juergen Vigna <jug@sad.it>
14190 * text.C: added support for paragraph::isFreeSpacing()
14192 * buffer.C: same as above
14194 * paragraph.h: inserted isFreeSpacing() function to enable
14195 FreeSpacing inside InsetERT.
14197 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14198 of the paragraph's in the cut/copy buffer to 0!
14200 * text2.C (removeRow): remove the assert as it can!
14202 * lyxtext.h: added helper function firstRow returning firstrow and
14203 made firstrow private again.
14205 * BufferView2.C (lockInset): don't relock if we're already locked!
14207 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14208 the only paragraph.
14209 (removeRow): added Assert::(firstrow)
14211 * debug.C: forgot to add INSETTEXT here.
14213 2001-11-28 Juergen Vigna <jug@sad.it>
14215 * sp_spell.C (initialize): changed error text to more general
14216 spellchecker command use (not only ispell!)
14218 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14220 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14224 * vspace.C: initialise lyxgluelength on failure
14226 2001-11-28 Allan Rae <rae@lyx.org>
14228 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14229 declaration & definition that looks like a function declaration.
14231 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14233 * BufferView2.C (copy):
14234 (copyEnvironment): do not clear the selection when doing a copy.
14236 * text.C (paintFirstRow): compilation fix
14238 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14240 * tabular.C (Latex): correct line count when writing latex.
14242 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14244 * paragraph_pimpl.h:
14245 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14248 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14252 * LColor.C: change vfillline->added_space
14254 * text.C: add markers and text for added space
14256 * vspace.C: fix comment
14258 2001-11-28 André Pönitz <poenitz@gmx.net>
14260 * paragraph.C: whitespace changes
14261 * all the other files from the change on 2001/11/26:
14262 change *::pos_type into lyx::pos_type
14264 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14266 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14267 language of the document when inserting error insets.
14269 2001-11-26 André Pönitz <poenitz@gmx.net>
14271 * BufferView_pimpl.[Ch]:
14279 * paragraph_pimpl.[Ch]:
14282 * text2.C: reduce header dependencies, introduce type for positions
14284 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14286 * <various>: change to use Alert.h
14288 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14290 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14291 when encountering an unknown token.
14292 (readLyXformat2): Show an error message if there were unknown tokens.
14294 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14297 * BufferView_pimpl.C:
14301 * text2.C: use par->isInset()
14303 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14305 * paragraph_pimpl.h:
14306 * paragraph_pimpl.C: cleanup
14308 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * text2.C (removeRow):
14311 * text.C (setHeightOfRow): remove useless (and costly) call to
14314 2001-11-20 Allan Rae <rae@lyx.org>
14316 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14317 Now need Inset*::checkInsertChar() to return true for appropriate
14318 cases so that the characters in the minibuffer will actually be
14321 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14323 * text.C: change the order of the includes.
14324 (workWidth): initialize it at once.
14325 (workWidth): make maxw unsigned
14326 (setHeightOfRow): remove unused variable (inset)
14327 (selectSelectedWord): remove unused variable (inset)
14328 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14330 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14332 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14333 server is not running.
14335 (closeConnection): add debug info when server is disabled.
14337 * ColorHandler.C (getGCForeground): send debug message to GUI
14340 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14342 * kbmap.C (bind): modify because return conventions of
14343 kb_sequence::parse have changed.
14345 * kbsequence.C (parse): only ignore spaces and not any stupid
14346 control character. This avoids tests like s[i] <= ' ', which are
14347 guaranteed to fail with 8bit characters and signed chars.
14348 Change return code to string::npos when there have been no error
14349 (0 was a bad idea when error is at first character)
14351 2001-11-14 José Matos <jamatos@fep.up.pt>
14354 * buffer.C (simpleDocBookOnePar): removed unused argument.
14356 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14358 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14359 insets which are part of a word. Paragraph::isLetter takes care of
14360 that now. Use Paragraph::isInset to identify insets.
14361 (selectSelectedWord): do not test for hyphenation break.
14363 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14364 that protected spaces are considered as spaces.
14366 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14369 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14372 * lyxserver.C: fix it. and small cleanup.
14374 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14376 * BufferView_pimpl.C: use inline helpers
14379 * LaTeXFeatures.C: fix typos
14382 * Spacing.C: move spacing_string into class
14384 * ToolbarDefaults.C: move stuff into namespace anon
14386 * layout.h: update enum
14388 * lyxfunc.C: use better debug
14390 * minibuffer.h: fix typo
14394 * WorkArea.C: add and use Debug::WORKAREA
14398 * text2.C: code re-organisation, inline helpers
14400 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14402 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14403 std::vector.empty().
14405 2001-11-09 Allan Rae <rae@lyx.org>
14407 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14408 '\n's after tables. Tabular and ERT inset work now makes this no
14411 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14414 * minibuffer.C: fix crash, improve drop-down completion
14416 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14419 * lyxserver.C: invalidate fd's when doing endPipe()
14421 2001-11-08 José Matos <jamatos@fep.up.pt>
14423 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14424 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14427 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14429 2001-11-07 José Matos <jamatos@fep.up.pt>
14432 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14435 * buffer.C (sgmlOpenTag):
14436 * buffer.C (sgmlCloseTag): removed debug info.
14438 * buffer.h (sgmlOpenTag):
14439 * buffer.h (sgmlCloseTag): made public.
14441 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14443 * buffer.C (saveParamsAsDefaults):
14444 * lyx_cb.C (MenuLayoutSave): remove
14446 * LyXAction.C (init):
14448 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14450 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * buffer.C (setPaperStuff): removed from here...
14454 * bufferparams.C (setPaperStuff): ... and moved there.
14456 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14460 * XFormsView.C: add support for drop-down completion
14462 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14464 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14467 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14469 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14472 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14474 * lyx_main.C: change ref to known bugs
14476 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14478 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14479 to work around older babel problems.
14481 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14483 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14485 2001-10-24 Juergen Vigna <jug@sad.it>
14487 * tabular-old.C (ReadOld): below variable changes reflected.
14489 * tabular.[Ch]: added ltType struct for longtable header/footer
14490 defines and changed all instances where they are used. Added
14491 future support for double top/bottom rows.
14493 2001-10-24 José Matos <jamatos@fep.up.pt>
14495 * buffer.h (docbookHandleCaption):
14496 * buffer.C (docbookHandleCaption): removed unused function.
14497 (makeDocBookFile): moved docbook supported version to v4.1.
14499 2001-10-24 José Matos <jamatos@fep.up.pt>
14502 * tabular.C (docbookRow): new function to export docbook code of a row.
14503 (DocBook): now honors the longtable flags.
14505 2001-10-23 José Matos <jamatos@fep.up.pt>
14508 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14509 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14511 * buffer.C (makeLinuxDocFile):
14512 (makeDocBookFile): reworked the preamble, more clean, and with
14513 support for lyx defined entities. Changed the document declaration
14514 to be more XML friendly.
14516 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14517 if we need to output XML that should be done with a filter.
14519 2001-10-22 Juergen Vigna <jug@sad.it>
14521 * sp_pspell.h (class PSpell): add alive function needed in the
14522 controller to see if the spellchecker could be started.
14524 2001-10-22 Juergen Vigna <jug@sad.it>
14526 * buffer.C (insertStringAsLines): modify the font for inserting
14527 chars in certain conditions by calling checkInsertChar(font).
14529 2001-10-19 Juergen Vigna <jug@sad.it>
14531 * text.C (workWidth): use getRow instead of wrong algorithm.
14532 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14534 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14539 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14541 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14543 * text.C (workWidth): do not search for the exact row when
14544 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14545 optimization for big documents.
14547 2001-10-18 Juergen Vigna <jug@sad.it>
14549 * text.C (workWidth): new function with added Inset * parameter.
14551 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14553 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14555 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14556 change return type of getColumnNearX.
14559 * text.C (changeRegionCase): use uppercase/lowercase instead of
14562 (rightMargin): simplify code by factoring out the uses of
14567 (appendParagraph): use Paragraph::size_type
14569 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14571 * vspace.C (asLatexString): add a missing break
14573 2001-10-15 Herbert Voss <voss@perce.de>
14575 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14577 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14579 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14582 2001-10-10 André Pönitz <poenitz@gmx.net>
14584 * lyxfunc.C: removed greek_kb_flag.
14586 2001-10-10 Herbert Voss <voss@perce.de>
14588 * lyx_main.C: delete global string help_lyxdir.
14590 2001-10-09 Herbert Voss <voss@perce.de>
14592 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14594 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14596 * lyx_main.C: added global string help_lyxdir.
14598 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14600 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14602 * lyxrc.C (set_font_norm_type): support iso8859-4
14604 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14606 * LaTeX.C (deplog): add another regex for MikTeX
14608 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14610 * lyxrc.C (set_font_norm_type): support iso8859-3
14612 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14614 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14616 * LaTeXFeatures.C: remove special case of french and index
14618 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14619 before \begin{document}). This solves several incompatibilities.
14621 2001-10-03 Garst Reese <reese@isn.net>
14623 * lyx_cb.C: change CheckTex error msg.
14625 2001-10-03 José Matos <jamatos@fep.up.pt>
14627 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14629 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * .cvsignore: update
14633 * lyx_main.C (commandLineVersionInfo): use new style version info.
14635 * buffer.C (writeFile):
14637 (makeLinuxDocFile):
14638 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14640 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14642 * version.h: update to use stuff in version.C
14644 * version.C.in: new file. Contains version information determined
14645 at compile time. This is a merging of version.h and
14648 2001-10-03 Juergen Vigna <jug@sad.it>
14650 * BufferView_pimpl.C (update): don't change "dirty" status in
14653 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14655 * WorkArea.C (c-tor): re-position version string slightly.
14657 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14659 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14660 revert to previous code.
14662 WorkArea.[Ch]: (show, destroySplash): methods removed.
14664 WorkArea.C: rework code so that it's an amalgam of the codes before and
14665 after the splash screen was moved to WorkArea.
14667 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14670 * vspace.C (inPixels):
14673 * buffer.C (insertStringAsLines):
14674 (asciiParagraph): fix types to be large enough
14676 * lyxlex_pimpl.h: change member status from short to int
14678 * layout.h: fix type of endlabeltype
14681 * kbsequence.C (parse): change return type to string::size_type
14683 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14686 * Bullet.C (bulletSize):
14687 (bulletEntry): do not use short ints as parameters
14689 * BufferView2.C (insertLyXFile): change a char to an int.
14691 * WorkArea.C (WorkArea): remove unneeded floats in computation
14693 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14695 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14697 * paragraph.C (asString): Do not ignore newline/hfill chars when
14698 copying to the clipboard.
14700 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14702 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14703 after a multi-line inset.
14705 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14707 * paragraph.C (validate): Set NeedLyXFootnoteCode
14709 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14711 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14712 and decrease-error to decrease.
14714 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14717 it more readable (should be equivalent)
14719 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14721 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14723 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14725 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14726 of a cursor (row, etc.) after a character has been deleted
14727 (deleteEmptyParagraphMechanism): call the method above on _all_
14728 cursors held by the LyXText when a double space has been
14731 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14733 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14735 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14737 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14738 background. Use greyOut() and the new show() methods to toggle between
14739 the foreground and background. Add code to remove the splash after
14740 its initial showing.
14742 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14743 (create_forms): no longer call Dialogs::showSplash.
14745 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14747 * .cvsignore: add version_info.h
14749 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14751 * version_info.h.in: new file
14753 * Makefile.am: add version_info.h.in
14755 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14756 version_info.h instead of VERSION_INFO
14758 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14760 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14761 The ERT inset now returns string().
14763 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14765 * lyxtext.h, text.C (selectNextWord): renamed as
14766 selectNextWordToSpellcheck.
14768 * text.C (selectNextWordToSpellcheck): Modified to not select
14769 words inside an ERT inset.
14771 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14773 * lyx_cb.C (MenuLayoutSave): change a bit the question
14775 * sp_base.h: include <sys/types.h>
14777 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14779 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14781 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14783 * several files: fix typos in user-visible strings
14785 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14787 * text2.C (pasteSelection): do not set the selection, since it
14788 will be cleared later. Actually, the intent was to fix the way the
14789 selection was set, but I figured rmoving the code was just as good.
14791 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14793 * FontLoader.C (available): Check if font is available without
14796 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14798 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14800 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14802 * lyxrc.[Ch]: added display_graphics variable and associated code.
14804 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14806 * bufferparams.C (hasClassDefaults): new method. Returns true if
14807 the buffer parameters correspond to known class defaults
14809 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14811 * XFormsView.C (show): set minimum size to the main window.
14813 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * text2.C (copySelection):
14817 * lyxfind.C (LyXReplace):
14818 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14819 LyXText::selectionAsString.
14821 * paragraph.C (asString): add "label" argument to the second form
14823 * text2.C (selectionAsString): add "label" argument and pass it to
14824 Paragraph::asString.
14826 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14828 * lyx_main.C (commandLineHelp): remove version information
14830 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14832 * lyx_main.C: add -version commandline option
14834 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14836 * paragraph.h: make the optional constructor arg required instead.
14837 some modifications to other files because of this.
14839 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14841 * lyxserver.C (C_LyXComm_callback): make it static
14843 * lyx_main.C (error_handler): make it static
14845 * lyx_gui.C (LyX_XErrHandler): make it static
14847 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14849 * WorkArea.C: make the extern "C" methods static.
14851 * Makefile.am (lyx_LDADD): simplify
14853 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14855 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14856 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14858 * LyXAction.C (init):
14859 * lyxfunc.C (dispatch): associated code removal.
14861 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14863 * lyxfont.h (isSymbolFont): shut off warning
14865 * text.C (setHeightOfRow):
14866 (getVisibleRow): fix crash with empty paragraphs which have a
14869 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14871 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14874 2001-09-04 José Matos <jamatos@fep.up.pt>
14877 * tabular.C (docbook): rename docBook method to docbook.
14879 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14881 * Makefile.am: add dependencies to main.o.
14883 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14885 * FontLoader.C (available): Return false if !lyxrc.use_gui
14887 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14889 * FontInfo.C (query):
14890 * converter.C (view):
14891 * importer.C (Import):
14892 * exporter.C (Export): Can not -> cannot.
14894 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14896 * BufferView_pimpl.C: allow to create index inset even if
14899 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14901 * buffer.C (getLists): replace boost::tie code with an explicit pair
14902 as boost::tie can break some compilers.
14904 * iterators.h: Added a std:: declaration to the return type of
14907 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14909 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14912 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14914 * iterators.[Ch]: New files. Provide paragraph iterators.
14916 * buffer.C (changeLanguage): Use paragraph iterators.
14917 (isMultiLingual): ditto
14919 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14921 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14923 * FontLoader.C: Support for cmr font.
14925 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14927 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14928 (available): New method.
14930 * FontInfo.C (getFontname): Use scalable fonts even when
14931 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14934 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14936 * converter.C (Formats::view): reverted! Incorrect fix.
14938 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14940 * converter.C (Formats::view): only output the -paper option
14941 if the dvi viewer is xdvi, thereby fixing bug #233429.
14943 2001-08-23 Herbert Voss <voss@perce>
14945 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14947 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14949 * Spacing.h (Spacing): Set space to Default on in the default
14952 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14954 * vc-backend.h (RCS::versionString): add RCS to version
14955 (CVS::versionString): add CVS to version
14957 * vc-backend.C (scanMaster): do not add CVS to version.
14958 (scanMaster): do not add RCS to version
14960 * lyxvc.C (versionString): new method
14962 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14964 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14966 * Spacing.C (set): initialize fval
14968 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14970 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14973 2001-08-16 Juergen Vigna <jug@sad.it>
14975 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14977 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14979 * BufferView_pimpl.C:
14982 * text2.C: setParagraph takes linespacing now
14984 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14986 * LyxAction.C: add internal LFUN_CITATION_INSERT
14988 * LyXView.C: actually apply fix
14990 * bufferlist.C: fix open non-existent file
14992 * lyxfind.C: fix indentation
14994 * lyxfunc.C: remove unneeded assert, fix typo
14996 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14998 * MenuBackend.C: use "Floatname List"
15000 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15002 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15003 when converting LaTeX layout to insetERT.
15004 Generate a non-collapsed float when reading old float
15006 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15008 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15011 2001-08-13 Juergen Vigna <jug@sad.it>
15013 * text.C (fill): return 0 instead of 20 as this seems to be the more
15016 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15018 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15021 2001-08-13 Juergen Vigna <jug@sad.it>
15023 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15025 (SearchBackward): comment out the unlocking of the inset_owner this
15026 should not be needed!
15028 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15030 * Many files: Remove inherit_language, and add latex_language
15032 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15033 collapsible insets.
15035 2001-08-10 Juergen Vigna <jug@sad.it>
15037 * text.C (prepareToPrint): fixed hfill-width in draw!
15039 * BufferView2.C (selectLastWord): save the selection cursor as this
15040 now is cleared in the function LyXText::clearSelection!
15042 2001-08-08 Juergen Vigna <jug@sad.it>
15044 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15045 BACKSPACE type functions.
15047 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15048 is only cutted from the document but not put in the cut-buffer, where
15049 still the old stuff should be.
15051 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15053 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15055 * tabular.C (SetWidthOfCell): fixed special case where the width
15057 (LeftLine): handle '|' in align_special.
15059 (LeftAlreadyDrawed): ditto
15060 (SetWidthOfCell): ditto
15062 2001-08-07 Juergen Vigna <jug@sad.it>
15064 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15066 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15069 * lyxlex.[hC]: ditto
15071 2001-08-06 Juergen Vigna <jug@sad.it>
15073 * text.C (getVisibleRow): fix up row clearing a bit.
15075 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * minibuffer.C: make sure the X server sees the changes in the input.
15079 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * paragraph.C (getFont): split into...
15082 (getLabelFont): this
15083 (getLayoutFont): and this
15084 * paragraph_pimpl.C (realizeFont): calling this
15086 * text2.C (getFont): split into...
15087 (getLayoutFont): this
15088 (getLabelFont): and this
15089 (realizeFont): all three calling this
15091 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15094 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15098 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15100 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15101 layouts from the Quote inset insertion.
15103 2001-08-03 Juergen Vigna <jug@sad.it>
15105 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15107 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15108 only if status not is already CHANGED_IN_DRAW (second level).
15110 * text.C (draw): don't set the need_break_row when inside an
15113 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15115 * buffer.C (parseSingleLyXformat2Token): handle more latex
15118 * bufferview_funcs.[hC]: change function names to
15119 begin with small char, adjust other files.
15121 2001-08-02 André Pönitz <poenitz@gmx.net>
15124 BufferView_pimpl.C: remove broken special code for math-greek
15126 2001-08-02 Juergen Vigna <jug@sad.it>
15128 * BufferView_pimpl.C (update): redone this function so that we
15129 update the text again if there was a CHANGE_IN_DRAW.
15131 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15132 (drawFromTo): added a new internal bool which is used by draw() and
15134 (general): some cursor drawing problems fixed.
15136 2001-08-01 Juergen Vigna <jug@sad.it>
15138 * lyxfind.C (LyXFind): fixed
15139 (SearchForward): ditto
15140 (SearchBackward): ditto
15142 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15143 spurius drawing of the cursor in the main area.
15145 * text2.C (status): small fix which could lead to a segfault!
15146 (clearSelection): remove unneeded BufferView param.
15148 2001-08-01 André Pönitz <poenitz@gmx.net>
15150 * lyxfunc.C: small change due to changed mathed interface
15152 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15156 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15158 * lyxfunc.c: fail gracefully if file doesn't exist
15163 * BufferView_pimpl.C: IsDirWriteable() proto changed
15165 * LyXView.C: fix updateWindowTitle() to store the last title
15167 2001-07-31 Juergen Vigna <jug@sad.it>
15169 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15170 the font (wrong since using of Paragraph::highestFontInRange).
15172 * paragraph.C (highestFontInRange): added a default_size parameter.
15174 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15175 (setHeightOfRow): reformat
15177 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15179 * converter.[hC] + affected files: move to (inital-char)lowercase
15182 * ParagraphParameters.C (ParagraphParameters): remove commented code
15184 * PainterBase.[Ch]: remove commented code
15186 * LaTeXFeatures.h: add "bool floats" for float.sty
15188 * LaTeXFeatures.C (LaTeXFeatures): init floats
15189 (require): handle float
15190 (getPackages): do it with floats
15192 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * BufferView_pimpl.C (Dispatch): improve handling of
15195 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15197 * commandtags.h: #include lyxfont.h here temporarily to avoid
15200 * bufferlist.h: include LString.h here.
15202 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15204 * text2.C (getStringToIndex): new method.
15206 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15208 * *: Reduced header file dependencies all over.
15210 2001-07-30 Baruch Even <baruch@lyx.org>
15212 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15214 2001-07-29 Baruch Even <baruch@lyx.org>
15216 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15218 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15220 * ParameterStruct.h (endif): add a default constructor to make
15221 sure that all variables is initialized.
15223 * ParagraphParameters.C (ParagraphParameters): adjust
15225 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15228 index; also, check that there is something to index, and that it
15229 does not span over several paragraphs.
15230 (doubleClick): use WHOLE_WORD_STRICT for double click.
15232 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15234 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15237 2001-07-26 Baruch Even <baruch@lyx.org>
15239 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15240 an InsetFig figure, backwards compatible reading of old figure code.
15242 2001-07-27 Juergen Vigna <jug@sad.it>
15244 * text2.C: font.realize function adaption.
15246 * text.C (draw): add a warnings lyxerr text if needed.
15248 * layout.C: font.realize function adaption.
15250 * language.C: add inherit_language and implement it's handlings
15252 * bufferview_funcs.C (StyleReset): remove language parameter from
15253 font creation (should be language_inherit now).
15255 * bufferparams.C (writeFile): handle ignore_language.
15257 * paragraph.C (getFontSettings): the language has to be resolved
15258 otherwise we have problems in LyXFont!
15260 * lyxfont.C (lyxWriteChanges): added document_language parameter
15261 (update): removed unneeded language parameter
15263 * paragraph.C (validate): fixed wrong output of color-package when
15264 using interface colors for certain fonts in certain environments,
15265 which should not seen as that on the final output.
15267 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15269 * BufferView_pimpl.C:
15274 * LyXAction.C: add thesaurus support
15277 * lyxfind.C: add "once" parameter, for thesaurus, to not
15278 move to the next match
15280 2001-07-26 Juergen Vigna <jug@sad.it>
15282 * lyxfont.C (realize): honor ignore_language too!
15285 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15287 * text.C (draw): one place more for ignore_language to not draw
15290 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15292 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15294 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15297 the minipage conversion problem.
15299 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15304 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15306 * BufferView.h: don't forward declare WorkArea
15308 * BufferView.C: don't include WorkArea.h
15310 2001-07-25 André Pönitz <poenitz@gmx.net>
15314 * lyxfunc.C: new LFUN 'math-space'
15316 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15318 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15320 * text2.C (toggleInset): call open/close
15322 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15324 * lyxfunc.C (dispatch): add debug for the disabled case
15326 * font.C (buttonText): make similar to rectText
15328 * buffer.C (readInset): comment out parsing of insetlist and
15331 * PainterBase.C (rectText): small correction
15333 * BufferView_pimpl.C: comment out insettheorem and insetlist
15334 * LyXAction.C: ditto
15335 * commandtags.h: ditto
15337 2001-07-24 Juergen Vigna <jug@sad.it>
15339 * text.C (draw): honor the ignore_language.
15341 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15343 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15345 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15348 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15350 * lyxtext.h: remove unused (and unimplemented) methods
15352 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15354 * text.C (getVisibleRow): honor background color
15357 * Painter.h: remove default color argument for fillRectangle
15359 * text.C (backgroundColor): new method
15361 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15363 * text.C (getVisibleRow): adjust
15365 * font.[Ch] (rectText): new method, metrics
15366 (buttonText): new method, metrics
15368 * PainterBase.[hC]: make rectText and buttonText always draw and take
15371 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15373 * ToolbarDefaults.C (read):
15374 * MenuBackend.C (read): allow escaping in all strings
15376 * BufferView_pimpl.C (insertAndEditInset): new method.
15377 (Dispatch): use insertAndEditInset whenever appropriate.
15379 * BufferView_pimpl.C (insertNote): removed
15381 * BufferView_pimpl.C (smartQuote): new method, moved from
15382 BufferView; if an insetquote cannot be inserted, insert a '"'
15385 * BufferView2.C: remove insertCorrectQuote();
15387 * lyxfunc.C (getStatus): Add support for all remaingin
15388 inset-insert lfuns.
15390 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15392 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15393 command (necessary to pass " as parameter of self-insert.
15395 * text.C (selectWordWhenUnderCursor):
15396 (selectWord): add word_location parameter
15397 (selectWordWhenUnderCursor): same + remove special code for word
15399 (selectNextWord): use kind() to guess type of insetspecialchar,
15402 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15403 (insertErtContents): create ert insets as collapsed.
15404 (readInset): better compatibility code for Info inset.
15406 2001-07-20 Juergen Vigna <jug@sad.it>
15408 * lyxfunc.C (dispatch): use always LyXFind now!
15410 * text2.C (init): add a reinit flag so that the LyXText can be
15411 reinited instead of deleted and reallocated (used in InsetText).
15413 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15419 2001-07-18 Juergen Vigna <jug@sad.it>
15421 * text.C (selectNextWord): handle insets inside inset by calling
15422 always the bv->text functions so that we can go up the_locking_inset!
15424 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15425 in strange locations when inside an inset!
15427 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15428 handling to include insets.
15430 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15432 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15434 * LyXAction.C (init):
15436 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15437 LIGATURE_BREAK, since the name is so stupid.
15439 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15441 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15444 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15446 * sp_form.[Ch]: remove.
15448 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15450 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15453 * src/buffer.C (readInset): ditto.
15455 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15457 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15458 menuSeparator(), endOfSentenceDot(), ldots() and
15459 hyphenationPoint(), which are therefore removed.
15460 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15462 * LyXAction.C (init):
15463 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15465 * paragraph.C (getWord): removed.
15467 * BufferView_pimpl.C (Dispatch): use last word or selection for
15468 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15470 * lyx_main.C (queryUserLyXDir): do not ask before creating
15471 user_dir, except if it has been named explicitely.
15473 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15475 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15476 a document of zero size.
15478 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15480 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15481 approriately in the c-tor and in require().
15482 (getPackages): output the appropriate LaTeX for natbib support.
15484 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15485 variables "use_natbib" and "use_numerical_citations" when reading the
15487 (readInset): read the various natbib cite commands.
15488 (validate): white-space change.
15490 * bufferparams.[Ch]: new variables "bool use_natbib" and
15491 "bool use_numerical_citations".
15492 (writeFile): output them in the LyX file.
15494 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15496 * lyxfunc.C (getStatus): add support for all the inset insertion
15499 * text2.C (insertInset):
15500 * paragraph.C (insetAllowed):
15501 * BufferView_pimpl.C (insertInset): update to take in account the
15502 renaming of insertInsetAllowed
15504 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15506 * text2.C (getInset): new method. returns inset at cursor position.
15508 * BufferView_pimpl.C (Dispatch): changes because of this.
15510 * LyXAction.C (init): rename open-stuff to inset-toggle.
15512 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15514 * text2.C (toggleInset): renamed from openStuff; use
15517 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15519 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15521 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15523 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15525 * buffer.C (readLyXformat2): Add filename to the error dialog
15527 2001-07-18 Juergen Vigna <jug@sad.it>
15529 * tabular.C (GetCellNumber): put an assert here instead of the check!
15531 2001-07-17 Juergen Vigna <jug@sad.it>
15533 * BufferView_pimpl.C (toggleSelection): adapted too.
15535 * text.C (selectNextWord): adapted for use with insets.
15536 (selectSelectedWord): ditto
15538 2001-07-17 Juergen Vigna <jug@sad.it>
15540 * sp_spell.C (PSpell): fix initialitation order.
15542 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15544 * paragraph.C: spacing
15546 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15548 * sp_spell.C: repair language selection for pspell
15550 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15552 * lyxfunc.h: change more methods to begin with lower char.
15554 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15556 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15557 for unknown layouts.
15559 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15561 * buffer.C (readLyXformat2): Generate an error dialog if there are
15564 2001-07-16 Juergen Vigna <jug@sad.it>
15566 * sp_spell.C: always compile ISpell part.
15568 * lyxrc.C: added use_pspell entry and it's handling.
15570 2001-07-13 Juergen Vigna <jug@sad.it>
15572 * sp_spell.C: removed double includes.
15574 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15576 Consistent use of Lsstream.h:
15577 * Lsstream.h: added using std::stringstream for consistencies sake.
15579 * buffer.C: removed using std::stringstream
15581 * lyxfont.C (stateText):
15582 * paragraph.C (asString):
15583 * text.C (selectNextWord, selectSelectedWord):
15584 * text2.C (setCounter):
15585 * vspace.C (asString, asLatexString):
15586 std::ostringstream -> ostringstream.
15588 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15590 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15591 * commandtags.h: add LFUN_HELP_ABOUTLYX
15592 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15594 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15596 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15598 * lyx_gui_misc.C: remove spellchecker
15599 * lyxfunc.C: showSpellchecker
15601 * sp_ispell.h: added
15602 * sp_pspell.h: added
15603 * sp_spell.C: added
15604 * sp_form.[Ch]: removed
15605 * spellchecker.[Ch]: removed
15607 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15609 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15611 (simpleTeXSpecialChars): Simply print the input character without
15612 any special translation if pass_thru is set.
15614 * layout.h: Added bool pass_thru to layout class for being able to
15615 implement pass through of a paragraph for Literate Programming.
15617 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15618 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15619 * layout.C (Read): add "passthru" to list of layout tags and add
15620 code to set the pass_thru boolean when it is read.
15622 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15624 * trans_decl.h: remove allowed from KmodInfo
15626 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15627 remove allowed code
15630 * paragraph_pimpl.C (erase): use boost::prior
15632 * Painter.C (text): use data() instead of c_str() when length is
15634 * WorkArea.C (putClipboard): ditto
15635 * font.h (width): ditto
15637 * BufferView2.C: use it-> instead of (*it). for iterators
15639 * paragraph_pimpl.C: ditto
15640 * paragraph.C: ditto
15641 * minibuffer.C: ditto
15642 * language.C: ditto
15644 * encoding.C: ditto
15645 * counters.C: ditto
15646 * converter.C: ditto
15648 * Variables.C: ditto
15649 * TextCache.C: ditto
15650 * MenuBackend.C: ditto
15651 * LyXAction.C: ditto
15653 * FloatList.C: ditto
15654 * DepTable.C: ditto
15655 * ColorHandler.C (LyXColorHandler): ditto
15657 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15659 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15661 * text2.C (openStuff): reintroduce this method (which had been
15662 nuked in NEW_INSETS frenzy).
15664 * lyxfunc.C (Dispatch): when an action has not been handled, use
15665 its name in the error message, not its number.
15667 * paragraph.C (inInset): change method name to begin with lowercase.
15670 * text2.C: updates because of this.
15672 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15674 * ToolbarDefaults.C (add): add spaces in error message
15676 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15678 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15679 (readLyXformat2): rename return_par to first_par, use lyxlex's
15680 pushToken and remove the manual push handling.
15681 (parseSingleLyXformat2Token): add another ert comp. variable:
15682 in_tabular, rename return_par to first_par. handle newlines better
15684 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15686 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15688 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15690 * text2.C (getParFromID): removed
15692 * buffer.C (getParFromID): new method moved form lyxtext.
15693 * BufferView2.C (insertErrors): adjust
15694 (setCursorFromRow): adjust
15695 * BufferView_pimpl.C (restorePosition): adjust
15696 * lyxfunc.C (Dispatch): adjust
15697 * undo_funcs.C (textUndo): adjust
15699 (textHandleUndo): adjust
15700 (textHandleUndo): adjust
15702 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15704 * buffer.C: up' the LYX_FORMAT
15706 * lyxfont.h: turn NO_LATEX on as default
15708 * buffer.C (insertErtContents): new methods of tex style compability.
15709 (parseSingleLyXformat2Token): use it several places.
15710 * tabular.C (OldFormatRead): and here
15712 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15714 * text2.C: remove some commented code.
15717 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15718 * trans.C: changes because of the above.
15720 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15722 * text2.C (setCounter): Fix counters bug with bibliography layout.
15724 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15726 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15727 own member functions
15728 (simpleTeXSpecialChars): ditto
15730 2001-07-06 Juergen Vigna <jug@sad.it>
15732 * a lot of files: changed the access to LyXText::status and the
15733 call of undo-functions.
15735 * undo.[Ch]: added a inset_id to the undo informations.
15737 * undo_funcs.[Ch]: added and moved here all undo functions.
15739 * lyxtext.h: give the status enum a weight, made status_ a private
15740 variable and made accessor functions for it, removed the whole bunch
15741 of undo-functions as they are now in their own file, make some
15742 functions publically available. Added function ownerParagraph with
15745 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15746 made InInset() a const function, added getParFromID() function.
15748 * buffer.[Ch]: added const version for inset_iterator functions,
15749 added getInsetFromID() function.
15751 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15752 changed undo functions for new version.
15754 2001-07-05 Juergen Vigna <jug@sad.it>
15756 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15757 unknow mechanism does not call the proper constructor but only this
15758 one also if I request the other!?
15760 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15762 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15764 * text2.C (LyXText): use initialization lists.
15766 * lyxtext.h (Selection): initialize set_ and mark_
15767 (init): remove method
15769 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15771 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15773 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15775 * screen.[Ch]: change method names to begin with lowercase
15777 * BufferView_pimpl.C (updateScrollbar): simplify further and
15778 hopefully make it a bit faster.
15780 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15782 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15783 calling directly xforms functions.
15785 * Painter.C (Painter):
15786 * lyx_cb.C (MenuWrite):
15787 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15790 * lyx_gui.C: remove bogus guiruntime extern declaration.
15792 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15794 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15796 (redoDrawingOfParagraph): ditto
15797 (redoParagraphs): ditto
15798 (cutSelection): don't create a object for CutAndPaste use the
15799 static method directly
15800 (pasteSelection): ditto
15802 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15805 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15807 * modifications to some other files because of this.
15809 * Makefile.am (lyx_SOURCES): add XFormsView
15811 * XFormsView.[Ch]: new files
15813 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15814 the main window. Move the gui dependent stuff to XFormsView
15816 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15818 * tabular.C (GetCellInset): update cur_cell also in the row/col
15819 version of this function.
15821 * lyxfunc.C: no need to include figure_form.h here.
15827 * lyxvc.C: no need to include forms.h here.
15829 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15833 * lyxfunc.C (Dispatch):
15835 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15836 constructor argument.
15838 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15840 * paragraph.C (Paragraph): dont't clear, and just set layout.
15841 (makeSameLayout): use params's copy contructor.
15843 * ParagraphParameters.[Ch] (makeSame): delete method
15845 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15847 * Variables.[Ch]: fix indentation, rename set to isSet
15849 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * lyxfunc.C (Dispatch): fix typo
15853 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15855 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15858 * bufferlist.C: include assert.h for emergencyWrite().
15860 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15862 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15863 give up at last (bug #425202) !
15865 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15871 * spellchecker.C: strip spellchecker options and bring up
15872 preferences tab instead
15874 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15876 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15877 the istringstream constructor
15879 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15881 * paragraph.C (getLayout): fix return value
15883 * paragraph.h: do not declare getLayout as inline.
15885 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15887 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15889 * lyxcursor.h (operator<): new func
15890 (operator>): new func
15891 (operator>=): new func
15892 (operator<=): new func
15894 * text.C (changeCase): use selection.start and selection.end
15895 (changeRegionCase): require from to be <= to. Require par to be a
15898 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15900 2001-06-27 Juergen Vigna <jug@sad.it>
15902 * text.C (cursorLeftOneWord): changed to return the cursor and added
15903 overlay with BufferView * parameter which calls this one.
15905 (selectWord): use new getWord function.
15906 (changeCase): renamed from changeWordCase as and extended to work
15907 also on selections.
15909 * lyxtext.h: added enum word_location
15911 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15912 changeCase as this operates now also on selections.
15914 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15916 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15918 * many files: send debug output to Debug::INFO instead of
15921 * converter.C (View):
15923 (Move): send debug output to Debug::FILES instead of console.
15925 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15927 * lyxfunc.C (getStatus): use func_status
15929 * func_status.h: new header, describing the results of
15930 LyXFunc::getStatus;
15932 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15935 2001-06-25 The LyX Project <jug@sad.it>
15937 * buffer.C (sgmlOpenTag):
15939 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15941 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15943 * text2.C: remove some dead code
15945 * tabular.C (GetCellInset): store the last cell checked (gotten)
15947 * tabular.h: add the helper for the speedup
15949 * lyxtext.h: remove some dead code
15951 2001-06-26 The LyX Project <Asger>
15953 * paragraph.C: Change export to LaTeX of alignment to
15954 \begin{center} and family for better roundtrip work with reLyX.
15956 * Tune the math drawing a bit.
15958 2001-06-25 The LyX Project <Asger>
15960 * LColor.C (LColor): New color for math background. New color
15963 2001-06-25 The LyX Project <jug@sad.it>
15965 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15967 * lyxfunc.C (Open):
15968 * bufferlist.C (newFile): do not restrict to files ending with
15971 * BufferView_pimpl.C (MenuInsertLyXFile):
15973 2001-06-24 The LyX Project <jug@sad.it>
15975 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15978 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15980 * lyxtext.h: rename most methods to begin with a small char.
15981 Lots of changes because of this.
15983 * paragraph.C (Paragraph): do not call fitToSize
15984 (erase): call Pimpl::erase
15985 (insertChar): call Pimpl::insertChar
15986 (insertInset): call Pipl::insertInset
15987 (breakParagraph): do not call fitToSize
15988 (breakParagraphConservative): do not call fitToSize
15989 (fitToSize): remove method
15991 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15993 2001-06-24 The LyX Project <Asger>
15995 * Fix Qt compilation^2
15997 2001-06-24 The LyX Project <jug@sad.it>
15999 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16000 depthHook(getDepth()-1).
16003 * ParagraphParameters.h:
16004 * ParameterStruct.h: change type of depth to unsigned int ==
16005 depth_type. Many adaptations to other files before of that.
16007 2001-06-24 The LyX Project <Asger>
16009 * Fix Qt compilation.
16011 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16013 * paragraph.h: renamed several methods to begin with small letter.
16014 several changes to many parts of the code because of this.
16016 2001-06-23 The LyX Project <jug@sad.it>
16018 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16019 rewritten to discard all double spaces when KeepEmpty is off
16020 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16021 to only handle newlines but not fiddle with spaces and friends.
16023 * lyxfunc.C (MenuNew): when doing 'new from template', use
16024 template_path as default directory
16026 2001-06-23 The LyX Project <Asger>
16028 * Clean-up of header file includes all over
16029 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16031 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16033 * paragraph.h: renamed from lyxparagraph.h
16035 2001-06-23 Asger <lyx@violet.home.sad.it>
16037 * Buffer.h: Removed Buffer::resize
16038 * BufferList.h: Removed BufferList::resize
16039 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16040 the document lazily when we change the width, or the font settings.
16042 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16044 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16046 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16048 * buffer.h: remove out of date comment
16050 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16053 * screen.C: fix "theoretical" GC leak
16055 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16057 * LaTeX.C (scanAuxFile):
16058 (deplog): remove trailing \r when reading stream (useful under
16061 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16063 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16064 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16065 and BufferView::theLockingInset(Inset*), so should use them and not
16066 access bv_->text->the_locking_inset directly.
16068 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16070 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16073 * tex-defs.h: remove old unused file
16075 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16077 * BufferView_pimpl.C: fix typo, remove minibuffer message
16078 when buffer has loaded
16080 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * lyxfunc.C (Dispatch): use stringstream
16083 (MenuNew): use stringstream
16084 (Open): use stringstream
16086 * importer.C (Import): use stringstream
16088 * bufferview_funcs.C (CurrentState): use stringstream
16090 * LaTeX.C (run): use stringstream
16092 * BufferView_pimpl.C (savePosition): use stringstream
16093 (restorePosition): use stringstream
16094 (MenuInsertLyXFile): use stringstream
16096 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16109 * vspace.C: removed // -*- C++ -*- as first line.
16112 * version.h: added // -*- C++ -*- as first line.
16114 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16116 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16118 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16121 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16123 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16126 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16128 * gettext.C: include LString.h even when --disable-nls is on.
16130 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16132 * converter.h (Get): changed argument type from int to
16133 FormatList::size_type to avoid unnecessary conversion.
16135 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16138 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16140 * gettext.h: include LString.h even when --disable-nls is on.
16142 2001-06-07 Juergen Vigna <jug@sad.it>
16144 * text.C (BreakAgain): subst spaces with tabs.
16146 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16147 (resizeInsetsLyXText): set force on resizeLyXText.
16149 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16151 * gettext.h (gettext_init):
16152 (locale_init): use a real definition instead of a macro
16154 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16156 * Bufferview_pimpl.C:
16158 * LColor.C: further lcolor tidies
16160 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16162 * BufferView_pimpl.C (updateScrollbar): simplify.
16164 * BufferView2.C: don't include insets/insetinfo.h, change
16165 prototype for insertInset and call the Pimpl version. let
16166 updateInset call Pimpl version.
16168 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16169 gotoInset to BufferView::Pimpl
16171 2001-06-01 Juergen Vigna <jug@sad.it>
16173 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16174 inside a LockingInset (is the update needed at all?).
16176 2001-05-31 Juergen Vigna <jug@sad.it>
16178 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16179 here not the old one otherwise how should we compare it afterwards
16182 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16187 * FontInfo.C: bring C functions into global namespace when
16190 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16192 * LString.h: make sure config.h has been loaded before LString.h.
16194 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16195 (one for each char read by EatLine!).
16197 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16200 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16202 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16203 to the same as the par we break from
16205 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16207 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16209 * MenuBackend.C (expand): also create menu entries for wide
16210 versions of the floats.
16212 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16214 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16216 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16217 frontends/Makefile.am
16223 * tabular.C (getTokenValue): add std::
16225 * tabular-old.C (getTokenValue): add std::
16226 (getTokenValue): ditto
16227 (getTokenValue): ditto
16229 * screen.C (ToggleSelection): adjust
16231 * lyxtext.h: put selection cursors inside a Selection struct.
16233 * lyxfunc.C (moveCursorUpdate): adjust
16235 * lyxfont.C (latexWriteStartChanges): add std::
16237 * lyxfind.C: adjust
16239 * font.h: delete with(char const *, LyXFont const &)
16241 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16243 * FontInfo.C (getFontname): add std::
16245 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16246 (workAreaButtonPress): adjust
16247 (tripleClick): adjust
16249 (moveCursorUpdate): adjust
16252 * BufferView2.C (gotoInset): adjust
16254 2001-05-30 Juergen Vigna <jug@sad.it>
16256 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16257 to check pspell I add this as default as I now have new pspell
16258 libraries and they seem to use this.
16260 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16262 * text2.C (CutSelection): make the cursor valid before the call to
16265 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16267 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16268 relied on 0 terminated strings and other horrors. Bug found due to
16269 the new assert in lyxstring!
16271 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16274 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16276 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16279 * lyxfunc.C (processKeySym): change method of getting to the
16282 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16283 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16284 * BufferView_pimpl.[Ch]: here as private methods.
16286 2001-05-28 Juergen Vigna <jug@sad.it>
16288 * text.C (SetHeightOfRow): added the update() call again as it is
16289 needed to initialize inset dimensions!
16291 2001-05-16 Juergen Vigna <jug@sad.it>
16293 * text2.C (SetCharFont): Add new function with BufferView * and
16294 bool toggleall parameters for setting insets internal fonts.
16295 (SetFont): Freeze the undo as we may change fonts in Insets and
16296 all this change should be inside only one Undo!
16298 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16299 setting font's in insets as for them we have the SetFont function!
16301 2001-05-15 Juergen Vigna <jug@sad.it>
16303 * text2.C (ClearSelection): to be sure we REALLY don't have any
16306 * tabular.C (TeXCellPreamble): fixed the left border problem for
16309 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16311 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16314 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16316 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16317 LFUN_BREAKPARAGRAPH.
16319 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16320 help test to "internal only", similar for LFUN_INSERT_URL
16322 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16323 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16324 auto_region_delete and deadkeys.
16326 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16329 * LColor.C: remove some dead entries, tidy a little
16331 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16333 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16335 (Dispatch): implement LFUN_ESCAPE
16337 * commandtags.h: add LFUN_ESCAPE
16339 * LyXAction.C (init): add entry for LFUN_ESCAPE
16341 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16342 Remove commented code.
16343 (insertNote): moved here
16344 (open_new_inset): moved here
16346 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16349 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16351 * kbmap.C (findbinding): clean it up and make it work correctly.
16353 * lyx_main.C (init): do not pass argc and argv as parameters
16355 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16357 * buffer.C: fix path for OS/2 & Win32
16361 * lyx_main.C: Added os:: class.
16363 * os2_defines.h: update
16365 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16367 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16368 better by trying again with reduced state.
16370 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16372 * lyxrc.C (read): print error about invalid key sequence only when
16373 debugging (because not all latinX keysyms are known to some X
16376 * kbsequence.C (getiso): add a few std:: qualifiers
16377 (getiso): comment out extra return statement.
16379 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16381 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16383 (Dispatch): enhance the accent inset a bit. (not perfect)
16385 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16387 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16389 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16391 * bufferlist.C (emergencyWrite): fix assert() call
16393 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16395 * text.C (InsertChar): Added trivial patch to only send the "you
16396 can not do multiple spaces this way" message once during a
16399 2001-05-08 Baruch Even <baruch@lyx.org>
16401 * Makefile.am: Changed order of libraries to get LyX to link properly
16402 with the gnome frontend.
16404 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16406 * LaTeXFeatures.h: add a std:: qualifier
16408 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16410 * paragraph.C (String): use stringstream
16412 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16414 * paragraph.C (writeFile): remove footflag arg
16416 * buffer.C (makeLaTeXFile): use stringstream
16417 (latexParagraphs): remove footnot gurba
16419 * LaTeXFeatures.C (getPackages): use stringstream
16420 (getMacros): likewise
16421 (getTClassPreamble): likewise
16422 (getFloatDefinitions): new method
16424 * paragraph.C (writeFile): reindent
16427 * WorkArea.h: revert the xpos + etc changes.
16429 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16431 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16433 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16434 (pasteSelection): likewise
16435 * text2.C (CreateUndo): likewise
16437 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16439 * minibuffer.C (peek_event): temporarily reduce the functionality
16440 of the minibuffer (to allow args on lfuns)
16442 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16443 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16445 * buffer.C (readInset): add compability reading of old float
16446 lists, add reading of new style float list.
16447 (readInset): avoid reevaluation of inscmd.getCmdName()
16448 (getLists): reindent
16450 * MenuBackend.C (MenuItem): implement parsing of
16451 md_floatlistinsert and md_floatinsert.
16452 (expand::LastFiles): move initalizaton of iterators out of loop,
16453 avoid reevaluation.
16454 (expand::Documents): introduce typdedef vector<string> Strings,
16456 (expand::ExportFormats): introduce typedef vector<Format const *>
16457 Formats, and use it.
16458 (expand): implement FloatListInsert and FloatInsert.
16460 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16461 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16462 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16464 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16466 (Dispatch::LFUN_FLOAT_LIST): implement
16468 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16470 * LaTeX.C (run): Fix problem with --export code.
16472 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16474 * BufferView.[Ch] (workarea): removed.
16475 (getClipboard) new method; wrapper for workarea()->getClipboard()
16477 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16480 * WorkArea.h (width, height, xpos, ypos): These methods all
16481 returned the dimensions of the work_area sub-area of WorkArea,
16482 resulting in a position error if the WorkArea were resized. Now
16483 return the dimensions of the entire WorkArea.
16485 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16487 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16489 * LaTeX.C (deplog): correct the syntax of regex reg1
16491 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16493 * undo.C: remove !NEW_INSETS cruft
16495 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16497 * text2.C: remove !NEW_INSETS cruft
16499 * text.C: remove !NEW_INSETS cruft
16501 * tabular.C: remove !NEW_INSETS cruft
16503 * spellchecker.C: remove !NEW_INSETS cruft
16505 * lyxtext.h: remove !NEW_INSETS cruft
16507 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16509 * lyxfunc.C: remove !NEW_INSETS cruft
16511 * lyxfind.C: remove !NEW_INSETS cruft
16513 * lyx_cb.C: remove !NEW_INSETS cruft
16515 * figureForm.C: remove !NEW_INSETS cruft
16517 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16519 * buffer.[Ch]: remove !NEW_INSETS cruft
16521 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16523 * CutAndPaste.C: remove !NEW_INSETS cruft
16525 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16527 * BufferView2.C: remove !NEW_INSETS cruft
16529 * BufferView.h: remove !NEW_INSETS cruft
16531 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16533 * Lsstream.h: include LString.h before the sstream headers to
16534 fix problem with gcc 2.95.3 and lyxstring
16536 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16538 * lyx_main.C: add using directives when needed for C functions
16539 declared in std:: namespace.
16541 2001-04-27 Juergen Vigna <jug@sad.it>
16543 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16544 (SetHeightOfRow): comment out the update call should not be needed!
16546 2001-04-13 Juergen Vigna <jug@sad.it>
16548 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16549 (LyXTabular): tried to minimize operator= operations (and realized
16550 hopfully Lars wish).
16552 2001-04-27 Juergen Vigna <jug@sad.it>
16554 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16556 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16558 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16560 * buffer.C (readInset): hack to make listof algorithm work
16562 * BufferView_pimpl.C: hack to make listof algorithm work
16564 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16566 * LyXAction.C: removed all !NEW_INSETS cruft
16567 (init): moved lfun_item in method
16569 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16571 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16573 * BufferView2.C (theLockingInset): white space.
16575 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16577 * minibuffer.C: include <iostream>
16579 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16581 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16583 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16585 * text.[Ch] (TransposeChars): new method
16587 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16589 * call message directly through LyXView instead of through LyXFunc
16590 * BufferView2.C: adjust
16591 * BufferView_pimpl.C: adjust
16592 * FontLoader.C: adjust
16594 * bufferview_funcs.C: adjust
16595 * converter.C: adjust
16596 * figureForm.C: adjust
16597 * importer.C: adjust
16599 * lyx_gui_misc.C: adjust
16600 * lyxfunc.C: adjust
16603 + more files in subdirs
16605 * lyxparagraph.h (size): move up int file
16608 * adjust all uses of Assert to lyx::Assert.
16610 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16611 lyxfunctional in namespace lyx
16612 * layout.C (hasLayout): ditto
16615 (delete_layout): ditto
16616 (NumberOfClass): ditto
16617 * converter.C (GetFormat): ditto
16622 * bufferlist.C (getFileNames): ditto
16623 (emergencyWriteAll): ditto
16626 * MenuBackend.C (hasSubmenu): ditto
16629 * BufferView_pimpl.C (getInsetByCode): ditto
16631 2001-04-18 Juergen Vigna <jug@sad.it>
16633 * vspace.C (asLatexString): fixed the 100% problem.
16635 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16637 * lyxfunc.C (Dispatch):
16639 * minibuffer.h: add a few std:: qualifiers
16641 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16643 * minibuffer.[Ch]: reimplement so that commands is initiated and
16644 run from lyxfunc, simplified som handling, and made the completion
16645 and history code for complete. wip.
16647 * lyxfunc.C (processKeySym): call message
16648 (miniDispatch): new temporary method
16649 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16650 (LFUN_MESSAGE): implement
16651 (LFUN_MESSAGE_PUSH): implement
16652 (LFUN_MESSAGE_POP): implement
16653 (initMiniBuffer): the initial/defualt minibuffer message.
16655 * lyxfont.[Ch]: inline some more getters
16657 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16659 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16661 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16662 (AutoSave): use LFUN_MESSAGE
16663 (Reconfigure): ditto
16665 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16667 * figureForm.C: use LFUN_MESSAGE
16669 * converter.C (runLaTeX): use LFUN_MESSAGE
16671 * bufferview_funcs.C: use LFUN_MESSAGE
16673 (changeDepth): ditto
16675 * bufferparams.h: use boost::
16677 * bufferlist.h: inherit privately from noncopyable
16679 * bufferlist.C (loadLyXFile): remove some commented code.
16681 * buffer.C (runChktex): use LFUN_MESSAGE
16683 * ShareContainer.h: inherit privately from noncopyable
16685 * ParagraphParameters.[hC] (depth): inline it.
16687 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16689 (message): new method
16690 (messagePush): ditto
16691 (messagePop): ditto
16692 (show): init minibuffer
16693 (showState): direct call
16695 * LaTeX.[Ch]: inherit privately from noncopyable
16696 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16697 instead of WriteStatus.
16699 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16701 * BufferView_pimpl.C (buffer): don't init minibuffer
16702 (workAreaButtonPress): use LFUN_MESSAGE
16703 (workAreaButtonRelease): ditto
16704 (savePosition): ditto
16705 (restorePosition): ditto
16706 (MenuInsertLyXFile): ditto
16707 (workAreaExpose): don't init minibuffer
16708 (update): remove commented code, simplify
16710 * BufferView2.C (openStuff): use LFUN_MESSAGE
16711 (toggleFloat): ditto
16714 (copyEnvironment): ditto
16715 (pasteEnvironment): ditto
16720 (updateInset): remove some commented code
16722 * lastfiles.h: inherit privately from noncopyable
16725 * lyx_main.h: ditto
16727 * lyxlex_pimpl.h: ditto
16729 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16730 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16731 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16733 * LyXAction.h: inherit privately from noncopyable, add methods
16734 func_begin, func_end, returning iterators to the func map.
16736 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16737 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16738 (func_begin): new method
16739 (func_end): new method
16741 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16743 (copySelection): ditto
16744 (pasteSelection): ditto
16746 * BufferView.C: whitespace change
16747 * BufferView.h: inherit privately from noncopyable
16749 2001-04-16 Allan Rae <rae@lyx.org>
16751 * tabular-old.C (l_getline):
16752 * spellchecker.C (sc_check_word):
16753 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16754 an unrecognised preprocessor directive. So ensure they're wrapped.
16756 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16758 * src/exporter.C (Export): Give an error message when path to file
16761 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16763 * LaTeX.C (deplog): Always check that foundfile exists.
16765 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16770 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16772 * tabular.[Ch] (getLabelList): implement new method
16774 * minibuffer.h: comment ouf setTiimer
16776 * minibuffer.C (ExecutingCB): constify res
16777 (peek_event): constify s
16778 (Set): constify ntext
16779 (Init): constify nicename
16781 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16783 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16784 (savePosition): use two params to Minibuffer::Set
16785 (restorePosition): ditto
16787 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16789 * lyx_main.C: include language.h
16791 * Makefile.am (lyx_main.o): add language.h
16793 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16799 * CutAndPaste.C: include gettext.h
16801 * lyxfont.h: remove old hack with ON and OFF.
16804 * lyxfont.h: do not include language.h...
16809 * bufferview_funcs.C:
16815 * paragraph.C: ... but do it here instead
16817 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16819 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16821 * tabular.C: small reformat
16823 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16826 (BreakParagraph): ditto
16827 (SetOnlyLayout): ditto
16830 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16833 * lastfiles.C: removed most using decl, add std:: where needed
16835 * buffer.C: ws changes
16837 * MenuBackend.C (class compare_format): put into anon namespace
16838 (expand): constify label, names, action, action2
16841 * text.C (SingleWidth): constify font
16842 (IsBoundary): constify rtl2
16843 (GetVisibleRow): constify ww
16845 * LaTeX.C (deplog): constify logfile
16847 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16849 (workAreaExpose): constify widthChange, heightChange
16851 * lyxrow.C (par): moved
16854 * lyxrow.h: as inlines here
16856 * lyxfont.h (shape): moved from lyxfont.C
16857 (emph): moved from lyxfont.C
16859 * lyxfont.C (LyXFont): use initialization list for all
16861 (shape): move to lyxfont.h as inline
16862 (emph): move to lyxfont.h as inline
16865 2001-04-04 Juergen Vigna <jug@sad.it>
16867 * vspace.C: had to include stdio.h for use of sscanf
16869 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16872 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16873 independent of xforms.
16875 2001-04-02 Juergen Vigna <jug@sad.it>
16877 * spellchecker.C: fixed namespace placing!
16879 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16881 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16882 the LyXParagraph * is 0.
16884 2001-03-29 Juergen Vigna <jug@sad.it>
16886 * vspace.C: added support for %, c%, p%, l%.
16887 (stringFromUnit): added helper function.
16888 (asLatexString): changed to give right results for the %-values.
16890 * buffer.C: convert the widthp in a width%.
16892 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16894 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16897 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16898 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16900 * lyx_cb.[Ch]: see above.
16902 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16906 * lyx.[Ch]: replaced by figure_form.[Ch].
16910 * lyxfunc.C: changed headers associated with above changes.
16912 2001-03-27 Juergen Vigna <jug@sad.it>
16914 * BufferView_pimpl.C: set the temporary cursor right!
16916 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16918 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16920 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16922 * LString.h: removed "using std::getline"!
16924 * BufferView_pimpl.C (Dispatch): changes due to changes in
16925 InsetInclude::Params.
16927 * buffer.C (tag_name): removed redundant break statements as they were
16928 producing lots of warnings with my compiler.
16930 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16932 * LString.h: add "using std::getline" when using the real <string>.
16934 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16936 * buffer.C: removed bitset usage.
16937 PAR_TAG moved to an anonymous name space.
16938 (tag_name): new funtion, also in the anonymous namespace.
16939 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16940 (makeDocBookFile): clean code. Completed transition from string arrays
16942 (SimpleDocBookOnePar): code clean.
16944 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16946 * tabular.C: add some comments.
16948 2001-03-22 Juergen Vigna <jug@sad.it>
16950 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16951 compatibility read a bit and fixed bug with minipage in different
16954 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16956 * buffer.C (pop_tag): removed.
16957 (push_tag): removed.
16958 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16959 array replaced with vector. Added support for CDATA sections.
16960 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16962 (makeDocBookFile): XML conformant declaration of CDATA section,
16963 fixed bug related to <emphasis> in the first paragraph char.
16964 (sgmlOpenTag): exclude empty tags.
16965 (sgmlCloseTag): ditto.
16967 * buffer.h (pop_tag): removed.
16968 (push_tag): removed.
16970 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16972 * language.h (Languages): added size_type and size().
16974 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16976 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16977 response on compability reading of minipages. One probliem is that
16978 the old usage of minipages was «flertydig»
16980 * several files here and in subdirs: don't use static at file
16981 scope use anon namespaces instead.
16983 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16985 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16986 LaTeX output. This is necessary for Literate document
16989 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16991 * buffer.C: insert hfill when needed.
16993 * tabular.C (l_getline): use string::erase, small whitespace change.
16995 * BufferView_pimpl.C: try the anon namespace.
16996 * WorkArea.C: ditto
16998 2001-03-16 Juergen Vigna <jug@sad.it>
17000 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17001 otherwise it won't open options-dialogs.
17003 * buffer.C: honor pextraWidth(p) on converting minipages.
17005 * tabular.C (l_getline): changed the functions to strip trailing \r.
17007 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17009 * BufferView_pimpl.C:
17010 * minibuffer..C: added "using SigC::slot" declaration.
17012 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17014 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17020 * paragraph.C: ditto
17022 * lyxtext.h: NO_PEXTRA
17024 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17026 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17027 * ParameterStruct.h: ditto
17028 * ParagraphParameters.h: ditto
17029 * lyxparagraph.h: ditto
17031 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17033 * buffer.C: add compability for minipage alignment.
17034 (latexParagraphs): remove unwanted pextra check.
17036 * several files: remove CXX_WORKING_NAMESPACES
17038 * buffer.C (pop_tag): tie is in namespace boost
17040 * BufferView.h: noncopyable is in namespace boost
17042 * lyx_main.h: ditto
17045 * lastfiles.h: ditto
17046 * bufferlist.h: ditto
17047 * ShareContainer.h: ditto
17049 * LyXAction.h: ditto
17052 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17054 * Merging changes from BRANCH_MVC back into HEAD.
17056 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17058 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17060 * BufferView_pimpl.C: change from intl.C
17064 * Makefile.am: move combox.*
17070 * intl.C: remove dialog (covered by prefs)
17072 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17074 * lyxfunc.C (Dispatch): removed redundant break statement.
17076 2001-03-14 Juergen Vigna <jug@sad.it>
17078 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17080 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17082 * buffer.C: add hack to fix compability reading of minipages.
17084 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17086 * buffer.C (getLists): Cleanup.
17088 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17090 * lyxfont.C (update): don't honor toggleall on font size.
17092 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17096 * Makefile.am: moved to frontends/xforms/
17100 * BufferView_pimpl.C: changes for moved mathpanel
17102 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17104 * gettext.h: fix gettext_init() in --disable-nls
17106 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17108 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17110 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17113 * lyx.h: strip external form
17115 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17117 * BufferView_pimpl.C: add comment, destroySplash()
17119 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17121 * BufferView_pimpl.C:
17125 * lyxfunc.C: use re-worked insetinclude
17127 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17129 * buffer.C: add using std::stringstream.
17131 * lyx_cb.C: readd using std::ios.
17133 * buffer.C: add using std::map.
17135 * BufferView_pimpl.C: add using std::vector.
17137 * ShareContainer.h: add std:: to swap.
17139 * buffer.h: add some typedefs
17140 * buffer.C (getLists): use them
17141 (getLists): renamed from getTocList.
17142 add a counter for the different float types and use it in the
17144 (getLists): use the same counter for the NEW_INSETS and the "non"
17147 * lyx_cb.h: remove unused items, includes, using etc.
17149 * ShareContainer.h: remove some commented code, add more comments
17150 and "documentation".
17152 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17154 * buffer.C (getTocList): make the list also when NEW_INSETS is
17157 * buffer.h: remove TocType
17159 * buffer.C (getTocList): change to return a map<string,
17160 vector<TocItem> >, implement for dynamic number of list.
17162 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17163 * text2.C (PasteSelection): adjust
17164 * CutAndPaste.C (pasteSelection): adjust
17166 * FloatList.C (FloatList): update from the new_insets branch.
17167 * Floating.[Ch]: ditto
17168 * LaTeXFeatures.C: ditto
17170 * lyxlex_pimpl.C: ditto
17172 * paragraph.C (Last): remove when NEW_INSETS is defined.
17174 * other file: changes because of the above.
17176 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17178 * lyxparagraph.h: rename next to next_, previous to previous_,
17179 make them private for NEW_INSETS. Rename Next() to next(),
17180 Previous() to previous().
17182 * other files: changes because of the above.
17184 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17187 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17190 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17192 * main.C (main): pass lyx_localedir to gettext_init().
17194 * gettext.h: remove locale_init and gettext_init macros
17196 * gettext.C (locale_init): new function
17197 (gettext_init): new function
17199 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17202 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17204 * Moved credits to frontends:
17205 * credits.[Ch]: removed
17206 * credits_form.[Ch]: removed
17207 * lyx_gui_misc.C: remove credits stuff
17210 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17212 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17214 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17215 unneeded destructor.
17217 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17218 a standalone pointer again.
17220 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17222 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17228 * ToolbarDefaults.C:
17237 * BufferView_pimpl.C: use new file dialog in GUII
17240 * lyx_cb.C: remove LayoutsCB to Toolbar
17242 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17244 * ShareContainer.h (get): add std:: qualifier
17246 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17248 * ShareContainer.h: define a proper ShareContainer::value_type
17249 type (and use typename to please compaq cxx)
17251 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17253 * lyxparagraph.h: move serveral local vars to
17254 ParameterStruct/ParagraphParameters., use ShareContainer in
17255 FontTable., make vars in FontTable private and add getter and
17258 * paragraph.C: changes because of the above.
17260 * lyxfont.h: remove copy constructor and copy assignment. (the
17261 default ones is ok), move number inside FontBits. move inlines to
17264 * lyxfont.C: add number to initializaton of statics, move several
17265 inlines here. constify several local vars. some whitespace
17266 cleanup. Dont hide outerscope variables.
17268 * Spacing.h: add two new constructors to match the set methods.
17270 * ShareContainer.h: new file, will perhaps be moved to support
17272 * ParameterStruct.h: new file
17274 * ParagraphParameters.h: new file
17276 * ParagraphParameters.C: new file
17278 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17279 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17281 * BufferView_pimpl.C: ParagraphParameter changes.
17282 * buffer.C: Likewise.
17283 * bufferview_funcs.C: Likewise.
17284 * text.C: Likewise.
17285 * text2.C: Likewise.
17287 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17289 * lyxfind.C (LyXReplace): do not redefine default argument in
17291 (IsStringInText): ditto
17292 (SearchForward): ditto
17293 (SearchBackward): ditto
17295 2001-03-06 Juergen Vigna <jug@sad.it>
17297 * lyxfind.C (IsStringInText): put parentes around expressions.
17299 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17301 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17303 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17305 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17307 * stl_string_fwd.h: add comment
17309 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17312 * tabular.C: remove unused DocBook methods
17318 killed DO_USE_DEFAULT_LANGUAGE
17320 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17322 * lyx_gui.C: do not include language.h.
17324 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17325 arguments in function implementation.
17327 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17329 * BufferView_pimpl.C: add <ctime>
17331 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17333 * BufferView_pimpl.C: add using std::find_if
17335 2001-02-27 José Matos <jamatos@fep.up.pt>
17337 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17340 2001-02-11 José Matos <jamatos@fep.up.pt>
17342 * buffer.C (makeDocBookFile): command styles now have a parameter as
17343 "title" by default.
17345 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17347 * layout_forms.[Ch]: removed
17348 * lyx_cb.[Ch]: out character
17349 * lyx_gui.C: out character
17350 * lyx_gui_misc.C: out character
17351 * bufferview_funcs.C: : out character,
17352 added toggleall as parameter in ToggleAndShow
17354 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17356 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17358 * text2.C (SetCurrentFont): Disable number property at boundary.
17360 2001-02-26 Juergen Vigna <jug@sad.it>
17362 * lyxfunc.C (getStatus): added a string argument override function so
17363 that this is correctly called from LyXFunc::Dispatch if it contains a
17364 do_not_use_argument which is used!
17365 (Dispatch): added check for "custom" export and call appropriate func.
17367 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17369 * lyxrc.C: Add language_command_local, language_use_babel and
17370 language_global_options.
17372 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17374 * buffer.C (makeLaTeXFile): Use language_use_babel and
17375 language_global_options.
17377 2001-02-23 Juergen Vigna <jug@sad.it>
17379 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17380 which works with LyXText and putted it inside BufferView. Here now we
17381 only call for that part the BufferView::Dispatch() function.
17383 * BufferView.C (Dispatch): added.
17385 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17386 functions which needs to use a LyXText over from LyXFunc.
17387 (MenuInsertLyXFile): added
17388 (getInsetByCode): added
17389 (moveCursorUpdate): added
17390 (static TEXT): added
17392 2001-02-22 Juergen Vigna <jug@sad.it>
17394 * BufferView_pimpl.C (update): call a status update to see if LyXText
17397 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17399 * vc-backend.C (revert): implement for CVS
17400 (getLog): implement for CVS
17402 2001-02-20 Juergen Vigna <jug@sad.it>
17404 * text2.C (ClearSelection): added BufferView param for inset_owner call
17406 * lyxfunc.C (TEXT): added this function and use it instead of
17407 directly owner->view()-text of getLyXText().
17409 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17411 * src/layout_forms.C: out preamble
17412 * src/layout_forms.h: out preamble
17413 * src/lyx_cb.C: out preamble
17414 * src/lyx_cb.h: out preamble
17415 * src/lyx_gui.C: out preamble
17416 * src/lyx_gui_misc.C: out preamble
17417 * src/lyxfunc.C: connect with guii preamble
17419 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17421 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17423 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17425 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17426 whether to run bibtex.
17428 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17430 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17432 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17434 * Makefile.am (lyx_SOURCES): removed bibforms.h
17436 * vspace.h: doxygen
17438 * text.C (GetVisibleRow): make several local vars const
17440 * tabular.C: small cleanup.
17442 * lyxserver.C (callback): use compare instead of strncmp
17444 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17445 inlines to after class or to paragraph.C
17447 * lyxfont.h: remove friend operator!=
17449 * converter.h: move friend bool operator< to non friend and after
17452 * combox.h: small cleanup
17454 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17455 to inlines after class def.
17457 * buffer.C (pop_tag): use string operations instead of strcmp
17459 * bmtable.c: doxygen, small cleanup
17461 * LaTeX.h: remove friend operator==
17463 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17475 * BufferView_pimpl.C:
17476 * BufferView.[Ch]: remove cruft
17478 2001-02-14 Juergen Vigna <jug@sad.it>
17480 * lyxfunc.C: removed #if 0 unused code
17482 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17484 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17486 * text2.C (SetSelection): added a BufferView * parameter
17488 2001-02-13 Juergen Vigna <jug@sad.it>
17490 * lyxfunc.C (Dispatch): fixed protected blank problem.
17491 * BufferView2.C (protectedBlank): added LyxText * parameter.
17493 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17494 (AppendColumn): same as above for column_info.
17496 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17497 (moveCursorUpdate): use a LyXText param for support of InsetText.
17499 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17500 (tripleClick): ditto
17502 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17504 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17506 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17508 * text2.C (SetSelection): set correct update status if inset_owner
17509 (ToggleFree): ditto
17511 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17513 * tabular.C: remove some commented code.
17515 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17517 * BufferView_pimpl.C: call hideSplash()
17519 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17522 * bibforms.h: remove
17525 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17526 add LFUN_CHILD_CREATE
17528 * counters.h: fix tiny typo
17533 * lyx.C: move splash to frontends/xforms/
17535 * lyx_gui_misc.C: move Include and Bibform to frontends
17537 * lyxvc.h: clarify comment
17539 * vspace.C: tiny housekeeping
17541 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17543 * text.C (PrepareToPrint): RTL Fix.
17545 * paragraph.C (GetUChar): New method.
17546 (String): Use GetUChar.
17548 * buffer.C (asciiParagraph): Use GetUChar.
17550 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17552 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17554 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17557 * buffer.C: rename to getLogName(), handle
17558 build log / latex log nicely
17560 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17563 * MenuBackend.h: remove support for reference menuitem type.
17565 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17567 * BufferView_pimpl.C: housekeeping
17568 * BufferView_pimpl.h:
17573 * minibuffer.h: move Timeout GUI-I
17575 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17577 * lyxrc.C (read): Update converters data-structures.
17579 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17581 * LaTeX.h (operator!=): add operator != for Aux_Info
17583 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17585 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17587 * LaTeXLog.C: deleted, useful code moved to Buffer
17590 * buffer.C: new function getLatexLogName()
17596 * lyxfunc.C: use frontends for LaTeX and VC logs
17598 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17600 * LaTeX.h: yet another std:: that Allan forgot.
17602 * Variables.C (set): renamed from isset(), because this clashes
17603 with some HP-UX macros (grr).
17605 2001-02-06 Allan Rae <rae@lyx.org>
17607 * LaTeX.h: Another bug fix. Missing std:: this time.
17609 2001-02-04 Allan Rae <rae@lyx.org>
17611 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17612 floats problem. I've left it commented out because it's not quite
17613 correct. It should also test that the current object is a table or
17614 figure inset. But I haven't gotten around to figuring out how to do
17615 that. I *think* it'll be something like: "table" == inset.type()
17617 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17620 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17622 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17623 all the citation/databases/styles in the auxilary file.
17624 (run): Rerun latex if there was a babel language error.
17626 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17628 * text.C (Backspace): Preserve the font when changing newline char
17630 (BreakParagraph): If the cursor is before a space, delete the space.
17632 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17634 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17636 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17637 new argument (code).
17638 (ChangeCitationsIfUnique): New method.
17640 * paragraph.C (GetPositionOfInset): Handle bibkey.
17642 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17644 * BufferView_pimpl.h: change type of Position::par_pos to
17645 LyXParagraph::size_type.
17647 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17649 * BufferView_pimpl.C (savePosition, restorePosition): Write
17650 messages to minibuffer.
17652 2001-01-28 José Matos <jamatos@fep.up.pt>
17654 * buffer.C (makeDocBookFile): adds support for document language.
17655 A silly restriction on the name of LatexCommand types where removed.
17656 Added support for CDATA sections, allows to chars unescaped, used
17657 among others in code, to avoid escape < and >.
17659 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17661 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17662 saved positions instrad of a stack. Furthermore, a position is
17663 stored using paragraph id/paragraph position.
17665 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17666 Remove LFUN_REF_BACK.
17668 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17670 * converter.C (dvipdfm_options): New method.
17672 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17674 * vspace.C (isValidLength): Fix for empty input string.
17676 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17678 * LyXAction.C (init): change description of LFUN_FIGURE to
17681 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17683 * LaTeX.C: add using directive
17685 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17687 * MenuBackend.C (expand): Fix the sorting of the formats.
17689 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17691 * lyx_main.C: tiny error message fix
17693 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17695 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17696 calling fl_initialize(). This fixes the problem with ',' as
17697 decimal separator in text files.
17699 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17701 * trans.C (process): Fix the keymap bug.
17703 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17705 * LaTeX.C (scanAuxFiles): New method. Provides support for
17706 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17707 (scanLogFile) Scan for "run BibTeX" messages.
17709 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17710 OT1 font encoding. Also, load the aecompl package if the ae
17713 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17715 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17717 * texrow.C (increasePos): turn two error messages into debug
17720 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17722 * LaTeX.C (scanAux): Handle the \@input macro.
17723 (runBibTeX): Use scanAux().
17725 * language.C (latex_options_): New field.
17727 * LaTeXFeatures.C (getMacros): Add language macros.
17729 * buffer.C (makeLaTeXFile): Small fix.
17731 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17733 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17735 * text2.C: add a using directive.
17737 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17742 * lyxfunc.C: kill LyXBell.
17744 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17746 * text.C (IsBoundary): Remove the error message
17748 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17750 * lyxrc.C (setDefaults): Correct initialization value for
17753 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17755 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17758 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17759 and GotoNextNote().
17761 * src/LyXAction.C: Added reference-next.
17763 * text.C (InsertChar): Use contains instead of strchr.
17765 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17767 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17769 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17770 alignment commands (when needed).
17772 * text.C (InsertChar): Add ':' to number separator chars.