2 2005-05-07 André Pönitz <poenitz@gmx.net>
4 * trans_mgr.C (insert): move cursor to the right after inserting
7 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9 * BufferView_pimpl.C (update): dampen some of the debug blabbering
10 * factory.C (readInset): ditto
11 * text.C, text2.C: ditto
13 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * buffer.C: format incremented to 242. There is no file format per
16 se, but the "frenchb" language has been removed from lib/language
17 and has to be translated to "french" by lyx2lyx.
19 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
21 * cursor_slice.h, dociterator.h: add some documentation
22 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
24 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
26 * text.C (leftMargin): do not add identation to display() style
27 insets, because they are always centered (bug 1293).
29 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
32 formatted_time methods in support/lyxtime.
34 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
36 * toc.[Ch]: new method getGuiName, which is used by the frontends
37 to set the toc combo (fixes bug 1870). Make TOC string translatable.
39 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
42 StableDocIterator const &)
43 * undo.C (recordUndo): use the above instead of cell.size() comparison
44 (fixes bug 1808; instructed by André).
46 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
49 * dociterator.h: Fix the assert when copying rows/cols in math
51 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
55 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
57 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
58 (findInset): new functions, refactored from goto Inset that return
59 the position of a certain inset without setting the buffer's cursor
61 (gotoInset): rewrite to call findInset and then set the cursor
64 2005-06-16 Angus Leeming <leeming@lyx.org>
66 * lyxrc.C (output, read): wrap all input and output of paths with
67 calls to os::internal_path and os::external_path, respectively.
68 (output): wrap bind_file inside quotes.
70 * format.C (view): enable the viewer to use the '$$s' placeholder.
72 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * LColor.[Ch] (getFromLaTeXName): new
76 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
78 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
80 2005-06-14 Angus Leeming <leeming@lyx.org>
82 * lyx_main.C (init): ensure that the LyX binary dir is the first
83 element in the PATH on non-POSIX builds.
85 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
87 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
89 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * rowpainter.C (paintInset, paintHebrewComposeChar)
92 (paintArabicComposeChar, paintChars): add a LyXFont argument.
93 (paintChars): use getFontSpan to reduce calls to getFont to a
94 minimum; use Paragraph::lookupChange instead of isXXXText.
95 (paintForeignMark): rename LyXFont argument.
96 (paintFromPos): pass a LyXFont object to the various paintXXX
99 * FontIterator.C (FontIterator, operator++): use
100 Paragraph::getFontSpan
102 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
103 version that returns the font span as a pair.
105 2005-06-09 Angus Leeming <leeming@lyx.org>
107 * converter.C (convert): Don't forget "outfile = real_outfile" as
108 the final step in a conversion where the input and output file names
109 are the same. Otherwise, future conversion steps won't work...
111 2005-06-09 Angus Leeming <leeming@lyx.org>
113 * lyxsocket.C: remove stub code as it isn't needed by
114 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
116 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
119 effectively disabled -x
121 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
124 when it actually makes sense.
126 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
128 * BufferView_pimpl.C: revert to showCursor in connection with
129 Lars's front-end stack
131 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * text.C (redoParagraph): move cursor right after a bibitem
136 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
138 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
140 * buffer_funcs.C (bufferErrors): fix computation of the end of an
143 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
145 * BufferView.[Ch] (update):
146 * BufferView_pimpl.[Ch] (update, metrics):
147 * dimension.h (operator==):
148 * lyxfunc.C (dispatch):
149 * metricsinfo.h (ViewMetricsInfo):
150 * rowpainter.C (paintText):
152 * text.C (redoParagraph):
153 * text3.C (dispatch): Make LyX only repaint current paragraph in
154 case of character insert --> speedup. Also fix cursor draw
157 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
160 avoid a crash (bug 1891)
162 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * text2.C (getStringToIndex): constify cur argument.
168 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
169 argument has been given
170 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
171 try to invoke LFUN_INSET_APPLY).
173 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
174 if no inset was created by doInsertInset
175 (doInsertInset): return true if an inset has been inserted.
177 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * vspace.C (asGUIName): new method. A version of the space
180 suitable for showing on screen.
182 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
185 * lyxrc.C: rename "ASCII" to "Plain Text"
187 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * buffer_funcs.C (expandLabel): take a Buffer as argument;
190 translate the labelstring.
191 (setCounter): translate labelstring as needed.
193 * output_docbook.C (makeCommand): fix expandLabel invokation
195 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
197 * BufferView.C: fix dialog title
199 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
201 * lyx_main.C (priv_exec): fix logic error with help from Angus
202 * lyx_main.C (parse_execute): set is_gui = false and remove now
203 obsolete comment about a segfault
205 2005-05-18 Angus Leeming <leeming@lyx.org>
207 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
209 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
211 * tabular.[hC]: added setCellInset to fix tabular paste.
213 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
215 * buffer.C (save): check if destination is writable before trying
218 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
220 * BufferView_pimpl.C (update): fix processEvents -caused update
223 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * buffer_funcs.C (setCounter): fix test for numbering of
228 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
229 depth correctly; use optional argument when it exists
231 * lyxtextclass.C: remove unused MaxCounterTags enum
232 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
233 (max_toclevel, min_toclevel): new methods.
235 * MenuBackend.C (expandToc2): fix case where depth is smaller than
236 the smallest depth in toc.
238 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
239 layouts that should not appear in a table of contents.
241 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
243 * cursor.h (undispatched, noUpdate): add comments from André
245 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
249 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
251 2005-05-07 André Pönitz <poenitz@gmx.net>
253 * cursor.[Ch] (leaveInset): new function
255 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
257 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
259 2005-05-04 Angus Leeming <leeming@lyx.org>
261 * lyxfunc.C (getStatus): disable the spell checker dialog if
262 none of USE_[AIP]SPELL are defined.
264 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
266 * tabular.C (setWidthOfCell): remove obsolete comment
268 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
270 * paragraph.C (bibitem):
271 * buffer_funcs.C (setCounter):
272 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
274 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * text3.C (getStatus): immediately return after setOnOff
278 * rowpainter.C: fix drawing of appendix start
280 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
282 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
283 SwitchBetweenClasses and remove the unused return value.
284 Handle character styles, too
286 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
288 * factory.C (createInset): handle undefined character styles
290 2005-05-02 Angus Leeming <leeming@lyx.org>
292 * buffer.C: protect the #include of utime.h with a preprocessor
295 2005-05-02 Angus Leeming <leeming@lyx.org>
297 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
298 function so that auto-saving works, albeit in a blocking manner.
300 * Makefile.am: make compilation of the client sub directory, of
301 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
302 on conditionals set at configure time.
304 * SpellBase.[Ch]: no longer an abstract base class. Instead,
305 it can be compiled in its own right but has no-op functionality.
307 * aspell.C, pspell.C: remove preprocessor guards. The files should
308 be compiled only if the necessary functionality exists.
310 * lyxserver.C, lyxsocket.C: disable on Windows.
312 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
314 * text.C (leftMargin): Fix the parindent use bug (1764)
317 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
319 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
322 2005-04-25 Angus Leeming <leeming@lyx.org>
330 include <config.h> in .C files, not .h ones.
332 protect headers inside preprocessor guards.
334 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * FuncStatus.h (StatusCodes): document
338 2005-04-21 André Pönitz <poenitz@gmx.net>
340 * FuncStatus.h (enabled, onoff): document
342 2005-04-19 Angus Leeming <leeming@lyx.org>
344 * BufferView_pimpl.C (cursorToggle): no longer test whether
345 any child processes have been reaped before calling
346 handleCompletedProcesses().
348 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
350 * text3.C (dispatch): fix, finally fix, the language problem in
351 new lyxtexts, without disabling on-the-fly font changes (Helge's
354 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
356 * text3.C (dispatch): set cursor on double/triple click events
359 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
362 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
364 * rowpainter.C (paintFirst): simplify the code a little bit. In
365 particular, remove the test for secnumdepth.
366 * text.C (setHeightOfRow): only allocate space for chapter number
367 when updateCounters provided an actual label, instead of looking
368 at secnumdepth directly.
370 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
372 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
373 paragraphs when secnumdepth is large enough or, for environments,
374 when they are not the first in a sequence.
376 2005-04-17 Angus Leeming <leeming@lyx.org>
378 * buffer.C (makeLaTeXFile): replace code to manipulate a path
379 containing space and '~' characters with a call to latex_path().
381 2005-04-17 Angus Leeming <leeming@lyx.org>
383 * converter.C (convert): protect all args of convertDefault.sh
386 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * text3.C (dispatch): change the layout to "Caption" after inserting
391 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
393 * text3.C (dispatch): fix language problem in newly created
394 textinsets (and main text) in non-english docs
396 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
399 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
400 * text3.C (getStatus): disable LFUN_INSET_MODIFY
402 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
407 * rowpainter.C (getFont): Fix metrics bug introduced by inset
410 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
412 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
413 output of \item arguments without trailing text.
415 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * FontIterator.C (operator*): avoid a copy of the font.
419 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
421 * rowpainter.C (getFont): fix language bug from previous fix
423 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
425 * rowpainter.C (RowPainter, getFont): fix font inside inset
428 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
430 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
431 preventing inserted font, deco, delim insets jumping to start of
434 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * lyxfunc.C (dispatch): translate message before sending it to the
439 2005-03-29 Angus Leeming <leeming@lyx.org>
441 * lyx_main.C (priv_exec): call os::internal_path on each file passed
442 to LyX on the command line.
444 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
446 * vc-backend.C: use QuoteName to protect file names wherever
449 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
452 * BranchList.h: fix bugs 1844,1845: document settings don't
455 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * lyxrc.C (setDefaults, read, output, getDescription): add support
458 for tex_allows_spaces.
460 * exporter.C (Export): allows files in directory containing spaces
461 if tex_allows_spaces is true.
463 * buffer.C (makeLaTeXFile): if the document path contains spaces,
464 output it in double quotes.
466 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
468 * rowpainter.C: use default text height for drawing change tracker
471 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
475 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
478 directory is missing.
480 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
482 * text2.C: fixed the fix, extended to other case.
484 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
486 * text2.C: fix for cursor up/down stuck in math [bug 1792]
488 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
490 * text2.C (cursorUp): get rid of a crash
491 * text.C (x2pos): add an assert
493 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * lyxfunc.C (getStatus): fix warning when assertions are disabled
499 * dociterator.C: include <boost/current_function.hpp>, which is
500 needed when assertions are disabled.
502 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
504 * text2.C: fix for stuck cursor when traversing two
505 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
507 2005-02-25 Andreas Vox <avox@arcor.de>
509 * output_docbook.C (makeParagraph): suppress trailing newline
510 after a run of paragraphs
512 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
514 * paragraph.C: fix for confused change tracker when pasting
515 text that begins with a lineseparator. [bug 1827]
516 (setChange(0, Change::INSERTED);)
518 * paragraph_funcs.C: fix for lost changes on triple-paste
519 in change tracking mode [bug 1827] (par.setChange()).
521 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
523 * text2.C (updateCounters, setCounter, expandLabel): move to
526 * buffer_funcs.C (updateCounters): turn into a free standing
527 function and add a buffer parameter. Remove dead code for tracking
529 (setCounter): change into a free-standing function which gets a
530 dociterator as argument. Use this iterator to fix captions in a
531 simple way. When no float is found above the caption, use the
532 labelstring of the caption layout as default.
534 * text.C (breakParagraph, backspace):
535 * text2.C (init, setLayout, changeDepth):
536 * text3.C (dispatch):
537 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
540 * dociterator.C (forwardPar): make it much faster by calling
541 forwardPos() only when really necessary.
543 * output_docbook.C (makeCommand): adapt to expandLabel move.
545 * cursor.C: remove unused variable
547 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
549 * paragraph_funcs.C: fix crash when pasting insets in change
550 tracking mode [bug 1277] (honour change type in moveItem).
552 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
554 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
556 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
558 * BufferView.C (setCursor): change to use a DocIterator.
559 (gotoLabel): use BufferView::setCursor (other part of bug 781).
560 (putSelectionAt): adapt to BufferView::setCursor change.
562 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
563 moved here from LyXText and rewritten to use proper cursor
564 methods. Fixes bug 1787, 616 and 835.
566 * BufferView_pimpl.C (restorePosition): set the cursor correctly
567 when inside an inset (part of bug 781).
568 (dispatch): adapt to change of BufferView::setCursor.
569 (getStatus, dispatch): handle LFUN_GOTOERROR,
570 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
572 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
573 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
574 * text3.C (gotoNextInset, gotoInset): removed.
576 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
578 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
580 2005-02-15 Angus Leeming <leeming@lyx.org>
582 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
583 can be used meaningfully in a comparison.
585 2005-02-13 André Pönitz <poenitz@gmx.net>
587 * bufferview_funcs.C (coordOffset): improve cursor drawing
589 2005-02-13 André Pönitz <poenitz@gmx.net>
591 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
592 * Cursor.C (dispatch): use fixIfBroken
593 * lyxfunc.C (getStatus): use fixIfBroken
595 2005-02-15 Angus Leeming <leeming@lyx.org>
597 * lyx_main.C (error_handler):
599 * lyxrc.C (setDefaults):
601 #include "environment.h".
603 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
605 2005-02-15 Angus Leeming <leeming@lyx.org>
607 * lyxserver.C (startPipe): squash MSVC warning "local variable
608 'fd' used without having been initialized".
610 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
612 * BufferView_pimpl.C: revert accidental commit.
614 2005-02-14 André Pönitz <poenitz@gmx.net>
616 * dociterator.[Ch]: new member forwardPosNoDescent(),
617 which doesn't enter nested insets.
618 * text2.C (setFont): use forwardPosNoDescent() instead
619 of ForwardPos() (fixes crash on font change).
621 2005-02-13 Angus Leeming <leeming@lyx.org>
623 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
624 only if lyxrc.path_prefix is not empty.
626 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * bufferparams.C (readGraphicsDriver): prevent crash
630 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
632 * text2.C (setCounter): check for inInset() == 0
634 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
637 but use update() to get correct screen display; use convert
638 instead of istringstream.
639 (getStatus): handle LFUN_GOTO_PARAGRAPH
641 * lyxfunc.C (dispatch, getStatus): do not handle
642 LFUN_GOTO_PARAGRAPH here.
644 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
646 * text3.C (dispatch): size() -> depth()
648 * text2.C: remove some debug output
650 * paragraph.C: ws changes only
652 * lyxfunc.C (getStatus): size() -> depth()
654 * dociterator.h (clear, push_back, pop_back, internalData,
655 operator[], resize, empty): new functions
656 Make StableDocIterator and operator== be friends. Don't inherit
657 from std::vector use a privat class variable slices_ instead.
660 * dociterator.C: update because of not inheriting from std::vector
661 anymore. Call explictly to slices_ instead. Use depth() instead of
662 size() and top() instead of back()
664 * cursor.C: chagne size() -> depth and back() -> top(). Also
665 remove some direct operator[](i) calls in favour of foo[i]
666 (getFont): remove some dead code
668 * bufferview_funcs.C (coordOffset): size() -> depth()
670 * buffer.C: ws changes only
672 * CutAndPaste.C (eraseSelection): back() -> top()
674 * BufferView_pimpl.C (selectionRequested): back() -> top()
676 * BufferView.C (setCursor): size() -> depth()
678 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
680 * text3.C (cursorPrevious): return true if depm changed something
682 (dispatch): rename sl to oldTopSlice, remove moving use the new
683 NoUpdate func attrib instead. Make sure that needsUpdate is set
684 for function that have NoUpdate, but where depm might have changed
687 * text2.C (cursorLeft): make us return true if depm changed
690 (cursorUpParagraph): ditto
691 (curosrDownParagraph): ditto
692 (cursorUp, cursorDown): ditto, make sure to read comments in code
693 (deleteEmptyParagraphMechanism): remove an assert, also return
694 true if just a single char was deleted.
696 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
697 cursor that we modify, to avoid modifying an active cursor before
698 we call setCursor. This allows depm to run. Also return true if
699 depm deleted something.
701 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
702 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
703 cursorDownParagraph, cursorPrevious and cursorNext, return true if
704 something was changed in the buffer because of them (ie. depm run)
706 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
707 debug messages. Make update by default be false. Make sure that
708 the result of update is retained throught several calls down to
711 * LyXAction.h: add a new func_attrib: NoUpdate
713 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
714 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
715 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
717 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
719 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
721 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
722 bv_->owner(), bv_->buffer() by direct references to the private
724 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
725 (getStatus): isSavedPosition() is in BufferView::Pimpl.
726 (fitCursor): center() is in BufferView::Pimpl.
727 (getStatus, trackChanges, dispatch): no need for a temporary buf
729 (fitCursor, workAreaDispatch): use workarea().workheight()
731 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
733 * CutAndPaste.C (pasteSelectionHelper): fix a crash
735 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * buffer.C: format up to 241.
738 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
739 break if pasting into ERT
740 * lyxfunc.C (getStatus): suppress mathpanel and
741 LFUN_DIALOG_SHOW_NEW_INSET in ERT
743 2005-02-01 Angus Leeming <leeming@lyx.org>
745 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
747 2005-02-01 Angus Leeming <leeming@lyx.org>
749 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
750 calling fs::is_directory().
752 2005-01-31 Angus Leeming <leeming@lyx.org>
754 * lyx_main.C (priv_exec): specify explicitly the relative location
755 of the top level build directory when run in-place.
757 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
760 LyXText containing the cursor, not the top-level one.
762 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
764 (insertStringAsLines): rename par to pit; use temporary variable
765 par to hold a Paragraph; do not store par.layout() in a variable,
766 since the pointer may die when breaking paragraphs; pass pars to
767 breakParagraph() instead of Buffer::paragraphs().
769 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
771 * lyxlex_pimpl.h: #include <fstream>.
773 * BufferView.[Ch] (getLyXText): add a const version.
775 * BufferView_pimpl.C: add debug aids.
780 * paragraph_funcs.h: add commentary explaining what the class does.
783 * coordcache.[Ch]: add lots of commentary.
784 (startUpdating, doneUpdating): debug aids.
785 (arrays, insets, parPos, getParPos): accessors to private data.
787 * cursor_slice.[Ch] (text): add a const version.
788 * dociterator.[Ch] (text, innerText): add const versions.
790 * lyxtext.h (breakParagraph): change the keep_layout arg to a
793 * paragraph.C (getRow, pos2ros): add asserts.
795 * paragraph.h: add commentary. Lots of.
797 * paragraph.[Ch] (metrucs, draw): removed.
800 * rowpainter.[Ch]: const-correct changes.
802 * text.C: various obvious clean-ups. Removal of ancient cruft.
805 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
807 * vc-backend.C (find_file): rewrite to use boost.filesystem
810 * main.C (main): set default name check for boost.filesystem to
813 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
816 (actOnUpdatedPrefs): ditto
818 * lyx_main.C (init): rewrite to use boost.filesystem
819 (queryUserLyXDir): ditto
821 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
822 (getContentsOfAsciiFile): ditto
824 * lastfiles.C (readFile): rewrite to use boost.filesystem
826 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
828 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
831 * buffer.C (Buffer): adjust for destroydir
832 (getLogName): rewrite to use boost.filesystem
834 (save): use fs::copy_file (from fs_extras)
836 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
838 * LaTeX.C (run): rewrite to use boost.filesystem
839 (scanAuxFiles): ditto
840 (handleFoundFile): ditto
842 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
844 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
846 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
848 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
850 * lyxlayout.[Ch]: change some vars from float to double
852 * buffer.C (readFile): make a local var const
854 * Several files: use convert<> instead of atoi,strToXXX and friends
856 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
858 * LaTeXFeatures.[Ch]: Add a static list packages_ that
859 holds the contents of packages.lst. New functions getAvailable
860 and isAvailable to parse and check that list, resp.
864 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
866 * bufferparams.[Ch]: new param output_changes.
868 * Buffer.C: increase file format to 240.
869 Use output_changes and isVailable.
873 * paragraph_pimpl.C: Use output_changes and isVailable.
875 2005-01-23 Angus Leeming <leeming@lyx.org>
877 * output_latex.C: #include "insetbibitem.h", rather than
878 forward declare function bibitemWidest.
880 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
882 * lyx_main.C (init): make it compile on the Mac.
884 2005-01-20 Angus Leeming <leeming@lyx.org>
886 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
887 (setLyXMisc): (char string literal) != (char string literal) is
888 performing a comparison on the addresses. Convert one operand
889 explicitly to string to guarantee expected behaviour.
892 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
895 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
897 * output_plaintext.C: remove unneeded #include gzstream.h.
899 2005-01-20 Angus Leeming <leeming@lyx.org>
901 * SpellBase.h: rename some of the elements of the Result enum.
908 * pspell.C (check): ditto
910 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
912 * buffer.C: add #include <fstream>.
914 * lyx_main.C (init): Compile fix.
916 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
918 2005-01-20 Angus Leeming <leeming@lyx.org>
920 * mover.h: change commentary to reflect the changed meaning of
923 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
925 * output_linuxdoc.C (linuxdocParagraphs): silence warning
927 * lyxfind.C (MatchString::operator()): remove bogus semicolon
929 2005-01-20 Angus Leeming <leeming@lyx.org>
931 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
932 printing diagnostic data by not dereferecing an iterator past the
935 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
937 * buffer.C (readHeader): use "&&" rather than "and".
939 * lyxserver.h (inPipeName, outPipeName): make these const.
941 2005-01-19 Angus Leeming <leeming@lyx.org>
943 * lyx_main.C (error_handler, init): protect SIGHUP with
944 #ifdef SIGHUP guards.
946 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
948 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
950 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
952 * text.C (setHeightOfRow): add a margin at the top and bottom of
953 the document (bug 1761)
955 2005-01-17 Angus Leeming <leeming@lyx.org>
957 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
958 with "python ". Workaround for a brain-dead Windows.
960 2005-01-16 Angus Leeming <leeming@lyx.org>
962 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
963 for MacOSX and Windows to use prependEnvPath.
964 Strip out the hard-coded block to add elements to the PATH for
965 MacOSX and replace it with a call to prependEnvPath using the
966 contents of LyXRC::path_prefix.
967 (queryUserLyXDir): strip out the code to run reconfigure, instead
968 returning a boolean indicating the necessity to do so.
969 (reconfigureUserLyXDir): contains the code to reconfigure the
970 user support directory. Is now called after the various LyXRC data
971 files have been read.
973 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
975 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
977 * converter.[Ch] (convert): take a new parameter try_default. Use
978 a default converter (imagemagick) if try_default is true.
980 2005-01-13 Angus Leeming <leeming@lyx.org>
982 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
984 (write): output LyXRC::cygwin_path_fix as necessary.
986 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
989 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
991 2005-01-12 Angus Leeming <leeming@lyx.org>
993 * lyx_main.C (init): set the PATH variable to include the
994 directory containing the LyX binary when running on Mac or Windows.
996 2005-01-12 Angus Leeming <leeming@lyx.org>
998 * lyx_main.C (init): remove cruft that purports to set the locale
999 dir. It doesn't and is not needed anyway.
1001 2005-01-10 Angus Leeming <leeming@lyx.org>
1003 * Makefile.am: remove the lyx_main.C special casing.
1005 * BufferView_pimpl.C:
1011 * messages.C: use support/package.h to provide the paths to the
1012 various directories used by LyX.
1014 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1016 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1017 layout if pasting into an empty paragraph)
1019 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1021 * tex-accent.C: add <string>
1023 2005-01-06 José Matos <jamatos@lyx.org>
1025 * ParagraphParameters.C (write): put every parameter in its own line.
1026 * paragraph.C (write): reduce number of consecutive empty lines exported.
1027 * buffer.C (LYX_FORMAT): increase file format to 239.
1029 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1031 * everywhere: change support/tostr.h -> support/convert.h
1033 * tabular.C: make all write_attributes templates, tostr -> convert
1035 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1036 (emptyTag): and -> &&, and fix type for ret from getChar
1037 (getFirstWord): fix type for ret from getChar
1038 (onlyText): and -> &&
1039 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1042 * toc.C (goTo, action):
1043 * text3.C (dispatch):
1044 * text.C (currentState):
1045 * tex-accent.C (DoAccent):
1048 * lyxfunc.C (menuNew):
1049 * lyxfinc.C (replace):
1050 * counters.C (laberItem):
1051 * bufferview_funcs.C (font2string):
1052 * bufferparams.C (writeFile):
1053 * buffer.C (readFile):
1055 * MenuBackend.C: tostr -> convert
1057 * LaTeX.C (runMessage): fix format
1058 (scanAuxFiles): tostr -> convert
1060 * BufferView_pimpl.C (savePosition): fix format
1061 (restorePosition): ditto
1064 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1066 * Spacing.[Ch]: New method getValueAsString().
1070 * ParagraphParameters.C:
1073 * text3.C: store/read spacing value as string.
1075 * rowpainter.C: change float value (spacing_val) to double.
1077 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1078 broken custom document spacing).
1080 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1082 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1083 namespace, also more use of temp references and const
1085 * cursor.[Ch] (getStatus): move to lyxfunc.C
1087 * bufferparams.C: reformat slightly
1089 * bufferview_funcs.C (font2string): constify arg
1095 * buffer_funcs.C: (many funcs): constify arg on function
1096 definitions, also make more local vars const, also add ASSERTS on
1099 * buffer.C (LYX_FORMAT): put const in correct place
1100 (many funcs): constify arg on function definitions, also make
1101 more local vars const
1103 * aspell_local.h: remove "struct" from typdef setup
1105 * aspell.C (check): make word_ok const
1106 (nextMiss): simplify slightly
1109 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1111 * lyxrc.[Ch]: store all float values as strings.
1112 use int (not float) for lyxrc.dpi.
1114 2005-01-04 Angus Leeming <leeming@lyx.org>
1116 * lyx_cb.C (Reconfigure):
1117 * lyx_main.C (queryUserLyXDir):
1118 to run the <system_lyxdir>/configure correctly on Windows, prefix
1119 the path to the script with "sh " when generating the string that
1120 is passed to system().
1122 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1124 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1126 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * lyxlength.C (asLatexString): get rid of setprecision
1130 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1132 * text2.C (setLayout): remove unused variable endpit.
1133 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1135 * paragraph.C (onlyText): remove unused variable style.
1137 * cursor.C (bruteFind): remove unused variables beg and end.
1139 * Makefile.am (dist_noinset_DATA): not needed anymore
1141 * cheaders/*: remove.
1143 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1145 * text3.C: fix LFUN_MATH_MODE.
1147 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * buffer_funcs.C (countWords): new function. Counts words between
1152 * BufferView_pimpl.C (getStatus, dispatch): handle
1155 * LyXAction.C (init):
1156 * lfuns.h: add LFUN_WORDS_COUNT.
1158 2004-12-19 Angus Leeming <leeming@lyx.org>
1160 * buffer.C (save): s/slashify_path/internal_path/.
1162 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1164 * lyxfind.C (findChange): do not search for end of pars, because
1165 the change tracker cannot handle this (fixes bug 1719).
1167 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1169 * paragraph.[Ch] (autoBreakRows): remove
1171 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1173 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1174 avoid using the paragraph one
1176 * text2.C (LyXText, insertStringAsLines): adjust
1178 2004-12-16 Angus Leeming <leeming@lyx.org>
1182 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1184 2004-12-14 Angus Leeming <leeming@lyx.org>
1186 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1188 * bufferlist.C (emergencyWrite):
1189 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1192 2004-12-14 Angus Leeming <leeming@lyx.org>
1194 * main.C: (main): no longer pass pointers to os::init.
1196 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1198 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1199 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1201 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1204 * text3.C: remove selection_possible global flag
1206 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1208 * text2.C (getSelectionSpan): remove
1209 (changeDepth, changeDepthAllowed): adjust
1211 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1213 * Makefile.am (BOOST_LIBS): use boost variables
1215 2004-12-03 José Matos <jamatos@lyx.org>
1217 * buffer.C: format up to 238.
1219 2004-12-03 José Matos <jamatos@lyx.org>
1221 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1223 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1225 * cursor.C (goUpDown): remove call to idxUpDown2
1227 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1229 * tabular.[Ch]: use size_t-like types for cell, row and column
1232 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1234 * lyxfunc.C (getStatus): do not lose previous information when
1235 calling BufferView::getStatus; do not set a default "Command
1236 disabled" message at the beginning, but just before returning.
1238 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1240 * cursor.h (getStatus): add better comment from src/cursor.C
1242 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * text3.C (getStatus): return false when the lfun is not handled
1246 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1248 * broken_headers.h: remove
1250 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1252 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1254 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1255 offset_ref accessors
1257 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1258 top_y_, merge fitcursor with update
1259 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1261 (metrics): introduce
1262 (workAreaDispatch): adapt to new coord scheme
1263 (redoCurrentBuffer): remove
1265 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1267 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1270 * coordcache.[Ch]: add paragraph cache and helpers
1272 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1275 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1276 (targetX, setTargetX): introduce
1278 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1279 baseline -> ascent, as the rest of lyx
1281 * lyxtext.h: remove redoParagraphs, updateParPositions,
1282 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1283 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1284 have ascent/descent (ascent is ascent of first par)
1286 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1289 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1291 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1293 * pariterator.C: fix infinite loop introduced in par->pit renaming
1295 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1296 in insets and LyXText, draw two off-screen paragraphs using
1297 NullPainter, and adapt to new coord scheme
1301 * text3.C: adapt lfun handlers to the new coord scheme, which
1302 means: there's only guaranteed coord information for onscreen pars
1303 plus one above and one below. This implies that one can do search
1304 from y coordinates in the range [-1,workHeight]
1306 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1308 * rename a lot of InsetOld to InsetBase
1310 2004-11-25 Angus Leeming <leeming@lyx.org>
1312 * BufferView_pimpl.C:
1314 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1316 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1319 call BufferView::getStatus if LCursor::getStatus did nothing
1320 (setStatusMessage, getStatusMessage): removed.
1322 * FuncStatus.C (message): new methods. Used to provide an error
1323 message indicating why a command is disabled.
1324 (clear, |=, FuncStatus): update for message.
1326 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1328 * lyxfunc.C (dispatch): always call sendDispatchMessage
1330 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1333 * BufferView_pimpl.C:
1338 * cursor_slice.[Ch]:
1341 * paragraph_funcs.C:
1347 * undo.C: par->pit renaming
1349 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1351 * tabular.C (cellstruct): use initialization, store a shared_ptr
1352 to insettext instead of the insettext directly, adjust to fit.
1353 (operator=): new function
1354 (swap): new function
1355 (rowstruct): use initialization
1356 (columnstruct): use initialization
1357 (ltType): use initialization
1360 * lyxlength.h (swap): new function
1362 * LColor.[Ch] (operator=): use the common semantics
1364 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1366 * lyxfind.C (findNextChange): update the bufferview after setting
1369 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1371 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1372 number of InsetOptArgs has already been inserted.
1374 * output_latex.C (latexOptArgInsets): new method. This outputs all
1375 the optarg insets, up to the limit defined in the layout file.
1376 (optArgInset): removed
1377 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1379 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * paragraph.C (isLetter): remove special spellchecker-related
1382 code; return true also for digits
1383 (isWord, isKomma): remove
1385 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1386 * lyxfind.C (MatchString()): use isLetter instead of isWord
1388 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1390 * pariterator.h (operatir=): comment out un-implemented member
1393 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1396 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1398 * lyxfont.h: include LColor.h to satisfy concept checks.
1400 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1402 * pariterator.h: add typdefs for value_type, difference_type,
1403 pointer and reference to satisfy concept checks. Also add default
1404 constructor for same reason.
1406 * pariterator.C (operator++): add post-increment operator to
1407 satisfy concept checks.
1409 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1412 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1414 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1415 checks. Also rename base_type to BaseType to follow naming
1418 * FloatList.h: include Floating.h to satisfy concept checks.
1420 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1422 * lyxfunc.C (getStatus): when the origin of the request is menu or
1423 toolbar, and the LyXView does not have focus, do as if there was
1424 no buffer (bug 1720)
1426 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1427 FuncRequest to individual entries of LFUN_SEQUENCE
1429 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * output_latex.C (TeXOnePar): override runparams.moving_arg
1432 according to the needprotect value of the current paragraph (bug
1435 * paragraph.C (simpleTeXOnePar): no need to override
1436 runparams.moving_args here
1438 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1440 * vspace.C: fix off-by-one-error, related to fix #1682
1442 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1444 * lengthcommon.C: a more general fix for bug 1682
1446 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1448 * text.C (backspace): fix crash
1450 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1452 * format.[Ch] (getFormatFromFile): new method
1453 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1455 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1457 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1459 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1461 * lyxfunc.C (dispatch): remove the verbose argument
1462 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1465 * kbmap.C (defkey): set the origin of func to KEYBOARD
1467 * MenuBackend.C (MenuItem):
1468 * ToolbarBackend.C (add): set the origin of func to UI
1470 * funcrequest.[Ch]: add origin member, which indicates which part
1471 of LyX requests an action
1473 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1475 * converter.C (move): don't lie in the error message
1476 * converter.h (isReachable, move): document
1478 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * buffer.C: remove unused using lyx::support::atoi
1481 * paragraph_funcs.C: ditto
1483 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1485 * bufferlist.C (exists): use bind and equal_to instead of
1488 * lyxtextclasslist.C (NumberOfClass): ditto
1490 * cursor.C (insert): use for_each instead of explicit for loop
1492 * bufferlist.C (getFileNames): use std::transform and
1493 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1495 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1498 * buffer.C (changeLanguage): use for_each instead of explicit for
1500 (hasParWithID): implement using getParFromID
1502 * LaTeXFeatures.C: ws change only
1504 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1507 * BufferView_pimpl.C (trackChanges): use for_each instead of
1510 2004-11-04 André Pönitz <poenitz@gmx.net>
1513 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1515 * dociterator.C (asDocIterator): use hard assert again.
1517 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * lyxlength.C (asLatexString): rewrite so that it does not use
1522 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * text3.C (specialChar, dispatch): make sure cursor moves to the
1525 right after inserting an inset
1527 2004-11-02 José Matos <jamatos@lyx.org>
1529 * output_docbook.C (docbook):
1530 * paragraph.C (getID):
1531 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1532 garantee that the output is always legal.
1534 * tabular.C (docbook):
1535 * outputprams.[Ch]: remove mixed contents.
1537 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1539 * text2.C (setCounter): prevent endless loop
1541 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1543 * exporter.C (copyFile): use the mover instead of support::copy()
1544 * exporter.C (Export): pass format and latex name to copyFile()
1545 * exporter.h (addExternalFile): document
1546 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1548 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1550 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1552 2004-10-30 José Matos <jamatos@lyx.org>
1554 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1555 text and no inset or font change. This allows to use CDATA
1556 sections just for the whole paragraph.
1558 2004-10-30 José Matos <jamatos@lyx.org>
1560 * paragraph.C (getFirstWord): remove unused variable.
1562 2004-10-30 José Matos <jamatos@lyx.org>
1564 * paragraph.C (getFirstWord): the content should always be escaped
1566 (simpleDocBookOnePar):
1567 * output_docbook.C (makeEnvironment): replace reference to CDATA
1570 2004-10-30 José Matos <jamatos@lyx.org>
1572 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1574 2004-10-30 José Matos <jamatos@lyx.org>
1576 * output_docbook.C (makeParagraphs):
1577 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1578 standard paragraph has only a given type of content drop the wrapper.
1580 2004-10-29 José Matos <jamatos@lyx.org>
1582 * output_docbook.C (makeEnvironment):
1584 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1586 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1588 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1589 (cleanID): sanitize any id.
1591 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1593 * buffer.C, lyxlex_pimpl.C:
1594 * lyxlex_pimpl.C (setFile):
1595 s/getExtFromContents/getFormatFromContents/
1597 2004-10-28 José Matos <jamatos@lyx.org>
1599 * output_docbook.C (makeEnvironment): move id to broadest possible
1602 * sgml.C (openTag): apply substitution of <> for all attributes.
1604 2004-10-28 José Matos <jamatos@lyx.org>
1606 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1607 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1608 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1610 * sgml.[Ch]: new version for open and closeTag for paragraph and
1611 for strings. Now they handle the ids of paragraphs.
1613 2004-10-26 Angus Leeming <leeming@lyx.org>
1615 * Makefile.am: add mover.[Ch].
1617 * converter.C (convert, move): use the new Movers to move external
1618 files to the temp directory.
1620 * lyx_main.C (init): ensure that the global system_movers data
1623 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1626 * mover.[Ch]: new files, defining a Mover as a utility to move an
1627 external file between directories and, if necessary, manipulate this
1628 file using a helper script.
1630 2004-10-25 José Matos <jamatos@lyx.org>
1632 * output_docbook.C (makeCommand): merge two if's that tested the
1635 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1637 * sgml.C (escapeString): fix warning in a better way
1639 2004-10-25 José Matos <jamatos@lyx.org>
1641 * sgml.C (escapeString): import the require boosts header file for
1642 tie, and avoid a signed unsigned comparison.
1644 2004-10-25 José Matos <jamatos@lyx.org>
1646 * sgml.h: add #include <string>
1648 2004-10-25 José Matos <jamatos@lyx.org>
1650 * sgml.[Ch] (escapeString): new function to escape all the string.
1652 2004-10-24 José Matos <jamatos@lyx.org>
1654 * paragraph.[Ch] (getFirstWord): new function to get the first
1655 word. Useful for description.
1656 (simpleDocBookOnePar): remove depth argument, add another that
1657 says where to start the paragraph.
1659 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1660 use the new functions to fix cleanly the support for descriptions.
1662 2004-10-24 José Matos <jamatos@lyx.org>
1664 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1665 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1666 * output_linuxdoc.C (linuxdocParagraphs):
1667 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1668 add buffer as argument.
1670 2004-10-24 José Matos <jamatos@lyx.org>
1672 * output_docbook.C (makeEnvironment, searchEnvironment): place
1673 CDATA inside paragraphs and fix scope for listitems.
1675 2004-10-24 José Matos <jamatos@lyx.org>
1677 * output_docbook.C: remove using statement for stack.
1679 2004-10-23 José Matos <jamatos@lyx.org>
1681 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1682 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1683 docbook. The new scheme is recursive and makes use of iterators, the
1684 same as latex export works.
1685 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1686 directly with the paragraph contents. This code was moved up to
1687 output_docbook.C (docbookParagraphs).
1688 * sgml.C (openTag, closeTag): removed unneeded newlines.
1689 (closeEnvTags) removed.
1691 2004-10-23 André Pönitz <poenitz@gmx.net>
1693 * undo.C (textUndoOrRedo):
1694 * dociterator.C (asDocIterator): work around crash
1696 * cursor.C (getStatus): replace ASSERT by more verbose error message
1697 and manual correction of the problem. Should increase stability
1698 while providing more sensible information.
1700 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1702 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1704 * bufferlist.C (previous, next): new methods
1707 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1709 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1711 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1712 entities to preamble.
1714 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1716 * messages.C (Pimpl): strip off translation context information
1718 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1720 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1721 the cursor is correct (bug 1694)
1723 2004-10-13 José Matos <jamatos@lyx.org>
1725 * output_docbook.C (docbookParagraphs): fix closing tags in the
1726 end of the document.
1728 2004-10-09 José Matos <jamatos@lyx.org>
1730 * buffer.C: format up to 237.
1731 * bufferparams.C (write): use tostr to convert booleans to strings.
1733 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1735 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1737 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1739 * LaTeX.C: implement use of babel language in xindy.
1741 2004-10-05 José Matos <jamatos@lyx.org>
1743 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1744 Add new translators to help reading and writing the lyx file.
1746 2004-10-05 José Matos <jamatos@lyx.org>
1748 * ParagraphParameters.C (read):
1749 * text.C (readParToken): replace nexToken by more appropriate lex
1752 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1754 * LaTeX.C (runMakeIndex):
1755 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1756 (usually 'makeindex') configurable.
1758 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1759 with a variable rather than with a number.
1761 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 * output_latex.C (TeXOnePar): make sure font setting is the first
1764 thing that gets output (and the last at the end). Should fix bug
1767 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1769 * pch.h: use proper signal include
1771 * LaTeX.h: Use preferred calling of Boost.Signal
1774 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1776 * pch.h: dont include <boost/function/function0.hpp>
1778 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1780 * paragraph_pimpl.h: remove usage of ShareContainer
1782 * paragraph_pimpl.C: remove initialization of ShareContainer.
1784 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1788 * BufferView.C (putSelectionAt): change the semantics when
1789 backwards == true: now, this just swaps cursor and anchor wrt the
1792 * BufferView.h (putSelectionAt): add some documentation
1794 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1795 make sure backwardChar is done at least once (to avoid getting
1797 (findNextChange): use putSelectionAt in the forward direction
1798 (operator()): use Paragraph::isWord
1800 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1802 * Spacing.C (set): c_str fix
1804 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1806 * lyx_cb.C (Reconfigure): quote the name of configure script in
1807 case it contains spaces
1809 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1813 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1814 (BOOST_LIBS): use top_buildir when looking for the file
1816 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1818 * pch.h: do not use include boost/format.hpp, multiple symbols
1819 will result (gcc bug)
1822 2004-08-23 José Matos <jamatos@lyx.org>
1824 * bufferparams.C (readToken): fix reading of the author field.
1826 2004-08-20 José Matos <jamatos@lyx.org>
1828 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1830 2004-08-20 José Matos <jamatos@lyx.org>
1832 * lyxlex.[Ch] (findToken): remove function.
1834 * ParagraphParameters.C (findToken):
1835 * bufferparams.C (findToken): replace call for previous function
1836 with local copy. This local function has one more argument, the
1837 read string argument.
1839 2004-08-16 José Matos <jamatos@lyx.org>
1841 * ParagraphParameters.C (write):
1842 * Spacing.C (writeFile):
1843 * bufferparams.C (writeLaTeX):
1844 * lyx_cb.C (Reconfigure):
1845 * paragraph.C (write):
1846 * tabular.C (write): remove unnecessary space at end of line.
1849 2004-08-16 José Matos <jamatos@lyx.org>
1851 * text.C (readParagraph): remove debug message.
1853 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1855 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1858 * output_plaintext.C (asciiParagraph): set depth correctly
1860 * outputparams.h: add member depth
1862 * paragraph_funcs.C (ownerPar): remove.
1864 * text2.C (setCounter): remove first_pit; comment out some
1865 non-working code that uses ownerPar
1867 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1870 2004-08-16 José Matos <jamatos@lyx.org>
1872 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1873 For the same level of importance use the same chanel to report problems.
1874 (read): add code to deal with \begin_body and \end_body.
1877 2004-08-15 José Matos <jamatos@lyx.org>
1879 * lyxlex.C (getString): fix comment, buffer::readBody is now
1880 buffer:readDocument.
1882 * tex-strings.C (string_papersize): Default -> default,
1883 Custom -> custom, for consistency with other options.
1885 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1889 * Makefile.am: support pch
1891 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * text.C (readParToken): remove the static LyXFont variable and
1894 pass it as a parameter instead. This fixes a nasty bug where an
1895 inset will be inserted with a bad font in some situations
1896 (readParagraph): adapt
1898 * text2.C (setCounter): reduce number of calls to pars_[pit]
1900 * text.C (singleWidth): add an assert, fix a test
1902 * rowpainter.C (paintText): reduce number of calls to singleWidth
1904 * paragraph.C (isHfill):
1905 (isNewline): ws only
1907 2004-08-14 André Pönitz <poenitz@gmx.net>
1912 * lyxtext.h (several functions): use a Paragraph & argument
1915 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1919 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1921 * text.C (singleWidth): remove useless test
1923 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1925 * tabular.h: remove bogus comments
1927 * tabular.C (getDescentOfRow):
1928 (isPartOfMultiColumn): add assertions
1930 * lyxlength.C (inPixels): remove #warning
1932 2004-08-14 André Pönitz <poenitz@gmx.net>
1934 * paragraph.h: inline getChar()
1936 * BufferView.h: remove unused declarations
1938 2004-08-14 José Matos <jamatos@lyx.org>
1940 * Buffer.[Ch] (readDocument): new name for old readBody.
1941 * Buffer.C: new file format, new keywords: \begin_document,
1942 \begin_header, \begin_body, \end_body.
1944 * bufferparams.C (readToken): replace all calls to lex.nextToken
1945 by lex.next(). Do the same to eatLine except where really needed.
1947 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1948 line when writing to the lyx file.
1950 * output_plaintext.C (asciiParagraph): fix Bibliography style
1953 * text.C (read): fix end of file handling.
1955 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1957 * MenuBackend.C (Menu::operator[]): new method to access
1958 individual menu items
1959 (Menu::hasFunc): new method. search for an item that corresponds
1961 (MenuBackend::specialMenu): new method
1962 (MenuBackend::expand): if a special menu has been set, skip
1963 entries whose func() appears in this menu
1965 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1967 * text3.C: use Debug::DEBUG a bit more
1969 * text.C (leftMargin): try to simplify a tiny bit change var x to
1970 l_margin. Dont output the wide margins always.
1971 (rightMargin): no margin in inner texts
1973 * rowpainter.h (nestMargin): new func
1974 (changebarMargin): new func
1975 (rightMargin): new func
1977 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1981 * factory.C (createInset): modify setDrawFrame
1983 * cursor.C: use Debug::DEBUG a bit more
1985 2004-08-14 André Pönitz <poenitz@gmx.net>
1988 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1989 cache for all insets in (at least partially) visible (top-level)
1992 * BufferView_pimpl.C: reset external coord cache before every update.
1993 This means the coord cache only contains valid entries.
1995 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1998 * BufferView_pimpl.C (getInsetByCode): move function out of class
1999 and change in to a template in anon namespace. Also fix to do what
2002 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2005 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2007 (breakParagraph): rename par to par_offset and use a local
2008 reference. Add code to keep the language over a rebreak.
2009 (breakParagraphConservative): rename par to par_offset, use a
2011 (mergeParagraph): ditto
2013 (isFirstInSequence): ditto
2014 (outerFont): rename pit to par_offset
2016 * paragraph.C: ws change
2017 * paragraph.h: ditto
2021 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2026 * paragraph.C (simpleTeXOnePar): when we have a \item with
2027 optional argument, enclose the argument with curly brackets (in
2028 case it contains a closing square bracket)
2032 * text3.C (checkInsetHit): constify
2034 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2036 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2037 documents (bug 1629)
2039 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2041 Fix toggling of collapsable insets with the mouse (bug 1558)
2043 * lyxfunc.C (dispatch): adapt to LCursor changes
2045 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2046 make sure that dispatch is not invoked twice
2048 * cursor.C (needsUpdate): new method
2049 (dispatch): return void
2050 (result): new method, to access the DispatchResult of the cursor.
2052 2004-08-13 José Matos <jamatos@lyx.org>
2054 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2056 2004-08-13 André Pönitz <poenitz@gmx.net>
2058 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2060 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2063 2004-08-12 André Pönitz <poenitz@gmx.net>
2065 * text3.C: take out the 'cursor right' form insertInset and only
2066 do it in those places when it is really needed. Fixes crash on
2069 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2073 * BufferView_pimpl.C (setBuffer): initialize the current font of
2074 the underlying LyXText
2076 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2078 * kbsequence.C (print): use UI native formatting for menu
2081 * text.C (insertChar): call Paragraph::insertChar with a font
2084 * paragraph.C (insertInset, insertChar): the version that takes a
2085 LyXFont argument is now a wrapper around the other one (the
2086 opposite used to be true).
2088 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2089 argument. Font setting is done in Paragraph now.
2091 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * outputparams.h: add new members intitle and lang.
2095 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2096 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2098 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2100 * text3.C (dispatch): remove special handling of button 4 and 5,
2101 it is now taken care of in the frontend code.
2103 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2105 * Spacing.h: add <string> (STLPort compile fix)
2107 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2109 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2111 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2113 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2116 * converter.C (showMessage): inherit from unary_function, make
2119 * buffer.C (writeFile): initialize retval
2121 * InsetList.h: rename private variable list to list_
2122 * InsetList.[Ch]: adjust accordingly.
2124 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2126 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2127 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2128 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2129 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2130 * ParagraphParameters.C, LaTeXFeatures.C: replace
2131 "support/std_sstream.h" with <sstream>
2133 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2135 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2136 * lyxsocket.C (LyXServerSocket): ditto
2137 (serverCallback): ditto
2139 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2141 * LaTeXFeatures.C: check release date when loading jurabib.
2143 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2145 * lyxserver.C (startPipe): call register_socket_callback
2146 (endPipe): call unregister_socket_callback
2148 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2150 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2151 (LyXServerSocket): register the callback
2152 (LyXServerSocket): unregister the callback
2153 (fd): delete function
2154 (serverCallback): improve error checking and setup the callbacks.
2155 (dataCallback): change arg to fd.
2156 (writeln): new func (copied fro the client socket) used for server
2158 (LyXDataSocket): simplify
2159 (~LyXDataSocket): close ann unregiser callback
2160 (server): delete function
2161 (fd): delete function
2162 (readln): small changes, improve some std::string usage
2163 (writeln): constify a bit
2165 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2170 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2173 after it has been populated
2175 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2177 * text2.C (insertInset): move cursor when inserting inset.
2179 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * kbmap.C (findbindings): a couple of new methods. returns a
2182 container of kb_sequence objects. The real work is done by the
2183 private recursive version
2184 (printbindings): uses findbindings to print out a bracketed list
2185 of bindings (renamed from findbinding).
2187 * MenuBackend.C (binding): use kb_keymap::findbindings
2189 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2191 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2193 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2195 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2197 * paragraph.C (isWord): return true on insets that report
2200 * text.C (getWord): use Paragraph::isWord to decide what is in a
2201 word and what is not; fix bug 1609.
2203 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2205 * tex-strings.C: add "none" to string_paperpackages[], fixes
2206 off-by-one-error in the paperpackage selection.
2209 * tex-strings.[Ch]: char const * string[n]
2210 -> char const * const string[]
2212 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2214 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2215 command, return early.
2217 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2219 * debug.h: add DEBUG to enum and fix size of ANY.
2221 * debug.C: add support for Debug::DEBUG
2222 (showTags): cast errorTags.level to unsigned int
2224 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2225 (redoCurrentBuffer): ditto
2226 (updateScrollbar): ditto
2227 * cursor.C (dispatch): ditto
2228 * text2.C (setLayout): ditto
2230 (updateCounters): ditto
2232 (deleteEmptyParagraphMechanism): ditto
2234 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2236 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2237 annotations to cleanup the Makefile slightly.
2239 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2241 * lyxrc.C: do not set user_email to a default value but use empty
2242 instead. The entry used to be translated, which does not work
2243 since at the point where lyxrc is constructed there is no
2244 translation service available
2246 * messages.C (getLocaleDir): remove and use directly
2247 lyx_localedir() instead
2249 2004-06-02 Angus Leeming <leeming@lyx.org>
2251 Fix crash caused by dereferencing null pointer 'exportdata' in
2252 OutputParams by creating a new ExportData variable on the heap,
2253 storing it in a boost::shared_ptr.
2254 The crash was triggered when generating an Instant Preview
2255 of an external inset.
2257 * Makefile.am: add outputparams.C
2259 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2260 (c-tor): allocate memory to it.
2262 * exporter.C (c-tor): associated changes.
2264 2004-06-01 Angus Leeming <leeming@lyx.org>
2266 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2267 contains data before calling isInset(0). (Bug 1513.)
2269 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2271 * exporter.C (checkOverwrite): new method
2272 * exporter.C (copyFile): new method
2273 * exporter.C (Export): copy referenced files to the document dir
2274 * exporter.[Ch]: new class ExportedFile
2275 * exporter.[Ch]: new class ExportData. Contains currently the
2276 names of referenced external files
2277 * outputparams.h: add exportdata member.
2279 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2281 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2284 2004-05-19 Angus Leeming <leeming@lyx.org>
2289 * lyxfunc.C: small changes due to the introduction of namespace
2290 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2292 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2294 * text3.C (dispatch): supress update when only moving the cursor
2295 * cursor.C (selHandle): remove commented code
2297 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2299 * paragraph.C (startTeXParParams): correct column count
2300 * CutAndPaste.C (pasteSelection): remove const_cast
2301 * output_docbook.C (docbookParagraphs): remove const_cast
2302 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2303 const_cast and return ParagraphList::const_iterator
2304 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2305 * output_plaintext.C (writeFileAscii): remove const_cast
2306 * paragraph.[Ch] (simpleTeXOnePar): make const
2307 * paragraph_funcs.C (outerPar): use const iterators
2308 * paragraph_pimpl.C (validate): use const iterators
2309 * text.C (setHeightOfRow): use const iterators
2311 2004-05-17 Angus Leeming <leeming@lyx.org>
2314 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2316 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2317 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2318 if the citation engine has changed.
2320 2004-05-14 José Matos <jamatos@lyx.org>
2322 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2323 if the textclass does not provide it. Have it different for sgml and
2325 support the language of document.
2326 * output_docbook.C (docbookParagraphs):
2327 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2328 first anchor as the id of the paragraph, remove special case code.
2329 * sgml.C (escapeChar): escape only < & >.
2331 2004-05-14 Angus Leeming <leeming@lyx.org>
2333 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2334 dependencies on src/frontends/controllers/biblio.h. Define a
2335 CiteEngine_enum wrapper class to enable the enum to be forward
2338 2004-05-12 Angus Leeming <leeming@lyx.org>
2340 * buffer.C: up LYX_FORMAT to 234.
2341 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2342 use_numerical_citations with a single biblio::CiteEngine cite_engine
2344 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2346 2004-05-13 José Matos <jamatos@lyx.org>
2349 * converter.C (Converter, readFlags): add xml member.
2350 * outputparams.h: add XML flavor.
2351 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2353 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2355 * lyxfunc.C (dispatch):
2356 (getStatus): fix handling of LFUN_SEQUENCE
2358 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2360 * debug.C (showLevel): do not forget the end-of-line marker
2362 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2364 * kbmap.C (read): do not stop parsing a bind file when an error
2367 2004-04-29 Angus Leeming <leeming@lyx.org>
2372 * text2.C: wrap a bunch of #warning statements
2373 inside #ifdef WITH_WARNINGS blocks.
2375 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2377 * buffer.C: increment format to 233.
2379 2004-04-28 Angus Leeming <leeming@lyx.org>
2381 * BufferView_pimpl.C:
2384 s/updateToolbar()/updateToolbars()/
2385 s/Toolbar.h/Toolbars.h/
2387 2004-04-28 Angus Leeming <leeming@lyx.org>
2389 * BufferView.[Ch] (c-tor):
2390 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2391 No longer passes these data to the WorkArea generator.
2393 2004-04-28 Angus Leeming <leeming@lyx.org>
2395 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2397 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2399 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2401 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2403 * output_latex.C (TeXEnvironment): make sure that there is a line
2404 break before \end{foo} for the last paragraph of a document
2405 (TeXOnePar): if the paragraph is at the end of the document (or
2406 inset) and the language has to be reset, then make sure that the
2407 line break is _before_ the language command, not after (fixes bug
2408 1225); also make sure that the language reset command is the first
2409 thing after the paragraph (to ensure proper nesting of
2410 environments and thus fix bug 1404)
2412 2004-04-21 John Levon <levon@movementarian.org>
2415 * ToolbarBackend.C: make "name" be a programmatic name
2416 and a gui_name field.
2418 * lyxfunc.C: display the minibuffer on M-x
2420 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2425 2004-04-19 Angus Leeming <leeming@lyx.org>
2427 * BufferView_pimpl.C (setBuffer): changed preview interface.
2429 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2432 2004-04-19 John Levon <levon@movementarian.org>
2434 * BufferView_pimpl.C:
2435 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2437 2004-04-05 Angus Leeming <leeming@lyx.org>
2439 * text.C (redoParagraphs): add call to updateCounters(), thereby
2440 fixing the missing "Figure #:" label from the caption of a
2443 2004-04-13 Angus Leeming <leeming@lyx.org>
2445 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2446 cursor is clicked out of an inset.
2448 2004-04-13 Angus Leeming <leeming@lyx.org>
2450 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2451 than an InsetOld one.
2453 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2455 * format.[Ch]: add editor to Format
2456 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2457 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2459 2004-04-08 André Pönitz <poenitz@gmx.net>
2461 * metricsinfo.h: remove PainterInfo::width member
2463 2004-04-08 Angus Leeming <leeming@lyx.org>
2465 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2466 "\providecommand" rather than "\newcommand", thereby preventing
2467 clashes with packages that define "\boldsymbol" themselves.
2470 2004-04-08 Angus Leeming <leeming@lyx.org>
2472 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2473 thereby squashing an unnecessary warning.
2475 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2477 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2480 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2482 * BufferView.C (setCursor): call redoParagraph (some insets could
2484 (putSelectionAt): remove the 'double update' trick
2486 * BufferView_pimpl.C (fitCursor): call refreshPar
2487 (workAreaDispatch): remove an uneeded update call
2488 (dispatch): remove some manual update calls
2490 * cursor.[Ch]: remove cached_y_, updatePos
2491 (selHandle): set noUpdate when appropriate
2493 * lyxfunc.C (dispatch): track if we need an update
2495 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2497 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2498 (paintSelection): cheap optimization, do not call cursorX when not
2500 (paintPars): change signature
2503 (paintTextInset): adjust
2507 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * lengthcommon.C: compilation fix: remove explicit array size from
2510 unit_name[] and friends
2512 2004-04-05 Angus Leeming <leeming@lyx.org>
2514 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2516 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2517 present only for the preferences dialog.
2518 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2520 2004-04-05 Angus Leeming <leeming@lyx.org>
2522 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2523 to enable the frontends to export changes to lyxrc correctly.
2525 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2527 2004-04-07 André Pönitz <poenitz@gmx.net>
2529 * cursor.[Ch] (selClear, adjust): remove math
2531 * cursor_slice.C: more agressive assert
2534 * BufferView_pimpl.C: rework mouse event dispatch
2541 2004-04-05 André Pönitz <poenitz@gmx.net>
2543 * cursor.[Ch] (valign, halign...): remove unneeded functions
2545 2004-04-05 Angus Leeming <leeming@lyx.org>
2547 * lyxlength.[Ch] (unit_name et al.): const-correct.
2549 2004-04-05 Angus Leeming <leeming@lyx.org>
2551 * BufferView_pimpl.C:
2560 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2562 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2564 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2566 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2568 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2569 * BufferView_pimpl.[Ch] (getStatus)
2570 * BufferView.[Ch] (getStatus): add
2571 * lyxfunc.C (getStatus): move lfuns handled in
2572 BufferView::dispatch to te function above
2573 * Cursor.C (setSelection): set selection() = true
2575 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2577 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2579 2004-03-31 Angus Leeming <leeming@lyx.org>
2581 * lyxfunc.C (dispatch): Fall through to the generic
2582 Dialogs::show("preamble").
2584 2004-03-31 Angus Leeming <leeming@lyx.org>
2586 * lyxfunc.C (dispatch): Fall through to the generic
2587 Dialogs::show("spellchecker").
2589 2004-03-31 Angus Leeming <leeming@lyx.org>
2591 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2594 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2599 * insetiterator.[Ch]:
2604 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2606 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2608 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2609 insets where we are putting the cursor.
2611 2004-03-31 Angus Leeming <leeming@lyx.org>
2614 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2616 * lyxrc.[Ch] (read, write): overloaded member functions taking
2617 a std::[io]stream arguments.
2619 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2621 2004-03-31 Angus Leeming <leeming@lyx.org>
2623 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2624 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2626 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2627 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2629 2004-03-31 Angus Leeming <leeming@lyx.org>
2631 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2632 the LFUN_ALL_INSETS_TOGGLE code.
2634 2004-03-30 Angus Leeming <leeming@lyx.org>
2636 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2637 has died. Fall through to the generic Dialogs::show("document").
2639 2004-03-30 Angus Leeming <leeming@lyx.org>
2642 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2643 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2645 * lyxfunc.C (getStatus, dispatch): define the actions for these
2646 lfuns. Little more than a cut and pste job from ControlDocument.C
2648 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2650 2004-03-30 Angus Leeming <leeming@lyx.org>
2653 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2654 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2656 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2657 open/closed state of ollapsable insets. Usage:
2659 all-inset-toggle <state> <name>, where
2660 <state> == "open" || "closed" || "toggle" and
2661 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2663 * lyxtext.h, text2.C (toggleInset): removed.
2665 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2666 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2667 now passes LFUN_INSET_TOGGLE to the found inset.
2669 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2670 is now invoked as "all-insets-toggle toggle branch".
2672 2004-03-30 Angus Leeming <leeming@lyx.org>
2676 * pariterator.[Ch]: added/corrected header blurb.
2678 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2680 * dociterator.[Ch]: add an inset_ member
2681 (backwardPos): implemented
2682 (backwardPos, forwardPos): use inset_ when the stack is empty.
2683 (doc_iterator_begin, doc_iterator_end): implemented
2684 * pariterator.[Ch]: adjust, add begin, end
2685 * insetiterator.[Ch]: adjust, add begin, end
2689 * BufferView_pimpl.C:
2690 * CutAndPaste.C: adjust
2692 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2694 * buffer.C: increment file format to 232.
2695 * LaTeXFeatures.C: add bibtopic package.
2696 * bufferparams.[Ch]: param \use_bibtopic.
2698 * lyxrc.[Ch]: add lyxrc bibtex_command
2699 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2701 * buffer.C: increment file format to 231.
2703 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2705 * dociterator.C: implement forwardPar
2706 * iterators.[Ch]: remove, replaced by
2707 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2709 * BufferView_pimpl.C:
2712 * bufferview_funcs.C:
2718 * Makefile.am: adjust
2720 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2722 * CutAndPaste.C (pasteSelection): fix 2 crashes
2723 (eraseSelection): fix a crash
2724 * paragraph_funcs.C: remove a warning
2726 2004-03-28 Angus Leeming <leeming@lyx.org>
2729 * LyXAction.C (init): new LFUN_PRINT.
2731 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2733 2004-03-27 Angus Leeming <leeming@lyx.org>
2736 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2738 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2740 2004-03-27 Angus Leeming <leeming@lyx.org>
2742 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2743 insetlist always contains non-null pointers to insets.
2745 2004-03-26 Angus Leeming <leeming@lyx.org>
2747 * src/BufferView_pimpl.C:
2748 * src/CutAndPaste.C:
2751 * src/output_plaintext.C:
2752 * src/outputparams.h:
2753 * src/paragraph_funcs.C:
2757 * src/frontends/controllers/ControlErrorList.C:
2758 * src/frontends/gtk/FileDialogPrivate.C:
2759 * src/frontends/gtk/GPainter.C:
2760 * src/frontends/gtk/GToolbar.C:
2761 * src/frontends/qt2/QRef.C:
2762 * src/mathed/math_scriptinset.C: squash compiler warnings.
2764 2004-03-26 Angus Leeming <leeming@lyx.org>
2766 * ispell.C (LaunchIspell::start):
2767 * lyx_cb.C (AutoSaveBuffer::start):
2768 invoke run(DontWait) rather than runNonBlocking().
2770 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2772 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2774 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2776 * kbsequence.C (print): adjust
2778 * kbmap.C (printKeySym): rename and change signature
2779 (printKey): use LyXKeySym::print()
2781 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2783 * undo.C: add using std::advance to compile for stlport
2785 2004-03-24 Angus Leeming <leeming@lyx.org>
2787 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2788 it leads to a crash when no buffer is present.
2790 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2791 Martin Vermeer <martin.vermeer@hut.fi>
2793 * lyxfunc.C (dispatch):
2794 * bufferparams.C (readToken): use the new LColor::setColor
2796 * LColor.[Ch] (setColor): new version that takes two strings as
2797 argument and creates a new color entry if necessary
2799 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2801 * buffer.C (makeLaTeXFile): if the main latex file that is
2802 processed is usually a subdocument of some master, then pretend
2803 for a while that it is actually the master
2805 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2807 * buffer.C (getLabelList):
2808 (getBibkeyList): use getMasterBuffer()
2809 (getMasterBuffer): new method. Returns the main document in the
2810 case where one is using included documents.
2812 2004-03-25 André Pönitz <poenitz@gmx.net>
2816 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2818 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2820 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2821 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2823 * ParameterStruct.h: merge with ParagraphParameters
2825 * lyxtext.h: remove LyXText::parOffset() and getPar()
2827 * text3.C: Remove all 'manual' update calls. We do now one per user
2828 interaction which is completely sufficient.
2832 * BufferView_pimpl.C:
2833 * FontIterator.[Ch]:
2835 * ParagraphParameters.[Ch]:
2840 * cursor_slice.[Ch]:
2847 * output_docbook.[Ch]:
2848 * output_latex.[Ch]:
2849 * output_linuxdoc.[Ch]:
2850 * output_plaintext.[Ch]:
2852 * paragraph_funcs.[Ch]:
2853 * paragraph_pimpl.[Ch]:
2861 * frontends/controllers/ControlDocument.C:
2862 * frontends/controllers/ControlErrorList.C:
2863 * frontends/controllers/ControlSpellchecker.C:
2866 * insets/insetbase.h:
2867 * insets/insetbibitem.C:
2868 * insets/insetbox.C:
2869 * insets/insetbranch.C:
2870 * insets/insetcaption.C:
2871 * insets/insetcharstyle.C:
2872 * insets/insetcharstyle.h:
2873 * insets/insetcollapsable.C:
2874 * insets/insetcollapsable.h:
2875 * insets/insetert.C:
2876 * insets/insetfloat.C:
2877 * insets/insetfoot.C:
2878 * insets/insetmarginal.C:
2879 * insets/insetnote.C:
2880 * insets/insetoptarg.C:
2881 * insets/insettabular.C:
2882 * insets/insettext.C:
2883 * insets/insettext.h:
2884 * insets/insetwrap.C:
2885 * mathed/math_mboxinset.C:
2886 * mathed/math_nestinset.C:
2887 * mathed/math_scriptinset.C:
2888 * mathed/math_scriptinset.h:
2891 2004-03-24 Angus Leeming <leeming@lyx.org>
2893 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2894 deal with any child processes that have finished but are waiting to
2895 communicate this fact to the rest of LyX.
2897 2004-03-24 Angus Leeming <leeming@lyx.org>
2899 64-bit compile fixes.
2901 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2902 (c-tor): pass lyx::pos_types rather than ints.
2904 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2907 * text.C (Delete): compile fix.
2908 (getPar): ensure that function declaration is the same as that in
2911 2004-03-23 Angus Leeming <leeming@lyx.org>
2913 * ispell.C (LaunchIspell):
2914 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2915 a boost::shred_ptr rather than a std::auto_ptr.
2917 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2919 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2920 handle LFUN_FILE_INSERT_*
2922 * lyxrc.C (setDefaults, getDescription, output, read):
2923 * lyxrc.h: remove ps_command
2925 2004-03-22 Angus Leeming <leeming@lyx.org>
2927 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2928 Ensure that error_handler is processed once only and that all data
2929 is saved before attempting to output any warning messages.
2931 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2933 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2935 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2937 2004-03-19 André Pönitz <poenitz@gmx.net>
2939 * cursor.[Ch] (reset): take main text inset as argument
2941 * BufferView: adjust
2942 * BufferView_pimpl.C: adjust
2944 * paragraph.[Ch]: fix completely broken operator=()
2946 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2948 * LColor.C (getFromLyXName): make sure that the color name is used
2951 2004-03-17 Angus Leeming <leeming@lyx.org>
2954 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2956 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2957 dialog and to kill a forked process.
2959 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2961 * text2.C (setCursorFromCoordinates): fix font problem
2963 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2965 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2966 bogus "rebuild cursor" code
2968 2004-03-11 André Pönitz <poenitz@gmx.net>
2970 * buffer.[Ch]: use InsetText instead of LyXText as container for
2973 * dociterator.[Ch]: drop the BufferView * member which is not needed
2974 anymore after the change to buffer.C
2976 * paragraph_funcs.C:
2980 * BufferView_pimpl.[Ch]:
2982 * cursor_slice.[Ch]: adjust
2984 * text3.C: fix bug in mathDispatch
2986 2004-03-08 André Pönitz <poenitz@gmx.net>
2988 * undo.[Ch]: use 'StableDocumentIterator' as base for
2991 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2994 * bufferparams.[Ch]: add jurabib support and param.
2996 * LaTeX.C: add FIXME/comment.
2998 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3000 * buffer.C: increment file format to 230.
3002 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3004 * cursor.C (dispatch): avoid infinite loops
3006 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3008 * rowpainter.C (paintSelection): fix x coordinates
3010 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3012 * text.C (rowBreakPoint): fix breaking before displayed insets
3014 2004-03-01 André Pönitz <poenitz@gmx.net>
3016 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3018 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3022 * BufferView_pimpl.C:
3030 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3036 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3037 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3039 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3041 * Bidi.[Ch] (computeTables): const correctness
3042 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3043 fill_hfill, fill_label_hfill and x from Row
3044 * lyxtext.h: prepareToPrint returns a RowMetrics
3045 * rowPainter.C: adjust
3046 * text.C (prepareToPrint): use width, not textWidth. adjust
3047 (redoParagraphInternal, cursorX): adjust
3048 * text2.C (getColumnNearX): adjust
3049 (init): put a default value to the top LyXText::width
3051 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3053 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3055 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3057 * lyxtext.h: add FontIterator class
3059 * text.C (FontIterator, operator*, operator->, operator++): add
3060 (rowBreakPoint, setRowWidth): adjust (fixing a
3063 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3065 * BufferView_pimpl.C (workAreaDispatch): allow also
3066 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3068 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3070 * text.C (rowBreakPoint): fix a bug showing with very large insets
3072 2004-02-25 André Pönitz <poenitz@gmx.net>
3075 * cursor.[Ch]: move some mathed specific code to mathed
3077 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3079 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3080 use_tempdir in preferences
3081 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3083 * lyx_main.C: ensure that tempdir is valid
3084 * lyxlex.h: correct typo
3085 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3086 * paragraph.[Ch] (isMultiLingual): make const
3087 * cursor.[Ch] (openable): make const
3089 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3091 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3093 2004-02-20 André Pönitz <poenitz@gmx.net>
3095 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3097 * cursor.[Ch]: prepare for localized getStatus()
3103 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3105 2004-02-20 André Pönitz <poenitz@gmx.net>
3107 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3109 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3111 * text2.C (setCursorFromCoordinates): switch to absolute coords
3113 (cursorDown): adjust
3114 * text3.C (dispatch): adjust
3116 2004-02-16 André Pönitz <poenitz@gmx.net>
3118 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3121 * cursor_slice.[Ch]: remove unneeded acessor function
3123 * lyxtext.h: rename rtl() to isRTL()
3131 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3133 * rowpainter.C (paintSelection): coord fix
3135 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3137 * Spacing.C: compile fix
3139 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3141 * cursor.C (dispatch): restore current_ before returning
3143 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3145 * text2.C (cursorUp, cursorDown): fix coords
3148 2004-02-12 André Pönitz <poenitz@gmx.net>
3153 * text3.C: add LCursor & parameter to most cursor movement functions
3154 remove usage of LyXText::cursorRow() and cursorPar()
3156 * cursor.[Ch]: add textRow() needed members
3159 * BufferView_pimpl.C:
3162 * BufferView_pimpl.C: adjust
3164 2004-02-11 André Pönitz <poenitz@gmx.net>
3168 * BufferView_pimpl.C: shift undo/redo handling
3170 * cursor.[Ch]: fix mathed crash
3173 * lyxtext.h: move selectionAsText to LCursor
3181 * rowpainter.C: fix excessive drawing
3183 2004-02-06 André Pönitz <poenitz@gmx.net>
3186 * BufferView_pimpl.[Ch]:
3187 * text3.C: move some text specific LFUN handling
3189 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3191 * text3.C (checkInsetHit): adjust coords
3192 * text2.C (getColumnNearX): adjust coords
3193 (edit): adjust coords
3194 * text.C (getRowNearY): add two asserts
3196 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3199 * format.C: add using std::distance to compile on gcc 2.95/stlport
3201 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3203 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3205 2004-02-04 André Pönitz <poenitz@gmx.net>
3207 * BufferView.[Ch] (insertInset):
3208 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3213 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3215 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3216 on the default clause of the switch
3217 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3218 wasn't catched by LCursor::dispatch
3220 2004-02-03 André Pönitz <poenitz@gmx.net>
3223 * cursor.[Ch]: some additional asserts
3225 * undo.[Ch]: remove LyXText dependency in interface
3229 * lyxtext.h (firstPar, lastPar): remove dead functions
3234 * paragraph.[Ch]: adjust
3236 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3238 * lyxfind.C (find): fix argument order in call to ::find
3240 2004-02-02 André Pönitz <poenitz@gmx.net>
3242 * cursor.[Ch]: remove direct access to anchor
3244 * text.C: remove findText() hack
3246 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3248 * iterators.[Ch] (lockPath): remove in favour of...
3249 * BufferView.[Ch] (setCursor): this addition
3250 * BufferView.C (putSelectionAt): adjust
3251 * undo.C (performUndoOrRedo): adjust
3252 * lyxfunc.C (dispatch): adjust
3254 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3256 * iterators.C (lockPath): add a missing slice
3257 * undo.C (performUndoOrRedo): remove redundant positioning code
3259 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3261 * vc-backend.C (scanMaster): ";" -> ';'
3263 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3265 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3266 std::binary_function
3268 * lyxtextclass.C (compare_name): rename to...
3269 (LayoutNamesEqual): ...this
3271 * lyxlex_pimpl.C (compare_tags): inherit from
3272 std::binary_function, put back into anon namespace
3274 * lyxfind.C (MatchString): inherig from std::binary_function
3275 (findChange): use empty() istead of !size()
3277 * format.C (FormatNamesEqual): new functor
3284 * converter.C (compare_Converter): rename to...
3285 (ConverterEqual): ...this, and fixup a bit.
3286 (getConverter): use it, and make function const
3287 (getNumber): use it, and make function const
3291 * bufferlist.C: add using boost::bind
3293 * MenuBackend.C (MenuNamesEqual): new functor
3294 (hasMenu): use it, and make function const
3295 (hasSubmenu): use nested bind to get rid of compare_memfun.
3297 2004-01-30 André Pönitz <poenitz@gmx.net>
3299 * BufferView_pimpl.C:
3302 * cursor_slice.[Ch]:
3305 * paragraph_funcs.C:
3306 * paragraph_funcs.h:
3310 * text3.C: move some of the edit(x,y) handling to the insets
3311 some coordinate changes.
3313 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3315 * text.C: add using statements for std::advance and std::distance
3317 * paragraph.C: add using statement for std::distance
3319 * lyxfind.C: add using statement for std::advance
3321 * cursor.C (region): remove std:: from swap
3322 (openable): use nucleus in stead of operator->
3324 * BufferView.C: add using statements for std::distance and std::swap
3326 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3328 * iterators.C: Remove the pimple, move the needed structures to
3329 the header file. Create accessor for the positions stack.
3330 (asPosIterator): remove function
3332 * PosIterator.C (PosIterator): move constructors to top of file
3333 (PosIterator): reimplement the constructor taking a ParIterator in
3335 (setFrom): new function
3336 (operator!=): inline it
3338 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3340 * lyxfind.C (replaceAll): use std::advance
3342 * iterators.h: inherit from std::iterator.
3344 * PosIterator.C (advance, distance): remove
3345 * PosIterator.h: interit from std::iterator.
3347 2004-01-26 André Pönitz <poenitz@gmx.net>
3350 * BufferView_pimpl.[Ch]:
3354 * bufferview_funcs.C:
3364 * output_linuxdoc.C:
3365 * output_plaintext.C:
3367 * paragraph_funcs.[Ch]:
3368 * paragraph_pimpl.[Ch]:
3374 * text3.C: more IU: dumps most of the rest of the mathcursor
3375 implementation into cursor.[Ch]; "globalize" a bit of it.
3377 2004-01-25 Angus Leeming <leeming@lyx.org>
3379 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3381 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3383 * LaTeXFeatures.h: add nice_ and nice() const
3384 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3386 2004-01-20 André Pönitz <poenitz@gmx.net>
3389 * BufferView_pimpl.C:
3391 * bufferview_funcs.C:
3393 * cursor_slice.[Ch]:
3404 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3405 LCursor and mathcursor parts to LCursor and InsetBase.
3407 2004-01-15 André Pönitz <poenitz@gmx.net>
3409 * cursor_slice.[Ch]: add a few covienience functions
3411 * funcrequest.[Ch]: remove BufferView * member
3413 * BufferView_pimpl.C:
3420 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3422 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3424 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3425 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3427 2004-01-13 André Pönitz <poenitz@gmx.net>
3430 * lyxtext.h: hide cursor and selection anchor behind accessor function
3433 * BufferView_pimpl.[Ch]:
3435 * bufferview_funcs.C:
3445 * cursor_slice.[Ch]: some integer type changes for inset unification
3447 * lyxcursor.[hC]: remove, it's CursorSlice now.
3450 * BufferView_pimpl.[Ch]:
3451 * bufferview_funcs.C:
3457 * textcursor.[Ch]: adjust
3459 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3461 * text2.C (undoSpan): add and use
3462 * text.C (breakParagraph): use undoSpan (fix bug 578)
3465 2004-01-08 Angus Leeming <leeming@lyx.org>
3467 * BufferView_pimpl.C (MenuInsertLyXFile):
3468 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3469 * lyxfunc.C (menuNew, open, doImport):
3470 FileFilterList change to the FileDialog open and save functions.
3472 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3474 * ShareContainer.h: make isEqual and isUnique adaptable
3476 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3478 2004-01-07 Angus Leeming <leeming@lyx.org>
3481 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3483 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3485 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3486 functions replacing find, replace and replaceAll.
3488 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3489 LFUN_WORDFIND(FORWARD|BACKWARD).
3491 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3493 * text.C (breakParagraph): remove an outdated #warning
3495 2004-01-07 André Pönitz <poenitz@gmx.net>
3497 * lyxfind.C: somewhat clearer logic
3499 * text.C: prevent crash in cursorX on unitialized row cache
3501 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3503 * lyxcursor.[Ch] (operator>): add
3504 * textcursor.C (selStart, selEnd): use std::min and std::max
3506 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3508 * Chktex.C: include boost/format.hpp
3510 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3512 * InsetList.C: replace functor MathcIt with adaptable functor
3514 (insetIterator): modify accordingly
3516 * BranchList.h: move the BranchNamesEqual functor here from...
3517 * BranchList.C: ... to here
3519 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3521 (add): replace a finding loop with std::find_if.
3523 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3525 * output_docbook.C: moving LatexParam functionality into
3528 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3530 * buffer.C: increment format to 229.
3532 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3535 * lyx_sty.[Ch]: remove minipageindent_def
3541 * text3.C: remove LFUN_INSET_MINIPAGE
3543 2003-12-28 Angus Leeming <leeming@lyx.org>
3545 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3547 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3549 * text2.C (setParagraph): fix off-by-one crash
3551 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3553 * output_docbook.C: header stuff for AGU
3555 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3557 * text2.C (redoCursor): remove
3560 * BufferView_pimpl.C: remove calls to redoCursor and
3561 setCursor(cursor.par(), cursor.pos()) all around
3563 2003-12-15 Angus Leeming <leeming@lyx.org>
3565 * buffer.C: up the format to 228.
3567 2003-12-15 André Pönitz <poenitz@gmx.net>
3569 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3574 * BufferView_pimpl.C:
3583 2003-12-15 Angus Leeming <leeming@lyx.org>
3585 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3586 than getFromGUIName to manipulate the color.
3588 2003-12-14 Angus Leeming <leeming@lyx.org>
3590 * BranchList.[Ch]: minimize the API.
3591 (Branch::getBranch, getColor): now return a 'const &'.
3592 (Branch::setSelected) now returns a bool set to true if the
3593 selection status changes.
3594 (BranchList::clear, size, getColor, setColor, setSelected,
3595 allBranches, allSelected, separator): removed.
3596 (BranchList::find): new functions, returning the Branch with
3598 (BranchList::add, remove): return a bool indicating that
3599 the operation was successful.
3601 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3602 new InsetBranch::isBranchSlected member function.
3604 * LColor.[Ch]: mimimize the API.
3605 (fill): renamed as addColor and made private.
3606 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3607 versions of these functions taking a string arg have been removed.
3609 * bufferparams.C (readToken):
3610 * lyxfunc.C (dispatch):
3611 * lyxrc.C (read): changes due to the altered BranchList and
3614 * factory.C (createInset, readInset): changes due to altered
3617 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3620 * lyxfunc.C: remove insetminipage. "minipage-insert"
3621 now produces a frameless minipage box inset.
3623 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3625 * textcursor.[Ch] (selStart,selEnd): add new methods
3626 remove selection::start, end, use LyXCursor::operator<
3627 * lyxcursor.[Ch] (operator<): add
3628 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3629 * BufferView.[Ch] (unsetXSel): add
3630 * text2.C (clearSelection): use unsetXSel,adjust
3633 * rowpainter.C: adjust
3634 * bufferview_funcs.C (put_selection_at): adjust
3636 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3638 * BufferView_pimpl.C: small coord. correction
3640 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3642 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3643 dragging over the splash screen.
3645 2003-12-11 Angus Leeming <leeming@lyx.org>
3647 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3648 as it is now handled in LyXText::dispatch.
3650 * text3.C (doInsertInset): remove a level of nesting.
3652 2003-12-11 Angus Leeming <leeming@lyx.org>
3654 * factory.C (createInset): changes due to the changed interface to
3655 InsetCommandMailer::string2params.
3657 2003-12-10 Angus Leeming <leeming@lyx.org>
3659 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3660 'dialog-show-new-inset <inset name>'
3662 2003-12-10 Angus Leeming <leeming@lyx.org>
3664 * buffer.C: up the format to 227.
3666 * factory.C: the box inset is now identified simply by 'Box'.
3668 2003-12-10 Angus Leeming <leeming@lyx.org>
3670 * buffer.C: up the format to 226.
3672 * factory.C: the note inset is now identified simply by 'Note'.
3674 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3676 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3677 when a pit is enough. Standarize a couple of loops.
3679 2003-12-05 Angus Leeming <leeming@lyx.org>
3681 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3682 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3683 data to the re-worked "log" dialog.
3685 2003-12-03 André Pönitz <poenitz@gmx.net>
3691 * paragraph_funcs.C:
3693 * text2.C: use Inset::getText instead of Inset::getParagraph
3695 2003-12-03 André Pönitz <poenitz@gmx.net>
3699 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3700 InsetText::read() as LyXText::read()
3702 2003-12-02 Angus Leeming <leeming@lyx.org>
3704 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3705 type. Add a comment in the implementation that the function uses
3706 the stream's bad() function rather than fail() as the std::streams
3709 2003-12-02 André Pönitz <poenitz@gmx.net>
3711 * lyxlex.[Ch]: make interface more similar to std::stream
3713 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3715 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3717 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3719 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3721 * vspace.[Ch]: remove VSpace::NONE
3723 2003-12-01 André Pönitz <poenitz@gmx.net>
3726 * lyxtext.h: move ParagraphList member to LyXText
3727 rename LyXText::ownerParagraphs to LyXText::paragraph
3730 * bufferview_funcs.C:
3740 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3742 * undo.C: fix cursor positioning
3744 2003-12-01 John Levon <levon@movementarian.org>
3746 * BufferView_pimpl.C: fix a crash on exit with
3749 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3751 * BranchList.C: fix setSelected() method.
3753 2003-11-28 André Pönitz <poenitz@gmx.net>
3755 * ParagraphParameters.[Ch]:
3756 * ParameterStruct.h: remove space above/below from Paragraph to
3759 * BufferView_pimpl.C:
3765 * paragraph_funcs.C:
3771 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3773 * factory.C: Syntax change for CharStyles
3775 2003-11-28 André Pönitz <poenitz@gmx.net>
3780 * buffer.[Ch]: move LyXText member
3782 2003-11-28 André Pönitz <poenitz@gmx.net>
3784 * BufferView.[Ch]: make LyXText * text a private member
3786 * BufferView_pimpl.C:
3797 * output_plaintext.C: cleanup
3799 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3802 * lyxtextclass.[Ch]: parametrize SGML document header
3804 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3807 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3810 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3812 * text2.C (setFont): rework using PosIterator (no more recursive)
3813 (setCharFont): no more needed
3814 (setLayout): no more selection cursors fiddling (done by redoCursor)
3815 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3816 destroy remaining ones)
3818 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3820 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3822 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3825 * text3.C: adjust + re-allow multi par depth changes
3826 * textcursor.C: simplify a bit
3828 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3834 * src/output_docbook.C:
3835 * src/output_latex.C:
3840 * src/text2.C: Introducing a number of tags parametrizing various
3841 XML formats that we may want to support
3843 2003-11-25 André Pönitz <poenitz@gmx.net>
3845 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3847 * lyxtext.h (leftMargin/rightMargin): simplify interface
3854 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3856 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3857 master file to any child files. Fixes bug 546.
3859 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3861 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3863 2003-11-24 André Pönitz <poenitz@gmx.net>
3865 * rowpainter.C: simplification
3867 * text2.C (updateCounters): remove call to redoParagraph on
3868 changed labels as this is far too expensive.
3870 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3872 * converter.C (convert): fix a crash: this function gets
3873 called with buffer == 0 from importer code.
3875 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3877 * text3.C (cursorPrevious): make sure that we do not compare
3878 iterators form different containers.
3881 * rowpainter.C (paintSelection): make sure that we do not compare
3882 iterators from different containers.
3884 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3885 iterators from different ParagraphList containers.
3888 * text2.C (LyXText): change order of initialization slightly
3889 (operator=): new function. copy all variables except cache_par_
3890 (moveUp): make sure that we do not compare iterators from
3891 different ParagraphList constainers.
3894 * text.C (firstPar): new function
3895 (lastPar): new function
3896 (endPar): new function
3898 * lyxtext.h: move things around and group public functions, public
3899 variables, private functions, private variables
3901 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3903 * factory.C: change call to InsetERT constructor to avoid
3904 additional invocation of method status
3905 * text2.C (toggleInset): remove redundant update() call
3906 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3907 instead of a Bufferview pointer
3909 2003-11-21 André Pönitz <poenitz@gmx.net>
3911 * rowpainter.C: simplification
3913 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3915 * text3.C (dispatch): make possible to extend a word/row selection
3918 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3920 * lyxtext.h: x0_,y0_ -> xo_,yo_
3921 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3922 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3923 * rowpainter.C (paintRows): paint full paragraphs
3925 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3927 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3930 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3932 * lyxtext.h: add x0_, y0_
3933 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3934 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3936 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3938 * text2.C (setCursorIntern): move the x_target update here *
3939 * text3.C: change some bv() to true/false in calls to
3940 cursorUp/Down/Right/Left
3941 * cursor.C: use helper function.
3943 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3945 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3946 * paragraph_funcs.[Ch]: correct comment
3947 * rowpainter.C: do not paint selections away from bv->cursor()
3948 Fix a long standing selection painting bug.
3949 * text3.C: generalize mouse-selection code to LyXTexts other that
3951 * textcursor.C: do not use y coords if we can use par offsets
3953 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3955 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3956 cursor position after e.g. inset insert)
3958 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3960 * lyxfind.C (replace): adjust to locking removal + some
3963 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3965 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3968 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3971 * output_docbook.C: XML sanitation: new layout
3972 parameters InnerTag and CommandDepth
3974 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3976 * BufferView_pimpl.C:
3978 * text3.C: Fix the insertion and modification of button-style
3981 2003-11-13 André Pönitz <poenitz@gmx.net>
3983 * InsetList.[Ch]: remove deleteLyXText
3985 * paragraph.[Ch]: cache beginOfBody position
3990 * text3.C: remove superfluous update() calls
3994 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3996 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3997 * BufferView.C (fitLockedInsetCursor): remove
3998 * cursor.[Ch] (getDim): add
3999 * text.C (getRowNearY): add faster version
4000 * text3.C: remove some update calls
4002 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4014 * text3.C: The Character Style /XML short element patch.
4016 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4019 * factory.C: Small step to solving 'unable to insert some insets'
4022 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4024 * cursor.[Ch] (updatePos): new function for updating the y
4025 position of the tip inset
4026 * bufferview_funcs.C (put_selection_at):
4027 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4029 2003-11-11 André Pönitz <poenitz@gmx.net>
4031 * text.C: remove big comment on invalid Paragraph pointers as it is
4034 2003-11-11 André Pönitz <poenitz@gmx.net>
4036 * text_funcs.[Ch]: merge with ...
4044 * Makefile.am: remove text_funcs.[Ch]
4046 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4048 * cursor.C (getPos): return absolute cached y coord
4050 * BufferView_pimpl.C (fitCursor): new simplistic code
4051 (workAreaDispatch): add a fitCursor call
4053 2003-11-10 André Pönitz <poenitz@gmx.net>
4056 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4058 2003-11-10 André Pönitz <poenitz@gmx.net>
4060 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4061 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4062 indicate that the cursor needs to leave an inset
4064 * lyxtext.h: remove inset locking
4066 * cursor.[Ch]: re-implement functionality provided by inset locking
4069 * BufferView_pimpl.[Ch]:
4071 * bufferview_funcs.[Ch]:
4083 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4085 * PosIterator.[Ch]: replace the stack with a vector, add inset
4087 * iterators.[C]: adjust
4089 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4091 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4093 * paragraph_funcs.C (readParToken): put the correct id in the
4094 error item, not the id of the top paragraph
4096 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4098 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4099 * bufferview_funcs.C (put_selection_at): use the above
4101 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4103 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4105 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4107 * output_linuxdoc.h:
4108 * output_plaintext.h:
4110 * output_docbook.h: add #include statements
4112 2003-11-05 José Matos <jamatos@lyx.org>
4114 * output_docbook.[Ch]:
4115 * output_latex.[Ch]:
4116 * output_linuxdoc.[Ch]:
4117 * output_plaintext.[Ch]: New files for output formats.
4118 * output.[Ch]: New file for helper functions.
4121 * paragraph_funcs.[Ch]: output functions moved to new files.
4123 * outputparams.h: rename of latexrunparams.h
4131 * paragraph_funcs.[Ch]:
4132 * paragraph_pimpl.[Ch]:
4133 * tabular.[Ch]: rename ascii to plaintext
4134 and LatexRunParams to OutputParams.
4136 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4138 * iterators.[Ch] (text): require bv argument
4139 * undo.C (recordUndo):
4140 * lyxfunc.C (dispatch):
4141 * bufferview_funcs.C (put_selection_at): adjust
4143 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4145 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4147 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4149 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4152 2003-11-04 André Pönitz <poenitz@gmx.net>
4154 * cursor.[Ch]: restructure
4157 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4159 * iterators.[Ch] (asCursor): remove
4161 * lfuns.h: remove LFUN_INSET_EDIT
4167 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4169 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4171 * lyxfind.[Ch]: complete overhaul
4172 * BufferView_pimpl.C:
4174 * paragraph.[Ch] (insert): add
4176 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4180 * text.C: remove dead spellcheck code
4182 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * dispatchresult.h: add a val setter
4186 * cursor.C (dispatch): use a tempvar for data_[i]
4188 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4190 * PosIterator.[Ch]: compile fix
4192 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4194 * text.C (cursorPar): deactivate the cursor cache
4196 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4198 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4200 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4202 * text3.C (dispatch): adjust for new DisptchResult semantics.
4204 * lyxfunc.C (dispatch): handle update when return from
4205 Cursor::dispatch, adjust for new DispatchResult semantics.
4207 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4208 DispatchResult(true) mean to not update. Add class functions for
4209 setting dispatched and update, as well as reading.
4211 * cursor.C (dispatch): don't handle update here
4213 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4216 * trans_mgr.C: adjust
4218 * paragraph_funcs.C (readParToken): exception safety
4220 * lyxvc.h: store the vcs pointer in a scoped_ptr
4223 * lyxsocket.C (serverCallback): exception safety
4225 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4227 * ispell.C (clone): make it return a auto_ptr
4229 * factory.C (createInset): exception safety
4230 (readInset): exception safety
4232 * bufferlist.C (newBuffer): exception safety
4234 * Thesaurus.C (Thesaurus): use initialization for aik_
4236 * MenuBackend.C (expandToc): exception safety.
4238 2003-11-03 André Pönitz <poenitz@gmx.net>
4242 * bufferview_funcs.C: remove getInsetFromId()
4245 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4251 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4253 * PosIterator.C (distance, advance): new
4254 * bufferview_funcs.[Ch] (put_selection_at): new
4255 * iterators.[Ch] (lockPath): new
4257 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4259 * iterators.[Ch] (asPosIterator): added
4260 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4261 * PosIterator.[Ch]: added
4263 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * cursor.C (dispatch):
4268 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4270 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4271 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4272 contructor, add a class function dispatched. Remove operator>=
4274 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * debug.C: only use the default constructor for debugstream
4279 * main.C (main): include debug.h and setup the lyxerr streambuf
4282 2003-10-31 José Matos <jamatos@lyx.org>
4284 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4286 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4287 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4288 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4289 * paragraph_pimpl.C (simpleTeXSpecialC):
4290 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4291 add LatexRunParams argument.
4293 * exporter.C (Export): change call accordingly.
4295 * latexrunparams.h: add new member to take care of the other backends.
4296 2003-10-30 José Matos <jamatos@lyx.org>
4298 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4299 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4300 factorise code for paragraph output.
4302 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4305 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * text3.C (dispatch):
4308 * lyxfunc.C (dispatch):
4309 * cursor.C (dispatch):
4310 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4312 * dispatchresult.h: make the dispatch_result_t ctor explicit
4314 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4317 * buffer.C: small refactoring of docbook stuff
4319 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4324 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4327 operator dispatch_result_t, and operators for == != and >=
4329 * cursor.C (dispatch): adjust for operator dispatch_result_t
4330 removal. comment out call to update
4332 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4334 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4345 * dispatchresult.h: new file, DispatchResult broken out of
4348 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4350 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4352 * text.C (rowBreakPoint): put a hack inside #if 0
4354 2003-10-28 André Pönitz <poenitz@gmx.net>
4358 * paragraph_funcs.C:
4361 * text2.C: general cleanup (lots of small stuff)
4363 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4365 * text2.C (cursorEnd): simple fix to the "end key goes to one
4366 before the end on last row" bug
4368 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4370 * text.C (backspace): fix the "zombie characters"
4372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4374 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4376 2003-10-27 André Pönitz <poenitz@gmx.net>
4378 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4380 * factory.C: handle new InsetPagebreak, InsetLine
4382 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4383 and move handling into new InsetPagebreak, InsetLine
4385 * BufferView_pimpl.C:
4387 * ParagraphParameters.C:
4388 * ParameterStruct.h:
4393 * paragraph_funcs.C:
4394 * paragraph_pimpl.C:
4400 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4403 * lyxrow_funcs.[Ch]:
4409 * text3.C: remove lastPos uses in favour of Row::endpos
4411 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4413 * undo.C (performUndoOrRedo): fix two crashes by setting a
4414 cursor by hand and reordering some calls. Use bv->lockInset instead
4415 of inset->edit because the latter loses cursor information
4417 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4419 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4421 (rowBreakPoint): fix width. change point to point + 1.
4422 Add a missing check.
4424 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4427 * lyxfunc.C: fix (at least partly) the problems
4428 with the Nav menu and headers inside branch insets
4431 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4433 * paragraph.C (getChar): add strong asserts
4435 * lyxrow_funcs.C (lastPos): remove hideous hack
4437 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4438 (fill): adjust to that (avoid an infinite loop)
4440 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4442 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4444 2003-10-23 André Pönitz <poenitz@gmx.net>
4446 * RowList_fwd.h: change list<> to vector<> to gain speed
4447 after suggestion from Alfredo
4449 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4451 * lyxtext.h: move the bidi stuff from here...
4454 * Bidi.[Ch]: ... to here
4456 2003-10-23 André Pönitz <poenitz@gmx.net>
4459 * text.C (isLastRow, isFirstRow): new functions
4461 * paragraph.h: new width cache member
4463 * rowpainter.C: replace RowList::iterator with Row & where possible
4465 * lyxfunc.C: replace several view()->text with a single call
4467 * toc.C: fix 'unused' warning
4469 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4472 when woring with stream::pos_type
4473 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4475 2003-10-22 André Pönitz <poenitz@gmx.net>
4478 * text.C: use Row & instead of RowList::iterator
4480 * lyxrow.h: rename end() to endpos()
4486 2003-10-22 Angus Leeming <leeming@lyx.org>
4488 * buffer.[Ch] (fully_loaded): new member function, returning true
4489 only when the file has been loaded fully.
4490 Used to prevent the premature generation of previews and by the
4491 citation inset to prevent computation of the natbib-style label.
4493 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4494 templates are all set up.
4496 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4498 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4500 * text.C: fixed an "oops" in the "is a bit silly"
4503 2003-10-21 André Pönitz <poenitz@gmx.net>
4505 * FuncStatus.[Ch]: small stuff, whitespace
4507 * lyxfont.[Ch]: operator<<() for debug reasons
4511 * lyxtext.h: whitespace, spelling
4513 * paragraph.C: naming of variables
4516 * text2.C: small stuff
4519 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4521 * text.C: (1) finish off the inset display() work;
4522 (2) fix the "is a bit silly" bug (accessing char
4525 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4527 * text.C: re-introduce display() for insets, fixing the
4528 various bugs (stretch of line above, math inset
4531 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4533 * text.C (rightMargin): remove spurious semicolon
4535 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4538 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4540 * text3.C: fix one crash due to wrong cursor def
4542 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * vc-backend.C (scanMaster): make the regex static
4546 * LaTeX.C (scanAuxFile): make the regexs static
4548 * text3.C (doInsertInset, dispatch, dispatch):
4549 * text2.C (cursorUp, cursorDown):
4550 * text.C (selectNextWordToSpellcheck):
4551 * BufferView_pimpl.C (dispatch):
4552 * lyxfunc.C (dispatch): localDispatch -> dispatch
4554 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4556 * lyxsocket.C: include <cerrno>
4558 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4560 * lyxfunc.C (dispatch): remove textcache stuff
4562 * bufferlist.C (release): remove textcache stuff
4565 * TextCache.C: delete file
4566 * TextCache.h: delete file
4568 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4570 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4571 delete of the bv_->text.
4572 (resizeCurrentBuffer): remove texcache stuff
4573 (workAreaResize): ditto
4575 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4580 2003-10-16 André Pönitz <poenitz@gmx.net>
4587 * text3.C: speed up by storing y positions per paragraph plus per-row
4588 offset instead of having a 'full' y position in the row.
4590 2003-10-15 André Pönitz <poenitz@gmx.net>
4594 * undo.[Ch]: make undo aware of inner insets
4596 2003-10-14 Angus Leeming <leeming@lyx.org>
4598 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4599 static member functions LyX::ref() and LyX::cref.
4600 (lastfiles): new accessor functions for the new lastfiles_ member var.
4601 (addLyXView, views_): add a new LyXView to the list of views_.
4602 (updateInset): loop over all LyXViews to call their own updateInset
4603 member function, returning a pointer to the Buffer owning the inset.
4605 * BufferView_pimpl.C (loadLyXFile):
4606 * MenuBackend.C (expandLastfiles):
4607 * bufferlist.C (MenuWrite, QuitLyX):
4608 lastfiles is no longer a global variable.
4609 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4611 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4612 static function. Access through LyX::cref().emergencyCleanup().
4614 2003-10-14 André Pönitz <poenitz@gmx.net>
4616 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4618 * undo.[Ch]: restoring part of 'undo in insets'
4621 * undo_funcs.[Ch]: merge with undo.[Ch]
4623 * tabular.C: small cleansing stuff
4625 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4627 * paragraph_funcs.C (readParToken): report unknown insets as error
4628 boxes. Use the outer paragraph as location (also for unknown
4631 * factory.C (readInset): do not abort on reading an unknown inset.
4632 Eat it and return 0.
4634 2003-10-13 Angus Leeming <leeming@lyx.org>
4636 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4638 * lyxrc.C: displayTranslator is now a function,
4639 declared in GraphicsTypes.h.
4641 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4643 * format.C: new placeholder $$a to pass the socket address.
4645 * bufferlist.[Ch]: new function getBufferFromTmp.
4647 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4648 files in the temporary dir.
4650 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4652 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4654 * Makefile.am: add lyxsocket.[Ch].
4656 * lyx_main.C (error_handler): handle SIGPIPE.
4658 2003-10-13 André Pönitz <poenitz@gmx.net>
4660 * BufferView_pimpl.C:
4665 * undo_funcs.[Ch]: use paroffset_type instead of
4666 ParagraphList::iterators to prevent multiple conversion
4667 (and get a more robust interface)
4669 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4673 * text3.C (dispatch): ditto
4675 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4677 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4678 move the onlyfile, use onlyfile instead of foundfile in a couple
4681 * DepTable.C (update): flush the error stream a bit more
4683 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * lyxserver.C (callback): adjust
4687 * lyxfunc.C (getStatus): add a missing brace in commented code
4688 (ensureBufferClean): reindent
4689 (dispatch): delete version taking a string
4691 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * LaTeX.C (deplog): move found file handlig from here...
4694 (handleFoundFile): .. to new function here.
4695 (deplog): make sure to discover several files mentioned on the
4698 2003-10-10 André Pönitz <poenitz@gmx.net>
4705 * text3.C: fix some of the tabular crashes
4707 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4709 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4711 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4713 2003-10-09 André Pönitz <poenitz@gmx.net>
4715 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4718 * BufferView_pimpl.C:
4719 * bufferview_funcs.C:
4730 * undo_funcs.C: adjust
4732 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * text2.C (incrementItemDepth): new function, use a backtracking
4735 algorithm to discover the correct item depth.
4736 (resetEnumCounterIfNeeded): new function, use a backtracking
4737 algorithm to discover if counter reset is needed.
4738 (setCounter): use them. Simplify a bit. Add different labels for
4739 different item depths for itemize.
4741 * paragraph.C (Paragraph): remove initialization of enumdepth
4744 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4745 enumerate and itemize. Change the type of itemdepth to signed char.
4747 2003-10-08 André Pönitz <poenitz@gmx.net>
4749 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4754 * tabular.[Ch]: fix crash after 'row-insert'
4756 2003-10-08 Angus Leeming <leeming@lyx.org>
4758 Fix doxygen warnings.
4760 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4761 Remove CutAndPaste:: prefix from header file declaration.
4763 * LColor.h (fill): remove LColor:: prefix from declaration.
4765 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4766 use lyx::depth_type rather than Paragraph::depth_type so that
4767 header file and .C file match.
4769 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4771 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4772 * aspell.C: \file aspell_local.C -> \file aspell.C
4773 * gettext.C: \file gettext.C -> \file src/gettext.C
4774 * gettext.h: \file gettext.h -> \file src/gettext.h
4775 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4776 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4777 * text.C: \file text.C -> \file src/text.C
4779 * toc.C: move comment so that doxygen is not confused.
4781 2003-10-07 Angus Leeming <leeming@lyx.org>
4783 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4785 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4788 * aspell_local.h: add forgotten std::string's.
4790 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4797 * text3.C: The Box patch. Fancybox support, minipage, parbox
4799 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4805 * ParagraphParameters.h:
4815 * lyxtextclasslist.h:
4818 * paragraph_pimpl.C:
4819 * textcursor.h: add <string> and other small fixes to make Lars'
4820 std::string patch compile with STLport.
4822 2003-10-06 Angus Leeming <leeming@lyx.org>
4824 * LColor.h: Add missing #include <string>.
4826 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * All most all file in all subdirs: Make <string> be the prefered
4829 way of getting to std::string, add using declarations.
4831 2003-10-06 André Pönitz <poenitz@gmx.net>
4833 * metricsinfo.C: initialize LyXFont before changing attribute.
4834 (fixes the 'math in \emph is upright' bug)
4836 2003-10-06 André Pönitz <poenitz@gmx.net>
4838 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4840 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4843 * paragraph_pimpl.C: Small fixes to build using STLport
4845 2003-10-02 André Pönitz <poenitz@gmx.net>
4848 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4850 2003-10-01 André Pönitz <poenitz@gmx.net>
4852 * factory.C: assert early
4854 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4856 * lyx_main.C: remove the global debug object
4858 * debug.h: adjust for new debugstream
4860 * debug.C: adjust for new debugstream and keep the global debug
4863 2003-09-22 Angus Leeming <leeming@lyx.org>
4865 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4866 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4867 an incomplete class LyXFont.
4869 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4871 * factory.C: bug fix in branches
4873 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4875 * lyxfunc.C (processKeySym): adjust
4877 (dispatch): change arg name from ev to func, adjust
4878 (sendDispatchMessage): ditto
4880 * lyx_main.C (defaultKeyBindings): adjust keybindings
4881 (deadKeyBindings): ditto
4883 * kbsequence.C (addkey): return a FuncRequest
4885 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4887 * kbmap.C (bind): take a FuncRequest as arg, adjust
4890 (defkey): change to take a FuncRequest as arg, adjust
4891 (findbinding): take a FuncRequest as arg, adjust.
4893 * funcrequest.h (operator=): added
4895 * funcrequest.C (FuncRequest): default kb_action changed from
4896 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4898 * buffer.C (dispatch): simplify
4899 (dispatch): adjust to take a FuncRequest as arg, adjust
4901 * boost.C (assertion_failed): change assertion message slightly
4903 * ToolbarBackend.C (read): simplify
4905 * MenuBackend.C (binding): adjust call to findbinding, add a
4906 message if no binding is found.
4908 (expandToc): correct by adding a empty FuncRequest
4910 * LyXAction.C: include <boost/assert.hpp>
4911 (isPseudoAction): delete function
4912 (LookupFunc): change name to...
4913 (lookupFunc): this. change return type to FuncRequest.
4914 (getActionName): take kb_action as arg, simplify
4915 (funcHasFlag): add an assert, simplify.
4917 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4919 * toc.C (action): return a FuncRequest, simplify
4921 * lyxfunc.C (processKeySym): adjust
4922 (getStatus): delete version that takes an int.
4924 (dispatch): delete version that takes action as int
4926 (sendDispatchMessage): simplify and adjust
4928 * funcrequest.C (getArg): take unsigned int as arg
4930 * ToolbarBackend.C (read): adjust
4931 (add): delete version that takes func as a string.
4932 (getIton): take a FuncRequest as arg
4934 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4937 * MenuBackend.C (MenuItem): add a new construct that only takes a
4938 Kind, simplify the constructor use for submenus.
4940 (expandLastfiles): adjust
4941 (expandDocuments): adjust
4942 (expandFormats): adjust
4943 (expandFloatListInsert): adjust
4944 (expandFloatInsert): adjust
4945 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4947 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4948 Remove class variables lyx_pseudo_map and lyx_arg_map
4950 * LyXAction.C (searchActionArg): delete function
4951 (getPseudoAction): delete function
4952 (retrieveActionArg): delete function
4953 (LookupFunc): make it return kb_action, simplify.
4954 (getActionName): simplify
4956 * factory.C (createInset): fix new bug
4958 2003-09-19 Angus Leeming <leeming@lyx.org>
4960 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4961 masterFilename_ parameter in the include inset.
4963 * factory.C (createInset): changes due to the changes to InsetInclude.
4965 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4967 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4969 2003-09-18 Angus Leeming <leeming@lyx.org>
4972 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4973 Inset::fillWithBibKeys.
4974 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4976 2003-09-18 Angus Leeming <leeming@lyx.org>
4978 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4980 (ctor): pass and store a 'Buffer const &'
4981 (buffer): new member function.
4983 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4984 '*this' to the LaTeXFeatures ctor.
4986 2003-09-18 Angus Leeming <leeming@lyx.org>
4992 * text.C: rename EnumLColor as LColor_color.
4994 2003-09-18 Angus Leeming <leeming@lyx.org>
4996 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4997 remove #include "insets/insetbase.h" from cursor.h.
4999 2003-09-18 Angus Leeming <leeming@lyx.org>
5001 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5002 InsetOld_code to remove #include "inset.h".
5004 * iterators.C: add #include "insets/inset.h"
5006 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5008 * BufferView.C: remove more locking stuff that apparently doesn't
5009 do anything sensible.
5011 2003-09-16 André Pönitz <poenitz@gmx.net>
5014 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5017 2003-09-16 Angus Leeming <leeming@lyx.org>
5019 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5021 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5024 * paragraph.h: remove #include "lyxfont.h". Forward declare
5027 2003-09-16 Angus Leeming <leeming@lyx.org>
5029 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5030 of support/textutils.h.
5031 (isWord): move the contents of support/textutils.h's IsWordChar here.
5037 * text2.C: add #include "paragraph.h".
5040 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5042 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * LaTeX.C: use namespace alias for lyx::support::os
5050 2003-09-16 Angus Leeming <leeming@lyx.org>
5053 * bufferview_funcs.C:
5056 * paragraph_pimpl.C:
5058 * text.C: add #include "LColor.h".
5060 2003-09-16 Angus Leeming <leeming@lyx.org>
5062 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5063 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5065 Store the FontBits::color variable as an int rather than as an
5066 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5069 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5070 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5071 string calls together.
5073 * lyxrc.C: add #include "LColor.h".
5075 2003-09-15 Angus Leeming <leeming@lyx.org>
5077 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5080 2003-09-15 Angus Leeming <leeming@lyx.org>
5082 * LColor.h: add an EnumLColor wrapper for LColor::color.
5084 * lyxfont.[Ch] (color, setColor, realColor):
5085 * lyxtext.h, text.C (backgroundColor):
5086 pass EnumLColor args to/from the functions, rather than LColor::color
5090 * lyxtext.h: forward declare EnumLColor.
5092 * lyx_main.C: add #include "LColor.h".
5094 2003-09-15 Angus Leeming <leeming@lyx.org>
5096 * .cvsignore: add lyx-gtk.
5098 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * ParagraphParameters.C
5107 * bufferview_funcs.C
5117 * vc-backend.C: remove usage of STRCONV
5119 2003-09-15 Angus Leeming <leeming@lyx.org>
5121 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5122 explicitly define the color passed to the painter.
5124 2003-09-15 Angus Leeming <leeming@lyx.org>
5126 * bufferparams.C (BufferParams): reorder member initializers to avoid
5129 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5131 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5132 * text.C (updateRowPositions): remove an unusual nop
5134 2003-09-12 André Pönitz <poenitz@gmx.net>
5136 * BufferView_pimpl.C:
5145 * Counters.[Ch]: finish the 'automatic counters' job
5147 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5149 * aspell.C: include <boost/assert.cpp> (compile fix)
5151 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5153 * boost.C (assertion_failed): use lyx::support::abort instead of
5156 2003-09-10 Angus Leeming <leeming@lyx.org>
5158 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5159 with their _fwd progeny.
5161 2003-09-09 Angus Leeming <leeming@lyx.org>
5163 134 files throughtout the source tree: replace 'using namespace abc;'
5164 directives with the appropriate 'using abc::xyz;' declarations.
5166 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5168 * boost.C (emergencyCleanup): moved here from LAssert.c
5169 (assertion_failed): new function, called by BOOST_ASSERT
5171 * several files: change Assert to BOOST_ASSERT
5173 2003-09-09 Angus Leeming <leeming@lyx.org>
5175 * buffer.[Ch]: Add an Impl class and move Buffer's member
5176 variables into it. As a result move several header files out of
5179 Add header files to lots of .C files all over the tree as a result.
5181 2003-09-09 Angus Leeming <leeming@lyx.org>
5183 * buffer.[Ch]: make Buffer's member variables private. Add
5186 Lots of changes all over the tree as a result.
5188 2003-09-08 Angus Leeming <leeming@lyx.org>
5190 * graph.C: #include <config.h>.
5192 2003-09-08 Angus Leeming <leeming@lyx.org>
5196 * BufferView_pimpl.C:
5225 * toc.C: remove redundant using directives.
5227 2003-09-07 Angus Leeming <leeming@lyx.org>
5229 * LaTeXFeatures.h: remove #include "support/types.h".
5230 * ToolbarBackend.h: remove #include <algorithm>.
5231 * changes.h: remove #include <ctime>.
5232 * debug.h: remove #include <iosfwd>.
5233 * graph.h: remove #include "support/std_string.h".
5234 * lyx_main.h: remove #include <csignal>.
5235 * lyxlex_pimpl.h: remove #include <fstream>.
5236 * sgml.h: remove #include <algorithm>, <utility>.
5237 * toc.h: remove #include "support/std_ostream.h".
5238 Add #include <iosfwd>.
5240 2003-09-07 Angus Leeming <leeming@lyx.org>
5242 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5244 * converter.h: forward declare LatexRunParams.
5245 * encoding.h: remove #include "lyxrc.h".
5246 * lyxtext.h: remove #include "LColor.h".
5247 * lyxtextclass.h: remove #include "support/types.h".
5248 * trans.h: remove #include "tex-accent.h".
5249 * trans_mgr.h: remove #include "tex-accent.h".
5250 * insets/inset.h: remove #include "support/types.h", <vector>.
5251 * insets/insetcollapsable.h: remove #include "LColor.h".
5252 * insets/insetinclude.h: remove #include "dimension.h".
5253 * insets/insetlatexaccent.h: remove #include "dimension.h".
5254 * insets/insetoptarg.h:: remove #include "insettext.h".
5255 * insets/insettext.h: remove #include "dimension.h",
5256 <boost/shared_ptr.hpp>
5258 * insets/renderers.h: add #include "dimension.h".
5259 * insets/updatableinset.h: add #include "support/types.h".
5261 * many .C files: Associated changes.
5263 2003-09-06 Angus Leeming <leeming@lyx.org>
5265 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5266 one, inside testInvariant.
5268 * PrinterParams.C: new file.
5269 * PrinterParams.[Ch]: move the function bodies out of line.
5271 2003-09-06 Angus Leeming <leeming@lyx.org>
5273 * ParagraphParameters.h: forward declare ParameterStruct rather than
5274 including its header file.
5275 (depth): moved out-of-line.
5277 2003-09-06 Angus Leeming <leeming@lyx.org>
5279 * BufferView_pimpl.h:
5282 * lyxfunc.h: forward declare LyXKeySym rather than
5283 #include "frontends/LyXKeySym.h".
5285 * BufferView_pimpl.C:
5288 * lyxfunc.C: associated changes.
5290 2003-09-06 Angus Leeming <leeming@lyx.org>
5292 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5293 As a result, can remove the #include "insets/inset.h" from BufferView.h
5295 2003-09-06 Angus Leeming <leeming@lyx.org>
5297 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5298 As a result, can remove the #include "insets/inset.h" from BufferView.h
5300 2003-09-06 Angus Leeming <leeming@lyx.org>
5306 * bufferview_funcs.C:
5307 * BufferView_pimpl.C:
5312 * ParagraphParameters.C:
5317 * frontends/controllers/ControlDocument.C:
5318 * insets/insetcaption.C: rearrange the #includes into some sort of
5321 * buffer.h: remove #includes ErrorList.h, undo.h
5323 2003-09-06 Angus Leeming <leeming@lyx.org>
5325 * support/types.h: add a 'depth_type' typedef, used to store the
5326 nesting depth of a paragraph.
5329 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5330 defining explicitly.
5333 * paragraph_funcs.h:
5334 * ParagraphParameters.h:
5335 * sgml.h: use lyx::depth_type rather than Paragraph or
5336 ParameterStruct's depth_type.
5339 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5342 * BufferView_pimpl.C:
5344 * ParagraphParameters.C:
5347 * bufferview_funcs.C:
5354 * frontends/LyXView.C:
5355 * frontends/controllers/ControlDocument.C:
5356 * frontends/controllers/ControlErrorList.C:
5357 * insets/insetbibitem.C:
5358 * insets/insetbranch.C:
5359 * insets/insetcaption.C:
5360 * insets/insetcollapsable.C:
5361 * insets/insetenv.C:
5362 * insets/insetert.C:
5363 * insets/insetfloat.C:
5364 * insets/insetfoot.C:
5365 * insets/insetfootlike.C:
5366 * insets/insetnewline.C:
5367 * insets/insetquotes.C:
5368 * insets/insettabular.C:
5369 * insets/insettext.C:
5370 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5372 * frontends/controllers/ControlChanges.C: #include "changes.h".
5374 2003-09-06 Angus Leeming <leeming@lyx.org>
5376 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5377 than #including paragraph.h.
5380 * RowList.h: deleted. Superfluous.
5390 * insets/insettext.h: use ParagraphList_fwd.h rather than
5393 * paragraph.h: don't forward declare ParagraphList.
5396 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5397 rather than ParagraphList.h. paragraph.h is still needed for the
5398 Paragraph::depth_type parameters.
5400 * textcursor.h: enable it to compile stand-alone in light of the
5403 * bufferview_funcs.C:
5415 * frontends/controllers/ControlParagraph.C:
5416 * frontends/controllers/ControlTabular.C:
5417 * insets/insetmarginal.C:
5418 * insets/insetminipage.C:
5419 * insets/insetnote.C:
5420 * insets/insetoptarg.C: add header files needed to compile again.
5422 2003-09-06 Angus Leeming <leeming@lyx.org>
5424 * RowList_fwd.h: new file, forward-declaring Row rather than
5425 #including lyxrow.h.
5430 * insets/insettext.h: use it instead of RowList.h
5432 * bufferview_funcs.C:
5439 * text3.C: #include "RowList.h".
5441 2003-09-05 Angus Leeming <leeming@lyx.org>
5443 * factory.C (createInset):
5444 * vspace.C (c-tor): replace sscanf call with an istringstream.
5445 * ispell.C: re-add missing HP/UX headers.
5446 * lyxserver.C: re-add missing os2 headers.
5448 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5457 * text3.C: re-add missing system headers, needed for 2.95.2.
5459 2003-09-05 Angus Leeming <leeming@lyx.org>
5461 Changes most place everywhere due to the removal of using directives
5462 from support/std_sstream.h.
5464 2003-09-05 Angus Leeming <leeming@lyx.org>
5466 Replace LString.h with support/std_string.h,
5467 Lsstream.h with support/std_sstream.h,
5468 support/LIstream.h with support/std_istream.h,
5469 support/LOstream.h with support/std_ostream.h.
5471 Changes resulting throughout the tree.
5473 2003-09-05 Angus Leeming <leeming@lyx.org>
5475 * sgml.h: ensure that the header file can be compiled stand-alone.
5476 * *.C: strip out redundant #includes. (320 in total.)
5478 2003-09-04 Angus Leeming <leeming@lyx.org>
5480 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5481 here (from getPackages).
5483 * debug.[Ch]: add a new EXTERNAL tag.
5485 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5487 * text2.C (cursorEnd): simplify
5489 (getColumnNearX): adjust
5491 * text.C (computeBidiTables): adjust
5494 * rowpainter.C (paintChars): adjust
5495 (paintSelection): adjust
5496 (paintChangeBar): adjust
5499 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5501 (numberOfSeparators): adjust
5503 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5509 * text3.C: Restricts the mouse click functionality
5510 of insets like bibtex, include, toc and floatlist to the visible
5511 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5512 up the dialogs. Cursor has to be in front of the inset (i.e.
5513 start of row) for this to function.
5515 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5517 * bufferview_funcs.C (currentState): output row information
5519 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5521 * bufferview_funcs.C (currentState): output paragraph position
5523 2003-09-04 Angus Leeming <leeming@lyx.org>
5525 * FloatList.h: move out #include "Floating.h".
5526 * LaTeX.h: move out #include "DepTable.h".
5527 * LyXAction.h: move out #include "funcrequest.h".
5528 * buffer.h: move out #include "author.h", "iterators.h".
5529 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5530 * lyx_main.h: move out #include "errorlist.h".
5531 * lyxfunc.h: move out #include "FuncStatus.h".
5532 * lyxtext: move out #include "lyxcursor.h".
5533 * paragraph_pimpl.h: move out #include "counters.h".
5535 2003-09-03 Angus Leeming <leeming@lyx.org>
5537 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5538 preamble_snippets list, enabling us to add snippets to the preamble
5539 only if the snippet was not there already.
5541 2003-09-04 Angus Leeming <leeming@lyx.org>
5543 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5545 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5550 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5552 * BranchList.C: point fix, earlier forgotten
5554 2003-09-02 Angus Leeming <leeming@lyx.org>
5556 * box.C (contains): renamed from 'contained' after a fantastic
5559 2003-09-02 John Levon <levon@movementarian.org>
5565 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5567 2003-09-02 John Levon <levon@movementarian.org>
5569 * text2.C: simplification of cursorEnd(), including partial
5572 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5574 * buffer.C (readFile): add a space
5576 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5578 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5580 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5582 * buffer.C (readFile): new function, take a filename and a
5583 ParagraphList::iterator
5585 (readFile): adjust, make it private. don't use setStream, make
5586 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5587 always contain the filename.
5589 * BufferView.C (insertLyXFile): simplify and make it work for
5592 2003-08-30 John Levon <levon@movementarian.org>
5594 * Makefile.am: fix dist (from Kayvan)
5596 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * most files: change to use const Buffer refs
5600 2003-08-27 André Pönitz <poenitz@gmx.net>
5602 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5603 on top of ownerPar().
5605 2003-08-27 John Levon <levon@movementarian.org>
5607 * funcrequest.C: properly initialise POD members
5609 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5611 * lyxtext.h (top_y): move top_y from here
5616 * BufferView_pimpl.[Ch]: to here
5617 * frontends/screen.C:
5618 * insets/insettabular.C:
5619 * insets/insettext.C: adjust
5620 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5622 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5625 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5627 2003-08-26 André Pönitz <poenitz@gmx.net>
5629 * paragraph_func.[Ch] (outerPar): new function
5632 * paragraph_funcs.C:
5633 * paragraph_funcs.h:
5634 * paragraph_pimpl.C:
5635 * text2.C: remove Inset::par_owner
5637 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5642 * text2.C: eliminates the needFullRow/display() stuff
5643 altogether, putting the logic in metrics/draw in the insets.
5645 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5647 * text2.C (redoParagraphInternal, redoParagraphs):
5648 * text.C (redoParagraph): add a call to updateRowPositions at the
5649 end of each 'metrics-like' call. Remove all others.
5650 (getRow): remove the 'y-computing' version.
5651 (getRowNearY): do not compute nor return the real y. Solve the
5652 'y < 0' problem and simplify.
5654 2003-08-22 Angus Leeming <leeming@lyx.org>
5656 * *.[Ch]: clean-up of licence and author blurbs.
5657 Also move config.h out of a few .h files and into a few .C files.
5659 2003-08-22 André Pönitz <poenitz@gmx.net>
5661 * lyxrow.[Ch]: add x_ and *fill_ members
5666 * text2.C: adjust/remove prepareToPrint() calls
5668 2003-08-22 André Pönitz <poenitz@gmx.net>
5670 * lyxrow.[Ch]: add end_ member
5672 * lyxrow_funcs.C: use LyXRow::end_
5674 * lyxtext.h (singleWidth): add LyXFont parameter
5677 * text2.C: adjust LyXText::singleWidth() calls
5679 * text.C (redoParagraph): simplify row breaking logic
5682 2003-08-19 André Pönitz <poenitz@gmx.net>
5684 * funcrequest.C: initialize button_ member
5687 * rowpainter.[Ch]: interface consolidation
5689 2003-08-18 André Pönitz <poenitz@gmx.net>
5692 * BufferView_pimpl.C:
5694 * paragraph_funcs.C:
5696 * text3.C: remove LyXScreen::draw() and fitCursor calls
5698 * BranchList.h: remove spurious semicolons
5700 * MenuBackend.C: fix branchlist related crash
5702 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5710 * bufferparams.[Ch]:
5714 * text3.C: implements the 'branch inset'
5715 idea. This allows the output of various versions of a document
5716 from a single source version, selectively outputing or suppressing
5717 output of parts of the text.
5718 This implementation contains a 'branch list editor' in a separate
5719 tab of the document settings dialog. Branches are user definable
5720 and have a "display colour" to distinguish them on-screen.
5722 ColorHandler was somewhat cleaned up.
5723 (1) make possible a dynamically growing LColor list by allowing
5724 the graphic context cache to grow along (vector);
5725 (2) eliminate an IMHO unnecessary step in colour allocation.
5727 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5729 * BufferView_pimpl.C: compile fix
5731 2003-08-15 André Pönitz <poenitz@gmx.net>
5733 * rowpainter.C: remove extra metrics calls
5735 * lyxtext.h: merge the two constructors into a single one,
5736 pass reference to owner's par list
5738 * BufferView_pimpl.C:
5742 2003-08-15 André Pönitz <poenitz@gmx.net>
5744 * lyxrow_funcs.[Ch]:
5747 * paragraph_funcs.C:
5752 * text_funcs.C: split LyXText::rowlist_ into individual
5753 Paragraph::rows_ chunks
5756 * BufferView_pimpl.[Ch]:
5759 * text3.C: remove toggleSelection()
5761 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5763 * bufferlist.C: beautify two alerts (shorter text of buttons)
5764 * buffer.C: Remove redundant ' ' from message
5766 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5767 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5768 rename VALIGN_CENTER to VALIGN_MIDDLE
5770 2003-08-11 André Pönitz <poenitz@gmx.net>
5772 * lyxtext.h (getPar):
5773 * text.C: new function
5775 2003-08-11 André Pönitz <poenitz@gmx.net>
5778 * tracer.[Ch]: remove unneeded files
5780 * InsetList.[Ch]: remove resizeInsetsLyXText()
5785 * text3.C: merge insertParagraphs() and appendParagraph()
5786 remove breakAgain(), update()
5788 * BufferView_pimpl.[Ch]:
5789 * bufferview_funcs.[Ch]:
5793 * tabular.C: adjust after text & InsetList changes.
5795 2003-08-08 André Pönitz <poenitz@gmx.net>
5797 * text.C (insertChar, backspace): replace rowlist fiddling
5798 with rebreak of full par
5801 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5802 checkParagraph, updateInset): removed
5804 2003-08-07 André Pönitz <poenitz@gmx.net>
5807 * text3.C: merge some LFUN handlers, remove dead code
5809 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5811 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5813 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5815 * text2.C (DEPM): fix part of bug 1255 and 1256
5817 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5819 * BufferView_pimpl.C (workAreaDispatch): change to use
5820 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5821 that are no mouse related.
5823 2003-08-05 André Pönitz <poenitz@gmx.net>
5826 * BufferView_pimpl.[Ch]:
5827 * bufferview_funcs.C:
5829 * text3.C: rip out "deep update"
5831 * textcursor.[Ch] (last_sel_cursor): remove unused member
5833 2003-08-04 André Pönitz <poenitz@gmx.net>
5836 * BufferView_pimpl.[Ch]:
5837 * ParagraphParameters.C:
5838 * bufferview_funcs.C:
5844 * text3.C: replace "complicated" BufferView::update(...) calls with
5847 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5849 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5851 * Makefile.am (lyx_SOURCES): add paper.h
5853 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5855 * Makefile.am: move things around so that both lyx-qt and
5856 lyx-xforms can be built (according to --with-frontend). Then lyx
5857 is a symbolic link to lyx-[firstfrontend]
5859 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5861 * Always use std::endl with lyxerr
5863 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5865 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5867 2003-08-01 André Pönitz <poenitz@gmx.net>
5870 * BufferView_pimpl.[Ch]:
5872 * text3.C: merge BufferView::repaint() and BufferView::update()
5874 2003-08-01 José Matos <jamatos@lyx.org>
5876 * buffer.[Ch]: file_format is no longer a buffer data element.
5878 2003-08-01 André Pönitz <poenitz@gmx.net>
5883 * text2.C: make redoParagraph more independent of current cursor
5885 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5887 * text2.C: remove unneeded members
5889 2003-07-30 André Pönitz <poenitz@gmx.net>
5891 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5893 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5894 create a single function...
5896 * paragraph_funcs.C (moveItem): ... here.
5899 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5901 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5903 * LColor.[Ch]: Add comment and greyedout logical colors.
5905 2003-07-30 André Pönitz <poenitz@gmx.net>
5907 * tabular.C: don't use Assert too heavily. This crashes where it
5910 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5912 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5913 is disabled (bug 1232)
5915 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5917 * factory.C: limited 'arg' scope
5919 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5921 * factory.C: fixed Note submenu issues
5923 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5925 * factory.C: submenu for Note/Comment/Greyedout
5927 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5930 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5932 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5935 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5936 greyedout. Patch provided by Jürgen Spitzmüller.
5938 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5940 * kbmap.C (read): fix error message when reading bind files
5942 2003-07-29 Angus Leeming <leeming@lyx.org>
5944 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5945 certainly does not do what it purports to do. I am doing it, and
5946 us, a favour by killing it.
5948 2003-07-28 José Matos <jamatos@lyx.org>
5950 * buffer.C (readBody, do_writeFile):
5951 * paragraph.C(readParagraph): \end_document replaces \the_end.
5953 2003-07-29 André Pönitz <poenitz@gmx.net>
5956 * BufferView_pimpl.[Ch]:
5960 * textcursor.[Ch]: remove toggleToggle & Co
5962 2003-07-28 José Matos <jamatos@fep.up.pt>
5964 * buffer.C (readParagraph):
5965 * params_func (readParToken, readParagraph):
5966 * paragraph.C (write): \layout -> \begin_layout.
5968 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5970 * lyxlex_pimpl.C (setFile): clean up slightly.
5972 * bufferparams.h: add compressed var
5974 * buffer_funcs.C (readFile): adjust for LyXLex change
5975 (newFile): ditto + simplify
5977 * buffer.C (writeFile): handle writing of compressed files
5979 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5980 Check if the file is compressed and set a bufferparm if so.
5982 * Makefile.am (lyx_LDADD): remove explicit -lz
5984 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5986 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5987 makeDocBookFile): put the real LyX version in the first line of
5991 * version.C.in: remove lyx_docversion
5993 * tabular.C (write_attribute): add a template-based version to
5994 write enums properly
5996 2003-07-28 André Pönitz <poenitz@gmx.net>
6001 * text3.C: use doubles again for x-coordinates. They are needed.
6003 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * messages.C (getLocaleDir): use lyx_localedir()
6007 * lyxlex_pimpl.C (setFile): compress stuff
6009 * buffer.C (writeFile): add some compression stuff
6010 (do_writeFile): new func, dont call expliti close... will this
6013 * Makefile.am (lyx_LDADD): add -lz
6015 2003-07-28 José Matos <jamatos@fep.up.pt>
6017 * buffer.C: increment file format.
6018 * paragraph_funcs (readParagraph, readParToken):
6019 * paragraph.C (readParagraph): add \end_layout.
6021 2003-07-27 Angus Leeming <leeming@lyx.org>
6023 * Makefile.am: remove special casing for configure-time setting of
6024 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6026 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6027 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6029 2003-07-26 André Pönitz <poenitz@gmx.net>
6031 * paragraph_func.[Ch]:
6032 * paragraph.C (realizeFont): inline it whereever it is used
6037 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6040 2003-07-26 André Pönitz <poenitz@gmx.net>
6044 * text2.C: get rid of LyXText::need_break_row
6046 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * toc.[Ch]: put namespace toc inside namespace lyx
6050 * MenuBackend.C (expandToc2): adjust for lyx::toc
6053 * lyxfunc.C (dispatch): adjust for lyx::find
6055 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6056 lyx::find instead. Reorganize a bit.
6057 (LyXReplace): rename to replace
6058 (LyXFind): rename to find
6060 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6063 2003-07-26 André Pönitz <poenitz@gmx.net>
6065 * text.C (setHeightOfRow): restrict scope of temporary variable
6067 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6068 code (never has been used?)
6070 2003-07-27 Asger Alstrup <alstrup@local>
6072 * text.C (fill): Optimise algorithm to exploit that we can reuse
6073 the LyXFont for many characters.
6074 (setHeightOfRow): Same thing.
6075 (rowBreakPoint): Same thing.
6077 2003-07-26 Asger Alstrup <alstrup@local>
6079 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6081 * text.C (singleWidth): Spurious font copying in hot-spot
6082 singleWidth avoided. Reorder tests for arabic for efficiency.
6084 * text.C (fill): handle empty paragraphs better.
6086 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6089 * encoding.h: add includes
6091 * lyxrc.C: remove reading of bind files
6093 * lyx_main.C (init): setup bindings and menus only if we have a
6096 * kbmap.C (read): new method. Do the actual reading of bind
6099 * converter.C (dvipdfm_options):
6102 (output): adapt PAPER_* enums.
6104 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6106 * bufferparams.h: remove paper-related enums from there
6108 * paper.h: New file. A trivial header file to hold paper-related
6109 enums. It should later expand to contain many paper-related
6112 * lyxrc.C: declare extern displayTranslator
6114 2003-07-27 José Matos <jamatos@fep.up.pt>
6116 * tabular.[Ch] (linuxdoc): add support for tables and figures
6119 2003-07-27 José Matos <jamatos@fep.up.pt>
6121 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6122 consistency in both functions.
6123 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6125 2003-07-26 Asger Alstrup <alstrup@local>
6127 * rowpainter.C (paintRows): Change algorithm to work directly on
6128 the insets rather than asking every character in the document
6129 whether its an inset.
6131 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6133 * buffer.C (openFileWrite): factorize some code
6135 2003-07-26 Angus Leeming <leeming@lyx.org>
6138 * lyx_main.[Ch]: replace occurances of system_tempdir with
6141 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6143 * rename Inset to InsetOld
6145 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6147 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6148 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6149 which I think is a bit clearer. EDIT is gone, since it was
6150 premature optimisation, and broken for mathed anyway.
6151 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6152 with cursor positioning in insets as well (math insets still do not
6153 work, but that's a different story anyway.) It mysteriously
6154 crashes sometimes with undo in the first paragraph, but I'm fairly
6155 confident that this is a compiler bug.
6157 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6159 * paragraph.C (Paragraph): adjust for new clone return type
6161 (copyIntoMinibuffer): ditto
6163 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6165 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6166 by not having a special case, and always doing a full rebreak of
6167 the document after undo.
6169 2003-07-23 Angus Leeming <leeming@lyx.org>
6171 * factory.C (createInset): InsetExternal::setParams now takes a
6174 2003-07-23 Angus Leeming <leeming@lyx.org>
6176 * factory.C (createInset): changed interface to the external and
6177 graphics mailers' string2params functions.
6179 2003-07-23 Angus Leeming <leeming@lyx.org>
6181 * factory.C (createInset): pass a
6182 Buffer const * parameter to InsetExternalMailer's string2params.
6184 2003-07-22 John Levon <levon@movementarian.org>
6186 * Thesaurus.h: include the right aiksaurus header
6188 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6190 * MenuBackend.C (expand): check menu shortcuts unconditionally
6192 2003-07-21 Angus Leeming <leeming@lyx.org>
6194 * factory.C (createInset): pass a
6195 buffer_path parameter to InsetGraphicsMailer's string2params.
6197 2003-07-21 Angus Leeming <leeming@lyx.org>
6199 * BufferView_pimpl.C (buffer):
6202 * lyxfunc.C (dispatch):
6203 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6204 rather than the grfx shortcut.
6206 2003-07-21 André Pönitz <poenitz@gmx.net>
6208 * rowpainter.C: remove unused variables
6211 * tabular_funcs.h: move to tabular.C
6212 * Makefile.am: adjust
6214 * tabular.[Ch]: basic optical cleaning
6216 * author.h: pass references, not values
6218 2003-07-18 André Pönitz <poenitz@gmx.net>
6226 * text3.C: two-phase drawing for InsetText and InsetTabular
6227 some float -> int changes.
6229 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6231 * lyx_main.C: fix the fix
6233 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6235 * lyx_main.C: fix a crash in batch mode if no files specified
6238 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6240 * format.[Ch] (papersize): moved to BufferParams
6241 * converter.[Ch] (dvips_options): moved to BufferParams
6242 (dvipdfm_options): moved to anon namespace
6243 * bufferparams.[Ch]: added above functions.
6245 2003-07-17 André Pönitz <poenitz@gmx.net>
6249 * text2.C: don't call inset->update() anymore
6251 * metricsinfo.[Ch]: add convenience constructor
6253 2003-07-16 André Pönitz <poenitz@gmx.net>
6258 * text2.C: replace the LyXCursor::irow_ member with
6259 on-demand computation of the value
6261 2003-07-16 John Levon <levon@movementarian.org>
6263 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6265 2003-07-15 André Pönitz <poenitz@gmx.net>
6268 * text2.C: remove no more needed refresh_row
6270 2003-07-15 André Pönitz <poenitz@gmx.net>
6275 * text3.C: refresh_status tristate -> need_update bool
6277 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6279 * lyxtext.h (init): remove reinit argument (act as if always true)
6280 * text2.C: adjust to that
6282 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6284 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6285 * text3.C: use it to delete selections in some cases
6286 (bugs 441, 673, 702, 954).
6288 2003-07-14 André Pönitz <poenitz@gmx.net>
6290 * rowpainter.[Ch]: reduce interface
6292 2003-07-14 André Pönitz <poenitz@gmx.net>
6294 * BufferView_pimpl.C:
6295 * text2.C: adjust after removing unused BufferView * argument
6297 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6299 * text2.C (init): fix a crash fired on resize
6301 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6303 * buffer.[Ch]: added new closing signal
6304 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6305 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6306 BufferView::Pimpl via the closing the signal
6308 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6310 * buffer.[Ch]: take out all bv-related from buffer
6312 * BufferView_pimpl.[Ch]: connect to new signals
6313 * CutAndPaste.C: removed useless asserts
6314 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6317 * lyxfunc.C: moved view-related funciontality from vc here
6318 * paragraph.C: removed outdated comments
6321 2003-07-10 André Pönitz <poenitz@gmx.net>
6323 * BufferView_pimpl.C:
6327 * text2.C: remove InsetText::InnerCache, clean up consequences
6329 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6331 * ispell.C: fix two typos in error messages
6333 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6335 * Extend Note inset to other forms of annotation like Comment
6336 and Greyedout. Right button click gives dialog.
6338 Files modified or added (+):
6342 * ControlNote.[Ch] +
6344 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6345 frontends/controllers
6349 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6351 * aspell.C: add missing namespace lyx::support
6353 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6355 * BufferView.[Ch] (newFile): Add
6356 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6357 * LaTeX.[Ch] (message): added this signal and use it
6358 * buffer.[Ch] (busy, message): added these signals and use them
6359 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6363 * importer.C: use buffer signals instead of direct bv calling
6364 * lyx_cb.[Ch] (ShowMessage): removed
6367 * paragraph_funcs.C:
6368 * text2.C: use buffer signals
6370 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6372 * introduce namespace lyx::graphics
6374 2003-07-02 André Pönitz <poenitz@gmx.net>
6376 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6378 2003-07-01 André Pönitz <poenitz@gmx.net>
6385 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6386 text*.C to text_func.C
6388 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6390 * introduce namespace lyx::support
6392 2003-06-30 André Pönitz <poenitz@gmx.net>
6397 * text.C: re-enable --with-included-string
6399 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * textcursor.C: add <config.h>
6403 * text.C (getWord): remove const from word_location arg
6405 * lyxvc.C (getLogFile): fix const type order
6407 * lyxtext.h: remove const from word_location arg, add arg name
6409 * lyxlayout.h: currect type on labeltype.
6411 * importer.C: correct \file
6413 * converter.C (intToFormat): use std:: on ret val, ws changes
6415 * bufferlist.h: correct \file
6417 * buffer.C (makeLinuxDocFile): fix const type order
6418 (makeDocBookFile): ditto
6419 (fillWithBibKeys): use std:: on stdlib args.
6421 * CutAndPaste.C: fix authors.
6422 (availableSelections): use std:: on return vector
6424 2003-06-27 André Pönitz <poenitz@gmx.net>
6426 * BufferView_pimpl.C:
6427 * bufferview_funcs.C:
6435 * text3.C: remove LyXCursor::row_ member
6438 * text.C: rename fullRebreak() to partialRebreak() and implement
6439 a fullRebreak() that really bereks fully
6441 * textcursor.h: new struct for cursor-related data
6443 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6445 * lyx_main.C (LyX): get full path of document loaded on the
6448 2003-06-26 André Pönitz <poenitz@gmx.net>
6450 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6451 remove unused/broken operator>,<,>=.
6453 * text.C: remove only use of broken operator<= in an Assert().
6455 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6457 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6458 moved errorlist_.clear to showErrorList
6460 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6462 * converter.C (scanLog, runLaTeX):
6463 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6464 move the bv->showErrorList call to the callers
6465 * lyxfunc.C: i.e. here...
6467 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6468 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6469 namespace, the second to...
6470 * buffer_funcs (BufferFormat, parseErrors): added
6471 * errorlist.C (ErrorList(TeXErrors const &)): removed
6473 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6475 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6477 2003-06-24 "Garst R. Reese" <reese@isn.net>
6481 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6483 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6485 * version.C.in: change docversion to 1.4
6487 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6489 * buffer.C: fix a bug just introduced
6491 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6493 * buffer.[Ch]: added the parseError signal and use it, removed
6495 * BufferView.[Ch] (addError): moved to ...
6496 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6497 to the Buffer::parseError signal to catch (guess what) parse errors
6498 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6500 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6502 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6503 ability to create a buffer and to return an existing one from
6504 the list. Moved these functions to...
6505 * buffer_funcs.[Ch]: added
6506 * BufferView.[Ch] (loadLyXFile): added
6507 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6508 job removed from bufferlist::loadLyXFile.
6509 * buffer.C (setReadOnly): make it work without view
6510 (i.e added an if (users))
6512 2003-06-19 Angus Leeming <leeming@lyx.org>
6515 * LyXAction.C (init):
6516 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6517 with LFUN_DIALOG_SHOW <name> <data>.
6519 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6521 * CutAndPaste.C (availableSelections): small compilation fix for
6522 ancient (gcc 2.9x) compilers
6524 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6526 * text3.C (cursorNext): add tmp var
6528 * text2.C (updateCounters): for function calling out of for clause
6529 (replaceSelectionWithString): ditto
6530 (insertStringAsParagraphs): ditto
6531 (getColumnNearX): add tmp var
6532 (setCursorFromCoordinates): add tmp var
6533 (cursorDownParagraph): add tmp var
6534 (deleteEmptyParagraphMechanism): add tmp var
6536 * text.C (insertChar): add tmp var
6538 * rowpainter.C (paintDepthBar): add tmp var
6540 * CutAndPaste.C (availableSelections): potentially check all
6541 paragraphs in a cut to fill the shown strings.
6543 2003-06-18 André Pönitz <poenitz@gmx.net>
6545 * kbmap.[Ch]: use vector<> instead of list<>
6547 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6549 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6550 pasteSelection with index
6552 * text2.C (pasteSelection): modify, call pasteSelection with index
6554 * paragraph.C (asString): reimplement version with no interval to
6555 call the one with interval.
6557 * lyxtext.h: add index arg to pasteSelection
6559 * MenuBackend.C (MenuItem): handle PasteRecent
6560 (Menu::read::Menutags): add md_pasterecent
6562 (expandPasteRecent): new function
6565 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6567 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6569 (availableSelections): new function
6571 2003-06-17 Angus Leeming <leeming@lyx.org>
6573 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6575 2003-06-17 Angus Leeming <leeming@lyx.org>
6578 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6580 * lyxfunc.C (dispatch): invoke it.
6582 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6584 * iterators.C (operator++, ParPosition): reintroduce some
6585 const_cast for the benefit of older compilers.
6587 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6589 * text3.C (dispatch): do not modify clipboard when doing
6590 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6591 LFUN_DELETE_SKIP on a selection selection
6593 2003-06-16 André Pönitz <poenitz@gmx.net>
6599 * tabular.[Ch]: IU of clone() and getLabelList();
6601 2003-06-13 André Pönitz <poenitz@gmx.net>
6603 * tabular.h: compactification
6605 2003-06-12 André Pönitz <poenitz@gmx.net>
6609 * tabular_funcs.h: some renaming plus whitespace
6611 2003-06-12 André Pönitz <poenitz@gmx.net>
6614 * BufferView_pimpl.C:
6620 * toc.C: Return a Paragraph & for ParIterator::operator*()
6622 2003-06-11 John Levon <levon@movementarian.org>
6626 * ToolbarBackend.C: add "Toolbars" section and
6629 2003-06-10 Angus Leeming <leeming@lyx.org>
6632 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6634 * lyxfunc.C (dispatch): invoke it.
6636 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * main.C: protect <ios> with HAVE_IOS
6639 (main): protect sync_with_stdio with HAVE_IOS
6641 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6643 * text2.C (cutSelection): adjust
6644 (pasteSelection): adjust
6646 * messages.C: handle get of empty string
6648 * main.C (main): use sync_with_stdio(false)
6650 * lyxfunc.C (dispatch): adjust
6652 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6653 (WriteAs): remove unneeded BufferView arg.
6655 * bufferparams.h: use correct types on papersize, papersize2 and
6658 * bufferparams.C (readToken): adjust for type
6659 (writeLaTeX): add missing cases to switch.
6661 * bufferlist.C (quitWriteBuffer): adjust
6664 * buffer.C (asciiParagraph): remove some commented code.
6666 * CutAndPaste.C: remove current_view extern variable.
6667 (cutSelection): add BufferParams arg.
6668 (eraseSelection): add BufferParams arg.
6669 (pasteSelection): add Buffer const & arg
6671 2003-06-07 John Levon <levon@movementarian.org>
6674 * paragraph_funcs.C:
6675 * paragraph_pimpl.C:
6679 * paragraph.C: allow InsetERT to freely space lines,
6680 and some consolidation of code
6682 2003-06-06 José Matos <jamatos@fep.up.pt>
6684 * buffer.C (makeDocBookFile): fix bug #821
6686 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6688 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6690 2003-06-04 Angus Leeming <leeming@lyx.org>
6692 * buffer.C: bump format to 224.
6694 2003-06-05 André Pönitz <poenitz@gmx.net>
6696 * text2.C (redoParagraphs): remove two const_cast<>
6698 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6700 * ParagraphList.h: remove last remnants of NO_STD_LIST
6702 2003-06-03 Angus Leeming <leeming@lyx.org>
6704 * factory.C (createInset): small change to the way InsetExternal's params
6707 2003-06-04 André Pönitz <poenitz@gmx.net>
6709 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6711 * paragraph_pimpl.h:
6712 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6714 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6716 * undo_funcs.C: make some simple cases of undo work again
6718 2003-06-03 John Levon <levon@movementarian.org>
6720 * ispell.C: HPUX doesn't have sys/select.h
6723 2003-06-03 John Levon <levon@movementarian.org>
6725 * CutAndPaste.C: update tabular and include inset
6730 * paragraph.C: remove owningBuffer(), don't pass Buffer
6733 * factory.C: insetGraphicsParams changed
6735 2003-06-02 John Levon <levon@movementarian.org>
6741 * text3.C: remove insetparent
6743 2003-06-02 John Levon <levon@movementarian.org>
6746 * buffer.C: fix inset_iterator.end(), move out of line
6749 2003-06-01 John Levon <levon@movementarian.org>
6751 * text3.C: use a proper cut/paste when doing inset
6752 insert (from Jürgen Spitzmüller)
6754 2003-06-01 John Levon <levon@movementarian.org>
6756 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6758 2003-05-30 André Pönitz <poenitz@gmx.net>
6760 * rowpainter.C: unify second drawing phase
6762 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6764 * trans_mgr.C: remove one case of current_view
6766 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6768 * paragraph_funcs.h: remove paragraph.h include
6770 * paragraph.h: delete NO_STD_LIST stuff
6772 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6774 * buffer.h: remove paragraph.h include
6776 * ParagraphList.C: delete file
6778 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6780 * toc.C (getTocList): adjust
6782 * paragraph_pimpl.C (validate): adjust
6784 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6786 * paragraph.C (Paragraph): adjust
6787 (getPositionOfInset): use const_iterator, adjust
6788 (bibitem): use const_iterator, adjust
6789 (setInsetOwner): adjust
6791 * iterators.C (operator++): adjust
6793 * InsetList.[Ch]: Replace selfmade iterator with standard
6794 vector::iterator also introduce const_iterator. Remove getPos,
6795 getInset and setInset from InsetTable. Adjust accordingly.
6797 * BufferView.C (lockInset): adjust
6798 (ChangeInsets): adjust
6800 * tabular.[Ch]: delete commented same_id functions
6802 2003-05-28 John Levon <levon@movementarian.org>
6804 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6806 2003-05-28 André Pönitz <poenitz@gmx.net>
6808 * metricsinfo.[Ch]: remove 'fullredraw' member
6810 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6812 * lyxtextclass.C (operator): remove caching.
6814 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6818 * text2.C (cursorBottom): adjust
6819 (setCounter): use ParagraphList::find, adjust
6821 * text.C (workWidth): use ParagraphList::find, adjust
6823 * lyxcursor.C (LyXCursor): adjust
6825 * buffer.C (inset_iterator): adjust
6827 * ParagraphList.h: make iterator(value_type) private, make
6828 ParagraphList a friend of iterator.
6830 * ParagraphList.C (find): new function
6832 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6834 2003-05-27 André Pönitz <poenitz@gmx.net>
6836 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6838 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6840 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6842 2003-05-26 John Levon <levon@movementarian.org>
6844 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6846 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * remove same_id from function signatures, adjust.
6850 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6854 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6856 * paragraph.C (Paragraph): get rid of same_ids parameter
6858 * ParagraphList.C (insert): adjust
6861 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * paragraph_funcs.C (breakParagraph): adjust
6864 (breakParagraphConservative): adjust
6866 * buffer.C (readParagraph): adjust
6868 * ParagraphList.C (insert): take a reference instead of a pointer
6871 * paragraph.[Ch] (id): new function
6873 * bufferlist.C (newFile): adjust
6875 * ParagraphList.C (ParagraphList): adjust
6877 (push_back): take a reference instead of a pointer.
6879 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6881 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6884 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6885 set else use old code.
6887 * ParagraphList.C: remove all NO_NEXT code and only compile this
6888 code of NO_STD_LIST is set.
6890 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6892 * BufferView_pimpl.C:
6902 * graphics/GraphicsConverter.C:
6903 * graphics/PreviewLoader.C: header adjustment
6905 2003-05-23 Angus Leeming <leeming@lyx.org>
6907 * LaTeXFeatures.[Ch] (useBabel): new method.
6908 * bufferparams.C (writeLaTeX): use it.
6910 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * ParagraphList.h (set): remove unused function.
6914 2003-05-23 André Pönitz <poenitz@gmx.net>
6917 * BufferView_pimpl.C:
6921 * undo_funcs.C: setUndo reworked
6923 * iterators.[Ch]: add access to topmost ParagraphList
6925 * lyxtext.[Ch] (workWidth): add a const
6927 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6929 * texrow.[Ch] (increasePos): remove function
6930 * exporter.C (export): removed unused var and outdated comment
6932 2003-05-23 Angus Leeming <leeming@lyx.org>
6934 * latexrunparams.h: rename fragile as moving_arg.
6935 * paragraph.C (simpleTeXOnePar): ditto.
6936 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6938 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6942 (textUndoOrRedo): comment out a currently unused var.
6944 * paragraph.h (NO_NEXT): enable NO_NEXT
6946 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6948 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6950 * exporter.C (Export): adjust for removeAutoInsets removal.
6952 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6954 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6956 * BufferView.[Ch] (removeAutoInsets): delete function
6958 2003-05-22 Angus Leeming <leeming@lyx.org>
6960 * latexrunparams.h: add a free_spacing variable.
6962 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6963 to pass moving_arg, as the data is stored in runparams.fragile.
6965 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6966 to Inset::latexOptional or to simpleTeXOnePar.
6968 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6969 free_spacing arg to Inset::latexOptional.
6971 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6974 2003-05-22 Angus Leeming <leeming@lyx.org>
6976 * latexrunparams.h: add fragile and use_babel variables.
6978 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6979 * buffer.C (makeLaTeXFile): store this returned value in
6980 runparams.use_babel, thus passing it to the inset::latex methods.
6982 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6983 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6985 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6986 longer has a fragile arg, as it is stored in runparams.fragile.
6988 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6989 moving_arg parameter as the data is stored in runparams.fragile.
6991 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6992 a fragile parameter as the data is stored in runparams.fragile.
6994 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6998 2003-05-22 Angus Leeming <leeming@lyx.org>
7000 * latexrunparams.h: add a 'bool nice' which defaults to false.
7002 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7003 now encapsulated within runparams.
7005 * bufferlist.C (updateIncludedTeXfiles):
7006 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7008 2003-05-22 Angus Leeming <leeming@lyx.org>
7010 * latexrunparams.h: new file containing struct LatexRunParams.
7011 * Makefile.am: add new file.
7013 * LaTeX.[Ch] (c-tor, run):
7014 * buffer.[Ch] (makeLaTeXFile):
7015 * bufferlist.[Ch] (updateIncludedTeXfiles):
7016 * converter.C (convert, scanLog):
7017 * converter.[Ch] (runLaTeX):
7018 * exporter.C (Export):
7019 * paragraph.[Ch] (simpleTeXOnePar):
7020 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7021 * paragraph_funcs.[Ch] (latexParagraphs):
7022 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7023 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7024 pass around a LatexRunParams parameter.
7026 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7028 * paragraph.[Ch]: remove unused constructor
7030 * ParagraphList.C (erase): new function, taking two iterators
7032 2003-05-22 André Pönitz <poenitz@gmx.net>
7034 * undo_funcs.C: remove duplicated code
7036 * iterator.[Ch]: operator=
7038 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * tabular.C (SetMultiColumn): ws changes
7042 * rowpainter.C (paintFirst): get rid of a ->previous
7044 * lyx_cb.C (getPossibleLabel): parlist simplification
7046 * BufferView.C (ChangeInsets): simplify slightly.
7048 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7050 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7051 * lfuns.h: new LFUN_SPACE
7052 * lyxfunc.C: protected space has a new lfun
7053 * paragraph_funcs.C: read new space insets
7055 * factory.C: handle new space insets
7057 2003-05-22 André Pönitz <poenitz@gmx.net>
7060 * BufferView_pimpl.C:
7063 * undo_funcs.C: return a ParIterator from getParFromID.
7065 * iterators.[Ch]: add two const's
7067 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * toc.C (getTocList): adjust
7071 * iterators.[Ch]: rework for parlist
7073 * buffer.C (par_iterator_begin): adjust
7074 (par_iterator_end): adjust
7076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7078 * BufferView.C (removeAutoInsets): adjust
7079 (ChangeInsets): adjust
7081 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7083 * text.C (top_y): fix bug 1110
7085 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7087 * errorlist.[Ch]: added
7090 * BufferView_pimpl.C:
7091 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7094 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7096 * Makefile.am: ensure that lyx is relinked upon changes to the
7097 various "convenience" libs.
7099 2003-05-20 Angus Leeming <leeming@lyx.org>
7101 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7102 files are compiled in alphabetical order again.
7104 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7106 2003-05-19 Angus Leeming <leeming@lyx.org>
7108 * gettext.[Ch]: remove "char const * _(char const *)".
7110 2003-05-19 André Pönitz <poenitz@gmx.net>
7112 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7121 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7123 2003-05-19 André Pönitz <poenitz@gmx.net>
7127 * lyxtextclass.[Ch]:
7129 * paragraph_funcs.[Ch]:
7131 * text3.C: more insetenv work
7133 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7135 * ParagraphParameters.C (params2string): small bug fixed
7137 2003-05-16 André Pönitz <poenitz@gmx.net>
7140 * bufferview_funcs.C: patch from Kornel Benko to prevent
7141 crash when _(...) is called twice in a statement
7143 2003-05-16 André Pönitz <poenitz@gmx.net>
7150 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7152 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7154 * lyx_main.C (init): remove spurious static_cast
7156 2003-05-14 André Pönitz <poenitz@gmx.net>
7158 * BufferView.C: fix format string
7160 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7162 * BufferView.[Ch] (insertErrors): removed
7163 * BufferView.[Ch] (showErrorList): added
7164 * buffer.C (runChkTeX):
7165 * converter.C (scanLog): call showErrorList instead of inserterrors
7167 2003-05-13 André Pönitz <poenitz@gmx.net>
7169 * BufferView_pimpl.C:
7171 * bufferview_func.C:
7178 * tabular_funcs.h: tostr() from its own header
7180 * ParagraphParameters.C:
7185 * text3.C: STRCONV()
7187 2003-05-12 André Pönitz <poenitz@gmx.net>
7190 * BufferView_pimpl.C:
7194 * ParagraphParameters.C:
7198 * bufferview_funcs.C:
7211 * paragraph_funcs.C:
7215 * text3.C: boost::format -> bformat all over the place
7218 2003-05-09 André Pönitz <poenitz@gmx.net>
7220 * LColor.[Ch]: Pimpl the #include <map> away
7222 2003-05-09 John Levon <levon@movementarian.org>
7224 * bufferlist.C: never remove emergency saves
7226 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * Makefile.am: better lib building
7230 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7232 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7234 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7235 (simpleTeXSpecialChars): adjust
7236 (simpleTeXSpecialChars): adjust
7237 * paragraph.C (simpleTeXOnePar): adjust
7238 * buffer.C (makeLaTeXFile): adjust
7240 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7242 * text2.C (changeDepth): parlist cleanup
7243 (getColumnNearX): ditto
7245 * rowpainter.C (getLabelFont): parlist cleanup
7247 * bufferlist.C (newFile): parlist cleanup
7249 * CutAndPaste.C (eraseSelection): parlist cleanup
7251 * BufferView_pimpl.C (trackChanges): parlist cleanup
7254 * BufferView.C (lockInset): parlist cleanup.
7255 (ChangeInsets): ditto
7257 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * CutAndPaste.h: Update file header.
7261 * CutAndPaste.C: Update file header.
7262 Store the parts cut out of the Document in a limited_stack.
7263 (copySelection): adjust
7264 (pasteSelection): new function, takes the index in the limited stack.
7265 (nrOfParagraphs): adjust
7266 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7267 simplify error inset insertion.
7268 (checkPastePossible): adjust
7270 2003-05-06 John Levon <levon@movementarian.org>
7272 * text2.C: don't cast wrap inset to float
7274 2003-05-05 André Pönitz <poenitz@gmx.net>
7277 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7279 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7280 few naked Paragraph *.
7282 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7284 * bufferparams.C: Output warning if a document with missing
7285 TeX document class is loaded
7286 * exporter.C: Disable TeX exports if the document class is missing
7289 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7290 isTeXClassAvailable()
7292 2003-05-03 John Levon <levon@movementarian.org>
7295 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7296 explicit cursor show/hide
7298 * BufferView_pimpl.h:
7299 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7300 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7302 * lyxfunc.C: hide cursor before dispatching.
7307 * text3.C: remove explicit cursor hides
7309 2003-05-02 André Pönitz <poenitz@gmx.net>
7311 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7314 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7317 * text2.C: tiny whitespace
7319 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * undo_funcs.C: almost only ws changes.
7323 * ParagraphList.C (splice): just return if pl is empty.
7325 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * ParagraphList.C (splice): new function.
7329 * CutAndPaste.C (pasteSelection): use it
7331 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * CutAndPaste.C (pasteSelection): remove the last next and
7334 previous from this file.
7336 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * CutAndPaste.C (pasteSelection): more clean up, user proper
7339 ParagraphList functions for pasteing.
7341 * ParagraphList.C (insert): new function, three arg insert
7343 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7345 * ParagraphList.C (insert): new function, three arg insert
7347 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7350 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7352 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7354 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7356 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7358 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7361 (copySelection): clean up a bit.
7362 (pasteSelection): use make_pair
7364 * ParagraphList.C (ParagraphList): implement copy constructor
7365 (operator=): implement, base on copy constructor.
7368 * paragraph.C (erase): return a bool
7370 * paragraph_pimpl.C (erasePos): remove function, move contents...
7371 (erase): ... here. Return a bool.
7372 (erase): call erase instead of erasePos.
7374 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7376 * ParagraphList.h: define PitPosPair
7377 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7378 ParagraphList, fix a bug on pasting multiple pars
7379 * text2.C: change interface to C&P
7381 2003-04-30 André Pönitz <poenitz@gmx.net>
7383 * undo_func.C: revert part of yesterday's patch 2
7385 2003-04-30 John Levon <levon@movementarian.org>
7387 * LColor.C: s/tabular/table/
7389 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7391 * text3.C (dispatch): do not convert iterator -> pointer
7392 * undo_funcs.C (setCursorParUndo): ditto
7393 * text_funcs.C (transposeChars): ditto
7395 * text2.C (setLayout): ws changes only
7397 * text.C (breakParagraph): do not convert iterator -> pointer
7399 (acceptChange): ditto
7400 (rejectChange): ditto
7405 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7408 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7410 * text3.C (gotoInset): YABG (yet another bad getChar)
7412 2003-04-29 André Pönitz <poenitz@gmx.net>
7414 * paragraph.h: make operator= private unimplemented as long as
7417 * ParagraphList.C: whitespace
7420 * paragraph_pimpl.[Ch]:
7421 * paragraph_funcs.C:
7423 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7426 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7428 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7430 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7431 * paragraph.[Ch] (erase):
7432 * paragraph_pimpl.[Ch] (erase): change return type and value
7433 * text2.C (cutSelection): some rework
7435 2003-04-28 John Levon <levon@movementarian.org>
7437 * bufferlist.C: changes for unsaved changes dialog
7439 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * bufferlist.C (newFile): set language (messages_) for new
7444 * buffer.C (readFile): ws changes only.
7446 2003-04-28 André Pönitz <poenitz@gmx.net>
7451 * BufferView_pimpl.C:
7452 * BufferView.C: getParFromID related ParagraphList::iterator changes
7454 2003-04-28 André Pönitz <poenitz@gmx.net>
7456 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7459 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * messages.C: remove one more localedir class variable.
7463 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * messages.C (getLocaleDir): singleton generation function
7467 (Messages): add a default constructor.
7469 * main.C (main): do not setup localedir here, do not call
7472 * gettext.C (_): use it.
7473 (gettext_init): delete funciton
7475 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7477 * gettext.C (getLyXMessages): new singleton generating function.
7479 * buffer.C (updateDocLang): adjust
7481 * Makefile.am (messages.o): add target
7482 (main.o): remove target
7484 2003-04-27 John Levon <levon@movementarian.org>
7489 * lyxvc.C: specify cancel button in Alert::prompt
7491 2003-04-26 John Levon <levon@movementarian.org>
7496 * LyXAction.C: add LFUN_INSET_SETTINGS
7498 * lyxfunc.C: don't enable tabular-feature when there's
7499 just any locking inset
7501 2003-04-26 John Levon <levon@movementarian.org>
7503 * bufferlist.C: re-add Cancel to buffer close question
7505 * lyxfunc.C: fix import UI a bit
7507 2003-04-25 John Levon <levon@movementarian.org>
7509 * gettext.C: remove the broken asserts for now
7511 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * messages.C: make case where setlocale cannot comply work better.
7515 * buffer.C (updateDocLang): new function
7516 (changeLanguage): use it
7519 * text2.C (setCounter): use B_ a bit.
7521 * lyxlayout.C (Read): be sure to trim the label strings.
7523 * messages.C (Messages): fix typo in comment
7525 * buffer.C (readFile): set message_ after file is loaded.
7526 (makeDocBookFile): remove double return
7527 (changeLanguage): reset message_ upon language change.
7528 (B_): new func, use this to get translated buffer strings.
7530 * main.C: add myself and Jean Marc as authors.
7532 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7534 * messages.[hC]: pimplify Messages, and three different pimpls to be
7535 used in different circumstances.
7537 * gettext.[Ch]: change for use with new message code.
7539 2003-04-24 André Pönitz <poenitz@gmx.net>
7541 * factory.C: support for eqref
7543 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7545 * messages.[Ch]: add missing char
7547 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7549 * messages.[Ch]: New files
7551 2003-04-18 John Levon <levon@movementarian.org>
7555 * BufferView_pimpl.C:
7559 * text2.C: remove layout-copy/paste (bug 778)
7561 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7563 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7565 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7567 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7568 if they succeed. Act accordingly.
7570 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * text2.C (setCharFont): adjust
7573 (setCounter): adjust
7574 (insertStringAsLines): adjust
7576 * text.C (leftMargin): adjust
7577 (setHeightOfRow): adjust
7579 * rowpainter.C (paintFirst): adjust
7582 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7584 (isFirstInSequence): ditto
7585 (getEndLabel): ditto
7588 * paragraph.C (getParLanguage): comment out some hard stuff.
7590 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7592 (simpleDocBookOnePar): ditto
7593 (makeDocBookFile): use ParagraphList::iterator
7595 * CutAndPaste.C (pasteSelection): adjust
7597 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * text2.C (getFont): adjust
7600 (getLayoutFont): adjust
7601 (getLabelFont): adjust
7603 * paragraph_funcs.C (TeXOnePar): adjust
7605 * buffer.C (simpleLinuxDocOnePar): adjust
7606 (simpleDocBookOnePar): adjust
7608 * CutAndPaste.C (pasteSelection): adjust
7610 * BufferView.C (getEncoding): adjust
7612 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7614 2003-04-16 John Levon <levon@movementarian.org>
7616 * lyxfind.C: use parlist stuff for search/changes
7618 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7622 * text2.C (deleteEmptyParagraphMechanism): adjust
7624 * text2.[Ch] (ownerParagraph): delete func (both of them
7626 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7628 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7630 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * ParagraphList.C: prepare for NO_NEXT
7634 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * text2.C (getFont): adjust
7637 (getLayoutFont): adjust
7638 (getLabelFont): adjust
7640 * paragraph.C (getFont): adjust
7641 (getLabelFont): adjust
7642 (getLayoutFont): adjust
7644 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7646 2003-04-15 John Levon <levon@movementarian.org>
7650 * lyx_main.C: handle Include in .ui files
7652 2003-04-15 John Levon <levon@movementarian.org>
7654 * MenuBackend.C: make the doc files length shorter
7657 * ToolbarBackend.C: handle toolbar placement flags,
7660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7665 * paragraph_funcs.C (TeXOnePar): adjust
7667 * paragraph.C (getLabelFont): add outerfont arg, adjust
7668 (getLayoutFont): ditto
7669 (simpleTeXOnePar): adjust
7671 * paragraph_pimpl.C (realizeFont): delete func
7673 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7675 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7676 row argument, constify cur argument.
7678 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * text2.C (getFont): adjust
7681 (getLayoutFont): adjust
7682 (getLabelFont): adjust
7684 * paragraph_funcs.C (TeXOnePar): adjust
7685 (outerFont): new func...
7686 (realizeFont): ...moved out from here, changed this to facilitate
7689 * paragraph.C (getFont): take outerfont as arg, adjust
7690 (simpleTeXOnePar): add outerfont arg, adjust
7692 * buffer.C (simpleLinuxDocOnePar): adjust
7693 (simpleDocBookOnePar): adjust
7695 * CutAndPaste.C (pasteSelection): adjust
7697 * BufferView.C (getEncoding): adjust
7699 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * text2.C (setCharFont): adjust
7702 (setCounter): adjust
7704 * text.C (leftMargin): adjust
7705 (setHeightOfRow): adjust
7707 * rowpainter.C (paintFirst): adjust
7710 * paragraph_pimpl.C (realizeFont): adjust
7712 * paragraph.C (isFirstInSequence): move from here...
7713 * paragraph_funcs.C (isFirstInSequence): ...to here
7715 * paragraph.C (outerHook): move from here...
7716 * paragraph_funcs.C (outerHook): ...to here
7718 * paragraph.C (depthHook): move from here...
7719 * paragraph_funcs.C (depthHook): ...to here
7721 * paragraph.C (getEndLabel): move from here...
7722 * paragraph_funcs.C (getEndLabel): ...to here
7724 * text2.C (realizeFont): move from here...
7725 * paragraph_funcs.C (realizeFont): ...to here
7727 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7731 2003-04-14 Angus Leeming <leeming@lyx.org>
7733 * LColor.[Ch]: scrap LColor mathcursor.
7735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * lyxlex.[Ch] (text): delete function
7738 * trans.C (Load): adjust
7739 * paragraph_funcs.C (readParToken): adjust
7741 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7744 vector<char> instead of a char[].
7746 * lyxlex_pimpl.C (getString): adjust
7748 (lex): use getString
7752 * lyxlex.C (text): use pimpl_->getString()
7756 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7759 (makeFontEntriesLayoutSpecific): temp var for par.size()
7760 (setLayout): temp var for ownerParagraphs().end()
7761 (fullRebreak): temp var for rows().end()
7762 (selectionAsString): temp var for boost::next(startpit), realize
7763 that the while really is a regular for loop.
7764 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7765 setCursor in one place.
7766 (setParagraph): temp vr for ownerParagraphs().end()
7767 (updateCounters): make the while loop a for loop
7768 (cutSelection): temp var for ownerParagraphs().end()
7769 (updateInset): make the do {} while() a regular for loop
7770 (getCursorX): use temp vars
7771 (setCurrentFont): use temp vars
7772 (getColumnNearX): use temp vars
7774 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * text.C (transformChar): use temp var for getChar
7777 (computeBidiTables): use temp var for row->par()
7778 (fill): move temp vars for row->par() and pit->layout() earlier in
7780 (labelFill): use temp var for row->par()
7781 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7782 asc and desc, realize that pit never changes and that firstpit is
7783 just a duplicate and not needed. Exchange rit->par() with pit in a
7785 (breakAgain): use a temp var for boost::next(rit)
7786 (breakAgainOneRow): ditto
7787 (breakParagraph): use a temp var for rows().begin()
7788 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7789 (cursorRightOneWord): use temp var for cursor.par() and
7790 cursor.pos(), remove usage of tmpcursor.
7791 (cursorLeftOneWord): use temp var for cursor.par() and
7792 cursor.pos() only set cur at end of function.
7794 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * text.C, text2.C: exchange all usage of Paragraph::next with
7797 boost::next(ParagraphList::iterator)
7799 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7801 * text2.C (cursorTop): simplify implementation
7802 (cursorBottom): ditto
7803 (setParagraph): use ParagraphList::iterator
7804 (setCurrentFont): adjust
7805 (getColumnNearX): adjust
7806 (cursorRight): adjust
7807 (cursorLeft): remove usage of Paragraph::previous
7808 (cursorUpParagraph): ditto
7809 (deleteEmptyParagraphMechanism): slight cleanup
7811 * text.C (isBoundary): take a Paragraph const & instead of a
7813 (addressBreakPoint): ditto
7814 (leftMargin): remove usage of Paragraph::previous.
7815 (setHeightOfRow): ditto
7816 (cursorLeftOneWord): ditto
7817 (selectNextWordToSpellcheck): ditto
7820 (breakParagraph): remove one usage of Paragraph::next
7821 (redoParagraph): ditto
7822 (acceptChange): ditto
7823 (insertChar): adjust
7824 (rowBreakPoint): adjust
7826 * bufferview_funcs.C (toggleAndShow): adjust
7828 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7830 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7831 methods to access it.
7833 * text.C: Added updateRowPositions to compute all row positions.
7834 Make top_y and getRowNearY() to use the cached y position
7836 2003-04-11 John Levon <levon@movementarian.org>
7838 * text.C (rowBreakPoint): reintroduce the labelEnd
7839 checks, code copied from the row fill stuff. Deep voodoo.
7841 * text.C (fill): add a comment and debugging for the
7844 2003-04-11 John Levon <levon@movementarian.org>
7846 * text.C: make sure fullrow insets get wrapped to the next line,
7847 even when they're in a manual label
7849 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * text2.C (insertParagraph): make it take ParagraphList::iterator
7853 (setLayout): make it return ParagraphList::iterator
7854 (redoParagraphs): ditto
7856 (checkParagraph): ditto
7858 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7860 * text2.C: adjust several funcs.
7861 (realizeFont): take a ParagraphList::iterator as arg.
7862 (getLayoutFont): ditto
7863 (getLabelFont): ditto
7864 (setCharFont): ditto
7866 * text.C: adjust several funcs.
7868 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7870 * text.C (selectNextWordToSpellcheck): don't accidentally
7873 2003-04-10 John Levon <levon@movementarian.org>
7875 * ToolbarBackend.C (getIcon): special handling for
7878 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7880 * text2.C (cursorRight): a getChar assert fixed
7882 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * text2.C (getFont): change to take a ParagraphList::iterator
7885 instead of Paragraph*
7886 Adjust several functions.
7888 * text.C (transformChar): change to take a ParagraphList::iterator
7889 instead of Paragraph*
7890 (singleWidth): ditto
7891 Adjust several functions.
7893 * rowpainter.C: adjust several functions
7894 * rowpainter.h:store a ParagraphList::iterator and not a
7898 2003-04-09 John Levon <levon@movementarian.org>
7903 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7904 and the "help" bits as well
7906 2003-04-09 John Levon <levon@movementarian.org>
7909 * ToolbarBackend.C: allow multiple toolbars
7911 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7913 * undo_funcs.C (setCursorParUndo): adjust
7915 * text_funcs.C (transposeChars): adjust
7917 * text3.C (gotoNextInset): adjust
7920 * text2.C (setLayout): adjust
7921 (changeDepth): adjust
7923 (redoParagraphs): adjust
7924 (selectionAsString): adjust
7925 (setParagraph): adjust
7926 (insertInset): adjust
7927 (cutSelection): adjust
7928 (copySelection): adjust
7929 (pasteSelection): adjust
7930 (insertStringAsLines): adjust
7931 (updateInset): adjust
7932 (setCursor): change to take a ParagraphList::iterator parameter
7933 (setCursorIntern): change to take a ParagraphList::iterator parameter
7934 (setCurrentFont): adjust
7935 (cursorLeft): adjust
7936 (cursorRight): adjust
7937 (deleteEmptyParagraphMechanism): adjust
7939 * text.C (breakParagraph): adjust
7940 (insertChar): adjust
7941 (acceptChange): adjust
7942 (rejectChange): adjust
7943 (selectNextWordToSpellcheck): adjust
7944 (changeCase): adjust
7948 * lyxfind.C (SearchForward): adjust
7949 (SearchBackward): adjust
7950 (nextChange): adjust
7952 * lyxcursor.C (par): adjust
7954 * lyxcursor.h: store a ParagraphList::iterator instead of a
7957 * lyx_cb.C (getPossibleLabel): adjust
7959 * bufferview_funcs.C (toggleAndShow): adjust
7961 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7964 * BufferView.C (removeAutoInsets): adjust
7965 (lockedInsetStoreUndo): adjust
7967 2003-04-09 John Levon <levon@movementarian.org>
7969 * ToolbarBackend.C: try icon without argument
7970 if with argument fails
7972 2003-04-08 John Levon <levon@movementarian.org>
7975 * ToolbarBackend.C: add getIcon(), handle tooltip,
7976 and change from "Icon" to "Item".
7978 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7980 * BufferView.C (lockInset): another bad getchar crunched
7982 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7984 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7987 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7989 * lyxfind.C (searchForward, searchBackwards): bug 782
7991 2003-04-07 John Levon <levon@movementarian.org>
7993 * paragraph.C: remove dead comment
7995 * text.C: remove troublesome depth-fiddling code
7996 in leftMargin() and rightMargin() (bug 1017)
7998 * text.C: fix breaking of rows in nested lists
8001 * text2.C (updateCounters): fix up depth values
8004 2003-04-07 John Levon <levon@movementarian.org>
8006 * BufferView_pimpl.C: clear message when doc finishes resizing,
8007 and after a mouse event
8009 * lyxfunc.C: clear message after exiting inset
8011 2003-04-07 John Levon <levon@movementarian.org>
8013 * bufferview_funcs.C: show math status not outside
8014 status in the statusbar
8016 2003-04-07 John Levon <levon@movementarian.org>
8018 * lyxfunc.C: note status changed after a depth change
8020 2003-04-04 Angus Leeming <leeming@lyx.org>
8022 * LaTeX.h: move AuxInfo operator==, != out of line.
8023 Remove LaTeX virtual destructor; nothing derives from it.
8024 Move operator()() out of public area and rename it startscript().
8025 Change protected for private.
8027 2003-04-04 Angus Leeming <leeming@lyx.org>
8030 * text2.C: remove unneeded #includes.
8032 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8034 * text2.C (dEPM): fix the heigth of the next row
8036 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8038 * text.C: squashed an invalid getChar requester + some ws changes
8040 2003-04-03 John Levon <levon@movementarian.org>
8042 * bufferview_funcs.h:
8043 * bufferview_funcs.C:
8046 * text2.C: make getStatus work for the env depth lfuns
8048 2003-04-03 John Levon <levon@movementarian.org>
8050 * bufferview_funcs.h:
8051 * bufferview_funcs.C:
8054 * text2.C: parlistize decDepth(), by merging it with incDepth()
8056 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8058 * lyxrow.h: store a ParagraphList::iterator instead of a
8059 Paragraph* and adjust other class functions to suit.
8061 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8064 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8066 * text2.C (setCursor): do not anchor to cursor row for the time being
8068 2003-04-02 John Levon <levon@movementarian.org>
8075 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8077 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8079 * paragraph.h: make ParagraphList and ParagraphList::iterator
8080 friends of Paragraph.
8082 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8084 * ParagraphList.C: Use the private next_ and previous_ from
8087 2003-04-01 John Levon <levon@movementarian.org>
8091 * Makefile.am: rename, remove defaults gunk
8094 * MenuBackend.C: remove defaults gunk
8097 * Languages.C: remove defaults gunk
8100 * lyx_main.C: error out if files couldn't be found.
8102 2003-04-02 John Levon <levon@movementarian.org>
8104 * text2.C: make incDepth() use parlist
8106 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * undo_funcs.C (firstUndoParagraph): adjust
8110 * text3.C (gotoInset): adjust
8111 (dispatch): adjust, and rewrite loop.
8113 * text2.C (init): adjust, and rewrite loop.
8114 (redoParagraphs): adjust
8115 (updateInset): adjust, and rewrite loop.
8116 (deleteEmptyParagraphMechanism): adjust
8118 * tabular.C (LyXTabular): adjust
8119 (SetMultiColumn): adjust
8122 * lyxtext.[Ch] (ownerParagraph): delete function
8123 (ownerParagraphs): new function returns a ParagraphList.
8125 * BufferView.C (removeAutoInsets): adjust
8126 (insertErrors): adjust
8127 (setCursorFromRow): adjust
8129 2003-04-01 Angus Leeming <leeming@lyx.org>
8131 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8134 2003-04-02 John Levon <levon@movementarian.org>
8140 * text_funcs.C: make transposeChars a free function
8142 * lyxrow_funcs.C: remove wrong comment
8144 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8147 * rowpainter.C: adjust
8152 * lyxrow_funcs. [Ch]: new files
8154 * lyxrow.[Ch]: remove next and previous pointers
8155 (next,previous): remove accessor functions
8156 (isParEnd): move to lyxrow_funcs
8157 (lastPos): move to lyxrow_funcs
8158 (nextRowIsAllInset): move to lyxrow_funcs
8159 (lastPrintablePos): move to lyxrow_funcs
8160 (numberOfSeparators): move to lyxrow_funcs
8161 (numberOfHfills): move to lyxrow_funcs
8162 (numberOfLabelHfills): move to lyxrow_funcs
8163 (hfillExpansion): move to lyxrow_funcs
8167 * bufferview_funcs.C (toggleAndShow): adjust
8169 * RowList.h: Remove class RowList from file leave just a
8172 * RowList.C: delete file
8174 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8177 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * text3.C (cursorPrevious): adjust
8180 (cursorNext): adjust
8183 * text2.C (redoHeightOfParagraph): adjust
8184 (redoDrawingOfParagraph): adjust
8187 * text.C (breakParagraph): adjust
8188 (insertChar): adjust
8191 * rowpainter.C (RowPainter): adjust
8192 (leftMargin): simplify and adjust
8193 (most rowpainter functions): adjust.
8195 * rowpainter.h: store the row as RowList::iterator not as Row*
8197 * lyxcursor.C (row): taka RowList::iterator as arg
8200 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8203 2003-04-01 Angus Leeming <leeming@lyx.org>
8205 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8206 stuff like bool Bool.
8208 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8210 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8213 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8218 * lyxtext.h (rows): drop one version and leve a const variant that
8219 returns a RowList::iterator.
8221 2003-03-31 Angus Leeming <leeming@lyx.org>
8223 * text.C (fill): ensure that the signature is the same as that in the
8226 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8228 * text2.C (redoParagraphs): adjust
8229 (updateCounters): adjust
8230 (checkParagraph): adjust
8231 (getColumnNearX): adjust and reformat a bit.
8233 * text.C (top_y): adjust
8235 (leftMargin): adjust
8236 (prepareToPrint): adjust
8238 (getRowNearY): adjust
8240 * lyxtext.h: make rowlist_ mutable.
8242 * RowList.h: add const_iterator
8243 * RowList.C: adjust for RowList::const_iterator.
8245 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8248 2003-03-31 John Levon <levon@movementarian.org>
8251 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8253 * lyx_main.C: set default fonts from using lyx_gui funcs
8255 * exporter.C: pdf_mode moved from lyxrc
8258 * lyxfunc.C: changes from above
8260 2003-03-31 John Levon <levon@movementarian.org>
8262 * lyx_main.C: fix to the last fix
8264 2003-03-31 John Levon <levon@movementarian.org>
8266 * bufferlist.C: "Load original" -> "Load Original"
8272 * format.C: more Alert cleanups
8274 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * text2.C (removeParagraph): make it take a RowList::iterator as
8278 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8279 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8281 * text.C (anchor_row): make it take a RowList::iterator as arg,
8283 (computeBidiTables): make it take a const reference to Row instead
8284 of Row pointer, adjust.
8285 (leftMargin): make it take a RowList::iterator as arg, adjust.
8286 (rowBreakPoint): adjust
8287 (breakAgainOneRow): make it take a RowList::iterator as arg,
8289 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8291 * bufferview_funcs.C (toggleAndShow): adjust
8293 2003-03-30 John Levon <levon@movementarian.org>
8297 * boost-inst.C: moved to support
8299 * several files: changes as a result
8301 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8303 * text2.C (LyXText): adjust.
8305 (removeRow): make it take a RowList::iterator as arg, adjust.
8306 (fullRebreak): adjust
8307 (deleteEmptyParagraphMechanism): adjust
8308 (clearPaint): adjust
8311 * text.C (top_y): adjust
8312 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8313 (breakAgain): make it take a RowList::iterator as arg, adjust.
8314 (breakParagraph): adjust
8315 (insertChar): adjust
8318 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8319 need_break_row, and refresh_row.
8321 * text3.C (dispatch): adjust
8323 * text2.C (checkParagraph): adjust
8325 (setCursorFromCoordinates): adjust
8327 * text.C (top_y): adjust
8329 (getRow): make it return a RowList::iterator, adjust
8330 (getRowNearY): make it return a RowList::iterator, adjust
8332 * text2.C (init): adjust
8333 (insertRow): remove function
8334 (insertParagraph): adjust
8335 (redoParagraphs): adjust
8336 (fullRebreak): adjust
8337 (updateCounters): adjust
8339 * text.C (top_y): rewrite to use RowList iterators.
8341 (setHeightOfRow): rewrite to sue RowList iterators.
8342 (appendParagraph): adjust
8343 (breakAgain): adjust
8344 (breakAgainOneRow): adjust
8345 (breakParagraph): adjust
8347 (getRowNearY): adjust, and remove commented code.
8349 * lyxtext.h (firstRow): delete function
8350 (lastRow): delete function
8351 (rows): new function (const and non-const versions.)
8352 (insertRow): delete function
8354 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8356 2003-03-29 John Levon <levon@movementarian.org>
8358 * BufferView_pimpl.C: always update scrollbar top
8359 because pasting text when we're anchored could mean we
8360 miss an update altogether
8362 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * text2.C (init): use rowlist_.end() and not 0.
8365 (insertRow): change to take a RowList::iterator as arg, adjust
8367 (insertParagraph): change to take a RowList::iterator as arg,
8369 (redoParagraphs): remove some debug msgs.
8371 * text.C (appendParagraph): change to take a RowList::iterator
8372 arg, adjust for this.
8373 (breakAgain): add an assert
8374 (breakAgainOneRow): ditto
8376 2003-03-29 John Levon <levon@movementarian.org>
8378 * text2.C: do not clear selection after inc/decDepth
8381 2003-03-29 John Levon <levon@movementarian.org>
8384 * buffer.C: fix broken strerrors according to Lars
8386 2003-03-29 John Levon <levon@movementarian.org>
8388 * converters.C: more Alert cleanups
8390 2003-03-29 John Levon <levon@movementarian.org>
8392 * bufferview_funcs.C: remove pointless Alert
8394 * buffer.C: fix confusing error message when
8395 a template is chmoded 000
8397 2003-03-29 John Levon <levon@movementarian.org>
8401 * BufferView_pimpl.C: Alert fixes
8405 * tabular-old.C: remove unused table compat reading
8407 2003-03-29 John Levon <levon@movementarian.org>
8412 * lyx_cb.C: more Alert cleanups
8414 * lyxfunc.C: don't allow chktex if not latex document
8416 2003-03-29 John Levon <levon@movementarian.org>
8420 * buffer.C: warnings pushed down from support/,
8423 2003-03-29 John Levon <levon@movementarian.org>
8425 * lyxfunc.C: safety check for C-r (revert)
8427 2003-03-29 John Levon <levon@movementarian.org>
8430 * bufferlist.C: several UI fixes using Alert::prompt.
8431 Fix the pointless looping quit code. Fix stupid revert
8436 * lyx_cb.C: use Alert::prompt
8438 * lyx_main.C: remove a silly question
8440 * lyxfunc.C: remove a couple of silly questions,
8443 2003-03-28 John Levon <levon@movementarian.org>
8445 * text2.C: fix bug 974 (End on empty par)
8447 2003-03-28 John Levon <levon@movementarian.org>
8449 * BufferView_pimpl.C:
8451 * lfuns.h: remove do-nothing math greek lfuns
8453 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8455 * lyxgluelength.h (isValidGlueLength): add default arg on
8456 parameter 2. Remove default arg from friend in class.
8458 * lyxlength.h (isValidLength): add default arg on parameter 2.
8459 Remove default arg from friend in class.
8461 * text2.C (LyXText): adjust, initialize refresh_row.
8465 (insertParagraph): adjst
8466 (redoParagraphs): adjust
8467 (fullRebreak): adjust
8468 (updateCounters): adjust
8469 (deleteEmptyParagraphMechanism): first attempt at fixing a
8472 * text.C (top_y): adjust
8473 (setHeightOfRow): adjust
8475 (getRowNearY): adjust
8477 * lyxtext.h: include RowList.h
8478 (~LyXText): not needed anymore, deleted.
8479 (firstRow): modify for RowList
8480 (lastRow): new function
8481 Delete firstrow and lastrow class variables, add a Rowlist
8482 rowlist_ class variable.
8484 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8487 * RowList.C (insert): fix case where it == begin().
8489 2003-03-26 Angus Leeming <leeming@lyx.org>
8491 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8492 the thesaurus dialog.
8494 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8496 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8498 * RowList.[Ch]: new files
8500 * ParagraphList.C (erase): handle the case where it == begin
8503 2003-03-25 John Levon <levon@movementarian.org>
8507 * aspell.C: add new aspell support
8510 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8513 2003-03-25 Angus Leeming <leeming@lyx.org>
8516 * LyXAction.C (init): new LFUN_INSET_INSERT.
8518 * BufferView_pimpl.C (dispatch): split out part of the
8519 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8521 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8524 2003-03-25 Angus Leeming <leeming@lyx.org>
8526 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8528 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8531 * text3.C: remove useless row->height(0)
8533 2003-03-25 John Levon <levon@movementarian.org>
8537 * text3.C: rename the refreshing stuff to better names
8539 2003-03-24 John Levon <levon@movementarian.org>
8541 * BufferView_pimpl.h:
8542 * BufferView_pimpl.C: update layout choice on a mouse
8545 2003-03-23 John Levon <levon@movementarian.org>
8547 * Makefile.am: fix commandtags.h reference
8549 2003-03-22 John Levon <levon@movementarian.org>
8551 * BufferView_pimpl.C:
8556 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8558 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8561 * text.C: take the rtl methods out of line
8563 2003-03-21 André Pönitz <poenitz@gmx.net>
8565 * metricsinfo.[Ch]: new files containing structures to be passed around
8566 during the two-phase-drawing...
8568 2003-03-21 André Pönitz <poenitz@gmx.net>
8570 * lyxtextclass.C: read 'environment' tag.
8572 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8574 * text2.C (removeRow): fix bug 964
8576 2003-03-20 John Levon <levon@movementarian.org>
8580 * text2.C: paint cleanups. Inset::update() dropped font
8583 2003-03-19 John Levon <levon@movementarian.org>
8585 * lyxfunc.C: only fitcursor/markDirty if available()
8587 2003-03-19 John Levon <levon@movementarian.org>
8589 * commandtags.h: rename to ...
8591 * lfuns.h: ... this, and renumber / cleanup
8593 2003-03-19 John Levon <levon@movementarian.org>
8595 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8596 fit the cursor after an lfun
8600 * BufferView_pimpl.h:
8601 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8603 * LyXAction.C: layout-character should have ReadOnly
8605 * ParagraphParameters.C:
8607 * bufferview_funcs.C:
8614 * undo_funcs.C: changes from above
8616 2003-03-18 John Levon <levon@movementarian.org>
8618 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8619 remove it from update()
8621 * lyxfunc.C: update layout choice after an lfun
8623 * text3.C: remove extra updateLayoutChoice()s
8625 2003-03-18 John Levon <levon@movementarian.org>
8627 * text.C: top_y change means full repaint, fix
8628 a drawing bug with cursor movement
8630 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8634 * text2.C: anchor row on setCursor
8636 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8638 * lyxtext.h: remove almost all mutable keywords
8641 * text3.C: remove const keywords accordingly
8643 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8647 (TeXEnvironment): ditto
8650 2003-03-17 John Levon <levon@movementarian.org>
8652 * text.C (rowBreakPoint): remove attempt to fix displayed
8653 math insets inside a manual label
8655 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * lyxtext.h: remove BufferView* as first arg from almost all class
8659 * other files: adjust.
8661 2003-03-17 John Levon <levon@movementarian.org>
8665 * text2.C: more paint cleanups
8667 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8670 * rowpainter.C: remove "smart" background painting code
8672 2003-03-16 John Levon <levon@movementarian.org>
8677 * text3.C: add helper functions for setting refresh_row/y
8679 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8681 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8682 newline inset which *can* get inserted in the pass_thru layouts.
8683 This is primarily for literate documents.
8685 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8687 * buffer.C: increment LYX_FORMAT to 223
8689 2003-03-14 André Pönitz <poenitz@gmx.net>
8691 * textclass.h: prepare for environment handling, ws changes
8692 * lyxlayout.C: read latexheader and latexfooter tags
8694 2003-03-14 John Levon <levon@movementarian.org>
8696 * text2.C: rewrite ::status() a bit
8698 2003-03-13 John Levon <levon@movementarian.org>
8700 * lyxtext.h: add some docs
8702 2003-03-13 John Levon <levon@movementarian.org>
8707 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8709 2003-03-13 John Levon <levon@movementarian.org>
8711 * text3.C: fix appendix redrawing
8713 2003-03-13 John Levon <levon@movementarian.org>
8715 * text.C (setHeightOfRow):
8717 * rowpainter.C: make appendix mark have the text
8718 "Appendix" so the user knows what it is
8721 * LColor.C: s/appendixline/appendix/ from above
8723 2003-03-13 John Levon <levon@movementarian.org>
8725 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8727 * text.C: fix a getChar(pos) bug properly
8729 2003-03-13 Angus Leeming <leeming@lyx.org>
8732 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8733 Probably only temporary. Let's see how things pan out.
8735 * BufferView.C (unlockInset):
8736 * BufferView_pimpl.C (fitCursor):
8737 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8739 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8740 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8742 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8743 new functions that convert ParagraphParameters to and from a string.
8745 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8746 BufferView::Pimpl's dispatch.
8747 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8749 2003-03-13 André Pönitz <poenitz@gmx.net>
8753 * factory.C: make it aware of InsetEnv
8755 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8757 * text2.C (setCursor): never ask for one past last
8758 (setCursor): add some debugging messages.
8760 * text.C (singleWidth): never ask for one past last
8761 (singleWidth): ditto
8763 (rightMargin): ditto
8764 (rowBreakPoint): ditto
8765 (setHeightOfRow): ditto
8766 (prepareToPrint): ditto
8768 * rowpainter.C (paintBackground): never ask for one past last
8769 (paintText): never ask for one past last
8771 * paragraph_pimpl.C (getChar): make the assert stricter, never
8772 allow the one past last pos to be taken
8774 * paragraph.C (getChar): ws changes only
8776 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8777 (numberOfSeparators): ditto
8778 (numberOfHfills): ditto
8780 2003-03-12 John Levon <levon@movementarian.org>
8786 * paragraph_funcs.C: fix per-buffer authorlists
8788 2003-03-12 John Levon <levon@movementarian.org>
8790 * text.C: fix newline in right address
8792 2003-03-12 Angus Leeming <leeming@lyx.org>
8794 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8795 duplicate those in LyXFunc::dispatch.
8799 * ToolbarDefaults.C:
8800 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8801 Add LFUN_FONTFREE_UPDATE.
8803 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8804 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8806 * bufferview_func.[Ch]: several new functions to facilliate
8807 transfer of data to and from the character dialog.
8809 2003-03-12 John Levon <levon@movementarian.org>
8814 * paragraph_funcs.C:
8815 * paragraph_pimpl.C:
8819 * text3.C: remove META_NEWLINE in favour of an inset
8822 * rowpainter.C: remove paintNewline (done by inset)
8824 2003-03-12 John Levon <levon@movementarian.org>
8826 * paragraph_pimpl.C: complain about bad getChar()s
8827 for a while at least
8829 2003-03-12 John Levon <levon@movementarian.org>
8832 * buffer.C: move paragraph read into a separate function,
8833 a little renaming to reflect that.
8836 * bufferparams.C: remove the author_ids map, not necessary now
8839 * factory.C: moved Buffer::readInset to here
8841 * paragraph_funcs.h:
8842 * paragraph_funcs.C: readParagraph free function moved from
8845 * tabular.C: name change
8847 2003-03-12 John Levon <levon@movementarian.org>
8850 * ParagraphParameters.C: move par params input to
8853 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8854 behave like a normal read from the stream wrt reading
8855 a line vs. a \\token
8857 2003-03-12 John Levon <levon@movementarian.org>
8860 * ParagraphParameters.h:
8861 * ParagraphParameters.C: move output code to a
8864 2003-03-12 John Levon <levon@movementarian.org>
8866 * BufferView.C (insertLyXFile):
8869 * tabular.C: use a parlist iterator for creating the
8872 2003-03-12 John Levon <levon@movementarian.org>
8874 * buffer.C: make current_change static local not
8877 2003-03-12 John Levon <levon@movementarian.org>
8879 * buffer.C: fix insertStringAsLines for change tracking
8881 2003-03-12 John Levon <levon@movementarian.org>
8888 * bufferparams.C: move author list into params. Rename some
8889 functions. Move the header reading into a separate token
8890 loop. Move the header token reading into BufferParams.
8892 2003-03-12 John Levon <levon@movementarian.org>
8894 * changes.C: put debug inside lyxerr.debugging() checks
8896 2003-03-11 André Pönitz <poenitz@gmx.net>
8898 * factory.C: make it aware of InsetHFill
8900 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8902 * buffer.C (latexParagraphs): move function from here...
8903 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8906 2003-03-10 Angus Leeming <leeming@lyx.org>
8908 * LyXAction.C (init): fix bug in poplating array with multiple entries
8909 with the same LFUN (spotted by JMarc).
8911 2003-03-10 John Levon <levon@movementarian.org>
8914 * text2.C: move getColumnNearX() near its
8917 2003-03-10 John Levon <levon@movementarian.org>
8919 * text.C: fix break before a minipage
8921 2003-03-10 John Levon <levon@movementarian.org>
8923 * text.C: fix the last commit
8925 2003-03-09 John Levon <levon@movementarian.org>
8929 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8930 bug 365 (don't break before insets unless needed). Don't
8931 return a value > last under any circumstances.
8933 2003-03-09 Angus Leeming <leeming@lyx.org>
8935 * BufferView_pimpl.C (trackChanges, dispatch): call
8936 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8938 2003-03-09 Angus Leeming <leeming@lyx.org>
8940 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8941 than Dialogs::showAboutlyx().
8943 2003-03-09 Angus Leeming <leeming@lyx.org>
8945 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8946 than Dialogs::showTabularCreate().
8948 2003-03-09 John Levon <levon@movementarian.org>
8952 * text2.C: 3rd arg to nextBreakPoint was always the same.
8955 2003-03-08 John Levon <levon@movementarian.org>
8962 * text2.C: Remove the "main" bit from the "main body"
8965 2003-03-08 John Levon <levon@movementarian.org>
8967 * text.C (leftMargin): The left margin of an empty
8968 manual label paragraph should not include the label width
8971 * text.C (prepareToPrint): don't attempt to measure hfills
8972 for empty manual label paragraphs - the answer should be 0
8974 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8976 * CutAndPaste.C: remove commented code and reindent.
8978 2003-03-08 John Levon <levon@movementarian.org>
8981 * lyxfunc.C: move reloadBuffer()
8984 * BufferView.C: to here
8986 * lyxvc.C: add comment
8989 * vc-backend.C: call bv->reload() to avoid
8990 getStatus() check on MENURELOAD
8992 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8994 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8995 to an old format .dep file.
8997 2003-03-07 Angus Leeming <leeming@lyx.org>
8999 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9000 when the LFUN_MOUSE_RELEASE should have been handled by
9001 inset->localDispatch.
9003 2003-03-07 Angus Leeming <leeming@lyx.org>
9005 * BufferView_pimpl.C (dispatch):
9006 * LyXAction.C (init):
9007 * ToolbarDefaults.C (init):
9009 * lyxfunc.C (getStatus):
9010 remove LFUN_INSET_GRAPHICS.
9012 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9014 2003-03-07 Angus Leeming <leeming@lyx.org>
9017 * LyXAction.C (init):
9018 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9020 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9023 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9025 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9026 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9028 2003-03-07 Angus Leeming <leeming@lyx.org>
9030 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9033 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * ParagraphList.C (front): new function
9038 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9040 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9041 and top_row_offset_. removed var first_y.
9043 * text2.C (LyXText, removeRow):
9045 * BufferView_pimpl.C:
9046 use these methods instead of using first_y
9048 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9050 * text2.C (pasteSelection): adjust for checkPastePossible
9052 * CutAndPaste.C: remove Paragraph * buf and replace with
9053 ParagraphList paragraphs.
9054 (DeleteBuffer): delete
9055 (cutSelection): change the tc type to textclass_type
9056 (copySelection): change the tc type to textclass_type
9057 (copySelection): adjust for ParagraphList
9058 (pasteSelection): change the tc type to textclass_type
9059 (pasteSelection): adjust for Paragraphlist
9060 (nrOfParagraphs): simplify for ParagraphList
9061 (checkPastePossible): simplify for ParagraphList
9062 (checkPastePossible): remove unused arg
9064 * ParagraphList.C (insert): handle the case where there are no
9067 * CutAndPaste.h: make CutAndPaste a namespace.
9069 * text3.C (dispatch): adjust
9071 * text.C (breakParagraph): add a ParagraphList as arg
9073 * paragraph_funcs.C (breakParagraph): change to take a
9074 BufferParams and a ParagraphList as args.
9075 (breakParagraphConservative): ditto
9076 (mergeParagraph): ditto
9077 (TeXDeeper): add a ParagraphList arg
9078 (TeXEnvironment): ditto
9081 * buffer.C (readLyXformat2): adjust
9082 (insertStringAsLines): adjust
9083 (latexParagraphs): adjust
9085 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9086 (cutSelection): adjust
9087 (pasteSelection): adjust
9089 * BufferView_pimpl.C (insertInset): adjust
9091 2003-03-05 Angus Leeming <leeming@lyx.org>
9094 * LyXAction.C (init):
9095 * BufferView_pimpl.C (dispatch):
9096 * lyxfunc.C (getStatus):
9097 remove LFUN_CHILD_INSERT.
9099 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9101 2003-03-05 Angus Leeming <leeming@lyx.org>
9104 * LyXAction.C (init):
9105 * src/factory.C (createInset):
9106 * lyxfunc.C (getStatus):
9107 * text3.C (dispatch):
9108 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9110 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9112 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9114 * ParagraphList.C (insert): handle insert right before end()
9115 (erase): fix cases where it can be first or last paragraph.
9117 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9120 Paragraph::next and Paragraph::previous
9123 * text.C (breakParagraph): adjust
9125 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9126 BufferParams& as arg.
9127 (breakParagraph): use ParagraphList::insert
9128 (breakParagraphConservative): take a Buffer* instead of a
9129 BufferParams& as arg.
9130 (breakParagraphConservative): use ParagraphList::insert.
9132 * buffer.C (insertStringAsLines): un-const it
9133 (insertStringAsLines): adjust
9135 * ParagraphList.C (insert): new function
9137 * CutAndPaste.C (pasteSelection): adjust
9139 * text.C (backspace): adjust
9141 * tabular.C (SetMultiColumn): adjust
9143 * CutAndPaste.C (cutSelection): adjust
9144 (pasteSelection): adjust
9146 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9147 Buffer const * as arg
9149 * ParagraphList.C (erase): new function
9150 * paragraph_funcs.C (mergeParagraph): use it
9151 (mergeParagraph): make it take a Buffer* instead of a
9152 BufferParams* as arg
9154 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9156 (breakParagraphConservative): ditto
9158 * paragraph.h: remove the breakParagraph friend
9160 * paragraph.C (eraseIntern): new function
9161 (setChange): new function
9163 * paragraph_funcs.C (mergeParagraph): make it take a
9164 ParagraphList::iterator instead of a Paragraph *, adjust
9167 * paragraph.h: move an #endif so that the change tracking stuff
9168 also works in the NO_NEXT case.
9170 2003-03-04 Angus Leeming <leeming@lyx.org>
9173 * LyXAction.C: new LFUN_INSET_MODIFY.
9175 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9176 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9178 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9180 * several files: ws changes only
9182 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9183 (TeXEnvironment): ditto
9186 * buffer.C (makeLaTeXFile): adjust
9187 (latexParagraphs): make it take ParagraphList::iterator as args
9189 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9191 * buffer.C (latexParagraphs): adjust
9193 * paragraph.C (TeXOnePar): move function...
9194 (optArgInset): move function...
9195 (TeXEnvironment): move function...
9196 * paragraph_pimpl.C (TeXDeeper): move function...
9197 * paragraph_funcs.C: ...here
9199 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9201 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9203 * buffer.C (readInset): remove compability code for old Figure and
9206 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9208 * buffer.C: ws changes
9211 * BufferView_pimpl.C: ditto
9214 * bufferlist.h: ditto
9218 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9220 * converter.[Ch]: split into itself +
9223 * Makefile.am: += graph.[Ch] + format.[Ch]
9230 * lyxrc.C: added #include "format.h"
9232 2003-02-27 Angus Leeming <leeming@lyx.org>
9234 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9237 * factory.C (createInset): add "label" to the factory.
9239 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9240 string and do no more.
9242 2003-02-27 Angus Leeming <leeming@lyx.org>
9245 * LyXAction.C (init):
9246 * factory.C (createInset):
9247 * BufferView_pimpl.C (dispatch):
9248 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9250 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9252 * lyxfunc.C (dispatch):
9253 * text3.C (dispatch): pass name to params2string.
9255 2003-02-26 Angus Leeming <leeming@lyx.org>
9257 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9259 Rearrange the ~includes. Strip out the unnecessary ones.
9261 * factory.C (createInset): reformat.
9262 create new insets for the various LFUN_XYZ_APPLY lfuns.
9264 2003-02-26 John Levon <levon@movementarian.org>
9267 * lyxrow.C: add isParStart,isParEnd helpers
9269 * paragraph.h: make isInserted/DeletedText take refs
9271 * paragraph_funcs.h:
9272 * paragraph_funcs.C: remove #if 0'd code
9277 * text.C: use lyxrow helpers above.
9278 Move draw and paint routines to RowPainter.
9279 Make several methods use refs not pointers.
9280 Make backgroundColor() const.
9281 Add markChangeInDraw(), isInInset().
9282 Merge changeRegionCase into changeCase.
9283 Make workWidth() shouldn't-happen code into an Assert.
9286 * rowpainter.C: new class for painting a row.
9289 * vspace.C: make inPixels take a ref
9291 2003-02-26 Angus Leeming <leeming@lyx.org>
9293 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9296 2003-02-25 John Levon <levon@movementarian.org>
9298 * ispell.C: give the forked command a more accurate name
9300 2003-02-22 John Levon <levon@movementarian.org>
9303 * toc.C: make TocItem store an id not a Paragraph *
9306 2003-02-21 Angus Leeming <leeming@lyx.org>
9308 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9309 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9310 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9311 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9312 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9313 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9315 * BufferView_pimpl.C (dispatch):
9316 * LyXAction.C (init):
9317 * factory.C (createInset):
9318 * lyxfunc.C (getStatus, dispatch):
9319 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9321 2003-02-21 Angus Leeming <leeming@lyx.org>
9323 * BufferView_pimpl.C (MenuInsertLyXFile):
9324 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9325 * lyxfunc.C (menuNew, open, doImport):
9326 no longer pass a LyXView & to fileDlg.
9328 2003-02-21 Angus Leeming <leeming@lyx.org>
9330 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9331 * LyXAction.C: change, BIBKEY to BIBITEM.
9332 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9333 Change InsetBibKey to InsetBibitem.
9334 Change BIBKEY_CODE to BIBITEM_CODE.
9335 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9336 * factory.C: replace insetbib.h with insetbibitem.h.
9337 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9338 * paragraph.C: replace insetbib.h with insetbibitem.h.
9339 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9340 Change bibkey() to bibitem().
9341 * text.C: remove insetbib.h.
9342 * text2.C: replace insetbib.h with insetbibitem.h.
9343 change bibkey() to bibitem().
9344 * text3.C: remove insetbib.h.
9345 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9347 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9349 * lyxrc.C (output): enclose user email in quotes (in case there are
9352 2003-02-18 John Levon <levon@movementarian.org>
9354 * buffer.h: add std::
9356 2003-02-17 John Levon <levon@movementarian.org>
9362 * pspell.C: reworking. Especially in ispell, a large
9363 number of clean ups and bug fixes.
9365 * lyxfunc.C: fix revert to behave sensibly
9367 2003-02-17 André Pönitz <poenitz@gmx.net>
9370 * commandtags.h: new LFUN_INSERT_BIBKEY
9380 * paragraph_func.C: remove special bibkey handling
9382 2003-02-17 John Levon <levon@movementarian.org>
9384 * text.C (Delete): fix case where delete at the end of
9385 the very first paragraph would not merge the pars
9387 2003-02-17 John Levon <levon@movementarian.org>
9389 * lyxrow.C: fix lastPrintablePos()
9391 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * bufferparams.C (writeLaTeX): add a std:here
9395 * buffer.C: and remove a using directive there
9397 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9399 * buffer.C (makeLaTeXFile): move the code that generates the
9402 * bufferparams.C (writeLaTeX): ... in this new method
9404 * LaTeXFeatures.C (getEncodingSet): make const
9405 (getLanguages): make const
9407 * MenuBackend.C (binding): returns the binding associated to this
9409 (add): sets the status of each item by calling getStatus. Adds
9411 (read): add support for OptSubMenu
9412 (expand): remove extra separator at the end of expanded menu
9414 2003-02-15 John Levon <levon@movementarian.org>
9417 * BufferView_pimpl.C:
9419 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9420 inset code that had no actual effect. Remove unneeded status
9423 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9425 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9428 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9430 * text.C (drawLengthMarker): also draw an arrow marker for
9431 symbolic lengths (medskip...)
9433 2003-02-14 John Levon <levon@movementarian.org>
9436 * tabular.C: better method names
9438 2003-02-14 John Levon <levon@movementarian.org>
9440 * BufferView_pimpl.C:
9445 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9446 it's a more accurate name. Remove some pointless uses.
9448 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9450 * text2.C (LyXText): change order of initilizers to shut off
9453 2003-02-14 John Levon <levon@movementarian.org>
9455 * buffer.C: use ParIterator for getParFromID()
9459 * paragraph_pimpl.h:
9460 * paragraph_pimpl.C: remove unused getParFromID()
9462 2003-02-14 John Levon <levon@movementarian.org>
9464 * buffer.C: remove some very old #if 0'd parse code
9466 2003-02-13 John Levon <levon@movementarian.org>
9470 * text2.C: move hfillExpansion(), numberOfSeparators(),
9471 rowLast(), rowLastPrintable(), numberofHfills(),
9472 numberOfLabelHfills() ...
9475 * lyxrow.C: ... to member functions here.
9480 * text.C: remove LyXText::beginningOfMainBody(), and call
9481 p->beginningOfMainBody() directly. Move the check for
9482 LABEL_MANUAL into the latter.
9489 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9495 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9496 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9498 2003-02-13 John Levon <levon@movementarian.org>
9500 * CutAndPaste.C: remove debug
9502 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * paragraph.C (asString): remove two unused variables
9506 * lyxtextclass.C (readTitleType):
9508 (LyXTextClass): handle new members titletype_ and titlename_
9510 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9512 2003-02-09 John Levon <levon@movementarian.org>
9515 * buffer.C: replace hand-coded list with a map for the dep clean
9517 2003-02-08 John Levon <levon@movementarian.org>
9519 * LaTeX.C: consolidate code into showRunMessage() helper
9521 2003-02-08 John Levon <levon@movementarian.org>
9526 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9527 and pass the size in explicitly
9529 * BufferView_pimpl.h:
9530 * BufferView_pimpl.C:
9532 * BufferView.C: add getCurrentChange()
9534 * BufferView_pimpl.h:
9535 * BufferView_pimpl.C: handle change lfuns
9537 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9538 for changes. Mark pasted paragraphs as new.
9540 * support/lyxtime.h:
9541 * support/lyxtime.C:
9542 * DepTable.C: abstract time_t as lyx::time_type
9545 * LColor.C: add colours for new text, deleted text, changebars
9547 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9548 package use "usenames" option.
9552 * LyXAction.C: add change lfuns
9556 * author.C: author handling
9559 * buffer.C: add a per-buffer author list, with first entry as
9560 current author. Handle new .lyx tokens for change tracking. Output
9561 author list to .lyx file. Output dvipost stuff to .tex preamble.
9562 Bump lyx format to 222.
9565 * bufferlist.C: add setCurrentAuthor() to reset current author details
9569 * bufferparams.C: add param for tracking
9571 * bufferview_funcs.C: output change info in minibuffer
9575 * changes.C: add change-tracking structure
9578 * debug.C: add CHANGES debug flag
9581 * lyxfind.C: add code for finding the next change piece
9584 * lyxrc.C: add user_name and user_email
9587 * lyxrow.C: add a metric for the top of the text line
9590 * text.C: implement accept/rejectChange()
9593 * text.C: paint changebars. Paint new/deleted text in the chosen
9594 colours. Strike through deleted text.
9598 * paragraph_pimpl.h:
9599 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9600 in the current change to the insert functions. Rework erase to
9601 mark text as deleted, adding an eraseIntern() and a range-based
9602 erase(). Implement per-paragraph change lookup and
9605 * paragraph_funcs.C: Fixup paste for change tracking.
9607 * tabular.C: mark added row/columns as new.
9609 * text.C: fix rowLast() to never return -1. Don't allow
9610 spellchecking of deleted text. Track transpose changes. Don't
9611 allow paragraph break or merge where appropriate.
9613 * text2.C: leave cursor at end of selection after a cut.
9615 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * text.C (getLengthMarkerHeight):
9618 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9619 visible on screen too.
9621 2003-02-07 John Levon <levon@movementarian.org>
9623 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9625 2003-02-05 Angus Leeming <leeming@lyx.org>
9627 * lyxserver.C (read_ready): revert my patch of 11 September last year
9628 as it sends PC cpu through the roof. Presumably this means that
9629 the lyxserver will no longer run on an Alpha...
9631 2003-01-30 Angus Leeming <leeming@lyx.org>
9633 * factory.C (createInset): create an InsetCommandParam of type "index"
9634 and use it to 'do the right thing'.
9636 * text2.C (getStringToIndex): ensure that cursor position is always
9637 reset to the reset_cursor position.
9639 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9641 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9644 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9648 * lyxfunc.C: Output messages with identical spelling, punctuation,
9651 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9653 * MenuBackend.C (expandFormats): List only viewable export formats
9656 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9659 * lyxfunc.C (getStatus): Make sure that formats other than
9660 "fax" can also be disabled
9662 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9664 * text3.C (dispatch): put the lfuns that insert insets in 3
9665 groups, and call doInsertInset with appropriate arguments.
9666 (doInsertInset): new function, that creates an inset and inserts
9667 it according to some boolean parameters.
9669 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9671 * buffer.C (readFile): remember to pass on 'par' when calling
9672 readFile recursively.
9674 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9676 * MenuBackend.C (expandFormats): add "..." to import formats.
9678 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9680 * paragraph.C (asString): Remove XForms RTL hacks.
9682 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9683 * buffer.C: fix typo
9685 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9687 * Makefile.am (LIBS): delete var
9688 (lyx_LDADD): add @LIBS@ here instead.
9690 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9692 * Clarify the meaning of "wheel mouse jump"
9694 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9696 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9699 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9701 * importer.C (Loaders): do not preallocate 3 elements in the
9702 vector, since one ends up with 6 elements otherwise
9704 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * DepTable.C (write): write the file name as last element of the
9707 .dep file (because it may contain spaces)
9708 (read): read info in the right order
9710 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9712 * paragraph_pimpl.C (simpleTeXBlanks):
9713 (simpleTeXSpecialChars):
9714 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9716 * tabular.C (latex): add some missing case statements. Reindent.
9718 * MenuBackend.C (expandToc): remove unused variable.
9720 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9729 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9732 2003-01-05 John Levon <levon@movementarian.org>
9735 * BufferView.C: add getEncoding()
9738 * kbsequence.C: do not store last keypress
9741 * lyxfunc.C: store last keypress here instead. Pass encoding
9744 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9746 * lyx_main.C (init): remove annoying error message when following
9747 symbolic links (bug #780)
9749 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9751 * text.C (insertChar):
9752 * lyxrc.C (getDescription): remove extra spaces
9754 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * lyxrc.C (getDescription): remove extra spaces
9758 2002-12-20 John Levon <levon@movementarian.org>
9760 * text3.C: hack fix for page up/down across tall rows
9762 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9764 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9767 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9770 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9771 thesaurus is not compiled in
9773 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9775 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9777 2002-12-16 Angus Leeming <leeming@lyx.org>
9780 * lyx_main.C (init): remove override_x_deadkeys stuff.
9782 2002-12-12 John Levon <levon@movementarian.org>
9784 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9785 insert. Only remove shift modifier under strict
9788 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9790 * MenuBackend.C (expandToc): fix crash.
9792 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9794 * MenuBackend.C (expandToc): gettext on float names.
9796 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9798 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9799 implement bool empty() [bug 490]
9801 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9803 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9805 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9807 * several files: ws changes
9809 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9811 * text2.C (setCounter): clean up a bit, use boost.format.
9812 (updateCounters): initialize par upon declaration.
9814 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9815 if the layout exists. We do not just store the layout any more.
9816 (SwitchLayoutsBetweenClasses): use boost.format
9818 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9820 * converter.C (convert): if from and to files are the same, use a
9821 temporary files as intermediary
9823 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9826 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9828 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9830 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9832 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9834 * tabular.C (asciiPrintCell): use string(size, char) instead of
9837 * sgml.C (openTag): fix order of arguments to string constructor
9840 * lyxfunc.C (dispatch): use boost.format
9842 * lots of files: change "c" -> 'c'
9844 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9846 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9848 2002-11-25 Angus Leeming <leeming@lyx.org>
9850 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9852 * lyx_main.C (init): compile fix.
9854 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9856 * lyx_cb.C (start): boost.formatify
9857 do not include <iostream>
9859 * lengthcommon.C: ws only
9861 * boost-inst.C,BoostFormat.h: add more explict instantations
9863 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9865 * lots of files: handle USE_BOOST_FORMAT
9867 2002-11-21 John Levon <levon@movementarian.org>
9869 * pspell.C: fix compile
9871 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9873 * lyxfunc.C (dispatch): use boost::format
9877 * lyxfont.C (stateText): use boost::format
9879 * lyx_main.C (LyX): use boost::format
9881 (queryUserLyXDir): ditto
9884 (typedef boost::function): use the recommened syntax.
9886 * importer.C (Import): use boost::format
9888 * debug.C (showLevel): use boost::format
9890 * converter.C (view): use boost::format
9895 * bufferview_funcs.C (currentState): use boost::format
9897 * bufferlist.C (emergencyWrite): use boost::format
9899 * buffer.C (readLyXformat2): use boost::format
9900 (parseSingleLyXformat2Token): ditto
9902 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9904 * LaTeX.C (run): use boost::format
9906 * Chktex.C (scanLogFile): use boost::format
9908 * BufferView_pimpl.C (savePosition): use boost::format
9909 (restorePosition): ditto
9910 (MenuInsertLyXFile): ditto
9912 * BoostFormat.h: help file for explicit instation.
9914 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9916 * tabular.C (latex): Support for block alignment in fixed width
9919 2002-11-17 John Levon <levon@movementarian.org>
9921 * BufferView_pimpl.C:
9923 * lyxfunc.C: split filedialog into open/save
9925 2002-11-08 Juergen Vigna <jug@sad.it>
9927 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9928 by my last patch (hopefully).
9930 2002-11-08 John Levon <levon@movementarian.org>
9939 * toc.C: ParConstIterator, and use it (from Lars)
9941 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9943 * lyxtextclass.[Ch]: revise and add doxygen comments
9945 2002-11-07 John Levon <levon@movementarian.org>
9947 * text.C: fix progress value for spellchecker
9949 * toc.C: fix navigate menu for insetwrap inside minipage
9951 * paragraph_funcs.C: added FIXME for suspect code
9953 2002-11-07 John Levon <levon@movementarian.org>
9955 * BufferView_pimpl.C: fix redrawing of insets
9958 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * text2.C (updateCounters): fix bug 668
9962 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9964 * text3.C (dispatch): Do not make the buffer dirty when moving the
9967 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9969 * vc-backend.C: STRCONV
9972 * text2.C (setCounter): STRCONV
9974 * paragraph.C (asString): STRCONV
9976 * lyxlength.C (asString): STRCONV
9977 (asLatexString): ditto
9979 * lyxgluelength.C (asString): STRCONV
9980 (asLatexString): ditto
9982 * lyxfunc.C (dispatch): STRCONV
9985 * lyxfont.C (stateText): STRCONV
9987 * importer.C (Import): STRCONV
9989 * counters.C (labelItem): STRCONV
9990 (numberLabel): ditto
9991 (numberLabel): remove unused ostringstream o
9996 * bufferview_funcs.C (currentState): STRCONV
9998 * buffer.C (readFile): STRCONV
9999 (asciiParagraph): ditto
10000 (makeLaTeXFile): ditto
10002 * Spacing.C (writeEnvirBegin): STRCONV
10004 * LaTeXFeatures.C (getLanguages): STRCONV
10005 (getPackages): ditto
10007 (getBabelOptions): ditto
10008 (getTClassPreamble): ditto
10009 (getLyXSGMLEntities): ditto
10010 (getIncludedFiles): ditto
10014 (scanAuxFile): ditto
10017 * LString.h: add the STRCONV macros
10019 * BufferView_pimpl.C (savePosition): STRCONV
10020 (restorePosition): ditto
10021 (MenuInsertLyXFile): ditto
10023 * vc-backend.C (scanMaster): change from submatch[...] to
10026 * funcrequest.C: include config.h
10028 * factory.C: include config.h
10030 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10032 * box.C: include config.h
10034 * LaTeX.C (scanAuxFile): change from submatch[...] to
10038 2002-10-25 Angus Leeming <leeming@lyx.org>
10040 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10042 * ispell.[Ch] (setError): new method.
10043 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10044 Use setError() insetead of goto END.
10046 * lyx_cb.C (AutoSave): move out child process into new class
10049 2002-10-30 John Levon <levon@movementarian.org>
10051 * text3.C: make start appendix undoable
10053 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10055 * lyxlength.C (inPixels): Fix returned value.
10057 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10060 2002-10-24 Angus Leeming <leeming@lyx.org>
10062 * lyxgluelength.h: no need to forward declare BufferParams
10063 or BufferView, so don't.
10065 2002-10-21 John Levon <levon@movementarian.org>
10067 * BufferView.C: menuUndo ->undo, redo
10069 * BufferView.h: document, remove dead, make some methods private
10071 * paragraph_funcs.h:
10072 * paragraph_funcs.C:
10073 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10078 * sgml.C: move sgml open/close tag into sgml.C
10080 * bufferview_funcs.h: unused prototype
10083 * lyxfunc.C: remove unused
10086 * text.C: remove unused
10088 2002-10-21 John Levon <levon@movementarian.org>
10092 * BufferView_pimpl.h:
10093 * BufferView_pimpl.C: fix mouse wheel handling based on
10094 patch from Darren Freeman
10096 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10098 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10100 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10102 * lyxlength.C (inPixels): Fix hanfling of negative length.
10103 Fix LyXLength::MU case.
10105 2002-10-16 John Levon <levon@movementarian.org>
10107 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10109 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10111 * converter.C (view): add support for $$i (file name) and $$p
10112 (file path) for the viewer command. If $$i is not specified, then
10113 it is appended to the command (for compatibility with old syntax)
10115 2002-10-14 Juergen Vigna <jug@sad.it>
10117 * undo_funcs.C (textHandleUndo): alter the order in which the
10118 new undopar is added to the LyXText, as we have to set first
10119 the right prev/next and then add it as otherwise the rebuild of
10120 LyXText is not correct. Also reset the cursor to the right paragraph,
10121 with this IMO we could remove the hack in "redoParagraphs()".
10123 2002-10-09 Angus Leeming <leeming@lyx.org>
10125 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10126 to turn off an optimisation if a new inset is to be inserted.
10128 2002-10-11 André Pönitz <poenitz@gmx.net>
10130 * lyxtext.h: make some functions public to allow access
10131 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10133 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10135 * text3.C (dispatch): when changing layout, avoid an infinite loop
10138 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * lyxrc.C (read): treat a viewer or converter command of "none" as
10143 * MenuBackend.C (expandFormats): for an update, also allow the
10144 formats that are not viewable
10146 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10147 script if it is newer than the lyxrc.defaults in user directory
10149 2002-10-07 André Pönitz <poenitz@gmx.net>
10151 * text.C: Vitaly Lipatov's small i18n fix
10153 2002-09-25 Angus Leeming <leeming@lyx.org>
10155 * ispell.h: doxygen fix.
10157 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10159 * buffer.h (readFile): Add a new argument to the method, to allow
10160 reading of old-format templates.
10162 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10164 * toc.C (getTocList): Get TOC from InsetWrap.
10166 2002-09-16 John Levon <levon@movementarian.org>
10168 * lyxfunc.C: check tabular for cut/copy too
10170 2002-09-12 John Levon <levon@movementarian.org>
10172 * LyXAction.C: tidy
10175 * factory.C: add header
10177 * paragraph_funcs.h:
10178 * paragraph_funcs.C: cleanup
10180 2002-09-11 John Levon <levon@movementarian.org>
10182 * PrinterParams.h: odd/even default to true
10184 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10186 * PrinterParams.h: update printer parameters for new xforms dialog
10188 2002-09-11 Angus Leeming <leeming@lyx.org>
10190 * lyxserver.C (read_ready): re-write to make it more transparent
10191 and to make it work in coherent fashion under Tru64 Unix.
10193 2002-09-11 André Pönitz <poenitz@gmx.net>
10197 * text3.C: implement LFUN_WORDSEL
10199 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10201 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10202 make floatlist_ a boost::shared_ptr<FloatList>
10204 * lyxtextclass.C: include FloatList.h
10205 (LyXTextClass): initialize floatlist_
10206 (TextClassTags): add TC_NOFLOAT
10207 (Read): match "nofloat" to TC_NOFLOAT and use it.
10208 (readFloat): modify call to floatlist_
10212 * FloatList.[Ch] (FloatList): remove commented out float
10214 (erase): new function
10216 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10218 * MenuBackend.C (expandToc): fix crash when there is no document
10221 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10223 * many files: Add insetwrap.
10225 2002-09-09 John Levon <levon@movementarian.org>
10227 * text2.C: remove confusing and awkward depth wraparound
10229 2002-09-09 John Levon <levon@movementarian.org>
10231 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10234 * buffer.C: remove getIncludeonlyList()
10237 * lyxfunc.C: remove headers
10239 2002-09-09 Juergen Vigna <jug@sad.it>
10241 * text.C (getColumnNearX): fix form Michael this is most
10242 probably a cut&paste bug.
10244 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10246 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10248 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10249 references, ws changes.
10251 * text2.C (init): update counters after init
10252 (insertParagraph): no need to set counter on idividual paragraphs.
10253 (setCounter): access the counters object in the textclass object
10254 on in the buffer object.
10255 (updateCounters): ditto
10257 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10258 shared_ptr<Counters> to avoid loading counters.h in all
10260 (LyXTextClass): initialize ctrs_
10261 (TextClassTags): add TC_COUNTER, and ...
10262 (Read): use it here.
10263 (CounterTags): new tags
10264 (readCounter): new function
10265 (counters): new funtion
10266 (defaultLayoutName): return a const reference
10268 * counters.C (Counters): remove contructor
10269 (newCounter): remove a couple of unneeded statements.
10270 (newCounter): simplify a bit.
10271 (numberLabel): some small formatting changes.
10273 * buffer.[Ch]: remove all traces of counters, move the Counters
10274 object to the LyXTextClass.
10276 2002-09-06 Alain Castera <castera@in2p3.fr>
10278 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10279 package to set the horizontal alignment on fixed width columns.
10282 * lyx_sty.h: added tabularnewline macro def.
10284 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10286 2002-09-06 John Levon <levon@movementarian.org>
10288 * LyXAction.C: tooltips for sub/superscript
10290 * MenuBackend.C: a bit more verbose
10292 * lyxfunc.C: tiny clean
10294 * undo_funcs.C: document undo_frozen
10296 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10298 * counters.C (Counters): add missing algorithm counter.
10300 * text2.C (setCounter): lookup the counter with layouts latexname
10301 instead of by section number.
10302 (setCounter): use a hackish way to lookup the correct enum
10304 a float name->type change
10305 reset enum couners with counter name directly instead of depth value.
10307 * counters.C (Counters): remove the push_backs, change to use the
10308 float type not the float name.
10309 (labelItem): remove unused string, float name->type change
10311 * counters.h: don't include vector, loose the enums and sects vectors
10313 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10315 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10316 (Read): add float->TC_FLOAT to textclassTags
10317 (Read): and handle it in the switch
10318 (readFloat): new function
10320 * FloatList.C (FloatList): comment out the hardcoded float
10323 * lyxlayout.h: ws change.
10325 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10327 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10329 2002-09-03 Angus Leeming <leeming@lyx.org>
10331 * BufferView_pimpl.h: qualified name is not allowed in member
10332 declaration: WorkArea & Pimpl::workarea() const;
10334 * factory.C: added using std::endl directive.
10336 * text3.C: added using std::find and std::vector directives.
10338 2002-08-29 André Pönitz <poenitz@gmx.net>
10341 * text2.C: remove unused member number_of_rows
10344 * BufferView2.C: remove file, move contents to...
10345 * BufferView.C: ... here
10347 * BufferView_pimpl.C:
10348 * factory.C: move more inset creation to factory
10350 * vspace.C: avoid direct usage of LyXText, ws changes
10353 don't provide direct access to WorkArea, use two simple
10354 acessors haveSelction() and workHeight() instead
10357 2002-08-29 John Levon <levon@movementarian.org>
10359 * BufferView_pimpl.C (dispatch): do not continue when
10362 2002-08-28 André Pönitz <poenitz@gmx.net>
10364 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10367 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10369 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10371 * buffer.C: increment LYX_FORMAT to 221
10373 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10374 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10376 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10378 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10380 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10382 * factory.C (createInset): use LyXTextClass::floats
10384 * MenuBackend.C (expandFloatListInsert):
10385 (expandFloatInsert):
10388 * text2.C (setCounter):
10390 * LaTeXFeatures.C (useFloat):
10391 (getFloatDefinitions):
10393 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10395 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10396 floatlist_, with accessor floats().
10398 * FloatList.h: remove global FloatList
10400 2002-08-26 André Pönitz <poenitz@gmx.net>
10402 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10406 * BufferView_pimpl.C:
10407 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10409 2002-08-25 John Levon <levon@movementarian.org>
10411 * LyXAction.C: fix margin note description
10413 2002-08-24 John Levon <levon@movementarian.org>
10417 * bufferview_funcs.C:
10419 * undo_funcs.C: cleanups
10421 * lyxfunc.C: disable CUT/COPY when no selection
10423 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10425 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10426 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10428 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10429 Add backward compatibility to "mono", "gray" and "no".
10431 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10433 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10434 (and file_format >= 200).
10436 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10438 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10440 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10442 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10444 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10446 * BufferView_pimpl.C:
10453 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10454 inset and code to make it work with the paragraph code. The inset
10455 can be anywhere in the paragraph, but will only do the expected
10456 thing in LaTeX if the layout file contains the parameter line
10458 (or more generally, a nonzero value) for that layout.
10460 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10462 * paragraph.h: remove the declaration of undefined counters class
10465 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10467 * text2.C (setCounter): fixed enumeration mis-count as reported by
10468 Dr. Richard Hawkins.
10470 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10472 * paragraph_funcs.h: remove some unneeded includes
10474 * text.C (backspace): pasteParagraph now in global scipe
10476 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10477 (pasteSelection): ditto
10479 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10480 * paragraph_funcs.C (pasteParagraph): ... here
10482 2002-08-20 André Pönitz <poenitz@gmx.net>
10484 * commandtags.h: new LFUNs for swapping/copying table row/colums
10487 * lyxfunc.C: support for new lfuns
10489 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10492 * buffer.[Ch]: remove NO_COMPABILITY stuff
10494 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10496 * boost.C (throw_exception): new file, with helper function for
10497 boost compiled without exceptions.
10502 * ParameterStruct.h:
10503 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10505 * bufferlist.C (emergencyWriteAll): use boost bind
10507 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10509 * text.C: include paragraph_funcs.h
10510 (breakParagraph): breakParagraph is now in global scope
10512 * paragraph_funcs.[Ch]: new files
10514 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10517 * buffer.C: include paragraph_funcs.h
10518 (insertStringAsLines): breakParagraph is now in global scope
10520 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10523 * CutAndPaste.C: include paragraph_funcs.h
10524 (cutSelection): breakParagraphConservative is now in global scope
10525 (pasteSelection): ditto
10527 * buffer.h: declare oprator== and operator!= for
10528 Buffer::inset_iterator
10530 * bufferlist.C (emergencyWrite): don't use fmt(...)
10532 * text3.C: add using std::endl
10534 * BufferView.C (moveCursorUpdate): remove default arg
10536 2002-08-20 André Pönitz <poenitz@gmx.net>
10538 * buffer.[Ch]: move inline functions to .C
10541 * BufferView_pimpl.C:
10543 * buffer.[Ch]: use improved inset_iterator
10546 * paragraph.[Ch]: write one paragraph at a time
10548 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10550 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10551 style if style is not specified.
10553 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * text2.C (setCounter): when searching for right label for a
10556 caption, make sure to recurse to parent insets (so that a caption
10557 in a minipage in a figure float works) (bug #568)
10559 2002-08-20 André Pönitz <poenitz@gmx.net>
10561 * text3.C: new file for LyXText::dispatch() and helpers
10563 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10565 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10567 2002-08-19 André Pönitz <poenitz@gmx.net>
10570 * text.C: new LyXText::dispatch()
10572 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10574 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10576 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10578 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10581 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10583 * Makefile.am: use $(variables) instead of @substitutions@
10585 2002-08-15 André Pönitz <poenitz@gmx.net>
10588 * BufferView_pimpl.C: streamlining mathed <-> outer world
10592 * LyXAction.C: remove unused LFUN_MATH
10594 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10596 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10598 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10600 * paragraph.C (Paragraph): reformat a bit
10601 (cutIntoMinibuffer): use builtin InsetList function instad of
10605 * buffer.C: include boost/bind.hpp, add using std::for_each
10606 (writeFileAscii): use ParagraphList iterators
10607 (validate): use for_each for validate traversal of paragraphs
10608 (getBibkeyList): use ParagraphList iterators
10609 (resizeInsets): use for_each to resizeInsetsLyXText for all
10611 (getParFromID): use ParagraphList iterators
10613 * BufferView2.C (lockInset): use paragraph list and iterators
10615 2002-08-14 John Levon <levon@movementarian.org>
10617 * lyxserver.C: remove spurious xforms include
10619 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10621 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10623 2002-08-13 André Pönitz <poenitz@gmx.net>
10626 * lyxfunc.C: further cleaning
10628 2002-08-13 André Pönitz <poenitz@gmx.net>
10630 * funcrequest.h: new constructor
10632 * funcrequest.C: move stuff here from .h
10635 * BufferView_pimpl.C:
10638 * lyxfunc.C: subsequent changes
10640 * lyxfunc.h: new view() member function
10642 * lyxfunc.C: subsequent changes
10644 2002-08-13 Angus Leeming <leeming@lyx.org>
10647 * BufferView_pimpl.C:
10655 changes due to the changed LyXView interface that now returns references
10656 to member variables not pointers.
10658 2002-08-13 Angus Leeming <leeming@lyx.org>
10660 * WordLangTuple (word, lang_code): return references to strings,
10665 * lyxtext.h: forward-declare WordLangTuple.
10670 * text.C: #include "WordLangTuple.h".
10673 * text.C: (selectNextWordToSpellcheck): constify return type.
10675 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10681 * paragraph_pimpl.h:
10684 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10685 suggested by Angus.
10686 Made updateCounter always count from start of buffer, and removed
10687 second argument (par).
10688 Reverted floats number display to '#'. Perhaps I'll try again when the
10689 code base is sanitized a bit.
10691 2002-08-12 Angus Leeming <leeming@lyx.org>
10693 * buffer.[Ch] (getLabelList): constify.
10695 2002-08-07 André Pönitz <poenitz@gmx.net>
10697 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10699 * funcrequest.h: extension to keep mouse (x,y) position
10701 2002-08-12 Juergen Vigna <jug@sad.it>
10703 * BufferView2.C (insertErrors): forbid undo when inserting error
10706 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10708 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10710 * ParagraphList.[Ch]: new files
10712 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10714 * BufferView2.C (lockInset): ParagraphList changes
10717 * bufferlist.C: ditto
10721 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10723 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10724 unused class variable counter_,
10726 * paragraph.[Ch] (getFirstCounter): delete unused function
10728 * counters.C: include LAssert.h
10729 (reset): add a new function with no arg, change other version to
10730 not have def. arg and to not allow empty arg.
10732 * text2.C (setCounter): remove empty arg from call to Counters::reset
10734 2002-08-11 John Levon <levon@movementarian.org>
10736 * Makefile.am: add WordLangTuple.h
10738 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10741 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10743 * insets/insettext.C: InsetList changes
10745 * graphics/GraphicsSupport.C (operator()): InsetList changes
10747 * toc.C (getTocList): InsetList changes
10749 * paragraph_pimpl.[Ch]: InsetList changes
10751 * paragraph.[Ch]: InsetList changes
10753 * buffer.C (inset_iterator): InsetList changes
10754 (setParagraph): ditto
10755 * buffer.h (inset_iterator): ditto
10756 * iterators.C (operator++): ditto
10757 * iterators.h: ditto
10759 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10761 * InsetList.[Ch]: new files, most InsetList handling moved out of
10764 * BufferView2.C (removeAutoInsets): InsetList changes
10766 (ChangeInsets): ditto
10768 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10770 * paragraph_pimpl.h (empty): new function
10772 * paragraph.[Ch] (empty): new function
10774 * other files: use the new Paragraph::empty function
10776 2002-08-09 John Levon <levon@movementarian.org>
10778 * lyxtext.h: remove unused refresh_height
10780 2002-08-09 John Levon <levon@movementarian.org>
10787 * paragraph.C: move sgml char escaping out of paragraph
10790 * paragraph.C: remove id setter
10794 * paragraph_pimpl.C: remove dead tex_code_break_column
10796 * bufferview_funcs.C: small cleanup
10798 * lyxfunc.C: remove dead proto
10800 * lyxtext.h: make some stuff private. Remove some dead stuff.
10802 * lyxgluelength.C: make as[LyX]String() readable
10804 2002-08-08 John Levon <levon@movementarian.org>
10809 * ToolbarDefaults.C:
10812 * toc.C: lyxaction cleanup
10814 2002-08-08 John Levon <levon@movementarian.org>
10816 * BufferView2.C: small cleanup
10819 * lyxfind.C: move unnecessary header into the .C
10821 2002-08-08 John Levon <levon@movementarian.org>
10823 * funcrequest.h: just tedious nonsense
10826 * lyx_main.C: cleanups
10829 * vspace.C: remove dead header lyx_main.h
10831 2002-08-07 Angus Leeming <leeming@lyx.org>
10834 * paragraph_pimpl.h:
10835 Forward declare class Counters in paragraph.h by moving the ctrs member
10836 variable into Paragraph::Pimpl.
10837 (counters): new method, returning a reference to pimpl_->ctrs.
10839 * text2.C: ensuing changes.
10841 2002-08-07 John Levon <levon@movementarian.org>
10843 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10845 * BufferView_pimpl.C: announce X selection on double/triple
10848 * lyx_main.C: use correct bool in batch dispatch
10850 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10852 2002-08-07 André Pönitz <poenitz@gmx.net>
10854 * funcrequest.h: new class to wrap a kb_action and its argument
10857 * BufferView_pimpl[Ch]:
10861 * lyxrc.C: subsequent changes
10864 2002-08-07 John Levon <levon@movementarian.org>
10866 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10867 document options change.
10869 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10874 * makefile.am: move counters functionality over from
10875 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10877 2002-08-06 John Levon <levon@movementarian.org>
10879 * WordLangTuple.h: new file for word + language code tuple
10890 * BufferView2.C: use WordLangTuple
10893 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10895 2002-08-06 John Levon <levon@movementarian.org>
10897 * lyx_main.C: fix cmdline batch handling
10899 2002-08-06 André Pönitz <poenitz@gmx.net>
10901 * lyxrc.C: set default for show_banner to true
10903 2002-08-06 John Levon <levon@movementarian.org>
10905 * pspell.C: fix a crash, and allow new aspell to work
10907 2002-08-06 John Levon <levon@movementarian.org>
10910 * kbmap.C: small cleanup
10913 * vspace.C: add const
10915 2002-08-05 John Levon <levon@movementarian.org>
10917 * LyXAction.C: back to tabular-insert
10919 2002-08-04 John Levon <levon@movementarian.org>
10922 * BufferView.C: cosmetic change
10924 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10934 * BufferView2.C: purge all "Lyx" not "LyX" strings
10937 * lyxcursor.C: attempt to add some documentation
10942 * ToolbarDefaults.C:
10943 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10944 merge with LFUN_TABULAR_INSERT
10951 * pspell.C: split up i/pspell implementations into separate
10952 files, many cleanups
10954 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10956 * text2.C: some cleanup
10958 * lyxfunc.C: don't check for isp_command == "none" any more, it
10959 didn't make any sense
10961 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10966 * makefile.am: move counters functionality over
10967 from text2.C/paragraph.[Ch] to counters.[Ch], and
10969 2002-08-02 John Levon <levon@movementarian.org>
10971 * buffer.C: s/lyxconvert/lyx2lyx/
10973 2002-08-02 Angus Leeming <leeming@lyx.org>
10975 * lyxlex.C: revert John's change as it breaks reading of the user
10978 2002-08-02 Angus Leeming <leeming@lyx.org>
10980 * importer.C (Import):
10981 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10982 changes due to LyXView::view() now returning a boost::shared_ptr.
10984 2002-08-02 John Levon <levon@movementarian.org>
10986 * lyxlex.C: small cleanup
10988 2002-08-02 John Levon <levon@movementarian.org>
10990 * text2.C (status): small cleanup, no logic change
10992 2002-08-01 John Levon <levon@movementarian.org>
10995 * buffer.C (writeFile): don't output alerts, caller
10999 * lyx_cb.C: from above
11001 * lyxfunc.C: allow to open non-existent files
11003 2002-07-31 John Levon <levon@movementarian.org>
11005 * lyxserver.C: don't let incidental errors get
11008 2002-07-30 John Levon <levon@movementarian.org>
11010 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11012 2002-07-30 John Levon <levon@movementarian.org>
11015 * lyxserver.C: remove I/O callback too
11017 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11019 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11022 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11024 * many files: strip,frontStrip -> trim,ltrim,rtrim
11026 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11028 * PrinterParams.h: remove extern containsOnly, and include
11029 support/lstrings.h instead.
11031 * LaTeX.C (scanAuxFile): modify because of strip changes
11033 * buffer.C (makeLaTeXFile): ditto
11034 * bufferparams.C (writeFile): ditt
11035 * lyxfont.C (stateText): ditto
11036 * lyxserver.C (read_ready): ditto
11037 * vc-backend.C (scanMaster): ditto
11039 * BufferView_pimpl.h: ws changes
11041 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11043 2002-07-26 André Pönitz <poenitz@gmx.net>
11045 * kb_sequence.C: remove unnedred usings
11047 2002-07-26 Juergen Vigna <jug@sad.it>
11049 * lyxfind.C (LyXReplace): we have to check better if the returned
11050 text is not of theLockingInset()->getLockingInset().
11052 2002-07-25 Juergen Vigna <jug@sad.it>
11054 * lyxfind.C (LyXReplace): don't replace if we don't get the
11057 * undo_funcs.C (createUndo): remove debugging code.
11059 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11061 * buffer.C (parseSingleLyXformat2Token): Use default placement
11062 when reading old floats.
11064 * FloatList.C (FloatList): Change the default placement of figure
11065 and tables to "tbp".
11067 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11069 * MenuBackend.C: using std::max
11071 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11073 * MenuBackend.C (expandToc):
11074 (expandToc2): code moved from xforms menu frontend. It is now
11075 generic and TOCs are transparent to menu frontends.
11077 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11079 * toc.C (getTocList): protect against buf=0
11081 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11082 Menu as first parameter. Now, this calls itself recursively to
11083 expand a whole tree (this will be useful for TOC handling)
11084 (expandFloatInsert): remove 'wide' version of floats
11086 * MenuBackend.h (submenuname): returns the name of the submenu.
11087 (submenu): returns the submenu itself, provided it has been
11088 created by MenuBackend::expand
11090 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11092 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11093 insets which have noFontChange == true. (bug #172)
11095 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11097 * BufferView_pimpl.C: add connection objects and use them...
11100 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11102 * MenuBackend.C (expandLastfiles):
11105 (expandFloatListInsert):
11106 (expandFloatInsert):
11107 (expand): split expand in parts
11109 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11111 * lyx_gui.C: use lyx_gui::exit()
11113 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11115 * LyXAction.C: show the failing pseudo action
11117 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11119 * buffer.C (readFile): Run the lyxconvert script in order to read
11122 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11126 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11128 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11132 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11134 2002-07-22 Herbert Voss <voss@lyx.org>
11137 * lyxlength.[Ch]: add support for the vertical lengths
11139 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11141 * toc.[Ch]: std:: fixes
11143 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11145 * lyxrc.C: do not include lyx_main.h
11147 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11153 * BufferView2.C: include "lyxlex.h"
11156 * bufferparams.h: do not #include "lyxlex.h"
11158 * lyxtextclasslist.C (Add): remove method
11159 (classlist): renamed to classlist_
11161 * paragraph_pimpl.C:
11165 * bufferview_funcs.C:
11170 * toc.C (getTocList): use BufferParams::getLyXTextClass
11172 * toc.C (getTocList): use InsetFloat::addToToc
11174 * toc.[Ch]: new files, containing helper functions to handle table
11177 * lyxfunc.C (dispatch): no need to remove spaces around command
11179 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11180 first command of the sequence; it is not very clever, but I do not
11181 have a better idea, actually
11183 * LyXAction.C (LookupFunc): make sure to remove space at the
11184 beginning and end of the command
11186 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11188 * MenuBackend.C (getMenubar): new method: return the menubar of
11190 (read): treat differently reading of menu and menubar (in
11191 particular, the menubar has no name now)
11192 (Menu::menubar): remove
11194 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11197 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11199 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11200 a bibitem inset in a RTL paragraph.
11202 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11204 * paragraph_pimpl.C: constify
11206 * BufferView_pimpl.C:
11208 * lyxfunc.C: fix dispatch in a nicer way
11210 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11212 * lyxfunc.C (dispatch):
11213 * BufferView_pimpl.C:
11214 * BufferView_pimpl.h:
11216 * BufferView.h: rename Dispatch() to dispatch()
11218 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11220 * lyxlayout.C (Read): honor DependsOn tag
11222 * lyxlayout.[Ch] (depends_on): new method
11224 * version.C.in: update lyx_docversion
11226 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11228 * paragraph.C (validate): remove from here...
11229 * paragraph_pimpl.C (validate): ... and move here
11230 (isTextAt): make it const
11232 * buffer.C (getLists): ws cleanup
11234 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11236 * language.C (read): Use iso8859-1 encoding in latex_lang
11237 (this prevents LyX from crashing when using iso10646-1 encoding).
11239 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * text2.C (toggleInset): if cursor is inside an inset, close the
11242 inset and leave cursor _after_ it
11244 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11246 * lyxfunc.C: move minibuffer completion handling out of here
11248 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11250 * BufferView_pimpl.C:
11251 * LaTeX.C: fix dispatch calls
11253 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11255 * text.C (drawChars): Fix Arabic text rendering.
11257 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11261 * lyxfunc.C: remove message-push/pop
11265 * lyxfunc.C: rationalise some code by removing verboseDispatch
11266 in favour of a bool argument to dispatch()
11268 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11270 * lyx_main.C (init): make sure to read symlinks as absolute paths
11272 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11275 * lyxfunc.C: no need for commandshortcut to be a member
11277 2002-07-15 André Pönitz <poenitz@gmx.net>
11279 * converter.C: add support for $$s (scripts from lib/scripts dir)
11280 * lyx_main.C: white space
11282 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11286 * lyxrc.C: remove second exit confirmation
11288 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11293 * BufferView_pimpl.h:
11294 * BufferView_pimpl.C:
11295 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11297 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11299 * MenuBackend.C (expand): add numeric shortcuts to document menu
11301 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11303 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * lyxfont.C (setLyXFamily):
11312 * buffer.C (asciiParagraph): use ascii_lowercase
11314 2002-07-15 Mike Fabian <mfabian@suse.de>
11316 * lyxlex_pimpl.C (search_kw):
11317 * lyxlex.C (getLongString):
11318 * converter.h (operator<):
11319 * converter.C (operator<):
11320 * buffer.C (parseSingleLyXformat2Token):
11322 * ToolbarDefaults.C (read):
11323 * MenuBackend.C (checkShortcuts):
11325 * LColor.C (getFromGUIName):
11326 (getFromLyXName): use the compare_ascii_no_case instead of
11327 compare_no_case, because in turkish, 'i' is not the lowercase
11328 version of 'I', and thus turkish locale breaks parsing of tags.
11330 2002-07-16 Angus Leeming <leeming@lyx.org>
11332 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11333 now takes a Buffer const & argument.
11335 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11337 * BufferView.C (resize): check there's a buffer to resize
11339 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11341 * lyxfunc.C: remove dead code
11344 * lyxserver.C: use lyx_guii::set_read_callback
11346 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11348 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11349 an inset in a RTL paragraph.
11351 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11353 * lyxfunc.C: repaint after a font size update
11355 2002-07-15 André Pönitz <poenitz@gmx.net>
11357 * lyxlength.C: inBP should be able to return negative values
11359 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11361 * lyxfunc.C: use lyx_gui::update_fonts()
11363 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11365 * lyxfunc.C: use lyx_gui::update_color()
11367 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11373 * lyxrc.C: remove file->new asks for name option, and let
11374 buffer-new take an argument
11376 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11378 * BufferView_pimpl.C: remove unneeded extra repaint()
11380 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11382 * LyXAction.C: allow command-sequence with NoBuffer
11384 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11386 2002-07-10 Angus Leeming <leeming@lyx.org>
11388 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11390 2002-07-09 Angus Leeming <leeming@lyx.org>
11392 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11394 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11396 * lengthcommon.h: whitespace
11398 * lyxfunc.C: update scrollbar after goto paragraph
11400 * lyxtext.h: factor out page break drawing, and fix it so
11401 page break/added space paints as selected nicely
11403 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11405 * BufferView_pimpl.C: add FIXMEs, clean up a little
11407 2002-07-09 André Pönitz <poenitz@gmx.net>
11409 * lyxfont.[Ch]: support for wasy symbols
11411 2002-07-08 André Pönitz <poenitz@gmx.net>
11413 * BufferView_pimpl.C: apply John's patch for #93.
11415 2002-07-05 Angus Leeming <leeming@lyx.org>
11417 * BufferView_pimpl.C (buffer): generate previews if desired.
11419 * LColor.h: add "preview" to the color enum.
11421 * LColor.C (LColor): add a corresponding entry to the items array.
11423 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11426 2002-07-05 Angus Leeming <leeming@lyx.org>
11428 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11429 The body of the code is now in the method that is passed an ostream &
11430 rather than a file name.
11431 Pass an additional only_preamble parameter, useful for the forthcoming
11434 2002-07-03 André Pönitz <poenitz@gmx.net>
11436 * lyxfunc.C: simplify getStatus() a bit for math stuff
11438 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11440 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11442 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11444 * text.C (changeRegionCase): do not change case of all the
11445 document when region ends at paragraph end (bug #461)
11447 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11449 * paragraph.C (startTeXParParams):
11450 (endTeXParParams): add \protect when necessary
11452 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * BufferView_pimpl.C (workAreaExpose): remove warning
11456 2002-06-27 Angus Leeming <leeming@lyx.org>
11458 * Makefile.am: add lyxlayout_ptr_fwd.h.
11460 2002-06-26 André Pönitz <poenitz@gmx.net>
11462 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11464 2002-06-25 Angus Leeming <leeming@lyx.org>
11466 * lyxfunc.C (dispatch): Comment out the call to
11467 grfx::GCache::changeDisplay. The method no longer exists now that the
11468 pixmap generation part of the graphics loader has been moved into
11471 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11473 * text2.C: layout as layout
11475 * text.C: layout as layout
11477 * tabular.C (OldFormatRead): layout as layout
11479 * paragraph_pimpl.C (TeXDeeper): layout as layout
11480 (realizeFont): layout as layout
11482 * paragraph.C (writeFile): layout as layout
11483 (validate): layout as layout
11484 (getFont): layout as layout
11485 (getLabelFont): layout as layout
11486 (getLayoutFont): layout as layout
11487 (breakParagraph): layout as layout
11488 (stripLeadingSpaces): layout as layout
11489 (getEndLabel): layout as layout
11490 (getMaxDepthAfter): layout as layout
11491 (applyLayout): layout as layout
11492 (TeXOnePar): layout as layout
11493 (simpleTeXOnePar): layout as layout
11494 (TeXEnvironment): layout as layout
11495 (layout): layout as layout
11496 (layout): layout as layout
11498 * lyxtextclass.C (compare_name): new functor to work with
11499 shared_ptr, layout as layout
11500 (Read): layout as layout
11501 (hasLayout): layout as layout
11502 (operator): layout as layout
11503 (delete_layout): layout as layout
11504 (defaultLayout): layout as layout
11506 * lyxlayout_ptr_fwd.h: new file
11508 * lyxlayout.C (Read): layout as layout
11510 * lyx_cb.C (MenuInsertLabel): layout as layout
11512 * bufferlist.C (newFile): layout as layout
11514 * buffer.C (readLyXformat2): layout as layout
11515 (parseSingleLyXformat2Token): layout as layout
11516 (insertStringAsLines): layout as layout
11517 (asciiParagraph): layout as layout
11518 (latexParagraphs): layout as layout
11519 (makeLinuxDocFile): layout as layout
11520 (simpleLinuxDocOnePar): layout as layout
11521 (makeDocBookFile): layout as layout
11522 (simpleDocBookOnePar): layout as layout
11523 (getLists): layout as layout
11525 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11527 * CutAndPaste.C (cutSelection): layout as layout
11528 (pasteSelection): layout as layout
11529 (SwitchLayoutsBetweenClasses): layout as layout
11531 * BufferView_pimpl.C (Dispatch): layout as layout
11532 (smartQuote): layout as layout
11534 * BufferView2.C (unlockInset): layout as layout
11536 2002-06-24 André Pönitz <poenitz@gmx.net>
11538 * lyxfunc.C: fix #487
11540 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11544 * lyxfunc.C: remove display_shortcuts, show_banner
11546 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11548 * Buffer_pimpl.C: oops, update on resize
11550 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11557 * BufferView.C: use repaint()
11559 * BufferView_pimpl.h:
11560 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11561 as it's a clearer description. Remove superfluous
11564 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11566 * text.C: fix bug 488. Not ideal, but getting
11567 getWord() to work properly for the insets that
11568 matter is more difficult ...
11570 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11572 * BufferView_pimpl.C:
11575 * lyxfunc.C: remove the six million index lyxfuncs to just
11576 one, and DTRT (bug 458)
11578 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11582 * BufferView_pimpl.h:
11583 * BufferView_pimpl.C: clean up resize() stuff,
11584 and unnecessary updateScreen()s
11586 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11590 * BufferView_pimpl.h:
11591 * BufferView_pimpl.C:
11594 * minibuffer.C: remove focus management of workarea,
11595 not needed. Use screen's greyOut()
11597 2002-06-17 Herbert Voss <voss@lyx.org>
11599 * converter.C: (convert) do not post a message, when converting
11600 fails, let the calling function decide what to do in this case
11602 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11604 * lyxfunc.C: tidy up a little
11606 2002-06-16 <alstrup@diku.dk>
11608 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11609 Got rid of FORMS_H_LOCATION include. Now we are
11612 2002-06-15 LyX Development team <lyx@rilke>
11614 * buffer.[Ch] (sgmlOpenTag):
11615 (sgmlCloseTag): Added support for avoiding pernicious mixed
11616 content. Return number of lines written.
11618 (makeLinuxDocFile):
11619 (makeDocBookFile): Fixed calls to sgml*Tag.
11620 Simple white space clean.
11622 (simpleDocBookOnePar): Simple white space clean.
11624 * tabular.[Ch] (docBook): Renamed to docbook and got another
11625 argument to related with the pernicious mixed content.
11627 (docbookRow): Fixed calls for docbook inset method.
11629 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11631 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11632 so it's X11 independent.
11636 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11638 2002-06-15 Lyx Development team <lyx@electronia>
11640 * intl.h: Renamed getTrans to getTransManager.
11642 2002-06-14 Angus Leeming <leeming@lyx.org>
11644 * Makefile.am: nuke forgotten stl_string_fwd.h.
11646 2002-06-12 Angus Leeming <leeming@lyx.org>
11648 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11650 2002-06-13 Angus Leeming <leeming@lyx.org>
11653 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11655 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11657 * kbmap.C (getiso): add support for cyrillic and greek
11659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11663 * BufferView_pimpl.h:
11664 * BufferView_pimpl.C: move bogus scrolling logic
11667 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11670 * BufferView_pimpl.C: view->resize() change
11672 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11674 * BufferView_pimpl.C: topCursorVisible
11677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11681 * lyx_gui.C: move to frontends/
11685 * lyx_main.C: changes from above
11687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11694 * lyx_main.C: minor tidy
11696 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11698 * BufferView_pimpl.h:
11699 * BufferView_pimpl.C:
11701 * BufferView.C: make painter() const,
11704 * BufferView2.C: use screen() accessor
11707 * lyx_main.C: some minor cleanup
11709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11711 * BufferView_pimpl.h:
11712 * BufferView_pimpl.C: remove enter/leaveView,
11715 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11720 * BufferView_pimpl.h:
11721 * BufferView_pimpl.C: only construct screen once,
11724 * lyxrc.C: remove pointless comment
11726 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11729 * BufferView.C: remove active() and belowMouse()
11731 * BufferView_pimpl.h:
11732 * BufferView_pimpl.C: use workarea() not workarea_,
11733 and make it use a scoped_ptr instead
11735 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11737 * lyx_gui.C: add debug message on BadWindow
11739 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11741 * sp_spell.C: fdopen is not part of the C++ standard.
11743 * paragraph.C (InsetIterator): use >= instead of ==
11745 2002-06-07 Angus Leeming <leeming@lyx.org>
11747 Fixes needed to compile with Compaq cxx 6.5.
11748 * BufferView_pimpl.C:
11755 * lyxtextclasslist.C:
11760 all c-library variables have been moved into namespace std. Wrap
11761 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11766 Add a using std::abs declaration.
11768 * kbmap.h (modifier_pair):
11769 * paragraph.h (InsetTable, InsetList):
11770 * lyxfont.h (FontBits):
11771 type definition made public.
11773 * bufferlist.C (emergencyWriteAll): the compiler complains that
11774 there is more than one possible lyx::class_fun template to choose from.
11775 I re-named the void specialisation as lyx::void_class_fun.
11777 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11779 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11780 the compiler is is unable to find tostr in write_attribute.
11782 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11784 * buffer.C (sgmlError): hide #warning
11786 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11788 * xtl/*: get rid of xtl, which is not in use anyway
11790 * LyXAction.C (init):
11791 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11792 were unimplemented xtl experimentation
11794 2002-06-04 André Pönitz <poenitz@gmx.net>
11796 * lyxfunc.C: disable array operation on simple formulae
11798 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11800 * converter.C: constify a bit
11802 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11804 * lyx_gui.C: check xforms version correctly
11806 2002-04-30 Herbert Voss <voss@lyx.org>
11808 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11811 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11813 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11814 attempt to register it with a VCS)
11816 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11818 * lyx_main.C (init): honor variables LYX_DIR_13x and
11821 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11825 * lyx_main.C: fix a crash on bad command line,
11826 and give a useful exit status on error
11828 * lyxfunc.C (doImport): allow -i lyx to work
11830 2002-03-30 André Pönitz <poenitz@gmx.net>
11832 * lyxfunc.C: mathed font changes
11834 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11849 * trans_mgr.h: srcdocs, and some minor cleanups
11851 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11853 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11854 call getFont all the time)
11856 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11858 * switch from SigC signals to boost::signals
11860 2002-05-29 André Pönitz <poenitz@gmx.net>
11862 * paragraph_pimpl.C (getChar): don't call size() too often...
11864 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * paragraph_pimpl.C (insertChar): do not try to update tables when
11867 appending (pos == size())
11869 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11870 in order to reduce drastically the number of comparisons needed to
11871 parse a large document
11873 2002-05-29 André Pönitz <poenitz@gmx.net>
11879 * textclasslist.[Ch]:
11880 * sp_ispell.h: whitespace change
11882 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11885 lyxaction directly now.
11887 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11891 * lyxvc.C: remove unused headers
11893 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11900 * undo_funcs.C: some cleanups. Use shared_ptr
11901 and a template for the undo stacks.
11903 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11905 * BufferView_pimpl.h:
11906 * BufferView_pimpl.C:
11913 * text2.C: use key_state/mouse_state
11915 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11917 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11920 * chset.C: change include order
11921 (loadFile): use boost regex and get rid of LRegex and LSubstring
11923 * Makefile.am (BOOST_LIBS): new variable
11924 (lyx_LDADD): use it
11926 * LaTeX.C: change include order.
11927 (scanAuxFile): use boost regex and get rid of LRegex and
11931 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11936 * FontInfo.C: moved to frontends/xforms/
11939 * FontLoader.C: moved into frontends for GUIIzation
11944 * lyxfunc.C: changes from above
11946 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11948 * LColor.C: remove spurious X include
11950 * BufferView_pimpl.C:
11955 * text2.C: move font metrics to frontends/
11957 2002-05-24 Juergen Vigna <jug@sad.it>
11959 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11960 setting the undo_cursor.
11962 * ParagraphParameters.h: include local includes first.
11964 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11966 * BufferView_pimpl.C:
11967 * BufferView_pimpl.h:
11971 * screen.C: move WorkArea into frontends/
11977 * BufferView2.C: move LyXScreen into frontends/
11981 * lyx_gui.C: move lyxlookup into frontends/xforms/
11983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11986 * BufferView_pimpl.C:
11996 * bufferview_funcs.C:
12009 * vc-backend.C: move LyX/XFormsView into frontends/
12011 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12023 * text2.C: move Painter to frontends/
12025 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12027 * buffer.C: comment out some some code that depend upon lyx_format
12030 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12031 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12033 * buffer.h (NO_COMPABILITY): turn off compability
12035 * ColorHandler.C: include scoped_array.hpp
12037 * font.C: Use more specific smart_ptr header.
12040 * ShareContainer.h: ditto
12041 * lyx_main.h: ditto
12043 * FontInfo.h: ditto
12044 * BufferView_pimpl.h: ditto
12045 * ColorHandler.h: ditto
12047 * kbmap.C (defkey): change call to shared_ptr::reset
12049 2002-05-21 Juergen Vigna <jug@sad.it>
12051 * buffer.C (insertErtContents): fix to insert ert asis if it is
12052 non empty. Skip it completely if it contains only whitespaces.
12054 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12056 * BufferView_pimpl.C:
12057 * BufferView2.C: clear selection on paste (bug 393)
12059 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12061 * DepTable.C: include ctime
12063 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12065 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12067 2002-05-14 Juergen Vigna <jug@sad.it>
12069 * text.C (breakParagraph): fixed function to honor the keepempty
12070 layout in the right maner and also to permit the right breaking
12071 algorithm on empty or non empyt keepempty paragraphs.
12073 * paragraph.C (breakParagraph): we have to check also if the par
12074 is really empty (!size()) for isempty otherwise we do the wrong
12077 2002-05-10 Juergen Vigna <jug@sad.it>
12079 * buffer.[Ch] : The following are only changes to the ert
12080 compatibility read reading old LaTeX layout and font stuff and
12081 convert it to ERTInsets.
12083 * buffer.h: added isErtInset().
12085 * buffer.C (struct ErtComp): add a fromlayout bool to check
12086 if we're inside a LaTeX layout.
12087 (isErtInset): new helper function.
12088 (insertErtContents): look for other ert insets before this one
12089 and insert the contents there, so that we don't have subsequent
12090 ERT insets with nothing between them. This way we create only one
12091 inset with multiple paragraphs. Also check if we don't insert only
12092 spaces ' ' as they are ignored anyway afterwards in the .tex file
12093 so if we have only spaces we will ignore this latex part in the
12095 (parseSingleLyXformat2Token \\layout): better compatibility when
12096 reading layout-latex stuff.
12097 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12099 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12100 stuff after reading the inset only get the information back from
12103 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12105 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12107 * LaTeXFeatures.C (getBabelOptions): New method.
12109 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12111 * BufferView_pimpl.C (Dispatch): work around missing argument for
12114 2002-05-08 Juergen Vigna <jug@sad.it>
12116 * text.C (leftMargin): handle paragraph leftindent.
12118 * paragraph.C (writeFile): write the new \\leftindent tag.
12119 (validate): handle leftindent code.
12120 (TeXEnvironment): handle paragraphleftindent code again.
12122 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12124 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12125 for paragrap_extra indent code and new token \\leftindent.
12126 (latexParagraphs): handle the leftindent as environment.
12128 * ParameterStruct.h: added leftindent support.
12130 * ParagraphParameters.C (leftIndent): added support functions for
12131 the paragraph left indent.
12133 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12136 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12138 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12141 * text.C (computeBidiTables): No bidi in insetERT.
12143 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12146 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12148 * version.C.in: pre 5
12150 2002-05-02 José Matos <jamatos@fep.up.pt>
12151 * buffer.C (makeDocBookFile): white space changes, add newline to
12153 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12155 * tabular.C (docBook): fix typo.
12157 2002-05-03 Juergen Vigna <jug@sad.it>
12159 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12160 change in LyXText as we can not be sure it was not freed.
12161 (drawOneRow): remove unused code.
12163 * text.C (drawInset): redo the calculation of the need_break_row as
12164 it could have a row which was already freed.
12165 (draw): look at the return value of drawInset and return false if
12166 it also returned false.
12167 (paintRowText): look at the return value of draw and return false if
12168 it also returned false.
12170 * lyxtext.h: added bool return type to drawInset() and draw() so that
12171 if we have a change in the row so that the rowbreak has to be redone
12172 we abort drawing as it will be called again.
12174 2002-05-02 Juergen Vigna <jug@sad.it>
12176 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12177 a change in the maintext also if we're inside an inset.
12178 (Dispatch): set the cursor again after a break line and after the
12179 screen has been updated as it could be we're in a different row.
12181 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12182 to set the cursor behind the pargraph with > size().
12183 (setCursor): check also for the same paragraph when checking where
12184 to put the cursor if we have a NFR inset.
12186 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12187 parts of layout read further up as it still was in the wrong
12190 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * screen.C (drawFromTo): change sine fullRebreak always return
12195 * buffer.C (parseSingleLyXformat2Token): reindent some
12197 * BufferView_pimpl.C (update): change since fullRebreak always
12199 (Dispatch): git rid of the last hardcoded "Standard"s.
12201 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * text2.[Ch] (fullRebreak): make it return void now that we always
12206 2002-04-30 Juergen Vigna <jug@sad.it>
12208 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12209 ert compatibility check for "latex" layout.
12211 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12213 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12214 minipages: use col% instead of p%, and also use the current font.
12215 (makeLaTeXFile): Fix use babel condition.
12216 (parseSingleLyXformat2Token): Correct font when reading old floats.
12218 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12220 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12221 inserting list of floats.
12223 2002-04-25 Herbert Voss <voss@lyx.org>
12225 * MenuBackend.C (expand): don't add the graphics extensions to the
12228 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12231 non-existing layout, do not complain if it was the default layout
12232 of the original class (bug #342)
12234 2002-04-24 Juergen Vigna <jug@sad.it>
12236 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12237 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12239 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12241 * buffer.C (getBibkeyList): If using \bibliography, return the
12242 option field with the reference itself. Enables us to provide natbib
12243 support when using \bibliography.
12245 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12247 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12249 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12250 natbib is provided by the LaTeX class.
12252 2002-04-23 Juergen Vigna <jug@sad.it>
12254 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12257 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12259 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12261 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12263 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12264 ensuremath around textordmasculine, textordfeminine and
12267 2002-04-19 Juergen Vigna <jug@sad.it>
12269 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12270 reinitializing the buffer otherwise row-dimensions may be wrong.
12271 (update): reset also the selection cursors if they do exits otherwise
12272 their x/y positions may be wrong.
12274 * text2.C (cursorDown): don't enter the inset if we came from a row
12275 above and are one row over the inset.
12277 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12278 really leaving an inset.
12280 2002-04-18 Juergen Vigna <jug@sad.it>
12282 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12283 of the selected paragraph does not have the selected layout also if
12286 * text2.C (setLayout): fixed bug which did not change last selected
12289 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12290 changed the read and substituted \\end_float with \\end_inset!
12292 * BufferView_pimpl.C (cursorPrevious):
12293 (cursorNext): fixed to make it work with rows heigher than the work
12294 area without moving the cursor only the draw of the row.
12295 (workAreaMotionNotify): fix jumping over high rows.
12297 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12299 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12302 2002-04-16 Juergen Vigna <jug@sad.it>
12304 * text2.C (setCursor): set also the irow().
12305 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12307 (cursorDown): support for locking an inset if the x_fix value goes
12308 inside it. That way I can transverse insets too with cursor up/down.
12310 * lyxrow.h: added irow helper function same as other (i) functions.
12312 * BufferView_pimpl.C (cursorPrevious):
12313 (cursorNext): fixed for insets!
12315 2002-04-15 Juergen Vigna <jug@sad.it>
12317 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12318 position otherwise it is wrong in some cases.
12320 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12321 inside the inset before the call.
12323 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12325 * buffer.[Ch] (getBibkeyList): make it const.
12327 2002-04-12 Juergen Vigna <jug@sad.it>
12329 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12331 * text2.C (getCursorX): new helper function
12332 (setCursor): compute also ix_
12333 (setCursorFromCoordinates): set also ix.
12335 * lyxcursor.h: added ix_ and helper functions.
12337 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12339 * buffer.C (insertStringAsLines): dont break paragraph if the this
12340 paragraph is inside an inset which does not permit it!
12342 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12343 also with no chars on this paragraph.
12344 (paintRowText): only paint stuff if it's inside the workarea!
12346 * paragraph.C (breakParagraph): honor keepempty flag and break the
12347 paragraph always below not above.
12349 * BufferView2.C (unlockInset): update the paragraph layout on inset
12350 unlock as we changed paragraph in such a case.
12352 * lyxfind.C (LyXFind): clear the former selection if not found!
12354 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12355 again called in insertChar().
12357 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12358 an inset which uses the whole row!
12359 (rightMargin): ditto.
12360 (insertChar): force a rebreak if we inserted an inset!
12362 2002-03-28 Herbert Voss <voss@lyx.org>
12364 * lyxlength.[Ch]: add inBP() to get the right PS-point
12365 units (BigPoint). With inPixels we have rounding errors
12367 2002-04-11 Juergen Vigna <jug@sad.it>
12369 * text2.C (setCursorFromCoordinates): set iy to the right value.
12370 (setCursor): add check if row->previous exists!
12372 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12373 an old float_type as this was the case in the old code!
12375 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12377 * BufferView2.C (showLockedInsetCursor): use iy
12378 (fitLockedInsetCursor): ditto
12380 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12381 locked insets as there we have the right value now.
12383 * lyxcursor.C: added iy_ variable and iy functions to set to the
12384 baseline of cursor-y of the locked inset.
12386 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12387 (setCursor): fixed for insets which need a full row.
12389 * text.C (rowLastPrintable): don't ignore the last space when before
12390 an inset which needs a full row.
12391 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12392 as last character of a row when before a inset which needs a full row.
12394 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12396 * version.C.in: update date
12398 * text2.C (fullRebreak): try to always return true and see what
12401 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12403 * MenuBackend.C (expand): use Floating::listName
12405 * FloatList.C (FloatList): add listName argument to the built-in
12408 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12409 text associated with the float.
12411 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12413 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12415 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12417 * ShareContainer.h: add a couple of missing typenames.
12419 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12421 * lyxrc.C (getDescription): use _() correctly rather than N_().
12423 2002-03-28 Herbert Voss <voss@lyx.org>
12425 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12426 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12428 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12430 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12431 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12433 2002-03-29 Juergen Vigna <jug@sad.it>
12435 * lyxfunc.C (dispatch): add a missing fitCursor call.
12437 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12438 it was scrolled by a cursor move, so return the bool status.
12440 * BufferView.C (fitCursor): return the bool flag also to the outside
12441 world as this is needed.
12443 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12445 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12446 call the edit() as it is not needed (and wrong) IMO.
12447 (workAreaButtonPress): set the screen_first variable before evt.
12448 unlock the inset as this may change screen_first and then we have
12449 a wrong y position for the click!
12451 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12453 * MenuBackend.C (expand): another translation that I missed
12455 2002-03-28 Juergen Vigna <jug@sad.it>
12457 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12459 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12461 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12465 * MenuBackend.C (expand): fix export/view/update when there is no
12468 2002-03-27 Herbert Voss <voss@lyx.org>
12470 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12473 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12475 * bufferview_funcs.C (currentState): only show paragraph number
12476 for is DEVEL_VERSION is set.
12478 * lyxfunc.C (dispatch): put warning in INFO channel
12480 * MenuBackend.C (expand): translate the name of floats
12482 * FloatList.C (FloatList): mark the float names for translation
12484 * converter.C (convert): use LibScriptSearch
12486 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12488 * MenuBackend.C (defaults): fix default menu (we might as well get
12491 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12496 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * lyxvc.C: reorder includes.
12500 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12502 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12505 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12507 * CutAndPaste.C: change layouts earlier on paste
12508 to avoid crashing when calling getFont()
12510 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12512 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12515 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12517 * WorkArea.C: remove 'Pending' debug message.
12519 * most files: ws cleanup
12521 * buffer.[Ch]: ws changes
12523 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12525 2002-03-21 Juergen Vigna <jug@sad.it>
12527 * tabular.C (SetMultiColumn): collapse also the contents of the
12528 cells and set the last border right. Added a Buffer const * param.
12530 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12532 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12535 2002-03-19 Juergen Vigna <jug@sad.it>
12537 * text2.C (clearSelection): reset also xsel_cache.
12539 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12540 where it needs to be called (John tells us to do so too :)
12541 (selectionLost): reset sel_cache.
12543 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12545 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12547 * text2.C (setCursorIntern): put debuging code in INSETS channel
12549 2002-03-19 André Pönitz <poenitz@gmx.net>
12551 * lyxfunc.C: tiny whitespace change
12553 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12555 * ToolbarDefaults.C (init):
12556 * LyXAction.C (init):
12558 * BufferView_pimpl.C (Dispatch):
12559 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12561 2002-03-19 Allan Rae <rae@lyx.org>
12563 * exporter.C (Export): removeAutoInsets before doing anything else.
12564 While I've just introduced a dependency on BufferView this really is
12565 the best place to clean the buffer otherwise you need to cleanup in
12566 a dozen places before calling export or cleanup in a dozen functions
12569 * converter.C (runLaTeX):
12570 (scanLog): Better handling of removeAutoInsets and screen updates.
12572 * lyxfunc.C (dispatch): small whitespace changes
12574 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * WorkArea.C (C_WorkAreaEvent): return a value.
12577 (event_cb): return 1 if we handled the event, 0 otherwise.
12579 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12581 2002-03-18 Juergen Vigna <jug@sad.it>
12583 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12584 (GetAdditionalWidth): ditto.
12585 (RightLine): ditto.
12588 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12589 inset if we're there actually (probably not used right now but this
12590 is the direction to go for unifying code).
12591 (paste): disable code to clear the selection.
12593 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12594 inside an InsetText and move the check further up as it is in the
12597 * text2.C (pasteSelection): set a selection over the pasted text.
12599 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12601 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12602 and libgraphics to build on Cygwin.
12604 2002-03-15 Juergen Vigna <jug@sad.it>
12606 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12607 inserting an Inset into the paragraph. I know this is not the best
12608 fix but we already use current_view in CutAndPaste so we will remove
12609 all of it's using at the same time.
12611 * buffer.C (sgmlError): deactivated function till it is rewritten in
12612 the right mode, now it can create problems.
12614 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12615 before accessing it.
12617 2002-03-14 Juergen Vigna <jug@sad.it>
12619 * undo_funcs.C (textHandleUndo): do the right thing when updating
12620 the inset after the undo/redo.
12622 * text2.C (setCursor): just some testcode for #44 not ready yet.
12624 * undo_funcs.C (textHandleUndo): set the next() and previous()
12625 pointers of the paragraph to 0 before deleting otherwise we have
12626 problems with the Paragraph::[destructor].
12628 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12629 on a paragraph insertion.
12631 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * buffer.C (asciiParagraph): use += operator for char append to
12636 * paragraph.C (getFontSettings): compare >= not just >
12637 (highestFontInRange): ditto
12640 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * paragraph.C: change several algorithm to be more appripriate for
12643 the problem domain. This is lookip in FontList and in the InsetList.
12645 2002-03-13 André Pönitz <poenitz@gmx.net>
12648 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12650 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12655 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12657 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12659 * Painter.C (display): anon helper function, adjust code for this
12661 (pixmap): remove function.
12663 * Painter.h: remove private display variable.
12665 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12667 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12669 * WorkArea.[Ch]: remove figinset_canvas cruft.
12671 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * lyxtextclass.C (operator): add one item cache optimization.
12675 * bufferlist.h: doxy changes
12677 * bufferlist.C: ws changes
12679 * DepTable.[Ch] (ext_exist): place const in the right spot.
12681 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12683 (workAreaExpose): call resizeInsets when the with BufferView changes.
12684 (Dispatch): adjust for protectedBlank removal
12685 (specialChar): call updateInset if the insert went ok.
12687 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12688 specialChar instead.
12690 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12692 * BufferView.h: doxy change
12694 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12696 * lyxtextclass.C (operator[]): remove non-const version
12697 (defaultLayout): remove non-const version
12699 2002-03-12 Juergen Vigna <jug@sad.it>
12701 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12702 did resize the LyXText too.
12704 * buffer.C (readLyXformat2): set layout information on newly allocated
12707 * tabular.C (OldFormatRead): set layout information on the paragraph.
12709 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12711 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12713 2002-03-11 Juergen Vigna <jug@sad.it>
12715 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12717 (resizeCurrentBuffer): force also the insets to resize themselfes.
12718 (moveCursorUpdate): fixed up for InsetText.
12720 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12723 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12724 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12725 value of Dialogs::tooltipsEnabled().
12726 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12728 2002-03-08 Juergen Vigna <jug@sad.it>
12730 * BufferView_pimpl.C (updateInset): update inset inside inset also
12731 if it isn't inside theLockingInset().
12733 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12735 * buffer.C (asciiParagraph): redo some of the word and line length
12737 (getLists): look for Caption instead of caption.
12739 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12741 * buffer.C (Buffer): initialize niceFile to true
12743 (makeLinuxDocFile):
12744 (makeDocBookFile): make sure niceFile is true on exit
12746 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12748 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12750 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12752 * LyXSendto.C: remove.
12753 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12754 * lyx_gui.C: remove now-redundant comment.
12755 * ColorHandler.h: remove forward declaration of class WorkArea.
12756 * lyxfunc.C: remove #include "WorkArea.h".
12758 2002-03-07 Juergen Vigna <jug@sad.it>
12760 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12761 got moved away with the DEPM and also set the inset_owner always
12762 right which before could have been omitted.
12764 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12767 wanted layout is not found.
12769 2002-03-07 Juergen Vigna <jug@sad.it>
12771 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12773 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12775 * paragraph.C (breakParagraph): use default layout not layout of
12777 (Paragraph): clear ParagraphParameters.
12779 2002-03-06 Juergen Vigna <jug@sad.it>
12781 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12782 otherwise it would not be a valid lenght. Fixed a special case in
12783 the minipage compatibility read where we end the document with a
12786 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12787 was set as it could be 0 for InsetTexts first entry.
12789 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12791 * paragraph.C (writeFile): if layout is empty write out
12792 defaultLayoutName().
12794 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12795 file without named layout we set layout to defaultLayoutName().
12797 2002-03-06 Juergen Vigna <jug@sad.it>
12799 * CutAndPaste.C (copySelection): set layout for new paragraph.
12801 * text.C (prepareToPrint): leave ERT inset left aligned
12802 (leftMargin): don't indent paragraphs inside ERT insets
12804 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * paragraph.C (breakParagraph): dont call clear do the work manually
12808 * paragraph.[Ch] (clear): remove function
12810 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * paragraph.C (Paragraph): dont call clear, the work has already
12815 * lyxtextclass.C (operator): assert if n is empty
12817 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12818 work manually instead.
12820 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12822 * BufferView_pimpl.C: protect selectionLost against text == 0
12824 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * text.C (breakParagraph): fix a setting layout to '0' problem.
12828 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12830 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12831 final location of file, for the included files, and graphics.
12833 2002-03-05 Juergen Vigna <jug@sad.it>
12835 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12837 2002-03-04 Juergen Vigna <jug@sad.it>
12839 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12841 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12842 last column of multicolumn cells.
12843 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12845 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12847 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12848 file if it doesn't go to a temporary file.
12850 * buffer.C (sgmlOpenTag):
12851 (sgmlCloseTag): remove extra newline insertion.
12853 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12855 * text.C (getRowNearY): comment out debug msg
12857 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * text2.C: first -> first_y
12861 * text.C (getRowNearY): add some attemts at a possible
12862 optimization, not working.
12864 * tabular.[Ch]: add BufferParams to several function so that newly
12865 created paragraph can be initialized to he default layotu for the
12868 * tabular-old.C (ReadOld): add buf->params to call of Init
12870 * screen.C: rename text->first to text->first_y
12872 * paragraph.C (breakParagraph): always set layout in the broken
12875 * lyxtextclass.C (Read): remove lowercase
12878 (delete_layout): ditto
12880 * lyxtext.h: rename first -> first_y
12882 * lyxlayout.C (Read): remove lowercase
12885 (obsoleted_by): ditto
12887 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12889 * buffer.C (insertErtContents): add params are to InsetERT
12890 (parseSingleLyXformat2Token): add code to check if a paragraphs
12891 layout really exist.
12892 (parseSingleLyXformat2Token): add params to several inset
12894 (asciiParagraph): remove lowercase, do the layout comparisons with
12897 * BufferView_pimpl.C (cursorNext): first -> first_y
12898 (resizeCurrentBuffer): first -> first_y
12899 (updateScrollbar): first -> first_y
12900 (scrollCB): first -> first_y
12901 (workAreaMotionNotify): first -> first_y
12902 (workAreaButtonPress): first -> first_y
12903 (checkInsetHit): first -> first_y
12904 (cursorPrevious): first -> first_y
12905 (cursorNext): first -> first_y
12906 (Dispatch): add buffer_->params to severl inset contructors
12908 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * lyxlayout.C (Read): remove some debug info that I forgot.
12912 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12913 clean up the code slightly.
12914 (makeLinuxDocFile): ditto
12915 (makeDocBookFile): ditto
12917 * text2.C: layout as string
12919 * text.C: layout as string
12921 * paragraph_pimpl.C: layout as string
12923 * paragraph.[Ch]: layout as string
12925 * lyxtextclasslist.[Ch]: layout as string
12927 * lyxtextclass.[Ch]: layout as string
12929 * lyxtext.h: layout as string
12931 * lyxlayout.[Ch]: layout as string
12933 * lyx_cb.C: layout as string
12935 * bufferview_funcs.C: layout as string
12937 * bufferparams.C: layout as string
12939 * buffer.C: layout as string
12941 * LyXView.[Ch]: layout as string
12943 * LaTeXFeatures.[Ch]: layout as string
12945 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12947 * BufferView_pimpl.C: change current_layout to string, remove
12952 (workAreaButtonRelease): layout as string
12954 * BufferView2.C (unlockInset): adjust
12956 * vspace.C (asLatexCommand): use an explict temp variable.
12958 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12960 * Makefile.am: use FRONTEND_*
12962 2002-03-01 Juergen Vigna <jug@sad.it>
12964 * tabular.C (SetWidthOfMulticolCell): changed to something better
12965 I hope but still work in progress.
12966 (recalculateMulticolumnsOfColumn): renamed function from
12967 recalculateMulticolCells as it is more appropriate now.
12968 (SetWidthOfCell): calculate multicols better.
12970 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12972 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12974 * lyxfunc.C (processKeySym): print sequence also if it is
12975 `deleted' (complete)
12977 * kbsequence.C (print): print sequence even if it is deleted
12978 (complete would be a better word, actually).
12980 * lyxfunc.C (dispatch): print complete options after a prefix key
12982 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12984 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12986 * text2.C (setCharFont): eliminate setCharFont code duplication.
12988 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12990 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12991 LFUN_TABULAR_FEATURE (bug #177)
12993 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12995 * Makefile.am: remove figure.h
12997 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12999 * Bufferview_pimpl.C:
13011 * text2.C: remove #include "lyx_gui_misc.h".
13013 * LaTeX.C: added #include <cstdio>
13015 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13017 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13018 that the paragraph following this one can have.
13020 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13022 * vspace.C (asLatexCommand): fix bogus gcc warning
13024 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13026 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13028 * text2.C (setLayout): get rid of redundant code
13030 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13032 * text2.C (incDepth): make sure depth cannot be increased beyond
13035 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13037 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13038 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13040 * PainterBase.h (image):
13041 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13042 a LyXImage const *.
13044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13048 * BufferView_pimpl.C:
13049 * BufferView_pimpl.h:
13069 * sp_spell.C: remove fig inset, and the crap house of
13070 cards that follows it
13072 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13077 * os2_errortable.h:
13078 * nt_defines.h: move .h into support/
13080 * vms_defines.h: remove
13082 * WorkArea.C: add space in debug output
13086 * buffer.C: add WITH_WARNINGS
13090 * bufferlist.C: s/retrive/retrieve/, add docs
13099 * chset.C: add docs
13101 * lyxgui.C: add ID to X error handler
13103 * lyxtestclass.c: fix typo
13105 2002-02-26 Juergen Vigna <jug@sad.it>
13107 * tabular_funcs.C (write_attribute): changed so that some default
13108 attributes are not written at all.
13109 (getTokenValue): set default values before trying to read the
13110 value so we have the return value always set as default if we don't
13111 find the token we search for.
13113 * tabular.C (Write): write bools as bools not as strings!
13115 2002-02-22 Juergen Vigna <jug@sad.it>
13117 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13118 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13120 * text.C (leftMargin): don't add an indent for paragraphs inside
13121 tabular cells (fix #208).
13123 2002-02-21 José Matos <jamatos@fep.up.pt>
13125 * tabular.C (docBook): fixed support for long tables.
13127 2002-02-20 Juergen Vigna <jug@sad.it>
13129 * text2.C (getFont): get the drawing font of the Inset if this
13130 paragraph is inside an inset (only important for InsetERT for now).
13132 * buffer.C (insertErtContents): use new lanugage params in ERT
13135 * CutAndPaste.C: commenting out seemingly uneeded code.
13137 2002-02-19 Allan Rae <rae@lyx.org>
13139 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13140 Iterators might be simple to use but they also get invalidated.
13141 (removeAutoInsets): renamed saved cursor tracking variables and added
13142 some comments to clarify what everything does.
13144 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13151 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13152 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13155 * vc-backend.h: remove #include "support/syscall.h"
13159 * converter.C: rearrange #includes in Lars' approved fashion.
13161 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13162 forward declare class Timeout in the header file.
13164 * XFormsView.C: changes due to the above.
13166 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13167 similar to LyXView.
13169 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13170 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13172 2002-02-18 José Matos <jamatos@fep.up.pt>
13174 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13177 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13179 * a lot of small ws changes
13180 * add a lot of using std::XXX
13181 * use std construcs some places where approp.
13182 * use some exisint stuff from lyxfunctional where approp.
13183 * Make file changes to use partial linking (lets test this now...)
13185 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13189 remove #include "support/syscontr.h" as it's redundant. Always has been.
13197 change Systemcalls::System to Systemcalls::Wait and
13198 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13199 No change of functionality, just reflects the stripped down Systemcalls
13202 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13204 * debug.[Ch]: add a GRAPHICS type to the enum.
13206 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13208 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13210 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13213 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13215 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13216 match the changes below.
13218 * text2.C (toggleInset): if there is not editable inset at cursor
13219 position, try to see if cursor is _inside_ a collapsable inset
13222 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13224 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13225 document menu has a nice checkbox
13227 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13229 * lyxlength.C (asLatexString): change PW to output as percent of
13232 * lengthcommon.C: change '%' to 't%'
13234 * lyxfunc.C (dispatch): a few comments from Martin
13236 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13240 * BufferView_pimpl.h:
13241 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13244 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13246 * vspace.C (inPixels): fix compiler warning
13248 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13250 * lyxfunc.C (getStatus): fix status message for disabled commands.
13252 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13254 * BufferView_pimpl.C: fix crash on close buffer
13255 during selection (#227)
13257 2002-01-27 Herbert Voss <voss@lyx.org>
13259 * buffer.C: link old Figure to new graphic inset
13261 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13263 * FontLoader.C (getFontinfo): Change the latex font names in order
13264 to match the names of type1inst.
13266 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13270 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13271 (extchanged): ditto
13273 (remove_files_with_extension): ditto
13274 (remove_file): ditto
13277 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13278 document is smaller than the work area height. Do not initialize
13279 static variables to 0.
13281 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13283 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13285 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13286 LFUN_LAYOUT_PARAGRAPHS.
13288 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13289 tabular. It is possible to provide a possible cell, which will
13290 typically be the actcell from the corresponding insettabular
13292 * lyxfunc.C (getStatus): small cleanup; disable
13293 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13296 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13298 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13300 * paragraph.C (startTeXParParams):
13301 (endTeXParParams): new methods. The LaTeX code to
13302 start/end paragraph formatting
13303 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13304 empty (fixes bug #200)
13306 * vspace.C (inPixels): adapt to the change below
13307 (inPixels): [later] more cleanups (remove unused variables)
13309 * lyxlength.C (inPixels): change to use a width and a height as
13312 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13314 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13315 Replaced with \paperwidth
13317 * DepTable.C (insert): add std:: qualifier
13319 2002-01-18 Allan Rae <rae@lyx.org>
13321 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13324 * text.C (drawInset): Turned out I didn't know enough about how
13325 rebreaking worked. This fixes most of the redraw problems. I see
13326 an occasional cursor trail when a line is broken now and the cursor
13327 placement can seem out by a few pixels also after a rebreak.
13329 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13331 * buffer.C (parseSingleLyXformat2Token): update because minipage
13332 width is now a LyXLength
13334 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13336 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13339 2002-01-17 Juergen Vigna <jug@sad.it>
13341 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13343 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13344 is set correctly and the inset is updated correctly.
13346 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13348 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13349 the beginning of the loop.
13351 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13353 * lyxrc.C: improve help for use_scalable_fonts
13355 2002-01-17 Allan Rae <rae@lyx.org>
13357 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13359 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13361 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13362 make sure to set their inset_owner to the right value (bug #171)
13364 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13367 * DepTable.C: Implement mtime checking to reduce time spent doing
13370 2002-01-16 Juergen Vigna <jug@sad.it>
13372 * tabular.C (GetAdditionalHeight): one of error fixed.
13374 * lyxrc.C (output): small fix in writing use_pspell.
13376 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13378 * sp_base.h: #include LString.h
13380 2002-01-16 Allan Rae <rae@lyx.org>
13382 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13383 Can someone check this please?
13385 * text.C (drawInset): It was possible that p.row would be removed by
13386 breakAgainOneRow upsetting a few other settings. There may be another
13387 small tweak possible by setting need_break_row = 0 when p.row has been
13388 removed but I don't know enough about the logic here.
13390 2002-01-15 Allan Rae <rae@lyx.org>
13392 * text.C (insertChar): removed conditional truism.
13394 * BufferView2.C (removeAutoInsets): More tweaks.
13395 cur_par_prev could be a stray pointer. Check for trailing empty line
13396 in case last line was cur_par and only had an error inset on it.
13398 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13400 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13403 * vc-backend.C (most methods):
13404 * exporter.C (Export):
13405 * converter.C (convert):
13407 * LyXSendto.C (SendtoApplyCB):
13408 * lyxfunc.C (dispatch):
13412 * lyx_cb.C (AutoSave):
13414 * BufferView_pimpl.C (MenuInsertLyXFile):
13415 * buffer.C (runChktex): use Buffer::filePath().
13417 * buffer.h: rename filename to filename_; rename filepath to
13418 filepath_ and make it private
13419 (filePath): new method
13421 * buffer.C (writeFile): use fileName()
13424 * lyx_main.C (init): fix starting of LyX when the binary is a
13425 link from so,ewhere else.
13427 * minibuffer.C: include <cctype> for isprint
13429 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13431 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13432 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13433 name clash with InsetCollapsable's width function.
13435 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * lastfiles.C: include <iterator>
13439 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13441 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13444 * buffer.C (makeLaTeXFile): ditto.
13445 Also make loop operation more transparent.
13447 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13449 * ToolbarDefaults.C: remove trailing comma closing namespace.
13451 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13453 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13456 * trans.C (Load): comment out unused variable, allowed.
13458 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13460 * minibuffer.[Ch] (append_char): new method to recieve input from the
13461 drop-down completion browser. If a key was pressed, then recieve this
13462 char and append it to the existing string.
13463 (peek_event): modify the positioning data passed to the completion
13464 browser so that it can be placed above the minibuffer rather than below.
13465 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * LyXAction.C (init): alloe error-next for readonly documents.
13469 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13472 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13474 * bufferlist.C (readFile): create the buffer _after_ checking that
13477 * lyxfunc.C (verboseDispatch): fix handling of arguments
13479 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13481 * lyxrc.C: use string::erase() instead of initializing to "".
13484 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13486 * BufferView_pimpl.h:
13487 * BufferView_pimpl.C:
13490 * text2.C: tell X when we have made a selection for copying
13492 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13494 * BufferView_pimpl.C (MenuInsertLyXFile):
13495 * lyxfunc.C (menuNew):
13497 (doImport): add shortcuts to directory buttons
13499 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13502 * lyxfunc.C (setStatusMessage):
13503 (getStatusMessage): new methods
13504 (getStatus):use setStatusMessage instead of setErrorMessage
13505 (dispatch): when function is disabled, set error message here
13506 [instead of in getStatus previously]
13508 * BufferView_pimpl.C (workAreaButtonRelease): update
13509 toolbar/menubar here too.
13511 2002-01-13 Allan Rae <rae@lyx.org>
13513 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13514 Now seems indestructible. Remaining task is to audit all other
13515 code affected by deleteEmptyParagraphMechanism. One small quirk
13516 left is that an empty document with an error in the preamble can
13517 be made to report an error but no error box appears. I don't know
13519 (removeAutoInsets): Improved comments.
13521 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13524 * Thesaurus.C: update for Aiksaurus 0.14
13526 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * text2.C (firstParagraph): removed member function, all uses
13529 replaces with ownerParagraph
13530 (redoParagraphs): here
13531 (updateInset): here
13532 (toggleAppendix): here
13533 * BufferView2.C (insertErrors): here
13534 (setCursorFromRow): here
13536 2002-01-13 Allan Rae <rae@lyx.org>
13538 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13539 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13540 There is still a way to segfault this although you may have to do this
13541 multiple times: Have an InsetERT with an unknown command in it.
13542 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13543 <down-arrow>, <Enter> again, View->DVI, BANG!
13545 * text2.C (setCursor):
13546 (deleteEmptyParagraphMechanism):
13547 * lyxtext.h (setCursor):
13548 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13549 Making use of the return value may help fix other bugs.
13551 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13553 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13555 * LyXView.C (updateMenubar): call MenuBar::update here
13556 (updateToolbar): but not here
13557 (showState): do not update toolbar/menubar
13559 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13560 should need to care about that.
13562 * lyxfunc.C (verboseDispatch): simplify a bit
13563 (getStatus): have a version which takes a pseudoaction, and
13564 another which requires a (kb_action,string).
13566 * LyXAction.C (retrieveActionArg): make it work also when action
13567 is not a pseudo-action.
13568 (getActionName): simplify a bit
13571 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13573 * lyxfunc.C (verboseDispatch): new families of methods with
13574 several ways to specify a command and a bool to indicate whether
13575 the command name and shortcut should be displayed in minibuffer
13576 (eventually, we could extend that to a finer bitmask like
13577 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13578 (dispatch): the pristine dispatch command which just, well,
13579 dispatchs! Note it still sets its result to minibuffer; I'm not
13582 * lyxfunc.h: remove setHintMessage
13584 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13586 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13588 * BufferView_pimpl.C (specialChar): delete new inset if we have
13589 not been able to insert it.
13591 * kbmap.C: revert to using int instead of kb_action, since all we
13592 are dealing with is pseudo-actions.
13594 * LyXAction.C (searchActionArg): change to return int instead of
13595 kb_action, since the result is a pseudoaction.
13597 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13599 * buffer.C (insertErtContents): Fix (partially) the font bug.
13601 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13603 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13604 as the other one is broken on my machine!
13606 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13609 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13611 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13613 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13614 reflect their actual use. Provide compatibility code for older lyxrc
13617 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13619 change names of popup font variables in line with the changes to lyxrc.C
13621 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13623 * buffer.C (asciiParagraph): avoid outputing a word twice after
13626 * lyxrc.C (getDescription): document that document_path and
13627 template_path can be empty.
13629 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13631 * LaTeXFeatures.C (getMacros):
13632 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13634 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13636 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13638 (getPackages): rename feature "floats" to "float". Use an array to
13639 iterate over 'simple' features (i.e. just a \usepackage). Add
13640 handling of "amsmath" (renamed from "amsstyle").
13642 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13644 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13647 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13649 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13650 FuncStaus::FuncStatus & FuncStaus::some_method().
13652 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13654 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13655 of the func_satus stuff. Edited and massaged in various ways by
13658 * lyxfunc.C (getStatus): use FuncStatus
13660 2002-01-08 Juergen Vigna <jug@sad.it>
13662 * text.C (nextBreakPoint): use function Inset::isChar().
13664 * paragraph.C (TeXOnePar): use function
13665 Inset::forceDefaultParagraphs.
13667 * buffer.C (latexParagraphs): use function
13668 Inset::forceDefaultParagraphs.
13670 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13672 * lyx_gui.C (init): set the style of the menu popups to
13673 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13675 2002-01-07 Juergen Vigna <jug@sad.it>
13677 * text.C (setHeightOfRow): small fix
13678 (prepareToPrint): don't look at alignment if we don't have the place
13681 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13683 * box.C: New file. Move the Box methods and functions out of box.h,
13684 following Lars' suggestion.
13686 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13688 * box.h: #include "support/LOstream.h", needed for inlined function.
13691 * lyxtextclasslist.C: added some using std declarations.
13693 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13695 * box.h: make signed dimensions to allow insets wider than
13696 the screen (bug #162)
13698 * BufferView_pimpl.C: add some insetHit debug
13700 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13702 * vc-backend.C: add FIXME
13704 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13706 * lyxfunc.C (getStatus): enable code for showing math font status
13709 2002-01-07 Juergen Vigna <jug@sad.it>
13711 * text.C (nextBreakPoint): removed debug output not needed anymore.
13713 2002-01-06 Juergen Vigna <jug@sad.it>
13715 * text.C (nextBreakPoint): fixed up this function we had this bug
13716 since ever but now hopefully we break row better.
13717 (insertChar): we have to check if an inset is the next char as it
13718 could now happen that a large inset is causing a break.
13720 2002-01-05 Juergen Vigna <jug@sad.it>
13722 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13723 if it doesn't like to be drawed.
13725 2002-01-04 Juergen Vigna <jug@sad.it>
13727 * BufferView2.C (lockInset): forgot to set a cursor.
13729 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13731 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13733 * FormMathsPanel.C:
13736 * form_maths_panel.C:
13737 * form_maths_panel.h:
13738 * form_maths_panel.fd: implemented sub- and super- buttons in math
13741 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13742 (or ^ space) to be used as in TeX (req'd by André).
13744 * lyxfunc.C: Allow ^ and _ again to be used both as
13745 super/subscript (mathed) and as themselves (in text).
13747 2002-01-03 Allan Rae <rae@lyx.org>
13749 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13750 "LyX" or the filename of the current buffer if it has one. This is a
13751 modified form of John Levon's patch.
13753 * XFormsView.C (setWindowTitle): also set icon title.
13755 * LyXView.h (setWindowTitle): signature changed.
13756 * XFormsView.h (setWindowTitle): ditto.
13758 2002-01-02 Juergen Vigna <jug@sad.it>
13760 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13762 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * screen.C (topCursorVisible): introduce a temp var for
13765 text->cursor.row(), handle the case where this row is null. (kindo
13768 * text2.C (setCursor): add a couple of asserts.
13770 * paragraph.h (inset_iterator): add -> operator
13772 * paragraph.[Ch] (autoDeleteInsets): remove member function
13774 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13775 cursor pos correctly and handle inset deletion by itself.
13776 (insertErrors): move iterator declaration out of for expression
13778 * lyxtextclass.C: add <algorithm>
13780 * Makefile.am: added the new files to sources, removed layout.C
13782 * layout.C: removed file
13784 * layout.h: remove LYX_DUMMY_LAYOUT
13786 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13790 * lyxtextclass.[Ch]:
13791 * lyxtextclasslist.[Ch]: new files
13793 * include order changes to a lot of files, also changes because of
13796 2001-12-27 Juergen Vigna <jug@sad.it>
13798 * buffer.C (asciiParagraph): more fixes.
13800 * tabular.C (ascii): make ascii export support export of only the
13801 data separated by a column-delimiter.
13802 (ascii): better support for ascii export.
13804 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13806 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13808 * tabular_funcs.C: use a "using std::getline" instead of the
13809 previous fix from Angus (necessary for cxx + lyxstring)
13811 2001-12-24 Juergen Vigna <jug@sad.it>
13813 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13815 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13816 problems. First check a minipage also if we have some ert-contents
13817 (not only on par->size(), second set the right depth of the paragraph
13818 on the relink to the root-paragraph-list!
13820 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13821 which then did not anymore update the main paragraphs on undo/redo!
13823 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13825 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13826 code. Support all font-changing funcs (even those which are not in
13827 menu currently). Support for reporting font settings in
13828 mathed (disabled until Andre provides a function on mathed's side).
13830 * func_status.h (toggle): small helper function to set toggle
13833 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13835 * tabular_funcs.C: getline -> std::getline
13837 2001-12-21 Juergen Vigna <jug@sad.it>
13839 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13840 accessed and could be 0 (I couldn't generate this but it seems
13843 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13845 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13846 * tabular_funcs.h: here and include iosfwd
13848 2001-12-20 Juergen Vigna <jug@sad.it>
13850 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13851 inside inset but undo_par was.
13853 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13855 * Thesaurus.C: always include <config.h> in sources.
13859 * box.h: do not include <config.h> in header files
13861 * text.C (paintLastRow): remove unused variable
13863 * text.C (transformChar):
13865 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13867 * Painter.C (text):
13868 * font.C (width): rewrite to use uppercase() instead of
13871 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13873 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13875 * lyxfind.C: clean up of find failure position change
13877 2001-12-20 Juergen Vigna <jug@sad.it>
13879 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13881 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13882 (TeXRow): added to LaTeX a single tabular row.
13883 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13884 (Latex): simplified and finally good LT-h/f support.
13885 (various_functions): just small adaptions for LT-h/f support.
13887 * tabular_funcs.[hC]: added and moved here all not classfunctions
13890 2001-12-19 Juergen Vigna <jug@sad.it>
13892 * tabular.[Ch]: better support for longtabular options (not finished
13895 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13897 * text.C (paintLastRow): use the label font instead of the font of
13898 the last character to compute the size of *_BOX. This makes more
13899 sense and avoids a crash with empty paragraphs.
13900 Use Painter::rectangle to draw EMPTY_BOX.
13902 2001-12-19 Juergen Vigna <jug@sad.it>
13904 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13905 the paragraphs if the replaced paragraph is not the first one!
13906 Tried to delete not used paragraphs but does not work yet so for
13907 now it's inside #ifdef's and by default off!
13909 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13911 * MenuBackend.C: include "lyx_main.h" instead of declaring
13912 lastfiles (actually was declared as LastFiles* instead of a
13915 2001-12-17 Juergen Vigna <jug@sad.it>
13917 * tabular.C (AppendColumn): applied John's fix
13919 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13923 * BufferView_pimpl.h:
13924 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13927 * box.h: new start of class for above
13929 * lyxfunc.C: ignore space-only minibuffer dispatches.
13930 Show the command name when it doesn't exist
13932 * minibuffer.C: don't add empty lines to the history
13934 * minibuffer.C: add a space on dropdown completion
13936 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13938 * text.C: fix line above/below drawing in insets
13940 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13942 * lyxlength.C (LyXLength): Initialize private variables.
13944 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13946 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13947 when inserting error insets.
13949 2001-12-13 Juergen Vigna <jug@sad.it>
13951 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13952 actually sometimes the before-paragraph.
13953 (setUndo): don't clear the redostack if we're not actually undoing!
13955 2001-12-06 Juergen Vigna <jug@sad.it>
13957 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13958 and fixed redoing of main paragraph, so we can use it now ;)
13960 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13962 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13964 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13967 2001-12-13 André Pönitz <poenitz@gmx.net>
13970 * undo_func.C: minor cleanup
13972 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13974 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13975 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13976 font in urw-fonts package which is marked as -urw-fontspecific and
13977 does not work (incidentally, changing the encoding in the
13978 fonts.dir of this package to -adobe-fontspecific fixes the
13981 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13982 is a crash when undoing first paragraph (Juergen, please take a
13983 look). THis does not mean the undo fix is wrong, just that it
13986 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13987 the (Paragraph*) version when needed instead of duplicating the
13990 * text.C (workWidth): use Inset::parOwner to find out where the
13991 inset has been inserted. This is a huge performance gain for large
13992 documents with lots of insets. If Inset::parOwner is not set, fall
13993 back on the brute force method
13995 * paragraph_pimpl.C (insertInset):
13996 * paragraph.C (Paragraph):
13997 (cutIntoMinibuffer): set parOwner of insets when
13998 inserting/removing them
14000 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14002 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14008 * mathed/formulabase.C:
14009 * mathed/math_cursor.[Ch]:
14010 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14013 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14015 * lyxlength.[Ch] (operator!=): new function
14017 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14019 * text.C (workWidth): use Inset::parOwner to find out where the
14020 inset has been inserted. This is a huge performance gain for large
14021 documents with lots of insets. If Inset::parOwner is not set, fall
14022 back on the brute force method
14024 * paragraph_pimpl.C (insertInset):
14025 * paragraph.C (Paragraph):
14026 (cutIntoMinibuffer): set parOwner of insets when
14027 inserting/removing them
14029 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14031 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14033 * tabular-old.C (getTokenValue):
14034 * tabular.C (getTokenValue):
14035 (write_attribute): new versions for LyXLength
14036 (everywhere): adjust the use of widths
14038 * tabular.h: change the type of widths from string to LyXLength
14040 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14042 * paragraph.C: fixed missing line number count when exporting
14043 Environments to LaTeX file
14045 * buffer.C: added informational message for checking line numbers.
14047 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14049 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14050 paragraph, do the 'double space' part, but not the 'empty
14053 * text.C (workWidth): small optimization
14054 (getLengthMarkerHeight): use minimal size for negative lengths.
14056 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14058 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14060 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14062 2001-12-11 André Pönitz <poenitz@gmx.net>
14065 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14067 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14069 * text2.C: keep selection on a setFont()
14071 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14073 * lyx_cb.C: another bv->text misuse, from insert label
14075 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14078 * kbsequence.C: re-instate nmodifier mask
14080 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14082 * lyx_main.h: make lyxGUI private.
14084 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14086 * lyxfind.C: place the cursor correctly on failed search
14088 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14090 * text.C (getLengthMarkerHeight): for small heights, the arrows
14091 are not always on top/bottom of the text
14092 (drawLengthMarker): smaller arrows; take the left margin in
14093 account; draw also vfills.
14095 (paintLastRow): remove special code for vfill and standard spaces,
14096 since everything is handled in drawLengthMarker now.
14098 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14100 * buffer.C (insertErtContents): try to handle font and language
14101 interaction a bit better.g
14103 * ColorHandler.C (updateColor): change the hash to cover the whole
14104 LColor enum, ws cleanup
14105 (getGCLinepars): ditto
14106 (getGCLinepars): only lookup in the linecache once.
14108 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14110 * iterators.C (operator++): Make the iterator more robust
14112 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14116 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14119 * text.C: better added space drawing
14121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14124 * BufferView2.C: fix layout combo update on inset unlock
14126 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14128 * Makefile.am: don't compile unused files
14130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14134 * LyXAction.C: remove old LFUN_LAYOUTNO
14136 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14138 * paragraph_pimpl.h:
14139 * paragraph_pimpl.C: isTextAt() doesn't need font param
14141 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14144 * lyxlex.C: little cleanup
14146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14148 * BufferView_pimpl.C: fix insertAscii for insets
14150 2001-12-05 Juergen Vigna <jug@sad.it>
14152 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14153 set the right font on the "multi" paragraph paste!
14155 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14161 * lyxlength.C: remove out-commented code.
14163 * BufferView_pimpl:
14177 * vc-backend.C: change "while(" to "while ("
14179 * lyxlength.[Ch]: add zero function to check if length is zero or
14181 * lyxgluelength.C: use it
14183 2001-12-05 Allan Rae <rae@lyx.org>
14185 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14186 Works for 2.95.3, from what I understand of Garst's reports this should
14187 work for other g++ versions. We're screwed if the abs(int) definition
14188 changed between bugfix releases of gcc.
14190 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14192 * text.C: fix chapter label offset !
14194 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14197 * text.C: fix hfill at end of line, clean up
14199 2001-12-04 Juergen Vigna <jug@sad.it>
14201 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14202 that we force an update of the inset and it's owners if neccessary.
14204 2001-12-03 Juergen Vigna <jug@sad.it>
14206 * text.C (rowLast): simplified code
14208 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14210 * lyxfunc.C: fix show options on timeout
14212 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14214 * screen.C (topCursorVisible): scroll half a page when the cursor
14215 reached top of bottom of screen
14217 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14219 * minibuffer.C: deactivate on loss of focus
14221 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14223 * vspace.[Ch] (operator!=): add operator.
14225 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14227 * BufferView_pimpl.C: refuse to open an inset when
14228 there's a selection.
14230 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14232 * BufferView_pimpl.C: allow to click on RHS of full row insets
14234 2001-11-30 Juergen Vigna <jug@sad.it>
14236 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14237 insets for undo reasons.
14239 2001-11-28 André Pönitz <poenitz@gmx.net>
14241 * vspace.[Ch]: cosmetical changes
14243 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14253 * kbsequence.C: part re-write of old kb code
14256 * WorkArea.C: remove Lgb_bug_find_hack
14258 2001-11-30 José Matos <jamatos@fep.up.pt>
14260 * buffer.C (makeDocBookFile): add a comment to point a hack.
14261 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14262 Fixed a double write of labels.
14264 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14267 * LaTeX.h Fixed bug in LaTeX class where it would not
14268 re-run latex if no depfiles were changed, but the .dvi was removed.
14270 2001-11-28 André Pönitz <poenitz@gmx.net>
14272 * all the files from the change on 2001/11/26:
14273 use lyx::layout_type instead of LyXTextClass::size_type
14274 use lyx::textclass_type instead of LyXTextClassList::size_type
14276 2001-11-29 Juergen Vigna <jug@sad.it>
14278 * text.C: added support for paragraph::isFreeSpacing()
14280 * buffer.C: same as above
14282 * paragraph.h: inserted isFreeSpacing() function to enable
14283 FreeSpacing inside InsetERT.
14285 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14286 of the paragraph's in the cut/copy buffer to 0!
14288 * text2.C (removeRow): remove the assert as it can!
14290 * lyxtext.h: added helper function firstRow returning firstrow and
14291 made firstrow private again.
14293 * BufferView2.C (lockInset): don't relock if we're already locked!
14295 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14296 the only paragraph.
14297 (removeRow): added Assert::(firstrow)
14299 * debug.C: forgot to add INSETTEXT here.
14301 2001-11-28 Juergen Vigna <jug@sad.it>
14303 * sp_spell.C (initialize): changed error text to more general
14304 spellchecker command use (not only ispell!)
14306 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14308 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14310 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14312 * vspace.C: initialise lyxgluelength on failure
14314 2001-11-28 Allan Rae <rae@lyx.org>
14316 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14317 declaration & definition that looks like a function declaration.
14319 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14321 * BufferView2.C (copy):
14322 (copyEnvironment): do not clear the selection when doing a copy.
14324 * text.C (paintFirstRow): compilation fix
14326 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14328 * tabular.C (Latex): correct line count when writing latex.
14330 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14332 * paragraph_pimpl.h:
14333 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14336 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14340 * LColor.C: change vfillline->added_space
14342 * text.C: add markers and text for added space
14344 * vspace.C: fix comment
14346 2001-11-28 André Pönitz <poenitz@gmx.net>
14348 * paragraph.C: whitespace changes
14349 * all the other files from the change on 2001/11/26:
14350 change *::pos_type into lyx::pos_type
14352 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14354 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14355 language of the document when inserting error insets.
14357 2001-11-26 André Pönitz <poenitz@gmx.net>
14359 * BufferView_pimpl.[Ch]:
14367 * paragraph_pimpl.[Ch]:
14370 * text2.C: reduce header dependencies, introduce type for positions
14372 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14374 * <various>: change to use Alert.h
14376 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14378 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14379 when encountering an unknown token.
14380 (readLyXformat2): Show an error message if there were unknown tokens.
14382 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14385 * BufferView_pimpl.C:
14389 * text2.C: use par->isInset()
14391 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14393 * paragraph_pimpl.h:
14394 * paragraph_pimpl.C: cleanup
14396 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14398 * text2.C (removeRow):
14399 * text.C (setHeightOfRow): remove useless (and costly) call to
14402 2001-11-20 Allan Rae <rae@lyx.org>
14404 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14405 Now need Inset*::checkInsertChar() to return true for appropriate
14406 cases so that the characters in the minibuffer will actually be
14409 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14411 * text.C: change the order of the includes.
14412 (workWidth): initialize it at once.
14413 (workWidth): make maxw unsigned
14414 (setHeightOfRow): remove unused variable (inset)
14415 (selectSelectedWord): remove unused variable (inset)
14416 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14418 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14420 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14421 server is not running.
14423 (closeConnection): add debug info when server is disabled.
14425 * ColorHandler.C (getGCForeground): send debug message to GUI
14428 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14430 * kbmap.C (bind): modify because return conventions of
14431 kb_sequence::parse have changed.
14433 * kbsequence.C (parse): only ignore spaces and not any stupid
14434 control character. This avoids tests like s[i] <= ' ', which are
14435 guaranteed to fail with 8bit characters and signed chars.
14436 Change return code to string::npos when there have been no error
14437 (0 was a bad idea when error is at first character)
14439 2001-11-14 José Matos <jamatos@fep.up.pt>
14442 * buffer.C (simpleDocBookOnePar): removed unused argument.
14444 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14446 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14447 insets which are part of a word. Paragraph::isLetter takes care of
14448 that now. Use Paragraph::isInset to identify insets.
14449 (selectSelectedWord): do not test for hyphenation break.
14451 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14452 that protected spaces are considered as spaces.
14454 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14457 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14460 * lyxserver.C: fix it. and small cleanup.
14462 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14464 * BufferView_pimpl.C: use inline helpers
14467 * LaTeXFeatures.C: fix typos
14470 * Spacing.C: move spacing_string into class
14472 * ToolbarDefaults.C: move stuff into namespace anon
14474 * layout.h: update enum
14476 * lyxfunc.C: use better debug
14478 * minibuffer.h: fix typo
14482 * WorkArea.C: add and use Debug::WORKAREA
14486 * text2.C: code re-organisation, inline helpers
14488 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14490 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14491 std::vector.empty().
14493 2001-11-09 Allan Rae <rae@lyx.org>
14495 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14496 '\n's after tables. Tabular and ERT inset work now makes this no
14499 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14502 * minibuffer.C: fix crash, improve drop-down completion
14504 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14507 * lyxserver.C: invalidate fd's when doing endPipe()
14509 2001-11-08 José Matos <jamatos@fep.up.pt>
14511 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14512 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14515 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14517 2001-11-07 José Matos <jamatos@fep.up.pt>
14520 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14523 * buffer.C (sgmlOpenTag):
14524 * buffer.C (sgmlCloseTag): removed debug info.
14526 * buffer.h (sgmlOpenTag):
14527 * buffer.h (sgmlCloseTag): made public.
14529 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14531 * buffer.C (saveParamsAsDefaults):
14532 * lyx_cb.C (MenuLayoutSave): remove
14534 * LyXAction.C (init):
14536 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14538 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * buffer.C (setPaperStuff): removed from here...
14542 * bufferparams.C (setPaperStuff): ... and moved there.
14544 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14548 * XFormsView.C: add support for drop-down completion
14550 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14552 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14555 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14557 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14560 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14562 * lyx_main.C: change ref to known bugs
14564 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14566 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14567 to work around older babel problems.
14569 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14571 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14573 2001-10-24 Juergen Vigna <jug@sad.it>
14575 * tabular-old.C (ReadOld): below variable changes reflected.
14577 * tabular.[Ch]: added ltType struct for longtable header/footer
14578 defines and changed all instances where they are used. Added
14579 future support for double top/bottom rows.
14581 2001-10-24 José Matos <jamatos@fep.up.pt>
14583 * buffer.h (docbookHandleCaption):
14584 * buffer.C (docbookHandleCaption): removed unused function.
14585 (makeDocBookFile): moved docbook supported version to v4.1.
14587 2001-10-24 José Matos <jamatos@fep.up.pt>
14590 * tabular.C (docbookRow): new function to export docbook code of a row.
14591 (DocBook): now honors the longtable flags.
14593 2001-10-23 José Matos <jamatos@fep.up.pt>
14596 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14597 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14599 * buffer.C (makeLinuxDocFile):
14600 (makeDocBookFile): reworked the preamble, more clean, and with
14601 support for lyx defined entities. Changed the document declaration
14602 to be more XML friendly.
14604 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14605 if we need to output XML that should be done with a filter.
14607 2001-10-22 Juergen Vigna <jug@sad.it>
14609 * sp_pspell.h (class PSpell): add alive function needed in the
14610 controller to see if the spellchecker could be started.
14612 2001-10-22 Juergen Vigna <jug@sad.it>
14614 * buffer.C (insertStringAsLines): modify the font for inserting
14615 chars in certain conditions by calling checkInsertChar(font).
14617 2001-10-19 Juergen Vigna <jug@sad.it>
14619 * text.C (workWidth): use getRow instead of wrong algorithm.
14620 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14622 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14627 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14629 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * text.C (workWidth): do not search for the exact row when
14632 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14633 optimization for big documents.
14635 2001-10-18 Juergen Vigna <jug@sad.it>
14637 * text.C (workWidth): new function with added Inset * parameter.
14639 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14643 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14644 change return type of getColumnNearX.
14647 * text.C (changeRegionCase): use uppercase/lowercase instead of
14650 (rightMargin): simplify code by factoring out the uses of
14655 (appendParagraph): use Paragraph::size_type
14657 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14659 * vspace.C (asLatexString): add a missing break
14661 2001-10-15 Herbert Voss <voss@perce.de>
14663 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14665 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14670 2001-10-10 André Pönitz <poenitz@gmx.net>
14672 * lyxfunc.C: removed greek_kb_flag.
14674 2001-10-10 Herbert Voss <voss@perce.de>
14676 * lyx_main.C: delete global string help_lyxdir.
14678 2001-10-09 Herbert Voss <voss@perce.de>
14680 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14682 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14684 * lyx_main.C: added global string help_lyxdir.
14686 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14688 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14690 * lyxrc.C (set_font_norm_type): support iso8859-4
14692 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14694 * LaTeX.C (deplog): add another regex for MikTeX
14696 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14698 * lyxrc.C (set_font_norm_type): support iso8859-3
14700 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14702 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14704 * LaTeXFeatures.C: remove special case of french and index
14706 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14707 before \begin{document}). This solves several incompatibilities.
14709 2001-10-03 Garst Reese <reese@isn.net>
14711 * lyx_cb.C: change CheckTex error msg.
14713 2001-10-03 José Matos <jamatos@fep.up.pt>
14715 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14717 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * .cvsignore: update
14721 * lyx_main.C (commandLineVersionInfo): use new style version info.
14723 * buffer.C (writeFile):
14725 (makeLinuxDocFile):
14726 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14728 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14730 * version.h: update to use stuff in version.C
14732 * version.C.in: new file. Contains version information determined
14733 at compile time. This is a merging of version.h and
14736 2001-10-03 Juergen Vigna <jug@sad.it>
14738 * BufferView_pimpl.C (update): don't change "dirty" status in
14741 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14743 * WorkArea.C (c-tor): re-position version string slightly.
14745 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14747 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14748 revert to previous code.
14750 WorkArea.[Ch]: (show, destroySplash): methods removed.
14752 WorkArea.C: rework code so that it's an amalgam of the codes before and
14753 after the splash screen was moved to WorkArea.
14755 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14758 * vspace.C (inPixels):
14761 * buffer.C (insertStringAsLines):
14762 (asciiParagraph): fix types to be large enough
14764 * lyxlex_pimpl.h: change member status from short to int
14766 * layout.h: fix type of endlabeltype
14769 * kbsequence.C (parse): change return type to string::size_type
14771 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14774 * Bullet.C (bulletSize):
14775 (bulletEntry): do not use short ints as parameters
14777 * BufferView2.C (insertLyXFile): change a char to an int.
14779 * WorkArea.C (WorkArea): remove unneeded floats in computation
14781 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14783 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14785 * paragraph.C (asString): Do not ignore newline/hfill chars when
14786 copying to the clipboard.
14788 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14790 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14791 after a multi-line inset.
14793 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14795 * paragraph.C (validate): Set NeedLyXFootnoteCode
14797 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14799 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14800 and decrease-error to decrease.
14802 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14805 it more readable (should be equivalent)
14807 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14809 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14811 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14814 of a cursor (row, etc.) after a character has been deleted
14815 (deleteEmptyParagraphMechanism): call the method above on _all_
14816 cursors held by the LyXText when a double space has been
14819 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14821 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14823 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14825 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14826 background. Use greyOut() and the new show() methods to toggle between
14827 the foreground and background. Add code to remove the splash after
14828 its initial showing.
14830 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14831 (create_forms): no longer call Dialogs::showSplash.
14833 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14835 * .cvsignore: add version_info.h
14837 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * version_info.h.in: new file
14841 * Makefile.am: add version_info.h.in
14843 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14844 version_info.h instead of VERSION_INFO
14846 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14848 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14849 The ERT inset now returns string().
14851 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14853 * lyxtext.h, text.C (selectNextWord): renamed as
14854 selectNextWordToSpellcheck.
14856 * text.C (selectNextWordToSpellcheck): Modified to not select
14857 words inside an ERT inset.
14859 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * lyx_cb.C (MenuLayoutSave): change a bit the question
14863 * sp_base.h: include <sys/types.h>
14865 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14867 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14869 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14871 * several files: fix typos in user-visible strings
14873 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14875 * text2.C (pasteSelection): do not set the selection, since it
14876 will be cleared later. Actually, the intent was to fix the way the
14877 selection was set, but I figured rmoving the code was just as good.
14879 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14881 * FontLoader.C (available): Check if font is available without
14884 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14886 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14888 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14890 * lyxrc.[Ch]: added display_graphics variable and associated code.
14892 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14894 * bufferparams.C (hasClassDefaults): new method. Returns true if
14895 the buffer parameters correspond to known class defaults
14897 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14899 * XFormsView.C (show): set minimum size to the main window.
14901 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14903 * text2.C (copySelection):
14905 * lyxfind.C (LyXReplace):
14906 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14907 LyXText::selectionAsString.
14909 * paragraph.C (asString): add "label" argument to the second form
14911 * text2.C (selectionAsString): add "label" argument and pass it to
14912 Paragraph::asString.
14914 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14916 * lyx_main.C (commandLineHelp): remove version information
14918 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14920 * lyx_main.C: add -version commandline option
14922 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14924 * paragraph.h: make the optional constructor arg required instead.
14925 some modifications to other files because of this.
14927 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14929 * lyxserver.C (C_LyXComm_callback): make it static
14931 * lyx_main.C (error_handler): make it static
14933 * lyx_gui.C (LyX_XErrHandler): make it static
14935 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14937 * WorkArea.C: make the extern "C" methods static.
14939 * Makefile.am (lyx_LDADD): simplify
14941 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14943 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14944 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14946 * LyXAction.C (init):
14947 * lyxfunc.C (dispatch): associated code removal.
14949 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14951 * lyxfont.h (isSymbolFont): shut off warning
14953 * text.C (setHeightOfRow):
14954 (getVisibleRow): fix crash with empty paragraphs which have a
14957 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14959 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14962 2001-09-04 José Matos <jamatos@fep.up.pt>
14965 * tabular.C (docbook): rename docBook method to docbook.
14967 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14969 * Makefile.am: add dependencies to main.o.
14971 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14973 * FontLoader.C (available): Return false if !lyxrc.use_gui
14975 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14977 * FontInfo.C (query):
14978 * converter.C (view):
14979 * importer.C (Import):
14980 * exporter.C (Export): Can not -> cannot.
14982 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14984 * BufferView_pimpl.C: allow to create index inset even if
14987 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14989 * buffer.C (getLists): replace boost::tie code with an explicit pair
14990 as boost::tie can break some compilers.
14992 * iterators.h: Added a std:: declaration to the return type of
14995 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14997 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15000 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15002 * iterators.[Ch]: New files. Provide paragraph iterators.
15004 * buffer.C (changeLanguage): Use paragraph iterators.
15005 (isMultiLingual): ditto
15007 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15009 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15011 * FontLoader.C: Support for cmr font.
15013 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15015 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15016 (available): New method.
15018 * FontInfo.C (getFontname): Use scalable fonts even when
15019 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15022 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15024 * converter.C (Formats::view): reverted! Incorrect fix.
15026 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15028 * converter.C (Formats::view): only output the -paper option
15029 if the dvi viewer is xdvi, thereby fixing bug #233429.
15031 2001-08-23 Herbert Voss <voss@perce>
15033 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15035 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15037 * Spacing.h (Spacing): Set space to Default on in the default
15040 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15042 * vc-backend.h (RCS::versionString): add RCS to version
15043 (CVS::versionString): add CVS to version
15045 * vc-backend.C (scanMaster): do not add CVS to version.
15046 (scanMaster): do not add RCS to version
15048 * lyxvc.C (versionString): new method
15050 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15052 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * Spacing.C (set): initialize fval
15056 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15058 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15061 2001-08-16 Juergen Vigna <jug@sad.it>
15063 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15065 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15067 * BufferView_pimpl.C:
15070 * text2.C: setParagraph takes linespacing now
15072 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15074 * LyxAction.C: add internal LFUN_CITATION_INSERT
15076 * LyXView.C: actually apply fix
15078 * bufferlist.C: fix open non-existent file
15080 * lyxfind.C: fix indentation
15082 * lyxfunc.C: remove unneeded assert, fix typo
15084 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15086 * MenuBackend.C: use "Floatname List"
15088 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15090 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15091 when converting LaTeX layout to insetERT.
15092 Generate a non-collapsed float when reading old float
15094 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15096 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15099 2001-08-13 Juergen Vigna <jug@sad.it>
15101 * text.C (fill): return 0 instead of 20 as this seems to be the more
15104 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15106 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15109 2001-08-13 Juergen Vigna <jug@sad.it>
15111 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15113 (SearchBackward): comment out the unlocking of the inset_owner this
15114 should not be needed!
15116 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15118 * Many files: Remove inherit_language, and add latex_language
15120 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15121 collapsible insets.
15123 2001-08-10 Juergen Vigna <jug@sad.it>
15125 * text.C (prepareToPrint): fixed hfill-width in draw!
15127 * BufferView2.C (selectLastWord): save the selection cursor as this
15128 now is cleared in the function LyXText::clearSelection!
15130 2001-08-08 Juergen Vigna <jug@sad.it>
15132 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15133 BACKSPACE type functions.
15135 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15136 is only cutted from the document but not put in the cut-buffer, where
15137 still the old stuff should be.
15139 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15141 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15143 * tabular.C (SetWidthOfCell): fixed special case where the width
15145 (LeftLine): handle '|' in align_special.
15147 (LeftAlreadyDrawed): ditto
15148 (SetWidthOfCell): ditto
15150 2001-08-07 Juergen Vigna <jug@sad.it>
15152 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15154 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15156 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15157 * lyxlex.[hC]: ditto
15159 2001-08-06 Juergen Vigna <jug@sad.it>
15161 * text.C (getVisibleRow): fix up row clearing a bit.
15163 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15165 * minibuffer.C: make sure the X server sees the changes in the input.
15167 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15169 * paragraph.C (getFont): split into...
15170 (getLabelFont): this
15171 (getLayoutFont): and this
15172 * paragraph_pimpl.C (realizeFont): calling this
15174 * text2.C (getFont): split into...
15175 (getLayoutFont): this
15176 (getLabelFont): and this
15177 (realizeFont): all three calling this
15179 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15182 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15184 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15186 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15188 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15189 layouts from the Quote inset insertion.
15191 2001-08-03 Juergen Vigna <jug@sad.it>
15193 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15195 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15196 only if status not is already CHANGED_IN_DRAW (second level).
15198 * text.C (draw): don't set the need_break_row when inside an
15201 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15203 * buffer.C (parseSingleLyXformat2Token): handle more latex
15206 * bufferview_funcs.[hC]: change function names to
15207 begin with small char, adjust other files.
15209 2001-08-02 André Pönitz <poenitz@gmx.net>
15212 BufferView_pimpl.C: remove broken special code for math-greek
15214 2001-08-02 Juergen Vigna <jug@sad.it>
15216 * BufferView_pimpl.C (update): redone this function so that we
15217 update the text again if there was a CHANGE_IN_DRAW.
15219 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15220 (drawFromTo): added a new internal bool which is used by draw() and
15222 (general): some cursor drawing problems fixed.
15224 2001-08-01 Juergen Vigna <jug@sad.it>
15226 * lyxfind.C (LyXFind): fixed
15227 (SearchForward): ditto
15228 (SearchBackward): ditto
15230 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15231 spurius drawing of the cursor in the main area.
15233 * text2.C (status): small fix which could lead to a segfault!
15234 (clearSelection): remove unneeded BufferView param.
15236 2001-08-01 André Pönitz <poenitz@gmx.net>
15238 * lyxfunc.C: small change due to changed mathed interface
15240 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15244 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15246 * lyxfunc.c: fail gracefully if file doesn't exist
15251 * BufferView_pimpl.C: IsDirWriteable() proto changed
15253 * LyXView.C: fix updateWindowTitle() to store the last title
15255 2001-07-31 Juergen Vigna <jug@sad.it>
15257 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15258 the font (wrong since using of Paragraph::highestFontInRange).
15260 * paragraph.C (highestFontInRange): added a default_size parameter.
15262 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15263 (setHeightOfRow): reformat
15265 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15267 * converter.[hC] + affected files: move to (inital-char)lowercase
15270 * ParagraphParameters.C (ParagraphParameters): remove commented code
15272 * PainterBase.[Ch]: remove commented code
15274 * LaTeXFeatures.h: add "bool floats" for float.sty
15276 * LaTeXFeatures.C (LaTeXFeatures): init floats
15277 (require): handle float
15278 (getPackages): do it with floats
15280 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * BufferView_pimpl.C (Dispatch): improve handling of
15283 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15285 * commandtags.h: #include lyxfont.h here temporarily to avoid
15288 * bufferlist.h: include LString.h here.
15290 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15292 * text2.C (getStringToIndex): new method.
15294 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15296 * *: Reduced header file dependencies all over.
15298 2001-07-30 Baruch Even <baruch@lyx.org>
15300 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15302 2001-07-29 Baruch Even <baruch@lyx.org>
15304 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15306 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15308 * ParameterStruct.h (endif): add a default constructor to make
15309 sure that all variables is initialized.
15311 * ParagraphParameters.C (ParagraphParameters): adjust
15313 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15315 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15316 index; also, check that there is something to index, and that it
15317 does not span over several paragraphs.
15318 (doubleClick): use WHOLE_WORD_STRICT for double click.
15320 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15322 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15325 2001-07-26 Baruch Even <baruch@lyx.org>
15327 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15328 an InsetFig figure, backwards compatible reading of old figure code.
15330 2001-07-27 Juergen Vigna <jug@sad.it>
15332 * text2.C: font.realize function adaption.
15334 * text.C (draw): add a warnings lyxerr text if needed.
15336 * layout.C: font.realize function adaption.
15338 * language.C: add inherit_language and implement it's handlings
15340 * bufferview_funcs.C (StyleReset): remove language parameter from
15341 font creation (should be language_inherit now).
15343 * bufferparams.C (writeFile): handle ignore_language.
15345 * paragraph.C (getFontSettings): the language has to be resolved
15346 otherwise we have problems in LyXFont!
15348 * lyxfont.C (lyxWriteChanges): added document_language parameter
15349 (update): removed unneeded language parameter
15351 * paragraph.C (validate): fixed wrong output of color-package when
15352 using interface colors for certain fonts in certain environments,
15353 which should not seen as that on the final output.
15355 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15357 * BufferView_pimpl.C:
15362 * LyXAction.C: add thesaurus support
15365 * lyxfind.C: add "once" parameter, for thesaurus, to not
15366 move to the next match
15368 2001-07-26 Juergen Vigna <jug@sad.it>
15370 * lyxfont.C (realize): honor ignore_language too!
15373 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15375 * text.C (draw): one place more for ignore_language to not draw
15378 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15380 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15382 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15384 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15385 the minipage conversion problem.
15387 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15389 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15392 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * BufferView.h: don't forward declare WorkArea
15396 * BufferView.C: don't include WorkArea.h
15398 2001-07-25 André Pönitz <poenitz@gmx.net>
15402 * lyxfunc.C: new LFUN 'math-space'
15404 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15406 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15408 * text2.C (toggleInset): call open/close
15410 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * lyxfunc.C (dispatch): add debug for the disabled case
15414 * font.C (buttonText): make similar to rectText
15416 * buffer.C (readInset): comment out parsing of insetlist and
15419 * PainterBase.C (rectText): small correction
15421 * BufferView_pimpl.C: comment out insettheorem and insetlist
15422 * LyXAction.C: ditto
15423 * commandtags.h: ditto
15425 2001-07-24 Juergen Vigna <jug@sad.it>
15427 * text.C (draw): honor the ignore_language.
15429 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15431 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15436 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15438 * lyxtext.h: remove unused (and unimplemented) methods
15440 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15442 * text.C (getVisibleRow): honor background color
15445 * Painter.h: remove default color argument for fillRectangle
15447 * text.C (backgroundColor): new method
15449 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15451 * text.C (getVisibleRow): adjust
15453 * font.[Ch] (rectText): new method, metrics
15454 (buttonText): new method, metrics
15456 * PainterBase.[hC]: make rectText and buttonText always draw and take
15459 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15461 * ToolbarDefaults.C (read):
15462 * MenuBackend.C (read): allow escaping in all strings
15464 * BufferView_pimpl.C (insertAndEditInset): new method.
15465 (Dispatch): use insertAndEditInset whenever appropriate.
15467 * BufferView_pimpl.C (insertNote): removed
15469 * BufferView_pimpl.C (smartQuote): new method, moved from
15470 BufferView; if an insetquote cannot be inserted, insert a '"'
15473 * BufferView2.C: remove insertCorrectQuote();
15475 * lyxfunc.C (getStatus): Add support for all remaingin
15476 inset-insert lfuns.
15478 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15480 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15481 command (necessary to pass " as parameter of self-insert.
15483 * text.C (selectWordWhenUnderCursor):
15484 (selectWord): add word_location parameter
15485 (selectWordWhenUnderCursor): same + remove special code for word
15487 (selectNextWord): use kind() to guess type of insetspecialchar,
15490 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15491 (insertErtContents): create ert insets as collapsed.
15492 (readInset): better compatibility code for Info inset.
15494 2001-07-20 Juergen Vigna <jug@sad.it>
15496 * lyxfunc.C (dispatch): use always LyXFind now!
15498 * text2.C (init): add a reinit flag so that the LyXText can be
15499 reinited instead of deleted and reallocated (used in InsetText).
15501 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15507 2001-07-18 Juergen Vigna <jug@sad.it>
15509 * text.C (selectNextWord): handle insets inside inset by calling
15510 always the bv->text functions so that we can go up the_locking_inset!
15512 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15513 in strange locations when inside an inset!
15515 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15516 handling to include insets.
15518 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15520 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15522 * LyXAction.C (init):
15524 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15525 LIGATURE_BREAK, since the name is so stupid.
15527 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15529 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15532 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15534 * sp_form.[Ch]: remove.
15536 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15538 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15541 * src/buffer.C (readInset): ditto.
15543 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15545 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15546 menuSeparator(), endOfSentenceDot(), ldots() and
15547 hyphenationPoint(), which are therefore removed.
15548 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15550 * LyXAction.C (init):
15551 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15553 * paragraph.C (getWord): removed.
15555 * BufferView_pimpl.C (Dispatch): use last word or selection for
15556 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15558 * lyx_main.C (queryUserLyXDir): do not ask before creating
15559 user_dir, except if it has been named explicitely.
15561 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15563 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15564 a document of zero size.
15566 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15568 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15569 approriately in the c-tor and in require().
15570 (getPackages): output the appropriate LaTeX for natbib support.
15572 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15573 variables "use_natbib" and "use_numerical_citations" when reading the
15575 (readInset): read the various natbib cite commands.
15576 (validate): white-space change.
15578 * bufferparams.[Ch]: new variables "bool use_natbib" and
15579 "bool use_numerical_citations".
15580 (writeFile): output them in the LyX file.
15582 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15584 * lyxfunc.C (getStatus): add support for all the inset insertion
15587 * text2.C (insertInset):
15588 * paragraph.C (insetAllowed):
15589 * BufferView_pimpl.C (insertInset): update to take in account the
15590 renaming of insertInsetAllowed
15592 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15594 * text2.C (getInset): new method. returns inset at cursor position.
15596 * BufferView_pimpl.C (Dispatch): changes because of this.
15598 * LyXAction.C (init): rename open-stuff to inset-toggle.
15600 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15602 * text2.C (toggleInset): renamed from openStuff; use
15605 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15607 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15609 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15611 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15613 * buffer.C (readLyXformat2): Add filename to the error dialog
15615 2001-07-18 Juergen Vigna <jug@sad.it>
15617 * tabular.C (GetCellNumber): put an assert here instead of the check!
15619 2001-07-17 Juergen Vigna <jug@sad.it>
15621 * BufferView_pimpl.C (toggleSelection): adapted too.
15623 * text.C (selectNextWord): adapted for use with insets.
15624 (selectSelectedWord): ditto
15626 2001-07-17 Juergen Vigna <jug@sad.it>
15628 * sp_spell.C (PSpell): fix initialitation order.
15630 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * paragraph.C: spacing
15634 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15636 * sp_spell.C: repair language selection for pspell
15638 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15640 * lyxfunc.h: change more methods to begin with lower char.
15642 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15644 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15645 for unknown layouts.
15647 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15649 * buffer.C (readLyXformat2): Generate an error dialog if there are
15652 2001-07-16 Juergen Vigna <jug@sad.it>
15654 * sp_spell.C: always compile ISpell part.
15656 * lyxrc.C: added use_pspell entry and it's handling.
15658 2001-07-13 Juergen Vigna <jug@sad.it>
15660 * sp_spell.C: removed double includes.
15662 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15664 Consistent use of Lsstream.h:
15665 * Lsstream.h: added using std::stringstream for consistencies sake.
15667 * buffer.C: removed using std::stringstream
15669 * lyxfont.C (stateText):
15670 * paragraph.C (asString):
15671 * text.C (selectNextWord, selectSelectedWord):
15672 * text2.C (setCounter):
15673 * vspace.C (asString, asLatexString):
15674 std::ostringstream -> ostringstream.
15676 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15678 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15679 * commandtags.h: add LFUN_HELP_ABOUTLYX
15680 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15682 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15684 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15686 * lyx_gui_misc.C: remove spellchecker
15687 * lyxfunc.C: showSpellchecker
15689 * sp_ispell.h: added
15690 * sp_pspell.h: added
15691 * sp_spell.C: added
15692 * sp_form.[Ch]: removed
15693 * spellchecker.[Ch]: removed
15695 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15697 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15699 (simpleTeXSpecialChars): Simply print the input character without
15700 any special translation if pass_thru is set.
15702 * layout.h: Added bool pass_thru to layout class for being able to
15703 implement pass through of a paragraph for Literate Programming.
15705 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15706 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15707 * layout.C (Read): add "passthru" to list of layout tags and add
15708 code to set the pass_thru boolean when it is read.
15710 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15712 * trans_decl.h: remove allowed from KmodInfo
15714 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15715 remove allowed code
15718 * paragraph_pimpl.C (erase): use boost::prior
15720 * Painter.C (text): use data() instead of c_str() when length is
15722 * WorkArea.C (putClipboard): ditto
15723 * font.h (width): ditto
15725 * BufferView2.C: use it-> instead of (*it). for iterators
15727 * paragraph_pimpl.C: ditto
15728 * paragraph.C: ditto
15729 * minibuffer.C: ditto
15730 * language.C: ditto
15732 * encoding.C: ditto
15733 * counters.C: ditto
15734 * converter.C: ditto
15736 * Variables.C: ditto
15737 * TextCache.C: ditto
15738 * MenuBackend.C: ditto
15739 * LyXAction.C: ditto
15741 * FloatList.C: ditto
15742 * DepTable.C: ditto
15743 * ColorHandler.C (LyXColorHandler): ditto
15745 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15747 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15749 * text2.C (openStuff): reintroduce this method (which had been
15750 nuked in NEW_INSETS frenzy).
15752 * lyxfunc.C (Dispatch): when an action has not been handled, use
15753 its name in the error message, not its number.
15755 * paragraph.C (inInset): change method name to begin with lowercase.
15758 * text2.C: updates because of this.
15760 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15762 * ToolbarDefaults.C (add): add spaces in error message
15764 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15766 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15767 (readLyXformat2): rename return_par to first_par, use lyxlex's
15768 pushToken and remove the manual push handling.
15769 (parseSingleLyXformat2Token): add another ert comp. variable:
15770 in_tabular, rename return_par to first_par. handle newlines better
15772 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15776 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15778 * text2.C (getParFromID): removed
15780 * buffer.C (getParFromID): new method moved form lyxtext.
15781 * BufferView2.C (insertErrors): adjust
15782 (setCursorFromRow): adjust
15783 * BufferView_pimpl.C (restorePosition): adjust
15784 * lyxfunc.C (Dispatch): adjust
15785 * undo_funcs.C (textUndo): adjust
15787 (textHandleUndo): adjust
15788 (textHandleUndo): adjust
15790 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15792 * buffer.C: up' the LYX_FORMAT
15794 * lyxfont.h: turn NO_LATEX on as default
15796 * buffer.C (insertErtContents): new methods of tex style compability.
15797 (parseSingleLyXformat2Token): use it several places.
15798 * tabular.C (OldFormatRead): and here
15800 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15802 * text2.C: remove some commented code.
15805 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15806 * trans.C: changes because of the above.
15808 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15810 * text2.C (setCounter): Fix counters bug with bibliography layout.
15812 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15814 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15815 own member functions
15816 (simpleTeXSpecialChars): ditto
15818 2001-07-06 Juergen Vigna <jug@sad.it>
15820 * a lot of files: changed the access to LyXText::status and the
15821 call of undo-functions.
15823 * undo.[Ch]: added a inset_id to the undo informations.
15825 * undo_funcs.[Ch]: added and moved here all undo functions.
15827 * lyxtext.h: give the status enum a weight, made status_ a private
15828 variable and made accessor functions for it, removed the whole bunch
15829 of undo-functions as they are now in their own file, make some
15830 functions publically available. Added function ownerParagraph with
15833 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15834 made InInset() a const function, added getParFromID() function.
15836 * buffer.[Ch]: added const version for inset_iterator functions,
15837 added getInsetFromID() function.
15839 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15840 changed undo functions for new version.
15842 2001-07-05 Juergen Vigna <jug@sad.it>
15844 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15845 unknow mechanism does not call the proper constructor but only this
15846 one also if I request the other!?
15848 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15850 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15852 * text2.C (LyXText): use initialization lists.
15854 * lyxtext.h (Selection): initialize set_ and mark_
15855 (init): remove method
15857 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15859 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15861 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15863 * screen.[Ch]: change method names to begin with lowercase
15865 * BufferView_pimpl.C (updateScrollbar): simplify further and
15866 hopefully make it a bit faster.
15868 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15871 calling directly xforms functions.
15873 * Painter.C (Painter):
15874 * lyx_cb.C (MenuWrite):
15875 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15878 * lyx_gui.C: remove bogus guiruntime extern declaration.
15880 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15882 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15884 (redoDrawingOfParagraph): ditto
15885 (redoParagraphs): ditto
15886 (cutSelection): don't create a object for CutAndPaste use the
15887 static method directly
15888 (pasteSelection): ditto
15890 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15893 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15895 * modifications to some other files because of this.
15897 * Makefile.am (lyx_SOURCES): add XFormsView
15899 * XFormsView.[Ch]: new files
15901 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15902 the main window. Move the gui dependent stuff to XFormsView
15904 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15906 * tabular.C (GetCellInset): update cur_cell also in the row/col
15907 version of this function.
15909 * lyxfunc.C: no need to include figure_form.h here.
15915 * lyxvc.C: no need to include forms.h here.
15917 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15919 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15921 * lyxfunc.C (Dispatch):
15923 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15924 constructor argument.
15926 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * paragraph.C (Paragraph): dont't clear, and just set layout.
15929 (makeSameLayout): use params's copy contructor.
15931 * ParagraphParameters.[Ch] (makeSame): delete method
15933 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15935 * Variables.[Ch]: fix indentation, rename set to isSet
15937 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15939 * lyxfunc.C (Dispatch): fix typo
15941 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15943 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15946 * bufferlist.C: include assert.h for emergencyWrite().
15948 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15950 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15951 give up at last (bug #425202) !
15953 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15959 * spellchecker.C: strip spellchecker options and bring up
15960 preferences tab instead
15962 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15964 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15965 the istringstream constructor
15967 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15969 * paragraph.C (getLayout): fix return value
15971 * paragraph.h: do not declare getLayout as inline.
15973 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15975 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * lyxcursor.h (operator<): new func
15978 (operator>): new func
15979 (operator>=): new func
15980 (operator<=): new func
15982 * text.C (changeCase): use selection.start and selection.end
15983 (changeRegionCase): require from to be <= to. Require par to be a
15986 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15988 2001-06-27 Juergen Vigna <jug@sad.it>
15990 * text.C (cursorLeftOneWord): changed to return the cursor and added
15991 overlay with BufferView * parameter which calls this one.
15993 (selectWord): use new getWord function.
15994 (changeCase): renamed from changeWordCase as and extended to work
15995 also on selections.
15997 * lyxtext.h: added enum word_location
15999 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16000 changeCase as this operates now also on selections.
16002 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16004 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16006 * many files: send debug output to Debug::INFO instead of
16009 * converter.C (View):
16011 (Move): send debug output to Debug::FILES instead of console.
16013 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16015 * lyxfunc.C (getStatus): use func_status
16017 * func_status.h: new header, describing the results of
16018 LyXFunc::getStatus;
16020 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16023 2001-06-25 The LyX Project <jug@sad.it>
16025 * buffer.C (sgmlOpenTag):
16027 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16029 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * text2.C: remove some dead code
16033 * tabular.C (GetCellInset): store the last cell checked (gotten)
16035 * tabular.h: add the helper for the speedup
16037 * lyxtext.h: remove some dead code
16039 2001-06-26 The LyX Project <Asger>
16041 * paragraph.C: Change export to LaTeX of alignment to
16042 \begin{center} and family for better roundtrip work with reLyX.
16044 * Tune the math drawing a bit.
16046 2001-06-25 The LyX Project <Asger>
16048 * LColor.C (LColor): New color for math background. New color
16051 2001-06-25 The LyX Project <jug@sad.it>
16053 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16055 * lyxfunc.C (Open):
16056 * bufferlist.C (newFile): do not restrict to files ending with
16059 * BufferView_pimpl.C (MenuInsertLyXFile):
16061 2001-06-24 The LyX Project <jug@sad.it>
16063 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16066 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16068 * lyxtext.h: rename most methods to begin with a small char.
16069 Lots of changes because of this.
16071 * paragraph.C (Paragraph): do not call fitToSize
16072 (erase): call Pimpl::erase
16073 (insertChar): call Pimpl::insertChar
16074 (insertInset): call Pipl::insertInset
16075 (breakParagraph): do not call fitToSize
16076 (breakParagraphConservative): do not call fitToSize
16077 (fitToSize): remove method
16079 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16081 2001-06-24 The LyX Project <Asger>
16083 * Fix Qt compilation^2
16085 2001-06-24 The LyX Project <jug@sad.it>
16087 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16088 depthHook(getDepth()-1).
16091 * ParagraphParameters.h:
16092 * ParameterStruct.h: change type of depth to unsigned int ==
16093 depth_type. Many adaptations to other files before of that.
16095 2001-06-24 The LyX Project <Asger>
16097 * Fix Qt compilation.
16099 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16101 * paragraph.h: renamed several methods to begin with small letter.
16102 several changes to many parts of the code because of this.
16104 2001-06-23 The LyX Project <jug@sad.it>
16106 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16107 rewritten to discard all double spaces when KeepEmpty is off
16108 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16109 to only handle newlines but not fiddle with spaces and friends.
16111 * lyxfunc.C (MenuNew): when doing 'new from template', use
16112 template_path as default directory
16114 2001-06-23 The LyX Project <Asger>
16116 * Clean-up of header file includes all over
16117 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16119 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16121 * paragraph.h: renamed from lyxparagraph.h
16123 2001-06-23 Asger <lyx@violet.home.sad.it>
16125 * Buffer.h: Removed Buffer::resize
16126 * BufferList.h: Removed BufferList::resize
16127 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16128 the document lazily when we change the width, or the font settings.
16130 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16132 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16134 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16136 * buffer.h: remove out of date comment
16138 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16141 * screen.C: fix "theoretical" GC leak
16143 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16145 * LaTeX.C (scanAuxFile):
16146 (deplog): remove trailing \r when reading stream (useful under
16149 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16151 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16152 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16153 and BufferView::theLockingInset(Inset*), so should use them and not
16154 access bv_->text->the_locking_inset directly.
16156 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16158 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16161 * tex-defs.h: remove old unused file
16163 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16165 * BufferView_pimpl.C: fix typo, remove minibuffer message
16166 when buffer has loaded
16168 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16170 * lyxfunc.C (Dispatch): use stringstream
16171 (MenuNew): use stringstream
16172 (Open): use stringstream
16174 * importer.C (Import): use stringstream
16176 * bufferview_funcs.C (CurrentState): use stringstream
16178 * LaTeX.C (run): use stringstream
16180 * BufferView_pimpl.C (savePosition): use stringstream
16181 (restorePosition): use stringstream
16182 (MenuInsertLyXFile): use stringstream
16184 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16197 * vspace.C: removed // -*- C++ -*- as first line.
16200 * version.h: added // -*- C++ -*- as first line.
16202 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16204 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16206 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16209 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16211 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16214 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * gettext.C: include LString.h even when --disable-nls is on.
16218 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16220 * converter.h (Get): changed argument type from int to
16221 FormatList::size_type to avoid unnecessary conversion.
16223 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16226 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16228 * gettext.h: include LString.h even when --disable-nls is on.
16230 2001-06-07 Juergen Vigna <jug@sad.it>
16232 * text.C (BreakAgain): subst spaces with tabs.
16234 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16235 (resizeInsetsLyXText): set force on resizeLyXText.
16237 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16239 * gettext.h (gettext_init):
16240 (locale_init): use a real definition instead of a macro
16242 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16244 * Bufferview_pimpl.C:
16246 * LColor.C: further lcolor tidies
16248 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16250 * BufferView_pimpl.C (updateScrollbar): simplify.
16252 * BufferView2.C: don't include insets/insetinfo.h, change
16253 prototype for insertInset and call the Pimpl version. let
16254 updateInset call Pimpl version.
16256 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16257 gotoInset to BufferView::Pimpl
16259 2001-06-01 Juergen Vigna <jug@sad.it>
16261 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16262 inside a LockingInset (is the update needed at all?).
16264 2001-05-31 Juergen Vigna <jug@sad.it>
16266 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16267 here not the old one otherwise how should we compare it afterwards
16270 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16275 * FontInfo.C: bring C functions into global namespace when
16278 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16280 * LString.h: make sure config.h has been loaded before LString.h.
16282 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16283 (one for each char read by EatLine!).
16285 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16288 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16290 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16291 to the same as the par we break from
16293 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16295 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16297 * MenuBackend.C (expand): also create menu entries for wide
16298 versions of the floats.
16300 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16302 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16304 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16305 frontends/Makefile.am
16311 * tabular.C (getTokenValue): add std::
16313 * tabular-old.C (getTokenValue): add std::
16314 (getTokenValue): ditto
16315 (getTokenValue): ditto
16317 * screen.C (ToggleSelection): adjust
16319 * lyxtext.h: put selection cursors inside a Selection struct.
16321 * lyxfunc.C (moveCursorUpdate): adjust
16323 * lyxfont.C (latexWriteStartChanges): add std::
16325 * lyxfind.C: adjust
16327 * font.h: delete with(char const *, LyXFont const &)
16329 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16331 * FontInfo.C (getFontname): add std::
16333 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16334 (workAreaButtonPress): adjust
16335 (tripleClick): adjust
16337 (moveCursorUpdate): adjust
16340 * BufferView2.C (gotoInset): adjust
16342 2001-05-30 Juergen Vigna <jug@sad.it>
16344 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16345 to check pspell I add this as default as I now have new pspell
16346 libraries and they seem to use this.
16348 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16350 * text2.C (CutSelection): make the cursor valid before the call to
16353 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16355 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16356 relied on 0 terminated strings and other horrors. Bug found due to
16357 the new assert in lyxstring!
16359 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16362 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16364 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16367 * lyxfunc.C (processKeySym): change method of getting to the
16370 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16371 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16372 * BufferView_pimpl.[Ch]: here as private methods.
16374 2001-05-28 Juergen Vigna <jug@sad.it>
16376 * text.C (SetHeightOfRow): added the update() call again as it is
16377 needed to initialize inset dimensions!
16379 2001-05-16 Juergen Vigna <jug@sad.it>
16381 * text2.C (SetCharFont): Add new function with BufferView * and
16382 bool toggleall parameters for setting insets internal fonts.
16383 (SetFont): Freeze the undo as we may change fonts in Insets and
16384 all this change should be inside only one Undo!
16386 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16387 setting font's in insets as for them we have the SetFont function!
16389 2001-05-15 Juergen Vigna <jug@sad.it>
16391 * text2.C (ClearSelection): to be sure we REALLY don't have any
16394 * tabular.C (TeXCellPreamble): fixed the left border problem for
16397 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16399 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16402 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16404 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16405 LFUN_BREAKPARAGRAPH.
16407 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16408 help test to "internal only", similar for LFUN_INSERT_URL
16410 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16411 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16412 auto_region_delete and deadkeys.
16414 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16417 * LColor.C: remove some dead entries, tidy a little
16419 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16421 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16423 (Dispatch): implement LFUN_ESCAPE
16425 * commandtags.h: add LFUN_ESCAPE
16427 * LyXAction.C (init): add entry for LFUN_ESCAPE
16429 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16430 Remove commented code.
16431 (insertNote): moved here
16432 (open_new_inset): moved here
16434 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16437 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16439 * kbmap.C (findbinding): clean it up and make it work correctly.
16441 * lyx_main.C (init): do not pass argc and argv as parameters
16443 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16445 * buffer.C: fix path for OS/2 & Win32
16449 * lyx_main.C: Added os:: class.
16451 * os2_defines.h: update
16453 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16456 better by trying again with reduced state.
16458 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16460 * lyxrc.C (read): print error about invalid key sequence only when
16461 debugging (because not all latinX keysyms are known to some X
16464 * kbsequence.C (getiso): add a few std:: qualifiers
16465 (getiso): comment out extra return statement.
16467 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16469 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16471 (Dispatch): enhance the accent inset a bit. (not perfect)
16473 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16475 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16477 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16479 * bufferlist.C (emergencyWrite): fix assert() call
16481 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16483 * text.C (InsertChar): Added trivial patch to only send the "you
16484 can not do multiple spaces this way" message once during a
16487 2001-05-08 Baruch Even <baruch@lyx.org>
16489 * Makefile.am: Changed order of libraries to get LyX to link properly
16490 with the gnome frontend.
16492 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16494 * LaTeXFeatures.h: add a std:: qualifier
16496 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16498 * paragraph.C (String): use stringstream
16500 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16502 * paragraph.C (writeFile): remove footflag arg
16504 * buffer.C (makeLaTeXFile): use stringstream
16505 (latexParagraphs): remove footnot gurba
16507 * LaTeXFeatures.C (getPackages): use stringstream
16508 (getMacros): likewise
16509 (getTClassPreamble): likewise
16510 (getFloatDefinitions): new method
16512 * paragraph.C (writeFile): reindent
16515 * WorkArea.h: revert the xpos + etc changes.
16517 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16519 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16521 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16522 (pasteSelection): likewise
16523 * text2.C (CreateUndo): likewise
16525 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16527 * minibuffer.C (peek_event): temporarily reduce the functionality
16528 of the minibuffer (to allow args on lfuns)
16530 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16531 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16533 * buffer.C (readInset): add compability reading of old float
16534 lists, add reading of new style float list.
16535 (readInset): avoid reevaluation of inscmd.getCmdName()
16536 (getLists): reindent
16538 * MenuBackend.C (MenuItem): implement parsing of
16539 md_floatlistinsert and md_floatinsert.
16540 (expand::LastFiles): move initalizaton of iterators out of loop,
16541 avoid reevaluation.
16542 (expand::Documents): introduce typdedef vector<string> Strings,
16544 (expand::ExportFormats): introduce typedef vector<Format const *>
16545 Formats, and use it.
16546 (expand): implement FloatListInsert and FloatInsert.
16548 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16549 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16550 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16552 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16554 (Dispatch::LFUN_FLOAT_LIST): implement
16556 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16558 * LaTeX.C (run): Fix problem with --export code.
16560 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16562 * BufferView.[Ch] (workarea): removed.
16563 (getClipboard) new method; wrapper for workarea()->getClipboard()
16565 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16568 * WorkArea.h (width, height, xpos, ypos): These methods all
16569 returned the dimensions of the work_area sub-area of WorkArea,
16570 resulting in a position error if the WorkArea were resized. Now
16571 return the dimensions of the entire WorkArea.
16573 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16575 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16577 * LaTeX.C (deplog): correct the syntax of regex reg1
16579 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16581 * undo.C: remove !NEW_INSETS cruft
16583 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16585 * text2.C: remove !NEW_INSETS cruft
16587 * text.C: remove !NEW_INSETS cruft
16589 * tabular.C: remove !NEW_INSETS cruft
16591 * spellchecker.C: remove !NEW_INSETS cruft
16593 * lyxtext.h: remove !NEW_INSETS cruft
16595 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16597 * lyxfunc.C: remove !NEW_INSETS cruft
16599 * lyxfind.C: remove !NEW_INSETS cruft
16601 * lyx_cb.C: remove !NEW_INSETS cruft
16603 * figureForm.C: remove !NEW_INSETS cruft
16605 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16607 * buffer.[Ch]: remove !NEW_INSETS cruft
16609 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16611 * CutAndPaste.C: remove !NEW_INSETS cruft
16613 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16615 * BufferView2.C: remove !NEW_INSETS cruft
16617 * BufferView.h: remove !NEW_INSETS cruft
16619 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16621 * Lsstream.h: include LString.h before the sstream headers to
16622 fix problem with gcc 2.95.3 and lyxstring
16624 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16626 * lyx_main.C: add using directives when needed for C functions
16627 declared in std:: namespace.
16629 2001-04-27 Juergen Vigna <jug@sad.it>
16631 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16632 (SetHeightOfRow): comment out the update call should not be needed!
16634 2001-04-13 Juergen Vigna <jug@sad.it>
16636 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16637 (LyXTabular): tried to minimize operator= operations (and realized
16638 hopfully Lars wish).
16640 2001-04-27 Juergen Vigna <jug@sad.it>
16642 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16644 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16646 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16648 * buffer.C (readInset): hack to make listof algorithm work
16650 * BufferView_pimpl.C: hack to make listof algorithm work
16652 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16654 * LyXAction.C: removed all !NEW_INSETS cruft
16655 (init): moved lfun_item in method
16657 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16659 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16661 * BufferView2.C (theLockingInset): white space.
16663 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16665 * minibuffer.C: include <iostream>
16667 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16669 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16671 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16673 * text.[Ch] (TransposeChars): new method
16675 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16677 * call message directly through LyXView instead of through LyXFunc
16678 * BufferView2.C: adjust
16679 * BufferView_pimpl.C: adjust
16680 * FontLoader.C: adjust
16682 * bufferview_funcs.C: adjust
16683 * converter.C: adjust
16684 * figureForm.C: adjust
16685 * importer.C: adjust
16687 * lyx_gui_misc.C: adjust
16688 * lyxfunc.C: adjust
16691 + more files in subdirs
16693 * lyxparagraph.h (size): move up int file
16696 * adjust all uses of Assert to lyx::Assert.
16698 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16699 lyxfunctional in namespace lyx
16700 * layout.C (hasLayout): ditto
16703 (delete_layout): ditto
16704 (NumberOfClass): ditto
16705 * converter.C (GetFormat): ditto
16710 * bufferlist.C (getFileNames): ditto
16711 (emergencyWriteAll): ditto
16714 * MenuBackend.C (hasSubmenu): ditto
16717 * BufferView_pimpl.C (getInsetByCode): ditto
16719 2001-04-18 Juergen Vigna <jug@sad.it>
16721 * vspace.C (asLatexString): fixed the 100% problem.
16723 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16725 * lyxfunc.C (Dispatch):
16727 * minibuffer.h: add a few std:: qualifiers
16729 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16731 * minibuffer.[Ch]: reimplement so that commands is initiated and
16732 run from lyxfunc, simplified som handling, and made the completion
16733 and history code for complete. wip.
16735 * lyxfunc.C (processKeySym): call message
16736 (miniDispatch): new temporary method
16737 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16738 (LFUN_MESSAGE): implement
16739 (LFUN_MESSAGE_PUSH): implement
16740 (LFUN_MESSAGE_POP): implement
16741 (initMiniBuffer): the initial/defualt minibuffer message.
16743 * lyxfont.[Ch]: inline some more getters
16745 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16747 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16749 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16750 (AutoSave): use LFUN_MESSAGE
16751 (Reconfigure): ditto
16753 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16755 * figureForm.C: use LFUN_MESSAGE
16757 * converter.C (runLaTeX): use LFUN_MESSAGE
16759 * bufferview_funcs.C: use LFUN_MESSAGE
16761 (changeDepth): ditto
16763 * bufferparams.h: use boost::
16765 * bufferlist.h: inherit privately from noncopyable
16767 * bufferlist.C (loadLyXFile): remove some commented code.
16769 * buffer.C (runChktex): use LFUN_MESSAGE
16771 * ShareContainer.h: inherit privately from noncopyable
16773 * ParagraphParameters.[hC] (depth): inline it.
16775 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16777 (message): new method
16778 (messagePush): ditto
16779 (messagePop): ditto
16780 (show): init minibuffer
16781 (showState): direct call
16783 * LaTeX.[Ch]: inherit privately from noncopyable
16784 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16785 instead of WriteStatus.
16787 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16789 * BufferView_pimpl.C (buffer): don't init minibuffer
16790 (workAreaButtonPress): use LFUN_MESSAGE
16791 (workAreaButtonRelease): ditto
16792 (savePosition): ditto
16793 (restorePosition): ditto
16794 (MenuInsertLyXFile): ditto
16795 (workAreaExpose): don't init minibuffer
16796 (update): remove commented code, simplify
16798 * BufferView2.C (openStuff): use LFUN_MESSAGE
16799 (toggleFloat): ditto
16802 (copyEnvironment): ditto
16803 (pasteEnvironment): ditto
16808 (updateInset): remove some commented code
16810 * lastfiles.h: inherit privately from noncopyable
16813 * lyx_main.h: ditto
16815 * lyxlex_pimpl.h: ditto
16817 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16818 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16819 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16821 * LyXAction.h: inherit privately from noncopyable, add methods
16822 func_begin, func_end, returning iterators to the func map.
16824 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16825 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16826 (func_begin): new method
16827 (func_end): new method
16829 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16831 (copySelection): ditto
16832 (pasteSelection): ditto
16834 * BufferView.C: whitespace change
16835 * BufferView.h: inherit privately from noncopyable
16837 2001-04-16 Allan Rae <rae@lyx.org>
16839 * tabular-old.C (l_getline):
16840 * spellchecker.C (sc_check_word):
16841 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16842 an unrecognised preprocessor directive. So ensure they're wrapped.
16844 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16846 * src/exporter.C (Export): Give an error message when path to file
16849 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16851 * LaTeX.C (deplog): Always check that foundfile exists.
16853 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16856 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16858 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16860 * tabular.[Ch] (getLabelList): implement new method
16862 * minibuffer.h: comment ouf setTiimer
16864 * minibuffer.C (ExecutingCB): constify res
16865 (peek_event): constify s
16866 (Set): constify ntext
16867 (Init): constify nicename
16869 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16871 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16872 (savePosition): use two params to Minibuffer::Set
16873 (restorePosition): ditto
16875 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16877 * lyx_main.C: include language.h
16879 * Makefile.am (lyx_main.o): add language.h
16881 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16887 * CutAndPaste.C: include gettext.h
16889 * lyxfont.h: remove old hack with ON and OFF.
16892 * lyxfont.h: do not include language.h...
16897 * bufferview_funcs.C:
16903 * paragraph.C: ... but do it here instead
16905 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16907 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16909 * tabular.C: small reformat
16911 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16914 (BreakParagraph): ditto
16915 (SetOnlyLayout): ditto
16918 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16921 * lastfiles.C: removed most using decl, add std:: where needed
16923 * buffer.C: ws changes
16925 * MenuBackend.C (class compare_format): put into anon namespace
16926 (expand): constify label, names, action, action2
16929 * text.C (SingleWidth): constify font
16930 (IsBoundary): constify rtl2
16931 (GetVisibleRow): constify ww
16933 * LaTeX.C (deplog): constify logfile
16935 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16937 (workAreaExpose): constify widthChange, heightChange
16939 * lyxrow.C (par): moved
16942 * lyxrow.h: as inlines here
16944 * lyxfont.h (shape): moved from lyxfont.C
16945 (emph): moved from lyxfont.C
16947 * lyxfont.C (LyXFont): use initialization list for all
16949 (shape): move to lyxfont.h as inline
16950 (emph): move to lyxfont.h as inline
16953 2001-04-04 Juergen Vigna <jug@sad.it>
16955 * vspace.C: had to include stdio.h for use of sscanf
16957 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16960 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16961 independent of xforms.
16963 2001-04-02 Juergen Vigna <jug@sad.it>
16965 * spellchecker.C: fixed namespace placing!
16967 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16969 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16970 the LyXParagraph * is 0.
16972 2001-03-29 Juergen Vigna <jug@sad.it>
16974 * vspace.C: added support for %, c%, p%, l%.
16975 (stringFromUnit): added helper function.
16976 (asLatexString): changed to give right results for the %-values.
16978 * buffer.C: convert the widthp in a width%.
16980 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16982 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16985 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16986 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16988 * lyx_cb.[Ch]: see above.
16990 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16994 * lyx.[Ch]: replaced by figure_form.[Ch].
16998 * lyxfunc.C: changed headers associated with above changes.
17000 2001-03-27 Juergen Vigna <jug@sad.it>
17002 * BufferView_pimpl.C: set the temporary cursor right!
17004 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17006 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17008 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17010 * LString.h: removed "using std::getline"!
17012 * BufferView_pimpl.C (Dispatch): changes due to changes in
17013 InsetInclude::Params.
17015 * buffer.C (tag_name): removed redundant break statements as they were
17016 producing lots of warnings with my compiler.
17018 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17020 * LString.h: add "using std::getline" when using the real <string>.
17022 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17024 * buffer.C: removed bitset usage.
17025 PAR_TAG moved to an anonymous name space.
17026 (tag_name): new funtion, also in the anonymous namespace.
17027 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17028 (makeDocBookFile): clean code. Completed transition from string arrays
17030 (SimpleDocBookOnePar): code clean.
17032 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17034 * tabular.C: add some comments.
17036 2001-03-22 Juergen Vigna <jug@sad.it>
17038 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17039 compatibility read a bit and fixed bug with minipage in different
17042 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17044 * buffer.C (pop_tag): removed.
17045 (push_tag): removed.
17046 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17047 array replaced with vector. Added support for CDATA sections.
17048 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17050 (makeDocBookFile): XML conformant declaration of CDATA section,
17051 fixed bug related to <emphasis> in the first paragraph char.
17052 (sgmlOpenTag): exclude empty tags.
17053 (sgmlCloseTag): ditto.
17055 * buffer.h (pop_tag): removed.
17056 (push_tag): removed.
17058 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17060 * language.h (Languages): added size_type and size().
17062 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17064 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17065 response on compability reading of minipages. One probliem is that
17066 the old usage of minipages was «flertydig»
17068 * several files here and in subdirs: don't use static at file
17069 scope use anon namespaces instead.
17071 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17073 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17074 LaTeX output. This is necessary for Literate document
17077 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17079 * buffer.C: insert hfill when needed.
17081 * tabular.C (l_getline): use string::erase, small whitespace change.
17083 * BufferView_pimpl.C: try the anon namespace.
17084 * WorkArea.C: ditto
17086 2001-03-16 Juergen Vigna <jug@sad.it>
17088 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17089 otherwise it won't open options-dialogs.
17091 * buffer.C: honor pextraWidth(p) on converting minipages.
17093 * tabular.C (l_getline): changed the functions to strip trailing \r.
17095 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17097 * BufferView_pimpl.C:
17098 * minibuffer..C: added "using SigC::slot" declaration.
17100 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17102 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17108 * paragraph.C: ditto
17110 * lyxtext.h: NO_PEXTRA
17112 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17114 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17115 * ParameterStruct.h: ditto
17116 * ParagraphParameters.h: ditto
17117 * lyxparagraph.h: ditto
17119 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17121 * buffer.C: add compability for minipage alignment.
17122 (latexParagraphs): remove unwanted pextra check.
17124 * several files: remove CXX_WORKING_NAMESPACES
17126 * buffer.C (pop_tag): tie is in namespace boost
17128 * BufferView.h: noncopyable is in namespace boost
17130 * lyx_main.h: ditto
17133 * lastfiles.h: ditto
17134 * bufferlist.h: ditto
17135 * ShareContainer.h: ditto
17137 * LyXAction.h: ditto
17140 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17142 * Merging changes from BRANCH_MVC back into HEAD.
17144 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17146 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17148 * BufferView_pimpl.C: change from intl.C
17152 * Makefile.am: move combox.*
17158 * intl.C: remove dialog (covered by prefs)
17160 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17162 * lyxfunc.C (Dispatch): removed redundant break statement.
17164 2001-03-14 Juergen Vigna <jug@sad.it>
17166 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17168 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17170 * buffer.C: add hack to fix compability reading of minipages.
17172 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17174 * buffer.C (getLists): Cleanup.
17176 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17178 * lyxfont.C (update): don't honor toggleall on font size.
17180 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17184 * Makefile.am: moved to frontends/xforms/
17188 * BufferView_pimpl.C: changes for moved mathpanel
17190 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17192 * gettext.h: fix gettext_init() in --disable-nls
17194 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17196 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17198 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17201 * lyx.h: strip external form
17203 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17205 * BufferView_pimpl.C: add comment, destroySplash()
17207 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17209 * BufferView_pimpl.C:
17213 * lyxfunc.C: use re-worked insetinclude
17215 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17217 * buffer.C: add using std::stringstream.
17219 * lyx_cb.C: readd using std::ios.
17221 * buffer.C: add using std::map.
17223 * BufferView_pimpl.C: add using std::vector.
17225 * ShareContainer.h: add std:: to swap.
17227 * buffer.h: add some typedefs
17228 * buffer.C (getLists): use them
17229 (getLists): renamed from getTocList.
17230 add a counter for the different float types and use it in the
17232 (getLists): use the same counter for the NEW_INSETS and the "non"
17235 * lyx_cb.h: remove unused items, includes, using etc.
17237 * ShareContainer.h: remove some commented code, add more comments
17238 and "documentation".
17240 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17242 * buffer.C (getTocList): make the list also when NEW_INSETS is
17245 * buffer.h: remove TocType
17247 * buffer.C (getTocList): change to return a map<string,
17248 vector<TocItem> >, implement for dynamic number of list.
17250 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17251 * text2.C (PasteSelection): adjust
17252 * CutAndPaste.C (pasteSelection): adjust
17254 * FloatList.C (FloatList): update from the new_insets branch.
17255 * Floating.[Ch]: ditto
17256 * LaTeXFeatures.C: ditto
17258 * lyxlex_pimpl.C: ditto
17260 * paragraph.C (Last): remove when NEW_INSETS is defined.
17262 * other file: changes because of the above.
17264 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17266 * lyxparagraph.h: rename next to next_, previous to previous_,
17267 make them private for NEW_INSETS. Rename Next() to next(),
17268 Previous() to previous().
17270 * other files: changes because of the above.
17272 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17275 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17278 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17280 * main.C (main): pass lyx_localedir to gettext_init().
17282 * gettext.h: remove locale_init and gettext_init macros
17284 * gettext.C (locale_init): new function
17285 (gettext_init): new function
17287 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17290 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17292 * Moved credits to frontends:
17293 * credits.[Ch]: removed
17294 * credits_form.[Ch]: removed
17295 * lyx_gui_misc.C: remove credits stuff
17298 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17300 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17302 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17303 unneeded destructor.
17305 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17306 a standalone pointer again.
17308 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17310 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17316 * ToolbarDefaults.C:
17325 * BufferView_pimpl.C: use new file dialog in GUII
17328 * lyx_cb.C: remove LayoutsCB to Toolbar
17330 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17332 * ShareContainer.h (get): add std:: qualifier
17334 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17336 * ShareContainer.h: define a proper ShareContainer::value_type
17337 type (and use typename to please compaq cxx)
17339 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17341 * lyxparagraph.h: move serveral local vars to
17342 ParameterStruct/ParagraphParameters., use ShareContainer in
17343 FontTable., make vars in FontTable private and add getter and
17346 * paragraph.C: changes because of the above.
17348 * lyxfont.h: remove copy constructor and copy assignment. (the
17349 default ones is ok), move number inside FontBits. move inlines to
17352 * lyxfont.C: add number to initializaton of statics, move several
17353 inlines here. constify several local vars. some whitespace
17354 cleanup. Dont hide outerscope variables.
17356 * Spacing.h: add two new constructors to match the set methods.
17358 * ShareContainer.h: new file, will perhaps be moved to support
17360 * ParameterStruct.h: new file
17362 * ParagraphParameters.h: new file
17364 * ParagraphParameters.C: new file
17366 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17367 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17369 * BufferView_pimpl.C: ParagraphParameter changes.
17370 * buffer.C: Likewise.
17371 * bufferview_funcs.C: Likewise.
17372 * text.C: Likewise.
17373 * text2.C: Likewise.
17375 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17377 * lyxfind.C (LyXReplace): do not redefine default argument in
17379 (IsStringInText): ditto
17380 (SearchForward): ditto
17381 (SearchBackward): ditto
17383 2001-03-06 Juergen Vigna <jug@sad.it>
17385 * lyxfind.C (IsStringInText): put parentes around expressions.
17387 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17389 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17391 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17393 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17395 * stl_string_fwd.h: add comment
17397 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17400 * tabular.C: remove unused DocBook methods
17406 killed DO_USE_DEFAULT_LANGUAGE
17408 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17410 * lyx_gui.C: do not include language.h.
17412 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17413 arguments in function implementation.
17415 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17417 * BufferView_pimpl.C: add <ctime>
17419 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17421 * BufferView_pimpl.C: add using std::find_if
17423 2001-02-27 José Matos <jamatos@fep.up.pt>
17425 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17428 2001-02-11 José Matos <jamatos@fep.up.pt>
17430 * buffer.C (makeDocBookFile): command styles now have a parameter as
17431 "title" by default.
17433 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17435 * layout_forms.[Ch]: removed
17436 * lyx_cb.[Ch]: out character
17437 * lyx_gui.C: out character
17438 * lyx_gui_misc.C: out character
17439 * bufferview_funcs.C: : out character,
17440 added toggleall as parameter in ToggleAndShow
17442 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17444 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17446 * text2.C (SetCurrentFont): Disable number property at boundary.
17448 2001-02-26 Juergen Vigna <jug@sad.it>
17450 * lyxfunc.C (getStatus): added a string argument override function so
17451 that this is correctly called from LyXFunc::Dispatch if it contains a
17452 do_not_use_argument which is used!
17453 (Dispatch): added check for "custom" export and call appropriate func.
17455 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17457 * lyxrc.C: Add language_command_local, language_use_babel and
17458 language_global_options.
17460 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17462 * buffer.C (makeLaTeXFile): Use language_use_babel and
17463 language_global_options.
17465 2001-02-23 Juergen Vigna <jug@sad.it>
17467 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17468 which works with LyXText and putted it inside BufferView. Here now we
17469 only call for that part the BufferView::Dispatch() function.
17471 * BufferView.C (Dispatch): added.
17473 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17474 functions which needs to use a LyXText over from LyXFunc.
17475 (MenuInsertLyXFile): added
17476 (getInsetByCode): added
17477 (moveCursorUpdate): added
17478 (static TEXT): added
17480 2001-02-22 Juergen Vigna <jug@sad.it>
17482 * BufferView_pimpl.C (update): call a status update to see if LyXText
17485 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17487 * vc-backend.C (revert): implement for CVS
17488 (getLog): implement for CVS
17490 2001-02-20 Juergen Vigna <jug@sad.it>
17492 * text2.C (ClearSelection): added BufferView param for inset_owner call
17494 * lyxfunc.C (TEXT): added this function and use it instead of
17495 directly owner->view()-text of getLyXText().
17497 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17499 * src/layout_forms.C: out preamble
17500 * src/layout_forms.h: out preamble
17501 * src/lyx_cb.C: out preamble
17502 * src/lyx_cb.h: out preamble
17503 * src/lyx_gui.C: out preamble
17504 * src/lyx_gui_misc.C: out preamble
17505 * src/lyxfunc.C: connect with guii preamble
17507 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17509 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17511 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17513 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17514 whether to run bibtex.
17516 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17518 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17520 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17522 * Makefile.am (lyx_SOURCES): removed bibforms.h
17524 * vspace.h: doxygen
17526 * text.C (GetVisibleRow): make several local vars const
17528 * tabular.C: small cleanup.
17530 * lyxserver.C (callback): use compare instead of strncmp
17532 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17533 inlines to after class or to paragraph.C
17535 * lyxfont.h: remove friend operator!=
17537 * converter.h: move friend bool operator< to non friend and after
17540 * combox.h: small cleanup
17542 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17543 to inlines after class def.
17545 * buffer.C (pop_tag): use string operations instead of strcmp
17547 * bmtable.c: doxygen, small cleanup
17549 * LaTeX.h: remove friend operator==
17551 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17563 * BufferView_pimpl.C:
17564 * BufferView.[Ch]: remove cruft
17566 2001-02-14 Juergen Vigna <jug@sad.it>
17568 * lyxfunc.C: removed #if 0 unused code
17570 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17572 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17574 * text2.C (SetSelection): added a BufferView * parameter
17576 2001-02-13 Juergen Vigna <jug@sad.it>
17578 * lyxfunc.C (Dispatch): fixed protected blank problem.
17579 * BufferView2.C (protectedBlank): added LyxText * parameter.
17581 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17582 (AppendColumn): same as above for column_info.
17584 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17585 (moveCursorUpdate): use a LyXText param for support of InsetText.
17587 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17588 (tripleClick): ditto
17590 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17592 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17594 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17596 * text2.C (SetSelection): set correct update status if inset_owner
17597 (ToggleFree): ditto
17599 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17601 * tabular.C: remove some commented code.
17603 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17605 * BufferView_pimpl.C: call hideSplash()
17607 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17610 * bibforms.h: remove
17613 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17614 add LFUN_CHILD_CREATE
17616 * counters.h: fix tiny typo
17621 * lyx.C: move splash to frontends/xforms/
17623 * lyx_gui_misc.C: move Include and Bibform to frontends
17625 * lyxvc.h: clarify comment
17627 * vspace.C: tiny housekeeping
17629 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17631 * text.C (PrepareToPrint): RTL Fix.
17633 * paragraph.C (GetUChar): New method.
17634 (String): Use GetUChar.
17636 * buffer.C (asciiParagraph): Use GetUChar.
17638 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17640 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17642 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17645 * buffer.C: rename to getLogName(), handle
17646 build log / latex log nicely
17648 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17651 * MenuBackend.h: remove support for reference menuitem type.
17653 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17655 * BufferView_pimpl.C: housekeeping
17656 * BufferView_pimpl.h:
17661 * minibuffer.h: move Timeout GUI-I
17663 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17665 * lyxrc.C (read): Update converters data-structures.
17667 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17669 * LaTeX.h (operator!=): add operator != for Aux_Info
17671 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17673 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17675 * LaTeXLog.C: deleted, useful code moved to Buffer
17678 * buffer.C: new function getLatexLogName()
17684 * lyxfunc.C: use frontends for LaTeX and VC logs
17686 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17688 * LaTeX.h: yet another std:: that Allan forgot.
17690 * Variables.C (set): renamed from isset(), because this clashes
17691 with some HP-UX macros (grr).
17693 2001-02-06 Allan Rae <rae@lyx.org>
17695 * LaTeX.h: Another bug fix. Missing std:: this time.
17697 2001-02-04 Allan Rae <rae@lyx.org>
17699 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17700 floats problem. I've left it commented out because it's not quite
17701 correct. It should also test that the current object is a table or
17702 figure inset. But I haven't gotten around to figuring out how to do
17703 that. I *think* it'll be something like: "table" == inset.type()
17705 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17708 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17710 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17711 all the citation/databases/styles in the auxilary file.
17712 (run): Rerun latex if there was a babel language error.
17714 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17716 * text.C (Backspace): Preserve the font when changing newline char
17718 (BreakParagraph): If the cursor is before a space, delete the space.
17720 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17722 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17724 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17725 new argument (code).
17726 (ChangeCitationsIfUnique): New method.
17728 * paragraph.C (GetPositionOfInset): Handle bibkey.
17730 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17732 * BufferView_pimpl.h: change type of Position::par_pos to
17733 LyXParagraph::size_type.
17735 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17737 * BufferView_pimpl.C (savePosition, restorePosition): Write
17738 messages to minibuffer.
17740 2001-01-28 José Matos <jamatos@fep.up.pt>
17742 * buffer.C (makeDocBookFile): adds support for document language.
17743 A silly restriction on the name of LatexCommand types where removed.
17744 Added support for CDATA sections, allows to chars unescaped, used
17745 among others in code, to avoid escape < and >.
17747 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17749 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17750 saved positions instrad of a stack. Furthermore, a position is
17751 stored using paragraph id/paragraph position.
17753 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17754 Remove LFUN_REF_BACK.
17756 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17758 * converter.C (dvipdfm_options): New method.
17760 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17762 * vspace.C (isValidLength): Fix for empty input string.
17764 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17766 * LyXAction.C (init): change description of LFUN_FIGURE to
17769 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17771 * LaTeX.C: add using directive
17773 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17775 * MenuBackend.C (expand): Fix the sorting of the formats.
17777 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17779 * lyx_main.C: tiny error message fix
17781 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17783 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17784 calling fl_initialize(). This fixes the problem with ',' as
17785 decimal separator in text files.
17787 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17789 * trans.C (process): Fix the keymap bug.
17791 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17793 * LaTeX.C (scanAuxFiles): New method. Provides support for
17794 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17795 (scanLogFile) Scan for "run BibTeX" messages.
17797 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17798 OT1 font encoding. Also, load the aecompl package if the ae
17801 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17803 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17805 * texrow.C (increasePos): turn two error messages into debug
17808 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17810 * LaTeX.C (scanAux): Handle the \@input macro.
17811 (runBibTeX): Use scanAux().
17813 * language.C (latex_options_): New field.
17815 * LaTeXFeatures.C (getMacros): Add language macros.
17817 * buffer.C (makeLaTeXFile): Small fix.
17819 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17821 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17823 * text2.C: add a using directive.
17825 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17830 * lyxfunc.C: kill LyXBell.
17832 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17834 * text.C (IsBoundary): Remove the error message
17836 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17838 * lyxrc.C (setDefaults): Correct initialization value for
17841 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17843 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17846 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17847 and GotoNextNote().
17849 * src/LyXAction.C: Added reference-next.
17851 * text.C (InsertChar): Use contains instead of strchr.
17853 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17855 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17857 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17858 alignment commands (when needed).
17860 * text.C (InsertChar): Add ':' to number separator chars.