1 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * BufferView_pimpl.C (update): dampen some of the debug blabbering
4 * factory.C (readInset): ditto
5 * text.C, text2.C: ditto
7 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * buffer.C: format incremented to 242. There is no file format per
10 se, but the "frenchb" language has been removed from lib/language
11 and has to be translated to "french" by lyx2lyx.
13 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * cursor_slice.h, dociterator.h: add some documentation
16 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
18 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
20 * text.C (leftMargin): do not add identation to display() style
21 insets, because they are always centered (bug 1293).
23 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
26 formatted_time methods in support/lyxtime.
28 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
30 * toc.[Ch]: new method getGuiName, which is used by the frontends
31 to set the toc combo (fixes bug 1870). Make TOC string translatable.
33 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
35 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
36 StableDocIterator const &)
37 * undo.C (recordUndo): use the above instead of cell.size() comparison
38 (fixes bug 1808; instructed by André).
40 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
43 * dociterator.h: Fix the assert when copying rows/cols in math
45 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
49 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
51 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
52 (findInset): new functions, refactored from goto Inset that return
53 the position of a certain inset without setting the buffer's cursor
55 (gotoInset): rewrite to call findInset and then set the cursor
58 2005-06-16 Angus Leeming <leeming@lyx.org>
60 * lyxrc.C (output, read): wrap all input and output of paths with
61 calls to os::internal_path and os::external_path, respectively.
62 (output): wrap bind_file inside quotes.
64 * format.C (view): enable the viewer to use the '$$s' placeholder.
66 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
68 * LColor.[Ch] (getFromLaTeXName): new
70 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
72 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
74 2005-06-14 Angus Leeming <leeming@lyx.org>
76 * lyx_main.C (init): ensure that the LyX binary dir is the first
77 element in the PATH on non-POSIX builds.
79 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
81 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
83 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * rowpainter.C (paintInset, paintHebrewComposeChar)
86 (paintArabicComposeChar, paintChars): add a LyXFont argument.
87 (paintChars): use getFontSpan to reduce calls to getFont to a
88 minimum; use Paragraph::lookupChange instead of isXXXText.
89 (paintForeignMark): rename LyXFont argument.
90 (paintFromPos): pass a LyXFont object to the various paintXXX
93 * FontIterator.C (FontIterator, operator++): use
94 Paragraph::getFontSpan
96 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
97 version that returns the font span as a pair.
99 2005-06-09 Angus Leeming <leeming@lyx.org>
101 * converter.C (convert): Don't forget "outfile = real_outfile" as
102 the final step in a conversion where the input and output file names
103 are the same. Otherwise, future conversion steps won't work...
105 2005-06-09 Angus Leeming <leeming@lyx.org>
107 * lyxsocket.C: remove stub code as it isn't needed by
108 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
110 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
112 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
113 effectively disabled -x
115 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
117 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
118 when it actually makes sense.
120 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
122 * BufferView_pimpl.C: revert to showCursor in connection with
123 Lars's front-end stack
125 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
127 * text.C (redoParagraph): move cursor right after a bibitem
130 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
132 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * buffer_funcs.C (bufferErrors): fix computation of the end of an
137 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
139 * BufferView.[Ch] (update):
140 * BufferView_pimpl.[Ch] (update, metrics):
141 * dimension.h (operator==):
142 * lyxfunc.C (dispatch):
143 * metricsinfo.h (ViewMetricsInfo):
144 * rowpainter.C (paintText):
146 * text.C (redoParagraph):
147 * text3.C (dispatch): Make LyX only repaint current paragraph in
148 case of character insert --> speedup. Also fix cursor draw
151 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
154 avoid a crash (bug 1891)
156 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
160 * text2.C (getStringToIndex): constify cur argument.
162 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
163 argument has been given
164 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
165 try to invoke LFUN_INSET_APPLY).
167 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
168 if no inset was created by doInsertInset
169 (doInsertInset): return true if an inset has been inserted.
171 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
173 * vspace.C (asGUIName): new method. A version of the space
174 suitable for showing on screen.
176 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
179 * lyxrc.C: rename "ASCII" to "Plain Text"
181 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * buffer_funcs.C (expandLabel): take a Buffer as argument;
184 translate the labelstring.
185 (setCounter): translate labelstring as needed.
187 * output_docbook.C (makeCommand): fix expandLabel invokation
189 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
191 * BufferView.C: fix dialog title
193 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * lyx_main.C (priv_exec): fix logic error with help from Angus
196 * lyx_main.C (parse_execute): set is_gui = false and remove now
197 obsolete comment about a segfault
199 2005-05-18 Angus Leeming <leeming@lyx.org>
201 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
203 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
205 * tabular.[hC]: added setCellInset to fix tabular paste.
207 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
209 * buffer.C (save): check if destination is writable before trying
212 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
214 * BufferView_pimpl.C (update): fix processEvents -caused update
217 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
219 * buffer_funcs.C (setCounter): fix test for numbering of
222 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
223 depth correctly; use optional argument when it exists
225 * lyxtextclass.C: remove unused MaxCounterTags enum
226 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
227 (max_toclevel, min_toclevel): new methods.
229 * MenuBackend.C (expandToc2): fix case where depth is smaller than
230 the smallest depth in toc.
232 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
233 layouts that should not appear in a table of contents.
235 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * cursor.h (undispatched, noUpdate): add comments from André
239 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
243 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
245 2005-05-07 André Pönitz <poenitz@gmx.net>
247 * cursor.[Ch] (leaveInset): new function
249 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
253 2005-05-04 Angus Leeming <leeming@lyx.org>
255 * lyxfunc.C (getStatus): disable the spell checker dialog if
256 none of USE_[AIP]SPELL are defined.
258 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
260 * tabular.C (setWidthOfCell): remove obsolete comment
262 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
264 * paragraph.C (bibitem):
265 * buffer_funcs.C (setCounter):
266 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
268 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
270 * text3.C (getStatus): immediately return after setOnOff
272 * rowpainter.C: fix drawing of appendix start
274 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
276 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
277 SwitchBetweenClasses and remove the unused return value.
278 Handle character styles, too
280 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
282 * factory.C (createInset): handle undefined character styles
284 2005-05-02 Angus Leeming <leeming@lyx.org>
286 * buffer.C: protect the #include of utime.h with a preprocessor
289 2005-05-02 Angus Leeming <leeming@lyx.org>
291 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
292 function so that auto-saving works, albeit in a blocking manner.
294 * Makefile.am: make compilation of the client sub directory, of
295 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
296 on conditionals set at configure time.
298 * SpellBase.[Ch]: no longer an abstract base class. Instead,
299 it can be compiled in its own right but has no-op functionality.
301 * aspell.C, pspell.C: remove preprocessor guards. The files should
302 be compiled only if the necessary functionality exists.
304 * lyxserver.C, lyxsocket.C: disable on Windows.
306 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
308 * text.C (leftMargin): Fix the parindent use bug (1764)
311 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
313 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
316 2005-04-25 Angus Leeming <leeming@lyx.org>
324 include <config.h> in .C files, not .h ones.
326 protect headers inside preprocessor guards.
328 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
330 * FuncStatus.h (StatusCodes): document
332 2005-04-21 André Pönitz <poenitz@gmx.net>
334 * FuncStatus.h (enabled, onoff): document
336 2005-04-19 Angus Leeming <leeming@lyx.org>
338 * BufferView_pimpl.C (cursorToggle): no longer test whether
339 any child processes have been reaped before calling
340 handleCompletedProcesses().
342 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
344 * text3.C (dispatch): fix, finally fix, the language problem in
345 new lyxtexts, without disabling on-the-fly font changes (Helge's
348 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
350 * text3.C (dispatch): set cursor on double/triple click events
353 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
355 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
356 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
358 * rowpainter.C (paintFirst): simplify the code a little bit. In
359 particular, remove the test for secnumdepth.
360 * text.C (setHeightOfRow): only allocate space for chapter number
361 when updateCounters provided an actual label, instead of looking
362 at secnumdepth directly.
364 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
366 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
367 paragraphs when secnumdepth is large enough or, for environments,
368 when they are not the first in a sequence.
370 2005-04-17 Angus Leeming <leeming@lyx.org>
372 * buffer.C (makeLaTeXFile): replace code to manipulate a path
373 containing space and '~' characters with a call to latex_path().
375 2005-04-17 Angus Leeming <leeming@lyx.org>
377 * converter.C (convert): protect all args of convertDefault.sh
380 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * text3.C (dispatch): change the layout to "Caption" after inserting
385 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
387 * text3.C (dispatch): fix language problem in newly created
388 textinsets (and main text) in non-english docs
390 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
392 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
393 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
394 * text3.C (getStatus): disable LFUN_INSET_MODIFY
396 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
401 * rowpainter.C (getFont): Fix metrics bug introduced by inset
404 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
407 output of \item arguments without trailing text.
409 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * FontIterator.C (operator*): avoid a copy of the font.
413 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
415 * rowpainter.C (getFont): fix language bug from previous fix
417 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
419 * rowpainter.C (RowPainter, getFont): fix font inside inset
422 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
424 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
425 preventing inserted font, deco, delim insets jumping to start of
428 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
430 * lyxfunc.C (dispatch): translate message before sending it to the
433 2005-03-29 Angus Leeming <leeming@lyx.org>
435 * lyx_main.C (priv_exec): call os::internal_path on each file passed
436 to LyX on the command line.
438 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
440 * vc-backend.C: use QuoteName to protect file names wherever
443 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
446 * BranchList.h: fix bugs 1844,1845: document settings don't
449 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
451 * lyxrc.C (setDefaults, read, output, getDescription): add support
452 for tex_allows_spaces.
454 * exporter.C (Export): allows files in directory containing spaces
455 if tex_allows_spaces is true.
457 * buffer.C (makeLaTeXFile): if the document path contains spaces,
458 output it in double quotes.
460 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
462 * rowpainter.C: use default text height for drawing change tracker
465 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
467 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
469 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
472 directory is missing.
474 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
476 * text2.C: fixed the fix, extended to other case.
478 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
480 * text2.C: fix for cursor up/down stuck in math [bug 1792]
482 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
484 * text2.C (cursorUp): get rid of a crash
485 * text.C (x2pos): add an assert
487 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * lyxfunc.C (getStatus): fix warning when assertions are disabled
493 * dociterator.C: include <boost/current_function.hpp>, which is
494 needed when assertions are disabled.
496 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
498 * text2.C: fix for stuck cursor when traversing two
499 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
501 2005-02-25 Andreas Vox <avox@arcor.de>
503 * output_docbook.C (makeParagraph): suppress trailing newline
504 after a run of paragraphs
506 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
508 * paragraph.C: fix for confused change tracker when pasting
509 text that begins with a lineseparator. [bug 1827]
510 (setChange(0, Change::INSERTED);)
512 * paragraph_funcs.C: fix for lost changes on triple-paste
513 in change tracking mode [bug 1827] (par.setChange()).
515 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * text2.C (updateCounters, setCounter, expandLabel): move to
520 * buffer_funcs.C (updateCounters): turn into a free standing
521 function and add a buffer parameter. Remove dead code for tracking
523 (setCounter): change into a free-standing function which gets a
524 dociterator as argument. Use this iterator to fix captions in a
525 simple way. When no float is found above the caption, use the
526 labelstring of the caption layout as default.
528 * text.C (breakParagraph, backspace):
529 * text2.C (init, setLayout, changeDepth):
530 * text3.C (dispatch):
531 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
534 * dociterator.C (forwardPar): make it much faster by calling
535 forwardPos() only when really necessary.
537 * output_docbook.C (makeCommand): adapt to expandLabel move.
539 * cursor.C: remove unused variable
541 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
543 * paragraph_funcs.C: fix crash when pasting insets in change
544 tracking mode [bug 1277] (honour change type in moveItem).
546 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
548 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
550 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * BufferView.C (setCursor): change to use a DocIterator.
553 (gotoLabel): use BufferView::setCursor (other part of bug 781).
554 (putSelectionAt): adapt to BufferView::setCursor change.
556 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
557 moved here from LyXText and rewritten to use proper cursor
558 methods. Fixes bug 1787, 616 and 835.
560 * BufferView_pimpl.C (restorePosition): set the cursor correctly
561 when inside an inset (part of bug 781).
562 (dispatch): adapt to change of BufferView::setCursor.
563 (getStatus, dispatch): handle LFUN_GOTOERROR,
564 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
566 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
567 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
568 * text3.C (gotoNextInset, gotoInset): removed.
570 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
574 2005-02-15 Angus Leeming <leeming@lyx.org>
576 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
577 can be used meaningfully in a comparison.
579 2005-02-13 André Pönitz <poenitz@gmx.net>
581 * bufferview_funcs.C (coordOffset): improve cursor drawing
583 2005-02-13 André Pönitz <poenitz@gmx.net>
585 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
586 * Cursor.C (dispatch): use fixIfBroken
587 * lyxfunc.C (getStatus): use fixIfBroken
589 2005-02-15 Angus Leeming <leeming@lyx.org>
591 * lyx_main.C (error_handler):
593 * lyxrc.C (setDefaults):
595 #include "environment.h".
597 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
599 2005-02-15 Angus Leeming <leeming@lyx.org>
601 * lyxserver.C (startPipe): squash MSVC warning "local variable
602 'fd' used without having been initialized".
604 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
606 * BufferView_pimpl.C: revert accidental commit.
608 2005-02-14 André Pönitz <poenitz@gmx.net>
610 * dociterator.[Ch]: new member forwardPosNoDescent(),
611 which doesn't enter nested insets.
612 * text2.C (setFont): use forwardPosNoDescent() instead
613 of ForwardPos() (fixes crash on font change).
615 2005-02-13 Angus Leeming <leeming@lyx.org>
617 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
618 only if lyxrc.path_prefix is not empty.
620 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
622 * bufferparams.C (readGraphicsDriver): prevent crash
624 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
626 * text2.C (setCounter): check for inInset() == 0
628 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
630 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
631 but use update() to get correct screen display; use convert
632 instead of istringstream.
633 (getStatus): handle LFUN_GOTO_PARAGRAPH
635 * lyxfunc.C (dispatch, getStatus): do not handle
636 LFUN_GOTO_PARAGRAPH here.
638 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
640 * text3.C (dispatch): size() -> depth()
642 * text2.C: remove some debug output
644 * paragraph.C: ws changes only
646 * lyxfunc.C (getStatus): size() -> depth()
648 * dociterator.h (clear, push_back, pop_back, internalData,
649 operator[], resize, empty): new functions
650 Make StableDocIterator and operator== be friends. Don't inherit
651 from std::vector use a privat class variable slices_ instead.
654 * dociterator.C: update because of not inheriting from std::vector
655 anymore. Call explictly to slices_ instead. Use depth() instead of
656 size() and top() instead of back()
658 * cursor.C: chagne size() -> depth and back() -> top(). Also
659 remove some direct operator[](i) calls in favour of foo[i]
660 (getFont): remove some dead code
662 * bufferview_funcs.C (coordOffset): size() -> depth()
664 * buffer.C: ws changes only
666 * CutAndPaste.C (eraseSelection): back() -> top()
668 * BufferView_pimpl.C (selectionRequested): back() -> top()
670 * BufferView.C (setCursor): size() -> depth()
672 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
674 * text3.C (cursorPrevious): return true if depm changed something
676 (dispatch): rename sl to oldTopSlice, remove moving use the new
677 NoUpdate func attrib instead. Make sure that needsUpdate is set
678 for function that have NoUpdate, but where depm might have changed
681 * text2.C (cursorLeft): make us return true if depm changed
684 (cursorUpParagraph): ditto
685 (curosrDownParagraph): ditto
686 (cursorUp, cursorDown): ditto, make sure to read comments in code
687 (deleteEmptyParagraphMechanism): remove an assert, also return
688 true if just a single char was deleted.
690 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
691 cursor that we modify, to avoid modifying an active cursor before
692 we call setCursor. This allows depm to run. Also return true if
693 depm deleted something.
695 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
696 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
697 cursorDownParagraph, cursorPrevious and cursorNext, return true if
698 something was changed in the buffer because of them (ie. depm run)
700 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
701 debug messages. Make update by default be false. Make sure that
702 the result of update is retained throught several calls down to
705 * LyXAction.h: add a new func_attrib: NoUpdate
707 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
708 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
709 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
711 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
713 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
716 bv_->owner(), bv_->buffer() by direct references to the private
718 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
719 (getStatus): isSavedPosition() is in BufferView::Pimpl.
720 (fitCursor): center() is in BufferView::Pimpl.
721 (getStatus, trackChanges, dispatch): no need for a temporary buf
723 (fitCursor, workAreaDispatch): use workarea().workheight()
725 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * CutAndPaste.C (pasteSelectionHelper): fix a crash
729 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
731 * buffer.C: format up to 241.
732 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
733 break if pasting into ERT
734 * lyxfunc.C (getStatus): suppress mathpanel and
735 LFUN_DIALOG_SHOW_NEW_INSET in ERT
737 2005-02-01 Angus Leeming <leeming@lyx.org>
739 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
741 2005-02-01 Angus Leeming <leeming@lyx.org>
743 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
744 calling fs::is_directory().
746 2005-01-31 Angus Leeming <leeming@lyx.org>
748 * lyx_main.C (priv_exec): specify explicitly the relative location
749 of the top level build directory when run in-place.
751 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
753 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
754 LyXText containing the cursor, not the top-level one.
756 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
758 (insertStringAsLines): rename par to pit; use temporary variable
759 par to hold a Paragraph; do not store par.layout() in a variable,
760 since the pointer may die when breaking paragraphs; pass pars to
761 breakParagraph() instead of Buffer::paragraphs().
763 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
765 * lyxlex_pimpl.h: #include <fstream>.
767 * BufferView.[Ch] (getLyXText): add a const version.
769 * BufferView_pimpl.C: add debug aids.
774 * paragraph_funcs.h: add commentary explaining what the class does.
777 * coordcache.[Ch]: add lots of commentary.
778 (startUpdating, doneUpdating): debug aids.
779 (arrays, insets, parPos, getParPos): accessors to private data.
781 * cursor_slice.[Ch] (text): add a const version.
782 * dociterator.[Ch] (text, innerText): add const versions.
784 * lyxtext.h (breakParagraph): change the keep_layout arg to a
787 * paragraph.C (getRow, pos2ros): add asserts.
789 * paragraph.h: add commentary. Lots of.
791 * paragraph.[Ch] (metrucs, draw): removed.
794 * rowpainter.[Ch]: const-correct changes.
796 * text.C: various obvious clean-ups. Removal of ancient cruft.
799 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
801 * vc-backend.C (find_file): rewrite to use boost.filesystem
804 * main.C (main): set default name check for boost.filesystem to
807 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
810 (actOnUpdatedPrefs): ditto
812 * lyx_main.C (init): rewrite to use boost.filesystem
813 (queryUserLyXDir): ditto
815 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
816 (getContentsOfAsciiFile): ditto
818 * lastfiles.C (readFile): rewrite to use boost.filesystem
820 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
822 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
825 * buffer.C (Buffer): adjust for destroydir
826 (getLogName): rewrite to use boost.filesystem
828 (save): use fs::copy_file (from fs_extras)
830 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
832 * LaTeX.C (run): rewrite to use boost.filesystem
833 (scanAuxFiles): ditto
834 (handleFoundFile): ditto
836 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
838 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
840 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
842 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
844 * lyxlayout.[Ch]: change some vars from float to double
846 * buffer.C (readFile): make a local var const
848 * Several files: use convert<> instead of atoi,strToXXX and friends
850 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
852 * LaTeXFeatures.[Ch]: Add a static list packages_ that
853 holds the contents of packages.lst. New functions getAvailable
854 and isAvailable to parse and check that list, resp.
858 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
860 * bufferparams.[Ch]: new param output_changes.
862 * Buffer.C: increase file format to 240.
863 Use output_changes and isVailable.
867 * paragraph_pimpl.C: Use output_changes and isVailable.
869 2005-01-23 Angus Leeming <leeming@lyx.org>
871 * output_latex.C: #include "insetbibitem.h", rather than
872 forward declare function bibitemWidest.
874 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
876 * lyx_main.C (init): make it compile on the Mac.
878 2005-01-20 Angus Leeming <leeming@lyx.org>
880 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
881 (setLyXMisc): (char string literal) != (char string literal) is
882 performing a comparison on the addresses. Convert one operand
883 explicitly to string to guarantee expected behaviour.
886 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
889 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
891 * output_plaintext.C: remove unneeded #include gzstream.h.
893 2005-01-20 Angus Leeming <leeming@lyx.org>
895 * SpellBase.h: rename some of the elements of the Result enum.
902 * pspell.C (check): ditto
904 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
906 * buffer.C: add #include <fstream>.
908 * lyx_main.C (init): Compile fix.
910 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
912 2005-01-20 Angus Leeming <leeming@lyx.org>
914 * mover.h: change commentary to reflect the changed meaning of
917 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * output_linuxdoc.C (linuxdocParagraphs): silence warning
921 * lyxfind.C (MatchString::operator()): remove bogus semicolon
923 2005-01-20 Angus Leeming <leeming@lyx.org>
925 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
926 printing diagnostic data by not dereferecing an iterator past the
929 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
931 * buffer.C (readHeader): use "&&" rather than "and".
933 * lyxserver.h (inPipeName, outPipeName): make these const.
935 2005-01-19 Angus Leeming <leeming@lyx.org>
937 * lyx_main.C (error_handler, init): protect SIGHUP with
938 #ifdef SIGHUP guards.
940 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
942 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
944 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * text.C (setHeightOfRow): add a margin at the top and bottom of
947 the document (bug 1761)
949 2005-01-17 Angus Leeming <leeming@lyx.org>
951 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
952 with "python ". Workaround for a brain-dead Windows.
954 2005-01-16 Angus Leeming <leeming@lyx.org>
956 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
957 for MacOSX and Windows to use prependEnvPath.
958 Strip out the hard-coded block to add elements to the PATH for
959 MacOSX and replace it with a call to prependEnvPath using the
960 contents of LyXRC::path_prefix.
961 (queryUserLyXDir): strip out the code to run reconfigure, instead
962 returning a boolean indicating the necessity to do so.
963 (reconfigureUserLyXDir): contains the code to reconfigure the
964 user support directory. Is now called after the various LyXRC data
965 files have been read.
967 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
969 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
971 * converter.[Ch] (convert): take a new parameter try_default. Use
972 a default converter (imagemagick) if try_default is true.
974 2005-01-13 Angus Leeming <leeming@lyx.org>
976 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
978 (write): output LyXRC::cygwin_path_fix as necessary.
980 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
983 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
985 2005-01-12 Angus Leeming <leeming@lyx.org>
987 * lyx_main.C (init): set the PATH variable to include the
988 directory containing the LyX binary when running on Mac or Windows.
990 2005-01-12 Angus Leeming <leeming@lyx.org>
992 * lyx_main.C (init): remove cruft that purports to set the locale
993 dir. It doesn't and is not needed anyway.
995 2005-01-10 Angus Leeming <leeming@lyx.org>
997 * Makefile.am: remove the lyx_main.C special casing.
999 * BufferView_pimpl.C:
1005 * messages.C: use support/package.h to provide the paths to the
1006 various directories used by LyX.
1008 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1010 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1011 layout if pasting into an empty paragraph)
1013 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1015 * tex-accent.C: add <string>
1017 2005-01-06 José Matos <jamatos@lyx.org>
1019 * ParagraphParameters.C (write): put every parameter in its own line.
1020 * paragraph.C (write): reduce number of consecutive empty lines exported.
1021 * buffer.C (LYX_FORMAT): increase file format to 239.
1023 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1025 * everywhere: change support/tostr.h -> support/convert.h
1027 * tabular.C: make all write_attributes templates, tostr -> convert
1029 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1030 (emptyTag): and -> &&, and fix type for ret from getChar
1031 (getFirstWord): fix type for ret from getChar
1032 (onlyText): and -> &&
1033 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1036 * toc.C (goTo, action):
1037 * text3.C (dispatch):
1038 * text.C (currentState):
1039 * tex-accent.C (DoAccent):
1042 * lyxfunc.C (menuNew):
1043 * lyxfinc.C (replace):
1044 * counters.C (laberItem):
1045 * bufferview_funcs.C (font2string):
1046 * bufferparams.C (writeFile):
1047 * buffer.C (readFile):
1049 * MenuBackend.C: tostr -> convert
1051 * LaTeX.C (runMessage): fix format
1052 (scanAuxFiles): tostr -> convert
1054 * BufferView_pimpl.C (savePosition): fix format
1055 (restorePosition): ditto
1058 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1060 * Spacing.[Ch]: New method getValueAsString().
1064 * ParagraphParameters.C:
1067 * text3.C: store/read spacing value as string.
1069 * rowpainter.C: change float value (spacing_val) to double.
1071 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1072 broken custom document spacing).
1074 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1076 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1077 namespace, also more use of temp references and const
1079 * cursor.[Ch] (getStatus): move to lyxfunc.C
1081 * bufferparams.C: reformat slightly
1083 * bufferview_funcs.C (font2string): constify arg
1089 * buffer_funcs.C: (many funcs): constify arg on function
1090 definitions, also make more local vars const, also add ASSERTS on
1093 * buffer.C (LYX_FORMAT): put const in correct place
1094 (many funcs): constify arg on function definitions, also make
1095 more local vars const
1097 * aspell_local.h: remove "struct" from typdef setup
1099 * aspell.C (check): make word_ok const
1100 (nextMiss): simplify slightly
1103 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1105 * lyxrc.[Ch]: store all float values as strings.
1106 use int (not float) for lyxrc.dpi.
1108 2005-01-04 Angus Leeming <leeming@lyx.org>
1110 * lyx_cb.C (Reconfigure):
1111 * lyx_main.C (queryUserLyXDir):
1112 to run the <system_lyxdir>/configure correctly on Windows, prefix
1113 the path to the script with "sh " when generating the string that
1114 is passed to system().
1116 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1118 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1120 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1122 * lyxlength.C (asLatexString): get rid of setprecision
1124 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1126 * text2.C (setLayout): remove unused variable endpit.
1127 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1129 * paragraph.C (onlyText): remove unused variable style.
1131 * cursor.C (bruteFind): remove unused variables beg and end.
1133 * Makefile.am (dist_noinset_DATA): not needed anymore
1135 * cheaders/*: remove.
1137 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1139 * text3.C: fix LFUN_MATH_MODE.
1141 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 * buffer_funcs.C (countWords): new function. Counts words between
1146 * BufferView_pimpl.C (getStatus, dispatch): handle
1149 * LyXAction.C (init):
1150 * lfuns.h: add LFUN_WORDS_COUNT.
1152 2004-12-19 Angus Leeming <leeming@lyx.org>
1154 * buffer.C (save): s/slashify_path/internal_path/.
1156 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1158 * lyxfind.C (findChange): do not search for end of pars, because
1159 the change tracker cannot handle this (fixes bug 1719).
1161 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1163 * paragraph.[Ch] (autoBreakRows): remove
1165 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1167 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1168 avoid using the paragraph one
1170 * text2.C (LyXText, insertStringAsLines): adjust
1172 2004-12-16 Angus Leeming <leeming@lyx.org>
1176 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1178 2004-12-14 Angus Leeming <leeming@lyx.org>
1180 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1182 * bufferlist.C (emergencyWrite):
1183 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1186 2004-12-14 Angus Leeming <leeming@lyx.org>
1188 * main.C: (main): no longer pass pointers to os::init.
1190 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1192 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1193 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1195 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1198 * text3.C: remove selection_possible global flag
1200 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1202 * text2.C (getSelectionSpan): remove
1203 (changeDepth, changeDepthAllowed): adjust
1205 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1207 * Makefile.am (BOOST_LIBS): use boost variables
1209 2004-12-03 José Matos <jamatos@lyx.org>
1211 * buffer.C: format up to 238.
1213 2004-12-03 José Matos <jamatos@lyx.org>
1215 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1217 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1219 * cursor.C (goUpDown): remove call to idxUpDown2
1221 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1223 * tabular.[Ch]: use size_t-like types for cell, row and column
1226 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * lyxfunc.C (getStatus): do not lose previous information when
1229 calling BufferView::getStatus; do not set a default "Command
1230 disabled" message at the beginning, but just before returning.
1232 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1234 * cursor.h (getStatus): add better comment from src/cursor.C
1236 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1238 * text3.C (getStatus): return false when the lfun is not handled
1240 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1242 * broken_headers.h: remove
1244 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1246 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1248 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1249 offset_ref accessors
1251 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1252 top_y_, merge fitcursor with update
1253 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1255 (metrics): introduce
1256 (workAreaDispatch): adapt to new coord scheme
1257 (redoCurrentBuffer): remove
1259 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1261 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1264 * coordcache.[Ch]: add paragraph cache and helpers
1266 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1269 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1270 (targetX, setTargetX): introduce
1272 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1273 baseline -> ascent, as the rest of lyx
1275 * lyxtext.h: remove redoParagraphs, updateParPositions,
1276 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1277 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1278 have ascent/descent (ascent is ascent of first par)
1280 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1283 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1285 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1287 * pariterator.C: fix infinite loop introduced in par->pit renaming
1289 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1290 in insets and LyXText, draw two off-screen paragraphs using
1291 NullPainter, and adapt to new coord scheme
1295 * text3.C: adapt lfun handlers to the new coord scheme, which
1296 means: there's only guaranteed coord information for onscreen pars
1297 plus one above and one below. This implies that one can do search
1298 from y coordinates in the range [-1,workHeight]
1300 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1302 * rename a lot of InsetOld to InsetBase
1304 2004-11-25 Angus Leeming <leeming@lyx.org>
1306 * BufferView_pimpl.C:
1308 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1310 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1312 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1313 call BufferView::getStatus if LCursor::getStatus did nothing
1314 (setStatusMessage, getStatusMessage): removed.
1316 * FuncStatus.C (message): new methods. Used to provide an error
1317 message indicating why a command is disabled.
1318 (clear, |=, FuncStatus): update for message.
1320 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1322 * lyxfunc.C (dispatch): always call sendDispatchMessage
1324 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1327 * BufferView_pimpl.C:
1332 * cursor_slice.[Ch]:
1335 * paragraph_funcs.C:
1341 * undo.C: par->pit renaming
1343 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1345 * tabular.C (cellstruct): use initialization, store a shared_ptr
1346 to insettext instead of the insettext directly, adjust to fit.
1347 (operator=): new function
1348 (swap): new function
1349 (rowstruct): use initialization
1350 (columnstruct): use initialization
1351 (ltType): use initialization
1354 * lyxlength.h (swap): new function
1356 * LColor.[Ch] (operator=): use the common semantics
1358 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1360 * lyxfind.C (findNextChange): update the bufferview after setting
1363 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1365 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1366 number of InsetOptArgs has already been inserted.
1368 * output_latex.C (latexOptArgInsets): new method. This outputs all
1369 the optarg insets, up to the limit defined in the layout file.
1370 (optArgInset): removed
1371 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1373 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1375 * paragraph.C (isLetter): remove special spellchecker-related
1376 code; return true also for digits
1377 (isWord, isKomma): remove
1379 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1380 * lyxfind.C (MatchString()): use isLetter instead of isWord
1382 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1384 * pariterator.h (operatir=): comment out un-implemented member
1387 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1390 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1392 * lyxfont.h: include LColor.h to satisfy concept checks.
1394 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1396 * pariterator.h: add typdefs for value_type, difference_type,
1397 pointer and reference to satisfy concept checks. Also add default
1398 constructor for same reason.
1400 * pariterator.C (operator++): add post-increment operator to
1401 satisfy concept checks.
1403 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1406 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1408 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1409 checks. Also rename base_type to BaseType to follow naming
1412 * FloatList.h: include Floating.h to satisfy concept checks.
1414 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1416 * lyxfunc.C (getStatus): when the origin of the request is menu or
1417 toolbar, and the LyXView does not have focus, do as if there was
1418 no buffer (bug 1720)
1420 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1421 FuncRequest to individual entries of LFUN_SEQUENCE
1423 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1425 * output_latex.C (TeXOnePar): override runparams.moving_arg
1426 according to the needprotect value of the current paragraph (bug
1429 * paragraph.C (simpleTeXOnePar): no need to override
1430 runparams.moving_args here
1432 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1434 * vspace.C: fix off-by-one-error, related to fix #1682
1436 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1438 * lengthcommon.C: a more general fix for bug 1682
1440 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1442 * text.C (backspace): fix crash
1444 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1446 * format.[Ch] (getFormatFromFile): new method
1447 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1449 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1451 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1453 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1455 * lyxfunc.C (dispatch): remove the verbose argument
1456 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1459 * kbmap.C (defkey): set the origin of func to KEYBOARD
1461 * MenuBackend.C (MenuItem):
1462 * ToolbarBackend.C (add): set the origin of func to UI
1464 * funcrequest.[Ch]: add origin member, which indicates which part
1465 of LyX requests an action
1467 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1469 * converter.C (move): don't lie in the error message
1470 * converter.h (isReachable, move): document
1472 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1474 * buffer.C: remove unused using lyx::support::atoi
1475 * paragraph_funcs.C: ditto
1477 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1479 * bufferlist.C (exists): use bind and equal_to instead of
1482 * lyxtextclasslist.C (NumberOfClass): ditto
1484 * cursor.C (insert): use for_each instead of explicit for loop
1486 * bufferlist.C (getFileNames): use std::transform and
1487 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1489 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1492 * buffer.C (changeLanguage): use for_each instead of explicit for
1494 (hasParWithID): implement using getParFromID
1496 * LaTeXFeatures.C: ws change only
1498 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1501 * BufferView_pimpl.C (trackChanges): use for_each instead of
1504 2004-11-04 André Pönitz <poenitz@gmx.net>
1507 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1509 * dociterator.C (asDocIterator): use hard assert again.
1511 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1513 * lyxlength.C (asLatexString): rewrite so that it does not use
1516 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1518 * text3.C (specialChar, dispatch): make sure cursor moves to the
1519 right after inserting an inset
1521 2004-11-02 José Matos <jamatos@lyx.org>
1523 * output_docbook.C (docbook):
1524 * paragraph.C (getID):
1525 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1526 garantee that the output is always legal.
1528 * tabular.C (docbook):
1529 * outputprams.[Ch]: remove mixed contents.
1531 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1533 * text2.C (setCounter): prevent endless loop
1535 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1537 * exporter.C (copyFile): use the mover instead of support::copy()
1538 * exporter.C (Export): pass format and latex name to copyFile()
1539 * exporter.h (addExternalFile): document
1540 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1542 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1544 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1546 2004-10-30 José Matos <jamatos@lyx.org>
1548 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1549 text and no inset or font change. This allows to use CDATA
1550 sections just for the whole paragraph.
1552 2004-10-30 José Matos <jamatos@lyx.org>
1554 * paragraph.C (getFirstWord): remove unused variable.
1556 2004-10-30 José Matos <jamatos@lyx.org>
1558 * paragraph.C (getFirstWord): the content should always be escaped
1560 (simpleDocBookOnePar):
1561 * output_docbook.C (makeEnvironment): replace reference to CDATA
1564 2004-10-30 José Matos <jamatos@lyx.org>
1566 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1568 2004-10-30 José Matos <jamatos@lyx.org>
1570 * output_docbook.C (makeParagraphs):
1571 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1572 standard paragraph has only a given type of content drop the wrapper.
1574 2004-10-29 José Matos <jamatos@lyx.org>
1576 * output_docbook.C (makeEnvironment):
1578 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1580 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1582 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1583 (cleanID): sanitize any id.
1585 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1587 * buffer.C, lyxlex_pimpl.C:
1588 * lyxlex_pimpl.C (setFile):
1589 s/getExtFromContents/getFormatFromContents/
1591 2004-10-28 José Matos <jamatos@lyx.org>
1593 * output_docbook.C (makeEnvironment): move id to broadest possible
1596 * sgml.C (openTag): apply substitution of <> for all attributes.
1598 2004-10-28 José Matos <jamatos@lyx.org>
1600 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1601 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1602 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1604 * sgml.[Ch]: new version for open and closeTag for paragraph and
1605 for strings. Now they handle the ids of paragraphs.
1607 2004-10-26 Angus Leeming <leeming@lyx.org>
1609 * Makefile.am: add mover.[Ch].
1611 * converter.C (convert, move): use the new Movers to move external
1612 files to the temp directory.
1614 * lyx_main.C (init): ensure that the global system_movers data
1617 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1620 * mover.[Ch]: new files, defining a Mover as a utility to move an
1621 external file between directories and, if necessary, manipulate this
1622 file using a helper script.
1624 2004-10-25 José Matos <jamatos@lyx.org>
1626 * output_docbook.C (makeCommand): merge two if's that tested the
1629 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1631 * sgml.C (escapeString): fix warning in a better way
1633 2004-10-25 José Matos <jamatos@lyx.org>
1635 * sgml.C (escapeString): import the require boosts header file for
1636 tie, and avoid a signed unsigned comparison.
1638 2004-10-25 José Matos <jamatos@lyx.org>
1640 * sgml.h: add #include <string>
1642 2004-10-25 José Matos <jamatos@lyx.org>
1644 * sgml.[Ch] (escapeString): new function to escape all the string.
1646 2004-10-24 José Matos <jamatos@lyx.org>
1648 * paragraph.[Ch] (getFirstWord): new function to get the first
1649 word. Useful for description.
1650 (simpleDocBookOnePar): remove depth argument, add another that
1651 says where to start the paragraph.
1653 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1654 use the new functions to fix cleanly the support for descriptions.
1656 2004-10-24 José Matos <jamatos@lyx.org>
1658 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1659 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1660 * output_linuxdoc.C (linuxdocParagraphs):
1661 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1662 add buffer as argument.
1664 2004-10-24 José Matos <jamatos@lyx.org>
1666 * output_docbook.C (makeEnvironment, searchEnvironment): place
1667 CDATA inside paragraphs and fix scope for listitems.
1669 2004-10-24 José Matos <jamatos@lyx.org>
1671 * output_docbook.C: remove using statement for stack.
1673 2004-10-23 José Matos <jamatos@lyx.org>
1675 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1676 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1677 docbook. The new scheme is recursive and makes use of iterators, the
1678 same as latex export works.
1679 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1680 directly with the paragraph contents. This code was moved up to
1681 output_docbook.C (docbookParagraphs).
1682 * sgml.C (openTag, closeTag): removed unneeded newlines.
1683 (closeEnvTags) removed.
1685 2004-10-23 André Pönitz <poenitz@gmx.net>
1687 * undo.C (textUndoOrRedo):
1688 * dociterator.C (asDocIterator): work around crash
1690 * cursor.C (getStatus): replace ASSERT by more verbose error message
1691 and manual correction of the problem. Should increase stability
1692 while providing more sensible information.
1694 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1698 * bufferlist.C (previous, next): new methods
1701 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1703 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1705 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1706 entities to preamble.
1708 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1710 * messages.C (Pimpl): strip off translation context information
1712 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1714 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1715 the cursor is correct (bug 1694)
1717 2004-10-13 José Matos <jamatos@lyx.org>
1719 * output_docbook.C (docbookParagraphs): fix closing tags in the
1720 end of the document.
1722 2004-10-09 José Matos <jamatos@lyx.org>
1724 * buffer.C: format up to 237.
1725 * bufferparams.C (write): use tostr to convert booleans to strings.
1727 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1729 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1731 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1733 * LaTeX.C: implement use of babel language in xindy.
1735 2004-10-05 José Matos <jamatos@lyx.org>
1737 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1738 Add new translators to help reading and writing the lyx file.
1740 2004-10-05 José Matos <jamatos@lyx.org>
1742 * ParagraphParameters.C (read):
1743 * text.C (readParToken): replace nexToken by more appropriate lex
1746 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1748 * LaTeX.C (runMakeIndex):
1749 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1750 (usually 'makeindex') configurable.
1752 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1753 with a variable rather than with a number.
1755 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1757 * output_latex.C (TeXOnePar): make sure font setting is the first
1758 thing that gets output (and the last at the end). Should fix bug
1761 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1763 * pch.h: use proper signal include
1765 * LaTeX.h: Use preferred calling of Boost.Signal
1768 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1770 * pch.h: dont include <boost/function/function0.hpp>
1772 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1774 * paragraph_pimpl.h: remove usage of ShareContainer
1776 * paragraph_pimpl.C: remove initialization of ShareContainer.
1778 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1782 * BufferView.C (putSelectionAt): change the semantics when
1783 backwards == true: now, this just swaps cursor and anchor wrt the
1786 * BufferView.h (putSelectionAt): add some documentation
1788 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1789 make sure backwardChar is done at least once (to avoid getting
1791 (findNextChange): use putSelectionAt in the forward direction
1792 (operator()): use Paragraph::isWord
1794 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1796 * Spacing.C (set): c_str fix
1798 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1800 * lyx_cb.C (Reconfigure): quote the name of configure script in
1801 case it contains spaces
1803 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1807 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1808 (BOOST_LIBS): use top_buildir when looking for the file
1810 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1812 * pch.h: do not use include boost/format.hpp, multiple symbols
1813 will result (gcc bug)
1816 2004-08-23 José Matos <jamatos@lyx.org>
1818 * bufferparams.C (readToken): fix reading of the author field.
1820 2004-08-20 José Matos <jamatos@lyx.org>
1822 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1824 2004-08-20 José Matos <jamatos@lyx.org>
1826 * lyxlex.[Ch] (findToken): remove function.
1828 * ParagraphParameters.C (findToken):
1829 * bufferparams.C (findToken): replace call for previous function
1830 with local copy. This local function has one more argument, the
1831 read string argument.
1833 2004-08-16 José Matos <jamatos@lyx.org>
1835 * ParagraphParameters.C (write):
1836 * Spacing.C (writeFile):
1837 * bufferparams.C (writeLaTeX):
1838 * lyx_cb.C (Reconfigure):
1839 * paragraph.C (write):
1840 * tabular.C (write): remove unnecessary space at end of line.
1843 2004-08-16 José Matos <jamatos@lyx.org>
1845 * text.C (readParagraph): remove debug message.
1847 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1849 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1852 * output_plaintext.C (asciiParagraph): set depth correctly
1854 * outputparams.h: add member depth
1856 * paragraph_funcs.C (ownerPar): remove.
1858 * text2.C (setCounter): remove first_pit; comment out some
1859 non-working code that uses ownerPar
1861 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1864 2004-08-16 José Matos <jamatos@lyx.org>
1866 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1867 For the same level of importance use the same chanel to report problems.
1868 (read): add code to deal with \begin_body and \end_body.
1871 2004-08-15 José Matos <jamatos@lyx.org>
1873 * lyxlex.C (getString): fix comment, buffer::readBody is now
1874 buffer:readDocument.
1876 * tex-strings.C (string_papersize): Default -> default,
1877 Custom -> custom, for consistency with other options.
1879 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1883 * Makefile.am: support pch
1885 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1887 * text.C (readParToken): remove the static LyXFont variable and
1888 pass it as a parameter instead. This fixes a nasty bug where an
1889 inset will be inserted with a bad font in some situations
1890 (readParagraph): adapt
1892 * text2.C (setCounter): reduce number of calls to pars_[pit]
1894 * text.C (singleWidth): add an assert, fix a test
1896 * rowpainter.C (paintText): reduce number of calls to singleWidth
1898 * paragraph.C (isHfill):
1899 (isNewline): ws only
1901 2004-08-14 André Pönitz <poenitz@gmx.net>
1906 * lyxtext.h (several functions): use a Paragraph & argument
1909 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1911 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1913 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1915 * text.C (singleWidth): remove useless test
1917 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1919 * tabular.h: remove bogus comments
1921 * tabular.C (getDescentOfRow):
1922 (isPartOfMultiColumn): add assertions
1924 * lyxlength.C (inPixels): remove #warning
1926 2004-08-14 André Pönitz <poenitz@gmx.net>
1928 * paragraph.h: inline getChar()
1930 * BufferView.h: remove unused declarations
1932 2004-08-14 José Matos <jamatos@lyx.org>
1934 * Buffer.[Ch] (readDocument): new name for old readBody.
1935 * Buffer.C: new file format, new keywords: \begin_document,
1936 \begin_header, \begin_body, \end_body.
1938 * bufferparams.C (readToken): replace all calls to lex.nextToken
1939 by lex.next(). Do the same to eatLine except where really needed.
1941 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1942 line when writing to the lyx file.
1944 * output_plaintext.C (asciiParagraph): fix Bibliography style
1947 * text.C (read): fix end of file handling.
1949 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1951 * MenuBackend.C (Menu::operator[]): new method to access
1952 individual menu items
1953 (Menu::hasFunc): new method. search for an item that corresponds
1955 (MenuBackend::specialMenu): new method
1956 (MenuBackend::expand): if a special menu has been set, skip
1957 entries whose func() appears in this menu
1959 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1961 * text3.C: use Debug::DEBUG a bit more
1963 * text.C (leftMargin): try to simplify a tiny bit change var x to
1964 l_margin. Dont output the wide margins always.
1965 (rightMargin): no margin in inner texts
1967 * rowpainter.h (nestMargin): new func
1968 (changebarMargin): new func
1969 (rightMargin): new func
1971 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1975 * factory.C (createInset): modify setDrawFrame
1977 * cursor.C: use Debug::DEBUG a bit more
1979 2004-08-14 André Pönitz <poenitz@gmx.net>
1982 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1983 cache for all insets in (at least partially) visible (top-level)
1986 * BufferView_pimpl.C: reset external coord cache before every update.
1987 This means the coord cache only contains valid entries.
1989 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1992 * BufferView_pimpl.C (getInsetByCode): move function out of class
1993 and change in to a template in anon namespace. Also fix to do what
1996 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1999 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2001 (breakParagraph): rename par to par_offset and use a local
2002 reference. Add code to keep the language over a rebreak.
2003 (breakParagraphConservative): rename par to par_offset, use a
2005 (mergeParagraph): ditto
2007 (isFirstInSequence): ditto
2008 (outerFont): rename pit to par_offset
2010 * paragraph.C: ws change
2011 * paragraph.h: ditto
2015 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2017 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2020 * paragraph.C (simpleTeXOnePar): when we have a \item with
2021 optional argument, enclose the argument with curly brackets (in
2022 case it contains a closing square bracket)
2026 * text3.C (checkInsetHit): constify
2028 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2030 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2031 documents (bug 1629)
2033 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2035 Fix toggling of collapsable insets with the mouse (bug 1558)
2037 * lyxfunc.C (dispatch): adapt to LCursor changes
2039 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2040 make sure that dispatch is not invoked twice
2042 * cursor.C (needsUpdate): new method
2043 (dispatch): return void
2044 (result): new method, to access the DispatchResult of the cursor.
2046 2004-08-13 José Matos <jamatos@lyx.org>
2048 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2050 2004-08-13 André Pönitz <poenitz@gmx.net>
2052 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2054 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2057 2004-08-12 André Pönitz <poenitz@gmx.net>
2059 * text3.C: take out the 'cursor right' form insertInset and only
2060 do it in those places when it is really needed. Fixes crash on
2063 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2067 * BufferView_pimpl.C (setBuffer): initialize the current font of
2068 the underlying LyXText
2070 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2072 * kbsequence.C (print): use UI native formatting for menu
2075 * text.C (insertChar): call Paragraph::insertChar with a font
2078 * paragraph.C (insertInset, insertChar): the version that takes a
2079 LyXFont argument is now a wrapper around the other one (the
2080 opposite used to be true).
2082 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2083 argument. Font setting is done in Paragraph now.
2085 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * outputparams.h: add new members intitle and lang.
2089 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2090 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2092 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2094 * text3.C (dispatch): remove special handling of button 4 and 5,
2095 it is now taken care of in the frontend code.
2097 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2099 * Spacing.h: add <string> (STLPort compile fix)
2101 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2103 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2105 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2107 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2110 * converter.C (showMessage): inherit from unary_function, make
2113 * buffer.C (writeFile): initialize retval
2115 * InsetList.h: rename private variable list to list_
2116 * InsetList.[Ch]: adjust accordingly.
2118 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2120 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2121 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2122 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2123 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2124 * ParagraphParameters.C, LaTeXFeatures.C: replace
2125 "support/std_sstream.h" with <sstream>
2127 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2129 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2130 * lyxsocket.C (LyXServerSocket): ditto
2131 (serverCallback): ditto
2133 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2135 * LaTeXFeatures.C: check release date when loading jurabib.
2137 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2139 * lyxserver.C (startPipe): call register_socket_callback
2140 (endPipe): call unregister_socket_callback
2142 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2144 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2145 (LyXServerSocket): register the callback
2146 (LyXServerSocket): unregister the callback
2147 (fd): delete function
2148 (serverCallback): improve error checking and setup the callbacks.
2149 (dataCallback): change arg to fd.
2150 (writeln): new func (copied fro the client socket) used for server
2152 (LyXDataSocket): simplify
2153 (~LyXDataSocket): close ann unregiser callback
2154 (server): delete function
2155 (fd): delete function
2156 (readln): small changes, improve some std::string usage
2157 (writeln): constify a bit
2159 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2161 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2164 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2166 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2167 after it has been populated
2169 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2171 * text2.C (insertInset): move cursor when inserting inset.
2173 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2175 * kbmap.C (findbindings): a couple of new methods. returns a
2176 container of kb_sequence objects. The real work is done by the
2177 private recursive version
2178 (printbindings): uses findbindings to print out a bracketed list
2179 of bindings (renamed from findbinding).
2181 * MenuBackend.C (binding): use kb_keymap::findbindings
2183 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2185 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2187 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2189 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2191 * paragraph.C (isWord): return true on insets that report
2194 * text.C (getWord): use Paragraph::isWord to decide what is in a
2195 word and what is not; fix bug 1609.
2197 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2199 * tex-strings.C: add "none" to string_paperpackages[], fixes
2200 off-by-one-error in the paperpackage selection.
2203 * tex-strings.[Ch]: char const * string[n]
2204 -> char const * const string[]
2206 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2208 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2209 command, return early.
2211 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2213 * debug.h: add DEBUG to enum and fix size of ANY.
2215 * debug.C: add support for Debug::DEBUG
2216 (showTags): cast errorTags.level to unsigned int
2218 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2219 (redoCurrentBuffer): ditto
2220 (updateScrollbar): ditto
2221 * cursor.C (dispatch): ditto
2222 * text2.C (setLayout): ditto
2224 (updateCounters): ditto
2226 (deleteEmptyParagraphMechanism): ditto
2228 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2230 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2231 annotations to cleanup the Makefile slightly.
2233 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2235 * lyxrc.C: do not set user_email to a default value but use empty
2236 instead. The entry used to be translated, which does not work
2237 since at the point where lyxrc is constructed there is no
2238 translation service available
2240 * messages.C (getLocaleDir): remove and use directly
2241 lyx_localedir() instead
2243 2004-06-02 Angus Leeming <leeming@lyx.org>
2245 Fix crash caused by dereferencing null pointer 'exportdata' in
2246 OutputParams by creating a new ExportData variable on the heap,
2247 storing it in a boost::shared_ptr.
2248 The crash was triggered when generating an Instant Preview
2249 of an external inset.
2251 * Makefile.am: add outputparams.C
2253 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2254 (c-tor): allocate memory to it.
2256 * exporter.C (c-tor): associated changes.
2258 2004-06-01 Angus Leeming <leeming@lyx.org>
2260 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2261 contains data before calling isInset(0). (Bug 1513.)
2263 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2265 * exporter.C (checkOverwrite): new method
2266 * exporter.C (copyFile): new method
2267 * exporter.C (Export): copy referenced files to the document dir
2268 * exporter.[Ch]: new class ExportedFile
2269 * exporter.[Ch]: new class ExportData. Contains currently the
2270 names of referenced external files
2271 * outputparams.h: add exportdata member.
2273 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2275 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2278 2004-05-19 Angus Leeming <leeming@lyx.org>
2283 * lyxfunc.C: small changes due to the introduction of namespace
2284 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2286 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2288 * text3.C (dispatch): supress update when only moving the cursor
2289 * cursor.C (selHandle): remove commented code
2291 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2293 * paragraph.C (startTeXParParams): correct column count
2294 * CutAndPaste.C (pasteSelection): remove const_cast
2295 * output_docbook.C (docbookParagraphs): remove const_cast
2296 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2297 const_cast and return ParagraphList::const_iterator
2298 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2299 * output_plaintext.C (writeFileAscii): remove const_cast
2300 * paragraph.[Ch] (simpleTeXOnePar): make const
2301 * paragraph_funcs.C (outerPar): use const iterators
2302 * paragraph_pimpl.C (validate): use const iterators
2303 * text.C (setHeightOfRow): use const iterators
2305 2004-05-17 Angus Leeming <leeming@lyx.org>
2308 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2310 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2311 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2312 if the citation engine has changed.
2314 2004-05-14 José Matos <jamatos@lyx.org>
2316 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2317 if the textclass does not provide it. Have it different for sgml and
2319 support the language of document.
2320 * output_docbook.C (docbookParagraphs):
2321 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2322 first anchor as the id of the paragraph, remove special case code.
2323 * sgml.C (escapeChar): escape only < & >.
2325 2004-05-14 Angus Leeming <leeming@lyx.org>
2327 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2328 dependencies on src/frontends/controllers/biblio.h. Define a
2329 CiteEngine_enum wrapper class to enable the enum to be forward
2332 2004-05-12 Angus Leeming <leeming@lyx.org>
2334 * buffer.C: up LYX_FORMAT to 234.
2335 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2336 use_numerical_citations with a single biblio::CiteEngine cite_engine
2338 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2340 2004-05-13 José Matos <jamatos@lyx.org>
2343 * converter.C (Converter, readFlags): add xml member.
2344 * outputparams.h: add XML flavor.
2345 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2347 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * lyxfunc.C (dispatch):
2350 (getStatus): fix handling of LFUN_SEQUENCE
2352 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2354 * debug.C (showLevel): do not forget the end-of-line marker
2356 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2358 * kbmap.C (read): do not stop parsing a bind file when an error
2361 2004-04-29 Angus Leeming <leeming@lyx.org>
2366 * text2.C: wrap a bunch of #warning statements
2367 inside #ifdef WITH_WARNINGS blocks.
2369 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2371 * buffer.C: increment format to 233.
2373 2004-04-28 Angus Leeming <leeming@lyx.org>
2375 * BufferView_pimpl.C:
2378 s/updateToolbar()/updateToolbars()/
2379 s/Toolbar.h/Toolbars.h/
2381 2004-04-28 Angus Leeming <leeming@lyx.org>
2383 * BufferView.[Ch] (c-tor):
2384 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2385 No longer passes these data to the WorkArea generator.
2387 2004-04-28 Angus Leeming <leeming@lyx.org>
2389 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2391 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2393 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2395 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2397 * output_latex.C (TeXEnvironment): make sure that there is a line
2398 break before \end{foo} for the last paragraph of a document
2399 (TeXOnePar): if the paragraph is at the end of the document (or
2400 inset) and the language has to be reset, then make sure that the
2401 line break is _before_ the language command, not after (fixes bug
2402 1225); also make sure that the language reset command is the first
2403 thing after the paragraph (to ensure proper nesting of
2404 environments and thus fix bug 1404)
2406 2004-04-21 John Levon <levon@movementarian.org>
2409 * ToolbarBackend.C: make "name" be a programmatic name
2410 and a gui_name field.
2412 * lyxfunc.C: display the minibuffer on M-x
2414 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2416 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2419 2004-04-19 Angus Leeming <leeming@lyx.org>
2421 * BufferView_pimpl.C (setBuffer): changed preview interface.
2423 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2426 2004-04-19 John Levon <levon@movementarian.org>
2428 * BufferView_pimpl.C:
2429 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2431 2004-04-05 Angus Leeming <leeming@lyx.org>
2433 * text.C (redoParagraphs): add call to updateCounters(), thereby
2434 fixing the missing "Figure #:" label from the caption of a
2437 2004-04-13 Angus Leeming <leeming@lyx.org>
2439 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2440 cursor is clicked out of an inset.
2442 2004-04-13 Angus Leeming <leeming@lyx.org>
2444 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2445 than an InsetOld one.
2447 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2449 * format.[Ch]: add editor to Format
2450 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2451 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2453 2004-04-08 André Pönitz <poenitz@gmx.net>
2455 * metricsinfo.h: remove PainterInfo::width member
2457 2004-04-08 Angus Leeming <leeming@lyx.org>
2459 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2460 "\providecommand" rather than "\newcommand", thereby preventing
2461 clashes with packages that define "\boldsymbol" themselves.
2464 2004-04-08 Angus Leeming <leeming@lyx.org>
2466 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2467 thereby squashing an unnecessary warning.
2469 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2471 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2474 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2476 * BufferView.C (setCursor): call redoParagraph (some insets could
2478 (putSelectionAt): remove the 'double update' trick
2480 * BufferView_pimpl.C (fitCursor): call refreshPar
2481 (workAreaDispatch): remove an uneeded update call
2482 (dispatch): remove some manual update calls
2484 * cursor.[Ch]: remove cached_y_, updatePos
2485 (selHandle): set noUpdate when appropriate
2487 * lyxfunc.C (dispatch): track if we need an update
2489 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2491 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2492 (paintSelection): cheap optimization, do not call cursorX when not
2494 (paintPars): change signature
2497 (paintTextInset): adjust
2501 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2503 * lengthcommon.C: compilation fix: remove explicit array size from
2504 unit_name[] and friends
2506 2004-04-05 Angus Leeming <leeming@lyx.org>
2508 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2510 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2511 present only for the preferences dialog.
2512 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2514 2004-04-05 Angus Leeming <leeming@lyx.org>
2516 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2517 to enable the frontends to export changes to lyxrc correctly.
2519 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2521 2004-04-07 André Pönitz <poenitz@gmx.net>
2523 * cursor.[Ch] (selClear, adjust): remove math
2525 * cursor_slice.C: more agressive assert
2528 * BufferView_pimpl.C: rework mouse event dispatch
2535 2004-04-05 André Pönitz <poenitz@gmx.net>
2537 * cursor.[Ch] (valign, halign...): remove unneeded functions
2539 2004-04-05 Angus Leeming <leeming@lyx.org>
2541 * lyxlength.[Ch] (unit_name et al.): const-correct.
2543 2004-04-05 Angus Leeming <leeming@lyx.org>
2545 * BufferView_pimpl.C:
2554 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2556 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2558 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2560 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2562 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2563 * BufferView_pimpl.[Ch] (getStatus)
2564 * BufferView.[Ch] (getStatus): add
2565 * lyxfunc.C (getStatus): move lfuns handled in
2566 BufferView::dispatch to te function above
2567 * Cursor.C (setSelection): set selection() = true
2569 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2571 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2573 2004-03-31 Angus Leeming <leeming@lyx.org>
2575 * lyxfunc.C (dispatch): Fall through to the generic
2576 Dialogs::show("preamble").
2578 2004-03-31 Angus Leeming <leeming@lyx.org>
2580 * lyxfunc.C (dispatch): Fall through to the generic
2581 Dialogs::show("spellchecker").
2583 2004-03-31 Angus Leeming <leeming@lyx.org>
2585 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2588 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2593 * insetiterator.[Ch]:
2598 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2600 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2602 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2603 insets where we are putting the cursor.
2605 2004-03-31 Angus Leeming <leeming@lyx.org>
2608 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2610 * lyxrc.[Ch] (read, write): overloaded member functions taking
2611 a std::[io]stream arguments.
2613 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2615 2004-03-31 Angus Leeming <leeming@lyx.org>
2617 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2618 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2620 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2621 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2623 2004-03-31 Angus Leeming <leeming@lyx.org>
2625 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2626 the LFUN_ALL_INSETS_TOGGLE code.
2628 2004-03-30 Angus Leeming <leeming@lyx.org>
2630 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2631 has died. Fall through to the generic Dialogs::show("document").
2633 2004-03-30 Angus Leeming <leeming@lyx.org>
2636 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2637 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2639 * lyxfunc.C (getStatus, dispatch): define the actions for these
2640 lfuns. Little more than a cut and pste job from ControlDocument.C
2642 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2644 2004-03-30 Angus Leeming <leeming@lyx.org>
2647 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2648 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2650 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2651 open/closed state of ollapsable insets. Usage:
2653 all-inset-toggle <state> <name>, where
2654 <state> == "open" || "closed" || "toggle" and
2655 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2657 * lyxtext.h, text2.C (toggleInset): removed.
2659 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2660 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2661 now passes LFUN_INSET_TOGGLE to the found inset.
2663 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2664 is now invoked as "all-insets-toggle toggle branch".
2666 2004-03-30 Angus Leeming <leeming@lyx.org>
2670 * pariterator.[Ch]: added/corrected header blurb.
2672 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2674 * dociterator.[Ch]: add an inset_ member
2675 (backwardPos): implemented
2676 (backwardPos, forwardPos): use inset_ when the stack is empty.
2677 (doc_iterator_begin, doc_iterator_end): implemented
2678 * pariterator.[Ch]: adjust, add begin, end
2679 * insetiterator.[Ch]: adjust, add begin, end
2683 * BufferView_pimpl.C:
2684 * CutAndPaste.C: adjust
2686 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2688 * buffer.C: increment file format to 232.
2689 * LaTeXFeatures.C: add bibtopic package.
2690 * bufferparams.[Ch]: param \use_bibtopic.
2692 * lyxrc.[Ch]: add lyxrc bibtex_command
2693 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2695 * buffer.C: increment file format to 231.
2697 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2699 * dociterator.C: implement forwardPar
2700 * iterators.[Ch]: remove, replaced by
2701 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2703 * BufferView_pimpl.C:
2706 * bufferview_funcs.C:
2712 * Makefile.am: adjust
2714 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2716 * CutAndPaste.C (pasteSelection): fix 2 crashes
2717 (eraseSelection): fix a crash
2718 * paragraph_funcs.C: remove a warning
2720 2004-03-28 Angus Leeming <leeming@lyx.org>
2723 * LyXAction.C (init): new LFUN_PRINT.
2725 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2727 2004-03-27 Angus Leeming <leeming@lyx.org>
2730 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2732 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2734 2004-03-27 Angus Leeming <leeming@lyx.org>
2736 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2737 insetlist always contains non-null pointers to insets.
2739 2004-03-26 Angus Leeming <leeming@lyx.org>
2741 * src/BufferView_pimpl.C:
2742 * src/CutAndPaste.C:
2745 * src/output_plaintext.C:
2746 * src/outputparams.h:
2747 * src/paragraph_funcs.C:
2751 * src/frontends/controllers/ControlErrorList.C:
2752 * src/frontends/gtk/FileDialogPrivate.C:
2753 * src/frontends/gtk/GPainter.C:
2754 * src/frontends/gtk/GToolbar.C:
2755 * src/frontends/qt2/QRef.C:
2756 * src/mathed/math_scriptinset.C: squash compiler warnings.
2758 2004-03-26 Angus Leeming <leeming@lyx.org>
2760 * ispell.C (LaunchIspell::start):
2761 * lyx_cb.C (AutoSaveBuffer::start):
2762 invoke run(DontWait) rather than runNonBlocking().
2764 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2766 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2768 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2770 * kbsequence.C (print): adjust
2772 * kbmap.C (printKeySym): rename and change signature
2773 (printKey): use LyXKeySym::print()
2775 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2777 * undo.C: add using std::advance to compile for stlport
2779 2004-03-24 Angus Leeming <leeming@lyx.org>
2781 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2782 it leads to a crash when no buffer is present.
2784 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2785 Martin Vermeer <martin.vermeer@hut.fi>
2787 * lyxfunc.C (dispatch):
2788 * bufferparams.C (readToken): use the new LColor::setColor
2790 * LColor.[Ch] (setColor): new version that takes two strings as
2791 argument and creates a new color entry if necessary
2793 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2795 * buffer.C (makeLaTeXFile): if the main latex file that is
2796 processed is usually a subdocument of some master, then pretend
2797 for a while that it is actually the master
2799 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2801 * buffer.C (getLabelList):
2802 (getBibkeyList): use getMasterBuffer()
2803 (getMasterBuffer): new method. Returns the main document in the
2804 case where one is using included documents.
2806 2004-03-25 André Pönitz <poenitz@gmx.net>
2810 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2812 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2814 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2815 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2817 * ParameterStruct.h: merge with ParagraphParameters
2819 * lyxtext.h: remove LyXText::parOffset() and getPar()
2821 * text3.C: Remove all 'manual' update calls. We do now one per user
2822 interaction which is completely sufficient.
2826 * BufferView_pimpl.C:
2827 * FontIterator.[Ch]:
2829 * ParagraphParameters.[Ch]:
2834 * cursor_slice.[Ch]:
2841 * output_docbook.[Ch]:
2842 * output_latex.[Ch]:
2843 * output_linuxdoc.[Ch]:
2844 * output_plaintext.[Ch]:
2846 * paragraph_funcs.[Ch]:
2847 * paragraph_pimpl.[Ch]:
2855 * frontends/controllers/ControlDocument.C:
2856 * frontends/controllers/ControlErrorList.C:
2857 * frontends/controllers/ControlSpellchecker.C:
2860 * insets/insetbase.h:
2861 * insets/insetbibitem.C:
2862 * insets/insetbox.C:
2863 * insets/insetbranch.C:
2864 * insets/insetcaption.C:
2865 * insets/insetcharstyle.C:
2866 * insets/insetcharstyle.h:
2867 * insets/insetcollapsable.C:
2868 * insets/insetcollapsable.h:
2869 * insets/insetert.C:
2870 * insets/insetfloat.C:
2871 * insets/insetfoot.C:
2872 * insets/insetmarginal.C:
2873 * insets/insetnote.C:
2874 * insets/insetoptarg.C:
2875 * insets/insettabular.C:
2876 * insets/insettext.C:
2877 * insets/insettext.h:
2878 * insets/insetwrap.C:
2879 * mathed/math_mboxinset.C:
2880 * mathed/math_nestinset.C:
2881 * mathed/math_scriptinset.C:
2882 * mathed/math_scriptinset.h:
2885 2004-03-24 Angus Leeming <leeming@lyx.org>
2887 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2888 deal with any child processes that have finished but are waiting to
2889 communicate this fact to the rest of LyX.
2891 2004-03-24 Angus Leeming <leeming@lyx.org>
2893 64-bit compile fixes.
2895 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2896 (c-tor): pass lyx::pos_types rather than ints.
2898 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2901 * text.C (Delete): compile fix.
2902 (getPar): ensure that function declaration is the same as that in
2905 2004-03-23 Angus Leeming <leeming@lyx.org>
2907 * ispell.C (LaunchIspell):
2908 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2909 a boost::shred_ptr rather than a std::auto_ptr.
2911 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2913 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2914 handle LFUN_FILE_INSERT_*
2916 * lyxrc.C (setDefaults, getDescription, output, read):
2917 * lyxrc.h: remove ps_command
2919 2004-03-22 Angus Leeming <leeming@lyx.org>
2921 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2922 Ensure that error_handler is processed once only and that all data
2923 is saved before attempting to output any warning messages.
2925 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2927 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2929 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2931 2004-03-19 André Pönitz <poenitz@gmx.net>
2933 * cursor.[Ch] (reset): take main text inset as argument
2935 * BufferView: adjust
2936 * BufferView_pimpl.C: adjust
2938 * paragraph.[Ch]: fix completely broken operator=()
2940 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2942 * LColor.C (getFromLyXName): make sure that the color name is used
2945 2004-03-17 Angus Leeming <leeming@lyx.org>
2948 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2950 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2951 dialog and to kill a forked process.
2953 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2955 * text2.C (setCursorFromCoordinates): fix font problem
2957 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2959 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2960 bogus "rebuild cursor" code
2962 2004-03-11 André Pönitz <poenitz@gmx.net>
2964 * buffer.[Ch]: use InsetText instead of LyXText as container for
2967 * dociterator.[Ch]: drop the BufferView * member which is not needed
2968 anymore after the change to buffer.C
2970 * paragraph_funcs.C:
2974 * BufferView_pimpl.[Ch]:
2976 * cursor_slice.[Ch]: adjust
2978 * text3.C: fix bug in mathDispatch
2980 2004-03-08 André Pönitz <poenitz@gmx.net>
2982 * undo.[Ch]: use 'StableDocumentIterator' as base for
2985 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2988 * bufferparams.[Ch]: add jurabib support and param.
2990 * LaTeX.C: add FIXME/comment.
2992 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2994 * buffer.C: increment file format to 230.
2996 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2998 * cursor.C (dispatch): avoid infinite loops
3000 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3002 * rowpainter.C (paintSelection): fix x coordinates
3004 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3006 * text.C (rowBreakPoint): fix breaking before displayed insets
3008 2004-03-01 André Pönitz <poenitz@gmx.net>
3010 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3012 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3016 * BufferView_pimpl.C:
3024 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3030 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3031 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3033 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3035 * Bidi.[Ch] (computeTables): const correctness
3036 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3037 fill_hfill, fill_label_hfill and x from Row
3038 * lyxtext.h: prepareToPrint returns a RowMetrics
3039 * rowPainter.C: adjust
3040 * text.C (prepareToPrint): use width, not textWidth. adjust
3041 (redoParagraphInternal, cursorX): adjust
3042 * text2.C (getColumnNearX): adjust
3043 (init): put a default value to the top LyXText::width
3045 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3047 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3049 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3051 * lyxtext.h: add FontIterator class
3053 * text.C (FontIterator, operator*, operator->, operator++): add
3054 (rowBreakPoint, setRowWidth): adjust (fixing a
3057 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3059 * BufferView_pimpl.C (workAreaDispatch): allow also
3060 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3062 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3064 * text.C (rowBreakPoint): fix a bug showing with very large insets
3066 2004-02-25 André Pönitz <poenitz@gmx.net>
3069 * cursor.[Ch]: move some mathed specific code to mathed
3071 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3073 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3074 use_tempdir in preferences
3075 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3077 * lyx_main.C: ensure that tempdir is valid
3078 * lyxlex.h: correct typo
3079 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3080 * paragraph.[Ch] (isMultiLingual): make const
3081 * cursor.[Ch] (openable): make const
3083 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3085 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3087 2004-02-20 André Pönitz <poenitz@gmx.net>
3089 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3091 * cursor.[Ch]: prepare for localized getStatus()
3097 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3099 2004-02-20 André Pönitz <poenitz@gmx.net>
3101 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3103 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3105 * text2.C (setCursorFromCoordinates): switch to absolute coords
3107 (cursorDown): adjust
3108 * text3.C (dispatch): adjust
3110 2004-02-16 André Pönitz <poenitz@gmx.net>
3112 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3115 * cursor_slice.[Ch]: remove unneeded acessor function
3117 * lyxtext.h: rename rtl() to isRTL()
3125 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3127 * rowpainter.C (paintSelection): coord fix
3129 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3131 * Spacing.C: compile fix
3133 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3135 * cursor.C (dispatch): restore current_ before returning
3137 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3139 * text2.C (cursorUp, cursorDown): fix coords
3142 2004-02-12 André Pönitz <poenitz@gmx.net>
3147 * text3.C: add LCursor & parameter to most cursor movement functions
3148 remove usage of LyXText::cursorRow() and cursorPar()
3150 * cursor.[Ch]: add textRow() needed members
3153 * BufferView_pimpl.C:
3156 * BufferView_pimpl.C: adjust
3158 2004-02-11 André Pönitz <poenitz@gmx.net>
3162 * BufferView_pimpl.C: shift undo/redo handling
3164 * cursor.[Ch]: fix mathed crash
3167 * lyxtext.h: move selectionAsText to LCursor
3175 * rowpainter.C: fix excessive drawing
3177 2004-02-06 André Pönitz <poenitz@gmx.net>
3180 * BufferView_pimpl.[Ch]:
3181 * text3.C: move some text specific LFUN handling
3183 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3185 * text3.C (checkInsetHit): adjust coords
3186 * text2.C (getColumnNearX): adjust coords
3187 (edit): adjust coords
3188 * text.C (getRowNearY): add two asserts
3190 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3193 * format.C: add using std::distance to compile on gcc 2.95/stlport
3195 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3197 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3199 2004-02-04 André Pönitz <poenitz@gmx.net>
3201 * BufferView.[Ch] (insertInset):
3202 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3207 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3209 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3210 on the default clause of the switch
3211 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3212 wasn't catched by LCursor::dispatch
3214 2004-02-03 André Pönitz <poenitz@gmx.net>
3217 * cursor.[Ch]: some additional asserts
3219 * undo.[Ch]: remove LyXText dependency in interface
3223 * lyxtext.h (firstPar, lastPar): remove dead functions
3228 * paragraph.[Ch]: adjust
3230 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3232 * lyxfind.C (find): fix argument order in call to ::find
3234 2004-02-02 André Pönitz <poenitz@gmx.net>
3236 * cursor.[Ch]: remove direct access to anchor
3238 * text.C: remove findText() hack
3240 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3242 * iterators.[Ch] (lockPath): remove in favour of...
3243 * BufferView.[Ch] (setCursor): this addition
3244 * BufferView.C (putSelectionAt): adjust
3245 * undo.C (performUndoOrRedo): adjust
3246 * lyxfunc.C (dispatch): adjust
3248 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3250 * iterators.C (lockPath): add a missing slice
3251 * undo.C (performUndoOrRedo): remove redundant positioning code
3253 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3255 * vc-backend.C (scanMaster): ";" -> ';'
3257 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3259 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3260 std::binary_function
3262 * lyxtextclass.C (compare_name): rename to...
3263 (LayoutNamesEqual): ...this
3265 * lyxlex_pimpl.C (compare_tags): inherit from
3266 std::binary_function, put back into anon namespace
3268 * lyxfind.C (MatchString): inherig from std::binary_function
3269 (findChange): use empty() istead of !size()
3271 * format.C (FormatNamesEqual): new functor
3278 * converter.C (compare_Converter): rename to...
3279 (ConverterEqual): ...this, and fixup a bit.
3280 (getConverter): use it, and make function const
3281 (getNumber): use it, and make function const
3285 * bufferlist.C: add using boost::bind
3287 * MenuBackend.C (MenuNamesEqual): new functor
3288 (hasMenu): use it, and make function const
3289 (hasSubmenu): use nested bind to get rid of compare_memfun.
3291 2004-01-30 André Pönitz <poenitz@gmx.net>
3293 * BufferView_pimpl.C:
3296 * cursor_slice.[Ch]:
3299 * paragraph_funcs.C:
3300 * paragraph_funcs.h:
3304 * text3.C: move some of the edit(x,y) handling to the insets
3305 some coordinate changes.
3307 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3309 * text.C: add using statements for std::advance and std::distance
3311 * paragraph.C: add using statement for std::distance
3313 * lyxfind.C: add using statement for std::advance
3315 * cursor.C (region): remove std:: from swap
3316 (openable): use nucleus in stead of operator->
3318 * BufferView.C: add using statements for std::distance and std::swap
3320 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3322 * iterators.C: Remove the pimple, move the needed structures to
3323 the header file. Create accessor for the positions stack.
3324 (asPosIterator): remove function
3326 * PosIterator.C (PosIterator): move constructors to top of file
3327 (PosIterator): reimplement the constructor taking a ParIterator in
3329 (setFrom): new function
3330 (operator!=): inline it
3332 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3334 * lyxfind.C (replaceAll): use std::advance
3336 * iterators.h: inherit from std::iterator.
3338 * PosIterator.C (advance, distance): remove
3339 * PosIterator.h: interit from std::iterator.
3341 2004-01-26 André Pönitz <poenitz@gmx.net>
3344 * BufferView_pimpl.[Ch]:
3348 * bufferview_funcs.C:
3358 * output_linuxdoc.C:
3359 * output_plaintext.C:
3361 * paragraph_funcs.[Ch]:
3362 * paragraph_pimpl.[Ch]:
3368 * text3.C: more IU: dumps most of the rest of the mathcursor
3369 implementation into cursor.[Ch]; "globalize" a bit of it.
3371 2004-01-25 Angus Leeming <leeming@lyx.org>
3373 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3375 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3377 * LaTeXFeatures.h: add nice_ and nice() const
3378 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3380 2004-01-20 André Pönitz <poenitz@gmx.net>
3383 * BufferView_pimpl.C:
3385 * bufferview_funcs.C:
3387 * cursor_slice.[Ch]:
3398 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3399 LCursor and mathcursor parts to LCursor and InsetBase.
3401 2004-01-15 André Pönitz <poenitz@gmx.net>
3403 * cursor_slice.[Ch]: add a few covienience functions
3405 * funcrequest.[Ch]: remove BufferView * member
3407 * BufferView_pimpl.C:
3414 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3416 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3418 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3419 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3421 2004-01-13 André Pönitz <poenitz@gmx.net>
3424 * lyxtext.h: hide cursor and selection anchor behind accessor function
3427 * BufferView_pimpl.[Ch]:
3429 * bufferview_funcs.C:
3439 * cursor_slice.[Ch]: some integer type changes for inset unification
3441 * lyxcursor.[hC]: remove, it's CursorSlice now.
3444 * BufferView_pimpl.[Ch]:
3445 * bufferview_funcs.C:
3451 * textcursor.[Ch]: adjust
3453 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3455 * text2.C (undoSpan): add and use
3456 * text.C (breakParagraph): use undoSpan (fix bug 578)
3459 2004-01-08 Angus Leeming <leeming@lyx.org>
3461 * BufferView_pimpl.C (MenuInsertLyXFile):
3462 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3463 * lyxfunc.C (menuNew, open, doImport):
3464 FileFilterList change to the FileDialog open and save functions.
3466 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3468 * ShareContainer.h: make isEqual and isUnique adaptable
3470 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3472 2004-01-07 Angus Leeming <leeming@lyx.org>
3475 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3477 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3479 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3480 functions replacing find, replace and replaceAll.
3482 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3483 LFUN_WORDFIND(FORWARD|BACKWARD).
3485 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3487 * text.C (breakParagraph): remove an outdated #warning
3489 2004-01-07 André Pönitz <poenitz@gmx.net>
3491 * lyxfind.C: somewhat clearer logic
3493 * text.C: prevent crash in cursorX on unitialized row cache
3495 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3497 * lyxcursor.[Ch] (operator>): add
3498 * textcursor.C (selStart, selEnd): use std::min and std::max
3500 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3502 * Chktex.C: include boost/format.hpp
3504 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3506 * InsetList.C: replace functor MathcIt with adaptable functor
3508 (insetIterator): modify accordingly
3510 * BranchList.h: move the BranchNamesEqual functor here from...
3511 * BranchList.C: ... to here
3513 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3515 (add): replace a finding loop with std::find_if.
3517 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3519 * output_docbook.C: moving LatexParam functionality into
3522 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3524 * buffer.C: increment format to 229.
3526 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3529 * lyx_sty.[Ch]: remove minipageindent_def
3535 * text3.C: remove LFUN_INSET_MINIPAGE
3537 2003-12-28 Angus Leeming <leeming@lyx.org>
3539 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3541 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3543 * text2.C (setParagraph): fix off-by-one crash
3545 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3547 * output_docbook.C: header stuff for AGU
3549 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3551 * text2.C (redoCursor): remove
3554 * BufferView_pimpl.C: remove calls to redoCursor and
3555 setCursor(cursor.par(), cursor.pos()) all around
3557 2003-12-15 Angus Leeming <leeming@lyx.org>
3559 * buffer.C: up the format to 228.
3561 2003-12-15 André Pönitz <poenitz@gmx.net>
3563 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3568 * BufferView_pimpl.C:
3577 2003-12-15 Angus Leeming <leeming@lyx.org>
3579 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3580 than getFromGUIName to manipulate the color.
3582 2003-12-14 Angus Leeming <leeming@lyx.org>
3584 * BranchList.[Ch]: minimize the API.
3585 (Branch::getBranch, getColor): now return a 'const &'.
3586 (Branch::setSelected) now returns a bool set to true if the
3587 selection status changes.
3588 (BranchList::clear, size, getColor, setColor, setSelected,
3589 allBranches, allSelected, separator): removed.
3590 (BranchList::find): new functions, returning the Branch with
3592 (BranchList::add, remove): return a bool indicating that
3593 the operation was successful.
3595 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3596 new InsetBranch::isBranchSlected member function.
3598 * LColor.[Ch]: mimimize the API.
3599 (fill): renamed as addColor and made private.
3600 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3601 versions of these functions taking a string arg have been removed.
3603 * bufferparams.C (readToken):
3604 * lyxfunc.C (dispatch):
3605 * lyxrc.C (read): changes due to the altered BranchList and
3608 * factory.C (createInset, readInset): changes due to altered
3611 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3614 * lyxfunc.C: remove insetminipage. "minipage-insert"
3615 now produces a frameless minipage box inset.
3617 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3619 * textcursor.[Ch] (selStart,selEnd): add new methods
3620 remove selection::start, end, use LyXCursor::operator<
3621 * lyxcursor.[Ch] (operator<): add
3622 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3623 * BufferView.[Ch] (unsetXSel): add
3624 * text2.C (clearSelection): use unsetXSel,adjust
3627 * rowpainter.C: adjust
3628 * bufferview_funcs.C (put_selection_at): adjust
3630 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3632 * BufferView_pimpl.C: small coord. correction
3634 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3636 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3637 dragging over the splash screen.
3639 2003-12-11 Angus Leeming <leeming@lyx.org>
3641 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3642 as it is now handled in LyXText::dispatch.
3644 * text3.C (doInsertInset): remove a level of nesting.
3646 2003-12-11 Angus Leeming <leeming@lyx.org>
3648 * factory.C (createInset): changes due to the changed interface to
3649 InsetCommandMailer::string2params.
3651 2003-12-10 Angus Leeming <leeming@lyx.org>
3653 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3654 'dialog-show-new-inset <inset name>'
3656 2003-12-10 Angus Leeming <leeming@lyx.org>
3658 * buffer.C: up the format to 227.
3660 * factory.C: the box inset is now identified simply by 'Box'.
3662 2003-12-10 Angus Leeming <leeming@lyx.org>
3664 * buffer.C: up the format to 226.
3666 * factory.C: the note inset is now identified simply by 'Note'.
3668 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3670 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3671 when a pit is enough. Standarize a couple of loops.
3673 2003-12-05 Angus Leeming <leeming@lyx.org>
3675 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3676 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3677 data to the re-worked "log" dialog.
3679 2003-12-03 André Pönitz <poenitz@gmx.net>
3685 * paragraph_funcs.C:
3687 * text2.C: use Inset::getText instead of Inset::getParagraph
3689 2003-12-03 André Pönitz <poenitz@gmx.net>
3693 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3694 InsetText::read() as LyXText::read()
3696 2003-12-02 Angus Leeming <leeming@lyx.org>
3698 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3699 type. Add a comment in the implementation that the function uses
3700 the stream's bad() function rather than fail() as the std::streams
3703 2003-12-02 André Pönitz <poenitz@gmx.net>
3705 * lyxlex.[Ch]: make interface more similar to std::stream
3707 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3709 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3711 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3713 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3715 * vspace.[Ch]: remove VSpace::NONE
3717 2003-12-01 André Pönitz <poenitz@gmx.net>
3720 * lyxtext.h: move ParagraphList member to LyXText
3721 rename LyXText::ownerParagraphs to LyXText::paragraph
3724 * bufferview_funcs.C:
3734 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3736 * undo.C: fix cursor positioning
3738 2003-12-01 John Levon <levon@movementarian.org>
3740 * BufferView_pimpl.C: fix a crash on exit with
3743 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3745 * BranchList.C: fix setSelected() method.
3747 2003-11-28 André Pönitz <poenitz@gmx.net>
3749 * ParagraphParameters.[Ch]:
3750 * ParameterStruct.h: remove space above/below from Paragraph to
3753 * BufferView_pimpl.C:
3759 * paragraph_funcs.C:
3765 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3767 * factory.C: Syntax change for CharStyles
3769 2003-11-28 André Pönitz <poenitz@gmx.net>
3774 * buffer.[Ch]: move LyXText member
3776 2003-11-28 André Pönitz <poenitz@gmx.net>
3778 * BufferView.[Ch]: make LyXText * text a private member
3780 * BufferView_pimpl.C:
3791 * output_plaintext.C: cleanup
3793 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3796 * lyxtextclass.[Ch]: parametrize SGML document header
3798 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3801 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3804 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3806 * text2.C (setFont): rework using PosIterator (no more recursive)
3807 (setCharFont): no more needed
3808 (setLayout): no more selection cursors fiddling (done by redoCursor)
3809 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3810 destroy remaining ones)
3812 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3814 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3816 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3819 * text3.C: adjust + re-allow multi par depth changes
3820 * textcursor.C: simplify a bit
3822 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3828 * src/output_docbook.C:
3829 * src/output_latex.C:
3834 * src/text2.C: Introducing a number of tags parametrizing various
3835 XML formats that we may want to support
3837 2003-11-25 André Pönitz <poenitz@gmx.net>
3839 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3841 * lyxtext.h (leftMargin/rightMargin): simplify interface
3848 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3850 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3851 master file to any child files. Fixes bug 546.
3853 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3855 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3857 2003-11-24 André Pönitz <poenitz@gmx.net>
3859 * rowpainter.C: simplification
3861 * text2.C (updateCounters): remove call to redoParagraph on
3862 changed labels as this is far too expensive.
3864 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3866 * converter.C (convert): fix a crash: this function gets
3867 called with buffer == 0 from importer code.
3869 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3871 * text3.C (cursorPrevious): make sure that we do not compare
3872 iterators form different containers.
3875 * rowpainter.C (paintSelection): make sure that we do not compare
3876 iterators from different containers.
3878 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3879 iterators from different ParagraphList containers.
3882 * text2.C (LyXText): change order of initialization slightly
3883 (operator=): new function. copy all variables except cache_par_
3884 (moveUp): make sure that we do not compare iterators from
3885 different ParagraphList constainers.
3888 * text.C (firstPar): new function
3889 (lastPar): new function
3890 (endPar): new function
3892 * lyxtext.h: move things around and group public functions, public
3893 variables, private functions, private variables
3895 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3897 * factory.C: change call to InsetERT constructor to avoid
3898 additional invocation of method status
3899 * text2.C (toggleInset): remove redundant update() call
3900 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3901 instead of a Bufferview pointer
3903 2003-11-21 André Pönitz <poenitz@gmx.net>
3905 * rowpainter.C: simplification
3907 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3909 * text3.C (dispatch): make possible to extend a word/row selection
3912 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3914 * lyxtext.h: x0_,y0_ -> xo_,yo_
3915 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3916 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3917 * rowpainter.C (paintRows): paint full paragraphs
3919 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3921 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3924 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3926 * lyxtext.h: add x0_, y0_
3927 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3928 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3930 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3932 * text2.C (setCursorIntern): move the x_target update here *
3933 * text3.C: change some bv() to true/false in calls to
3934 cursorUp/Down/Right/Left
3935 * cursor.C: use helper function.
3937 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3939 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3940 * paragraph_funcs.[Ch]: correct comment
3941 * rowpainter.C: do not paint selections away from bv->cursor()
3942 Fix a long standing selection painting bug.
3943 * text3.C: generalize mouse-selection code to LyXTexts other that
3945 * textcursor.C: do not use y coords if we can use par offsets
3947 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3949 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3950 cursor position after e.g. inset insert)
3952 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3954 * lyxfind.C (replace): adjust to locking removal + some
3957 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3959 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3962 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3965 * output_docbook.C: XML sanitation: new layout
3966 parameters InnerTag and CommandDepth
3968 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3970 * BufferView_pimpl.C:
3972 * text3.C: Fix the insertion and modification of button-style
3975 2003-11-13 André Pönitz <poenitz@gmx.net>
3977 * InsetList.[Ch]: remove deleteLyXText
3979 * paragraph.[Ch]: cache beginOfBody position
3984 * text3.C: remove superfluous update() calls
3988 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3990 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3991 * BufferView.C (fitLockedInsetCursor): remove
3992 * cursor.[Ch] (getDim): add
3993 * text.C (getRowNearY): add faster version
3994 * text3.C: remove some update calls
3996 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4008 * text3.C: The Character Style /XML short element patch.
4010 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4013 * factory.C: Small step to solving 'unable to insert some insets'
4016 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4018 * cursor.[Ch] (updatePos): new function for updating the y
4019 position of the tip inset
4020 * bufferview_funcs.C (put_selection_at):
4021 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4023 2003-11-11 André Pönitz <poenitz@gmx.net>
4025 * text.C: remove big comment on invalid Paragraph pointers as it is
4028 2003-11-11 André Pönitz <poenitz@gmx.net>
4030 * text_funcs.[Ch]: merge with ...
4038 * Makefile.am: remove text_funcs.[Ch]
4040 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4042 * cursor.C (getPos): return absolute cached y coord
4044 * BufferView_pimpl.C (fitCursor): new simplistic code
4045 (workAreaDispatch): add a fitCursor call
4047 2003-11-10 André Pönitz <poenitz@gmx.net>
4050 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4052 2003-11-10 André Pönitz <poenitz@gmx.net>
4054 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4055 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4056 indicate that the cursor needs to leave an inset
4058 * lyxtext.h: remove inset locking
4060 * cursor.[Ch]: re-implement functionality provided by inset locking
4063 * BufferView_pimpl.[Ch]:
4065 * bufferview_funcs.[Ch]:
4077 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4079 * PosIterator.[Ch]: replace the stack with a vector, add inset
4081 * iterators.[C]: adjust
4083 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4085 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4087 * paragraph_funcs.C (readParToken): put the correct id in the
4088 error item, not the id of the top paragraph
4090 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4092 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4093 * bufferview_funcs.C (put_selection_at): use the above
4095 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4097 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4099 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4101 * output_linuxdoc.h:
4102 * output_plaintext.h:
4104 * output_docbook.h: add #include statements
4106 2003-11-05 José Matos <jamatos@lyx.org>
4108 * output_docbook.[Ch]:
4109 * output_latex.[Ch]:
4110 * output_linuxdoc.[Ch]:
4111 * output_plaintext.[Ch]: New files for output formats.
4112 * output.[Ch]: New file for helper functions.
4115 * paragraph_funcs.[Ch]: output functions moved to new files.
4117 * outputparams.h: rename of latexrunparams.h
4125 * paragraph_funcs.[Ch]:
4126 * paragraph_pimpl.[Ch]:
4127 * tabular.[Ch]: rename ascii to plaintext
4128 and LatexRunParams to OutputParams.
4130 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4132 * iterators.[Ch] (text): require bv argument
4133 * undo.C (recordUndo):
4134 * lyxfunc.C (dispatch):
4135 * bufferview_funcs.C (put_selection_at): adjust
4137 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4139 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4141 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4143 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4146 2003-11-04 André Pönitz <poenitz@gmx.net>
4148 * cursor.[Ch]: restructure
4151 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4153 * iterators.[Ch] (asCursor): remove
4155 * lfuns.h: remove LFUN_INSET_EDIT
4161 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4163 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4165 * lyxfind.[Ch]: complete overhaul
4166 * BufferView_pimpl.C:
4168 * paragraph.[Ch] (insert): add
4170 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4174 * text.C: remove dead spellcheck code
4176 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4178 * dispatchresult.h: add a val setter
4180 * cursor.C (dispatch): use a tempvar for data_[i]
4182 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4184 * PosIterator.[Ch]: compile fix
4186 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4188 * text.C (cursorPar): deactivate the cursor cache
4190 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4192 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4194 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * text3.C (dispatch): adjust for new DisptchResult semantics.
4198 * lyxfunc.C (dispatch): handle update when return from
4199 Cursor::dispatch, adjust for new DispatchResult semantics.
4201 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4202 DispatchResult(true) mean to not update. Add class functions for
4203 setting dispatched and update, as well as reading.
4205 * cursor.C (dispatch): don't handle update here
4207 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4209 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4210 * trans_mgr.C: adjust
4212 * paragraph_funcs.C (readParToken): exception safety
4214 * lyxvc.h: store the vcs pointer in a scoped_ptr
4217 * lyxsocket.C (serverCallback): exception safety
4219 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4221 * ispell.C (clone): make it return a auto_ptr
4223 * factory.C (createInset): exception safety
4224 (readInset): exception safety
4226 * bufferlist.C (newBuffer): exception safety
4228 * Thesaurus.C (Thesaurus): use initialization for aik_
4230 * MenuBackend.C (expandToc): exception safety.
4232 2003-11-03 André Pönitz <poenitz@gmx.net>
4236 * bufferview_funcs.C: remove getInsetFromId()
4239 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4245 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4247 * PosIterator.C (distance, advance): new
4248 * bufferview_funcs.[Ch] (put_selection_at): new
4249 * iterators.[Ch] (lockPath): new
4251 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4253 * iterators.[Ch] (asPosIterator): added
4254 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4255 * PosIterator.[Ch]: added
4257 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * cursor.C (dispatch):
4262 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4264 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4265 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4266 contructor, add a class function dispatched. Remove operator>=
4268 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * debug.C: only use the default constructor for debugstream
4273 * main.C (main): include debug.h and setup the lyxerr streambuf
4276 2003-10-31 José Matos <jamatos@lyx.org>
4278 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4280 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4281 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4282 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4283 * paragraph_pimpl.C (simpleTeXSpecialC):
4284 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4285 add LatexRunParams argument.
4287 * exporter.C (Export): change call accordingly.
4289 * latexrunparams.h: add new member to take care of the other backends.
4290 2003-10-30 José Matos <jamatos@lyx.org>
4292 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4293 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4294 factorise code for paragraph output.
4296 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4299 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * text3.C (dispatch):
4302 * lyxfunc.C (dispatch):
4303 * cursor.C (dispatch):
4304 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4306 * dispatchresult.h: make the dispatch_result_t ctor explicit
4308 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4311 * buffer.C: small refactoring of docbook stuff
4313 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4318 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4321 operator dispatch_result_t, and operators for == != and >=
4323 * cursor.C (dispatch): adjust for operator dispatch_result_t
4324 removal. comment out call to update
4326 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4328 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4339 * dispatchresult.h: new file, DispatchResult broken out of
4342 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4344 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4346 * text.C (rowBreakPoint): put a hack inside #if 0
4348 2003-10-28 André Pönitz <poenitz@gmx.net>
4352 * paragraph_funcs.C:
4355 * text2.C: general cleanup (lots of small stuff)
4357 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4359 * text2.C (cursorEnd): simple fix to the "end key goes to one
4360 before the end on last row" bug
4362 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4364 * text.C (backspace): fix the "zombie characters"
4366 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4368 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4370 2003-10-27 André Pönitz <poenitz@gmx.net>
4372 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4374 * factory.C: handle new InsetPagebreak, InsetLine
4376 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4377 and move handling into new InsetPagebreak, InsetLine
4379 * BufferView_pimpl.C:
4381 * ParagraphParameters.C:
4382 * ParameterStruct.h:
4387 * paragraph_funcs.C:
4388 * paragraph_pimpl.C:
4394 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4397 * lyxrow_funcs.[Ch]:
4403 * text3.C: remove lastPos uses in favour of Row::endpos
4405 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4407 * undo.C (performUndoOrRedo): fix two crashes by setting a
4408 cursor by hand and reordering some calls. Use bv->lockInset instead
4409 of inset->edit because the latter loses cursor information
4411 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4413 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4415 (rowBreakPoint): fix width. change point to point + 1.
4416 Add a missing check.
4418 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4421 * lyxfunc.C: fix (at least partly) the problems
4422 with the Nav menu and headers inside branch insets
4425 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4427 * paragraph.C (getChar): add strong asserts
4429 * lyxrow_funcs.C (lastPos): remove hideous hack
4431 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4432 (fill): adjust to that (avoid an infinite loop)
4434 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4436 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4438 2003-10-23 André Pönitz <poenitz@gmx.net>
4440 * RowList_fwd.h: change list<> to vector<> to gain speed
4441 after suggestion from Alfredo
4443 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4445 * lyxtext.h: move the bidi stuff from here...
4448 * Bidi.[Ch]: ... to here
4450 2003-10-23 André Pönitz <poenitz@gmx.net>
4453 * text.C (isLastRow, isFirstRow): new functions
4455 * paragraph.h: new width cache member
4457 * rowpainter.C: replace RowList::iterator with Row & where possible
4459 * lyxfunc.C: replace several view()->text with a single call
4461 * toc.C: fix 'unused' warning
4463 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4466 when woring with stream::pos_type
4467 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4469 2003-10-22 André Pönitz <poenitz@gmx.net>
4472 * text.C: use Row & instead of RowList::iterator
4474 * lyxrow.h: rename end() to endpos()
4480 2003-10-22 Angus Leeming <leeming@lyx.org>
4482 * buffer.[Ch] (fully_loaded): new member function, returning true
4483 only when the file has been loaded fully.
4484 Used to prevent the premature generation of previews and by the
4485 citation inset to prevent computation of the natbib-style label.
4487 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4488 templates are all set up.
4490 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4492 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4494 * text.C: fixed an "oops" in the "is a bit silly"
4497 2003-10-21 André Pönitz <poenitz@gmx.net>
4499 * FuncStatus.[Ch]: small stuff, whitespace
4501 * lyxfont.[Ch]: operator<<() for debug reasons
4505 * lyxtext.h: whitespace, spelling
4507 * paragraph.C: naming of variables
4510 * text2.C: small stuff
4513 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4515 * text.C: (1) finish off the inset display() work;
4516 (2) fix the "is a bit silly" bug (accessing char
4519 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4521 * text.C: re-introduce display() for insets, fixing the
4522 various bugs (stretch of line above, math inset
4525 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4527 * text.C (rightMargin): remove spurious semicolon
4529 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4532 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4534 * text3.C: fix one crash due to wrong cursor def
4536 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * vc-backend.C (scanMaster): make the regex static
4540 * LaTeX.C (scanAuxFile): make the regexs static
4542 * text3.C (doInsertInset, dispatch, dispatch):
4543 * text2.C (cursorUp, cursorDown):
4544 * text.C (selectNextWordToSpellcheck):
4545 * BufferView_pimpl.C (dispatch):
4546 * lyxfunc.C (dispatch): localDispatch -> dispatch
4548 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4550 * lyxsocket.C: include <cerrno>
4552 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * lyxfunc.C (dispatch): remove textcache stuff
4556 * bufferlist.C (release): remove textcache stuff
4559 * TextCache.C: delete file
4560 * TextCache.h: delete file
4562 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4564 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4565 delete of the bv_->text.
4566 (resizeCurrentBuffer): remove texcache stuff
4567 (workAreaResize): ditto
4569 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4574 2003-10-16 André Pönitz <poenitz@gmx.net>
4581 * text3.C: speed up by storing y positions per paragraph plus per-row
4582 offset instead of having a 'full' y position in the row.
4584 2003-10-15 André Pönitz <poenitz@gmx.net>
4588 * undo.[Ch]: make undo aware of inner insets
4590 2003-10-14 Angus Leeming <leeming@lyx.org>
4592 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4593 static member functions LyX::ref() and LyX::cref.
4594 (lastfiles): new accessor functions for the new lastfiles_ member var.
4595 (addLyXView, views_): add a new LyXView to the list of views_.
4596 (updateInset): loop over all LyXViews to call their own updateInset
4597 member function, returning a pointer to the Buffer owning the inset.
4599 * BufferView_pimpl.C (loadLyXFile):
4600 * MenuBackend.C (expandLastfiles):
4601 * bufferlist.C (MenuWrite, QuitLyX):
4602 lastfiles is no longer a global variable.
4603 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4605 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4606 static function. Access through LyX::cref().emergencyCleanup().
4608 2003-10-14 André Pönitz <poenitz@gmx.net>
4610 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4612 * undo.[Ch]: restoring part of 'undo in insets'
4615 * undo_funcs.[Ch]: merge with undo.[Ch]
4617 * tabular.C: small cleansing stuff
4619 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4621 * paragraph_funcs.C (readParToken): report unknown insets as error
4622 boxes. Use the outer paragraph as location (also for unknown
4625 * factory.C (readInset): do not abort on reading an unknown inset.
4626 Eat it and return 0.
4628 2003-10-13 Angus Leeming <leeming@lyx.org>
4630 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4632 * lyxrc.C: displayTranslator is now a function,
4633 declared in GraphicsTypes.h.
4635 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4637 * format.C: new placeholder $$a to pass the socket address.
4639 * bufferlist.[Ch]: new function getBufferFromTmp.
4641 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4642 files in the temporary dir.
4644 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4646 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4648 * Makefile.am: add lyxsocket.[Ch].
4650 * lyx_main.C (error_handler): handle SIGPIPE.
4652 2003-10-13 André Pönitz <poenitz@gmx.net>
4654 * BufferView_pimpl.C:
4659 * undo_funcs.[Ch]: use paroffset_type instead of
4660 ParagraphList::iterators to prevent multiple conversion
4661 (and get a more robust interface)
4663 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4667 * text3.C (dispatch): ditto
4669 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4672 move the onlyfile, use onlyfile instead of foundfile in a couple
4675 * DepTable.C (update): flush the error stream a bit more
4677 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4679 * lyxserver.C (callback): adjust
4681 * lyxfunc.C (getStatus): add a missing brace in commented code
4682 (ensureBufferClean): reindent
4683 (dispatch): delete version taking a string
4685 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * LaTeX.C (deplog): move found file handlig from here...
4688 (handleFoundFile): .. to new function here.
4689 (deplog): make sure to discover several files mentioned on the
4692 2003-10-10 André Pönitz <poenitz@gmx.net>
4699 * text3.C: fix some of the tabular crashes
4701 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4703 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4705 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4707 2003-10-09 André Pönitz <poenitz@gmx.net>
4709 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4712 * BufferView_pimpl.C:
4713 * bufferview_funcs.C:
4724 * undo_funcs.C: adjust
4726 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * text2.C (incrementItemDepth): new function, use a backtracking
4729 algorithm to discover the correct item depth.
4730 (resetEnumCounterIfNeeded): new function, use a backtracking
4731 algorithm to discover if counter reset is needed.
4732 (setCounter): use them. Simplify a bit. Add different labels for
4733 different item depths for itemize.
4735 * paragraph.C (Paragraph): remove initialization of enumdepth
4738 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4739 enumerate and itemize. Change the type of itemdepth to signed char.
4741 2003-10-08 André Pönitz <poenitz@gmx.net>
4743 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4748 * tabular.[Ch]: fix crash after 'row-insert'
4750 2003-10-08 Angus Leeming <leeming@lyx.org>
4752 Fix doxygen warnings.
4754 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4755 Remove CutAndPaste:: prefix from header file declaration.
4757 * LColor.h (fill): remove LColor:: prefix from declaration.
4759 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4760 use lyx::depth_type rather than Paragraph::depth_type so that
4761 header file and .C file match.
4763 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4765 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4766 * aspell.C: \file aspell_local.C -> \file aspell.C
4767 * gettext.C: \file gettext.C -> \file src/gettext.C
4768 * gettext.h: \file gettext.h -> \file src/gettext.h
4769 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4770 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4771 * text.C: \file text.C -> \file src/text.C
4773 * toc.C: move comment so that doxygen is not confused.
4775 2003-10-07 Angus Leeming <leeming@lyx.org>
4777 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4779 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4782 * aspell_local.h: add forgotten std::string's.
4784 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4791 * text3.C: The Box patch. Fancybox support, minipage, parbox
4793 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4799 * ParagraphParameters.h:
4809 * lyxtextclasslist.h:
4812 * paragraph_pimpl.C:
4813 * textcursor.h: add <string> and other small fixes to make Lars'
4814 std::string patch compile with STLport.
4816 2003-10-06 Angus Leeming <leeming@lyx.org>
4818 * LColor.h: Add missing #include <string>.
4820 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * All most all file in all subdirs: Make <string> be the prefered
4823 way of getting to std::string, add using declarations.
4825 2003-10-06 André Pönitz <poenitz@gmx.net>
4827 * metricsinfo.C: initialize LyXFont before changing attribute.
4828 (fixes the 'math in \emph is upright' bug)
4830 2003-10-06 André Pönitz <poenitz@gmx.net>
4832 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4834 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4837 * paragraph_pimpl.C: Small fixes to build using STLport
4839 2003-10-02 André Pönitz <poenitz@gmx.net>
4842 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4844 2003-10-01 André Pönitz <poenitz@gmx.net>
4846 * factory.C: assert early
4848 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * lyx_main.C: remove the global debug object
4852 * debug.h: adjust for new debugstream
4854 * debug.C: adjust for new debugstream and keep the global debug
4857 2003-09-22 Angus Leeming <leeming@lyx.org>
4859 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4860 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4861 an incomplete class LyXFont.
4863 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4865 * factory.C: bug fix in branches
4867 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4869 * lyxfunc.C (processKeySym): adjust
4871 (dispatch): change arg name from ev to func, adjust
4872 (sendDispatchMessage): ditto
4874 * lyx_main.C (defaultKeyBindings): adjust keybindings
4875 (deadKeyBindings): ditto
4877 * kbsequence.C (addkey): return a FuncRequest
4879 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4881 * kbmap.C (bind): take a FuncRequest as arg, adjust
4884 (defkey): change to take a FuncRequest as arg, adjust
4885 (findbinding): take a FuncRequest as arg, adjust.
4887 * funcrequest.h (operator=): added
4889 * funcrequest.C (FuncRequest): default kb_action changed from
4890 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4892 * buffer.C (dispatch): simplify
4893 (dispatch): adjust to take a FuncRequest as arg, adjust
4895 * boost.C (assertion_failed): change assertion message slightly
4897 * ToolbarBackend.C (read): simplify
4899 * MenuBackend.C (binding): adjust call to findbinding, add a
4900 message if no binding is found.
4902 (expandToc): correct by adding a empty FuncRequest
4904 * LyXAction.C: include <boost/assert.hpp>
4905 (isPseudoAction): delete function
4906 (LookupFunc): change name to...
4907 (lookupFunc): this. change return type to FuncRequest.
4908 (getActionName): take kb_action as arg, simplify
4909 (funcHasFlag): add an assert, simplify.
4911 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * toc.C (action): return a FuncRequest, simplify
4915 * lyxfunc.C (processKeySym): adjust
4916 (getStatus): delete version that takes an int.
4918 (dispatch): delete version that takes action as int
4920 (sendDispatchMessage): simplify and adjust
4922 * funcrequest.C (getArg): take unsigned int as arg
4924 * ToolbarBackend.C (read): adjust
4925 (add): delete version that takes func as a string.
4926 (getIton): take a FuncRequest as arg
4928 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4931 * MenuBackend.C (MenuItem): add a new construct that only takes a
4932 Kind, simplify the constructor use for submenus.
4934 (expandLastfiles): adjust
4935 (expandDocuments): adjust
4936 (expandFormats): adjust
4937 (expandFloatListInsert): adjust
4938 (expandFloatInsert): adjust
4939 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4941 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4942 Remove class variables lyx_pseudo_map and lyx_arg_map
4944 * LyXAction.C (searchActionArg): delete function
4945 (getPseudoAction): delete function
4946 (retrieveActionArg): delete function
4947 (LookupFunc): make it return kb_action, simplify.
4948 (getActionName): simplify
4950 * factory.C (createInset): fix new bug
4952 2003-09-19 Angus Leeming <leeming@lyx.org>
4954 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4955 masterFilename_ parameter in the include inset.
4957 * factory.C (createInset): changes due to the changes to InsetInclude.
4959 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4961 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4963 2003-09-18 Angus Leeming <leeming@lyx.org>
4966 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4967 Inset::fillWithBibKeys.
4968 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4970 2003-09-18 Angus Leeming <leeming@lyx.org>
4972 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4974 (ctor): pass and store a 'Buffer const &'
4975 (buffer): new member function.
4977 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4978 '*this' to the LaTeXFeatures ctor.
4980 2003-09-18 Angus Leeming <leeming@lyx.org>
4986 * text.C: rename EnumLColor as LColor_color.
4988 2003-09-18 Angus Leeming <leeming@lyx.org>
4990 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4991 remove #include "insets/insetbase.h" from cursor.h.
4993 2003-09-18 Angus Leeming <leeming@lyx.org>
4995 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4996 InsetOld_code to remove #include "inset.h".
4998 * iterators.C: add #include "insets/inset.h"
5000 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5002 * BufferView.C: remove more locking stuff that apparently doesn't
5003 do anything sensible.
5005 2003-09-16 André Pönitz <poenitz@gmx.net>
5008 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5011 2003-09-16 Angus Leeming <leeming@lyx.org>
5013 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5015 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5018 * paragraph.h: remove #include "lyxfont.h". Forward declare
5021 2003-09-16 Angus Leeming <leeming@lyx.org>
5023 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5024 of support/textutils.h.
5025 (isWord): move the contents of support/textutils.h's IsWordChar here.
5031 * text2.C: add #include "paragraph.h".
5034 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5036 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * LaTeX.C: use namespace alias for lyx::support::os
5044 2003-09-16 Angus Leeming <leeming@lyx.org>
5047 * bufferview_funcs.C:
5050 * paragraph_pimpl.C:
5052 * text.C: add #include "LColor.h".
5054 2003-09-16 Angus Leeming <leeming@lyx.org>
5056 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5057 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5059 Store the FontBits::color variable as an int rather than as an
5060 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5063 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5064 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5065 string calls together.
5067 * lyxrc.C: add #include "LColor.h".
5069 2003-09-15 Angus Leeming <leeming@lyx.org>
5071 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5074 2003-09-15 Angus Leeming <leeming@lyx.org>
5076 * LColor.h: add an EnumLColor wrapper for LColor::color.
5078 * lyxfont.[Ch] (color, setColor, realColor):
5079 * lyxtext.h, text.C (backgroundColor):
5080 pass EnumLColor args to/from the functions, rather than LColor::color
5084 * lyxtext.h: forward declare EnumLColor.
5086 * lyx_main.C: add #include "LColor.h".
5088 2003-09-15 Angus Leeming <leeming@lyx.org>
5090 * .cvsignore: add lyx-gtk.
5092 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * ParagraphParameters.C
5101 * bufferview_funcs.C
5111 * vc-backend.C: remove usage of STRCONV
5113 2003-09-15 Angus Leeming <leeming@lyx.org>
5115 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5116 explicitly define the color passed to the painter.
5118 2003-09-15 Angus Leeming <leeming@lyx.org>
5120 * bufferparams.C (BufferParams): reorder member initializers to avoid
5123 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5125 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5126 * text.C (updateRowPositions): remove an unusual nop
5128 2003-09-12 André Pönitz <poenitz@gmx.net>
5130 * BufferView_pimpl.C:
5139 * Counters.[Ch]: finish the 'automatic counters' job
5141 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5143 * aspell.C: include <boost/assert.cpp> (compile fix)
5145 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5147 * boost.C (assertion_failed): use lyx::support::abort instead of
5150 2003-09-10 Angus Leeming <leeming@lyx.org>
5152 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5153 with their _fwd progeny.
5155 2003-09-09 Angus Leeming <leeming@lyx.org>
5157 134 files throughtout the source tree: replace 'using namespace abc;'
5158 directives with the appropriate 'using abc::xyz;' declarations.
5160 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5162 * boost.C (emergencyCleanup): moved here from LAssert.c
5163 (assertion_failed): new function, called by BOOST_ASSERT
5165 * several files: change Assert to BOOST_ASSERT
5167 2003-09-09 Angus Leeming <leeming@lyx.org>
5169 * buffer.[Ch]: Add an Impl class and move Buffer's member
5170 variables into it. As a result move several header files out of
5173 Add header files to lots of .C files all over the tree as a result.
5175 2003-09-09 Angus Leeming <leeming@lyx.org>
5177 * buffer.[Ch]: make Buffer's member variables private. Add
5180 Lots of changes all over the tree as a result.
5182 2003-09-08 Angus Leeming <leeming@lyx.org>
5184 * graph.C: #include <config.h>.
5186 2003-09-08 Angus Leeming <leeming@lyx.org>
5190 * BufferView_pimpl.C:
5219 * toc.C: remove redundant using directives.
5221 2003-09-07 Angus Leeming <leeming@lyx.org>
5223 * LaTeXFeatures.h: remove #include "support/types.h".
5224 * ToolbarBackend.h: remove #include <algorithm>.
5225 * changes.h: remove #include <ctime>.
5226 * debug.h: remove #include <iosfwd>.
5227 * graph.h: remove #include "support/std_string.h".
5228 * lyx_main.h: remove #include <csignal>.
5229 * lyxlex_pimpl.h: remove #include <fstream>.
5230 * sgml.h: remove #include <algorithm>, <utility>.
5231 * toc.h: remove #include "support/std_ostream.h".
5232 Add #include <iosfwd>.
5234 2003-09-07 Angus Leeming <leeming@lyx.org>
5236 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5238 * converter.h: forward declare LatexRunParams.
5239 * encoding.h: remove #include "lyxrc.h".
5240 * lyxtext.h: remove #include "LColor.h".
5241 * lyxtextclass.h: remove #include "support/types.h".
5242 * trans.h: remove #include "tex-accent.h".
5243 * trans_mgr.h: remove #include "tex-accent.h".
5244 * insets/inset.h: remove #include "support/types.h", <vector>.
5245 * insets/insetcollapsable.h: remove #include "LColor.h".
5246 * insets/insetinclude.h: remove #include "dimension.h".
5247 * insets/insetlatexaccent.h: remove #include "dimension.h".
5248 * insets/insetoptarg.h:: remove #include "insettext.h".
5249 * insets/insettext.h: remove #include "dimension.h",
5250 <boost/shared_ptr.hpp>
5252 * insets/renderers.h: add #include "dimension.h".
5253 * insets/updatableinset.h: add #include "support/types.h".
5255 * many .C files: Associated changes.
5257 2003-09-06 Angus Leeming <leeming@lyx.org>
5259 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5260 one, inside testInvariant.
5262 * PrinterParams.C: new file.
5263 * PrinterParams.[Ch]: move the function bodies out of line.
5265 2003-09-06 Angus Leeming <leeming@lyx.org>
5267 * ParagraphParameters.h: forward declare ParameterStruct rather than
5268 including its header file.
5269 (depth): moved out-of-line.
5271 2003-09-06 Angus Leeming <leeming@lyx.org>
5273 * BufferView_pimpl.h:
5276 * lyxfunc.h: forward declare LyXKeySym rather than
5277 #include "frontends/LyXKeySym.h".
5279 * BufferView_pimpl.C:
5282 * lyxfunc.C: associated changes.
5284 2003-09-06 Angus Leeming <leeming@lyx.org>
5286 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5287 As a result, can remove the #include "insets/inset.h" from BufferView.h
5289 2003-09-06 Angus Leeming <leeming@lyx.org>
5291 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5292 As a result, can remove the #include "insets/inset.h" from BufferView.h
5294 2003-09-06 Angus Leeming <leeming@lyx.org>
5300 * bufferview_funcs.C:
5301 * BufferView_pimpl.C:
5306 * ParagraphParameters.C:
5311 * frontends/controllers/ControlDocument.C:
5312 * insets/insetcaption.C: rearrange the #includes into some sort of
5315 * buffer.h: remove #includes ErrorList.h, undo.h
5317 2003-09-06 Angus Leeming <leeming@lyx.org>
5319 * support/types.h: add a 'depth_type' typedef, used to store the
5320 nesting depth of a paragraph.
5323 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5324 defining explicitly.
5327 * paragraph_funcs.h:
5328 * ParagraphParameters.h:
5329 * sgml.h: use lyx::depth_type rather than Paragraph or
5330 ParameterStruct's depth_type.
5333 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5336 * BufferView_pimpl.C:
5338 * ParagraphParameters.C:
5341 * bufferview_funcs.C:
5348 * frontends/LyXView.C:
5349 * frontends/controllers/ControlDocument.C:
5350 * frontends/controllers/ControlErrorList.C:
5351 * insets/insetbibitem.C:
5352 * insets/insetbranch.C:
5353 * insets/insetcaption.C:
5354 * insets/insetcollapsable.C:
5355 * insets/insetenv.C:
5356 * insets/insetert.C:
5357 * insets/insetfloat.C:
5358 * insets/insetfoot.C:
5359 * insets/insetfootlike.C:
5360 * insets/insetnewline.C:
5361 * insets/insetquotes.C:
5362 * insets/insettabular.C:
5363 * insets/insettext.C:
5364 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5366 * frontends/controllers/ControlChanges.C: #include "changes.h".
5368 2003-09-06 Angus Leeming <leeming@lyx.org>
5370 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5371 than #including paragraph.h.
5374 * RowList.h: deleted. Superfluous.
5384 * insets/insettext.h: use ParagraphList_fwd.h rather than
5387 * paragraph.h: don't forward declare ParagraphList.
5390 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5391 rather than ParagraphList.h. paragraph.h is still needed for the
5392 Paragraph::depth_type parameters.
5394 * textcursor.h: enable it to compile stand-alone in light of the
5397 * bufferview_funcs.C:
5409 * frontends/controllers/ControlParagraph.C:
5410 * frontends/controllers/ControlTabular.C:
5411 * insets/insetmarginal.C:
5412 * insets/insetminipage.C:
5413 * insets/insetnote.C:
5414 * insets/insetoptarg.C: add header files needed to compile again.
5416 2003-09-06 Angus Leeming <leeming@lyx.org>
5418 * RowList_fwd.h: new file, forward-declaring Row rather than
5419 #including lyxrow.h.
5424 * insets/insettext.h: use it instead of RowList.h
5426 * bufferview_funcs.C:
5433 * text3.C: #include "RowList.h".
5435 2003-09-05 Angus Leeming <leeming@lyx.org>
5437 * factory.C (createInset):
5438 * vspace.C (c-tor): replace sscanf call with an istringstream.
5439 * ispell.C: re-add missing HP/UX headers.
5440 * lyxserver.C: re-add missing os2 headers.
5442 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5451 * text3.C: re-add missing system headers, needed for 2.95.2.
5453 2003-09-05 Angus Leeming <leeming@lyx.org>
5455 Changes most place everywhere due to the removal of using directives
5456 from support/std_sstream.h.
5458 2003-09-05 Angus Leeming <leeming@lyx.org>
5460 Replace LString.h with support/std_string.h,
5461 Lsstream.h with support/std_sstream.h,
5462 support/LIstream.h with support/std_istream.h,
5463 support/LOstream.h with support/std_ostream.h.
5465 Changes resulting throughout the tree.
5467 2003-09-05 Angus Leeming <leeming@lyx.org>
5469 * sgml.h: ensure that the header file can be compiled stand-alone.
5470 * *.C: strip out redundant #includes. (320 in total.)
5472 2003-09-04 Angus Leeming <leeming@lyx.org>
5474 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5475 here (from getPackages).
5477 * debug.[Ch]: add a new EXTERNAL tag.
5479 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5481 * text2.C (cursorEnd): simplify
5483 (getColumnNearX): adjust
5485 * text.C (computeBidiTables): adjust
5488 * rowpainter.C (paintChars): adjust
5489 (paintSelection): adjust
5490 (paintChangeBar): adjust
5493 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5495 (numberOfSeparators): adjust
5497 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5503 * text3.C: Restricts the mouse click functionality
5504 of insets like bibtex, include, toc and floatlist to the visible
5505 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5506 up the dialogs. Cursor has to be in front of the inset (i.e.
5507 start of row) for this to function.
5509 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5511 * bufferview_funcs.C (currentState): output row information
5513 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5515 * bufferview_funcs.C (currentState): output paragraph position
5517 2003-09-04 Angus Leeming <leeming@lyx.org>
5519 * FloatList.h: move out #include "Floating.h".
5520 * LaTeX.h: move out #include "DepTable.h".
5521 * LyXAction.h: move out #include "funcrequest.h".
5522 * buffer.h: move out #include "author.h", "iterators.h".
5523 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5524 * lyx_main.h: move out #include "errorlist.h".
5525 * lyxfunc.h: move out #include "FuncStatus.h".
5526 * lyxtext: move out #include "lyxcursor.h".
5527 * paragraph_pimpl.h: move out #include "counters.h".
5529 2003-09-03 Angus Leeming <leeming@lyx.org>
5531 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5532 preamble_snippets list, enabling us to add snippets to the preamble
5533 only if the snippet was not there already.
5535 2003-09-04 Angus Leeming <leeming@lyx.org>
5537 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5539 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5544 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5546 * BranchList.C: point fix, earlier forgotten
5548 2003-09-02 Angus Leeming <leeming@lyx.org>
5550 * box.C (contains): renamed from 'contained' after a fantastic
5553 2003-09-02 John Levon <levon@movementarian.org>
5559 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5561 2003-09-02 John Levon <levon@movementarian.org>
5563 * text2.C: simplification of cursorEnd(), including partial
5566 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * buffer.C (readFile): add a space
5570 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5572 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5574 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5576 * buffer.C (readFile): new function, take a filename and a
5577 ParagraphList::iterator
5579 (readFile): adjust, make it private. don't use setStream, make
5580 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5581 always contain the filename.
5583 * BufferView.C (insertLyXFile): simplify and make it work for
5586 2003-08-30 John Levon <levon@movementarian.org>
5588 * Makefile.am: fix dist (from Kayvan)
5590 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * most files: change to use const Buffer refs
5594 2003-08-27 André Pönitz <poenitz@gmx.net>
5596 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5597 on top of ownerPar().
5599 2003-08-27 John Levon <levon@movementarian.org>
5601 * funcrequest.C: properly initialise POD members
5603 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5605 * lyxtext.h (top_y): move top_y from here
5610 * BufferView_pimpl.[Ch]: to here
5611 * frontends/screen.C:
5612 * insets/insettabular.C:
5613 * insets/insettext.C: adjust
5614 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5616 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5619 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5621 2003-08-26 André Pönitz <poenitz@gmx.net>
5623 * paragraph_func.[Ch] (outerPar): new function
5626 * paragraph_funcs.C:
5627 * paragraph_funcs.h:
5628 * paragraph_pimpl.C:
5629 * text2.C: remove Inset::par_owner
5631 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5636 * text2.C: eliminates the needFullRow/display() stuff
5637 altogether, putting the logic in metrics/draw in the insets.
5639 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5641 * text2.C (redoParagraphInternal, redoParagraphs):
5642 * text.C (redoParagraph): add a call to updateRowPositions at the
5643 end of each 'metrics-like' call. Remove all others.
5644 (getRow): remove the 'y-computing' version.
5645 (getRowNearY): do not compute nor return the real y. Solve the
5646 'y < 0' problem and simplify.
5648 2003-08-22 Angus Leeming <leeming@lyx.org>
5650 * *.[Ch]: clean-up of licence and author blurbs.
5651 Also move config.h out of a few .h files and into a few .C files.
5653 2003-08-22 André Pönitz <poenitz@gmx.net>
5655 * lyxrow.[Ch]: add x_ and *fill_ members
5660 * text2.C: adjust/remove prepareToPrint() calls
5662 2003-08-22 André Pönitz <poenitz@gmx.net>
5664 * lyxrow.[Ch]: add end_ member
5666 * lyxrow_funcs.C: use LyXRow::end_
5668 * lyxtext.h (singleWidth): add LyXFont parameter
5671 * text2.C: adjust LyXText::singleWidth() calls
5673 * text.C (redoParagraph): simplify row breaking logic
5676 2003-08-19 André Pönitz <poenitz@gmx.net>
5678 * funcrequest.C: initialize button_ member
5681 * rowpainter.[Ch]: interface consolidation
5683 2003-08-18 André Pönitz <poenitz@gmx.net>
5686 * BufferView_pimpl.C:
5688 * paragraph_funcs.C:
5690 * text3.C: remove LyXScreen::draw() and fitCursor calls
5692 * BranchList.h: remove spurious semicolons
5694 * MenuBackend.C: fix branchlist related crash
5696 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5704 * bufferparams.[Ch]:
5708 * text3.C: implements the 'branch inset'
5709 idea. This allows the output of various versions of a document
5710 from a single source version, selectively outputing or suppressing
5711 output of parts of the text.
5712 This implementation contains a 'branch list editor' in a separate
5713 tab of the document settings dialog. Branches are user definable
5714 and have a "display colour" to distinguish them on-screen.
5716 ColorHandler was somewhat cleaned up.
5717 (1) make possible a dynamically growing LColor list by allowing
5718 the graphic context cache to grow along (vector);
5719 (2) eliminate an IMHO unnecessary step in colour allocation.
5721 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5723 * BufferView_pimpl.C: compile fix
5725 2003-08-15 André Pönitz <poenitz@gmx.net>
5727 * rowpainter.C: remove extra metrics calls
5729 * lyxtext.h: merge the two constructors into a single one,
5730 pass reference to owner's par list
5732 * BufferView_pimpl.C:
5736 2003-08-15 André Pönitz <poenitz@gmx.net>
5738 * lyxrow_funcs.[Ch]:
5741 * paragraph_funcs.C:
5746 * text_funcs.C: split LyXText::rowlist_ into individual
5747 Paragraph::rows_ chunks
5750 * BufferView_pimpl.[Ch]:
5753 * text3.C: remove toggleSelection()
5755 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5757 * bufferlist.C: beautify two alerts (shorter text of buttons)
5758 * buffer.C: Remove redundant ' ' from message
5760 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5761 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5762 rename VALIGN_CENTER to VALIGN_MIDDLE
5764 2003-08-11 André Pönitz <poenitz@gmx.net>
5766 * lyxtext.h (getPar):
5767 * text.C: new function
5769 2003-08-11 André Pönitz <poenitz@gmx.net>
5772 * tracer.[Ch]: remove unneeded files
5774 * InsetList.[Ch]: remove resizeInsetsLyXText()
5779 * text3.C: merge insertParagraphs() and appendParagraph()
5780 remove breakAgain(), update()
5782 * BufferView_pimpl.[Ch]:
5783 * bufferview_funcs.[Ch]:
5787 * tabular.C: adjust after text & InsetList changes.
5789 2003-08-08 André Pönitz <poenitz@gmx.net>
5791 * text.C (insertChar, backspace): replace rowlist fiddling
5792 with rebreak of full par
5795 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5796 checkParagraph, updateInset): removed
5798 2003-08-07 André Pönitz <poenitz@gmx.net>
5801 * text3.C: merge some LFUN handlers, remove dead code
5803 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5805 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5807 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5809 * text2.C (DEPM): fix part of bug 1255 and 1256
5811 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5813 * BufferView_pimpl.C (workAreaDispatch): change to use
5814 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5815 that are no mouse related.
5817 2003-08-05 André Pönitz <poenitz@gmx.net>
5820 * BufferView_pimpl.[Ch]:
5821 * bufferview_funcs.C:
5823 * text3.C: rip out "deep update"
5825 * textcursor.[Ch] (last_sel_cursor): remove unused member
5827 2003-08-04 André Pönitz <poenitz@gmx.net>
5830 * BufferView_pimpl.[Ch]:
5831 * ParagraphParameters.C:
5832 * bufferview_funcs.C:
5838 * text3.C: replace "complicated" BufferView::update(...) calls with
5841 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5843 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5845 * Makefile.am (lyx_SOURCES): add paper.h
5847 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5849 * Makefile.am: move things around so that both lyx-qt and
5850 lyx-xforms can be built (according to --with-frontend). Then lyx
5851 is a symbolic link to lyx-[firstfrontend]
5853 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5855 * Always use std::endl with lyxerr
5857 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5859 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5861 2003-08-01 André Pönitz <poenitz@gmx.net>
5864 * BufferView_pimpl.[Ch]:
5866 * text3.C: merge BufferView::repaint() and BufferView::update()
5868 2003-08-01 José Matos <jamatos@lyx.org>
5870 * buffer.[Ch]: file_format is no longer a buffer data element.
5872 2003-08-01 André Pönitz <poenitz@gmx.net>
5877 * text2.C: make redoParagraph more independent of current cursor
5879 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5881 * text2.C: remove unneeded members
5883 2003-07-30 André Pönitz <poenitz@gmx.net>
5885 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5887 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5888 create a single function...
5890 * paragraph_funcs.C (moveItem): ... here.
5893 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5895 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5897 * LColor.[Ch]: Add comment and greyedout logical colors.
5899 2003-07-30 André Pönitz <poenitz@gmx.net>
5901 * tabular.C: don't use Assert too heavily. This crashes where it
5904 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5906 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5907 is disabled (bug 1232)
5909 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5911 * factory.C: limited 'arg' scope
5913 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5915 * factory.C: fixed Note submenu issues
5917 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5919 * factory.C: submenu for Note/Comment/Greyedout
5921 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5924 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5926 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5929 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5930 greyedout. Patch provided by Jürgen Spitzmüller.
5932 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5934 * kbmap.C (read): fix error message when reading bind files
5936 2003-07-29 Angus Leeming <leeming@lyx.org>
5938 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5939 certainly does not do what it purports to do. I am doing it, and
5940 us, a favour by killing it.
5942 2003-07-28 José Matos <jamatos@lyx.org>
5944 * buffer.C (readBody, do_writeFile):
5945 * paragraph.C(readParagraph): \end_document replaces \the_end.
5947 2003-07-29 André Pönitz <poenitz@gmx.net>
5950 * BufferView_pimpl.[Ch]:
5954 * textcursor.[Ch]: remove toggleToggle & Co
5956 2003-07-28 José Matos <jamatos@fep.up.pt>
5958 * buffer.C (readParagraph):
5959 * params_func (readParToken, readParagraph):
5960 * paragraph.C (write): \layout -> \begin_layout.
5962 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5964 * lyxlex_pimpl.C (setFile): clean up slightly.
5966 * bufferparams.h: add compressed var
5968 * buffer_funcs.C (readFile): adjust for LyXLex change
5969 (newFile): ditto + simplify
5971 * buffer.C (writeFile): handle writing of compressed files
5973 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5974 Check if the file is compressed and set a bufferparm if so.
5976 * Makefile.am (lyx_LDADD): remove explicit -lz
5978 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5980 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5981 makeDocBookFile): put the real LyX version in the first line of
5985 * version.C.in: remove lyx_docversion
5987 * tabular.C (write_attribute): add a template-based version to
5988 write enums properly
5990 2003-07-28 André Pönitz <poenitz@gmx.net>
5995 * text3.C: use doubles again for x-coordinates. They are needed.
5997 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5999 * messages.C (getLocaleDir): use lyx_localedir()
6001 * lyxlex_pimpl.C (setFile): compress stuff
6003 * buffer.C (writeFile): add some compression stuff
6004 (do_writeFile): new func, dont call expliti close... will this
6007 * Makefile.am (lyx_LDADD): add -lz
6009 2003-07-28 José Matos <jamatos@fep.up.pt>
6011 * buffer.C: increment file format.
6012 * paragraph_funcs (readParagraph, readParToken):
6013 * paragraph.C (readParagraph): add \end_layout.
6015 2003-07-27 Angus Leeming <leeming@lyx.org>
6017 * Makefile.am: remove special casing for configure-time setting of
6018 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6020 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6021 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6023 2003-07-26 André Pönitz <poenitz@gmx.net>
6025 * paragraph_func.[Ch]:
6026 * paragraph.C (realizeFont): inline it whereever it is used
6031 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6034 2003-07-26 André Pönitz <poenitz@gmx.net>
6038 * text2.C: get rid of LyXText::need_break_row
6040 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * toc.[Ch]: put namespace toc inside namespace lyx
6044 * MenuBackend.C (expandToc2): adjust for lyx::toc
6047 * lyxfunc.C (dispatch): adjust for lyx::find
6049 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6050 lyx::find instead. Reorganize a bit.
6051 (LyXReplace): rename to replace
6052 (LyXFind): rename to find
6054 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6057 2003-07-26 André Pönitz <poenitz@gmx.net>
6059 * text.C (setHeightOfRow): restrict scope of temporary variable
6061 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6062 code (never has been used?)
6064 2003-07-27 Asger Alstrup <alstrup@local>
6066 * text.C (fill): Optimise algorithm to exploit that we can reuse
6067 the LyXFont for many characters.
6068 (setHeightOfRow): Same thing.
6069 (rowBreakPoint): Same thing.
6071 2003-07-26 Asger Alstrup <alstrup@local>
6073 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6075 * text.C (singleWidth): Spurious font copying in hot-spot
6076 singleWidth avoided. Reorder tests for arabic for efficiency.
6078 * text.C (fill): handle empty paragraphs better.
6080 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6083 * encoding.h: add includes
6085 * lyxrc.C: remove reading of bind files
6087 * lyx_main.C (init): setup bindings and menus only if we have a
6090 * kbmap.C (read): new method. Do the actual reading of bind
6093 * converter.C (dvipdfm_options):
6096 (output): adapt PAPER_* enums.
6098 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6100 * bufferparams.h: remove paper-related enums from there
6102 * paper.h: New file. A trivial header file to hold paper-related
6103 enums. It should later expand to contain many paper-related
6106 * lyxrc.C: declare extern displayTranslator
6108 2003-07-27 José Matos <jamatos@fep.up.pt>
6110 * tabular.[Ch] (linuxdoc): add support for tables and figures
6113 2003-07-27 José Matos <jamatos@fep.up.pt>
6115 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6116 consistency in both functions.
6117 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6119 2003-07-26 Asger Alstrup <alstrup@local>
6121 * rowpainter.C (paintRows): Change algorithm to work directly on
6122 the insets rather than asking every character in the document
6123 whether its an inset.
6125 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6127 * buffer.C (openFileWrite): factorize some code
6129 2003-07-26 Angus Leeming <leeming@lyx.org>
6132 * lyx_main.[Ch]: replace occurances of system_tempdir with
6135 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * rename Inset to InsetOld
6139 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6141 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6142 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6143 which I think is a bit clearer. EDIT is gone, since it was
6144 premature optimisation, and broken for mathed anyway.
6145 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6146 with cursor positioning in insets as well (math insets still do not
6147 work, but that's a different story anyway.) It mysteriously
6148 crashes sometimes with undo in the first paragraph, but I'm fairly
6149 confident that this is a compiler bug.
6151 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * paragraph.C (Paragraph): adjust for new clone return type
6155 (copyIntoMinibuffer): ditto
6157 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6159 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6160 by not having a special case, and always doing a full rebreak of
6161 the document after undo.
6163 2003-07-23 Angus Leeming <leeming@lyx.org>
6165 * factory.C (createInset): InsetExternal::setParams now takes a
6168 2003-07-23 Angus Leeming <leeming@lyx.org>
6170 * factory.C (createInset): changed interface to the external and
6171 graphics mailers' string2params functions.
6173 2003-07-23 Angus Leeming <leeming@lyx.org>
6175 * factory.C (createInset): pass a
6176 Buffer const * parameter to InsetExternalMailer's string2params.
6178 2003-07-22 John Levon <levon@movementarian.org>
6180 * Thesaurus.h: include the right aiksaurus header
6182 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6184 * MenuBackend.C (expand): check menu shortcuts unconditionally
6186 2003-07-21 Angus Leeming <leeming@lyx.org>
6188 * factory.C (createInset): pass a
6189 buffer_path parameter to InsetGraphicsMailer's string2params.
6191 2003-07-21 Angus Leeming <leeming@lyx.org>
6193 * BufferView_pimpl.C (buffer):
6196 * lyxfunc.C (dispatch):
6197 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6198 rather than the grfx shortcut.
6200 2003-07-21 André Pönitz <poenitz@gmx.net>
6202 * rowpainter.C: remove unused variables
6205 * tabular_funcs.h: move to tabular.C
6206 * Makefile.am: adjust
6208 * tabular.[Ch]: basic optical cleaning
6210 * author.h: pass references, not values
6212 2003-07-18 André Pönitz <poenitz@gmx.net>
6220 * text3.C: two-phase drawing for InsetText and InsetTabular
6221 some float -> int changes.
6223 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6225 * lyx_main.C: fix the fix
6227 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6229 * lyx_main.C: fix a crash in batch mode if no files specified
6232 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6234 * format.[Ch] (papersize): moved to BufferParams
6235 * converter.[Ch] (dvips_options): moved to BufferParams
6236 (dvipdfm_options): moved to anon namespace
6237 * bufferparams.[Ch]: added above functions.
6239 2003-07-17 André Pönitz <poenitz@gmx.net>
6243 * text2.C: don't call inset->update() anymore
6245 * metricsinfo.[Ch]: add convenience constructor
6247 2003-07-16 André Pönitz <poenitz@gmx.net>
6252 * text2.C: replace the LyXCursor::irow_ member with
6253 on-demand computation of the value
6255 2003-07-16 John Levon <levon@movementarian.org>
6257 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6259 2003-07-15 André Pönitz <poenitz@gmx.net>
6262 * text2.C: remove no more needed refresh_row
6264 2003-07-15 André Pönitz <poenitz@gmx.net>
6269 * text3.C: refresh_status tristate -> need_update bool
6271 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6273 * lyxtext.h (init): remove reinit argument (act as if always true)
6274 * text2.C: adjust to that
6276 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6278 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6279 * text3.C: use it to delete selections in some cases
6280 (bugs 441, 673, 702, 954).
6282 2003-07-14 André Pönitz <poenitz@gmx.net>
6284 * rowpainter.[Ch]: reduce interface
6286 2003-07-14 André Pönitz <poenitz@gmx.net>
6288 * BufferView_pimpl.C:
6289 * text2.C: adjust after removing unused BufferView * argument
6291 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6293 * text2.C (init): fix a crash fired on resize
6295 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6297 * buffer.[Ch]: added new closing signal
6298 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6299 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6300 BufferView::Pimpl via the closing the signal
6302 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6304 * buffer.[Ch]: take out all bv-related from buffer
6306 * BufferView_pimpl.[Ch]: connect to new signals
6307 * CutAndPaste.C: removed useless asserts
6308 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6311 * lyxfunc.C: moved view-related funciontality from vc here
6312 * paragraph.C: removed outdated comments
6315 2003-07-10 André Pönitz <poenitz@gmx.net>
6317 * BufferView_pimpl.C:
6321 * text2.C: remove InsetText::InnerCache, clean up consequences
6323 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6325 * ispell.C: fix two typos in error messages
6327 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6329 * Extend Note inset to other forms of annotation like Comment
6330 and Greyedout. Right button click gives dialog.
6332 Files modified or added (+):
6336 * ControlNote.[Ch] +
6338 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6339 frontends/controllers
6343 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6345 * aspell.C: add missing namespace lyx::support
6347 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6349 * BufferView.[Ch] (newFile): Add
6350 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6351 * LaTeX.[Ch] (message): added this signal and use it
6352 * buffer.[Ch] (busy, message): added these signals and use them
6353 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6357 * importer.C: use buffer signals instead of direct bv calling
6358 * lyx_cb.[Ch] (ShowMessage): removed
6361 * paragraph_funcs.C:
6362 * text2.C: use buffer signals
6364 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * introduce namespace lyx::graphics
6368 2003-07-02 André Pönitz <poenitz@gmx.net>
6370 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6372 2003-07-01 André Pönitz <poenitz@gmx.net>
6379 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6380 text*.C to text_func.C
6382 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6384 * introduce namespace lyx::support
6386 2003-06-30 André Pönitz <poenitz@gmx.net>
6391 * text.C: re-enable --with-included-string
6393 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * textcursor.C: add <config.h>
6397 * text.C (getWord): remove const from word_location arg
6399 * lyxvc.C (getLogFile): fix const type order
6401 * lyxtext.h: remove const from word_location arg, add arg name
6403 * lyxlayout.h: currect type on labeltype.
6405 * importer.C: correct \file
6407 * converter.C (intToFormat): use std:: on ret val, ws changes
6409 * bufferlist.h: correct \file
6411 * buffer.C (makeLinuxDocFile): fix const type order
6412 (makeDocBookFile): ditto
6413 (fillWithBibKeys): use std:: on stdlib args.
6415 * CutAndPaste.C: fix authors.
6416 (availableSelections): use std:: on return vector
6418 2003-06-27 André Pönitz <poenitz@gmx.net>
6420 * BufferView_pimpl.C:
6421 * bufferview_funcs.C:
6429 * text3.C: remove LyXCursor::row_ member
6432 * text.C: rename fullRebreak() to partialRebreak() and implement
6433 a fullRebreak() that really bereks fully
6435 * textcursor.h: new struct for cursor-related data
6437 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6439 * lyx_main.C (LyX): get full path of document loaded on the
6442 2003-06-26 André Pönitz <poenitz@gmx.net>
6444 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6445 remove unused/broken operator>,<,>=.
6447 * text.C: remove only use of broken operator<= in an Assert().
6449 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6451 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6452 moved errorlist_.clear to showErrorList
6454 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6456 * converter.C (scanLog, runLaTeX):
6457 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6458 move the bv->showErrorList call to the callers
6459 * lyxfunc.C: i.e. here...
6461 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6462 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6463 namespace, the second to...
6464 * buffer_funcs (BufferFormat, parseErrors): added
6465 * errorlist.C (ErrorList(TeXErrors const &)): removed
6467 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6469 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6471 2003-06-24 "Garst R. Reese" <reese@isn.net>
6475 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6477 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6479 * version.C.in: change docversion to 1.4
6481 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6483 * buffer.C: fix a bug just introduced
6485 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6487 * buffer.[Ch]: added the parseError signal and use it, removed
6489 * BufferView.[Ch] (addError): moved to ...
6490 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6491 to the Buffer::parseError signal to catch (guess what) parse errors
6492 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6494 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6496 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6497 ability to create a buffer and to return an existing one from
6498 the list. Moved these functions to...
6499 * buffer_funcs.[Ch]: added
6500 * BufferView.[Ch] (loadLyXFile): added
6501 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6502 job removed from bufferlist::loadLyXFile.
6503 * buffer.C (setReadOnly): make it work without view
6504 (i.e added an if (users))
6506 2003-06-19 Angus Leeming <leeming@lyx.org>
6509 * LyXAction.C (init):
6510 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6511 with LFUN_DIALOG_SHOW <name> <data>.
6513 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6515 * CutAndPaste.C (availableSelections): small compilation fix for
6516 ancient (gcc 2.9x) compilers
6518 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * text3.C (cursorNext): add tmp var
6522 * text2.C (updateCounters): for function calling out of for clause
6523 (replaceSelectionWithString): ditto
6524 (insertStringAsParagraphs): ditto
6525 (getColumnNearX): add tmp var
6526 (setCursorFromCoordinates): add tmp var
6527 (cursorDownParagraph): add tmp var
6528 (deleteEmptyParagraphMechanism): add tmp var
6530 * text.C (insertChar): add tmp var
6532 * rowpainter.C (paintDepthBar): add tmp var
6534 * CutAndPaste.C (availableSelections): potentially check all
6535 paragraphs in a cut to fill the shown strings.
6537 2003-06-18 André Pönitz <poenitz@gmx.net>
6539 * kbmap.[Ch]: use vector<> instead of list<>
6541 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6543 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6544 pasteSelection with index
6546 * text2.C (pasteSelection): modify, call pasteSelection with index
6548 * paragraph.C (asString): reimplement version with no interval to
6549 call the one with interval.
6551 * lyxtext.h: add index arg to pasteSelection
6553 * MenuBackend.C (MenuItem): handle PasteRecent
6554 (Menu::read::Menutags): add md_pasterecent
6556 (expandPasteRecent): new function
6559 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6561 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6563 (availableSelections): new function
6565 2003-06-17 Angus Leeming <leeming@lyx.org>
6567 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6569 2003-06-17 Angus Leeming <leeming@lyx.org>
6572 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6574 * lyxfunc.C (dispatch): invoke it.
6576 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6578 * iterators.C (operator++, ParPosition): reintroduce some
6579 const_cast for the benefit of older compilers.
6581 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6583 * text3.C (dispatch): do not modify clipboard when doing
6584 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6585 LFUN_DELETE_SKIP on a selection selection
6587 2003-06-16 André Pönitz <poenitz@gmx.net>
6593 * tabular.[Ch]: IU of clone() and getLabelList();
6595 2003-06-13 André Pönitz <poenitz@gmx.net>
6597 * tabular.h: compactification
6599 2003-06-12 André Pönitz <poenitz@gmx.net>
6603 * tabular_funcs.h: some renaming plus whitespace
6605 2003-06-12 André Pönitz <poenitz@gmx.net>
6608 * BufferView_pimpl.C:
6614 * toc.C: Return a Paragraph & for ParIterator::operator*()
6616 2003-06-11 John Levon <levon@movementarian.org>
6620 * ToolbarBackend.C: add "Toolbars" section and
6623 2003-06-10 Angus Leeming <leeming@lyx.org>
6626 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6628 * lyxfunc.C (dispatch): invoke it.
6630 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * main.C: protect <ios> with HAVE_IOS
6633 (main): protect sync_with_stdio with HAVE_IOS
6635 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6637 * text2.C (cutSelection): adjust
6638 (pasteSelection): adjust
6640 * messages.C: handle get of empty string
6642 * main.C (main): use sync_with_stdio(false)
6644 * lyxfunc.C (dispatch): adjust
6646 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6647 (WriteAs): remove unneeded BufferView arg.
6649 * bufferparams.h: use correct types on papersize, papersize2 and
6652 * bufferparams.C (readToken): adjust for type
6653 (writeLaTeX): add missing cases to switch.
6655 * bufferlist.C (quitWriteBuffer): adjust
6658 * buffer.C (asciiParagraph): remove some commented code.
6660 * CutAndPaste.C: remove current_view extern variable.
6661 (cutSelection): add BufferParams arg.
6662 (eraseSelection): add BufferParams arg.
6663 (pasteSelection): add Buffer const & arg
6665 2003-06-07 John Levon <levon@movementarian.org>
6668 * paragraph_funcs.C:
6669 * paragraph_pimpl.C:
6673 * paragraph.C: allow InsetERT to freely space lines,
6674 and some consolidation of code
6676 2003-06-06 José Matos <jamatos@fep.up.pt>
6678 * buffer.C (makeDocBookFile): fix bug #821
6680 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6682 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6684 2003-06-04 Angus Leeming <leeming@lyx.org>
6686 * buffer.C: bump format to 224.
6688 2003-06-05 André Pönitz <poenitz@gmx.net>
6690 * text2.C (redoParagraphs): remove two const_cast<>
6692 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6694 * ParagraphList.h: remove last remnants of NO_STD_LIST
6696 2003-06-03 Angus Leeming <leeming@lyx.org>
6698 * factory.C (createInset): small change to the way InsetExternal's params
6701 2003-06-04 André Pönitz <poenitz@gmx.net>
6703 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6705 * paragraph_pimpl.h:
6706 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6708 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6710 * undo_funcs.C: make some simple cases of undo work again
6712 2003-06-03 John Levon <levon@movementarian.org>
6714 * ispell.C: HPUX doesn't have sys/select.h
6717 2003-06-03 John Levon <levon@movementarian.org>
6719 * CutAndPaste.C: update tabular and include inset
6724 * paragraph.C: remove owningBuffer(), don't pass Buffer
6727 * factory.C: insetGraphicsParams changed
6729 2003-06-02 John Levon <levon@movementarian.org>
6735 * text3.C: remove insetparent
6737 2003-06-02 John Levon <levon@movementarian.org>
6740 * buffer.C: fix inset_iterator.end(), move out of line
6743 2003-06-01 John Levon <levon@movementarian.org>
6745 * text3.C: use a proper cut/paste when doing inset
6746 insert (from Jürgen Spitzmüller)
6748 2003-06-01 John Levon <levon@movementarian.org>
6750 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6752 2003-05-30 André Pönitz <poenitz@gmx.net>
6754 * rowpainter.C: unify second drawing phase
6756 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * trans_mgr.C: remove one case of current_view
6760 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6762 * paragraph_funcs.h: remove paragraph.h include
6764 * paragraph.h: delete NO_STD_LIST stuff
6766 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6768 * buffer.h: remove paragraph.h include
6770 * ParagraphList.C: delete file
6772 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6774 * toc.C (getTocList): adjust
6776 * paragraph_pimpl.C (validate): adjust
6778 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6780 * paragraph.C (Paragraph): adjust
6781 (getPositionOfInset): use const_iterator, adjust
6782 (bibitem): use const_iterator, adjust
6783 (setInsetOwner): adjust
6785 * iterators.C (operator++): adjust
6787 * InsetList.[Ch]: Replace selfmade iterator with standard
6788 vector::iterator also introduce const_iterator. Remove getPos,
6789 getInset and setInset from InsetTable. Adjust accordingly.
6791 * BufferView.C (lockInset): adjust
6792 (ChangeInsets): adjust
6794 * tabular.[Ch]: delete commented same_id functions
6796 2003-05-28 John Levon <levon@movementarian.org>
6798 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6800 2003-05-28 André Pönitz <poenitz@gmx.net>
6802 * metricsinfo.[Ch]: remove 'fullredraw' member
6804 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6806 * lyxtextclass.C (operator): remove caching.
6808 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6812 * text2.C (cursorBottom): adjust
6813 (setCounter): use ParagraphList::find, adjust
6815 * text.C (workWidth): use ParagraphList::find, adjust
6817 * lyxcursor.C (LyXCursor): adjust
6819 * buffer.C (inset_iterator): adjust
6821 * ParagraphList.h: make iterator(value_type) private, make
6822 ParagraphList a friend of iterator.
6824 * ParagraphList.C (find): new function
6826 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6828 2003-05-27 André Pönitz <poenitz@gmx.net>
6830 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6832 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6834 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6836 2003-05-26 John Levon <levon@movementarian.org>
6838 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6840 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * remove same_id from function signatures, adjust.
6844 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6848 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6850 * paragraph.C (Paragraph): get rid of same_ids parameter
6852 * ParagraphList.C (insert): adjust
6855 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * paragraph_funcs.C (breakParagraph): adjust
6858 (breakParagraphConservative): adjust
6860 * buffer.C (readParagraph): adjust
6862 * ParagraphList.C (insert): take a reference instead of a pointer
6865 * paragraph.[Ch] (id): new function
6867 * bufferlist.C (newFile): adjust
6869 * ParagraphList.C (ParagraphList): adjust
6871 (push_back): take a reference instead of a pointer.
6873 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6875 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6878 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6879 set else use old code.
6881 * ParagraphList.C: remove all NO_NEXT code and only compile this
6882 code of NO_STD_LIST is set.
6884 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6886 * BufferView_pimpl.C:
6896 * graphics/GraphicsConverter.C:
6897 * graphics/PreviewLoader.C: header adjustment
6899 2003-05-23 Angus Leeming <leeming@lyx.org>
6901 * LaTeXFeatures.[Ch] (useBabel): new method.
6902 * bufferparams.C (writeLaTeX): use it.
6904 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6906 * ParagraphList.h (set): remove unused function.
6908 2003-05-23 André Pönitz <poenitz@gmx.net>
6911 * BufferView_pimpl.C:
6915 * undo_funcs.C: setUndo reworked
6917 * iterators.[Ch]: add access to topmost ParagraphList
6919 * lyxtext.[Ch] (workWidth): add a const
6921 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6923 * texrow.[Ch] (increasePos): remove function
6924 * exporter.C (export): removed unused var and outdated comment
6926 2003-05-23 Angus Leeming <leeming@lyx.org>
6928 * latexrunparams.h: rename fragile as moving_arg.
6929 * paragraph.C (simpleTeXOnePar): ditto.
6930 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6932 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6936 (textUndoOrRedo): comment out a currently unused var.
6938 * paragraph.h (NO_NEXT): enable NO_NEXT
6940 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6942 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6944 * exporter.C (Export): adjust for removeAutoInsets removal.
6946 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6948 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6950 * BufferView.[Ch] (removeAutoInsets): delete function
6952 2003-05-22 Angus Leeming <leeming@lyx.org>
6954 * latexrunparams.h: add a free_spacing variable.
6956 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6957 to pass moving_arg, as the data is stored in runparams.fragile.
6959 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6960 to Inset::latexOptional or to simpleTeXOnePar.
6962 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6963 free_spacing arg to Inset::latexOptional.
6965 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6968 2003-05-22 Angus Leeming <leeming@lyx.org>
6970 * latexrunparams.h: add fragile and use_babel variables.
6972 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6973 * buffer.C (makeLaTeXFile): store this returned value in
6974 runparams.use_babel, thus passing it to the inset::latex methods.
6976 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6977 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6979 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6980 longer has a fragile arg, as it is stored in runparams.fragile.
6982 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6983 moving_arg parameter as the data is stored in runparams.fragile.
6985 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6986 a fragile parameter as the data is stored in runparams.fragile.
6988 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6992 2003-05-22 Angus Leeming <leeming@lyx.org>
6994 * latexrunparams.h: add a 'bool nice' which defaults to false.
6996 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6997 now encapsulated within runparams.
6999 * bufferlist.C (updateIncludedTeXfiles):
7000 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7002 2003-05-22 Angus Leeming <leeming@lyx.org>
7004 * latexrunparams.h: new file containing struct LatexRunParams.
7005 * Makefile.am: add new file.
7007 * LaTeX.[Ch] (c-tor, run):
7008 * buffer.[Ch] (makeLaTeXFile):
7009 * bufferlist.[Ch] (updateIncludedTeXfiles):
7010 * converter.C (convert, scanLog):
7011 * converter.[Ch] (runLaTeX):
7012 * exporter.C (Export):
7013 * paragraph.[Ch] (simpleTeXOnePar):
7014 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7015 * paragraph_funcs.[Ch] (latexParagraphs):
7016 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7017 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7018 pass around a LatexRunParams parameter.
7020 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * paragraph.[Ch]: remove unused constructor
7024 * ParagraphList.C (erase): new function, taking two iterators
7026 2003-05-22 André Pönitz <poenitz@gmx.net>
7028 * undo_funcs.C: remove duplicated code
7030 * iterator.[Ch]: operator=
7032 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * tabular.C (SetMultiColumn): ws changes
7036 * rowpainter.C (paintFirst): get rid of a ->previous
7038 * lyx_cb.C (getPossibleLabel): parlist simplification
7040 * BufferView.C (ChangeInsets): simplify slightly.
7042 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7044 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7045 * lfuns.h: new LFUN_SPACE
7046 * lyxfunc.C: protected space has a new lfun
7047 * paragraph_funcs.C: read new space insets
7049 * factory.C: handle new space insets
7051 2003-05-22 André Pönitz <poenitz@gmx.net>
7054 * BufferView_pimpl.C:
7057 * undo_funcs.C: return a ParIterator from getParFromID.
7059 * iterators.[Ch]: add two const's
7061 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * toc.C (getTocList): adjust
7065 * iterators.[Ch]: rework for parlist
7067 * buffer.C (par_iterator_begin): adjust
7068 (par_iterator_end): adjust
7070 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7072 * BufferView.C (removeAutoInsets): adjust
7073 (ChangeInsets): adjust
7075 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7077 * text.C (top_y): fix bug 1110
7079 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7081 * errorlist.[Ch]: added
7084 * BufferView_pimpl.C:
7085 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7088 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * Makefile.am: ensure that lyx is relinked upon changes to the
7091 various "convenience" libs.
7093 2003-05-20 Angus Leeming <leeming@lyx.org>
7095 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7096 files are compiled in alphabetical order again.
7098 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7100 2003-05-19 Angus Leeming <leeming@lyx.org>
7102 * gettext.[Ch]: remove "char const * _(char const *)".
7104 2003-05-19 André Pönitz <poenitz@gmx.net>
7106 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7115 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7117 2003-05-19 André Pönitz <poenitz@gmx.net>
7121 * lyxtextclass.[Ch]:
7123 * paragraph_funcs.[Ch]:
7125 * text3.C: more insetenv work
7127 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7129 * ParagraphParameters.C (params2string): small bug fixed
7131 2003-05-16 André Pönitz <poenitz@gmx.net>
7134 * bufferview_funcs.C: patch from Kornel Benko to prevent
7135 crash when _(...) is called twice in a statement
7137 2003-05-16 André Pönitz <poenitz@gmx.net>
7144 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7146 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7148 * lyx_main.C (init): remove spurious static_cast
7150 2003-05-14 André Pönitz <poenitz@gmx.net>
7152 * BufferView.C: fix format string
7154 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7156 * BufferView.[Ch] (insertErrors): removed
7157 * BufferView.[Ch] (showErrorList): added
7158 * buffer.C (runChkTeX):
7159 * converter.C (scanLog): call showErrorList instead of inserterrors
7161 2003-05-13 André Pönitz <poenitz@gmx.net>
7163 * BufferView_pimpl.C:
7165 * bufferview_func.C:
7172 * tabular_funcs.h: tostr() from its own header
7174 * ParagraphParameters.C:
7179 * text3.C: STRCONV()
7181 2003-05-12 André Pönitz <poenitz@gmx.net>
7184 * BufferView_pimpl.C:
7188 * ParagraphParameters.C:
7192 * bufferview_funcs.C:
7205 * paragraph_funcs.C:
7209 * text3.C: boost::format -> bformat all over the place
7212 2003-05-09 André Pönitz <poenitz@gmx.net>
7214 * LColor.[Ch]: Pimpl the #include <map> away
7216 2003-05-09 John Levon <levon@movementarian.org>
7218 * bufferlist.C: never remove emergency saves
7220 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7222 * Makefile.am: better lib building
7224 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7228 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7229 (simpleTeXSpecialChars): adjust
7230 (simpleTeXSpecialChars): adjust
7231 * paragraph.C (simpleTeXOnePar): adjust
7232 * buffer.C (makeLaTeXFile): adjust
7234 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7236 * text2.C (changeDepth): parlist cleanup
7237 (getColumnNearX): ditto
7239 * rowpainter.C (getLabelFont): parlist cleanup
7241 * bufferlist.C (newFile): parlist cleanup
7243 * CutAndPaste.C (eraseSelection): parlist cleanup
7245 * BufferView_pimpl.C (trackChanges): parlist cleanup
7248 * BufferView.C (lockInset): parlist cleanup.
7249 (ChangeInsets): ditto
7251 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7253 * CutAndPaste.h: Update file header.
7255 * CutAndPaste.C: Update file header.
7256 Store the parts cut out of the Document in a limited_stack.
7257 (copySelection): adjust
7258 (pasteSelection): new function, takes the index in the limited stack.
7259 (nrOfParagraphs): adjust
7260 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7261 simplify error inset insertion.
7262 (checkPastePossible): adjust
7264 2003-05-06 John Levon <levon@movementarian.org>
7266 * text2.C: don't cast wrap inset to float
7268 2003-05-05 André Pönitz <poenitz@gmx.net>
7271 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7273 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7274 few naked Paragraph *.
7276 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7278 * bufferparams.C: Output warning if a document with missing
7279 TeX document class is loaded
7280 * exporter.C: Disable TeX exports if the document class is missing
7283 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7284 isTeXClassAvailable()
7286 2003-05-03 John Levon <levon@movementarian.org>
7289 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7290 explicit cursor show/hide
7292 * BufferView_pimpl.h:
7293 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7294 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7296 * lyxfunc.C: hide cursor before dispatching.
7301 * text3.C: remove explicit cursor hides
7303 2003-05-02 André Pönitz <poenitz@gmx.net>
7305 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7308 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7311 * text2.C: tiny whitespace
7313 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * undo_funcs.C: almost only ws changes.
7317 * ParagraphList.C (splice): just return if pl is empty.
7319 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * ParagraphList.C (splice): new function.
7323 * CutAndPaste.C (pasteSelection): use it
7325 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * CutAndPaste.C (pasteSelection): remove the last next and
7328 previous from this file.
7330 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * CutAndPaste.C (pasteSelection): more clean up, user proper
7333 ParagraphList functions for pasteing.
7335 * ParagraphList.C (insert): new function, three arg insert
7337 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7339 * ParagraphList.C (insert): new function, three arg insert
7341 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7344 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7348 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7350 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7352 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7355 (copySelection): clean up a bit.
7356 (pasteSelection): use make_pair
7358 * ParagraphList.C (ParagraphList): implement copy constructor
7359 (operator=): implement, base on copy constructor.
7362 * paragraph.C (erase): return a bool
7364 * paragraph_pimpl.C (erasePos): remove function, move contents...
7365 (erase): ... here. Return a bool.
7366 (erase): call erase instead of erasePos.
7368 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7370 * ParagraphList.h: define PitPosPair
7371 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7372 ParagraphList, fix a bug on pasting multiple pars
7373 * text2.C: change interface to C&P
7375 2003-04-30 André Pönitz <poenitz@gmx.net>
7377 * undo_func.C: revert part of yesterday's patch 2
7379 2003-04-30 John Levon <levon@movementarian.org>
7381 * LColor.C: s/tabular/table/
7383 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7385 * text3.C (dispatch): do not convert iterator -> pointer
7386 * undo_funcs.C (setCursorParUndo): ditto
7387 * text_funcs.C (transposeChars): ditto
7389 * text2.C (setLayout): ws changes only
7391 * text.C (breakParagraph): do not convert iterator -> pointer
7393 (acceptChange): ditto
7394 (rejectChange): ditto
7399 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7402 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7404 * text3.C (gotoInset): YABG (yet another bad getChar)
7406 2003-04-29 André Pönitz <poenitz@gmx.net>
7408 * paragraph.h: make operator= private unimplemented as long as
7411 * ParagraphList.C: whitespace
7414 * paragraph_pimpl.[Ch]:
7415 * paragraph_funcs.C:
7417 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7420 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7422 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7424 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7425 * paragraph.[Ch] (erase):
7426 * paragraph_pimpl.[Ch] (erase): change return type and value
7427 * text2.C (cutSelection): some rework
7429 2003-04-28 John Levon <levon@movementarian.org>
7431 * bufferlist.C: changes for unsaved changes dialog
7433 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7435 * bufferlist.C (newFile): set language (messages_) for new
7438 * buffer.C (readFile): ws changes only.
7440 2003-04-28 André Pönitz <poenitz@gmx.net>
7445 * BufferView_pimpl.C:
7446 * BufferView.C: getParFromID related ParagraphList::iterator changes
7448 2003-04-28 André Pönitz <poenitz@gmx.net>
7450 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7453 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * messages.C: remove one more localedir class variable.
7457 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * messages.C (getLocaleDir): singleton generation function
7461 (Messages): add a default constructor.
7463 * main.C (main): do not setup localedir here, do not call
7466 * gettext.C (_): use it.
7467 (gettext_init): delete funciton
7469 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7471 * gettext.C (getLyXMessages): new singleton generating function.
7473 * buffer.C (updateDocLang): adjust
7475 * Makefile.am (messages.o): add target
7476 (main.o): remove target
7478 2003-04-27 John Levon <levon@movementarian.org>
7483 * lyxvc.C: specify cancel button in Alert::prompt
7485 2003-04-26 John Levon <levon@movementarian.org>
7490 * LyXAction.C: add LFUN_INSET_SETTINGS
7492 * lyxfunc.C: don't enable tabular-feature when there's
7493 just any locking inset
7495 2003-04-26 John Levon <levon@movementarian.org>
7497 * bufferlist.C: re-add Cancel to buffer close question
7499 * lyxfunc.C: fix import UI a bit
7501 2003-04-25 John Levon <levon@movementarian.org>
7503 * gettext.C: remove the broken asserts for now
7505 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * messages.C: make case where setlocale cannot comply work better.
7509 * buffer.C (updateDocLang): new function
7510 (changeLanguage): use it
7513 * text2.C (setCounter): use B_ a bit.
7515 * lyxlayout.C (Read): be sure to trim the label strings.
7517 * messages.C (Messages): fix typo in comment
7519 * buffer.C (readFile): set message_ after file is loaded.
7520 (makeDocBookFile): remove double return
7521 (changeLanguage): reset message_ upon language change.
7522 (B_): new func, use this to get translated buffer strings.
7524 * main.C: add myself and Jean Marc as authors.
7526 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * messages.[hC]: pimplify Messages, and three different pimpls to be
7529 used in different circumstances.
7531 * gettext.[Ch]: change for use with new message code.
7533 2003-04-24 André Pönitz <poenitz@gmx.net>
7535 * factory.C: support for eqref
7537 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * messages.[Ch]: add missing char
7541 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7543 * messages.[Ch]: New files
7545 2003-04-18 John Levon <levon@movementarian.org>
7549 * BufferView_pimpl.C:
7553 * text2.C: remove layout-copy/paste (bug 778)
7555 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7557 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7559 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7561 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7562 if they succeed. Act accordingly.
7564 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * text2.C (setCharFont): adjust
7567 (setCounter): adjust
7568 (insertStringAsLines): adjust
7570 * text.C (leftMargin): adjust
7571 (setHeightOfRow): adjust
7573 * rowpainter.C (paintFirst): adjust
7576 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7578 (isFirstInSequence): ditto
7579 (getEndLabel): ditto
7582 * paragraph.C (getParLanguage): comment out some hard stuff.
7584 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7586 (simpleDocBookOnePar): ditto
7587 (makeDocBookFile): use ParagraphList::iterator
7589 * CutAndPaste.C (pasteSelection): adjust
7591 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * text2.C (getFont): adjust
7594 (getLayoutFont): adjust
7595 (getLabelFont): adjust
7597 * paragraph_funcs.C (TeXOnePar): adjust
7599 * buffer.C (simpleLinuxDocOnePar): adjust
7600 (simpleDocBookOnePar): adjust
7602 * CutAndPaste.C (pasteSelection): adjust
7604 * BufferView.C (getEncoding): adjust
7606 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7608 2003-04-16 John Levon <levon@movementarian.org>
7610 * lyxfind.C: use parlist stuff for search/changes
7612 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7614 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7616 * text2.C (deleteEmptyParagraphMechanism): adjust
7618 * text2.[Ch] (ownerParagraph): delete func (both of them
7620 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7622 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7624 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * ParagraphList.C: prepare for NO_NEXT
7628 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * text2.C (getFont): adjust
7631 (getLayoutFont): adjust
7632 (getLabelFont): adjust
7634 * paragraph.C (getFont): adjust
7635 (getLabelFont): adjust
7636 (getLayoutFont): adjust
7638 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7640 2003-04-15 John Levon <levon@movementarian.org>
7644 * lyx_main.C: handle Include in .ui files
7646 2003-04-15 John Levon <levon@movementarian.org>
7648 * MenuBackend.C: make the doc files length shorter
7651 * ToolbarBackend.C: handle toolbar placement flags,
7654 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7656 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7659 * paragraph_funcs.C (TeXOnePar): adjust
7661 * paragraph.C (getLabelFont): add outerfont arg, adjust
7662 (getLayoutFont): ditto
7663 (simpleTeXOnePar): adjust
7665 * paragraph_pimpl.C (realizeFont): delete func
7667 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7669 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7670 row argument, constify cur argument.
7672 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7674 * text2.C (getFont): adjust
7675 (getLayoutFont): adjust
7676 (getLabelFont): adjust
7678 * paragraph_funcs.C (TeXOnePar): adjust
7679 (outerFont): new func...
7680 (realizeFont): ...moved out from here, changed this to facilitate
7683 * paragraph.C (getFont): take outerfont as arg, adjust
7684 (simpleTeXOnePar): add outerfont arg, adjust
7686 * buffer.C (simpleLinuxDocOnePar): adjust
7687 (simpleDocBookOnePar): adjust
7689 * CutAndPaste.C (pasteSelection): adjust
7691 * BufferView.C (getEncoding): adjust
7693 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7695 * text2.C (setCharFont): adjust
7696 (setCounter): adjust
7698 * text.C (leftMargin): adjust
7699 (setHeightOfRow): adjust
7701 * rowpainter.C (paintFirst): adjust
7704 * paragraph_pimpl.C (realizeFont): adjust
7706 * paragraph.C (isFirstInSequence): move from here...
7707 * paragraph_funcs.C (isFirstInSequence): ...to here
7709 * paragraph.C (outerHook): move from here...
7710 * paragraph_funcs.C (outerHook): ...to here
7712 * paragraph.C (depthHook): move from here...
7713 * paragraph_funcs.C (depthHook): ...to here
7715 * paragraph.C (getEndLabel): move from here...
7716 * paragraph_funcs.C (getEndLabel): ...to here
7718 * text2.C (realizeFont): move from here...
7719 * paragraph_funcs.C (realizeFont): ...to here
7721 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7725 2003-04-14 Angus Leeming <leeming@lyx.org>
7727 * LColor.[Ch]: scrap LColor mathcursor.
7729 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * lyxlex.[Ch] (text): delete function
7732 * trans.C (Load): adjust
7733 * paragraph_funcs.C (readParToken): adjust
7735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7738 vector<char> instead of a char[].
7740 * lyxlex_pimpl.C (getString): adjust
7742 (lex): use getString
7746 * lyxlex.C (text): use pimpl_->getString()
7750 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7753 (makeFontEntriesLayoutSpecific): temp var for par.size()
7754 (setLayout): temp var for ownerParagraphs().end()
7755 (fullRebreak): temp var for rows().end()
7756 (selectionAsString): temp var for boost::next(startpit), realize
7757 that the while really is a regular for loop.
7758 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7759 setCursor in one place.
7760 (setParagraph): temp vr for ownerParagraphs().end()
7761 (updateCounters): make the while loop a for loop
7762 (cutSelection): temp var for ownerParagraphs().end()
7763 (updateInset): make the do {} while() a regular for loop
7764 (getCursorX): use temp vars
7765 (setCurrentFont): use temp vars
7766 (getColumnNearX): use temp vars
7768 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7770 * text.C (transformChar): use temp var for getChar
7771 (computeBidiTables): use temp var for row->par()
7772 (fill): move temp vars for row->par() and pit->layout() earlier in
7774 (labelFill): use temp var for row->par()
7775 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7776 asc and desc, realize that pit never changes and that firstpit is
7777 just a duplicate and not needed. Exchange rit->par() with pit in a
7779 (breakAgain): use a temp var for boost::next(rit)
7780 (breakAgainOneRow): ditto
7781 (breakParagraph): use a temp var for rows().begin()
7782 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7783 (cursorRightOneWord): use temp var for cursor.par() and
7784 cursor.pos(), remove usage of tmpcursor.
7785 (cursorLeftOneWord): use temp var for cursor.par() and
7786 cursor.pos() only set cur at end of function.
7788 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * text.C, text2.C: exchange all usage of Paragraph::next with
7791 boost::next(ParagraphList::iterator)
7793 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7795 * text2.C (cursorTop): simplify implementation
7796 (cursorBottom): ditto
7797 (setParagraph): use ParagraphList::iterator
7798 (setCurrentFont): adjust
7799 (getColumnNearX): adjust
7800 (cursorRight): adjust
7801 (cursorLeft): remove usage of Paragraph::previous
7802 (cursorUpParagraph): ditto
7803 (deleteEmptyParagraphMechanism): slight cleanup
7805 * text.C (isBoundary): take a Paragraph const & instead of a
7807 (addressBreakPoint): ditto
7808 (leftMargin): remove usage of Paragraph::previous.
7809 (setHeightOfRow): ditto
7810 (cursorLeftOneWord): ditto
7811 (selectNextWordToSpellcheck): ditto
7814 (breakParagraph): remove one usage of Paragraph::next
7815 (redoParagraph): ditto
7816 (acceptChange): ditto
7817 (insertChar): adjust
7818 (rowBreakPoint): adjust
7820 * bufferview_funcs.C (toggleAndShow): adjust
7822 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7824 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7825 methods to access it.
7827 * text.C: Added updateRowPositions to compute all row positions.
7828 Make top_y and getRowNearY() to use the cached y position
7830 2003-04-11 John Levon <levon@movementarian.org>
7832 * text.C (rowBreakPoint): reintroduce the labelEnd
7833 checks, code copied from the row fill stuff. Deep voodoo.
7835 * text.C (fill): add a comment and debugging for the
7838 2003-04-11 John Levon <levon@movementarian.org>
7840 * text.C: make sure fullrow insets get wrapped to the next line,
7841 even when they're in a manual label
7843 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7845 * text2.C (insertParagraph): make it take ParagraphList::iterator
7847 (setLayout): make it return ParagraphList::iterator
7848 (redoParagraphs): ditto
7850 (checkParagraph): ditto
7852 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7854 * text2.C: adjust several funcs.
7855 (realizeFont): take a ParagraphList::iterator as arg.
7856 (getLayoutFont): ditto
7857 (getLabelFont): ditto
7858 (setCharFont): ditto
7860 * text.C: adjust several funcs.
7862 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7864 * text.C (selectNextWordToSpellcheck): don't accidentally
7867 2003-04-10 John Levon <levon@movementarian.org>
7869 * ToolbarBackend.C (getIcon): special handling for
7872 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7874 * text2.C (cursorRight): a getChar assert fixed
7876 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7878 * text2.C (getFont): change to take a ParagraphList::iterator
7879 instead of Paragraph*
7880 Adjust several functions.
7882 * text.C (transformChar): change to take a ParagraphList::iterator
7883 instead of Paragraph*
7884 (singleWidth): ditto
7885 Adjust several functions.
7887 * rowpainter.C: adjust several functions
7888 * rowpainter.h:store a ParagraphList::iterator and not a
7892 2003-04-09 John Levon <levon@movementarian.org>
7897 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7898 and the "help" bits as well
7900 2003-04-09 John Levon <levon@movementarian.org>
7903 * ToolbarBackend.C: allow multiple toolbars
7905 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7907 * undo_funcs.C (setCursorParUndo): adjust
7909 * text_funcs.C (transposeChars): adjust
7911 * text3.C (gotoNextInset): adjust
7914 * text2.C (setLayout): adjust
7915 (changeDepth): adjust
7917 (redoParagraphs): adjust
7918 (selectionAsString): adjust
7919 (setParagraph): adjust
7920 (insertInset): adjust
7921 (cutSelection): adjust
7922 (copySelection): adjust
7923 (pasteSelection): adjust
7924 (insertStringAsLines): adjust
7925 (updateInset): adjust
7926 (setCursor): change to take a ParagraphList::iterator parameter
7927 (setCursorIntern): change to take a ParagraphList::iterator parameter
7928 (setCurrentFont): adjust
7929 (cursorLeft): adjust
7930 (cursorRight): adjust
7931 (deleteEmptyParagraphMechanism): adjust
7933 * text.C (breakParagraph): adjust
7934 (insertChar): adjust
7935 (acceptChange): adjust
7936 (rejectChange): adjust
7937 (selectNextWordToSpellcheck): adjust
7938 (changeCase): adjust
7942 * lyxfind.C (SearchForward): adjust
7943 (SearchBackward): adjust
7944 (nextChange): adjust
7946 * lyxcursor.C (par): adjust
7948 * lyxcursor.h: store a ParagraphList::iterator instead of a
7951 * lyx_cb.C (getPossibleLabel): adjust
7953 * bufferview_funcs.C (toggleAndShow): adjust
7955 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7958 * BufferView.C (removeAutoInsets): adjust
7959 (lockedInsetStoreUndo): adjust
7961 2003-04-09 John Levon <levon@movementarian.org>
7963 * ToolbarBackend.C: try icon without argument
7964 if with argument fails
7966 2003-04-08 John Levon <levon@movementarian.org>
7969 * ToolbarBackend.C: add getIcon(), handle tooltip,
7970 and change from "Icon" to "Item".
7972 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7974 * BufferView.C (lockInset): another bad getchar crunched
7976 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7978 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7981 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7983 * lyxfind.C (searchForward, searchBackwards): bug 782
7985 2003-04-07 John Levon <levon@movementarian.org>
7987 * paragraph.C: remove dead comment
7989 * text.C: remove troublesome depth-fiddling code
7990 in leftMargin() and rightMargin() (bug 1017)
7992 * text.C: fix breaking of rows in nested lists
7995 * text2.C (updateCounters): fix up depth values
7998 2003-04-07 John Levon <levon@movementarian.org>
8000 * BufferView_pimpl.C: clear message when doc finishes resizing,
8001 and after a mouse event
8003 * lyxfunc.C: clear message after exiting inset
8005 2003-04-07 John Levon <levon@movementarian.org>
8007 * bufferview_funcs.C: show math status not outside
8008 status in the statusbar
8010 2003-04-07 John Levon <levon@movementarian.org>
8012 * lyxfunc.C: note status changed after a depth change
8014 2003-04-04 Angus Leeming <leeming@lyx.org>
8016 * LaTeX.h: move AuxInfo operator==, != out of line.
8017 Remove LaTeX virtual destructor; nothing derives from it.
8018 Move operator()() out of public area and rename it startscript().
8019 Change protected for private.
8021 2003-04-04 Angus Leeming <leeming@lyx.org>
8024 * text2.C: remove unneeded #includes.
8026 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8028 * text2.C (dEPM): fix the heigth of the next row
8030 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8032 * text.C: squashed an invalid getChar requester + some ws changes
8034 2003-04-03 John Levon <levon@movementarian.org>
8036 * bufferview_funcs.h:
8037 * bufferview_funcs.C:
8040 * text2.C: make getStatus work for the env depth lfuns
8042 2003-04-03 John Levon <levon@movementarian.org>
8044 * bufferview_funcs.h:
8045 * bufferview_funcs.C:
8048 * text2.C: parlistize decDepth(), by merging it with incDepth()
8050 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * lyxrow.h: store a ParagraphList::iterator instead of a
8053 Paragraph* and adjust other class functions to suit.
8055 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8058 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8060 * text2.C (setCursor): do not anchor to cursor row for the time being
8062 2003-04-02 John Levon <levon@movementarian.org>
8069 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8071 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * paragraph.h: make ParagraphList and ParagraphList::iterator
8074 friends of Paragraph.
8076 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8078 * ParagraphList.C: Use the private next_ and previous_ from
8081 2003-04-01 John Levon <levon@movementarian.org>
8085 * Makefile.am: rename, remove defaults gunk
8088 * MenuBackend.C: remove defaults gunk
8091 * Languages.C: remove defaults gunk
8094 * lyx_main.C: error out if files couldn't be found.
8096 2003-04-02 John Levon <levon@movementarian.org>
8098 * text2.C: make incDepth() use parlist
8100 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * undo_funcs.C (firstUndoParagraph): adjust
8104 * text3.C (gotoInset): adjust
8105 (dispatch): adjust, and rewrite loop.
8107 * text2.C (init): adjust, and rewrite loop.
8108 (redoParagraphs): adjust
8109 (updateInset): adjust, and rewrite loop.
8110 (deleteEmptyParagraphMechanism): adjust
8112 * tabular.C (LyXTabular): adjust
8113 (SetMultiColumn): adjust
8116 * lyxtext.[Ch] (ownerParagraph): delete function
8117 (ownerParagraphs): new function returns a ParagraphList.
8119 * BufferView.C (removeAutoInsets): adjust
8120 (insertErrors): adjust
8121 (setCursorFromRow): adjust
8123 2003-04-01 Angus Leeming <leeming@lyx.org>
8125 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8128 2003-04-02 John Levon <levon@movementarian.org>
8134 * text_funcs.C: make transposeChars a free function
8136 * lyxrow_funcs.C: remove wrong comment
8138 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8141 * rowpainter.C: adjust
8146 * lyxrow_funcs. [Ch]: new files
8148 * lyxrow.[Ch]: remove next and previous pointers
8149 (next,previous): remove accessor functions
8150 (isParEnd): move to lyxrow_funcs
8151 (lastPos): move to lyxrow_funcs
8152 (nextRowIsAllInset): move to lyxrow_funcs
8153 (lastPrintablePos): move to lyxrow_funcs
8154 (numberOfSeparators): move to lyxrow_funcs
8155 (numberOfHfills): move to lyxrow_funcs
8156 (numberOfLabelHfills): move to lyxrow_funcs
8157 (hfillExpansion): move to lyxrow_funcs
8161 * bufferview_funcs.C (toggleAndShow): adjust
8163 * RowList.h: Remove class RowList from file leave just a
8166 * RowList.C: delete file
8168 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8171 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * text3.C (cursorPrevious): adjust
8174 (cursorNext): adjust
8177 * text2.C (redoHeightOfParagraph): adjust
8178 (redoDrawingOfParagraph): adjust
8181 * text.C (breakParagraph): adjust
8182 (insertChar): adjust
8185 * rowpainter.C (RowPainter): adjust
8186 (leftMargin): simplify and adjust
8187 (most rowpainter functions): adjust.
8189 * rowpainter.h: store the row as RowList::iterator not as Row*
8191 * lyxcursor.C (row): taka RowList::iterator as arg
8194 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8197 2003-04-01 Angus Leeming <leeming@lyx.org>
8199 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8200 stuff like bool Bool.
8202 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8204 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8207 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8212 * lyxtext.h (rows): drop one version and leve a const variant that
8213 returns a RowList::iterator.
8215 2003-03-31 Angus Leeming <leeming@lyx.org>
8217 * text.C (fill): ensure that the signature is the same as that in the
8220 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * text2.C (redoParagraphs): adjust
8223 (updateCounters): adjust
8224 (checkParagraph): adjust
8225 (getColumnNearX): adjust and reformat a bit.
8227 * text.C (top_y): adjust
8229 (leftMargin): adjust
8230 (prepareToPrint): adjust
8232 (getRowNearY): adjust
8234 * lyxtext.h: make rowlist_ mutable.
8236 * RowList.h: add const_iterator
8237 * RowList.C: adjust for RowList::const_iterator.
8239 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8242 2003-03-31 John Levon <levon@movementarian.org>
8245 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8247 * lyx_main.C: set default fonts from using lyx_gui funcs
8249 * exporter.C: pdf_mode moved from lyxrc
8252 * lyxfunc.C: changes from above
8254 2003-03-31 John Levon <levon@movementarian.org>
8256 * lyx_main.C: fix to the last fix
8258 2003-03-31 John Levon <levon@movementarian.org>
8260 * bufferlist.C: "Load original" -> "Load Original"
8266 * format.C: more Alert cleanups
8268 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * text2.C (removeParagraph): make it take a RowList::iterator as
8272 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8273 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8275 * text.C (anchor_row): make it take a RowList::iterator as arg,
8277 (computeBidiTables): make it take a const reference to Row instead
8278 of Row pointer, adjust.
8279 (leftMargin): make it take a RowList::iterator as arg, adjust.
8280 (rowBreakPoint): adjust
8281 (breakAgainOneRow): make it take a RowList::iterator as arg,
8283 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8285 * bufferview_funcs.C (toggleAndShow): adjust
8287 2003-03-30 John Levon <levon@movementarian.org>
8291 * boost-inst.C: moved to support
8293 * several files: changes as a result
8295 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8297 * text2.C (LyXText): adjust.
8299 (removeRow): make it take a RowList::iterator as arg, adjust.
8300 (fullRebreak): adjust
8301 (deleteEmptyParagraphMechanism): adjust
8302 (clearPaint): adjust
8305 * text.C (top_y): adjust
8306 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8307 (breakAgain): make it take a RowList::iterator as arg, adjust.
8308 (breakParagraph): adjust
8309 (insertChar): adjust
8312 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8313 need_break_row, and refresh_row.
8315 * text3.C (dispatch): adjust
8317 * text2.C (checkParagraph): adjust
8319 (setCursorFromCoordinates): adjust
8321 * text.C (top_y): adjust
8323 (getRow): make it return a RowList::iterator, adjust
8324 (getRowNearY): make it return a RowList::iterator, adjust
8326 * text2.C (init): adjust
8327 (insertRow): remove function
8328 (insertParagraph): adjust
8329 (redoParagraphs): adjust
8330 (fullRebreak): adjust
8331 (updateCounters): adjust
8333 * text.C (top_y): rewrite to use RowList iterators.
8335 (setHeightOfRow): rewrite to sue RowList iterators.
8336 (appendParagraph): adjust
8337 (breakAgain): adjust
8338 (breakAgainOneRow): adjust
8339 (breakParagraph): adjust
8341 (getRowNearY): adjust, and remove commented code.
8343 * lyxtext.h (firstRow): delete function
8344 (lastRow): delete function
8345 (rows): new function (const and non-const versions.)
8346 (insertRow): delete function
8348 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8350 2003-03-29 John Levon <levon@movementarian.org>
8352 * BufferView_pimpl.C: always update scrollbar top
8353 because pasting text when we're anchored could mean we
8354 miss an update altogether
8356 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * text2.C (init): use rowlist_.end() and not 0.
8359 (insertRow): change to take a RowList::iterator as arg, adjust
8361 (insertParagraph): change to take a RowList::iterator as arg,
8363 (redoParagraphs): remove some debug msgs.
8365 * text.C (appendParagraph): change to take a RowList::iterator
8366 arg, adjust for this.
8367 (breakAgain): add an assert
8368 (breakAgainOneRow): ditto
8370 2003-03-29 John Levon <levon@movementarian.org>
8372 * text2.C: do not clear selection after inc/decDepth
8375 2003-03-29 John Levon <levon@movementarian.org>
8378 * buffer.C: fix broken strerrors according to Lars
8380 2003-03-29 John Levon <levon@movementarian.org>
8382 * converters.C: more Alert cleanups
8384 2003-03-29 John Levon <levon@movementarian.org>
8386 * bufferview_funcs.C: remove pointless Alert
8388 * buffer.C: fix confusing error message when
8389 a template is chmoded 000
8391 2003-03-29 John Levon <levon@movementarian.org>
8395 * BufferView_pimpl.C: Alert fixes
8399 * tabular-old.C: remove unused table compat reading
8401 2003-03-29 John Levon <levon@movementarian.org>
8406 * lyx_cb.C: more Alert cleanups
8408 * lyxfunc.C: don't allow chktex if not latex document
8410 2003-03-29 John Levon <levon@movementarian.org>
8414 * buffer.C: warnings pushed down from support/,
8417 2003-03-29 John Levon <levon@movementarian.org>
8419 * lyxfunc.C: safety check for C-r (revert)
8421 2003-03-29 John Levon <levon@movementarian.org>
8424 * bufferlist.C: several UI fixes using Alert::prompt.
8425 Fix the pointless looping quit code. Fix stupid revert
8430 * lyx_cb.C: use Alert::prompt
8432 * lyx_main.C: remove a silly question
8434 * lyxfunc.C: remove a couple of silly questions,
8437 2003-03-28 John Levon <levon@movementarian.org>
8439 * text2.C: fix bug 974 (End on empty par)
8441 2003-03-28 John Levon <levon@movementarian.org>
8443 * BufferView_pimpl.C:
8445 * lfuns.h: remove do-nothing math greek lfuns
8447 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8449 * lyxgluelength.h (isValidGlueLength): add default arg on
8450 parameter 2. Remove default arg from friend in class.
8452 * lyxlength.h (isValidLength): add default arg on parameter 2.
8453 Remove default arg from friend in class.
8455 * text2.C (LyXText): adjust, initialize refresh_row.
8459 (insertParagraph): adjst
8460 (redoParagraphs): adjust
8461 (fullRebreak): adjust
8462 (updateCounters): adjust
8463 (deleteEmptyParagraphMechanism): first attempt at fixing a
8466 * text.C (top_y): adjust
8467 (setHeightOfRow): adjust
8469 (getRowNearY): adjust
8471 * lyxtext.h: include RowList.h
8472 (~LyXText): not needed anymore, deleted.
8473 (firstRow): modify for RowList
8474 (lastRow): new function
8475 Delete firstrow and lastrow class variables, add a Rowlist
8476 rowlist_ class variable.
8478 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8481 * RowList.C (insert): fix case where it == begin().
8483 2003-03-26 Angus Leeming <leeming@lyx.org>
8485 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8486 the thesaurus dialog.
8488 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8492 * RowList.[Ch]: new files
8494 * ParagraphList.C (erase): handle the case where it == begin
8497 2003-03-25 John Levon <levon@movementarian.org>
8501 * aspell.C: add new aspell support
8504 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8507 2003-03-25 Angus Leeming <leeming@lyx.org>
8510 * LyXAction.C (init): new LFUN_INSET_INSERT.
8512 * BufferView_pimpl.C (dispatch): split out part of the
8513 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8515 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8518 2003-03-25 Angus Leeming <leeming@lyx.org>
8520 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8522 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8525 * text3.C: remove useless row->height(0)
8527 2003-03-25 John Levon <levon@movementarian.org>
8531 * text3.C: rename the refreshing stuff to better names
8533 2003-03-24 John Levon <levon@movementarian.org>
8535 * BufferView_pimpl.h:
8536 * BufferView_pimpl.C: update layout choice on a mouse
8539 2003-03-23 John Levon <levon@movementarian.org>
8541 * Makefile.am: fix commandtags.h reference
8543 2003-03-22 John Levon <levon@movementarian.org>
8545 * BufferView_pimpl.C:
8550 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8552 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8555 * text.C: take the rtl methods out of line
8557 2003-03-21 André Pönitz <poenitz@gmx.net>
8559 * metricsinfo.[Ch]: new files containing structures to be passed around
8560 during the two-phase-drawing...
8562 2003-03-21 André Pönitz <poenitz@gmx.net>
8564 * lyxtextclass.C: read 'environment' tag.
8566 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8568 * text2.C (removeRow): fix bug 964
8570 2003-03-20 John Levon <levon@movementarian.org>
8574 * text2.C: paint cleanups. Inset::update() dropped font
8577 2003-03-19 John Levon <levon@movementarian.org>
8579 * lyxfunc.C: only fitcursor/markDirty if available()
8581 2003-03-19 John Levon <levon@movementarian.org>
8583 * commandtags.h: rename to ...
8585 * lfuns.h: ... this, and renumber / cleanup
8587 2003-03-19 John Levon <levon@movementarian.org>
8589 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8590 fit the cursor after an lfun
8594 * BufferView_pimpl.h:
8595 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8597 * LyXAction.C: layout-character should have ReadOnly
8599 * ParagraphParameters.C:
8601 * bufferview_funcs.C:
8608 * undo_funcs.C: changes from above
8610 2003-03-18 John Levon <levon@movementarian.org>
8612 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8613 remove it from update()
8615 * lyxfunc.C: update layout choice after an lfun
8617 * text3.C: remove extra updateLayoutChoice()s
8619 2003-03-18 John Levon <levon@movementarian.org>
8621 * text.C: top_y change means full repaint, fix
8622 a drawing bug with cursor movement
8624 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8628 * text2.C: anchor row on setCursor
8630 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8632 * lyxtext.h: remove almost all mutable keywords
8635 * text3.C: remove const keywords accordingly
8637 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8639 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8641 (TeXEnvironment): ditto
8644 2003-03-17 John Levon <levon@movementarian.org>
8646 * text.C (rowBreakPoint): remove attempt to fix displayed
8647 math insets inside a manual label
8649 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8651 * lyxtext.h: remove BufferView* as first arg from almost all class
8653 * other files: adjust.
8655 2003-03-17 John Levon <levon@movementarian.org>
8659 * text2.C: more paint cleanups
8661 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8664 * rowpainter.C: remove "smart" background painting code
8666 2003-03-16 John Levon <levon@movementarian.org>
8671 * text3.C: add helper functions for setting refresh_row/y
8673 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8675 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8676 newline inset which *can* get inserted in the pass_thru layouts.
8677 This is primarily for literate documents.
8679 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8681 * buffer.C: increment LYX_FORMAT to 223
8683 2003-03-14 André Pönitz <poenitz@gmx.net>
8685 * textclass.h: prepare for environment handling, ws changes
8686 * lyxlayout.C: read latexheader and latexfooter tags
8688 2003-03-14 John Levon <levon@movementarian.org>
8690 * text2.C: rewrite ::status() a bit
8692 2003-03-13 John Levon <levon@movementarian.org>
8694 * lyxtext.h: add some docs
8696 2003-03-13 John Levon <levon@movementarian.org>
8701 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8703 2003-03-13 John Levon <levon@movementarian.org>
8705 * text3.C: fix appendix redrawing
8707 2003-03-13 John Levon <levon@movementarian.org>
8709 * text.C (setHeightOfRow):
8711 * rowpainter.C: make appendix mark have the text
8712 "Appendix" so the user knows what it is
8715 * LColor.C: s/appendixline/appendix/ from above
8717 2003-03-13 John Levon <levon@movementarian.org>
8719 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8721 * text.C: fix a getChar(pos) bug properly
8723 2003-03-13 Angus Leeming <leeming@lyx.org>
8726 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8727 Probably only temporary. Let's see how things pan out.
8729 * BufferView.C (unlockInset):
8730 * BufferView_pimpl.C (fitCursor):
8731 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8733 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8734 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8736 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8737 new functions that convert ParagraphParameters to and from a string.
8739 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8740 BufferView::Pimpl's dispatch.
8741 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8743 2003-03-13 André Pönitz <poenitz@gmx.net>
8747 * factory.C: make it aware of InsetEnv
8749 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8751 * text2.C (setCursor): never ask for one past last
8752 (setCursor): add some debugging messages.
8754 * text.C (singleWidth): never ask for one past last
8755 (singleWidth): ditto
8757 (rightMargin): ditto
8758 (rowBreakPoint): ditto
8759 (setHeightOfRow): ditto
8760 (prepareToPrint): ditto
8762 * rowpainter.C (paintBackground): never ask for one past last
8763 (paintText): never ask for one past last
8765 * paragraph_pimpl.C (getChar): make the assert stricter, never
8766 allow the one past last pos to be taken
8768 * paragraph.C (getChar): ws changes only
8770 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8771 (numberOfSeparators): ditto
8772 (numberOfHfills): ditto
8774 2003-03-12 John Levon <levon@movementarian.org>
8780 * paragraph_funcs.C: fix per-buffer authorlists
8782 2003-03-12 John Levon <levon@movementarian.org>
8784 * text.C: fix newline in right address
8786 2003-03-12 Angus Leeming <leeming@lyx.org>
8788 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8789 duplicate those in LyXFunc::dispatch.
8793 * ToolbarDefaults.C:
8794 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8795 Add LFUN_FONTFREE_UPDATE.
8797 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8798 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8800 * bufferview_func.[Ch]: several new functions to facilliate
8801 transfer of data to and from the character dialog.
8803 2003-03-12 John Levon <levon@movementarian.org>
8808 * paragraph_funcs.C:
8809 * paragraph_pimpl.C:
8813 * text3.C: remove META_NEWLINE in favour of an inset
8816 * rowpainter.C: remove paintNewline (done by inset)
8818 2003-03-12 John Levon <levon@movementarian.org>
8820 * paragraph_pimpl.C: complain about bad getChar()s
8821 for a while at least
8823 2003-03-12 John Levon <levon@movementarian.org>
8826 * buffer.C: move paragraph read into a separate function,
8827 a little renaming to reflect that.
8830 * bufferparams.C: remove the author_ids map, not necessary now
8833 * factory.C: moved Buffer::readInset to here
8835 * paragraph_funcs.h:
8836 * paragraph_funcs.C: readParagraph free function moved from
8839 * tabular.C: name change
8841 2003-03-12 John Levon <levon@movementarian.org>
8844 * ParagraphParameters.C: move par params input to
8847 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8848 behave like a normal read from the stream wrt reading
8849 a line vs. a \\token
8851 2003-03-12 John Levon <levon@movementarian.org>
8854 * ParagraphParameters.h:
8855 * ParagraphParameters.C: move output code to a
8858 2003-03-12 John Levon <levon@movementarian.org>
8860 * BufferView.C (insertLyXFile):
8863 * tabular.C: use a parlist iterator for creating the
8866 2003-03-12 John Levon <levon@movementarian.org>
8868 * buffer.C: make current_change static local not
8871 2003-03-12 John Levon <levon@movementarian.org>
8873 * buffer.C: fix insertStringAsLines for change tracking
8875 2003-03-12 John Levon <levon@movementarian.org>
8882 * bufferparams.C: move author list into params. Rename some
8883 functions. Move the header reading into a separate token
8884 loop. Move the header token reading into BufferParams.
8886 2003-03-12 John Levon <levon@movementarian.org>
8888 * changes.C: put debug inside lyxerr.debugging() checks
8890 2003-03-11 André Pönitz <poenitz@gmx.net>
8892 * factory.C: make it aware of InsetHFill
8894 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8896 * buffer.C (latexParagraphs): move function from here...
8897 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8900 2003-03-10 Angus Leeming <leeming@lyx.org>
8902 * LyXAction.C (init): fix bug in poplating array with multiple entries
8903 with the same LFUN (spotted by JMarc).
8905 2003-03-10 John Levon <levon@movementarian.org>
8908 * text2.C: move getColumnNearX() near its
8911 2003-03-10 John Levon <levon@movementarian.org>
8913 * text.C: fix break before a minipage
8915 2003-03-10 John Levon <levon@movementarian.org>
8917 * text.C: fix the last commit
8919 2003-03-09 John Levon <levon@movementarian.org>
8923 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8924 bug 365 (don't break before insets unless needed). Don't
8925 return a value > last under any circumstances.
8927 2003-03-09 Angus Leeming <leeming@lyx.org>
8929 * BufferView_pimpl.C (trackChanges, dispatch): call
8930 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8932 2003-03-09 Angus Leeming <leeming@lyx.org>
8934 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8935 than Dialogs::showAboutlyx().
8937 2003-03-09 Angus Leeming <leeming@lyx.org>
8939 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8940 than Dialogs::showTabularCreate().
8942 2003-03-09 John Levon <levon@movementarian.org>
8946 * text2.C: 3rd arg to nextBreakPoint was always the same.
8949 2003-03-08 John Levon <levon@movementarian.org>
8956 * text2.C: Remove the "main" bit from the "main body"
8959 2003-03-08 John Levon <levon@movementarian.org>
8961 * text.C (leftMargin): The left margin of an empty
8962 manual label paragraph should not include the label width
8965 * text.C (prepareToPrint): don't attempt to measure hfills
8966 for empty manual label paragraphs - the answer should be 0
8968 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8970 * CutAndPaste.C: remove commented code and reindent.
8972 2003-03-08 John Levon <levon@movementarian.org>
8975 * lyxfunc.C: move reloadBuffer()
8978 * BufferView.C: to here
8980 * lyxvc.C: add comment
8983 * vc-backend.C: call bv->reload() to avoid
8984 getStatus() check on MENURELOAD
8986 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8988 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8989 to an old format .dep file.
8991 2003-03-07 Angus Leeming <leeming@lyx.org>
8993 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8994 when the LFUN_MOUSE_RELEASE should have been handled by
8995 inset->localDispatch.
8997 2003-03-07 Angus Leeming <leeming@lyx.org>
8999 * BufferView_pimpl.C (dispatch):
9000 * LyXAction.C (init):
9001 * ToolbarDefaults.C (init):
9003 * lyxfunc.C (getStatus):
9004 remove LFUN_INSET_GRAPHICS.
9006 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9008 2003-03-07 Angus Leeming <leeming@lyx.org>
9011 * LyXAction.C (init):
9012 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9014 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9017 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9019 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9020 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9022 2003-03-07 Angus Leeming <leeming@lyx.org>
9024 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9027 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9029 * ParagraphList.C (front): new function
9032 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9034 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9035 and top_row_offset_. removed var first_y.
9037 * text2.C (LyXText, removeRow):
9039 * BufferView_pimpl.C:
9040 use these methods instead of using first_y
9042 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9044 * text2.C (pasteSelection): adjust for checkPastePossible
9046 * CutAndPaste.C: remove Paragraph * buf and replace with
9047 ParagraphList paragraphs.
9048 (DeleteBuffer): delete
9049 (cutSelection): change the tc type to textclass_type
9050 (copySelection): change the tc type to textclass_type
9051 (copySelection): adjust for ParagraphList
9052 (pasteSelection): change the tc type to textclass_type
9053 (pasteSelection): adjust for Paragraphlist
9054 (nrOfParagraphs): simplify for ParagraphList
9055 (checkPastePossible): simplify for ParagraphList
9056 (checkPastePossible): remove unused arg
9058 * ParagraphList.C (insert): handle the case where there are no
9061 * CutAndPaste.h: make CutAndPaste a namespace.
9063 * text3.C (dispatch): adjust
9065 * text.C (breakParagraph): add a ParagraphList as arg
9067 * paragraph_funcs.C (breakParagraph): change to take a
9068 BufferParams and a ParagraphList as args.
9069 (breakParagraphConservative): ditto
9070 (mergeParagraph): ditto
9071 (TeXDeeper): add a ParagraphList arg
9072 (TeXEnvironment): ditto
9075 * buffer.C (readLyXformat2): adjust
9076 (insertStringAsLines): adjust
9077 (latexParagraphs): adjust
9079 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9080 (cutSelection): adjust
9081 (pasteSelection): adjust
9083 * BufferView_pimpl.C (insertInset): adjust
9085 2003-03-05 Angus Leeming <leeming@lyx.org>
9088 * LyXAction.C (init):
9089 * BufferView_pimpl.C (dispatch):
9090 * lyxfunc.C (getStatus):
9091 remove LFUN_CHILD_INSERT.
9093 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9095 2003-03-05 Angus Leeming <leeming@lyx.org>
9098 * LyXAction.C (init):
9099 * src/factory.C (createInset):
9100 * lyxfunc.C (getStatus):
9101 * text3.C (dispatch):
9102 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9104 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9106 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9108 * ParagraphList.C (insert): handle insert right before end()
9109 (erase): fix cases where it can be first or last paragraph.
9111 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9113 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9114 Paragraph::next and Paragraph::previous
9117 * text.C (breakParagraph): adjust
9119 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9120 BufferParams& as arg.
9121 (breakParagraph): use ParagraphList::insert
9122 (breakParagraphConservative): take a Buffer* instead of a
9123 BufferParams& as arg.
9124 (breakParagraphConservative): use ParagraphList::insert.
9126 * buffer.C (insertStringAsLines): un-const it
9127 (insertStringAsLines): adjust
9129 * ParagraphList.C (insert): new function
9131 * CutAndPaste.C (pasteSelection): adjust
9133 * text.C (backspace): adjust
9135 * tabular.C (SetMultiColumn): adjust
9137 * CutAndPaste.C (cutSelection): adjust
9138 (pasteSelection): adjust
9140 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9141 Buffer const * as arg
9143 * ParagraphList.C (erase): new function
9144 * paragraph_funcs.C (mergeParagraph): use it
9145 (mergeParagraph): make it take a Buffer* instead of a
9146 BufferParams* as arg
9148 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9150 (breakParagraphConservative): ditto
9152 * paragraph.h: remove the breakParagraph friend
9154 * paragraph.C (eraseIntern): new function
9155 (setChange): new function
9157 * paragraph_funcs.C (mergeParagraph): make it take a
9158 ParagraphList::iterator instead of a Paragraph *, adjust
9161 * paragraph.h: move an #endif so that the change tracking stuff
9162 also works in the NO_NEXT case.
9164 2003-03-04 Angus Leeming <leeming@lyx.org>
9167 * LyXAction.C: new LFUN_INSET_MODIFY.
9169 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9170 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9172 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9174 * several files: ws changes only
9176 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9177 (TeXEnvironment): ditto
9180 * buffer.C (makeLaTeXFile): adjust
9181 (latexParagraphs): make it take ParagraphList::iterator as args
9183 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9185 * buffer.C (latexParagraphs): adjust
9187 * paragraph.C (TeXOnePar): move function...
9188 (optArgInset): move function...
9189 (TeXEnvironment): move function...
9190 * paragraph_pimpl.C (TeXDeeper): move function...
9191 * paragraph_funcs.C: ...here
9193 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9195 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9197 * buffer.C (readInset): remove compability code for old Figure and
9200 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * buffer.C: ws changes
9205 * BufferView_pimpl.C: ditto
9208 * bufferlist.h: ditto
9212 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9214 * converter.[Ch]: split into itself +
9217 * Makefile.am: += graph.[Ch] + format.[Ch]
9224 * lyxrc.C: added #include "format.h"
9226 2003-02-27 Angus Leeming <leeming@lyx.org>
9228 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9231 * factory.C (createInset): add "label" to the factory.
9233 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9234 string and do no more.
9236 2003-02-27 Angus Leeming <leeming@lyx.org>
9239 * LyXAction.C (init):
9240 * factory.C (createInset):
9241 * BufferView_pimpl.C (dispatch):
9242 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9244 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9246 * lyxfunc.C (dispatch):
9247 * text3.C (dispatch): pass name to params2string.
9249 2003-02-26 Angus Leeming <leeming@lyx.org>
9251 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9253 Rearrange the ~includes. Strip out the unnecessary ones.
9255 * factory.C (createInset): reformat.
9256 create new insets for the various LFUN_XYZ_APPLY lfuns.
9258 2003-02-26 John Levon <levon@movementarian.org>
9261 * lyxrow.C: add isParStart,isParEnd helpers
9263 * paragraph.h: make isInserted/DeletedText take refs
9265 * paragraph_funcs.h:
9266 * paragraph_funcs.C: remove #if 0'd code
9271 * text.C: use lyxrow helpers above.
9272 Move draw and paint routines to RowPainter.
9273 Make several methods use refs not pointers.
9274 Make backgroundColor() const.
9275 Add markChangeInDraw(), isInInset().
9276 Merge changeRegionCase into changeCase.
9277 Make workWidth() shouldn't-happen code into an Assert.
9280 * rowpainter.C: new class for painting a row.
9283 * vspace.C: make inPixels take a ref
9285 2003-02-26 Angus Leeming <leeming@lyx.org>
9287 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9290 2003-02-25 John Levon <levon@movementarian.org>
9292 * ispell.C: give the forked command a more accurate name
9294 2003-02-22 John Levon <levon@movementarian.org>
9297 * toc.C: make TocItem store an id not a Paragraph *
9300 2003-02-21 Angus Leeming <leeming@lyx.org>
9302 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9303 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9304 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9305 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9306 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9307 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9309 * BufferView_pimpl.C (dispatch):
9310 * LyXAction.C (init):
9311 * factory.C (createInset):
9312 * lyxfunc.C (getStatus, dispatch):
9313 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9315 2003-02-21 Angus Leeming <leeming@lyx.org>
9317 * BufferView_pimpl.C (MenuInsertLyXFile):
9318 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9319 * lyxfunc.C (menuNew, open, doImport):
9320 no longer pass a LyXView & to fileDlg.
9322 2003-02-21 Angus Leeming <leeming@lyx.org>
9324 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9325 * LyXAction.C: change, BIBKEY to BIBITEM.
9326 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9327 Change InsetBibKey to InsetBibitem.
9328 Change BIBKEY_CODE to BIBITEM_CODE.
9329 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9330 * factory.C: replace insetbib.h with insetbibitem.h.
9331 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9332 * paragraph.C: replace insetbib.h with insetbibitem.h.
9333 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9334 Change bibkey() to bibitem().
9335 * text.C: remove insetbib.h.
9336 * text2.C: replace insetbib.h with insetbibitem.h.
9337 change bibkey() to bibitem().
9338 * text3.C: remove insetbib.h.
9339 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9341 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9343 * lyxrc.C (output): enclose user email in quotes (in case there are
9346 2003-02-18 John Levon <levon@movementarian.org>
9348 * buffer.h: add std::
9350 2003-02-17 John Levon <levon@movementarian.org>
9356 * pspell.C: reworking. Especially in ispell, a large
9357 number of clean ups and bug fixes.
9359 * lyxfunc.C: fix revert to behave sensibly
9361 2003-02-17 André Pönitz <poenitz@gmx.net>
9364 * commandtags.h: new LFUN_INSERT_BIBKEY
9374 * paragraph_func.C: remove special bibkey handling
9376 2003-02-17 John Levon <levon@movementarian.org>
9378 * text.C (Delete): fix case where delete at the end of
9379 the very first paragraph would not merge the pars
9381 2003-02-17 John Levon <levon@movementarian.org>
9383 * lyxrow.C: fix lastPrintablePos()
9385 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9387 * bufferparams.C (writeLaTeX): add a std:here
9389 * buffer.C: and remove a using directive there
9391 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9393 * buffer.C (makeLaTeXFile): move the code that generates the
9396 * bufferparams.C (writeLaTeX): ... in this new method
9398 * LaTeXFeatures.C (getEncodingSet): make const
9399 (getLanguages): make const
9401 * MenuBackend.C (binding): returns the binding associated to this
9403 (add): sets the status of each item by calling getStatus. Adds
9405 (read): add support for OptSubMenu
9406 (expand): remove extra separator at the end of expanded menu
9408 2003-02-15 John Levon <levon@movementarian.org>
9411 * BufferView_pimpl.C:
9413 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9414 inset code that had no actual effect. Remove unneeded status
9417 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9419 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9422 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9424 * text.C (drawLengthMarker): also draw an arrow marker for
9425 symbolic lengths (medskip...)
9427 2003-02-14 John Levon <levon@movementarian.org>
9430 * tabular.C: better method names
9432 2003-02-14 John Levon <levon@movementarian.org>
9434 * BufferView_pimpl.C:
9439 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9440 it's a more accurate name. Remove some pointless uses.
9442 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9444 * text2.C (LyXText): change order of initilizers to shut off
9447 2003-02-14 John Levon <levon@movementarian.org>
9449 * buffer.C: use ParIterator for getParFromID()
9453 * paragraph_pimpl.h:
9454 * paragraph_pimpl.C: remove unused getParFromID()
9456 2003-02-14 John Levon <levon@movementarian.org>
9458 * buffer.C: remove some very old #if 0'd parse code
9460 2003-02-13 John Levon <levon@movementarian.org>
9464 * text2.C: move hfillExpansion(), numberOfSeparators(),
9465 rowLast(), rowLastPrintable(), numberofHfills(),
9466 numberOfLabelHfills() ...
9469 * lyxrow.C: ... to member functions here.
9474 * text.C: remove LyXText::beginningOfMainBody(), and call
9475 p->beginningOfMainBody() directly. Move the check for
9476 LABEL_MANUAL into the latter.
9483 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9489 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9490 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9492 2003-02-13 John Levon <levon@movementarian.org>
9494 * CutAndPaste.C: remove debug
9496 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * paragraph.C (asString): remove two unused variables
9500 * lyxtextclass.C (readTitleType):
9502 (LyXTextClass): handle new members titletype_ and titlename_
9504 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9506 2003-02-09 John Levon <levon@movementarian.org>
9509 * buffer.C: replace hand-coded list with a map for the dep clean
9511 2003-02-08 John Levon <levon@movementarian.org>
9513 * LaTeX.C: consolidate code into showRunMessage() helper
9515 2003-02-08 John Levon <levon@movementarian.org>
9520 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9521 and pass the size in explicitly
9523 * BufferView_pimpl.h:
9524 * BufferView_pimpl.C:
9526 * BufferView.C: add getCurrentChange()
9528 * BufferView_pimpl.h:
9529 * BufferView_pimpl.C: handle change lfuns
9531 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9532 for changes. Mark pasted paragraphs as new.
9534 * support/lyxtime.h:
9535 * support/lyxtime.C:
9536 * DepTable.C: abstract time_t as lyx::time_type
9539 * LColor.C: add colours for new text, deleted text, changebars
9541 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9542 package use "usenames" option.
9546 * LyXAction.C: add change lfuns
9550 * author.C: author handling
9553 * buffer.C: add a per-buffer author list, with first entry as
9554 current author. Handle new .lyx tokens for change tracking. Output
9555 author list to .lyx file. Output dvipost stuff to .tex preamble.
9556 Bump lyx format to 222.
9559 * bufferlist.C: add setCurrentAuthor() to reset current author details
9563 * bufferparams.C: add param for tracking
9565 * bufferview_funcs.C: output change info in minibuffer
9569 * changes.C: add change-tracking structure
9572 * debug.C: add CHANGES debug flag
9575 * lyxfind.C: add code for finding the next change piece
9578 * lyxrc.C: add user_name and user_email
9581 * lyxrow.C: add a metric for the top of the text line
9584 * text.C: implement accept/rejectChange()
9587 * text.C: paint changebars. Paint new/deleted text in the chosen
9588 colours. Strike through deleted text.
9592 * paragraph_pimpl.h:
9593 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9594 in the current change to the insert functions. Rework erase to
9595 mark text as deleted, adding an eraseIntern() and a range-based
9596 erase(). Implement per-paragraph change lookup and
9599 * paragraph_funcs.C: Fixup paste for change tracking.
9601 * tabular.C: mark added row/columns as new.
9603 * text.C: fix rowLast() to never return -1. Don't allow
9604 spellchecking of deleted text. Track transpose changes. Don't
9605 allow paragraph break or merge where appropriate.
9607 * text2.C: leave cursor at end of selection after a cut.
9609 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9611 * text.C (getLengthMarkerHeight):
9612 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9613 visible on screen too.
9615 2003-02-07 John Levon <levon@movementarian.org>
9617 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9619 2003-02-05 Angus Leeming <leeming@lyx.org>
9621 * lyxserver.C (read_ready): revert my patch of 11 September last year
9622 as it sends PC cpu through the roof. Presumably this means that
9623 the lyxserver will no longer run on an Alpha...
9625 2003-01-30 Angus Leeming <leeming@lyx.org>
9627 * factory.C (createInset): create an InsetCommandParam of type "index"
9628 and use it to 'do the right thing'.
9630 * text2.C (getStringToIndex): ensure that cursor position is always
9631 reset to the reset_cursor position.
9633 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9635 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9638 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9642 * lyxfunc.C: Output messages with identical spelling, punctuation,
9645 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9647 * MenuBackend.C (expandFormats): List only viewable export formats
9650 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9653 * lyxfunc.C (getStatus): Make sure that formats other than
9654 "fax" can also be disabled
9656 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * text3.C (dispatch): put the lfuns that insert insets in 3
9659 groups, and call doInsertInset with appropriate arguments.
9660 (doInsertInset): new function, that creates an inset and inserts
9661 it according to some boolean parameters.
9663 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9665 * buffer.C (readFile): remember to pass on 'par' when calling
9666 readFile recursively.
9668 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9670 * MenuBackend.C (expandFormats): add "..." to import formats.
9672 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9674 * paragraph.C (asString): Remove XForms RTL hacks.
9676 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9677 * buffer.C: fix typo
9679 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9681 * Makefile.am (LIBS): delete var
9682 (lyx_LDADD): add @LIBS@ here instead.
9684 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9686 * Clarify the meaning of "wheel mouse jump"
9688 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9690 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9693 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9695 * importer.C (Loaders): do not preallocate 3 elements in the
9696 vector, since one ends up with 6 elements otherwise
9698 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9700 * DepTable.C (write): write the file name as last element of the
9701 .dep file (because it may contain spaces)
9702 (read): read info in the right order
9704 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * paragraph_pimpl.C (simpleTeXBlanks):
9707 (simpleTeXSpecialChars):
9708 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9710 * tabular.C (latex): add some missing case statements. Reindent.
9712 * MenuBackend.C (expandToc): remove unused variable.
9714 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9723 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9726 2003-01-05 John Levon <levon@movementarian.org>
9729 * BufferView.C: add getEncoding()
9732 * kbsequence.C: do not store last keypress
9735 * lyxfunc.C: store last keypress here instead. Pass encoding
9738 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * lyx_main.C (init): remove annoying error message when following
9741 symbolic links (bug #780)
9743 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9745 * text.C (insertChar):
9746 * lyxrc.C (getDescription): remove extra spaces
9748 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9750 * lyxrc.C (getDescription): remove extra spaces
9752 2002-12-20 John Levon <levon@movementarian.org>
9754 * text3.C: hack fix for page up/down across tall rows
9756 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9758 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9761 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9763 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9764 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9765 thesaurus is not compiled in
9767 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9769 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9771 2002-12-16 Angus Leeming <leeming@lyx.org>
9774 * lyx_main.C (init): remove override_x_deadkeys stuff.
9776 2002-12-12 John Levon <levon@movementarian.org>
9778 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9779 insert. Only remove shift modifier under strict
9782 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9784 * MenuBackend.C (expandToc): fix crash.
9786 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9788 * MenuBackend.C (expandToc): gettext on float names.
9790 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9792 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9793 implement bool empty() [bug 490]
9795 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9797 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9799 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9801 * several files: ws changes
9803 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9805 * text2.C (setCounter): clean up a bit, use boost.format.
9806 (updateCounters): initialize par upon declaration.
9808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9809 if the layout exists. We do not just store the layout any more.
9810 (SwitchLayoutsBetweenClasses): use boost.format
9812 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9814 * converter.C (convert): if from and to files are the same, use a
9815 temporary files as intermediary
9817 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9820 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9822 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9824 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9826 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9828 * tabular.C (asciiPrintCell): use string(size, char) instead of
9831 * sgml.C (openTag): fix order of arguments to string constructor
9834 * lyxfunc.C (dispatch): use boost.format
9836 * lots of files: change "c" -> 'c'
9838 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9840 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9842 2002-11-25 Angus Leeming <leeming@lyx.org>
9844 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9846 * lyx_main.C (init): compile fix.
9848 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9850 * lyx_cb.C (start): boost.formatify
9851 do not include <iostream>
9853 * lengthcommon.C: ws only
9855 * boost-inst.C,BoostFormat.h: add more explict instantations
9857 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9859 * lots of files: handle USE_BOOST_FORMAT
9861 2002-11-21 John Levon <levon@movementarian.org>
9863 * pspell.C: fix compile
9865 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9867 * lyxfunc.C (dispatch): use boost::format
9871 * lyxfont.C (stateText): use boost::format
9873 * lyx_main.C (LyX): use boost::format
9875 (queryUserLyXDir): ditto
9878 (typedef boost::function): use the recommened syntax.
9880 * importer.C (Import): use boost::format
9882 * debug.C (showLevel): use boost::format
9884 * converter.C (view): use boost::format
9889 * bufferview_funcs.C (currentState): use boost::format
9891 * bufferlist.C (emergencyWrite): use boost::format
9893 * buffer.C (readLyXformat2): use boost::format
9894 (parseSingleLyXformat2Token): ditto
9896 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9898 * LaTeX.C (run): use boost::format
9900 * Chktex.C (scanLogFile): use boost::format
9902 * BufferView_pimpl.C (savePosition): use boost::format
9903 (restorePosition): ditto
9904 (MenuInsertLyXFile): ditto
9906 * BoostFormat.h: help file for explicit instation.
9908 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9910 * tabular.C (latex): Support for block alignment in fixed width
9913 2002-11-17 John Levon <levon@movementarian.org>
9915 * BufferView_pimpl.C:
9917 * lyxfunc.C: split filedialog into open/save
9919 2002-11-08 Juergen Vigna <jug@sad.it>
9921 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9922 by my last patch (hopefully).
9924 2002-11-08 John Levon <levon@movementarian.org>
9933 * toc.C: ParConstIterator, and use it (from Lars)
9935 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9937 * lyxtextclass.[Ch]: revise and add doxygen comments
9939 2002-11-07 John Levon <levon@movementarian.org>
9941 * text.C: fix progress value for spellchecker
9943 * toc.C: fix navigate menu for insetwrap inside minipage
9945 * paragraph_funcs.C: added FIXME for suspect code
9947 2002-11-07 John Levon <levon@movementarian.org>
9949 * BufferView_pimpl.C: fix redrawing of insets
9952 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * text2.C (updateCounters): fix bug 668
9956 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9958 * text3.C (dispatch): Do not make the buffer dirty when moving the
9961 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9963 * vc-backend.C: STRCONV
9966 * text2.C (setCounter): STRCONV
9968 * paragraph.C (asString): STRCONV
9970 * lyxlength.C (asString): STRCONV
9971 (asLatexString): ditto
9973 * lyxgluelength.C (asString): STRCONV
9974 (asLatexString): ditto
9976 * lyxfunc.C (dispatch): STRCONV
9979 * lyxfont.C (stateText): STRCONV
9981 * importer.C (Import): STRCONV
9983 * counters.C (labelItem): STRCONV
9984 (numberLabel): ditto
9985 (numberLabel): remove unused ostringstream o
9990 * bufferview_funcs.C (currentState): STRCONV
9992 * buffer.C (readFile): STRCONV
9993 (asciiParagraph): ditto
9994 (makeLaTeXFile): ditto
9996 * Spacing.C (writeEnvirBegin): STRCONV
9998 * LaTeXFeatures.C (getLanguages): STRCONV
9999 (getPackages): ditto
10001 (getBabelOptions): ditto
10002 (getTClassPreamble): ditto
10003 (getLyXSGMLEntities): ditto
10004 (getIncludedFiles): ditto
10008 (scanAuxFile): ditto
10011 * LString.h: add the STRCONV macros
10013 * BufferView_pimpl.C (savePosition): STRCONV
10014 (restorePosition): ditto
10015 (MenuInsertLyXFile): ditto
10017 * vc-backend.C (scanMaster): change from submatch[...] to
10020 * funcrequest.C: include config.h
10022 * factory.C: include config.h
10024 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10026 * box.C: include config.h
10028 * LaTeX.C (scanAuxFile): change from submatch[...] to
10032 2002-10-25 Angus Leeming <leeming@lyx.org>
10034 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10036 * ispell.[Ch] (setError): new method.
10037 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10038 Use setError() insetead of goto END.
10040 * lyx_cb.C (AutoSave): move out child process into new class
10043 2002-10-30 John Levon <levon@movementarian.org>
10045 * text3.C: make start appendix undoable
10047 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10049 * lyxlength.C (inPixels): Fix returned value.
10051 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10054 2002-10-24 Angus Leeming <leeming@lyx.org>
10056 * lyxgluelength.h: no need to forward declare BufferParams
10057 or BufferView, so don't.
10059 2002-10-21 John Levon <levon@movementarian.org>
10061 * BufferView.C: menuUndo ->undo, redo
10063 * BufferView.h: document, remove dead, make some methods private
10065 * paragraph_funcs.h:
10066 * paragraph_funcs.C:
10067 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10072 * sgml.C: move sgml open/close tag into sgml.C
10074 * bufferview_funcs.h: unused prototype
10077 * lyxfunc.C: remove unused
10080 * text.C: remove unused
10082 2002-10-21 John Levon <levon@movementarian.org>
10086 * BufferView_pimpl.h:
10087 * BufferView_pimpl.C: fix mouse wheel handling based on
10088 patch from Darren Freeman
10090 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10092 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10094 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10096 * lyxlength.C (inPixels): Fix hanfling of negative length.
10097 Fix LyXLength::MU case.
10099 2002-10-16 John Levon <levon@movementarian.org>
10101 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10103 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10105 * converter.C (view): add support for $$i (file name) and $$p
10106 (file path) for the viewer command. If $$i is not specified, then
10107 it is appended to the command (for compatibility with old syntax)
10109 2002-10-14 Juergen Vigna <jug@sad.it>
10111 * undo_funcs.C (textHandleUndo): alter the order in which the
10112 new undopar is added to the LyXText, as we have to set first
10113 the right prev/next and then add it as otherwise the rebuild of
10114 LyXText is not correct. Also reset the cursor to the right paragraph,
10115 with this IMO we could remove the hack in "redoParagraphs()".
10117 2002-10-09 Angus Leeming <leeming@lyx.org>
10119 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10120 to turn off an optimisation if a new inset is to be inserted.
10122 2002-10-11 André Pönitz <poenitz@gmx.net>
10124 * lyxtext.h: make some functions public to allow access
10125 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10127 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10129 * text3.C (dispatch): when changing layout, avoid an infinite loop
10132 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10134 * lyxrc.C (read): treat a viewer or converter command of "none" as
10137 * MenuBackend.C (expandFormats): for an update, also allow the
10138 formats that are not viewable
10140 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10141 script if it is newer than the lyxrc.defaults in user directory
10143 2002-10-07 André Pönitz <poenitz@gmx.net>
10145 * text.C: Vitaly Lipatov's small i18n fix
10147 2002-09-25 Angus Leeming <leeming@lyx.org>
10149 * ispell.h: doxygen fix.
10151 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10153 * buffer.h (readFile): Add a new argument to the method, to allow
10154 reading of old-format templates.
10156 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10158 * toc.C (getTocList): Get TOC from InsetWrap.
10160 2002-09-16 John Levon <levon@movementarian.org>
10162 * lyxfunc.C: check tabular for cut/copy too
10164 2002-09-12 John Levon <levon@movementarian.org>
10166 * LyXAction.C: tidy
10169 * factory.C: add header
10171 * paragraph_funcs.h:
10172 * paragraph_funcs.C: cleanup
10174 2002-09-11 John Levon <levon@movementarian.org>
10176 * PrinterParams.h: odd/even default to true
10178 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10180 * PrinterParams.h: update printer parameters for new xforms dialog
10182 2002-09-11 Angus Leeming <leeming@lyx.org>
10184 * lyxserver.C (read_ready): re-write to make it more transparent
10185 and to make it work in coherent fashion under Tru64 Unix.
10187 2002-09-11 André Pönitz <poenitz@gmx.net>
10191 * text3.C: implement LFUN_WORDSEL
10193 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10195 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10196 make floatlist_ a boost::shared_ptr<FloatList>
10198 * lyxtextclass.C: include FloatList.h
10199 (LyXTextClass): initialize floatlist_
10200 (TextClassTags): add TC_NOFLOAT
10201 (Read): match "nofloat" to TC_NOFLOAT and use it.
10202 (readFloat): modify call to floatlist_
10206 * FloatList.[Ch] (FloatList): remove commented out float
10208 (erase): new function
10210 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10212 * MenuBackend.C (expandToc): fix crash when there is no document
10215 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10217 * many files: Add insetwrap.
10219 2002-09-09 John Levon <levon@movementarian.org>
10221 * text2.C: remove confusing and awkward depth wraparound
10223 2002-09-09 John Levon <levon@movementarian.org>
10225 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10228 * buffer.C: remove getIncludeonlyList()
10231 * lyxfunc.C: remove headers
10233 2002-09-09 Juergen Vigna <jug@sad.it>
10235 * text.C (getColumnNearX): fix form Michael this is most
10236 probably a cut&paste bug.
10238 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10240 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10242 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10243 references, ws changes.
10245 * text2.C (init): update counters after init
10246 (insertParagraph): no need to set counter on idividual paragraphs.
10247 (setCounter): access the counters object in the textclass object
10248 on in the buffer object.
10249 (updateCounters): ditto
10251 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10252 shared_ptr<Counters> to avoid loading counters.h in all
10254 (LyXTextClass): initialize ctrs_
10255 (TextClassTags): add TC_COUNTER, and ...
10256 (Read): use it here.
10257 (CounterTags): new tags
10258 (readCounter): new function
10259 (counters): new funtion
10260 (defaultLayoutName): return a const reference
10262 * counters.C (Counters): remove contructor
10263 (newCounter): remove a couple of unneeded statements.
10264 (newCounter): simplify a bit.
10265 (numberLabel): some small formatting changes.
10267 * buffer.[Ch]: remove all traces of counters, move the Counters
10268 object to the LyXTextClass.
10270 2002-09-06 Alain Castera <castera@in2p3.fr>
10272 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10273 package to set the horizontal alignment on fixed width columns.
10276 * lyx_sty.h: added tabularnewline macro def.
10278 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10280 2002-09-06 John Levon <levon@movementarian.org>
10282 * LyXAction.C: tooltips for sub/superscript
10284 * MenuBackend.C: a bit more verbose
10286 * lyxfunc.C: tiny clean
10288 * undo_funcs.C: document undo_frozen
10290 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10292 * counters.C (Counters): add missing algorithm counter.
10294 * text2.C (setCounter): lookup the counter with layouts latexname
10295 instead of by section number.
10296 (setCounter): use a hackish way to lookup the correct enum
10298 a float name->type change
10299 reset enum couners with counter name directly instead of depth value.
10301 * counters.C (Counters): remove the push_backs, change to use the
10302 float type not the float name.
10303 (labelItem): remove unused string, float name->type change
10305 * counters.h: don't include vector, loose the enums and sects vectors
10307 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10309 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10310 (Read): add float->TC_FLOAT to textclassTags
10311 (Read): and handle it in the switch
10312 (readFloat): new function
10314 * FloatList.C (FloatList): comment out the hardcoded float
10317 * lyxlayout.h: ws change.
10319 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10321 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10323 2002-09-03 Angus Leeming <leeming@lyx.org>
10325 * BufferView_pimpl.h: qualified name is not allowed in member
10326 declaration: WorkArea & Pimpl::workarea() const;
10328 * factory.C: added using std::endl directive.
10330 * text3.C: added using std::find and std::vector directives.
10332 2002-08-29 André Pönitz <poenitz@gmx.net>
10335 * text2.C: remove unused member number_of_rows
10338 * BufferView2.C: remove file, move contents to...
10339 * BufferView.C: ... here
10341 * BufferView_pimpl.C:
10342 * factory.C: move more inset creation to factory
10344 * vspace.C: avoid direct usage of LyXText, ws changes
10347 don't provide direct access to WorkArea, use two simple
10348 acessors haveSelction() and workHeight() instead
10351 2002-08-29 John Levon <levon@movementarian.org>
10353 * BufferView_pimpl.C (dispatch): do not continue when
10356 2002-08-28 André Pönitz <poenitz@gmx.net>
10358 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10361 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10363 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10365 * buffer.C: increment LYX_FORMAT to 221
10367 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10368 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10370 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10372 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10374 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10376 * factory.C (createInset): use LyXTextClass::floats
10378 * MenuBackend.C (expandFloatListInsert):
10379 (expandFloatInsert):
10382 * text2.C (setCounter):
10384 * LaTeXFeatures.C (useFloat):
10385 (getFloatDefinitions):
10387 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10389 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10390 floatlist_, with accessor floats().
10392 * FloatList.h: remove global FloatList
10394 2002-08-26 André Pönitz <poenitz@gmx.net>
10396 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10400 * BufferView_pimpl.C:
10401 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10403 2002-08-25 John Levon <levon@movementarian.org>
10405 * LyXAction.C: fix margin note description
10407 2002-08-24 John Levon <levon@movementarian.org>
10411 * bufferview_funcs.C:
10413 * undo_funcs.C: cleanups
10415 * lyxfunc.C: disable CUT/COPY when no selection
10417 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10419 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10420 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10422 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10423 Add backward compatibility to "mono", "gray" and "no".
10425 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10427 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10428 (and file_format >= 200).
10430 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10432 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10434 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10436 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10438 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10440 * BufferView_pimpl.C:
10447 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10448 inset and code to make it work with the paragraph code. The inset
10449 can be anywhere in the paragraph, but will only do the expected
10450 thing in LaTeX if the layout file contains the parameter line
10452 (or more generally, a nonzero value) for that layout.
10454 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10456 * paragraph.h: remove the declaration of undefined counters class
10459 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10461 * text2.C (setCounter): fixed enumeration mis-count as reported by
10462 Dr. Richard Hawkins.
10464 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * paragraph_funcs.h: remove some unneeded includes
10468 * text.C (backspace): pasteParagraph now in global scipe
10470 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10471 (pasteSelection): ditto
10473 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10474 * paragraph_funcs.C (pasteParagraph): ... here
10476 2002-08-20 André Pönitz <poenitz@gmx.net>
10478 * commandtags.h: new LFUNs for swapping/copying table row/colums
10481 * lyxfunc.C: support for new lfuns
10483 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10486 * buffer.[Ch]: remove NO_COMPABILITY stuff
10488 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10490 * boost.C (throw_exception): new file, with helper function for
10491 boost compiled without exceptions.
10496 * ParameterStruct.h:
10497 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10499 * bufferlist.C (emergencyWriteAll): use boost bind
10501 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10503 * text.C: include paragraph_funcs.h
10504 (breakParagraph): breakParagraph is now in global scope
10506 * paragraph_funcs.[Ch]: new files
10508 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10511 * buffer.C: include paragraph_funcs.h
10512 (insertStringAsLines): breakParagraph is now in global scope
10514 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10517 * CutAndPaste.C: include paragraph_funcs.h
10518 (cutSelection): breakParagraphConservative is now in global scope
10519 (pasteSelection): ditto
10521 * buffer.h: declare oprator== and operator!= for
10522 Buffer::inset_iterator
10524 * bufferlist.C (emergencyWrite): don't use fmt(...)
10526 * text3.C: add using std::endl
10528 * BufferView.C (moveCursorUpdate): remove default arg
10530 2002-08-20 André Pönitz <poenitz@gmx.net>
10532 * buffer.[Ch]: move inline functions to .C
10535 * BufferView_pimpl.C:
10537 * buffer.[Ch]: use improved inset_iterator
10540 * paragraph.[Ch]: write one paragraph at a time
10542 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10544 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10545 style if style is not specified.
10547 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10549 * text2.C (setCounter): when searching for right label for a
10550 caption, make sure to recurse to parent insets (so that a caption
10551 in a minipage in a figure float works) (bug #568)
10553 2002-08-20 André Pönitz <poenitz@gmx.net>
10555 * text3.C: new file for LyXText::dispatch() and helpers
10557 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10559 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10561 2002-08-19 André Pönitz <poenitz@gmx.net>
10564 * text.C: new LyXText::dispatch()
10566 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10568 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10570 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10572 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10575 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10577 * Makefile.am: use $(variables) instead of @substitutions@
10579 2002-08-15 André Pönitz <poenitz@gmx.net>
10582 * BufferView_pimpl.C: streamlining mathed <-> outer world
10586 * LyXAction.C: remove unused LFUN_MATH
10588 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10590 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10592 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10594 * paragraph.C (Paragraph): reformat a bit
10595 (cutIntoMinibuffer): use builtin InsetList function instad of
10599 * buffer.C: include boost/bind.hpp, add using std::for_each
10600 (writeFileAscii): use ParagraphList iterators
10601 (validate): use for_each for validate traversal of paragraphs
10602 (getBibkeyList): use ParagraphList iterators
10603 (resizeInsets): use for_each to resizeInsetsLyXText for all
10605 (getParFromID): use ParagraphList iterators
10607 * BufferView2.C (lockInset): use paragraph list and iterators
10609 2002-08-14 John Levon <levon@movementarian.org>
10611 * lyxserver.C: remove spurious xforms include
10613 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10615 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10617 2002-08-13 André Pönitz <poenitz@gmx.net>
10620 * lyxfunc.C: further cleaning
10622 2002-08-13 André Pönitz <poenitz@gmx.net>
10624 * funcrequest.h: new constructor
10626 * funcrequest.C: move stuff here from .h
10629 * BufferView_pimpl.C:
10632 * lyxfunc.C: subsequent changes
10634 * lyxfunc.h: new view() member function
10636 * lyxfunc.C: subsequent changes
10638 2002-08-13 Angus Leeming <leeming@lyx.org>
10641 * BufferView_pimpl.C:
10649 changes due to the changed LyXView interface that now returns references
10650 to member variables not pointers.
10652 2002-08-13 Angus Leeming <leeming@lyx.org>
10654 * WordLangTuple (word, lang_code): return references to strings,
10659 * lyxtext.h: forward-declare WordLangTuple.
10664 * text.C: #include "WordLangTuple.h".
10667 * text.C: (selectNextWordToSpellcheck): constify return type.
10669 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10675 * paragraph_pimpl.h:
10678 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10679 suggested by Angus.
10680 Made updateCounter always count from start of buffer, and removed
10681 second argument (par).
10682 Reverted floats number display to '#'. Perhaps I'll try again when the
10683 code base is sanitized a bit.
10685 2002-08-12 Angus Leeming <leeming@lyx.org>
10687 * buffer.[Ch] (getLabelList): constify.
10689 2002-08-07 André Pönitz <poenitz@gmx.net>
10691 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10693 * funcrequest.h: extension to keep mouse (x,y) position
10695 2002-08-12 Juergen Vigna <jug@sad.it>
10697 * BufferView2.C (insertErrors): forbid undo when inserting error
10700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10702 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10704 * ParagraphList.[Ch]: new files
10706 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10708 * BufferView2.C (lockInset): ParagraphList changes
10711 * bufferlist.C: ditto
10715 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10717 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10718 unused class variable counter_,
10720 * paragraph.[Ch] (getFirstCounter): delete unused function
10722 * counters.C: include LAssert.h
10723 (reset): add a new function with no arg, change other version to
10724 not have def. arg and to not allow empty arg.
10726 * text2.C (setCounter): remove empty arg from call to Counters::reset
10728 2002-08-11 John Levon <levon@movementarian.org>
10730 * Makefile.am: add WordLangTuple.h
10732 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10734 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10735 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10737 * insets/insettext.C: InsetList changes
10739 * graphics/GraphicsSupport.C (operator()): InsetList changes
10741 * toc.C (getTocList): InsetList changes
10743 * paragraph_pimpl.[Ch]: InsetList changes
10745 * paragraph.[Ch]: InsetList changes
10747 * buffer.C (inset_iterator): InsetList changes
10748 (setParagraph): ditto
10749 * buffer.h (inset_iterator): ditto
10750 * iterators.C (operator++): ditto
10751 * iterators.h: ditto
10753 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10755 * InsetList.[Ch]: new files, most InsetList handling moved out of
10758 * BufferView2.C (removeAutoInsets): InsetList changes
10760 (ChangeInsets): ditto
10762 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10764 * paragraph_pimpl.h (empty): new function
10766 * paragraph.[Ch] (empty): new function
10768 * other files: use the new Paragraph::empty function
10770 2002-08-09 John Levon <levon@movementarian.org>
10772 * lyxtext.h: remove unused refresh_height
10774 2002-08-09 John Levon <levon@movementarian.org>
10781 * paragraph.C: move sgml char escaping out of paragraph
10784 * paragraph.C: remove id setter
10788 * paragraph_pimpl.C: remove dead tex_code_break_column
10790 * bufferview_funcs.C: small cleanup
10792 * lyxfunc.C: remove dead proto
10794 * lyxtext.h: make some stuff private. Remove some dead stuff.
10796 * lyxgluelength.C: make as[LyX]String() readable
10798 2002-08-08 John Levon <levon@movementarian.org>
10803 * ToolbarDefaults.C:
10806 * toc.C: lyxaction cleanup
10808 2002-08-08 John Levon <levon@movementarian.org>
10810 * BufferView2.C: small cleanup
10813 * lyxfind.C: move unnecessary header into the .C
10815 2002-08-08 John Levon <levon@movementarian.org>
10817 * funcrequest.h: just tedious nonsense
10820 * lyx_main.C: cleanups
10823 * vspace.C: remove dead header lyx_main.h
10825 2002-08-07 Angus Leeming <leeming@lyx.org>
10828 * paragraph_pimpl.h:
10829 Forward declare class Counters in paragraph.h by moving the ctrs member
10830 variable into Paragraph::Pimpl.
10831 (counters): new method, returning a reference to pimpl_->ctrs.
10833 * text2.C: ensuing changes.
10835 2002-08-07 John Levon <levon@movementarian.org>
10837 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10839 * BufferView_pimpl.C: announce X selection on double/triple
10842 * lyx_main.C: use correct bool in batch dispatch
10844 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10846 2002-08-07 André Pönitz <poenitz@gmx.net>
10848 * funcrequest.h: new class to wrap a kb_action and its argument
10851 * BufferView_pimpl[Ch]:
10855 * lyxrc.C: subsequent changes
10858 2002-08-07 John Levon <levon@movementarian.org>
10860 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10861 document options change.
10863 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10868 * makefile.am: move counters functionality over from
10869 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10871 2002-08-06 John Levon <levon@movementarian.org>
10873 * WordLangTuple.h: new file for word + language code tuple
10884 * BufferView2.C: use WordLangTuple
10887 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10889 2002-08-06 John Levon <levon@movementarian.org>
10891 * lyx_main.C: fix cmdline batch handling
10893 2002-08-06 André Pönitz <poenitz@gmx.net>
10895 * lyxrc.C: set default for show_banner to true
10897 2002-08-06 John Levon <levon@movementarian.org>
10899 * pspell.C: fix a crash, and allow new aspell to work
10901 2002-08-06 John Levon <levon@movementarian.org>
10904 * kbmap.C: small cleanup
10907 * vspace.C: add const
10909 2002-08-05 John Levon <levon@movementarian.org>
10911 * LyXAction.C: back to tabular-insert
10913 2002-08-04 John Levon <levon@movementarian.org>
10916 * BufferView.C: cosmetic change
10918 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10928 * BufferView2.C: purge all "Lyx" not "LyX" strings
10931 * lyxcursor.C: attempt to add some documentation
10936 * ToolbarDefaults.C:
10937 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10938 merge with LFUN_TABULAR_INSERT
10945 * pspell.C: split up i/pspell implementations into separate
10946 files, many cleanups
10948 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10950 * text2.C: some cleanup
10952 * lyxfunc.C: don't check for isp_command == "none" any more, it
10953 didn't make any sense
10955 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10960 * makefile.am: move counters functionality over
10961 from text2.C/paragraph.[Ch] to counters.[Ch], and
10963 2002-08-02 John Levon <levon@movementarian.org>
10965 * buffer.C: s/lyxconvert/lyx2lyx/
10967 2002-08-02 Angus Leeming <leeming@lyx.org>
10969 * lyxlex.C: revert John's change as it breaks reading of the user
10972 2002-08-02 Angus Leeming <leeming@lyx.org>
10974 * importer.C (Import):
10975 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10976 changes due to LyXView::view() now returning a boost::shared_ptr.
10978 2002-08-02 John Levon <levon@movementarian.org>
10980 * lyxlex.C: small cleanup
10982 2002-08-02 John Levon <levon@movementarian.org>
10984 * text2.C (status): small cleanup, no logic change
10986 2002-08-01 John Levon <levon@movementarian.org>
10989 * buffer.C (writeFile): don't output alerts, caller
10993 * lyx_cb.C: from above
10995 * lyxfunc.C: allow to open non-existent files
10997 2002-07-31 John Levon <levon@movementarian.org>
10999 * lyxserver.C: don't let incidental errors get
11002 2002-07-30 John Levon <levon@movementarian.org>
11004 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11006 2002-07-30 John Levon <levon@movementarian.org>
11009 * lyxserver.C: remove I/O callback too
11011 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11016 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11018 * many files: strip,frontStrip -> trim,ltrim,rtrim
11020 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11022 * PrinterParams.h: remove extern containsOnly, and include
11023 support/lstrings.h instead.
11025 * LaTeX.C (scanAuxFile): modify because of strip changes
11027 * buffer.C (makeLaTeXFile): ditto
11028 * bufferparams.C (writeFile): ditt
11029 * lyxfont.C (stateText): ditto
11030 * lyxserver.C (read_ready): ditto
11031 * vc-backend.C (scanMaster): ditto
11033 * BufferView_pimpl.h: ws changes
11035 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11037 2002-07-26 André Pönitz <poenitz@gmx.net>
11039 * kb_sequence.C: remove unnedred usings
11041 2002-07-26 Juergen Vigna <jug@sad.it>
11043 * lyxfind.C (LyXReplace): we have to check better if the returned
11044 text is not of theLockingInset()->getLockingInset().
11046 2002-07-25 Juergen Vigna <jug@sad.it>
11048 * lyxfind.C (LyXReplace): don't replace if we don't get the
11051 * undo_funcs.C (createUndo): remove debugging code.
11053 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11055 * buffer.C (parseSingleLyXformat2Token): Use default placement
11056 when reading old floats.
11058 * FloatList.C (FloatList): Change the default placement of figure
11059 and tables to "tbp".
11061 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11063 * MenuBackend.C: using std::max
11065 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11067 * MenuBackend.C (expandToc):
11068 (expandToc2): code moved from xforms menu frontend. It is now
11069 generic and TOCs are transparent to menu frontends.
11071 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11073 * toc.C (getTocList): protect against buf=0
11075 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11076 Menu as first parameter. Now, this calls itself recursively to
11077 expand a whole tree (this will be useful for TOC handling)
11078 (expandFloatInsert): remove 'wide' version of floats
11080 * MenuBackend.h (submenuname): returns the name of the submenu.
11081 (submenu): returns the submenu itself, provided it has been
11082 created by MenuBackend::expand
11084 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11086 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11087 insets which have noFontChange == true. (bug #172)
11089 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11091 * BufferView_pimpl.C: add connection objects and use them...
11094 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * MenuBackend.C (expandLastfiles):
11099 (expandFloatListInsert):
11100 (expandFloatInsert):
11101 (expand): split expand in parts
11103 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11105 * lyx_gui.C: use lyx_gui::exit()
11107 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11109 * LyXAction.C: show the failing pseudo action
11111 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11113 * buffer.C (readFile): Run the lyxconvert script in order to read
11116 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11120 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11122 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11126 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11128 2002-07-22 Herbert Voss <voss@lyx.org>
11131 * lyxlength.[Ch]: add support for the vertical lengths
11133 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11135 * toc.[Ch]: std:: fixes
11137 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11139 * lyxrc.C: do not include lyx_main.h
11141 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11147 * BufferView2.C: include "lyxlex.h"
11150 * bufferparams.h: do not #include "lyxlex.h"
11152 * lyxtextclasslist.C (Add): remove method
11153 (classlist): renamed to classlist_
11155 * paragraph_pimpl.C:
11159 * bufferview_funcs.C:
11164 * toc.C (getTocList): use BufferParams::getLyXTextClass
11166 * toc.C (getTocList): use InsetFloat::addToToc
11168 * toc.[Ch]: new files, containing helper functions to handle table
11171 * lyxfunc.C (dispatch): no need to remove spaces around command
11173 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11174 first command of the sequence; it is not very clever, but I do not
11175 have a better idea, actually
11177 * LyXAction.C (LookupFunc): make sure to remove space at the
11178 beginning and end of the command
11180 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * MenuBackend.C (getMenubar): new method: return the menubar of
11184 (read): treat differently reading of menu and menubar (in
11185 particular, the menubar has no name now)
11186 (Menu::menubar): remove
11188 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11191 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11193 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11194 a bibitem inset in a RTL paragraph.
11196 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11198 * paragraph_pimpl.C: constify
11200 * BufferView_pimpl.C:
11202 * lyxfunc.C: fix dispatch in a nicer way
11204 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11206 * lyxfunc.C (dispatch):
11207 * BufferView_pimpl.C:
11208 * BufferView_pimpl.h:
11210 * BufferView.h: rename Dispatch() to dispatch()
11212 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11214 * lyxlayout.C (Read): honor DependsOn tag
11216 * lyxlayout.[Ch] (depends_on): new method
11218 * version.C.in: update lyx_docversion
11220 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11222 * paragraph.C (validate): remove from here...
11223 * paragraph_pimpl.C (validate): ... and move here
11224 (isTextAt): make it const
11226 * buffer.C (getLists): ws cleanup
11228 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11230 * language.C (read): Use iso8859-1 encoding in latex_lang
11231 (this prevents LyX from crashing when using iso10646-1 encoding).
11233 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11235 * text2.C (toggleInset): if cursor is inside an inset, close the
11236 inset and leave cursor _after_ it
11238 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11240 * lyxfunc.C: move minibuffer completion handling out of here
11242 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11244 * BufferView_pimpl.C:
11245 * LaTeX.C: fix dispatch calls
11247 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11249 * text.C (drawChars): Fix Arabic text rendering.
11251 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11255 * lyxfunc.C: remove message-push/pop
11259 * lyxfunc.C: rationalise some code by removing verboseDispatch
11260 in favour of a bool argument to dispatch()
11262 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * lyx_main.C (init): make sure to read symlinks as absolute paths
11266 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11269 * lyxfunc.C: no need for commandshortcut to be a member
11271 2002-07-15 André Pönitz <poenitz@gmx.net>
11273 * converter.C: add support for $$s (scripts from lib/scripts dir)
11274 * lyx_main.C: white space
11276 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11280 * lyxrc.C: remove second exit confirmation
11282 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11287 * BufferView_pimpl.h:
11288 * BufferView_pimpl.C:
11289 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11291 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * MenuBackend.C (expand): add numeric shortcuts to document menu
11295 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11297 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11299 * lyxfont.C (setLyXFamily):
11306 * buffer.C (asciiParagraph): use ascii_lowercase
11308 2002-07-15 Mike Fabian <mfabian@suse.de>
11310 * lyxlex_pimpl.C (search_kw):
11311 * lyxlex.C (getLongString):
11312 * converter.h (operator<):
11313 * converter.C (operator<):
11314 * buffer.C (parseSingleLyXformat2Token):
11316 * ToolbarDefaults.C (read):
11317 * MenuBackend.C (checkShortcuts):
11319 * LColor.C (getFromGUIName):
11320 (getFromLyXName): use the compare_ascii_no_case instead of
11321 compare_no_case, because in turkish, 'i' is not the lowercase
11322 version of 'I', and thus turkish locale breaks parsing of tags.
11324 2002-07-16 Angus Leeming <leeming@lyx.org>
11326 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11327 now takes a Buffer const & argument.
11329 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11331 * BufferView.C (resize): check there's a buffer to resize
11333 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11335 * lyxfunc.C: remove dead code
11338 * lyxserver.C: use lyx_guii::set_read_callback
11340 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11342 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11343 an inset in a RTL paragraph.
11345 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11347 * lyxfunc.C: repaint after a font size update
11349 2002-07-15 André Pönitz <poenitz@gmx.net>
11351 * lyxlength.C: inBP should be able to return negative values
11353 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11355 * lyxfunc.C: use lyx_gui::update_fonts()
11357 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11359 * lyxfunc.C: use lyx_gui::update_color()
11361 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11367 * lyxrc.C: remove file->new asks for name option, and let
11368 buffer-new take an argument
11370 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11372 * BufferView_pimpl.C: remove unneeded extra repaint()
11374 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11376 * LyXAction.C: allow command-sequence with NoBuffer
11378 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11380 2002-07-10 Angus Leeming <leeming@lyx.org>
11382 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11384 2002-07-09 Angus Leeming <leeming@lyx.org>
11386 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11388 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11390 * lengthcommon.h: whitespace
11392 * lyxfunc.C: update scrollbar after goto paragraph
11394 * lyxtext.h: factor out page break drawing, and fix it so
11395 page break/added space paints as selected nicely
11397 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11399 * BufferView_pimpl.C: add FIXMEs, clean up a little
11401 2002-07-09 André Pönitz <poenitz@gmx.net>
11403 * lyxfont.[Ch]: support for wasy symbols
11405 2002-07-08 André Pönitz <poenitz@gmx.net>
11407 * BufferView_pimpl.C: apply John's patch for #93.
11409 2002-07-05 Angus Leeming <leeming@lyx.org>
11411 * BufferView_pimpl.C (buffer): generate previews if desired.
11413 * LColor.h: add "preview" to the color enum.
11415 * LColor.C (LColor): add a corresponding entry to the items array.
11417 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11420 2002-07-05 Angus Leeming <leeming@lyx.org>
11422 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11423 The body of the code is now in the method that is passed an ostream &
11424 rather than a file name.
11425 Pass an additional only_preamble parameter, useful for the forthcoming
11428 2002-07-03 André Pönitz <poenitz@gmx.net>
11430 * lyxfunc.C: simplify getStatus() a bit for math stuff
11432 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11436 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11438 * text.C (changeRegionCase): do not change case of all the
11439 document when region ends at paragraph end (bug #461)
11441 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11443 * paragraph.C (startTeXParParams):
11444 (endTeXParParams): add \protect when necessary
11446 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11448 * BufferView_pimpl.C (workAreaExpose): remove warning
11450 2002-06-27 Angus Leeming <leeming@lyx.org>
11452 * Makefile.am: add lyxlayout_ptr_fwd.h.
11454 2002-06-26 André Pönitz <poenitz@gmx.net>
11456 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11458 2002-06-25 Angus Leeming <leeming@lyx.org>
11460 * lyxfunc.C (dispatch): Comment out the call to
11461 grfx::GCache::changeDisplay. The method no longer exists now that the
11462 pixmap generation part of the graphics loader has been moved into
11465 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11467 * text2.C: layout as layout
11469 * text.C: layout as layout
11471 * tabular.C (OldFormatRead): layout as layout
11473 * paragraph_pimpl.C (TeXDeeper): layout as layout
11474 (realizeFont): layout as layout
11476 * paragraph.C (writeFile): layout as layout
11477 (validate): layout as layout
11478 (getFont): layout as layout
11479 (getLabelFont): layout as layout
11480 (getLayoutFont): layout as layout
11481 (breakParagraph): layout as layout
11482 (stripLeadingSpaces): layout as layout
11483 (getEndLabel): layout as layout
11484 (getMaxDepthAfter): layout as layout
11485 (applyLayout): layout as layout
11486 (TeXOnePar): layout as layout
11487 (simpleTeXOnePar): layout as layout
11488 (TeXEnvironment): layout as layout
11489 (layout): layout as layout
11490 (layout): layout as layout
11492 * lyxtextclass.C (compare_name): new functor to work with
11493 shared_ptr, layout as layout
11494 (Read): layout as layout
11495 (hasLayout): layout as layout
11496 (operator): layout as layout
11497 (delete_layout): layout as layout
11498 (defaultLayout): layout as layout
11500 * lyxlayout_ptr_fwd.h: new file
11502 * lyxlayout.C (Read): layout as layout
11504 * lyx_cb.C (MenuInsertLabel): layout as layout
11506 * bufferlist.C (newFile): layout as layout
11508 * buffer.C (readLyXformat2): layout as layout
11509 (parseSingleLyXformat2Token): layout as layout
11510 (insertStringAsLines): layout as layout
11511 (asciiParagraph): layout as layout
11512 (latexParagraphs): layout as layout
11513 (makeLinuxDocFile): layout as layout
11514 (simpleLinuxDocOnePar): layout as layout
11515 (makeDocBookFile): layout as layout
11516 (simpleDocBookOnePar): layout as layout
11517 (getLists): layout as layout
11519 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11521 * CutAndPaste.C (cutSelection): layout as layout
11522 (pasteSelection): layout as layout
11523 (SwitchLayoutsBetweenClasses): layout as layout
11525 * BufferView_pimpl.C (Dispatch): layout as layout
11526 (smartQuote): layout as layout
11528 * BufferView2.C (unlockInset): layout as layout
11530 2002-06-24 André Pönitz <poenitz@gmx.net>
11532 * lyxfunc.C: fix #487
11534 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11538 * lyxfunc.C: remove display_shortcuts, show_banner
11540 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11542 * Buffer_pimpl.C: oops, update on resize
11544 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11551 * BufferView.C: use repaint()
11553 * BufferView_pimpl.h:
11554 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11555 as it's a clearer description. Remove superfluous
11558 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11560 * text.C: fix bug 488. Not ideal, but getting
11561 getWord() to work properly for the insets that
11562 matter is more difficult ...
11564 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11566 * BufferView_pimpl.C:
11569 * lyxfunc.C: remove the six million index lyxfuncs to just
11570 one, and DTRT (bug 458)
11572 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11576 * BufferView_pimpl.h:
11577 * BufferView_pimpl.C: clean up resize() stuff,
11578 and unnecessary updateScreen()s
11580 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11584 * BufferView_pimpl.h:
11585 * BufferView_pimpl.C:
11588 * minibuffer.C: remove focus management of workarea,
11589 not needed. Use screen's greyOut()
11591 2002-06-17 Herbert Voss <voss@lyx.org>
11593 * converter.C: (convert) do not post a message, when converting
11594 fails, let the calling function decide what to do in this case
11596 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11598 * lyxfunc.C: tidy up a little
11600 2002-06-16 <alstrup@diku.dk>
11602 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11603 Got rid of FORMS_H_LOCATION include. Now we are
11606 2002-06-15 LyX Development team <lyx@rilke>
11608 * buffer.[Ch] (sgmlOpenTag):
11609 (sgmlCloseTag): Added support for avoiding pernicious mixed
11610 content. Return number of lines written.
11612 (makeLinuxDocFile):
11613 (makeDocBookFile): Fixed calls to sgml*Tag.
11614 Simple white space clean.
11616 (simpleDocBookOnePar): Simple white space clean.
11618 * tabular.[Ch] (docBook): Renamed to docbook and got another
11619 argument to related with the pernicious mixed content.
11621 (docbookRow): Fixed calls for docbook inset method.
11623 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11625 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11626 so it's X11 independent.
11630 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11632 2002-06-15 Lyx Development team <lyx@electronia>
11634 * intl.h: Renamed getTrans to getTransManager.
11636 2002-06-14 Angus Leeming <leeming@lyx.org>
11638 * Makefile.am: nuke forgotten stl_string_fwd.h.
11640 2002-06-12 Angus Leeming <leeming@lyx.org>
11642 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11644 2002-06-13 Angus Leeming <leeming@lyx.org>
11647 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11649 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11651 * kbmap.C (getiso): add support for cyrillic and greek
11653 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11657 * BufferView_pimpl.h:
11658 * BufferView_pimpl.C: move bogus scrolling logic
11661 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11664 * BufferView_pimpl.C: view->resize() change
11666 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11668 * BufferView_pimpl.C: topCursorVisible
11671 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11675 * lyx_gui.C: move to frontends/
11679 * lyx_main.C: changes from above
11681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11688 * lyx_main.C: minor tidy
11690 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11692 * BufferView_pimpl.h:
11693 * BufferView_pimpl.C:
11695 * BufferView.C: make painter() const,
11698 * BufferView2.C: use screen() accessor
11701 * lyx_main.C: some minor cleanup
11703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11705 * BufferView_pimpl.h:
11706 * BufferView_pimpl.C: remove enter/leaveView,
11709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11714 * BufferView_pimpl.h:
11715 * BufferView_pimpl.C: only construct screen once,
11718 * lyxrc.C: remove pointless comment
11720 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11723 * BufferView.C: remove active() and belowMouse()
11725 * BufferView_pimpl.h:
11726 * BufferView_pimpl.C: use workarea() not workarea_,
11727 and make it use a scoped_ptr instead
11729 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11731 * lyx_gui.C: add debug message on BadWindow
11733 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * sp_spell.C: fdopen is not part of the C++ standard.
11737 * paragraph.C (InsetIterator): use >= instead of ==
11739 2002-06-07 Angus Leeming <leeming@lyx.org>
11741 Fixes needed to compile with Compaq cxx 6.5.
11742 * BufferView_pimpl.C:
11749 * lyxtextclasslist.C:
11754 all c-library variables have been moved into namespace std. Wrap
11755 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11760 Add a using std::abs declaration.
11762 * kbmap.h (modifier_pair):
11763 * paragraph.h (InsetTable, InsetList):
11764 * lyxfont.h (FontBits):
11765 type definition made public.
11767 * bufferlist.C (emergencyWriteAll): the compiler complains that
11768 there is more than one possible lyx::class_fun template to choose from.
11769 I re-named the void specialisation as lyx::void_class_fun.
11771 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11773 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11774 the compiler is is unable to find tostr in write_attribute.
11776 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * buffer.C (sgmlError): hide #warning
11780 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11782 * xtl/*: get rid of xtl, which is not in use anyway
11784 * LyXAction.C (init):
11785 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11786 were unimplemented xtl experimentation
11788 2002-06-04 André Pönitz <poenitz@gmx.net>
11790 * lyxfunc.C: disable array operation on simple formulae
11792 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11794 * converter.C: constify a bit
11796 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11798 * lyx_gui.C: check xforms version correctly
11800 2002-04-30 Herbert Voss <voss@lyx.org>
11802 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11805 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11807 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11808 attempt to register it with a VCS)
11810 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11812 * lyx_main.C (init): honor variables LYX_DIR_13x and
11815 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11819 * lyx_main.C: fix a crash on bad command line,
11820 and give a useful exit status on error
11822 * lyxfunc.C (doImport): allow -i lyx to work
11824 2002-03-30 André Pönitz <poenitz@gmx.net>
11826 * lyxfunc.C: mathed font changes
11828 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11843 * trans_mgr.h: srcdocs, and some minor cleanups
11845 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11847 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11848 call getFont all the time)
11850 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * switch from SigC signals to boost::signals
11854 2002-05-29 André Pönitz <poenitz@gmx.net>
11856 * paragraph_pimpl.C (getChar): don't call size() too often...
11858 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11860 * paragraph_pimpl.C (insertChar): do not try to update tables when
11861 appending (pos == size())
11863 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11864 in order to reduce drastically the number of comparisons needed to
11865 parse a large document
11867 2002-05-29 André Pönitz <poenitz@gmx.net>
11873 * textclasslist.[Ch]:
11874 * sp_ispell.h: whitespace change
11876 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11878 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11879 lyxaction directly now.
11881 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11885 * lyxvc.C: remove unused headers
11887 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11894 * undo_funcs.C: some cleanups. Use shared_ptr
11895 and a template for the undo stacks.
11897 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11899 * BufferView_pimpl.h:
11900 * BufferView_pimpl.C:
11907 * text2.C: use key_state/mouse_state
11909 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11911 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11914 * chset.C: change include order
11915 (loadFile): use boost regex and get rid of LRegex and LSubstring
11917 * Makefile.am (BOOST_LIBS): new variable
11918 (lyx_LDADD): use it
11920 * LaTeX.C: change include order.
11921 (scanAuxFile): use boost regex and get rid of LRegex and
11925 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11930 * FontInfo.C: moved to frontends/xforms/
11933 * FontLoader.C: moved into frontends for GUIIzation
11938 * lyxfunc.C: changes from above
11940 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11942 * LColor.C: remove spurious X include
11944 * BufferView_pimpl.C:
11949 * text2.C: move font metrics to frontends/
11951 2002-05-24 Juergen Vigna <jug@sad.it>
11953 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11954 setting the undo_cursor.
11956 * ParagraphParameters.h: include local includes first.
11958 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11960 * BufferView_pimpl.C:
11961 * BufferView_pimpl.h:
11965 * screen.C: move WorkArea into frontends/
11971 * BufferView2.C: move LyXScreen into frontends/
11975 * lyx_gui.C: move lyxlookup into frontends/xforms/
11977 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11980 * BufferView_pimpl.C:
11990 * bufferview_funcs.C:
12003 * vc-backend.C: move LyX/XFormsView into frontends/
12005 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12017 * text2.C: move Painter to frontends/
12019 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * buffer.C: comment out some some code that depend upon lyx_format
12024 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12025 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12027 * buffer.h (NO_COMPABILITY): turn off compability
12029 * ColorHandler.C: include scoped_array.hpp
12031 * font.C: Use more specific smart_ptr header.
12034 * ShareContainer.h: ditto
12035 * lyx_main.h: ditto
12037 * FontInfo.h: ditto
12038 * BufferView_pimpl.h: ditto
12039 * ColorHandler.h: ditto
12041 * kbmap.C (defkey): change call to shared_ptr::reset
12043 2002-05-21 Juergen Vigna <jug@sad.it>
12045 * buffer.C (insertErtContents): fix to insert ert asis if it is
12046 non empty. Skip it completely if it contains only whitespaces.
12048 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12050 * BufferView_pimpl.C:
12051 * BufferView2.C: clear selection on paste (bug 393)
12053 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * DepTable.C: include ctime
12057 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12059 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12061 2002-05-14 Juergen Vigna <jug@sad.it>
12063 * text.C (breakParagraph): fixed function to honor the keepempty
12064 layout in the right maner and also to permit the right breaking
12065 algorithm on empty or non empyt keepempty paragraphs.
12067 * paragraph.C (breakParagraph): we have to check also if the par
12068 is really empty (!size()) for isempty otherwise we do the wrong
12071 2002-05-10 Juergen Vigna <jug@sad.it>
12073 * buffer.[Ch] : The following are only changes to the ert
12074 compatibility read reading old LaTeX layout and font stuff and
12075 convert it to ERTInsets.
12077 * buffer.h: added isErtInset().
12079 * buffer.C (struct ErtComp): add a fromlayout bool to check
12080 if we're inside a LaTeX layout.
12081 (isErtInset): new helper function.
12082 (insertErtContents): look for other ert insets before this one
12083 and insert the contents there, so that we don't have subsequent
12084 ERT insets with nothing between them. This way we create only one
12085 inset with multiple paragraphs. Also check if we don't insert only
12086 spaces ' ' as they are ignored anyway afterwards in the .tex file
12087 so if we have only spaces we will ignore this latex part in the
12089 (parseSingleLyXformat2Token \\layout): better compatibility when
12090 reading layout-latex stuff.
12091 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12093 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12094 stuff after reading the inset only get the information back from
12097 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12099 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12101 * LaTeXFeatures.C (getBabelOptions): New method.
12103 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * BufferView_pimpl.C (Dispatch): work around missing argument for
12108 2002-05-08 Juergen Vigna <jug@sad.it>
12110 * text.C (leftMargin): handle paragraph leftindent.
12112 * paragraph.C (writeFile): write the new \\leftindent tag.
12113 (validate): handle leftindent code.
12114 (TeXEnvironment): handle paragraphleftindent code again.
12116 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12118 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12119 for paragrap_extra indent code and new token \\leftindent.
12120 (latexParagraphs): handle the leftindent as environment.
12122 * ParameterStruct.h: added leftindent support.
12124 * ParagraphParameters.C (leftIndent): added support functions for
12125 the paragraph left indent.
12127 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12130 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12132 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12135 * text.C (computeBidiTables): No bidi in insetERT.
12137 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12140 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * version.C.in: pre 5
12144 2002-05-02 José Matos <jamatos@fep.up.pt>
12145 * buffer.C (makeDocBookFile): white space changes, add newline to
12147 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12149 * tabular.C (docBook): fix typo.
12151 2002-05-03 Juergen Vigna <jug@sad.it>
12153 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12154 change in LyXText as we can not be sure it was not freed.
12155 (drawOneRow): remove unused code.
12157 * text.C (drawInset): redo the calculation of the need_break_row as
12158 it could have a row which was already freed.
12159 (draw): look at the return value of drawInset and return false if
12160 it also returned false.
12161 (paintRowText): look at the return value of draw and return false if
12162 it also returned false.
12164 * lyxtext.h: added bool return type to drawInset() and draw() so that
12165 if we have a change in the row so that the rowbreak has to be redone
12166 we abort drawing as it will be called again.
12168 2002-05-02 Juergen Vigna <jug@sad.it>
12170 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12171 a change in the maintext also if we're inside an inset.
12172 (Dispatch): set the cursor again after a break line and after the
12173 screen has been updated as it could be we're in a different row.
12175 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12176 to set the cursor behind the pargraph with > size().
12177 (setCursor): check also for the same paragraph when checking where
12178 to put the cursor if we have a NFR inset.
12180 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12181 parts of layout read further up as it still was in the wrong
12184 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * screen.C (drawFromTo): change sine fullRebreak always return
12189 * buffer.C (parseSingleLyXformat2Token): reindent some
12191 * BufferView_pimpl.C (update): change since fullRebreak always
12193 (Dispatch): git rid of the last hardcoded "Standard"s.
12195 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12197 * text2.[Ch] (fullRebreak): make it return void now that we always
12200 2002-04-30 Juergen Vigna <jug@sad.it>
12202 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12203 ert compatibility check for "latex" layout.
12205 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12207 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12208 minipages: use col% instead of p%, and also use the current font.
12209 (makeLaTeXFile): Fix use babel condition.
12210 (parseSingleLyXformat2Token): Correct font when reading old floats.
12212 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12214 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12215 inserting list of floats.
12217 2002-04-25 Herbert Voss <voss@lyx.org>
12219 * MenuBackend.C (expand): don't add the graphics extensions to the
12222 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12225 non-existing layout, do not complain if it was the default layout
12226 of the original class (bug #342)
12228 2002-04-24 Juergen Vigna <jug@sad.it>
12230 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12231 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12233 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12235 * buffer.C (getBibkeyList): If using \bibliography, return the
12236 option field with the reference itself. Enables us to provide natbib
12237 support when using \bibliography.
12239 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12241 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12243 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12244 natbib is provided by the LaTeX class.
12246 2002-04-23 Juergen Vigna <jug@sad.it>
12248 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12251 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12253 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12255 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12257 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12258 ensuremath around textordmasculine, textordfeminine and
12261 2002-04-19 Juergen Vigna <jug@sad.it>
12263 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12264 reinitializing the buffer otherwise row-dimensions may be wrong.
12265 (update): reset also the selection cursors if they do exits otherwise
12266 their x/y positions may be wrong.
12268 * text2.C (cursorDown): don't enter the inset if we came from a row
12269 above and are one row over the inset.
12271 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12272 really leaving an inset.
12274 2002-04-18 Juergen Vigna <jug@sad.it>
12276 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12277 of the selected paragraph does not have the selected layout also if
12280 * text2.C (setLayout): fixed bug which did not change last selected
12283 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12284 changed the read and substituted \\end_float with \\end_inset!
12286 * BufferView_pimpl.C (cursorPrevious):
12287 (cursorNext): fixed to make it work with rows heigher than the work
12288 area without moving the cursor only the draw of the row.
12289 (workAreaMotionNotify): fix jumping over high rows.
12291 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12296 2002-04-16 Juergen Vigna <jug@sad.it>
12298 * text2.C (setCursor): set also the irow().
12299 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12301 (cursorDown): support for locking an inset if the x_fix value goes
12302 inside it. That way I can transverse insets too with cursor up/down.
12304 * lyxrow.h: added irow helper function same as other (i) functions.
12306 * BufferView_pimpl.C (cursorPrevious):
12307 (cursorNext): fixed for insets!
12309 2002-04-15 Juergen Vigna <jug@sad.it>
12311 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12312 position otherwise it is wrong in some cases.
12314 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12315 inside the inset before the call.
12317 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12319 * buffer.[Ch] (getBibkeyList): make it const.
12321 2002-04-12 Juergen Vigna <jug@sad.it>
12323 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12325 * text2.C (getCursorX): new helper function
12326 (setCursor): compute also ix_
12327 (setCursorFromCoordinates): set also ix.
12329 * lyxcursor.h: added ix_ and helper functions.
12331 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12333 * buffer.C (insertStringAsLines): dont break paragraph if the this
12334 paragraph is inside an inset which does not permit it!
12336 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12337 also with no chars on this paragraph.
12338 (paintRowText): only paint stuff if it's inside the workarea!
12340 * paragraph.C (breakParagraph): honor keepempty flag and break the
12341 paragraph always below not above.
12343 * BufferView2.C (unlockInset): update the paragraph layout on inset
12344 unlock as we changed paragraph in such a case.
12346 * lyxfind.C (LyXFind): clear the former selection if not found!
12348 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12349 again called in insertChar().
12351 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12352 an inset which uses the whole row!
12353 (rightMargin): ditto.
12354 (insertChar): force a rebreak if we inserted an inset!
12356 2002-03-28 Herbert Voss <voss@lyx.org>
12358 * lyxlength.[Ch]: add inBP() to get the right PS-point
12359 units (BigPoint). With inPixels we have rounding errors
12361 2002-04-11 Juergen Vigna <jug@sad.it>
12363 * text2.C (setCursorFromCoordinates): set iy to the right value.
12364 (setCursor): add check if row->previous exists!
12366 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12367 an old float_type as this was the case in the old code!
12369 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12371 * BufferView2.C (showLockedInsetCursor): use iy
12372 (fitLockedInsetCursor): ditto
12374 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12375 locked insets as there we have the right value now.
12377 * lyxcursor.C: added iy_ variable and iy functions to set to the
12378 baseline of cursor-y of the locked inset.
12380 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12381 (setCursor): fixed for insets which need a full row.
12383 * text.C (rowLastPrintable): don't ignore the last space when before
12384 an inset which needs a full row.
12385 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12386 as last character of a row when before a inset which needs a full row.
12388 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12390 * version.C.in: update date
12392 * text2.C (fullRebreak): try to always return true and see what
12395 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12397 * MenuBackend.C (expand): use Floating::listName
12399 * FloatList.C (FloatList): add listName argument to the built-in
12402 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12403 text associated with the float.
12405 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12407 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12409 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * ShareContainer.h: add a couple of missing typenames.
12413 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12415 * lyxrc.C (getDescription): use _() correctly rather than N_().
12417 2002-03-28 Herbert Voss <voss@lyx.org>
12419 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12420 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12422 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12424 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12425 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12427 2002-03-29 Juergen Vigna <jug@sad.it>
12429 * lyxfunc.C (dispatch): add a missing fitCursor call.
12431 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12432 it was scrolled by a cursor move, so return the bool status.
12434 * BufferView.C (fitCursor): return the bool flag also to the outside
12435 world as this is needed.
12437 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12439 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12440 call the edit() as it is not needed (and wrong) IMO.
12441 (workAreaButtonPress): set the screen_first variable before evt.
12442 unlock the inset as this may change screen_first and then we have
12443 a wrong y position for the click!
12445 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12447 * MenuBackend.C (expand): another translation that I missed
12449 2002-03-28 Juergen Vigna <jug@sad.it>
12451 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12453 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12455 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12459 * MenuBackend.C (expand): fix export/view/update when there is no
12462 2002-03-27 Herbert Voss <voss@lyx.org>
12464 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12467 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12469 * bufferview_funcs.C (currentState): only show paragraph number
12470 for is DEVEL_VERSION is set.
12472 * lyxfunc.C (dispatch): put warning in INFO channel
12474 * MenuBackend.C (expand): translate the name of floats
12476 * FloatList.C (FloatList): mark the float names for translation
12478 * converter.C (convert): use LibScriptSearch
12480 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12482 * MenuBackend.C (defaults): fix default menu (we might as well get
12485 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12490 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12492 * lyxvc.C: reorder includes.
12494 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12496 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12499 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12501 * CutAndPaste.C: change layouts earlier on paste
12502 to avoid crashing when calling getFont()
12504 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12506 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12509 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12511 * WorkArea.C: remove 'Pending' debug message.
12513 * most files: ws cleanup
12515 * buffer.[Ch]: ws changes
12517 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12519 2002-03-21 Juergen Vigna <jug@sad.it>
12521 * tabular.C (SetMultiColumn): collapse also the contents of the
12522 cells and set the last border right. Added a Buffer const * param.
12524 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12529 2002-03-19 Juergen Vigna <jug@sad.it>
12531 * text2.C (clearSelection): reset also xsel_cache.
12533 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12534 where it needs to be called (John tells us to do so too :)
12535 (selectionLost): reset sel_cache.
12537 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12539 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12541 * text2.C (setCursorIntern): put debuging code in INSETS channel
12543 2002-03-19 André Pönitz <poenitz@gmx.net>
12545 * lyxfunc.C: tiny whitespace change
12547 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12549 * ToolbarDefaults.C (init):
12550 * LyXAction.C (init):
12552 * BufferView_pimpl.C (Dispatch):
12553 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12555 2002-03-19 Allan Rae <rae@lyx.org>
12557 * exporter.C (Export): removeAutoInsets before doing anything else.
12558 While I've just introduced a dependency on BufferView this really is
12559 the best place to clean the buffer otherwise you need to cleanup in
12560 a dozen places before calling export or cleanup in a dozen functions
12563 * converter.C (runLaTeX):
12564 (scanLog): Better handling of removeAutoInsets and screen updates.
12566 * lyxfunc.C (dispatch): small whitespace changes
12568 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * WorkArea.C (C_WorkAreaEvent): return a value.
12571 (event_cb): return 1 if we handled the event, 0 otherwise.
12573 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12575 2002-03-18 Juergen Vigna <jug@sad.it>
12577 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12578 (GetAdditionalWidth): ditto.
12579 (RightLine): ditto.
12582 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12583 inset if we're there actually (probably not used right now but this
12584 is the direction to go for unifying code).
12585 (paste): disable code to clear the selection.
12587 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12588 inside an InsetText and move the check further up as it is in the
12591 * text2.C (pasteSelection): set a selection over the pasted text.
12593 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12595 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12596 and libgraphics to build on Cygwin.
12598 2002-03-15 Juergen Vigna <jug@sad.it>
12600 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12601 inserting an Inset into the paragraph. I know this is not the best
12602 fix but we already use current_view in CutAndPaste so we will remove
12603 all of it's using at the same time.
12605 * buffer.C (sgmlError): deactivated function till it is rewritten in
12606 the right mode, now it can create problems.
12608 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12609 before accessing it.
12611 2002-03-14 Juergen Vigna <jug@sad.it>
12613 * undo_funcs.C (textHandleUndo): do the right thing when updating
12614 the inset after the undo/redo.
12616 * text2.C (setCursor): just some testcode for #44 not ready yet.
12618 * undo_funcs.C (textHandleUndo): set the next() and previous()
12619 pointers of the paragraph to 0 before deleting otherwise we have
12620 problems with the Paragraph::[destructor].
12622 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12623 on a paragraph insertion.
12625 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12627 * buffer.C (asciiParagraph): use += operator for char append to
12630 * paragraph.C (getFontSettings): compare >= not just >
12631 (highestFontInRange): ditto
12634 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * paragraph.C: change several algorithm to be more appripriate for
12637 the problem domain. This is lookip in FontList and in the InsetList.
12639 2002-03-13 André Pönitz <poenitz@gmx.net>
12642 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12644 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12649 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12651 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12653 * Painter.C (display): anon helper function, adjust code for this
12655 (pixmap): remove function.
12657 * Painter.h: remove private display variable.
12659 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12661 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12663 * WorkArea.[Ch]: remove figinset_canvas cruft.
12665 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12667 * lyxtextclass.C (operator): add one item cache optimization.
12669 * bufferlist.h: doxy changes
12671 * bufferlist.C: ws changes
12673 * DepTable.[Ch] (ext_exist): place const in the right spot.
12675 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12677 (workAreaExpose): call resizeInsets when the with BufferView changes.
12678 (Dispatch): adjust for protectedBlank removal
12679 (specialChar): call updateInset if the insert went ok.
12681 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12682 specialChar instead.
12684 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12686 * BufferView.h: doxy change
12688 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12690 * lyxtextclass.C (operator[]): remove non-const version
12691 (defaultLayout): remove non-const version
12693 2002-03-12 Juergen Vigna <jug@sad.it>
12695 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12696 did resize the LyXText too.
12698 * buffer.C (readLyXformat2): set layout information on newly allocated
12701 * tabular.C (OldFormatRead): set layout information on the paragraph.
12703 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12705 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12707 2002-03-11 Juergen Vigna <jug@sad.it>
12709 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12711 (resizeCurrentBuffer): force also the insets to resize themselfes.
12712 (moveCursorUpdate): fixed up for InsetText.
12714 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12717 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12718 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12719 value of Dialogs::tooltipsEnabled().
12720 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12722 2002-03-08 Juergen Vigna <jug@sad.it>
12724 * BufferView_pimpl.C (updateInset): update inset inside inset also
12725 if it isn't inside theLockingInset().
12727 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * buffer.C (asciiParagraph): redo some of the word and line length
12731 (getLists): look for Caption instead of caption.
12733 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12735 * buffer.C (Buffer): initialize niceFile to true
12737 (makeLinuxDocFile):
12738 (makeDocBookFile): make sure niceFile is true on exit
12740 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12742 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12744 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12746 * LyXSendto.C: remove.
12747 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12748 * lyx_gui.C: remove now-redundant comment.
12749 * ColorHandler.h: remove forward declaration of class WorkArea.
12750 * lyxfunc.C: remove #include "WorkArea.h".
12752 2002-03-07 Juergen Vigna <jug@sad.it>
12754 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12755 got moved away with the DEPM and also set the inset_owner always
12756 right which before could have been omitted.
12758 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12760 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12761 wanted layout is not found.
12763 2002-03-07 Juergen Vigna <jug@sad.it>
12765 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12767 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * paragraph.C (breakParagraph): use default layout not layout of
12771 (Paragraph): clear ParagraphParameters.
12773 2002-03-06 Juergen Vigna <jug@sad.it>
12775 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12776 otherwise it would not be a valid lenght. Fixed a special case in
12777 the minipage compatibility read where we end the document with a
12780 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12781 was set as it could be 0 for InsetTexts first entry.
12783 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * paragraph.C (writeFile): if layout is empty write out
12786 defaultLayoutName().
12788 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12789 file without named layout we set layout to defaultLayoutName().
12791 2002-03-06 Juergen Vigna <jug@sad.it>
12793 * CutAndPaste.C (copySelection): set layout for new paragraph.
12795 * text.C (prepareToPrint): leave ERT inset left aligned
12796 (leftMargin): don't indent paragraphs inside ERT insets
12798 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * paragraph.C (breakParagraph): dont call clear do the work manually
12802 * paragraph.[Ch] (clear): remove function
12804 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * paragraph.C (Paragraph): dont call clear, the work has already
12809 * lyxtextclass.C (operator): assert if n is empty
12811 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12812 work manually instead.
12814 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12816 * BufferView_pimpl.C: protect selectionLost against text == 0
12818 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * text.C (breakParagraph): fix a setting layout to '0' problem.
12822 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12824 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12825 final location of file, for the included files, and graphics.
12827 2002-03-05 Juergen Vigna <jug@sad.it>
12829 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12831 2002-03-04 Juergen Vigna <jug@sad.it>
12833 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12835 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12836 last column of multicolumn cells.
12837 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12839 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12841 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12842 file if it doesn't go to a temporary file.
12844 * buffer.C (sgmlOpenTag):
12845 (sgmlCloseTag): remove extra newline insertion.
12847 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * text.C (getRowNearY): comment out debug msg
12851 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * text2.C: first -> first_y
12855 * text.C (getRowNearY): add some attemts at a possible
12856 optimization, not working.
12858 * tabular.[Ch]: add BufferParams to several function so that newly
12859 created paragraph can be initialized to he default layotu for the
12862 * tabular-old.C (ReadOld): add buf->params to call of Init
12864 * screen.C: rename text->first to text->first_y
12866 * paragraph.C (breakParagraph): always set layout in the broken
12869 * lyxtextclass.C (Read): remove lowercase
12872 (delete_layout): ditto
12874 * lyxtext.h: rename first -> first_y
12876 * lyxlayout.C (Read): remove lowercase
12879 (obsoleted_by): ditto
12881 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12883 * buffer.C (insertErtContents): add params are to InsetERT
12884 (parseSingleLyXformat2Token): add code to check if a paragraphs
12885 layout really exist.
12886 (parseSingleLyXformat2Token): add params to several inset
12888 (asciiParagraph): remove lowercase, do the layout comparisons with
12891 * BufferView_pimpl.C (cursorNext): first -> first_y
12892 (resizeCurrentBuffer): first -> first_y
12893 (updateScrollbar): first -> first_y
12894 (scrollCB): first -> first_y
12895 (workAreaMotionNotify): first -> first_y
12896 (workAreaButtonPress): first -> first_y
12897 (checkInsetHit): first -> first_y
12898 (cursorPrevious): first -> first_y
12899 (cursorNext): first -> first_y
12900 (Dispatch): add buffer_->params to severl inset contructors
12902 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12904 * lyxlayout.C (Read): remove some debug info that I forgot.
12906 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12907 clean up the code slightly.
12908 (makeLinuxDocFile): ditto
12909 (makeDocBookFile): ditto
12911 * text2.C: layout as string
12913 * text.C: layout as string
12915 * paragraph_pimpl.C: layout as string
12917 * paragraph.[Ch]: layout as string
12919 * lyxtextclasslist.[Ch]: layout as string
12921 * lyxtextclass.[Ch]: layout as string
12923 * lyxtext.h: layout as string
12925 * lyxlayout.[Ch]: layout as string
12927 * lyx_cb.C: layout as string
12929 * bufferview_funcs.C: layout as string
12931 * bufferparams.C: layout as string
12933 * buffer.C: layout as string
12935 * LyXView.[Ch]: layout as string
12937 * LaTeXFeatures.[Ch]: layout as string
12939 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12941 * BufferView_pimpl.C: change current_layout to string, remove
12946 (workAreaButtonRelease): layout as string
12948 * BufferView2.C (unlockInset): adjust
12950 * vspace.C (asLatexCommand): use an explict temp variable.
12952 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12954 * Makefile.am: use FRONTEND_*
12956 2002-03-01 Juergen Vigna <jug@sad.it>
12958 * tabular.C (SetWidthOfMulticolCell): changed to something better
12959 I hope but still work in progress.
12960 (recalculateMulticolumnsOfColumn): renamed function from
12961 recalculateMulticolCells as it is more appropriate now.
12962 (SetWidthOfCell): calculate multicols better.
12964 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12966 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12968 * lyxfunc.C (processKeySym): print sequence also if it is
12969 `deleted' (complete)
12971 * kbsequence.C (print): print sequence even if it is deleted
12972 (complete would be a better word, actually).
12974 * lyxfunc.C (dispatch): print complete options after a prefix key
12976 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12978 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12980 * text2.C (setCharFont): eliminate setCharFont code duplication.
12982 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12984 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12985 LFUN_TABULAR_FEATURE (bug #177)
12987 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12989 * Makefile.am: remove figure.h
12991 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12993 * Bufferview_pimpl.C:
13005 * text2.C: remove #include "lyx_gui_misc.h".
13007 * LaTeX.C: added #include <cstdio>
13009 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13011 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13012 that the paragraph following this one can have.
13014 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13016 * vspace.C (asLatexCommand): fix bogus gcc warning
13018 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13020 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13022 * text2.C (setLayout): get rid of redundant code
13024 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13026 * text2.C (incDepth): make sure depth cannot be increased beyond
13029 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13031 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13032 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13034 * PainterBase.h (image):
13035 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13036 a LyXImage const *.
13038 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13042 * BufferView_pimpl.C:
13043 * BufferView_pimpl.h:
13063 * sp_spell.C: remove fig inset, and the crap house of
13064 cards that follows it
13066 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13071 * os2_errortable.h:
13072 * nt_defines.h: move .h into support/
13074 * vms_defines.h: remove
13076 * WorkArea.C: add space in debug output
13080 * buffer.C: add WITH_WARNINGS
13084 * bufferlist.C: s/retrive/retrieve/, add docs
13093 * chset.C: add docs
13095 * lyxgui.C: add ID to X error handler
13097 * lyxtestclass.c: fix typo
13099 2002-02-26 Juergen Vigna <jug@sad.it>
13101 * tabular_funcs.C (write_attribute): changed so that some default
13102 attributes are not written at all.
13103 (getTokenValue): set default values before trying to read the
13104 value so we have the return value always set as default if we don't
13105 find the token we search for.
13107 * tabular.C (Write): write bools as bools not as strings!
13109 2002-02-22 Juergen Vigna <jug@sad.it>
13111 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13112 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13114 * text.C (leftMargin): don't add an indent for paragraphs inside
13115 tabular cells (fix #208).
13117 2002-02-21 José Matos <jamatos@fep.up.pt>
13119 * tabular.C (docBook): fixed support for long tables.
13121 2002-02-20 Juergen Vigna <jug@sad.it>
13123 * text2.C (getFont): get the drawing font of the Inset if this
13124 paragraph is inside an inset (only important for InsetERT for now).
13126 * buffer.C (insertErtContents): use new lanugage params in ERT
13129 * CutAndPaste.C: commenting out seemingly uneeded code.
13131 2002-02-19 Allan Rae <rae@lyx.org>
13133 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13134 Iterators might be simple to use but they also get invalidated.
13135 (removeAutoInsets): renamed saved cursor tracking variables and added
13136 some comments to clarify what everything does.
13138 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13145 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13146 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13149 * vc-backend.h: remove #include "support/syscall.h"
13153 * converter.C: rearrange #includes in Lars' approved fashion.
13155 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13156 forward declare class Timeout in the header file.
13158 * XFormsView.C: changes due to the above.
13160 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13161 similar to LyXView.
13163 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13164 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13166 2002-02-18 José Matos <jamatos@fep.up.pt>
13168 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13171 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13173 * a lot of small ws changes
13174 * add a lot of using std::XXX
13175 * use std construcs some places where approp.
13176 * use some exisint stuff from lyxfunctional where approp.
13177 * Make file changes to use partial linking (lets test this now...)
13179 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13183 remove #include "support/syscontr.h" as it's redundant. Always has been.
13191 change Systemcalls::System to Systemcalls::Wait and
13192 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13193 No change of functionality, just reflects the stripped down Systemcalls
13196 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13198 * debug.[Ch]: add a GRAPHICS type to the enum.
13200 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13202 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13204 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13207 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13209 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13210 match the changes below.
13212 * text2.C (toggleInset): if there is not editable inset at cursor
13213 position, try to see if cursor is _inside_ a collapsable inset
13216 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13218 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13219 document menu has a nice checkbox
13221 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13223 * lyxlength.C (asLatexString): change PW to output as percent of
13226 * lengthcommon.C: change '%' to 't%'
13228 * lyxfunc.C (dispatch): a few comments from Martin
13230 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13234 * BufferView_pimpl.h:
13235 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13238 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13240 * vspace.C (inPixels): fix compiler warning
13242 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13244 * lyxfunc.C (getStatus): fix status message for disabled commands.
13246 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13248 * BufferView_pimpl.C: fix crash on close buffer
13249 during selection (#227)
13251 2002-01-27 Herbert Voss <voss@lyx.org>
13253 * buffer.C: link old Figure to new graphic inset
13255 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13257 * FontLoader.C (getFontinfo): Change the latex font names in order
13258 to match the names of type1inst.
13260 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13264 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13265 (extchanged): ditto
13267 (remove_files_with_extension): ditto
13268 (remove_file): ditto
13271 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13272 document is smaller than the work area height. Do not initialize
13273 static variables to 0.
13275 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13277 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13279 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13280 LFUN_LAYOUT_PARAGRAPHS.
13282 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13283 tabular. It is possible to provide a possible cell, which will
13284 typically be the actcell from the corresponding insettabular
13286 * lyxfunc.C (getStatus): small cleanup; disable
13287 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13290 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13292 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13294 * paragraph.C (startTeXParParams):
13295 (endTeXParParams): new methods. The LaTeX code to
13296 start/end paragraph formatting
13297 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13298 empty (fixes bug #200)
13300 * vspace.C (inPixels): adapt to the change below
13301 (inPixels): [later] more cleanups (remove unused variables)
13303 * lyxlength.C (inPixels): change to use a width and a height as
13306 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13308 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13309 Replaced with \paperwidth
13311 * DepTable.C (insert): add std:: qualifier
13313 2002-01-18 Allan Rae <rae@lyx.org>
13315 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13318 * text.C (drawInset): Turned out I didn't know enough about how
13319 rebreaking worked. This fixes most of the redraw problems. I see
13320 an occasional cursor trail when a line is broken now and the cursor
13321 placement can seem out by a few pixels also after a rebreak.
13323 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13325 * buffer.C (parseSingleLyXformat2Token): update because minipage
13326 width is now a LyXLength
13328 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13330 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13333 2002-01-17 Juergen Vigna <jug@sad.it>
13335 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13337 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13338 is set correctly and the inset is updated correctly.
13340 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13343 the beginning of the loop.
13345 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13347 * lyxrc.C: improve help for use_scalable_fonts
13349 2002-01-17 Allan Rae <rae@lyx.org>
13351 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13353 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13355 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13356 make sure to set their inset_owner to the right value (bug #171)
13358 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13361 * DepTable.C: Implement mtime checking to reduce time spent doing
13364 2002-01-16 Juergen Vigna <jug@sad.it>
13366 * tabular.C (GetAdditionalHeight): one of error fixed.
13368 * lyxrc.C (output): small fix in writing use_pspell.
13370 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13372 * sp_base.h: #include LString.h
13374 2002-01-16 Allan Rae <rae@lyx.org>
13376 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13377 Can someone check this please?
13379 * text.C (drawInset): It was possible that p.row would be removed by
13380 breakAgainOneRow upsetting a few other settings. There may be another
13381 small tweak possible by setting need_break_row = 0 when p.row has been
13382 removed but I don't know enough about the logic here.
13384 2002-01-15 Allan Rae <rae@lyx.org>
13386 * text.C (insertChar): removed conditional truism.
13388 * BufferView2.C (removeAutoInsets): More tweaks.
13389 cur_par_prev could be a stray pointer. Check for trailing empty line
13390 in case last line was cur_par and only had an error inset on it.
13392 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13394 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13397 * vc-backend.C (most methods):
13398 * exporter.C (Export):
13399 * converter.C (convert):
13401 * LyXSendto.C (SendtoApplyCB):
13402 * lyxfunc.C (dispatch):
13406 * lyx_cb.C (AutoSave):
13408 * BufferView_pimpl.C (MenuInsertLyXFile):
13409 * buffer.C (runChktex): use Buffer::filePath().
13411 * buffer.h: rename filename to filename_; rename filepath to
13412 filepath_ and make it private
13413 (filePath): new method
13415 * buffer.C (writeFile): use fileName()
13418 * lyx_main.C (init): fix starting of LyX when the binary is a
13419 link from so,ewhere else.
13421 * minibuffer.C: include <cctype> for isprint
13423 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13425 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13426 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13427 name clash with InsetCollapsable's width function.
13429 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * lastfiles.C: include <iterator>
13433 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13435 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13438 * buffer.C (makeLaTeXFile): ditto.
13439 Also make loop operation more transparent.
13441 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13443 * ToolbarDefaults.C: remove trailing comma closing namespace.
13445 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13447 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13450 * trans.C (Load): comment out unused variable, allowed.
13452 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13454 * minibuffer.[Ch] (append_char): new method to recieve input from the
13455 drop-down completion browser. If a key was pressed, then recieve this
13456 char and append it to the existing string.
13457 (peek_event): modify the positioning data passed to the completion
13458 browser so that it can be placed above the minibuffer rather than below.
13459 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13461 * LyXAction.C (init): alloe error-next for readonly documents.
13463 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13466 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13468 * bufferlist.C (readFile): create the buffer _after_ checking that
13471 * lyxfunc.C (verboseDispatch): fix handling of arguments
13473 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13475 * lyxrc.C: use string::erase() instead of initializing to "".
13478 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13480 * BufferView_pimpl.h:
13481 * BufferView_pimpl.C:
13484 * text2.C: tell X when we have made a selection for copying
13486 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13488 * BufferView_pimpl.C (MenuInsertLyXFile):
13489 * lyxfunc.C (menuNew):
13491 (doImport): add shortcuts to directory buttons
13493 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13496 * lyxfunc.C (setStatusMessage):
13497 (getStatusMessage): new methods
13498 (getStatus):use setStatusMessage instead of setErrorMessage
13499 (dispatch): when function is disabled, set error message here
13500 [instead of in getStatus previously]
13502 * BufferView_pimpl.C (workAreaButtonRelease): update
13503 toolbar/menubar here too.
13505 2002-01-13 Allan Rae <rae@lyx.org>
13507 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13508 Now seems indestructible. Remaining task is to audit all other
13509 code affected by deleteEmptyParagraphMechanism. One small quirk
13510 left is that an empty document with an error in the preamble can
13511 be made to report an error but no error box appears. I don't know
13513 (removeAutoInsets): Improved comments.
13515 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13518 * Thesaurus.C: update for Aiksaurus 0.14
13520 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * text2.C (firstParagraph): removed member function, all uses
13523 replaces with ownerParagraph
13524 (redoParagraphs): here
13525 (updateInset): here
13526 (toggleAppendix): here
13527 * BufferView2.C (insertErrors): here
13528 (setCursorFromRow): here
13530 2002-01-13 Allan Rae <rae@lyx.org>
13532 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13533 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13534 There is still a way to segfault this although you may have to do this
13535 multiple times: Have an InsetERT with an unknown command in it.
13536 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13537 <down-arrow>, <Enter> again, View->DVI, BANG!
13539 * text2.C (setCursor):
13540 (deleteEmptyParagraphMechanism):
13541 * lyxtext.h (setCursor):
13542 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13543 Making use of the return value may help fix other bugs.
13545 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13547 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13549 * LyXView.C (updateMenubar): call MenuBar::update here
13550 (updateToolbar): but not here
13551 (showState): do not update toolbar/menubar
13553 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13554 should need to care about that.
13556 * lyxfunc.C (verboseDispatch): simplify a bit
13557 (getStatus): have a version which takes a pseudoaction, and
13558 another which requires a (kb_action,string).
13560 * LyXAction.C (retrieveActionArg): make it work also when action
13561 is not a pseudo-action.
13562 (getActionName): simplify a bit
13565 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13567 * lyxfunc.C (verboseDispatch): new families of methods with
13568 several ways to specify a command and a bool to indicate whether
13569 the command name and shortcut should be displayed in minibuffer
13570 (eventually, we could extend that to a finer bitmask like
13571 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13572 (dispatch): the pristine dispatch command which just, well,
13573 dispatchs! Note it still sets its result to minibuffer; I'm not
13576 * lyxfunc.h: remove setHintMessage
13578 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13580 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13582 * BufferView_pimpl.C (specialChar): delete new inset if we have
13583 not been able to insert it.
13585 * kbmap.C: revert to using int instead of kb_action, since all we
13586 are dealing with is pseudo-actions.
13588 * LyXAction.C (searchActionArg): change to return int instead of
13589 kb_action, since the result is a pseudoaction.
13591 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13593 * buffer.C (insertErtContents): Fix (partially) the font bug.
13595 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13597 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13598 as the other one is broken on my machine!
13600 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13603 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13605 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13607 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13608 reflect their actual use. Provide compatibility code for older lyxrc
13611 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13613 change names of popup font variables in line with the changes to lyxrc.C
13615 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13617 * buffer.C (asciiParagraph): avoid outputing a word twice after
13620 * lyxrc.C (getDescription): document that document_path and
13621 template_path can be empty.
13623 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13625 * LaTeXFeatures.C (getMacros):
13626 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13628 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13630 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13632 (getPackages): rename feature "floats" to "float". Use an array to
13633 iterate over 'simple' features (i.e. just a \usepackage). Add
13634 handling of "amsmath" (renamed from "amsstyle").
13636 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13638 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13641 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13643 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13644 FuncStaus::FuncStatus & FuncStaus::some_method().
13646 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13648 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13649 of the func_satus stuff. Edited and massaged in various ways by
13652 * lyxfunc.C (getStatus): use FuncStatus
13654 2002-01-08 Juergen Vigna <jug@sad.it>
13656 * text.C (nextBreakPoint): use function Inset::isChar().
13658 * paragraph.C (TeXOnePar): use function
13659 Inset::forceDefaultParagraphs.
13661 * buffer.C (latexParagraphs): use function
13662 Inset::forceDefaultParagraphs.
13664 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13666 * lyx_gui.C (init): set the style of the menu popups to
13667 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13669 2002-01-07 Juergen Vigna <jug@sad.it>
13671 * text.C (setHeightOfRow): small fix
13672 (prepareToPrint): don't look at alignment if we don't have the place
13675 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13677 * box.C: New file. Move the Box methods and functions out of box.h,
13678 following Lars' suggestion.
13680 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13682 * box.h: #include "support/LOstream.h", needed for inlined function.
13685 * lyxtextclasslist.C: added some using std declarations.
13687 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13689 * box.h: make signed dimensions to allow insets wider than
13690 the screen (bug #162)
13692 * BufferView_pimpl.C: add some insetHit debug
13694 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13696 * vc-backend.C: add FIXME
13698 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13700 * lyxfunc.C (getStatus): enable code for showing math font status
13703 2002-01-07 Juergen Vigna <jug@sad.it>
13705 * text.C (nextBreakPoint): removed debug output not needed anymore.
13707 2002-01-06 Juergen Vigna <jug@sad.it>
13709 * text.C (nextBreakPoint): fixed up this function we had this bug
13710 since ever but now hopefully we break row better.
13711 (insertChar): we have to check if an inset is the next char as it
13712 could now happen that a large inset is causing a break.
13714 2002-01-05 Juergen Vigna <jug@sad.it>
13716 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13717 if it doesn't like to be drawed.
13719 2002-01-04 Juergen Vigna <jug@sad.it>
13721 * BufferView2.C (lockInset): forgot to set a cursor.
13723 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13725 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13727 * FormMathsPanel.C:
13730 * form_maths_panel.C:
13731 * form_maths_panel.h:
13732 * form_maths_panel.fd: implemented sub- and super- buttons in math
13735 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13736 (or ^ space) to be used as in TeX (req'd by André).
13738 * lyxfunc.C: Allow ^ and _ again to be used both as
13739 super/subscript (mathed) and as themselves (in text).
13741 2002-01-03 Allan Rae <rae@lyx.org>
13743 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13744 "LyX" or the filename of the current buffer if it has one. This is a
13745 modified form of John Levon's patch.
13747 * XFormsView.C (setWindowTitle): also set icon title.
13749 * LyXView.h (setWindowTitle): signature changed.
13750 * XFormsView.h (setWindowTitle): ditto.
13752 2002-01-02 Juergen Vigna <jug@sad.it>
13754 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13756 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * screen.C (topCursorVisible): introduce a temp var for
13759 text->cursor.row(), handle the case where this row is null. (kindo
13762 * text2.C (setCursor): add a couple of asserts.
13764 * paragraph.h (inset_iterator): add -> operator
13766 * paragraph.[Ch] (autoDeleteInsets): remove member function
13768 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13769 cursor pos correctly and handle inset deletion by itself.
13770 (insertErrors): move iterator declaration out of for expression
13772 * lyxtextclass.C: add <algorithm>
13774 * Makefile.am: added the new files to sources, removed layout.C
13776 * layout.C: removed file
13778 * layout.h: remove LYX_DUMMY_LAYOUT
13780 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13784 * lyxtextclass.[Ch]:
13785 * lyxtextclasslist.[Ch]: new files
13787 * include order changes to a lot of files, also changes because of
13790 2001-12-27 Juergen Vigna <jug@sad.it>
13792 * buffer.C (asciiParagraph): more fixes.
13794 * tabular.C (ascii): make ascii export support export of only the
13795 data separated by a column-delimiter.
13796 (ascii): better support for ascii export.
13798 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13800 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13802 * tabular_funcs.C: use a "using std::getline" instead of the
13803 previous fix from Angus (necessary for cxx + lyxstring)
13805 2001-12-24 Juergen Vigna <jug@sad.it>
13807 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13809 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13810 problems. First check a minipage also if we have some ert-contents
13811 (not only on par->size(), second set the right depth of the paragraph
13812 on the relink to the root-paragraph-list!
13814 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13815 which then did not anymore update the main paragraphs on undo/redo!
13817 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13819 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13820 code. Support all font-changing funcs (even those which are not in
13821 menu currently). Support for reporting font settings in
13822 mathed (disabled until Andre provides a function on mathed's side).
13824 * func_status.h (toggle): small helper function to set toggle
13827 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13829 * tabular_funcs.C: getline -> std::getline
13831 2001-12-21 Juergen Vigna <jug@sad.it>
13833 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13834 accessed and could be 0 (I couldn't generate this but it seems
13837 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13839 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13840 * tabular_funcs.h: here and include iosfwd
13842 2001-12-20 Juergen Vigna <jug@sad.it>
13844 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13845 inside inset but undo_par was.
13847 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13849 * Thesaurus.C: always include <config.h> in sources.
13853 * box.h: do not include <config.h> in header files
13855 * text.C (paintLastRow): remove unused variable
13857 * text.C (transformChar):
13859 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13861 * Painter.C (text):
13862 * font.C (width): rewrite to use uppercase() instead of
13865 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13867 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13869 * lyxfind.C: clean up of find failure position change
13871 2001-12-20 Juergen Vigna <jug@sad.it>
13873 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13875 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13876 (TeXRow): added to LaTeX a single tabular row.
13877 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13878 (Latex): simplified and finally good LT-h/f support.
13879 (various_functions): just small adaptions for LT-h/f support.
13881 * tabular_funcs.[hC]: added and moved here all not classfunctions
13884 2001-12-19 Juergen Vigna <jug@sad.it>
13886 * tabular.[Ch]: better support for longtabular options (not finished
13889 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13891 * text.C (paintLastRow): use the label font instead of the font of
13892 the last character to compute the size of *_BOX. This makes more
13893 sense and avoids a crash with empty paragraphs.
13894 Use Painter::rectangle to draw EMPTY_BOX.
13896 2001-12-19 Juergen Vigna <jug@sad.it>
13898 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13899 the paragraphs if the replaced paragraph is not the first one!
13900 Tried to delete not used paragraphs but does not work yet so for
13901 now it's inside #ifdef's and by default off!
13903 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13905 * MenuBackend.C: include "lyx_main.h" instead of declaring
13906 lastfiles (actually was declared as LastFiles* instead of a
13909 2001-12-17 Juergen Vigna <jug@sad.it>
13911 * tabular.C (AppendColumn): applied John's fix
13913 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13917 * BufferView_pimpl.h:
13918 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13921 * box.h: new start of class for above
13923 * lyxfunc.C: ignore space-only minibuffer dispatches.
13924 Show the command name when it doesn't exist
13926 * minibuffer.C: don't add empty lines to the history
13928 * minibuffer.C: add a space on dropdown completion
13930 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13932 * text.C: fix line above/below drawing in insets
13934 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * lyxlength.C (LyXLength): Initialize private variables.
13938 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13940 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13941 when inserting error insets.
13943 2001-12-13 Juergen Vigna <jug@sad.it>
13945 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13946 actually sometimes the before-paragraph.
13947 (setUndo): don't clear the redostack if we're not actually undoing!
13949 2001-12-06 Juergen Vigna <jug@sad.it>
13951 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13952 and fixed redoing of main paragraph, so we can use it now ;)
13954 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13956 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13958 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13961 2001-12-13 André Pönitz <poenitz@gmx.net>
13964 * undo_func.C: minor cleanup
13966 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13968 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13969 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13970 font in urw-fonts package which is marked as -urw-fontspecific and
13971 does not work (incidentally, changing the encoding in the
13972 fonts.dir of this package to -adobe-fontspecific fixes the
13975 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13976 is a crash when undoing first paragraph (Juergen, please take a
13977 look). THis does not mean the undo fix is wrong, just that it
13980 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13981 the (Paragraph*) version when needed instead of duplicating the
13984 * text.C (workWidth): use Inset::parOwner to find out where the
13985 inset has been inserted. This is a huge performance gain for large
13986 documents with lots of insets. If Inset::parOwner is not set, fall
13987 back on the brute force method
13989 * paragraph_pimpl.C (insertInset):
13990 * paragraph.C (Paragraph):
13991 (cutIntoMinibuffer): set parOwner of insets when
13992 inserting/removing them
13994 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13996 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14002 * mathed/formulabase.C:
14003 * mathed/math_cursor.[Ch]:
14004 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14007 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14009 * lyxlength.[Ch] (operator!=): new function
14011 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14013 * text.C (workWidth): use Inset::parOwner to find out where the
14014 inset has been inserted. This is a huge performance gain for large
14015 documents with lots of insets. If Inset::parOwner is not set, fall
14016 back on the brute force method
14018 * paragraph_pimpl.C (insertInset):
14019 * paragraph.C (Paragraph):
14020 (cutIntoMinibuffer): set parOwner of insets when
14021 inserting/removing them
14023 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14025 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14027 * tabular-old.C (getTokenValue):
14028 * tabular.C (getTokenValue):
14029 (write_attribute): new versions for LyXLength
14030 (everywhere): adjust the use of widths
14032 * tabular.h: change the type of widths from string to LyXLength
14034 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14036 * paragraph.C: fixed missing line number count when exporting
14037 Environments to LaTeX file
14039 * buffer.C: added informational message for checking line numbers.
14041 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14043 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14044 paragraph, do the 'double space' part, but not the 'empty
14047 * text.C (workWidth): small optimization
14048 (getLengthMarkerHeight): use minimal size for negative lengths.
14050 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14052 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14054 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14056 2001-12-11 André Pönitz <poenitz@gmx.net>
14059 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14061 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14063 * text2.C: keep selection on a setFont()
14065 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14067 * lyx_cb.C: another bv->text misuse, from insert label
14069 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14072 * kbsequence.C: re-instate nmodifier mask
14074 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14076 * lyx_main.h: make lyxGUI private.
14078 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14080 * lyxfind.C: place the cursor correctly on failed search
14082 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14084 * text.C (getLengthMarkerHeight): for small heights, the arrows
14085 are not always on top/bottom of the text
14086 (drawLengthMarker): smaller arrows; take the left margin in
14087 account; draw also vfills.
14089 (paintLastRow): remove special code for vfill and standard spaces,
14090 since everything is handled in drawLengthMarker now.
14092 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14094 * buffer.C (insertErtContents): try to handle font and language
14095 interaction a bit better.g
14097 * ColorHandler.C (updateColor): change the hash to cover the whole
14098 LColor enum, ws cleanup
14099 (getGCLinepars): ditto
14100 (getGCLinepars): only lookup in the linecache once.
14102 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14104 * iterators.C (operator++): Make the iterator more robust
14106 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14108 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14110 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14113 * text.C: better added space drawing
14115 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14118 * BufferView2.C: fix layout combo update on inset unlock
14120 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14122 * Makefile.am: don't compile unused files
14124 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14128 * LyXAction.C: remove old LFUN_LAYOUTNO
14130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14132 * paragraph_pimpl.h:
14133 * paragraph_pimpl.C: isTextAt() doesn't need font param
14135 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14138 * lyxlex.C: little cleanup
14140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14142 * BufferView_pimpl.C: fix insertAscii for insets
14144 2001-12-05 Juergen Vigna <jug@sad.it>
14146 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14147 set the right font on the "multi" paragraph paste!
14149 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14155 * lyxlength.C: remove out-commented code.
14157 * BufferView_pimpl:
14171 * vc-backend.C: change "while(" to "while ("
14173 * lyxlength.[Ch]: add zero function to check if length is zero or
14175 * lyxgluelength.C: use it
14177 2001-12-05 Allan Rae <rae@lyx.org>
14179 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14180 Works for 2.95.3, from what I understand of Garst's reports this should
14181 work for other g++ versions. We're screwed if the abs(int) definition
14182 changed between bugfix releases of gcc.
14184 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14186 * text.C: fix chapter label offset !
14188 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14191 * text.C: fix hfill at end of line, clean up
14193 2001-12-04 Juergen Vigna <jug@sad.it>
14195 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14196 that we force an update of the inset and it's owners if neccessary.
14198 2001-12-03 Juergen Vigna <jug@sad.it>
14200 * text.C (rowLast): simplified code
14202 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14204 * lyxfunc.C: fix show options on timeout
14206 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14208 * screen.C (topCursorVisible): scroll half a page when the cursor
14209 reached top of bottom of screen
14211 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14213 * minibuffer.C: deactivate on loss of focus
14215 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14217 * vspace.[Ch] (operator!=): add operator.
14219 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14221 * BufferView_pimpl.C: refuse to open an inset when
14222 there's a selection.
14224 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14226 * BufferView_pimpl.C: allow to click on RHS of full row insets
14228 2001-11-30 Juergen Vigna <jug@sad.it>
14230 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14231 insets for undo reasons.
14233 2001-11-28 André Pönitz <poenitz@gmx.net>
14235 * vspace.[Ch]: cosmetical changes
14237 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14247 * kbsequence.C: part re-write of old kb code
14250 * WorkArea.C: remove Lgb_bug_find_hack
14252 2001-11-30 José Matos <jamatos@fep.up.pt>
14254 * buffer.C (makeDocBookFile): add a comment to point a hack.
14255 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14256 Fixed a double write of labels.
14258 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14261 * LaTeX.h Fixed bug in LaTeX class where it would not
14262 re-run latex if no depfiles were changed, but the .dvi was removed.
14264 2001-11-28 André Pönitz <poenitz@gmx.net>
14266 * all the files from the change on 2001/11/26:
14267 use lyx::layout_type instead of LyXTextClass::size_type
14268 use lyx::textclass_type instead of LyXTextClassList::size_type
14270 2001-11-29 Juergen Vigna <jug@sad.it>
14272 * text.C: added support for paragraph::isFreeSpacing()
14274 * buffer.C: same as above
14276 * paragraph.h: inserted isFreeSpacing() function to enable
14277 FreeSpacing inside InsetERT.
14279 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14280 of the paragraph's in the cut/copy buffer to 0!
14282 * text2.C (removeRow): remove the assert as it can!
14284 * lyxtext.h: added helper function firstRow returning firstrow and
14285 made firstrow private again.
14287 * BufferView2.C (lockInset): don't relock if we're already locked!
14289 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14290 the only paragraph.
14291 (removeRow): added Assert::(firstrow)
14293 * debug.C: forgot to add INSETTEXT here.
14295 2001-11-28 Juergen Vigna <jug@sad.it>
14297 * sp_spell.C (initialize): changed error text to more general
14298 spellchecker command use (not only ispell!)
14300 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14302 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14304 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14306 * vspace.C: initialise lyxgluelength on failure
14308 2001-11-28 Allan Rae <rae@lyx.org>
14310 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14311 declaration & definition that looks like a function declaration.
14313 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14315 * BufferView2.C (copy):
14316 (copyEnvironment): do not clear the selection when doing a copy.
14318 * text.C (paintFirstRow): compilation fix
14320 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14322 * tabular.C (Latex): correct line count when writing latex.
14324 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14326 * paragraph_pimpl.h:
14327 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14330 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14334 * LColor.C: change vfillline->added_space
14336 * text.C: add markers and text for added space
14338 * vspace.C: fix comment
14340 2001-11-28 André Pönitz <poenitz@gmx.net>
14342 * paragraph.C: whitespace changes
14343 * all the other files from the change on 2001/11/26:
14344 change *::pos_type into lyx::pos_type
14346 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14348 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14349 language of the document when inserting error insets.
14351 2001-11-26 André Pönitz <poenitz@gmx.net>
14353 * BufferView_pimpl.[Ch]:
14361 * paragraph_pimpl.[Ch]:
14364 * text2.C: reduce header dependencies, introduce type for positions
14366 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14368 * <various>: change to use Alert.h
14370 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14372 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14373 when encountering an unknown token.
14374 (readLyXformat2): Show an error message if there were unknown tokens.
14376 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14379 * BufferView_pimpl.C:
14383 * text2.C: use par->isInset()
14385 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14387 * paragraph_pimpl.h:
14388 * paragraph_pimpl.C: cleanup
14390 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14392 * text2.C (removeRow):
14393 * text.C (setHeightOfRow): remove useless (and costly) call to
14396 2001-11-20 Allan Rae <rae@lyx.org>
14398 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14399 Now need Inset*::checkInsertChar() to return true for appropriate
14400 cases so that the characters in the minibuffer will actually be
14403 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14405 * text.C: change the order of the includes.
14406 (workWidth): initialize it at once.
14407 (workWidth): make maxw unsigned
14408 (setHeightOfRow): remove unused variable (inset)
14409 (selectSelectedWord): remove unused variable (inset)
14410 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14412 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14414 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14415 server is not running.
14417 (closeConnection): add debug info when server is disabled.
14419 * ColorHandler.C (getGCForeground): send debug message to GUI
14422 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14424 * kbmap.C (bind): modify because return conventions of
14425 kb_sequence::parse have changed.
14427 * kbsequence.C (parse): only ignore spaces and not any stupid
14428 control character. This avoids tests like s[i] <= ' ', which are
14429 guaranteed to fail with 8bit characters and signed chars.
14430 Change return code to string::npos when there have been no error
14431 (0 was a bad idea when error is at first character)
14433 2001-11-14 José Matos <jamatos@fep.up.pt>
14436 * buffer.C (simpleDocBookOnePar): removed unused argument.
14438 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14440 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14441 insets which are part of a word. Paragraph::isLetter takes care of
14442 that now. Use Paragraph::isInset to identify insets.
14443 (selectSelectedWord): do not test for hyphenation break.
14445 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14446 that protected spaces are considered as spaces.
14448 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14451 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14454 * lyxserver.C: fix it. and small cleanup.
14456 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14458 * BufferView_pimpl.C: use inline helpers
14461 * LaTeXFeatures.C: fix typos
14464 * Spacing.C: move spacing_string into class
14466 * ToolbarDefaults.C: move stuff into namespace anon
14468 * layout.h: update enum
14470 * lyxfunc.C: use better debug
14472 * minibuffer.h: fix typo
14476 * WorkArea.C: add and use Debug::WORKAREA
14480 * text2.C: code re-organisation, inline helpers
14482 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14484 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14485 std::vector.empty().
14487 2001-11-09 Allan Rae <rae@lyx.org>
14489 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14490 '\n's after tables. Tabular and ERT inset work now makes this no
14493 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14496 * minibuffer.C: fix crash, improve drop-down completion
14498 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14501 * lyxserver.C: invalidate fd's when doing endPipe()
14503 2001-11-08 José Matos <jamatos@fep.up.pt>
14505 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14506 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14509 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14511 2001-11-07 José Matos <jamatos@fep.up.pt>
14514 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14517 * buffer.C (sgmlOpenTag):
14518 * buffer.C (sgmlCloseTag): removed debug info.
14520 * buffer.h (sgmlOpenTag):
14521 * buffer.h (sgmlCloseTag): made public.
14523 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * buffer.C (saveParamsAsDefaults):
14526 * lyx_cb.C (MenuLayoutSave): remove
14528 * LyXAction.C (init):
14530 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14532 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14534 * buffer.C (setPaperStuff): removed from here...
14536 * bufferparams.C (setPaperStuff): ... and moved there.
14538 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14542 * XFormsView.C: add support for drop-down completion
14544 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14546 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14549 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14551 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14554 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14556 * lyx_main.C: change ref to known bugs
14558 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14560 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14561 to work around older babel problems.
14563 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14565 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14567 2001-10-24 Juergen Vigna <jug@sad.it>
14569 * tabular-old.C (ReadOld): below variable changes reflected.
14571 * tabular.[Ch]: added ltType struct for longtable header/footer
14572 defines and changed all instances where they are used. Added
14573 future support for double top/bottom rows.
14575 2001-10-24 José Matos <jamatos@fep.up.pt>
14577 * buffer.h (docbookHandleCaption):
14578 * buffer.C (docbookHandleCaption): removed unused function.
14579 (makeDocBookFile): moved docbook supported version to v4.1.
14581 2001-10-24 José Matos <jamatos@fep.up.pt>
14584 * tabular.C (docbookRow): new function to export docbook code of a row.
14585 (DocBook): now honors the longtable flags.
14587 2001-10-23 José Matos <jamatos@fep.up.pt>
14590 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14591 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14593 * buffer.C (makeLinuxDocFile):
14594 (makeDocBookFile): reworked the preamble, more clean, and with
14595 support for lyx defined entities. Changed the document declaration
14596 to be more XML friendly.
14598 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14599 if we need to output XML that should be done with a filter.
14601 2001-10-22 Juergen Vigna <jug@sad.it>
14603 * sp_pspell.h (class PSpell): add alive function needed in the
14604 controller to see if the spellchecker could be started.
14606 2001-10-22 Juergen Vigna <jug@sad.it>
14608 * buffer.C (insertStringAsLines): modify the font for inserting
14609 chars in certain conditions by calling checkInsertChar(font).
14611 2001-10-19 Juergen Vigna <jug@sad.it>
14613 * text.C (workWidth): use getRow instead of wrong algorithm.
14614 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14616 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14621 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14623 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14625 * text.C (workWidth): do not search for the exact row when
14626 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14627 optimization for big documents.
14629 2001-10-18 Juergen Vigna <jug@sad.it>
14631 * text.C (workWidth): new function with added Inset * parameter.
14633 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14637 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14638 change return type of getColumnNearX.
14641 * text.C (changeRegionCase): use uppercase/lowercase instead of
14644 (rightMargin): simplify code by factoring out the uses of
14649 (appendParagraph): use Paragraph::size_type
14651 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14653 * vspace.C (asLatexString): add a missing break
14655 2001-10-15 Herbert Voss <voss@perce.de>
14657 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14659 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14664 2001-10-10 André Pönitz <poenitz@gmx.net>
14666 * lyxfunc.C: removed greek_kb_flag.
14668 2001-10-10 Herbert Voss <voss@perce.de>
14670 * lyx_main.C: delete global string help_lyxdir.
14672 2001-10-09 Herbert Voss <voss@perce.de>
14674 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14676 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14678 * lyx_main.C: added global string help_lyxdir.
14680 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14682 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14684 * lyxrc.C (set_font_norm_type): support iso8859-4
14686 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14688 * LaTeX.C (deplog): add another regex for MikTeX
14690 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14692 * lyxrc.C (set_font_norm_type): support iso8859-3
14694 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14696 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14698 * LaTeXFeatures.C: remove special case of french and index
14700 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14701 before \begin{document}). This solves several incompatibilities.
14703 2001-10-03 Garst Reese <reese@isn.net>
14705 * lyx_cb.C: change CheckTex error msg.
14707 2001-10-03 José Matos <jamatos@fep.up.pt>
14709 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14711 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14713 * .cvsignore: update
14715 * lyx_main.C (commandLineVersionInfo): use new style version info.
14717 * buffer.C (writeFile):
14719 (makeLinuxDocFile):
14720 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14722 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14724 * version.h: update to use stuff in version.C
14726 * version.C.in: new file. Contains version information determined
14727 at compile time. This is a merging of version.h and
14730 2001-10-03 Juergen Vigna <jug@sad.it>
14732 * BufferView_pimpl.C (update): don't change "dirty" status in
14735 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14737 * WorkArea.C (c-tor): re-position version string slightly.
14739 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14741 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14742 revert to previous code.
14744 WorkArea.[Ch]: (show, destroySplash): methods removed.
14746 WorkArea.C: rework code so that it's an amalgam of the codes before and
14747 after the splash screen was moved to WorkArea.
14749 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14752 * vspace.C (inPixels):
14755 * buffer.C (insertStringAsLines):
14756 (asciiParagraph): fix types to be large enough
14758 * lyxlex_pimpl.h: change member status from short to int
14760 * layout.h: fix type of endlabeltype
14763 * kbsequence.C (parse): change return type to string::size_type
14765 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14768 * Bullet.C (bulletSize):
14769 (bulletEntry): do not use short ints as parameters
14771 * BufferView2.C (insertLyXFile): change a char to an int.
14773 * WorkArea.C (WorkArea): remove unneeded floats in computation
14775 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14777 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14779 * paragraph.C (asString): Do not ignore newline/hfill chars when
14780 copying to the clipboard.
14782 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14784 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14785 after a multi-line inset.
14787 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14789 * paragraph.C (validate): Set NeedLyXFootnoteCode
14791 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14793 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14794 and decrease-error to decrease.
14796 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14799 it more readable (should be equivalent)
14801 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14803 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14805 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14807 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14808 of a cursor (row, etc.) after a character has been deleted
14809 (deleteEmptyParagraphMechanism): call the method above on _all_
14810 cursors held by the LyXText when a double space has been
14813 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14815 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14817 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14819 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14820 background. Use greyOut() and the new show() methods to toggle between
14821 the foreground and background. Add code to remove the splash after
14822 its initial showing.
14824 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14825 (create_forms): no longer call Dialogs::showSplash.
14827 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14829 * .cvsignore: add version_info.h
14831 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * version_info.h.in: new file
14835 * Makefile.am: add version_info.h.in
14837 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14838 version_info.h instead of VERSION_INFO
14840 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14842 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14843 The ERT inset now returns string().
14845 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14847 * lyxtext.h, text.C (selectNextWord): renamed as
14848 selectNextWordToSpellcheck.
14850 * text.C (selectNextWordToSpellcheck): Modified to not select
14851 words inside an ERT inset.
14853 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14855 * lyx_cb.C (MenuLayoutSave): change a bit the question
14857 * sp_base.h: include <sys/types.h>
14859 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14861 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14863 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14865 * several files: fix typos in user-visible strings
14867 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14869 * text2.C (pasteSelection): do not set the selection, since it
14870 will be cleared later. Actually, the intent was to fix the way the
14871 selection was set, but I figured rmoving the code was just as good.
14873 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14875 * FontLoader.C (available): Check if font is available without
14878 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14880 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14882 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14884 * lyxrc.[Ch]: added display_graphics variable and associated code.
14886 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * bufferparams.C (hasClassDefaults): new method. Returns true if
14889 the buffer parameters correspond to known class defaults
14891 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14893 * XFormsView.C (show): set minimum size to the main window.
14895 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * text2.C (copySelection):
14899 * lyxfind.C (LyXReplace):
14900 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14901 LyXText::selectionAsString.
14903 * paragraph.C (asString): add "label" argument to the second form
14905 * text2.C (selectionAsString): add "label" argument and pass it to
14906 Paragraph::asString.
14908 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14910 * lyx_main.C (commandLineHelp): remove version information
14912 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14914 * lyx_main.C: add -version commandline option
14916 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14918 * paragraph.h: make the optional constructor arg required instead.
14919 some modifications to other files because of this.
14921 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14923 * lyxserver.C (C_LyXComm_callback): make it static
14925 * lyx_main.C (error_handler): make it static
14927 * lyx_gui.C (LyX_XErrHandler): make it static
14929 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14931 * WorkArea.C: make the extern "C" methods static.
14933 * Makefile.am (lyx_LDADD): simplify
14935 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14937 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14938 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14940 * LyXAction.C (init):
14941 * lyxfunc.C (dispatch): associated code removal.
14943 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14945 * lyxfont.h (isSymbolFont): shut off warning
14947 * text.C (setHeightOfRow):
14948 (getVisibleRow): fix crash with empty paragraphs which have a
14951 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14953 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14956 2001-09-04 José Matos <jamatos@fep.up.pt>
14959 * tabular.C (docbook): rename docBook method to docbook.
14961 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14963 * Makefile.am: add dependencies to main.o.
14965 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14967 * FontLoader.C (available): Return false if !lyxrc.use_gui
14969 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14971 * FontInfo.C (query):
14972 * converter.C (view):
14973 * importer.C (Import):
14974 * exporter.C (Export): Can not -> cannot.
14976 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14978 * BufferView_pimpl.C: allow to create index inset even if
14981 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14983 * buffer.C (getLists): replace boost::tie code with an explicit pair
14984 as boost::tie can break some compilers.
14986 * iterators.h: Added a std:: declaration to the return type of
14989 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14991 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14994 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14996 * iterators.[Ch]: New files. Provide paragraph iterators.
14998 * buffer.C (changeLanguage): Use paragraph iterators.
14999 (isMultiLingual): ditto
15001 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15003 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15005 * FontLoader.C: Support for cmr font.
15007 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15009 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15010 (available): New method.
15012 * FontInfo.C (getFontname): Use scalable fonts even when
15013 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15016 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15018 * converter.C (Formats::view): reverted! Incorrect fix.
15020 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15022 * converter.C (Formats::view): only output the -paper option
15023 if the dvi viewer is xdvi, thereby fixing bug #233429.
15025 2001-08-23 Herbert Voss <voss@perce>
15027 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15029 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15031 * Spacing.h (Spacing): Set space to Default on in the default
15034 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * vc-backend.h (RCS::versionString): add RCS to version
15037 (CVS::versionString): add CVS to version
15039 * vc-backend.C (scanMaster): do not add CVS to version.
15040 (scanMaster): do not add RCS to version
15042 * lyxvc.C (versionString): new method
15044 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15046 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15048 * Spacing.C (set): initialize fval
15050 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15052 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15055 2001-08-16 Juergen Vigna <jug@sad.it>
15057 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15059 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15061 * BufferView_pimpl.C:
15064 * text2.C: setParagraph takes linespacing now
15066 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15068 * LyxAction.C: add internal LFUN_CITATION_INSERT
15070 * LyXView.C: actually apply fix
15072 * bufferlist.C: fix open non-existent file
15074 * lyxfind.C: fix indentation
15076 * lyxfunc.C: remove unneeded assert, fix typo
15078 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15080 * MenuBackend.C: use "Floatname List"
15082 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15084 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15085 when converting LaTeX layout to insetERT.
15086 Generate a non-collapsed float when reading old float
15088 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15090 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15093 2001-08-13 Juergen Vigna <jug@sad.it>
15095 * text.C (fill): return 0 instead of 20 as this seems to be the more
15098 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15100 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15103 2001-08-13 Juergen Vigna <jug@sad.it>
15105 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15107 (SearchBackward): comment out the unlocking of the inset_owner this
15108 should not be needed!
15110 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15112 * Many files: Remove inherit_language, and add latex_language
15114 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15115 collapsible insets.
15117 2001-08-10 Juergen Vigna <jug@sad.it>
15119 * text.C (prepareToPrint): fixed hfill-width in draw!
15121 * BufferView2.C (selectLastWord): save the selection cursor as this
15122 now is cleared in the function LyXText::clearSelection!
15124 2001-08-08 Juergen Vigna <jug@sad.it>
15126 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15127 BACKSPACE type functions.
15129 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15130 is only cutted from the document but not put in the cut-buffer, where
15131 still the old stuff should be.
15133 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15135 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15137 * tabular.C (SetWidthOfCell): fixed special case where the width
15139 (LeftLine): handle '|' in align_special.
15141 (LeftAlreadyDrawed): ditto
15142 (SetWidthOfCell): ditto
15144 2001-08-07 Juergen Vigna <jug@sad.it>
15146 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15148 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15150 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15151 * lyxlex.[hC]: ditto
15153 2001-08-06 Juergen Vigna <jug@sad.it>
15155 * text.C (getVisibleRow): fix up row clearing a bit.
15157 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15159 * minibuffer.C: make sure the X server sees the changes in the input.
15161 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15163 * paragraph.C (getFont): split into...
15164 (getLabelFont): this
15165 (getLayoutFont): and this
15166 * paragraph_pimpl.C (realizeFont): calling this
15168 * text2.C (getFont): split into...
15169 (getLayoutFont): this
15170 (getLabelFont): and this
15171 (realizeFont): all three calling this
15173 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15176 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15178 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15180 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15182 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15183 layouts from the Quote inset insertion.
15185 2001-08-03 Juergen Vigna <jug@sad.it>
15187 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15189 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15190 only if status not is already CHANGED_IN_DRAW (second level).
15192 * text.C (draw): don't set the need_break_row when inside an
15195 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15197 * buffer.C (parseSingleLyXformat2Token): handle more latex
15200 * bufferview_funcs.[hC]: change function names to
15201 begin with small char, adjust other files.
15203 2001-08-02 André Pönitz <poenitz@gmx.net>
15206 BufferView_pimpl.C: remove broken special code for math-greek
15208 2001-08-02 Juergen Vigna <jug@sad.it>
15210 * BufferView_pimpl.C (update): redone this function so that we
15211 update the text again if there was a CHANGE_IN_DRAW.
15213 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15214 (drawFromTo): added a new internal bool which is used by draw() and
15216 (general): some cursor drawing problems fixed.
15218 2001-08-01 Juergen Vigna <jug@sad.it>
15220 * lyxfind.C (LyXFind): fixed
15221 (SearchForward): ditto
15222 (SearchBackward): ditto
15224 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15225 spurius drawing of the cursor in the main area.
15227 * text2.C (status): small fix which could lead to a segfault!
15228 (clearSelection): remove unneeded BufferView param.
15230 2001-08-01 André Pönitz <poenitz@gmx.net>
15232 * lyxfunc.C: small change due to changed mathed interface
15234 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15238 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15240 * lyxfunc.c: fail gracefully if file doesn't exist
15245 * BufferView_pimpl.C: IsDirWriteable() proto changed
15247 * LyXView.C: fix updateWindowTitle() to store the last title
15249 2001-07-31 Juergen Vigna <jug@sad.it>
15251 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15252 the font (wrong since using of Paragraph::highestFontInRange).
15254 * paragraph.C (highestFontInRange): added a default_size parameter.
15256 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15257 (setHeightOfRow): reformat
15259 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15261 * converter.[hC] + affected files: move to (inital-char)lowercase
15264 * ParagraphParameters.C (ParagraphParameters): remove commented code
15266 * PainterBase.[Ch]: remove commented code
15268 * LaTeXFeatures.h: add "bool floats" for float.sty
15270 * LaTeXFeatures.C (LaTeXFeatures): init floats
15271 (require): handle float
15272 (getPackages): do it with floats
15274 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * BufferView_pimpl.C (Dispatch): improve handling of
15277 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15279 * commandtags.h: #include lyxfont.h here temporarily to avoid
15282 * bufferlist.h: include LString.h here.
15284 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15286 * text2.C (getStringToIndex): new method.
15288 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15290 * *: Reduced header file dependencies all over.
15292 2001-07-30 Baruch Even <baruch@lyx.org>
15294 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15296 2001-07-29 Baruch Even <baruch@lyx.org>
15298 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15300 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15302 * ParameterStruct.h (endif): add a default constructor to make
15303 sure that all variables is initialized.
15305 * ParagraphParameters.C (ParagraphParameters): adjust
15307 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15310 index; also, check that there is something to index, and that it
15311 does not span over several paragraphs.
15312 (doubleClick): use WHOLE_WORD_STRICT for double click.
15314 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15316 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15319 2001-07-26 Baruch Even <baruch@lyx.org>
15321 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15322 an InsetFig figure, backwards compatible reading of old figure code.
15324 2001-07-27 Juergen Vigna <jug@sad.it>
15326 * text2.C: font.realize function adaption.
15328 * text.C (draw): add a warnings lyxerr text if needed.
15330 * layout.C: font.realize function adaption.
15332 * language.C: add inherit_language and implement it's handlings
15334 * bufferview_funcs.C (StyleReset): remove language parameter from
15335 font creation (should be language_inherit now).
15337 * bufferparams.C (writeFile): handle ignore_language.
15339 * paragraph.C (getFontSettings): the language has to be resolved
15340 otherwise we have problems in LyXFont!
15342 * lyxfont.C (lyxWriteChanges): added document_language parameter
15343 (update): removed unneeded language parameter
15345 * paragraph.C (validate): fixed wrong output of color-package when
15346 using interface colors for certain fonts in certain environments,
15347 which should not seen as that on the final output.
15349 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15351 * BufferView_pimpl.C:
15356 * LyXAction.C: add thesaurus support
15359 * lyxfind.C: add "once" parameter, for thesaurus, to not
15360 move to the next match
15362 2001-07-26 Juergen Vigna <jug@sad.it>
15364 * lyxfont.C (realize): honor ignore_language too!
15367 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15369 * text.C (draw): one place more for ignore_language to not draw
15372 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15374 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15376 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15378 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15379 the minipage conversion problem.
15381 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15383 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15386 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15388 * BufferView.h: don't forward declare WorkArea
15390 * BufferView.C: don't include WorkArea.h
15392 2001-07-25 André Pönitz <poenitz@gmx.net>
15396 * lyxfunc.C: new LFUN 'math-space'
15398 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15400 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15402 * text2.C (toggleInset): call open/close
15404 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15406 * lyxfunc.C (dispatch): add debug for the disabled case
15408 * font.C (buttonText): make similar to rectText
15410 * buffer.C (readInset): comment out parsing of insetlist and
15413 * PainterBase.C (rectText): small correction
15415 * BufferView_pimpl.C: comment out insettheorem and insetlist
15416 * LyXAction.C: ditto
15417 * commandtags.h: ditto
15419 2001-07-24 Juergen Vigna <jug@sad.it>
15421 * text.C (draw): honor the ignore_language.
15423 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15425 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15430 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15432 * lyxtext.h: remove unused (and unimplemented) methods
15434 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15436 * text.C (getVisibleRow): honor background color
15439 * Painter.h: remove default color argument for fillRectangle
15441 * text.C (backgroundColor): new method
15443 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * text.C (getVisibleRow): adjust
15447 * font.[Ch] (rectText): new method, metrics
15448 (buttonText): new method, metrics
15450 * PainterBase.[hC]: make rectText and buttonText always draw and take
15453 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15455 * ToolbarDefaults.C (read):
15456 * MenuBackend.C (read): allow escaping in all strings
15458 * BufferView_pimpl.C (insertAndEditInset): new method.
15459 (Dispatch): use insertAndEditInset whenever appropriate.
15461 * BufferView_pimpl.C (insertNote): removed
15463 * BufferView_pimpl.C (smartQuote): new method, moved from
15464 BufferView; if an insetquote cannot be inserted, insert a '"'
15467 * BufferView2.C: remove insertCorrectQuote();
15469 * lyxfunc.C (getStatus): Add support for all remaingin
15470 inset-insert lfuns.
15472 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15474 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15475 command (necessary to pass " as parameter of self-insert.
15477 * text.C (selectWordWhenUnderCursor):
15478 (selectWord): add word_location parameter
15479 (selectWordWhenUnderCursor): same + remove special code for word
15481 (selectNextWord): use kind() to guess type of insetspecialchar,
15484 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15485 (insertErtContents): create ert insets as collapsed.
15486 (readInset): better compatibility code for Info inset.
15488 2001-07-20 Juergen Vigna <jug@sad.it>
15490 * lyxfunc.C (dispatch): use always LyXFind now!
15492 * text2.C (init): add a reinit flag so that the LyXText can be
15493 reinited instead of deleted and reallocated (used in InsetText).
15495 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15501 2001-07-18 Juergen Vigna <jug@sad.it>
15503 * text.C (selectNextWord): handle insets inside inset by calling
15504 always the bv->text functions so that we can go up the_locking_inset!
15506 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15507 in strange locations when inside an inset!
15509 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15510 handling to include insets.
15512 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15514 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15516 * LyXAction.C (init):
15518 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15519 LIGATURE_BREAK, since the name is so stupid.
15521 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15523 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15526 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15528 * sp_form.[Ch]: remove.
15530 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15532 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15535 * src/buffer.C (readInset): ditto.
15537 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15539 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15540 menuSeparator(), endOfSentenceDot(), ldots() and
15541 hyphenationPoint(), which are therefore removed.
15542 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15544 * LyXAction.C (init):
15545 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15547 * paragraph.C (getWord): removed.
15549 * BufferView_pimpl.C (Dispatch): use last word or selection for
15550 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15552 * lyx_main.C (queryUserLyXDir): do not ask before creating
15553 user_dir, except if it has been named explicitely.
15555 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15557 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15558 a document of zero size.
15560 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15562 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15563 approriately in the c-tor and in require().
15564 (getPackages): output the appropriate LaTeX for natbib support.
15566 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15567 variables "use_natbib" and "use_numerical_citations" when reading the
15569 (readInset): read the various natbib cite commands.
15570 (validate): white-space change.
15572 * bufferparams.[Ch]: new variables "bool use_natbib" and
15573 "bool use_numerical_citations".
15574 (writeFile): output them in the LyX file.
15576 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15578 * lyxfunc.C (getStatus): add support for all the inset insertion
15581 * text2.C (insertInset):
15582 * paragraph.C (insetAllowed):
15583 * BufferView_pimpl.C (insertInset): update to take in account the
15584 renaming of insertInsetAllowed
15586 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15588 * text2.C (getInset): new method. returns inset at cursor position.
15590 * BufferView_pimpl.C (Dispatch): changes because of this.
15592 * LyXAction.C (init): rename open-stuff to inset-toggle.
15594 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15596 * text2.C (toggleInset): renamed from openStuff; use
15599 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15601 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15603 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15605 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15607 * buffer.C (readLyXformat2): Add filename to the error dialog
15609 2001-07-18 Juergen Vigna <jug@sad.it>
15611 * tabular.C (GetCellNumber): put an assert here instead of the check!
15613 2001-07-17 Juergen Vigna <jug@sad.it>
15615 * BufferView_pimpl.C (toggleSelection): adapted too.
15617 * text.C (selectNextWord): adapted for use with insets.
15618 (selectSelectedWord): ditto
15620 2001-07-17 Juergen Vigna <jug@sad.it>
15622 * sp_spell.C (PSpell): fix initialitation order.
15624 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15626 * paragraph.C: spacing
15628 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15630 * sp_spell.C: repair language selection for pspell
15632 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15634 * lyxfunc.h: change more methods to begin with lower char.
15636 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15638 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15639 for unknown layouts.
15641 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15643 * buffer.C (readLyXformat2): Generate an error dialog if there are
15646 2001-07-16 Juergen Vigna <jug@sad.it>
15648 * sp_spell.C: always compile ISpell part.
15650 * lyxrc.C: added use_pspell entry and it's handling.
15652 2001-07-13 Juergen Vigna <jug@sad.it>
15654 * sp_spell.C: removed double includes.
15656 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15658 Consistent use of Lsstream.h:
15659 * Lsstream.h: added using std::stringstream for consistencies sake.
15661 * buffer.C: removed using std::stringstream
15663 * lyxfont.C (stateText):
15664 * paragraph.C (asString):
15665 * text.C (selectNextWord, selectSelectedWord):
15666 * text2.C (setCounter):
15667 * vspace.C (asString, asLatexString):
15668 std::ostringstream -> ostringstream.
15670 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15672 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15673 * commandtags.h: add LFUN_HELP_ABOUTLYX
15674 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15676 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15678 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15680 * lyx_gui_misc.C: remove spellchecker
15681 * lyxfunc.C: showSpellchecker
15683 * sp_ispell.h: added
15684 * sp_pspell.h: added
15685 * sp_spell.C: added
15686 * sp_form.[Ch]: removed
15687 * spellchecker.[Ch]: removed
15689 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15691 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15693 (simpleTeXSpecialChars): Simply print the input character without
15694 any special translation if pass_thru is set.
15696 * layout.h: Added bool pass_thru to layout class for being able to
15697 implement pass through of a paragraph for Literate Programming.
15699 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15700 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15701 * layout.C (Read): add "passthru" to list of layout tags and add
15702 code to set the pass_thru boolean when it is read.
15704 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15706 * trans_decl.h: remove allowed from KmodInfo
15708 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15709 remove allowed code
15712 * paragraph_pimpl.C (erase): use boost::prior
15714 * Painter.C (text): use data() instead of c_str() when length is
15716 * WorkArea.C (putClipboard): ditto
15717 * font.h (width): ditto
15719 * BufferView2.C: use it-> instead of (*it). for iterators
15721 * paragraph_pimpl.C: ditto
15722 * paragraph.C: ditto
15723 * minibuffer.C: ditto
15724 * language.C: ditto
15726 * encoding.C: ditto
15727 * counters.C: ditto
15728 * converter.C: ditto
15730 * Variables.C: ditto
15731 * TextCache.C: ditto
15732 * MenuBackend.C: ditto
15733 * LyXAction.C: ditto
15735 * FloatList.C: ditto
15736 * DepTable.C: ditto
15737 * ColorHandler.C (LyXColorHandler): ditto
15739 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15741 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15743 * text2.C (openStuff): reintroduce this method (which had been
15744 nuked in NEW_INSETS frenzy).
15746 * lyxfunc.C (Dispatch): when an action has not been handled, use
15747 its name in the error message, not its number.
15749 * paragraph.C (inInset): change method name to begin with lowercase.
15752 * text2.C: updates because of this.
15754 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15756 * ToolbarDefaults.C (add): add spaces in error message
15758 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15760 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15761 (readLyXformat2): rename return_par to first_par, use lyxlex's
15762 pushToken and remove the manual push handling.
15763 (parseSingleLyXformat2Token): add another ert comp. variable:
15764 in_tabular, rename return_par to first_par. handle newlines better
15766 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15768 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15770 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15772 * text2.C (getParFromID): removed
15774 * buffer.C (getParFromID): new method moved form lyxtext.
15775 * BufferView2.C (insertErrors): adjust
15776 (setCursorFromRow): adjust
15777 * BufferView_pimpl.C (restorePosition): adjust
15778 * lyxfunc.C (Dispatch): adjust
15779 * undo_funcs.C (textUndo): adjust
15781 (textHandleUndo): adjust
15782 (textHandleUndo): adjust
15784 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * buffer.C: up' the LYX_FORMAT
15788 * lyxfont.h: turn NO_LATEX on as default
15790 * buffer.C (insertErtContents): new methods of tex style compability.
15791 (parseSingleLyXformat2Token): use it several places.
15792 * tabular.C (OldFormatRead): and here
15794 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15796 * text2.C: remove some commented code.
15799 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15800 * trans.C: changes because of the above.
15802 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15804 * text2.C (setCounter): Fix counters bug with bibliography layout.
15806 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15808 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15809 own member functions
15810 (simpleTeXSpecialChars): ditto
15812 2001-07-06 Juergen Vigna <jug@sad.it>
15814 * a lot of files: changed the access to LyXText::status and the
15815 call of undo-functions.
15817 * undo.[Ch]: added a inset_id to the undo informations.
15819 * undo_funcs.[Ch]: added and moved here all undo functions.
15821 * lyxtext.h: give the status enum a weight, made status_ a private
15822 variable and made accessor functions for it, removed the whole bunch
15823 of undo-functions as they are now in their own file, make some
15824 functions publically available. Added function ownerParagraph with
15827 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15828 made InInset() a const function, added getParFromID() function.
15830 * buffer.[Ch]: added const version for inset_iterator functions,
15831 added getInsetFromID() function.
15833 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15834 changed undo functions for new version.
15836 2001-07-05 Juergen Vigna <jug@sad.it>
15838 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15839 unknow mechanism does not call the proper constructor but only this
15840 one also if I request the other!?
15842 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15846 * text2.C (LyXText): use initialization lists.
15848 * lyxtext.h (Selection): initialize set_ and mark_
15849 (init): remove method
15851 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15853 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15855 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15857 * screen.[Ch]: change method names to begin with lowercase
15859 * BufferView_pimpl.C (updateScrollbar): simplify further and
15860 hopefully make it a bit faster.
15862 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15864 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15865 calling directly xforms functions.
15867 * Painter.C (Painter):
15868 * lyx_cb.C (MenuWrite):
15869 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15872 * lyx_gui.C: remove bogus guiruntime extern declaration.
15874 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15876 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15878 (redoDrawingOfParagraph): ditto
15879 (redoParagraphs): ditto
15880 (cutSelection): don't create a object for CutAndPaste use the
15881 static method directly
15882 (pasteSelection): ditto
15884 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15887 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15889 * modifications to some other files because of this.
15891 * Makefile.am (lyx_SOURCES): add XFormsView
15893 * XFormsView.[Ch]: new files
15895 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15896 the main window. Move the gui dependent stuff to XFormsView
15898 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * tabular.C (GetCellInset): update cur_cell also in the row/col
15901 version of this function.
15903 * lyxfunc.C: no need to include figure_form.h here.
15909 * lyxvc.C: no need to include forms.h here.
15911 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15913 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15915 * lyxfunc.C (Dispatch):
15917 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15918 constructor argument.
15920 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15922 * paragraph.C (Paragraph): dont't clear, and just set layout.
15923 (makeSameLayout): use params's copy contructor.
15925 * ParagraphParameters.[Ch] (makeSame): delete method
15927 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15929 * Variables.[Ch]: fix indentation, rename set to isSet
15931 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * lyxfunc.C (Dispatch): fix typo
15935 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15940 * bufferlist.C: include assert.h for emergencyWrite().
15942 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15944 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15945 give up at last (bug #425202) !
15947 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15953 * spellchecker.C: strip spellchecker options and bring up
15954 preferences tab instead
15956 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15959 the istringstream constructor
15961 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15963 * paragraph.C (getLayout): fix return value
15965 * paragraph.h: do not declare getLayout as inline.
15967 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15969 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15971 * lyxcursor.h (operator<): new func
15972 (operator>): new func
15973 (operator>=): new func
15974 (operator<=): new func
15976 * text.C (changeCase): use selection.start and selection.end
15977 (changeRegionCase): require from to be <= to. Require par to be a
15980 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15982 2001-06-27 Juergen Vigna <jug@sad.it>
15984 * text.C (cursorLeftOneWord): changed to return the cursor and added
15985 overlay with BufferView * parameter which calls this one.
15987 (selectWord): use new getWord function.
15988 (changeCase): renamed from changeWordCase as and extended to work
15989 also on selections.
15991 * lyxtext.h: added enum word_location
15993 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15994 changeCase as this operates now also on selections.
15996 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15998 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16000 * many files: send debug output to Debug::INFO instead of
16003 * converter.C (View):
16005 (Move): send debug output to Debug::FILES instead of console.
16007 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16009 * lyxfunc.C (getStatus): use func_status
16011 * func_status.h: new header, describing the results of
16012 LyXFunc::getStatus;
16014 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16017 2001-06-25 The LyX Project <jug@sad.it>
16019 * buffer.C (sgmlOpenTag):
16021 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16023 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16025 * text2.C: remove some dead code
16027 * tabular.C (GetCellInset): store the last cell checked (gotten)
16029 * tabular.h: add the helper for the speedup
16031 * lyxtext.h: remove some dead code
16033 2001-06-26 The LyX Project <Asger>
16035 * paragraph.C: Change export to LaTeX of alignment to
16036 \begin{center} and family for better roundtrip work with reLyX.
16038 * Tune the math drawing a bit.
16040 2001-06-25 The LyX Project <Asger>
16042 * LColor.C (LColor): New color for math background. New color
16045 2001-06-25 The LyX Project <jug@sad.it>
16047 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16049 * lyxfunc.C (Open):
16050 * bufferlist.C (newFile): do not restrict to files ending with
16053 * BufferView_pimpl.C (MenuInsertLyXFile):
16055 2001-06-24 The LyX Project <jug@sad.it>
16057 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16060 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16062 * lyxtext.h: rename most methods to begin with a small char.
16063 Lots of changes because of this.
16065 * paragraph.C (Paragraph): do not call fitToSize
16066 (erase): call Pimpl::erase
16067 (insertChar): call Pimpl::insertChar
16068 (insertInset): call Pipl::insertInset
16069 (breakParagraph): do not call fitToSize
16070 (breakParagraphConservative): do not call fitToSize
16071 (fitToSize): remove method
16073 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16075 2001-06-24 The LyX Project <Asger>
16077 * Fix Qt compilation^2
16079 2001-06-24 The LyX Project <jug@sad.it>
16081 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16082 depthHook(getDepth()-1).
16085 * ParagraphParameters.h:
16086 * ParameterStruct.h: change type of depth to unsigned int ==
16087 depth_type. Many adaptations to other files before of that.
16089 2001-06-24 The LyX Project <Asger>
16091 * Fix Qt compilation.
16093 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * paragraph.h: renamed several methods to begin with small letter.
16096 several changes to many parts of the code because of this.
16098 2001-06-23 The LyX Project <jug@sad.it>
16100 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16101 rewritten to discard all double spaces when KeepEmpty is off
16102 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16103 to only handle newlines but not fiddle with spaces and friends.
16105 * lyxfunc.C (MenuNew): when doing 'new from template', use
16106 template_path as default directory
16108 2001-06-23 The LyX Project <Asger>
16110 * Clean-up of header file includes all over
16111 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16113 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16115 * paragraph.h: renamed from lyxparagraph.h
16117 2001-06-23 Asger <lyx@violet.home.sad.it>
16119 * Buffer.h: Removed Buffer::resize
16120 * BufferList.h: Removed BufferList::resize
16121 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16122 the document lazily when we change the width, or the font settings.
16124 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16126 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16128 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16130 * buffer.h: remove out of date comment
16132 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16135 * screen.C: fix "theoretical" GC leak
16137 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16139 * LaTeX.C (scanAuxFile):
16140 (deplog): remove trailing \r when reading stream (useful under
16143 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16145 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16146 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16147 and BufferView::theLockingInset(Inset*), so should use them and not
16148 access bv_->text->the_locking_inset directly.
16150 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16152 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16155 * tex-defs.h: remove old unused file
16157 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16159 * BufferView_pimpl.C: fix typo, remove minibuffer message
16160 when buffer has loaded
16162 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16164 * lyxfunc.C (Dispatch): use stringstream
16165 (MenuNew): use stringstream
16166 (Open): use stringstream
16168 * importer.C (Import): use stringstream
16170 * bufferview_funcs.C (CurrentState): use stringstream
16172 * LaTeX.C (run): use stringstream
16174 * BufferView_pimpl.C (savePosition): use stringstream
16175 (restorePosition): use stringstream
16176 (MenuInsertLyXFile): use stringstream
16178 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16191 * vspace.C: removed // -*- C++ -*- as first line.
16194 * version.h: added // -*- C++ -*- as first line.
16196 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16198 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16200 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16203 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16205 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16208 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16210 * gettext.C: include LString.h even when --disable-nls is on.
16212 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16214 * converter.h (Get): changed argument type from int to
16215 FormatList::size_type to avoid unnecessary conversion.
16217 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16220 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16222 * gettext.h: include LString.h even when --disable-nls is on.
16224 2001-06-07 Juergen Vigna <jug@sad.it>
16226 * text.C (BreakAgain): subst spaces with tabs.
16228 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16229 (resizeInsetsLyXText): set force on resizeLyXText.
16231 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16233 * gettext.h (gettext_init):
16234 (locale_init): use a real definition instead of a macro
16236 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16238 * Bufferview_pimpl.C:
16240 * LColor.C: further lcolor tidies
16242 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16244 * BufferView_pimpl.C (updateScrollbar): simplify.
16246 * BufferView2.C: don't include insets/insetinfo.h, change
16247 prototype for insertInset and call the Pimpl version. let
16248 updateInset call Pimpl version.
16250 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16251 gotoInset to BufferView::Pimpl
16253 2001-06-01 Juergen Vigna <jug@sad.it>
16255 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16256 inside a LockingInset (is the update needed at all?).
16258 2001-05-31 Juergen Vigna <jug@sad.it>
16260 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16261 here not the old one otherwise how should we compare it afterwards
16264 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16269 * FontInfo.C: bring C functions into global namespace when
16272 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16274 * LString.h: make sure config.h has been loaded before LString.h.
16276 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16277 (one for each char read by EatLine!).
16279 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16282 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16284 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16285 to the same as the par we break from
16287 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16289 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16291 * MenuBackend.C (expand): also create menu entries for wide
16292 versions of the floats.
16294 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16296 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16298 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16299 frontends/Makefile.am
16305 * tabular.C (getTokenValue): add std::
16307 * tabular-old.C (getTokenValue): add std::
16308 (getTokenValue): ditto
16309 (getTokenValue): ditto
16311 * screen.C (ToggleSelection): adjust
16313 * lyxtext.h: put selection cursors inside a Selection struct.
16315 * lyxfunc.C (moveCursorUpdate): adjust
16317 * lyxfont.C (latexWriteStartChanges): add std::
16319 * lyxfind.C: adjust
16321 * font.h: delete with(char const *, LyXFont const &)
16323 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16325 * FontInfo.C (getFontname): add std::
16327 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16328 (workAreaButtonPress): adjust
16329 (tripleClick): adjust
16331 (moveCursorUpdate): adjust
16334 * BufferView2.C (gotoInset): adjust
16336 2001-05-30 Juergen Vigna <jug@sad.it>
16338 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16339 to check pspell I add this as default as I now have new pspell
16340 libraries and they seem to use this.
16342 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16344 * text2.C (CutSelection): make the cursor valid before the call to
16347 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16350 relied on 0 terminated strings and other horrors. Bug found due to
16351 the new assert in lyxstring!
16353 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16356 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16358 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16361 * lyxfunc.C (processKeySym): change method of getting to the
16364 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16365 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16366 * BufferView_pimpl.[Ch]: here as private methods.
16368 2001-05-28 Juergen Vigna <jug@sad.it>
16370 * text.C (SetHeightOfRow): added the update() call again as it is
16371 needed to initialize inset dimensions!
16373 2001-05-16 Juergen Vigna <jug@sad.it>
16375 * text2.C (SetCharFont): Add new function with BufferView * and
16376 bool toggleall parameters for setting insets internal fonts.
16377 (SetFont): Freeze the undo as we may change fonts in Insets and
16378 all this change should be inside only one Undo!
16380 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16381 setting font's in insets as for them we have the SetFont function!
16383 2001-05-15 Juergen Vigna <jug@sad.it>
16385 * text2.C (ClearSelection): to be sure we REALLY don't have any
16388 * tabular.C (TeXCellPreamble): fixed the left border problem for
16391 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16393 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16396 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16398 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16399 LFUN_BREAKPARAGRAPH.
16401 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16402 help test to "internal only", similar for LFUN_INSERT_URL
16404 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16405 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16406 auto_region_delete and deadkeys.
16408 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16411 * LColor.C: remove some dead entries, tidy a little
16413 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16417 (Dispatch): implement LFUN_ESCAPE
16419 * commandtags.h: add LFUN_ESCAPE
16421 * LyXAction.C (init): add entry for LFUN_ESCAPE
16423 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16424 Remove commented code.
16425 (insertNote): moved here
16426 (open_new_inset): moved here
16428 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16431 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16433 * kbmap.C (findbinding): clean it up and make it work correctly.
16435 * lyx_main.C (init): do not pass argc and argv as parameters
16437 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16439 * buffer.C: fix path for OS/2 & Win32
16443 * lyx_main.C: Added os:: class.
16445 * os2_defines.h: update
16447 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16449 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16450 better by trying again with reduced state.
16452 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16454 * lyxrc.C (read): print error about invalid key sequence only when
16455 debugging (because not all latinX keysyms are known to some X
16458 * kbsequence.C (getiso): add a few std:: qualifiers
16459 (getiso): comment out extra return statement.
16461 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16463 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16465 (Dispatch): enhance the accent inset a bit. (not perfect)
16467 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16469 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16471 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16473 * bufferlist.C (emergencyWrite): fix assert() call
16475 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16477 * text.C (InsertChar): Added trivial patch to only send the "you
16478 can not do multiple spaces this way" message once during a
16481 2001-05-08 Baruch Even <baruch@lyx.org>
16483 * Makefile.am: Changed order of libraries to get LyX to link properly
16484 with the gnome frontend.
16486 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16488 * LaTeXFeatures.h: add a std:: qualifier
16490 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16492 * paragraph.C (String): use stringstream
16494 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16496 * paragraph.C (writeFile): remove footflag arg
16498 * buffer.C (makeLaTeXFile): use stringstream
16499 (latexParagraphs): remove footnot gurba
16501 * LaTeXFeatures.C (getPackages): use stringstream
16502 (getMacros): likewise
16503 (getTClassPreamble): likewise
16504 (getFloatDefinitions): new method
16506 * paragraph.C (writeFile): reindent
16509 * WorkArea.h: revert the xpos + etc changes.
16511 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16513 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16515 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16516 (pasteSelection): likewise
16517 * text2.C (CreateUndo): likewise
16519 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16521 * minibuffer.C (peek_event): temporarily reduce the functionality
16522 of the minibuffer (to allow args on lfuns)
16524 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16525 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16527 * buffer.C (readInset): add compability reading of old float
16528 lists, add reading of new style float list.
16529 (readInset): avoid reevaluation of inscmd.getCmdName()
16530 (getLists): reindent
16532 * MenuBackend.C (MenuItem): implement parsing of
16533 md_floatlistinsert and md_floatinsert.
16534 (expand::LastFiles): move initalizaton of iterators out of loop,
16535 avoid reevaluation.
16536 (expand::Documents): introduce typdedef vector<string> Strings,
16538 (expand::ExportFormats): introduce typedef vector<Format const *>
16539 Formats, and use it.
16540 (expand): implement FloatListInsert and FloatInsert.
16542 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16543 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16544 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16546 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16548 (Dispatch::LFUN_FLOAT_LIST): implement
16550 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16552 * LaTeX.C (run): Fix problem with --export code.
16554 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16556 * BufferView.[Ch] (workarea): removed.
16557 (getClipboard) new method; wrapper for workarea()->getClipboard()
16559 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16562 * WorkArea.h (width, height, xpos, ypos): These methods all
16563 returned the dimensions of the work_area sub-area of WorkArea,
16564 resulting in a position error if the WorkArea were resized. Now
16565 return the dimensions of the entire WorkArea.
16567 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16569 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16571 * LaTeX.C (deplog): correct the syntax of regex reg1
16573 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16575 * undo.C: remove !NEW_INSETS cruft
16577 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16579 * text2.C: remove !NEW_INSETS cruft
16581 * text.C: remove !NEW_INSETS cruft
16583 * tabular.C: remove !NEW_INSETS cruft
16585 * spellchecker.C: remove !NEW_INSETS cruft
16587 * lyxtext.h: remove !NEW_INSETS cruft
16589 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16591 * lyxfunc.C: remove !NEW_INSETS cruft
16593 * lyxfind.C: remove !NEW_INSETS cruft
16595 * lyx_cb.C: remove !NEW_INSETS cruft
16597 * figureForm.C: remove !NEW_INSETS cruft
16599 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16601 * buffer.[Ch]: remove !NEW_INSETS cruft
16603 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16605 * CutAndPaste.C: remove !NEW_INSETS cruft
16607 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16609 * BufferView2.C: remove !NEW_INSETS cruft
16611 * BufferView.h: remove !NEW_INSETS cruft
16613 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16615 * Lsstream.h: include LString.h before the sstream headers to
16616 fix problem with gcc 2.95.3 and lyxstring
16618 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16620 * lyx_main.C: add using directives when needed for C functions
16621 declared in std:: namespace.
16623 2001-04-27 Juergen Vigna <jug@sad.it>
16625 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16626 (SetHeightOfRow): comment out the update call should not be needed!
16628 2001-04-13 Juergen Vigna <jug@sad.it>
16630 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16631 (LyXTabular): tried to minimize operator= operations (and realized
16632 hopfully Lars wish).
16634 2001-04-27 Juergen Vigna <jug@sad.it>
16636 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16638 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16640 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16642 * buffer.C (readInset): hack to make listof algorithm work
16644 * BufferView_pimpl.C: hack to make listof algorithm work
16646 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16648 * LyXAction.C: removed all !NEW_INSETS cruft
16649 (init): moved lfun_item in method
16651 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16653 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16655 * BufferView2.C (theLockingInset): white space.
16657 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16659 * minibuffer.C: include <iostream>
16661 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16663 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16665 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16667 * text.[Ch] (TransposeChars): new method
16669 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16671 * call message directly through LyXView instead of through LyXFunc
16672 * BufferView2.C: adjust
16673 * BufferView_pimpl.C: adjust
16674 * FontLoader.C: adjust
16676 * bufferview_funcs.C: adjust
16677 * converter.C: adjust
16678 * figureForm.C: adjust
16679 * importer.C: adjust
16681 * lyx_gui_misc.C: adjust
16682 * lyxfunc.C: adjust
16685 + more files in subdirs
16687 * lyxparagraph.h (size): move up int file
16690 * adjust all uses of Assert to lyx::Assert.
16692 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16693 lyxfunctional in namespace lyx
16694 * layout.C (hasLayout): ditto
16697 (delete_layout): ditto
16698 (NumberOfClass): ditto
16699 * converter.C (GetFormat): ditto
16704 * bufferlist.C (getFileNames): ditto
16705 (emergencyWriteAll): ditto
16708 * MenuBackend.C (hasSubmenu): ditto
16711 * BufferView_pimpl.C (getInsetByCode): ditto
16713 2001-04-18 Juergen Vigna <jug@sad.it>
16715 * vspace.C (asLatexString): fixed the 100% problem.
16717 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16719 * lyxfunc.C (Dispatch):
16721 * minibuffer.h: add a few std:: qualifiers
16723 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16725 * minibuffer.[Ch]: reimplement so that commands is initiated and
16726 run from lyxfunc, simplified som handling, and made the completion
16727 and history code for complete. wip.
16729 * lyxfunc.C (processKeySym): call message
16730 (miniDispatch): new temporary method
16731 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16732 (LFUN_MESSAGE): implement
16733 (LFUN_MESSAGE_PUSH): implement
16734 (LFUN_MESSAGE_POP): implement
16735 (initMiniBuffer): the initial/defualt minibuffer message.
16737 * lyxfont.[Ch]: inline some more getters
16739 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16741 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16743 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16744 (AutoSave): use LFUN_MESSAGE
16745 (Reconfigure): ditto
16747 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16749 * figureForm.C: use LFUN_MESSAGE
16751 * converter.C (runLaTeX): use LFUN_MESSAGE
16753 * bufferview_funcs.C: use LFUN_MESSAGE
16755 (changeDepth): ditto
16757 * bufferparams.h: use boost::
16759 * bufferlist.h: inherit privately from noncopyable
16761 * bufferlist.C (loadLyXFile): remove some commented code.
16763 * buffer.C (runChktex): use LFUN_MESSAGE
16765 * ShareContainer.h: inherit privately from noncopyable
16767 * ParagraphParameters.[hC] (depth): inline it.
16769 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16771 (message): new method
16772 (messagePush): ditto
16773 (messagePop): ditto
16774 (show): init minibuffer
16775 (showState): direct call
16777 * LaTeX.[Ch]: inherit privately from noncopyable
16778 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16779 instead of WriteStatus.
16781 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16783 * BufferView_pimpl.C (buffer): don't init minibuffer
16784 (workAreaButtonPress): use LFUN_MESSAGE
16785 (workAreaButtonRelease): ditto
16786 (savePosition): ditto
16787 (restorePosition): ditto
16788 (MenuInsertLyXFile): ditto
16789 (workAreaExpose): don't init minibuffer
16790 (update): remove commented code, simplify
16792 * BufferView2.C (openStuff): use LFUN_MESSAGE
16793 (toggleFloat): ditto
16796 (copyEnvironment): ditto
16797 (pasteEnvironment): ditto
16802 (updateInset): remove some commented code
16804 * lastfiles.h: inherit privately from noncopyable
16807 * lyx_main.h: ditto
16809 * lyxlex_pimpl.h: ditto
16811 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16812 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16813 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16815 * LyXAction.h: inherit privately from noncopyable, add methods
16816 func_begin, func_end, returning iterators to the func map.
16818 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16819 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16820 (func_begin): new method
16821 (func_end): new method
16823 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16825 (copySelection): ditto
16826 (pasteSelection): ditto
16828 * BufferView.C: whitespace change
16829 * BufferView.h: inherit privately from noncopyable
16831 2001-04-16 Allan Rae <rae@lyx.org>
16833 * tabular-old.C (l_getline):
16834 * spellchecker.C (sc_check_word):
16835 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16836 an unrecognised preprocessor directive. So ensure they're wrapped.
16838 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16840 * src/exporter.C (Export): Give an error message when path to file
16843 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16845 * LaTeX.C (deplog): Always check that foundfile exists.
16847 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16850 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16852 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16854 * tabular.[Ch] (getLabelList): implement new method
16856 * minibuffer.h: comment ouf setTiimer
16858 * minibuffer.C (ExecutingCB): constify res
16859 (peek_event): constify s
16860 (Set): constify ntext
16861 (Init): constify nicename
16863 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16865 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16866 (savePosition): use two params to Minibuffer::Set
16867 (restorePosition): ditto
16869 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16871 * lyx_main.C: include language.h
16873 * Makefile.am (lyx_main.o): add language.h
16875 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16881 * CutAndPaste.C: include gettext.h
16883 * lyxfont.h: remove old hack with ON and OFF.
16886 * lyxfont.h: do not include language.h...
16891 * bufferview_funcs.C:
16897 * paragraph.C: ... but do it here instead
16899 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16901 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16903 * tabular.C: small reformat
16905 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16908 (BreakParagraph): ditto
16909 (SetOnlyLayout): ditto
16912 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16915 * lastfiles.C: removed most using decl, add std:: where needed
16917 * buffer.C: ws changes
16919 * MenuBackend.C (class compare_format): put into anon namespace
16920 (expand): constify label, names, action, action2
16923 * text.C (SingleWidth): constify font
16924 (IsBoundary): constify rtl2
16925 (GetVisibleRow): constify ww
16927 * LaTeX.C (deplog): constify logfile
16929 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16931 (workAreaExpose): constify widthChange, heightChange
16933 * lyxrow.C (par): moved
16936 * lyxrow.h: as inlines here
16938 * lyxfont.h (shape): moved from lyxfont.C
16939 (emph): moved from lyxfont.C
16941 * lyxfont.C (LyXFont): use initialization list for all
16943 (shape): move to lyxfont.h as inline
16944 (emph): move to lyxfont.h as inline
16947 2001-04-04 Juergen Vigna <jug@sad.it>
16949 * vspace.C: had to include stdio.h for use of sscanf
16951 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16954 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16955 independent of xforms.
16957 2001-04-02 Juergen Vigna <jug@sad.it>
16959 * spellchecker.C: fixed namespace placing!
16961 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16963 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16964 the LyXParagraph * is 0.
16966 2001-03-29 Juergen Vigna <jug@sad.it>
16968 * vspace.C: added support for %, c%, p%, l%.
16969 (stringFromUnit): added helper function.
16970 (asLatexString): changed to give right results for the %-values.
16972 * buffer.C: convert the widthp in a width%.
16974 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16976 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16979 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16980 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16982 * lyx_cb.[Ch]: see above.
16984 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16988 * lyx.[Ch]: replaced by figure_form.[Ch].
16992 * lyxfunc.C: changed headers associated with above changes.
16994 2001-03-27 Juergen Vigna <jug@sad.it>
16996 * BufferView_pimpl.C: set the temporary cursor right!
16998 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17000 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17002 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17004 * LString.h: removed "using std::getline"!
17006 * BufferView_pimpl.C (Dispatch): changes due to changes in
17007 InsetInclude::Params.
17009 * buffer.C (tag_name): removed redundant break statements as they were
17010 producing lots of warnings with my compiler.
17012 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17014 * LString.h: add "using std::getline" when using the real <string>.
17016 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17018 * buffer.C: removed bitset usage.
17019 PAR_TAG moved to an anonymous name space.
17020 (tag_name): new funtion, also in the anonymous namespace.
17021 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17022 (makeDocBookFile): clean code. Completed transition from string arrays
17024 (SimpleDocBookOnePar): code clean.
17026 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17028 * tabular.C: add some comments.
17030 2001-03-22 Juergen Vigna <jug@sad.it>
17032 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17033 compatibility read a bit and fixed bug with minipage in different
17036 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17038 * buffer.C (pop_tag): removed.
17039 (push_tag): removed.
17040 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17041 array replaced with vector. Added support for CDATA sections.
17042 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17044 (makeDocBookFile): XML conformant declaration of CDATA section,
17045 fixed bug related to <emphasis> in the first paragraph char.
17046 (sgmlOpenTag): exclude empty tags.
17047 (sgmlCloseTag): ditto.
17049 * buffer.h (pop_tag): removed.
17050 (push_tag): removed.
17052 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17054 * language.h (Languages): added size_type and size().
17056 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17058 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17059 response on compability reading of minipages. One probliem is that
17060 the old usage of minipages was «flertydig»
17062 * several files here and in subdirs: don't use static at file
17063 scope use anon namespaces instead.
17065 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17067 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17068 LaTeX output. This is necessary for Literate document
17071 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17073 * buffer.C: insert hfill when needed.
17075 * tabular.C (l_getline): use string::erase, small whitespace change.
17077 * BufferView_pimpl.C: try the anon namespace.
17078 * WorkArea.C: ditto
17080 2001-03-16 Juergen Vigna <jug@sad.it>
17082 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17083 otherwise it won't open options-dialogs.
17085 * buffer.C: honor pextraWidth(p) on converting minipages.
17087 * tabular.C (l_getline): changed the functions to strip trailing \r.
17089 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17091 * BufferView_pimpl.C:
17092 * minibuffer..C: added "using SigC::slot" declaration.
17094 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17096 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17102 * paragraph.C: ditto
17104 * lyxtext.h: NO_PEXTRA
17106 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17108 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17109 * ParameterStruct.h: ditto
17110 * ParagraphParameters.h: ditto
17111 * lyxparagraph.h: ditto
17113 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17115 * buffer.C: add compability for minipage alignment.
17116 (latexParagraphs): remove unwanted pextra check.
17118 * several files: remove CXX_WORKING_NAMESPACES
17120 * buffer.C (pop_tag): tie is in namespace boost
17122 * BufferView.h: noncopyable is in namespace boost
17124 * lyx_main.h: ditto
17127 * lastfiles.h: ditto
17128 * bufferlist.h: ditto
17129 * ShareContainer.h: ditto
17131 * LyXAction.h: ditto
17134 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17136 * Merging changes from BRANCH_MVC back into HEAD.
17138 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17140 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17142 * BufferView_pimpl.C: change from intl.C
17146 * Makefile.am: move combox.*
17152 * intl.C: remove dialog (covered by prefs)
17154 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17156 * lyxfunc.C (Dispatch): removed redundant break statement.
17158 2001-03-14 Juergen Vigna <jug@sad.it>
17160 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17162 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17164 * buffer.C: add hack to fix compability reading of minipages.
17166 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17168 * buffer.C (getLists): Cleanup.
17170 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17172 * lyxfont.C (update): don't honor toggleall on font size.
17174 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17178 * Makefile.am: moved to frontends/xforms/
17182 * BufferView_pimpl.C: changes for moved mathpanel
17184 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17186 * gettext.h: fix gettext_init() in --disable-nls
17188 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17190 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17192 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17195 * lyx.h: strip external form
17197 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17199 * BufferView_pimpl.C: add comment, destroySplash()
17201 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17203 * BufferView_pimpl.C:
17207 * lyxfunc.C: use re-worked insetinclude
17209 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17211 * buffer.C: add using std::stringstream.
17213 * lyx_cb.C: readd using std::ios.
17215 * buffer.C: add using std::map.
17217 * BufferView_pimpl.C: add using std::vector.
17219 * ShareContainer.h: add std:: to swap.
17221 * buffer.h: add some typedefs
17222 * buffer.C (getLists): use them
17223 (getLists): renamed from getTocList.
17224 add a counter for the different float types and use it in the
17226 (getLists): use the same counter for the NEW_INSETS and the "non"
17229 * lyx_cb.h: remove unused items, includes, using etc.
17231 * ShareContainer.h: remove some commented code, add more comments
17232 and "documentation".
17234 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17236 * buffer.C (getTocList): make the list also when NEW_INSETS is
17239 * buffer.h: remove TocType
17241 * buffer.C (getTocList): change to return a map<string,
17242 vector<TocItem> >, implement for dynamic number of list.
17244 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17245 * text2.C (PasteSelection): adjust
17246 * CutAndPaste.C (pasteSelection): adjust
17248 * FloatList.C (FloatList): update from the new_insets branch.
17249 * Floating.[Ch]: ditto
17250 * LaTeXFeatures.C: ditto
17252 * lyxlex_pimpl.C: ditto
17254 * paragraph.C (Last): remove when NEW_INSETS is defined.
17256 * other file: changes because of the above.
17258 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17260 * lyxparagraph.h: rename next to next_, previous to previous_,
17261 make them private for NEW_INSETS. Rename Next() to next(),
17262 Previous() to previous().
17264 * other files: changes because of the above.
17266 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17269 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17272 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17274 * main.C (main): pass lyx_localedir to gettext_init().
17276 * gettext.h: remove locale_init and gettext_init macros
17278 * gettext.C (locale_init): new function
17279 (gettext_init): new function
17281 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17284 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17286 * Moved credits to frontends:
17287 * credits.[Ch]: removed
17288 * credits_form.[Ch]: removed
17289 * lyx_gui_misc.C: remove credits stuff
17292 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17294 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17296 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17297 unneeded destructor.
17299 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17300 a standalone pointer again.
17302 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17304 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17310 * ToolbarDefaults.C:
17319 * BufferView_pimpl.C: use new file dialog in GUII
17322 * lyx_cb.C: remove LayoutsCB to Toolbar
17324 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17326 * ShareContainer.h (get): add std:: qualifier
17328 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17330 * ShareContainer.h: define a proper ShareContainer::value_type
17331 type (and use typename to please compaq cxx)
17333 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17335 * lyxparagraph.h: move serveral local vars to
17336 ParameterStruct/ParagraphParameters., use ShareContainer in
17337 FontTable., make vars in FontTable private and add getter and
17340 * paragraph.C: changes because of the above.
17342 * lyxfont.h: remove copy constructor and copy assignment. (the
17343 default ones is ok), move number inside FontBits. move inlines to
17346 * lyxfont.C: add number to initializaton of statics, move several
17347 inlines here. constify several local vars. some whitespace
17348 cleanup. Dont hide outerscope variables.
17350 * Spacing.h: add two new constructors to match the set methods.
17352 * ShareContainer.h: new file, will perhaps be moved to support
17354 * ParameterStruct.h: new file
17356 * ParagraphParameters.h: new file
17358 * ParagraphParameters.C: new file
17360 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17361 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17363 * BufferView_pimpl.C: ParagraphParameter changes.
17364 * buffer.C: Likewise.
17365 * bufferview_funcs.C: Likewise.
17366 * text.C: Likewise.
17367 * text2.C: Likewise.
17369 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17371 * lyxfind.C (LyXReplace): do not redefine default argument in
17373 (IsStringInText): ditto
17374 (SearchForward): ditto
17375 (SearchBackward): ditto
17377 2001-03-06 Juergen Vigna <jug@sad.it>
17379 * lyxfind.C (IsStringInText): put parentes around expressions.
17381 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17383 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17385 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17387 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17389 * stl_string_fwd.h: add comment
17391 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17394 * tabular.C: remove unused DocBook methods
17400 killed DO_USE_DEFAULT_LANGUAGE
17402 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17404 * lyx_gui.C: do not include language.h.
17406 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17407 arguments in function implementation.
17409 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17411 * BufferView_pimpl.C: add <ctime>
17413 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17415 * BufferView_pimpl.C: add using std::find_if
17417 2001-02-27 José Matos <jamatos@fep.up.pt>
17419 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17422 2001-02-11 José Matos <jamatos@fep.up.pt>
17424 * buffer.C (makeDocBookFile): command styles now have a parameter as
17425 "title" by default.
17427 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17429 * layout_forms.[Ch]: removed
17430 * lyx_cb.[Ch]: out character
17431 * lyx_gui.C: out character
17432 * lyx_gui_misc.C: out character
17433 * bufferview_funcs.C: : out character,
17434 added toggleall as parameter in ToggleAndShow
17436 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17438 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17440 * text2.C (SetCurrentFont): Disable number property at boundary.
17442 2001-02-26 Juergen Vigna <jug@sad.it>
17444 * lyxfunc.C (getStatus): added a string argument override function so
17445 that this is correctly called from LyXFunc::Dispatch if it contains a
17446 do_not_use_argument which is used!
17447 (Dispatch): added check for "custom" export and call appropriate func.
17449 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17451 * lyxrc.C: Add language_command_local, language_use_babel and
17452 language_global_options.
17454 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17456 * buffer.C (makeLaTeXFile): Use language_use_babel and
17457 language_global_options.
17459 2001-02-23 Juergen Vigna <jug@sad.it>
17461 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17462 which works with LyXText and putted it inside BufferView. Here now we
17463 only call for that part the BufferView::Dispatch() function.
17465 * BufferView.C (Dispatch): added.
17467 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17468 functions which needs to use a LyXText over from LyXFunc.
17469 (MenuInsertLyXFile): added
17470 (getInsetByCode): added
17471 (moveCursorUpdate): added
17472 (static TEXT): added
17474 2001-02-22 Juergen Vigna <jug@sad.it>
17476 * BufferView_pimpl.C (update): call a status update to see if LyXText
17479 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17481 * vc-backend.C (revert): implement for CVS
17482 (getLog): implement for CVS
17484 2001-02-20 Juergen Vigna <jug@sad.it>
17486 * text2.C (ClearSelection): added BufferView param for inset_owner call
17488 * lyxfunc.C (TEXT): added this function and use it instead of
17489 directly owner->view()-text of getLyXText().
17491 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17493 * src/layout_forms.C: out preamble
17494 * src/layout_forms.h: out preamble
17495 * src/lyx_cb.C: out preamble
17496 * src/lyx_cb.h: out preamble
17497 * src/lyx_gui.C: out preamble
17498 * src/lyx_gui_misc.C: out preamble
17499 * src/lyxfunc.C: connect with guii preamble
17501 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17503 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17505 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17507 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17508 whether to run bibtex.
17510 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17512 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17514 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17516 * Makefile.am (lyx_SOURCES): removed bibforms.h
17518 * vspace.h: doxygen
17520 * text.C (GetVisibleRow): make several local vars const
17522 * tabular.C: small cleanup.
17524 * lyxserver.C (callback): use compare instead of strncmp
17526 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17527 inlines to after class or to paragraph.C
17529 * lyxfont.h: remove friend operator!=
17531 * converter.h: move friend bool operator< to non friend and after
17534 * combox.h: small cleanup
17536 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17537 to inlines after class def.
17539 * buffer.C (pop_tag): use string operations instead of strcmp
17541 * bmtable.c: doxygen, small cleanup
17543 * LaTeX.h: remove friend operator==
17545 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17557 * BufferView_pimpl.C:
17558 * BufferView.[Ch]: remove cruft
17560 2001-02-14 Juergen Vigna <jug@sad.it>
17562 * lyxfunc.C: removed #if 0 unused code
17564 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17566 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17568 * text2.C (SetSelection): added a BufferView * parameter
17570 2001-02-13 Juergen Vigna <jug@sad.it>
17572 * lyxfunc.C (Dispatch): fixed protected blank problem.
17573 * BufferView2.C (protectedBlank): added LyxText * parameter.
17575 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17576 (AppendColumn): same as above for column_info.
17578 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17579 (moveCursorUpdate): use a LyXText param for support of InsetText.
17581 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17582 (tripleClick): ditto
17584 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17586 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17588 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17590 * text2.C (SetSelection): set correct update status if inset_owner
17591 (ToggleFree): ditto
17593 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17595 * tabular.C: remove some commented code.
17597 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17599 * BufferView_pimpl.C: call hideSplash()
17601 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17604 * bibforms.h: remove
17607 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17608 add LFUN_CHILD_CREATE
17610 * counters.h: fix tiny typo
17615 * lyx.C: move splash to frontends/xforms/
17617 * lyx_gui_misc.C: move Include and Bibform to frontends
17619 * lyxvc.h: clarify comment
17621 * vspace.C: tiny housekeeping
17623 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17625 * text.C (PrepareToPrint): RTL Fix.
17627 * paragraph.C (GetUChar): New method.
17628 (String): Use GetUChar.
17630 * buffer.C (asciiParagraph): Use GetUChar.
17632 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17634 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17636 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17639 * buffer.C: rename to getLogName(), handle
17640 build log / latex log nicely
17642 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17645 * MenuBackend.h: remove support for reference menuitem type.
17647 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17649 * BufferView_pimpl.C: housekeeping
17650 * BufferView_pimpl.h:
17655 * minibuffer.h: move Timeout GUI-I
17657 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17659 * lyxrc.C (read): Update converters data-structures.
17661 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17663 * LaTeX.h (operator!=): add operator != for Aux_Info
17665 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17667 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17669 * LaTeXLog.C: deleted, useful code moved to Buffer
17672 * buffer.C: new function getLatexLogName()
17678 * lyxfunc.C: use frontends for LaTeX and VC logs
17680 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17682 * LaTeX.h: yet another std:: that Allan forgot.
17684 * Variables.C (set): renamed from isset(), because this clashes
17685 with some HP-UX macros (grr).
17687 2001-02-06 Allan Rae <rae@lyx.org>
17689 * LaTeX.h: Another bug fix. Missing std:: this time.
17691 2001-02-04 Allan Rae <rae@lyx.org>
17693 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17694 floats problem. I've left it commented out because it's not quite
17695 correct. It should also test that the current object is a table or
17696 figure inset. But I haven't gotten around to figuring out how to do
17697 that. I *think* it'll be something like: "table" == inset.type()
17699 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17702 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17704 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17705 all the citation/databases/styles in the auxilary file.
17706 (run): Rerun latex if there was a babel language error.
17708 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17710 * text.C (Backspace): Preserve the font when changing newline char
17712 (BreakParagraph): If the cursor is before a space, delete the space.
17714 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17716 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17718 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17719 new argument (code).
17720 (ChangeCitationsIfUnique): New method.
17722 * paragraph.C (GetPositionOfInset): Handle bibkey.
17724 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17726 * BufferView_pimpl.h: change type of Position::par_pos to
17727 LyXParagraph::size_type.
17729 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17731 * BufferView_pimpl.C (savePosition, restorePosition): Write
17732 messages to minibuffer.
17734 2001-01-28 José Matos <jamatos@fep.up.pt>
17736 * buffer.C (makeDocBookFile): adds support for document language.
17737 A silly restriction on the name of LatexCommand types where removed.
17738 Added support for CDATA sections, allows to chars unescaped, used
17739 among others in code, to avoid escape < and >.
17741 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17743 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17744 saved positions instrad of a stack. Furthermore, a position is
17745 stored using paragraph id/paragraph position.
17747 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17748 Remove LFUN_REF_BACK.
17750 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17752 * converter.C (dvipdfm_options): New method.
17754 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17756 * vspace.C (isValidLength): Fix for empty input string.
17758 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17760 * LyXAction.C (init): change description of LFUN_FIGURE to
17763 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17765 * LaTeX.C: add using directive
17767 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17769 * MenuBackend.C (expand): Fix the sorting of the formats.
17771 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17773 * lyx_main.C: tiny error message fix
17775 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17777 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17778 calling fl_initialize(). This fixes the problem with ',' as
17779 decimal separator in text files.
17781 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17783 * trans.C (process): Fix the keymap bug.
17785 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17787 * LaTeX.C (scanAuxFiles): New method. Provides support for
17788 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17789 (scanLogFile) Scan for "run BibTeX" messages.
17791 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17792 OT1 font encoding. Also, load the aecompl package if the ae
17795 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17797 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17799 * texrow.C (increasePos): turn two error messages into debug
17802 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17804 * LaTeX.C (scanAux): Handle the \@input macro.
17805 (runBibTeX): Use scanAux().
17807 * language.C (latex_options_): New field.
17809 * LaTeXFeatures.C (getMacros): Add language macros.
17811 * buffer.C (makeLaTeXFile): Small fix.
17813 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17815 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17817 * text2.C: add a using directive.
17819 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17824 * lyxfunc.C: kill LyXBell.
17826 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17828 * text.C (IsBoundary): Remove the error message
17830 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17832 * lyxrc.C (setDefaults): Correct initialization value for
17835 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17837 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17840 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17841 and GotoNextNote().
17843 * src/LyXAction.C: Added reference-next.
17845 * text.C (InsertChar): Use contains instead of strchr.
17847 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17849 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17851 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17852 alignment commands (when needed).
17854 * text.C (InsertChar): Add ':' to number separator chars.