1 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * buffer.C: format incremented to 242. There is no file format per
4 se, but the "frenchb" language has been removed from lib/language
5 and has to be translated to "french" by lyx2lyx.
7 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
9 * cursor_slice.h, dociterator.h: add some documentation
10 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
12 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14 * text.C (leftMargin): do not add identation to display() style
15 insets, because they are always centered (bug 1293).
17 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
19 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
20 formatted_time methods in support/lyxtime.
22 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
24 * toc.[Ch]: new method getGuiName, which is used by the frontends
25 to set the toc combo (fixes bug 1870). Make TOC string translatable.
27 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
29 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
30 StableDocIterator const &)
31 * undo.C (recordUndo): use the above instead of cell.size() comparison
32 (fixes bug 1808; instructed by André).
34 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
37 * dociterator.h: Fix the assert when copying rows/cols in math
39 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
43 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
45 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
46 (findInset): new functions, refactored from goto Inset that return
47 the position of a certain inset without setting the buffer's cursor
49 (gotoInset): rewrite to call findInset and then set the cursor
52 2005-06-16 Angus Leeming <leeming@lyx.org>
54 * lyxrc.C (output, read): wrap all input and output of paths with
55 calls to os::internal_path and os::external_path, respectively.
56 (output): wrap bind_file inside quotes.
58 * format.C (view): enable the viewer to use the '$$s' placeholder.
60 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * LColor.[Ch] (getFromLaTeXName): new
64 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
66 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
68 2005-06-14 Angus Leeming <leeming@lyx.org>
70 * lyx_main.C (init): ensure that the LyX binary dir is the first
71 element in the PATH on non-POSIX builds.
73 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
75 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
77 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * rowpainter.C (paintInset, paintHebrewComposeChar)
80 (paintArabicComposeChar, paintChars): add a LyXFont argument.
81 (paintChars): use getFontSpan to reduce calls to getFont to a
82 minimum; use Paragraph::lookupChange instead of isXXXText.
83 (paintForeignMark): rename LyXFont argument.
84 (paintFromPos): pass a LyXFont object to the various paintXXX
87 * FontIterator.C (FontIterator, operator++): use
88 Paragraph::getFontSpan
90 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
91 version that returns the font span as a pair.
93 2005-06-09 Angus Leeming <leeming@lyx.org>
95 * converter.C (convert): Don't forget "outfile = real_outfile" as
96 the final step in a conversion where the input and output file names
97 are the same. Otherwise, future conversion steps won't work...
99 2005-06-09 Angus Leeming <leeming@lyx.org>
101 * lyxsocket.C: remove stub code as it isn't needed by
102 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
104 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
107 effectively disabled -x
109 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
112 when it actually makes sense.
114 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
116 * BufferView_pimpl.C: revert to showCursor in connection with
117 Lars's front-end stack
119 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * text.C (redoParagraph): move cursor right after a bibitem
124 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
126 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * buffer_funcs.C (bufferErrors): fix computation of the end of an
131 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
133 * BufferView.[Ch] (update):
134 * BufferView_pimpl.[Ch] (update, metrics):
135 * dimension.h (operator==):
136 * lyxfunc.C (dispatch):
137 * metricsinfo.h (ViewMetricsInfo):
138 * rowpainter.C (paintText):
140 * text.C (redoParagraph):
141 * text3.C (dispatch): Make LyX only repaint current paragraph in
142 case of character insert --> speedup. Also fix cursor draw
145 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
148 avoid a crash (bug 1891)
150 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * text2.C (getStringToIndex): constify cur argument.
156 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
157 argument has been given
158 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
159 try to invoke LFUN_INSET_APPLY).
161 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
162 if no inset was created by doInsertInset
163 (doInsertInset): return true if an inset has been inserted.
165 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * vspace.C (asGUIName): new method. A version of the space
168 suitable for showing on screen.
170 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
173 * lyxrc.C: rename "ASCII" to "Plain Text"
175 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * buffer_funcs.C (expandLabel): take a Buffer as argument;
178 translate the labelstring.
179 (setCounter): translate labelstring as needed.
181 * output_docbook.C (makeCommand): fix expandLabel invokation
183 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
185 * BufferView.C: fix dialog title
187 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
189 * lyx_main.C (priv_exec): fix logic error with help from Angus
190 * lyx_main.C (parse_execute): set is_gui = false and remove now
191 obsolete comment about a segfault
193 2005-05-18 Angus Leeming <leeming@lyx.org>
195 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
197 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
199 * tabular.[hC]: added setCellInset to fix tabular paste.
201 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
203 * buffer.C (save): check if destination is writable before trying
206 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
208 * BufferView_pimpl.C (update): fix processEvents -caused update
211 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * buffer_funcs.C (setCounter): fix test for numbering of
216 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
217 depth correctly; use optional argument when it exists
219 * lyxtextclass.C: remove unused MaxCounterTags enum
220 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
221 (max_toclevel, min_toclevel): new methods.
223 * MenuBackend.C (expandToc2): fix case where depth is smaller than
224 the smallest depth in toc.
226 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
227 layouts that should not appear in a table of contents.
229 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * cursor.h (undispatched, noUpdate): add comments from André
233 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
237 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
239 2005-05-07 André Pönitz <poenitz@gmx.net>
241 * cursor.[Ch] (leaveInset): new function
243 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
245 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
247 2005-05-04 Angus Leeming <leeming@lyx.org>
249 * lyxfunc.C (getStatus): disable the spell checker dialog if
250 none of USE_[AIP]SPELL are defined.
252 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
254 * tabular.C (setWidthOfCell): remove obsolete comment
256 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
258 * paragraph.C (bibitem):
259 * buffer_funcs.C (setCounter):
260 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
262 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
264 * text3.C (getStatus): immediately return after setOnOff
266 * rowpainter.C: fix drawing of appendix start
268 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
270 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
271 SwitchBetweenClasses and remove the unused return value.
272 Handle character styles, too
274 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
276 * factory.C (createInset): handle undefined character styles
278 2005-05-02 Angus Leeming <leeming@lyx.org>
280 * buffer.C: protect the #include of utime.h with a preprocessor
283 2005-05-02 Angus Leeming <leeming@lyx.org>
285 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
286 function so that auto-saving works, albeit in a blocking manner.
288 * Makefile.am: make compilation of the client sub directory, of
289 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
290 on conditionals set at configure time.
292 * SpellBase.[Ch]: no longer an abstract base class. Instead,
293 it can be compiled in its own right but has no-op functionality.
295 * aspell.C, pspell.C: remove preprocessor guards. The files should
296 be compiled only if the necessary functionality exists.
298 * lyxserver.C, lyxsocket.C: disable on Windows.
300 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
302 * text.C (leftMargin): Fix the parindent use bug (1764)
305 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
307 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
310 2005-04-25 Angus Leeming <leeming@lyx.org>
318 include <config.h> in .C files, not .h ones.
320 protect headers inside preprocessor guards.
322 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
324 * FuncStatus.h (StatusCodes): document
326 2005-04-21 André Pönitz <poenitz@gmx.net>
328 * FuncStatus.h (enabled, onoff): document
330 2005-04-19 Angus Leeming <leeming@lyx.org>
332 * BufferView_pimpl.C (cursorToggle): no longer test whether
333 any child processes have been reaped before calling
334 handleCompletedProcesses().
336 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
338 * text3.C (dispatch): fix, finally fix, the language problem in
339 new lyxtexts, without disabling on-the-fly font changes (Helge's
342 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
344 * text3.C (dispatch): set cursor on double/triple click events
347 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
350 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
352 * rowpainter.C (paintFirst): simplify the code a little bit. In
353 particular, remove the test for secnumdepth.
354 * text.C (setHeightOfRow): only allocate space for chapter number
355 when updateCounters provided an actual label, instead of looking
356 at secnumdepth directly.
358 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
360 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
361 paragraphs when secnumdepth is large enough or, for environments,
362 when they are not the first in a sequence.
364 2005-04-17 Angus Leeming <leeming@lyx.org>
366 * buffer.C (makeLaTeXFile): replace code to manipulate a path
367 containing space and '~' characters with a call to latex_path().
369 2005-04-17 Angus Leeming <leeming@lyx.org>
371 * converter.C (convert): protect all args of convertDefault.sh
374 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * text3.C (dispatch): change the layout to "Caption" after inserting
379 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
381 * text3.C (dispatch): fix language problem in newly created
382 textinsets (and main text) in non-english docs
384 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
386 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
387 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
388 * text3.C (getStatus): disable LFUN_INSET_MODIFY
390 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
395 * rowpainter.C (getFont): Fix metrics bug introduced by inset
398 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
400 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
401 output of \item arguments without trailing text.
403 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * FontIterator.C (operator*): avoid a copy of the font.
407 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
409 * rowpainter.C (getFont): fix language bug from previous fix
411 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
413 * rowpainter.C (RowPainter, getFont): fix font inside inset
416 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
418 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
419 preventing inserted font, deco, delim insets jumping to start of
422 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
424 * lyxfunc.C (dispatch): translate message before sending it to the
427 2005-03-29 Angus Leeming <leeming@lyx.org>
429 * lyx_main.C (priv_exec): call os::internal_path on each file passed
430 to LyX on the command line.
432 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
434 * vc-backend.C: use QuoteName to protect file names wherever
437 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
440 * BranchList.h: fix bugs 1844,1845: document settings don't
443 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * lyxrc.C (setDefaults, read, output, getDescription): add support
446 for tex_allows_spaces.
448 * exporter.C (Export): allows files in directory containing spaces
449 if tex_allows_spaces is true.
451 * buffer.C (makeLaTeXFile): if the document path contains spaces,
452 output it in double quotes.
454 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * rowpainter.C: use default text height for drawing change tracker
459 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
461 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
463 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
466 directory is missing.
468 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
470 * text2.C: fixed the fix, extended to other case.
472 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
474 * text2.C: fix for cursor up/down stuck in math [bug 1792]
476 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
478 * text2.C (cursorUp): get rid of a crash
479 * text.C (x2pos): add an assert
481 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * lyxfunc.C (getStatus): fix warning when assertions are disabled
487 * dociterator.C: include <boost/current_function.hpp>, which is
488 needed when assertions are disabled.
490 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
492 * text2.C: fix for stuck cursor when traversing two
493 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
495 2005-02-25 Andreas Vox <avox@arcor.de>
497 * output_docbook.C (makeParagraph): suppress trailing newline
498 after a run of paragraphs
500 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
502 * paragraph.C: fix for confused change tracker when pasting
503 text that begins with a lineseparator. [bug 1827]
504 (setChange(0, Change::INSERTED);)
506 * paragraph_funcs.C: fix for lost changes on triple-paste
507 in change tracking mode [bug 1827] (par.setChange()).
509 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 * text2.C (updateCounters, setCounter, expandLabel): move to
514 * buffer_funcs.C (updateCounters): turn into a free standing
515 function and add a buffer parameter. Remove dead code for tracking
517 (setCounter): change into a free-standing function which gets a
518 dociterator as argument. Use this iterator to fix captions in a
519 simple way. When no float is found above the caption, use the
520 labelstring of the caption layout as default.
522 * text.C (breakParagraph, backspace):
523 * text2.C (init, setLayout, changeDepth):
524 * text3.C (dispatch):
525 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
528 * dociterator.C (forwardPar): make it much faster by calling
529 forwardPos() only when really necessary.
531 * output_docbook.C (makeCommand): adapt to expandLabel move.
533 * cursor.C: remove unused variable
535 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
537 * paragraph_funcs.C: fix crash when pasting insets in change
538 tracking mode [bug 1277] (honour change type in moveItem).
540 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
542 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
544 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * BufferView.C (setCursor): change to use a DocIterator.
547 (gotoLabel): use BufferView::setCursor (other part of bug 781).
548 (putSelectionAt): adapt to BufferView::setCursor change.
550 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
551 moved here from LyXText and rewritten to use proper cursor
552 methods. Fixes bug 1787, 616 and 835.
554 * BufferView_pimpl.C (restorePosition): set the cursor correctly
555 when inside an inset (part of bug 781).
556 (dispatch): adapt to change of BufferView::setCursor.
557 (getStatus, dispatch): handle LFUN_GOTOERROR,
558 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
560 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
561 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
562 * text3.C (gotoNextInset, gotoInset): removed.
564 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
568 2005-02-15 Angus Leeming <leeming@lyx.org>
570 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
571 can be used meaningfully in a comparison.
573 2005-02-13 André Pönitz <poenitz@gmx.net>
575 * bufferview_funcs.C (coordOffset): improve cursor drawing
577 2005-02-13 André Pönitz <poenitz@gmx.net>
579 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
580 * Cursor.C (dispatch): use fixIfBroken
581 * lyxfunc.C (getStatus): use fixIfBroken
583 2005-02-15 Angus Leeming <leeming@lyx.org>
585 * lyx_main.C (error_handler):
587 * lyxrc.C (setDefaults):
589 #include "environment.h".
591 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
593 2005-02-15 Angus Leeming <leeming@lyx.org>
595 * lyxserver.C (startPipe): squash MSVC warning "local variable
596 'fd' used without having been initialized".
598 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
600 * BufferView_pimpl.C: revert accidental commit.
602 2005-02-14 André Pönitz <poenitz@gmx.net>
604 * dociterator.[Ch]: new member forwardPosNoDescent(),
605 which doesn't enter nested insets.
606 * text2.C (setFont): use forwardPosNoDescent() instead
607 of ForwardPos() (fixes crash on font change).
609 2005-02-13 Angus Leeming <leeming@lyx.org>
611 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
612 only if lyxrc.path_prefix is not empty.
614 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
616 * bufferparams.C (readGraphicsDriver): prevent crash
618 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * text2.C (setCounter): check for inInset() == 0
622 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
624 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
625 but use update() to get correct screen display; use convert
626 instead of istringstream.
627 (getStatus): handle LFUN_GOTO_PARAGRAPH
629 * lyxfunc.C (dispatch, getStatus): do not handle
630 LFUN_GOTO_PARAGRAPH here.
632 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
634 * text3.C (dispatch): size() -> depth()
636 * text2.C: remove some debug output
638 * paragraph.C: ws changes only
640 * lyxfunc.C (getStatus): size() -> depth()
642 * dociterator.h (clear, push_back, pop_back, internalData,
643 operator[], resize, empty): new functions
644 Make StableDocIterator and operator== be friends. Don't inherit
645 from std::vector use a privat class variable slices_ instead.
648 * dociterator.C: update because of not inheriting from std::vector
649 anymore. Call explictly to slices_ instead. Use depth() instead of
650 size() and top() instead of back()
652 * cursor.C: chagne size() -> depth and back() -> top(). Also
653 remove some direct operator[](i) calls in favour of foo[i]
654 (getFont): remove some dead code
656 * bufferview_funcs.C (coordOffset): size() -> depth()
658 * buffer.C: ws changes only
660 * CutAndPaste.C (eraseSelection): back() -> top()
662 * BufferView_pimpl.C (selectionRequested): back() -> top()
664 * BufferView.C (setCursor): size() -> depth()
666 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * text3.C (cursorPrevious): return true if depm changed something
670 (dispatch): rename sl to oldTopSlice, remove moving use the new
671 NoUpdate func attrib instead. Make sure that needsUpdate is set
672 for function that have NoUpdate, but where depm might have changed
675 * text2.C (cursorLeft): make us return true if depm changed
678 (cursorUpParagraph): ditto
679 (curosrDownParagraph): ditto
680 (cursorUp, cursorDown): ditto, make sure to read comments in code
681 (deleteEmptyParagraphMechanism): remove an assert, also return
682 true if just a single char was deleted.
684 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
685 cursor that we modify, to avoid modifying an active cursor before
686 we call setCursor. This allows depm to run. Also return true if
687 depm deleted something.
689 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
690 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
691 cursorDownParagraph, cursorPrevious and cursorNext, return true if
692 something was changed in the buffer because of them (ie. depm run)
694 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
695 debug messages. Make update by default be false. Make sure that
696 the result of update is retained throught several calls down to
699 * LyXAction.h: add a new func_attrib: NoUpdate
701 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
702 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
703 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
705 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
707 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
710 bv_->owner(), bv_->buffer() by direct references to the private
712 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
713 (getStatus): isSavedPosition() is in BufferView::Pimpl.
714 (fitCursor): center() is in BufferView::Pimpl.
715 (getStatus, trackChanges, dispatch): no need for a temporary buf
717 (fitCursor, workAreaDispatch): use workarea().workheight()
719 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
721 * CutAndPaste.C (pasteSelectionHelper): fix a crash
723 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
725 * buffer.C: format up to 241.
726 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
727 break if pasting into ERT
728 * lyxfunc.C (getStatus): suppress mathpanel and
729 LFUN_DIALOG_SHOW_NEW_INSET in ERT
731 2005-02-01 Angus Leeming <leeming@lyx.org>
733 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
735 2005-02-01 Angus Leeming <leeming@lyx.org>
737 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
738 calling fs::is_directory().
740 2005-01-31 Angus Leeming <leeming@lyx.org>
742 * lyx_main.C (priv_exec): specify explicitly the relative location
743 of the top level build directory when run in-place.
745 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
748 LyXText containing the cursor, not the top-level one.
750 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
752 (insertStringAsLines): rename par to pit; use temporary variable
753 par to hold a Paragraph; do not store par.layout() in a variable,
754 since the pointer may die when breaking paragraphs; pass pars to
755 breakParagraph() instead of Buffer::paragraphs().
757 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
759 * lyxlex_pimpl.h: #include <fstream>.
761 * BufferView.[Ch] (getLyXText): add a const version.
763 * BufferView_pimpl.C: add debug aids.
768 * paragraph_funcs.h: add commentary explaining what the class does.
771 * coordcache.[Ch]: add lots of commentary.
772 (startUpdating, doneUpdating): debug aids.
773 (arrays, insets, parPos, getParPos): accessors to private data.
775 * cursor_slice.[Ch] (text): add a const version.
776 * dociterator.[Ch] (text, innerText): add const versions.
778 * lyxtext.h (breakParagraph): change the keep_layout arg to a
781 * paragraph.C (getRow, pos2ros): add asserts.
783 * paragraph.h: add commentary. Lots of.
785 * paragraph.[Ch] (metrucs, draw): removed.
788 * rowpainter.[Ch]: const-correct changes.
790 * text.C: various obvious clean-ups. Removal of ancient cruft.
793 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
795 * vc-backend.C (find_file): rewrite to use boost.filesystem
798 * main.C (main): set default name check for boost.filesystem to
801 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
804 (actOnUpdatedPrefs): ditto
806 * lyx_main.C (init): rewrite to use boost.filesystem
807 (queryUserLyXDir): ditto
809 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
810 (getContentsOfAsciiFile): ditto
812 * lastfiles.C (readFile): rewrite to use boost.filesystem
814 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
816 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
819 * buffer.C (Buffer): adjust for destroydir
820 (getLogName): rewrite to use boost.filesystem
822 (save): use fs::copy_file (from fs_extras)
824 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
826 * LaTeX.C (run): rewrite to use boost.filesystem
827 (scanAuxFiles): ditto
828 (handleFoundFile): ditto
830 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
832 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
834 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
836 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
838 * lyxlayout.[Ch]: change some vars from float to double
840 * buffer.C (readFile): make a local var const
842 * Several files: use convert<> instead of atoi,strToXXX and friends
844 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
846 * LaTeXFeatures.[Ch]: Add a static list packages_ that
847 holds the contents of packages.lst. New functions getAvailable
848 and isAvailable to parse and check that list, resp.
852 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
854 * bufferparams.[Ch]: new param output_changes.
856 * Buffer.C: increase file format to 240.
857 Use output_changes and isVailable.
861 * paragraph_pimpl.C: Use output_changes and isVailable.
863 2005-01-23 Angus Leeming <leeming@lyx.org>
865 * output_latex.C: #include "insetbibitem.h", rather than
866 forward declare function bibitemWidest.
868 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
870 * lyx_main.C (init): make it compile on the Mac.
872 2005-01-20 Angus Leeming <leeming@lyx.org>
874 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
875 (setLyXMisc): (char string literal) != (char string literal) is
876 performing a comparison on the addresses. Convert one operand
877 explicitly to string to guarantee expected behaviour.
880 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
883 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
885 * output_plaintext.C: remove unneeded #include gzstream.h.
887 2005-01-20 Angus Leeming <leeming@lyx.org>
889 * SpellBase.h: rename some of the elements of the Result enum.
896 * pspell.C (check): ditto
898 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
900 * buffer.C: add #include <fstream>.
902 * lyx_main.C (init): Compile fix.
904 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
906 2005-01-20 Angus Leeming <leeming@lyx.org>
908 * mover.h: change commentary to reflect the changed meaning of
911 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
913 * output_linuxdoc.C (linuxdocParagraphs): silence warning
915 * lyxfind.C (MatchString::operator()): remove bogus semicolon
917 2005-01-20 Angus Leeming <leeming@lyx.org>
919 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
920 printing diagnostic data by not dereferecing an iterator past the
923 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
925 * buffer.C (readHeader): use "&&" rather than "and".
927 * lyxserver.h (inPipeName, outPipeName): make these const.
929 2005-01-19 Angus Leeming <leeming@lyx.org>
931 * lyx_main.C (error_handler, init): protect SIGHUP with
932 #ifdef SIGHUP guards.
934 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
938 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * text.C (setHeightOfRow): add a margin at the top and bottom of
941 the document (bug 1761)
943 2005-01-17 Angus Leeming <leeming@lyx.org>
945 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
946 with "python ". Workaround for a brain-dead Windows.
948 2005-01-16 Angus Leeming <leeming@lyx.org>
950 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
951 for MacOSX and Windows to use prependEnvPath.
952 Strip out the hard-coded block to add elements to the PATH for
953 MacOSX and replace it with a call to prependEnvPath using the
954 contents of LyXRC::path_prefix.
955 (queryUserLyXDir): strip out the code to run reconfigure, instead
956 returning a boolean indicating the necessity to do so.
957 (reconfigureUserLyXDir): contains the code to reconfigure the
958 user support directory. Is now called after the various LyXRC data
959 files have been read.
961 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
963 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
965 * converter.[Ch] (convert): take a new parameter try_default. Use
966 a default converter (imagemagick) if try_default is true.
968 2005-01-13 Angus Leeming <leeming@lyx.org>
970 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
972 (write): output LyXRC::cygwin_path_fix as necessary.
974 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
977 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
979 2005-01-12 Angus Leeming <leeming@lyx.org>
981 * lyx_main.C (init): set the PATH variable to include the
982 directory containing the LyX binary when running on Mac or Windows.
984 2005-01-12 Angus Leeming <leeming@lyx.org>
986 * lyx_main.C (init): remove cruft that purports to set the locale
987 dir. It doesn't and is not needed anyway.
989 2005-01-10 Angus Leeming <leeming@lyx.org>
991 * Makefile.am: remove the lyx_main.C special casing.
993 * BufferView_pimpl.C:
999 * messages.C: use support/package.h to provide the paths to the
1000 various directories used by LyX.
1002 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1004 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1005 layout if pasting into an empty paragraph)
1007 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1009 * tex-accent.C: add <string>
1011 2005-01-06 José Matos <jamatos@lyx.org>
1013 * ParagraphParameters.C (write): put every parameter in its own line.
1014 * paragraph.C (write): reduce number of consecutive empty lines exported.
1015 * buffer.C (LYX_FORMAT): increase file format to 239.
1017 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1019 * everywhere: change support/tostr.h -> support/convert.h
1021 * tabular.C: make all write_attributes templates, tostr -> convert
1023 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1024 (emptyTag): and -> &&, and fix type for ret from getChar
1025 (getFirstWord): fix type for ret from getChar
1026 (onlyText): and -> &&
1027 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1030 * toc.C (goTo, action):
1031 * text3.C (dispatch):
1032 * text.C (currentState):
1033 * tex-accent.C (DoAccent):
1036 * lyxfunc.C (menuNew):
1037 * lyxfinc.C (replace):
1038 * counters.C (laberItem):
1039 * bufferview_funcs.C (font2string):
1040 * bufferparams.C (writeFile):
1041 * buffer.C (readFile):
1043 * MenuBackend.C: tostr -> convert
1045 * LaTeX.C (runMessage): fix format
1046 (scanAuxFiles): tostr -> convert
1048 * BufferView_pimpl.C (savePosition): fix format
1049 (restorePosition): ditto
1052 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1054 * Spacing.[Ch]: New method getValueAsString().
1058 * ParagraphParameters.C:
1061 * text3.C: store/read spacing value as string.
1063 * rowpainter.C: change float value (spacing_val) to double.
1065 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1066 broken custom document spacing).
1068 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1070 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1071 namespace, also more use of temp references and const
1073 * cursor.[Ch] (getStatus): move to lyxfunc.C
1075 * bufferparams.C: reformat slightly
1077 * bufferview_funcs.C (font2string): constify arg
1083 * buffer_funcs.C: (many funcs): constify arg on function
1084 definitions, also make more local vars const, also add ASSERTS on
1087 * buffer.C (LYX_FORMAT): put const in correct place
1088 (many funcs): constify arg on function definitions, also make
1089 more local vars const
1091 * aspell_local.h: remove "struct" from typdef setup
1093 * aspell.C (check): make word_ok const
1094 (nextMiss): simplify slightly
1097 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1099 * lyxrc.[Ch]: store all float values as strings.
1100 use int (not float) for lyxrc.dpi.
1102 2005-01-04 Angus Leeming <leeming@lyx.org>
1104 * lyx_cb.C (Reconfigure):
1105 * lyx_main.C (queryUserLyXDir):
1106 to run the <system_lyxdir>/configure correctly on Windows, prefix
1107 the path to the script with "sh " when generating the string that
1108 is passed to system().
1110 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1112 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1114 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1116 * lyxlength.C (asLatexString): get rid of setprecision
1118 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * text2.C (setLayout): remove unused variable endpit.
1121 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1123 * paragraph.C (onlyText): remove unused variable style.
1125 * cursor.C (bruteFind): remove unused variables beg and end.
1127 * Makefile.am (dist_noinset_DATA): not needed anymore
1129 * cheaders/*: remove.
1131 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1133 * text3.C: fix LFUN_MATH_MODE.
1135 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * buffer_funcs.C (countWords): new function. Counts words between
1140 * BufferView_pimpl.C (getStatus, dispatch): handle
1143 * LyXAction.C (init):
1144 * lfuns.h: add LFUN_WORDS_COUNT.
1146 2004-12-19 Angus Leeming <leeming@lyx.org>
1148 * buffer.C (save): s/slashify_path/internal_path/.
1150 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1152 * lyxfind.C (findChange): do not search for end of pars, because
1153 the change tracker cannot handle this (fixes bug 1719).
1155 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1157 * paragraph.[Ch] (autoBreakRows): remove
1159 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1161 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1162 avoid using the paragraph one
1164 * text2.C (LyXText, insertStringAsLines): adjust
1166 2004-12-16 Angus Leeming <leeming@lyx.org>
1170 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1172 2004-12-14 Angus Leeming <leeming@lyx.org>
1174 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1176 * bufferlist.C (emergencyWrite):
1177 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1180 2004-12-14 Angus Leeming <leeming@lyx.org>
1182 * main.C: (main): no longer pass pointers to os::init.
1184 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1186 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1187 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1189 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1192 * text3.C: remove selection_possible global flag
1194 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1196 * text2.C (getSelectionSpan): remove
1197 (changeDepth, changeDepthAllowed): adjust
1199 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1201 * Makefile.am (BOOST_LIBS): use boost variables
1203 2004-12-03 José Matos <jamatos@lyx.org>
1205 * buffer.C: format up to 238.
1207 2004-12-03 José Matos <jamatos@lyx.org>
1209 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1211 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1213 * cursor.C (goUpDown): remove call to idxUpDown2
1215 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1217 * tabular.[Ch]: use size_t-like types for cell, row and column
1220 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1222 * lyxfunc.C (getStatus): do not lose previous information when
1223 calling BufferView::getStatus; do not set a default "Command
1224 disabled" message at the beginning, but just before returning.
1226 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1228 * cursor.h (getStatus): add better comment from src/cursor.C
1230 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * text3.C (getStatus): return false when the lfun is not handled
1234 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * broken_headers.h: remove
1238 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1240 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1242 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1243 offset_ref accessors
1245 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1246 top_y_, merge fitcursor with update
1247 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1249 (metrics): introduce
1250 (workAreaDispatch): adapt to new coord scheme
1251 (redoCurrentBuffer): remove
1253 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1255 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1258 * coordcache.[Ch]: add paragraph cache and helpers
1260 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1263 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1264 (targetX, setTargetX): introduce
1266 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1267 baseline -> ascent, as the rest of lyx
1269 * lyxtext.h: remove redoParagraphs, updateParPositions,
1270 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1271 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1272 have ascent/descent (ascent is ascent of first par)
1274 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1277 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1279 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1281 * pariterator.C: fix infinite loop introduced in par->pit renaming
1283 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1284 in insets and LyXText, draw two off-screen paragraphs using
1285 NullPainter, and adapt to new coord scheme
1289 * text3.C: adapt lfun handlers to the new coord scheme, which
1290 means: there's only guaranteed coord information for onscreen pars
1291 plus one above and one below. This implies that one can do search
1292 from y coordinates in the range [-1,workHeight]
1294 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1296 * rename a lot of InsetOld to InsetBase
1298 2004-11-25 Angus Leeming <leeming@lyx.org>
1300 * BufferView_pimpl.C:
1302 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1304 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1307 call BufferView::getStatus if LCursor::getStatus did nothing
1308 (setStatusMessage, getStatusMessage): removed.
1310 * FuncStatus.C (message): new methods. Used to provide an error
1311 message indicating why a command is disabled.
1312 (clear, |=, FuncStatus): update for message.
1314 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1316 * lyxfunc.C (dispatch): always call sendDispatchMessage
1318 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1321 * BufferView_pimpl.C:
1326 * cursor_slice.[Ch]:
1329 * paragraph_funcs.C:
1335 * undo.C: par->pit renaming
1337 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1339 * tabular.C (cellstruct): use initialization, store a shared_ptr
1340 to insettext instead of the insettext directly, adjust to fit.
1341 (operator=): new function
1342 (swap): new function
1343 (rowstruct): use initialization
1344 (columnstruct): use initialization
1345 (ltType): use initialization
1348 * lyxlength.h (swap): new function
1350 * LColor.[Ch] (operator=): use the common semantics
1352 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 * lyxfind.C (findNextChange): update the bufferview after setting
1357 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1359 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1360 number of InsetOptArgs has already been inserted.
1362 * output_latex.C (latexOptArgInsets): new method. This outputs all
1363 the optarg insets, up to the limit defined in the layout file.
1364 (optArgInset): removed
1365 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1367 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1369 * paragraph.C (isLetter): remove special spellchecker-related
1370 code; return true also for digits
1371 (isWord, isKomma): remove
1373 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1374 * lyxfind.C (MatchString()): use isLetter instead of isWord
1376 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1378 * pariterator.h (operatir=): comment out un-implemented member
1381 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1384 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1386 * lyxfont.h: include LColor.h to satisfy concept checks.
1388 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1390 * pariterator.h: add typdefs for value_type, difference_type,
1391 pointer and reference to satisfy concept checks. Also add default
1392 constructor for same reason.
1394 * pariterator.C (operator++): add post-increment operator to
1395 satisfy concept checks.
1397 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1400 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1402 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1403 checks. Also rename base_type to BaseType to follow naming
1406 * FloatList.h: include Floating.h to satisfy concept checks.
1408 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * lyxfunc.C (getStatus): when the origin of the request is menu or
1411 toolbar, and the LyXView does not have focus, do as if there was
1412 no buffer (bug 1720)
1414 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1415 FuncRequest to individual entries of LFUN_SEQUENCE
1417 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1419 * output_latex.C (TeXOnePar): override runparams.moving_arg
1420 according to the needprotect value of the current paragraph (bug
1423 * paragraph.C (simpleTeXOnePar): no need to override
1424 runparams.moving_args here
1426 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1428 * vspace.C: fix off-by-one-error, related to fix #1682
1430 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1432 * lengthcommon.C: a more general fix for bug 1682
1434 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1436 * text.C (backspace): fix crash
1438 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1440 * format.[Ch] (getFormatFromFile): new method
1441 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1443 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1447 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * lyxfunc.C (dispatch): remove the verbose argument
1450 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1453 * kbmap.C (defkey): set the origin of func to KEYBOARD
1455 * MenuBackend.C (MenuItem):
1456 * ToolbarBackend.C (add): set the origin of func to UI
1458 * funcrequest.[Ch]: add origin member, which indicates which part
1459 of LyX requests an action
1461 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1463 * converter.C (move): don't lie in the error message
1464 * converter.h (isReachable, move): document
1466 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1468 * buffer.C: remove unused using lyx::support::atoi
1469 * paragraph_funcs.C: ditto
1471 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1473 * bufferlist.C (exists): use bind and equal_to instead of
1476 * lyxtextclasslist.C (NumberOfClass): ditto
1478 * cursor.C (insert): use for_each instead of explicit for loop
1480 * bufferlist.C (getFileNames): use std::transform and
1481 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1483 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1486 * buffer.C (changeLanguage): use for_each instead of explicit for
1488 (hasParWithID): implement using getParFromID
1490 * LaTeXFeatures.C: ws change only
1492 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1495 * BufferView_pimpl.C (trackChanges): use for_each instead of
1498 2004-11-04 André Pönitz <poenitz@gmx.net>
1501 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1503 * dociterator.C (asDocIterator): use hard assert again.
1505 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1507 * lyxlength.C (asLatexString): rewrite so that it does not use
1510 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1512 * text3.C (specialChar, dispatch): make sure cursor moves to the
1513 right after inserting an inset
1515 2004-11-02 José Matos <jamatos@lyx.org>
1517 * output_docbook.C (docbook):
1518 * paragraph.C (getID):
1519 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1520 garantee that the output is always legal.
1522 * tabular.C (docbook):
1523 * outputprams.[Ch]: remove mixed contents.
1525 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1527 * text2.C (setCounter): prevent endless loop
1529 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1531 * exporter.C (copyFile): use the mover instead of support::copy()
1532 * exporter.C (Export): pass format and latex name to copyFile()
1533 * exporter.h (addExternalFile): document
1534 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1536 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1538 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1540 2004-10-30 José Matos <jamatos@lyx.org>
1542 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1543 text and no inset or font change. This allows to use CDATA
1544 sections just for the whole paragraph.
1546 2004-10-30 José Matos <jamatos@lyx.org>
1548 * paragraph.C (getFirstWord): remove unused variable.
1550 2004-10-30 José Matos <jamatos@lyx.org>
1552 * paragraph.C (getFirstWord): the content should always be escaped
1554 (simpleDocBookOnePar):
1555 * output_docbook.C (makeEnvironment): replace reference to CDATA
1558 2004-10-30 José Matos <jamatos@lyx.org>
1560 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1562 2004-10-30 José Matos <jamatos@lyx.org>
1564 * output_docbook.C (makeParagraphs):
1565 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1566 standard paragraph has only a given type of content drop the wrapper.
1568 2004-10-29 José Matos <jamatos@lyx.org>
1570 * output_docbook.C (makeEnvironment):
1572 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1574 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1576 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1577 (cleanID): sanitize any id.
1579 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1581 * buffer.C, lyxlex_pimpl.C:
1582 * lyxlex_pimpl.C (setFile):
1583 s/getExtFromContents/getFormatFromContents/
1585 2004-10-28 José Matos <jamatos@lyx.org>
1587 * output_docbook.C (makeEnvironment): move id to broadest possible
1590 * sgml.C (openTag): apply substitution of <> for all attributes.
1592 2004-10-28 José Matos <jamatos@lyx.org>
1594 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1595 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1596 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1598 * sgml.[Ch]: new version for open and closeTag for paragraph and
1599 for strings. Now they handle the ids of paragraphs.
1601 2004-10-26 Angus Leeming <leeming@lyx.org>
1603 * Makefile.am: add mover.[Ch].
1605 * converter.C (convert, move): use the new Movers to move external
1606 files to the temp directory.
1608 * lyx_main.C (init): ensure that the global system_movers data
1611 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1614 * mover.[Ch]: new files, defining a Mover as a utility to move an
1615 external file between directories and, if necessary, manipulate this
1616 file using a helper script.
1618 2004-10-25 José Matos <jamatos@lyx.org>
1620 * output_docbook.C (makeCommand): merge two if's that tested the
1623 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1625 * sgml.C (escapeString): fix warning in a better way
1627 2004-10-25 José Matos <jamatos@lyx.org>
1629 * sgml.C (escapeString): import the require boosts header file for
1630 tie, and avoid a signed unsigned comparison.
1632 2004-10-25 José Matos <jamatos@lyx.org>
1634 * sgml.h: add #include <string>
1636 2004-10-25 José Matos <jamatos@lyx.org>
1638 * sgml.[Ch] (escapeString): new function to escape all the string.
1640 2004-10-24 José Matos <jamatos@lyx.org>
1642 * paragraph.[Ch] (getFirstWord): new function to get the first
1643 word. Useful for description.
1644 (simpleDocBookOnePar): remove depth argument, add another that
1645 says where to start the paragraph.
1647 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1648 use the new functions to fix cleanly the support for descriptions.
1650 2004-10-24 José Matos <jamatos@lyx.org>
1652 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1653 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1654 * output_linuxdoc.C (linuxdocParagraphs):
1655 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1656 add buffer as argument.
1658 2004-10-24 José Matos <jamatos@lyx.org>
1660 * output_docbook.C (makeEnvironment, searchEnvironment): place
1661 CDATA inside paragraphs and fix scope for listitems.
1663 2004-10-24 José Matos <jamatos@lyx.org>
1665 * output_docbook.C: remove using statement for stack.
1667 2004-10-23 José Matos <jamatos@lyx.org>
1669 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1670 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1671 docbook. The new scheme is recursive and makes use of iterators, the
1672 same as latex export works.
1673 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1674 directly with the paragraph contents. This code was moved up to
1675 output_docbook.C (docbookParagraphs).
1676 * sgml.C (openTag, closeTag): removed unneeded newlines.
1677 (closeEnvTags) removed.
1679 2004-10-23 André Pönitz <poenitz@gmx.net>
1681 * undo.C (textUndoOrRedo):
1682 * dociterator.C (asDocIterator): work around crash
1684 * cursor.C (getStatus): replace ASSERT by more verbose error message
1685 and manual correction of the problem. Should increase stability
1686 while providing more sensible information.
1688 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1692 * bufferlist.C (previous, next): new methods
1695 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1697 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1699 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1700 entities to preamble.
1702 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1704 * messages.C (Pimpl): strip off translation context information
1706 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1708 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1709 the cursor is correct (bug 1694)
1711 2004-10-13 José Matos <jamatos@lyx.org>
1713 * output_docbook.C (docbookParagraphs): fix closing tags in the
1714 end of the document.
1716 2004-10-09 José Matos <jamatos@lyx.org>
1718 * buffer.C: format up to 237.
1719 * bufferparams.C (write): use tostr to convert booleans to strings.
1721 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1723 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1725 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1727 * LaTeX.C: implement use of babel language in xindy.
1729 2004-10-05 José Matos <jamatos@lyx.org>
1731 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1732 Add new translators to help reading and writing the lyx file.
1734 2004-10-05 José Matos <jamatos@lyx.org>
1736 * ParagraphParameters.C (read):
1737 * text.C (readParToken): replace nexToken by more appropriate lex
1740 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1742 * LaTeX.C (runMakeIndex):
1743 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1744 (usually 'makeindex') configurable.
1746 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1747 with a variable rather than with a number.
1749 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1751 * output_latex.C (TeXOnePar): make sure font setting is the first
1752 thing that gets output (and the last at the end). Should fix bug
1755 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1757 * pch.h: use proper signal include
1759 * LaTeX.h: Use preferred calling of Boost.Signal
1762 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1764 * pch.h: dont include <boost/function/function0.hpp>
1766 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1768 * paragraph_pimpl.h: remove usage of ShareContainer
1770 * paragraph_pimpl.C: remove initialization of ShareContainer.
1772 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * BufferView.C (putSelectionAt): change the semantics when
1777 backwards == true: now, this just swaps cursor and anchor wrt the
1780 * BufferView.h (putSelectionAt): add some documentation
1782 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1783 make sure backwardChar is done at least once (to avoid getting
1785 (findNextChange): use putSelectionAt in the forward direction
1786 (operator()): use Paragraph::isWord
1788 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1790 * Spacing.C (set): c_str fix
1792 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * lyx_cb.C (Reconfigure): quote the name of configure script in
1795 case it contains spaces
1797 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1801 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1802 (BOOST_LIBS): use top_buildir when looking for the file
1804 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1806 * pch.h: do not use include boost/format.hpp, multiple symbols
1807 will result (gcc bug)
1810 2004-08-23 José Matos <jamatos@lyx.org>
1812 * bufferparams.C (readToken): fix reading of the author field.
1814 2004-08-20 José Matos <jamatos@lyx.org>
1816 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1818 2004-08-20 José Matos <jamatos@lyx.org>
1820 * lyxlex.[Ch] (findToken): remove function.
1822 * ParagraphParameters.C (findToken):
1823 * bufferparams.C (findToken): replace call for previous function
1824 with local copy. This local function has one more argument, the
1825 read string argument.
1827 2004-08-16 José Matos <jamatos@lyx.org>
1829 * ParagraphParameters.C (write):
1830 * Spacing.C (writeFile):
1831 * bufferparams.C (writeLaTeX):
1832 * lyx_cb.C (Reconfigure):
1833 * paragraph.C (write):
1834 * tabular.C (write): remove unnecessary space at end of line.
1837 2004-08-16 José Matos <jamatos@lyx.org>
1839 * text.C (readParagraph): remove debug message.
1841 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1846 * output_plaintext.C (asciiParagraph): set depth correctly
1848 * outputparams.h: add member depth
1850 * paragraph_funcs.C (ownerPar): remove.
1852 * text2.C (setCounter): remove first_pit; comment out some
1853 non-working code that uses ownerPar
1855 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1858 2004-08-16 José Matos <jamatos@lyx.org>
1860 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1861 For the same level of importance use the same chanel to report problems.
1862 (read): add code to deal with \begin_body and \end_body.
1865 2004-08-15 José Matos <jamatos@lyx.org>
1867 * lyxlex.C (getString): fix comment, buffer::readBody is now
1868 buffer:readDocument.
1870 * tex-strings.C (string_papersize): Default -> default,
1871 Custom -> custom, for consistency with other options.
1873 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1877 * Makefile.am: support pch
1879 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1881 * text.C (readParToken): remove the static LyXFont variable and
1882 pass it as a parameter instead. This fixes a nasty bug where an
1883 inset will be inserted with a bad font in some situations
1884 (readParagraph): adapt
1886 * text2.C (setCounter): reduce number of calls to pars_[pit]
1888 * text.C (singleWidth): add an assert, fix a test
1890 * rowpainter.C (paintText): reduce number of calls to singleWidth
1892 * paragraph.C (isHfill):
1893 (isNewline): ws only
1895 2004-08-14 André Pönitz <poenitz@gmx.net>
1900 * lyxtext.h (several functions): use a Paragraph & argument
1903 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1905 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1907 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1909 * text.C (singleWidth): remove useless test
1911 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1913 * tabular.h: remove bogus comments
1915 * tabular.C (getDescentOfRow):
1916 (isPartOfMultiColumn): add assertions
1918 * lyxlength.C (inPixels): remove #warning
1920 2004-08-14 André Pönitz <poenitz@gmx.net>
1922 * paragraph.h: inline getChar()
1924 * BufferView.h: remove unused declarations
1926 2004-08-14 José Matos <jamatos@lyx.org>
1928 * Buffer.[Ch] (readDocument): new name for old readBody.
1929 * Buffer.C: new file format, new keywords: \begin_document,
1930 \begin_header, \begin_body, \end_body.
1932 * bufferparams.C (readToken): replace all calls to lex.nextToken
1933 by lex.next(). Do the same to eatLine except where really needed.
1935 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1936 line when writing to the lyx file.
1938 * output_plaintext.C (asciiParagraph): fix Bibliography style
1941 * text.C (read): fix end of file handling.
1943 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1945 * MenuBackend.C (Menu::operator[]): new method to access
1946 individual menu items
1947 (Menu::hasFunc): new method. search for an item that corresponds
1949 (MenuBackend::specialMenu): new method
1950 (MenuBackend::expand): if a special menu has been set, skip
1951 entries whose func() appears in this menu
1953 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1955 * text3.C: use Debug::DEBUG a bit more
1957 * text.C (leftMargin): try to simplify a tiny bit change var x to
1958 l_margin. Dont output the wide margins always.
1959 (rightMargin): no margin in inner texts
1961 * rowpainter.h (nestMargin): new func
1962 (changebarMargin): new func
1963 (rightMargin): new func
1965 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1969 * factory.C (createInset): modify setDrawFrame
1971 * cursor.C: use Debug::DEBUG a bit more
1973 2004-08-14 André Pönitz <poenitz@gmx.net>
1976 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1977 cache for all insets in (at least partially) visible (top-level)
1980 * BufferView_pimpl.C: reset external coord cache before every update.
1981 This means the coord cache only contains valid entries.
1983 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1986 * BufferView_pimpl.C (getInsetByCode): move function out of class
1987 and change in to a template in anon namespace. Also fix to do what
1990 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1993 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1995 (breakParagraph): rename par to par_offset and use a local
1996 reference. Add code to keep the language over a rebreak.
1997 (breakParagraphConservative): rename par to par_offset, use a
1999 (mergeParagraph): ditto
2001 (isFirstInSequence): ditto
2002 (outerFont): rename pit to par_offset
2004 * paragraph.C: ws change
2005 * paragraph.h: ditto
2009 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2011 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2014 * paragraph.C (simpleTeXOnePar): when we have a \item with
2015 optional argument, enclose the argument with curly brackets (in
2016 case it contains a closing square bracket)
2020 * text3.C (checkInsetHit): constify
2022 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2024 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2025 documents (bug 1629)
2027 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2029 Fix toggling of collapsable insets with the mouse (bug 1558)
2031 * lyxfunc.C (dispatch): adapt to LCursor changes
2033 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2034 make sure that dispatch is not invoked twice
2036 * cursor.C (needsUpdate): new method
2037 (dispatch): return void
2038 (result): new method, to access the DispatchResult of the cursor.
2040 2004-08-13 José Matos <jamatos@lyx.org>
2042 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2044 2004-08-13 André Pönitz <poenitz@gmx.net>
2046 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2048 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2051 2004-08-12 André Pönitz <poenitz@gmx.net>
2053 * text3.C: take out the 'cursor right' form insertInset and only
2054 do it in those places when it is really needed. Fixes crash on
2057 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2059 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2061 * BufferView_pimpl.C (setBuffer): initialize the current font of
2062 the underlying LyXText
2064 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * kbsequence.C (print): use UI native formatting for menu
2069 * text.C (insertChar): call Paragraph::insertChar with a font
2072 * paragraph.C (insertInset, insertChar): the version that takes a
2073 LyXFont argument is now a wrapper around the other one (the
2074 opposite used to be true).
2076 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2077 argument. Font setting is done in Paragraph now.
2079 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2081 * outputparams.h: add new members intitle and lang.
2083 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2084 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2086 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2088 * text3.C (dispatch): remove special handling of button 4 and 5,
2089 it is now taken care of in the frontend code.
2091 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2093 * Spacing.h: add <string> (STLPort compile fix)
2095 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2097 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2099 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2101 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2104 * converter.C (showMessage): inherit from unary_function, make
2107 * buffer.C (writeFile): initialize retval
2109 * InsetList.h: rename private variable list to list_
2110 * InsetList.[Ch]: adjust accordingly.
2112 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2114 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2115 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2116 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2117 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2118 * ParagraphParameters.C, LaTeXFeatures.C: replace
2119 "support/std_sstream.h" with <sstream>
2121 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2123 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2124 * lyxsocket.C (LyXServerSocket): ditto
2125 (serverCallback): ditto
2127 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2129 * LaTeXFeatures.C: check release date when loading jurabib.
2131 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2133 * lyxserver.C (startPipe): call register_socket_callback
2134 (endPipe): call unregister_socket_callback
2136 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2138 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2139 (LyXServerSocket): register the callback
2140 (LyXServerSocket): unregister the callback
2141 (fd): delete function
2142 (serverCallback): improve error checking and setup the callbacks.
2143 (dataCallback): change arg to fd.
2144 (writeln): new func (copied fro the client socket) used for server
2146 (LyXDataSocket): simplify
2147 (~LyXDataSocket): close ann unregiser callback
2148 (server): delete function
2149 (fd): delete function
2150 (readln): small changes, improve some std::string usage
2151 (writeln): constify a bit
2153 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2155 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2158 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2160 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2161 after it has been populated
2163 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2165 * text2.C (insertInset): move cursor when inserting inset.
2167 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * kbmap.C (findbindings): a couple of new methods. returns a
2170 container of kb_sequence objects. The real work is done by the
2171 private recursive version
2172 (printbindings): uses findbindings to print out a bracketed list
2173 of bindings (renamed from findbinding).
2175 * MenuBackend.C (binding): use kb_keymap::findbindings
2177 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2179 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2181 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2183 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * paragraph.C (isWord): return true on insets that report
2188 * text.C (getWord): use Paragraph::isWord to decide what is in a
2189 word and what is not; fix bug 1609.
2191 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2193 * tex-strings.C: add "none" to string_paperpackages[], fixes
2194 off-by-one-error in the paperpackage selection.
2197 * tex-strings.[Ch]: char const * string[n]
2198 -> char const * const string[]
2200 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2203 command, return early.
2205 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2207 * debug.h: add DEBUG to enum and fix size of ANY.
2209 * debug.C: add support for Debug::DEBUG
2210 (showTags): cast errorTags.level to unsigned int
2212 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2213 (redoCurrentBuffer): ditto
2214 (updateScrollbar): ditto
2215 * cursor.C (dispatch): ditto
2216 * text2.C (setLayout): ditto
2218 (updateCounters): ditto
2220 (deleteEmptyParagraphMechanism): ditto
2222 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2224 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2225 annotations to cleanup the Makefile slightly.
2227 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2229 * lyxrc.C: do not set user_email to a default value but use empty
2230 instead. The entry used to be translated, which does not work
2231 since at the point where lyxrc is constructed there is no
2232 translation service available
2234 * messages.C (getLocaleDir): remove and use directly
2235 lyx_localedir() instead
2237 2004-06-02 Angus Leeming <leeming@lyx.org>
2239 Fix crash caused by dereferencing null pointer 'exportdata' in
2240 OutputParams by creating a new ExportData variable on the heap,
2241 storing it in a boost::shared_ptr.
2242 The crash was triggered when generating an Instant Preview
2243 of an external inset.
2245 * Makefile.am: add outputparams.C
2247 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2248 (c-tor): allocate memory to it.
2250 * exporter.C (c-tor): associated changes.
2252 2004-06-01 Angus Leeming <leeming@lyx.org>
2254 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2255 contains data before calling isInset(0). (Bug 1513.)
2257 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2259 * exporter.C (checkOverwrite): new method
2260 * exporter.C (copyFile): new method
2261 * exporter.C (Export): copy referenced files to the document dir
2262 * exporter.[Ch]: new class ExportedFile
2263 * exporter.[Ch]: new class ExportData. Contains currently the
2264 names of referenced external files
2265 * outputparams.h: add exportdata member.
2267 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2269 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2272 2004-05-19 Angus Leeming <leeming@lyx.org>
2277 * lyxfunc.C: small changes due to the introduction of namespace
2278 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2280 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2282 * text3.C (dispatch): supress update when only moving the cursor
2283 * cursor.C (selHandle): remove commented code
2285 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2287 * paragraph.C (startTeXParParams): correct column count
2288 * CutAndPaste.C (pasteSelection): remove const_cast
2289 * output_docbook.C (docbookParagraphs): remove const_cast
2290 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2291 const_cast and return ParagraphList::const_iterator
2292 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2293 * output_plaintext.C (writeFileAscii): remove const_cast
2294 * paragraph.[Ch] (simpleTeXOnePar): make const
2295 * paragraph_funcs.C (outerPar): use const iterators
2296 * paragraph_pimpl.C (validate): use const iterators
2297 * text.C (setHeightOfRow): use const iterators
2299 2004-05-17 Angus Leeming <leeming@lyx.org>
2302 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2304 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2305 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2306 if the citation engine has changed.
2308 2004-05-14 José Matos <jamatos@lyx.org>
2310 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2311 if the textclass does not provide it. Have it different for sgml and
2313 support the language of document.
2314 * output_docbook.C (docbookParagraphs):
2315 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2316 first anchor as the id of the paragraph, remove special case code.
2317 * sgml.C (escapeChar): escape only < & >.
2319 2004-05-14 Angus Leeming <leeming@lyx.org>
2321 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2322 dependencies on src/frontends/controllers/biblio.h. Define a
2323 CiteEngine_enum wrapper class to enable the enum to be forward
2326 2004-05-12 Angus Leeming <leeming@lyx.org>
2328 * buffer.C: up LYX_FORMAT to 234.
2329 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2330 use_numerical_citations with a single biblio::CiteEngine cite_engine
2332 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2334 2004-05-13 José Matos <jamatos@lyx.org>
2337 * converter.C (Converter, readFlags): add xml member.
2338 * outputparams.h: add XML flavor.
2339 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2341 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2343 * lyxfunc.C (dispatch):
2344 (getStatus): fix handling of LFUN_SEQUENCE
2346 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2348 * debug.C (showLevel): do not forget the end-of-line marker
2350 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2352 * kbmap.C (read): do not stop parsing a bind file when an error
2355 2004-04-29 Angus Leeming <leeming@lyx.org>
2360 * text2.C: wrap a bunch of #warning statements
2361 inside #ifdef WITH_WARNINGS blocks.
2363 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2365 * buffer.C: increment format to 233.
2367 2004-04-28 Angus Leeming <leeming@lyx.org>
2369 * BufferView_pimpl.C:
2372 s/updateToolbar()/updateToolbars()/
2373 s/Toolbar.h/Toolbars.h/
2375 2004-04-28 Angus Leeming <leeming@lyx.org>
2377 * BufferView.[Ch] (c-tor):
2378 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2379 No longer passes these data to the WorkArea generator.
2381 2004-04-28 Angus Leeming <leeming@lyx.org>
2383 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2385 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2387 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2389 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2391 * output_latex.C (TeXEnvironment): make sure that there is a line
2392 break before \end{foo} for the last paragraph of a document
2393 (TeXOnePar): if the paragraph is at the end of the document (or
2394 inset) and the language has to be reset, then make sure that the
2395 line break is _before_ the language command, not after (fixes bug
2396 1225); also make sure that the language reset command is the first
2397 thing after the paragraph (to ensure proper nesting of
2398 environments and thus fix bug 1404)
2400 2004-04-21 John Levon <levon@movementarian.org>
2403 * ToolbarBackend.C: make "name" be a programmatic name
2404 and a gui_name field.
2406 * lyxfunc.C: display the minibuffer on M-x
2408 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2410 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2413 2004-04-19 Angus Leeming <leeming@lyx.org>
2415 * BufferView_pimpl.C (setBuffer): changed preview interface.
2417 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2420 2004-04-19 John Levon <levon@movementarian.org>
2422 * BufferView_pimpl.C:
2423 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2425 2004-04-05 Angus Leeming <leeming@lyx.org>
2427 * text.C (redoParagraphs): add call to updateCounters(), thereby
2428 fixing the missing "Figure #:" label from the caption of a
2431 2004-04-13 Angus Leeming <leeming@lyx.org>
2433 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2434 cursor is clicked out of an inset.
2436 2004-04-13 Angus Leeming <leeming@lyx.org>
2438 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2439 than an InsetOld one.
2441 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2443 * format.[Ch]: add editor to Format
2444 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2445 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2447 2004-04-08 André Pönitz <poenitz@gmx.net>
2449 * metricsinfo.h: remove PainterInfo::width member
2451 2004-04-08 Angus Leeming <leeming@lyx.org>
2453 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2454 "\providecommand" rather than "\newcommand", thereby preventing
2455 clashes with packages that define "\boldsymbol" themselves.
2458 2004-04-08 Angus Leeming <leeming@lyx.org>
2460 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2461 thereby squashing an unnecessary warning.
2463 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2465 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2468 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2470 * BufferView.C (setCursor): call redoParagraph (some insets could
2472 (putSelectionAt): remove the 'double update' trick
2474 * BufferView_pimpl.C (fitCursor): call refreshPar
2475 (workAreaDispatch): remove an uneeded update call
2476 (dispatch): remove some manual update calls
2478 * cursor.[Ch]: remove cached_y_, updatePos
2479 (selHandle): set noUpdate when appropriate
2481 * lyxfunc.C (dispatch): track if we need an update
2483 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2485 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2486 (paintSelection): cheap optimization, do not call cursorX when not
2488 (paintPars): change signature
2491 (paintTextInset): adjust
2495 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * lengthcommon.C: compilation fix: remove explicit array size from
2498 unit_name[] and friends
2500 2004-04-05 Angus Leeming <leeming@lyx.org>
2502 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2504 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2505 present only for the preferences dialog.
2506 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2508 2004-04-05 Angus Leeming <leeming@lyx.org>
2510 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2511 to enable the frontends to export changes to lyxrc correctly.
2513 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2515 2004-04-07 André Pönitz <poenitz@gmx.net>
2517 * cursor.[Ch] (selClear, adjust): remove math
2519 * cursor_slice.C: more agressive assert
2522 * BufferView_pimpl.C: rework mouse event dispatch
2529 2004-04-05 André Pönitz <poenitz@gmx.net>
2531 * cursor.[Ch] (valign, halign...): remove unneeded functions
2533 2004-04-05 Angus Leeming <leeming@lyx.org>
2535 * lyxlength.[Ch] (unit_name et al.): const-correct.
2537 2004-04-05 Angus Leeming <leeming@lyx.org>
2539 * BufferView_pimpl.C:
2548 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2550 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2552 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2554 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2556 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2557 * BufferView_pimpl.[Ch] (getStatus)
2558 * BufferView.[Ch] (getStatus): add
2559 * lyxfunc.C (getStatus): move lfuns handled in
2560 BufferView::dispatch to te function above
2561 * Cursor.C (setSelection): set selection() = true
2563 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2565 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2567 2004-03-31 Angus Leeming <leeming@lyx.org>
2569 * lyxfunc.C (dispatch): Fall through to the generic
2570 Dialogs::show("preamble").
2572 2004-03-31 Angus Leeming <leeming@lyx.org>
2574 * lyxfunc.C (dispatch): Fall through to the generic
2575 Dialogs::show("spellchecker").
2577 2004-03-31 Angus Leeming <leeming@lyx.org>
2579 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2582 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2587 * insetiterator.[Ch]:
2592 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2594 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2596 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2597 insets where we are putting the cursor.
2599 2004-03-31 Angus Leeming <leeming@lyx.org>
2602 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2604 * lyxrc.[Ch] (read, write): overloaded member functions taking
2605 a std::[io]stream arguments.
2607 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2609 2004-03-31 Angus Leeming <leeming@lyx.org>
2611 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2612 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2614 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2615 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2617 2004-03-31 Angus Leeming <leeming@lyx.org>
2619 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2620 the LFUN_ALL_INSETS_TOGGLE code.
2622 2004-03-30 Angus Leeming <leeming@lyx.org>
2624 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2625 has died. Fall through to the generic Dialogs::show("document").
2627 2004-03-30 Angus Leeming <leeming@lyx.org>
2630 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2631 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2633 * lyxfunc.C (getStatus, dispatch): define the actions for these
2634 lfuns. Little more than a cut and pste job from ControlDocument.C
2636 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2638 2004-03-30 Angus Leeming <leeming@lyx.org>
2641 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2642 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2644 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2645 open/closed state of ollapsable insets. Usage:
2647 all-inset-toggle <state> <name>, where
2648 <state> == "open" || "closed" || "toggle" and
2649 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2651 * lyxtext.h, text2.C (toggleInset): removed.
2653 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2654 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2655 now passes LFUN_INSET_TOGGLE to the found inset.
2657 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2658 is now invoked as "all-insets-toggle toggle branch".
2660 2004-03-30 Angus Leeming <leeming@lyx.org>
2664 * pariterator.[Ch]: added/corrected header blurb.
2666 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2668 * dociterator.[Ch]: add an inset_ member
2669 (backwardPos): implemented
2670 (backwardPos, forwardPos): use inset_ when the stack is empty.
2671 (doc_iterator_begin, doc_iterator_end): implemented
2672 * pariterator.[Ch]: adjust, add begin, end
2673 * insetiterator.[Ch]: adjust, add begin, end
2677 * BufferView_pimpl.C:
2678 * CutAndPaste.C: adjust
2680 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2682 * buffer.C: increment file format to 232.
2683 * LaTeXFeatures.C: add bibtopic package.
2684 * bufferparams.[Ch]: param \use_bibtopic.
2686 * lyxrc.[Ch]: add lyxrc bibtex_command
2687 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2689 * buffer.C: increment file format to 231.
2691 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2693 * dociterator.C: implement forwardPar
2694 * iterators.[Ch]: remove, replaced by
2695 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2697 * BufferView_pimpl.C:
2700 * bufferview_funcs.C:
2706 * Makefile.am: adjust
2708 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2710 * CutAndPaste.C (pasteSelection): fix 2 crashes
2711 (eraseSelection): fix a crash
2712 * paragraph_funcs.C: remove a warning
2714 2004-03-28 Angus Leeming <leeming@lyx.org>
2717 * LyXAction.C (init): new LFUN_PRINT.
2719 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2721 2004-03-27 Angus Leeming <leeming@lyx.org>
2724 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2726 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2728 2004-03-27 Angus Leeming <leeming@lyx.org>
2730 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2731 insetlist always contains non-null pointers to insets.
2733 2004-03-26 Angus Leeming <leeming@lyx.org>
2735 * src/BufferView_pimpl.C:
2736 * src/CutAndPaste.C:
2739 * src/output_plaintext.C:
2740 * src/outputparams.h:
2741 * src/paragraph_funcs.C:
2745 * src/frontends/controllers/ControlErrorList.C:
2746 * src/frontends/gtk/FileDialogPrivate.C:
2747 * src/frontends/gtk/GPainter.C:
2748 * src/frontends/gtk/GToolbar.C:
2749 * src/frontends/qt2/QRef.C:
2750 * src/mathed/math_scriptinset.C: squash compiler warnings.
2752 2004-03-26 Angus Leeming <leeming@lyx.org>
2754 * ispell.C (LaunchIspell::start):
2755 * lyx_cb.C (AutoSaveBuffer::start):
2756 invoke run(DontWait) rather than runNonBlocking().
2758 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2760 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2762 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2764 * kbsequence.C (print): adjust
2766 * kbmap.C (printKeySym): rename and change signature
2767 (printKey): use LyXKeySym::print()
2769 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2771 * undo.C: add using std::advance to compile for stlport
2773 2004-03-24 Angus Leeming <leeming@lyx.org>
2775 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2776 it leads to a crash when no buffer is present.
2778 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2779 Martin Vermeer <martin.vermeer@hut.fi>
2781 * lyxfunc.C (dispatch):
2782 * bufferparams.C (readToken): use the new LColor::setColor
2784 * LColor.[Ch] (setColor): new version that takes two strings as
2785 argument and creates a new color entry if necessary
2787 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2789 * buffer.C (makeLaTeXFile): if the main latex file that is
2790 processed is usually a subdocument of some master, then pretend
2791 for a while that it is actually the master
2793 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2795 * buffer.C (getLabelList):
2796 (getBibkeyList): use getMasterBuffer()
2797 (getMasterBuffer): new method. Returns the main document in the
2798 case where one is using included documents.
2800 2004-03-25 André Pönitz <poenitz@gmx.net>
2804 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2806 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2808 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2809 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2811 * ParameterStruct.h: merge with ParagraphParameters
2813 * lyxtext.h: remove LyXText::parOffset() and getPar()
2815 * text3.C: Remove all 'manual' update calls. We do now one per user
2816 interaction which is completely sufficient.
2820 * BufferView_pimpl.C:
2821 * FontIterator.[Ch]:
2823 * ParagraphParameters.[Ch]:
2828 * cursor_slice.[Ch]:
2835 * output_docbook.[Ch]:
2836 * output_latex.[Ch]:
2837 * output_linuxdoc.[Ch]:
2838 * output_plaintext.[Ch]:
2840 * paragraph_funcs.[Ch]:
2841 * paragraph_pimpl.[Ch]:
2849 * frontends/controllers/ControlDocument.C:
2850 * frontends/controllers/ControlErrorList.C:
2851 * frontends/controllers/ControlSpellchecker.C:
2854 * insets/insetbase.h:
2855 * insets/insetbibitem.C:
2856 * insets/insetbox.C:
2857 * insets/insetbranch.C:
2858 * insets/insetcaption.C:
2859 * insets/insetcharstyle.C:
2860 * insets/insetcharstyle.h:
2861 * insets/insetcollapsable.C:
2862 * insets/insetcollapsable.h:
2863 * insets/insetert.C:
2864 * insets/insetfloat.C:
2865 * insets/insetfoot.C:
2866 * insets/insetmarginal.C:
2867 * insets/insetnote.C:
2868 * insets/insetoptarg.C:
2869 * insets/insettabular.C:
2870 * insets/insettext.C:
2871 * insets/insettext.h:
2872 * insets/insetwrap.C:
2873 * mathed/math_mboxinset.C:
2874 * mathed/math_nestinset.C:
2875 * mathed/math_scriptinset.C:
2876 * mathed/math_scriptinset.h:
2879 2004-03-24 Angus Leeming <leeming@lyx.org>
2881 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2882 deal with any child processes that have finished but are waiting to
2883 communicate this fact to the rest of LyX.
2885 2004-03-24 Angus Leeming <leeming@lyx.org>
2887 64-bit compile fixes.
2889 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2890 (c-tor): pass lyx::pos_types rather than ints.
2892 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2895 * text.C (Delete): compile fix.
2896 (getPar): ensure that function declaration is the same as that in
2899 2004-03-23 Angus Leeming <leeming@lyx.org>
2901 * ispell.C (LaunchIspell):
2902 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2903 a boost::shred_ptr rather than a std::auto_ptr.
2905 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2907 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2908 handle LFUN_FILE_INSERT_*
2910 * lyxrc.C (setDefaults, getDescription, output, read):
2911 * lyxrc.h: remove ps_command
2913 2004-03-22 Angus Leeming <leeming@lyx.org>
2915 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2916 Ensure that error_handler is processed once only and that all data
2917 is saved before attempting to output any warning messages.
2919 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2921 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2923 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2925 2004-03-19 André Pönitz <poenitz@gmx.net>
2927 * cursor.[Ch] (reset): take main text inset as argument
2929 * BufferView: adjust
2930 * BufferView_pimpl.C: adjust
2932 * paragraph.[Ch]: fix completely broken operator=()
2934 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2936 * LColor.C (getFromLyXName): make sure that the color name is used
2939 2004-03-17 Angus Leeming <leeming@lyx.org>
2942 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2944 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2945 dialog and to kill a forked process.
2947 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2949 * text2.C (setCursorFromCoordinates): fix font problem
2951 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2953 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2954 bogus "rebuild cursor" code
2956 2004-03-11 André Pönitz <poenitz@gmx.net>
2958 * buffer.[Ch]: use InsetText instead of LyXText as container for
2961 * dociterator.[Ch]: drop the BufferView * member which is not needed
2962 anymore after the change to buffer.C
2964 * paragraph_funcs.C:
2968 * BufferView_pimpl.[Ch]:
2970 * cursor_slice.[Ch]: adjust
2972 * text3.C: fix bug in mathDispatch
2974 2004-03-08 André Pönitz <poenitz@gmx.net>
2976 * undo.[Ch]: use 'StableDocumentIterator' as base for
2979 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2982 * bufferparams.[Ch]: add jurabib support and param.
2984 * LaTeX.C: add FIXME/comment.
2986 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2988 * buffer.C: increment file format to 230.
2990 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2992 * cursor.C (dispatch): avoid infinite loops
2994 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2996 * rowpainter.C (paintSelection): fix x coordinates
2998 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3000 * text.C (rowBreakPoint): fix breaking before displayed insets
3002 2004-03-01 André Pönitz <poenitz@gmx.net>
3004 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3006 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3010 * BufferView_pimpl.C:
3018 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3024 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3025 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3027 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3029 * Bidi.[Ch] (computeTables): const correctness
3030 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3031 fill_hfill, fill_label_hfill and x from Row
3032 * lyxtext.h: prepareToPrint returns a RowMetrics
3033 * rowPainter.C: adjust
3034 * text.C (prepareToPrint): use width, not textWidth. adjust
3035 (redoParagraphInternal, cursorX): adjust
3036 * text2.C (getColumnNearX): adjust
3037 (init): put a default value to the top LyXText::width
3039 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3041 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3043 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3045 * lyxtext.h: add FontIterator class
3047 * text.C (FontIterator, operator*, operator->, operator++): add
3048 (rowBreakPoint, setRowWidth): adjust (fixing a
3051 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3053 * BufferView_pimpl.C (workAreaDispatch): allow also
3054 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3056 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3058 * text.C (rowBreakPoint): fix a bug showing with very large insets
3060 2004-02-25 André Pönitz <poenitz@gmx.net>
3063 * cursor.[Ch]: move some mathed specific code to mathed
3065 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3067 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3068 use_tempdir in preferences
3069 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3071 * lyx_main.C: ensure that tempdir is valid
3072 * lyxlex.h: correct typo
3073 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3074 * paragraph.[Ch] (isMultiLingual): make const
3075 * cursor.[Ch] (openable): make const
3077 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3079 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3081 2004-02-20 André Pönitz <poenitz@gmx.net>
3083 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3085 * cursor.[Ch]: prepare for localized getStatus()
3091 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3093 2004-02-20 André Pönitz <poenitz@gmx.net>
3095 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3097 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3099 * text2.C (setCursorFromCoordinates): switch to absolute coords
3101 (cursorDown): adjust
3102 * text3.C (dispatch): adjust
3104 2004-02-16 André Pönitz <poenitz@gmx.net>
3106 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3109 * cursor_slice.[Ch]: remove unneeded acessor function
3111 * lyxtext.h: rename rtl() to isRTL()
3119 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3121 * rowpainter.C (paintSelection): coord fix
3123 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3125 * Spacing.C: compile fix
3127 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3129 * cursor.C (dispatch): restore current_ before returning
3131 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3133 * text2.C (cursorUp, cursorDown): fix coords
3136 2004-02-12 André Pönitz <poenitz@gmx.net>
3141 * text3.C: add LCursor & parameter to most cursor movement functions
3142 remove usage of LyXText::cursorRow() and cursorPar()
3144 * cursor.[Ch]: add textRow() needed members
3147 * BufferView_pimpl.C:
3150 * BufferView_pimpl.C: adjust
3152 2004-02-11 André Pönitz <poenitz@gmx.net>
3156 * BufferView_pimpl.C: shift undo/redo handling
3158 * cursor.[Ch]: fix mathed crash
3161 * lyxtext.h: move selectionAsText to LCursor
3169 * rowpainter.C: fix excessive drawing
3171 2004-02-06 André Pönitz <poenitz@gmx.net>
3174 * BufferView_pimpl.[Ch]:
3175 * text3.C: move some text specific LFUN handling
3177 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3179 * text3.C (checkInsetHit): adjust coords
3180 * text2.C (getColumnNearX): adjust coords
3181 (edit): adjust coords
3182 * text.C (getRowNearY): add two asserts
3184 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3187 * format.C: add using std::distance to compile on gcc 2.95/stlport
3189 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3191 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3193 2004-02-04 André Pönitz <poenitz@gmx.net>
3195 * BufferView.[Ch] (insertInset):
3196 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3201 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3203 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3204 on the default clause of the switch
3205 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3206 wasn't catched by LCursor::dispatch
3208 2004-02-03 André Pönitz <poenitz@gmx.net>
3211 * cursor.[Ch]: some additional asserts
3213 * undo.[Ch]: remove LyXText dependency in interface
3217 * lyxtext.h (firstPar, lastPar): remove dead functions
3222 * paragraph.[Ch]: adjust
3224 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3226 * lyxfind.C (find): fix argument order in call to ::find
3228 2004-02-02 André Pönitz <poenitz@gmx.net>
3230 * cursor.[Ch]: remove direct access to anchor
3232 * text.C: remove findText() hack
3234 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3236 * iterators.[Ch] (lockPath): remove in favour of...
3237 * BufferView.[Ch] (setCursor): this addition
3238 * BufferView.C (putSelectionAt): adjust
3239 * undo.C (performUndoOrRedo): adjust
3240 * lyxfunc.C (dispatch): adjust
3242 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3244 * iterators.C (lockPath): add a missing slice
3245 * undo.C (performUndoOrRedo): remove redundant positioning code
3247 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3249 * vc-backend.C (scanMaster): ";" -> ';'
3251 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3253 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3254 std::binary_function
3256 * lyxtextclass.C (compare_name): rename to...
3257 (LayoutNamesEqual): ...this
3259 * lyxlex_pimpl.C (compare_tags): inherit from
3260 std::binary_function, put back into anon namespace
3262 * lyxfind.C (MatchString): inherig from std::binary_function
3263 (findChange): use empty() istead of !size()
3265 * format.C (FormatNamesEqual): new functor
3272 * converter.C (compare_Converter): rename to...
3273 (ConverterEqual): ...this, and fixup a bit.
3274 (getConverter): use it, and make function const
3275 (getNumber): use it, and make function const
3279 * bufferlist.C: add using boost::bind
3281 * MenuBackend.C (MenuNamesEqual): new functor
3282 (hasMenu): use it, and make function const
3283 (hasSubmenu): use nested bind to get rid of compare_memfun.
3285 2004-01-30 André Pönitz <poenitz@gmx.net>
3287 * BufferView_pimpl.C:
3290 * cursor_slice.[Ch]:
3293 * paragraph_funcs.C:
3294 * paragraph_funcs.h:
3298 * text3.C: move some of the edit(x,y) handling to the insets
3299 some coordinate changes.
3301 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3303 * text.C: add using statements for std::advance and std::distance
3305 * paragraph.C: add using statement for std::distance
3307 * lyxfind.C: add using statement for std::advance
3309 * cursor.C (region): remove std:: from swap
3310 (openable): use nucleus in stead of operator->
3312 * BufferView.C: add using statements for std::distance and std::swap
3314 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3316 * iterators.C: Remove the pimple, move the needed structures to
3317 the header file. Create accessor for the positions stack.
3318 (asPosIterator): remove function
3320 * PosIterator.C (PosIterator): move constructors to top of file
3321 (PosIterator): reimplement the constructor taking a ParIterator in
3323 (setFrom): new function
3324 (operator!=): inline it
3326 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3328 * lyxfind.C (replaceAll): use std::advance
3330 * iterators.h: inherit from std::iterator.
3332 * PosIterator.C (advance, distance): remove
3333 * PosIterator.h: interit from std::iterator.
3335 2004-01-26 André Pönitz <poenitz@gmx.net>
3338 * BufferView_pimpl.[Ch]:
3342 * bufferview_funcs.C:
3352 * output_linuxdoc.C:
3353 * output_plaintext.C:
3355 * paragraph_funcs.[Ch]:
3356 * paragraph_pimpl.[Ch]:
3362 * text3.C: more IU: dumps most of the rest of the mathcursor
3363 implementation into cursor.[Ch]; "globalize" a bit of it.
3365 2004-01-25 Angus Leeming <leeming@lyx.org>
3367 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3369 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3371 * LaTeXFeatures.h: add nice_ and nice() const
3372 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3374 2004-01-20 André Pönitz <poenitz@gmx.net>
3377 * BufferView_pimpl.C:
3379 * bufferview_funcs.C:
3381 * cursor_slice.[Ch]:
3392 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3393 LCursor and mathcursor parts to LCursor and InsetBase.
3395 2004-01-15 André Pönitz <poenitz@gmx.net>
3397 * cursor_slice.[Ch]: add a few covienience functions
3399 * funcrequest.[Ch]: remove BufferView * member
3401 * BufferView_pimpl.C:
3408 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3410 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3412 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3413 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3415 2004-01-13 André Pönitz <poenitz@gmx.net>
3418 * lyxtext.h: hide cursor and selection anchor behind accessor function
3421 * BufferView_pimpl.[Ch]:
3423 * bufferview_funcs.C:
3433 * cursor_slice.[Ch]: some integer type changes for inset unification
3435 * lyxcursor.[hC]: remove, it's CursorSlice now.
3438 * BufferView_pimpl.[Ch]:
3439 * bufferview_funcs.C:
3445 * textcursor.[Ch]: adjust
3447 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3449 * text2.C (undoSpan): add and use
3450 * text.C (breakParagraph): use undoSpan (fix bug 578)
3453 2004-01-08 Angus Leeming <leeming@lyx.org>
3455 * BufferView_pimpl.C (MenuInsertLyXFile):
3456 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3457 * lyxfunc.C (menuNew, open, doImport):
3458 FileFilterList change to the FileDialog open and save functions.
3460 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3462 * ShareContainer.h: make isEqual and isUnique adaptable
3464 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3466 2004-01-07 Angus Leeming <leeming@lyx.org>
3469 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3471 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3473 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3474 functions replacing find, replace and replaceAll.
3476 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3477 LFUN_WORDFIND(FORWARD|BACKWARD).
3479 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3481 * text.C (breakParagraph): remove an outdated #warning
3483 2004-01-07 André Pönitz <poenitz@gmx.net>
3485 * lyxfind.C: somewhat clearer logic
3487 * text.C: prevent crash in cursorX on unitialized row cache
3489 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3491 * lyxcursor.[Ch] (operator>): add
3492 * textcursor.C (selStart, selEnd): use std::min and std::max
3494 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3496 * Chktex.C: include boost/format.hpp
3498 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3500 * InsetList.C: replace functor MathcIt with adaptable functor
3502 (insetIterator): modify accordingly
3504 * BranchList.h: move the BranchNamesEqual functor here from...
3505 * BranchList.C: ... to here
3507 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3509 (add): replace a finding loop with std::find_if.
3511 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3513 * output_docbook.C: moving LatexParam functionality into
3516 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3518 * buffer.C: increment format to 229.
3520 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3523 * lyx_sty.[Ch]: remove minipageindent_def
3529 * text3.C: remove LFUN_INSET_MINIPAGE
3531 2003-12-28 Angus Leeming <leeming@lyx.org>
3533 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3535 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3537 * text2.C (setParagraph): fix off-by-one crash
3539 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3541 * output_docbook.C: header stuff for AGU
3543 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3545 * text2.C (redoCursor): remove
3548 * BufferView_pimpl.C: remove calls to redoCursor and
3549 setCursor(cursor.par(), cursor.pos()) all around
3551 2003-12-15 Angus Leeming <leeming@lyx.org>
3553 * buffer.C: up the format to 228.
3555 2003-12-15 André Pönitz <poenitz@gmx.net>
3557 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3562 * BufferView_pimpl.C:
3571 2003-12-15 Angus Leeming <leeming@lyx.org>
3573 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3574 than getFromGUIName to manipulate the color.
3576 2003-12-14 Angus Leeming <leeming@lyx.org>
3578 * BranchList.[Ch]: minimize the API.
3579 (Branch::getBranch, getColor): now return a 'const &'.
3580 (Branch::setSelected) now returns a bool set to true if the
3581 selection status changes.
3582 (BranchList::clear, size, getColor, setColor, setSelected,
3583 allBranches, allSelected, separator): removed.
3584 (BranchList::find): new functions, returning the Branch with
3586 (BranchList::add, remove): return a bool indicating that
3587 the operation was successful.
3589 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3590 new InsetBranch::isBranchSlected member function.
3592 * LColor.[Ch]: mimimize the API.
3593 (fill): renamed as addColor and made private.
3594 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3595 versions of these functions taking a string arg have been removed.
3597 * bufferparams.C (readToken):
3598 * lyxfunc.C (dispatch):
3599 * lyxrc.C (read): changes due to the altered BranchList and
3602 * factory.C (createInset, readInset): changes due to altered
3605 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3608 * lyxfunc.C: remove insetminipage. "minipage-insert"
3609 now produces a frameless minipage box inset.
3611 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3613 * textcursor.[Ch] (selStart,selEnd): add new methods
3614 remove selection::start, end, use LyXCursor::operator<
3615 * lyxcursor.[Ch] (operator<): add
3616 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3617 * BufferView.[Ch] (unsetXSel): add
3618 * text2.C (clearSelection): use unsetXSel,adjust
3621 * rowpainter.C: adjust
3622 * bufferview_funcs.C (put_selection_at): adjust
3624 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3626 * BufferView_pimpl.C: small coord. correction
3628 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3630 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3631 dragging over the splash screen.
3633 2003-12-11 Angus Leeming <leeming@lyx.org>
3635 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3636 as it is now handled in LyXText::dispatch.
3638 * text3.C (doInsertInset): remove a level of nesting.
3640 2003-12-11 Angus Leeming <leeming@lyx.org>
3642 * factory.C (createInset): changes due to the changed interface to
3643 InsetCommandMailer::string2params.
3645 2003-12-10 Angus Leeming <leeming@lyx.org>
3647 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3648 'dialog-show-new-inset <inset name>'
3650 2003-12-10 Angus Leeming <leeming@lyx.org>
3652 * buffer.C: up the format to 227.
3654 * factory.C: the box inset is now identified simply by 'Box'.
3656 2003-12-10 Angus Leeming <leeming@lyx.org>
3658 * buffer.C: up the format to 226.
3660 * factory.C: the note inset is now identified simply by 'Note'.
3662 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3664 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3665 when a pit is enough. Standarize a couple of loops.
3667 2003-12-05 Angus Leeming <leeming@lyx.org>
3669 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3670 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3671 data to the re-worked "log" dialog.
3673 2003-12-03 André Pönitz <poenitz@gmx.net>
3679 * paragraph_funcs.C:
3681 * text2.C: use Inset::getText instead of Inset::getParagraph
3683 2003-12-03 André Pönitz <poenitz@gmx.net>
3687 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3688 InsetText::read() as LyXText::read()
3690 2003-12-02 Angus Leeming <leeming@lyx.org>
3692 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3693 type. Add a comment in the implementation that the function uses
3694 the stream's bad() function rather than fail() as the std::streams
3697 2003-12-02 André Pönitz <poenitz@gmx.net>
3699 * lyxlex.[Ch]: make interface more similar to std::stream
3701 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3703 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3705 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3707 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3709 * vspace.[Ch]: remove VSpace::NONE
3711 2003-12-01 André Pönitz <poenitz@gmx.net>
3714 * lyxtext.h: move ParagraphList member to LyXText
3715 rename LyXText::ownerParagraphs to LyXText::paragraph
3718 * bufferview_funcs.C:
3728 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3730 * undo.C: fix cursor positioning
3732 2003-12-01 John Levon <levon@movementarian.org>
3734 * BufferView_pimpl.C: fix a crash on exit with
3737 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3739 * BranchList.C: fix setSelected() method.
3741 2003-11-28 André Pönitz <poenitz@gmx.net>
3743 * ParagraphParameters.[Ch]:
3744 * ParameterStruct.h: remove space above/below from Paragraph to
3747 * BufferView_pimpl.C:
3753 * paragraph_funcs.C:
3759 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3761 * factory.C: Syntax change for CharStyles
3763 2003-11-28 André Pönitz <poenitz@gmx.net>
3768 * buffer.[Ch]: move LyXText member
3770 2003-11-28 André Pönitz <poenitz@gmx.net>
3772 * BufferView.[Ch]: make LyXText * text a private member
3774 * BufferView_pimpl.C:
3785 * output_plaintext.C: cleanup
3787 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3790 * lyxtextclass.[Ch]: parametrize SGML document header
3792 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3795 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3798 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3800 * text2.C (setFont): rework using PosIterator (no more recursive)
3801 (setCharFont): no more needed
3802 (setLayout): no more selection cursors fiddling (done by redoCursor)
3803 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3804 destroy remaining ones)
3806 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3808 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3810 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3813 * text3.C: adjust + re-allow multi par depth changes
3814 * textcursor.C: simplify a bit
3816 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3822 * src/output_docbook.C:
3823 * src/output_latex.C:
3828 * src/text2.C: Introducing a number of tags parametrizing various
3829 XML formats that we may want to support
3831 2003-11-25 André Pönitz <poenitz@gmx.net>
3833 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3835 * lyxtext.h (leftMargin/rightMargin): simplify interface
3842 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3844 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3845 master file to any child files. Fixes bug 546.
3847 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3849 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3851 2003-11-24 André Pönitz <poenitz@gmx.net>
3853 * rowpainter.C: simplification
3855 * text2.C (updateCounters): remove call to redoParagraph on
3856 changed labels as this is far too expensive.
3858 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3860 * converter.C (convert): fix a crash: this function gets
3861 called with buffer == 0 from importer code.
3863 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3865 * text3.C (cursorPrevious): make sure that we do not compare
3866 iterators form different containers.
3869 * rowpainter.C (paintSelection): make sure that we do not compare
3870 iterators from different containers.
3872 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3873 iterators from different ParagraphList containers.
3876 * text2.C (LyXText): change order of initialization slightly
3877 (operator=): new function. copy all variables except cache_par_
3878 (moveUp): make sure that we do not compare iterators from
3879 different ParagraphList constainers.
3882 * text.C (firstPar): new function
3883 (lastPar): new function
3884 (endPar): new function
3886 * lyxtext.h: move things around and group public functions, public
3887 variables, private functions, private variables
3889 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3891 * factory.C: change call to InsetERT constructor to avoid
3892 additional invocation of method status
3893 * text2.C (toggleInset): remove redundant update() call
3894 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3895 instead of a Bufferview pointer
3897 2003-11-21 André Pönitz <poenitz@gmx.net>
3899 * rowpainter.C: simplification
3901 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3903 * text3.C (dispatch): make possible to extend a word/row selection
3906 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3908 * lyxtext.h: x0_,y0_ -> xo_,yo_
3909 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3910 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3911 * rowpainter.C (paintRows): paint full paragraphs
3913 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3915 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3918 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3920 * lyxtext.h: add x0_, y0_
3921 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3922 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3924 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3926 * text2.C (setCursorIntern): move the x_target update here *
3927 * text3.C: change some bv() to true/false in calls to
3928 cursorUp/Down/Right/Left
3929 * cursor.C: use helper function.
3931 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3933 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3934 * paragraph_funcs.[Ch]: correct comment
3935 * rowpainter.C: do not paint selections away from bv->cursor()
3936 Fix a long standing selection painting bug.
3937 * text3.C: generalize mouse-selection code to LyXTexts other that
3939 * textcursor.C: do not use y coords if we can use par offsets
3941 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3943 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3944 cursor position after e.g. inset insert)
3946 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3948 * lyxfind.C (replace): adjust to locking removal + some
3951 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3953 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3956 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3959 * output_docbook.C: XML sanitation: new layout
3960 parameters InnerTag and CommandDepth
3962 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3964 * BufferView_pimpl.C:
3966 * text3.C: Fix the insertion and modification of button-style
3969 2003-11-13 André Pönitz <poenitz@gmx.net>
3971 * InsetList.[Ch]: remove deleteLyXText
3973 * paragraph.[Ch]: cache beginOfBody position
3978 * text3.C: remove superfluous update() calls
3982 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3984 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3985 * BufferView.C (fitLockedInsetCursor): remove
3986 * cursor.[Ch] (getDim): add
3987 * text.C (getRowNearY): add faster version
3988 * text3.C: remove some update calls
3990 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4002 * text3.C: The Character Style /XML short element patch.
4004 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4007 * factory.C: Small step to solving 'unable to insert some insets'
4010 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4012 * cursor.[Ch] (updatePos): new function for updating the y
4013 position of the tip inset
4014 * bufferview_funcs.C (put_selection_at):
4015 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4017 2003-11-11 André Pönitz <poenitz@gmx.net>
4019 * text.C: remove big comment on invalid Paragraph pointers as it is
4022 2003-11-11 André Pönitz <poenitz@gmx.net>
4024 * text_funcs.[Ch]: merge with ...
4032 * Makefile.am: remove text_funcs.[Ch]
4034 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4036 * cursor.C (getPos): return absolute cached y coord
4038 * BufferView_pimpl.C (fitCursor): new simplistic code
4039 (workAreaDispatch): add a fitCursor call
4041 2003-11-10 André Pönitz <poenitz@gmx.net>
4044 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4046 2003-11-10 André Pönitz <poenitz@gmx.net>
4048 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4049 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4050 indicate that the cursor needs to leave an inset
4052 * lyxtext.h: remove inset locking
4054 * cursor.[Ch]: re-implement functionality provided by inset locking
4057 * BufferView_pimpl.[Ch]:
4059 * bufferview_funcs.[Ch]:
4071 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4073 * PosIterator.[Ch]: replace the stack with a vector, add inset
4075 * iterators.[C]: adjust
4077 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4079 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4081 * paragraph_funcs.C (readParToken): put the correct id in the
4082 error item, not the id of the top paragraph
4084 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4086 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4087 * bufferview_funcs.C (put_selection_at): use the above
4089 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4091 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4093 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4095 * output_linuxdoc.h:
4096 * output_plaintext.h:
4098 * output_docbook.h: add #include statements
4100 2003-11-05 José Matos <jamatos@lyx.org>
4102 * output_docbook.[Ch]:
4103 * output_latex.[Ch]:
4104 * output_linuxdoc.[Ch]:
4105 * output_plaintext.[Ch]: New files for output formats.
4106 * output.[Ch]: New file for helper functions.
4109 * paragraph_funcs.[Ch]: output functions moved to new files.
4111 * outputparams.h: rename of latexrunparams.h
4119 * paragraph_funcs.[Ch]:
4120 * paragraph_pimpl.[Ch]:
4121 * tabular.[Ch]: rename ascii to plaintext
4122 and LatexRunParams to OutputParams.
4124 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4126 * iterators.[Ch] (text): require bv argument
4127 * undo.C (recordUndo):
4128 * lyxfunc.C (dispatch):
4129 * bufferview_funcs.C (put_selection_at): adjust
4131 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4133 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4135 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4137 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4140 2003-11-04 André Pönitz <poenitz@gmx.net>
4142 * cursor.[Ch]: restructure
4145 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4147 * iterators.[Ch] (asCursor): remove
4149 * lfuns.h: remove LFUN_INSET_EDIT
4155 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4157 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4159 * lyxfind.[Ch]: complete overhaul
4160 * BufferView_pimpl.C:
4162 * paragraph.[Ch] (insert): add
4164 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4168 * text.C: remove dead spellcheck code
4170 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * dispatchresult.h: add a val setter
4174 * cursor.C (dispatch): use a tempvar for data_[i]
4176 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4178 * PosIterator.[Ch]: compile fix
4180 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4182 * text.C (cursorPar): deactivate the cursor cache
4184 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4186 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4188 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * text3.C (dispatch): adjust for new DisptchResult semantics.
4192 * lyxfunc.C (dispatch): handle update when return from
4193 Cursor::dispatch, adjust for new DispatchResult semantics.
4195 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4196 DispatchResult(true) mean to not update. Add class functions for
4197 setting dispatched and update, as well as reading.
4199 * cursor.C (dispatch): don't handle update here
4201 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4204 * trans_mgr.C: adjust
4206 * paragraph_funcs.C (readParToken): exception safety
4208 * lyxvc.h: store the vcs pointer in a scoped_ptr
4211 * lyxsocket.C (serverCallback): exception safety
4213 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4215 * ispell.C (clone): make it return a auto_ptr
4217 * factory.C (createInset): exception safety
4218 (readInset): exception safety
4220 * bufferlist.C (newBuffer): exception safety
4222 * Thesaurus.C (Thesaurus): use initialization for aik_
4224 * MenuBackend.C (expandToc): exception safety.
4226 2003-11-03 André Pönitz <poenitz@gmx.net>
4230 * bufferview_funcs.C: remove getInsetFromId()
4233 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4239 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4241 * PosIterator.C (distance, advance): new
4242 * bufferview_funcs.[Ch] (put_selection_at): new
4243 * iterators.[Ch] (lockPath): new
4245 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4247 * iterators.[Ch] (asPosIterator): added
4248 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4249 * PosIterator.[Ch]: added
4251 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4255 * cursor.C (dispatch):
4256 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4258 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4259 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4260 contructor, add a class function dispatched. Remove operator>=
4262 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * debug.C: only use the default constructor for debugstream
4267 * main.C (main): include debug.h and setup the lyxerr streambuf
4270 2003-10-31 José Matos <jamatos@lyx.org>
4272 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4274 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4275 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4276 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4277 * paragraph_pimpl.C (simpleTeXSpecialC):
4278 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4279 add LatexRunParams argument.
4281 * exporter.C (Export): change call accordingly.
4283 * latexrunparams.h: add new member to take care of the other backends.
4284 2003-10-30 José Matos <jamatos@lyx.org>
4286 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4287 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4288 factorise code for paragraph output.
4290 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4293 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * text3.C (dispatch):
4296 * lyxfunc.C (dispatch):
4297 * cursor.C (dispatch):
4298 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4300 * dispatchresult.h: make the dispatch_result_t ctor explicit
4302 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4305 * buffer.C: small refactoring of docbook stuff
4307 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4312 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4315 operator dispatch_result_t, and operators for == != and >=
4317 * cursor.C (dispatch): adjust for operator dispatch_result_t
4318 removal. comment out call to update
4320 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4322 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4333 * dispatchresult.h: new file, DispatchResult broken out of
4336 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4338 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4340 * text.C (rowBreakPoint): put a hack inside #if 0
4342 2003-10-28 André Pönitz <poenitz@gmx.net>
4346 * paragraph_funcs.C:
4349 * text2.C: general cleanup (lots of small stuff)
4351 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4353 * text2.C (cursorEnd): simple fix to the "end key goes to one
4354 before the end on last row" bug
4356 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4358 * text.C (backspace): fix the "zombie characters"
4360 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4362 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4364 2003-10-27 André Pönitz <poenitz@gmx.net>
4366 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4368 * factory.C: handle new InsetPagebreak, InsetLine
4370 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4371 and move handling into new InsetPagebreak, InsetLine
4373 * BufferView_pimpl.C:
4375 * ParagraphParameters.C:
4376 * ParameterStruct.h:
4381 * paragraph_funcs.C:
4382 * paragraph_pimpl.C:
4388 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4391 * lyxrow_funcs.[Ch]:
4397 * text3.C: remove lastPos uses in favour of Row::endpos
4399 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4401 * undo.C (performUndoOrRedo): fix two crashes by setting a
4402 cursor by hand and reordering some calls. Use bv->lockInset instead
4403 of inset->edit because the latter loses cursor information
4405 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4407 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4409 (rowBreakPoint): fix width. change point to point + 1.
4410 Add a missing check.
4412 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4415 * lyxfunc.C: fix (at least partly) the problems
4416 with the Nav menu and headers inside branch insets
4419 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4421 * paragraph.C (getChar): add strong asserts
4423 * lyxrow_funcs.C (lastPos): remove hideous hack
4425 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4426 (fill): adjust to that (avoid an infinite loop)
4428 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4430 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4432 2003-10-23 André Pönitz <poenitz@gmx.net>
4434 * RowList_fwd.h: change list<> to vector<> to gain speed
4435 after suggestion from Alfredo
4437 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4439 * lyxtext.h: move the bidi stuff from here...
4442 * Bidi.[Ch]: ... to here
4444 2003-10-23 André Pönitz <poenitz@gmx.net>
4447 * text.C (isLastRow, isFirstRow): new functions
4449 * paragraph.h: new width cache member
4451 * rowpainter.C: replace RowList::iterator with Row & where possible
4453 * lyxfunc.C: replace several view()->text with a single call
4455 * toc.C: fix 'unused' warning
4457 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4459 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4460 when woring with stream::pos_type
4461 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4463 2003-10-22 André Pönitz <poenitz@gmx.net>
4466 * text.C: use Row & instead of RowList::iterator
4468 * lyxrow.h: rename end() to endpos()
4474 2003-10-22 Angus Leeming <leeming@lyx.org>
4476 * buffer.[Ch] (fully_loaded): new member function, returning true
4477 only when the file has been loaded fully.
4478 Used to prevent the premature generation of previews and by the
4479 citation inset to prevent computation of the natbib-style label.
4481 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4482 templates are all set up.
4484 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4486 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4488 * text.C: fixed an "oops" in the "is a bit silly"
4491 2003-10-21 André Pönitz <poenitz@gmx.net>
4493 * FuncStatus.[Ch]: small stuff, whitespace
4495 * lyxfont.[Ch]: operator<<() for debug reasons
4499 * lyxtext.h: whitespace, spelling
4501 * paragraph.C: naming of variables
4504 * text2.C: small stuff
4507 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4509 * text.C: (1) finish off the inset display() work;
4510 (2) fix the "is a bit silly" bug (accessing char
4513 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4515 * text.C: re-introduce display() for insets, fixing the
4516 various bugs (stretch of line above, math inset
4519 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4521 * text.C (rightMargin): remove spurious semicolon
4523 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4526 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4528 * text3.C: fix one crash due to wrong cursor def
4530 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * vc-backend.C (scanMaster): make the regex static
4534 * LaTeX.C (scanAuxFile): make the regexs static
4536 * text3.C (doInsertInset, dispatch, dispatch):
4537 * text2.C (cursorUp, cursorDown):
4538 * text.C (selectNextWordToSpellcheck):
4539 * BufferView_pimpl.C (dispatch):
4540 * lyxfunc.C (dispatch): localDispatch -> dispatch
4542 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4544 * lyxsocket.C: include <cerrno>
4546 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * lyxfunc.C (dispatch): remove textcache stuff
4550 * bufferlist.C (release): remove textcache stuff
4553 * TextCache.C: delete file
4554 * TextCache.h: delete file
4556 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4558 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4559 delete of the bv_->text.
4560 (resizeCurrentBuffer): remove texcache stuff
4561 (workAreaResize): ditto
4563 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4565 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4568 2003-10-16 André Pönitz <poenitz@gmx.net>
4575 * text3.C: speed up by storing y positions per paragraph plus per-row
4576 offset instead of having a 'full' y position in the row.
4578 2003-10-15 André Pönitz <poenitz@gmx.net>
4582 * undo.[Ch]: make undo aware of inner insets
4584 2003-10-14 Angus Leeming <leeming@lyx.org>
4586 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4587 static member functions LyX::ref() and LyX::cref.
4588 (lastfiles): new accessor functions for the new lastfiles_ member var.
4589 (addLyXView, views_): add a new LyXView to the list of views_.
4590 (updateInset): loop over all LyXViews to call their own updateInset
4591 member function, returning a pointer to the Buffer owning the inset.
4593 * BufferView_pimpl.C (loadLyXFile):
4594 * MenuBackend.C (expandLastfiles):
4595 * bufferlist.C (MenuWrite, QuitLyX):
4596 lastfiles is no longer a global variable.
4597 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4599 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4600 static function. Access through LyX::cref().emergencyCleanup().
4602 2003-10-14 André Pönitz <poenitz@gmx.net>
4604 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4606 * undo.[Ch]: restoring part of 'undo in insets'
4609 * undo_funcs.[Ch]: merge with undo.[Ch]
4611 * tabular.C: small cleansing stuff
4613 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4615 * paragraph_funcs.C (readParToken): report unknown insets as error
4616 boxes. Use the outer paragraph as location (also for unknown
4619 * factory.C (readInset): do not abort on reading an unknown inset.
4620 Eat it and return 0.
4622 2003-10-13 Angus Leeming <leeming@lyx.org>
4624 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4626 * lyxrc.C: displayTranslator is now a function,
4627 declared in GraphicsTypes.h.
4629 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4631 * format.C: new placeholder $$a to pass the socket address.
4633 * bufferlist.[Ch]: new function getBufferFromTmp.
4635 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4636 files in the temporary dir.
4638 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4640 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4642 * Makefile.am: add lyxsocket.[Ch].
4644 * lyx_main.C (error_handler): handle SIGPIPE.
4646 2003-10-13 André Pönitz <poenitz@gmx.net>
4648 * BufferView_pimpl.C:
4653 * undo_funcs.[Ch]: use paroffset_type instead of
4654 ParagraphList::iterators to prevent multiple conversion
4655 (and get a more robust interface)
4657 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4661 * text3.C (dispatch): ditto
4663 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4666 move the onlyfile, use onlyfile instead of foundfile in a couple
4669 * DepTable.C (update): flush the error stream a bit more
4671 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * lyxserver.C (callback): adjust
4675 * lyxfunc.C (getStatus): add a missing brace in commented code
4676 (ensureBufferClean): reindent
4677 (dispatch): delete version taking a string
4679 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * LaTeX.C (deplog): move found file handlig from here...
4682 (handleFoundFile): .. to new function here.
4683 (deplog): make sure to discover several files mentioned on the
4686 2003-10-10 André Pönitz <poenitz@gmx.net>
4693 * text3.C: fix some of the tabular crashes
4695 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4697 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4699 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4701 2003-10-09 André Pönitz <poenitz@gmx.net>
4703 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4706 * BufferView_pimpl.C:
4707 * bufferview_funcs.C:
4718 * undo_funcs.C: adjust
4720 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * text2.C (incrementItemDepth): new function, use a backtracking
4723 algorithm to discover the correct item depth.
4724 (resetEnumCounterIfNeeded): new function, use a backtracking
4725 algorithm to discover if counter reset is needed.
4726 (setCounter): use them. Simplify a bit. Add different labels for
4727 different item depths for itemize.
4729 * paragraph.C (Paragraph): remove initialization of enumdepth
4732 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4733 enumerate and itemize. Change the type of itemdepth to signed char.
4735 2003-10-08 André Pönitz <poenitz@gmx.net>
4737 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4742 * tabular.[Ch]: fix crash after 'row-insert'
4744 2003-10-08 Angus Leeming <leeming@lyx.org>
4746 Fix doxygen warnings.
4748 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4749 Remove CutAndPaste:: prefix from header file declaration.
4751 * LColor.h (fill): remove LColor:: prefix from declaration.
4753 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4754 use lyx::depth_type rather than Paragraph::depth_type so that
4755 header file and .C file match.
4757 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4759 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4760 * aspell.C: \file aspell_local.C -> \file aspell.C
4761 * gettext.C: \file gettext.C -> \file src/gettext.C
4762 * gettext.h: \file gettext.h -> \file src/gettext.h
4763 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4764 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4765 * text.C: \file text.C -> \file src/text.C
4767 * toc.C: move comment so that doxygen is not confused.
4769 2003-10-07 Angus Leeming <leeming@lyx.org>
4771 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4773 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4776 * aspell_local.h: add forgotten std::string's.
4778 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4785 * text3.C: The Box patch. Fancybox support, minipage, parbox
4787 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4793 * ParagraphParameters.h:
4803 * lyxtextclasslist.h:
4806 * paragraph_pimpl.C:
4807 * textcursor.h: add <string> and other small fixes to make Lars'
4808 std::string patch compile with STLport.
4810 2003-10-06 Angus Leeming <leeming@lyx.org>
4812 * LColor.h: Add missing #include <string>.
4814 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * All most all file in all subdirs: Make <string> be the prefered
4817 way of getting to std::string, add using declarations.
4819 2003-10-06 André Pönitz <poenitz@gmx.net>
4821 * metricsinfo.C: initialize LyXFont before changing attribute.
4822 (fixes the 'math in \emph is upright' bug)
4824 2003-10-06 André Pönitz <poenitz@gmx.net>
4826 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4828 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4831 * paragraph_pimpl.C: Small fixes to build using STLport
4833 2003-10-02 André Pönitz <poenitz@gmx.net>
4836 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4838 2003-10-01 André Pönitz <poenitz@gmx.net>
4840 * factory.C: assert early
4842 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * lyx_main.C: remove the global debug object
4846 * debug.h: adjust for new debugstream
4848 * debug.C: adjust for new debugstream and keep the global debug
4851 2003-09-22 Angus Leeming <leeming@lyx.org>
4853 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4854 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4855 an incomplete class LyXFont.
4857 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4859 * factory.C: bug fix in branches
4861 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * lyxfunc.C (processKeySym): adjust
4865 (dispatch): change arg name from ev to func, adjust
4866 (sendDispatchMessage): ditto
4868 * lyx_main.C (defaultKeyBindings): adjust keybindings
4869 (deadKeyBindings): ditto
4871 * kbsequence.C (addkey): return a FuncRequest
4873 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4875 * kbmap.C (bind): take a FuncRequest as arg, adjust
4878 (defkey): change to take a FuncRequest as arg, adjust
4879 (findbinding): take a FuncRequest as arg, adjust.
4881 * funcrequest.h (operator=): added
4883 * funcrequest.C (FuncRequest): default kb_action changed from
4884 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4886 * buffer.C (dispatch): simplify
4887 (dispatch): adjust to take a FuncRequest as arg, adjust
4889 * boost.C (assertion_failed): change assertion message slightly
4891 * ToolbarBackend.C (read): simplify
4893 * MenuBackend.C (binding): adjust call to findbinding, add a
4894 message if no binding is found.
4896 (expandToc): correct by adding a empty FuncRequest
4898 * LyXAction.C: include <boost/assert.hpp>
4899 (isPseudoAction): delete function
4900 (LookupFunc): change name to...
4901 (lookupFunc): this. change return type to FuncRequest.
4902 (getActionName): take kb_action as arg, simplify
4903 (funcHasFlag): add an assert, simplify.
4905 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * toc.C (action): return a FuncRequest, simplify
4909 * lyxfunc.C (processKeySym): adjust
4910 (getStatus): delete version that takes an int.
4912 (dispatch): delete version that takes action as int
4914 (sendDispatchMessage): simplify and adjust
4916 * funcrequest.C (getArg): take unsigned int as arg
4918 * ToolbarBackend.C (read): adjust
4919 (add): delete version that takes func as a string.
4920 (getIton): take a FuncRequest as arg
4922 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4925 * MenuBackend.C (MenuItem): add a new construct that only takes a
4926 Kind, simplify the constructor use for submenus.
4928 (expandLastfiles): adjust
4929 (expandDocuments): adjust
4930 (expandFormats): adjust
4931 (expandFloatListInsert): adjust
4932 (expandFloatInsert): adjust
4933 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4935 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4936 Remove class variables lyx_pseudo_map and lyx_arg_map
4938 * LyXAction.C (searchActionArg): delete function
4939 (getPseudoAction): delete function
4940 (retrieveActionArg): delete function
4941 (LookupFunc): make it return kb_action, simplify.
4942 (getActionName): simplify
4944 * factory.C (createInset): fix new bug
4946 2003-09-19 Angus Leeming <leeming@lyx.org>
4948 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4949 masterFilename_ parameter in the include inset.
4951 * factory.C (createInset): changes due to the changes to InsetInclude.
4953 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4955 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4957 2003-09-18 Angus Leeming <leeming@lyx.org>
4960 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4961 Inset::fillWithBibKeys.
4962 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4964 2003-09-18 Angus Leeming <leeming@lyx.org>
4966 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4968 (ctor): pass and store a 'Buffer const &'
4969 (buffer): new member function.
4971 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4972 '*this' to the LaTeXFeatures ctor.
4974 2003-09-18 Angus Leeming <leeming@lyx.org>
4980 * text.C: rename EnumLColor as LColor_color.
4982 2003-09-18 Angus Leeming <leeming@lyx.org>
4984 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4985 remove #include "insets/insetbase.h" from cursor.h.
4987 2003-09-18 Angus Leeming <leeming@lyx.org>
4989 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4990 InsetOld_code to remove #include "inset.h".
4992 * iterators.C: add #include "insets/inset.h"
4994 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4996 * BufferView.C: remove more locking stuff that apparently doesn't
4997 do anything sensible.
4999 2003-09-16 André Pönitz <poenitz@gmx.net>
5002 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5005 2003-09-16 Angus Leeming <leeming@lyx.org>
5007 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5009 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5012 * paragraph.h: remove #include "lyxfont.h". Forward declare
5015 2003-09-16 Angus Leeming <leeming@lyx.org>
5017 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5018 of support/textutils.h.
5019 (isWord): move the contents of support/textutils.h's IsWordChar here.
5025 * text2.C: add #include "paragraph.h".
5028 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5030 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5036 * LaTeX.C: use namespace alias for lyx::support::os
5038 2003-09-16 Angus Leeming <leeming@lyx.org>
5041 * bufferview_funcs.C:
5044 * paragraph_pimpl.C:
5046 * text.C: add #include "LColor.h".
5048 2003-09-16 Angus Leeming <leeming@lyx.org>
5050 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5051 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5053 Store the FontBits::color variable as an int rather than as an
5054 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5057 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5058 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5059 string calls together.
5061 * lyxrc.C: add #include "LColor.h".
5063 2003-09-15 Angus Leeming <leeming@lyx.org>
5065 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5068 2003-09-15 Angus Leeming <leeming@lyx.org>
5070 * LColor.h: add an EnumLColor wrapper for LColor::color.
5072 * lyxfont.[Ch] (color, setColor, realColor):
5073 * lyxtext.h, text.C (backgroundColor):
5074 pass EnumLColor args to/from the functions, rather than LColor::color
5078 * lyxtext.h: forward declare EnumLColor.
5080 * lyx_main.C: add #include "LColor.h".
5082 2003-09-15 Angus Leeming <leeming@lyx.org>
5084 * .cvsignore: add lyx-gtk.
5086 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5091 * ParagraphParameters.C
5095 * bufferview_funcs.C
5105 * vc-backend.C: remove usage of STRCONV
5107 2003-09-15 Angus Leeming <leeming@lyx.org>
5109 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5110 explicitly define the color passed to the painter.
5112 2003-09-15 Angus Leeming <leeming@lyx.org>
5114 * bufferparams.C (BufferParams): reorder member initializers to avoid
5117 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5119 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5120 * text.C (updateRowPositions): remove an unusual nop
5122 2003-09-12 André Pönitz <poenitz@gmx.net>
5124 * BufferView_pimpl.C:
5133 * Counters.[Ch]: finish the 'automatic counters' job
5135 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5137 * aspell.C: include <boost/assert.cpp> (compile fix)
5139 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5141 * boost.C (assertion_failed): use lyx::support::abort instead of
5144 2003-09-10 Angus Leeming <leeming@lyx.org>
5146 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5147 with their _fwd progeny.
5149 2003-09-09 Angus Leeming <leeming@lyx.org>
5151 134 files throughtout the source tree: replace 'using namespace abc;'
5152 directives with the appropriate 'using abc::xyz;' declarations.
5154 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5156 * boost.C (emergencyCleanup): moved here from LAssert.c
5157 (assertion_failed): new function, called by BOOST_ASSERT
5159 * several files: change Assert to BOOST_ASSERT
5161 2003-09-09 Angus Leeming <leeming@lyx.org>
5163 * buffer.[Ch]: Add an Impl class and move Buffer's member
5164 variables into it. As a result move several header files out of
5167 Add header files to lots of .C files all over the tree as a result.
5169 2003-09-09 Angus Leeming <leeming@lyx.org>
5171 * buffer.[Ch]: make Buffer's member variables private. Add
5174 Lots of changes all over the tree as a result.
5176 2003-09-08 Angus Leeming <leeming@lyx.org>
5178 * graph.C: #include <config.h>.
5180 2003-09-08 Angus Leeming <leeming@lyx.org>
5184 * BufferView_pimpl.C:
5213 * toc.C: remove redundant using directives.
5215 2003-09-07 Angus Leeming <leeming@lyx.org>
5217 * LaTeXFeatures.h: remove #include "support/types.h".
5218 * ToolbarBackend.h: remove #include <algorithm>.
5219 * changes.h: remove #include <ctime>.
5220 * debug.h: remove #include <iosfwd>.
5221 * graph.h: remove #include "support/std_string.h".
5222 * lyx_main.h: remove #include <csignal>.
5223 * lyxlex_pimpl.h: remove #include <fstream>.
5224 * sgml.h: remove #include <algorithm>, <utility>.
5225 * toc.h: remove #include "support/std_ostream.h".
5226 Add #include <iosfwd>.
5228 2003-09-07 Angus Leeming <leeming@lyx.org>
5230 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5232 * converter.h: forward declare LatexRunParams.
5233 * encoding.h: remove #include "lyxrc.h".
5234 * lyxtext.h: remove #include "LColor.h".
5235 * lyxtextclass.h: remove #include "support/types.h".
5236 * trans.h: remove #include "tex-accent.h".
5237 * trans_mgr.h: remove #include "tex-accent.h".
5238 * insets/inset.h: remove #include "support/types.h", <vector>.
5239 * insets/insetcollapsable.h: remove #include "LColor.h".
5240 * insets/insetinclude.h: remove #include "dimension.h".
5241 * insets/insetlatexaccent.h: remove #include "dimension.h".
5242 * insets/insetoptarg.h:: remove #include "insettext.h".
5243 * insets/insettext.h: remove #include "dimension.h",
5244 <boost/shared_ptr.hpp>
5246 * insets/renderers.h: add #include "dimension.h".
5247 * insets/updatableinset.h: add #include "support/types.h".
5249 * many .C files: Associated changes.
5251 2003-09-06 Angus Leeming <leeming@lyx.org>
5253 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5254 one, inside testInvariant.
5256 * PrinterParams.C: new file.
5257 * PrinterParams.[Ch]: move the function bodies out of line.
5259 2003-09-06 Angus Leeming <leeming@lyx.org>
5261 * ParagraphParameters.h: forward declare ParameterStruct rather than
5262 including its header file.
5263 (depth): moved out-of-line.
5265 2003-09-06 Angus Leeming <leeming@lyx.org>
5267 * BufferView_pimpl.h:
5270 * lyxfunc.h: forward declare LyXKeySym rather than
5271 #include "frontends/LyXKeySym.h".
5273 * BufferView_pimpl.C:
5276 * lyxfunc.C: associated changes.
5278 2003-09-06 Angus Leeming <leeming@lyx.org>
5280 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5281 As a result, can remove the #include "insets/inset.h" from BufferView.h
5283 2003-09-06 Angus Leeming <leeming@lyx.org>
5285 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5286 As a result, can remove the #include "insets/inset.h" from BufferView.h
5288 2003-09-06 Angus Leeming <leeming@lyx.org>
5294 * bufferview_funcs.C:
5295 * BufferView_pimpl.C:
5300 * ParagraphParameters.C:
5305 * frontends/controllers/ControlDocument.C:
5306 * insets/insetcaption.C: rearrange the #includes into some sort of
5309 * buffer.h: remove #includes ErrorList.h, undo.h
5311 2003-09-06 Angus Leeming <leeming@lyx.org>
5313 * support/types.h: add a 'depth_type' typedef, used to store the
5314 nesting depth of a paragraph.
5317 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5318 defining explicitly.
5321 * paragraph_funcs.h:
5322 * ParagraphParameters.h:
5323 * sgml.h: use lyx::depth_type rather than Paragraph or
5324 ParameterStruct's depth_type.
5327 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5330 * BufferView_pimpl.C:
5332 * ParagraphParameters.C:
5335 * bufferview_funcs.C:
5342 * frontends/LyXView.C:
5343 * frontends/controllers/ControlDocument.C:
5344 * frontends/controllers/ControlErrorList.C:
5345 * insets/insetbibitem.C:
5346 * insets/insetbranch.C:
5347 * insets/insetcaption.C:
5348 * insets/insetcollapsable.C:
5349 * insets/insetenv.C:
5350 * insets/insetert.C:
5351 * insets/insetfloat.C:
5352 * insets/insetfoot.C:
5353 * insets/insetfootlike.C:
5354 * insets/insetnewline.C:
5355 * insets/insetquotes.C:
5356 * insets/insettabular.C:
5357 * insets/insettext.C:
5358 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5360 * frontends/controllers/ControlChanges.C: #include "changes.h".
5362 2003-09-06 Angus Leeming <leeming@lyx.org>
5364 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5365 than #including paragraph.h.
5368 * RowList.h: deleted. Superfluous.
5378 * insets/insettext.h: use ParagraphList_fwd.h rather than
5381 * paragraph.h: don't forward declare ParagraphList.
5384 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5385 rather than ParagraphList.h. paragraph.h is still needed for the
5386 Paragraph::depth_type parameters.
5388 * textcursor.h: enable it to compile stand-alone in light of the
5391 * bufferview_funcs.C:
5403 * frontends/controllers/ControlParagraph.C:
5404 * frontends/controllers/ControlTabular.C:
5405 * insets/insetmarginal.C:
5406 * insets/insetminipage.C:
5407 * insets/insetnote.C:
5408 * insets/insetoptarg.C: add header files needed to compile again.
5410 2003-09-06 Angus Leeming <leeming@lyx.org>
5412 * RowList_fwd.h: new file, forward-declaring Row rather than
5413 #including lyxrow.h.
5418 * insets/insettext.h: use it instead of RowList.h
5420 * bufferview_funcs.C:
5427 * text3.C: #include "RowList.h".
5429 2003-09-05 Angus Leeming <leeming@lyx.org>
5431 * factory.C (createInset):
5432 * vspace.C (c-tor): replace sscanf call with an istringstream.
5433 * ispell.C: re-add missing HP/UX headers.
5434 * lyxserver.C: re-add missing os2 headers.
5436 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5445 * text3.C: re-add missing system headers, needed for 2.95.2.
5447 2003-09-05 Angus Leeming <leeming@lyx.org>
5449 Changes most place everywhere due to the removal of using directives
5450 from support/std_sstream.h.
5452 2003-09-05 Angus Leeming <leeming@lyx.org>
5454 Replace LString.h with support/std_string.h,
5455 Lsstream.h with support/std_sstream.h,
5456 support/LIstream.h with support/std_istream.h,
5457 support/LOstream.h with support/std_ostream.h.
5459 Changes resulting throughout the tree.
5461 2003-09-05 Angus Leeming <leeming@lyx.org>
5463 * sgml.h: ensure that the header file can be compiled stand-alone.
5464 * *.C: strip out redundant #includes. (320 in total.)
5466 2003-09-04 Angus Leeming <leeming@lyx.org>
5468 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5469 here (from getPackages).
5471 * debug.[Ch]: add a new EXTERNAL tag.
5473 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5475 * text2.C (cursorEnd): simplify
5477 (getColumnNearX): adjust
5479 * text.C (computeBidiTables): adjust
5482 * rowpainter.C (paintChars): adjust
5483 (paintSelection): adjust
5484 (paintChangeBar): adjust
5487 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5489 (numberOfSeparators): adjust
5491 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5497 * text3.C: Restricts the mouse click functionality
5498 of insets like bibtex, include, toc and floatlist to the visible
5499 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5500 up the dialogs. Cursor has to be in front of the inset (i.e.
5501 start of row) for this to function.
5503 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5505 * bufferview_funcs.C (currentState): output row information
5507 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5509 * bufferview_funcs.C (currentState): output paragraph position
5511 2003-09-04 Angus Leeming <leeming@lyx.org>
5513 * FloatList.h: move out #include "Floating.h".
5514 * LaTeX.h: move out #include "DepTable.h".
5515 * LyXAction.h: move out #include "funcrequest.h".
5516 * buffer.h: move out #include "author.h", "iterators.h".
5517 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5518 * lyx_main.h: move out #include "errorlist.h".
5519 * lyxfunc.h: move out #include "FuncStatus.h".
5520 * lyxtext: move out #include "lyxcursor.h".
5521 * paragraph_pimpl.h: move out #include "counters.h".
5523 2003-09-03 Angus Leeming <leeming@lyx.org>
5525 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5526 preamble_snippets list, enabling us to add snippets to the preamble
5527 only if the snippet was not there already.
5529 2003-09-04 Angus Leeming <leeming@lyx.org>
5531 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5533 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5538 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5540 * BranchList.C: point fix, earlier forgotten
5542 2003-09-02 Angus Leeming <leeming@lyx.org>
5544 * box.C (contains): renamed from 'contained' after a fantastic
5547 2003-09-02 John Levon <levon@movementarian.org>
5553 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5555 2003-09-02 John Levon <levon@movementarian.org>
5557 * text2.C: simplification of cursorEnd(), including partial
5560 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * buffer.C (readFile): add a space
5564 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5566 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5568 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * buffer.C (readFile): new function, take a filename and a
5571 ParagraphList::iterator
5573 (readFile): adjust, make it private. don't use setStream, make
5574 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5575 always contain the filename.
5577 * BufferView.C (insertLyXFile): simplify and make it work for
5580 2003-08-30 John Levon <levon@movementarian.org>
5582 * Makefile.am: fix dist (from Kayvan)
5584 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5586 * most files: change to use const Buffer refs
5588 2003-08-27 André Pönitz <poenitz@gmx.net>
5590 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5591 on top of ownerPar().
5593 2003-08-27 John Levon <levon@movementarian.org>
5595 * funcrequest.C: properly initialise POD members
5597 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5599 * lyxtext.h (top_y): move top_y from here
5604 * BufferView_pimpl.[Ch]: to here
5605 * frontends/screen.C:
5606 * insets/insettabular.C:
5607 * insets/insettext.C: adjust
5608 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5610 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5613 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5615 2003-08-26 André Pönitz <poenitz@gmx.net>
5617 * paragraph_func.[Ch] (outerPar): new function
5620 * paragraph_funcs.C:
5621 * paragraph_funcs.h:
5622 * paragraph_pimpl.C:
5623 * text2.C: remove Inset::par_owner
5625 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5630 * text2.C: eliminates the needFullRow/display() stuff
5631 altogether, putting the logic in metrics/draw in the insets.
5633 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5635 * text2.C (redoParagraphInternal, redoParagraphs):
5636 * text.C (redoParagraph): add a call to updateRowPositions at the
5637 end of each 'metrics-like' call. Remove all others.
5638 (getRow): remove the 'y-computing' version.
5639 (getRowNearY): do not compute nor return the real y. Solve the
5640 'y < 0' problem and simplify.
5642 2003-08-22 Angus Leeming <leeming@lyx.org>
5644 * *.[Ch]: clean-up of licence and author blurbs.
5645 Also move config.h out of a few .h files and into a few .C files.
5647 2003-08-22 André Pönitz <poenitz@gmx.net>
5649 * lyxrow.[Ch]: add x_ and *fill_ members
5654 * text2.C: adjust/remove prepareToPrint() calls
5656 2003-08-22 André Pönitz <poenitz@gmx.net>
5658 * lyxrow.[Ch]: add end_ member
5660 * lyxrow_funcs.C: use LyXRow::end_
5662 * lyxtext.h (singleWidth): add LyXFont parameter
5665 * text2.C: adjust LyXText::singleWidth() calls
5667 * text.C (redoParagraph): simplify row breaking logic
5670 2003-08-19 André Pönitz <poenitz@gmx.net>
5672 * funcrequest.C: initialize button_ member
5675 * rowpainter.[Ch]: interface consolidation
5677 2003-08-18 André Pönitz <poenitz@gmx.net>
5680 * BufferView_pimpl.C:
5682 * paragraph_funcs.C:
5684 * text3.C: remove LyXScreen::draw() and fitCursor calls
5686 * BranchList.h: remove spurious semicolons
5688 * MenuBackend.C: fix branchlist related crash
5690 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5698 * bufferparams.[Ch]:
5702 * text3.C: implements the 'branch inset'
5703 idea. This allows the output of various versions of a document
5704 from a single source version, selectively outputing or suppressing
5705 output of parts of the text.
5706 This implementation contains a 'branch list editor' in a separate
5707 tab of the document settings dialog. Branches are user definable
5708 and have a "display colour" to distinguish them on-screen.
5710 ColorHandler was somewhat cleaned up.
5711 (1) make possible a dynamically growing LColor list by allowing
5712 the graphic context cache to grow along (vector);
5713 (2) eliminate an IMHO unnecessary step in colour allocation.
5715 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5717 * BufferView_pimpl.C: compile fix
5719 2003-08-15 André Pönitz <poenitz@gmx.net>
5721 * rowpainter.C: remove extra metrics calls
5723 * lyxtext.h: merge the two constructors into a single one,
5724 pass reference to owner's par list
5726 * BufferView_pimpl.C:
5730 2003-08-15 André Pönitz <poenitz@gmx.net>
5732 * lyxrow_funcs.[Ch]:
5735 * paragraph_funcs.C:
5740 * text_funcs.C: split LyXText::rowlist_ into individual
5741 Paragraph::rows_ chunks
5744 * BufferView_pimpl.[Ch]:
5747 * text3.C: remove toggleSelection()
5749 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5751 * bufferlist.C: beautify two alerts (shorter text of buttons)
5752 * buffer.C: Remove redundant ' ' from message
5754 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5755 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5756 rename VALIGN_CENTER to VALIGN_MIDDLE
5758 2003-08-11 André Pönitz <poenitz@gmx.net>
5760 * lyxtext.h (getPar):
5761 * text.C: new function
5763 2003-08-11 André Pönitz <poenitz@gmx.net>
5766 * tracer.[Ch]: remove unneeded files
5768 * InsetList.[Ch]: remove resizeInsetsLyXText()
5773 * text3.C: merge insertParagraphs() and appendParagraph()
5774 remove breakAgain(), update()
5776 * BufferView_pimpl.[Ch]:
5777 * bufferview_funcs.[Ch]:
5781 * tabular.C: adjust after text & InsetList changes.
5783 2003-08-08 André Pönitz <poenitz@gmx.net>
5785 * text.C (insertChar, backspace): replace rowlist fiddling
5786 with rebreak of full par
5789 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5790 checkParagraph, updateInset): removed
5792 2003-08-07 André Pönitz <poenitz@gmx.net>
5795 * text3.C: merge some LFUN handlers, remove dead code
5797 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5799 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5801 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5803 * text2.C (DEPM): fix part of bug 1255 and 1256
5805 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5807 * BufferView_pimpl.C (workAreaDispatch): change to use
5808 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5809 that are no mouse related.
5811 2003-08-05 André Pönitz <poenitz@gmx.net>
5814 * BufferView_pimpl.[Ch]:
5815 * bufferview_funcs.C:
5817 * text3.C: rip out "deep update"
5819 * textcursor.[Ch] (last_sel_cursor): remove unused member
5821 2003-08-04 André Pönitz <poenitz@gmx.net>
5824 * BufferView_pimpl.[Ch]:
5825 * ParagraphParameters.C:
5826 * bufferview_funcs.C:
5832 * text3.C: replace "complicated" BufferView::update(...) calls with
5835 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5837 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5839 * Makefile.am (lyx_SOURCES): add paper.h
5841 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5843 * Makefile.am: move things around so that both lyx-qt and
5844 lyx-xforms can be built (according to --with-frontend). Then lyx
5845 is a symbolic link to lyx-[firstfrontend]
5847 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5849 * Always use std::endl with lyxerr
5851 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5853 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5855 2003-08-01 André Pönitz <poenitz@gmx.net>
5858 * BufferView_pimpl.[Ch]:
5860 * text3.C: merge BufferView::repaint() and BufferView::update()
5862 2003-08-01 José Matos <jamatos@lyx.org>
5864 * buffer.[Ch]: file_format is no longer a buffer data element.
5866 2003-08-01 André Pönitz <poenitz@gmx.net>
5871 * text2.C: make redoParagraph more independent of current cursor
5873 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5875 * text2.C: remove unneeded members
5877 2003-07-30 André Pönitz <poenitz@gmx.net>
5879 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5881 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5882 create a single function...
5884 * paragraph_funcs.C (moveItem): ... here.
5887 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5889 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5891 * LColor.[Ch]: Add comment and greyedout logical colors.
5893 2003-07-30 André Pönitz <poenitz@gmx.net>
5895 * tabular.C: don't use Assert too heavily. This crashes where it
5898 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5900 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5901 is disabled (bug 1232)
5903 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5905 * factory.C: limited 'arg' scope
5907 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5909 * factory.C: fixed Note submenu issues
5911 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5913 * factory.C: submenu for Note/Comment/Greyedout
5915 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5918 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5920 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5923 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5924 greyedout. Patch provided by Jürgen Spitzmüller.
5926 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5928 * kbmap.C (read): fix error message when reading bind files
5930 2003-07-29 Angus Leeming <leeming@lyx.org>
5932 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5933 certainly does not do what it purports to do. I am doing it, and
5934 us, a favour by killing it.
5936 2003-07-28 José Matos <jamatos@lyx.org>
5938 * buffer.C (readBody, do_writeFile):
5939 * paragraph.C(readParagraph): \end_document replaces \the_end.
5941 2003-07-29 André Pönitz <poenitz@gmx.net>
5944 * BufferView_pimpl.[Ch]:
5948 * textcursor.[Ch]: remove toggleToggle & Co
5950 2003-07-28 José Matos <jamatos@fep.up.pt>
5952 * buffer.C (readParagraph):
5953 * params_func (readParToken, readParagraph):
5954 * paragraph.C (write): \layout -> \begin_layout.
5956 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5958 * lyxlex_pimpl.C (setFile): clean up slightly.
5960 * bufferparams.h: add compressed var
5962 * buffer_funcs.C (readFile): adjust for LyXLex change
5963 (newFile): ditto + simplify
5965 * buffer.C (writeFile): handle writing of compressed files
5967 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5968 Check if the file is compressed and set a bufferparm if so.
5970 * Makefile.am (lyx_LDADD): remove explicit -lz
5972 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5974 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5975 makeDocBookFile): put the real LyX version in the first line of
5979 * version.C.in: remove lyx_docversion
5981 * tabular.C (write_attribute): add a template-based version to
5982 write enums properly
5984 2003-07-28 André Pönitz <poenitz@gmx.net>
5989 * text3.C: use doubles again for x-coordinates. They are needed.
5991 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * messages.C (getLocaleDir): use lyx_localedir()
5995 * lyxlex_pimpl.C (setFile): compress stuff
5997 * buffer.C (writeFile): add some compression stuff
5998 (do_writeFile): new func, dont call expliti close... will this
6001 * Makefile.am (lyx_LDADD): add -lz
6003 2003-07-28 José Matos <jamatos@fep.up.pt>
6005 * buffer.C: increment file format.
6006 * paragraph_funcs (readParagraph, readParToken):
6007 * paragraph.C (readParagraph): add \end_layout.
6009 2003-07-27 Angus Leeming <leeming@lyx.org>
6011 * Makefile.am: remove special casing for configure-time setting of
6012 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6014 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6015 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6017 2003-07-26 André Pönitz <poenitz@gmx.net>
6019 * paragraph_func.[Ch]:
6020 * paragraph.C (realizeFont): inline it whereever it is used
6025 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6028 2003-07-26 André Pönitz <poenitz@gmx.net>
6032 * text2.C: get rid of LyXText::need_break_row
6034 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * toc.[Ch]: put namespace toc inside namespace lyx
6038 * MenuBackend.C (expandToc2): adjust for lyx::toc
6041 * lyxfunc.C (dispatch): adjust for lyx::find
6043 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6044 lyx::find instead. Reorganize a bit.
6045 (LyXReplace): rename to replace
6046 (LyXFind): rename to find
6048 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6051 2003-07-26 André Pönitz <poenitz@gmx.net>
6053 * text.C (setHeightOfRow): restrict scope of temporary variable
6055 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6056 code (never has been used?)
6058 2003-07-27 Asger Alstrup <alstrup@local>
6060 * text.C (fill): Optimise algorithm to exploit that we can reuse
6061 the LyXFont for many characters.
6062 (setHeightOfRow): Same thing.
6063 (rowBreakPoint): Same thing.
6065 2003-07-26 Asger Alstrup <alstrup@local>
6067 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6069 * text.C (singleWidth): Spurious font copying in hot-spot
6070 singleWidth avoided. Reorder tests for arabic for efficiency.
6072 * text.C (fill): handle empty paragraphs better.
6074 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6077 * encoding.h: add includes
6079 * lyxrc.C: remove reading of bind files
6081 * lyx_main.C (init): setup bindings and menus only if we have a
6084 * kbmap.C (read): new method. Do the actual reading of bind
6087 * converter.C (dvipdfm_options):
6090 (output): adapt PAPER_* enums.
6092 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6094 * bufferparams.h: remove paper-related enums from there
6096 * paper.h: New file. A trivial header file to hold paper-related
6097 enums. It should later expand to contain many paper-related
6100 * lyxrc.C: declare extern displayTranslator
6102 2003-07-27 José Matos <jamatos@fep.up.pt>
6104 * tabular.[Ch] (linuxdoc): add support for tables and figures
6107 2003-07-27 José Matos <jamatos@fep.up.pt>
6109 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6110 consistency in both functions.
6111 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6113 2003-07-26 Asger Alstrup <alstrup@local>
6115 * rowpainter.C (paintRows): Change algorithm to work directly on
6116 the insets rather than asking every character in the document
6117 whether its an inset.
6119 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6121 * buffer.C (openFileWrite): factorize some code
6123 2003-07-26 Angus Leeming <leeming@lyx.org>
6126 * lyx_main.[Ch]: replace occurances of system_tempdir with
6129 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * rename Inset to InsetOld
6133 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6135 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6136 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6137 which I think is a bit clearer. EDIT is gone, since it was
6138 premature optimisation, and broken for mathed anyway.
6139 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6140 with cursor positioning in insets as well (math insets still do not
6141 work, but that's a different story anyway.) It mysteriously
6142 crashes sometimes with undo in the first paragraph, but I'm fairly
6143 confident that this is a compiler bug.
6145 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * paragraph.C (Paragraph): adjust for new clone return type
6149 (copyIntoMinibuffer): ditto
6151 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6153 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6154 by not having a special case, and always doing a full rebreak of
6155 the document after undo.
6157 2003-07-23 Angus Leeming <leeming@lyx.org>
6159 * factory.C (createInset): InsetExternal::setParams now takes a
6162 2003-07-23 Angus Leeming <leeming@lyx.org>
6164 * factory.C (createInset): changed interface to the external and
6165 graphics mailers' string2params functions.
6167 2003-07-23 Angus Leeming <leeming@lyx.org>
6169 * factory.C (createInset): pass a
6170 Buffer const * parameter to InsetExternalMailer's string2params.
6172 2003-07-22 John Levon <levon@movementarian.org>
6174 * Thesaurus.h: include the right aiksaurus header
6176 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6178 * MenuBackend.C (expand): check menu shortcuts unconditionally
6180 2003-07-21 Angus Leeming <leeming@lyx.org>
6182 * factory.C (createInset): pass a
6183 buffer_path parameter to InsetGraphicsMailer's string2params.
6185 2003-07-21 Angus Leeming <leeming@lyx.org>
6187 * BufferView_pimpl.C (buffer):
6190 * lyxfunc.C (dispatch):
6191 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6192 rather than the grfx shortcut.
6194 2003-07-21 André Pönitz <poenitz@gmx.net>
6196 * rowpainter.C: remove unused variables
6199 * tabular_funcs.h: move to tabular.C
6200 * Makefile.am: adjust
6202 * tabular.[Ch]: basic optical cleaning
6204 * author.h: pass references, not values
6206 2003-07-18 André Pönitz <poenitz@gmx.net>
6214 * text3.C: two-phase drawing for InsetText and InsetTabular
6215 some float -> int changes.
6217 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6219 * lyx_main.C: fix the fix
6221 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6223 * lyx_main.C: fix a crash in batch mode if no files specified
6226 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6228 * format.[Ch] (papersize): moved to BufferParams
6229 * converter.[Ch] (dvips_options): moved to BufferParams
6230 (dvipdfm_options): moved to anon namespace
6231 * bufferparams.[Ch]: added above functions.
6233 2003-07-17 André Pönitz <poenitz@gmx.net>
6237 * text2.C: don't call inset->update() anymore
6239 * metricsinfo.[Ch]: add convenience constructor
6241 2003-07-16 André Pönitz <poenitz@gmx.net>
6246 * text2.C: replace the LyXCursor::irow_ member with
6247 on-demand computation of the value
6249 2003-07-16 John Levon <levon@movementarian.org>
6251 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6253 2003-07-15 André Pönitz <poenitz@gmx.net>
6256 * text2.C: remove no more needed refresh_row
6258 2003-07-15 André Pönitz <poenitz@gmx.net>
6263 * text3.C: refresh_status tristate -> need_update bool
6265 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6267 * lyxtext.h (init): remove reinit argument (act as if always true)
6268 * text2.C: adjust to that
6270 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6272 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6273 * text3.C: use it to delete selections in some cases
6274 (bugs 441, 673, 702, 954).
6276 2003-07-14 André Pönitz <poenitz@gmx.net>
6278 * rowpainter.[Ch]: reduce interface
6280 2003-07-14 André Pönitz <poenitz@gmx.net>
6282 * BufferView_pimpl.C:
6283 * text2.C: adjust after removing unused BufferView * argument
6285 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6287 * text2.C (init): fix a crash fired on resize
6289 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6291 * buffer.[Ch]: added new closing signal
6292 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6293 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6294 BufferView::Pimpl via the closing the signal
6296 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6298 * buffer.[Ch]: take out all bv-related from buffer
6300 * BufferView_pimpl.[Ch]: connect to new signals
6301 * CutAndPaste.C: removed useless asserts
6302 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6305 * lyxfunc.C: moved view-related funciontality from vc here
6306 * paragraph.C: removed outdated comments
6309 2003-07-10 André Pönitz <poenitz@gmx.net>
6311 * BufferView_pimpl.C:
6315 * text2.C: remove InsetText::InnerCache, clean up consequences
6317 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6319 * ispell.C: fix two typos in error messages
6321 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6323 * Extend Note inset to other forms of annotation like Comment
6324 and Greyedout. Right button click gives dialog.
6326 Files modified or added (+):
6330 * ControlNote.[Ch] +
6332 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6333 frontends/controllers
6337 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6339 * aspell.C: add missing namespace lyx::support
6341 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6343 * BufferView.[Ch] (newFile): Add
6344 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6345 * LaTeX.[Ch] (message): added this signal and use it
6346 * buffer.[Ch] (busy, message): added these signals and use them
6347 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6351 * importer.C: use buffer signals instead of direct bv calling
6352 * lyx_cb.[Ch] (ShowMessage): removed
6355 * paragraph_funcs.C:
6356 * text2.C: use buffer signals
6358 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6360 * introduce namespace lyx::graphics
6362 2003-07-02 André Pönitz <poenitz@gmx.net>
6364 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6366 2003-07-01 André Pönitz <poenitz@gmx.net>
6373 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6374 text*.C to text_func.C
6376 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * introduce namespace lyx::support
6380 2003-06-30 André Pönitz <poenitz@gmx.net>
6385 * text.C: re-enable --with-included-string
6387 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * textcursor.C: add <config.h>
6391 * text.C (getWord): remove const from word_location arg
6393 * lyxvc.C (getLogFile): fix const type order
6395 * lyxtext.h: remove const from word_location arg, add arg name
6397 * lyxlayout.h: currect type on labeltype.
6399 * importer.C: correct \file
6401 * converter.C (intToFormat): use std:: on ret val, ws changes
6403 * bufferlist.h: correct \file
6405 * buffer.C (makeLinuxDocFile): fix const type order
6406 (makeDocBookFile): ditto
6407 (fillWithBibKeys): use std:: on stdlib args.
6409 * CutAndPaste.C: fix authors.
6410 (availableSelections): use std:: on return vector
6412 2003-06-27 André Pönitz <poenitz@gmx.net>
6414 * BufferView_pimpl.C:
6415 * bufferview_funcs.C:
6423 * text3.C: remove LyXCursor::row_ member
6426 * text.C: rename fullRebreak() to partialRebreak() and implement
6427 a fullRebreak() that really bereks fully
6429 * textcursor.h: new struct for cursor-related data
6431 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6433 * lyx_main.C (LyX): get full path of document loaded on the
6436 2003-06-26 André Pönitz <poenitz@gmx.net>
6438 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6439 remove unused/broken operator>,<,>=.
6441 * text.C: remove only use of broken operator<= in an Assert().
6443 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6445 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6446 moved errorlist_.clear to showErrorList
6448 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6450 * converter.C (scanLog, runLaTeX):
6451 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6452 move the bv->showErrorList call to the callers
6453 * lyxfunc.C: i.e. here...
6455 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6456 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6457 namespace, the second to...
6458 * buffer_funcs (BufferFormat, parseErrors): added
6459 * errorlist.C (ErrorList(TeXErrors const &)): removed
6461 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6463 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6465 2003-06-24 "Garst R. Reese" <reese@isn.net>
6469 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6471 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6473 * version.C.in: change docversion to 1.4
6475 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6477 * buffer.C: fix a bug just introduced
6479 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6481 * buffer.[Ch]: added the parseError signal and use it, removed
6483 * BufferView.[Ch] (addError): moved to ...
6484 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6485 to the Buffer::parseError signal to catch (guess what) parse errors
6486 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6488 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6490 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6491 ability to create a buffer and to return an existing one from
6492 the list. Moved these functions to...
6493 * buffer_funcs.[Ch]: added
6494 * BufferView.[Ch] (loadLyXFile): added
6495 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6496 job removed from bufferlist::loadLyXFile.
6497 * buffer.C (setReadOnly): make it work without view
6498 (i.e added an if (users))
6500 2003-06-19 Angus Leeming <leeming@lyx.org>
6503 * LyXAction.C (init):
6504 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6505 with LFUN_DIALOG_SHOW <name> <data>.
6507 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6509 * CutAndPaste.C (availableSelections): small compilation fix for
6510 ancient (gcc 2.9x) compilers
6512 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * text3.C (cursorNext): add tmp var
6516 * text2.C (updateCounters): for function calling out of for clause
6517 (replaceSelectionWithString): ditto
6518 (insertStringAsParagraphs): ditto
6519 (getColumnNearX): add tmp var
6520 (setCursorFromCoordinates): add tmp var
6521 (cursorDownParagraph): add tmp var
6522 (deleteEmptyParagraphMechanism): add tmp var
6524 * text.C (insertChar): add tmp var
6526 * rowpainter.C (paintDepthBar): add tmp var
6528 * CutAndPaste.C (availableSelections): potentially check all
6529 paragraphs in a cut to fill the shown strings.
6531 2003-06-18 André Pönitz <poenitz@gmx.net>
6533 * kbmap.[Ch]: use vector<> instead of list<>
6535 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6537 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6538 pasteSelection with index
6540 * text2.C (pasteSelection): modify, call pasteSelection with index
6542 * paragraph.C (asString): reimplement version with no interval to
6543 call the one with interval.
6545 * lyxtext.h: add index arg to pasteSelection
6547 * MenuBackend.C (MenuItem): handle PasteRecent
6548 (Menu::read::Menutags): add md_pasterecent
6550 (expandPasteRecent): new function
6553 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6555 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6557 (availableSelections): new function
6559 2003-06-17 Angus Leeming <leeming@lyx.org>
6561 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6563 2003-06-17 Angus Leeming <leeming@lyx.org>
6566 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6568 * lyxfunc.C (dispatch): invoke it.
6570 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6572 * iterators.C (operator++, ParPosition): reintroduce some
6573 const_cast for the benefit of older compilers.
6575 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6577 * text3.C (dispatch): do not modify clipboard when doing
6578 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6579 LFUN_DELETE_SKIP on a selection selection
6581 2003-06-16 André Pönitz <poenitz@gmx.net>
6587 * tabular.[Ch]: IU of clone() and getLabelList();
6589 2003-06-13 André Pönitz <poenitz@gmx.net>
6591 * tabular.h: compactification
6593 2003-06-12 André Pönitz <poenitz@gmx.net>
6597 * tabular_funcs.h: some renaming plus whitespace
6599 2003-06-12 André Pönitz <poenitz@gmx.net>
6602 * BufferView_pimpl.C:
6608 * toc.C: Return a Paragraph & for ParIterator::operator*()
6610 2003-06-11 John Levon <levon@movementarian.org>
6614 * ToolbarBackend.C: add "Toolbars" section and
6617 2003-06-10 Angus Leeming <leeming@lyx.org>
6620 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6622 * lyxfunc.C (dispatch): invoke it.
6624 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * main.C: protect <ios> with HAVE_IOS
6627 (main): protect sync_with_stdio with HAVE_IOS
6629 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6631 * text2.C (cutSelection): adjust
6632 (pasteSelection): adjust
6634 * messages.C: handle get of empty string
6636 * main.C (main): use sync_with_stdio(false)
6638 * lyxfunc.C (dispatch): adjust
6640 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6641 (WriteAs): remove unneeded BufferView arg.
6643 * bufferparams.h: use correct types on papersize, papersize2 and
6646 * bufferparams.C (readToken): adjust for type
6647 (writeLaTeX): add missing cases to switch.
6649 * bufferlist.C (quitWriteBuffer): adjust
6652 * buffer.C (asciiParagraph): remove some commented code.
6654 * CutAndPaste.C: remove current_view extern variable.
6655 (cutSelection): add BufferParams arg.
6656 (eraseSelection): add BufferParams arg.
6657 (pasteSelection): add Buffer const & arg
6659 2003-06-07 John Levon <levon@movementarian.org>
6662 * paragraph_funcs.C:
6663 * paragraph_pimpl.C:
6667 * paragraph.C: allow InsetERT to freely space lines,
6668 and some consolidation of code
6670 2003-06-06 José Matos <jamatos@fep.up.pt>
6672 * buffer.C (makeDocBookFile): fix bug #821
6674 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6676 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6678 2003-06-04 Angus Leeming <leeming@lyx.org>
6680 * buffer.C: bump format to 224.
6682 2003-06-05 André Pönitz <poenitz@gmx.net>
6684 * text2.C (redoParagraphs): remove two const_cast<>
6686 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6688 * ParagraphList.h: remove last remnants of NO_STD_LIST
6690 2003-06-03 Angus Leeming <leeming@lyx.org>
6692 * factory.C (createInset): small change to the way InsetExternal's params
6695 2003-06-04 André Pönitz <poenitz@gmx.net>
6697 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6699 * paragraph_pimpl.h:
6700 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6702 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6704 * undo_funcs.C: make some simple cases of undo work again
6706 2003-06-03 John Levon <levon@movementarian.org>
6708 * ispell.C: HPUX doesn't have sys/select.h
6711 2003-06-03 John Levon <levon@movementarian.org>
6713 * CutAndPaste.C: update tabular and include inset
6718 * paragraph.C: remove owningBuffer(), don't pass Buffer
6721 * factory.C: insetGraphicsParams changed
6723 2003-06-02 John Levon <levon@movementarian.org>
6729 * text3.C: remove insetparent
6731 2003-06-02 John Levon <levon@movementarian.org>
6734 * buffer.C: fix inset_iterator.end(), move out of line
6737 2003-06-01 John Levon <levon@movementarian.org>
6739 * text3.C: use a proper cut/paste when doing inset
6740 insert (from Jürgen Spitzmüller)
6742 2003-06-01 John Levon <levon@movementarian.org>
6744 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6746 2003-05-30 André Pönitz <poenitz@gmx.net>
6748 * rowpainter.C: unify second drawing phase
6750 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * trans_mgr.C: remove one case of current_view
6754 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6756 * paragraph_funcs.h: remove paragraph.h include
6758 * paragraph.h: delete NO_STD_LIST stuff
6760 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6762 * buffer.h: remove paragraph.h include
6764 * ParagraphList.C: delete file
6766 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6768 * toc.C (getTocList): adjust
6770 * paragraph_pimpl.C (validate): adjust
6772 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6774 * paragraph.C (Paragraph): adjust
6775 (getPositionOfInset): use const_iterator, adjust
6776 (bibitem): use const_iterator, adjust
6777 (setInsetOwner): adjust
6779 * iterators.C (operator++): adjust
6781 * InsetList.[Ch]: Replace selfmade iterator with standard
6782 vector::iterator also introduce const_iterator. Remove getPos,
6783 getInset and setInset from InsetTable. Adjust accordingly.
6785 * BufferView.C (lockInset): adjust
6786 (ChangeInsets): adjust
6788 * tabular.[Ch]: delete commented same_id functions
6790 2003-05-28 John Levon <levon@movementarian.org>
6792 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6794 2003-05-28 André Pönitz <poenitz@gmx.net>
6796 * metricsinfo.[Ch]: remove 'fullredraw' member
6798 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6800 * lyxtextclass.C (operator): remove caching.
6802 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * text2.C (cursorBottom): adjust
6807 (setCounter): use ParagraphList::find, adjust
6809 * text.C (workWidth): use ParagraphList::find, adjust
6811 * lyxcursor.C (LyXCursor): adjust
6813 * buffer.C (inset_iterator): adjust
6815 * ParagraphList.h: make iterator(value_type) private, make
6816 ParagraphList a friend of iterator.
6818 * ParagraphList.C (find): new function
6820 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6822 2003-05-27 André Pönitz <poenitz@gmx.net>
6824 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6826 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6828 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6830 2003-05-26 John Levon <levon@movementarian.org>
6832 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6834 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * remove same_id from function signatures, adjust.
6838 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6842 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6844 * paragraph.C (Paragraph): get rid of same_ids parameter
6846 * ParagraphList.C (insert): adjust
6849 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * paragraph_funcs.C (breakParagraph): adjust
6852 (breakParagraphConservative): adjust
6854 * buffer.C (readParagraph): adjust
6856 * ParagraphList.C (insert): take a reference instead of a pointer
6859 * paragraph.[Ch] (id): new function
6861 * bufferlist.C (newFile): adjust
6863 * ParagraphList.C (ParagraphList): adjust
6865 (push_back): take a reference instead of a pointer.
6867 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6869 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6872 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6873 set else use old code.
6875 * ParagraphList.C: remove all NO_NEXT code and only compile this
6876 code of NO_STD_LIST is set.
6878 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6880 * BufferView_pimpl.C:
6890 * graphics/GraphicsConverter.C:
6891 * graphics/PreviewLoader.C: header adjustment
6893 2003-05-23 Angus Leeming <leeming@lyx.org>
6895 * LaTeXFeatures.[Ch] (useBabel): new method.
6896 * bufferparams.C (writeLaTeX): use it.
6898 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6900 * ParagraphList.h (set): remove unused function.
6902 2003-05-23 André Pönitz <poenitz@gmx.net>
6905 * BufferView_pimpl.C:
6909 * undo_funcs.C: setUndo reworked
6911 * iterators.[Ch]: add access to topmost ParagraphList
6913 * lyxtext.[Ch] (workWidth): add a const
6915 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6917 * texrow.[Ch] (increasePos): remove function
6918 * exporter.C (export): removed unused var and outdated comment
6920 2003-05-23 Angus Leeming <leeming@lyx.org>
6922 * latexrunparams.h: rename fragile as moving_arg.
6923 * paragraph.C (simpleTeXOnePar): ditto.
6924 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6926 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6928 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6930 (textUndoOrRedo): comment out a currently unused var.
6932 * paragraph.h (NO_NEXT): enable NO_NEXT
6934 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6936 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6938 * exporter.C (Export): adjust for removeAutoInsets removal.
6940 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6942 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6944 * BufferView.[Ch] (removeAutoInsets): delete function
6946 2003-05-22 Angus Leeming <leeming@lyx.org>
6948 * latexrunparams.h: add a free_spacing variable.
6950 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6951 to pass moving_arg, as the data is stored in runparams.fragile.
6953 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6954 to Inset::latexOptional or to simpleTeXOnePar.
6956 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6957 free_spacing arg to Inset::latexOptional.
6959 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6962 2003-05-22 Angus Leeming <leeming@lyx.org>
6964 * latexrunparams.h: add fragile and use_babel variables.
6966 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6967 * buffer.C (makeLaTeXFile): store this returned value in
6968 runparams.use_babel, thus passing it to the inset::latex methods.
6970 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6971 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6973 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6974 longer has a fragile arg, as it is stored in runparams.fragile.
6976 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6977 moving_arg parameter as the data is stored in runparams.fragile.
6979 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6980 a fragile parameter as the data is stored in runparams.fragile.
6982 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6984 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6986 2003-05-22 Angus Leeming <leeming@lyx.org>
6988 * latexrunparams.h: add a 'bool nice' which defaults to false.
6990 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6991 now encapsulated within runparams.
6993 * bufferlist.C (updateIncludedTeXfiles):
6994 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6996 2003-05-22 Angus Leeming <leeming@lyx.org>
6998 * latexrunparams.h: new file containing struct LatexRunParams.
6999 * Makefile.am: add new file.
7001 * LaTeX.[Ch] (c-tor, run):
7002 * buffer.[Ch] (makeLaTeXFile):
7003 * bufferlist.[Ch] (updateIncludedTeXfiles):
7004 * converter.C (convert, scanLog):
7005 * converter.[Ch] (runLaTeX):
7006 * exporter.C (Export):
7007 * paragraph.[Ch] (simpleTeXOnePar):
7008 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7009 * paragraph_funcs.[Ch] (latexParagraphs):
7010 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7011 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7012 pass around a LatexRunParams parameter.
7014 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7016 * paragraph.[Ch]: remove unused constructor
7018 * ParagraphList.C (erase): new function, taking two iterators
7020 2003-05-22 André Pönitz <poenitz@gmx.net>
7022 * undo_funcs.C: remove duplicated code
7024 * iterator.[Ch]: operator=
7026 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7028 * tabular.C (SetMultiColumn): ws changes
7030 * rowpainter.C (paintFirst): get rid of a ->previous
7032 * lyx_cb.C (getPossibleLabel): parlist simplification
7034 * BufferView.C (ChangeInsets): simplify slightly.
7036 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7038 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7039 * lfuns.h: new LFUN_SPACE
7040 * lyxfunc.C: protected space has a new lfun
7041 * paragraph_funcs.C: read new space insets
7043 * factory.C: handle new space insets
7045 2003-05-22 André Pönitz <poenitz@gmx.net>
7048 * BufferView_pimpl.C:
7051 * undo_funcs.C: return a ParIterator from getParFromID.
7053 * iterators.[Ch]: add two const's
7055 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * toc.C (getTocList): adjust
7059 * iterators.[Ch]: rework for parlist
7061 * buffer.C (par_iterator_begin): adjust
7062 (par_iterator_end): adjust
7064 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7066 * BufferView.C (removeAutoInsets): adjust
7067 (ChangeInsets): adjust
7069 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7071 * text.C (top_y): fix bug 1110
7073 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7075 * errorlist.[Ch]: added
7078 * BufferView_pimpl.C:
7079 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7082 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * Makefile.am: ensure that lyx is relinked upon changes to the
7085 various "convenience" libs.
7087 2003-05-20 Angus Leeming <leeming@lyx.org>
7089 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7090 files are compiled in alphabetical order again.
7092 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7094 2003-05-19 Angus Leeming <leeming@lyx.org>
7096 * gettext.[Ch]: remove "char const * _(char const *)".
7098 2003-05-19 André Pönitz <poenitz@gmx.net>
7100 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7109 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7111 2003-05-19 André Pönitz <poenitz@gmx.net>
7115 * lyxtextclass.[Ch]:
7117 * paragraph_funcs.[Ch]:
7119 * text3.C: more insetenv work
7121 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7123 * ParagraphParameters.C (params2string): small bug fixed
7125 2003-05-16 André Pönitz <poenitz@gmx.net>
7128 * bufferview_funcs.C: patch from Kornel Benko to prevent
7129 crash when _(...) is called twice in a statement
7131 2003-05-16 André Pönitz <poenitz@gmx.net>
7138 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7140 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7142 * lyx_main.C (init): remove spurious static_cast
7144 2003-05-14 André Pönitz <poenitz@gmx.net>
7146 * BufferView.C: fix format string
7148 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7150 * BufferView.[Ch] (insertErrors): removed
7151 * BufferView.[Ch] (showErrorList): added
7152 * buffer.C (runChkTeX):
7153 * converter.C (scanLog): call showErrorList instead of inserterrors
7155 2003-05-13 André Pönitz <poenitz@gmx.net>
7157 * BufferView_pimpl.C:
7159 * bufferview_func.C:
7166 * tabular_funcs.h: tostr() from its own header
7168 * ParagraphParameters.C:
7173 * text3.C: STRCONV()
7175 2003-05-12 André Pönitz <poenitz@gmx.net>
7178 * BufferView_pimpl.C:
7182 * ParagraphParameters.C:
7186 * bufferview_funcs.C:
7199 * paragraph_funcs.C:
7203 * text3.C: boost::format -> bformat all over the place
7206 2003-05-09 André Pönitz <poenitz@gmx.net>
7208 * LColor.[Ch]: Pimpl the #include <map> away
7210 2003-05-09 John Levon <levon@movementarian.org>
7212 * bufferlist.C: never remove emergency saves
7214 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * Makefile.am: better lib building
7218 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7222 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7223 (simpleTeXSpecialChars): adjust
7224 (simpleTeXSpecialChars): adjust
7225 * paragraph.C (simpleTeXOnePar): adjust
7226 * buffer.C (makeLaTeXFile): adjust
7228 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7230 * text2.C (changeDepth): parlist cleanup
7231 (getColumnNearX): ditto
7233 * rowpainter.C (getLabelFont): parlist cleanup
7235 * bufferlist.C (newFile): parlist cleanup
7237 * CutAndPaste.C (eraseSelection): parlist cleanup
7239 * BufferView_pimpl.C (trackChanges): parlist cleanup
7242 * BufferView.C (lockInset): parlist cleanup.
7243 (ChangeInsets): ditto
7245 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * CutAndPaste.h: Update file header.
7249 * CutAndPaste.C: Update file header.
7250 Store the parts cut out of the Document in a limited_stack.
7251 (copySelection): adjust
7252 (pasteSelection): new function, takes the index in the limited stack.
7253 (nrOfParagraphs): adjust
7254 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7255 simplify error inset insertion.
7256 (checkPastePossible): adjust
7258 2003-05-06 John Levon <levon@movementarian.org>
7260 * text2.C: don't cast wrap inset to float
7262 2003-05-05 André Pönitz <poenitz@gmx.net>
7265 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7267 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7268 few naked Paragraph *.
7270 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7272 * bufferparams.C: Output warning if a document with missing
7273 TeX document class is loaded
7274 * exporter.C: Disable TeX exports if the document class is missing
7277 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7278 isTeXClassAvailable()
7280 2003-05-03 John Levon <levon@movementarian.org>
7283 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7284 explicit cursor show/hide
7286 * BufferView_pimpl.h:
7287 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7288 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7290 * lyxfunc.C: hide cursor before dispatching.
7295 * text3.C: remove explicit cursor hides
7297 2003-05-02 André Pönitz <poenitz@gmx.net>
7299 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7302 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7305 * text2.C: tiny whitespace
7307 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7309 * undo_funcs.C: almost only ws changes.
7311 * ParagraphList.C (splice): just return if pl is empty.
7313 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * ParagraphList.C (splice): new function.
7317 * CutAndPaste.C (pasteSelection): use it
7319 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * CutAndPaste.C (pasteSelection): remove the last next and
7322 previous from this file.
7324 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7326 * CutAndPaste.C (pasteSelection): more clean up, user proper
7327 ParagraphList functions for pasteing.
7329 * ParagraphList.C (insert): new function, three arg insert
7331 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * ParagraphList.C (insert): new function, three arg insert
7335 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7338 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7340 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7342 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7344 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7346 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7349 (copySelection): clean up a bit.
7350 (pasteSelection): use make_pair
7352 * ParagraphList.C (ParagraphList): implement copy constructor
7353 (operator=): implement, base on copy constructor.
7356 * paragraph.C (erase): return a bool
7358 * paragraph_pimpl.C (erasePos): remove function, move contents...
7359 (erase): ... here. Return a bool.
7360 (erase): call erase instead of erasePos.
7362 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7364 * ParagraphList.h: define PitPosPair
7365 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7366 ParagraphList, fix a bug on pasting multiple pars
7367 * text2.C: change interface to C&P
7369 2003-04-30 André Pönitz <poenitz@gmx.net>
7371 * undo_func.C: revert part of yesterday's patch 2
7373 2003-04-30 John Levon <levon@movementarian.org>
7375 * LColor.C: s/tabular/table/
7377 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7379 * text3.C (dispatch): do not convert iterator -> pointer
7380 * undo_funcs.C (setCursorParUndo): ditto
7381 * text_funcs.C (transposeChars): ditto
7383 * text2.C (setLayout): ws changes only
7385 * text.C (breakParagraph): do not convert iterator -> pointer
7387 (acceptChange): ditto
7388 (rejectChange): ditto
7393 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7396 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7398 * text3.C (gotoInset): YABG (yet another bad getChar)
7400 2003-04-29 André Pönitz <poenitz@gmx.net>
7402 * paragraph.h: make operator= private unimplemented as long as
7405 * ParagraphList.C: whitespace
7408 * paragraph_pimpl.[Ch]:
7409 * paragraph_funcs.C:
7411 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7414 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7416 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7418 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7419 * paragraph.[Ch] (erase):
7420 * paragraph_pimpl.[Ch] (erase): change return type and value
7421 * text2.C (cutSelection): some rework
7423 2003-04-28 John Levon <levon@movementarian.org>
7425 * bufferlist.C: changes for unsaved changes dialog
7427 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * bufferlist.C (newFile): set language (messages_) for new
7432 * buffer.C (readFile): ws changes only.
7434 2003-04-28 André Pönitz <poenitz@gmx.net>
7439 * BufferView_pimpl.C:
7440 * BufferView.C: getParFromID related ParagraphList::iterator changes
7442 2003-04-28 André Pönitz <poenitz@gmx.net>
7444 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7447 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7449 * messages.C: remove one more localedir class variable.
7451 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7453 * messages.C (getLocaleDir): singleton generation function
7455 (Messages): add a default constructor.
7457 * main.C (main): do not setup localedir here, do not call
7460 * gettext.C (_): use it.
7461 (gettext_init): delete funciton
7463 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * gettext.C (getLyXMessages): new singleton generating function.
7467 * buffer.C (updateDocLang): adjust
7469 * Makefile.am (messages.o): add target
7470 (main.o): remove target
7472 2003-04-27 John Levon <levon@movementarian.org>
7477 * lyxvc.C: specify cancel button in Alert::prompt
7479 2003-04-26 John Levon <levon@movementarian.org>
7484 * LyXAction.C: add LFUN_INSET_SETTINGS
7486 * lyxfunc.C: don't enable tabular-feature when there's
7487 just any locking inset
7489 2003-04-26 John Levon <levon@movementarian.org>
7491 * bufferlist.C: re-add Cancel to buffer close question
7493 * lyxfunc.C: fix import UI a bit
7495 2003-04-25 John Levon <levon@movementarian.org>
7497 * gettext.C: remove the broken asserts for now
7499 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * messages.C: make case where setlocale cannot comply work better.
7503 * buffer.C (updateDocLang): new function
7504 (changeLanguage): use it
7507 * text2.C (setCounter): use B_ a bit.
7509 * lyxlayout.C (Read): be sure to trim the label strings.
7511 * messages.C (Messages): fix typo in comment
7513 * buffer.C (readFile): set message_ after file is loaded.
7514 (makeDocBookFile): remove double return
7515 (changeLanguage): reset message_ upon language change.
7516 (B_): new func, use this to get translated buffer strings.
7518 * main.C: add myself and Jean Marc as authors.
7520 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * messages.[hC]: pimplify Messages, and three different pimpls to be
7523 used in different circumstances.
7525 * gettext.[Ch]: change for use with new message code.
7527 2003-04-24 André Pönitz <poenitz@gmx.net>
7529 * factory.C: support for eqref
7531 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * messages.[Ch]: add missing char
7535 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7537 * messages.[Ch]: New files
7539 2003-04-18 John Levon <levon@movementarian.org>
7543 * BufferView_pimpl.C:
7547 * text2.C: remove layout-copy/paste (bug 778)
7549 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7551 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7553 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7555 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7556 if they succeed. Act accordingly.
7558 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7560 * text2.C (setCharFont): adjust
7561 (setCounter): adjust
7562 (insertStringAsLines): adjust
7564 * text.C (leftMargin): adjust
7565 (setHeightOfRow): adjust
7567 * rowpainter.C (paintFirst): adjust
7570 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7572 (isFirstInSequence): ditto
7573 (getEndLabel): ditto
7576 * paragraph.C (getParLanguage): comment out some hard stuff.
7578 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7580 (simpleDocBookOnePar): ditto
7581 (makeDocBookFile): use ParagraphList::iterator
7583 * CutAndPaste.C (pasteSelection): adjust
7585 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * text2.C (getFont): adjust
7588 (getLayoutFont): adjust
7589 (getLabelFont): adjust
7591 * paragraph_funcs.C (TeXOnePar): adjust
7593 * buffer.C (simpleLinuxDocOnePar): adjust
7594 (simpleDocBookOnePar): adjust
7596 * CutAndPaste.C (pasteSelection): adjust
7598 * BufferView.C (getEncoding): adjust
7600 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7602 2003-04-16 John Levon <levon@movementarian.org>
7604 * lyxfind.C: use parlist stuff for search/changes
7606 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7610 * text2.C (deleteEmptyParagraphMechanism): adjust
7612 * text2.[Ch] (ownerParagraph): delete func (both of them
7614 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7618 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * ParagraphList.C: prepare for NO_NEXT
7622 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7624 * text2.C (getFont): adjust
7625 (getLayoutFont): adjust
7626 (getLabelFont): adjust
7628 * paragraph.C (getFont): adjust
7629 (getLabelFont): adjust
7630 (getLayoutFont): adjust
7632 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7634 2003-04-15 John Levon <levon@movementarian.org>
7638 * lyx_main.C: handle Include in .ui files
7640 2003-04-15 John Levon <levon@movementarian.org>
7642 * MenuBackend.C: make the doc files length shorter
7645 * ToolbarBackend.C: handle toolbar placement flags,
7648 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7653 * paragraph_funcs.C (TeXOnePar): adjust
7655 * paragraph.C (getLabelFont): add outerfont arg, adjust
7656 (getLayoutFont): ditto
7657 (simpleTeXOnePar): adjust
7659 * paragraph_pimpl.C (realizeFont): delete func
7661 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7663 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7664 row argument, constify cur argument.
7666 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * text2.C (getFont): adjust
7669 (getLayoutFont): adjust
7670 (getLabelFont): adjust
7672 * paragraph_funcs.C (TeXOnePar): adjust
7673 (outerFont): new func...
7674 (realizeFont): ...moved out from here, changed this to facilitate
7677 * paragraph.C (getFont): take outerfont as arg, adjust
7678 (simpleTeXOnePar): add outerfont arg, adjust
7680 * buffer.C (simpleLinuxDocOnePar): adjust
7681 (simpleDocBookOnePar): adjust
7683 * CutAndPaste.C (pasteSelection): adjust
7685 * BufferView.C (getEncoding): adjust
7687 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7689 * text2.C (setCharFont): adjust
7690 (setCounter): adjust
7692 * text.C (leftMargin): adjust
7693 (setHeightOfRow): adjust
7695 * rowpainter.C (paintFirst): adjust
7698 * paragraph_pimpl.C (realizeFont): adjust
7700 * paragraph.C (isFirstInSequence): move from here...
7701 * paragraph_funcs.C (isFirstInSequence): ...to here
7703 * paragraph.C (outerHook): move from here...
7704 * paragraph_funcs.C (outerHook): ...to here
7706 * paragraph.C (depthHook): move from here...
7707 * paragraph_funcs.C (depthHook): ...to here
7709 * paragraph.C (getEndLabel): move from here...
7710 * paragraph_funcs.C (getEndLabel): ...to here
7712 * text2.C (realizeFont): move from here...
7713 * paragraph_funcs.C (realizeFont): ...to here
7715 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7719 2003-04-14 Angus Leeming <leeming@lyx.org>
7721 * LColor.[Ch]: scrap LColor mathcursor.
7723 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * lyxlex.[Ch] (text): delete function
7726 * trans.C (Load): adjust
7727 * paragraph_funcs.C (readParToken): adjust
7729 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7732 vector<char> instead of a char[].
7734 * lyxlex_pimpl.C (getString): adjust
7736 (lex): use getString
7740 * lyxlex.C (text): use pimpl_->getString()
7744 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7747 (makeFontEntriesLayoutSpecific): temp var for par.size()
7748 (setLayout): temp var for ownerParagraphs().end()
7749 (fullRebreak): temp var for rows().end()
7750 (selectionAsString): temp var for boost::next(startpit), realize
7751 that the while really is a regular for loop.
7752 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7753 setCursor in one place.
7754 (setParagraph): temp vr for ownerParagraphs().end()
7755 (updateCounters): make the while loop a for loop
7756 (cutSelection): temp var for ownerParagraphs().end()
7757 (updateInset): make the do {} while() a regular for loop
7758 (getCursorX): use temp vars
7759 (setCurrentFont): use temp vars
7760 (getColumnNearX): use temp vars
7762 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * text.C (transformChar): use temp var for getChar
7765 (computeBidiTables): use temp var for row->par()
7766 (fill): move temp vars for row->par() and pit->layout() earlier in
7768 (labelFill): use temp var for row->par()
7769 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7770 asc and desc, realize that pit never changes and that firstpit is
7771 just a duplicate and not needed. Exchange rit->par() with pit in a
7773 (breakAgain): use a temp var for boost::next(rit)
7774 (breakAgainOneRow): ditto
7775 (breakParagraph): use a temp var for rows().begin()
7776 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7777 (cursorRightOneWord): use temp var for cursor.par() and
7778 cursor.pos(), remove usage of tmpcursor.
7779 (cursorLeftOneWord): use temp var for cursor.par() and
7780 cursor.pos() only set cur at end of function.
7782 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7784 * text.C, text2.C: exchange all usage of Paragraph::next with
7785 boost::next(ParagraphList::iterator)
7787 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7789 * text2.C (cursorTop): simplify implementation
7790 (cursorBottom): ditto
7791 (setParagraph): use ParagraphList::iterator
7792 (setCurrentFont): adjust
7793 (getColumnNearX): adjust
7794 (cursorRight): adjust
7795 (cursorLeft): remove usage of Paragraph::previous
7796 (cursorUpParagraph): ditto
7797 (deleteEmptyParagraphMechanism): slight cleanup
7799 * text.C (isBoundary): take a Paragraph const & instead of a
7801 (addressBreakPoint): ditto
7802 (leftMargin): remove usage of Paragraph::previous.
7803 (setHeightOfRow): ditto
7804 (cursorLeftOneWord): ditto
7805 (selectNextWordToSpellcheck): ditto
7808 (breakParagraph): remove one usage of Paragraph::next
7809 (redoParagraph): ditto
7810 (acceptChange): ditto
7811 (insertChar): adjust
7812 (rowBreakPoint): adjust
7814 * bufferview_funcs.C (toggleAndShow): adjust
7816 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7818 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7819 methods to access it.
7821 * text.C: Added updateRowPositions to compute all row positions.
7822 Make top_y and getRowNearY() to use the cached y position
7824 2003-04-11 John Levon <levon@movementarian.org>
7826 * text.C (rowBreakPoint): reintroduce the labelEnd
7827 checks, code copied from the row fill stuff. Deep voodoo.
7829 * text.C (fill): add a comment and debugging for the
7832 2003-04-11 John Levon <levon@movementarian.org>
7834 * text.C: make sure fullrow insets get wrapped to the next line,
7835 even when they're in a manual label
7837 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * text2.C (insertParagraph): make it take ParagraphList::iterator
7841 (setLayout): make it return ParagraphList::iterator
7842 (redoParagraphs): ditto
7844 (checkParagraph): ditto
7846 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7848 * text2.C: adjust several funcs.
7849 (realizeFont): take a ParagraphList::iterator as arg.
7850 (getLayoutFont): ditto
7851 (getLabelFont): ditto
7852 (setCharFont): ditto
7854 * text.C: adjust several funcs.
7856 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7858 * text.C (selectNextWordToSpellcheck): don't accidentally
7861 2003-04-10 John Levon <levon@movementarian.org>
7863 * ToolbarBackend.C (getIcon): special handling for
7866 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7868 * text2.C (cursorRight): a getChar assert fixed
7870 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * text2.C (getFont): change to take a ParagraphList::iterator
7873 instead of Paragraph*
7874 Adjust several functions.
7876 * text.C (transformChar): change to take a ParagraphList::iterator
7877 instead of Paragraph*
7878 (singleWidth): ditto
7879 Adjust several functions.
7881 * rowpainter.C: adjust several functions
7882 * rowpainter.h:store a ParagraphList::iterator and not a
7886 2003-04-09 John Levon <levon@movementarian.org>
7891 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7892 and the "help" bits as well
7894 2003-04-09 John Levon <levon@movementarian.org>
7897 * ToolbarBackend.C: allow multiple toolbars
7899 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * undo_funcs.C (setCursorParUndo): adjust
7903 * text_funcs.C (transposeChars): adjust
7905 * text3.C (gotoNextInset): adjust
7908 * text2.C (setLayout): adjust
7909 (changeDepth): adjust
7911 (redoParagraphs): adjust
7912 (selectionAsString): adjust
7913 (setParagraph): adjust
7914 (insertInset): adjust
7915 (cutSelection): adjust
7916 (copySelection): adjust
7917 (pasteSelection): adjust
7918 (insertStringAsLines): adjust
7919 (updateInset): adjust
7920 (setCursor): change to take a ParagraphList::iterator parameter
7921 (setCursorIntern): change to take a ParagraphList::iterator parameter
7922 (setCurrentFont): adjust
7923 (cursorLeft): adjust
7924 (cursorRight): adjust
7925 (deleteEmptyParagraphMechanism): adjust
7927 * text.C (breakParagraph): adjust
7928 (insertChar): adjust
7929 (acceptChange): adjust
7930 (rejectChange): adjust
7931 (selectNextWordToSpellcheck): adjust
7932 (changeCase): adjust
7936 * lyxfind.C (SearchForward): adjust
7937 (SearchBackward): adjust
7938 (nextChange): adjust
7940 * lyxcursor.C (par): adjust
7942 * lyxcursor.h: store a ParagraphList::iterator instead of a
7945 * lyx_cb.C (getPossibleLabel): adjust
7947 * bufferview_funcs.C (toggleAndShow): adjust
7949 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7952 * BufferView.C (removeAutoInsets): adjust
7953 (lockedInsetStoreUndo): adjust
7955 2003-04-09 John Levon <levon@movementarian.org>
7957 * ToolbarBackend.C: try icon without argument
7958 if with argument fails
7960 2003-04-08 John Levon <levon@movementarian.org>
7963 * ToolbarBackend.C: add getIcon(), handle tooltip,
7964 and change from "Icon" to "Item".
7966 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7968 * BufferView.C (lockInset): another bad getchar crunched
7970 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7972 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7975 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7977 * lyxfind.C (searchForward, searchBackwards): bug 782
7979 2003-04-07 John Levon <levon@movementarian.org>
7981 * paragraph.C: remove dead comment
7983 * text.C: remove troublesome depth-fiddling code
7984 in leftMargin() and rightMargin() (bug 1017)
7986 * text.C: fix breaking of rows in nested lists
7989 * text2.C (updateCounters): fix up depth values
7992 2003-04-07 John Levon <levon@movementarian.org>
7994 * BufferView_pimpl.C: clear message when doc finishes resizing,
7995 and after a mouse event
7997 * lyxfunc.C: clear message after exiting inset
7999 2003-04-07 John Levon <levon@movementarian.org>
8001 * bufferview_funcs.C: show math status not outside
8002 status in the statusbar
8004 2003-04-07 John Levon <levon@movementarian.org>
8006 * lyxfunc.C: note status changed after a depth change
8008 2003-04-04 Angus Leeming <leeming@lyx.org>
8010 * LaTeX.h: move AuxInfo operator==, != out of line.
8011 Remove LaTeX virtual destructor; nothing derives from it.
8012 Move operator()() out of public area and rename it startscript().
8013 Change protected for private.
8015 2003-04-04 Angus Leeming <leeming@lyx.org>
8018 * text2.C: remove unneeded #includes.
8020 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8022 * text2.C (dEPM): fix the heigth of the next row
8024 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8026 * text.C: squashed an invalid getChar requester + some ws changes
8028 2003-04-03 John Levon <levon@movementarian.org>
8030 * bufferview_funcs.h:
8031 * bufferview_funcs.C:
8034 * text2.C: make getStatus work for the env depth lfuns
8036 2003-04-03 John Levon <levon@movementarian.org>
8038 * bufferview_funcs.h:
8039 * bufferview_funcs.C:
8042 * text2.C: parlistize decDepth(), by merging it with incDepth()
8044 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8046 * lyxrow.h: store a ParagraphList::iterator instead of a
8047 Paragraph* and adjust other class functions to suit.
8049 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8052 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8054 * text2.C (setCursor): do not anchor to cursor row for the time being
8056 2003-04-02 John Levon <levon@movementarian.org>
8063 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8065 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * paragraph.h: make ParagraphList and ParagraphList::iterator
8068 friends of Paragraph.
8070 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8072 * ParagraphList.C: Use the private next_ and previous_ from
8075 2003-04-01 John Levon <levon@movementarian.org>
8079 * Makefile.am: rename, remove defaults gunk
8082 * MenuBackend.C: remove defaults gunk
8085 * Languages.C: remove defaults gunk
8088 * lyx_main.C: error out if files couldn't be found.
8090 2003-04-02 John Levon <levon@movementarian.org>
8092 * text2.C: make incDepth() use parlist
8094 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8096 * undo_funcs.C (firstUndoParagraph): adjust
8098 * text3.C (gotoInset): adjust
8099 (dispatch): adjust, and rewrite loop.
8101 * text2.C (init): adjust, and rewrite loop.
8102 (redoParagraphs): adjust
8103 (updateInset): adjust, and rewrite loop.
8104 (deleteEmptyParagraphMechanism): adjust
8106 * tabular.C (LyXTabular): adjust
8107 (SetMultiColumn): adjust
8110 * lyxtext.[Ch] (ownerParagraph): delete function
8111 (ownerParagraphs): new function returns a ParagraphList.
8113 * BufferView.C (removeAutoInsets): adjust
8114 (insertErrors): adjust
8115 (setCursorFromRow): adjust
8117 2003-04-01 Angus Leeming <leeming@lyx.org>
8119 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8122 2003-04-02 John Levon <levon@movementarian.org>
8128 * text_funcs.C: make transposeChars a free function
8130 * lyxrow_funcs.C: remove wrong comment
8132 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * rowpainter.C: adjust
8140 * lyxrow_funcs. [Ch]: new files
8142 * lyxrow.[Ch]: remove next and previous pointers
8143 (next,previous): remove accessor functions
8144 (isParEnd): move to lyxrow_funcs
8145 (lastPos): move to lyxrow_funcs
8146 (nextRowIsAllInset): move to lyxrow_funcs
8147 (lastPrintablePos): move to lyxrow_funcs
8148 (numberOfSeparators): move to lyxrow_funcs
8149 (numberOfHfills): move to lyxrow_funcs
8150 (numberOfLabelHfills): move to lyxrow_funcs
8151 (hfillExpansion): move to lyxrow_funcs
8155 * bufferview_funcs.C (toggleAndShow): adjust
8157 * RowList.h: Remove class RowList from file leave just a
8160 * RowList.C: delete file
8162 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8165 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * text3.C (cursorPrevious): adjust
8168 (cursorNext): adjust
8171 * text2.C (redoHeightOfParagraph): adjust
8172 (redoDrawingOfParagraph): adjust
8175 * text.C (breakParagraph): adjust
8176 (insertChar): adjust
8179 * rowpainter.C (RowPainter): adjust
8180 (leftMargin): simplify and adjust
8181 (most rowpainter functions): adjust.
8183 * rowpainter.h: store the row as RowList::iterator not as Row*
8185 * lyxcursor.C (row): taka RowList::iterator as arg
8188 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8191 2003-04-01 Angus Leeming <leeming@lyx.org>
8193 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8194 stuff like bool Bool.
8196 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8198 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8201 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8206 * lyxtext.h (rows): drop one version and leve a const variant that
8207 returns a RowList::iterator.
8209 2003-03-31 Angus Leeming <leeming@lyx.org>
8211 * text.C (fill): ensure that the signature is the same as that in the
8214 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8216 * text2.C (redoParagraphs): adjust
8217 (updateCounters): adjust
8218 (checkParagraph): adjust
8219 (getColumnNearX): adjust and reformat a bit.
8221 * text.C (top_y): adjust
8223 (leftMargin): adjust
8224 (prepareToPrint): adjust
8226 (getRowNearY): adjust
8228 * lyxtext.h: make rowlist_ mutable.
8230 * RowList.h: add const_iterator
8231 * RowList.C: adjust for RowList::const_iterator.
8233 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8236 2003-03-31 John Levon <levon@movementarian.org>
8239 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8241 * lyx_main.C: set default fonts from using lyx_gui funcs
8243 * exporter.C: pdf_mode moved from lyxrc
8246 * lyxfunc.C: changes from above
8248 2003-03-31 John Levon <levon@movementarian.org>
8250 * lyx_main.C: fix to the last fix
8252 2003-03-31 John Levon <levon@movementarian.org>
8254 * bufferlist.C: "Load original" -> "Load Original"
8260 * format.C: more Alert cleanups
8262 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8264 * text2.C (removeParagraph): make it take a RowList::iterator as
8266 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8267 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8269 * text.C (anchor_row): make it take a RowList::iterator as arg,
8271 (computeBidiTables): make it take a const reference to Row instead
8272 of Row pointer, adjust.
8273 (leftMargin): make it take a RowList::iterator as arg, adjust.
8274 (rowBreakPoint): adjust
8275 (breakAgainOneRow): make it take a RowList::iterator as arg,
8277 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8279 * bufferview_funcs.C (toggleAndShow): adjust
8281 2003-03-30 John Levon <levon@movementarian.org>
8285 * boost-inst.C: moved to support
8287 * several files: changes as a result
8289 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8291 * text2.C (LyXText): adjust.
8293 (removeRow): make it take a RowList::iterator as arg, adjust.
8294 (fullRebreak): adjust
8295 (deleteEmptyParagraphMechanism): adjust
8296 (clearPaint): adjust
8299 * text.C (top_y): adjust
8300 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8301 (breakAgain): make it take a RowList::iterator as arg, adjust.
8302 (breakParagraph): adjust
8303 (insertChar): adjust
8306 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8307 need_break_row, and refresh_row.
8309 * text3.C (dispatch): adjust
8311 * text2.C (checkParagraph): adjust
8313 (setCursorFromCoordinates): adjust
8315 * text.C (top_y): adjust
8317 (getRow): make it return a RowList::iterator, adjust
8318 (getRowNearY): make it return a RowList::iterator, adjust
8320 * text2.C (init): adjust
8321 (insertRow): remove function
8322 (insertParagraph): adjust
8323 (redoParagraphs): adjust
8324 (fullRebreak): adjust
8325 (updateCounters): adjust
8327 * text.C (top_y): rewrite to use RowList iterators.
8329 (setHeightOfRow): rewrite to sue RowList iterators.
8330 (appendParagraph): adjust
8331 (breakAgain): adjust
8332 (breakAgainOneRow): adjust
8333 (breakParagraph): adjust
8335 (getRowNearY): adjust, and remove commented code.
8337 * lyxtext.h (firstRow): delete function
8338 (lastRow): delete function
8339 (rows): new function (const and non-const versions.)
8340 (insertRow): delete function
8342 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8344 2003-03-29 John Levon <levon@movementarian.org>
8346 * BufferView_pimpl.C: always update scrollbar top
8347 because pasting text when we're anchored could mean we
8348 miss an update altogether
8350 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * text2.C (init): use rowlist_.end() and not 0.
8353 (insertRow): change to take a RowList::iterator as arg, adjust
8355 (insertParagraph): change to take a RowList::iterator as arg,
8357 (redoParagraphs): remove some debug msgs.
8359 * text.C (appendParagraph): change to take a RowList::iterator
8360 arg, adjust for this.
8361 (breakAgain): add an assert
8362 (breakAgainOneRow): ditto
8364 2003-03-29 John Levon <levon@movementarian.org>
8366 * text2.C: do not clear selection after inc/decDepth
8369 2003-03-29 John Levon <levon@movementarian.org>
8372 * buffer.C: fix broken strerrors according to Lars
8374 2003-03-29 John Levon <levon@movementarian.org>
8376 * converters.C: more Alert cleanups
8378 2003-03-29 John Levon <levon@movementarian.org>
8380 * bufferview_funcs.C: remove pointless Alert
8382 * buffer.C: fix confusing error message when
8383 a template is chmoded 000
8385 2003-03-29 John Levon <levon@movementarian.org>
8389 * BufferView_pimpl.C: Alert fixes
8393 * tabular-old.C: remove unused table compat reading
8395 2003-03-29 John Levon <levon@movementarian.org>
8400 * lyx_cb.C: more Alert cleanups
8402 * lyxfunc.C: don't allow chktex if not latex document
8404 2003-03-29 John Levon <levon@movementarian.org>
8408 * buffer.C: warnings pushed down from support/,
8411 2003-03-29 John Levon <levon@movementarian.org>
8413 * lyxfunc.C: safety check for C-r (revert)
8415 2003-03-29 John Levon <levon@movementarian.org>
8418 * bufferlist.C: several UI fixes using Alert::prompt.
8419 Fix the pointless looping quit code. Fix stupid revert
8424 * lyx_cb.C: use Alert::prompt
8426 * lyx_main.C: remove a silly question
8428 * lyxfunc.C: remove a couple of silly questions,
8431 2003-03-28 John Levon <levon@movementarian.org>
8433 * text2.C: fix bug 974 (End on empty par)
8435 2003-03-28 John Levon <levon@movementarian.org>
8437 * BufferView_pimpl.C:
8439 * lfuns.h: remove do-nothing math greek lfuns
8441 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8443 * lyxgluelength.h (isValidGlueLength): add default arg on
8444 parameter 2. Remove default arg from friend in class.
8446 * lyxlength.h (isValidLength): add default arg on parameter 2.
8447 Remove default arg from friend in class.
8449 * text2.C (LyXText): adjust, initialize refresh_row.
8453 (insertParagraph): adjst
8454 (redoParagraphs): adjust
8455 (fullRebreak): adjust
8456 (updateCounters): adjust
8457 (deleteEmptyParagraphMechanism): first attempt at fixing a
8460 * text.C (top_y): adjust
8461 (setHeightOfRow): adjust
8463 (getRowNearY): adjust
8465 * lyxtext.h: include RowList.h
8466 (~LyXText): not needed anymore, deleted.
8467 (firstRow): modify for RowList
8468 (lastRow): new function
8469 Delete firstrow and lastrow class variables, add a Rowlist
8470 rowlist_ class variable.
8472 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8475 * RowList.C (insert): fix case where it == begin().
8477 2003-03-26 Angus Leeming <leeming@lyx.org>
8479 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8480 the thesaurus dialog.
8482 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8486 * RowList.[Ch]: new files
8488 * ParagraphList.C (erase): handle the case where it == begin
8491 2003-03-25 John Levon <levon@movementarian.org>
8495 * aspell.C: add new aspell support
8498 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8501 2003-03-25 Angus Leeming <leeming@lyx.org>
8504 * LyXAction.C (init): new LFUN_INSET_INSERT.
8506 * BufferView_pimpl.C (dispatch): split out part of the
8507 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8509 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8512 2003-03-25 Angus Leeming <leeming@lyx.org>
8514 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8516 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8519 * text3.C: remove useless row->height(0)
8521 2003-03-25 John Levon <levon@movementarian.org>
8525 * text3.C: rename the refreshing stuff to better names
8527 2003-03-24 John Levon <levon@movementarian.org>
8529 * BufferView_pimpl.h:
8530 * BufferView_pimpl.C: update layout choice on a mouse
8533 2003-03-23 John Levon <levon@movementarian.org>
8535 * Makefile.am: fix commandtags.h reference
8537 2003-03-22 John Levon <levon@movementarian.org>
8539 * BufferView_pimpl.C:
8544 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8546 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8549 * text.C: take the rtl methods out of line
8551 2003-03-21 André Pönitz <poenitz@gmx.net>
8553 * metricsinfo.[Ch]: new files containing structures to be passed around
8554 during the two-phase-drawing...
8556 2003-03-21 André Pönitz <poenitz@gmx.net>
8558 * lyxtextclass.C: read 'environment' tag.
8560 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8562 * text2.C (removeRow): fix bug 964
8564 2003-03-20 John Levon <levon@movementarian.org>
8568 * text2.C: paint cleanups. Inset::update() dropped font
8571 2003-03-19 John Levon <levon@movementarian.org>
8573 * lyxfunc.C: only fitcursor/markDirty if available()
8575 2003-03-19 John Levon <levon@movementarian.org>
8577 * commandtags.h: rename to ...
8579 * lfuns.h: ... this, and renumber / cleanup
8581 2003-03-19 John Levon <levon@movementarian.org>
8583 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8584 fit the cursor after an lfun
8588 * BufferView_pimpl.h:
8589 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8591 * LyXAction.C: layout-character should have ReadOnly
8593 * ParagraphParameters.C:
8595 * bufferview_funcs.C:
8602 * undo_funcs.C: changes from above
8604 2003-03-18 John Levon <levon@movementarian.org>
8606 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8607 remove it from update()
8609 * lyxfunc.C: update layout choice after an lfun
8611 * text3.C: remove extra updateLayoutChoice()s
8613 2003-03-18 John Levon <levon@movementarian.org>
8615 * text.C: top_y change means full repaint, fix
8616 a drawing bug with cursor movement
8618 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8622 * text2.C: anchor row on setCursor
8624 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8626 * lyxtext.h: remove almost all mutable keywords
8629 * text3.C: remove const keywords accordingly
8631 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8633 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8635 (TeXEnvironment): ditto
8638 2003-03-17 John Levon <levon@movementarian.org>
8640 * text.C (rowBreakPoint): remove attempt to fix displayed
8641 math insets inside a manual label
8643 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * lyxtext.h: remove BufferView* as first arg from almost all class
8647 * other files: adjust.
8649 2003-03-17 John Levon <levon@movementarian.org>
8653 * text2.C: more paint cleanups
8655 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8658 * rowpainter.C: remove "smart" background painting code
8660 2003-03-16 John Levon <levon@movementarian.org>
8665 * text3.C: add helper functions for setting refresh_row/y
8667 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8669 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8670 newline inset which *can* get inserted in the pass_thru layouts.
8671 This is primarily for literate documents.
8673 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8675 * buffer.C: increment LYX_FORMAT to 223
8677 2003-03-14 André Pönitz <poenitz@gmx.net>
8679 * textclass.h: prepare for environment handling, ws changes
8680 * lyxlayout.C: read latexheader and latexfooter tags
8682 2003-03-14 John Levon <levon@movementarian.org>
8684 * text2.C: rewrite ::status() a bit
8686 2003-03-13 John Levon <levon@movementarian.org>
8688 * lyxtext.h: add some docs
8690 2003-03-13 John Levon <levon@movementarian.org>
8695 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8697 2003-03-13 John Levon <levon@movementarian.org>
8699 * text3.C: fix appendix redrawing
8701 2003-03-13 John Levon <levon@movementarian.org>
8703 * text.C (setHeightOfRow):
8705 * rowpainter.C: make appendix mark have the text
8706 "Appendix" so the user knows what it is
8709 * LColor.C: s/appendixline/appendix/ from above
8711 2003-03-13 John Levon <levon@movementarian.org>
8713 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8715 * text.C: fix a getChar(pos) bug properly
8717 2003-03-13 Angus Leeming <leeming@lyx.org>
8720 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8721 Probably only temporary. Let's see how things pan out.
8723 * BufferView.C (unlockInset):
8724 * BufferView_pimpl.C (fitCursor):
8725 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8727 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8728 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8730 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8731 new functions that convert ParagraphParameters to and from a string.
8733 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8734 BufferView::Pimpl's dispatch.
8735 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8737 2003-03-13 André Pönitz <poenitz@gmx.net>
8741 * factory.C: make it aware of InsetEnv
8743 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8745 * text2.C (setCursor): never ask for one past last
8746 (setCursor): add some debugging messages.
8748 * text.C (singleWidth): never ask for one past last
8749 (singleWidth): ditto
8751 (rightMargin): ditto
8752 (rowBreakPoint): ditto
8753 (setHeightOfRow): ditto
8754 (prepareToPrint): ditto
8756 * rowpainter.C (paintBackground): never ask for one past last
8757 (paintText): never ask for one past last
8759 * paragraph_pimpl.C (getChar): make the assert stricter, never
8760 allow the one past last pos to be taken
8762 * paragraph.C (getChar): ws changes only
8764 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8765 (numberOfSeparators): ditto
8766 (numberOfHfills): ditto
8768 2003-03-12 John Levon <levon@movementarian.org>
8774 * paragraph_funcs.C: fix per-buffer authorlists
8776 2003-03-12 John Levon <levon@movementarian.org>
8778 * text.C: fix newline in right address
8780 2003-03-12 Angus Leeming <leeming@lyx.org>
8782 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8783 duplicate those in LyXFunc::dispatch.
8787 * ToolbarDefaults.C:
8788 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8789 Add LFUN_FONTFREE_UPDATE.
8791 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8792 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8794 * bufferview_func.[Ch]: several new functions to facilliate
8795 transfer of data to and from the character dialog.
8797 2003-03-12 John Levon <levon@movementarian.org>
8802 * paragraph_funcs.C:
8803 * paragraph_pimpl.C:
8807 * text3.C: remove META_NEWLINE in favour of an inset
8810 * rowpainter.C: remove paintNewline (done by inset)
8812 2003-03-12 John Levon <levon@movementarian.org>
8814 * paragraph_pimpl.C: complain about bad getChar()s
8815 for a while at least
8817 2003-03-12 John Levon <levon@movementarian.org>
8820 * buffer.C: move paragraph read into a separate function,
8821 a little renaming to reflect that.
8824 * bufferparams.C: remove the author_ids map, not necessary now
8827 * factory.C: moved Buffer::readInset to here
8829 * paragraph_funcs.h:
8830 * paragraph_funcs.C: readParagraph free function moved from
8833 * tabular.C: name change
8835 2003-03-12 John Levon <levon@movementarian.org>
8838 * ParagraphParameters.C: move par params input to
8841 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8842 behave like a normal read from the stream wrt reading
8843 a line vs. a \\token
8845 2003-03-12 John Levon <levon@movementarian.org>
8848 * ParagraphParameters.h:
8849 * ParagraphParameters.C: move output code to a
8852 2003-03-12 John Levon <levon@movementarian.org>
8854 * BufferView.C (insertLyXFile):
8857 * tabular.C: use a parlist iterator for creating the
8860 2003-03-12 John Levon <levon@movementarian.org>
8862 * buffer.C: make current_change static local not
8865 2003-03-12 John Levon <levon@movementarian.org>
8867 * buffer.C: fix insertStringAsLines for change tracking
8869 2003-03-12 John Levon <levon@movementarian.org>
8876 * bufferparams.C: move author list into params. Rename some
8877 functions. Move the header reading into a separate token
8878 loop. Move the header token reading into BufferParams.
8880 2003-03-12 John Levon <levon@movementarian.org>
8882 * changes.C: put debug inside lyxerr.debugging() checks
8884 2003-03-11 André Pönitz <poenitz@gmx.net>
8886 * factory.C: make it aware of InsetHFill
8888 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * buffer.C (latexParagraphs): move function from here...
8891 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8894 2003-03-10 Angus Leeming <leeming@lyx.org>
8896 * LyXAction.C (init): fix bug in poplating array with multiple entries
8897 with the same LFUN (spotted by JMarc).
8899 2003-03-10 John Levon <levon@movementarian.org>
8902 * text2.C: move getColumnNearX() near its
8905 2003-03-10 John Levon <levon@movementarian.org>
8907 * text.C: fix break before a minipage
8909 2003-03-10 John Levon <levon@movementarian.org>
8911 * text.C: fix the last commit
8913 2003-03-09 John Levon <levon@movementarian.org>
8917 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8918 bug 365 (don't break before insets unless needed). Don't
8919 return a value > last under any circumstances.
8921 2003-03-09 Angus Leeming <leeming@lyx.org>
8923 * BufferView_pimpl.C (trackChanges, dispatch): call
8924 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8926 2003-03-09 Angus Leeming <leeming@lyx.org>
8928 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8929 than Dialogs::showAboutlyx().
8931 2003-03-09 Angus Leeming <leeming@lyx.org>
8933 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8934 than Dialogs::showTabularCreate().
8936 2003-03-09 John Levon <levon@movementarian.org>
8940 * text2.C: 3rd arg to nextBreakPoint was always the same.
8943 2003-03-08 John Levon <levon@movementarian.org>
8950 * text2.C: Remove the "main" bit from the "main body"
8953 2003-03-08 John Levon <levon@movementarian.org>
8955 * text.C (leftMargin): The left margin of an empty
8956 manual label paragraph should not include the label width
8959 * text.C (prepareToPrint): don't attempt to measure hfills
8960 for empty manual label paragraphs - the answer should be 0
8962 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8964 * CutAndPaste.C: remove commented code and reindent.
8966 2003-03-08 John Levon <levon@movementarian.org>
8969 * lyxfunc.C: move reloadBuffer()
8972 * BufferView.C: to here
8974 * lyxvc.C: add comment
8977 * vc-backend.C: call bv->reload() to avoid
8978 getStatus() check on MENURELOAD
8980 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8982 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8983 to an old format .dep file.
8985 2003-03-07 Angus Leeming <leeming@lyx.org>
8987 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8988 when the LFUN_MOUSE_RELEASE should have been handled by
8989 inset->localDispatch.
8991 2003-03-07 Angus Leeming <leeming@lyx.org>
8993 * BufferView_pimpl.C (dispatch):
8994 * LyXAction.C (init):
8995 * ToolbarDefaults.C (init):
8997 * lyxfunc.C (getStatus):
8998 remove LFUN_INSET_GRAPHICS.
9000 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9002 2003-03-07 Angus Leeming <leeming@lyx.org>
9005 * LyXAction.C (init):
9006 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9008 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9011 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9013 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9014 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9016 2003-03-07 Angus Leeming <leeming@lyx.org>
9018 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9021 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9023 * ParagraphList.C (front): new function
9026 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9028 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9029 and top_row_offset_. removed var first_y.
9031 * text2.C (LyXText, removeRow):
9033 * BufferView_pimpl.C:
9034 use these methods instead of using first_y
9036 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9038 * text2.C (pasteSelection): adjust for checkPastePossible
9040 * CutAndPaste.C: remove Paragraph * buf and replace with
9041 ParagraphList paragraphs.
9042 (DeleteBuffer): delete
9043 (cutSelection): change the tc type to textclass_type
9044 (copySelection): change the tc type to textclass_type
9045 (copySelection): adjust for ParagraphList
9046 (pasteSelection): change the tc type to textclass_type
9047 (pasteSelection): adjust for Paragraphlist
9048 (nrOfParagraphs): simplify for ParagraphList
9049 (checkPastePossible): simplify for ParagraphList
9050 (checkPastePossible): remove unused arg
9052 * ParagraphList.C (insert): handle the case where there are no
9055 * CutAndPaste.h: make CutAndPaste a namespace.
9057 * text3.C (dispatch): adjust
9059 * text.C (breakParagraph): add a ParagraphList as arg
9061 * paragraph_funcs.C (breakParagraph): change to take a
9062 BufferParams and a ParagraphList as args.
9063 (breakParagraphConservative): ditto
9064 (mergeParagraph): ditto
9065 (TeXDeeper): add a ParagraphList arg
9066 (TeXEnvironment): ditto
9069 * buffer.C (readLyXformat2): adjust
9070 (insertStringAsLines): adjust
9071 (latexParagraphs): adjust
9073 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9074 (cutSelection): adjust
9075 (pasteSelection): adjust
9077 * BufferView_pimpl.C (insertInset): adjust
9079 2003-03-05 Angus Leeming <leeming@lyx.org>
9082 * LyXAction.C (init):
9083 * BufferView_pimpl.C (dispatch):
9084 * lyxfunc.C (getStatus):
9085 remove LFUN_CHILD_INSERT.
9087 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9089 2003-03-05 Angus Leeming <leeming@lyx.org>
9092 * LyXAction.C (init):
9093 * src/factory.C (createInset):
9094 * lyxfunc.C (getStatus):
9095 * text3.C (dispatch):
9096 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9098 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9100 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9102 * ParagraphList.C (insert): handle insert right before end()
9103 (erase): fix cases where it can be first or last paragraph.
9105 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9107 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9108 Paragraph::next and Paragraph::previous
9111 * text.C (breakParagraph): adjust
9113 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9114 BufferParams& as arg.
9115 (breakParagraph): use ParagraphList::insert
9116 (breakParagraphConservative): take a Buffer* instead of a
9117 BufferParams& as arg.
9118 (breakParagraphConservative): use ParagraphList::insert.
9120 * buffer.C (insertStringAsLines): un-const it
9121 (insertStringAsLines): adjust
9123 * ParagraphList.C (insert): new function
9125 * CutAndPaste.C (pasteSelection): adjust
9127 * text.C (backspace): adjust
9129 * tabular.C (SetMultiColumn): adjust
9131 * CutAndPaste.C (cutSelection): adjust
9132 (pasteSelection): adjust
9134 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9135 Buffer const * as arg
9137 * ParagraphList.C (erase): new function
9138 * paragraph_funcs.C (mergeParagraph): use it
9139 (mergeParagraph): make it take a Buffer* instead of a
9140 BufferParams* as arg
9142 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9144 (breakParagraphConservative): ditto
9146 * paragraph.h: remove the breakParagraph friend
9148 * paragraph.C (eraseIntern): new function
9149 (setChange): new function
9151 * paragraph_funcs.C (mergeParagraph): make it take a
9152 ParagraphList::iterator instead of a Paragraph *, adjust
9155 * paragraph.h: move an #endif so that the change tracking stuff
9156 also works in the NO_NEXT case.
9158 2003-03-04 Angus Leeming <leeming@lyx.org>
9161 * LyXAction.C: new LFUN_INSET_MODIFY.
9163 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9164 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9166 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9168 * several files: ws changes only
9170 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9171 (TeXEnvironment): ditto
9174 * buffer.C (makeLaTeXFile): adjust
9175 (latexParagraphs): make it take ParagraphList::iterator as args
9177 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9179 * buffer.C (latexParagraphs): adjust
9181 * paragraph.C (TeXOnePar): move function...
9182 (optArgInset): move function...
9183 (TeXEnvironment): move function...
9184 * paragraph_pimpl.C (TeXDeeper): move function...
9185 * paragraph_funcs.C: ...here
9187 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9189 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9191 * buffer.C (readInset): remove compability code for old Figure and
9194 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9196 * buffer.C: ws changes
9199 * BufferView_pimpl.C: ditto
9202 * bufferlist.h: ditto
9206 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9208 * converter.[Ch]: split into itself +
9211 * Makefile.am: += graph.[Ch] + format.[Ch]
9218 * lyxrc.C: added #include "format.h"
9220 2003-02-27 Angus Leeming <leeming@lyx.org>
9222 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9225 * factory.C (createInset): add "label" to the factory.
9227 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9228 string and do no more.
9230 2003-02-27 Angus Leeming <leeming@lyx.org>
9233 * LyXAction.C (init):
9234 * factory.C (createInset):
9235 * BufferView_pimpl.C (dispatch):
9236 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9238 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9240 * lyxfunc.C (dispatch):
9241 * text3.C (dispatch): pass name to params2string.
9243 2003-02-26 Angus Leeming <leeming@lyx.org>
9245 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9247 Rearrange the ~includes. Strip out the unnecessary ones.
9249 * factory.C (createInset): reformat.
9250 create new insets for the various LFUN_XYZ_APPLY lfuns.
9252 2003-02-26 John Levon <levon@movementarian.org>
9255 * lyxrow.C: add isParStart,isParEnd helpers
9257 * paragraph.h: make isInserted/DeletedText take refs
9259 * paragraph_funcs.h:
9260 * paragraph_funcs.C: remove #if 0'd code
9265 * text.C: use lyxrow helpers above.
9266 Move draw and paint routines to RowPainter.
9267 Make several methods use refs not pointers.
9268 Make backgroundColor() const.
9269 Add markChangeInDraw(), isInInset().
9270 Merge changeRegionCase into changeCase.
9271 Make workWidth() shouldn't-happen code into an Assert.
9274 * rowpainter.C: new class for painting a row.
9277 * vspace.C: make inPixels take a ref
9279 2003-02-26 Angus Leeming <leeming@lyx.org>
9281 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9284 2003-02-25 John Levon <levon@movementarian.org>
9286 * ispell.C: give the forked command a more accurate name
9288 2003-02-22 John Levon <levon@movementarian.org>
9291 * toc.C: make TocItem store an id not a Paragraph *
9294 2003-02-21 Angus Leeming <leeming@lyx.org>
9296 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9297 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9298 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9299 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9300 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9301 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9303 * BufferView_pimpl.C (dispatch):
9304 * LyXAction.C (init):
9305 * factory.C (createInset):
9306 * lyxfunc.C (getStatus, dispatch):
9307 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9309 2003-02-21 Angus Leeming <leeming@lyx.org>
9311 * BufferView_pimpl.C (MenuInsertLyXFile):
9312 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9313 * lyxfunc.C (menuNew, open, doImport):
9314 no longer pass a LyXView & to fileDlg.
9316 2003-02-21 Angus Leeming <leeming@lyx.org>
9318 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9319 * LyXAction.C: change, BIBKEY to BIBITEM.
9320 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9321 Change InsetBibKey to InsetBibitem.
9322 Change BIBKEY_CODE to BIBITEM_CODE.
9323 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9324 * factory.C: replace insetbib.h with insetbibitem.h.
9325 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9326 * paragraph.C: replace insetbib.h with insetbibitem.h.
9327 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9328 Change bibkey() to bibitem().
9329 * text.C: remove insetbib.h.
9330 * text2.C: replace insetbib.h with insetbibitem.h.
9331 change bibkey() to bibitem().
9332 * text3.C: remove insetbib.h.
9333 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9335 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9337 * lyxrc.C (output): enclose user email in quotes (in case there are
9340 2003-02-18 John Levon <levon@movementarian.org>
9342 * buffer.h: add std::
9344 2003-02-17 John Levon <levon@movementarian.org>
9350 * pspell.C: reworking. Especially in ispell, a large
9351 number of clean ups and bug fixes.
9353 * lyxfunc.C: fix revert to behave sensibly
9355 2003-02-17 André Pönitz <poenitz@gmx.net>
9358 * commandtags.h: new LFUN_INSERT_BIBKEY
9368 * paragraph_func.C: remove special bibkey handling
9370 2003-02-17 John Levon <levon@movementarian.org>
9372 * text.C (Delete): fix case where delete at the end of
9373 the very first paragraph would not merge the pars
9375 2003-02-17 John Levon <levon@movementarian.org>
9377 * lyxrow.C: fix lastPrintablePos()
9379 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9381 * bufferparams.C (writeLaTeX): add a std:here
9383 * buffer.C: and remove a using directive there
9385 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9387 * buffer.C (makeLaTeXFile): move the code that generates the
9390 * bufferparams.C (writeLaTeX): ... in this new method
9392 * LaTeXFeatures.C (getEncodingSet): make const
9393 (getLanguages): make const
9395 * MenuBackend.C (binding): returns the binding associated to this
9397 (add): sets the status of each item by calling getStatus. Adds
9399 (read): add support for OptSubMenu
9400 (expand): remove extra separator at the end of expanded menu
9402 2003-02-15 John Levon <levon@movementarian.org>
9405 * BufferView_pimpl.C:
9407 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9408 inset code that had no actual effect. Remove unneeded status
9411 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9416 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9418 * text.C (drawLengthMarker): also draw an arrow marker for
9419 symbolic lengths (medskip...)
9421 2003-02-14 John Levon <levon@movementarian.org>
9424 * tabular.C: better method names
9426 2003-02-14 John Levon <levon@movementarian.org>
9428 * BufferView_pimpl.C:
9433 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9434 it's a more accurate name. Remove some pointless uses.
9436 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9438 * text2.C (LyXText): change order of initilizers to shut off
9441 2003-02-14 John Levon <levon@movementarian.org>
9443 * buffer.C: use ParIterator for getParFromID()
9447 * paragraph_pimpl.h:
9448 * paragraph_pimpl.C: remove unused getParFromID()
9450 2003-02-14 John Levon <levon@movementarian.org>
9452 * buffer.C: remove some very old #if 0'd parse code
9454 2003-02-13 John Levon <levon@movementarian.org>
9458 * text2.C: move hfillExpansion(), numberOfSeparators(),
9459 rowLast(), rowLastPrintable(), numberofHfills(),
9460 numberOfLabelHfills() ...
9463 * lyxrow.C: ... to member functions here.
9468 * text.C: remove LyXText::beginningOfMainBody(), and call
9469 p->beginningOfMainBody() directly. Move the check for
9470 LABEL_MANUAL into the latter.
9477 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9483 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9484 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9486 2003-02-13 John Levon <levon@movementarian.org>
9488 * CutAndPaste.C: remove debug
9490 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9492 * paragraph.C (asString): remove two unused variables
9494 * lyxtextclass.C (readTitleType):
9496 (LyXTextClass): handle new members titletype_ and titlename_
9498 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9500 2003-02-09 John Levon <levon@movementarian.org>
9503 * buffer.C: replace hand-coded list with a map for the dep clean
9505 2003-02-08 John Levon <levon@movementarian.org>
9507 * LaTeX.C: consolidate code into showRunMessage() helper
9509 2003-02-08 John Levon <levon@movementarian.org>
9514 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9515 and pass the size in explicitly
9517 * BufferView_pimpl.h:
9518 * BufferView_pimpl.C:
9520 * BufferView.C: add getCurrentChange()
9522 * BufferView_pimpl.h:
9523 * BufferView_pimpl.C: handle change lfuns
9525 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9526 for changes. Mark pasted paragraphs as new.
9528 * support/lyxtime.h:
9529 * support/lyxtime.C:
9530 * DepTable.C: abstract time_t as lyx::time_type
9533 * LColor.C: add colours for new text, deleted text, changebars
9535 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9536 package use "usenames" option.
9540 * LyXAction.C: add change lfuns
9544 * author.C: author handling
9547 * buffer.C: add a per-buffer author list, with first entry as
9548 current author. Handle new .lyx tokens for change tracking. Output
9549 author list to .lyx file. Output dvipost stuff to .tex preamble.
9550 Bump lyx format to 222.
9553 * bufferlist.C: add setCurrentAuthor() to reset current author details
9557 * bufferparams.C: add param for tracking
9559 * bufferview_funcs.C: output change info in minibuffer
9563 * changes.C: add change-tracking structure
9566 * debug.C: add CHANGES debug flag
9569 * lyxfind.C: add code for finding the next change piece
9572 * lyxrc.C: add user_name and user_email
9575 * lyxrow.C: add a metric for the top of the text line
9578 * text.C: implement accept/rejectChange()
9581 * text.C: paint changebars. Paint new/deleted text in the chosen
9582 colours. Strike through deleted text.
9586 * paragraph_pimpl.h:
9587 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9588 in the current change to the insert functions. Rework erase to
9589 mark text as deleted, adding an eraseIntern() and a range-based
9590 erase(). Implement per-paragraph change lookup and
9593 * paragraph_funcs.C: Fixup paste for change tracking.
9595 * tabular.C: mark added row/columns as new.
9597 * text.C: fix rowLast() to never return -1. Don't allow
9598 spellchecking of deleted text. Track transpose changes. Don't
9599 allow paragraph break or merge where appropriate.
9601 * text2.C: leave cursor at end of selection after a cut.
9603 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9605 * text.C (getLengthMarkerHeight):
9606 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9607 visible on screen too.
9609 2003-02-07 John Levon <levon@movementarian.org>
9611 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9613 2003-02-05 Angus Leeming <leeming@lyx.org>
9615 * lyxserver.C (read_ready): revert my patch of 11 September last year
9616 as it sends PC cpu through the roof. Presumably this means that
9617 the lyxserver will no longer run on an Alpha...
9619 2003-01-30 Angus Leeming <leeming@lyx.org>
9621 * factory.C (createInset): create an InsetCommandParam of type "index"
9622 and use it to 'do the right thing'.
9624 * text2.C (getStringToIndex): ensure that cursor position is always
9625 reset to the reset_cursor position.
9627 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9629 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9632 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9636 * lyxfunc.C: Output messages with identical spelling, punctuation,
9639 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9641 * MenuBackend.C (expandFormats): List only viewable export formats
9644 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9647 * lyxfunc.C (getStatus): Make sure that formats other than
9648 "fax" can also be disabled
9650 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9652 * text3.C (dispatch): put the lfuns that insert insets in 3
9653 groups, and call doInsertInset with appropriate arguments.
9654 (doInsertInset): new function, that creates an inset and inserts
9655 it according to some boolean parameters.
9657 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9659 * buffer.C (readFile): remember to pass on 'par' when calling
9660 readFile recursively.
9662 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9664 * MenuBackend.C (expandFormats): add "..." to import formats.
9666 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9668 * paragraph.C (asString): Remove XForms RTL hacks.
9670 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9671 * buffer.C: fix typo
9673 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9675 * Makefile.am (LIBS): delete var
9676 (lyx_LDADD): add @LIBS@ here instead.
9678 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9680 * Clarify the meaning of "wheel mouse jump"
9682 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9684 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9687 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9689 * importer.C (Loaders): do not preallocate 3 elements in the
9690 vector, since one ends up with 6 elements otherwise
9692 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * DepTable.C (write): write the file name as last element of the
9695 .dep file (because it may contain spaces)
9696 (read): read info in the right order
9698 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9700 * paragraph_pimpl.C (simpleTeXBlanks):
9701 (simpleTeXSpecialChars):
9702 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9704 * tabular.C (latex): add some missing case statements. Reindent.
9706 * MenuBackend.C (expandToc): remove unused variable.
9708 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9717 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9720 2003-01-05 John Levon <levon@movementarian.org>
9723 * BufferView.C: add getEncoding()
9726 * kbsequence.C: do not store last keypress
9729 * lyxfunc.C: store last keypress here instead. Pass encoding
9732 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9734 * lyx_main.C (init): remove annoying error message when following
9735 symbolic links (bug #780)
9737 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9739 * text.C (insertChar):
9740 * lyxrc.C (getDescription): remove extra spaces
9742 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9744 * lyxrc.C (getDescription): remove extra spaces
9746 2002-12-20 John Levon <levon@movementarian.org>
9748 * text3.C: hack fix for page up/down across tall rows
9750 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9752 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9755 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9758 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9759 thesaurus is not compiled in
9761 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9763 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9765 2002-12-16 Angus Leeming <leeming@lyx.org>
9768 * lyx_main.C (init): remove override_x_deadkeys stuff.
9770 2002-12-12 John Levon <levon@movementarian.org>
9772 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9773 insert. Only remove shift modifier under strict
9776 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9778 * MenuBackend.C (expandToc): fix crash.
9780 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9782 * MenuBackend.C (expandToc): gettext on float names.
9784 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9786 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9787 implement bool empty() [bug 490]
9789 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9791 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9793 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9795 * several files: ws changes
9797 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9799 * text2.C (setCounter): clean up a bit, use boost.format.
9800 (updateCounters): initialize par upon declaration.
9802 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9803 if the layout exists. We do not just store the layout any more.
9804 (SwitchLayoutsBetweenClasses): use boost.format
9806 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9808 * converter.C (convert): if from and to files are the same, use a
9809 temporary files as intermediary
9811 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9814 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9816 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9818 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9820 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9822 * tabular.C (asciiPrintCell): use string(size, char) instead of
9825 * sgml.C (openTag): fix order of arguments to string constructor
9828 * lyxfunc.C (dispatch): use boost.format
9830 * lots of files: change "c" -> 'c'
9832 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9834 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9836 2002-11-25 Angus Leeming <leeming@lyx.org>
9838 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9840 * lyx_main.C (init): compile fix.
9842 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9844 * lyx_cb.C (start): boost.formatify
9845 do not include <iostream>
9847 * lengthcommon.C: ws only
9849 * boost-inst.C,BoostFormat.h: add more explict instantations
9851 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9853 * lots of files: handle USE_BOOST_FORMAT
9855 2002-11-21 John Levon <levon@movementarian.org>
9857 * pspell.C: fix compile
9859 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9861 * lyxfunc.C (dispatch): use boost::format
9865 * lyxfont.C (stateText): use boost::format
9867 * lyx_main.C (LyX): use boost::format
9869 (queryUserLyXDir): ditto
9872 (typedef boost::function): use the recommened syntax.
9874 * importer.C (Import): use boost::format
9876 * debug.C (showLevel): use boost::format
9878 * converter.C (view): use boost::format
9883 * bufferview_funcs.C (currentState): use boost::format
9885 * bufferlist.C (emergencyWrite): use boost::format
9887 * buffer.C (readLyXformat2): use boost::format
9888 (parseSingleLyXformat2Token): ditto
9890 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9892 * LaTeX.C (run): use boost::format
9894 * Chktex.C (scanLogFile): use boost::format
9896 * BufferView_pimpl.C (savePosition): use boost::format
9897 (restorePosition): ditto
9898 (MenuInsertLyXFile): ditto
9900 * BoostFormat.h: help file for explicit instation.
9902 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9904 * tabular.C (latex): Support for block alignment in fixed width
9907 2002-11-17 John Levon <levon@movementarian.org>
9909 * BufferView_pimpl.C:
9911 * lyxfunc.C: split filedialog into open/save
9913 2002-11-08 Juergen Vigna <jug@sad.it>
9915 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9916 by my last patch (hopefully).
9918 2002-11-08 John Levon <levon@movementarian.org>
9927 * toc.C: ParConstIterator, and use it (from Lars)
9929 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9931 * lyxtextclass.[Ch]: revise and add doxygen comments
9933 2002-11-07 John Levon <levon@movementarian.org>
9935 * text.C: fix progress value for spellchecker
9937 * toc.C: fix navigate menu for insetwrap inside minipage
9939 * paragraph_funcs.C: added FIXME for suspect code
9941 2002-11-07 John Levon <levon@movementarian.org>
9943 * BufferView_pimpl.C: fix redrawing of insets
9946 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9948 * text2.C (updateCounters): fix bug 668
9950 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9952 * text3.C (dispatch): Do not make the buffer dirty when moving the
9955 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9957 * vc-backend.C: STRCONV
9960 * text2.C (setCounter): STRCONV
9962 * paragraph.C (asString): STRCONV
9964 * lyxlength.C (asString): STRCONV
9965 (asLatexString): ditto
9967 * lyxgluelength.C (asString): STRCONV
9968 (asLatexString): ditto
9970 * lyxfunc.C (dispatch): STRCONV
9973 * lyxfont.C (stateText): STRCONV
9975 * importer.C (Import): STRCONV
9977 * counters.C (labelItem): STRCONV
9978 (numberLabel): ditto
9979 (numberLabel): remove unused ostringstream o
9984 * bufferview_funcs.C (currentState): STRCONV
9986 * buffer.C (readFile): STRCONV
9987 (asciiParagraph): ditto
9988 (makeLaTeXFile): ditto
9990 * Spacing.C (writeEnvirBegin): STRCONV
9992 * LaTeXFeatures.C (getLanguages): STRCONV
9993 (getPackages): ditto
9995 (getBabelOptions): ditto
9996 (getTClassPreamble): ditto
9997 (getLyXSGMLEntities): ditto
9998 (getIncludedFiles): ditto
10002 (scanAuxFile): ditto
10005 * LString.h: add the STRCONV macros
10007 * BufferView_pimpl.C (savePosition): STRCONV
10008 (restorePosition): ditto
10009 (MenuInsertLyXFile): ditto
10011 * vc-backend.C (scanMaster): change from submatch[...] to
10014 * funcrequest.C: include config.h
10016 * factory.C: include config.h
10018 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10020 * box.C: include config.h
10022 * LaTeX.C (scanAuxFile): change from submatch[...] to
10026 2002-10-25 Angus Leeming <leeming@lyx.org>
10028 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10030 * ispell.[Ch] (setError): new method.
10031 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10032 Use setError() insetead of goto END.
10034 * lyx_cb.C (AutoSave): move out child process into new class
10037 2002-10-30 John Levon <levon@movementarian.org>
10039 * text3.C: make start appendix undoable
10041 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10043 * lyxlength.C (inPixels): Fix returned value.
10045 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10048 2002-10-24 Angus Leeming <leeming@lyx.org>
10050 * lyxgluelength.h: no need to forward declare BufferParams
10051 or BufferView, so don't.
10053 2002-10-21 John Levon <levon@movementarian.org>
10055 * BufferView.C: menuUndo ->undo, redo
10057 * BufferView.h: document, remove dead, make some methods private
10059 * paragraph_funcs.h:
10060 * paragraph_funcs.C:
10061 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10066 * sgml.C: move sgml open/close tag into sgml.C
10068 * bufferview_funcs.h: unused prototype
10071 * lyxfunc.C: remove unused
10074 * text.C: remove unused
10076 2002-10-21 John Levon <levon@movementarian.org>
10080 * BufferView_pimpl.h:
10081 * BufferView_pimpl.C: fix mouse wheel handling based on
10082 patch from Darren Freeman
10084 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10086 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10088 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10090 * lyxlength.C (inPixels): Fix hanfling of negative length.
10091 Fix LyXLength::MU case.
10093 2002-10-16 John Levon <levon@movementarian.org>
10095 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10097 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10099 * converter.C (view): add support for $$i (file name) and $$p
10100 (file path) for the viewer command. If $$i is not specified, then
10101 it is appended to the command (for compatibility with old syntax)
10103 2002-10-14 Juergen Vigna <jug@sad.it>
10105 * undo_funcs.C (textHandleUndo): alter the order in which the
10106 new undopar is added to the LyXText, as we have to set first
10107 the right prev/next and then add it as otherwise the rebuild of
10108 LyXText is not correct. Also reset the cursor to the right paragraph,
10109 with this IMO we could remove the hack in "redoParagraphs()".
10111 2002-10-09 Angus Leeming <leeming@lyx.org>
10113 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10114 to turn off an optimisation if a new inset is to be inserted.
10116 2002-10-11 André Pönitz <poenitz@gmx.net>
10118 * lyxtext.h: make some functions public to allow access
10119 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10121 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10123 * text3.C (dispatch): when changing layout, avoid an infinite loop
10126 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10128 * lyxrc.C (read): treat a viewer or converter command of "none" as
10131 * MenuBackend.C (expandFormats): for an update, also allow the
10132 formats that are not viewable
10134 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10135 script if it is newer than the lyxrc.defaults in user directory
10137 2002-10-07 André Pönitz <poenitz@gmx.net>
10139 * text.C: Vitaly Lipatov's small i18n fix
10141 2002-09-25 Angus Leeming <leeming@lyx.org>
10143 * ispell.h: doxygen fix.
10145 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10147 * buffer.h (readFile): Add a new argument to the method, to allow
10148 reading of old-format templates.
10150 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10152 * toc.C (getTocList): Get TOC from InsetWrap.
10154 2002-09-16 John Levon <levon@movementarian.org>
10156 * lyxfunc.C: check tabular for cut/copy too
10158 2002-09-12 John Levon <levon@movementarian.org>
10160 * LyXAction.C: tidy
10163 * factory.C: add header
10165 * paragraph_funcs.h:
10166 * paragraph_funcs.C: cleanup
10168 2002-09-11 John Levon <levon@movementarian.org>
10170 * PrinterParams.h: odd/even default to true
10172 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10174 * PrinterParams.h: update printer parameters for new xforms dialog
10176 2002-09-11 Angus Leeming <leeming@lyx.org>
10178 * lyxserver.C (read_ready): re-write to make it more transparent
10179 and to make it work in coherent fashion under Tru64 Unix.
10181 2002-09-11 André Pönitz <poenitz@gmx.net>
10185 * text3.C: implement LFUN_WORDSEL
10187 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10189 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10190 make floatlist_ a boost::shared_ptr<FloatList>
10192 * lyxtextclass.C: include FloatList.h
10193 (LyXTextClass): initialize floatlist_
10194 (TextClassTags): add TC_NOFLOAT
10195 (Read): match "nofloat" to TC_NOFLOAT and use it.
10196 (readFloat): modify call to floatlist_
10200 * FloatList.[Ch] (FloatList): remove commented out float
10202 (erase): new function
10204 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10206 * MenuBackend.C (expandToc): fix crash when there is no document
10209 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10211 * many files: Add insetwrap.
10213 2002-09-09 John Levon <levon@movementarian.org>
10215 * text2.C: remove confusing and awkward depth wraparound
10217 2002-09-09 John Levon <levon@movementarian.org>
10219 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10222 * buffer.C: remove getIncludeonlyList()
10225 * lyxfunc.C: remove headers
10227 2002-09-09 Juergen Vigna <jug@sad.it>
10229 * text.C (getColumnNearX): fix form Michael this is most
10230 probably a cut&paste bug.
10232 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10234 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10236 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10237 references, ws changes.
10239 * text2.C (init): update counters after init
10240 (insertParagraph): no need to set counter on idividual paragraphs.
10241 (setCounter): access the counters object in the textclass object
10242 on in the buffer object.
10243 (updateCounters): ditto
10245 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10246 shared_ptr<Counters> to avoid loading counters.h in all
10248 (LyXTextClass): initialize ctrs_
10249 (TextClassTags): add TC_COUNTER, and ...
10250 (Read): use it here.
10251 (CounterTags): new tags
10252 (readCounter): new function
10253 (counters): new funtion
10254 (defaultLayoutName): return a const reference
10256 * counters.C (Counters): remove contructor
10257 (newCounter): remove a couple of unneeded statements.
10258 (newCounter): simplify a bit.
10259 (numberLabel): some small formatting changes.
10261 * buffer.[Ch]: remove all traces of counters, move the Counters
10262 object to the LyXTextClass.
10264 2002-09-06 Alain Castera <castera@in2p3.fr>
10266 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10267 package to set the horizontal alignment on fixed width columns.
10270 * lyx_sty.h: added tabularnewline macro def.
10272 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10274 2002-09-06 John Levon <levon@movementarian.org>
10276 * LyXAction.C: tooltips for sub/superscript
10278 * MenuBackend.C: a bit more verbose
10280 * lyxfunc.C: tiny clean
10282 * undo_funcs.C: document undo_frozen
10284 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10286 * counters.C (Counters): add missing algorithm counter.
10288 * text2.C (setCounter): lookup the counter with layouts latexname
10289 instead of by section number.
10290 (setCounter): use a hackish way to lookup the correct enum
10292 a float name->type change
10293 reset enum couners with counter name directly instead of depth value.
10295 * counters.C (Counters): remove the push_backs, change to use the
10296 float type not the float name.
10297 (labelItem): remove unused string, float name->type change
10299 * counters.h: don't include vector, loose the enums and sects vectors
10301 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10303 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10304 (Read): add float->TC_FLOAT to textclassTags
10305 (Read): and handle it in the switch
10306 (readFloat): new function
10308 * FloatList.C (FloatList): comment out the hardcoded float
10311 * lyxlayout.h: ws change.
10313 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10315 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10317 2002-09-03 Angus Leeming <leeming@lyx.org>
10319 * BufferView_pimpl.h: qualified name is not allowed in member
10320 declaration: WorkArea & Pimpl::workarea() const;
10322 * factory.C: added using std::endl directive.
10324 * text3.C: added using std::find and std::vector directives.
10326 2002-08-29 André Pönitz <poenitz@gmx.net>
10329 * text2.C: remove unused member number_of_rows
10332 * BufferView2.C: remove file, move contents to...
10333 * BufferView.C: ... here
10335 * BufferView_pimpl.C:
10336 * factory.C: move more inset creation to factory
10338 * vspace.C: avoid direct usage of LyXText, ws changes
10341 don't provide direct access to WorkArea, use two simple
10342 acessors haveSelction() and workHeight() instead
10345 2002-08-29 John Levon <levon@movementarian.org>
10347 * BufferView_pimpl.C (dispatch): do not continue when
10350 2002-08-28 André Pönitz <poenitz@gmx.net>
10352 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10355 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10357 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10359 * buffer.C: increment LYX_FORMAT to 221
10361 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10362 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10364 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10366 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10368 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * factory.C (createInset): use LyXTextClass::floats
10372 * MenuBackend.C (expandFloatListInsert):
10373 (expandFloatInsert):
10376 * text2.C (setCounter):
10378 * LaTeXFeatures.C (useFloat):
10379 (getFloatDefinitions):
10381 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10383 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10384 floatlist_, with accessor floats().
10386 * FloatList.h: remove global FloatList
10388 2002-08-26 André Pönitz <poenitz@gmx.net>
10390 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10394 * BufferView_pimpl.C:
10395 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10397 2002-08-25 John Levon <levon@movementarian.org>
10399 * LyXAction.C: fix margin note description
10401 2002-08-24 John Levon <levon@movementarian.org>
10405 * bufferview_funcs.C:
10407 * undo_funcs.C: cleanups
10409 * lyxfunc.C: disable CUT/COPY when no selection
10411 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10413 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10414 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10416 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10417 Add backward compatibility to "mono", "gray" and "no".
10419 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10421 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10422 (and file_format >= 200).
10424 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10428 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10430 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10432 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10434 * BufferView_pimpl.C:
10441 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10442 inset and code to make it work with the paragraph code. The inset
10443 can be anywhere in the paragraph, but will only do the expected
10444 thing in LaTeX if the layout file contains the parameter line
10446 (or more generally, a nonzero value) for that layout.
10448 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10450 * paragraph.h: remove the declaration of undefined counters class
10453 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10455 * text2.C (setCounter): fixed enumeration mis-count as reported by
10456 Dr. Richard Hawkins.
10458 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * paragraph_funcs.h: remove some unneeded includes
10462 * text.C (backspace): pasteParagraph now in global scipe
10464 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10465 (pasteSelection): ditto
10467 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10468 * paragraph_funcs.C (pasteParagraph): ... here
10470 2002-08-20 André Pönitz <poenitz@gmx.net>
10472 * commandtags.h: new LFUNs for swapping/copying table row/colums
10475 * lyxfunc.C: support for new lfuns
10477 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10480 * buffer.[Ch]: remove NO_COMPABILITY stuff
10482 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10484 * boost.C (throw_exception): new file, with helper function for
10485 boost compiled without exceptions.
10490 * ParameterStruct.h:
10491 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10493 * bufferlist.C (emergencyWriteAll): use boost bind
10495 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10497 * text.C: include paragraph_funcs.h
10498 (breakParagraph): breakParagraph is now in global scope
10500 * paragraph_funcs.[Ch]: new files
10502 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10505 * buffer.C: include paragraph_funcs.h
10506 (insertStringAsLines): breakParagraph is now in global scope
10508 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10511 * CutAndPaste.C: include paragraph_funcs.h
10512 (cutSelection): breakParagraphConservative is now in global scope
10513 (pasteSelection): ditto
10515 * buffer.h: declare oprator== and operator!= for
10516 Buffer::inset_iterator
10518 * bufferlist.C (emergencyWrite): don't use fmt(...)
10520 * text3.C: add using std::endl
10522 * BufferView.C (moveCursorUpdate): remove default arg
10524 2002-08-20 André Pönitz <poenitz@gmx.net>
10526 * buffer.[Ch]: move inline functions to .C
10529 * BufferView_pimpl.C:
10531 * buffer.[Ch]: use improved inset_iterator
10534 * paragraph.[Ch]: write one paragraph at a time
10536 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10538 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10539 style if style is not specified.
10541 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10543 * text2.C (setCounter): when searching for right label for a
10544 caption, make sure to recurse to parent insets (so that a caption
10545 in a minipage in a figure float works) (bug #568)
10547 2002-08-20 André Pönitz <poenitz@gmx.net>
10549 * text3.C: new file for LyXText::dispatch() and helpers
10551 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10553 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10555 2002-08-19 André Pönitz <poenitz@gmx.net>
10558 * text.C: new LyXText::dispatch()
10560 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10562 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10564 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10566 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10569 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10571 * Makefile.am: use $(variables) instead of @substitutions@
10573 2002-08-15 André Pönitz <poenitz@gmx.net>
10576 * BufferView_pimpl.C: streamlining mathed <-> outer world
10580 * LyXAction.C: remove unused LFUN_MATH
10582 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10584 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10586 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10588 * paragraph.C (Paragraph): reformat a bit
10589 (cutIntoMinibuffer): use builtin InsetList function instad of
10593 * buffer.C: include boost/bind.hpp, add using std::for_each
10594 (writeFileAscii): use ParagraphList iterators
10595 (validate): use for_each for validate traversal of paragraphs
10596 (getBibkeyList): use ParagraphList iterators
10597 (resizeInsets): use for_each to resizeInsetsLyXText for all
10599 (getParFromID): use ParagraphList iterators
10601 * BufferView2.C (lockInset): use paragraph list and iterators
10603 2002-08-14 John Levon <levon@movementarian.org>
10605 * lyxserver.C: remove spurious xforms include
10607 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10611 2002-08-13 André Pönitz <poenitz@gmx.net>
10614 * lyxfunc.C: further cleaning
10616 2002-08-13 André Pönitz <poenitz@gmx.net>
10618 * funcrequest.h: new constructor
10620 * funcrequest.C: move stuff here from .h
10623 * BufferView_pimpl.C:
10626 * lyxfunc.C: subsequent changes
10628 * lyxfunc.h: new view() member function
10630 * lyxfunc.C: subsequent changes
10632 2002-08-13 Angus Leeming <leeming@lyx.org>
10635 * BufferView_pimpl.C:
10643 changes due to the changed LyXView interface that now returns references
10644 to member variables not pointers.
10646 2002-08-13 Angus Leeming <leeming@lyx.org>
10648 * WordLangTuple (word, lang_code): return references to strings,
10653 * lyxtext.h: forward-declare WordLangTuple.
10658 * text.C: #include "WordLangTuple.h".
10661 * text.C: (selectNextWordToSpellcheck): constify return type.
10663 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10669 * paragraph_pimpl.h:
10672 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10673 suggested by Angus.
10674 Made updateCounter always count from start of buffer, and removed
10675 second argument (par).
10676 Reverted floats number display to '#'. Perhaps I'll try again when the
10677 code base is sanitized a bit.
10679 2002-08-12 Angus Leeming <leeming@lyx.org>
10681 * buffer.[Ch] (getLabelList): constify.
10683 2002-08-07 André Pönitz <poenitz@gmx.net>
10685 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10687 * funcrequest.h: extension to keep mouse (x,y) position
10689 2002-08-12 Juergen Vigna <jug@sad.it>
10691 * BufferView2.C (insertErrors): forbid undo when inserting error
10694 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10696 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10698 * ParagraphList.[Ch]: new files
10700 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10702 * BufferView2.C (lockInset): ParagraphList changes
10705 * bufferlist.C: ditto
10709 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10711 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10712 unused class variable counter_,
10714 * paragraph.[Ch] (getFirstCounter): delete unused function
10716 * counters.C: include LAssert.h
10717 (reset): add a new function with no arg, change other version to
10718 not have def. arg and to not allow empty arg.
10720 * text2.C (setCounter): remove empty arg from call to Counters::reset
10722 2002-08-11 John Levon <levon@movementarian.org>
10724 * Makefile.am: add WordLangTuple.h
10726 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10728 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10729 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10731 * insets/insettext.C: InsetList changes
10733 * graphics/GraphicsSupport.C (operator()): InsetList changes
10735 * toc.C (getTocList): InsetList changes
10737 * paragraph_pimpl.[Ch]: InsetList changes
10739 * paragraph.[Ch]: InsetList changes
10741 * buffer.C (inset_iterator): InsetList changes
10742 (setParagraph): ditto
10743 * buffer.h (inset_iterator): ditto
10744 * iterators.C (operator++): ditto
10745 * iterators.h: ditto
10747 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10749 * InsetList.[Ch]: new files, most InsetList handling moved out of
10752 * BufferView2.C (removeAutoInsets): InsetList changes
10754 (ChangeInsets): ditto
10756 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10758 * paragraph_pimpl.h (empty): new function
10760 * paragraph.[Ch] (empty): new function
10762 * other files: use the new Paragraph::empty function
10764 2002-08-09 John Levon <levon@movementarian.org>
10766 * lyxtext.h: remove unused refresh_height
10768 2002-08-09 John Levon <levon@movementarian.org>
10775 * paragraph.C: move sgml char escaping out of paragraph
10778 * paragraph.C: remove id setter
10782 * paragraph_pimpl.C: remove dead tex_code_break_column
10784 * bufferview_funcs.C: small cleanup
10786 * lyxfunc.C: remove dead proto
10788 * lyxtext.h: make some stuff private. Remove some dead stuff.
10790 * lyxgluelength.C: make as[LyX]String() readable
10792 2002-08-08 John Levon <levon@movementarian.org>
10797 * ToolbarDefaults.C:
10800 * toc.C: lyxaction cleanup
10802 2002-08-08 John Levon <levon@movementarian.org>
10804 * BufferView2.C: small cleanup
10807 * lyxfind.C: move unnecessary header into the .C
10809 2002-08-08 John Levon <levon@movementarian.org>
10811 * funcrequest.h: just tedious nonsense
10814 * lyx_main.C: cleanups
10817 * vspace.C: remove dead header lyx_main.h
10819 2002-08-07 Angus Leeming <leeming@lyx.org>
10822 * paragraph_pimpl.h:
10823 Forward declare class Counters in paragraph.h by moving the ctrs member
10824 variable into Paragraph::Pimpl.
10825 (counters): new method, returning a reference to pimpl_->ctrs.
10827 * text2.C: ensuing changes.
10829 2002-08-07 John Levon <levon@movementarian.org>
10831 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10833 * BufferView_pimpl.C: announce X selection on double/triple
10836 * lyx_main.C: use correct bool in batch dispatch
10838 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10840 2002-08-07 André Pönitz <poenitz@gmx.net>
10842 * funcrequest.h: new class to wrap a kb_action and its argument
10845 * BufferView_pimpl[Ch]:
10849 * lyxrc.C: subsequent changes
10852 2002-08-07 John Levon <levon@movementarian.org>
10854 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10855 document options change.
10857 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10862 * makefile.am: move counters functionality over from
10863 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10865 2002-08-06 John Levon <levon@movementarian.org>
10867 * WordLangTuple.h: new file for word + language code tuple
10878 * BufferView2.C: use WordLangTuple
10881 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10883 2002-08-06 John Levon <levon@movementarian.org>
10885 * lyx_main.C: fix cmdline batch handling
10887 2002-08-06 André Pönitz <poenitz@gmx.net>
10889 * lyxrc.C: set default for show_banner to true
10891 2002-08-06 John Levon <levon@movementarian.org>
10893 * pspell.C: fix a crash, and allow new aspell to work
10895 2002-08-06 John Levon <levon@movementarian.org>
10898 * kbmap.C: small cleanup
10901 * vspace.C: add const
10903 2002-08-05 John Levon <levon@movementarian.org>
10905 * LyXAction.C: back to tabular-insert
10907 2002-08-04 John Levon <levon@movementarian.org>
10910 * BufferView.C: cosmetic change
10912 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10922 * BufferView2.C: purge all "Lyx" not "LyX" strings
10925 * lyxcursor.C: attempt to add some documentation
10930 * ToolbarDefaults.C:
10931 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10932 merge with LFUN_TABULAR_INSERT
10939 * pspell.C: split up i/pspell implementations into separate
10940 files, many cleanups
10942 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10944 * text2.C: some cleanup
10946 * lyxfunc.C: don't check for isp_command == "none" any more, it
10947 didn't make any sense
10949 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10954 * makefile.am: move counters functionality over
10955 from text2.C/paragraph.[Ch] to counters.[Ch], and
10957 2002-08-02 John Levon <levon@movementarian.org>
10959 * buffer.C: s/lyxconvert/lyx2lyx/
10961 2002-08-02 Angus Leeming <leeming@lyx.org>
10963 * lyxlex.C: revert John's change as it breaks reading of the user
10966 2002-08-02 Angus Leeming <leeming@lyx.org>
10968 * importer.C (Import):
10969 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10970 changes due to LyXView::view() now returning a boost::shared_ptr.
10972 2002-08-02 John Levon <levon@movementarian.org>
10974 * lyxlex.C: small cleanup
10976 2002-08-02 John Levon <levon@movementarian.org>
10978 * text2.C (status): small cleanup, no logic change
10980 2002-08-01 John Levon <levon@movementarian.org>
10983 * buffer.C (writeFile): don't output alerts, caller
10987 * lyx_cb.C: from above
10989 * lyxfunc.C: allow to open non-existent files
10991 2002-07-31 John Levon <levon@movementarian.org>
10993 * lyxserver.C: don't let incidental errors get
10996 2002-07-30 John Levon <levon@movementarian.org>
10998 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11000 2002-07-30 John Levon <levon@movementarian.org>
11003 * lyxserver.C: remove I/O callback too
11005 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11007 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11010 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11012 * many files: strip,frontStrip -> trim,ltrim,rtrim
11014 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11016 * PrinterParams.h: remove extern containsOnly, and include
11017 support/lstrings.h instead.
11019 * LaTeX.C (scanAuxFile): modify because of strip changes
11021 * buffer.C (makeLaTeXFile): ditto
11022 * bufferparams.C (writeFile): ditt
11023 * lyxfont.C (stateText): ditto
11024 * lyxserver.C (read_ready): ditto
11025 * vc-backend.C (scanMaster): ditto
11027 * BufferView_pimpl.h: ws changes
11029 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11031 2002-07-26 André Pönitz <poenitz@gmx.net>
11033 * kb_sequence.C: remove unnedred usings
11035 2002-07-26 Juergen Vigna <jug@sad.it>
11037 * lyxfind.C (LyXReplace): we have to check better if the returned
11038 text is not of theLockingInset()->getLockingInset().
11040 2002-07-25 Juergen Vigna <jug@sad.it>
11042 * lyxfind.C (LyXReplace): don't replace if we don't get the
11045 * undo_funcs.C (createUndo): remove debugging code.
11047 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11049 * buffer.C (parseSingleLyXformat2Token): Use default placement
11050 when reading old floats.
11052 * FloatList.C (FloatList): Change the default placement of figure
11053 and tables to "tbp".
11055 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11057 * MenuBackend.C: using std::max
11059 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * MenuBackend.C (expandToc):
11062 (expandToc2): code moved from xforms menu frontend. It is now
11063 generic and TOCs are transparent to menu frontends.
11065 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11067 * toc.C (getTocList): protect against buf=0
11069 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11070 Menu as first parameter. Now, this calls itself recursively to
11071 expand a whole tree (this will be useful for TOC handling)
11072 (expandFloatInsert): remove 'wide' version of floats
11074 * MenuBackend.h (submenuname): returns the name of the submenu.
11075 (submenu): returns the submenu itself, provided it has been
11076 created by MenuBackend::expand
11078 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11080 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11081 insets which have noFontChange == true. (bug #172)
11083 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11085 * BufferView_pimpl.C: add connection objects and use them...
11088 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11090 * MenuBackend.C (expandLastfiles):
11093 (expandFloatListInsert):
11094 (expandFloatInsert):
11095 (expand): split expand in parts
11097 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11099 * lyx_gui.C: use lyx_gui::exit()
11101 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11103 * LyXAction.C: show the failing pseudo action
11105 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11107 * buffer.C (readFile): Run the lyxconvert script in order to read
11110 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11114 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11116 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11120 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11122 2002-07-22 Herbert Voss <voss@lyx.org>
11125 * lyxlength.[Ch]: add support for the vertical lengths
11127 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11129 * toc.[Ch]: std:: fixes
11131 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11133 * lyxrc.C: do not include lyx_main.h
11135 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11141 * BufferView2.C: include "lyxlex.h"
11144 * bufferparams.h: do not #include "lyxlex.h"
11146 * lyxtextclasslist.C (Add): remove method
11147 (classlist): renamed to classlist_
11149 * paragraph_pimpl.C:
11153 * bufferview_funcs.C:
11158 * toc.C (getTocList): use BufferParams::getLyXTextClass
11160 * toc.C (getTocList): use InsetFloat::addToToc
11162 * toc.[Ch]: new files, containing helper functions to handle table
11165 * lyxfunc.C (dispatch): no need to remove spaces around command
11167 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11168 first command of the sequence; it is not very clever, but I do not
11169 have a better idea, actually
11171 * LyXAction.C (LookupFunc): make sure to remove space at the
11172 beginning and end of the command
11174 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * MenuBackend.C (getMenubar): new method: return the menubar of
11178 (read): treat differently reading of menu and menubar (in
11179 particular, the menubar has no name now)
11180 (Menu::menubar): remove
11182 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11185 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11187 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11188 a bibitem inset in a RTL paragraph.
11190 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11192 * paragraph_pimpl.C: constify
11194 * BufferView_pimpl.C:
11196 * lyxfunc.C: fix dispatch in a nicer way
11198 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11200 * lyxfunc.C (dispatch):
11201 * BufferView_pimpl.C:
11202 * BufferView_pimpl.h:
11204 * BufferView.h: rename Dispatch() to dispatch()
11206 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11208 * lyxlayout.C (Read): honor DependsOn tag
11210 * lyxlayout.[Ch] (depends_on): new method
11212 * version.C.in: update lyx_docversion
11214 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11216 * paragraph.C (validate): remove from here...
11217 * paragraph_pimpl.C (validate): ... and move here
11218 (isTextAt): make it const
11220 * buffer.C (getLists): ws cleanup
11222 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11224 * language.C (read): Use iso8859-1 encoding in latex_lang
11225 (this prevents LyX from crashing when using iso10646-1 encoding).
11227 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11229 * text2.C (toggleInset): if cursor is inside an inset, close the
11230 inset and leave cursor _after_ it
11232 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11234 * lyxfunc.C: move minibuffer completion handling out of here
11236 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11238 * BufferView_pimpl.C:
11239 * LaTeX.C: fix dispatch calls
11241 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11243 * text.C (drawChars): Fix Arabic text rendering.
11245 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11249 * lyxfunc.C: remove message-push/pop
11253 * lyxfunc.C: rationalise some code by removing verboseDispatch
11254 in favour of a bool argument to dispatch()
11256 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11258 * lyx_main.C (init): make sure to read symlinks as absolute paths
11260 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11263 * lyxfunc.C: no need for commandshortcut to be a member
11265 2002-07-15 André Pönitz <poenitz@gmx.net>
11267 * converter.C: add support for $$s (scripts from lib/scripts dir)
11268 * lyx_main.C: white space
11270 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11274 * lyxrc.C: remove second exit confirmation
11276 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11281 * BufferView_pimpl.h:
11282 * BufferView_pimpl.C:
11283 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11285 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * MenuBackend.C (expand): add numeric shortcuts to document menu
11289 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11291 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * lyxfont.C (setLyXFamily):
11300 * buffer.C (asciiParagraph): use ascii_lowercase
11302 2002-07-15 Mike Fabian <mfabian@suse.de>
11304 * lyxlex_pimpl.C (search_kw):
11305 * lyxlex.C (getLongString):
11306 * converter.h (operator<):
11307 * converter.C (operator<):
11308 * buffer.C (parseSingleLyXformat2Token):
11310 * ToolbarDefaults.C (read):
11311 * MenuBackend.C (checkShortcuts):
11313 * LColor.C (getFromGUIName):
11314 (getFromLyXName): use the compare_ascii_no_case instead of
11315 compare_no_case, because in turkish, 'i' is not the lowercase
11316 version of 'I', and thus turkish locale breaks parsing of tags.
11318 2002-07-16 Angus Leeming <leeming@lyx.org>
11320 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11321 now takes a Buffer const & argument.
11323 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11325 * BufferView.C (resize): check there's a buffer to resize
11327 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11329 * lyxfunc.C: remove dead code
11332 * lyxserver.C: use lyx_guii::set_read_callback
11334 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11336 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11337 an inset in a RTL paragraph.
11339 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11341 * lyxfunc.C: repaint after a font size update
11343 2002-07-15 André Pönitz <poenitz@gmx.net>
11345 * lyxlength.C: inBP should be able to return negative values
11347 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11349 * lyxfunc.C: use lyx_gui::update_fonts()
11351 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11353 * lyxfunc.C: use lyx_gui::update_color()
11355 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11361 * lyxrc.C: remove file->new asks for name option, and let
11362 buffer-new take an argument
11364 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11366 * BufferView_pimpl.C: remove unneeded extra repaint()
11368 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11370 * LyXAction.C: allow command-sequence with NoBuffer
11372 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11374 2002-07-10 Angus Leeming <leeming@lyx.org>
11376 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11378 2002-07-09 Angus Leeming <leeming@lyx.org>
11380 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11382 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11384 * lengthcommon.h: whitespace
11386 * lyxfunc.C: update scrollbar after goto paragraph
11388 * lyxtext.h: factor out page break drawing, and fix it so
11389 page break/added space paints as selected nicely
11391 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11393 * BufferView_pimpl.C: add FIXMEs, clean up a little
11395 2002-07-09 André Pönitz <poenitz@gmx.net>
11397 * lyxfont.[Ch]: support for wasy symbols
11399 2002-07-08 André Pönitz <poenitz@gmx.net>
11401 * BufferView_pimpl.C: apply John's patch for #93.
11403 2002-07-05 Angus Leeming <leeming@lyx.org>
11405 * BufferView_pimpl.C (buffer): generate previews if desired.
11407 * LColor.h: add "preview" to the color enum.
11409 * LColor.C (LColor): add a corresponding entry to the items array.
11411 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11414 2002-07-05 Angus Leeming <leeming@lyx.org>
11416 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11417 The body of the code is now in the method that is passed an ostream &
11418 rather than a file name.
11419 Pass an additional only_preamble parameter, useful for the forthcoming
11422 2002-07-03 André Pönitz <poenitz@gmx.net>
11424 * lyxfunc.C: simplify getStatus() a bit for math stuff
11426 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11430 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11432 * text.C (changeRegionCase): do not change case of all the
11433 document when region ends at paragraph end (bug #461)
11435 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11437 * paragraph.C (startTeXParParams):
11438 (endTeXParParams): add \protect when necessary
11440 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * BufferView_pimpl.C (workAreaExpose): remove warning
11444 2002-06-27 Angus Leeming <leeming@lyx.org>
11446 * Makefile.am: add lyxlayout_ptr_fwd.h.
11448 2002-06-26 André Pönitz <poenitz@gmx.net>
11450 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11452 2002-06-25 Angus Leeming <leeming@lyx.org>
11454 * lyxfunc.C (dispatch): Comment out the call to
11455 grfx::GCache::changeDisplay. The method no longer exists now that the
11456 pixmap generation part of the graphics loader has been moved into
11459 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11461 * text2.C: layout as layout
11463 * text.C: layout as layout
11465 * tabular.C (OldFormatRead): layout as layout
11467 * paragraph_pimpl.C (TeXDeeper): layout as layout
11468 (realizeFont): layout as layout
11470 * paragraph.C (writeFile): layout as layout
11471 (validate): layout as layout
11472 (getFont): layout as layout
11473 (getLabelFont): layout as layout
11474 (getLayoutFont): layout as layout
11475 (breakParagraph): layout as layout
11476 (stripLeadingSpaces): layout as layout
11477 (getEndLabel): layout as layout
11478 (getMaxDepthAfter): layout as layout
11479 (applyLayout): layout as layout
11480 (TeXOnePar): layout as layout
11481 (simpleTeXOnePar): layout as layout
11482 (TeXEnvironment): layout as layout
11483 (layout): layout as layout
11484 (layout): layout as layout
11486 * lyxtextclass.C (compare_name): new functor to work with
11487 shared_ptr, layout as layout
11488 (Read): layout as layout
11489 (hasLayout): layout as layout
11490 (operator): layout as layout
11491 (delete_layout): layout as layout
11492 (defaultLayout): layout as layout
11494 * lyxlayout_ptr_fwd.h: new file
11496 * lyxlayout.C (Read): layout as layout
11498 * lyx_cb.C (MenuInsertLabel): layout as layout
11500 * bufferlist.C (newFile): layout as layout
11502 * buffer.C (readLyXformat2): layout as layout
11503 (parseSingleLyXformat2Token): layout as layout
11504 (insertStringAsLines): layout as layout
11505 (asciiParagraph): layout as layout
11506 (latexParagraphs): layout as layout
11507 (makeLinuxDocFile): layout as layout
11508 (simpleLinuxDocOnePar): layout as layout
11509 (makeDocBookFile): layout as layout
11510 (simpleDocBookOnePar): layout as layout
11511 (getLists): layout as layout
11513 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11515 * CutAndPaste.C (cutSelection): layout as layout
11516 (pasteSelection): layout as layout
11517 (SwitchLayoutsBetweenClasses): layout as layout
11519 * BufferView_pimpl.C (Dispatch): layout as layout
11520 (smartQuote): layout as layout
11522 * BufferView2.C (unlockInset): layout as layout
11524 2002-06-24 André Pönitz <poenitz@gmx.net>
11526 * lyxfunc.C: fix #487
11528 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11532 * lyxfunc.C: remove display_shortcuts, show_banner
11534 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11536 * Buffer_pimpl.C: oops, update on resize
11538 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11545 * BufferView.C: use repaint()
11547 * BufferView_pimpl.h:
11548 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11549 as it's a clearer description. Remove superfluous
11552 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11554 * text.C: fix bug 488. Not ideal, but getting
11555 getWord() to work properly for the insets that
11556 matter is more difficult ...
11558 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11560 * BufferView_pimpl.C:
11563 * lyxfunc.C: remove the six million index lyxfuncs to just
11564 one, and DTRT (bug 458)
11566 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11570 * BufferView_pimpl.h:
11571 * BufferView_pimpl.C: clean up resize() stuff,
11572 and unnecessary updateScreen()s
11574 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11578 * BufferView_pimpl.h:
11579 * BufferView_pimpl.C:
11582 * minibuffer.C: remove focus management of workarea,
11583 not needed. Use screen's greyOut()
11585 2002-06-17 Herbert Voss <voss@lyx.org>
11587 * converter.C: (convert) do not post a message, when converting
11588 fails, let the calling function decide what to do in this case
11590 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11592 * lyxfunc.C: tidy up a little
11594 2002-06-16 <alstrup@diku.dk>
11596 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11597 Got rid of FORMS_H_LOCATION include. Now we are
11600 2002-06-15 LyX Development team <lyx@rilke>
11602 * buffer.[Ch] (sgmlOpenTag):
11603 (sgmlCloseTag): Added support for avoiding pernicious mixed
11604 content. Return number of lines written.
11606 (makeLinuxDocFile):
11607 (makeDocBookFile): Fixed calls to sgml*Tag.
11608 Simple white space clean.
11610 (simpleDocBookOnePar): Simple white space clean.
11612 * tabular.[Ch] (docBook): Renamed to docbook and got another
11613 argument to related with the pernicious mixed content.
11615 (docbookRow): Fixed calls for docbook inset method.
11617 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11619 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11620 so it's X11 independent.
11624 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11626 2002-06-15 Lyx Development team <lyx@electronia>
11628 * intl.h: Renamed getTrans to getTransManager.
11630 2002-06-14 Angus Leeming <leeming@lyx.org>
11632 * Makefile.am: nuke forgotten stl_string_fwd.h.
11634 2002-06-12 Angus Leeming <leeming@lyx.org>
11636 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11638 2002-06-13 Angus Leeming <leeming@lyx.org>
11641 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11643 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11645 * kbmap.C (getiso): add support for cyrillic and greek
11647 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11651 * BufferView_pimpl.h:
11652 * BufferView_pimpl.C: move bogus scrolling logic
11655 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11658 * BufferView_pimpl.C: view->resize() change
11660 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11662 * BufferView_pimpl.C: topCursorVisible
11665 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11669 * lyx_gui.C: move to frontends/
11673 * lyx_main.C: changes from above
11675 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11682 * lyx_main.C: minor tidy
11684 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11686 * BufferView_pimpl.h:
11687 * BufferView_pimpl.C:
11689 * BufferView.C: make painter() const,
11692 * BufferView2.C: use screen() accessor
11695 * lyx_main.C: some minor cleanup
11697 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11699 * BufferView_pimpl.h:
11700 * BufferView_pimpl.C: remove enter/leaveView,
11703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11708 * BufferView_pimpl.h:
11709 * BufferView_pimpl.C: only construct screen once,
11712 * lyxrc.C: remove pointless comment
11714 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11717 * BufferView.C: remove active() and belowMouse()
11719 * BufferView_pimpl.h:
11720 * BufferView_pimpl.C: use workarea() not workarea_,
11721 and make it use a scoped_ptr instead
11723 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11725 * lyx_gui.C: add debug message on BadWindow
11727 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11729 * sp_spell.C: fdopen is not part of the C++ standard.
11731 * paragraph.C (InsetIterator): use >= instead of ==
11733 2002-06-07 Angus Leeming <leeming@lyx.org>
11735 Fixes needed to compile with Compaq cxx 6.5.
11736 * BufferView_pimpl.C:
11743 * lyxtextclasslist.C:
11748 all c-library variables have been moved into namespace std. Wrap
11749 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11754 Add a using std::abs declaration.
11756 * kbmap.h (modifier_pair):
11757 * paragraph.h (InsetTable, InsetList):
11758 * lyxfont.h (FontBits):
11759 type definition made public.
11761 * bufferlist.C (emergencyWriteAll): the compiler complains that
11762 there is more than one possible lyx::class_fun template to choose from.
11763 I re-named the void specialisation as lyx::void_class_fun.
11765 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11767 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11768 the compiler is is unable to find tostr in write_attribute.
11770 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11772 * buffer.C (sgmlError): hide #warning
11774 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11776 * xtl/*: get rid of xtl, which is not in use anyway
11778 * LyXAction.C (init):
11779 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11780 were unimplemented xtl experimentation
11782 2002-06-04 André Pönitz <poenitz@gmx.net>
11784 * lyxfunc.C: disable array operation on simple formulae
11786 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11788 * converter.C: constify a bit
11790 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11792 * lyx_gui.C: check xforms version correctly
11794 2002-04-30 Herbert Voss <voss@lyx.org>
11796 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11799 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11801 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11802 attempt to register it with a VCS)
11804 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * lyx_main.C (init): honor variables LYX_DIR_13x and
11809 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11813 * lyx_main.C: fix a crash on bad command line,
11814 and give a useful exit status on error
11816 * lyxfunc.C (doImport): allow -i lyx to work
11818 2002-03-30 André Pönitz <poenitz@gmx.net>
11820 * lyxfunc.C: mathed font changes
11822 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11837 * trans_mgr.h: srcdocs, and some minor cleanups
11839 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11841 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11842 call getFont all the time)
11844 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11846 * switch from SigC signals to boost::signals
11848 2002-05-29 André Pönitz <poenitz@gmx.net>
11850 * paragraph_pimpl.C (getChar): don't call size() too often...
11852 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * paragraph_pimpl.C (insertChar): do not try to update tables when
11855 appending (pos == size())
11857 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11858 in order to reduce drastically the number of comparisons needed to
11859 parse a large document
11861 2002-05-29 André Pönitz <poenitz@gmx.net>
11867 * textclasslist.[Ch]:
11868 * sp_ispell.h: whitespace change
11870 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11872 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11873 lyxaction directly now.
11875 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11879 * lyxvc.C: remove unused headers
11881 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11888 * undo_funcs.C: some cleanups. Use shared_ptr
11889 and a template for the undo stacks.
11891 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11893 * BufferView_pimpl.h:
11894 * BufferView_pimpl.C:
11901 * text2.C: use key_state/mouse_state
11903 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11905 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11908 * chset.C: change include order
11909 (loadFile): use boost regex and get rid of LRegex and LSubstring
11911 * Makefile.am (BOOST_LIBS): new variable
11912 (lyx_LDADD): use it
11914 * LaTeX.C: change include order.
11915 (scanAuxFile): use boost regex and get rid of LRegex and
11919 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11924 * FontInfo.C: moved to frontends/xforms/
11927 * FontLoader.C: moved into frontends for GUIIzation
11932 * lyxfunc.C: changes from above
11934 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11936 * LColor.C: remove spurious X include
11938 * BufferView_pimpl.C:
11943 * text2.C: move font metrics to frontends/
11945 2002-05-24 Juergen Vigna <jug@sad.it>
11947 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11948 setting the undo_cursor.
11950 * ParagraphParameters.h: include local includes first.
11952 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11954 * BufferView_pimpl.C:
11955 * BufferView_pimpl.h:
11959 * screen.C: move WorkArea into frontends/
11965 * BufferView2.C: move LyXScreen into frontends/
11969 * lyx_gui.C: move lyxlookup into frontends/xforms/
11971 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11974 * BufferView_pimpl.C:
11984 * bufferview_funcs.C:
11997 * vc-backend.C: move LyX/XFormsView into frontends/
11999 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12011 * text2.C: move Painter to frontends/
12013 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12015 * buffer.C: comment out some some code that depend upon lyx_format
12018 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12019 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12021 * buffer.h (NO_COMPABILITY): turn off compability
12023 * ColorHandler.C: include scoped_array.hpp
12025 * font.C: Use more specific smart_ptr header.
12028 * ShareContainer.h: ditto
12029 * lyx_main.h: ditto
12031 * FontInfo.h: ditto
12032 * BufferView_pimpl.h: ditto
12033 * ColorHandler.h: ditto
12035 * kbmap.C (defkey): change call to shared_ptr::reset
12037 2002-05-21 Juergen Vigna <jug@sad.it>
12039 * buffer.C (insertErtContents): fix to insert ert asis if it is
12040 non empty. Skip it completely if it contains only whitespaces.
12042 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12044 * BufferView_pimpl.C:
12045 * BufferView2.C: clear selection on paste (bug 393)
12047 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * DepTable.C: include ctime
12051 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12053 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12055 2002-05-14 Juergen Vigna <jug@sad.it>
12057 * text.C (breakParagraph): fixed function to honor the keepempty
12058 layout in the right maner and also to permit the right breaking
12059 algorithm on empty or non empyt keepempty paragraphs.
12061 * paragraph.C (breakParagraph): we have to check also if the par
12062 is really empty (!size()) for isempty otherwise we do the wrong
12065 2002-05-10 Juergen Vigna <jug@sad.it>
12067 * buffer.[Ch] : The following are only changes to the ert
12068 compatibility read reading old LaTeX layout and font stuff and
12069 convert it to ERTInsets.
12071 * buffer.h: added isErtInset().
12073 * buffer.C (struct ErtComp): add a fromlayout bool to check
12074 if we're inside a LaTeX layout.
12075 (isErtInset): new helper function.
12076 (insertErtContents): look for other ert insets before this one
12077 and insert the contents there, so that we don't have subsequent
12078 ERT insets with nothing between them. This way we create only one
12079 inset with multiple paragraphs. Also check if we don't insert only
12080 spaces ' ' as they are ignored anyway afterwards in the .tex file
12081 so if we have only spaces we will ignore this latex part in the
12083 (parseSingleLyXformat2Token \\layout): better compatibility when
12084 reading layout-latex stuff.
12085 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12087 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12088 stuff after reading the inset only get the information back from
12091 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12093 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12095 * LaTeXFeatures.C (getBabelOptions): New method.
12097 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * BufferView_pimpl.C (Dispatch): work around missing argument for
12102 2002-05-08 Juergen Vigna <jug@sad.it>
12104 * text.C (leftMargin): handle paragraph leftindent.
12106 * paragraph.C (writeFile): write the new \\leftindent tag.
12107 (validate): handle leftindent code.
12108 (TeXEnvironment): handle paragraphleftindent code again.
12110 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12112 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12113 for paragrap_extra indent code and new token \\leftindent.
12114 (latexParagraphs): handle the leftindent as environment.
12116 * ParameterStruct.h: added leftindent support.
12118 * ParagraphParameters.C (leftIndent): added support functions for
12119 the paragraph left indent.
12121 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12124 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12126 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12129 * text.C (computeBidiTables): No bidi in insetERT.
12131 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12134 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * version.C.in: pre 5
12138 2002-05-02 José Matos <jamatos@fep.up.pt>
12139 * buffer.C (makeDocBookFile): white space changes, add newline to
12141 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12143 * tabular.C (docBook): fix typo.
12145 2002-05-03 Juergen Vigna <jug@sad.it>
12147 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12148 change in LyXText as we can not be sure it was not freed.
12149 (drawOneRow): remove unused code.
12151 * text.C (drawInset): redo the calculation of the need_break_row as
12152 it could have a row which was already freed.
12153 (draw): look at the return value of drawInset and return false if
12154 it also returned false.
12155 (paintRowText): look at the return value of draw and return false if
12156 it also returned false.
12158 * lyxtext.h: added bool return type to drawInset() and draw() so that
12159 if we have a change in the row so that the rowbreak has to be redone
12160 we abort drawing as it will be called again.
12162 2002-05-02 Juergen Vigna <jug@sad.it>
12164 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12165 a change in the maintext also if we're inside an inset.
12166 (Dispatch): set the cursor again after a break line and after the
12167 screen has been updated as it could be we're in a different row.
12169 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12170 to set the cursor behind the pargraph with > size().
12171 (setCursor): check also for the same paragraph when checking where
12172 to put the cursor if we have a NFR inset.
12174 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12175 parts of layout read further up as it still was in the wrong
12178 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * screen.C (drawFromTo): change sine fullRebreak always return
12183 * buffer.C (parseSingleLyXformat2Token): reindent some
12185 * BufferView_pimpl.C (update): change since fullRebreak always
12187 (Dispatch): git rid of the last hardcoded "Standard"s.
12189 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * text2.[Ch] (fullRebreak): make it return void now that we always
12194 2002-04-30 Juergen Vigna <jug@sad.it>
12196 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12197 ert compatibility check for "latex" layout.
12199 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12201 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12202 minipages: use col% instead of p%, and also use the current font.
12203 (makeLaTeXFile): Fix use babel condition.
12204 (parseSingleLyXformat2Token): Correct font when reading old floats.
12206 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12208 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12209 inserting list of floats.
12211 2002-04-25 Herbert Voss <voss@lyx.org>
12213 * MenuBackend.C (expand): don't add the graphics extensions to the
12216 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12218 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12219 non-existing layout, do not complain if it was the default layout
12220 of the original class (bug #342)
12222 2002-04-24 Juergen Vigna <jug@sad.it>
12224 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12225 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12227 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12229 * buffer.C (getBibkeyList): If using \bibliography, return the
12230 option field with the reference itself. Enables us to provide natbib
12231 support when using \bibliography.
12233 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12235 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12237 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12238 natbib is provided by the LaTeX class.
12240 2002-04-23 Juergen Vigna <jug@sad.it>
12242 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12245 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12247 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12249 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12251 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12252 ensuremath around textordmasculine, textordfeminine and
12255 2002-04-19 Juergen Vigna <jug@sad.it>
12257 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12258 reinitializing the buffer otherwise row-dimensions may be wrong.
12259 (update): reset also the selection cursors if they do exits otherwise
12260 their x/y positions may be wrong.
12262 * text2.C (cursorDown): don't enter the inset if we came from a row
12263 above and are one row over the inset.
12265 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12266 really leaving an inset.
12268 2002-04-18 Juergen Vigna <jug@sad.it>
12270 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12271 of the selected paragraph does not have the selected layout also if
12274 * text2.C (setLayout): fixed bug which did not change last selected
12277 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12278 changed the read and substituted \\end_float with \\end_inset!
12280 * BufferView_pimpl.C (cursorPrevious):
12281 (cursorNext): fixed to make it work with rows heigher than the work
12282 area without moving the cursor only the draw of the row.
12283 (workAreaMotionNotify): fix jumping over high rows.
12285 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12290 2002-04-16 Juergen Vigna <jug@sad.it>
12292 * text2.C (setCursor): set also the irow().
12293 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12295 (cursorDown): support for locking an inset if the x_fix value goes
12296 inside it. That way I can transverse insets too with cursor up/down.
12298 * lyxrow.h: added irow helper function same as other (i) functions.
12300 * BufferView_pimpl.C (cursorPrevious):
12301 (cursorNext): fixed for insets!
12303 2002-04-15 Juergen Vigna <jug@sad.it>
12305 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12306 position otherwise it is wrong in some cases.
12308 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12309 inside the inset before the call.
12311 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12313 * buffer.[Ch] (getBibkeyList): make it const.
12315 2002-04-12 Juergen Vigna <jug@sad.it>
12317 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12319 * text2.C (getCursorX): new helper function
12320 (setCursor): compute also ix_
12321 (setCursorFromCoordinates): set also ix.
12323 * lyxcursor.h: added ix_ and helper functions.
12325 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12327 * buffer.C (insertStringAsLines): dont break paragraph if the this
12328 paragraph is inside an inset which does not permit it!
12330 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12331 also with no chars on this paragraph.
12332 (paintRowText): only paint stuff if it's inside the workarea!
12334 * paragraph.C (breakParagraph): honor keepempty flag and break the
12335 paragraph always below not above.
12337 * BufferView2.C (unlockInset): update the paragraph layout on inset
12338 unlock as we changed paragraph in such a case.
12340 * lyxfind.C (LyXFind): clear the former selection if not found!
12342 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12343 again called in insertChar().
12345 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12346 an inset which uses the whole row!
12347 (rightMargin): ditto.
12348 (insertChar): force a rebreak if we inserted an inset!
12350 2002-03-28 Herbert Voss <voss@lyx.org>
12352 * lyxlength.[Ch]: add inBP() to get the right PS-point
12353 units (BigPoint). With inPixels we have rounding errors
12355 2002-04-11 Juergen Vigna <jug@sad.it>
12357 * text2.C (setCursorFromCoordinates): set iy to the right value.
12358 (setCursor): add check if row->previous exists!
12360 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12361 an old float_type as this was the case in the old code!
12363 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12365 * BufferView2.C (showLockedInsetCursor): use iy
12366 (fitLockedInsetCursor): ditto
12368 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12369 locked insets as there we have the right value now.
12371 * lyxcursor.C: added iy_ variable and iy functions to set to the
12372 baseline of cursor-y of the locked inset.
12374 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12375 (setCursor): fixed for insets which need a full row.
12377 * text.C (rowLastPrintable): don't ignore the last space when before
12378 an inset which needs a full row.
12379 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12380 as last character of a row when before a inset which needs a full row.
12382 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12384 * version.C.in: update date
12386 * text2.C (fullRebreak): try to always return true and see what
12389 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12391 * MenuBackend.C (expand): use Floating::listName
12393 * FloatList.C (FloatList): add listName argument to the built-in
12396 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12397 text associated with the float.
12399 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12401 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12403 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * ShareContainer.h: add a couple of missing typenames.
12407 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12409 * lyxrc.C (getDescription): use _() correctly rather than N_().
12411 2002-03-28 Herbert Voss <voss@lyx.org>
12413 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12414 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12416 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12418 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12419 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12421 2002-03-29 Juergen Vigna <jug@sad.it>
12423 * lyxfunc.C (dispatch): add a missing fitCursor call.
12425 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12426 it was scrolled by a cursor move, so return the bool status.
12428 * BufferView.C (fitCursor): return the bool flag also to the outside
12429 world as this is needed.
12431 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12433 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12434 call the edit() as it is not needed (and wrong) IMO.
12435 (workAreaButtonPress): set the screen_first variable before evt.
12436 unlock the inset as this may change screen_first and then we have
12437 a wrong y position for the click!
12439 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12441 * MenuBackend.C (expand): another translation that I missed
12443 2002-03-28 Juergen Vigna <jug@sad.it>
12445 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12447 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12449 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12451 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12453 * MenuBackend.C (expand): fix export/view/update when there is no
12456 2002-03-27 Herbert Voss <voss@lyx.org>
12458 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12461 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * bufferview_funcs.C (currentState): only show paragraph number
12464 for is DEVEL_VERSION is set.
12466 * lyxfunc.C (dispatch): put warning in INFO channel
12468 * MenuBackend.C (expand): translate the name of floats
12470 * FloatList.C (FloatList): mark the float names for translation
12472 * converter.C (convert): use LibScriptSearch
12474 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12476 * MenuBackend.C (defaults): fix default menu (we might as well get
12479 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12484 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12486 * lyxvc.C: reorder includes.
12488 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12490 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12493 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12495 * CutAndPaste.C: change layouts earlier on paste
12496 to avoid crashing when calling getFont()
12498 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12500 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12503 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * WorkArea.C: remove 'Pending' debug message.
12507 * most files: ws cleanup
12509 * buffer.[Ch]: ws changes
12511 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12513 2002-03-21 Juergen Vigna <jug@sad.it>
12515 * tabular.C (SetMultiColumn): collapse also the contents of the
12516 cells and set the last border right. Added a Buffer const * param.
12518 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12523 2002-03-19 Juergen Vigna <jug@sad.it>
12525 * text2.C (clearSelection): reset also xsel_cache.
12527 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12528 where it needs to be called (John tells us to do so too :)
12529 (selectionLost): reset sel_cache.
12531 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12533 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12535 * text2.C (setCursorIntern): put debuging code in INSETS channel
12537 2002-03-19 André Pönitz <poenitz@gmx.net>
12539 * lyxfunc.C: tiny whitespace change
12541 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12543 * ToolbarDefaults.C (init):
12544 * LyXAction.C (init):
12546 * BufferView_pimpl.C (Dispatch):
12547 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12549 2002-03-19 Allan Rae <rae@lyx.org>
12551 * exporter.C (Export): removeAutoInsets before doing anything else.
12552 While I've just introduced a dependency on BufferView this really is
12553 the best place to clean the buffer otherwise you need to cleanup in
12554 a dozen places before calling export or cleanup in a dozen functions
12557 * converter.C (runLaTeX):
12558 (scanLog): Better handling of removeAutoInsets and screen updates.
12560 * lyxfunc.C (dispatch): small whitespace changes
12562 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12564 * WorkArea.C (C_WorkAreaEvent): return a value.
12565 (event_cb): return 1 if we handled the event, 0 otherwise.
12567 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12569 2002-03-18 Juergen Vigna <jug@sad.it>
12571 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12572 (GetAdditionalWidth): ditto.
12573 (RightLine): ditto.
12576 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12577 inset if we're there actually (probably not used right now but this
12578 is the direction to go for unifying code).
12579 (paste): disable code to clear the selection.
12581 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12582 inside an InsetText and move the check further up as it is in the
12585 * text2.C (pasteSelection): set a selection over the pasted text.
12587 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12589 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12590 and libgraphics to build on Cygwin.
12592 2002-03-15 Juergen Vigna <jug@sad.it>
12594 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12595 inserting an Inset into the paragraph. I know this is not the best
12596 fix but we already use current_view in CutAndPaste so we will remove
12597 all of it's using at the same time.
12599 * buffer.C (sgmlError): deactivated function till it is rewritten in
12600 the right mode, now it can create problems.
12602 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12603 before accessing it.
12605 2002-03-14 Juergen Vigna <jug@sad.it>
12607 * undo_funcs.C (textHandleUndo): do the right thing when updating
12608 the inset after the undo/redo.
12610 * text2.C (setCursor): just some testcode for #44 not ready yet.
12612 * undo_funcs.C (textHandleUndo): set the next() and previous()
12613 pointers of the paragraph to 0 before deleting otherwise we have
12614 problems with the Paragraph::[destructor].
12616 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12617 on a paragraph insertion.
12619 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * buffer.C (asciiParagraph): use += operator for char append to
12624 * paragraph.C (getFontSettings): compare >= not just >
12625 (highestFontInRange): ditto
12628 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12630 * paragraph.C: change several algorithm to be more appripriate for
12631 the problem domain. This is lookip in FontList and in the InsetList.
12633 2002-03-13 André Pönitz <poenitz@gmx.net>
12636 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12638 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12643 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12645 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * Painter.C (display): anon helper function, adjust code for this
12649 (pixmap): remove function.
12651 * Painter.h: remove private display variable.
12653 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12655 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12657 * WorkArea.[Ch]: remove figinset_canvas cruft.
12659 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * lyxtextclass.C (operator): add one item cache optimization.
12663 * bufferlist.h: doxy changes
12665 * bufferlist.C: ws changes
12667 * DepTable.[Ch] (ext_exist): place const in the right spot.
12669 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12671 (workAreaExpose): call resizeInsets when the with BufferView changes.
12672 (Dispatch): adjust for protectedBlank removal
12673 (specialChar): call updateInset if the insert went ok.
12675 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12676 specialChar instead.
12678 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12680 * BufferView.h: doxy change
12682 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12684 * lyxtextclass.C (operator[]): remove non-const version
12685 (defaultLayout): remove non-const version
12687 2002-03-12 Juergen Vigna <jug@sad.it>
12689 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12690 did resize the LyXText too.
12692 * buffer.C (readLyXformat2): set layout information on newly allocated
12695 * tabular.C (OldFormatRead): set layout information on the paragraph.
12697 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12699 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12701 2002-03-11 Juergen Vigna <jug@sad.it>
12703 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12705 (resizeCurrentBuffer): force also the insets to resize themselfes.
12706 (moveCursorUpdate): fixed up for InsetText.
12708 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12711 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12712 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12713 value of Dialogs::tooltipsEnabled().
12714 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12716 2002-03-08 Juergen Vigna <jug@sad.it>
12718 * BufferView_pimpl.C (updateInset): update inset inside inset also
12719 if it isn't inside theLockingInset().
12721 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * buffer.C (asciiParagraph): redo some of the word and line length
12725 (getLists): look for Caption instead of caption.
12727 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12729 * buffer.C (Buffer): initialize niceFile to true
12731 (makeLinuxDocFile):
12732 (makeDocBookFile): make sure niceFile is true on exit
12734 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12736 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12738 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12740 * LyXSendto.C: remove.
12741 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12742 * lyx_gui.C: remove now-redundant comment.
12743 * ColorHandler.h: remove forward declaration of class WorkArea.
12744 * lyxfunc.C: remove #include "WorkArea.h".
12746 2002-03-07 Juergen Vigna <jug@sad.it>
12748 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12749 got moved away with the DEPM and also set the inset_owner always
12750 right which before could have been omitted.
12752 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12755 wanted layout is not found.
12757 2002-03-07 Juergen Vigna <jug@sad.it>
12759 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12761 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12763 * paragraph.C (breakParagraph): use default layout not layout of
12765 (Paragraph): clear ParagraphParameters.
12767 2002-03-06 Juergen Vigna <jug@sad.it>
12769 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12770 otherwise it would not be a valid lenght. Fixed a special case in
12771 the minipage compatibility read where we end the document with a
12774 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12775 was set as it could be 0 for InsetTexts first entry.
12777 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * paragraph.C (writeFile): if layout is empty write out
12780 defaultLayoutName().
12782 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12783 file without named layout we set layout to defaultLayoutName().
12785 2002-03-06 Juergen Vigna <jug@sad.it>
12787 * CutAndPaste.C (copySelection): set layout for new paragraph.
12789 * text.C (prepareToPrint): leave ERT inset left aligned
12790 (leftMargin): don't indent paragraphs inside ERT insets
12792 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * paragraph.C (breakParagraph): dont call clear do the work manually
12796 * paragraph.[Ch] (clear): remove function
12798 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * paragraph.C (Paragraph): dont call clear, the work has already
12803 * lyxtextclass.C (operator): assert if n is empty
12805 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12806 work manually instead.
12808 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12810 * BufferView_pimpl.C: protect selectionLost against text == 0
12812 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * text.C (breakParagraph): fix a setting layout to '0' problem.
12816 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12818 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12819 final location of file, for the included files, and graphics.
12821 2002-03-05 Juergen Vigna <jug@sad.it>
12823 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12825 2002-03-04 Juergen Vigna <jug@sad.it>
12827 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12829 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12830 last column of multicolumn cells.
12831 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12833 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12835 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12836 file if it doesn't go to a temporary file.
12838 * buffer.C (sgmlOpenTag):
12839 (sgmlCloseTag): remove extra newline insertion.
12841 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * text.C (getRowNearY): comment out debug msg
12845 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12847 * text2.C: first -> first_y
12849 * text.C (getRowNearY): add some attemts at a possible
12850 optimization, not working.
12852 * tabular.[Ch]: add BufferParams to several function so that newly
12853 created paragraph can be initialized to he default layotu for the
12856 * tabular-old.C (ReadOld): add buf->params to call of Init
12858 * screen.C: rename text->first to text->first_y
12860 * paragraph.C (breakParagraph): always set layout in the broken
12863 * lyxtextclass.C (Read): remove lowercase
12866 (delete_layout): ditto
12868 * lyxtext.h: rename first -> first_y
12870 * lyxlayout.C (Read): remove lowercase
12873 (obsoleted_by): ditto
12875 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12877 * buffer.C (insertErtContents): add params are to InsetERT
12878 (parseSingleLyXformat2Token): add code to check if a paragraphs
12879 layout really exist.
12880 (parseSingleLyXformat2Token): add params to several inset
12882 (asciiParagraph): remove lowercase, do the layout comparisons with
12885 * BufferView_pimpl.C (cursorNext): first -> first_y
12886 (resizeCurrentBuffer): first -> first_y
12887 (updateScrollbar): first -> first_y
12888 (scrollCB): first -> first_y
12889 (workAreaMotionNotify): first -> first_y
12890 (workAreaButtonPress): first -> first_y
12891 (checkInsetHit): first -> first_y
12892 (cursorPrevious): first -> first_y
12893 (cursorNext): first -> first_y
12894 (Dispatch): add buffer_->params to severl inset contructors
12896 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * lyxlayout.C (Read): remove some debug info that I forgot.
12900 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12901 clean up the code slightly.
12902 (makeLinuxDocFile): ditto
12903 (makeDocBookFile): ditto
12905 * text2.C: layout as string
12907 * text.C: layout as string
12909 * paragraph_pimpl.C: layout as string
12911 * paragraph.[Ch]: layout as string
12913 * lyxtextclasslist.[Ch]: layout as string
12915 * lyxtextclass.[Ch]: layout as string
12917 * lyxtext.h: layout as string
12919 * lyxlayout.[Ch]: layout as string
12921 * lyx_cb.C: layout as string
12923 * bufferview_funcs.C: layout as string
12925 * bufferparams.C: layout as string
12927 * buffer.C: layout as string
12929 * LyXView.[Ch]: layout as string
12931 * LaTeXFeatures.[Ch]: layout as string
12933 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12935 * BufferView_pimpl.C: change current_layout to string, remove
12940 (workAreaButtonRelease): layout as string
12942 * BufferView2.C (unlockInset): adjust
12944 * vspace.C (asLatexCommand): use an explict temp variable.
12946 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12948 * Makefile.am: use FRONTEND_*
12950 2002-03-01 Juergen Vigna <jug@sad.it>
12952 * tabular.C (SetWidthOfMulticolCell): changed to something better
12953 I hope but still work in progress.
12954 (recalculateMulticolumnsOfColumn): renamed function from
12955 recalculateMulticolCells as it is more appropriate now.
12956 (SetWidthOfCell): calculate multicols better.
12958 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12960 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12962 * lyxfunc.C (processKeySym): print sequence also if it is
12963 `deleted' (complete)
12965 * kbsequence.C (print): print sequence even if it is deleted
12966 (complete would be a better word, actually).
12968 * lyxfunc.C (dispatch): print complete options after a prefix key
12970 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12972 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12974 * text2.C (setCharFont): eliminate setCharFont code duplication.
12976 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12978 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12979 LFUN_TABULAR_FEATURE (bug #177)
12981 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12983 * Makefile.am: remove figure.h
12985 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12987 * Bufferview_pimpl.C:
12999 * text2.C: remove #include "lyx_gui_misc.h".
13001 * LaTeX.C: added #include <cstdio>
13003 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13005 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13006 that the paragraph following this one can have.
13008 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13010 * vspace.C (asLatexCommand): fix bogus gcc warning
13012 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13014 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13016 * text2.C (setLayout): get rid of redundant code
13018 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13020 * text2.C (incDepth): make sure depth cannot be increased beyond
13023 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13025 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13026 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13028 * PainterBase.h (image):
13029 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13030 a LyXImage const *.
13032 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13036 * BufferView_pimpl.C:
13037 * BufferView_pimpl.h:
13057 * sp_spell.C: remove fig inset, and the crap house of
13058 cards that follows it
13060 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13065 * os2_errortable.h:
13066 * nt_defines.h: move .h into support/
13068 * vms_defines.h: remove
13070 * WorkArea.C: add space in debug output
13074 * buffer.C: add WITH_WARNINGS
13078 * bufferlist.C: s/retrive/retrieve/, add docs
13087 * chset.C: add docs
13089 * lyxgui.C: add ID to X error handler
13091 * lyxtestclass.c: fix typo
13093 2002-02-26 Juergen Vigna <jug@sad.it>
13095 * tabular_funcs.C (write_attribute): changed so that some default
13096 attributes are not written at all.
13097 (getTokenValue): set default values before trying to read the
13098 value so we have the return value always set as default if we don't
13099 find the token we search for.
13101 * tabular.C (Write): write bools as bools not as strings!
13103 2002-02-22 Juergen Vigna <jug@sad.it>
13105 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13106 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13108 * text.C (leftMargin): don't add an indent for paragraphs inside
13109 tabular cells (fix #208).
13111 2002-02-21 José Matos <jamatos@fep.up.pt>
13113 * tabular.C (docBook): fixed support for long tables.
13115 2002-02-20 Juergen Vigna <jug@sad.it>
13117 * text2.C (getFont): get the drawing font of the Inset if this
13118 paragraph is inside an inset (only important for InsetERT for now).
13120 * buffer.C (insertErtContents): use new lanugage params in ERT
13123 * CutAndPaste.C: commenting out seemingly uneeded code.
13125 2002-02-19 Allan Rae <rae@lyx.org>
13127 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13128 Iterators might be simple to use but they also get invalidated.
13129 (removeAutoInsets): renamed saved cursor tracking variables and added
13130 some comments to clarify what everything does.
13132 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13139 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13140 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13143 * vc-backend.h: remove #include "support/syscall.h"
13147 * converter.C: rearrange #includes in Lars' approved fashion.
13149 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13150 forward declare class Timeout in the header file.
13152 * XFormsView.C: changes due to the above.
13154 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13155 similar to LyXView.
13157 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13158 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13160 2002-02-18 José Matos <jamatos@fep.up.pt>
13162 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13165 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13167 * a lot of small ws changes
13168 * add a lot of using std::XXX
13169 * use std construcs some places where approp.
13170 * use some exisint stuff from lyxfunctional where approp.
13171 * Make file changes to use partial linking (lets test this now...)
13173 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13177 remove #include "support/syscontr.h" as it's redundant. Always has been.
13185 change Systemcalls::System to Systemcalls::Wait and
13186 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13187 No change of functionality, just reflects the stripped down Systemcalls
13190 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13192 * debug.[Ch]: add a GRAPHICS type to the enum.
13194 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13196 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13198 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13201 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13203 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13204 match the changes below.
13206 * text2.C (toggleInset): if there is not editable inset at cursor
13207 position, try to see if cursor is _inside_ a collapsable inset
13210 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13212 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13213 document menu has a nice checkbox
13215 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13217 * lyxlength.C (asLatexString): change PW to output as percent of
13220 * lengthcommon.C: change '%' to 't%'
13222 * lyxfunc.C (dispatch): a few comments from Martin
13224 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13228 * BufferView_pimpl.h:
13229 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13232 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13234 * vspace.C (inPixels): fix compiler warning
13236 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13238 * lyxfunc.C (getStatus): fix status message for disabled commands.
13240 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13242 * BufferView_pimpl.C: fix crash on close buffer
13243 during selection (#227)
13245 2002-01-27 Herbert Voss <voss@lyx.org>
13247 * buffer.C: link old Figure to new graphic inset
13249 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13251 * FontLoader.C (getFontinfo): Change the latex font names in order
13252 to match the names of type1inst.
13254 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13258 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13259 (extchanged): ditto
13261 (remove_files_with_extension): ditto
13262 (remove_file): ditto
13265 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13266 document is smaller than the work area height. Do not initialize
13267 static variables to 0.
13269 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13271 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13273 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13274 LFUN_LAYOUT_PARAGRAPHS.
13276 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13277 tabular. It is possible to provide a possible cell, which will
13278 typically be the actcell from the corresponding insettabular
13280 * lyxfunc.C (getStatus): small cleanup; disable
13281 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13284 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13288 * paragraph.C (startTeXParParams):
13289 (endTeXParParams): new methods. The LaTeX code to
13290 start/end paragraph formatting
13291 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13292 empty (fixes bug #200)
13294 * vspace.C (inPixels): adapt to the change below
13295 (inPixels): [later] more cleanups (remove unused variables)
13297 * lyxlength.C (inPixels): change to use a width and a height as
13300 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13302 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13303 Replaced with \paperwidth
13305 * DepTable.C (insert): add std:: qualifier
13307 2002-01-18 Allan Rae <rae@lyx.org>
13309 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13312 * text.C (drawInset): Turned out I didn't know enough about how
13313 rebreaking worked. This fixes most of the redraw problems. I see
13314 an occasional cursor trail when a line is broken now and the cursor
13315 placement can seem out by a few pixels also after a rebreak.
13317 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13319 * buffer.C (parseSingleLyXformat2Token): update because minipage
13320 width is now a LyXLength
13322 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13324 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13327 2002-01-17 Juergen Vigna <jug@sad.it>
13329 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13331 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13332 is set correctly and the inset is updated correctly.
13334 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13336 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13337 the beginning of the loop.
13339 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13341 * lyxrc.C: improve help for use_scalable_fonts
13343 2002-01-17 Allan Rae <rae@lyx.org>
13345 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13347 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13349 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13350 make sure to set their inset_owner to the right value (bug #171)
13352 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13355 * DepTable.C: Implement mtime checking to reduce time spent doing
13358 2002-01-16 Juergen Vigna <jug@sad.it>
13360 * tabular.C (GetAdditionalHeight): one of error fixed.
13362 * lyxrc.C (output): small fix in writing use_pspell.
13364 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13366 * sp_base.h: #include LString.h
13368 2002-01-16 Allan Rae <rae@lyx.org>
13370 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13371 Can someone check this please?
13373 * text.C (drawInset): It was possible that p.row would be removed by
13374 breakAgainOneRow upsetting a few other settings. There may be another
13375 small tweak possible by setting need_break_row = 0 when p.row has been
13376 removed but I don't know enough about the logic here.
13378 2002-01-15 Allan Rae <rae@lyx.org>
13380 * text.C (insertChar): removed conditional truism.
13382 * BufferView2.C (removeAutoInsets): More tweaks.
13383 cur_par_prev could be a stray pointer. Check for trailing empty line
13384 in case last line was cur_par and only had an error inset on it.
13386 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13388 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13391 * vc-backend.C (most methods):
13392 * exporter.C (Export):
13393 * converter.C (convert):
13395 * LyXSendto.C (SendtoApplyCB):
13396 * lyxfunc.C (dispatch):
13400 * lyx_cb.C (AutoSave):
13402 * BufferView_pimpl.C (MenuInsertLyXFile):
13403 * buffer.C (runChktex): use Buffer::filePath().
13405 * buffer.h: rename filename to filename_; rename filepath to
13406 filepath_ and make it private
13407 (filePath): new method
13409 * buffer.C (writeFile): use fileName()
13412 * lyx_main.C (init): fix starting of LyX when the binary is a
13413 link from so,ewhere else.
13415 * minibuffer.C: include <cctype> for isprint
13417 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13419 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13420 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13421 name clash with InsetCollapsable's width function.
13423 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * lastfiles.C: include <iterator>
13427 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13429 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13432 * buffer.C (makeLaTeXFile): ditto.
13433 Also make loop operation more transparent.
13435 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13437 * ToolbarDefaults.C: remove trailing comma closing namespace.
13439 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13441 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13444 * trans.C (Load): comment out unused variable, allowed.
13446 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13448 * minibuffer.[Ch] (append_char): new method to recieve input from the
13449 drop-down completion browser. If a key was pressed, then recieve this
13450 char and append it to the existing string.
13451 (peek_event): modify the positioning data passed to the completion
13452 browser so that it can be placed above the minibuffer rather than below.
13453 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13455 * LyXAction.C (init): alloe error-next for readonly documents.
13457 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13460 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13462 * bufferlist.C (readFile): create the buffer _after_ checking that
13465 * lyxfunc.C (verboseDispatch): fix handling of arguments
13467 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13469 * lyxrc.C: use string::erase() instead of initializing to "".
13472 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13474 * BufferView_pimpl.h:
13475 * BufferView_pimpl.C:
13478 * text2.C: tell X when we have made a selection for copying
13480 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13482 * BufferView_pimpl.C (MenuInsertLyXFile):
13483 * lyxfunc.C (menuNew):
13485 (doImport): add shortcuts to directory buttons
13487 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13490 * lyxfunc.C (setStatusMessage):
13491 (getStatusMessage): new methods
13492 (getStatus):use setStatusMessage instead of setErrorMessage
13493 (dispatch): when function is disabled, set error message here
13494 [instead of in getStatus previously]
13496 * BufferView_pimpl.C (workAreaButtonRelease): update
13497 toolbar/menubar here too.
13499 2002-01-13 Allan Rae <rae@lyx.org>
13501 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13502 Now seems indestructible. Remaining task is to audit all other
13503 code affected by deleteEmptyParagraphMechanism. One small quirk
13504 left is that an empty document with an error in the preamble can
13505 be made to report an error but no error box appears. I don't know
13507 (removeAutoInsets): Improved comments.
13509 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13512 * Thesaurus.C: update for Aiksaurus 0.14
13514 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13516 * text2.C (firstParagraph): removed member function, all uses
13517 replaces with ownerParagraph
13518 (redoParagraphs): here
13519 (updateInset): here
13520 (toggleAppendix): here
13521 * BufferView2.C (insertErrors): here
13522 (setCursorFromRow): here
13524 2002-01-13 Allan Rae <rae@lyx.org>
13526 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13527 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13528 There is still a way to segfault this although you may have to do this
13529 multiple times: Have an InsetERT with an unknown command in it.
13530 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13531 <down-arrow>, <Enter> again, View->DVI, BANG!
13533 * text2.C (setCursor):
13534 (deleteEmptyParagraphMechanism):
13535 * lyxtext.h (setCursor):
13536 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13537 Making use of the return value may help fix other bugs.
13539 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13541 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13543 * LyXView.C (updateMenubar): call MenuBar::update here
13544 (updateToolbar): but not here
13545 (showState): do not update toolbar/menubar
13547 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13548 should need to care about that.
13550 * lyxfunc.C (verboseDispatch): simplify a bit
13551 (getStatus): have a version which takes a pseudoaction, and
13552 another which requires a (kb_action,string).
13554 * LyXAction.C (retrieveActionArg): make it work also when action
13555 is not a pseudo-action.
13556 (getActionName): simplify a bit
13559 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13561 * lyxfunc.C (verboseDispatch): new families of methods with
13562 several ways to specify a command and a bool to indicate whether
13563 the command name and shortcut should be displayed in minibuffer
13564 (eventually, we could extend that to a finer bitmask like
13565 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13566 (dispatch): the pristine dispatch command which just, well,
13567 dispatchs! Note it still sets its result to minibuffer; I'm not
13570 * lyxfunc.h: remove setHintMessage
13572 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13574 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13576 * BufferView_pimpl.C (specialChar): delete new inset if we have
13577 not been able to insert it.
13579 * kbmap.C: revert to using int instead of kb_action, since all we
13580 are dealing with is pseudo-actions.
13582 * LyXAction.C (searchActionArg): change to return int instead of
13583 kb_action, since the result is a pseudoaction.
13585 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13587 * buffer.C (insertErtContents): Fix (partially) the font bug.
13589 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13591 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13592 as the other one is broken on my machine!
13594 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13597 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13599 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13601 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13602 reflect their actual use. Provide compatibility code for older lyxrc
13605 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13607 change names of popup font variables in line with the changes to lyxrc.C
13609 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13611 * buffer.C (asciiParagraph): avoid outputing a word twice after
13614 * lyxrc.C (getDescription): document that document_path and
13615 template_path can be empty.
13617 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13619 * LaTeXFeatures.C (getMacros):
13620 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13622 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13624 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13626 (getPackages): rename feature "floats" to "float". Use an array to
13627 iterate over 'simple' features (i.e. just a \usepackage). Add
13628 handling of "amsmath" (renamed from "amsstyle").
13630 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13632 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13635 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13637 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13638 FuncStaus::FuncStatus & FuncStaus::some_method().
13640 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13642 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13643 of the func_satus stuff. Edited and massaged in various ways by
13646 * lyxfunc.C (getStatus): use FuncStatus
13648 2002-01-08 Juergen Vigna <jug@sad.it>
13650 * text.C (nextBreakPoint): use function Inset::isChar().
13652 * paragraph.C (TeXOnePar): use function
13653 Inset::forceDefaultParagraphs.
13655 * buffer.C (latexParagraphs): use function
13656 Inset::forceDefaultParagraphs.
13658 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13660 * lyx_gui.C (init): set the style of the menu popups to
13661 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13663 2002-01-07 Juergen Vigna <jug@sad.it>
13665 * text.C (setHeightOfRow): small fix
13666 (prepareToPrint): don't look at alignment if we don't have the place
13669 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13671 * box.C: New file. Move the Box methods and functions out of box.h,
13672 following Lars' suggestion.
13674 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13676 * box.h: #include "support/LOstream.h", needed for inlined function.
13679 * lyxtextclasslist.C: added some using std declarations.
13681 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13683 * box.h: make signed dimensions to allow insets wider than
13684 the screen (bug #162)
13686 * BufferView_pimpl.C: add some insetHit debug
13688 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13690 * vc-backend.C: add FIXME
13692 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13694 * lyxfunc.C (getStatus): enable code for showing math font status
13697 2002-01-07 Juergen Vigna <jug@sad.it>
13699 * text.C (nextBreakPoint): removed debug output not needed anymore.
13701 2002-01-06 Juergen Vigna <jug@sad.it>
13703 * text.C (nextBreakPoint): fixed up this function we had this bug
13704 since ever but now hopefully we break row better.
13705 (insertChar): we have to check if an inset is the next char as it
13706 could now happen that a large inset is causing a break.
13708 2002-01-05 Juergen Vigna <jug@sad.it>
13710 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13711 if it doesn't like to be drawed.
13713 2002-01-04 Juergen Vigna <jug@sad.it>
13715 * BufferView2.C (lockInset): forgot to set a cursor.
13717 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13719 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13721 * FormMathsPanel.C:
13724 * form_maths_panel.C:
13725 * form_maths_panel.h:
13726 * form_maths_panel.fd: implemented sub- and super- buttons in math
13729 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13730 (or ^ space) to be used as in TeX (req'd by André).
13732 * lyxfunc.C: Allow ^ and _ again to be used both as
13733 super/subscript (mathed) and as themselves (in text).
13735 2002-01-03 Allan Rae <rae@lyx.org>
13737 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13738 "LyX" or the filename of the current buffer if it has one. This is a
13739 modified form of John Levon's patch.
13741 * XFormsView.C (setWindowTitle): also set icon title.
13743 * LyXView.h (setWindowTitle): signature changed.
13744 * XFormsView.h (setWindowTitle): ditto.
13746 2002-01-02 Juergen Vigna <jug@sad.it>
13748 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13750 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13752 * screen.C (topCursorVisible): introduce a temp var for
13753 text->cursor.row(), handle the case where this row is null. (kindo
13756 * text2.C (setCursor): add a couple of asserts.
13758 * paragraph.h (inset_iterator): add -> operator
13760 * paragraph.[Ch] (autoDeleteInsets): remove member function
13762 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13763 cursor pos correctly and handle inset deletion by itself.
13764 (insertErrors): move iterator declaration out of for expression
13766 * lyxtextclass.C: add <algorithm>
13768 * Makefile.am: added the new files to sources, removed layout.C
13770 * layout.C: removed file
13772 * layout.h: remove LYX_DUMMY_LAYOUT
13774 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13778 * lyxtextclass.[Ch]:
13779 * lyxtextclasslist.[Ch]: new files
13781 * include order changes to a lot of files, also changes because of
13784 2001-12-27 Juergen Vigna <jug@sad.it>
13786 * buffer.C (asciiParagraph): more fixes.
13788 * tabular.C (ascii): make ascii export support export of only the
13789 data separated by a column-delimiter.
13790 (ascii): better support for ascii export.
13792 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13794 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13796 * tabular_funcs.C: use a "using std::getline" instead of the
13797 previous fix from Angus (necessary for cxx + lyxstring)
13799 2001-12-24 Juergen Vigna <jug@sad.it>
13801 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13803 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13804 problems. First check a minipage also if we have some ert-contents
13805 (not only on par->size(), second set the right depth of the paragraph
13806 on the relink to the root-paragraph-list!
13808 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13809 which then did not anymore update the main paragraphs on undo/redo!
13811 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13813 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13814 code. Support all font-changing funcs (even those which are not in
13815 menu currently). Support for reporting font settings in
13816 mathed (disabled until Andre provides a function on mathed's side).
13818 * func_status.h (toggle): small helper function to set toggle
13821 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13823 * tabular_funcs.C: getline -> std::getline
13825 2001-12-21 Juergen Vigna <jug@sad.it>
13827 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13828 accessed and could be 0 (I couldn't generate this but it seems
13831 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13834 * tabular_funcs.h: here and include iosfwd
13836 2001-12-20 Juergen Vigna <jug@sad.it>
13838 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13839 inside inset but undo_par was.
13841 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13843 * Thesaurus.C: always include <config.h> in sources.
13847 * box.h: do not include <config.h> in header files
13849 * text.C (paintLastRow): remove unused variable
13851 * text.C (transformChar):
13853 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13855 * Painter.C (text):
13856 * font.C (width): rewrite to use uppercase() instead of
13859 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13861 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13863 * lyxfind.C: clean up of find failure position change
13865 2001-12-20 Juergen Vigna <jug@sad.it>
13867 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13869 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13870 (TeXRow): added to LaTeX a single tabular row.
13871 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13872 (Latex): simplified and finally good LT-h/f support.
13873 (various_functions): just small adaptions for LT-h/f support.
13875 * tabular_funcs.[hC]: added and moved here all not classfunctions
13878 2001-12-19 Juergen Vigna <jug@sad.it>
13880 * tabular.[Ch]: better support for longtabular options (not finished
13883 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13885 * text.C (paintLastRow): use the label font instead of the font of
13886 the last character to compute the size of *_BOX. This makes more
13887 sense and avoids a crash with empty paragraphs.
13888 Use Painter::rectangle to draw EMPTY_BOX.
13890 2001-12-19 Juergen Vigna <jug@sad.it>
13892 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13893 the paragraphs if the replaced paragraph is not the first one!
13894 Tried to delete not used paragraphs but does not work yet so for
13895 now it's inside #ifdef's and by default off!
13897 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13899 * MenuBackend.C: include "lyx_main.h" instead of declaring
13900 lastfiles (actually was declared as LastFiles* instead of a
13903 2001-12-17 Juergen Vigna <jug@sad.it>
13905 * tabular.C (AppendColumn): applied John's fix
13907 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13911 * BufferView_pimpl.h:
13912 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13915 * box.h: new start of class for above
13917 * lyxfunc.C: ignore space-only minibuffer dispatches.
13918 Show the command name when it doesn't exist
13920 * minibuffer.C: don't add empty lines to the history
13922 * minibuffer.C: add a space on dropdown completion
13924 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13926 * text.C: fix line above/below drawing in insets
13928 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * lyxlength.C (LyXLength): Initialize private variables.
13932 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13934 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13935 when inserting error insets.
13937 2001-12-13 Juergen Vigna <jug@sad.it>
13939 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13940 actually sometimes the before-paragraph.
13941 (setUndo): don't clear the redostack if we're not actually undoing!
13943 2001-12-06 Juergen Vigna <jug@sad.it>
13945 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13946 and fixed redoing of main paragraph, so we can use it now ;)
13948 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13950 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13952 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13955 2001-12-13 André Pönitz <poenitz@gmx.net>
13958 * undo_func.C: minor cleanup
13960 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13962 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13963 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13964 font in urw-fonts package which is marked as -urw-fontspecific and
13965 does not work (incidentally, changing the encoding in the
13966 fonts.dir of this package to -adobe-fontspecific fixes the
13969 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13970 is a crash when undoing first paragraph (Juergen, please take a
13971 look). THis does not mean the undo fix is wrong, just that it
13974 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13975 the (Paragraph*) version when needed instead of duplicating the
13978 * text.C (workWidth): use Inset::parOwner to find out where the
13979 inset has been inserted. This is a huge performance gain for large
13980 documents with lots of insets. If Inset::parOwner is not set, fall
13981 back on the brute force method
13983 * paragraph_pimpl.C (insertInset):
13984 * paragraph.C (Paragraph):
13985 (cutIntoMinibuffer): set parOwner of insets when
13986 inserting/removing them
13988 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13990 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13996 * mathed/formulabase.C:
13997 * mathed/math_cursor.[Ch]:
13998 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14001 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14003 * lyxlength.[Ch] (operator!=): new function
14005 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14007 * text.C (workWidth): use Inset::parOwner to find out where the
14008 inset has been inserted. This is a huge performance gain for large
14009 documents with lots of insets. If Inset::parOwner is not set, fall
14010 back on the brute force method
14012 * paragraph_pimpl.C (insertInset):
14013 * paragraph.C (Paragraph):
14014 (cutIntoMinibuffer): set parOwner of insets when
14015 inserting/removing them
14017 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14019 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * tabular-old.C (getTokenValue):
14022 * tabular.C (getTokenValue):
14023 (write_attribute): new versions for LyXLength
14024 (everywhere): adjust the use of widths
14026 * tabular.h: change the type of widths from string to LyXLength
14028 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14030 * paragraph.C: fixed missing line number count when exporting
14031 Environments to LaTeX file
14033 * buffer.C: added informational message for checking line numbers.
14035 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14037 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14038 paragraph, do the 'double space' part, but not the 'empty
14041 * text.C (workWidth): small optimization
14042 (getLengthMarkerHeight): use minimal size for negative lengths.
14044 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14046 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14048 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14050 2001-12-11 André Pönitz <poenitz@gmx.net>
14053 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14055 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14057 * text2.C: keep selection on a setFont()
14059 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14061 * lyx_cb.C: another bv->text misuse, from insert label
14063 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14066 * kbsequence.C: re-instate nmodifier mask
14068 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14070 * lyx_main.h: make lyxGUI private.
14072 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14074 * lyxfind.C: place the cursor correctly on failed search
14076 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14078 * text.C (getLengthMarkerHeight): for small heights, the arrows
14079 are not always on top/bottom of the text
14080 (drawLengthMarker): smaller arrows; take the left margin in
14081 account; draw also vfills.
14083 (paintLastRow): remove special code for vfill and standard spaces,
14084 since everything is handled in drawLengthMarker now.
14086 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14088 * buffer.C (insertErtContents): try to handle font and language
14089 interaction a bit better.g
14091 * ColorHandler.C (updateColor): change the hash to cover the whole
14092 LColor enum, ws cleanup
14093 (getGCLinepars): ditto
14094 (getGCLinepars): only lookup in the linecache once.
14096 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14098 * iterators.C (operator++): Make the iterator more robust
14100 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14102 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14104 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14107 * text.C: better added space drawing
14109 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14112 * BufferView2.C: fix layout combo update on inset unlock
14114 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14116 * Makefile.am: don't compile unused files
14118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14122 * LyXAction.C: remove old LFUN_LAYOUTNO
14124 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14126 * paragraph_pimpl.h:
14127 * paragraph_pimpl.C: isTextAt() doesn't need font param
14129 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14132 * lyxlex.C: little cleanup
14134 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14136 * BufferView_pimpl.C: fix insertAscii for insets
14138 2001-12-05 Juergen Vigna <jug@sad.it>
14140 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14141 set the right font on the "multi" paragraph paste!
14143 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14149 * lyxlength.C: remove out-commented code.
14151 * BufferView_pimpl:
14165 * vc-backend.C: change "while(" to "while ("
14167 * lyxlength.[Ch]: add zero function to check if length is zero or
14169 * lyxgluelength.C: use it
14171 2001-12-05 Allan Rae <rae@lyx.org>
14173 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14174 Works for 2.95.3, from what I understand of Garst's reports this should
14175 work for other g++ versions. We're screwed if the abs(int) definition
14176 changed between bugfix releases of gcc.
14178 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14180 * text.C: fix chapter label offset !
14182 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14185 * text.C: fix hfill at end of line, clean up
14187 2001-12-04 Juergen Vigna <jug@sad.it>
14189 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14190 that we force an update of the inset and it's owners if neccessary.
14192 2001-12-03 Juergen Vigna <jug@sad.it>
14194 * text.C (rowLast): simplified code
14196 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14198 * lyxfunc.C: fix show options on timeout
14200 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14202 * screen.C (topCursorVisible): scroll half a page when the cursor
14203 reached top of bottom of screen
14205 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14207 * minibuffer.C: deactivate on loss of focus
14209 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * vspace.[Ch] (operator!=): add operator.
14213 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14215 * BufferView_pimpl.C: refuse to open an inset when
14216 there's a selection.
14218 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14220 * BufferView_pimpl.C: allow to click on RHS of full row insets
14222 2001-11-30 Juergen Vigna <jug@sad.it>
14224 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14225 insets for undo reasons.
14227 2001-11-28 André Pönitz <poenitz@gmx.net>
14229 * vspace.[Ch]: cosmetical changes
14231 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14241 * kbsequence.C: part re-write of old kb code
14244 * WorkArea.C: remove Lgb_bug_find_hack
14246 2001-11-30 José Matos <jamatos@fep.up.pt>
14248 * buffer.C (makeDocBookFile): add a comment to point a hack.
14249 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14250 Fixed a double write of labels.
14252 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14255 * LaTeX.h Fixed bug in LaTeX class where it would not
14256 re-run latex if no depfiles were changed, but the .dvi was removed.
14258 2001-11-28 André Pönitz <poenitz@gmx.net>
14260 * all the files from the change on 2001/11/26:
14261 use lyx::layout_type instead of LyXTextClass::size_type
14262 use lyx::textclass_type instead of LyXTextClassList::size_type
14264 2001-11-29 Juergen Vigna <jug@sad.it>
14266 * text.C: added support for paragraph::isFreeSpacing()
14268 * buffer.C: same as above
14270 * paragraph.h: inserted isFreeSpacing() function to enable
14271 FreeSpacing inside InsetERT.
14273 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14274 of the paragraph's in the cut/copy buffer to 0!
14276 * text2.C (removeRow): remove the assert as it can!
14278 * lyxtext.h: added helper function firstRow returning firstrow and
14279 made firstrow private again.
14281 * BufferView2.C (lockInset): don't relock if we're already locked!
14283 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14284 the only paragraph.
14285 (removeRow): added Assert::(firstrow)
14287 * debug.C: forgot to add INSETTEXT here.
14289 2001-11-28 Juergen Vigna <jug@sad.it>
14291 * sp_spell.C (initialize): changed error text to more general
14292 spellchecker command use (not only ispell!)
14294 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14296 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14298 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14300 * vspace.C: initialise lyxgluelength on failure
14302 2001-11-28 Allan Rae <rae@lyx.org>
14304 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14305 declaration & definition that looks like a function declaration.
14307 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14309 * BufferView2.C (copy):
14310 (copyEnvironment): do not clear the selection when doing a copy.
14312 * text.C (paintFirstRow): compilation fix
14314 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14316 * tabular.C (Latex): correct line count when writing latex.
14318 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14320 * paragraph_pimpl.h:
14321 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14324 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14328 * LColor.C: change vfillline->added_space
14330 * text.C: add markers and text for added space
14332 * vspace.C: fix comment
14334 2001-11-28 André Pönitz <poenitz@gmx.net>
14336 * paragraph.C: whitespace changes
14337 * all the other files from the change on 2001/11/26:
14338 change *::pos_type into lyx::pos_type
14340 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14342 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14343 language of the document when inserting error insets.
14345 2001-11-26 André Pönitz <poenitz@gmx.net>
14347 * BufferView_pimpl.[Ch]:
14355 * paragraph_pimpl.[Ch]:
14358 * text2.C: reduce header dependencies, introduce type for positions
14360 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14362 * <various>: change to use Alert.h
14364 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14366 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14367 when encountering an unknown token.
14368 (readLyXformat2): Show an error message if there were unknown tokens.
14370 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14373 * BufferView_pimpl.C:
14377 * text2.C: use par->isInset()
14379 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14381 * paragraph_pimpl.h:
14382 * paragraph_pimpl.C: cleanup
14384 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14386 * text2.C (removeRow):
14387 * text.C (setHeightOfRow): remove useless (and costly) call to
14390 2001-11-20 Allan Rae <rae@lyx.org>
14392 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14393 Now need Inset*::checkInsertChar() to return true for appropriate
14394 cases so that the characters in the minibuffer will actually be
14397 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14399 * text.C: change the order of the includes.
14400 (workWidth): initialize it at once.
14401 (workWidth): make maxw unsigned
14402 (setHeightOfRow): remove unused variable (inset)
14403 (selectSelectedWord): remove unused variable (inset)
14404 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14406 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14408 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14409 server is not running.
14411 (closeConnection): add debug info when server is disabled.
14413 * ColorHandler.C (getGCForeground): send debug message to GUI
14416 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14418 * kbmap.C (bind): modify because return conventions of
14419 kb_sequence::parse have changed.
14421 * kbsequence.C (parse): only ignore spaces and not any stupid
14422 control character. This avoids tests like s[i] <= ' ', which are
14423 guaranteed to fail with 8bit characters and signed chars.
14424 Change return code to string::npos when there have been no error
14425 (0 was a bad idea when error is at first character)
14427 2001-11-14 José Matos <jamatos@fep.up.pt>
14430 * buffer.C (simpleDocBookOnePar): removed unused argument.
14432 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14435 insets which are part of a word. Paragraph::isLetter takes care of
14436 that now. Use Paragraph::isInset to identify insets.
14437 (selectSelectedWord): do not test for hyphenation break.
14439 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14440 that protected spaces are considered as spaces.
14442 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14445 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14448 * lyxserver.C: fix it. and small cleanup.
14450 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14452 * BufferView_pimpl.C: use inline helpers
14455 * LaTeXFeatures.C: fix typos
14458 * Spacing.C: move spacing_string into class
14460 * ToolbarDefaults.C: move stuff into namespace anon
14462 * layout.h: update enum
14464 * lyxfunc.C: use better debug
14466 * minibuffer.h: fix typo
14470 * WorkArea.C: add and use Debug::WORKAREA
14474 * text2.C: code re-organisation, inline helpers
14476 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14478 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14479 std::vector.empty().
14481 2001-11-09 Allan Rae <rae@lyx.org>
14483 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14484 '\n's after tables. Tabular and ERT inset work now makes this no
14487 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14490 * minibuffer.C: fix crash, improve drop-down completion
14492 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14495 * lyxserver.C: invalidate fd's when doing endPipe()
14497 2001-11-08 José Matos <jamatos@fep.up.pt>
14499 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14500 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14503 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14505 2001-11-07 José Matos <jamatos@fep.up.pt>
14508 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14511 * buffer.C (sgmlOpenTag):
14512 * buffer.C (sgmlCloseTag): removed debug info.
14514 * buffer.h (sgmlOpenTag):
14515 * buffer.h (sgmlCloseTag): made public.
14517 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14519 * buffer.C (saveParamsAsDefaults):
14520 * lyx_cb.C (MenuLayoutSave): remove
14522 * LyXAction.C (init):
14524 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14526 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14528 * buffer.C (setPaperStuff): removed from here...
14530 * bufferparams.C (setPaperStuff): ... and moved there.
14532 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14536 * XFormsView.C: add support for drop-down completion
14538 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14540 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14543 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14545 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14548 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14550 * lyx_main.C: change ref to known bugs
14552 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14554 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14555 to work around older babel problems.
14557 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14559 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14561 2001-10-24 Juergen Vigna <jug@sad.it>
14563 * tabular-old.C (ReadOld): below variable changes reflected.
14565 * tabular.[Ch]: added ltType struct for longtable header/footer
14566 defines and changed all instances where they are used. Added
14567 future support for double top/bottom rows.
14569 2001-10-24 José Matos <jamatos@fep.up.pt>
14571 * buffer.h (docbookHandleCaption):
14572 * buffer.C (docbookHandleCaption): removed unused function.
14573 (makeDocBookFile): moved docbook supported version to v4.1.
14575 2001-10-24 José Matos <jamatos@fep.up.pt>
14578 * tabular.C (docbookRow): new function to export docbook code of a row.
14579 (DocBook): now honors the longtable flags.
14581 2001-10-23 José Matos <jamatos@fep.up.pt>
14584 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14585 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14587 * buffer.C (makeLinuxDocFile):
14588 (makeDocBookFile): reworked the preamble, more clean, and with
14589 support for lyx defined entities. Changed the document declaration
14590 to be more XML friendly.
14592 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14593 if we need to output XML that should be done with a filter.
14595 2001-10-22 Juergen Vigna <jug@sad.it>
14597 * sp_pspell.h (class PSpell): add alive function needed in the
14598 controller to see if the spellchecker could be started.
14600 2001-10-22 Juergen Vigna <jug@sad.it>
14602 * buffer.C (insertStringAsLines): modify the font for inserting
14603 chars in certain conditions by calling checkInsertChar(font).
14605 2001-10-19 Juergen Vigna <jug@sad.it>
14607 * text.C (workWidth): use getRow instead of wrong algorithm.
14608 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14610 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14615 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14617 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14619 * text.C (workWidth): do not search for the exact row when
14620 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14621 optimization for big documents.
14623 2001-10-18 Juergen Vigna <jug@sad.it>
14625 * text.C (workWidth): new function with added Inset * parameter.
14627 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14629 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14631 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14632 change return type of getColumnNearX.
14635 * text.C (changeRegionCase): use uppercase/lowercase instead of
14638 (rightMargin): simplify code by factoring out the uses of
14643 (appendParagraph): use Paragraph::size_type
14645 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14647 * vspace.C (asLatexString): add a missing break
14649 2001-10-15 Herbert Voss <voss@perce.de>
14651 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14653 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14655 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14658 2001-10-10 André Pönitz <poenitz@gmx.net>
14660 * lyxfunc.C: removed greek_kb_flag.
14662 2001-10-10 Herbert Voss <voss@perce.de>
14664 * lyx_main.C: delete global string help_lyxdir.
14666 2001-10-09 Herbert Voss <voss@perce.de>
14668 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14670 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14672 * lyx_main.C: added global string help_lyxdir.
14674 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14676 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14678 * lyxrc.C (set_font_norm_type): support iso8859-4
14680 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14682 * LaTeX.C (deplog): add another regex for MikTeX
14684 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14686 * lyxrc.C (set_font_norm_type): support iso8859-3
14688 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14690 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14692 * LaTeXFeatures.C: remove special case of french and index
14694 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14695 before \begin{document}). This solves several incompatibilities.
14697 2001-10-03 Garst Reese <reese@isn.net>
14699 * lyx_cb.C: change CheckTex error msg.
14701 2001-10-03 José Matos <jamatos@fep.up.pt>
14703 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14705 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * .cvsignore: update
14709 * lyx_main.C (commandLineVersionInfo): use new style version info.
14711 * buffer.C (writeFile):
14713 (makeLinuxDocFile):
14714 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14716 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14718 * version.h: update to use stuff in version.C
14720 * version.C.in: new file. Contains version information determined
14721 at compile time. This is a merging of version.h and
14724 2001-10-03 Juergen Vigna <jug@sad.it>
14726 * BufferView_pimpl.C (update): don't change "dirty" status in
14729 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14731 * WorkArea.C (c-tor): re-position version string slightly.
14733 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14735 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14736 revert to previous code.
14738 WorkArea.[Ch]: (show, destroySplash): methods removed.
14740 WorkArea.C: rework code so that it's an amalgam of the codes before and
14741 after the splash screen was moved to WorkArea.
14743 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * vspace.C (inPixels):
14749 * buffer.C (insertStringAsLines):
14750 (asciiParagraph): fix types to be large enough
14752 * lyxlex_pimpl.h: change member status from short to int
14754 * layout.h: fix type of endlabeltype
14757 * kbsequence.C (parse): change return type to string::size_type
14759 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14762 * Bullet.C (bulletSize):
14763 (bulletEntry): do not use short ints as parameters
14765 * BufferView2.C (insertLyXFile): change a char to an int.
14767 * WorkArea.C (WorkArea): remove unneeded floats in computation
14769 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14771 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14773 * paragraph.C (asString): Do not ignore newline/hfill chars when
14774 copying to the clipboard.
14776 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14778 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14779 after a multi-line inset.
14781 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14783 * paragraph.C (validate): Set NeedLyXFootnoteCode
14785 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14787 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14788 and decrease-error to decrease.
14790 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14793 it more readable (should be equivalent)
14795 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14797 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14799 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14801 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14802 of a cursor (row, etc.) after a character has been deleted
14803 (deleteEmptyParagraphMechanism): call the method above on _all_
14804 cursors held by the LyXText when a double space has been
14807 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14809 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14811 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14813 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14814 background. Use greyOut() and the new show() methods to toggle between
14815 the foreground and background. Add code to remove the splash after
14816 its initial showing.
14818 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14819 (create_forms): no longer call Dialogs::showSplash.
14821 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14823 * .cvsignore: add version_info.h
14825 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14827 * version_info.h.in: new file
14829 * Makefile.am: add version_info.h.in
14831 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14832 version_info.h instead of VERSION_INFO
14834 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14836 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14837 The ERT inset now returns string().
14839 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14841 * lyxtext.h, text.C (selectNextWord): renamed as
14842 selectNextWordToSpellcheck.
14844 * text.C (selectNextWordToSpellcheck): Modified to not select
14845 words inside an ERT inset.
14847 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * lyx_cb.C (MenuLayoutSave): change a bit the question
14851 * sp_base.h: include <sys/types.h>
14853 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14855 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14857 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14859 * several files: fix typos in user-visible strings
14861 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14863 * text2.C (pasteSelection): do not set the selection, since it
14864 will be cleared later. Actually, the intent was to fix the way the
14865 selection was set, but I figured rmoving the code was just as good.
14867 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14869 * FontLoader.C (available): Check if font is available without
14872 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14874 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14876 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14878 * lyxrc.[Ch]: added display_graphics variable and associated code.
14880 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14882 * bufferparams.C (hasClassDefaults): new method. Returns true if
14883 the buffer parameters correspond to known class defaults
14885 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14887 * XFormsView.C (show): set minimum size to the main window.
14889 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * text2.C (copySelection):
14893 * lyxfind.C (LyXReplace):
14894 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14895 LyXText::selectionAsString.
14897 * paragraph.C (asString): add "label" argument to the second form
14899 * text2.C (selectionAsString): add "label" argument and pass it to
14900 Paragraph::asString.
14902 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14904 * lyx_main.C (commandLineHelp): remove version information
14906 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14908 * lyx_main.C: add -version commandline option
14910 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14912 * paragraph.h: make the optional constructor arg required instead.
14913 some modifications to other files because of this.
14915 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14917 * lyxserver.C (C_LyXComm_callback): make it static
14919 * lyx_main.C (error_handler): make it static
14921 * lyx_gui.C (LyX_XErrHandler): make it static
14923 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14925 * WorkArea.C: make the extern "C" methods static.
14927 * Makefile.am (lyx_LDADD): simplify
14929 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14931 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14932 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14934 * LyXAction.C (init):
14935 * lyxfunc.C (dispatch): associated code removal.
14937 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * lyxfont.h (isSymbolFont): shut off warning
14941 * text.C (setHeightOfRow):
14942 (getVisibleRow): fix crash with empty paragraphs which have a
14945 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14947 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14950 2001-09-04 José Matos <jamatos@fep.up.pt>
14953 * tabular.C (docbook): rename docBook method to docbook.
14955 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14957 * Makefile.am: add dependencies to main.o.
14959 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14961 * FontLoader.C (available): Return false if !lyxrc.use_gui
14963 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14965 * FontInfo.C (query):
14966 * converter.C (view):
14967 * importer.C (Import):
14968 * exporter.C (Export): Can not -> cannot.
14970 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14972 * BufferView_pimpl.C: allow to create index inset even if
14975 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14977 * buffer.C (getLists): replace boost::tie code with an explicit pair
14978 as boost::tie can break some compilers.
14980 * iterators.h: Added a std:: declaration to the return type of
14983 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14985 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14988 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14990 * iterators.[Ch]: New files. Provide paragraph iterators.
14992 * buffer.C (changeLanguage): Use paragraph iterators.
14993 (isMultiLingual): ditto
14995 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14997 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14999 * FontLoader.C: Support for cmr font.
15001 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15003 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15004 (available): New method.
15006 * FontInfo.C (getFontname): Use scalable fonts even when
15007 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15010 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15012 * converter.C (Formats::view): reverted! Incorrect fix.
15014 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15016 * converter.C (Formats::view): only output the -paper option
15017 if the dvi viewer is xdvi, thereby fixing bug #233429.
15019 2001-08-23 Herbert Voss <voss@perce>
15021 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15023 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15025 * Spacing.h (Spacing): Set space to Default on in the default
15028 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15030 * vc-backend.h (RCS::versionString): add RCS to version
15031 (CVS::versionString): add CVS to version
15033 * vc-backend.C (scanMaster): do not add CVS to version.
15034 (scanMaster): do not add RCS to version
15036 * lyxvc.C (versionString): new method
15038 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15040 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15042 * Spacing.C (set): initialize fval
15044 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15046 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15049 2001-08-16 Juergen Vigna <jug@sad.it>
15051 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15053 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15055 * BufferView_pimpl.C:
15058 * text2.C: setParagraph takes linespacing now
15060 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15062 * LyxAction.C: add internal LFUN_CITATION_INSERT
15064 * LyXView.C: actually apply fix
15066 * bufferlist.C: fix open non-existent file
15068 * lyxfind.C: fix indentation
15070 * lyxfunc.C: remove unneeded assert, fix typo
15072 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15074 * MenuBackend.C: use "Floatname List"
15076 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15078 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15079 when converting LaTeX layout to insetERT.
15080 Generate a non-collapsed float when reading old float
15082 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15084 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15087 2001-08-13 Juergen Vigna <jug@sad.it>
15089 * text.C (fill): return 0 instead of 20 as this seems to be the more
15092 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15094 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15097 2001-08-13 Juergen Vigna <jug@sad.it>
15099 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15101 (SearchBackward): comment out the unlocking of the inset_owner this
15102 should not be needed!
15104 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15106 * Many files: Remove inherit_language, and add latex_language
15108 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15109 collapsible insets.
15111 2001-08-10 Juergen Vigna <jug@sad.it>
15113 * text.C (prepareToPrint): fixed hfill-width in draw!
15115 * BufferView2.C (selectLastWord): save the selection cursor as this
15116 now is cleared in the function LyXText::clearSelection!
15118 2001-08-08 Juergen Vigna <jug@sad.it>
15120 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15121 BACKSPACE type functions.
15123 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15124 is only cutted from the document but not put in the cut-buffer, where
15125 still the old stuff should be.
15127 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15129 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15131 * tabular.C (SetWidthOfCell): fixed special case where the width
15133 (LeftLine): handle '|' in align_special.
15135 (LeftAlreadyDrawed): ditto
15136 (SetWidthOfCell): ditto
15138 2001-08-07 Juergen Vigna <jug@sad.it>
15140 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15142 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15144 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15145 * lyxlex.[hC]: ditto
15147 2001-08-06 Juergen Vigna <jug@sad.it>
15149 * text.C (getVisibleRow): fix up row clearing a bit.
15151 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15153 * minibuffer.C: make sure the X server sees the changes in the input.
15155 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * paragraph.C (getFont): split into...
15158 (getLabelFont): this
15159 (getLayoutFont): and this
15160 * paragraph_pimpl.C (realizeFont): calling this
15162 * text2.C (getFont): split into...
15163 (getLayoutFont): this
15164 (getLabelFont): and this
15165 (realizeFont): all three calling this
15167 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15170 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15174 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15176 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15177 layouts from the Quote inset insertion.
15179 2001-08-03 Juergen Vigna <jug@sad.it>
15181 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15183 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15184 only if status not is already CHANGED_IN_DRAW (second level).
15186 * text.C (draw): don't set the need_break_row when inside an
15189 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15191 * buffer.C (parseSingleLyXformat2Token): handle more latex
15194 * bufferview_funcs.[hC]: change function names to
15195 begin with small char, adjust other files.
15197 2001-08-02 André Pönitz <poenitz@gmx.net>
15200 BufferView_pimpl.C: remove broken special code for math-greek
15202 2001-08-02 Juergen Vigna <jug@sad.it>
15204 * BufferView_pimpl.C (update): redone this function so that we
15205 update the text again if there was a CHANGE_IN_DRAW.
15207 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15208 (drawFromTo): added a new internal bool which is used by draw() and
15210 (general): some cursor drawing problems fixed.
15212 2001-08-01 Juergen Vigna <jug@sad.it>
15214 * lyxfind.C (LyXFind): fixed
15215 (SearchForward): ditto
15216 (SearchBackward): ditto
15218 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15219 spurius drawing of the cursor in the main area.
15221 * text2.C (status): small fix which could lead to a segfault!
15222 (clearSelection): remove unneeded BufferView param.
15224 2001-08-01 André Pönitz <poenitz@gmx.net>
15226 * lyxfunc.C: small change due to changed mathed interface
15228 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15230 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15232 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15234 * lyxfunc.c: fail gracefully if file doesn't exist
15239 * BufferView_pimpl.C: IsDirWriteable() proto changed
15241 * LyXView.C: fix updateWindowTitle() to store the last title
15243 2001-07-31 Juergen Vigna <jug@sad.it>
15245 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15246 the font (wrong since using of Paragraph::highestFontInRange).
15248 * paragraph.C (highestFontInRange): added a default_size parameter.
15250 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15251 (setHeightOfRow): reformat
15253 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15255 * converter.[hC] + affected files: move to (inital-char)lowercase
15258 * ParagraphParameters.C (ParagraphParameters): remove commented code
15260 * PainterBase.[Ch]: remove commented code
15262 * LaTeXFeatures.h: add "bool floats" for float.sty
15264 * LaTeXFeatures.C (LaTeXFeatures): init floats
15265 (require): handle float
15266 (getPackages): do it with floats
15268 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15270 * BufferView_pimpl.C (Dispatch): improve handling of
15271 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15273 * commandtags.h: #include lyxfont.h here temporarily to avoid
15276 * bufferlist.h: include LString.h here.
15278 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15280 * text2.C (getStringToIndex): new method.
15282 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15284 * *: Reduced header file dependencies all over.
15286 2001-07-30 Baruch Even <baruch@lyx.org>
15288 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15290 2001-07-29 Baruch Even <baruch@lyx.org>
15292 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15294 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15296 * ParameterStruct.h (endif): add a default constructor to make
15297 sure that all variables is initialized.
15299 * ParagraphParameters.C (ParagraphParameters): adjust
15301 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15303 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15304 index; also, check that there is something to index, and that it
15305 does not span over several paragraphs.
15306 (doubleClick): use WHOLE_WORD_STRICT for double click.
15308 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15310 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15313 2001-07-26 Baruch Even <baruch@lyx.org>
15315 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15316 an InsetFig figure, backwards compatible reading of old figure code.
15318 2001-07-27 Juergen Vigna <jug@sad.it>
15320 * text2.C: font.realize function adaption.
15322 * text.C (draw): add a warnings lyxerr text if needed.
15324 * layout.C: font.realize function adaption.
15326 * language.C: add inherit_language and implement it's handlings
15328 * bufferview_funcs.C (StyleReset): remove language parameter from
15329 font creation (should be language_inherit now).
15331 * bufferparams.C (writeFile): handle ignore_language.
15333 * paragraph.C (getFontSettings): the language has to be resolved
15334 otherwise we have problems in LyXFont!
15336 * lyxfont.C (lyxWriteChanges): added document_language parameter
15337 (update): removed unneeded language parameter
15339 * paragraph.C (validate): fixed wrong output of color-package when
15340 using interface colors for certain fonts in certain environments,
15341 which should not seen as that on the final output.
15343 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15345 * BufferView_pimpl.C:
15350 * LyXAction.C: add thesaurus support
15353 * lyxfind.C: add "once" parameter, for thesaurus, to not
15354 move to the next match
15356 2001-07-26 Juergen Vigna <jug@sad.it>
15358 * lyxfont.C (realize): honor ignore_language too!
15361 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15363 * text.C (draw): one place more for ignore_language to not draw
15366 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15368 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15370 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15372 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15373 the minipage conversion problem.
15375 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15377 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15380 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15382 * BufferView.h: don't forward declare WorkArea
15384 * BufferView.C: don't include WorkArea.h
15386 2001-07-25 André Pönitz <poenitz@gmx.net>
15390 * lyxfunc.C: new LFUN 'math-space'
15392 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15394 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15396 * text2.C (toggleInset): call open/close
15398 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15400 * lyxfunc.C (dispatch): add debug for the disabled case
15402 * font.C (buttonText): make similar to rectText
15404 * buffer.C (readInset): comment out parsing of insetlist and
15407 * PainterBase.C (rectText): small correction
15409 * BufferView_pimpl.C: comment out insettheorem and insetlist
15410 * LyXAction.C: ditto
15411 * commandtags.h: ditto
15413 2001-07-24 Juergen Vigna <jug@sad.it>
15415 * text.C (draw): honor the ignore_language.
15417 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15419 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15421 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15424 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15426 * lyxtext.h: remove unused (and unimplemented) methods
15428 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15430 * text.C (getVisibleRow): honor background color
15433 * Painter.h: remove default color argument for fillRectangle
15435 * text.C (backgroundColor): new method
15437 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * text.C (getVisibleRow): adjust
15441 * font.[Ch] (rectText): new method, metrics
15442 (buttonText): new method, metrics
15444 * PainterBase.[hC]: make rectText and buttonText always draw and take
15447 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15449 * ToolbarDefaults.C (read):
15450 * MenuBackend.C (read): allow escaping in all strings
15452 * BufferView_pimpl.C (insertAndEditInset): new method.
15453 (Dispatch): use insertAndEditInset whenever appropriate.
15455 * BufferView_pimpl.C (insertNote): removed
15457 * BufferView_pimpl.C (smartQuote): new method, moved from
15458 BufferView; if an insetquote cannot be inserted, insert a '"'
15461 * BufferView2.C: remove insertCorrectQuote();
15463 * lyxfunc.C (getStatus): Add support for all remaingin
15464 inset-insert lfuns.
15466 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15468 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15469 command (necessary to pass " as parameter of self-insert.
15471 * text.C (selectWordWhenUnderCursor):
15472 (selectWord): add word_location parameter
15473 (selectWordWhenUnderCursor): same + remove special code for word
15475 (selectNextWord): use kind() to guess type of insetspecialchar,
15478 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15479 (insertErtContents): create ert insets as collapsed.
15480 (readInset): better compatibility code for Info inset.
15482 2001-07-20 Juergen Vigna <jug@sad.it>
15484 * lyxfunc.C (dispatch): use always LyXFind now!
15486 * text2.C (init): add a reinit flag so that the LyXText can be
15487 reinited instead of deleted and reallocated (used in InsetText).
15489 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15495 2001-07-18 Juergen Vigna <jug@sad.it>
15497 * text.C (selectNextWord): handle insets inside inset by calling
15498 always the bv->text functions so that we can go up the_locking_inset!
15500 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15501 in strange locations when inside an inset!
15503 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15504 handling to include insets.
15506 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15508 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15510 * LyXAction.C (init):
15512 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15513 LIGATURE_BREAK, since the name is so stupid.
15515 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15517 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15520 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15522 * sp_form.[Ch]: remove.
15524 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15526 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15529 * src/buffer.C (readInset): ditto.
15531 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15533 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15534 menuSeparator(), endOfSentenceDot(), ldots() and
15535 hyphenationPoint(), which are therefore removed.
15536 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15538 * LyXAction.C (init):
15539 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15541 * paragraph.C (getWord): removed.
15543 * BufferView_pimpl.C (Dispatch): use last word or selection for
15544 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15546 * lyx_main.C (queryUserLyXDir): do not ask before creating
15547 user_dir, except if it has been named explicitely.
15549 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15551 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15552 a document of zero size.
15554 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15556 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15557 approriately in the c-tor and in require().
15558 (getPackages): output the appropriate LaTeX for natbib support.
15560 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15561 variables "use_natbib" and "use_numerical_citations" when reading the
15563 (readInset): read the various natbib cite commands.
15564 (validate): white-space change.
15566 * bufferparams.[Ch]: new variables "bool use_natbib" and
15567 "bool use_numerical_citations".
15568 (writeFile): output them in the LyX file.
15570 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15572 * lyxfunc.C (getStatus): add support for all the inset insertion
15575 * text2.C (insertInset):
15576 * paragraph.C (insetAllowed):
15577 * BufferView_pimpl.C (insertInset): update to take in account the
15578 renaming of insertInsetAllowed
15580 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15582 * text2.C (getInset): new method. returns inset at cursor position.
15584 * BufferView_pimpl.C (Dispatch): changes because of this.
15586 * LyXAction.C (init): rename open-stuff to inset-toggle.
15588 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15590 * text2.C (toggleInset): renamed from openStuff; use
15593 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15595 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15597 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15599 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15601 * buffer.C (readLyXformat2): Add filename to the error dialog
15603 2001-07-18 Juergen Vigna <jug@sad.it>
15605 * tabular.C (GetCellNumber): put an assert here instead of the check!
15607 2001-07-17 Juergen Vigna <jug@sad.it>
15609 * BufferView_pimpl.C (toggleSelection): adapted too.
15611 * text.C (selectNextWord): adapted for use with insets.
15612 (selectSelectedWord): ditto
15614 2001-07-17 Juergen Vigna <jug@sad.it>
15616 * sp_spell.C (PSpell): fix initialitation order.
15618 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15620 * paragraph.C: spacing
15622 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15624 * sp_spell.C: repair language selection for pspell
15626 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15628 * lyxfunc.h: change more methods to begin with lower char.
15630 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15632 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15633 for unknown layouts.
15635 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15637 * buffer.C (readLyXformat2): Generate an error dialog if there are
15640 2001-07-16 Juergen Vigna <jug@sad.it>
15642 * sp_spell.C: always compile ISpell part.
15644 * lyxrc.C: added use_pspell entry and it's handling.
15646 2001-07-13 Juergen Vigna <jug@sad.it>
15648 * sp_spell.C: removed double includes.
15650 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15652 Consistent use of Lsstream.h:
15653 * Lsstream.h: added using std::stringstream for consistencies sake.
15655 * buffer.C: removed using std::stringstream
15657 * lyxfont.C (stateText):
15658 * paragraph.C (asString):
15659 * text.C (selectNextWord, selectSelectedWord):
15660 * text2.C (setCounter):
15661 * vspace.C (asString, asLatexString):
15662 std::ostringstream -> ostringstream.
15664 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15666 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15667 * commandtags.h: add LFUN_HELP_ABOUTLYX
15668 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15670 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15672 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15674 * lyx_gui_misc.C: remove spellchecker
15675 * lyxfunc.C: showSpellchecker
15677 * sp_ispell.h: added
15678 * sp_pspell.h: added
15679 * sp_spell.C: added
15680 * sp_form.[Ch]: removed
15681 * spellchecker.[Ch]: removed
15683 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15685 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15687 (simpleTeXSpecialChars): Simply print the input character without
15688 any special translation if pass_thru is set.
15690 * layout.h: Added bool pass_thru to layout class for being able to
15691 implement pass through of a paragraph for Literate Programming.
15693 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15694 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15695 * layout.C (Read): add "passthru" to list of layout tags and add
15696 code to set the pass_thru boolean when it is read.
15698 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15700 * trans_decl.h: remove allowed from KmodInfo
15702 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15703 remove allowed code
15706 * paragraph_pimpl.C (erase): use boost::prior
15708 * Painter.C (text): use data() instead of c_str() when length is
15710 * WorkArea.C (putClipboard): ditto
15711 * font.h (width): ditto
15713 * BufferView2.C: use it-> instead of (*it). for iterators
15715 * paragraph_pimpl.C: ditto
15716 * paragraph.C: ditto
15717 * minibuffer.C: ditto
15718 * language.C: ditto
15720 * encoding.C: ditto
15721 * counters.C: ditto
15722 * converter.C: ditto
15724 * Variables.C: ditto
15725 * TextCache.C: ditto
15726 * MenuBackend.C: ditto
15727 * LyXAction.C: ditto
15729 * FloatList.C: ditto
15730 * DepTable.C: ditto
15731 * ColorHandler.C (LyXColorHandler): ditto
15733 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15735 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15737 * text2.C (openStuff): reintroduce this method (which had been
15738 nuked in NEW_INSETS frenzy).
15740 * lyxfunc.C (Dispatch): when an action has not been handled, use
15741 its name in the error message, not its number.
15743 * paragraph.C (inInset): change method name to begin with lowercase.
15746 * text2.C: updates because of this.
15748 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15750 * ToolbarDefaults.C (add): add spaces in error message
15752 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15754 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15755 (readLyXformat2): rename return_par to first_par, use lyxlex's
15756 pushToken and remove the manual push handling.
15757 (parseSingleLyXformat2Token): add another ert comp. variable:
15758 in_tabular, rename return_par to first_par. handle newlines better
15760 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15762 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15764 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15766 * text2.C (getParFromID): removed
15768 * buffer.C (getParFromID): new method moved form lyxtext.
15769 * BufferView2.C (insertErrors): adjust
15770 (setCursorFromRow): adjust
15771 * BufferView_pimpl.C (restorePosition): adjust
15772 * lyxfunc.C (Dispatch): adjust
15773 * undo_funcs.C (textUndo): adjust
15775 (textHandleUndo): adjust
15776 (textHandleUndo): adjust
15778 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15780 * buffer.C: up' the LYX_FORMAT
15782 * lyxfont.h: turn NO_LATEX on as default
15784 * buffer.C (insertErtContents): new methods of tex style compability.
15785 (parseSingleLyXformat2Token): use it several places.
15786 * tabular.C (OldFormatRead): and here
15788 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15790 * text2.C: remove some commented code.
15793 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15794 * trans.C: changes because of the above.
15796 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15798 * text2.C (setCounter): Fix counters bug with bibliography layout.
15800 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15802 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15803 own member functions
15804 (simpleTeXSpecialChars): ditto
15806 2001-07-06 Juergen Vigna <jug@sad.it>
15808 * a lot of files: changed the access to LyXText::status and the
15809 call of undo-functions.
15811 * undo.[Ch]: added a inset_id to the undo informations.
15813 * undo_funcs.[Ch]: added and moved here all undo functions.
15815 * lyxtext.h: give the status enum a weight, made status_ a private
15816 variable and made accessor functions for it, removed the whole bunch
15817 of undo-functions as they are now in their own file, make some
15818 functions publically available. Added function ownerParagraph with
15821 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15822 made InInset() a const function, added getParFromID() function.
15824 * buffer.[Ch]: added const version for inset_iterator functions,
15825 added getInsetFromID() function.
15827 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15828 changed undo functions for new version.
15830 2001-07-05 Juergen Vigna <jug@sad.it>
15832 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15833 unknow mechanism does not call the proper constructor but only this
15834 one also if I request the other!?
15836 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15838 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15840 * text2.C (LyXText): use initialization lists.
15842 * lyxtext.h (Selection): initialize set_ and mark_
15843 (init): remove method
15845 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15847 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15849 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * screen.[Ch]: change method names to begin with lowercase
15853 * BufferView_pimpl.C (updateScrollbar): simplify further and
15854 hopefully make it a bit faster.
15856 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15858 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15859 calling directly xforms functions.
15861 * Painter.C (Painter):
15862 * lyx_cb.C (MenuWrite):
15863 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15866 * lyx_gui.C: remove bogus guiruntime extern declaration.
15868 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15870 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15872 (redoDrawingOfParagraph): ditto
15873 (redoParagraphs): ditto
15874 (cutSelection): don't create a object for CutAndPaste use the
15875 static method directly
15876 (pasteSelection): ditto
15878 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15881 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15883 * modifications to some other files because of this.
15885 * Makefile.am (lyx_SOURCES): add XFormsView
15887 * XFormsView.[Ch]: new files
15889 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15890 the main window. Move the gui dependent stuff to XFormsView
15892 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15894 * tabular.C (GetCellInset): update cur_cell also in the row/col
15895 version of this function.
15897 * lyxfunc.C: no need to include figure_form.h here.
15903 * lyxvc.C: no need to include forms.h here.
15905 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15909 * lyxfunc.C (Dispatch):
15911 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15912 constructor argument.
15914 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15916 * paragraph.C (Paragraph): dont't clear, and just set layout.
15917 (makeSameLayout): use params's copy contructor.
15919 * ParagraphParameters.[Ch] (makeSame): delete method
15921 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15923 * Variables.[Ch]: fix indentation, rename set to isSet
15925 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15927 * lyxfunc.C (Dispatch): fix typo
15929 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15931 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15934 * bufferlist.C: include assert.h for emergencyWrite().
15936 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15938 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15939 give up at last (bug #425202) !
15941 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15947 * spellchecker.C: strip spellchecker options and bring up
15948 preferences tab instead
15950 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15953 the istringstream constructor
15955 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * paragraph.C (getLayout): fix return value
15959 * paragraph.h: do not declare getLayout as inline.
15961 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15963 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15965 * lyxcursor.h (operator<): new func
15966 (operator>): new func
15967 (operator>=): new func
15968 (operator<=): new func
15970 * text.C (changeCase): use selection.start and selection.end
15971 (changeRegionCase): require from to be <= to. Require par to be a
15974 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15976 2001-06-27 Juergen Vigna <jug@sad.it>
15978 * text.C (cursorLeftOneWord): changed to return the cursor and added
15979 overlay with BufferView * parameter which calls this one.
15981 (selectWord): use new getWord function.
15982 (changeCase): renamed from changeWordCase as and extended to work
15983 also on selections.
15985 * lyxtext.h: added enum word_location
15987 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15988 changeCase as this operates now also on selections.
15990 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15992 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15994 * many files: send debug output to Debug::INFO instead of
15997 * converter.C (View):
15999 (Move): send debug output to Debug::FILES instead of console.
16001 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16003 * lyxfunc.C (getStatus): use func_status
16005 * func_status.h: new header, describing the results of
16006 LyXFunc::getStatus;
16008 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16011 2001-06-25 The LyX Project <jug@sad.it>
16013 * buffer.C (sgmlOpenTag):
16015 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16017 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16019 * text2.C: remove some dead code
16021 * tabular.C (GetCellInset): store the last cell checked (gotten)
16023 * tabular.h: add the helper for the speedup
16025 * lyxtext.h: remove some dead code
16027 2001-06-26 The LyX Project <Asger>
16029 * paragraph.C: Change export to LaTeX of alignment to
16030 \begin{center} and family for better roundtrip work with reLyX.
16032 * Tune the math drawing a bit.
16034 2001-06-25 The LyX Project <Asger>
16036 * LColor.C (LColor): New color for math background. New color
16039 2001-06-25 The LyX Project <jug@sad.it>
16041 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16043 * lyxfunc.C (Open):
16044 * bufferlist.C (newFile): do not restrict to files ending with
16047 * BufferView_pimpl.C (MenuInsertLyXFile):
16049 2001-06-24 The LyX Project <jug@sad.it>
16051 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16054 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16056 * lyxtext.h: rename most methods to begin with a small char.
16057 Lots of changes because of this.
16059 * paragraph.C (Paragraph): do not call fitToSize
16060 (erase): call Pimpl::erase
16061 (insertChar): call Pimpl::insertChar
16062 (insertInset): call Pipl::insertInset
16063 (breakParagraph): do not call fitToSize
16064 (breakParagraphConservative): do not call fitToSize
16065 (fitToSize): remove method
16067 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16069 2001-06-24 The LyX Project <Asger>
16071 * Fix Qt compilation^2
16073 2001-06-24 The LyX Project <jug@sad.it>
16075 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16076 depthHook(getDepth()-1).
16079 * ParagraphParameters.h:
16080 * ParameterStruct.h: change type of depth to unsigned int ==
16081 depth_type. Many adaptations to other files before of that.
16083 2001-06-24 The LyX Project <Asger>
16085 * Fix Qt compilation.
16087 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16089 * paragraph.h: renamed several methods to begin with small letter.
16090 several changes to many parts of the code because of this.
16092 2001-06-23 The LyX Project <jug@sad.it>
16094 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16095 rewritten to discard all double spaces when KeepEmpty is off
16096 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16097 to only handle newlines but not fiddle with spaces and friends.
16099 * lyxfunc.C (MenuNew): when doing 'new from template', use
16100 template_path as default directory
16102 2001-06-23 The LyX Project <Asger>
16104 * Clean-up of header file includes all over
16105 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16107 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16109 * paragraph.h: renamed from lyxparagraph.h
16111 2001-06-23 Asger <lyx@violet.home.sad.it>
16113 * Buffer.h: Removed Buffer::resize
16114 * BufferList.h: Removed BufferList::resize
16115 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16116 the document lazily when we change the width, or the font settings.
16118 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16120 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16122 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16124 * buffer.h: remove out of date comment
16126 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16129 * screen.C: fix "theoretical" GC leak
16131 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16133 * LaTeX.C (scanAuxFile):
16134 (deplog): remove trailing \r when reading stream (useful under
16137 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16139 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16140 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16141 and BufferView::theLockingInset(Inset*), so should use them and not
16142 access bv_->text->the_locking_inset directly.
16144 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16146 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16149 * tex-defs.h: remove old unused file
16151 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16153 * BufferView_pimpl.C: fix typo, remove minibuffer message
16154 when buffer has loaded
16156 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16158 * lyxfunc.C (Dispatch): use stringstream
16159 (MenuNew): use stringstream
16160 (Open): use stringstream
16162 * importer.C (Import): use stringstream
16164 * bufferview_funcs.C (CurrentState): use stringstream
16166 * LaTeX.C (run): use stringstream
16168 * BufferView_pimpl.C (savePosition): use stringstream
16169 (restorePosition): use stringstream
16170 (MenuInsertLyXFile): use stringstream
16172 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16185 * vspace.C: removed // -*- C++ -*- as first line.
16188 * version.h: added // -*- C++ -*- as first line.
16190 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16192 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16194 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16197 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16199 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16202 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16204 * gettext.C: include LString.h even when --disable-nls is on.
16206 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16208 * converter.h (Get): changed argument type from int to
16209 FormatList::size_type to avoid unnecessary conversion.
16211 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16214 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * gettext.h: include LString.h even when --disable-nls is on.
16218 2001-06-07 Juergen Vigna <jug@sad.it>
16220 * text.C (BreakAgain): subst spaces with tabs.
16222 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16223 (resizeInsetsLyXText): set force on resizeLyXText.
16225 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16227 * gettext.h (gettext_init):
16228 (locale_init): use a real definition instead of a macro
16230 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16232 * Bufferview_pimpl.C:
16234 * LColor.C: further lcolor tidies
16236 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16238 * BufferView_pimpl.C (updateScrollbar): simplify.
16240 * BufferView2.C: don't include insets/insetinfo.h, change
16241 prototype for insertInset and call the Pimpl version. let
16242 updateInset call Pimpl version.
16244 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16245 gotoInset to BufferView::Pimpl
16247 2001-06-01 Juergen Vigna <jug@sad.it>
16249 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16250 inside a LockingInset (is the update needed at all?).
16252 2001-05-31 Juergen Vigna <jug@sad.it>
16254 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16255 here not the old one otherwise how should we compare it afterwards
16258 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16263 * FontInfo.C: bring C functions into global namespace when
16266 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16268 * LString.h: make sure config.h has been loaded before LString.h.
16270 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16271 (one for each char read by EatLine!).
16273 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16276 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16278 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16279 to the same as the par we break from
16281 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16283 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16285 * MenuBackend.C (expand): also create menu entries for wide
16286 versions of the floats.
16288 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16290 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16292 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16293 frontends/Makefile.am
16299 * tabular.C (getTokenValue): add std::
16301 * tabular-old.C (getTokenValue): add std::
16302 (getTokenValue): ditto
16303 (getTokenValue): ditto
16305 * screen.C (ToggleSelection): adjust
16307 * lyxtext.h: put selection cursors inside a Selection struct.
16309 * lyxfunc.C (moveCursorUpdate): adjust
16311 * lyxfont.C (latexWriteStartChanges): add std::
16313 * lyxfind.C: adjust
16315 * font.h: delete with(char const *, LyXFont const &)
16317 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16319 * FontInfo.C (getFontname): add std::
16321 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16322 (workAreaButtonPress): adjust
16323 (tripleClick): adjust
16325 (moveCursorUpdate): adjust
16328 * BufferView2.C (gotoInset): adjust
16330 2001-05-30 Juergen Vigna <jug@sad.it>
16332 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16333 to check pspell I add this as default as I now have new pspell
16334 libraries and they seem to use this.
16336 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16338 * text2.C (CutSelection): make the cursor valid before the call to
16341 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16343 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16344 relied on 0 terminated strings and other horrors. Bug found due to
16345 the new assert in lyxstring!
16347 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16350 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16352 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16355 * lyxfunc.C (processKeySym): change method of getting to the
16358 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16359 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16360 * BufferView_pimpl.[Ch]: here as private methods.
16362 2001-05-28 Juergen Vigna <jug@sad.it>
16364 * text.C (SetHeightOfRow): added the update() call again as it is
16365 needed to initialize inset dimensions!
16367 2001-05-16 Juergen Vigna <jug@sad.it>
16369 * text2.C (SetCharFont): Add new function with BufferView * and
16370 bool toggleall parameters for setting insets internal fonts.
16371 (SetFont): Freeze the undo as we may change fonts in Insets and
16372 all this change should be inside only one Undo!
16374 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16375 setting font's in insets as for them we have the SetFont function!
16377 2001-05-15 Juergen Vigna <jug@sad.it>
16379 * text2.C (ClearSelection): to be sure we REALLY don't have any
16382 * tabular.C (TeXCellPreamble): fixed the left border problem for
16385 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16387 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16390 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16392 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16393 LFUN_BREAKPARAGRAPH.
16395 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16396 help test to "internal only", similar for LFUN_INSERT_URL
16398 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16399 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16400 auto_region_delete and deadkeys.
16402 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16405 * LColor.C: remove some dead entries, tidy a little
16407 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16409 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16411 (Dispatch): implement LFUN_ESCAPE
16413 * commandtags.h: add LFUN_ESCAPE
16415 * LyXAction.C (init): add entry for LFUN_ESCAPE
16417 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16418 Remove commented code.
16419 (insertNote): moved here
16420 (open_new_inset): moved here
16422 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16425 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16427 * kbmap.C (findbinding): clean it up and make it work correctly.
16429 * lyx_main.C (init): do not pass argc and argv as parameters
16431 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16433 * buffer.C: fix path for OS/2 & Win32
16437 * lyx_main.C: Added os:: class.
16439 * os2_defines.h: update
16441 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16443 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16444 better by trying again with reduced state.
16446 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16448 * lyxrc.C (read): print error about invalid key sequence only when
16449 debugging (because not all latinX keysyms are known to some X
16452 * kbsequence.C (getiso): add a few std:: qualifiers
16453 (getiso): comment out extra return statement.
16455 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16457 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16459 (Dispatch): enhance the accent inset a bit. (not perfect)
16461 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16463 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16465 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16467 * bufferlist.C (emergencyWrite): fix assert() call
16469 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16471 * text.C (InsertChar): Added trivial patch to only send the "you
16472 can not do multiple spaces this way" message once during a
16475 2001-05-08 Baruch Even <baruch@lyx.org>
16477 * Makefile.am: Changed order of libraries to get LyX to link properly
16478 with the gnome frontend.
16480 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16482 * LaTeXFeatures.h: add a std:: qualifier
16484 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16486 * paragraph.C (String): use stringstream
16488 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16490 * paragraph.C (writeFile): remove footflag arg
16492 * buffer.C (makeLaTeXFile): use stringstream
16493 (latexParagraphs): remove footnot gurba
16495 * LaTeXFeatures.C (getPackages): use stringstream
16496 (getMacros): likewise
16497 (getTClassPreamble): likewise
16498 (getFloatDefinitions): new method
16500 * paragraph.C (writeFile): reindent
16503 * WorkArea.h: revert the xpos + etc changes.
16505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16507 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16509 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16510 (pasteSelection): likewise
16511 * text2.C (CreateUndo): likewise
16513 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16515 * minibuffer.C (peek_event): temporarily reduce the functionality
16516 of the minibuffer (to allow args on lfuns)
16518 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16519 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16521 * buffer.C (readInset): add compability reading of old float
16522 lists, add reading of new style float list.
16523 (readInset): avoid reevaluation of inscmd.getCmdName()
16524 (getLists): reindent
16526 * MenuBackend.C (MenuItem): implement parsing of
16527 md_floatlistinsert and md_floatinsert.
16528 (expand::LastFiles): move initalizaton of iterators out of loop,
16529 avoid reevaluation.
16530 (expand::Documents): introduce typdedef vector<string> Strings,
16532 (expand::ExportFormats): introduce typedef vector<Format const *>
16533 Formats, and use it.
16534 (expand): implement FloatListInsert and FloatInsert.
16536 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16537 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16538 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16540 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16542 (Dispatch::LFUN_FLOAT_LIST): implement
16544 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16546 * LaTeX.C (run): Fix problem with --export code.
16548 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16550 * BufferView.[Ch] (workarea): removed.
16551 (getClipboard) new method; wrapper for workarea()->getClipboard()
16553 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16556 * WorkArea.h (width, height, xpos, ypos): These methods all
16557 returned the dimensions of the work_area sub-area of WorkArea,
16558 resulting in a position error if the WorkArea were resized. Now
16559 return the dimensions of the entire WorkArea.
16561 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16563 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16565 * LaTeX.C (deplog): correct the syntax of regex reg1
16567 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16569 * undo.C: remove !NEW_INSETS cruft
16571 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16573 * text2.C: remove !NEW_INSETS cruft
16575 * text.C: remove !NEW_INSETS cruft
16577 * tabular.C: remove !NEW_INSETS cruft
16579 * spellchecker.C: remove !NEW_INSETS cruft
16581 * lyxtext.h: remove !NEW_INSETS cruft
16583 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16585 * lyxfunc.C: remove !NEW_INSETS cruft
16587 * lyxfind.C: remove !NEW_INSETS cruft
16589 * lyx_cb.C: remove !NEW_INSETS cruft
16591 * figureForm.C: remove !NEW_INSETS cruft
16593 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16595 * buffer.[Ch]: remove !NEW_INSETS cruft
16597 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16599 * CutAndPaste.C: remove !NEW_INSETS cruft
16601 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16603 * BufferView2.C: remove !NEW_INSETS cruft
16605 * BufferView.h: remove !NEW_INSETS cruft
16607 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * Lsstream.h: include LString.h before the sstream headers to
16610 fix problem with gcc 2.95.3 and lyxstring
16612 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16614 * lyx_main.C: add using directives when needed for C functions
16615 declared in std:: namespace.
16617 2001-04-27 Juergen Vigna <jug@sad.it>
16619 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16620 (SetHeightOfRow): comment out the update call should not be needed!
16622 2001-04-13 Juergen Vigna <jug@sad.it>
16624 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16625 (LyXTabular): tried to minimize operator= operations (and realized
16626 hopfully Lars wish).
16628 2001-04-27 Juergen Vigna <jug@sad.it>
16630 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16632 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16634 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16636 * buffer.C (readInset): hack to make listof algorithm work
16638 * BufferView_pimpl.C: hack to make listof algorithm work
16640 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16642 * LyXAction.C: removed all !NEW_INSETS cruft
16643 (init): moved lfun_item in method
16645 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16647 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16649 * BufferView2.C (theLockingInset): white space.
16651 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16653 * minibuffer.C: include <iostream>
16655 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16657 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16659 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16661 * text.[Ch] (TransposeChars): new method
16663 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16665 * call message directly through LyXView instead of through LyXFunc
16666 * BufferView2.C: adjust
16667 * BufferView_pimpl.C: adjust
16668 * FontLoader.C: adjust
16670 * bufferview_funcs.C: adjust
16671 * converter.C: adjust
16672 * figureForm.C: adjust
16673 * importer.C: adjust
16675 * lyx_gui_misc.C: adjust
16676 * lyxfunc.C: adjust
16679 + more files in subdirs
16681 * lyxparagraph.h (size): move up int file
16684 * adjust all uses of Assert to lyx::Assert.
16686 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16687 lyxfunctional in namespace lyx
16688 * layout.C (hasLayout): ditto
16691 (delete_layout): ditto
16692 (NumberOfClass): ditto
16693 * converter.C (GetFormat): ditto
16698 * bufferlist.C (getFileNames): ditto
16699 (emergencyWriteAll): ditto
16702 * MenuBackend.C (hasSubmenu): ditto
16705 * BufferView_pimpl.C (getInsetByCode): ditto
16707 2001-04-18 Juergen Vigna <jug@sad.it>
16709 * vspace.C (asLatexString): fixed the 100% problem.
16711 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16713 * lyxfunc.C (Dispatch):
16715 * minibuffer.h: add a few std:: qualifiers
16717 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16719 * minibuffer.[Ch]: reimplement so that commands is initiated and
16720 run from lyxfunc, simplified som handling, and made the completion
16721 and history code for complete. wip.
16723 * lyxfunc.C (processKeySym): call message
16724 (miniDispatch): new temporary method
16725 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16726 (LFUN_MESSAGE): implement
16727 (LFUN_MESSAGE_PUSH): implement
16728 (LFUN_MESSAGE_POP): implement
16729 (initMiniBuffer): the initial/defualt minibuffer message.
16731 * lyxfont.[Ch]: inline some more getters
16733 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16735 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16737 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16738 (AutoSave): use LFUN_MESSAGE
16739 (Reconfigure): ditto
16741 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16743 * figureForm.C: use LFUN_MESSAGE
16745 * converter.C (runLaTeX): use LFUN_MESSAGE
16747 * bufferview_funcs.C: use LFUN_MESSAGE
16749 (changeDepth): ditto
16751 * bufferparams.h: use boost::
16753 * bufferlist.h: inherit privately from noncopyable
16755 * bufferlist.C (loadLyXFile): remove some commented code.
16757 * buffer.C (runChktex): use LFUN_MESSAGE
16759 * ShareContainer.h: inherit privately from noncopyable
16761 * ParagraphParameters.[hC] (depth): inline it.
16763 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16765 (message): new method
16766 (messagePush): ditto
16767 (messagePop): ditto
16768 (show): init minibuffer
16769 (showState): direct call
16771 * LaTeX.[Ch]: inherit privately from noncopyable
16772 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16773 instead of WriteStatus.
16775 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16777 * BufferView_pimpl.C (buffer): don't init minibuffer
16778 (workAreaButtonPress): use LFUN_MESSAGE
16779 (workAreaButtonRelease): ditto
16780 (savePosition): ditto
16781 (restorePosition): ditto
16782 (MenuInsertLyXFile): ditto
16783 (workAreaExpose): don't init minibuffer
16784 (update): remove commented code, simplify
16786 * BufferView2.C (openStuff): use LFUN_MESSAGE
16787 (toggleFloat): ditto
16790 (copyEnvironment): ditto
16791 (pasteEnvironment): ditto
16796 (updateInset): remove some commented code
16798 * lastfiles.h: inherit privately from noncopyable
16801 * lyx_main.h: ditto
16803 * lyxlex_pimpl.h: ditto
16805 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16806 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16807 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16809 * LyXAction.h: inherit privately from noncopyable, add methods
16810 func_begin, func_end, returning iterators to the func map.
16812 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16813 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16814 (func_begin): new method
16815 (func_end): new method
16817 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16819 (copySelection): ditto
16820 (pasteSelection): ditto
16822 * BufferView.C: whitespace change
16823 * BufferView.h: inherit privately from noncopyable
16825 2001-04-16 Allan Rae <rae@lyx.org>
16827 * tabular-old.C (l_getline):
16828 * spellchecker.C (sc_check_word):
16829 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16830 an unrecognised preprocessor directive. So ensure they're wrapped.
16832 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16834 * src/exporter.C (Export): Give an error message when path to file
16837 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16839 * LaTeX.C (deplog): Always check that foundfile exists.
16841 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16844 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16846 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16848 * tabular.[Ch] (getLabelList): implement new method
16850 * minibuffer.h: comment ouf setTiimer
16852 * minibuffer.C (ExecutingCB): constify res
16853 (peek_event): constify s
16854 (Set): constify ntext
16855 (Init): constify nicename
16857 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16859 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16860 (savePosition): use two params to Minibuffer::Set
16861 (restorePosition): ditto
16863 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16865 * lyx_main.C: include language.h
16867 * Makefile.am (lyx_main.o): add language.h
16869 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16875 * CutAndPaste.C: include gettext.h
16877 * lyxfont.h: remove old hack with ON and OFF.
16880 * lyxfont.h: do not include language.h...
16885 * bufferview_funcs.C:
16891 * paragraph.C: ... but do it here instead
16893 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16895 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16897 * tabular.C: small reformat
16899 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16902 (BreakParagraph): ditto
16903 (SetOnlyLayout): ditto
16906 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16909 * lastfiles.C: removed most using decl, add std:: where needed
16911 * buffer.C: ws changes
16913 * MenuBackend.C (class compare_format): put into anon namespace
16914 (expand): constify label, names, action, action2
16917 * text.C (SingleWidth): constify font
16918 (IsBoundary): constify rtl2
16919 (GetVisibleRow): constify ww
16921 * LaTeX.C (deplog): constify logfile
16923 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16925 (workAreaExpose): constify widthChange, heightChange
16927 * lyxrow.C (par): moved
16930 * lyxrow.h: as inlines here
16932 * lyxfont.h (shape): moved from lyxfont.C
16933 (emph): moved from lyxfont.C
16935 * lyxfont.C (LyXFont): use initialization list for all
16937 (shape): move to lyxfont.h as inline
16938 (emph): move to lyxfont.h as inline
16941 2001-04-04 Juergen Vigna <jug@sad.it>
16943 * vspace.C: had to include stdio.h for use of sscanf
16945 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16948 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16949 independent of xforms.
16951 2001-04-02 Juergen Vigna <jug@sad.it>
16953 * spellchecker.C: fixed namespace placing!
16955 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16957 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16958 the LyXParagraph * is 0.
16960 2001-03-29 Juergen Vigna <jug@sad.it>
16962 * vspace.C: added support for %, c%, p%, l%.
16963 (stringFromUnit): added helper function.
16964 (asLatexString): changed to give right results for the %-values.
16966 * buffer.C: convert the widthp in a width%.
16968 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16970 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16973 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16974 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16976 * lyx_cb.[Ch]: see above.
16978 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16982 * lyx.[Ch]: replaced by figure_form.[Ch].
16986 * lyxfunc.C: changed headers associated with above changes.
16988 2001-03-27 Juergen Vigna <jug@sad.it>
16990 * BufferView_pimpl.C: set the temporary cursor right!
16992 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16994 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16996 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16998 * LString.h: removed "using std::getline"!
17000 * BufferView_pimpl.C (Dispatch): changes due to changes in
17001 InsetInclude::Params.
17003 * buffer.C (tag_name): removed redundant break statements as they were
17004 producing lots of warnings with my compiler.
17006 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17008 * LString.h: add "using std::getline" when using the real <string>.
17010 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17012 * buffer.C: removed bitset usage.
17013 PAR_TAG moved to an anonymous name space.
17014 (tag_name): new funtion, also in the anonymous namespace.
17015 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17016 (makeDocBookFile): clean code. Completed transition from string arrays
17018 (SimpleDocBookOnePar): code clean.
17020 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17022 * tabular.C: add some comments.
17024 2001-03-22 Juergen Vigna <jug@sad.it>
17026 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17027 compatibility read a bit and fixed bug with minipage in different
17030 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17032 * buffer.C (pop_tag): removed.
17033 (push_tag): removed.
17034 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17035 array replaced with vector. Added support for CDATA sections.
17036 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17038 (makeDocBookFile): XML conformant declaration of CDATA section,
17039 fixed bug related to <emphasis> in the first paragraph char.
17040 (sgmlOpenTag): exclude empty tags.
17041 (sgmlCloseTag): ditto.
17043 * buffer.h (pop_tag): removed.
17044 (push_tag): removed.
17046 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17048 * language.h (Languages): added size_type and size().
17050 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17052 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17053 response on compability reading of minipages. One probliem is that
17054 the old usage of minipages was «flertydig»
17056 * several files here and in subdirs: don't use static at file
17057 scope use anon namespaces instead.
17059 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17061 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17062 LaTeX output. This is necessary for Literate document
17065 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17067 * buffer.C: insert hfill when needed.
17069 * tabular.C (l_getline): use string::erase, small whitespace change.
17071 * BufferView_pimpl.C: try the anon namespace.
17072 * WorkArea.C: ditto
17074 2001-03-16 Juergen Vigna <jug@sad.it>
17076 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17077 otherwise it won't open options-dialogs.
17079 * buffer.C: honor pextraWidth(p) on converting minipages.
17081 * tabular.C (l_getline): changed the functions to strip trailing \r.
17083 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17085 * BufferView_pimpl.C:
17086 * minibuffer..C: added "using SigC::slot" declaration.
17088 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17090 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17096 * paragraph.C: ditto
17098 * lyxtext.h: NO_PEXTRA
17100 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17102 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17103 * ParameterStruct.h: ditto
17104 * ParagraphParameters.h: ditto
17105 * lyxparagraph.h: ditto
17107 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17109 * buffer.C: add compability for minipage alignment.
17110 (latexParagraphs): remove unwanted pextra check.
17112 * several files: remove CXX_WORKING_NAMESPACES
17114 * buffer.C (pop_tag): tie is in namespace boost
17116 * BufferView.h: noncopyable is in namespace boost
17118 * lyx_main.h: ditto
17121 * lastfiles.h: ditto
17122 * bufferlist.h: ditto
17123 * ShareContainer.h: ditto
17125 * LyXAction.h: ditto
17128 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17130 * Merging changes from BRANCH_MVC back into HEAD.
17132 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17134 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17136 * BufferView_pimpl.C: change from intl.C
17140 * Makefile.am: move combox.*
17146 * intl.C: remove dialog (covered by prefs)
17148 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17150 * lyxfunc.C (Dispatch): removed redundant break statement.
17152 2001-03-14 Juergen Vigna <jug@sad.it>
17154 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17156 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17158 * buffer.C: add hack to fix compability reading of minipages.
17160 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17162 * buffer.C (getLists): Cleanup.
17164 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17166 * lyxfont.C (update): don't honor toggleall on font size.
17168 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17172 * Makefile.am: moved to frontends/xforms/
17176 * BufferView_pimpl.C: changes for moved mathpanel
17178 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17180 * gettext.h: fix gettext_init() in --disable-nls
17182 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17184 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17186 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17189 * lyx.h: strip external form
17191 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17193 * BufferView_pimpl.C: add comment, destroySplash()
17195 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17197 * BufferView_pimpl.C:
17201 * lyxfunc.C: use re-worked insetinclude
17203 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17205 * buffer.C: add using std::stringstream.
17207 * lyx_cb.C: readd using std::ios.
17209 * buffer.C: add using std::map.
17211 * BufferView_pimpl.C: add using std::vector.
17213 * ShareContainer.h: add std:: to swap.
17215 * buffer.h: add some typedefs
17216 * buffer.C (getLists): use them
17217 (getLists): renamed from getTocList.
17218 add a counter for the different float types and use it in the
17220 (getLists): use the same counter for the NEW_INSETS and the "non"
17223 * lyx_cb.h: remove unused items, includes, using etc.
17225 * ShareContainer.h: remove some commented code, add more comments
17226 and "documentation".
17228 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17230 * buffer.C (getTocList): make the list also when NEW_INSETS is
17233 * buffer.h: remove TocType
17235 * buffer.C (getTocList): change to return a map<string,
17236 vector<TocItem> >, implement for dynamic number of list.
17238 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17239 * text2.C (PasteSelection): adjust
17240 * CutAndPaste.C (pasteSelection): adjust
17242 * FloatList.C (FloatList): update from the new_insets branch.
17243 * Floating.[Ch]: ditto
17244 * LaTeXFeatures.C: ditto
17246 * lyxlex_pimpl.C: ditto
17248 * paragraph.C (Last): remove when NEW_INSETS is defined.
17250 * other file: changes because of the above.
17252 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17254 * lyxparagraph.h: rename next to next_, previous to previous_,
17255 make them private for NEW_INSETS. Rename Next() to next(),
17256 Previous() to previous().
17258 * other files: changes because of the above.
17260 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17263 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17266 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17268 * main.C (main): pass lyx_localedir to gettext_init().
17270 * gettext.h: remove locale_init and gettext_init macros
17272 * gettext.C (locale_init): new function
17273 (gettext_init): new function
17275 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17278 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17280 * Moved credits to frontends:
17281 * credits.[Ch]: removed
17282 * credits_form.[Ch]: removed
17283 * lyx_gui_misc.C: remove credits stuff
17286 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17288 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17290 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17291 unneeded destructor.
17293 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17294 a standalone pointer again.
17296 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17298 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17304 * ToolbarDefaults.C:
17313 * BufferView_pimpl.C: use new file dialog in GUII
17316 * lyx_cb.C: remove LayoutsCB to Toolbar
17318 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17320 * ShareContainer.h (get): add std:: qualifier
17322 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17324 * ShareContainer.h: define a proper ShareContainer::value_type
17325 type (and use typename to please compaq cxx)
17327 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17329 * lyxparagraph.h: move serveral local vars to
17330 ParameterStruct/ParagraphParameters., use ShareContainer in
17331 FontTable., make vars in FontTable private and add getter and
17334 * paragraph.C: changes because of the above.
17336 * lyxfont.h: remove copy constructor and copy assignment. (the
17337 default ones is ok), move number inside FontBits. move inlines to
17340 * lyxfont.C: add number to initializaton of statics, move several
17341 inlines here. constify several local vars. some whitespace
17342 cleanup. Dont hide outerscope variables.
17344 * Spacing.h: add two new constructors to match the set methods.
17346 * ShareContainer.h: new file, will perhaps be moved to support
17348 * ParameterStruct.h: new file
17350 * ParagraphParameters.h: new file
17352 * ParagraphParameters.C: new file
17354 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17355 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17357 * BufferView_pimpl.C: ParagraphParameter changes.
17358 * buffer.C: Likewise.
17359 * bufferview_funcs.C: Likewise.
17360 * text.C: Likewise.
17361 * text2.C: Likewise.
17363 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17365 * lyxfind.C (LyXReplace): do not redefine default argument in
17367 (IsStringInText): ditto
17368 (SearchForward): ditto
17369 (SearchBackward): ditto
17371 2001-03-06 Juergen Vigna <jug@sad.it>
17373 * lyxfind.C (IsStringInText): put parentes around expressions.
17375 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17377 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17379 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17381 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17383 * stl_string_fwd.h: add comment
17385 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17388 * tabular.C: remove unused DocBook methods
17394 killed DO_USE_DEFAULT_LANGUAGE
17396 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17398 * lyx_gui.C: do not include language.h.
17400 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17401 arguments in function implementation.
17403 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17405 * BufferView_pimpl.C: add <ctime>
17407 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17409 * BufferView_pimpl.C: add using std::find_if
17411 2001-02-27 José Matos <jamatos@fep.up.pt>
17413 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17416 2001-02-11 José Matos <jamatos@fep.up.pt>
17418 * buffer.C (makeDocBookFile): command styles now have a parameter as
17419 "title" by default.
17421 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17423 * layout_forms.[Ch]: removed
17424 * lyx_cb.[Ch]: out character
17425 * lyx_gui.C: out character
17426 * lyx_gui_misc.C: out character
17427 * bufferview_funcs.C: : out character,
17428 added toggleall as parameter in ToggleAndShow
17430 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17432 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17434 * text2.C (SetCurrentFont): Disable number property at boundary.
17436 2001-02-26 Juergen Vigna <jug@sad.it>
17438 * lyxfunc.C (getStatus): added a string argument override function so
17439 that this is correctly called from LyXFunc::Dispatch if it contains a
17440 do_not_use_argument which is used!
17441 (Dispatch): added check for "custom" export and call appropriate func.
17443 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17445 * lyxrc.C: Add language_command_local, language_use_babel and
17446 language_global_options.
17448 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17450 * buffer.C (makeLaTeXFile): Use language_use_babel and
17451 language_global_options.
17453 2001-02-23 Juergen Vigna <jug@sad.it>
17455 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17456 which works with LyXText and putted it inside BufferView. Here now we
17457 only call for that part the BufferView::Dispatch() function.
17459 * BufferView.C (Dispatch): added.
17461 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17462 functions which needs to use a LyXText over from LyXFunc.
17463 (MenuInsertLyXFile): added
17464 (getInsetByCode): added
17465 (moveCursorUpdate): added
17466 (static TEXT): added
17468 2001-02-22 Juergen Vigna <jug@sad.it>
17470 * BufferView_pimpl.C (update): call a status update to see if LyXText
17473 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17475 * vc-backend.C (revert): implement for CVS
17476 (getLog): implement for CVS
17478 2001-02-20 Juergen Vigna <jug@sad.it>
17480 * text2.C (ClearSelection): added BufferView param for inset_owner call
17482 * lyxfunc.C (TEXT): added this function and use it instead of
17483 directly owner->view()-text of getLyXText().
17485 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17487 * src/layout_forms.C: out preamble
17488 * src/layout_forms.h: out preamble
17489 * src/lyx_cb.C: out preamble
17490 * src/lyx_cb.h: out preamble
17491 * src/lyx_gui.C: out preamble
17492 * src/lyx_gui_misc.C: out preamble
17493 * src/lyxfunc.C: connect with guii preamble
17495 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17497 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17499 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17501 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17502 whether to run bibtex.
17504 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17506 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17508 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17510 * Makefile.am (lyx_SOURCES): removed bibforms.h
17512 * vspace.h: doxygen
17514 * text.C (GetVisibleRow): make several local vars const
17516 * tabular.C: small cleanup.
17518 * lyxserver.C (callback): use compare instead of strncmp
17520 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17521 inlines to after class or to paragraph.C
17523 * lyxfont.h: remove friend operator!=
17525 * converter.h: move friend bool operator< to non friend and after
17528 * combox.h: small cleanup
17530 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17531 to inlines after class def.
17533 * buffer.C (pop_tag): use string operations instead of strcmp
17535 * bmtable.c: doxygen, small cleanup
17537 * LaTeX.h: remove friend operator==
17539 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17551 * BufferView_pimpl.C:
17552 * BufferView.[Ch]: remove cruft
17554 2001-02-14 Juergen Vigna <jug@sad.it>
17556 * lyxfunc.C: removed #if 0 unused code
17558 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17560 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17562 * text2.C (SetSelection): added a BufferView * parameter
17564 2001-02-13 Juergen Vigna <jug@sad.it>
17566 * lyxfunc.C (Dispatch): fixed protected blank problem.
17567 * BufferView2.C (protectedBlank): added LyxText * parameter.
17569 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17570 (AppendColumn): same as above for column_info.
17572 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17573 (moveCursorUpdate): use a LyXText param for support of InsetText.
17575 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17576 (tripleClick): ditto
17578 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17580 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17582 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17584 * text2.C (SetSelection): set correct update status if inset_owner
17585 (ToggleFree): ditto
17587 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17589 * tabular.C: remove some commented code.
17591 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17593 * BufferView_pimpl.C: call hideSplash()
17595 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17598 * bibforms.h: remove
17601 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17602 add LFUN_CHILD_CREATE
17604 * counters.h: fix tiny typo
17609 * lyx.C: move splash to frontends/xforms/
17611 * lyx_gui_misc.C: move Include and Bibform to frontends
17613 * lyxvc.h: clarify comment
17615 * vspace.C: tiny housekeeping
17617 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17619 * text.C (PrepareToPrint): RTL Fix.
17621 * paragraph.C (GetUChar): New method.
17622 (String): Use GetUChar.
17624 * buffer.C (asciiParagraph): Use GetUChar.
17626 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17628 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17630 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17633 * buffer.C: rename to getLogName(), handle
17634 build log / latex log nicely
17636 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17639 * MenuBackend.h: remove support for reference menuitem type.
17641 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17643 * BufferView_pimpl.C: housekeeping
17644 * BufferView_pimpl.h:
17649 * minibuffer.h: move Timeout GUI-I
17651 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17653 * lyxrc.C (read): Update converters data-structures.
17655 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17657 * LaTeX.h (operator!=): add operator != for Aux_Info
17659 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17661 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17663 * LaTeXLog.C: deleted, useful code moved to Buffer
17666 * buffer.C: new function getLatexLogName()
17672 * lyxfunc.C: use frontends for LaTeX and VC logs
17674 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17676 * LaTeX.h: yet another std:: that Allan forgot.
17678 * Variables.C (set): renamed from isset(), because this clashes
17679 with some HP-UX macros (grr).
17681 2001-02-06 Allan Rae <rae@lyx.org>
17683 * LaTeX.h: Another bug fix. Missing std:: this time.
17685 2001-02-04 Allan Rae <rae@lyx.org>
17687 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17688 floats problem. I've left it commented out because it's not quite
17689 correct. It should also test that the current object is a table or
17690 figure inset. But I haven't gotten around to figuring out how to do
17691 that. I *think* it'll be something like: "table" == inset.type()
17693 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17696 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17698 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17699 all the citation/databases/styles in the auxilary file.
17700 (run): Rerun latex if there was a babel language error.
17702 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17704 * text.C (Backspace): Preserve the font when changing newline char
17706 (BreakParagraph): If the cursor is before a space, delete the space.
17708 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17710 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17712 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17713 new argument (code).
17714 (ChangeCitationsIfUnique): New method.
17716 * paragraph.C (GetPositionOfInset): Handle bibkey.
17718 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17720 * BufferView_pimpl.h: change type of Position::par_pos to
17721 LyXParagraph::size_type.
17723 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17725 * BufferView_pimpl.C (savePosition, restorePosition): Write
17726 messages to minibuffer.
17728 2001-01-28 José Matos <jamatos@fep.up.pt>
17730 * buffer.C (makeDocBookFile): adds support for document language.
17731 A silly restriction on the name of LatexCommand types where removed.
17732 Added support for CDATA sections, allows to chars unescaped, used
17733 among others in code, to avoid escape < and >.
17735 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17737 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17738 saved positions instrad of a stack. Furthermore, a position is
17739 stored using paragraph id/paragraph position.
17741 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17742 Remove LFUN_REF_BACK.
17744 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17746 * converter.C (dvipdfm_options): New method.
17748 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17750 * vspace.C (isValidLength): Fix for empty input string.
17752 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17754 * LyXAction.C (init): change description of LFUN_FIGURE to
17757 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17759 * LaTeX.C: add using directive
17761 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17763 * MenuBackend.C (expand): Fix the sorting of the formats.
17765 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17767 * lyx_main.C: tiny error message fix
17769 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17771 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17772 calling fl_initialize(). This fixes the problem with ',' as
17773 decimal separator in text files.
17775 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17777 * trans.C (process): Fix the keymap bug.
17779 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17781 * LaTeX.C (scanAuxFiles): New method. Provides support for
17782 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17783 (scanLogFile) Scan for "run BibTeX" messages.
17785 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17786 OT1 font encoding. Also, load the aecompl package if the ae
17789 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17791 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17793 * texrow.C (increasePos): turn two error messages into debug
17796 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17798 * LaTeX.C (scanAux): Handle the \@input macro.
17799 (runBibTeX): Use scanAux().
17801 * language.C (latex_options_): New field.
17803 * LaTeXFeatures.C (getMacros): Add language macros.
17805 * buffer.C (makeLaTeXFile): Small fix.
17807 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17809 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17811 * text2.C: add a using directive.
17813 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17818 * lyxfunc.C: kill LyXBell.
17820 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17822 * text.C (IsBoundary): Remove the error message
17824 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17826 * lyxrc.C (setDefaults): Correct initialization value for
17829 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17831 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17834 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17835 and GotoNextNote().
17837 * src/LyXAction.C: Added reference-next.
17839 * text.C (InsertChar): Use contains instead of strchr.
17841 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17843 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17845 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17846 alignment commands (when needed).
17848 * text.C (InsertChar): Add ':' to number separator chars.