1 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * cursor_slice.h, dociterator.h: add some documentation
4 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
6 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * text.C (leftMargin): do not add identation to display() style
9 insets, because they are always centered (bug 1293).
11 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
14 formatted_time methods in support/lyxtime.
16 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
18 * toc.[Ch]: new method getGuiName, which is used by the frontends
19 to set the toc combo (fixes bug 1870). Make TOC string translatable.
21 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
23 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
24 StableDocIterator const &)
25 * undo.C (recordUndo): use the above instead of cell.size() comparison
26 (fixes bug 1808; instructed by André).
28 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
31 * dociterator.h: Fix the assert when copying rows/cols in math
33 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
37 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
39 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
40 (findInset): new functions, refactored from goto Inset that return
41 the position of a certain inset without setting the buffer's cursor
43 (gotoInset): rewrite to call findInset and then set the cursor
46 2005-06-16 Angus Leeming <leeming@lyx.org>
48 * lyxrc.C (output, read): wrap all input and output of paths with
49 calls to os::internal_path and os::external_path, respectively.
50 (output): wrap bind_file inside quotes.
52 * format.C (view): enable the viewer to use the '$$s' placeholder.
54 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
56 * LColor.[Ch] (getFromLaTeXName): new
58 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
60 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
62 2005-06-14 Angus Leeming <leeming@lyx.org>
64 * lyx_main.C (init): ensure that the LyX binary dir is the first
65 element in the PATH on non-POSIX builds.
67 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
71 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * rowpainter.C (paintInset, paintHebrewComposeChar)
74 (paintArabicComposeChar, paintChars): add a LyXFont argument.
75 (paintChars): use getFontSpan to reduce calls to getFont to a
76 minimum; use Paragraph::lookupChange instead of isXXXText.
77 (paintForeignMark): rename LyXFont argument.
78 (paintFromPos): pass a LyXFont object to the various paintXXX
81 * FontIterator.C (FontIterator, operator++): use
82 Paragraph::getFontSpan
84 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
85 version that returns the font span as a pair.
87 2005-06-09 Angus Leeming <leeming@lyx.org>
89 * converter.C (convert): Don't forget "outfile = real_outfile" as
90 the final step in a conversion where the input and output file names
91 are the same. Otherwise, future conversion steps won't work...
93 2005-06-09 Angus Leeming <leeming@lyx.org>
95 * lyxsocket.C: remove stub code as it isn't needed by
96 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
98 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
100 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
101 effectively disabled -x
103 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
106 when it actually makes sense.
108 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
110 * BufferView_pimpl.C: revert to showCursor in connection with
111 Lars's front-end stack
113 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * text.C (redoParagraph): move cursor right after a bibitem
118 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
120 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * buffer_funcs.C (bufferErrors): fix computation of the end of an
125 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
127 * BufferView.[Ch] (update):
128 * BufferView_pimpl.[Ch] (update, metrics):
129 * dimension.h (operator==):
130 * lyxfunc.C (dispatch):
131 * metricsinfo.h (ViewMetricsInfo):
132 * rowpainter.C (paintText):
134 * text.C (redoParagraph):
135 * text3.C (dispatch): Make LyX only repaint current paragraph in
136 case of character insert --> speedup. Also fix cursor draw
139 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
142 avoid a crash (bug 1891)
144 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * text2.C (getStringToIndex): constify cur argument.
150 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
151 argument has been given
152 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
153 try to invoke LFUN_INSET_APPLY).
155 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
156 if no inset was created by doInsertInset
157 (doInsertInset): return true if an inset has been inserted.
159 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * vspace.C (asGUIName): new method. A version of the space
162 suitable for showing on screen.
164 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
167 * lyxrc.C: rename "ASCII" to "Plain Text"
169 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * buffer_funcs.C (expandLabel): take a Buffer as argument;
172 translate the labelstring.
173 (setCounter): translate labelstring as needed.
175 * output_docbook.C (makeCommand): fix expandLabel invokation
177 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
179 * BufferView.C: fix dialog title
181 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
183 * lyx_main.C (priv_exec): fix logic error with help from Angus
184 * lyx_main.C (parse_execute): set is_gui = false and remove now
185 obsolete comment about a segfault
187 2005-05-18 Angus Leeming <leeming@lyx.org>
189 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
191 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
193 * tabular.[hC]: added setCellInset to fix tabular paste.
195 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
197 * buffer.C (save): check if destination is writable before trying
200 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
202 * BufferView_pimpl.C (update): fix processEvents -caused update
205 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * buffer_funcs.C (setCounter): fix test for numbering of
210 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
211 depth correctly; use optional argument when it exists
213 * lyxtextclass.C: remove unused MaxCounterTags enum
214 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
215 (max_toclevel, min_toclevel): new methods.
217 * MenuBackend.C (expandToc2): fix case where depth is smaller than
218 the smallest depth in toc.
220 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
221 layouts that should not appear in a table of contents.
223 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * cursor.h (undispatched, noUpdate): add comments from André
227 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
231 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
233 2005-05-07 André Pönitz <poenitz@gmx.net>
235 * cursor.[Ch] (leaveInset): new function
237 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
239 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
241 2005-05-04 Angus Leeming <leeming@lyx.org>
243 * lyxfunc.C (getStatus): disable the spell checker dialog if
244 none of USE_[AIP]SPELL are defined.
246 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
248 * tabular.C (setWidthOfCell): remove obsolete comment
250 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
252 * paragraph.C (bibitem):
253 * buffer_funcs.C (setCounter):
254 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
256 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
258 * text3.C (getStatus): immediately return after setOnOff
260 * rowpainter.C: fix drawing of appendix start
262 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
264 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
265 SwitchBetweenClasses and remove the unused return value.
266 Handle character styles, too
268 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
270 * factory.C (createInset): handle undefined character styles
272 2005-05-02 Angus Leeming <leeming@lyx.org>
274 * buffer.C: protect the #include of utime.h with a preprocessor
277 2005-05-02 Angus Leeming <leeming@lyx.org>
279 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
280 function so that auto-saving works, albeit in a blocking manner.
282 * Makefile.am: make compilation of the client sub directory, of
283 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
284 on conditionals set at configure time.
286 * SpellBase.[Ch]: no longer an abstract base class. Instead,
287 it can be compiled in its own right but has no-op functionality.
289 * aspell.C, pspell.C: remove preprocessor guards. The files should
290 be compiled only if the necessary functionality exists.
292 * lyxserver.C, lyxsocket.C: disable on Windows.
294 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
296 * text.C (leftMargin): Fix the parindent use bug (1764)
299 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
301 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
304 2005-04-25 Angus Leeming <leeming@lyx.org>
312 include <config.h> in .C files, not .h ones.
314 protect headers inside preprocessor guards.
316 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * FuncStatus.h (StatusCodes): document
320 2005-04-21 André Pönitz <poenitz@gmx.net>
322 * FuncStatus.h (enabled, onoff): document
324 2005-04-19 Angus Leeming <leeming@lyx.org>
326 * BufferView_pimpl.C (cursorToggle): no longer test whether
327 any child processes have been reaped before calling
328 handleCompletedProcesses().
330 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
332 * text3.C (dispatch): fix, finally fix, the language problem in
333 new lyxtexts, without disabling on-the-fly font changes (Helge's
336 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
338 * text3.C (dispatch): set cursor on double/triple click events
341 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
344 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
346 * rowpainter.C (paintFirst): simplify the code a little bit. In
347 particular, remove the test for secnumdepth.
348 * text.C (setHeightOfRow): only allocate space for chapter number
349 when updateCounters provided an actual label, instead of looking
350 at secnumdepth directly.
352 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
354 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
355 paragraphs when secnumdepth is large enough or, for environments,
356 when they are not the first in a sequence.
358 2005-04-17 Angus Leeming <leeming@lyx.org>
360 * buffer.C (makeLaTeXFile): replace code to manipulate a path
361 containing space and '~' characters with a call to latex_path().
363 2005-04-17 Angus Leeming <leeming@lyx.org>
365 * converter.C (convert): protect all args of convertDefault.sh
368 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * text3.C (dispatch): change the layout to "Caption" after inserting
373 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
375 * text3.C (dispatch): fix language problem in newly created
376 textinsets (and main text) in non-english docs
378 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
380 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
381 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
382 * text3.C (getStatus): disable LFUN_INSET_MODIFY
384 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
389 * rowpainter.C (getFont): Fix metrics bug introduced by inset
392 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
395 output of \item arguments without trailing text.
397 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * FontIterator.C (operator*): avoid a copy of the font.
401 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
403 * rowpainter.C (getFont): fix language bug from previous fix
405 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
407 * rowpainter.C (RowPainter, getFont): fix font inside inset
410 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
412 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
413 preventing inserted font, deco, delim insets jumping to start of
416 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
418 * lyxfunc.C (dispatch): translate message before sending it to the
421 2005-03-29 Angus Leeming <leeming@lyx.org>
423 * lyx_main.C (priv_exec): call os::internal_path on each file passed
424 to LyX on the command line.
426 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
428 * vc-backend.C: use QuoteName to protect file names wherever
431 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
434 * BranchList.h: fix bugs 1844,1845: document settings don't
437 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * lyxrc.C (setDefaults, read, output, getDescription): add support
440 for tex_allows_spaces.
442 * exporter.C (Export): allows files in directory containing spaces
443 if tex_allows_spaces is true.
445 * buffer.C (makeLaTeXFile): if the document path contains spaces,
446 output it in double quotes.
448 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
450 * rowpainter.C: use default text height for drawing change tracker
453 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
455 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
457 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
460 directory is missing.
462 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
464 * text2.C: fixed the fix, extended to other case.
466 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
468 * text2.C: fix for cursor up/down stuck in math [bug 1792]
470 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
472 * text2.C (cursorUp): get rid of a crash
473 * text.C (x2pos): add an assert
475 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * lyxfunc.C (getStatus): fix warning when assertions are disabled
481 * dociterator.C: include <boost/current_function.hpp>, which is
482 needed when assertions are disabled.
484 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
486 * text2.C: fix for stuck cursor when traversing two
487 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
489 2005-02-25 Andreas Vox <avox@arcor.de>
491 * output_docbook.C (makeParagraph): suppress trailing newline
492 after a run of paragraphs
494 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
496 * paragraph.C: fix for confused change tracker when pasting
497 text that begins with a lineseparator. [bug 1827]
498 (setChange(0, Change::INSERTED);)
500 * paragraph_funcs.C: fix for lost changes on triple-paste
501 in change tracking mode [bug 1827] (par.setChange()).
503 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * text2.C (updateCounters, setCounter, expandLabel): move to
508 * buffer_funcs.C (updateCounters): turn into a free standing
509 function and add a buffer parameter. Remove dead code for tracking
511 (setCounter): change into a free-standing function which gets a
512 dociterator as argument. Use this iterator to fix captions in a
513 simple way. When no float is found above the caption, use the
514 labelstring of the caption layout as default.
516 * text.C (breakParagraph, backspace):
517 * text2.C (init, setLayout, changeDepth):
518 * text3.C (dispatch):
519 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
522 * dociterator.C (forwardPar): make it much faster by calling
523 forwardPos() only when really necessary.
525 * output_docbook.C (makeCommand): adapt to expandLabel move.
527 * cursor.C: remove unused variable
529 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
531 * paragraph_funcs.C: fix crash when pasting insets in change
532 tracking mode [bug 1277] (honour change type in moveItem).
534 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
536 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
538 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * BufferView.C (setCursor): change to use a DocIterator.
541 (gotoLabel): use BufferView::setCursor (other part of bug 781).
542 (putSelectionAt): adapt to BufferView::setCursor change.
544 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
545 moved here from LyXText and rewritten to use proper cursor
546 methods. Fixes bug 1787, 616 and 835.
548 * BufferView_pimpl.C (restorePosition): set the cursor correctly
549 when inside an inset (part of bug 781).
550 (dispatch): adapt to change of BufferView::setCursor.
551 (getStatus, dispatch): handle LFUN_GOTOERROR,
552 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
554 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
555 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
556 * text3.C (gotoNextInset, gotoInset): removed.
558 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
562 2005-02-15 Angus Leeming <leeming@lyx.org>
564 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
565 can be used meaningfully in a comparison.
567 2005-02-13 André Pönitz <poenitz@gmx.net>
569 * bufferview_funcs.C (coordOffset): improve cursor drawing
571 2005-02-13 André Pönitz <poenitz@gmx.net>
573 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
574 * Cursor.C (dispatch): use fixIfBroken
575 * lyxfunc.C (getStatus): use fixIfBroken
577 2005-02-15 Angus Leeming <leeming@lyx.org>
579 * lyx_main.C (error_handler):
581 * lyxrc.C (setDefaults):
583 #include "environment.h".
585 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
587 2005-02-15 Angus Leeming <leeming@lyx.org>
589 * lyxserver.C (startPipe): squash MSVC warning "local variable
590 'fd' used without having been initialized".
592 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
594 * BufferView_pimpl.C: revert accidental commit.
596 2005-02-14 André Pönitz <poenitz@gmx.net>
598 * dociterator.[Ch]: new member forwardPosNoDescent(),
599 which doesn't enter nested insets.
600 * text2.C (setFont): use forwardPosNoDescent() instead
601 of ForwardPos() (fixes crash on font change).
603 2005-02-13 Angus Leeming <leeming@lyx.org>
605 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
606 only if lyxrc.path_prefix is not empty.
608 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
610 * bufferparams.C (readGraphicsDriver): prevent crash
612 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
614 * text2.C (setCounter): check for inInset() == 0
616 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
619 but use update() to get correct screen display; use convert
620 instead of istringstream.
621 (getStatus): handle LFUN_GOTO_PARAGRAPH
623 * lyxfunc.C (dispatch, getStatus): do not handle
624 LFUN_GOTO_PARAGRAPH here.
626 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
628 * text3.C (dispatch): size() -> depth()
630 * text2.C: remove some debug output
632 * paragraph.C: ws changes only
634 * lyxfunc.C (getStatus): size() -> depth()
636 * dociterator.h (clear, push_back, pop_back, internalData,
637 operator[], resize, empty): new functions
638 Make StableDocIterator and operator== be friends. Don't inherit
639 from std::vector use a privat class variable slices_ instead.
642 * dociterator.C: update because of not inheriting from std::vector
643 anymore. Call explictly to slices_ instead. Use depth() instead of
644 size() and top() instead of back()
646 * cursor.C: chagne size() -> depth and back() -> top(). Also
647 remove some direct operator[](i) calls in favour of foo[i]
648 (getFont): remove some dead code
650 * bufferview_funcs.C (coordOffset): size() -> depth()
652 * buffer.C: ws changes only
654 * CutAndPaste.C (eraseSelection): back() -> top()
656 * BufferView_pimpl.C (selectionRequested): back() -> top()
658 * BufferView.C (setCursor): size() -> depth()
660 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
662 * text3.C (cursorPrevious): return true if depm changed something
664 (dispatch): rename sl to oldTopSlice, remove moving use the new
665 NoUpdate func attrib instead. Make sure that needsUpdate is set
666 for function that have NoUpdate, but where depm might have changed
669 * text2.C (cursorLeft): make us return true if depm changed
672 (cursorUpParagraph): ditto
673 (curosrDownParagraph): ditto
674 (cursorUp, cursorDown): ditto, make sure to read comments in code
675 (deleteEmptyParagraphMechanism): remove an assert, also return
676 true if just a single char was deleted.
678 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
679 cursor that we modify, to avoid modifying an active cursor before
680 we call setCursor. This allows depm to run. Also return true if
681 depm deleted something.
683 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
684 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
685 cursorDownParagraph, cursorPrevious and cursorNext, return true if
686 something was changed in the buffer because of them (ie. depm run)
688 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
689 debug messages. Make update by default be false. Make sure that
690 the result of update is retained throught several calls down to
693 * LyXAction.h: add a new func_attrib: NoUpdate
695 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
696 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
697 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
699 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
701 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
704 bv_->owner(), bv_->buffer() by direct references to the private
706 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
707 (getStatus): isSavedPosition() is in BufferView::Pimpl.
708 (fitCursor): center() is in BufferView::Pimpl.
709 (getStatus, trackChanges, dispatch): no need for a temporary buf
711 (fitCursor, workAreaDispatch): use workarea().workheight()
713 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
715 * CutAndPaste.C (pasteSelectionHelper): fix a crash
717 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
719 * buffer.C: format up to 241.
720 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
721 break if pasting into ERT
722 * lyxfunc.C (getStatus): suppress mathpanel and
723 LFUN_DIALOG_SHOW_NEW_INSET in ERT
725 2005-02-01 Angus Leeming <leeming@lyx.org>
727 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
729 2005-02-01 Angus Leeming <leeming@lyx.org>
731 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
732 calling fs::is_directory().
734 2005-01-31 Angus Leeming <leeming@lyx.org>
736 * lyx_main.C (priv_exec): specify explicitly the relative location
737 of the top level build directory when run in-place.
739 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
742 LyXText containing the cursor, not the top-level one.
744 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
746 (insertStringAsLines): rename par to pit; use temporary variable
747 par to hold a Paragraph; do not store par.layout() in a variable,
748 since the pointer may die when breaking paragraphs; pass pars to
749 breakParagraph() instead of Buffer::paragraphs().
751 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
753 * lyxlex_pimpl.h: #include <fstream>.
755 * BufferView.[Ch] (getLyXText): add a const version.
757 * BufferView_pimpl.C: add debug aids.
762 * paragraph_funcs.h: add commentary explaining what the class does.
765 * coordcache.[Ch]: add lots of commentary.
766 (startUpdating, doneUpdating): debug aids.
767 (arrays, insets, parPos, getParPos): accessors to private data.
769 * cursor_slice.[Ch] (text): add a const version.
770 * dociterator.[Ch] (text, innerText): add const versions.
772 * lyxtext.h (breakParagraph): change the keep_layout arg to a
775 * paragraph.C (getRow, pos2ros): add asserts.
777 * paragraph.h: add commentary. Lots of.
779 * paragraph.[Ch] (metrucs, draw): removed.
782 * rowpainter.[Ch]: const-correct changes.
784 * text.C: various obvious clean-ups. Removal of ancient cruft.
787 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
789 * vc-backend.C (find_file): rewrite to use boost.filesystem
792 * main.C (main): set default name check for boost.filesystem to
795 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
798 (actOnUpdatedPrefs): ditto
800 * lyx_main.C (init): rewrite to use boost.filesystem
801 (queryUserLyXDir): ditto
803 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
804 (getContentsOfAsciiFile): ditto
806 * lastfiles.C (readFile): rewrite to use boost.filesystem
808 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
810 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
813 * buffer.C (Buffer): adjust for destroydir
814 (getLogName): rewrite to use boost.filesystem
816 (save): use fs::copy_file (from fs_extras)
818 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
820 * LaTeX.C (run): rewrite to use boost.filesystem
821 (scanAuxFiles): ditto
822 (handleFoundFile): ditto
824 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
826 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
828 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
830 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
832 * lyxlayout.[Ch]: change some vars from float to double
834 * buffer.C (readFile): make a local var const
836 * Several files: use convert<> instead of atoi,strToXXX and friends
838 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
840 * LaTeXFeatures.[Ch]: Add a static list packages_ that
841 holds the contents of packages.lst. New functions getAvailable
842 and isAvailable to parse and check that list, resp.
846 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
848 * bufferparams.[Ch]: new param output_changes.
850 * Buffer.C: increase file format to 240.
851 Use output_changes and isVailable.
855 * paragraph_pimpl.C: Use output_changes and isVailable.
857 2005-01-23 Angus Leeming <leeming@lyx.org>
859 * output_latex.C: #include "insetbibitem.h", rather than
860 forward declare function bibitemWidest.
862 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
864 * lyx_main.C (init): make it compile on the Mac.
866 2005-01-20 Angus Leeming <leeming@lyx.org>
868 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
869 (setLyXMisc): (char string literal) != (char string literal) is
870 performing a comparison on the addresses. Convert one operand
871 explicitly to string to guarantee expected behaviour.
874 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
877 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
879 * output_plaintext.C: remove unneeded #include gzstream.h.
881 2005-01-20 Angus Leeming <leeming@lyx.org>
883 * SpellBase.h: rename some of the elements of the Result enum.
890 * pspell.C (check): ditto
892 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
894 * buffer.C: add #include <fstream>.
896 * lyx_main.C (init): Compile fix.
898 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
900 2005-01-20 Angus Leeming <leeming@lyx.org>
902 * mover.h: change commentary to reflect the changed meaning of
905 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
907 * output_linuxdoc.C (linuxdocParagraphs): silence warning
909 * lyxfind.C (MatchString::operator()): remove bogus semicolon
911 2005-01-20 Angus Leeming <leeming@lyx.org>
913 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
914 printing diagnostic data by not dereferecing an iterator past the
917 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
919 * buffer.C (readHeader): use "&&" rather than "and".
921 * lyxserver.h (inPipeName, outPipeName): make these const.
923 2005-01-19 Angus Leeming <leeming@lyx.org>
925 * lyx_main.C (error_handler, init): protect SIGHUP with
926 #ifdef SIGHUP guards.
928 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
932 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
934 * text.C (setHeightOfRow): add a margin at the top and bottom of
935 the document (bug 1761)
937 2005-01-17 Angus Leeming <leeming@lyx.org>
939 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
940 with "python ". Workaround for a brain-dead Windows.
942 2005-01-16 Angus Leeming <leeming@lyx.org>
944 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
945 for MacOSX and Windows to use prependEnvPath.
946 Strip out the hard-coded block to add elements to the PATH for
947 MacOSX and replace it with a call to prependEnvPath using the
948 contents of LyXRC::path_prefix.
949 (queryUserLyXDir): strip out the code to run reconfigure, instead
950 returning a boolean indicating the necessity to do so.
951 (reconfigureUserLyXDir): contains the code to reconfigure the
952 user support directory. Is now called after the various LyXRC data
953 files have been read.
955 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
957 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
959 * converter.[Ch] (convert): take a new parameter try_default. Use
960 a default converter (imagemagick) if try_default is true.
962 2005-01-13 Angus Leeming <leeming@lyx.org>
964 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
966 (write): output LyXRC::cygwin_path_fix as necessary.
968 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
971 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
973 2005-01-12 Angus Leeming <leeming@lyx.org>
975 * lyx_main.C (init): set the PATH variable to include the
976 directory containing the LyX binary when running on Mac or Windows.
978 2005-01-12 Angus Leeming <leeming@lyx.org>
980 * lyx_main.C (init): remove cruft that purports to set the locale
981 dir. It doesn't and is not needed anyway.
983 2005-01-10 Angus Leeming <leeming@lyx.org>
985 * Makefile.am: remove the lyx_main.C special casing.
987 * BufferView_pimpl.C:
993 * messages.C: use support/package.h to provide the paths to the
994 various directories used by LyX.
996 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
998 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
999 layout if pasting into an empty paragraph)
1001 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1003 * tex-accent.C: add <string>
1005 2005-01-06 José Matos <jamatos@lyx.org>
1007 * ParagraphParameters.C (write): put every parameter in its own line.
1008 * paragraph.C (write): reduce number of consecutive empty lines exported.
1009 * buffer.C (LYX_FORMAT): increase file format to 239.
1011 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1013 * everywhere: change support/tostr.h -> support/convert.h
1015 * tabular.C: make all write_attributes templates, tostr -> convert
1017 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1018 (emptyTag): and -> &&, and fix type for ret from getChar
1019 (getFirstWord): fix type for ret from getChar
1020 (onlyText): and -> &&
1021 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1024 * toc.C (goTo, action):
1025 * text3.C (dispatch):
1026 * text.C (currentState):
1027 * tex-accent.C (DoAccent):
1030 * lyxfunc.C (menuNew):
1031 * lyxfinc.C (replace):
1032 * counters.C (laberItem):
1033 * bufferview_funcs.C (font2string):
1034 * bufferparams.C (writeFile):
1035 * buffer.C (readFile):
1037 * MenuBackend.C: tostr -> convert
1039 * LaTeX.C (runMessage): fix format
1040 (scanAuxFiles): tostr -> convert
1042 * BufferView_pimpl.C (savePosition): fix format
1043 (restorePosition): ditto
1046 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1048 * Spacing.[Ch]: New method getValueAsString().
1052 * ParagraphParameters.C:
1055 * text3.C: store/read spacing value as string.
1057 * rowpainter.C: change float value (spacing_val) to double.
1059 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1060 broken custom document spacing).
1062 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1064 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1065 namespace, also more use of temp references and const
1067 * cursor.[Ch] (getStatus): move to lyxfunc.C
1069 * bufferparams.C: reformat slightly
1071 * bufferview_funcs.C (font2string): constify arg
1077 * buffer_funcs.C: (many funcs): constify arg on function
1078 definitions, also make more local vars const, also add ASSERTS on
1081 * buffer.C (LYX_FORMAT): put const in correct place
1082 (many funcs): constify arg on function definitions, also make
1083 more local vars const
1085 * aspell_local.h: remove "struct" from typdef setup
1087 * aspell.C (check): make word_ok const
1088 (nextMiss): simplify slightly
1091 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1093 * lyxrc.[Ch]: store all float values as strings.
1094 use int (not float) for lyxrc.dpi.
1096 2005-01-04 Angus Leeming <leeming@lyx.org>
1098 * lyx_cb.C (Reconfigure):
1099 * lyx_main.C (queryUserLyXDir):
1100 to run the <system_lyxdir>/configure correctly on Windows, prefix
1101 the path to the script with "sh " when generating the string that
1102 is passed to system().
1104 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1106 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1108 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * lyxlength.C (asLatexString): get rid of setprecision
1112 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * text2.C (setLayout): remove unused variable endpit.
1115 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1117 * paragraph.C (onlyText): remove unused variable style.
1119 * cursor.C (bruteFind): remove unused variables beg and end.
1121 * Makefile.am (dist_noinset_DATA): not needed anymore
1123 * cheaders/*: remove.
1125 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1127 * text3.C: fix LFUN_MATH_MODE.
1129 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * buffer_funcs.C (countWords): new function. Counts words between
1134 * BufferView_pimpl.C (getStatus, dispatch): handle
1137 * LyXAction.C (init):
1138 * lfuns.h: add LFUN_WORDS_COUNT.
1140 2004-12-19 Angus Leeming <leeming@lyx.org>
1142 * buffer.C (save): s/slashify_path/internal_path/.
1144 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1146 * lyxfind.C (findChange): do not search for end of pars, because
1147 the change tracker cannot handle this (fixes bug 1719).
1149 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1151 * paragraph.[Ch] (autoBreakRows): remove
1153 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1155 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1156 avoid using the paragraph one
1158 * text2.C (LyXText, insertStringAsLines): adjust
1160 2004-12-16 Angus Leeming <leeming@lyx.org>
1164 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1166 2004-12-14 Angus Leeming <leeming@lyx.org>
1168 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1170 * bufferlist.C (emergencyWrite):
1171 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1174 2004-12-14 Angus Leeming <leeming@lyx.org>
1176 * main.C: (main): no longer pass pointers to os::init.
1178 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1180 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1181 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1183 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1186 * text3.C: remove selection_possible global flag
1188 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1190 * text2.C (getSelectionSpan): remove
1191 (changeDepth, changeDepthAllowed): adjust
1193 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1195 * Makefile.am (BOOST_LIBS): use boost variables
1197 2004-12-03 José Matos <jamatos@lyx.org>
1199 * buffer.C: format up to 238.
1201 2004-12-03 José Matos <jamatos@lyx.org>
1203 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1205 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1207 * cursor.C (goUpDown): remove call to idxUpDown2
1209 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1211 * tabular.[Ch]: use size_t-like types for cell, row and column
1214 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * lyxfunc.C (getStatus): do not lose previous information when
1217 calling BufferView::getStatus; do not set a default "Command
1218 disabled" message at the beginning, but just before returning.
1220 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1222 * cursor.h (getStatus): add better comment from src/cursor.C
1224 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1226 * text3.C (getStatus): return false when the lfun is not handled
1228 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * broken_headers.h: remove
1232 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1234 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1236 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1237 offset_ref accessors
1239 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1240 top_y_, merge fitcursor with update
1241 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1243 (metrics): introduce
1244 (workAreaDispatch): adapt to new coord scheme
1245 (redoCurrentBuffer): remove
1247 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1249 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1252 * coordcache.[Ch]: add paragraph cache and helpers
1254 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1257 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1258 (targetX, setTargetX): introduce
1260 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1261 baseline -> ascent, as the rest of lyx
1263 * lyxtext.h: remove redoParagraphs, updateParPositions,
1264 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1265 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1266 have ascent/descent (ascent is ascent of first par)
1268 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1271 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1273 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1275 * pariterator.C: fix infinite loop introduced in par->pit renaming
1277 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1278 in insets and LyXText, draw two off-screen paragraphs using
1279 NullPainter, and adapt to new coord scheme
1283 * text3.C: adapt lfun handlers to the new coord scheme, which
1284 means: there's only guaranteed coord information for onscreen pars
1285 plus one above and one below. This implies that one can do search
1286 from y coordinates in the range [-1,workHeight]
1288 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1290 * rename a lot of InsetOld to InsetBase
1292 2004-11-25 Angus Leeming <leeming@lyx.org>
1294 * BufferView_pimpl.C:
1296 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1298 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1301 call BufferView::getStatus if LCursor::getStatus did nothing
1302 (setStatusMessage, getStatusMessage): removed.
1304 * FuncStatus.C (message): new methods. Used to provide an error
1305 message indicating why a command is disabled.
1306 (clear, |=, FuncStatus): update for message.
1308 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1310 * lyxfunc.C (dispatch): always call sendDispatchMessage
1312 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1315 * BufferView_pimpl.C:
1320 * cursor_slice.[Ch]:
1323 * paragraph_funcs.C:
1329 * undo.C: par->pit renaming
1331 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1333 * tabular.C (cellstruct): use initialization, store a shared_ptr
1334 to insettext instead of the insettext directly, adjust to fit.
1335 (operator=): new function
1336 (swap): new function
1337 (rowstruct): use initialization
1338 (columnstruct): use initialization
1339 (ltType): use initialization
1342 * lyxlength.h (swap): new function
1344 * LColor.[Ch] (operator=): use the common semantics
1346 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * lyxfind.C (findNextChange): update the bufferview after setting
1351 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1353 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1354 number of InsetOptArgs has already been inserted.
1356 * output_latex.C (latexOptArgInsets): new method. This outputs all
1357 the optarg insets, up to the limit defined in the layout file.
1358 (optArgInset): removed
1359 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1361 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1363 * paragraph.C (isLetter): remove special spellchecker-related
1364 code; return true also for digits
1365 (isWord, isKomma): remove
1367 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1368 * lyxfind.C (MatchString()): use isLetter instead of isWord
1370 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1372 * pariterator.h (operatir=): comment out un-implemented member
1375 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1378 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1380 * lyxfont.h: include LColor.h to satisfy concept checks.
1382 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1384 * pariterator.h: add typdefs for value_type, difference_type,
1385 pointer and reference to satisfy concept checks. Also add default
1386 constructor for same reason.
1388 * pariterator.C (operator++): add post-increment operator to
1389 satisfy concept checks.
1391 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1394 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1396 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1397 checks. Also rename base_type to BaseType to follow naming
1400 * FloatList.h: include Floating.h to satisfy concept checks.
1402 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1404 * lyxfunc.C (getStatus): when the origin of the request is menu or
1405 toolbar, and the LyXView does not have focus, do as if there was
1406 no buffer (bug 1720)
1408 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1409 FuncRequest to individual entries of LFUN_SEQUENCE
1411 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * output_latex.C (TeXOnePar): override runparams.moving_arg
1414 according to the needprotect value of the current paragraph (bug
1417 * paragraph.C (simpleTeXOnePar): no need to override
1418 runparams.moving_args here
1420 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1422 * vspace.C: fix off-by-one-error, related to fix #1682
1424 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1426 * lengthcommon.C: a more general fix for bug 1682
1428 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1430 * text.C (backspace): fix crash
1432 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1434 * format.[Ch] (getFormatFromFile): new method
1435 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1437 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1439 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1441 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 * lyxfunc.C (dispatch): remove the verbose argument
1444 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1447 * kbmap.C (defkey): set the origin of func to KEYBOARD
1449 * MenuBackend.C (MenuItem):
1450 * ToolbarBackend.C (add): set the origin of func to UI
1452 * funcrequest.[Ch]: add origin member, which indicates which part
1453 of LyX requests an action
1455 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1457 * converter.C (move): don't lie in the error message
1458 * converter.h (isReachable, move): document
1460 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1462 * buffer.C: remove unused using lyx::support::atoi
1463 * paragraph_funcs.C: ditto
1465 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1467 * bufferlist.C (exists): use bind and equal_to instead of
1470 * lyxtextclasslist.C (NumberOfClass): ditto
1472 * cursor.C (insert): use for_each instead of explicit for loop
1474 * bufferlist.C (getFileNames): use std::transform and
1475 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1477 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1480 * buffer.C (changeLanguage): use for_each instead of explicit for
1482 (hasParWithID): implement using getParFromID
1484 * LaTeXFeatures.C: ws change only
1486 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1489 * BufferView_pimpl.C (trackChanges): use for_each instead of
1492 2004-11-04 André Pönitz <poenitz@gmx.net>
1495 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1497 * dociterator.C (asDocIterator): use hard assert again.
1499 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * lyxlength.C (asLatexString): rewrite so that it does not use
1504 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1506 * text3.C (specialChar, dispatch): make sure cursor moves to the
1507 right after inserting an inset
1509 2004-11-02 José Matos <jamatos@lyx.org>
1511 * output_docbook.C (docbook):
1512 * paragraph.C (getID):
1513 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1514 garantee that the output is always legal.
1516 * tabular.C (docbook):
1517 * outputprams.[Ch]: remove mixed contents.
1519 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1521 * text2.C (setCounter): prevent endless loop
1523 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1525 * exporter.C (copyFile): use the mover instead of support::copy()
1526 * exporter.C (Export): pass format and latex name to copyFile()
1527 * exporter.h (addExternalFile): document
1528 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1530 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1532 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1534 2004-10-30 José Matos <jamatos@lyx.org>
1536 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1537 text and no inset or font change. This allows to use CDATA
1538 sections just for the whole paragraph.
1540 2004-10-30 José Matos <jamatos@lyx.org>
1542 * paragraph.C (getFirstWord): remove unused variable.
1544 2004-10-30 José Matos <jamatos@lyx.org>
1546 * paragraph.C (getFirstWord): the content should always be escaped
1548 (simpleDocBookOnePar):
1549 * output_docbook.C (makeEnvironment): replace reference to CDATA
1552 2004-10-30 José Matos <jamatos@lyx.org>
1554 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1556 2004-10-30 José Matos <jamatos@lyx.org>
1558 * output_docbook.C (makeParagraphs):
1559 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1560 standard paragraph has only a given type of content drop the wrapper.
1562 2004-10-29 José Matos <jamatos@lyx.org>
1564 * output_docbook.C (makeEnvironment):
1566 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1568 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1570 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1571 (cleanID): sanitize any id.
1573 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1575 * buffer.C, lyxlex_pimpl.C:
1576 * lyxlex_pimpl.C (setFile):
1577 s/getExtFromContents/getFormatFromContents/
1579 2004-10-28 José Matos <jamatos@lyx.org>
1581 * output_docbook.C (makeEnvironment): move id to broadest possible
1584 * sgml.C (openTag): apply substitution of <> for all attributes.
1586 2004-10-28 José Matos <jamatos@lyx.org>
1588 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1589 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1590 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1592 * sgml.[Ch]: new version for open and closeTag for paragraph and
1593 for strings. Now they handle the ids of paragraphs.
1595 2004-10-26 Angus Leeming <leeming@lyx.org>
1597 * Makefile.am: add mover.[Ch].
1599 * converter.C (convert, move): use the new Movers to move external
1600 files to the temp directory.
1602 * lyx_main.C (init): ensure that the global system_movers data
1605 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1608 * mover.[Ch]: new files, defining a Mover as a utility to move an
1609 external file between directories and, if necessary, manipulate this
1610 file using a helper script.
1612 2004-10-25 José Matos <jamatos@lyx.org>
1614 * output_docbook.C (makeCommand): merge two if's that tested the
1617 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1619 * sgml.C (escapeString): fix warning in a better way
1621 2004-10-25 José Matos <jamatos@lyx.org>
1623 * sgml.C (escapeString): import the require boosts header file for
1624 tie, and avoid a signed unsigned comparison.
1626 2004-10-25 José Matos <jamatos@lyx.org>
1628 * sgml.h: add #include <string>
1630 2004-10-25 José Matos <jamatos@lyx.org>
1632 * sgml.[Ch] (escapeString): new function to escape all the string.
1634 2004-10-24 José Matos <jamatos@lyx.org>
1636 * paragraph.[Ch] (getFirstWord): new function to get the first
1637 word. Useful for description.
1638 (simpleDocBookOnePar): remove depth argument, add another that
1639 says where to start the paragraph.
1641 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1642 use the new functions to fix cleanly the support for descriptions.
1644 2004-10-24 José Matos <jamatos@lyx.org>
1646 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1647 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1648 * output_linuxdoc.C (linuxdocParagraphs):
1649 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1650 add buffer as argument.
1652 2004-10-24 José Matos <jamatos@lyx.org>
1654 * output_docbook.C (makeEnvironment, searchEnvironment): place
1655 CDATA inside paragraphs and fix scope for listitems.
1657 2004-10-24 José Matos <jamatos@lyx.org>
1659 * output_docbook.C: remove using statement for stack.
1661 2004-10-23 José Matos <jamatos@lyx.org>
1663 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1664 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1665 docbook. The new scheme is recursive and makes use of iterators, the
1666 same as latex export works.
1667 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1668 directly with the paragraph contents. This code was moved up to
1669 output_docbook.C (docbookParagraphs).
1670 * sgml.C (openTag, closeTag): removed unneeded newlines.
1671 (closeEnvTags) removed.
1673 2004-10-23 André Pönitz <poenitz@gmx.net>
1675 * undo.C (textUndoOrRedo):
1676 * dociterator.C (asDocIterator): work around crash
1678 * cursor.C (getStatus): replace ASSERT by more verbose error message
1679 and manual correction of the problem. Should increase stability
1680 while providing more sensible information.
1682 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1686 * bufferlist.C (previous, next): new methods
1689 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1691 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1693 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1694 entities to preamble.
1696 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1698 * messages.C (Pimpl): strip off translation context information
1700 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1702 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1703 the cursor is correct (bug 1694)
1705 2004-10-13 José Matos <jamatos@lyx.org>
1707 * output_docbook.C (docbookParagraphs): fix closing tags in the
1708 end of the document.
1710 2004-10-09 José Matos <jamatos@lyx.org>
1712 * buffer.C: format up to 237.
1713 * bufferparams.C (write): use tostr to convert booleans to strings.
1715 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1717 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1719 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1721 * LaTeX.C: implement use of babel language in xindy.
1723 2004-10-05 José Matos <jamatos@lyx.org>
1725 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1726 Add new translators to help reading and writing the lyx file.
1728 2004-10-05 José Matos <jamatos@lyx.org>
1730 * ParagraphParameters.C (read):
1731 * text.C (readParToken): replace nexToken by more appropriate lex
1734 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1736 * LaTeX.C (runMakeIndex):
1737 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1738 (usually 'makeindex') configurable.
1740 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1741 with a variable rather than with a number.
1743 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1745 * output_latex.C (TeXOnePar): make sure font setting is the first
1746 thing that gets output (and the last at the end). Should fix bug
1749 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1751 * pch.h: use proper signal include
1753 * LaTeX.h: Use preferred calling of Boost.Signal
1756 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1758 * pch.h: dont include <boost/function/function0.hpp>
1760 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1762 * paragraph_pimpl.h: remove usage of ShareContainer
1764 * paragraph_pimpl.C: remove initialization of ShareContainer.
1766 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1770 * BufferView.C (putSelectionAt): change the semantics when
1771 backwards == true: now, this just swaps cursor and anchor wrt the
1774 * BufferView.h (putSelectionAt): add some documentation
1776 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1777 make sure backwardChar is done at least once (to avoid getting
1779 (findNextChange): use putSelectionAt in the forward direction
1780 (operator()): use Paragraph::isWord
1782 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1784 * Spacing.C (set): c_str fix
1786 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1788 * lyx_cb.C (Reconfigure): quote the name of configure script in
1789 case it contains spaces
1791 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1795 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1796 (BOOST_LIBS): use top_buildir when looking for the file
1798 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1800 * pch.h: do not use include boost/format.hpp, multiple symbols
1801 will result (gcc bug)
1804 2004-08-23 José Matos <jamatos@lyx.org>
1806 * bufferparams.C (readToken): fix reading of the author field.
1808 2004-08-20 José Matos <jamatos@lyx.org>
1810 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1812 2004-08-20 José Matos <jamatos@lyx.org>
1814 * lyxlex.[Ch] (findToken): remove function.
1816 * ParagraphParameters.C (findToken):
1817 * bufferparams.C (findToken): replace call for previous function
1818 with local copy. This local function has one more argument, the
1819 read string argument.
1821 2004-08-16 José Matos <jamatos@lyx.org>
1823 * ParagraphParameters.C (write):
1824 * Spacing.C (writeFile):
1825 * bufferparams.C (writeLaTeX):
1826 * lyx_cb.C (Reconfigure):
1827 * paragraph.C (write):
1828 * tabular.C (write): remove unnecessary space at end of line.
1831 2004-08-16 José Matos <jamatos@lyx.org>
1833 * text.C (readParagraph): remove debug message.
1835 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1837 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1840 * output_plaintext.C (asciiParagraph): set depth correctly
1842 * outputparams.h: add member depth
1844 * paragraph_funcs.C (ownerPar): remove.
1846 * text2.C (setCounter): remove first_pit; comment out some
1847 non-working code that uses ownerPar
1849 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1852 2004-08-16 José Matos <jamatos@lyx.org>
1854 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1855 For the same level of importance use the same chanel to report problems.
1856 (read): add code to deal with \begin_body and \end_body.
1859 2004-08-15 José Matos <jamatos@lyx.org>
1861 * lyxlex.C (getString): fix comment, buffer::readBody is now
1862 buffer:readDocument.
1864 * tex-strings.C (string_papersize): Default -> default,
1865 Custom -> custom, for consistency with other options.
1867 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1871 * Makefile.am: support pch
1873 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1875 * text.C (readParToken): remove the static LyXFont variable and
1876 pass it as a parameter instead. This fixes a nasty bug where an
1877 inset will be inserted with a bad font in some situations
1878 (readParagraph): adapt
1880 * text2.C (setCounter): reduce number of calls to pars_[pit]
1882 * text.C (singleWidth): add an assert, fix a test
1884 * rowpainter.C (paintText): reduce number of calls to singleWidth
1886 * paragraph.C (isHfill):
1887 (isNewline): ws only
1889 2004-08-14 André Pönitz <poenitz@gmx.net>
1894 * lyxtext.h (several functions): use a Paragraph & argument
1897 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1899 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1901 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1903 * text.C (singleWidth): remove useless test
1905 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1907 * tabular.h: remove bogus comments
1909 * tabular.C (getDescentOfRow):
1910 (isPartOfMultiColumn): add assertions
1912 * lyxlength.C (inPixels): remove #warning
1914 2004-08-14 André Pönitz <poenitz@gmx.net>
1916 * paragraph.h: inline getChar()
1918 * BufferView.h: remove unused declarations
1920 2004-08-14 José Matos <jamatos@lyx.org>
1922 * Buffer.[Ch] (readDocument): new name for old readBody.
1923 * Buffer.C: new file format, new keywords: \begin_document,
1924 \begin_header, \begin_body, \end_body.
1926 * bufferparams.C (readToken): replace all calls to lex.nextToken
1927 by lex.next(). Do the same to eatLine except where really needed.
1929 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1930 line when writing to the lyx file.
1932 * output_plaintext.C (asciiParagraph): fix Bibliography style
1935 * text.C (read): fix end of file handling.
1937 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1939 * MenuBackend.C (Menu::operator[]): new method to access
1940 individual menu items
1941 (Menu::hasFunc): new method. search for an item that corresponds
1943 (MenuBackend::specialMenu): new method
1944 (MenuBackend::expand): if a special menu has been set, skip
1945 entries whose func() appears in this menu
1947 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1949 * text3.C: use Debug::DEBUG a bit more
1951 * text.C (leftMargin): try to simplify a tiny bit change var x to
1952 l_margin. Dont output the wide margins always.
1953 (rightMargin): no margin in inner texts
1955 * rowpainter.h (nestMargin): new func
1956 (changebarMargin): new func
1957 (rightMargin): new func
1959 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1963 * factory.C (createInset): modify setDrawFrame
1965 * cursor.C: use Debug::DEBUG a bit more
1967 2004-08-14 André Pönitz <poenitz@gmx.net>
1970 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1971 cache for all insets in (at least partially) visible (top-level)
1974 * BufferView_pimpl.C: reset external coord cache before every update.
1975 This means the coord cache only contains valid entries.
1977 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1980 * BufferView_pimpl.C (getInsetByCode): move function out of class
1981 and change in to a template in anon namespace. Also fix to do what
1984 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1987 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1989 (breakParagraph): rename par to par_offset and use a local
1990 reference. Add code to keep the language over a rebreak.
1991 (breakParagraphConservative): rename par to par_offset, use a
1993 (mergeParagraph): ditto
1995 (isFirstInSequence): ditto
1996 (outerFont): rename pit to par_offset
1998 * paragraph.C: ws change
1999 * paragraph.h: ditto
2003 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2005 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2008 * paragraph.C (simpleTeXOnePar): when we have a \item with
2009 optional argument, enclose the argument with curly brackets (in
2010 case it contains a closing square bracket)
2014 * text3.C (checkInsetHit): constify
2016 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2018 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2019 documents (bug 1629)
2021 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 Fix toggling of collapsable insets with the mouse (bug 1558)
2025 * lyxfunc.C (dispatch): adapt to LCursor changes
2027 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2028 make sure that dispatch is not invoked twice
2030 * cursor.C (needsUpdate): new method
2031 (dispatch): return void
2032 (result): new method, to access the DispatchResult of the cursor.
2034 2004-08-13 José Matos <jamatos@lyx.org>
2036 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2038 2004-08-13 André Pönitz <poenitz@gmx.net>
2040 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2042 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2045 2004-08-12 André Pönitz <poenitz@gmx.net>
2047 * text3.C: take out the 'cursor right' form insertInset and only
2048 do it in those places when it is really needed. Fixes crash on
2051 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2053 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2055 * BufferView_pimpl.C (setBuffer): initialize the current font of
2056 the underlying LyXText
2058 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2060 * kbsequence.C (print): use UI native formatting for menu
2063 * text.C (insertChar): call Paragraph::insertChar with a font
2066 * paragraph.C (insertInset, insertChar): the version that takes a
2067 LyXFont argument is now a wrapper around the other one (the
2068 opposite used to be true).
2070 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2071 argument. Font setting is done in Paragraph now.
2073 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2075 * outputparams.h: add new members intitle and lang.
2077 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2078 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2080 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2082 * text3.C (dispatch): remove special handling of button 4 and 5,
2083 it is now taken care of in the frontend code.
2085 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2087 * Spacing.h: add <string> (STLPort compile fix)
2089 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2091 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2093 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2095 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2098 * converter.C (showMessage): inherit from unary_function, make
2101 * buffer.C (writeFile): initialize retval
2103 * InsetList.h: rename private variable list to list_
2104 * InsetList.[Ch]: adjust accordingly.
2106 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2108 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2109 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2110 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2111 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2112 * ParagraphParameters.C, LaTeXFeatures.C: replace
2113 "support/std_sstream.h" with <sstream>
2115 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2117 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2118 * lyxsocket.C (LyXServerSocket): ditto
2119 (serverCallback): ditto
2121 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2123 * LaTeXFeatures.C: check release date when loading jurabib.
2125 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2127 * lyxserver.C (startPipe): call register_socket_callback
2128 (endPipe): call unregister_socket_callback
2130 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2132 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2133 (LyXServerSocket): register the callback
2134 (LyXServerSocket): unregister the callback
2135 (fd): delete function
2136 (serverCallback): improve error checking and setup the callbacks.
2137 (dataCallback): change arg to fd.
2138 (writeln): new func (copied fro the client socket) used for server
2140 (LyXDataSocket): simplify
2141 (~LyXDataSocket): close ann unregiser callback
2142 (server): delete function
2143 (fd): delete function
2144 (readln): small changes, improve some std::string usage
2145 (writeln): constify a bit
2147 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2152 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2155 after it has been populated
2157 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2159 * text2.C (insertInset): move cursor when inserting inset.
2161 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * kbmap.C (findbindings): a couple of new methods. returns a
2164 container of kb_sequence objects. The real work is done by the
2165 private recursive version
2166 (printbindings): uses findbindings to print out a bracketed list
2167 of bindings (renamed from findbinding).
2169 * MenuBackend.C (binding): use kb_keymap::findbindings
2171 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2173 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2175 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2177 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2179 * paragraph.C (isWord): return true on insets that report
2182 * text.C (getWord): use Paragraph::isWord to decide what is in a
2183 word and what is not; fix bug 1609.
2185 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2187 * tex-strings.C: add "none" to string_paperpackages[], fixes
2188 off-by-one-error in the paperpackage selection.
2191 * tex-strings.[Ch]: char const * string[n]
2192 -> char const * const string[]
2194 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2196 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2197 command, return early.
2199 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2201 * debug.h: add DEBUG to enum and fix size of ANY.
2203 * debug.C: add support for Debug::DEBUG
2204 (showTags): cast errorTags.level to unsigned int
2206 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2207 (redoCurrentBuffer): ditto
2208 (updateScrollbar): ditto
2209 * cursor.C (dispatch): ditto
2210 * text2.C (setLayout): ditto
2212 (updateCounters): ditto
2214 (deleteEmptyParagraphMechanism): ditto
2216 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2218 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2219 annotations to cleanup the Makefile slightly.
2221 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2223 * lyxrc.C: do not set user_email to a default value but use empty
2224 instead. The entry used to be translated, which does not work
2225 since at the point where lyxrc is constructed there is no
2226 translation service available
2228 * messages.C (getLocaleDir): remove and use directly
2229 lyx_localedir() instead
2231 2004-06-02 Angus Leeming <leeming@lyx.org>
2233 Fix crash caused by dereferencing null pointer 'exportdata' in
2234 OutputParams by creating a new ExportData variable on the heap,
2235 storing it in a boost::shared_ptr.
2236 The crash was triggered when generating an Instant Preview
2237 of an external inset.
2239 * Makefile.am: add outputparams.C
2241 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2242 (c-tor): allocate memory to it.
2244 * exporter.C (c-tor): associated changes.
2246 2004-06-01 Angus Leeming <leeming@lyx.org>
2248 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2249 contains data before calling isInset(0). (Bug 1513.)
2251 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2253 * exporter.C (checkOverwrite): new method
2254 * exporter.C (copyFile): new method
2255 * exporter.C (Export): copy referenced files to the document dir
2256 * exporter.[Ch]: new class ExportedFile
2257 * exporter.[Ch]: new class ExportData. Contains currently the
2258 names of referenced external files
2259 * outputparams.h: add exportdata member.
2261 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2263 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2266 2004-05-19 Angus Leeming <leeming@lyx.org>
2271 * lyxfunc.C: small changes due to the introduction of namespace
2272 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2274 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2276 * text3.C (dispatch): supress update when only moving the cursor
2277 * cursor.C (selHandle): remove commented code
2279 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2281 * paragraph.C (startTeXParParams): correct column count
2282 * CutAndPaste.C (pasteSelection): remove const_cast
2283 * output_docbook.C (docbookParagraphs): remove const_cast
2284 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2285 const_cast and return ParagraphList::const_iterator
2286 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2287 * output_plaintext.C (writeFileAscii): remove const_cast
2288 * paragraph.[Ch] (simpleTeXOnePar): make const
2289 * paragraph_funcs.C (outerPar): use const iterators
2290 * paragraph_pimpl.C (validate): use const iterators
2291 * text.C (setHeightOfRow): use const iterators
2293 2004-05-17 Angus Leeming <leeming@lyx.org>
2296 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2298 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2299 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2300 if the citation engine has changed.
2302 2004-05-14 José Matos <jamatos@lyx.org>
2304 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2305 if the textclass does not provide it. Have it different for sgml and
2307 support the language of document.
2308 * output_docbook.C (docbookParagraphs):
2309 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2310 first anchor as the id of the paragraph, remove special case code.
2311 * sgml.C (escapeChar): escape only < & >.
2313 2004-05-14 Angus Leeming <leeming@lyx.org>
2315 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2316 dependencies on src/frontends/controllers/biblio.h. Define a
2317 CiteEngine_enum wrapper class to enable the enum to be forward
2320 2004-05-12 Angus Leeming <leeming@lyx.org>
2322 * buffer.C: up LYX_FORMAT to 234.
2323 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2324 use_numerical_citations with a single biblio::CiteEngine cite_engine
2326 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2328 2004-05-13 José Matos <jamatos@lyx.org>
2331 * converter.C (Converter, readFlags): add xml member.
2332 * outputparams.h: add XML flavor.
2333 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2335 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2337 * lyxfunc.C (dispatch):
2338 (getStatus): fix handling of LFUN_SEQUENCE
2340 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * debug.C (showLevel): do not forget the end-of-line marker
2344 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2346 * kbmap.C (read): do not stop parsing a bind file when an error
2349 2004-04-29 Angus Leeming <leeming@lyx.org>
2354 * text2.C: wrap a bunch of #warning statements
2355 inside #ifdef WITH_WARNINGS blocks.
2357 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2359 * buffer.C: increment format to 233.
2361 2004-04-28 Angus Leeming <leeming@lyx.org>
2363 * BufferView_pimpl.C:
2366 s/updateToolbar()/updateToolbars()/
2367 s/Toolbar.h/Toolbars.h/
2369 2004-04-28 Angus Leeming <leeming@lyx.org>
2371 * BufferView.[Ch] (c-tor):
2372 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2373 No longer passes these data to the WorkArea generator.
2375 2004-04-28 Angus Leeming <leeming@lyx.org>
2377 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2379 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2381 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2383 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * output_latex.C (TeXEnvironment): make sure that there is a line
2386 break before \end{foo} for the last paragraph of a document
2387 (TeXOnePar): if the paragraph is at the end of the document (or
2388 inset) and the language has to be reset, then make sure that the
2389 line break is _before_ the language command, not after (fixes bug
2390 1225); also make sure that the language reset command is the first
2391 thing after the paragraph (to ensure proper nesting of
2392 environments and thus fix bug 1404)
2394 2004-04-21 John Levon <levon@movementarian.org>
2397 * ToolbarBackend.C: make "name" be a programmatic name
2398 and a gui_name field.
2400 * lyxfunc.C: display the minibuffer on M-x
2402 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2404 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2407 2004-04-19 Angus Leeming <leeming@lyx.org>
2409 * BufferView_pimpl.C (setBuffer): changed preview interface.
2411 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2414 2004-04-19 John Levon <levon@movementarian.org>
2416 * BufferView_pimpl.C:
2417 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2419 2004-04-05 Angus Leeming <leeming@lyx.org>
2421 * text.C (redoParagraphs): add call to updateCounters(), thereby
2422 fixing the missing "Figure #:" label from the caption of a
2425 2004-04-13 Angus Leeming <leeming@lyx.org>
2427 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2428 cursor is clicked out of an inset.
2430 2004-04-13 Angus Leeming <leeming@lyx.org>
2432 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2433 than an InsetOld one.
2435 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2437 * format.[Ch]: add editor to Format
2438 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2439 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2441 2004-04-08 André Pönitz <poenitz@gmx.net>
2443 * metricsinfo.h: remove PainterInfo::width member
2445 2004-04-08 Angus Leeming <leeming@lyx.org>
2447 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2448 "\providecommand" rather than "\newcommand", thereby preventing
2449 clashes with packages that define "\boldsymbol" themselves.
2452 2004-04-08 Angus Leeming <leeming@lyx.org>
2454 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2455 thereby squashing an unnecessary warning.
2457 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2459 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2462 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2464 * BufferView.C (setCursor): call redoParagraph (some insets could
2466 (putSelectionAt): remove the 'double update' trick
2468 * BufferView_pimpl.C (fitCursor): call refreshPar
2469 (workAreaDispatch): remove an uneeded update call
2470 (dispatch): remove some manual update calls
2472 * cursor.[Ch]: remove cached_y_, updatePos
2473 (selHandle): set noUpdate when appropriate
2475 * lyxfunc.C (dispatch): track if we need an update
2477 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2479 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2480 (paintSelection): cheap optimization, do not call cursorX when not
2482 (paintPars): change signature
2485 (paintTextInset): adjust
2489 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2491 * lengthcommon.C: compilation fix: remove explicit array size from
2492 unit_name[] and friends
2494 2004-04-05 Angus Leeming <leeming@lyx.org>
2496 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2498 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2499 present only for the preferences dialog.
2500 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2502 2004-04-05 Angus Leeming <leeming@lyx.org>
2504 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2505 to enable the frontends to export changes to lyxrc correctly.
2507 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2509 2004-04-07 André Pönitz <poenitz@gmx.net>
2511 * cursor.[Ch] (selClear, adjust): remove math
2513 * cursor_slice.C: more agressive assert
2516 * BufferView_pimpl.C: rework mouse event dispatch
2523 2004-04-05 André Pönitz <poenitz@gmx.net>
2525 * cursor.[Ch] (valign, halign...): remove unneeded functions
2527 2004-04-05 Angus Leeming <leeming@lyx.org>
2529 * lyxlength.[Ch] (unit_name et al.): const-correct.
2531 2004-04-05 Angus Leeming <leeming@lyx.org>
2533 * BufferView_pimpl.C:
2542 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2544 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2546 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2548 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2550 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2551 * BufferView_pimpl.[Ch] (getStatus)
2552 * BufferView.[Ch] (getStatus): add
2553 * lyxfunc.C (getStatus): move lfuns handled in
2554 BufferView::dispatch to te function above
2555 * Cursor.C (setSelection): set selection() = true
2557 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2559 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2561 2004-03-31 Angus Leeming <leeming@lyx.org>
2563 * lyxfunc.C (dispatch): Fall through to the generic
2564 Dialogs::show("preamble").
2566 2004-03-31 Angus Leeming <leeming@lyx.org>
2568 * lyxfunc.C (dispatch): Fall through to the generic
2569 Dialogs::show("spellchecker").
2571 2004-03-31 Angus Leeming <leeming@lyx.org>
2573 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2576 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2581 * insetiterator.[Ch]:
2586 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2588 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2590 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2591 insets where we are putting the cursor.
2593 2004-03-31 Angus Leeming <leeming@lyx.org>
2596 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2598 * lyxrc.[Ch] (read, write): overloaded member functions taking
2599 a std::[io]stream arguments.
2601 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2603 2004-03-31 Angus Leeming <leeming@lyx.org>
2605 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2606 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2608 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2609 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2611 2004-03-31 Angus Leeming <leeming@lyx.org>
2613 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2614 the LFUN_ALL_INSETS_TOGGLE code.
2616 2004-03-30 Angus Leeming <leeming@lyx.org>
2618 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2619 has died. Fall through to the generic Dialogs::show("document").
2621 2004-03-30 Angus Leeming <leeming@lyx.org>
2624 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2625 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2627 * lyxfunc.C (getStatus, dispatch): define the actions for these
2628 lfuns. Little more than a cut and pste job from ControlDocument.C
2630 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2632 2004-03-30 Angus Leeming <leeming@lyx.org>
2635 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2636 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2638 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2639 open/closed state of ollapsable insets. Usage:
2641 all-inset-toggle <state> <name>, where
2642 <state> == "open" || "closed" || "toggle" and
2643 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2645 * lyxtext.h, text2.C (toggleInset): removed.
2647 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2648 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2649 now passes LFUN_INSET_TOGGLE to the found inset.
2651 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2652 is now invoked as "all-insets-toggle toggle branch".
2654 2004-03-30 Angus Leeming <leeming@lyx.org>
2658 * pariterator.[Ch]: added/corrected header blurb.
2660 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2662 * dociterator.[Ch]: add an inset_ member
2663 (backwardPos): implemented
2664 (backwardPos, forwardPos): use inset_ when the stack is empty.
2665 (doc_iterator_begin, doc_iterator_end): implemented
2666 * pariterator.[Ch]: adjust, add begin, end
2667 * insetiterator.[Ch]: adjust, add begin, end
2671 * BufferView_pimpl.C:
2672 * CutAndPaste.C: adjust
2674 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2676 * buffer.C: increment file format to 232.
2677 * LaTeXFeatures.C: add bibtopic package.
2678 * bufferparams.[Ch]: param \use_bibtopic.
2680 * lyxrc.[Ch]: add lyxrc bibtex_command
2681 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2683 * buffer.C: increment file format to 231.
2685 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2687 * dociterator.C: implement forwardPar
2688 * iterators.[Ch]: remove, replaced by
2689 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2691 * BufferView_pimpl.C:
2694 * bufferview_funcs.C:
2700 * Makefile.am: adjust
2702 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2704 * CutAndPaste.C (pasteSelection): fix 2 crashes
2705 (eraseSelection): fix a crash
2706 * paragraph_funcs.C: remove a warning
2708 2004-03-28 Angus Leeming <leeming@lyx.org>
2711 * LyXAction.C (init): new LFUN_PRINT.
2713 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2715 2004-03-27 Angus Leeming <leeming@lyx.org>
2718 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2720 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2722 2004-03-27 Angus Leeming <leeming@lyx.org>
2724 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2725 insetlist always contains non-null pointers to insets.
2727 2004-03-26 Angus Leeming <leeming@lyx.org>
2729 * src/BufferView_pimpl.C:
2730 * src/CutAndPaste.C:
2733 * src/output_plaintext.C:
2734 * src/outputparams.h:
2735 * src/paragraph_funcs.C:
2739 * src/frontends/controllers/ControlErrorList.C:
2740 * src/frontends/gtk/FileDialogPrivate.C:
2741 * src/frontends/gtk/GPainter.C:
2742 * src/frontends/gtk/GToolbar.C:
2743 * src/frontends/qt2/QRef.C:
2744 * src/mathed/math_scriptinset.C: squash compiler warnings.
2746 2004-03-26 Angus Leeming <leeming@lyx.org>
2748 * ispell.C (LaunchIspell::start):
2749 * lyx_cb.C (AutoSaveBuffer::start):
2750 invoke run(DontWait) rather than runNonBlocking().
2752 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2754 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2756 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2758 * kbsequence.C (print): adjust
2760 * kbmap.C (printKeySym): rename and change signature
2761 (printKey): use LyXKeySym::print()
2763 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2765 * undo.C: add using std::advance to compile for stlport
2767 2004-03-24 Angus Leeming <leeming@lyx.org>
2769 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2770 it leads to a crash when no buffer is present.
2772 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 Martin Vermeer <martin.vermeer@hut.fi>
2775 * lyxfunc.C (dispatch):
2776 * bufferparams.C (readToken): use the new LColor::setColor
2778 * LColor.[Ch] (setColor): new version that takes two strings as
2779 argument and creates a new color entry if necessary
2781 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2783 * buffer.C (makeLaTeXFile): if the main latex file that is
2784 processed is usually a subdocument of some master, then pretend
2785 for a while that it is actually the master
2787 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2789 * buffer.C (getLabelList):
2790 (getBibkeyList): use getMasterBuffer()
2791 (getMasterBuffer): new method. Returns the main document in the
2792 case where one is using included documents.
2794 2004-03-25 André Pönitz <poenitz@gmx.net>
2798 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2800 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2802 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2803 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2805 * ParameterStruct.h: merge with ParagraphParameters
2807 * lyxtext.h: remove LyXText::parOffset() and getPar()
2809 * text3.C: Remove all 'manual' update calls. We do now one per user
2810 interaction which is completely sufficient.
2814 * BufferView_pimpl.C:
2815 * FontIterator.[Ch]:
2817 * ParagraphParameters.[Ch]:
2822 * cursor_slice.[Ch]:
2829 * output_docbook.[Ch]:
2830 * output_latex.[Ch]:
2831 * output_linuxdoc.[Ch]:
2832 * output_plaintext.[Ch]:
2834 * paragraph_funcs.[Ch]:
2835 * paragraph_pimpl.[Ch]:
2843 * frontends/controllers/ControlDocument.C:
2844 * frontends/controllers/ControlErrorList.C:
2845 * frontends/controllers/ControlSpellchecker.C:
2848 * insets/insetbase.h:
2849 * insets/insetbibitem.C:
2850 * insets/insetbox.C:
2851 * insets/insetbranch.C:
2852 * insets/insetcaption.C:
2853 * insets/insetcharstyle.C:
2854 * insets/insetcharstyle.h:
2855 * insets/insetcollapsable.C:
2856 * insets/insetcollapsable.h:
2857 * insets/insetert.C:
2858 * insets/insetfloat.C:
2859 * insets/insetfoot.C:
2860 * insets/insetmarginal.C:
2861 * insets/insetnote.C:
2862 * insets/insetoptarg.C:
2863 * insets/insettabular.C:
2864 * insets/insettext.C:
2865 * insets/insettext.h:
2866 * insets/insetwrap.C:
2867 * mathed/math_mboxinset.C:
2868 * mathed/math_nestinset.C:
2869 * mathed/math_scriptinset.C:
2870 * mathed/math_scriptinset.h:
2873 2004-03-24 Angus Leeming <leeming@lyx.org>
2875 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2876 deal with any child processes that have finished but are waiting to
2877 communicate this fact to the rest of LyX.
2879 2004-03-24 Angus Leeming <leeming@lyx.org>
2881 64-bit compile fixes.
2883 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2884 (c-tor): pass lyx::pos_types rather than ints.
2886 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2889 * text.C (Delete): compile fix.
2890 (getPar): ensure that function declaration is the same as that in
2893 2004-03-23 Angus Leeming <leeming@lyx.org>
2895 * ispell.C (LaunchIspell):
2896 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2897 a boost::shred_ptr rather than a std::auto_ptr.
2899 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2901 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2902 handle LFUN_FILE_INSERT_*
2904 * lyxrc.C (setDefaults, getDescription, output, read):
2905 * lyxrc.h: remove ps_command
2907 2004-03-22 Angus Leeming <leeming@lyx.org>
2909 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2910 Ensure that error_handler is processed once only and that all data
2911 is saved before attempting to output any warning messages.
2913 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2915 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2917 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2919 2004-03-19 André Pönitz <poenitz@gmx.net>
2921 * cursor.[Ch] (reset): take main text inset as argument
2923 * BufferView: adjust
2924 * BufferView_pimpl.C: adjust
2926 * paragraph.[Ch]: fix completely broken operator=()
2928 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2930 * LColor.C (getFromLyXName): make sure that the color name is used
2933 2004-03-17 Angus Leeming <leeming@lyx.org>
2936 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2938 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2939 dialog and to kill a forked process.
2941 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2943 * text2.C (setCursorFromCoordinates): fix font problem
2945 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2947 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2948 bogus "rebuild cursor" code
2950 2004-03-11 André Pönitz <poenitz@gmx.net>
2952 * buffer.[Ch]: use InsetText instead of LyXText as container for
2955 * dociterator.[Ch]: drop the BufferView * member which is not needed
2956 anymore after the change to buffer.C
2958 * paragraph_funcs.C:
2962 * BufferView_pimpl.[Ch]:
2964 * cursor_slice.[Ch]: adjust
2966 * text3.C: fix bug in mathDispatch
2968 2004-03-08 André Pönitz <poenitz@gmx.net>
2970 * undo.[Ch]: use 'StableDocumentIterator' as base for
2973 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2976 * bufferparams.[Ch]: add jurabib support and param.
2978 * LaTeX.C: add FIXME/comment.
2980 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2982 * buffer.C: increment file format to 230.
2984 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2986 * cursor.C (dispatch): avoid infinite loops
2988 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2990 * rowpainter.C (paintSelection): fix x coordinates
2992 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2994 * text.C (rowBreakPoint): fix breaking before displayed insets
2996 2004-03-01 André Pönitz <poenitz@gmx.net>
2998 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3000 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3004 * BufferView_pimpl.C:
3012 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3018 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3019 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3021 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3023 * Bidi.[Ch] (computeTables): const correctness
3024 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3025 fill_hfill, fill_label_hfill and x from Row
3026 * lyxtext.h: prepareToPrint returns a RowMetrics
3027 * rowPainter.C: adjust
3028 * text.C (prepareToPrint): use width, not textWidth. adjust
3029 (redoParagraphInternal, cursorX): adjust
3030 * text2.C (getColumnNearX): adjust
3031 (init): put a default value to the top LyXText::width
3033 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3035 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3037 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3039 * lyxtext.h: add FontIterator class
3041 * text.C (FontIterator, operator*, operator->, operator++): add
3042 (rowBreakPoint, setRowWidth): adjust (fixing a
3045 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3047 * BufferView_pimpl.C (workAreaDispatch): allow also
3048 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3050 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3052 * text.C (rowBreakPoint): fix a bug showing with very large insets
3054 2004-02-25 André Pönitz <poenitz@gmx.net>
3057 * cursor.[Ch]: move some mathed specific code to mathed
3059 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3061 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3062 use_tempdir in preferences
3063 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3065 * lyx_main.C: ensure that tempdir is valid
3066 * lyxlex.h: correct typo
3067 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3068 * paragraph.[Ch] (isMultiLingual): make const
3069 * cursor.[Ch] (openable): make const
3071 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3073 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3075 2004-02-20 André Pönitz <poenitz@gmx.net>
3077 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3079 * cursor.[Ch]: prepare for localized getStatus()
3085 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3087 2004-02-20 André Pönitz <poenitz@gmx.net>
3089 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3091 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3093 * text2.C (setCursorFromCoordinates): switch to absolute coords
3095 (cursorDown): adjust
3096 * text3.C (dispatch): adjust
3098 2004-02-16 André Pönitz <poenitz@gmx.net>
3100 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3103 * cursor_slice.[Ch]: remove unneeded acessor function
3105 * lyxtext.h: rename rtl() to isRTL()
3113 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3115 * rowpainter.C (paintSelection): coord fix
3117 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3119 * Spacing.C: compile fix
3121 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3123 * cursor.C (dispatch): restore current_ before returning
3125 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3127 * text2.C (cursorUp, cursorDown): fix coords
3130 2004-02-12 André Pönitz <poenitz@gmx.net>
3135 * text3.C: add LCursor & parameter to most cursor movement functions
3136 remove usage of LyXText::cursorRow() and cursorPar()
3138 * cursor.[Ch]: add textRow() needed members
3141 * BufferView_pimpl.C:
3144 * BufferView_pimpl.C: adjust
3146 2004-02-11 André Pönitz <poenitz@gmx.net>
3150 * BufferView_pimpl.C: shift undo/redo handling
3152 * cursor.[Ch]: fix mathed crash
3155 * lyxtext.h: move selectionAsText to LCursor
3163 * rowpainter.C: fix excessive drawing
3165 2004-02-06 André Pönitz <poenitz@gmx.net>
3168 * BufferView_pimpl.[Ch]:
3169 * text3.C: move some text specific LFUN handling
3171 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3173 * text3.C (checkInsetHit): adjust coords
3174 * text2.C (getColumnNearX): adjust coords
3175 (edit): adjust coords
3176 * text.C (getRowNearY): add two asserts
3178 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3181 * format.C: add using std::distance to compile on gcc 2.95/stlport
3183 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3185 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3187 2004-02-04 André Pönitz <poenitz@gmx.net>
3189 * BufferView.[Ch] (insertInset):
3190 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3195 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3197 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3198 on the default clause of the switch
3199 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3200 wasn't catched by LCursor::dispatch
3202 2004-02-03 André Pönitz <poenitz@gmx.net>
3205 * cursor.[Ch]: some additional asserts
3207 * undo.[Ch]: remove LyXText dependency in interface
3211 * lyxtext.h (firstPar, lastPar): remove dead functions
3216 * paragraph.[Ch]: adjust
3218 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3220 * lyxfind.C (find): fix argument order in call to ::find
3222 2004-02-02 André Pönitz <poenitz@gmx.net>
3224 * cursor.[Ch]: remove direct access to anchor
3226 * text.C: remove findText() hack
3228 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3230 * iterators.[Ch] (lockPath): remove in favour of...
3231 * BufferView.[Ch] (setCursor): this addition
3232 * BufferView.C (putSelectionAt): adjust
3233 * undo.C (performUndoOrRedo): adjust
3234 * lyxfunc.C (dispatch): adjust
3236 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3238 * iterators.C (lockPath): add a missing slice
3239 * undo.C (performUndoOrRedo): remove redundant positioning code
3241 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3243 * vc-backend.C (scanMaster): ";" -> ';'
3245 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3247 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3248 std::binary_function
3250 * lyxtextclass.C (compare_name): rename to...
3251 (LayoutNamesEqual): ...this
3253 * lyxlex_pimpl.C (compare_tags): inherit from
3254 std::binary_function, put back into anon namespace
3256 * lyxfind.C (MatchString): inherig from std::binary_function
3257 (findChange): use empty() istead of !size()
3259 * format.C (FormatNamesEqual): new functor
3266 * converter.C (compare_Converter): rename to...
3267 (ConverterEqual): ...this, and fixup a bit.
3268 (getConverter): use it, and make function const
3269 (getNumber): use it, and make function const
3273 * bufferlist.C: add using boost::bind
3275 * MenuBackend.C (MenuNamesEqual): new functor
3276 (hasMenu): use it, and make function const
3277 (hasSubmenu): use nested bind to get rid of compare_memfun.
3279 2004-01-30 André Pönitz <poenitz@gmx.net>
3281 * BufferView_pimpl.C:
3284 * cursor_slice.[Ch]:
3287 * paragraph_funcs.C:
3288 * paragraph_funcs.h:
3292 * text3.C: move some of the edit(x,y) handling to the insets
3293 some coordinate changes.
3295 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3297 * text.C: add using statements for std::advance and std::distance
3299 * paragraph.C: add using statement for std::distance
3301 * lyxfind.C: add using statement for std::advance
3303 * cursor.C (region): remove std:: from swap
3304 (openable): use nucleus in stead of operator->
3306 * BufferView.C: add using statements for std::distance and std::swap
3308 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3310 * iterators.C: Remove the pimple, move the needed structures to
3311 the header file. Create accessor for the positions stack.
3312 (asPosIterator): remove function
3314 * PosIterator.C (PosIterator): move constructors to top of file
3315 (PosIterator): reimplement the constructor taking a ParIterator in
3317 (setFrom): new function
3318 (operator!=): inline it
3320 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3322 * lyxfind.C (replaceAll): use std::advance
3324 * iterators.h: inherit from std::iterator.
3326 * PosIterator.C (advance, distance): remove
3327 * PosIterator.h: interit from std::iterator.
3329 2004-01-26 André Pönitz <poenitz@gmx.net>
3332 * BufferView_pimpl.[Ch]:
3336 * bufferview_funcs.C:
3346 * output_linuxdoc.C:
3347 * output_plaintext.C:
3349 * paragraph_funcs.[Ch]:
3350 * paragraph_pimpl.[Ch]:
3356 * text3.C: more IU: dumps most of the rest of the mathcursor
3357 implementation into cursor.[Ch]; "globalize" a bit of it.
3359 2004-01-25 Angus Leeming <leeming@lyx.org>
3361 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3363 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3365 * LaTeXFeatures.h: add nice_ and nice() const
3366 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3368 2004-01-20 André Pönitz <poenitz@gmx.net>
3371 * BufferView_pimpl.C:
3373 * bufferview_funcs.C:
3375 * cursor_slice.[Ch]:
3386 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3387 LCursor and mathcursor parts to LCursor and InsetBase.
3389 2004-01-15 André Pönitz <poenitz@gmx.net>
3391 * cursor_slice.[Ch]: add a few covienience functions
3393 * funcrequest.[Ch]: remove BufferView * member
3395 * BufferView_pimpl.C:
3402 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3404 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3406 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3407 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3409 2004-01-13 André Pönitz <poenitz@gmx.net>
3412 * lyxtext.h: hide cursor and selection anchor behind accessor function
3415 * BufferView_pimpl.[Ch]:
3417 * bufferview_funcs.C:
3427 * cursor_slice.[Ch]: some integer type changes for inset unification
3429 * lyxcursor.[hC]: remove, it's CursorSlice now.
3432 * BufferView_pimpl.[Ch]:
3433 * bufferview_funcs.C:
3439 * textcursor.[Ch]: adjust
3441 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3443 * text2.C (undoSpan): add and use
3444 * text.C (breakParagraph): use undoSpan (fix bug 578)
3447 2004-01-08 Angus Leeming <leeming@lyx.org>
3449 * BufferView_pimpl.C (MenuInsertLyXFile):
3450 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3451 * lyxfunc.C (menuNew, open, doImport):
3452 FileFilterList change to the FileDialog open and save functions.
3454 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3456 * ShareContainer.h: make isEqual and isUnique adaptable
3458 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3460 2004-01-07 Angus Leeming <leeming@lyx.org>
3463 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3465 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3467 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3468 functions replacing find, replace and replaceAll.
3470 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3471 LFUN_WORDFIND(FORWARD|BACKWARD).
3473 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3475 * text.C (breakParagraph): remove an outdated #warning
3477 2004-01-07 André Pönitz <poenitz@gmx.net>
3479 * lyxfind.C: somewhat clearer logic
3481 * text.C: prevent crash in cursorX on unitialized row cache
3483 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3485 * lyxcursor.[Ch] (operator>): add
3486 * textcursor.C (selStart, selEnd): use std::min and std::max
3488 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3490 * Chktex.C: include boost/format.hpp
3492 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3494 * InsetList.C: replace functor MathcIt with adaptable functor
3496 (insetIterator): modify accordingly
3498 * BranchList.h: move the BranchNamesEqual functor here from...
3499 * BranchList.C: ... to here
3501 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3503 (add): replace a finding loop with std::find_if.
3505 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3507 * output_docbook.C: moving LatexParam functionality into
3510 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3512 * buffer.C: increment format to 229.
3514 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3517 * lyx_sty.[Ch]: remove minipageindent_def
3523 * text3.C: remove LFUN_INSET_MINIPAGE
3525 2003-12-28 Angus Leeming <leeming@lyx.org>
3527 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3529 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3531 * text2.C (setParagraph): fix off-by-one crash
3533 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3535 * output_docbook.C: header stuff for AGU
3537 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3539 * text2.C (redoCursor): remove
3542 * BufferView_pimpl.C: remove calls to redoCursor and
3543 setCursor(cursor.par(), cursor.pos()) all around
3545 2003-12-15 Angus Leeming <leeming@lyx.org>
3547 * buffer.C: up the format to 228.
3549 2003-12-15 André Pönitz <poenitz@gmx.net>
3551 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3556 * BufferView_pimpl.C:
3565 2003-12-15 Angus Leeming <leeming@lyx.org>
3567 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3568 than getFromGUIName to manipulate the color.
3570 2003-12-14 Angus Leeming <leeming@lyx.org>
3572 * BranchList.[Ch]: minimize the API.
3573 (Branch::getBranch, getColor): now return a 'const &'.
3574 (Branch::setSelected) now returns a bool set to true if the
3575 selection status changes.
3576 (BranchList::clear, size, getColor, setColor, setSelected,
3577 allBranches, allSelected, separator): removed.
3578 (BranchList::find): new functions, returning the Branch with
3580 (BranchList::add, remove): return a bool indicating that
3581 the operation was successful.
3583 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3584 new InsetBranch::isBranchSlected member function.
3586 * LColor.[Ch]: mimimize the API.
3587 (fill): renamed as addColor and made private.
3588 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3589 versions of these functions taking a string arg have been removed.
3591 * bufferparams.C (readToken):
3592 * lyxfunc.C (dispatch):
3593 * lyxrc.C (read): changes due to the altered BranchList and
3596 * factory.C (createInset, readInset): changes due to altered
3599 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3602 * lyxfunc.C: remove insetminipage. "minipage-insert"
3603 now produces a frameless minipage box inset.
3605 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3607 * textcursor.[Ch] (selStart,selEnd): add new methods
3608 remove selection::start, end, use LyXCursor::operator<
3609 * lyxcursor.[Ch] (operator<): add
3610 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3611 * BufferView.[Ch] (unsetXSel): add
3612 * text2.C (clearSelection): use unsetXSel,adjust
3615 * rowpainter.C: adjust
3616 * bufferview_funcs.C (put_selection_at): adjust
3618 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3620 * BufferView_pimpl.C: small coord. correction
3622 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3624 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3625 dragging over the splash screen.
3627 2003-12-11 Angus Leeming <leeming@lyx.org>
3629 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3630 as it is now handled in LyXText::dispatch.
3632 * text3.C (doInsertInset): remove a level of nesting.
3634 2003-12-11 Angus Leeming <leeming@lyx.org>
3636 * factory.C (createInset): changes due to the changed interface to
3637 InsetCommandMailer::string2params.
3639 2003-12-10 Angus Leeming <leeming@lyx.org>
3641 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3642 'dialog-show-new-inset <inset name>'
3644 2003-12-10 Angus Leeming <leeming@lyx.org>
3646 * buffer.C: up the format to 227.
3648 * factory.C: the box inset is now identified simply by 'Box'.
3650 2003-12-10 Angus Leeming <leeming@lyx.org>
3652 * buffer.C: up the format to 226.
3654 * factory.C: the note inset is now identified simply by 'Note'.
3656 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3658 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3659 when a pit is enough. Standarize a couple of loops.
3661 2003-12-05 Angus Leeming <leeming@lyx.org>
3663 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3664 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3665 data to the re-worked "log" dialog.
3667 2003-12-03 André Pönitz <poenitz@gmx.net>
3673 * paragraph_funcs.C:
3675 * text2.C: use Inset::getText instead of Inset::getParagraph
3677 2003-12-03 André Pönitz <poenitz@gmx.net>
3681 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3682 InsetText::read() as LyXText::read()
3684 2003-12-02 Angus Leeming <leeming@lyx.org>
3686 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3687 type. Add a comment in the implementation that the function uses
3688 the stream's bad() function rather than fail() as the std::streams
3691 2003-12-02 André Pönitz <poenitz@gmx.net>
3693 * lyxlex.[Ch]: make interface more similar to std::stream
3695 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3697 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3699 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3701 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3703 * vspace.[Ch]: remove VSpace::NONE
3705 2003-12-01 André Pönitz <poenitz@gmx.net>
3708 * lyxtext.h: move ParagraphList member to LyXText
3709 rename LyXText::ownerParagraphs to LyXText::paragraph
3712 * bufferview_funcs.C:
3722 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3724 * undo.C: fix cursor positioning
3726 2003-12-01 John Levon <levon@movementarian.org>
3728 * BufferView_pimpl.C: fix a crash on exit with
3731 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3733 * BranchList.C: fix setSelected() method.
3735 2003-11-28 André Pönitz <poenitz@gmx.net>
3737 * ParagraphParameters.[Ch]:
3738 * ParameterStruct.h: remove space above/below from Paragraph to
3741 * BufferView_pimpl.C:
3747 * paragraph_funcs.C:
3753 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3755 * factory.C: Syntax change for CharStyles
3757 2003-11-28 André Pönitz <poenitz@gmx.net>
3762 * buffer.[Ch]: move LyXText member
3764 2003-11-28 André Pönitz <poenitz@gmx.net>
3766 * BufferView.[Ch]: make LyXText * text a private member
3768 * BufferView_pimpl.C:
3779 * output_plaintext.C: cleanup
3781 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3784 * lyxtextclass.[Ch]: parametrize SGML document header
3786 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3789 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3792 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3794 * text2.C (setFont): rework using PosIterator (no more recursive)
3795 (setCharFont): no more needed
3796 (setLayout): no more selection cursors fiddling (done by redoCursor)
3797 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3798 destroy remaining ones)
3800 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3802 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3804 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3807 * text3.C: adjust + re-allow multi par depth changes
3808 * textcursor.C: simplify a bit
3810 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3816 * src/output_docbook.C:
3817 * src/output_latex.C:
3822 * src/text2.C: Introducing a number of tags parametrizing various
3823 XML formats that we may want to support
3825 2003-11-25 André Pönitz <poenitz@gmx.net>
3827 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3829 * lyxtext.h (leftMargin/rightMargin): simplify interface
3836 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3838 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3839 master file to any child files. Fixes bug 546.
3841 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3843 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3845 2003-11-24 André Pönitz <poenitz@gmx.net>
3847 * rowpainter.C: simplification
3849 * text2.C (updateCounters): remove call to redoParagraph on
3850 changed labels as this is far too expensive.
3852 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3854 * converter.C (convert): fix a crash: this function gets
3855 called with buffer == 0 from importer code.
3857 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3859 * text3.C (cursorPrevious): make sure that we do not compare
3860 iterators form different containers.
3863 * rowpainter.C (paintSelection): make sure that we do not compare
3864 iterators from different containers.
3866 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3867 iterators from different ParagraphList containers.
3870 * text2.C (LyXText): change order of initialization slightly
3871 (operator=): new function. copy all variables except cache_par_
3872 (moveUp): make sure that we do not compare iterators from
3873 different ParagraphList constainers.
3876 * text.C (firstPar): new function
3877 (lastPar): new function
3878 (endPar): new function
3880 * lyxtext.h: move things around and group public functions, public
3881 variables, private functions, private variables
3883 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3885 * factory.C: change call to InsetERT constructor to avoid
3886 additional invocation of method status
3887 * text2.C (toggleInset): remove redundant update() call
3888 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3889 instead of a Bufferview pointer
3891 2003-11-21 André Pönitz <poenitz@gmx.net>
3893 * rowpainter.C: simplification
3895 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3897 * text3.C (dispatch): make possible to extend a word/row selection
3900 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3902 * lyxtext.h: x0_,y0_ -> xo_,yo_
3903 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3904 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3905 * rowpainter.C (paintRows): paint full paragraphs
3907 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3909 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3912 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3914 * lyxtext.h: add x0_, y0_
3915 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3916 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3918 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3920 * text2.C (setCursorIntern): move the x_target update here *
3921 * text3.C: change some bv() to true/false in calls to
3922 cursorUp/Down/Right/Left
3923 * cursor.C: use helper function.
3925 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3927 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3928 * paragraph_funcs.[Ch]: correct comment
3929 * rowpainter.C: do not paint selections away from bv->cursor()
3930 Fix a long standing selection painting bug.
3931 * text3.C: generalize mouse-selection code to LyXTexts other that
3933 * textcursor.C: do not use y coords if we can use par offsets
3935 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3937 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3938 cursor position after e.g. inset insert)
3940 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3942 * lyxfind.C (replace): adjust to locking removal + some
3945 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3947 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3950 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3953 * output_docbook.C: XML sanitation: new layout
3954 parameters InnerTag and CommandDepth
3956 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3958 * BufferView_pimpl.C:
3960 * text3.C: Fix the insertion and modification of button-style
3963 2003-11-13 André Pönitz <poenitz@gmx.net>
3965 * InsetList.[Ch]: remove deleteLyXText
3967 * paragraph.[Ch]: cache beginOfBody position
3972 * text3.C: remove superfluous update() calls
3976 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3978 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3979 * BufferView.C (fitLockedInsetCursor): remove
3980 * cursor.[Ch] (getDim): add
3981 * text.C (getRowNearY): add faster version
3982 * text3.C: remove some update calls
3984 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3996 * text3.C: The Character Style /XML short element patch.
3998 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4001 * factory.C: Small step to solving 'unable to insert some insets'
4004 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4006 * cursor.[Ch] (updatePos): new function for updating the y
4007 position of the tip inset
4008 * bufferview_funcs.C (put_selection_at):
4009 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4011 2003-11-11 André Pönitz <poenitz@gmx.net>
4013 * text.C: remove big comment on invalid Paragraph pointers as it is
4016 2003-11-11 André Pönitz <poenitz@gmx.net>
4018 * text_funcs.[Ch]: merge with ...
4026 * Makefile.am: remove text_funcs.[Ch]
4028 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4030 * cursor.C (getPos): return absolute cached y coord
4032 * BufferView_pimpl.C (fitCursor): new simplistic code
4033 (workAreaDispatch): add a fitCursor call
4035 2003-11-10 André Pönitz <poenitz@gmx.net>
4038 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4040 2003-11-10 André Pönitz <poenitz@gmx.net>
4042 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4043 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4044 indicate that the cursor needs to leave an inset
4046 * lyxtext.h: remove inset locking
4048 * cursor.[Ch]: re-implement functionality provided by inset locking
4051 * BufferView_pimpl.[Ch]:
4053 * bufferview_funcs.[Ch]:
4065 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4067 * PosIterator.[Ch]: replace the stack with a vector, add inset
4069 * iterators.[C]: adjust
4071 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4073 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4075 * paragraph_funcs.C (readParToken): put the correct id in the
4076 error item, not the id of the top paragraph
4078 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4080 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4081 * bufferview_funcs.C (put_selection_at): use the above
4083 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4085 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4087 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4089 * output_linuxdoc.h:
4090 * output_plaintext.h:
4092 * output_docbook.h: add #include statements
4094 2003-11-05 José Matos <jamatos@lyx.org>
4096 * output_docbook.[Ch]:
4097 * output_latex.[Ch]:
4098 * output_linuxdoc.[Ch]:
4099 * output_plaintext.[Ch]: New files for output formats.
4100 * output.[Ch]: New file for helper functions.
4103 * paragraph_funcs.[Ch]: output functions moved to new files.
4105 * outputparams.h: rename of latexrunparams.h
4113 * paragraph_funcs.[Ch]:
4114 * paragraph_pimpl.[Ch]:
4115 * tabular.[Ch]: rename ascii to plaintext
4116 and LatexRunParams to OutputParams.
4118 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4120 * iterators.[Ch] (text): require bv argument
4121 * undo.C (recordUndo):
4122 * lyxfunc.C (dispatch):
4123 * bufferview_funcs.C (put_selection_at): adjust
4125 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4127 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4129 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4131 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4134 2003-11-04 André Pönitz <poenitz@gmx.net>
4136 * cursor.[Ch]: restructure
4139 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4141 * iterators.[Ch] (asCursor): remove
4143 * lfuns.h: remove LFUN_INSET_EDIT
4149 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4151 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4153 * lyxfind.[Ch]: complete overhaul
4154 * BufferView_pimpl.C:
4156 * paragraph.[Ch] (insert): add
4158 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4162 * text.C: remove dead spellcheck code
4164 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4166 * dispatchresult.h: add a val setter
4168 * cursor.C (dispatch): use a tempvar for data_[i]
4170 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4172 * PosIterator.[Ch]: compile fix
4174 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4176 * text.C (cursorPar): deactivate the cursor cache
4178 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4180 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4182 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * text3.C (dispatch): adjust for new DisptchResult semantics.
4186 * lyxfunc.C (dispatch): handle update when return from
4187 Cursor::dispatch, adjust for new DispatchResult semantics.
4189 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4190 DispatchResult(true) mean to not update. Add class functions for
4191 setting dispatched and update, as well as reading.
4193 * cursor.C (dispatch): don't handle update here
4195 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4197 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4198 * trans_mgr.C: adjust
4200 * paragraph_funcs.C (readParToken): exception safety
4202 * lyxvc.h: store the vcs pointer in a scoped_ptr
4205 * lyxsocket.C (serverCallback): exception safety
4207 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4209 * ispell.C (clone): make it return a auto_ptr
4211 * factory.C (createInset): exception safety
4212 (readInset): exception safety
4214 * bufferlist.C (newBuffer): exception safety
4216 * Thesaurus.C (Thesaurus): use initialization for aik_
4218 * MenuBackend.C (expandToc): exception safety.
4220 2003-11-03 André Pönitz <poenitz@gmx.net>
4224 * bufferview_funcs.C: remove getInsetFromId()
4227 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4233 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4235 * PosIterator.C (distance, advance): new
4236 * bufferview_funcs.[Ch] (put_selection_at): new
4237 * iterators.[Ch] (lockPath): new
4239 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4241 * iterators.[Ch] (asPosIterator): added
4242 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4243 * PosIterator.[Ch]: added
4245 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * cursor.C (dispatch):
4250 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4252 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4253 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4254 contructor, add a class function dispatched. Remove operator>=
4256 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * debug.C: only use the default constructor for debugstream
4261 * main.C (main): include debug.h and setup the lyxerr streambuf
4264 2003-10-31 José Matos <jamatos@lyx.org>
4266 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4268 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4269 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4270 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4271 * paragraph_pimpl.C (simpleTeXSpecialC):
4272 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4273 add LatexRunParams argument.
4275 * exporter.C (Export): change call accordingly.
4277 * latexrunparams.h: add new member to take care of the other backends.
4278 2003-10-30 José Matos <jamatos@lyx.org>
4280 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4281 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4282 factorise code for paragraph output.
4284 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4287 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * text3.C (dispatch):
4290 * lyxfunc.C (dispatch):
4291 * cursor.C (dispatch):
4292 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4294 * dispatchresult.h: make the dispatch_result_t ctor explicit
4296 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4299 * buffer.C: small refactoring of docbook stuff
4301 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4306 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4308 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4309 operator dispatch_result_t, and operators for == != and >=
4311 * cursor.C (dispatch): adjust for operator dispatch_result_t
4312 removal. comment out call to update
4314 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4316 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4327 * dispatchresult.h: new file, DispatchResult broken out of
4330 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4332 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4334 * text.C (rowBreakPoint): put a hack inside #if 0
4336 2003-10-28 André Pönitz <poenitz@gmx.net>
4340 * paragraph_funcs.C:
4343 * text2.C: general cleanup (lots of small stuff)
4345 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4347 * text2.C (cursorEnd): simple fix to the "end key goes to one
4348 before the end on last row" bug
4350 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4352 * text.C (backspace): fix the "zombie characters"
4354 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4356 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4358 2003-10-27 André Pönitz <poenitz@gmx.net>
4360 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4362 * factory.C: handle new InsetPagebreak, InsetLine
4364 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4365 and move handling into new InsetPagebreak, InsetLine
4367 * BufferView_pimpl.C:
4369 * ParagraphParameters.C:
4370 * ParameterStruct.h:
4375 * paragraph_funcs.C:
4376 * paragraph_pimpl.C:
4382 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4385 * lyxrow_funcs.[Ch]:
4391 * text3.C: remove lastPos uses in favour of Row::endpos
4393 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4395 * undo.C (performUndoOrRedo): fix two crashes by setting a
4396 cursor by hand and reordering some calls. Use bv->lockInset instead
4397 of inset->edit because the latter loses cursor information
4399 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4401 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4403 (rowBreakPoint): fix width. change point to point + 1.
4404 Add a missing check.
4406 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4409 * lyxfunc.C: fix (at least partly) the problems
4410 with the Nav menu and headers inside branch insets
4413 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4415 * paragraph.C (getChar): add strong asserts
4417 * lyxrow_funcs.C (lastPos): remove hideous hack
4419 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4420 (fill): adjust to that (avoid an infinite loop)
4422 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4424 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4426 2003-10-23 André Pönitz <poenitz@gmx.net>
4428 * RowList_fwd.h: change list<> to vector<> to gain speed
4429 after suggestion from Alfredo
4431 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4433 * lyxtext.h: move the bidi stuff from here...
4436 * Bidi.[Ch]: ... to here
4438 2003-10-23 André Pönitz <poenitz@gmx.net>
4441 * text.C (isLastRow, isFirstRow): new functions
4443 * paragraph.h: new width cache member
4445 * rowpainter.C: replace RowList::iterator with Row & where possible
4447 * lyxfunc.C: replace several view()->text with a single call
4449 * toc.C: fix 'unused' warning
4451 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4453 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4454 when woring with stream::pos_type
4455 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4457 2003-10-22 André Pönitz <poenitz@gmx.net>
4460 * text.C: use Row & instead of RowList::iterator
4462 * lyxrow.h: rename end() to endpos()
4468 2003-10-22 Angus Leeming <leeming@lyx.org>
4470 * buffer.[Ch] (fully_loaded): new member function, returning true
4471 only when the file has been loaded fully.
4472 Used to prevent the premature generation of previews and by the
4473 citation inset to prevent computation of the natbib-style label.
4475 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4476 templates are all set up.
4478 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4480 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4482 * text.C: fixed an "oops" in the "is a bit silly"
4485 2003-10-21 André Pönitz <poenitz@gmx.net>
4487 * FuncStatus.[Ch]: small stuff, whitespace
4489 * lyxfont.[Ch]: operator<<() for debug reasons
4493 * lyxtext.h: whitespace, spelling
4495 * paragraph.C: naming of variables
4498 * text2.C: small stuff
4501 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4503 * text.C: (1) finish off the inset display() work;
4504 (2) fix the "is a bit silly" bug (accessing char
4507 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4509 * text.C: re-introduce display() for insets, fixing the
4510 various bugs (stretch of line above, math inset
4513 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4515 * text.C (rightMargin): remove spurious semicolon
4517 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4520 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4522 * text3.C: fix one crash due to wrong cursor def
4524 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * vc-backend.C (scanMaster): make the regex static
4528 * LaTeX.C (scanAuxFile): make the regexs static
4530 * text3.C (doInsertInset, dispatch, dispatch):
4531 * text2.C (cursorUp, cursorDown):
4532 * text.C (selectNextWordToSpellcheck):
4533 * BufferView_pimpl.C (dispatch):
4534 * lyxfunc.C (dispatch): localDispatch -> dispatch
4536 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4538 * lyxsocket.C: include <cerrno>
4540 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * lyxfunc.C (dispatch): remove textcache stuff
4544 * bufferlist.C (release): remove textcache stuff
4547 * TextCache.C: delete file
4548 * TextCache.h: delete file
4550 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4552 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4553 delete of the bv_->text.
4554 (resizeCurrentBuffer): remove texcache stuff
4555 (workAreaResize): ditto
4557 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4562 2003-10-16 André Pönitz <poenitz@gmx.net>
4569 * text3.C: speed up by storing y positions per paragraph plus per-row
4570 offset instead of having a 'full' y position in the row.
4572 2003-10-15 André Pönitz <poenitz@gmx.net>
4576 * undo.[Ch]: make undo aware of inner insets
4578 2003-10-14 Angus Leeming <leeming@lyx.org>
4580 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4581 static member functions LyX::ref() and LyX::cref.
4582 (lastfiles): new accessor functions for the new lastfiles_ member var.
4583 (addLyXView, views_): add a new LyXView to the list of views_.
4584 (updateInset): loop over all LyXViews to call their own updateInset
4585 member function, returning a pointer to the Buffer owning the inset.
4587 * BufferView_pimpl.C (loadLyXFile):
4588 * MenuBackend.C (expandLastfiles):
4589 * bufferlist.C (MenuWrite, QuitLyX):
4590 lastfiles is no longer a global variable.
4591 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4593 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4594 static function. Access through LyX::cref().emergencyCleanup().
4596 2003-10-14 André Pönitz <poenitz@gmx.net>
4598 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4600 * undo.[Ch]: restoring part of 'undo in insets'
4603 * undo_funcs.[Ch]: merge with undo.[Ch]
4605 * tabular.C: small cleansing stuff
4607 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4609 * paragraph_funcs.C (readParToken): report unknown insets as error
4610 boxes. Use the outer paragraph as location (also for unknown
4613 * factory.C (readInset): do not abort on reading an unknown inset.
4614 Eat it and return 0.
4616 2003-10-13 Angus Leeming <leeming@lyx.org>
4618 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4620 * lyxrc.C: displayTranslator is now a function,
4621 declared in GraphicsTypes.h.
4623 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4625 * format.C: new placeholder $$a to pass the socket address.
4627 * bufferlist.[Ch]: new function getBufferFromTmp.
4629 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4630 files in the temporary dir.
4632 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4634 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4636 * Makefile.am: add lyxsocket.[Ch].
4638 * lyx_main.C (error_handler): handle SIGPIPE.
4640 2003-10-13 André Pönitz <poenitz@gmx.net>
4642 * BufferView_pimpl.C:
4647 * undo_funcs.[Ch]: use paroffset_type instead of
4648 ParagraphList::iterators to prevent multiple conversion
4649 (and get a more robust interface)
4651 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4655 * text3.C (dispatch): ditto
4657 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4660 move the onlyfile, use onlyfile instead of foundfile in a couple
4663 * DepTable.C (update): flush the error stream a bit more
4665 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * lyxserver.C (callback): adjust
4669 * lyxfunc.C (getStatus): add a missing brace in commented code
4670 (ensureBufferClean): reindent
4671 (dispatch): delete version taking a string
4673 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * LaTeX.C (deplog): move found file handlig from here...
4676 (handleFoundFile): .. to new function here.
4677 (deplog): make sure to discover several files mentioned on the
4680 2003-10-10 André Pönitz <poenitz@gmx.net>
4687 * text3.C: fix some of the tabular crashes
4689 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4691 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4693 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4695 2003-10-09 André Pönitz <poenitz@gmx.net>
4697 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4700 * BufferView_pimpl.C:
4701 * bufferview_funcs.C:
4712 * undo_funcs.C: adjust
4714 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * text2.C (incrementItemDepth): new function, use a backtracking
4717 algorithm to discover the correct item depth.
4718 (resetEnumCounterIfNeeded): new function, use a backtracking
4719 algorithm to discover if counter reset is needed.
4720 (setCounter): use them. Simplify a bit. Add different labels for
4721 different item depths for itemize.
4723 * paragraph.C (Paragraph): remove initialization of enumdepth
4726 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4727 enumerate and itemize. Change the type of itemdepth to signed char.
4729 2003-10-08 André Pönitz <poenitz@gmx.net>
4731 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4736 * tabular.[Ch]: fix crash after 'row-insert'
4738 2003-10-08 Angus Leeming <leeming@lyx.org>
4740 Fix doxygen warnings.
4742 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4743 Remove CutAndPaste:: prefix from header file declaration.
4745 * LColor.h (fill): remove LColor:: prefix from declaration.
4747 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4748 use lyx::depth_type rather than Paragraph::depth_type so that
4749 header file and .C file match.
4751 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4753 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4754 * aspell.C: \file aspell_local.C -> \file aspell.C
4755 * gettext.C: \file gettext.C -> \file src/gettext.C
4756 * gettext.h: \file gettext.h -> \file src/gettext.h
4757 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4758 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4759 * text.C: \file text.C -> \file src/text.C
4761 * toc.C: move comment so that doxygen is not confused.
4763 2003-10-07 Angus Leeming <leeming@lyx.org>
4765 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4767 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4770 * aspell_local.h: add forgotten std::string's.
4772 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4779 * text3.C: The Box patch. Fancybox support, minipage, parbox
4781 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4787 * ParagraphParameters.h:
4797 * lyxtextclasslist.h:
4800 * paragraph_pimpl.C:
4801 * textcursor.h: add <string> and other small fixes to make Lars'
4802 std::string patch compile with STLport.
4804 2003-10-06 Angus Leeming <leeming@lyx.org>
4806 * LColor.h: Add missing #include <string>.
4808 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * All most all file in all subdirs: Make <string> be the prefered
4811 way of getting to std::string, add using declarations.
4813 2003-10-06 André Pönitz <poenitz@gmx.net>
4815 * metricsinfo.C: initialize LyXFont before changing attribute.
4816 (fixes the 'math in \emph is upright' bug)
4818 2003-10-06 André Pönitz <poenitz@gmx.net>
4820 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4822 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4825 * paragraph_pimpl.C: Small fixes to build using STLport
4827 2003-10-02 André Pönitz <poenitz@gmx.net>
4830 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4832 2003-10-01 André Pönitz <poenitz@gmx.net>
4834 * factory.C: assert early
4836 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * lyx_main.C: remove the global debug object
4840 * debug.h: adjust for new debugstream
4842 * debug.C: adjust for new debugstream and keep the global debug
4845 2003-09-22 Angus Leeming <leeming@lyx.org>
4847 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4848 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4849 an incomplete class LyXFont.
4851 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4853 * factory.C: bug fix in branches
4855 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * lyxfunc.C (processKeySym): adjust
4859 (dispatch): change arg name from ev to func, adjust
4860 (sendDispatchMessage): ditto
4862 * lyx_main.C (defaultKeyBindings): adjust keybindings
4863 (deadKeyBindings): ditto
4865 * kbsequence.C (addkey): return a FuncRequest
4867 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4869 * kbmap.C (bind): take a FuncRequest as arg, adjust
4872 (defkey): change to take a FuncRequest as arg, adjust
4873 (findbinding): take a FuncRequest as arg, adjust.
4875 * funcrequest.h (operator=): added
4877 * funcrequest.C (FuncRequest): default kb_action changed from
4878 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4880 * buffer.C (dispatch): simplify
4881 (dispatch): adjust to take a FuncRequest as arg, adjust
4883 * boost.C (assertion_failed): change assertion message slightly
4885 * ToolbarBackend.C (read): simplify
4887 * MenuBackend.C (binding): adjust call to findbinding, add a
4888 message if no binding is found.
4890 (expandToc): correct by adding a empty FuncRequest
4892 * LyXAction.C: include <boost/assert.hpp>
4893 (isPseudoAction): delete function
4894 (LookupFunc): change name to...
4895 (lookupFunc): this. change return type to FuncRequest.
4896 (getActionName): take kb_action as arg, simplify
4897 (funcHasFlag): add an assert, simplify.
4899 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * toc.C (action): return a FuncRequest, simplify
4903 * lyxfunc.C (processKeySym): adjust
4904 (getStatus): delete version that takes an int.
4906 (dispatch): delete version that takes action as int
4908 (sendDispatchMessage): simplify and adjust
4910 * funcrequest.C (getArg): take unsigned int as arg
4912 * ToolbarBackend.C (read): adjust
4913 (add): delete version that takes func as a string.
4914 (getIton): take a FuncRequest as arg
4916 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4919 * MenuBackend.C (MenuItem): add a new construct that only takes a
4920 Kind, simplify the constructor use for submenus.
4922 (expandLastfiles): adjust
4923 (expandDocuments): adjust
4924 (expandFormats): adjust
4925 (expandFloatListInsert): adjust
4926 (expandFloatInsert): adjust
4927 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4929 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4930 Remove class variables lyx_pseudo_map and lyx_arg_map
4932 * LyXAction.C (searchActionArg): delete function
4933 (getPseudoAction): delete function
4934 (retrieveActionArg): delete function
4935 (LookupFunc): make it return kb_action, simplify.
4936 (getActionName): simplify
4938 * factory.C (createInset): fix new bug
4940 2003-09-19 Angus Leeming <leeming@lyx.org>
4942 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4943 masterFilename_ parameter in the include inset.
4945 * factory.C (createInset): changes due to the changes to InsetInclude.
4947 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4949 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4951 2003-09-18 Angus Leeming <leeming@lyx.org>
4954 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4955 Inset::fillWithBibKeys.
4956 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4958 2003-09-18 Angus Leeming <leeming@lyx.org>
4960 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4962 (ctor): pass and store a 'Buffer const &'
4963 (buffer): new member function.
4965 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4966 '*this' to the LaTeXFeatures ctor.
4968 2003-09-18 Angus Leeming <leeming@lyx.org>
4974 * text.C: rename EnumLColor as LColor_color.
4976 2003-09-18 Angus Leeming <leeming@lyx.org>
4978 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4979 remove #include "insets/insetbase.h" from cursor.h.
4981 2003-09-18 Angus Leeming <leeming@lyx.org>
4983 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4984 InsetOld_code to remove #include "inset.h".
4986 * iterators.C: add #include "insets/inset.h"
4988 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4990 * BufferView.C: remove more locking stuff that apparently doesn't
4991 do anything sensible.
4993 2003-09-16 André Pönitz <poenitz@gmx.net>
4996 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4999 2003-09-16 Angus Leeming <leeming@lyx.org>
5001 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5003 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5006 * paragraph.h: remove #include "lyxfont.h". Forward declare
5009 2003-09-16 Angus Leeming <leeming@lyx.org>
5011 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5012 of support/textutils.h.
5013 (isWord): move the contents of support/textutils.h's IsWordChar here.
5019 * text2.C: add #include "paragraph.h".
5022 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5024 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * LaTeX.C: use namespace alias for lyx::support::os
5032 2003-09-16 Angus Leeming <leeming@lyx.org>
5035 * bufferview_funcs.C:
5038 * paragraph_pimpl.C:
5040 * text.C: add #include "LColor.h".
5042 2003-09-16 Angus Leeming <leeming@lyx.org>
5044 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5045 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5047 Store the FontBits::color variable as an int rather than as an
5048 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5051 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5052 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5053 string calls together.
5055 * lyxrc.C: add #include "LColor.h".
5057 2003-09-15 Angus Leeming <leeming@lyx.org>
5059 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5062 2003-09-15 Angus Leeming <leeming@lyx.org>
5064 * LColor.h: add an EnumLColor wrapper for LColor::color.
5066 * lyxfont.[Ch] (color, setColor, realColor):
5067 * lyxtext.h, text.C (backgroundColor):
5068 pass EnumLColor args to/from the functions, rather than LColor::color
5072 * lyxtext.h: forward declare EnumLColor.
5074 * lyx_main.C: add #include "LColor.h".
5076 2003-09-15 Angus Leeming <leeming@lyx.org>
5078 * .cvsignore: add lyx-gtk.
5080 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * ParagraphParameters.C
5089 * bufferview_funcs.C
5099 * vc-backend.C: remove usage of STRCONV
5101 2003-09-15 Angus Leeming <leeming@lyx.org>
5103 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5104 explicitly define the color passed to the painter.
5106 2003-09-15 Angus Leeming <leeming@lyx.org>
5108 * bufferparams.C (BufferParams): reorder member initializers to avoid
5111 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5113 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5114 * text.C (updateRowPositions): remove an unusual nop
5116 2003-09-12 André Pönitz <poenitz@gmx.net>
5118 * BufferView_pimpl.C:
5127 * Counters.[Ch]: finish the 'automatic counters' job
5129 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5131 * aspell.C: include <boost/assert.cpp> (compile fix)
5133 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5135 * boost.C (assertion_failed): use lyx::support::abort instead of
5138 2003-09-10 Angus Leeming <leeming@lyx.org>
5140 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5141 with their _fwd progeny.
5143 2003-09-09 Angus Leeming <leeming@lyx.org>
5145 134 files throughtout the source tree: replace 'using namespace abc;'
5146 directives with the appropriate 'using abc::xyz;' declarations.
5148 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5150 * boost.C (emergencyCleanup): moved here from LAssert.c
5151 (assertion_failed): new function, called by BOOST_ASSERT
5153 * several files: change Assert to BOOST_ASSERT
5155 2003-09-09 Angus Leeming <leeming@lyx.org>
5157 * buffer.[Ch]: Add an Impl class and move Buffer's member
5158 variables into it. As a result move several header files out of
5161 Add header files to lots of .C files all over the tree as a result.
5163 2003-09-09 Angus Leeming <leeming@lyx.org>
5165 * buffer.[Ch]: make Buffer's member variables private. Add
5168 Lots of changes all over the tree as a result.
5170 2003-09-08 Angus Leeming <leeming@lyx.org>
5172 * graph.C: #include <config.h>.
5174 2003-09-08 Angus Leeming <leeming@lyx.org>
5178 * BufferView_pimpl.C:
5207 * toc.C: remove redundant using directives.
5209 2003-09-07 Angus Leeming <leeming@lyx.org>
5211 * LaTeXFeatures.h: remove #include "support/types.h".
5212 * ToolbarBackend.h: remove #include <algorithm>.
5213 * changes.h: remove #include <ctime>.
5214 * debug.h: remove #include <iosfwd>.
5215 * graph.h: remove #include "support/std_string.h".
5216 * lyx_main.h: remove #include <csignal>.
5217 * lyxlex_pimpl.h: remove #include <fstream>.
5218 * sgml.h: remove #include <algorithm>, <utility>.
5219 * toc.h: remove #include "support/std_ostream.h".
5220 Add #include <iosfwd>.
5222 2003-09-07 Angus Leeming <leeming@lyx.org>
5224 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5226 * converter.h: forward declare LatexRunParams.
5227 * encoding.h: remove #include "lyxrc.h".
5228 * lyxtext.h: remove #include "LColor.h".
5229 * lyxtextclass.h: remove #include "support/types.h".
5230 * trans.h: remove #include "tex-accent.h".
5231 * trans_mgr.h: remove #include "tex-accent.h".
5232 * insets/inset.h: remove #include "support/types.h", <vector>.
5233 * insets/insetcollapsable.h: remove #include "LColor.h".
5234 * insets/insetinclude.h: remove #include "dimension.h".
5235 * insets/insetlatexaccent.h: remove #include "dimension.h".
5236 * insets/insetoptarg.h:: remove #include "insettext.h".
5237 * insets/insettext.h: remove #include "dimension.h",
5238 <boost/shared_ptr.hpp>
5240 * insets/renderers.h: add #include "dimension.h".
5241 * insets/updatableinset.h: add #include "support/types.h".
5243 * many .C files: Associated changes.
5245 2003-09-06 Angus Leeming <leeming@lyx.org>
5247 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5248 one, inside testInvariant.
5250 * PrinterParams.C: new file.
5251 * PrinterParams.[Ch]: move the function bodies out of line.
5253 2003-09-06 Angus Leeming <leeming@lyx.org>
5255 * ParagraphParameters.h: forward declare ParameterStruct rather than
5256 including its header file.
5257 (depth): moved out-of-line.
5259 2003-09-06 Angus Leeming <leeming@lyx.org>
5261 * BufferView_pimpl.h:
5264 * lyxfunc.h: forward declare LyXKeySym rather than
5265 #include "frontends/LyXKeySym.h".
5267 * BufferView_pimpl.C:
5270 * lyxfunc.C: associated changes.
5272 2003-09-06 Angus Leeming <leeming@lyx.org>
5274 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5275 As a result, can remove the #include "insets/inset.h" from BufferView.h
5277 2003-09-06 Angus Leeming <leeming@lyx.org>
5279 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5280 As a result, can remove the #include "insets/inset.h" from BufferView.h
5282 2003-09-06 Angus Leeming <leeming@lyx.org>
5288 * bufferview_funcs.C:
5289 * BufferView_pimpl.C:
5294 * ParagraphParameters.C:
5299 * frontends/controllers/ControlDocument.C:
5300 * insets/insetcaption.C: rearrange the #includes into some sort of
5303 * buffer.h: remove #includes ErrorList.h, undo.h
5305 2003-09-06 Angus Leeming <leeming@lyx.org>
5307 * support/types.h: add a 'depth_type' typedef, used to store the
5308 nesting depth of a paragraph.
5311 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5312 defining explicitly.
5315 * paragraph_funcs.h:
5316 * ParagraphParameters.h:
5317 * sgml.h: use lyx::depth_type rather than Paragraph or
5318 ParameterStruct's depth_type.
5321 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5324 * BufferView_pimpl.C:
5326 * ParagraphParameters.C:
5329 * bufferview_funcs.C:
5336 * frontends/LyXView.C:
5337 * frontends/controllers/ControlDocument.C:
5338 * frontends/controllers/ControlErrorList.C:
5339 * insets/insetbibitem.C:
5340 * insets/insetbranch.C:
5341 * insets/insetcaption.C:
5342 * insets/insetcollapsable.C:
5343 * insets/insetenv.C:
5344 * insets/insetert.C:
5345 * insets/insetfloat.C:
5346 * insets/insetfoot.C:
5347 * insets/insetfootlike.C:
5348 * insets/insetnewline.C:
5349 * insets/insetquotes.C:
5350 * insets/insettabular.C:
5351 * insets/insettext.C:
5352 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5354 * frontends/controllers/ControlChanges.C: #include "changes.h".
5356 2003-09-06 Angus Leeming <leeming@lyx.org>
5358 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5359 than #including paragraph.h.
5362 * RowList.h: deleted. Superfluous.
5372 * insets/insettext.h: use ParagraphList_fwd.h rather than
5375 * paragraph.h: don't forward declare ParagraphList.
5378 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5379 rather than ParagraphList.h. paragraph.h is still needed for the
5380 Paragraph::depth_type parameters.
5382 * textcursor.h: enable it to compile stand-alone in light of the
5385 * bufferview_funcs.C:
5397 * frontends/controllers/ControlParagraph.C:
5398 * frontends/controllers/ControlTabular.C:
5399 * insets/insetmarginal.C:
5400 * insets/insetminipage.C:
5401 * insets/insetnote.C:
5402 * insets/insetoptarg.C: add header files needed to compile again.
5404 2003-09-06 Angus Leeming <leeming@lyx.org>
5406 * RowList_fwd.h: new file, forward-declaring Row rather than
5407 #including lyxrow.h.
5412 * insets/insettext.h: use it instead of RowList.h
5414 * bufferview_funcs.C:
5421 * text3.C: #include "RowList.h".
5423 2003-09-05 Angus Leeming <leeming@lyx.org>
5425 * factory.C (createInset):
5426 * vspace.C (c-tor): replace sscanf call with an istringstream.
5427 * ispell.C: re-add missing HP/UX headers.
5428 * lyxserver.C: re-add missing os2 headers.
5430 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5439 * text3.C: re-add missing system headers, needed for 2.95.2.
5441 2003-09-05 Angus Leeming <leeming@lyx.org>
5443 Changes most place everywhere due to the removal of using directives
5444 from support/std_sstream.h.
5446 2003-09-05 Angus Leeming <leeming@lyx.org>
5448 Replace LString.h with support/std_string.h,
5449 Lsstream.h with support/std_sstream.h,
5450 support/LIstream.h with support/std_istream.h,
5451 support/LOstream.h with support/std_ostream.h.
5453 Changes resulting throughout the tree.
5455 2003-09-05 Angus Leeming <leeming@lyx.org>
5457 * sgml.h: ensure that the header file can be compiled stand-alone.
5458 * *.C: strip out redundant #includes. (320 in total.)
5460 2003-09-04 Angus Leeming <leeming@lyx.org>
5462 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5463 here (from getPackages).
5465 * debug.[Ch]: add a new EXTERNAL tag.
5467 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5469 * text2.C (cursorEnd): simplify
5471 (getColumnNearX): adjust
5473 * text.C (computeBidiTables): adjust
5476 * rowpainter.C (paintChars): adjust
5477 (paintSelection): adjust
5478 (paintChangeBar): adjust
5481 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5483 (numberOfSeparators): adjust
5485 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5491 * text3.C: Restricts the mouse click functionality
5492 of insets like bibtex, include, toc and floatlist to the visible
5493 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5494 up the dialogs. Cursor has to be in front of the inset (i.e.
5495 start of row) for this to function.
5497 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5499 * bufferview_funcs.C (currentState): output row information
5501 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5503 * bufferview_funcs.C (currentState): output paragraph position
5505 2003-09-04 Angus Leeming <leeming@lyx.org>
5507 * FloatList.h: move out #include "Floating.h".
5508 * LaTeX.h: move out #include "DepTable.h".
5509 * LyXAction.h: move out #include "funcrequest.h".
5510 * buffer.h: move out #include "author.h", "iterators.h".
5511 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5512 * lyx_main.h: move out #include "errorlist.h".
5513 * lyxfunc.h: move out #include "FuncStatus.h".
5514 * lyxtext: move out #include "lyxcursor.h".
5515 * paragraph_pimpl.h: move out #include "counters.h".
5517 2003-09-03 Angus Leeming <leeming@lyx.org>
5519 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5520 preamble_snippets list, enabling us to add snippets to the preamble
5521 only if the snippet was not there already.
5523 2003-09-04 Angus Leeming <leeming@lyx.org>
5525 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5527 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5529 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5532 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5534 * BranchList.C: point fix, earlier forgotten
5536 2003-09-02 Angus Leeming <leeming@lyx.org>
5538 * box.C (contains): renamed from 'contained' after a fantastic
5541 2003-09-02 John Levon <levon@movementarian.org>
5547 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5549 2003-09-02 John Levon <levon@movementarian.org>
5551 * text2.C: simplification of cursorEnd(), including partial
5554 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5556 * buffer.C (readFile): add a space
5558 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5560 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5562 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * buffer.C (readFile): new function, take a filename and a
5565 ParagraphList::iterator
5567 (readFile): adjust, make it private. don't use setStream, make
5568 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5569 always contain the filename.
5571 * BufferView.C (insertLyXFile): simplify and make it work for
5574 2003-08-30 John Levon <levon@movementarian.org>
5576 * Makefile.am: fix dist (from Kayvan)
5578 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * most files: change to use const Buffer refs
5582 2003-08-27 André Pönitz <poenitz@gmx.net>
5584 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5585 on top of ownerPar().
5587 2003-08-27 John Levon <levon@movementarian.org>
5589 * funcrequest.C: properly initialise POD members
5591 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5593 * lyxtext.h (top_y): move top_y from here
5598 * BufferView_pimpl.[Ch]: to here
5599 * frontends/screen.C:
5600 * insets/insettabular.C:
5601 * insets/insettext.C: adjust
5602 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5604 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5607 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5609 2003-08-26 André Pönitz <poenitz@gmx.net>
5611 * paragraph_func.[Ch] (outerPar): new function
5614 * paragraph_funcs.C:
5615 * paragraph_funcs.h:
5616 * paragraph_pimpl.C:
5617 * text2.C: remove Inset::par_owner
5619 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5624 * text2.C: eliminates the needFullRow/display() stuff
5625 altogether, putting the logic in metrics/draw in the insets.
5627 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5629 * text2.C (redoParagraphInternal, redoParagraphs):
5630 * text.C (redoParagraph): add a call to updateRowPositions at the
5631 end of each 'metrics-like' call. Remove all others.
5632 (getRow): remove the 'y-computing' version.
5633 (getRowNearY): do not compute nor return the real y. Solve the
5634 'y < 0' problem and simplify.
5636 2003-08-22 Angus Leeming <leeming@lyx.org>
5638 * *.[Ch]: clean-up of licence and author blurbs.
5639 Also move config.h out of a few .h files and into a few .C files.
5641 2003-08-22 André Pönitz <poenitz@gmx.net>
5643 * lyxrow.[Ch]: add x_ and *fill_ members
5648 * text2.C: adjust/remove prepareToPrint() calls
5650 2003-08-22 André Pönitz <poenitz@gmx.net>
5652 * lyxrow.[Ch]: add end_ member
5654 * lyxrow_funcs.C: use LyXRow::end_
5656 * lyxtext.h (singleWidth): add LyXFont parameter
5659 * text2.C: adjust LyXText::singleWidth() calls
5661 * text.C (redoParagraph): simplify row breaking logic
5664 2003-08-19 André Pönitz <poenitz@gmx.net>
5666 * funcrequest.C: initialize button_ member
5669 * rowpainter.[Ch]: interface consolidation
5671 2003-08-18 André Pönitz <poenitz@gmx.net>
5674 * BufferView_pimpl.C:
5676 * paragraph_funcs.C:
5678 * text3.C: remove LyXScreen::draw() and fitCursor calls
5680 * BranchList.h: remove spurious semicolons
5682 * MenuBackend.C: fix branchlist related crash
5684 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5692 * bufferparams.[Ch]:
5696 * text3.C: implements the 'branch inset'
5697 idea. This allows the output of various versions of a document
5698 from a single source version, selectively outputing or suppressing
5699 output of parts of the text.
5700 This implementation contains a 'branch list editor' in a separate
5701 tab of the document settings dialog. Branches are user definable
5702 and have a "display colour" to distinguish them on-screen.
5704 ColorHandler was somewhat cleaned up.
5705 (1) make possible a dynamically growing LColor list by allowing
5706 the graphic context cache to grow along (vector);
5707 (2) eliminate an IMHO unnecessary step in colour allocation.
5709 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5711 * BufferView_pimpl.C: compile fix
5713 2003-08-15 André Pönitz <poenitz@gmx.net>
5715 * rowpainter.C: remove extra metrics calls
5717 * lyxtext.h: merge the two constructors into a single one,
5718 pass reference to owner's par list
5720 * BufferView_pimpl.C:
5724 2003-08-15 André Pönitz <poenitz@gmx.net>
5726 * lyxrow_funcs.[Ch]:
5729 * paragraph_funcs.C:
5734 * text_funcs.C: split LyXText::rowlist_ into individual
5735 Paragraph::rows_ chunks
5738 * BufferView_pimpl.[Ch]:
5741 * text3.C: remove toggleSelection()
5743 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5745 * bufferlist.C: beautify two alerts (shorter text of buttons)
5746 * buffer.C: Remove redundant ' ' from message
5748 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5749 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5750 rename VALIGN_CENTER to VALIGN_MIDDLE
5752 2003-08-11 André Pönitz <poenitz@gmx.net>
5754 * lyxtext.h (getPar):
5755 * text.C: new function
5757 2003-08-11 André Pönitz <poenitz@gmx.net>
5760 * tracer.[Ch]: remove unneeded files
5762 * InsetList.[Ch]: remove resizeInsetsLyXText()
5767 * text3.C: merge insertParagraphs() and appendParagraph()
5768 remove breakAgain(), update()
5770 * BufferView_pimpl.[Ch]:
5771 * bufferview_funcs.[Ch]:
5775 * tabular.C: adjust after text & InsetList changes.
5777 2003-08-08 André Pönitz <poenitz@gmx.net>
5779 * text.C (insertChar, backspace): replace rowlist fiddling
5780 with rebreak of full par
5783 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5784 checkParagraph, updateInset): removed
5786 2003-08-07 André Pönitz <poenitz@gmx.net>
5789 * text3.C: merge some LFUN handlers, remove dead code
5791 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5793 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5795 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5797 * text2.C (DEPM): fix part of bug 1255 and 1256
5799 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5801 * BufferView_pimpl.C (workAreaDispatch): change to use
5802 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5803 that are no mouse related.
5805 2003-08-05 André Pönitz <poenitz@gmx.net>
5808 * BufferView_pimpl.[Ch]:
5809 * bufferview_funcs.C:
5811 * text3.C: rip out "deep update"
5813 * textcursor.[Ch] (last_sel_cursor): remove unused member
5815 2003-08-04 André Pönitz <poenitz@gmx.net>
5818 * BufferView_pimpl.[Ch]:
5819 * ParagraphParameters.C:
5820 * bufferview_funcs.C:
5826 * text3.C: replace "complicated" BufferView::update(...) calls with
5829 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5831 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5833 * Makefile.am (lyx_SOURCES): add paper.h
5835 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5837 * Makefile.am: move things around so that both lyx-qt and
5838 lyx-xforms can be built (according to --with-frontend). Then lyx
5839 is a symbolic link to lyx-[firstfrontend]
5841 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5843 * Always use std::endl with lyxerr
5845 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5847 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5849 2003-08-01 André Pönitz <poenitz@gmx.net>
5852 * BufferView_pimpl.[Ch]:
5854 * text3.C: merge BufferView::repaint() and BufferView::update()
5856 2003-08-01 José Matos <jamatos@lyx.org>
5858 * buffer.[Ch]: file_format is no longer a buffer data element.
5860 2003-08-01 André Pönitz <poenitz@gmx.net>
5865 * text2.C: make redoParagraph more independent of current cursor
5867 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5869 * text2.C: remove unneeded members
5871 2003-07-30 André Pönitz <poenitz@gmx.net>
5873 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5875 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5876 create a single function...
5878 * paragraph_funcs.C (moveItem): ... here.
5881 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5883 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5885 * LColor.[Ch]: Add comment and greyedout logical colors.
5887 2003-07-30 André Pönitz <poenitz@gmx.net>
5889 * tabular.C: don't use Assert too heavily. This crashes where it
5892 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5894 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5895 is disabled (bug 1232)
5897 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5899 * factory.C: limited 'arg' scope
5901 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5903 * factory.C: fixed Note submenu issues
5905 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5907 * factory.C: submenu for Note/Comment/Greyedout
5909 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5912 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5914 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5917 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5918 greyedout. Patch provided by Jürgen Spitzmüller.
5920 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5922 * kbmap.C (read): fix error message when reading bind files
5924 2003-07-29 Angus Leeming <leeming@lyx.org>
5926 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5927 certainly does not do what it purports to do. I am doing it, and
5928 us, a favour by killing it.
5930 2003-07-28 José Matos <jamatos@lyx.org>
5932 * buffer.C (readBody, do_writeFile):
5933 * paragraph.C(readParagraph): \end_document replaces \the_end.
5935 2003-07-29 André Pönitz <poenitz@gmx.net>
5938 * BufferView_pimpl.[Ch]:
5942 * textcursor.[Ch]: remove toggleToggle & Co
5944 2003-07-28 José Matos <jamatos@fep.up.pt>
5946 * buffer.C (readParagraph):
5947 * params_func (readParToken, readParagraph):
5948 * paragraph.C (write): \layout -> \begin_layout.
5950 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * lyxlex_pimpl.C (setFile): clean up slightly.
5954 * bufferparams.h: add compressed var
5956 * buffer_funcs.C (readFile): adjust for LyXLex change
5957 (newFile): ditto + simplify
5959 * buffer.C (writeFile): handle writing of compressed files
5961 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5962 Check if the file is compressed and set a bufferparm if so.
5964 * Makefile.am (lyx_LDADD): remove explicit -lz
5966 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5968 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5969 makeDocBookFile): put the real LyX version in the first line of
5973 * version.C.in: remove lyx_docversion
5975 * tabular.C (write_attribute): add a template-based version to
5976 write enums properly
5978 2003-07-28 André Pönitz <poenitz@gmx.net>
5983 * text3.C: use doubles again for x-coordinates. They are needed.
5985 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5987 * messages.C (getLocaleDir): use lyx_localedir()
5989 * lyxlex_pimpl.C (setFile): compress stuff
5991 * buffer.C (writeFile): add some compression stuff
5992 (do_writeFile): new func, dont call expliti close... will this
5995 * Makefile.am (lyx_LDADD): add -lz
5997 2003-07-28 José Matos <jamatos@fep.up.pt>
5999 * buffer.C: increment file format.
6000 * paragraph_funcs (readParagraph, readParToken):
6001 * paragraph.C (readParagraph): add \end_layout.
6003 2003-07-27 Angus Leeming <leeming@lyx.org>
6005 * Makefile.am: remove special casing for configure-time setting of
6006 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6008 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6009 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6011 2003-07-26 André Pönitz <poenitz@gmx.net>
6013 * paragraph_func.[Ch]:
6014 * paragraph.C (realizeFont): inline it whereever it is used
6019 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6022 2003-07-26 André Pönitz <poenitz@gmx.net>
6026 * text2.C: get rid of LyXText::need_break_row
6028 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6030 * toc.[Ch]: put namespace toc inside namespace lyx
6032 * MenuBackend.C (expandToc2): adjust for lyx::toc
6035 * lyxfunc.C (dispatch): adjust for lyx::find
6037 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6038 lyx::find instead. Reorganize a bit.
6039 (LyXReplace): rename to replace
6040 (LyXFind): rename to find
6042 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6045 2003-07-26 André Pönitz <poenitz@gmx.net>
6047 * text.C (setHeightOfRow): restrict scope of temporary variable
6049 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6050 code (never has been used?)
6052 2003-07-27 Asger Alstrup <alstrup@local>
6054 * text.C (fill): Optimise algorithm to exploit that we can reuse
6055 the LyXFont for many characters.
6056 (setHeightOfRow): Same thing.
6057 (rowBreakPoint): Same thing.
6059 2003-07-26 Asger Alstrup <alstrup@local>
6061 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6063 * text.C (singleWidth): Spurious font copying in hot-spot
6064 singleWidth avoided. Reorder tests for arabic for efficiency.
6066 * text.C (fill): handle empty paragraphs better.
6068 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6071 * encoding.h: add includes
6073 * lyxrc.C: remove reading of bind files
6075 * lyx_main.C (init): setup bindings and menus only if we have a
6078 * kbmap.C (read): new method. Do the actual reading of bind
6081 * converter.C (dvipdfm_options):
6084 (output): adapt PAPER_* enums.
6086 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6088 * bufferparams.h: remove paper-related enums from there
6090 * paper.h: New file. A trivial header file to hold paper-related
6091 enums. It should later expand to contain many paper-related
6094 * lyxrc.C: declare extern displayTranslator
6096 2003-07-27 José Matos <jamatos@fep.up.pt>
6098 * tabular.[Ch] (linuxdoc): add support for tables and figures
6101 2003-07-27 José Matos <jamatos@fep.up.pt>
6103 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6104 consistency in both functions.
6105 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6107 2003-07-26 Asger Alstrup <alstrup@local>
6109 * rowpainter.C (paintRows): Change algorithm to work directly on
6110 the insets rather than asking every character in the document
6111 whether its an inset.
6113 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6115 * buffer.C (openFileWrite): factorize some code
6117 2003-07-26 Angus Leeming <leeming@lyx.org>
6120 * lyx_main.[Ch]: replace occurances of system_tempdir with
6123 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6125 * rename Inset to InsetOld
6127 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6129 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6130 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6131 which I think is a bit clearer. EDIT is gone, since it was
6132 premature optimisation, and broken for mathed anyway.
6133 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6134 with cursor positioning in insets as well (math insets still do not
6135 work, but that's a different story anyway.) It mysteriously
6136 crashes sometimes with undo in the first paragraph, but I'm fairly
6137 confident that this is a compiler bug.
6139 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * paragraph.C (Paragraph): adjust for new clone return type
6143 (copyIntoMinibuffer): ditto
6145 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6147 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6148 by not having a special case, and always doing a full rebreak of
6149 the document after undo.
6151 2003-07-23 Angus Leeming <leeming@lyx.org>
6153 * factory.C (createInset): InsetExternal::setParams now takes a
6156 2003-07-23 Angus Leeming <leeming@lyx.org>
6158 * factory.C (createInset): changed interface to the external and
6159 graphics mailers' string2params functions.
6161 2003-07-23 Angus Leeming <leeming@lyx.org>
6163 * factory.C (createInset): pass a
6164 Buffer const * parameter to InsetExternalMailer's string2params.
6166 2003-07-22 John Levon <levon@movementarian.org>
6168 * Thesaurus.h: include the right aiksaurus header
6170 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6172 * MenuBackend.C (expand): check menu shortcuts unconditionally
6174 2003-07-21 Angus Leeming <leeming@lyx.org>
6176 * factory.C (createInset): pass a
6177 buffer_path parameter to InsetGraphicsMailer's string2params.
6179 2003-07-21 Angus Leeming <leeming@lyx.org>
6181 * BufferView_pimpl.C (buffer):
6184 * lyxfunc.C (dispatch):
6185 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6186 rather than the grfx shortcut.
6188 2003-07-21 André Pönitz <poenitz@gmx.net>
6190 * rowpainter.C: remove unused variables
6193 * tabular_funcs.h: move to tabular.C
6194 * Makefile.am: adjust
6196 * tabular.[Ch]: basic optical cleaning
6198 * author.h: pass references, not values
6200 2003-07-18 André Pönitz <poenitz@gmx.net>
6208 * text3.C: two-phase drawing for InsetText and InsetTabular
6209 some float -> int changes.
6211 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6213 * lyx_main.C: fix the fix
6215 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6217 * lyx_main.C: fix a crash in batch mode if no files specified
6220 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6222 * format.[Ch] (papersize): moved to BufferParams
6223 * converter.[Ch] (dvips_options): moved to BufferParams
6224 (dvipdfm_options): moved to anon namespace
6225 * bufferparams.[Ch]: added above functions.
6227 2003-07-17 André Pönitz <poenitz@gmx.net>
6231 * text2.C: don't call inset->update() anymore
6233 * metricsinfo.[Ch]: add convenience constructor
6235 2003-07-16 André Pönitz <poenitz@gmx.net>
6240 * text2.C: replace the LyXCursor::irow_ member with
6241 on-demand computation of the value
6243 2003-07-16 John Levon <levon@movementarian.org>
6245 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6247 2003-07-15 André Pönitz <poenitz@gmx.net>
6250 * text2.C: remove no more needed refresh_row
6252 2003-07-15 André Pönitz <poenitz@gmx.net>
6257 * text3.C: refresh_status tristate -> need_update bool
6259 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6261 * lyxtext.h (init): remove reinit argument (act as if always true)
6262 * text2.C: adjust to that
6264 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6266 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6267 * text3.C: use it to delete selections in some cases
6268 (bugs 441, 673, 702, 954).
6270 2003-07-14 André Pönitz <poenitz@gmx.net>
6272 * rowpainter.[Ch]: reduce interface
6274 2003-07-14 André Pönitz <poenitz@gmx.net>
6276 * BufferView_pimpl.C:
6277 * text2.C: adjust after removing unused BufferView * argument
6279 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6281 * text2.C (init): fix a crash fired on resize
6283 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6285 * buffer.[Ch]: added new closing signal
6286 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6287 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6288 BufferView::Pimpl via the closing the signal
6290 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6292 * buffer.[Ch]: take out all bv-related from buffer
6294 * BufferView_pimpl.[Ch]: connect to new signals
6295 * CutAndPaste.C: removed useless asserts
6296 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6299 * lyxfunc.C: moved view-related funciontality from vc here
6300 * paragraph.C: removed outdated comments
6303 2003-07-10 André Pönitz <poenitz@gmx.net>
6305 * BufferView_pimpl.C:
6309 * text2.C: remove InsetText::InnerCache, clean up consequences
6311 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6313 * ispell.C: fix two typos in error messages
6315 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6317 * Extend Note inset to other forms of annotation like Comment
6318 and Greyedout. Right button click gives dialog.
6320 Files modified or added (+):
6324 * ControlNote.[Ch] +
6326 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6327 frontends/controllers
6331 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6333 * aspell.C: add missing namespace lyx::support
6335 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6337 * BufferView.[Ch] (newFile): Add
6338 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6339 * LaTeX.[Ch] (message): added this signal and use it
6340 * buffer.[Ch] (busy, message): added these signals and use them
6341 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6345 * importer.C: use buffer signals instead of direct bv calling
6346 * lyx_cb.[Ch] (ShowMessage): removed
6349 * paragraph_funcs.C:
6350 * text2.C: use buffer signals
6352 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * introduce namespace lyx::graphics
6356 2003-07-02 André Pönitz <poenitz@gmx.net>
6358 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6360 2003-07-01 André Pönitz <poenitz@gmx.net>
6367 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6368 text*.C to text_func.C
6370 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6372 * introduce namespace lyx::support
6374 2003-06-30 André Pönitz <poenitz@gmx.net>
6379 * text.C: re-enable --with-included-string
6381 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6383 * textcursor.C: add <config.h>
6385 * text.C (getWord): remove const from word_location arg
6387 * lyxvc.C (getLogFile): fix const type order
6389 * lyxtext.h: remove const from word_location arg, add arg name
6391 * lyxlayout.h: currect type on labeltype.
6393 * importer.C: correct \file
6395 * converter.C (intToFormat): use std:: on ret val, ws changes
6397 * bufferlist.h: correct \file
6399 * buffer.C (makeLinuxDocFile): fix const type order
6400 (makeDocBookFile): ditto
6401 (fillWithBibKeys): use std:: on stdlib args.
6403 * CutAndPaste.C: fix authors.
6404 (availableSelections): use std:: on return vector
6406 2003-06-27 André Pönitz <poenitz@gmx.net>
6408 * BufferView_pimpl.C:
6409 * bufferview_funcs.C:
6417 * text3.C: remove LyXCursor::row_ member
6420 * text.C: rename fullRebreak() to partialRebreak() and implement
6421 a fullRebreak() that really bereks fully
6423 * textcursor.h: new struct for cursor-related data
6425 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6427 * lyx_main.C (LyX): get full path of document loaded on the
6430 2003-06-26 André Pönitz <poenitz@gmx.net>
6432 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6433 remove unused/broken operator>,<,>=.
6435 * text.C: remove only use of broken operator<= in an Assert().
6437 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6439 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6440 moved errorlist_.clear to showErrorList
6442 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6444 * converter.C (scanLog, runLaTeX):
6445 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6446 move the bv->showErrorList call to the callers
6447 * lyxfunc.C: i.e. here...
6449 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6450 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6451 namespace, the second to...
6452 * buffer_funcs (BufferFormat, parseErrors): added
6453 * errorlist.C (ErrorList(TeXErrors const &)): removed
6455 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6457 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6459 2003-06-24 "Garst R. Reese" <reese@isn.net>
6463 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6465 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6467 * version.C.in: change docversion to 1.4
6469 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6471 * buffer.C: fix a bug just introduced
6473 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6475 * buffer.[Ch]: added the parseError signal and use it, removed
6477 * BufferView.[Ch] (addError): moved to ...
6478 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6479 to the Buffer::parseError signal to catch (guess what) parse errors
6480 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6482 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6484 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6485 ability to create a buffer and to return an existing one from
6486 the list. Moved these functions to...
6487 * buffer_funcs.[Ch]: added
6488 * BufferView.[Ch] (loadLyXFile): added
6489 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6490 job removed from bufferlist::loadLyXFile.
6491 * buffer.C (setReadOnly): make it work without view
6492 (i.e added an if (users))
6494 2003-06-19 Angus Leeming <leeming@lyx.org>
6497 * LyXAction.C (init):
6498 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6499 with LFUN_DIALOG_SHOW <name> <data>.
6501 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6503 * CutAndPaste.C (availableSelections): small compilation fix for
6504 ancient (gcc 2.9x) compilers
6506 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * text3.C (cursorNext): add tmp var
6510 * text2.C (updateCounters): for function calling out of for clause
6511 (replaceSelectionWithString): ditto
6512 (insertStringAsParagraphs): ditto
6513 (getColumnNearX): add tmp var
6514 (setCursorFromCoordinates): add tmp var
6515 (cursorDownParagraph): add tmp var
6516 (deleteEmptyParagraphMechanism): add tmp var
6518 * text.C (insertChar): add tmp var
6520 * rowpainter.C (paintDepthBar): add tmp var
6522 * CutAndPaste.C (availableSelections): potentially check all
6523 paragraphs in a cut to fill the shown strings.
6525 2003-06-18 André Pönitz <poenitz@gmx.net>
6527 * kbmap.[Ch]: use vector<> instead of list<>
6529 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6531 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6532 pasteSelection with index
6534 * text2.C (pasteSelection): modify, call pasteSelection with index
6536 * paragraph.C (asString): reimplement version with no interval to
6537 call the one with interval.
6539 * lyxtext.h: add index arg to pasteSelection
6541 * MenuBackend.C (MenuItem): handle PasteRecent
6542 (Menu::read::Menutags): add md_pasterecent
6544 (expandPasteRecent): new function
6547 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6549 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6551 (availableSelections): new function
6553 2003-06-17 Angus Leeming <leeming@lyx.org>
6555 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6557 2003-06-17 Angus Leeming <leeming@lyx.org>
6560 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6562 * lyxfunc.C (dispatch): invoke it.
6564 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6566 * iterators.C (operator++, ParPosition): reintroduce some
6567 const_cast for the benefit of older compilers.
6569 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6571 * text3.C (dispatch): do not modify clipboard when doing
6572 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6573 LFUN_DELETE_SKIP on a selection selection
6575 2003-06-16 André Pönitz <poenitz@gmx.net>
6581 * tabular.[Ch]: IU of clone() and getLabelList();
6583 2003-06-13 André Pönitz <poenitz@gmx.net>
6585 * tabular.h: compactification
6587 2003-06-12 André Pönitz <poenitz@gmx.net>
6591 * tabular_funcs.h: some renaming plus whitespace
6593 2003-06-12 André Pönitz <poenitz@gmx.net>
6596 * BufferView_pimpl.C:
6602 * toc.C: Return a Paragraph & for ParIterator::operator*()
6604 2003-06-11 John Levon <levon@movementarian.org>
6608 * ToolbarBackend.C: add "Toolbars" section and
6611 2003-06-10 Angus Leeming <leeming@lyx.org>
6614 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6616 * lyxfunc.C (dispatch): invoke it.
6618 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * main.C: protect <ios> with HAVE_IOS
6621 (main): protect sync_with_stdio with HAVE_IOS
6623 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6625 * text2.C (cutSelection): adjust
6626 (pasteSelection): adjust
6628 * messages.C: handle get of empty string
6630 * main.C (main): use sync_with_stdio(false)
6632 * lyxfunc.C (dispatch): adjust
6634 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6635 (WriteAs): remove unneeded BufferView arg.
6637 * bufferparams.h: use correct types on papersize, papersize2 and
6640 * bufferparams.C (readToken): adjust for type
6641 (writeLaTeX): add missing cases to switch.
6643 * bufferlist.C (quitWriteBuffer): adjust
6646 * buffer.C (asciiParagraph): remove some commented code.
6648 * CutAndPaste.C: remove current_view extern variable.
6649 (cutSelection): add BufferParams arg.
6650 (eraseSelection): add BufferParams arg.
6651 (pasteSelection): add Buffer const & arg
6653 2003-06-07 John Levon <levon@movementarian.org>
6656 * paragraph_funcs.C:
6657 * paragraph_pimpl.C:
6661 * paragraph.C: allow InsetERT to freely space lines,
6662 and some consolidation of code
6664 2003-06-06 José Matos <jamatos@fep.up.pt>
6666 * buffer.C (makeDocBookFile): fix bug #821
6668 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6670 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6672 2003-06-04 Angus Leeming <leeming@lyx.org>
6674 * buffer.C: bump format to 224.
6676 2003-06-05 André Pönitz <poenitz@gmx.net>
6678 * text2.C (redoParagraphs): remove two const_cast<>
6680 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6682 * ParagraphList.h: remove last remnants of NO_STD_LIST
6684 2003-06-03 Angus Leeming <leeming@lyx.org>
6686 * factory.C (createInset): small change to the way InsetExternal's params
6689 2003-06-04 André Pönitz <poenitz@gmx.net>
6691 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6693 * paragraph_pimpl.h:
6694 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6696 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6698 * undo_funcs.C: make some simple cases of undo work again
6700 2003-06-03 John Levon <levon@movementarian.org>
6702 * ispell.C: HPUX doesn't have sys/select.h
6705 2003-06-03 John Levon <levon@movementarian.org>
6707 * CutAndPaste.C: update tabular and include inset
6712 * paragraph.C: remove owningBuffer(), don't pass Buffer
6715 * factory.C: insetGraphicsParams changed
6717 2003-06-02 John Levon <levon@movementarian.org>
6723 * text3.C: remove insetparent
6725 2003-06-02 John Levon <levon@movementarian.org>
6728 * buffer.C: fix inset_iterator.end(), move out of line
6731 2003-06-01 John Levon <levon@movementarian.org>
6733 * text3.C: use a proper cut/paste when doing inset
6734 insert (from Jürgen Spitzmüller)
6736 2003-06-01 John Levon <levon@movementarian.org>
6738 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6740 2003-05-30 André Pönitz <poenitz@gmx.net>
6742 * rowpainter.C: unify second drawing phase
6744 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * trans_mgr.C: remove one case of current_view
6748 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6750 * paragraph_funcs.h: remove paragraph.h include
6752 * paragraph.h: delete NO_STD_LIST stuff
6754 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6756 * buffer.h: remove paragraph.h include
6758 * ParagraphList.C: delete file
6760 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6762 * toc.C (getTocList): adjust
6764 * paragraph_pimpl.C (validate): adjust
6766 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6768 * paragraph.C (Paragraph): adjust
6769 (getPositionOfInset): use const_iterator, adjust
6770 (bibitem): use const_iterator, adjust
6771 (setInsetOwner): adjust
6773 * iterators.C (operator++): adjust
6775 * InsetList.[Ch]: Replace selfmade iterator with standard
6776 vector::iterator also introduce const_iterator. Remove getPos,
6777 getInset and setInset from InsetTable. Adjust accordingly.
6779 * BufferView.C (lockInset): adjust
6780 (ChangeInsets): adjust
6782 * tabular.[Ch]: delete commented same_id functions
6784 2003-05-28 John Levon <levon@movementarian.org>
6786 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6788 2003-05-28 André Pönitz <poenitz@gmx.net>
6790 * metricsinfo.[Ch]: remove 'fullredraw' member
6792 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6794 * lyxtextclass.C (operator): remove caching.
6796 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6800 * text2.C (cursorBottom): adjust
6801 (setCounter): use ParagraphList::find, adjust
6803 * text.C (workWidth): use ParagraphList::find, adjust
6805 * lyxcursor.C (LyXCursor): adjust
6807 * buffer.C (inset_iterator): adjust
6809 * ParagraphList.h: make iterator(value_type) private, make
6810 ParagraphList a friend of iterator.
6812 * ParagraphList.C (find): new function
6814 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6816 2003-05-27 André Pönitz <poenitz@gmx.net>
6818 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6820 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6822 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6824 2003-05-26 John Levon <levon@movementarian.org>
6826 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6828 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6830 * remove same_id from function signatures, adjust.
6832 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6836 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6838 * paragraph.C (Paragraph): get rid of same_ids parameter
6840 * ParagraphList.C (insert): adjust
6843 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * paragraph_funcs.C (breakParagraph): adjust
6846 (breakParagraphConservative): adjust
6848 * buffer.C (readParagraph): adjust
6850 * ParagraphList.C (insert): take a reference instead of a pointer
6853 * paragraph.[Ch] (id): new function
6855 * bufferlist.C (newFile): adjust
6857 * ParagraphList.C (ParagraphList): adjust
6859 (push_back): take a reference instead of a pointer.
6861 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6863 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6866 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6867 set else use old code.
6869 * ParagraphList.C: remove all NO_NEXT code and only compile this
6870 code of NO_STD_LIST is set.
6872 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6874 * BufferView_pimpl.C:
6884 * graphics/GraphicsConverter.C:
6885 * graphics/PreviewLoader.C: header adjustment
6887 2003-05-23 Angus Leeming <leeming@lyx.org>
6889 * LaTeXFeatures.[Ch] (useBabel): new method.
6890 * bufferparams.C (writeLaTeX): use it.
6892 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * ParagraphList.h (set): remove unused function.
6896 2003-05-23 André Pönitz <poenitz@gmx.net>
6899 * BufferView_pimpl.C:
6903 * undo_funcs.C: setUndo reworked
6905 * iterators.[Ch]: add access to topmost ParagraphList
6907 * lyxtext.[Ch] (workWidth): add a const
6909 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6911 * texrow.[Ch] (increasePos): remove function
6912 * exporter.C (export): removed unused var and outdated comment
6914 2003-05-23 Angus Leeming <leeming@lyx.org>
6916 * latexrunparams.h: rename fragile as moving_arg.
6917 * paragraph.C (simpleTeXOnePar): ditto.
6918 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6920 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6924 (textUndoOrRedo): comment out a currently unused var.
6926 * paragraph.h (NO_NEXT): enable NO_NEXT
6928 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6930 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6932 * exporter.C (Export): adjust for removeAutoInsets removal.
6934 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6936 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6938 * BufferView.[Ch] (removeAutoInsets): delete function
6940 2003-05-22 Angus Leeming <leeming@lyx.org>
6942 * latexrunparams.h: add a free_spacing variable.
6944 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6945 to pass moving_arg, as the data is stored in runparams.fragile.
6947 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6948 to Inset::latexOptional or to simpleTeXOnePar.
6950 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6951 free_spacing arg to Inset::latexOptional.
6953 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6956 2003-05-22 Angus Leeming <leeming@lyx.org>
6958 * latexrunparams.h: add fragile and use_babel variables.
6960 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6961 * buffer.C (makeLaTeXFile): store this returned value in
6962 runparams.use_babel, thus passing it to the inset::latex methods.
6964 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6965 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6967 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6968 longer has a fragile arg, as it is stored in runparams.fragile.
6970 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6971 moving_arg parameter as the data is stored in runparams.fragile.
6973 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6974 a fragile parameter as the data is stored in runparams.fragile.
6976 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6980 2003-05-22 Angus Leeming <leeming@lyx.org>
6982 * latexrunparams.h: add a 'bool nice' which defaults to false.
6984 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6985 now encapsulated within runparams.
6987 * bufferlist.C (updateIncludedTeXfiles):
6988 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6990 2003-05-22 Angus Leeming <leeming@lyx.org>
6992 * latexrunparams.h: new file containing struct LatexRunParams.
6993 * Makefile.am: add new file.
6995 * LaTeX.[Ch] (c-tor, run):
6996 * buffer.[Ch] (makeLaTeXFile):
6997 * bufferlist.[Ch] (updateIncludedTeXfiles):
6998 * converter.C (convert, scanLog):
6999 * converter.[Ch] (runLaTeX):
7000 * exporter.C (Export):
7001 * paragraph.[Ch] (simpleTeXOnePar):
7002 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7003 * paragraph_funcs.[Ch] (latexParagraphs):
7004 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7005 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7006 pass around a LatexRunParams parameter.
7008 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * paragraph.[Ch]: remove unused constructor
7012 * ParagraphList.C (erase): new function, taking two iterators
7014 2003-05-22 André Pönitz <poenitz@gmx.net>
7016 * undo_funcs.C: remove duplicated code
7018 * iterator.[Ch]: operator=
7020 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * tabular.C (SetMultiColumn): ws changes
7024 * rowpainter.C (paintFirst): get rid of a ->previous
7026 * lyx_cb.C (getPossibleLabel): parlist simplification
7028 * BufferView.C (ChangeInsets): simplify slightly.
7030 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7032 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7033 * lfuns.h: new LFUN_SPACE
7034 * lyxfunc.C: protected space has a new lfun
7035 * paragraph_funcs.C: read new space insets
7037 * factory.C: handle new space insets
7039 2003-05-22 André Pönitz <poenitz@gmx.net>
7042 * BufferView_pimpl.C:
7045 * undo_funcs.C: return a ParIterator from getParFromID.
7047 * iterators.[Ch]: add two const's
7049 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * toc.C (getTocList): adjust
7053 * iterators.[Ch]: rework for parlist
7055 * buffer.C (par_iterator_begin): adjust
7056 (par_iterator_end): adjust
7058 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7060 * BufferView.C (removeAutoInsets): adjust
7061 (ChangeInsets): adjust
7063 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7065 * text.C (top_y): fix bug 1110
7067 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7069 * errorlist.[Ch]: added
7072 * BufferView_pimpl.C:
7073 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7076 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * Makefile.am: ensure that lyx is relinked upon changes to the
7079 various "convenience" libs.
7081 2003-05-20 Angus Leeming <leeming@lyx.org>
7083 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7084 files are compiled in alphabetical order again.
7086 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7088 2003-05-19 Angus Leeming <leeming@lyx.org>
7090 * gettext.[Ch]: remove "char const * _(char const *)".
7092 2003-05-19 André Pönitz <poenitz@gmx.net>
7094 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7103 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7105 2003-05-19 André Pönitz <poenitz@gmx.net>
7109 * lyxtextclass.[Ch]:
7111 * paragraph_funcs.[Ch]:
7113 * text3.C: more insetenv work
7115 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7117 * ParagraphParameters.C (params2string): small bug fixed
7119 2003-05-16 André Pönitz <poenitz@gmx.net>
7122 * bufferview_funcs.C: patch from Kornel Benko to prevent
7123 crash when _(...) is called twice in a statement
7125 2003-05-16 André Pönitz <poenitz@gmx.net>
7132 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7134 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7136 * lyx_main.C (init): remove spurious static_cast
7138 2003-05-14 André Pönitz <poenitz@gmx.net>
7140 * BufferView.C: fix format string
7142 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7144 * BufferView.[Ch] (insertErrors): removed
7145 * BufferView.[Ch] (showErrorList): added
7146 * buffer.C (runChkTeX):
7147 * converter.C (scanLog): call showErrorList instead of inserterrors
7149 2003-05-13 André Pönitz <poenitz@gmx.net>
7151 * BufferView_pimpl.C:
7153 * bufferview_func.C:
7160 * tabular_funcs.h: tostr() from its own header
7162 * ParagraphParameters.C:
7167 * text3.C: STRCONV()
7169 2003-05-12 André Pönitz <poenitz@gmx.net>
7172 * BufferView_pimpl.C:
7176 * ParagraphParameters.C:
7180 * bufferview_funcs.C:
7193 * paragraph_funcs.C:
7197 * text3.C: boost::format -> bformat all over the place
7200 2003-05-09 André Pönitz <poenitz@gmx.net>
7202 * LColor.[Ch]: Pimpl the #include <map> away
7204 2003-05-09 John Levon <levon@movementarian.org>
7206 * bufferlist.C: never remove emergency saves
7208 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * Makefile.am: better lib building
7212 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7214 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7216 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7217 (simpleTeXSpecialChars): adjust
7218 (simpleTeXSpecialChars): adjust
7219 * paragraph.C (simpleTeXOnePar): adjust
7220 * buffer.C (makeLaTeXFile): adjust
7222 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7224 * text2.C (changeDepth): parlist cleanup
7225 (getColumnNearX): ditto
7227 * rowpainter.C (getLabelFont): parlist cleanup
7229 * bufferlist.C (newFile): parlist cleanup
7231 * CutAndPaste.C (eraseSelection): parlist cleanup
7233 * BufferView_pimpl.C (trackChanges): parlist cleanup
7236 * BufferView.C (lockInset): parlist cleanup.
7237 (ChangeInsets): ditto
7239 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * CutAndPaste.h: Update file header.
7243 * CutAndPaste.C: Update file header.
7244 Store the parts cut out of the Document in a limited_stack.
7245 (copySelection): adjust
7246 (pasteSelection): new function, takes the index in the limited stack.
7247 (nrOfParagraphs): adjust
7248 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7249 simplify error inset insertion.
7250 (checkPastePossible): adjust
7252 2003-05-06 John Levon <levon@movementarian.org>
7254 * text2.C: don't cast wrap inset to float
7256 2003-05-05 André Pönitz <poenitz@gmx.net>
7259 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7261 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7262 few naked Paragraph *.
7264 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7266 * bufferparams.C: Output warning if a document with missing
7267 TeX document class is loaded
7268 * exporter.C: Disable TeX exports if the document class is missing
7271 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7272 isTeXClassAvailable()
7274 2003-05-03 John Levon <levon@movementarian.org>
7277 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7278 explicit cursor show/hide
7280 * BufferView_pimpl.h:
7281 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7282 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7284 * lyxfunc.C: hide cursor before dispatching.
7289 * text3.C: remove explicit cursor hides
7291 2003-05-02 André Pönitz <poenitz@gmx.net>
7293 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7296 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7299 * text2.C: tiny whitespace
7301 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * undo_funcs.C: almost only ws changes.
7305 * ParagraphList.C (splice): just return if pl is empty.
7307 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7309 * ParagraphList.C (splice): new function.
7311 * CutAndPaste.C (pasteSelection): use it
7313 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * CutAndPaste.C (pasteSelection): remove the last next and
7316 previous from this file.
7318 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * CutAndPaste.C (pasteSelection): more clean up, user proper
7321 ParagraphList functions for pasteing.
7323 * ParagraphList.C (insert): new function, three arg insert
7325 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * ParagraphList.C (insert): new function, three arg insert
7329 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7332 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7336 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7340 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7343 (copySelection): clean up a bit.
7344 (pasteSelection): use make_pair
7346 * ParagraphList.C (ParagraphList): implement copy constructor
7347 (operator=): implement, base on copy constructor.
7350 * paragraph.C (erase): return a bool
7352 * paragraph_pimpl.C (erasePos): remove function, move contents...
7353 (erase): ... here. Return a bool.
7354 (erase): call erase instead of erasePos.
7356 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7358 * ParagraphList.h: define PitPosPair
7359 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7360 ParagraphList, fix a bug on pasting multiple pars
7361 * text2.C: change interface to C&P
7363 2003-04-30 André Pönitz <poenitz@gmx.net>
7365 * undo_func.C: revert part of yesterday's patch 2
7367 2003-04-30 John Levon <levon@movementarian.org>
7369 * LColor.C: s/tabular/table/
7371 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7373 * text3.C (dispatch): do not convert iterator -> pointer
7374 * undo_funcs.C (setCursorParUndo): ditto
7375 * text_funcs.C (transposeChars): ditto
7377 * text2.C (setLayout): ws changes only
7379 * text.C (breakParagraph): do not convert iterator -> pointer
7381 (acceptChange): ditto
7382 (rejectChange): ditto
7387 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7390 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7392 * text3.C (gotoInset): YABG (yet another bad getChar)
7394 2003-04-29 André Pönitz <poenitz@gmx.net>
7396 * paragraph.h: make operator= private unimplemented as long as
7399 * ParagraphList.C: whitespace
7402 * paragraph_pimpl.[Ch]:
7403 * paragraph_funcs.C:
7405 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7408 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7410 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7412 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7413 * paragraph.[Ch] (erase):
7414 * paragraph_pimpl.[Ch] (erase): change return type and value
7415 * text2.C (cutSelection): some rework
7417 2003-04-28 John Levon <levon@movementarian.org>
7419 * bufferlist.C: changes for unsaved changes dialog
7421 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7423 * bufferlist.C (newFile): set language (messages_) for new
7426 * buffer.C (readFile): ws changes only.
7428 2003-04-28 André Pönitz <poenitz@gmx.net>
7433 * BufferView_pimpl.C:
7434 * BufferView.C: getParFromID related ParagraphList::iterator changes
7436 2003-04-28 André Pönitz <poenitz@gmx.net>
7438 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7441 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * messages.C: remove one more localedir class variable.
7445 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7447 * messages.C (getLocaleDir): singleton generation function
7449 (Messages): add a default constructor.
7451 * main.C (main): do not setup localedir here, do not call
7454 * gettext.C (_): use it.
7455 (gettext_init): delete funciton
7457 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7459 * gettext.C (getLyXMessages): new singleton generating function.
7461 * buffer.C (updateDocLang): adjust
7463 * Makefile.am (messages.o): add target
7464 (main.o): remove target
7466 2003-04-27 John Levon <levon@movementarian.org>
7471 * lyxvc.C: specify cancel button in Alert::prompt
7473 2003-04-26 John Levon <levon@movementarian.org>
7478 * LyXAction.C: add LFUN_INSET_SETTINGS
7480 * lyxfunc.C: don't enable tabular-feature when there's
7481 just any locking inset
7483 2003-04-26 John Levon <levon@movementarian.org>
7485 * bufferlist.C: re-add Cancel to buffer close question
7487 * lyxfunc.C: fix import UI a bit
7489 2003-04-25 John Levon <levon@movementarian.org>
7491 * gettext.C: remove the broken asserts for now
7493 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7495 * messages.C: make case where setlocale cannot comply work better.
7497 * buffer.C (updateDocLang): new function
7498 (changeLanguage): use it
7501 * text2.C (setCounter): use B_ a bit.
7503 * lyxlayout.C (Read): be sure to trim the label strings.
7505 * messages.C (Messages): fix typo in comment
7507 * buffer.C (readFile): set message_ after file is loaded.
7508 (makeDocBookFile): remove double return
7509 (changeLanguage): reset message_ upon language change.
7510 (B_): new func, use this to get translated buffer strings.
7512 * main.C: add myself and Jean Marc as authors.
7514 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7516 * messages.[hC]: pimplify Messages, and three different pimpls to be
7517 used in different circumstances.
7519 * gettext.[Ch]: change for use with new message code.
7521 2003-04-24 André Pönitz <poenitz@gmx.net>
7523 * factory.C: support for eqref
7525 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * messages.[Ch]: add missing char
7529 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7531 * messages.[Ch]: New files
7533 2003-04-18 John Levon <levon@movementarian.org>
7537 * BufferView_pimpl.C:
7541 * text2.C: remove layout-copy/paste (bug 778)
7543 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7545 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7547 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7549 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7550 if they succeed. Act accordingly.
7552 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7554 * text2.C (setCharFont): adjust
7555 (setCounter): adjust
7556 (insertStringAsLines): adjust
7558 * text.C (leftMargin): adjust
7559 (setHeightOfRow): adjust
7561 * rowpainter.C (paintFirst): adjust
7564 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7566 (isFirstInSequence): ditto
7567 (getEndLabel): ditto
7570 * paragraph.C (getParLanguage): comment out some hard stuff.
7572 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7574 (simpleDocBookOnePar): ditto
7575 (makeDocBookFile): use ParagraphList::iterator
7577 * CutAndPaste.C (pasteSelection): adjust
7579 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7581 * text2.C (getFont): adjust
7582 (getLayoutFont): adjust
7583 (getLabelFont): adjust
7585 * paragraph_funcs.C (TeXOnePar): adjust
7587 * buffer.C (simpleLinuxDocOnePar): adjust
7588 (simpleDocBookOnePar): adjust
7590 * CutAndPaste.C (pasteSelection): adjust
7592 * BufferView.C (getEncoding): adjust
7594 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7596 2003-04-16 John Levon <levon@movementarian.org>
7598 * lyxfind.C: use parlist stuff for search/changes
7600 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7602 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7604 * text2.C (deleteEmptyParagraphMechanism): adjust
7606 * text2.[Ch] (ownerParagraph): delete func (both of them
7608 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7610 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7612 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7614 * ParagraphList.C: prepare for NO_NEXT
7616 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * text2.C (getFont): adjust
7619 (getLayoutFont): adjust
7620 (getLabelFont): adjust
7622 * paragraph.C (getFont): adjust
7623 (getLabelFont): adjust
7624 (getLayoutFont): adjust
7626 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7628 2003-04-15 John Levon <levon@movementarian.org>
7632 * lyx_main.C: handle Include in .ui files
7634 2003-04-15 John Levon <levon@movementarian.org>
7636 * MenuBackend.C: make the doc files length shorter
7639 * ToolbarBackend.C: handle toolbar placement flags,
7642 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7647 * paragraph_funcs.C (TeXOnePar): adjust
7649 * paragraph.C (getLabelFont): add outerfont arg, adjust
7650 (getLayoutFont): ditto
7651 (simpleTeXOnePar): adjust
7653 * paragraph_pimpl.C (realizeFont): delete func
7655 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7657 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7658 row argument, constify cur argument.
7660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * text2.C (getFont): adjust
7663 (getLayoutFont): adjust
7664 (getLabelFont): adjust
7666 * paragraph_funcs.C (TeXOnePar): adjust
7667 (outerFont): new func...
7668 (realizeFont): ...moved out from here, changed this to facilitate
7671 * paragraph.C (getFont): take outerfont as arg, adjust
7672 (simpleTeXOnePar): add outerfont arg, adjust
7674 * buffer.C (simpleLinuxDocOnePar): adjust
7675 (simpleDocBookOnePar): adjust
7677 * CutAndPaste.C (pasteSelection): adjust
7679 * BufferView.C (getEncoding): adjust
7681 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * text2.C (setCharFont): adjust
7684 (setCounter): adjust
7686 * text.C (leftMargin): adjust
7687 (setHeightOfRow): adjust
7689 * rowpainter.C (paintFirst): adjust
7692 * paragraph_pimpl.C (realizeFont): adjust
7694 * paragraph.C (isFirstInSequence): move from here...
7695 * paragraph_funcs.C (isFirstInSequence): ...to here
7697 * paragraph.C (outerHook): move from here...
7698 * paragraph_funcs.C (outerHook): ...to here
7700 * paragraph.C (depthHook): move from here...
7701 * paragraph_funcs.C (depthHook): ...to here
7703 * paragraph.C (getEndLabel): move from here...
7704 * paragraph_funcs.C (getEndLabel): ...to here
7706 * text2.C (realizeFont): move from here...
7707 * paragraph_funcs.C (realizeFont): ...to here
7709 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7711 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7713 2003-04-14 Angus Leeming <leeming@lyx.org>
7715 * LColor.[Ch]: scrap LColor mathcursor.
7717 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7719 * lyxlex.[Ch] (text): delete function
7720 * trans.C (Load): adjust
7721 * paragraph_funcs.C (readParToken): adjust
7723 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7726 vector<char> instead of a char[].
7728 * lyxlex_pimpl.C (getString): adjust
7730 (lex): use getString
7734 * lyxlex.C (text): use pimpl_->getString()
7738 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7740 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7741 (makeFontEntriesLayoutSpecific): temp var for par.size()
7742 (setLayout): temp var for ownerParagraphs().end()
7743 (fullRebreak): temp var for rows().end()
7744 (selectionAsString): temp var for boost::next(startpit), realize
7745 that the while really is a regular for loop.
7746 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7747 setCursor in one place.
7748 (setParagraph): temp vr for ownerParagraphs().end()
7749 (updateCounters): make the while loop a for loop
7750 (cutSelection): temp var for ownerParagraphs().end()
7751 (updateInset): make the do {} while() a regular for loop
7752 (getCursorX): use temp vars
7753 (setCurrentFont): use temp vars
7754 (getColumnNearX): use temp vars
7756 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * text.C (transformChar): use temp var for getChar
7759 (computeBidiTables): use temp var for row->par()
7760 (fill): move temp vars for row->par() and pit->layout() earlier in
7762 (labelFill): use temp var for row->par()
7763 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7764 asc and desc, realize that pit never changes and that firstpit is
7765 just a duplicate and not needed. Exchange rit->par() with pit in a
7767 (breakAgain): use a temp var for boost::next(rit)
7768 (breakAgainOneRow): ditto
7769 (breakParagraph): use a temp var for rows().begin()
7770 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7771 (cursorRightOneWord): use temp var for cursor.par() and
7772 cursor.pos(), remove usage of tmpcursor.
7773 (cursorLeftOneWord): use temp var for cursor.par() and
7774 cursor.pos() only set cur at end of function.
7776 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7778 * text.C, text2.C: exchange all usage of Paragraph::next with
7779 boost::next(ParagraphList::iterator)
7781 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7783 * text2.C (cursorTop): simplify implementation
7784 (cursorBottom): ditto
7785 (setParagraph): use ParagraphList::iterator
7786 (setCurrentFont): adjust
7787 (getColumnNearX): adjust
7788 (cursorRight): adjust
7789 (cursorLeft): remove usage of Paragraph::previous
7790 (cursorUpParagraph): ditto
7791 (deleteEmptyParagraphMechanism): slight cleanup
7793 * text.C (isBoundary): take a Paragraph const & instead of a
7795 (addressBreakPoint): ditto
7796 (leftMargin): remove usage of Paragraph::previous.
7797 (setHeightOfRow): ditto
7798 (cursorLeftOneWord): ditto
7799 (selectNextWordToSpellcheck): ditto
7802 (breakParagraph): remove one usage of Paragraph::next
7803 (redoParagraph): ditto
7804 (acceptChange): ditto
7805 (insertChar): adjust
7806 (rowBreakPoint): adjust
7808 * bufferview_funcs.C (toggleAndShow): adjust
7810 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7812 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7813 methods to access it.
7815 * text.C: Added updateRowPositions to compute all row positions.
7816 Make top_y and getRowNearY() to use the cached y position
7818 2003-04-11 John Levon <levon@movementarian.org>
7820 * text.C (rowBreakPoint): reintroduce the labelEnd
7821 checks, code copied from the row fill stuff. Deep voodoo.
7823 * text.C (fill): add a comment and debugging for the
7826 2003-04-11 John Levon <levon@movementarian.org>
7828 * text.C: make sure fullrow insets get wrapped to the next line,
7829 even when they're in a manual label
7831 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7833 * text2.C (insertParagraph): make it take ParagraphList::iterator
7835 (setLayout): make it return ParagraphList::iterator
7836 (redoParagraphs): ditto
7838 (checkParagraph): ditto
7840 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7842 * text2.C: adjust several funcs.
7843 (realizeFont): take a ParagraphList::iterator as arg.
7844 (getLayoutFont): ditto
7845 (getLabelFont): ditto
7846 (setCharFont): ditto
7848 * text.C: adjust several funcs.
7850 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7852 * text.C (selectNextWordToSpellcheck): don't accidentally
7855 2003-04-10 John Levon <levon@movementarian.org>
7857 * ToolbarBackend.C (getIcon): special handling for
7860 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7862 * text2.C (cursorRight): a getChar assert fixed
7864 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * text2.C (getFont): change to take a ParagraphList::iterator
7867 instead of Paragraph*
7868 Adjust several functions.
7870 * text.C (transformChar): change to take a ParagraphList::iterator
7871 instead of Paragraph*
7872 (singleWidth): ditto
7873 Adjust several functions.
7875 * rowpainter.C: adjust several functions
7876 * rowpainter.h:store a ParagraphList::iterator and not a
7880 2003-04-09 John Levon <levon@movementarian.org>
7885 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7886 and the "help" bits as well
7888 2003-04-09 John Levon <levon@movementarian.org>
7891 * ToolbarBackend.C: allow multiple toolbars
7893 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7895 * undo_funcs.C (setCursorParUndo): adjust
7897 * text_funcs.C (transposeChars): adjust
7899 * text3.C (gotoNextInset): adjust
7902 * text2.C (setLayout): adjust
7903 (changeDepth): adjust
7905 (redoParagraphs): adjust
7906 (selectionAsString): adjust
7907 (setParagraph): adjust
7908 (insertInset): adjust
7909 (cutSelection): adjust
7910 (copySelection): adjust
7911 (pasteSelection): adjust
7912 (insertStringAsLines): adjust
7913 (updateInset): adjust
7914 (setCursor): change to take a ParagraphList::iterator parameter
7915 (setCursorIntern): change to take a ParagraphList::iterator parameter
7916 (setCurrentFont): adjust
7917 (cursorLeft): adjust
7918 (cursorRight): adjust
7919 (deleteEmptyParagraphMechanism): adjust
7921 * text.C (breakParagraph): adjust
7922 (insertChar): adjust
7923 (acceptChange): adjust
7924 (rejectChange): adjust
7925 (selectNextWordToSpellcheck): adjust
7926 (changeCase): adjust
7930 * lyxfind.C (SearchForward): adjust
7931 (SearchBackward): adjust
7932 (nextChange): adjust
7934 * lyxcursor.C (par): adjust
7936 * lyxcursor.h: store a ParagraphList::iterator instead of a
7939 * lyx_cb.C (getPossibleLabel): adjust
7941 * bufferview_funcs.C (toggleAndShow): adjust
7943 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7946 * BufferView.C (removeAutoInsets): adjust
7947 (lockedInsetStoreUndo): adjust
7949 2003-04-09 John Levon <levon@movementarian.org>
7951 * ToolbarBackend.C: try icon without argument
7952 if with argument fails
7954 2003-04-08 John Levon <levon@movementarian.org>
7957 * ToolbarBackend.C: add getIcon(), handle tooltip,
7958 and change from "Icon" to "Item".
7960 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7962 * BufferView.C (lockInset): another bad getchar crunched
7964 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7966 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7969 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7971 * lyxfind.C (searchForward, searchBackwards): bug 782
7973 2003-04-07 John Levon <levon@movementarian.org>
7975 * paragraph.C: remove dead comment
7977 * text.C: remove troublesome depth-fiddling code
7978 in leftMargin() and rightMargin() (bug 1017)
7980 * text.C: fix breaking of rows in nested lists
7983 * text2.C (updateCounters): fix up depth values
7986 2003-04-07 John Levon <levon@movementarian.org>
7988 * BufferView_pimpl.C: clear message when doc finishes resizing,
7989 and after a mouse event
7991 * lyxfunc.C: clear message after exiting inset
7993 2003-04-07 John Levon <levon@movementarian.org>
7995 * bufferview_funcs.C: show math status not outside
7996 status in the statusbar
7998 2003-04-07 John Levon <levon@movementarian.org>
8000 * lyxfunc.C: note status changed after a depth change
8002 2003-04-04 Angus Leeming <leeming@lyx.org>
8004 * LaTeX.h: move AuxInfo operator==, != out of line.
8005 Remove LaTeX virtual destructor; nothing derives from it.
8006 Move operator()() out of public area and rename it startscript().
8007 Change protected for private.
8009 2003-04-04 Angus Leeming <leeming@lyx.org>
8012 * text2.C: remove unneeded #includes.
8014 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8016 * text2.C (dEPM): fix the heigth of the next row
8018 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8020 * text.C: squashed an invalid getChar requester + some ws changes
8022 2003-04-03 John Levon <levon@movementarian.org>
8024 * bufferview_funcs.h:
8025 * bufferview_funcs.C:
8028 * text2.C: make getStatus work for the env depth lfuns
8030 2003-04-03 John Levon <levon@movementarian.org>
8032 * bufferview_funcs.h:
8033 * bufferview_funcs.C:
8036 * text2.C: parlistize decDepth(), by merging it with incDepth()
8038 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * lyxrow.h: store a ParagraphList::iterator instead of a
8041 Paragraph* and adjust other class functions to suit.
8043 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8046 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8048 * text2.C (setCursor): do not anchor to cursor row for the time being
8050 2003-04-02 John Levon <levon@movementarian.org>
8057 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8059 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * paragraph.h: make ParagraphList and ParagraphList::iterator
8062 friends of Paragraph.
8064 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8066 * ParagraphList.C: Use the private next_ and previous_ from
8069 2003-04-01 John Levon <levon@movementarian.org>
8073 * Makefile.am: rename, remove defaults gunk
8076 * MenuBackend.C: remove defaults gunk
8079 * Languages.C: remove defaults gunk
8082 * lyx_main.C: error out if files couldn't be found.
8084 2003-04-02 John Levon <levon@movementarian.org>
8086 * text2.C: make incDepth() use parlist
8088 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * undo_funcs.C (firstUndoParagraph): adjust
8092 * text3.C (gotoInset): adjust
8093 (dispatch): adjust, and rewrite loop.
8095 * text2.C (init): adjust, and rewrite loop.
8096 (redoParagraphs): adjust
8097 (updateInset): adjust, and rewrite loop.
8098 (deleteEmptyParagraphMechanism): adjust
8100 * tabular.C (LyXTabular): adjust
8101 (SetMultiColumn): adjust
8104 * lyxtext.[Ch] (ownerParagraph): delete function
8105 (ownerParagraphs): new function returns a ParagraphList.
8107 * BufferView.C (removeAutoInsets): adjust
8108 (insertErrors): adjust
8109 (setCursorFromRow): adjust
8111 2003-04-01 Angus Leeming <leeming@lyx.org>
8113 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8116 2003-04-02 John Levon <levon@movementarian.org>
8122 * text_funcs.C: make transposeChars a free function
8124 * lyxrow_funcs.C: remove wrong comment
8126 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * rowpainter.C: adjust
8134 * lyxrow_funcs. [Ch]: new files
8136 * lyxrow.[Ch]: remove next and previous pointers
8137 (next,previous): remove accessor functions
8138 (isParEnd): move to lyxrow_funcs
8139 (lastPos): move to lyxrow_funcs
8140 (nextRowIsAllInset): move to lyxrow_funcs
8141 (lastPrintablePos): move to lyxrow_funcs
8142 (numberOfSeparators): move to lyxrow_funcs
8143 (numberOfHfills): move to lyxrow_funcs
8144 (numberOfLabelHfills): move to lyxrow_funcs
8145 (hfillExpansion): move to lyxrow_funcs
8149 * bufferview_funcs.C (toggleAndShow): adjust
8151 * RowList.h: Remove class RowList from file leave just a
8154 * RowList.C: delete file
8156 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8159 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * text3.C (cursorPrevious): adjust
8162 (cursorNext): adjust
8165 * text2.C (redoHeightOfParagraph): adjust
8166 (redoDrawingOfParagraph): adjust
8169 * text.C (breakParagraph): adjust
8170 (insertChar): adjust
8173 * rowpainter.C (RowPainter): adjust
8174 (leftMargin): simplify and adjust
8175 (most rowpainter functions): adjust.
8177 * rowpainter.h: store the row as RowList::iterator not as Row*
8179 * lyxcursor.C (row): taka RowList::iterator as arg
8182 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8185 2003-04-01 Angus Leeming <leeming@lyx.org>
8187 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8188 stuff like bool Bool.
8190 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8192 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8195 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8197 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8200 * lyxtext.h (rows): drop one version and leve a const variant that
8201 returns a RowList::iterator.
8203 2003-03-31 Angus Leeming <leeming@lyx.org>
8205 * text.C (fill): ensure that the signature is the same as that in the
8208 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8210 * text2.C (redoParagraphs): adjust
8211 (updateCounters): adjust
8212 (checkParagraph): adjust
8213 (getColumnNearX): adjust and reformat a bit.
8215 * text.C (top_y): adjust
8217 (leftMargin): adjust
8218 (prepareToPrint): adjust
8220 (getRowNearY): adjust
8222 * lyxtext.h: make rowlist_ mutable.
8224 * RowList.h: add const_iterator
8225 * RowList.C: adjust for RowList::const_iterator.
8227 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8230 2003-03-31 John Levon <levon@movementarian.org>
8233 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8235 * lyx_main.C: set default fonts from using lyx_gui funcs
8237 * exporter.C: pdf_mode moved from lyxrc
8240 * lyxfunc.C: changes from above
8242 2003-03-31 John Levon <levon@movementarian.org>
8244 * lyx_main.C: fix to the last fix
8246 2003-03-31 John Levon <levon@movementarian.org>
8248 * bufferlist.C: "Load original" -> "Load Original"
8254 * format.C: more Alert cleanups
8256 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * text2.C (removeParagraph): make it take a RowList::iterator as
8260 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8261 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8263 * text.C (anchor_row): make it take a RowList::iterator as arg,
8265 (computeBidiTables): make it take a const reference to Row instead
8266 of Row pointer, adjust.
8267 (leftMargin): make it take a RowList::iterator as arg, adjust.
8268 (rowBreakPoint): adjust
8269 (breakAgainOneRow): make it take a RowList::iterator as arg,
8271 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8273 * bufferview_funcs.C (toggleAndShow): adjust
8275 2003-03-30 John Levon <levon@movementarian.org>
8279 * boost-inst.C: moved to support
8281 * several files: changes as a result
8283 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8285 * text2.C (LyXText): adjust.
8287 (removeRow): make it take a RowList::iterator as arg, adjust.
8288 (fullRebreak): adjust
8289 (deleteEmptyParagraphMechanism): adjust
8290 (clearPaint): adjust
8293 * text.C (top_y): adjust
8294 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8295 (breakAgain): make it take a RowList::iterator as arg, adjust.
8296 (breakParagraph): adjust
8297 (insertChar): adjust
8300 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8301 need_break_row, and refresh_row.
8303 * text3.C (dispatch): adjust
8305 * text2.C (checkParagraph): adjust
8307 (setCursorFromCoordinates): adjust
8309 * text.C (top_y): adjust
8311 (getRow): make it return a RowList::iterator, adjust
8312 (getRowNearY): make it return a RowList::iterator, adjust
8314 * text2.C (init): adjust
8315 (insertRow): remove function
8316 (insertParagraph): adjust
8317 (redoParagraphs): adjust
8318 (fullRebreak): adjust
8319 (updateCounters): adjust
8321 * text.C (top_y): rewrite to use RowList iterators.
8323 (setHeightOfRow): rewrite to sue RowList iterators.
8324 (appendParagraph): adjust
8325 (breakAgain): adjust
8326 (breakAgainOneRow): adjust
8327 (breakParagraph): adjust
8329 (getRowNearY): adjust, and remove commented code.
8331 * lyxtext.h (firstRow): delete function
8332 (lastRow): delete function
8333 (rows): new function (const and non-const versions.)
8334 (insertRow): delete function
8336 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8338 2003-03-29 John Levon <levon@movementarian.org>
8340 * BufferView_pimpl.C: always update scrollbar top
8341 because pasting text when we're anchored could mean we
8342 miss an update altogether
8344 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * text2.C (init): use rowlist_.end() and not 0.
8347 (insertRow): change to take a RowList::iterator as arg, adjust
8349 (insertParagraph): change to take a RowList::iterator as arg,
8351 (redoParagraphs): remove some debug msgs.
8353 * text.C (appendParagraph): change to take a RowList::iterator
8354 arg, adjust for this.
8355 (breakAgain): add an assert
8356 (breakAgainOneRow): ditto
8358 2003-03-29 John Levon <levon@movementarian.org>
8360 * text2.C: do not clear selection after inc/decDepth
8363 2003-03-29 John Levon <levon@movementarian.org>
8366 * buffer.C: fix broken strerrors according to Lars
8368 2003-03-29 John Levon <levon@movementarian.org>
8370 * converters.C: more Alert cleanups
8372 2003-03-29 John Levon <levon@movementarian.org>
8374 * bufferview_funcs.C: remove pointless Alert
8376 * buffer.C: fix confusing error message when
8377 a template is chmoded 000
8379 2003-03-29 John Levon <levon@movementarian.org>
8383 * BufferView_pimpl.C: Alert fixes
8387 * tabular-old.C: remove unused table compat reading
8389 2003-03-29 John Levon <levon@movementarian.org>
8394 * lyx_cb.C: more Alert cleanups
8396 * lyxfunc.C: don't allow chktex if not latex document
8398 2003-03-29 John Levon <levon@movementarian.org>
8402 * buffer.C: warnings pushed down from support/,
8405 2003-03-29 John Levon <levon@movementarian.org>
8407 * lyxfunc.C: safety check for C-r (revert)
8409 2003-03-29 John Levon <levon@movementarian.org>
8412 * bufferlist.C: several UI fixes using Alert::prompt.
8413 Fix the pointless looping quit code. Fix stupid revert
8418 * lyx_cb.C: use Alert::prompt
8420 * lyx_main.C: remove a silly question
8422 * lyxfunc.C: remove a couple of silly questions,
8425 2003-03-28 John Levon <levon@movementarian.org>
8427 * text2.C: fix bug 974 (End on empty par)
8429 2003-03-28 John Levon <levon@movementarian.org>
8431 * BufferView_pimpl.C:
8433 * lfuns.h: remove do-nothing math greek lfuns
8435 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8437 * lyxgluelength.h (isValidGlueLength): add default arg on
8438 parameter 2. Remove default arg from friend in class.
8440 * lyxlength.h (isValidLength): add default arg on parameter 2.
8441 Remove default arg from friend in class.
8443 * text2.C (LyXText): adjust, initialize refresh_row.
8447 (insertParagraph): adjst
8448 (redoParagraphs): adjust
8449 (fullRebreak): adjust
8450 (updateCounters): adjust
8451 (deleteEmptyParagraphMechanism): first attempt at fixing a
8454 * text.C (top_y): adjust
8455 (setHeightOfRow): adjust
8457 (getRowNearY): adjust
8459 * lyxtext.h: include RowList.h
8460 (~LyXText): not needed anymore, deleted.
8461 (firstRow): modify for RowList
8462 (lastRow): new function
8463 Delete firstrow and lastrow class variables, add a Rowlist
8464 rowlist_ class variable.
8466 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8469 * RowList.C (insert): fix case where it == begin().
8471 2003-03-26 Angus Leeming <leeming@lyx.org>
8473 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8474 the thesaurus dialog.
8476 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8478 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8480 * RowList.[Ch]: new files
8482 * ParagraphList.C (erase): handle the case where it == begin
8485 2003-03-25 John Levon <levon@movementarian.org>
8489 * aspell.C: add new aspell support
8492 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8495 2003-03-25 Angus Leeming <leeming@lyx.org>
8498 * LyXAction.C (init): new LFUN_INSET_INSERT.
8500 * BufferView_pimpl.C (dispatch): split out part of the
8501 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8503 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8506 2003-03-25 Angus Leeming <leeming@lyx.org>
8508 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8510 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8513 * text3.C: remove useless row->height(0)
8515 2003-03-25 John Levon <levon@movementarian.org>
8519 * text3.C: rename the refreshing stuff to better names
8521 2003-03-24 John Levon <levon@movementarian.org>
8523 * BufferView_pimpl.h:
8524 * BufferView_pimpl.C: update layout choice on a mouse
8527 2003-03-23 John Levon <levon@movementarian.org>
8529 * Makefile.am: fix commandtags.h reference
8531 2003-03-22 John Levon <levon@movementarian.org>
8533 * BufferView_pimpl.C:
8538 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8540 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8543 * text.C: take the rtl methods out of line
8545 2003-03-21 André Pönitz <poenitz@gmx.net>
8547 * metricsinfo.[Ch]: new files containing structures to be passed around
8548 during the two-phase-drawing...
8550 2003-03-21 André Pönitz <poenitz@gmx.net>
8552 * lyxtextclass.C: read 'environment' tag.
8554 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8556 * text2.C (removeRow): fix bug 964
8558 2003-03-20 John Levon <levon@movementarian.org>
8562 * text2.C: paint cleanups. Inset::update() dropped font
8565 2003-03-19 John Levon <levon@movementarian.org>
8567 * lyxfunc.C: only fitcursor/markDirty if available()
8569 2003-03-19 John Levon <levon@movementarian.org>
8571 * commandtags.h: rename to ...
8573 * lfuns.h: ... this, and renumber / cleanup
8575 2003-03-19 John Levon <levon@movementarian.org>
8577 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8578 fit the cursor after an lfun
8582 * BufferView_pimpl.h:
8583 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8585 * LyXAction.C: layout-character should have ReadOnly
8587 * ParagraphParameters.C:
8589 * bufferview_funcs.C:
8596 * undo_funcs.C: changes from above
8598 2003-03-18 John Levon <levon@movementarian.org>
8600 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8601 remove it from update()
8603 * lyxfunc.C: update layout choice after an lfun
8605 * text3.C: remove extra updateLayoutChoice()s
8607 2003-03-18 John Levon <levon@movementarian.org>
8609 * text.C: top_y change means full repaint, fix
8610 a drawing bug with cursor movement
8612 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8616 * text2.C: anchor row on setCursor
8618 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8620 * lyxtext.h: remove almost all mutable keywords
8623 * text3.C: remove const keywords accordingly
8625 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8627 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8629 (TeXEnvironment): ditto
8632 2003-03-17 John Levon <levon@movementarian.org>
8634 * text.C (rowBreakPoint): remove attempt to fix displayed
8635 math insets inside a manual label
8637 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8639 * lyxtext.h: remove BufferView* as first arg from almost all class
8641 * other files: adjust.
8643 2003-03-17 John Levon <levon@movementarian.org>
8647 * text2.C: more paint cleanups
8649 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8652 * rowpainter.C: remove "smart" background painting code
8654 2003-03-16 John Levon <levon@movementarian.org>
8659 * text3.C: add helper functions for setting refresh_row/y
8661 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8663 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8664 newline inset which *can* get inserted in the pass_thru layouts.
8665 This is primarily for literate documents.
8667 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8669 * buffer.C: increment LYX_FORMAT to 223
8671 2003-03-14 André Pönitz <poenitz@gmx.net>
8673 * textclass.h: prepare for environment handling, ws changes
8674 * lyxlayout.C: read latexheader and latexfooter tags
8676 2003-03-14 John Levon <levon@movementarian.org>
8678 * text2.C: rewrite ::status() a bit
8680 2003-03-13 John Levon <levon@movementarian.org>
8682 * lyxtext.h: add some docs
8684 2003-03-13 John Levon <levon@movementarian.org>
8689 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8691 2003-03-13 John Levon <levon@movementarian.org>
8693 * text3.C: fix appendix redrawing
8695 2003-03-13 John Levon <levon@movementarian.org>
8697 * text.C (setHeightOfRow):
8699 * rowpainter.C: make appendix mark have the text
8700 "Appendix" so the user knows what it is
8703 * LColor.C: s/appendixline/appendix/ from above
8705 2003-03-13 John Levon <levon@movementarian.org>
8707 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8709 * text.C: fix a getChar(pos) bug properly
8711 2003-03-13 Angus Leeming <leeming@lyx.org>
8714 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8715 Probably only temporary. Let's see how things pan out.
8717 * BufferView.C (unlockInset):
8718 * BufferView_pimpl.C (fitCursor):
8719 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8721 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8722 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8724 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8725 new functions that convert ParagraphParameters to and from a string.
8727 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8728 BufferView::Pimpl's dispatch.
8729 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8731 2003-03-13 André Pönitz <poenitz@gmx.net>
8735 * factory.C: make it aware of InsetEnv
8737 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8739 * text2.C (setCursor): never ask for one past last
8740 (setCursor): add some debugging messages.
8742 * text.C (singleWidth): never ask for one past last
8743 (singleWidth): ditto
8745 (rightMargin): ditto
8746 (rowBreakPoint): ditto
8747 (setHeightOfRow): ditto
8748 (prepareToPrint): ditto
8750 * rowpainter.C (paintBackground): never ask for one past last
8751 (paintText): never ask for one past last
8753 * paragraph_pimpl.C (getChar): make the assert stricter, never
8754 allow the one past last pos to be taken
8756 * paragraph.C (getChar): ws changes only
8758 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8759 (numberOfSeparators): ditto
8760 (numberOfHfills): ditto
8762 2003-03-12 John Levon <levon@movementarian.org>
8768 * paragraph_funcs.C: fix per-buffer authorlists
8770 2003-03-12 John Levon <levon@movementarian.org>
8772 * text.C: fix newline in right address
8774 2003-03-12 Angus Leeming <leeming@lyx.org>
8776 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8777 duplicate those in LyXFunc::dispatch.
8781 * ToolbarDefaults.C:
8782 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8783 Add LFUN_FONTFREE_UPDATE.
8785 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8786 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8788 * bufferview_func.[Ch]: several new functions to facilliate
8789 transfer of data to and from the character dialog.
8791 2003-03-12 John Levon <levon@movementarian.org>
8796 * paragraph_funcs.C:
8797 * paragraph_pimpl.C:
8801 * text3.C: remove META_NEWLINE in favour of an inset
8804 * rowpainter.C: remove paintNewline (done by inset)
8806 2003-03-12 John Levon <levon@movementarian.org>
8808 * paragraph_pimpl.C: complain about bad getChar()s
8809 for a while at least
8811 2003-03-12 John Levon <levon@movementarian.org>
8814 * buffer.C: move paragraph read into a separate function,
8815 a little renaming to reflect that.
8818 * bufferparams.C: remove the author_ids map, not necessary now
8821 * factory.C: moved Buffer::readInset to here
8823 * paragraph_funcs.h:
8824 * paragraph_funcs.C: readParagraph free function moved from
8827 * tabular.C: name change
8829 2003-03-12 John Levon <levon@movementarian.org>
8832 * ParagraphParameters.C: move par params input to
8835 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8836 behave like a normal read from the stream wrt reading
8837 a line vs. a \\token
8839 2003-03-12 John Levon <levon@movementarian.org>
8842 * ParagraphParameters.h:
8843 * ParagraphParameters.C: move output code to a
8846 2003-03-12 John Levon <levon@movementarian.org>
8848 * BufferView.C (insertLyXFile):
8851 * tabular.C: use a parlist iterator for creating the
8854 2003-03-12 John Levon <levon@movementarian.org>
8856 * buffer.C: make current_change static local not
8859 2003-03-12 John Levon <levon@movementarian.org>
8861 * buffer.C: fix insertStringAsLines for change tracking
8863 2003-03-12 John Levon <levon@movementarian.org>
8870 * bufferparams.C: move author list into params. Rename some
8871 functions. Move the header reading into a separate token
8872 loop. Move the header token reading into BufferParams.
8874 2003-03-12 John Levon <levon@movementarian.org>
8876 * changes.C: put debug inside lyxerr.debugging() checks
8878 2003-03-11 André Pönitz <poenitz@gmx.net>
8880 * factory.C: make it aware of InsetHFill
8882 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8884 * buffer.C (latexParagraphs): move function from here...
8885 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8888 2003-03-10 Angus Leeming <leeming@lyx.org>
8890 * LyXAction.C (init): fix bug in poplating array with multiple entries
8891 with the same LFUN (spotted by JMarc).
8893 2003-03-10 John Levon <levon@movementarian.org>
8896 * text2.C: move getColumnNearX() near its
8899 2003-03-10 John Levon <levon@movementarian.org>
8901 * text.C: fix break before a minipage
8903 2003-03-10 John Levon <levon@movementarian.org>
8905 * text.C: fix the last commit
8907 2003-03-09 John Levon <levon@movementarian.org>
8911 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8912 bug 365 (don't break before insets unless needed). Don't
8913 return a value > last under any circumstances.
8915 2003-03-09 Angus Leeming <leeming@lyx.org>
8917 * BufferView_pimpl.C (trackChanges, dispatch): call
8918 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8920 2003-03-09 Angus Leeming <leeming@lyx.org>
8922 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8923 than Dialogs::showAboutlyx().
8925 2003-03-09 Angus Leeming <leeming@lyx.org>
8927 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8928 than Dialogs::showTabularCreate().
8930 2003-03-09 John Levon <levon@movementarian.org>
8934 * text2.C: 3rd arg to nextBreakPoint was always the same.
8937 2003-03-08 John Levon <levon@movementarian.org>
8944 * text2.C: Remove the "main" bit from the "main body"
8947 2003-03-08 John Levon <levon@movementarian.org>
8949 * text.C (leftMargin): The left margin of an empty
8950 manual label paragraph should not include the label width
8953 * text.C (prepareToPrint): don't attempt to measure hfills
8954 for empty manual label paragraphs - the answer should be 0
8956 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8958 * CutAndPaste.C: remove commented code and reindent.
8960 2003-03-08 John Levon <levon@movementarian.org>
8963 * lyxfunc.C: move reloadBuffer()
8966 * BufferView.C: to here
8968 * lyxvc.C: add comment
8971 * vc-backend.C: call bv->reload() to avoid
8972 getStatus() check on MENURELOAD
8974 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8976 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8977 to an old format .dep file.
8979 2003-03-07 Angus Leeming <leeming@lyx.org>
8981 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8982 when the LFUN_MOUSE_RELEASE should have been handled by
8983 inset->localDispatch.
8985 2003-03-07 Angus Leeming <leeming@lyx.org>
8987 * BufferView_pimpl.C (dispatch):
8988 * LyXAction.C (init):
8989 * ToolbarDefaults.C (init):
8991 * lyxfunc.C (getStatus):
8992 remove LFUN_INSET_GRAPHICS.
8994 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8996 2003-03-07 Angus Leeming <leeming@lyx.org>
8999 * LyXAction.C (init):
9000 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9002 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9005 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9007 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9008 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9010 2003-03-07 Angus Leeming <leeming@lyx.org>
9012 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9015 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9017 * ParagraphList.C (front): new function
9020 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9022 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9023 and top_row_offset_. removed var first_y.
9025 * text2.C (LyXText, removeRow):
9027 * BufferView_pimpl.C:
9028 use these methods instead of using first_y
9030 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9032 * text2.C (pasteSelection): adjust for checkPastePossible
9034 * CutAndPaste.C: remove Paragraph * buf and replace with
9035 ParagraphList paragraphs.
9036 (DeleteBuffer): delete
9037 (cutSelection): change the tc type to textclass_type
9038 (copySelection): change the tc type to textclass_type
9039 (copySelection): adjust for ParagraphList
9040 (pasteSelection): change the tc type to textclass_type
9041 (pasteSelection): adjust for Paragraphlist
9042 (nrOfParagraphs): simplify for ParagraphList
9043 (checkPastePossible): simplify for ParagraphList
9044 (checkPastePossible): remove unused arg
9046 * ParagraphList.C (insert): handle the case where there are no
9049 * CutAndPaste.h: make CutAndPaste a namespace.
9051 * text3.C (dispatch): adjust
9053 * text.C (breakParagraph): add a ParagraphList as arg
9055 * paragraph_funcs.C (breakParagraph): change to take a
9056 BufferParams and a ParagraphList as args.
9057 (breakParagraphConservative): ditto
9058 (mergeParagraph): ditto
9059 (TeXDeeper): add a ParagraphList arg
9060 (TeXEnvironment): ditto
9063 * buffer.C (readLyXformat2): adjust
9064 (insertStringAsLines): adjust
9065 (latexParagraphs): adjust
9067 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9068 (cutSelection): adjust
9069 (pasteSelection): adjust
9071 * BufferView_pimpl.C (insertInset): adjust
9073 2003-03-05 Angus Leeming <leeming@lyx.org>
9076 * LyXAction.C (init):
9077 * BufferView_pimpl.C (dispatch):
9078 * lyxfunc.C (getStatus):
9079 remove LFUN_CHILD_INSERT.
9081 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9083 2003-03-05 Angus Leeming <leeming@lyx.org>
9086 * LyXAction.C (init):
9087 * src/factory.C (createInset):
9088 * lyxfunc.C (getStatus):
9089 * text3.C (dispatch):
9090 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9092 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9094 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9096 * ParagraphList.C (insert): handle insert right before end()
9097 (erase): fix cases where it can be first or last paragraph.
9099 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9101 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9102 Paragraph::next and Paragraph::previous
9105 * text.C (breakParagraph): adjust
9107 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9108 BufferParams& as arg.
9109 (breakParagraph): use ParagraphList::insert
9110 (breakParagraphConservative): take a Buffer* instead of a
9111 BufferParams& as arg.
9112 (breakParagraphConservative): use ParagraphList::insert.
9114 * buffer.C (insertStringAsLines): un-const it
9115 (insertStringAsLines): adjust
9117 * ParagraphList.C (insert): new function
9119 * CutAndPaste.C (pasteSelection): adjust
9121 * text.C (backspace): adjust
9123 * tabular.C (SetMultiColumn): adjust
9125 * CutAndPaste.C (cutSelection): adjust
9126 (pasteSelection): adjust
9128 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9129 Buffer const * as arg
9131 * ParagraphList.C (erase): new function
9132 * paragraph_funcs.C (mergeParagraph): use it
9133 (mergeParagraph): make it take a Buffer* instead of a
9134 BufferParams* as arg
9136 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9138 (breakParagraphConservative): ditto
9140 * paragraph.h: remove the breakParagraph friend
9142 * paragraph.C (eraseIntern): new function
9143 (setChange): new function
9145 * paragraph_funcs.C (mergeParagraph): make it take a
9146 ParagraphList::iterator instead of a Paragraph *, adjust
9149 * paragraph.h: move an #endif so that the change tracking stuff
9150 also works in the NO_NEXT case.
9152 2003-03-04 Angus Leeming <leeming@lyx.org>
9155 * LyXAction.C: new LFUN_INSET_MODIFY.
9157 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9158 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9160 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9162 * several files: ws changes only
9164 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9165 (TeXEnvironment): ditto
9168 * buffer.C (makeLaTeXFile): adjust
9169 (latexParagraphs): make it take ParagraphList::iterator as args
9171 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9173 * buffer.C (latexParagraphs): adjust
9175 * paragraph.C (TeXOnePar): move function...
9176 (optArgInset): move function...
9177 (TeXEnvironment): move function...
9178 * paragraph_pimpl.C (TeXDeeper): move function...
9179 * paragraph_funcs.C: ...here
9181 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9183 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9185 * buffer.C (readInset): remove compability code for old Figure and
9188 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9190 * buffer.C: ws changes
9193 * BufferView_pimpl.C: ditto
9196 * bufferlist.h: ditto
9200 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9202 * converter.[Ch]: split into itself +
9205 * Makefile.am: += graph.[Ch] + format.[Ch]
9212 * lyxrc.C: added #include "format.h"
9214 2003-02-27 Angus Leeming <leeming@lyx.org>
9216 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9219 * factory.C (createInset): add "label" to the factory.
9221 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9222 string and do no more.
9224 2003-02-27 Angus Leeming <leeming@lyx.org>
9227 * LyXAction.C (init):
9228 * factory.C (createInset):
9229 * BufferView_pimpl.C (dispatch):
9230 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9232 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9234 * lyxfunc.C (dispatch):
9235 * text3.C (dispatch): pass name to params2string.
9237 2003-02-26 Angus Leeming <leeming@lyx.org>
9239 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9241 Rearrange the ~includes. Strip out the unnecessary ones.
9243 * factory.C (createInset): reformat.
9244 create new insets for the various LFUN_XYZ_APPLY lfuns.
9246 2003-02-26 John Levon <levon@movementarian.org>
9249 * lyxrow.C: add isParStart,isParEnd helpers
9251 * paragraph.h: make isInserted/DeletedText take refs
9253 * paragraph_funcs.h:
9254 * paragraph_funcs.C: remove #if 0'd code
9259 * text.C: use lyxrow helpers above.
9260 Move draw and paint routines to RowPainter.
9261 Make several methods use refs not pointers.
9262 Make backgroundColor() const.
9263 Add markChangeInDraw(), isInInset().
9264 Merge changeRegionCase into changeCase.
9265 Make workWidth() shouldn't-happen code into an Assert.
9268 * rowpainter.C: new class for painting a row.
9271 * vspace.C: make inPixels take a ref
9273 2003-02-26 Angus Leeming <leeming@lyx.org>
9275 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9278 2003-02-25 John Levon <levon@movementarian.org>
9280 * ispell.C: give the forked command a more accurate name
9282 2003-02-22 John Levon <levon@movementarian.org>
9285 * toc.C: make TocItem store an id not a Paragraph *
9288 2003-02-21 Angus Leeming <leeming@lyx.org>
9290 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9291 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9292 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9293 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9294 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9295 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9297 * BufferView_pimpl.C (dispatch):
9298 * LyXAction.C (init):
9299 * factory.C (createInset):
9300 * lyxfunc.C (getStatus, dispatch):
9301 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9303 2003-02-21 Angus Leeming <leeming@lyx.org>
9305 * BufferView_pimpl.C (MenuInsertLyXFile):
9306 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9307 * lyxfunc.C (menuNew, open, doImport):
9308 no longer pass a LyXView & to fileDlg.
9310 2003-02-21 Angus Leeming <leeming@lyx.org>
9312 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9313 * LyXAction.C: change, BIBKEY to BIBITEM.
9314 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9315 Change InsetBibKey to InsetBibitem.
9316 Change BIBKEY_CODE to BIBITEM_CODE.
9317 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9318 * factory.C: replace insetbib.h with insetbibitem.h.
9319 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9320 * paragraph.C: replace insetbib.h with insetbibitem.h.
9321 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9322 Change bibkey() to bibitem().
9323 * text.C: remove insetbib.h.
9324 * text2.C: replace insetbib.h with insetbibitem.h.
9325 change bibkey() to bibitem().
9326 * text3.C: remove insetbib.h.
9327 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9329 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9331 * lyxrc.C (output): enclose user email in quotes (in case there are
9334 2003-02-18 John Levon <levon@movementarian.org>
9336 * buffer.h: add std::
9338 2003-02-17 John Levon <levon@movementarian.org>
9344 * pspell.C: reworking. Especially in ispell, a large
9345 number of clean ups and bug fixes.
9347 * lyxfunc.C: fix revert to behave sensibly
9349 2003-02-17 André Pönitz <poenitz@gmx.net>
9352 * commandtags.h: new LFUN_INSERT_BIBKEY
9362 * paragraph_func.C: remove special bibkey handling
9364 2003-02-17 John Levon <levon@movementarian.org>
9366 * text.C (Delete): fix case where delete at the end of
9367 the very first paragraph would not merge the pars
9369 2003-02-17 John Levon <levon@movementarian.org>
9371 * lyxrow.C: fix lastPrintablePos()
9373 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9375 * bufferparams.C (writeLaTeX): add a std:here
9377 * buffer.C: and remove a using directive there
9379 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9381 * buffer.C (makeLaTeXFile): move the code that generates the
9384 * bufferparams.C (writeLaTeX): ... in this new method
9386 * LaTeXFeatures.C (getEncodingSet): make const
9387 (getLanguages): make const
9389 * MenuBackend.C (binding): returns the binding associated to this
9391 (add): sets the status of each item by calling getStatus. Adds
9393 (read): add support for OptSubMenu
9394 (expand): remove extra separator at the end of expanded menu
9396 2003-02-15 John Levon <levon@movementarian.org>
9399 * BufferView_pimpl.C:
9401 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9402 inset code that had no actual effect. Remove unneeded status
9405 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9407 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9410 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9412 * text.C (drawLengthMarker): also draw an arrow marker for
9413 symbolic lengths (medskip...)
9415 2003-02-14 John Levon <levon@movementarian.org>
9418 * tabular.C: better method names
9420 2003-02-14 John Levon <levon@movementarian.org>
9422 * BufferView_pimpl.C:
9427 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9428 it's a more accurate name. Remove some pointless uses.
9430 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9432 * text2.C (LyXText): change order of initilizers to shut off
9435 2003-02-14 John Levon <levon@movementarian.org>
9437 * buffer.C: use ParIterator for getParFromID()
9441 * paragraph_pimpl.h:
9442 * paragraph_pimpl.C: remove unused getParFromID()
9444 2003-02-14 John Levon <levon@movementarian.org>
9446 * buffer.C: remove some very old #if 0'd parse code
9448 2003-02-13 John Levon <levon@movementarian.org>
9452 * text2.C: move hfillExpansion(), numberOfSeparators(),
9453 rowLast(), rowLastPrintable(), numberofHfills(),
9454 numberOfLabelHfills() ...
9457 * lyxrow.C: ... to member functions here.
9462 * text.C: remove LyXText::beginningOfMainBody(), and call
9463 p->beginningOfMainBody() directly. Move the check for
9464 LABEL_MANUAL into the latter.
9471 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9477 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9478 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9480 2003-02-13 John Levon <levon@movementarian.org>
9482 * CutAndPaste.C: remove debug
9484 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9486 * paragraph.C (asString): remove two unused variables
9488 * lyxtextclass.C (readTitleType):
9490 (LyXTextClass): handle new members titletype_ and titlename_
9492 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9494 2003-02-09 John Levon <levon@movementarian.org>
9497 * buffer.C: replace hand-coded list with a map for the dep clean
9499 2003-02-08 John Levon <levon@movementarian.org>
9501 * LaTeX.C: consolidate code into showRunMessage() helper
9503 2003-02-08 John Levon <levon@movementarian.org>
9508 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9509 and pass the size in explicitly
9511 * BufferView_pimpl.h:
9512 * BufferView_pimpl.C:
9514 * BufferView.C: add getCurrentChange()
9516 * BufferView_pimpl.h:
9517 * BufferView_pimpl.C: handle change lfuns
9519 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9520 for changes. Mark pasted paragraphs as new.
9522 * support/lyxtime.h:
9523 * support/lyxtime.C:
9524 * DepTable.C: abstract time_t as lyx::time_type
9527 * LColor.C: add colours for new text, deleted text, changebars
9529 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9530 package use "usenames" option.
9534 * LyXAction.C: add change lfuns
9538 * author.C: author handling
9541 * buffer.C: add a per-buffer author list, with first entry as
9542 current author. Handle new .lyx tokens for change tracking. Output
9543 author list to .lyx file. Output dvipost stuff to .tex preamble.
9544 Bump lyx format to 222.
9547 * bufferlist.C: add setCurrentAuthor() to reset current author details
9551 * bufferparams.C: add param for tracking
9553 * bufferview_funcs.C: output change info in minibuffer
9557 * changes.C: add change-tracking structure
9560 * debug.C: add CHANGES debug flag
9563 * lyxfind.C: add code for finding the next change piece
9566 * lyxrc.C: add user_name and user_email
9569 * lyxrow.C: add a metric for the top of the text line
9572 * text.C: implement accept/rejectChange()
9575 * text.C: paint changebars. Paint new/deleted text in the chosen
9576 colours. Strike through deleted text.
9580 * paragraph_pimpl.h:
9581 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9582 in the current change to the insert functions. Rework erase to
9583 mark text as deleted, adding an eraseIntern() and a range-based
9584 erase(). Implement per-paragraph change lookup and
9587 * paragraph_funcs.C: Fixup paste for change tracking.
9589 * tabular.C: mark added row/columns as new.
9591 * text.C: fix rowLast() to never return -1. Don't allow
9592 spellchecking of deleted text. Track transpose changes. Don't
9593 allow paragraph break or merge where appropriate.
9595 * text2.C: leave cursor at end of selection after a cut.
9597 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9599 * text.C (getLengthMarkerHeight):
9600 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9601 visible on screen too.
9603 2003-02-07 John Levon <levon@movementarian.org>
9605 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9607 2003-02-05 Angus Leeming <leeming@lyx.org>
9609 * lyxserver.C (read_ready): revert my patch of 11 September last year
9610 as it sends PC cpu through the roof. Presumably this means that
9611 the lyxserver will no longer run on an Alpha...
9613 2003-01-30 Angus Leeming <leeming@lyx.org>
9615 * factory.C (createInset): create an InsetCommandParam of type "index"
9616 and use it to 'do the right thing'.
9618 * text2.C (getStringToIndex): ensure that cursor position is always
9619 reset to the reset_cursor position.
9621 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9623 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9626 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9630 * lyxfunc.C: Output messages with identical spelling, punctuation,
9633 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9635 * MenuBackend.C (expandFormats): List only viewable export formats
9638 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9641 * lyxfunc.C (getStatus): Make sure that formats other than
9642 "fax" can also be disabled
9644 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9646 * text3.C (dispatch): put the lfuns that insert insets in 3
9647 groups, and call doInsertInset with appropriate arguments.
9648 (doInsertInset): new function, that creates an inset and inserts
9649 it according to some boolean parameters.
9651 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9653 * buffer.C (readFile): remember to pass on 'par' when calling
9654 readFile recursively.
9656 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * MenuBackend.C (expandFormats): add "..." to import formats.
9660 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9662 * paragraph.C (asString): Remove XForms RTL hacks.
9664 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9665 * buffer.C: fix typo
9667 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9669 * Makefile.am (LIBS): delete var
9670 (lyx_LDADD): add @LIBS@ here instead.
9672 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9674 * Clarify the meaning of "wheel mouse jump"
9676 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9681 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9683 * importer.C (Loaders): do not preallocate 3 elements in the
9684 vector, since one ends up with 6 elements otherwise
9686 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9688 * DepTable.C (write): write the file name as last element of the
9689 .dep file (because it may contain spaces)
9690 (read): read info in the right order
9692 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * paragraph_pimpl.C (simpleTeXBlanks):
9695 (simpleTeXSpecialChars):
9696 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9698 * tabular.C (latex): add some missing case statements. Reindent.
9700 * MenuBackend.C (expandToc): remove unused variable.
9702 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9711 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9714 2003-01-05 John Levon <levon@movementarian.org>
9717 * BufferView.C: add getEncoding()
9720 * kbsequence.C: do not store last keypress
9723 * lyxfunc.C: store last keypress here instead. Pass encoding
9726 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9728 * lyx_main.C (init): remove annoying error message when following
9729 symbolic links (bug #780)
9731 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * text.C (insertChar):
9734 * lyxrc.C (getDescription): remove extra spaces
9736 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * lyxrc.C (getDescription): remove extra spaces
9740 2002-12-20 John Levon <levon@movementarian.org>
9742 * text3.C: hack fix for page up/down across tall rows
9744 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9746 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9749 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9751 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9752 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9753 thesaurus is not compiled in
9755 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9757 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9759 2002-12-16 Angus Leeming <leeming@lyx.org>
9762 * lyx_main.C (init): remove override_x_deadkeys stuff.
9764 2002-12-12 John Levon <levon@movementarian.org>
9766 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9767 insert. Only remove shift modifier under strict
9770 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9772 * MenuBackend.C (expandToc): fix crash.
9774 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9776 * MenuBackend.C (expandToc): gettext on float names.
9778 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9780 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9781 implement bool empty() [bug 490]
9783 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9785 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9787 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9789 * several files: ws changes
9791 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9793 * text2.C (setCounter): clean up a bit, use boost.format.
9794 (updateCounters): initialize par upon declaration.
9796 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9797 if the layout exists. We do not just store the layout any more.
9798 (SwitchLayoutsBetweenClasses): use boost.format
9800 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * converter.C (convert): if from and to files are the same, use a
9803 temporary files as intermediary
9805 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9808 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9810 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9812 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9814 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9816 * tabular.C (asciiPrintCell): use string(size, char) instead of
9819 * sgml.C (openTag): fix order of arguments to string constructor
9822 * lyxfunc.C (dispatch): use boost.format
9824 * lots of files: change "c" -> 'c'
9826 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9828 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9830 2002-11-25 Angus Leeming <leeming@lyx.org>
9832 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9834 * lyx_main.C (init): compile fix.
9836 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9838 * lyx_cb.C (start): boost.formatify
9839 do not include <iostream>
9841 * lengthcommon.C: ws only
9843 * boost-inst.C,BoostFormat.h: add more explict instantations
9845 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9847 * lots of files: handle USE_BOOST_FORMAT
9849 2002-11-21 John Levon <levon@movementarian.org>
9851 * pspell.C: fix compile
9853 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9855 * lyxfunc.C (dispatch): use boost::format
9859 * lyxfont.C (stateText): use boost::format
9861 * lyx_main.C (LyX): use boost::format
9863 (queryUserLyXDir): ditto
9866 (typedef boost::function): use the recommened syntax.
9868 * importer.C (Import): use boost::format
9870 * debug.C (showLevel): use boost::format
9872 * converter.C (view): use boost::format
9877 * bufferview_funcs.C (currentState): use boost::format
9879 * bufferlist.C (emergencyWrite): use boost::format
9881 * buffer.C (readLyXformat2): use boost::format
9882 (parseSingleLyXformat2Token): ditto
9884 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9886 * LaTeX.C (run): use boost::format
9888 * Chktex.C (scanLogFile): use boost::format
9890 * BufferView_pimpl.C (savePosition): use boost::format
9891 (restorePosition): ditto
9892 (MenuInsertLyXFile): ditto
9894 * BoostFormat.h: help file for explicit instation.
9896 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9898 * tabular.C (latex): Support for block alignment in fixed width
9901 2002-11-17 John Levon <levon@movementarian.org>
9903 * BufferView_pimpl.C:
9905 * lyxfunc.C: split filedialog into open/save
9907 2002-11-08 Juergen Vigna <jug@sad.it>
9909 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9910 by my last patch (hopefully).
9912 2002-11-08 John Levon <levon@movementarian.org>
9921 * toc.C: ParConstIterator, and use it (from Lars)
9923 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9925 * lyxtextclass.[Ch]: revise and add doxygen comments
9927 2002-11-07 John Levon <levon@movementarian.org>
9929 * text.C: fix progress value for spellchecker
9931 * toc.C: fix navigate menu for insetwrap inside minipage
9933 * paragraph_funcs.C: added FIXME for suspect code
9935 2002-11-07 John Levon <levon@movementarian.org>
9937 * BufferView_pimpl.C: fix redrawing of insets
9940 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9942 * text2.C (updateCounters): fix bug 668
9944 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9946 * text3.C (dispatch): Do not make the buffer dirty when moving the
9949 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * vc-backend.C: STRCONV
9954 * text2.C (setCounter): STRCONV
9956 * paragraph.C (asString): STRCONV
9958 * lyxlength.C (asString): STRCONV
9959 (asLatexString): ditto
9961 * lyxgluelength.C (asString): STRCONV
9962 (asLatexString): ditto
9964 * lyxfunc.C (dispatch): STRCONV
9967 * lyxfont.C (stateText): STRCONV
9969 * importer.C (Import): STRCONV
9971 * counters.C (labelItem): STRCONV
9972 (numberLabel): ditto
9973 (numberLabel): remove unused ostringstream o
9978 * bufferview_funcs.C (currentState): STRCONV
9980 * buffer.C (readFile): STRCONV
9981 (asciiParagraph): ditto
9982 (makeLaTeXFile): ditto
9984 * Spacing.C (writeEnvirBegin): STRCONV
9986 * LaTeXFeatures.C (getLanguages): STRCONV
9987 (getPackages): ditto
9989 (getBabelOptions): ditto
9990 (getTClassPreamble): ditto
9991 (getLyXSGMLEntities): ditto
9992 (getIncludedFiles): ditto
9996 (scanAuxFile): ditto
9999 * LString.h: add the STRCONV macros
10001 * BufferView_pimpl.C (savePosition): STRCONV
10002 (restorePosition): ditto
10003 (MenuInsertLyXFile): ditto
10005 * vc-backend.C (scanMaster): change from submatch[...] to
10008 * funcrequest.C: include config.h
10010 * factory.C: include config.h
10012 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10014 * box.C: include config.h
10016 * LaTeX.C (scanAuxFile): change from submatch[...] to
10020 2002-10-25 Angus Leeming <leeming@lyx.org>
10022 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10024 * ispell.[Ch] (setError): new method.
10025 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10026 Use setError() insetead of goto END.
10028 * lyx_cb.C (AutoSave): move out child process into new class
10031 2002-10-30 John Levon <levon@movementarian.org>
10033 * text3.C: make start appendix undoable
10035 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10037 * lyxlength.C (inPixels): Fix returned value.
10039 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10042 2002-10-24 Angus Leeming <leeming@lyx.org>
10044 * lyxgluelength.h: no need to forward declare BufferParams
10045 or BufferView, so don't.
10047 2002-10-21 John Levon <levon@movementarian.org>
10049 * BufferView.C: menuUndo ->undo, redo
10051 * BufferView.h: document, remove dead, make some methods private
10053 * paragraph_funcs.h:
10054 * paragraph_funcs.C:
10055 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10060 * sgml.C: move sgml open/close tag into sgml.C
10062 * bufferview_funcs.h: unused prototype
10065 * lyxfunc.C: remove unused
10068 * text.C: remove unused
10070 2002-10-21 John Levon <levon@movementarian.org>
10074 * BufferView_pimpl.h:
10075 * BufferView_pimpl.C: fix mouse wheel handling based on
10076 patch from Darren Freeman
10078 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10080 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10082 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10084 * lyxlength.C (inPixels): Fix hanfling of negative length.
10085 Fix LyXLength::MU case.
10087 2002-10-16 John Levon <levon@movementarian.org>
10089 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10091 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10093 * converter.C (view): add support for $$i (file name) and $$p
10094 (file path) for the viewer command. If $$i is not specified, then
10095 it is appended to the command (for compatibility with old syntax)
10097 2002-10-14 Juergen Vigna <jug@sad.it>
10099 * undo_funcs.C (textHandleUndo): alter the order in which the
10100 new undopar is added to the LyXText, as we have to set first
10101 the right prev/next and then add it as otherwise the rebuild of
10102 LyXText is not correct. Also reset the cursor to the right paragraph,
10103 with this IMO we could remove the hack in "redoParagraphs()".
10105 2002-10-09 Angus Leeming <leeming@lyx.org>
10107 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10108 to turn off an optimisation if a new inset is to be inserted.
10110 2002-10-11 André Pönitz <poenitz@gmx.net>
10112 * lyxtext.h: make some functions public to allow access
10113 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10115 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10117 * text3.C (dispatch): when changing layout, avoid an infinite loop
10120 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10122 * lyxrc.C (read): treat a viewer or converter command of "none" as
10125 * MenuBackend.C (expandFormats): for an update, also allow the
10126 formats that are not viewable
10128 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10129 script if it is newer than the lyxrc.defaults in user directory
10131 2002-10-07 André Pönitz <poenitz@gmx.net>
10133 * text.C: Vitaly Lipatov's small i18n fix
10135 2002-09-25 Angus Leeming <leeming@lyx.org>
10137 * ispell.h: doxygen fix.
10139 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10141 * buffer.h (readFile): Add a new argument to the method, to allow
10142 reading of old-format templates.
10144 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10146 * toc.C (getTocList): Get TOC from InsetWrap.
10148 2002-09-16 John Levon <levon@movementarian.org>
10150 * lyxfunc.C: check tabular for cut/copy too
10152 2002-09-12 John Levon <levon@movementarian.org>
10154 * LyXAction.C: tidy
10157 * factory.C: add header
10159 * paragraph_funcs.h:
10160 * paragraph_funcs.C: cleanup
10162 2002-09-11 John Levon <levon@movementarian.org>
10164 * PrinterParams.h: odd/even default to true
10166 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10168 * PrinterParams.h: update printer parameters for new xforms dialog
10170 2002-09-11 Angus Leeming <leeming@lyx.org>
10172 * lyxserver.C (read_ready): re-write to make it more transparent
10173 and to make it work in coherent fashion under Tru64 Unix.
10175 2002-09-11 André Pönitz <poenitz@gmx.net>
10179 * text3.C: implement LFUN_WORDSEL
10181 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10183 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10184 make floatlist_ a boost::shared_ptr<FloatList>
10186 * lyxtextclass.C: include FloatList.h
10187 (LyXTextClass): initialize floatlist_
10188 (TextClassTags): add TC_NOFLOAT
10189 (Read): match "nofloat" to TC_NOFLOAT and use it.
10190 (readFloat): modify call to floatlist_
10194 * FloatList.[Ch] (FloatList): remove commented out float
10196 (erase): new function
10198 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10200 * MenuBackend.C (expandToc): fix crash when there is no document
10203 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10205 * many files: Add insetwrap.
10207 2002-09-09 John Levon <levon@movementarian.org>
10209 * text2.C: remove confusing and awkward depth wraparound
10211 2002-09-09 John Levon <levon@movementarian.org>
10213 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10216 * buffer.C: remove getIncludeonlyList()
10219 * lyxfunc.C: remove headers
10221 2002-09-09 Juergen Vigna <jug@sad.it>
10223 * text.C (getColumnNearX): fix form Michael this is most
10224 probably a cut&paste bug.
10226 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10228 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10230 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10231 references, ws changes.
10233 * text2.C (init): update counters after init
10234 (insertParagraph): no need to set counter on idividual paragraphs.
10235 (setCounter): access the counters object in the textclass object
10236 on in the buffer object.
10237 (updateCounters): ditto
10239 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10240 shared_ptr<Counters> to avoid loading counters.h in all
10242 (LyXTextClass): initialize ctrs_
10243 (TextClassTags): add TC_COUNTER, and ...
10244 (Read): use it here.
10245 (CounterTags): new tags
10246 (readCounter): new function
10247 (counters): new funtion
10248 (defaultLayoutName): return a const reference
10250 * counters.C (Counters): remove contructor
10251 (newCounter): remove a couple of unneeded statements.
10252 (newCounter): simplify a bit.
10253 (numberLabel): some small formatting changes.
10255 * buffer.[Ch]: remove all traces of counters, move the Counters
10256 object to the LyXTextClass.
10258 2002-09-06 Alain Castera <castera@in2p3.fr>
10260 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10261 package to set the horizontal alignment on fixed width columns.
10264 * lyx_sty.h: added tabularnewline macro def.
10266 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10268 2002-09-06 John Levon <levon@movementarian.org>
10270 * LyXAction.C: tooltips for sub/superscript
10272 * MenuBackend.C: a bit more verbose
10274 * lyxfunc.C: tiny clean
10276 * undo_funcs.C: document undo_frozen
10278 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10280 * counters.C (Counters): add missing algorithm counter.
10282 * text2.C (setCounter): lookup the counter with layouts latexname
10283 instead of by section number.
10284 (setCounter): use a hackish way to lookup the correct enum
10286 a float name->type change
10287 reset enum couners with counter name directly instead of depth value.
10289 * counters.C (Counters): remove the push_backs, change to use the
10290 float type not the float name.
10291 (labelItem): remove unused string, float name->type change
10293 * counters.h: don't include vector, loose the enums and sects vectors
10295 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10297 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10298 (Read): add float->TC_FLOAT to textclassTags
10299 (Read): and handle it in the switch
10300 (readFloat): new function
10302 * FloatList.C (FloatList): comment out the hardcoded float
10305 * lyxlayout.h: ws change.
10307 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10309 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10311 2002-09-03 Angus Leeming <leeming@lyx.org>
10313 * BufferView_pimpl.h: qualified name is not allowed in member
10314 declaration: WorkArea & Pimpl::workarea() const;
10316 * factory.C: added using std::endl directive.
10318 * text3.C: added using std::find and std::vector directives.
10320 2002-08-29 André Pönitz <poenitz@gmx.net>
10323 * text2.C: remove unused member number_of_rows
10326 * BufferView2.C: remove file, move contents to...
10327 * BufferView.C: ... here
10329 * BufferView_pimpl.C:
10330 * factory.C: move more inset creation to factory
10332 * vspace.C: avoid direct usage of LyXText, ws changes
10335 don't provide direct access to WorkArea, use two simple
10336 acessors haveSelction() and workHeight() instead
10339 2002-08-29 John Levon <levon@movementarian.org>
10341 * BufferView_pimpl.C (dispatch): do not continue when
10344 2002-08-28 André Pönitz <poenitz@gmx.net>
10346 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10349 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10351 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10353 * buffer.C: increment LYX_FORMAT to 221
10355 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10356 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10358 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10360 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10362 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10364 * factory.C (createInset): use LyXTextClass::floats
10366 * MenuBackend.C (expandFloatListInsert):
10367 (expandFloatInsert):
10370 * text2.C (setCounter):
10372 * LaTeXFeatures.C (useFloat):
10373 (getFloatDefinitions):
10375 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10377 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10378 floatlist_, with accessor floats().
10380 * FloatList.h: remove global FloatList
10382 2002-08-26 André Pönitz <poenitz@gmx.net>
10384 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10388 * BufferView_pimpl.C:
10389 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10391 2002-08-25 John Levon <levon@movementarian.org>
10393 * LyXAction.C: fix margin note description
10395 2002-08-24 John Levon <levon@movementarian.org>
10399 * bufferview_funcs.C:
10401 * undo_funcs.C: cleanups
10403 * lyxfunc.C: disable CUT/COPY when no selection
10405 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10407 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10408 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10410 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10411 Add backward compatibility to "mono", "gray" and "no".
10413 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10415 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10416 (and file_format >= 200).
10418 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10420 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10422 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10426 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10428 * BufferView_pimpl.C:
10435 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10436 inset and code to make it work with the paragraph code. The inset
10437 can be anywhere in the paragraph, but will only do the expected
10438 thing in LaTeX if the layout file contains the parameter line
10440 (or more generally, a nonzero value) for that layout.
10442 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10444 * paragraph.h: remove the declaration of undefined counters class
10447 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10449 * text2.C (setCounter): fixed enumeration mis-count as reported by
10450 Dr. Richard Hawkins.
10452 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10454 * paragraph_funcs.h: remove some unneeded includes
10456 * text.C (backspace): pasteParagraph now in global scipe
10458 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10459 (pasteSelection): ditto
10461 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10462 * paragraph_funcs.C (pasteParagraph): ... here
10464 2002-08-20 André Pönitz <poenitz@gmx.net>
10466 * commandtags.h: new LFUNs for swapping/copying table row/colums
10469 * lyxfunc.C: support for new lfuns
10471 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10474 * buffer.[Ch]: remove NO_COMPABILITY stuff
10476 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10478 * boost.C (throw_exception): new file, with helper function for
10479 boost compiled without exceptions.
10484 * ParameterStruct.h:
10485 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10487 * bufferlist.C (emergencyWriteAll): use boost bind
10489 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10491 * text.C: include paragraph_funcs.h
10492 (breakParagraph): breakParagraph is now in global scope
10494 * paragraph_funcs.[Ch]: new files
10496 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10499 * buffer.C: include paragraph_funcs.h
10500 (insertStringAsLines): breakParagraph is now in global scope
10502 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10505 * CutAndPaste.C: include paragraph_funcs.h
10506 (cutSelection): breakParagraphConservative is now in global scope
10507 (pasteSelection): ditto
10509 * buffer.h: declare oprator== and operator!= for
10510 Buffer::inset_iterator
10512 * bufferlist.C (emergencyWrite): don't use fmt(...)
10514 * text3.C: add using std::endl
10516 * BufferView.C (moveCursorUpdate): remove default arg
10518 2002-08-20 André Pönitz <poenitz@gmx.net>
10520 * buffer.[Ch]: move inline functions to .C
10523 * BufferView_pimpl.C:
10525 * buffer.[Ch]: use improved inset_iterator
10528 * paragraph.[Ch]: write one paragraph at a time
10530 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10532 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10533 style if style is not specified.
10535 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * text2.C (setCounter): when searching for right label for a
10538 caption, make sure to recurse to parent insets (so that a caption
10539 in a minipage in a figure float works) (bug #568)
10541 2002-08-20 André Pönitz <poenitz@gmx.net>
10543 * text3.C: new file for LyXText::dispatch() and helpers
10545 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10547 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10549 2002-08-19 André Pönitz <poenitz@gmx.net>
10552 * text.C: new LyXText::dispatch()
10554 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10556 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10558 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10560 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10563 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10565 * Makefile.am: use $(variables) instead of @substitutions@
10567 2002-08-15 André Pönitz <poenitz@gmx.net>
10570 * BufferView_pimpl.C: streamlining mathed <-> outer world
10574 * LyXAction.C: remove unused LFUN_MATH
10576 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10578 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10580 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10582 * paragraph.C (Paragraph): reformat a bit
10583 (cutIntoMinibuffer): use builtin InsetList function instad of
10587 * buffer.C: include boost/bind.hpp, add using std::for_each
10588 (writeFileAscii): use ParagraphList iterators
10589 (validate): use for_each for validate traversal of paragraphs
10590 (getBibkeyList): use ParagraphList iterators
10591 (resizeInsets): use for_each to resizeInsetsLyXText for all
10593 (getParFromID): use ParagraphList iterators
10595 * BufferView2.C (lockInset): use paragraph list and iterators
10597 2002-08-14 John Levon <levon@movementarian.org>
10599 * lyxserver.C: remove spurious xforms include
10601 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10605 2002-08-13 André Pönitz <poenitz@gmx.net>
10608 * lyxfunc.C: further cleaning
10610 2002-08-13 André Pönitz <poenitz@gmx.net>
10612 * funcrequest.h: new constructor
10614 * funcrequest.C: move stuff here from .h
10617 * BufferView_pimpl.C:
10620 * lyxfunc.C: subsequent changes
10622 * lyxfunc.h: new view() member function
10624 * lyxfunc.C: subsequent changes
10626 2002-08-13 Angus Leeming <leeming@lyx.org>
10629 * BufferView_pimpl.C:
10637 changes due to the changed LyXView interface that now returns references
10638 to member variables not pointers.
10640 2002-08-13 Angus Leeming <leeming@lyx.org>
10642 * WordLangTuple (word, lang_code): return references to strings,
10647 * lyxtext.h: forward-declare WordLangTuple.
10652 * text.C: #include "WordLangTuple.h".
10655 * text.C: (selectNextWordToSpellcheck): constify return type.
10657 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10663 * paragraph_pimpl.h:
10666 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10667 suggested by Angus.
10668 Made updateCounter always count from start of buffer, and removed
10669 second argument (par).
10670 Reverted floats number display to '#'. Perhaps I'll try again when the
10671 code base is sanitized a bit.
10673 2002-08-12 Angus Leeming <leeming@lyx.org>
10675 * buffer.[Ch] (getLabelList): constify.
10677 2002-08-07 André Pönitz <poenitz@gmx.net>
10679 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10681 * funcrequest.h: extension to keep mouse (x,y) position
10683 2002-08-12 Juergen Vigna <jug@sad.it>
10685 * BufferView2.C (insertErrors): forbid undo when inserting error
10688 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10690 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10692 * ParagraphList.[Ch]: new files
10694 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10696 * BufferView2.C (lockInset): ParagraphList changes
10699 * bufferlist.C: ditto
10703 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10705 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10706 unused class variable counter_,
10708 * paragraph.[Ch] (getFirstCounter): delete unused function
10710 * counters.C: include LAssert.h
10711 (reset): add a new function with no arg, change other version to
10712 not have def. arg and to not allow empty arg.
10714 * text2.C (setCounter): remove empty arg from call to Counters::reset
10716 2002-08-11 John Levon <levon@movementarian.org>
10718 * Makefile.am: add WordLangTuple.h
10720 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10722 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10723 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10725 * insets/insettext.C: InsetList changes
10727 * graphics/GraphicsSupport.C (operator()): InsetList changes
10729 * toc.C (getTocList): InsetList changes
10731 * paragraph_pimpl.[Ch]: InsetList changes
10733 * paragraph.[Ch]: InsetList changes
10735 * buffer.C (inset_iterator): InsetList changes
10736 (setParagraph): ditto
10737 * buffer.h (inset_iterator): ditto
10738 * iterators.C (operator++): ditto
10739 * iterators.h: ditto
10741 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10743 * InsetList.[Ch]: new files, most InsetList handling moved out of
10746 * BufferView2.C (removeAutoInsets): InsetList changes
10748 (ChangeInsets): ditto
10750 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10752 * paragraph_pimpl.h (empty): new function
10754 * paragraph.[Ch] (empty): new function
10756 * other files: use the new Paragraph::empty function
10758 2002-08-09 John Levon <levon@movementarian.org>
10760 * lyxtext.h: remove unused refresh_height
10762 2002-08-09 John Levon <levon@movementarian.org>
10769 * paragraph.C: move sgml char escaping out of paragraph
10772 * paragraph.C: remove id setter
10776 * paragraph_pimpl.C: remove dead tex_code_break_column
10778 * bufferview_funcs.C: small cleanup
10780 * lyxfunc.C: remove dead proto
10782 * lyxtext.h: make some stuff private. Remove some dead stuff.
10784 * lyxgluelength.C: make as[LyX]String() readable
10786 2002-08-08 John Levon <levon@movementarian.org>
10791 * ToolbarDefaults.C:
10794 * toc.C: lyxaction cleanup
10796 2002-08-08 John Levon <levon@movementarian.org>
10798 * BufferView2.C: small cleanup
10801 * lyxfind.C: move unnecessary header into the .C
10803 2002-08-08 John Levon <levon@movementarian.org>
10805 * funcrequest.h: just tedious nonsense
10808 * lyx_main.C: cleanups
10811 * vspace.C: remove dead header lyx_main.h
10813 2002-08-07 Angus Leeming <leeming@lyx.org>
10816 * paragraph_pimpl.h:
10817 Forward declare class Counters in paragraph.h by moving the ctrs member
10818 variable into Paragraph::Pimpl.
10819 (counters): new method, returning a reference to pimpl_->ctrs.
10821 * text2.C: ensuing changes.
10823 2002-08-07 John Levon <levon@movementarian.org>
10825 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10827 * BufferView_pimpl.C: announce X selection on double/triple
10830 * lyx_main.C: use correct bool in batch dispatch
10832 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10834 2002-08-07 André Pönitz <poenitz@gmx.net>
10836 * funcrequest.h: new class to wrap a kb_action and its argument
10839 * BufferView_pimpl[Ch]:
10843 * lyxrc.C: subsequent changes
10846 2002-08-07 John Levon <levon@movementarian.org>
10848 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10849 document options change.
10851 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10856 * makefile.am: move counters functionality over from
10857 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10859 2002-08-06 John Levon <levon@movementarian.org>
10861 * WordLangTuple.h: new file for word + language code tuple
10872 * BufferView2.C: use WordLangTuple
10875 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10877 2002-08-06 John Levon <levon@movementarian.org>
10879 * lyx_main.C: fix cmdline batch handling
10881 2002-08-06 André Pönitz <poenitz@gmx.net>
10883 * lyxrc.C: set default for show_banner to true
10885 2002-08-06 John Levon <levon@movementarian.org>
10887 * pspell.C: fix a crash, and allow new aspell to work
10889 2002-08-06 John Levon <levon@movementarian.org>
10892 * kbmap.C: small cleanup
10895 * vspace.C: add const
10897 2002-08-05 John Levon <levon@movementarian.org>
10899 * LyXAction.C: back to tabular-insert
10901 2002-08-04 John Levon <levon@movementarian.org>
10904 * BufferView.C: cosmetic change
10906 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10916 * BufferView2.C: purge all "Lyx" not "LyX" strings
10919 * lyxcursor.C: attempt to add some documentation
10924 * ToolbarDefaults.C:
10925 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10926 merge with LFUN_TABULAR_INSERT
10933 * pspell.C: split up i/pspell implementations into separate
10934 files, many cleanups
10936 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10938 * text2.C: some cleanup
10940 * lyxfunc.C: don't check for isp_command == "none" any more, it
10941 didn't make any sense
10943 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10948 * makefile.am: move counters functionality over
10949 from text2.C/paragraph.[Ch] to counters.[Ch], and
10951 2002-08-02 John Levon <levon@movementarian.org>
10953 * buffer.C: s/lyxconvert/lyx2lyx/
10955 2002-08-02 Angus Leeming <leeming@lyx.org>
10957 * lyxlex.C: revert John's change as it breaks reading of the user
10960 2002-08-02 Angus Leeming <leeming@lyx.org>
10962 * importer.C (Import):
10963 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10964 changes due to LyXView::view() now returning a boost::shared_ptr.
10966 2002-08-02 John Levon <levon@movementarian.org>
10968 * lyxlex.C: small cleanup
10970 2002-08-02 John Levon <levon@movementarian.org>
10972 * text2.C (status): small cleanup, no logic change
10974 2002-08-01 John Levon <levon@movementarian.org>
10977 * buffer.C (writeFile): don't output alerts, caller
10981 * lyx_cb.C: from above
10983 * lyxfunc.C: allow to open non-existent files
10985 2002-07-31 John Levon <levon@movementarian.org>
10987 * lyxserver.C: don't let incidental errors get
10990 2002-07-30 John Levon <levon@movementarian.org>
10992 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10994 2002-07-30 John Levon <levon@movementarian.org>
10997 * lyxserver.C: remove I/O callback too
10999 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11001 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11004 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11006 * many files: strip,frontStrip -> trim,ltrim,rtrim
11008 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11010 * PrinterParams.h: remove extern containsOnly, and include
11011 support/lstrings.h instead.
11013 * LaTeX.C (scanAuxFile): modify because of strip changes
11015 * buffer.C (makeLaTeXFile): ditto
11016 * bufferparams.C (writeFile): ditt
11017 * lyxfont.C (stateText): ditto
11018 * lyxserver.C (read_ready): ditto
11019 * vc-backend.C (scanMaster): ditto
11021 * BufferView_pimpl.h: ws changes
11023 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11025 2002-07-26 André Pönitz <poenitz@gmx.net>
11027 * kb_sequence.C: remove unnedred usings
11029 2002-07-26 Juergen Vigna <jug@sad.it>
11031 * lyxfind.C (LyXReplace): we have to check better if the returned
11032 text is not of theLockingInset()->getLockingInset().
11034 2002-07-25 Juergen Vigna <jug@sad.it>
11036 * lyxfind.C (LyXReplace): don't replace if we don't get the
11039 * undo_funcs.C (createUndo): remove debugging code.
11041 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11043 * buffer.C (parseSingleLyXformat2Token): Use default placement
11044 when reading old floats.
11046 * FloatList.C (FloatList): Change the default placement of figure
11047 and tables to "tbp".
11049 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11051 * MenuBackend.C: using std::max
11053 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * MenuBackend.C (expandToc):
11056 (expandToc2): code moved from xforms menu frontend. It is now
11057 generic and TOCs are transparent to menu frontends.
11059 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * toc.C (getTocList): protect against buf=0
11063 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11064 Menu as first parameter. Now, this calls itself recursively to
11065 expand a whole tree (this will be useful for TOC handling)
11066 (expandFloatInsert): remove 'wide' version of floats
11068 * MenuBackend.h (submenuname): returns the name of the submenu.
11069 (submenu): returns the submenu itself, provided it has been
11070 created by MenuBackend::expand
11072 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11074 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11075 insets which have noFontChange == true. (bug #172)
11077 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11079 * BufferView_pimpl.C: add connection objects and use them...
11082 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * MenuBackend.C (expandLastfiles):
11087 (expandFloatListInsert):
11088 (expandFloatInsert):
11089 (expand): split expand in parts
11091 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11093 * lyx_gui.C: use lyx_gui::exit()
11095 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11097 * LyXAction.C: show the failing pseudo action
11099 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11101 * buffer.C (readFile): Run the lyxconvert script in order to read
11104 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11108 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11110 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11114 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11116 2002-07-22 Herbert Voss <voss@lyx.org>
11119 * lyxlength.[Ch]: add support for the vertical lengths
11121 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11123 * toc.[Ch]: std:: fixes
11125 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11127 * lyxrc.C: do not include lyx_main.h
11129 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11135 * BufferView2.C: include "lyxlex.h"
11138 * bufferparams.h: do not #include "lyxlex.h"
11140 * lyxtextclasslist.C (Add): remove method
11141 (classlist): renamed to classlist_
11143 * paragraph_pimpl.C:
11147 * bufferview_funcs.C:
11152 * toc.C (getTocList): use BufferParams::getLyXTextClass
11154 * toc.C (getTocList): use InsetFloat::addToToc
11156 * toc.[Ch]: new files, containing helper functions to handle table
11159 * lyxfunc.C (dispatch): no need to remove spaces around command
11161 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11162 first command of the sequence; it is not very clever, but I do not
11163 have a better idea, actually
11165 * LyXAction.C (LookupFunc): make sure to remove space at the
11166 beginning and end of the command
11168 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11170 * MenuBackend.C (getMenubar): new method: return the menubar of
11172 (read): treat differently reading of menu and menubar (in
11173 particular, the menubar has no name now)
11174 (Menu::menubar): remove
11176 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11179 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11181 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11182 a bibitem inset in a RTL paragraph.
11184 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11186 * paragraph_pimpl.C: constify
11188 * BufferView_pimpl.C:
11190 * lyxfunc.C: fix dispatch in a nicer way
11192 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11194 * lyxfunc.C (dispatch):
11195 * BufferView_pimpl.C:
11196 * BufferView_pimpl.h:
11198 * BufferView.h: rename Dispatch() to dispatch()
11200 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11202 * lyxlayout.C (Read): honor DependsOn tag
11204 * lyxlayout.[Ch] (depends_on): new method
11206 * version.C.in: update lyx_docversion
11208 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11210 * paragraph.C (validate): remove from here...
11211 * paragraph_pimpl.C (validate): ... and move here
11212 (isTextAt): make it const
11214 * buffer.C (getLists): ws cleanup
11216 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11218 * language.C (read): Use iso8859-1 encoding in latex_lang
11219 (this prevents LyX from crashing when using iso10646-1 encoding).
11221 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11223 * text2.C (toggleInset): if cursor is inside an inset, close the
11224 inset and leave cursor _after_ it
11226 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11228 * lyxfunc.C: move minibuffer completion handling out of here
11230 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11232 * BufferView_pimpl.C:
11233 * LaTeX.C: fix dispatch calls
11235 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11237 * text.C (drawChars): Fix Arabic text rendering.
11239 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11243 * lyxfunc.C: remove message-push/pop
11247 * lyxfunc.C: rationalise some code by removing verboseDispatch
11248 in favour of a bool argument to dispatch()
11250 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11252 * lyx_main.C (init): make sure to read symlinks as absolute paths
11254 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11257 * lyxfunc.C: no need for commandshortcut to be a member
11259 2002-07-15 André Pönitz <poenitz@gmx.net>
11261 * converter.C: add support for $$s (scripts from lib/scripts dir)
11262 * lyx_main.C: white space
11264 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11268 * lyxrc.C: remove second exit confirmation
11270 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11275 * BufferView_pimpl.h:
11276 * BufferView_pimpl.C:
11277 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11279 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11281 * MenuBackend.C (expand): add numeric shortcuts to document menu
11283 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11285 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * lyxfont.C (setLyXFamily):
11294 * buffer.C (asciiParagraph): use ascii_lowercase
11296 2002-07-15 Mike Fabian <mfabian@suse.de>
11298 * lyxlex_pimpl.C (search_kw):
11299 * lyxlex.C (getLongString):
11300 * converter.h (operator<):
11301 * converter.C (operator<):
11302 * buffer.C (parseSingleLyXformat2Token):
11304 * ToolbarDefaults.C (read):
11305 * MenuBackend.C (checkShortcuts):
11307 * LColor.C (getFromGUIName):
11308 (getFromLyXName): use the compare_ascii_no_case instead of
11309 compare_no_case, because in turkish, 'i' is not the lowercase
11310 version of 'I', and thus turkish locale breaks parsing of tags.
11312 2002-07-16 Angus Leeming <leeming@lyx.org>
11314 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11315 now takes a Buffer const & argument.
11317 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11319 * BufferView.C (resize): check there's a buffer to resize
11321 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11323 * lyxfunc.C: remove dead code
11326 * lyxserver.C: use lyx_guii::set_read_callback
11328 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11330 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11331 an inset in a RTL paragraph.
11333 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11335 * lyxfunc.C: repaint after a font size update
11337 2002-07-15 André Pönitz <poenitz@gmx.net>
11339 * lyxlength.C: inBP should be able to return negative values
11341 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11343 * lyxfunc.C: use lyx_gui::update_fonts()
11345 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11347 * lyxfunc.C: use lyx_gui::update_color()
11349 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11355 * lyxrc.C: remove file->new asks for name option, and let
11356 buffer-new take an argument
11358 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11360 * BufferView_pimpl.C: remove unneeded extra repaint()
11362 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11364 * LyXAction.C: allow command-sequence with NoBuffer
11366 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11368 2002-07-10 Angus Leeming <leeming@lyx.org>
11370 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11372 2002-07-09 Angus Leeming <leeming@lyx.org>
11374 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11376 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11378 * lengthcommon.h: whitespace
11380 * lyxfunc.C: update scrollbar after goto paragraph
11382 * lyxtext.h: factor out page break drawing, and fix it so
11383 page break/added space paints as selected nicely
11385 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11387 * BufferView_pimpl.C: add FIXMEs, clean up a little
11389 2002-07-09 André Pönitz <poenitz@gmx.net>
11391 * lyxfont.[Ch]: support for wasy symbols
11393 2002-07-08 André Pönitz <poenitz@gmx.net>
11395 * BufferView_pimpl.C: apply John's patch for #93.
11397 2002-07-05 Angus Leeming <leeming@lyx.org>
11399 * BufferView_pimpl.C (buffer): generate previews if desired.
11401 * LColor.h: add "preview" to the color enum.
11403 * LColor.C (LColor): add a corresponding entry to the items array.
11405 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11408 2002-07-05 Angus Leeming <leeming@lyx.org>
11410 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11411 The body of the code is now in the method that is passed an ostream &
11412 rather than a file name.
11413 Pass an additional only_preamble parameter, useful for the forthcoming
11416 2002-07-03 André Pönitz <poenitz@gmx.net>
11418 * lyxfunc.C: simplify getStatus() a bit for math stuff
11420 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11422 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11424 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * text.C (changeRegionCase): do not change case of all the
11427 document when region ends at paragraph end (bug #461)
11429 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * paragraph.C (startTeXParParams):
11432 (endTeXParParams): add \protect when necessary
11434 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11436 * BufferView_pimpl.C (workAreaExpose): remove warning
11438 2002-06-27 Angus Leeming <leeming@lyx.org>
11440 * Makefile.am: add lyxlayout_ptr_fwd.h.
11442 2002-06-26 André Pönitz <poenitz@gmx.net>
11444 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11446 2002-06-25 Angus Leeming <leeming@lyx.org>
11448 * lyxfunc.C (dispatch): Comment out the call to
11449 grfx::GCache::changeDisplay. The method no longer exists now that the
11450 pixmap generation part of the graphics loader has been moved into
11453 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * text2.C: layout as layout
11457 * text.C: layout as layout
11459 * tabular.C (OldFormatRead): layout as layout
11461 * paragraph_pimpl.C (TeXDeeper): layout as layout
11462 (realizeFont): layout as layout
11464 * paragraph.C (writeFile): layout as layout
11465 (validate): layout as layout
11466 (getFont): layout as layout
11467 (getLabelFont): layout as layout
11468 (getLayoutFont): layout as layout
11469 (breakParagraph): layout as layout
11470 (stripLeadingSpaces): layout as layout
11471 (getEndLabel): layout as layout
11472 (getMaxDepthAfter): layout as layout
11473 (applyLayout): layout as layout
11474 (TeXOnePar): layout as layout
11475 (simpleTeXOnePar): layout as layout
11476 (TeXEnvironment): layout as layout
11477 (layout): layout as layout
11478 (layout): layout as layout
11480 * lyxtextclass.C (compare_name): new functor to work with
11481 shared_ptr, layout as layout
11482 (Read): layout as layout
11483 (hasLayout): layout as layout
11484 (operator): layout as layout
11485 (delete_layout): layout as layout
11486 (defaultLayout): layout as layout
11488 * lyxlayout_ptr_fwd.h: new file
11490 * lyxlayout.C (Read): layout as layout
11492 * lyx_cb.C (MenuInsertLabel): layout as layout
11494 * bufferlist.C (newFile): layout as layout
11496 * buffer.C (readLyXformat2): layout as layout
11497 (parseSingleLyXformat2Token): layout as layout
11498 (insertStringAsLines): layout as layout
11499 (asciiParagraph): layout as layout
11500 (latexParagraphs): layout as layout
11501 (makeLinuxDocFile): layout as layout
11502 (simpleLinuxDocOnePar): layout as layout
11503 (makeDocBookFile): layout as layout
11504 (simpleDocBookOnePar): layout as layout
11505 (getLists): layout as layout
11507 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11509 * CutAndPaste.C (cutSelection): layout as layout
11510 (pasteSelection): layout as layout
11511 (SwitchLayoutsBetweenClasses): layout as layout
11513 * BufferView_pimpl.C (Dispatch): layout as layout
11514 (smartQuote): layout as layout
11516 * BufferView2.C (unlockInset): layout as layout
11518 2002-06-24 André Pönitz <poenitz@gmx.net>
11520 * lyxfunc.C: fix #487
11522 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11526 * lyxfunc.C: remove display_shortcuts, show_banner
11528 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11530 * Buffer_pimpl.C: oops, update on resize
11532 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11539 * BufferView.C: use repaint()
11541 * BufferView_pimpl.h:
11542 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11543 as it's a clearer description. Remove superfluous
11546 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11548 * text.C: fix bug 488. Not ideal, but getting
11549 getWord() to work properly for the insets that
11550 matter is more difficult ...
11552 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11554 * BufferView_pimpl.C:
11557 * lyxfunc.C: remove the six million index lyxfuncs to just
11558 one, and DTRT (bug 458)
11560 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11564 * BufferView_pimpl.h:
11565 * BufferView_pimpl.C: clean up resize() stuff,
11566 and unnecessary updateScreen()s
11568 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11572 * BufferView_pimpl.h:
11573 * BufferView_pimpl.C:
11576 * minibuffer.C: remove focus management of workarea,
11577 not needed. Use screen's greyOut()
11579 2002-06-17 Herbert Voss <voss@lyx.org>
11581 * converter.C: (convert) do not post a message, when converting
11582 fails, let the calling function decide what to do in this case
11584 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11586 * lyxfunc.C: tidy up a little
11588 2002-06-16 <alstrup@diku.dk>
11590 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11591 Got rid of FORMS_H_LOCATION include. Now we are
11594 2002-06-15 LyX Development team <lyx@rilke>
11596 * buffer.[Ch] (sgmlOpenTag):
11597 (sgmlCloseTag): Added support for avoiding pernicious mixed
11598 content. Return number of lines written.
11600 (makeLinuxDocFile):
11601 (makeDocBookFile): Fixed calls to sgml*Tag.
11602 Simple white space clean.
11604 (simpleDocBookOnePar): Simple white space clean.
11606 * tabular.[Ch] (docBook): Renamed to docbook and got another
11607 argument to related with the pernicious mixed content.
11609 (docbookRow): Fixed calls for docbook inset method.
11611 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11613 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11614 so it's X11 independent.
11618 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11620 2002-06-15 Lyx Development team <lyx@electronia>
11622 * intl.h: Renamed getTrans to getTransManager.
11624 2002-06-14 Angus Leeming <leeming@lyx.org>
11626 * Makefile.am: nuke forgotten stl_string_fwd.h.
11628 2002-06-12 Angus Leeming <leeming@lyx.org>
11630 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11632 2002-06-13 Angus Leeming <leeming@lyx.org>
11635 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11637 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11639 * kbmap.C (getiso): add support for cyrillic and greek
11641 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11645 * BufferView_pimpl.h:
11646 * BufferView_pimpl.C: move bogus scrolling logic
11649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11652 * BufferView_pimpl.C: view->resize() change
11654 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.C: topCursorVisible
11659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11663 * lyx_gui.C: move to frontends/
11667 * lyx_main.C: changes from above
11669 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11676 * lyx_main.C: minor tidy
11678 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11680 * BufferView_pimpl.h:
11681 * BufferView_pimpl.C:
11683 * BufferView.C: make painter() const,
11686 * BufferView2.C: use screen() accessor
11689 * lyx_main.C: some minor cleanup
11691 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11693 * BufferView_pimpl.h:
11694 * BufferView_pimpl.C: remove enter/leaveView,
11697 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11702 * BufferView_pimpl.h:
11703 * BufferView_pimpl.C: only construct screen once,
11706 * lyxrc.C: remove pointless comment
11708 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11711 * BufferView.C: remove active() and belowMouse()
11713 * BufferView_pimpl.h:
11714 * BufferView_pimpl.C: use workarea() not workarea_,
11715 and make it use a scoped_ptr instead
11717 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11719 * lyx_gui.C: add debug message on BadWindow
11721 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11723 * sp_spell.C: fdopen is not part of the C++ standard.
11725 * paragraph.C (InsetIterator): use >= instead of ==
11727 2002-06-07 Angus Leeming <leeming@lyx.org>
11729 Fixes needed to compile with Compaq cxx 6.5.
11730 * BufferView_pimpl.C:
11737 * lyxtextclasslist.C:
11742 all c-library variables have been moved into namespace std. Wrap
11743 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11748 Add a using std::abs declaration.
11750 * kbmap.h (modifier_pair):
11751 * paragraph.h (InsetTable, InsetList):
11752 * lyxfont.h (FontBits):
11753 type definition made public.
11755 * bufferlist.C (emergencyWriteAll): the compiler complains that
11756 there is more than one possible lyx::class_fun template to choose from.
11757 I re-named the void specialisation as lyx::void_class_fun.
11759 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11761 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11762 the compiler is is unable to find tostr in write_attribute.
11764 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11766 * buffer.C (sgmlError): hide #warning
11768 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * xtl/*: get rid of xtl, which is not in use anyway
11772 * LyXAction.C (init):
11773 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11774 were unimplemented xtl experimentation
11776 2002-06-04 André Pönitz <poenitz@gmx.net>
11778 * lyxfunc.C: disable array operation on simple formulae
11780 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11782 * converter.C: constify a bit
11784 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11786 * lyx_gui.C: check xforms version correctly
11788 2002-04-30 Herbert Voss <voss@lyx.org>
11790 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11793 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11795 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11796 attempt to register it with a VCS)
11798 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * lyx_main.C (init): honor variables LYX_DIR_13x and
11803 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11807 * lyx_main.C: fix a crash on bad command line,
11808 and give a useful exit status on error
11810 * lyxfunc.C (doImport): allow -i lyx to work
11812 2002-03-30 André Pönitz <poenitz@gmx.net>
11814 * lyxfunc.C: mathed font changes
11816 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11831 * trans_mgr.h: srcdocs, and some minor cleanups
11833 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11835 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11836 call getFont all the time)
11838 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * switch from SigC signals to boost::signals
11842 2002-05-29 André Pönitz <poenitz@gmx.net>
11844 * paragraph_pimpl.C (getChar): don't call size() too often...
11846 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11848 * paragraph_pimpl.C (insertChar): do not try to update tables when
11849 appending (pos == size())
11851 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11852 in order to reduce drastically the number of comparisons needed to
11853 parse a large document
11855 2002-05-29 André Pönitz <poenitz@gmx.net>
11861 * textclasslist.[Ch]:
11862 * sp_ispell.h: whitespace change
11864 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11867 lyxaction directly now.
11869 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11873 * lyxvc.C: remove unused headers
11875 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11882 * undo_funcs.C: some cleanups. Use shared_ptr
11883 and a template for the undo stacks.
11885 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11887 * BufferView_pimpl.h:
11888 * BufferView_pimpl.C:
11895 * text2.C: use key_state/mouse_state
11897 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11902 * chset.C: change include order
11903 (loadFile): use boost regex and get rid of LRegex and LSubstring
11905 * Makefile.am (BOOST_LIBS): new variable
11906 (lyx_LDADD): use it
11908 * LaTeX.C: change include order.
11909 (scanAuxFile): use boost regex and get rid of LRegex and
11913 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11918 * FontInfo.C: moved to frontends/xforms/
11921 * FontLoader.C: moved into frontends for GUIIzation
11926 * lyxfunc.C: changes from above
11928 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11930 * LColor.C: remove spurious X include
11932 * BufferView_pimpl.C:
11937 * text2.C: move font metrics to frontends/
11939 2002-05-24 Juergen Vigna <jug@sad.it>
11941 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11942 setting the undo_cursor.
11944 * ParagraphParameters.h: include local includes first.
11946 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11948 * BufferView_pimpl.C:
11949 * BufferView_pimpl.h:
11953 * screen.C: move WorkArea into frontends/
11959 * BufferView2.C: move LyXScreen into frontends/
11963 * lyx_gui.C: move lyxlookup into frontends/xforms/
11965 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11968 * BufferView_pimpl.C:
11978 * bufferview_funcs.C:
11991 * vc-backend.C: move LyX/XFormsView into frontends/
11993 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12005 * text2.C: move Painter to frontends/
12007 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12009 * buffer.C: comment out some some code that depend upon lyx_format
12012 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12013 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12015 * buffer.h (NO_COMPABILITY): turn off compability
12017 * ColorHandler.C: include scoped_array.hpp
12019 * font.C: Use more specific smart_ptr header.
12022 * ShareContainer.h: ditto
12023 * lyx_main.h: ditto
12025 * FontInfo.h: ditto
12026 * BufferView_pimpl.h: ditto
12027 * ColorHandler.h: ditto
12029 * kbmap.C (defkey): change call to shared_ptr::reset
12031 2002-05-21 Juergen Vigna <jug@sad.it>
12033 * buffer.C (insertErtContents): fix to insert ert asis if it is
12034 non empty. Skip it completely if it contains only whitespaces.
12036 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12038 * BufferView_pimpl.C:
12039 * BufferView2.C: clear selection on paste (bug 393)
12041 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12043 * DepTable.C: include ctime
12045 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12047 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12049 2002-05-14 Juergen Vigna <jug@sad.it>
12051 * text.C (breakParagraph): fixed function to honor the keepempty
12052 layout in the right maner and also to permit the right breaking
12053 algorithm on empty or non empyt keepempty paragraphs.
12055 * paragraph.C (breakParagraph): we have to check also if the par
12056 is really empty (!size()) for isempty otherwise we do the wrong
12059 2002-05-10 Juergen Vigna <jug@sad.it>
12061 * buffer.[Ch] : The following are only changes to the ert
12062 compatibility read reading old LaTeX layout and font stuff and
12063 convert it to ERTInsets.
12065 * buffer.h: added isErtInset().
12067 * buffer.C (struct ErtComp): add a fromlayout bool to check
12068 if we're inside a LaTeX layout.
12069 (isErtInset): new helper function.
12070 (insertErtContents): look for other ert insets before this one
12071 and insert the contents there, so that we don't have subsequent
12072 ERT insets with nothing between them. This way we create only one
12073 inset with multiple paragraphs. Also check if we don't insert only
12074 spaces ' ' as they are ignored anyway afterwards in the .tex file
12075 so if we have only spaces we will ignore this latex part in the
12077 (parseSingleLyXformat2Token \\layout): better compatibility when
12078 reading layout-latex stuff.
12079 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12081 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12082 stuff after reading the inset only get the information back from
12085 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12087 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12089 * LaTeXFeatures.C (getBabelOptions): New method.
12091 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * BufferView_pimpl.C (Dispatch): work around missing argument for
12096 2002-05-08 Juergen Vigna <jug@sad.it>
12098 * text.C (leftMargin): handle paragraph leftindent.
12100 * paragraph.C (writeFile): write the new \\leftindent tag.
12101 (validate): handle leftindent code.
12102 (TeXEnvironment): handle paragraphleftindent code again.
12104 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12106 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12107 for paragrap_extra indent code and new token \\leftindent.
12108 (latexParagraphs): handle the leftindent as environment.
12110 * ParameterStruct.h: added leftindent support.
12112 * ParagraphParameters.C (leftIndent): added support functions for
12113 the paragraph left indent.
12115 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12118 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12120 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12123 * text.C (computeBidiTables): No bidi in insetERT.
12125 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12128 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12130 * version.C.in: pre 5
12132 2002-05-02 José Matos <jamatos@fep.up.pt>
12133 * buffer.C (makeDocBookFile): white space changes, add newline to
12135 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12137 * tabular.C (docBook): fix typo.
12139 2002-05-03 Juergen Vigna <jug@sad.it>
12141 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12142 change in LyXText as we can not be sure it was not freed.
12143 (drawOneRow): remove unused code.
12145 * text.C (drawInset): redo the calculation of the need_break_row as
12146 it could have a row which was already freed.
12147 (draw): look at the return value of drawInset and return false if
12148 it also returned false.
12149 (paintRowText): look at the return value of draw and return false if
12150 it also returned false.
12152 * lyxtext.h: added bool return type to drawInset() and draw() so that
12153 if we have a change in the row so that the rowbreak has to be redone
12154 we abort drawing as it will be called again.
12156 2002-05-02 Juergen Vigna <jug@sad.it>
12158 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12159 a change in the maintext also if we're inside an inset.
12160 (Dispatch): set the cursor again after a break line and after the
12161 screen has been updated as it could be we're in a different row.
12163 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12164 to set the cursor behind the pargraph with > size().
12165 (setCursor): check also for the same paragraph when checking where
12166 to put the cursor if we have a NFR inset.
12168 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12169 parts of layout read further up as it still was in the wrong
12172 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12174 * screen.C (drawFromTo): change sine fullRebreak always return
12177 * buffer.C (parseSingleLyXformat2Token): reindent some
12179 * BufferView_pimpl.C (update): change since fullRebreak always
12181 (Dispatch): git rid of the last hardcoded "Standard"s.
12183 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * text2.[Ch] (fullRebreak): make it return void now that we always
12188 2002-04-30 Juergen Vigna <jug@sad.it>
12190 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12191 ert compatibility check for "latex" layout.
12193 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12195 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12196 minipages: use col% instead of p%, and also use the current font.
12197 (makeLaTeXFile): Fix use babel condition.
12198 (parseSingleLyXformat2Token): Correct font when reading old floats.
12200 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12202 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12203 inserting list of floats.
12205 2002-04-25 Herbert Voss <voss@lyx.org>
12207 * MenuBackend.C (expand): don't add the graphics extensions to the
12210 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12212 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12213 non-existing layout, do not complain if it was the default layout
12214 of the original class (bug #342)
12216 2002-04-24 Juergen Vigna <jug@sad.it>
12218 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12219 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12221 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12223 * buffer.C (getBibkeyList): If using \bibliography, return the
12224 option field with the reference itself. Enables us to provide natbib
12225 support when using \bibliography.
12227 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12229 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12231 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12232 natbib is provided by the LaTeX class.
12234 2002-04-23 Juergen Vigna <jug@sad.it>
12236 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12239 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12241 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12243 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12245 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12246 ensuremath around textordmasculine, textordfeminine and
12249 2002-04-19 Juergen Vigna <jug@sad.it>
12251 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12252 reinitializing the buffer otherwise row-dimensions may be wrong.
12253 (update): reset also the selection cursors if they do exits otherwise
12254 their x/y positions may be wrong.
12256 * text2.C (cursorDown): don't enter the inset if we came from a row
12257 above and are one row over the inset.
12259 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12260 really leaving an inset.
12262 2002-04-18 Juergen Vigna <jug@sad.it>
12264 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12265 of the selected paragraph does not have the selected layout also if
12268 * text2.C (setLayout): fixed bug which did not change last selected
12271 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12272 changed the read and substituted \\end_float with \\end_inset!
12274 * BufferView_pimpl.C (cursorPrevious):
12275 (cursorNext): fixed to make it work with rows heigher than the work
12276 area without moving the cursor only the draw of the row.
12277 (workAreaMotionNotify): fix jumping over high rows.
12279 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12281 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12284 2002-04-16 Juergen Vigna <jug@sad.it>
12286 * text2.C (setCursor): set also the irow().
12287 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12289 (cursorDown): support for locking an inset if the x_fix value goes
12290 inside it. That way I can transverse insets too with cursor up/down.
12292 * lyxrow.h: added irow helper function same as other (i) functions.
12294 * BufferView_pimpl.C (cursorPrevious):
12295 (cursorNext): fixed for insets!
12297 2002-04-15 Juergen Vigna <jug@sad.it>
12299 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12300 position otherwise it is wrong in some cases.
12302 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12303 inside the inset before the call.
12305 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12307 * buffer.[Ch] (getBibkeyList): make it const.
12309 2002-04-12 Juergen Vigna <jug@sad.it>
12311 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12313 * text2.C (getCursorX): new helper function
12314 (setCursor): compute also ix_
12315 (setCursorFromCoordinates): set also ix.
12317 * lyxcursor.h: added ix_ and helper functions.
12319 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12321 * buffer.C (insertStringAsLines): dont break paragraph if the this
12322 paragraph is inside an inset which does not permit it!
12324 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12325 also with no chars on this paragraph.
12326 (paintRowText): only paint stuff if it's inside the workarea!
12328 * paragraph.C (breakParagraph): honor keepempty flag and break the
12329 paragraph always below not above.
12331 * BufferView2.C (unlockInset): update the paragraph layout on inset
12332 unlock as we changed paragraph in such a case.
12334 * lyxfind.C (LyXFind): clear the former selection if not found!
12336 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12337 again called in insertChar().
12339 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12340 an inset which uses the whole row!
12341 (rightMargin): ditto.
12342 (insertChar): force a rebreak if we inserted an inset!
12344 2002-03-28 Herbert Voss <voss@lyx.org>
12346 * lyxlength.[Ch]: add inBP() to get the right PS-point
12347 units (BigPoint). With inPixels we have rounding errors
12349 2002-04-11 Juergen Vigna <jug@sad.it>
12351 * text2.C (setCursorFromCoordinates): set iy to the right value.
12352 (setCursor): add check if row->previous exists!
12354 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12355 an old float_type as this was the case in the old code!
12357 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12359 * BufferView2.C (showLockedInsetCursor): use iy
12360 (fitLockedInsetCursor): ditto
12362 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12363 locked insets as there we have the right value now.
12365 * lyxcursor.C: added iy_ variable and iy functions to set to the
12366 baseline of cursor-y of the locked inset.
12368 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12369 (setCursor): fixed for insets which need a full row.
12371 * text.C (rowLastPrintable): don't ignore the last space when before
12372 an inset which needs a full row.
12373 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12374 as last character of a row when before a inset which needs a full row.
12376 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12378 * version.C.in: update date
12380 * text2.C (fullRebreak): try to always return true and see what
12383 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12385 * MenuBackend.C (expand): use Floating::listName
12387 * FloatList.C (FloatList): add listName argument to the built-in
12390 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12391 text associated with the float.
12393 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12395 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12397 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12399 * ShareContainer.h: add a couple of missing typenames.
12401 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12403 * lyxrc.C (getDescription): use _() correctly rather than N_().
12405 2002-03-28 Herbert Voss <voss@lyx.org>
12407 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12408 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12410 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12412 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12413 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12415 2002-03-29 Juergen Vigna <jug@sad.it>
12417 * lyxfunc.C (dispatch): add a missing fitCursor call.
12419 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12420 it was scrolled by a cursor move, so return the bool status.
12422 * BufferView.C (fitCursor): return the bool flag also to the outside
12423 world as this is needed.
12425 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12427 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12428 call the edit() as it is not needed (and wrong) IMO.
12429 (workAreaButtonPress): set the screen_first variable before evt.
12430 unlock the inset as this may change screen_first and then we have
12431 a wrong y position for the click!
12433 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12435 * MenuBackend.C (expand): another translation that I missed
12437 2002-03-28 Juergen Vigna <jug@sad.it>
12439 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12441 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12443 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12445 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12447 * MenuBackend.C (expand): fix export/view/update when there is no
12450 2002-03-27 Herbert Voss <voss@lyx.org>
12452 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12455 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * bufferview_funcs.C (currentState): only show paragraph number
12458 for is DEVEL_VERSION is set.
12460 * lyxfunc.C (dispatch): put warning in INFO channel
12462 * MenuBackend.C (expand): translate the name of floats
12464 * FloatList.C (FloatList): mark the float names for translation
12466 * converter.C (convert): use LibScriptSearch
12468 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12470 * MenuBackend.C (defaults): fix default menu (we might as well get
12473 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12475 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12478 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12480 * lyxvc.C: reorder includes.
12482 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12484 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12487 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12489 * CutAndPaste.C: change layouts earlier on paste
12490 to avoid crashing when calling getFont()
12492 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12494 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12497 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12499 * WorkArea.C: remove 'Pending' debug message.
12501 * most files: ws cleanup
12503 * buffer.[Ch]: ws changes
12505 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12507 2002-03-21 Juergen Vigna <jug@sad.it>
12509 * tabular.C (SetMultiColumn): collapse also the contents of the
12510 cells and set the last border right. Added a Buffer const * param.
12512 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12514 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12517 2002-03-19 Juergen Vigna <jug@sad.it>
12519 * text2.C (clearSelection): reset also xsel_cache.
12521 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12522 where it needs to be called (John tells us to do so too :)
12523 (selectionLost): reset sel_cache.
12525 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12527 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12529 * text2.C (setCursorIntern): put debuging code in INSETS channel
12531 2002-03-19 André Pönitz <poenitz@gmx.net>
12533 * lyxfunc.C: tiny whitespace change
12535 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12537 * ToolbarDefaults.C (init):
12538 * LyXAction.C (init):
12540 * BufferView_pimpl.C (Dispatch):
12541 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12543 2002-03-19 Allan Rae <rae@lyx.org>
12545 * exporter.C (Export): removeAutoInsets before doing anything else.
12546 While I've just introduced a dependency on BufferView this really is
12547 the best place to clean the buffer otherwise you need to cleanup in
12548 a dozen places before calling export or cleanup in a dozen functions
12551 * converter.C (runLaTeX):
12552 (scanLog): Better handling of removeAutoInsets and screen updates.
12554 * lyxfunc.C (dispatch): small whitespace changes
12556 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12558 * WorkArea.C (C_WorkAreaEvent): return a value.
12559 (event_cb): return 1 if we handled the event, 0 otherwise.
12561 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12563 2002-03-18 Juergen Vigna <jug@sad.it>
12565 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12566 (GetAdditionalWidth): ditto.
12567 (RightLine): ditto.
12570 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12571 inset if we're there actually (probably not used right now but this
12572 is the direction to go for unifying code).
12573 (paste): disable code to clear the selection.
12575 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12576 inside an InsetText and move the check further up as it is in the
12579 * text2.C (pasteSelection): set a selection over the pasted text.
12581 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12583 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12584 and libgraphics to build on Cygwin.
12586 2002-03-15 Juergen Vigna <jug@sad.it>
12588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12589 inserting an Inset into the paragraph. I know this is not the best
12590 fix but we already use current_view in CutAndPaste so we will remove
12591 all of it's using at the same time.
12593 * buffer.C (sgmlError): deactivated function till it is rewritten in
12594 the right mode, now it can create problems.
12596 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12597 before accessing it.
12599 2002-03-14 Juergen Vigna <jug@sad.it>
12601 * undo_funcs.C (textHandleUndo): do the right thing when updating
12602 the inset after the undo/redo.
12604 * text2.C (setCursor): just some testcode for #44 not ready yet.
12606 * undo_funcs.C (textHandleUndo): set the next() and previous()
12607 pointers of the paragraph to 0 before deleting otherwise we have
12608 problems with the Paragraph::[destructor].
12610 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12611 on a paragraph insertion.
12613 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * buffer.C (asciiParagraph): use += operator for char append to
12618 * paragraph.C (getFontSettings): compare >= not just >
12619 (highestFontInRange): ditto
12622 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * paragraph.C: change several algorithm to be more appripriate for
12625 the problem domain. This is lookip in FontList and in the InsetList.
12627 2002-03-13 André Pönitz <poenitz@gmx.net>
12630 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12632 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12637 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12639 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12641 * Painter.C (display): anon helper function, adjust code for this
12643 (pixmap): remove function.
12645 * Painter.h: remove private display variable.
12647 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12649 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12651 * WorkArea.[Ch]: remove figinset_canvas cruft.
12653 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * lyxtextclass.C (operator): add one item cache optimization.
12657 * bufferlist.h: doxy changes
12659 * bufferlist.C: ws changes
12661 * DepTable.[Ch] (ext_exist): place const in the right spot.
12663 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12665 (workAreaExpose): call resizeInsets when the with BufferView changes.
12666 (Dispatch): adjust for protectedBlank removal
12667 (specialChar): call updateInset if the insert went ok.
12669 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12670 specialChar instead.
12672 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12674 * BufferView.h: doxy change
12676 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12678 * lyxtextclass.C (operator[]): remove non-const version
12679 (defaultLayout): remove non-const version
12681 2002-03-12 Juergen Vigna <jug@sad.it>
12683 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12684 did resize the LyXText too.
12686 * buffer.C (readLyXformat2): set layout information on newly allocated
12689 * tabular.C (OldFormatRead): set layout information on the paragraph.
12691 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12693 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12695 2002-03-11 Juergen Vigna <jug@sad.it>
12697 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12699 (resizeCurrentBuffer): force also the insets to resize themselfes.
12700 (moveCursorUpdate): fixed up for InsetText.
12702 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12705 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12706 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12707 value of Dialogs::tooltipsEnabled().
12708 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12710 2002-03-08 Juergen Vigna <jug@sad.it>
12712 * BufferView_pimpl.C (updateInset): update inset inside inset also
12713 if it isn't inside theLockingInset().
12715 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * buffer.C (asciiParagraph): redo some of the word and line length
12719 (getLists): look for Caption instead of caption.
12721 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * buffer.C (Buffer): initialize niceFile to true
12725 (makeLinuxDocFile):
12726 (makeDocBookFile): make sure niceFile is true on exit
12728 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12730 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12732 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12734 * LyXSendto.C: remove.
12735 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12736 * lyx_gui.C: remove now-redundant comment.
12737 * ColorHandler.h: remove forward declaration of class WorkArea.
12738 * lyxfunc.C: remove #include "WorkArea.h".
12740 2002-03-07 Juergen Vigna <jug@sad.it>
12742 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12743 got moved away with the DEPM and also set the inset_owner always
12744 right which before could have been omitted.
12746 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12749 wanted layout is not found.
12751 2002-03-07 Juergen Vigna <jug@sad.it>
12753 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12755 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * paragraph.C (breakParagraph): use default layout not layout of
12759 (Paragraph): clear ParagraphParameters.
12761 2002-03-06 Juergen Vigna <jug@sad.it>
12763 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12764 otherwise it would not be a valid lenght. Fixed a special case in
12765 the minipage compatibility read where we end the document with a
12768 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12769 was set as it could be 0 for InsetTexts first entry.
12771 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * paragraph.C (writeFile): if layout is empty write out
12774 defaultLayoutName().
12776 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12777 file without named layout we set layout to defaultLayoutName().
12779 2002-03-06 Juergen Vigna <jug@sad.it>
12781 * CutAndPaste.C (copySelection): set layout for new paragraph.
12783 * text.C (prepareToPrint): leave ERT inset left aligned
12784 (leftMargin): don't indent paragraphs inside ERT insets
12786 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * paragraph.C (breakParagraph): dont call clear do the work manually
12790 * paragraph.[Ch] (clear): remove function
12792 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * paragraph.C (Paragraph): dont call clear, the work has already
12797 * lyxtextclass.C (operator): assert if n is empty
12799 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12800 work manually instead.
12802 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12804 * BufferView_pimpl.C: protect selectionLost against text == 0
12806 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * text.C (breakParagraph): fix a setting layout to '0' problem.
12810 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12812 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12813 final location of file, for the included files, and graphics.
12815 2002-03-05 Juergen Vigna <jug@sad.it>
12817 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12819 2002-03-04 Juergen Vigna <jug@sad.it>
12821 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12823 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12824 last column of multicolumn cells.
12825 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12827 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12829 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12830 file if it doesn't go to a temporary file.
12832 * buffer.C (sgmlOpenTag):
12833 (sgmlCloseTag): remove extra newline insertion.
12835 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * text.C (getRowNearY): comment out debug msg
12839 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * text2.C: first -> first_y
12843 * text.C (getRowNearY): add some attemts at a possible
12844 optimization, not working.
12846 * tabular.[Ch]: add BufferParams to several function so that newly
12847 created paragraph can be initialized to he default layotu for the
12850 * tabular-old.C (ReadOld): add buf->params to call of Init
12852 * screen.C: rename text->first to text->first_y
12854 * paragraph.C (breakParagraph): always set layout in the broken
12857 * lyxtextclass.C (Read): remove lowercase
12860 (delete_layout): ditto
12862 * lyxtext.h: rename first -> first_y
12864 * lyxlayout.C (Read): remove lowercase
12867 (obsoleted_by): ditto
12869 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12871 * buffer.C (insertErtContents): add params are to InsetERT
12872 (parseSingleLyXformat2Token): add code to check if a paragraphs
12873 layout really exist.
12874 (parseSingleLyXformat2Token): add params to several inset
12876 (asciiParagraph): remove lowercase, do the layout comparisons with
12879 * BufferView_pimpl.C (cursorNext): first -> first_y
12880 (resizeCurrentBuffer): first -> first_y
12881 (updateScrollbar): first -> first_y
12882 (scrollCB): first -> first_y
12883 (workAreaMotionNotify): first -> first_y
12884 (workAreaButtonPress): first -> first_y
12885 (checkInsetHit): first -> first_y
12886 (cursorPrevious): first -> first_y
12887 (cursorNext): first -> first_y
12888 (Dispatch): add buffer_->params to severl inset contructors
12890 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * lyxlayout.C (Read): remove some debug info that I forgot.
12894 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12895 clean up the code slightly.
12896 (makeLinuxDocFile): ditto
12897 (makeDocBookFile): ditto
12899 * text2.C: layout as string
12901 * text.C: layout as string
12903 * paragraph_pimpl.C: layout as string
12905 * paragraph.[Ch]: layout as string
12907 * lyxtextclasslist.[Ch]: layout as string
12909 * lyxtextclass.[Ch]: layout as string
12911 * lyxtext.h: layout as string
12913 * lyxlayout.[Ch]: layout as string
12915 * lyx_cb.C: layout as string
12917 * bufferview_funcs.C: layout as string
12919 * bufferparams.C: layout as string
12921 * buffer.C: layout as string
12923 * LyXView.[Ch]: layout as string
12925 * LaTeXFeatures.[Ch]: layout as string
12927 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12929 * BufferView_pimpl.C: change current_layout to string, remove
12934 (workAreaButtonRelease): layout as string
12936 * BufferView2.C (unlockInset): adjust
12938 * vspace.C (asLatexCommand): use an explict temp variable.
12940 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12942 * Makefile.am: use FRONTEND_*
12944 2002-03-01 Juergen Vigna <jug@sad.it>
12946 * tabular.C (SetWidthOfMulticolCell): changed to something better
12947 I hope but still work in progress.
12948 (recalculateMulticolumnsOfColumn): renamed function from
12949 recalculateMulticolCells as it is more appropriate now.
12950 (SetWidthOfCell): calculate multicols better.
12952 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12954 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12956 * lyxfunc.C (processKeySym): print sequence also if it is
12957 `deleted' (complete)
12959 * kbsequence.C (print): print sequence even if it is deleted
12960 (complete would be a better word, actually).
12962 * lyxfunc.C (dispatch): print complete options after a prefix key
12964 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12966 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12968 * text2.C (setCharFont): eliminate setCharFont code duplication.
12970 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12972 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12973 LFUN_TABULAR_FEATURE (bug #177)
12975 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12977 * Makefile.am: remove figure.h
12979 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12981 * Bufferview_pimpl.C:
12993 * text2.C: remove #include "lyx_gui_misc.h".
12995 * LaTeX.C: added #include <cstdio>
12997 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12999 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13000 that the paragraph following this one can have.
13002 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13004 * vspace.C (asLatexCommand): fix bogus gcc warning
13006 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13008 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13010 * text2.C (setLayout): get rid of redundant code
13012 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13014 * text2.C (incDepth): make sure depth cannot be increased beyond
13017 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13019 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13020 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13022 * PainterBase.h (image):
13023 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13024 a LyXImage const *.
13026 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13030 * BufferView_pimpl.C:
13031 * BufferView_pimpl.h:
13051 * sp_spell.C: remove fig inset, and the crap house of
13052 cards that follows it
13054 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13059 * os2_errortable.h:
13060 * nt_defines.h: move .h into support/
13062 * vms_defines.h: remove
13064 * WorkArea.C: add space in debug output
13068 * buffer.C: add WITH_WARNINGS
13072 * bufferlist.C: s/retrive/retrieve/, add docs
13081 * chset.C: add docs
13083 * lyxgui.C: add ID to X error handler
13085 * lyxtestclass.c: fix typo
13087 2002-02-26 Juergen Vigna <jug@sad.it>
13089 * tabular_funcs.C (write_attribute): changed so that some default
13090 attributes are not written at all.
13091 (getTokenValue): set default values before trying to read the
13092 value so we have the return value always set as default if we don't
13093 find the token we search for.
13095 * tabular.C (Write): write bools as bools not as strings!
13097 2002-02-22 Juergen Vigna <jug@sad.it>
13099 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13100 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13102 * text.C (leftMargin): don't add an indent for paragraphs inside
13103 tabular cells (fix #208).
13105 2002-02-21 José Matos <jamatos@fep.up.pt>
13107 * tabular.C (docBook): fixed support for long tables.
13109 2002-02-20 Juergen Vigna <jug@sad.it>
13111 * text2.C (getFont): get the drawing font of the Inset if this
13112 paragraph is inside an inset (only important for InsetERT for now).
13114 * buffer.C (insertErtContents): use new lanugage params in ERT
13117 * CutAndPaste.C: commenting out seemingly uneeded code.
13119 2002-02-19 Allan Rae <rae@lyx.org>
13121 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13122 Iterators might be simple to use but they also get invalidated.
13123 (removeAutoInsets): renamed saved cursor tracking variables and added
13124 some comments to clarify what everything does.
13126 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13133 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13134 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13137 * vc-backend.h: remove #include "support/syscall.h"
13141 * converter.C: rearrange #includes in Lars' approved fashion.
13143 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13144 forward declare class Timeout in the header file.
13146 * XFormsView.C: changes due to the above.
13148 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13149 similar to LyXView.
13151 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13152 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13154 2002-02-18 José Matos <jamatos@fep.up.pt>
13156 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13159 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13161 * a lot of small ws changes
13162 * add a lot of using std::XXX
13163 * use std construcs some places where approp.
13164 * use some exisint stuff from lyxfunctional where approp.
13165 * Make file changes to use partial linking (lets test this now...)
13167 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13171 remove #include "support/syscontr.h" as it's redundant. Always has been.
13179 change Systemcalls::System to Systemcalls::Wait and
13180 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13181 No change of functionality, just reflects the stripped down Systemcalls
13184 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13186 * debug.[Ch]: add a GRAPHICS type to the enum.
13188 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13190 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13192 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13195 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13197 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13198 match the changes below.
13200 * text2.C (toggleInset): if there is not editable inset at cursor
13201 position, try to see if cursor is _inside_ a collapsable inset
13204 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13206 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13207 document menu has a nice checkbox
13209 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13211 * lyxlength.C (asLatexString): change PW to output as percent of
13214 * lengthcommon.C: change '%' to 't%'
13216 * lyxfunc.C (dispatch): a few comments from Martin
13218 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13222 * BufferView_pimpl.h:
13223 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13226 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13228 * vspace.C (inPixels): fix compiler warning
13230 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13232 * lyxfunc.C (getStatus): fix status message for disabled commands.
13234 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13236 * BufferView_pimpl.C: fix crash on close buffer
13237 during selection (#227)
13239 2002-01-27 Herbert Voss <voss@lyx.org>
13241 * buffer.C: link old Figure to new graphic inset
13243 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13245 * FontLoader.C (getFontinfo): Change the latex font names in order
13246 to match the names of type1inst.
13248 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13252 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13253 (extchanged): ditto
13255 (remove_files_with_extension): ditto
13256 (remove_file): ditto
13259 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13260 document is smaller than the work area height. Do not initialize
13261 static variables to 0.
13263 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13265 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13267 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13268 LFUN_LAYOUT_PARAGRAPHS.
13270 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13271 tabular. It is possible to provide a possible cell, which will
13272 typically be the actcell from the corresponding insettabular
13274 * lyxfunc.C (getStatus): small cleanup; disable
13275 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13278 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13280 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13282 * paragraph.C (startTeXParParams):
13283 (endTeXParParams): new methods. The LaTeX code to
13284 start/end paragraph formatting
13285 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13286 empty (fixes bug #200)
13288 * vspace.C (inPixels): adapt to the change below
13289 (inPixels): [later] more cleanups (remove unused variables)
13291 * lyxlength.C (inPixels): change to use a width and a height as
13294 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13296 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13297 Replaced with \paperwidth
13299 * DepTable.C (insert): add std:: qualifier
13301 2002-01-18 Allan Rae <rae@lyx.org>
13303 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13306 * text.C (drawInset): Turned out I didn't know enough about how
13307 rebreaking worked. This fixes most of the redraw problems. I see
13308 an occasional cursor trail when a line is broken now and the cursor
13309 placement can seem out by a few pixels also after a rebreak.
13311 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13313 * buffer.C (parseSingleLyXformat2Token): update because minipage
13314 width is now a LyXLength
13316 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13318 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13321 2002-01-17 Juergen Vigna <jug@sad.it>
13323 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13325 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13326 is set correctly and the inset is updated correctly.
13328 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13330 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13331 the beginning of the loop.
13333 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13335 * lyxrc.C: improve help for use_scalable_fonts
13337 2002-01-17 Allan Rae <rae@lyx.org>
13339 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13341 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13343 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13344 make sure to set their inset_owner to the right value (bug #171)
13346 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13349 * DepTable.C: Implement mtime checking to reduce time spent doing
13352 2002-01-16 Juergen Vigna <jug@sad.it>
13354 * tabular.C (GetAdditionalHeight): one of error fixed.
13356 * lyxrc.C (output): small fix in writing use_pspell.
13358 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13360 * sp_base.h: #include LString.h
13362 2002-01-16 Allan Rae <rae@lyx.org>
13364 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13365 Can someone check this please?
13367 * text.C (drawInset): It was possible that p.row would be removed by
13368 breakAgainOneRow upsetting a few other settings. There may be another
13369 small tweak possible by setting need_break_row = 0 when p.row has been
13370 removed but I don't know enough about the logic here.
13372 2002-01-15 Allan Rae <rae@lyx.org>
13374 * text.C (insertChar): removed conditional truism.
13376 * BufferView2.C (removeAutoInsets): More tweaks.
13377 cur_par_prev could be a stray pointer. Check for trailing empty line
13378 in case last line was cur_par and only had an error inset on it.
13380 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13382 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13385 * vc-backend.C (most methods):
13386 * exporter.C (Export):
13387 * converter.C (convert):
13389 * LyXSendto.C (SendtoApplyCB):
13390 * lyxfunc.C (dispatch):
13394 * lyx_cb.C (AutoSave):
13396 * BufferView_pimpl.C (MenuInsertLyXFile):
13397 * buffer.C (runChktex): use Buffer::filePath().
13399 * buffer.h: rename filename to filename_; rename filepath to
13400 filepath_ and make it private
13401 (filePath): new method
13403 * buffer.C (writeFile): use fileName()
13406 * lyx_main.C (init): fix starting of LyX when the binary is a
13407 link from so,ewhere else.
13409 * minibuffer.C: include <cctype> for isprint
13411 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13413 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13414 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13415 name clash with InsetCollapsable's width function.
13417 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13419 * lastfiles.C: include <iterator>
13421 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13423 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13426 * buffer.C (makeLaTeXFile): ditto.
13427 Also make loop operation more transparent.
13429 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13431 * ToolbarDefaults.C: remove trailing comma closing namespace.
13433 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13435 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13438 * trans.C (Load): comment out unused variable, allowed.
13440 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13442 * minibuffer.[Ch] (append_char): new method to recieve input from the
13443 drop-down completion browser. If a key was pressed, then recieve this
13444 char and append it to the existing string.
13445 (peek_event): modify the positioning data passed to the completion
13446 browser so that it can be placed above the minibuffer rather than below.
13447 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13449 * LyXAction.C (init): alloe error-next for readonly documents.
13451 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13454 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13456 * bufferlist.C (readFile): create the buffer _after_ checking that
13459 * lyxfunc.C (verboseDispatch): fix handling of arguments
13461 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13463 * lyxrc.C: use string::erase() instead of initializing to "".
13466 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13468 * BufferView_pimpl.h:
13469 * BufferView_pimpl.C:
13472 * text2.C: tell X when we have made a selection for copying
13474 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13476 * BufferView_pimpl.C (MenuInsertLyXFile):
13477 * lyxfunc.C (menuNew):
13479 (doImport): add shortcuts to directory buttons
13481 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13484 * lyxfunc.C (setStatusMessage):
13485 (getStatusMessage): new methods
13486 (getStatus):use setStatusMessage instead of setErrorMessage
13487 (dispatch): when function is disabled, set error message here
13488 [instead of in getStatus previously]
13490 * BufferView_pimpl.C (workAreaButtonRelease): update
13491 toolbar/menubar here too.
13493 2002-01-13 Allan Rae <rae@lyx.org>
13495 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13496 Now seems indestructible. Remaining task is to audit all other
13497 code affected by deleteEmptyParagraphMechanism. One small quirk
13498 left is that an empty document with an error in the preamble can
13499 be made to report an error but no error box appears. I don't know
13501 (removeAutoInsets): Improved comments.
13503 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13506 * Thesaurus.C: update for Aiksaurus 0.14
13508 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13510 * text2.C (firstParagraph): removed member function, all uses
13511 replaces with ownerParagraph
13512 (redoParagraphs): here
13513 (updateInset): here
13514 (toggleAppendix): here
13515 * BufferView2.C (insertErrors): here
13516 (setCursorFromRow): here
13518 2002-01-13 Allan Rae <rae@lyx.org>
13520 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13521 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13522 There is still a way to segfault this although you may have to do this
13523 multiple times: Have an InsetERT with an unknown command in it.
13524 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13525 <down-arrow>, <Enter> again, View->DVI, BANG!
13527 * text2.C (setCursor):
13528 (deleteEmptyParagraphMechanism):
13529 * lyxtext.h (setCursor):
13530 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13531 Making use of the return value may help fix other bugs.
13533 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13535 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13537 * LyXView.C (updateMenubar): call MenuBar::update here
13538 (updateToolbar): but not here
13539 (showState): do not update toolbar/menubar
13541 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13542 should need to care about that.
13544 * lyxfunc.C (verboseDispatch): simplify a bit
13545 (getStatus): have a version which takes a pseudoaction, and
13546 another which requires a (kb_action,string).
13548 * LyXAction.C (retrieveActionArg): make it work also when action
13549 is not a pseudo-action.
13550 (getActionName): simplify a bit
13553 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13555 * lyxfunc.C (verboseDispatch): new families of methods with
13556 several ways to specify a command and a bool to indicate whether
13557 the command name and shortcut should be displayed in minibuffer
13558 (eventually, we could extend that to a finer bitmask like
13559 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13560 (dispatch): the pristine dispatch command which just, well,
13561 dispatchs! Note it still sets its result to minibuffer; I'm not
13564 * lyxfunc.h: remove setHintMessage
13566 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13568 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13570 * BufferView_pimpl.C (specialChar): delete new inset if we have
13571 not been able to insert it.
13573 * kbmap.C: revert to using int instead of kb_action, since all we
13574 are dealing with is pseudo-actions.
13576 * LyXAction.C (searchActionArg): change to return int instead of
13577 kb_action, since the result is a pseudoaction.
13579 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13581 * buffer.C (insertErtContents): Fix (partially) the font bug.
13583 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13585 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13586 as the other one is broken on my machine!
13588 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13591 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13593 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13595 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13596 reflect their actual use. Provide compatibility code for older lyxrc
13599 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13601 change names of popup font variables in line with the changes to lyxrc.C
13603 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13605 * buffer.C (asciiParagraph): avoid outputing a word twice after
13608 * lyxrc.C (getDescription): document that document_path and
13609 template_path can be empty.
13611 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13613 * LaTeXFeatures.C (getMacros):
13614 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13616 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13618 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13620 (getPackages): rename feature "floats" to "float". Use an array to
13621 iterate over 'simple' features (i.e. just a \usepackage). Add
13622 handling of "amsmath" (renamed from "amsstyle").
13624 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13626 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13629 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13631 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13632 FuncStaus::FuncStatus & FuncStaus::some_method().
13634 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13636 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13637 of the func_satus stuff. Edited and massaged in various ways by
13640 * lyxfunc.C (getStatus): use FuncStatus
13642 2002-01-08 Juergen Vigna <jug@sad.it>
13644 * text.C (nextBreakPoint): use function Inset::isChar().
13646 * paragraph.C (TeXOnePar): use function
13647 Inset::forceDefaultParagraphs.
13649 * buffer.C (latexParagraphs): use function
13650 Inset::forceDefaultParagraphs.
13652 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13654 * lyx_gui.C (init): set the style of the menu popups to
13655 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13657 2002-01-07 Juergen Vigna <jug@sad.it>
13659 * text.C (setHeightOfRow): small fix
13660 (prepareToPrint): don't look at alignment if we don't have the place
13663 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13665 * box.C: New file. Move the Box methods and functions out of box.h,
13666 following Lars' suggestion.
13668 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13670 * box.h: #include "support/LOstream.h", needed for inlined function.
13673 * lyxtextclasslist.C: added some using std declarations.
13675 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13677 * box.h: make signed dimensions to allow insets wider than
13678 the screen (bug #162)
13680 * BufferView_pimpl.C: add some insetHit debug
13682 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13684 * vc-backend.C: add FIXME
13686 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13688 * lyxfunc.C (getStatus): enable code for showing math font status
13691 2002-01-07 Juergen Vigna <jug@sad.it>
13693 * text.C (nextBreakPoint): removed debug output not needed anymore.
13695 2002-01-06 Juergen Vigna <jug@sad.it>
13697 * text.C (nextBreakPoint): fixed up this function we had this bug
13698 since ever but now hopefully we break row better.
13699 (insertChar): we have to check if an inset is the next char as it
13700 could now happen that a large inset is causing a break.
13702 2002-01-05 Juergen Vigna <jug@sad.it>
13704 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13705 if it doesn't like to be drawed.
13707 2002-01-04 Juergen Vigna <jug@sad.it>
13709 * BufferView2.C (lockInset): forgot to set a cursor.
13711 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13713 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13715 * FormMathsPanel.C:
13718 * form_maths_panel.C:
13719 * form_maths_panel.h:
13720 * form_maths_panel.fd: implemented sub- and super- buttons in math
13723 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13724 (or ^ space) to be used as in TeX (req'd by André).
13726 * lyxfunc.C: Allow ^ and _ again to be used both as
13727 super/subscript (mathed) and as themselves (in text).
13729 2002-01-03 Allan Rae <rae@lyx.org>
13731 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13732 "LyX" or the filename of the current buffer if it has one. This is a
13733 modified form of John Levon's patch.
13735 * XFormsView.C (setWindowTitle): also set icon title.
13737 * LyXView.h (setWindowTitle): signature changed.
13738 * XFormsView.h (setWindowTitle): ditto.
13740 2002-01-02 Juergen Vigna <jug@sad.it>
13742 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13744 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * screen.C (topCursorVisible): introduce a temp var for
13747 text->cursor.row(), handle the case where this row is null. (kindo
13750 * text2.C (setCursor): add a couple of asserts.
13752 * paragraph.h (inset_iterator): add -> operator
13754 * paragraph.[Ch] (autoDeleteInsets): remove member function
13756 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13757 cursor pos correctly and handle inset deletion by itself.
13758 (insertErrors): move iterator declaration out of for expression
13760 * lyxtextclass.C: add <algorithm>
13762 * Makefile.am: added the new files to sources, removed layout.C
13764 * layout.C: removed file
13766 * layout.h: remove LYX_DUMMY_LAYOUT
13768 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13772 * lyxtextclass.[Ch]:
13773 * lyxtextclasslist.[Ch]: new files
13775 * include order changes to a lot of files, also changes because of
13778 2001-12-27 Juergen Vigna <jug@sad.it>
13780 * buffer.C (asciiParagraph): more fixes.
13782 * tabular.C (ascii): make ascii export support export of only the
13783 data separated by a column-delimiter.
13784 (ascii): better support for ascii export.
13786 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13788 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * tabular_funcs.C: use a "using std::getline" instead of the
13791 previous fix from Angus (necessary for cxx + lyxstring)
13793 2001-12-24 Juergen Vigna <jug@sad.it>
13795 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13797 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13798 problems. First check a minipage also if we have some ert-contents
13799 (not only on par->size(), second set the right depth of the paragraph
13800 on the relink to the root-paragraph-list!
13802 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13803 which then did not anymore update the main paragraphs on undo/redo!
13805 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13807 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13808 code. Support all font-changing funcs (even those which are not in
13809 menu currently). Support for reporting font settings in
13810 mathed (disabled until Andre provides a function on mathed's side).
13812 * func_status.h (toggle): small helper function to set toggle
13815 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13817 * tabular_funcs.C: getline -> std::getline
13819 2001-12-21 Juergen Vigna <jug@sad.it>
13821 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13822 accessed and could be 0 (I couldn't generate this but it seems
13825 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13828 * tabular_funcs.h: here and include iosfwd
13830 2001-12-20 Juergen Vigna <jug@sad.it>
13832 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13833 inside inset but undo_par was.
13835 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13837 * Thesaurus.C: always include <config.h> in sources.
13841 * box.h: do not include <config.h> in header files
13843 * text.C (paintLastRow): remove unused variable
13845 * text.C (transformChar):
13847 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13849 * Painter.C (text):
13850 * font.C (width): rewrite to use uppercase() instead of
13853 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13855 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13857 * lyxfind.C: clean up of find failure position change
13859 2001-12-20 Juergen Vigna <jug@sad.it>
13861 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13863 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13864 (TeXRow): added to LaTeX a single tabular row.
13865 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13866 (Latex): simplified and finally good LT-h/f support.
13867 (various_functions): just small adaptions for LT-h/f support.
13869 * tabular_funcs.[hC]: added and moved here all not classfunctions
13872 2001-12-19 Juergen Vigna <jug@sad.it>
13874 * tabular.[Ch]: better support for longtabular options (not finished
13877 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13879 * text.C (paintLastRow): use the label font instead of the font of
13880 the last character to compute the size of *_BOX. This makes more
13881 sense and avoids a crash with empty paragraphs.
13882 Use Painter::rectangle to draw EMPTY_BOX.
13884 2001-12-19 Juergen Vigna <jug@sad.it>
13886 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13887 the paragraphs if the replaced paragraph is not the first one!
13888 Tried to delete not used paragraphs but does not work yet so for
13889 now it's inside #ifdef's and by default off!
13891 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13893 * MenuBackend.C: include "lyx_main.h" instead of declaring
13894 lastfiles (actually was declared as LastFiles* instead of a
13897 2001-12-17 Juergen Vigna <jug@sad.it>
13899 * tabular.C (AppendColumn): applied John's fix
13901 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13905 * BufferView_pimpl.h:
13906 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13909 * box.h: new start of class for above
13911 * lyxfunc.C: ignore space-only minibuffer dispatches.
13912 Show the command name when it doesn't exist
13914 * minibuffer.C: don't add empty lines to the history
13916 * minibuffer.C: add a space on dropdown completion
13918 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13920 * text.C: fix line above/below drawing in insets
13922 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13924 * lyxlength.C (LyXLength): Initialize private variables.
13926 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13928 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13929 when inserting error insets.
13931 2001-12-13 Juergen Vigna <jug@sad.it>
13933 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13934 actually sometimes the before-paragraph.
13935 (setUndo): don't clear the redostack if we're not actually undoing!
13937 2001-12-06 Juergen Vigna <jug@sad.it>
13939 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13940 and fixed redoing of main paragraph, so we can use it now ;)
13942 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13944 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13946 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13949 2001-12-13 André Pönitz <poenitz@gmx.net>
13952 * undo_func.C: minor cleanup
13954 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13956 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13957 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13958 font in urw-fonts package which is marked as -urw-fontspecific and
13959 does not work (incidentally, changing the encoding in the
13960 fonts.dir of this package to -adobe-fontspecific fixes the
13963 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13964 is a crash when undoing first paragraph (Juergen, please take a
13965 look). THis does not mean the undo fix is wrong, just that it
13968 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13969 the (Paragraph*) version when needed instead of duplicating the
13972 * text.C (workWidth): use Inset::parOwner to find out where the
13973 inset has been inserted. This is a huge performance gain for large
13974 documents with lots of insets. If Inset::parOwner is not set, fall
13975 back on the brute force method
13977 * paragraph_pimpl.C (insertInset):
13978 * paragraph.C (Paragraph):
13979 (cutIntoMinibuffer): set parOwner of insets when
13980 inserting/removing them
13982 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13984 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13990 * mathed/formulabase.C:
13991 * mathed/math_cursor.[Ch]:
13992 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13995 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13997 * lyxlength.[Ch] (operator!=): new function
13999 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14001 * text.C (workWidth): use Inset::parOwner to find out where the
14002 inset has been inserted. This is a huge performance gain for large
14003 documents with lots of insets. If Inset::parOwner is not set, fall
14004 back on the brute force method
14006 * paragraph_pimpl.C (insertInset):
14007 * paragraph.C (Paragraph):
14008 (cutIntoMinibuffer): set parOwner of insets when
14009 inserting/removing them
14011 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14013 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14015 * tabular-old.C (getTokenValue):
14016 * tabular.C (getTokenValue):
14017 (write_attribute): new versions for LyXLength
14018 (everywhere): adjust the use of widths
14020 * tabular.h: change the type of widths from string to LyXLength
14022 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14024 * paragraph.C: fixed missing line number count when exporting
14025 Environments to LaTeX file
14027 * buffer.C: added informational message for checking line numbers.
14029 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14031 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14032 paragraph, do the 'double space' part, but not the 'empty
14035 * text.C (workWidth): small optimization
14036 (getLengthMarkerHeight): use minimal size for negative lengths.
14038 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14040 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14042 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14044 2001-12-11 André Pönitz <poenitz@gmx.net>
14047 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14049 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14051 * text2.C: keep selection on a setFont()
14053 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14055 * lyx_cb.C: another bv->text misuse, from insert label
14057 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14060 * kbsequence.C: re-instate nmodifier mask
14062 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14064 * lyx_main.h: make lyxGUI private.
14066 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14068 * lyxfind.C: place the cursor correctly on failed search
14070 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14072 * text.C (getLengthMarkerHeight): for small heights, the arrows
14073 are not always on top/bottom of the text
14074 (drawLengthMarker): smaller arrows; take the left margin in
14075 account; draw also vfills.
14077 (paintLastRow): remove special code for vfill and standard spaces,
14078 since everything is handled in drawLengthMarker now.
14080 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * buffer.C (insertErtContents): try to handle font and language
14083 interaction a bit better.g
14085 * ColorHandler.C (updateColor): change the hash to cover the whole
14086 LColor enum, ws cleanup
14087 (getGCLinepars): ditto
14088 (getGCLinepars): only lookup in the linecache once.
14090 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14092 * iterators.C (operator++): Make the iterator more robust
14094 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14101 * text.C: better added space drawing
14103 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14106 * BufferView2.C: fix layout combo update on inset unlock
14108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14110 * Makefile.am: don't compile unused files
14112 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14116 * LyXAction.C: remove old LFUN_LAYOUTNO
14118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14120 * paragraph_pimpl.h:
14121 * paragraph_pimpl.C: isTextAt() doesn't need font param
14123 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14126 * lyxlex.C: little cleanup
14128 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14130 * BufferView_pimpl.C: fix insertAscii for insets
14132 2001-12-05 Juergen Vigna <jug@sad.it>
14134 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14135 set the right font on the "multi" paragraph paste!
14137 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14143 * lyxlength.C: remove out-commented code.
14145 * BufferView_pimpl:
14159 * vc-backend.C: change "while(" to "while ("
14161 * lyxlength.[Ch]: add zero function to check if length is zero or
14163 * lyxgluelength.C: use it
14165 2001-12-05 Allan Rae <rae@lyx.org>
14167 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14168 Works for 2.95.3, from what I understand of Garst's reports this should
14169 work for other g++ versions. We're screwed if the abs(int) definition
14170 changed between bugfix releases of gcc.
14172 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14174 * text.C: fix chapter label offset !
14176 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14179 * text.C: fix hfill at end of line, clean up
14181 2001-12-04 Juergen Vigna <jug@sad.it>
14183 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14184 that we force an update of the inset and it's owners if neccessary.
14186 2001-12-03 Juergen Vigna <jug@sad.it>
14188 * text.C (rowLast): simplified code
14190 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14192 * lyxfunc.C: fix show options on timeout
14194 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14196 * screen.C (topCursorVisible): scroll half a page when the cursor
14197 reached top of bottom of screen
14199 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14201 * minibuffer.C: deactivate on loss of focus
14203 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14205 * vspace.[Ch] (operator!=): add operator.
14207 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14209 * BufferView_pimpl.C: refuse to open an inset when
14210 there's a selection.
14212 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14214 * BufferView_pimpl.C: allow to click on RHS of full row insets
14216 2001-11-30 Juergen Vigna <jug@sad.it>
14218 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14219 insets for undo reasons.
14221 2001-11-28 André Pönitz <poenitz@gmx.net>
14223 * vspace.[Ch]: cosmetical changes
14225 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14235 * kbsequence.C: part re-write of old kb code
14238 * WorkArea.C: remove Lgb_bug_find_hack
14240 2001-11-30 José Matos <jamatos@fep.up.pt>
14242 * buffer.C (makeDocBookFile): add a comment to point a hack.
14243 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14244 Fixed a double write of labels.
14246 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14249 * LaTeX.h Fixed bug in LaTeX class where it would not
14250 re-run latex if no depfiles were changed, but the .dvi was removed.
14252 2001-11-28 André Pönitz <poenitz@gmx.net>
14254 * all the files from the change on 2001/11/26:
14255 use lyx::layout_type instead of LyXTextClass::size_type
14256 use lyx::textclass_type instead of LyXTextClassList::size_type
14258 2001-11-29 Juergen Vigna <jug@sad.it>
14260 * text.C: added support for paragraph::isFreeSpacing()
14262 * buffer.C: same as above
14264 * paragraph.h: inserted isFreeSpacing() function to enable
14265 FreeSpacing inside InsetERT.
14267 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14268 of the paragraph's in the cut/copy buffer to 0!
14270 * text2.C (removeRow): remove the assert as it can!
14272 * lyxtext.h: added helper function firstRow returning firstrow and
14273 made firstrow private again.
14275 * BufferView2.C (lockInset): don't relock if we're already locked!
14277 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14278 the only paragraph.
14279 (removeRow): added Assert::(firstrow)
14281 * debug.C: forgot to add INSETTEXT here.
14283 2001-11-28 Juergen Vigna <jug@sad.it>
14285 * sp_spell.C (initialize): changed error text to more general
14286 spellchecker command use (not only ispell!)
14288 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14290 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14292 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14294 * vspace.C: initialise lyxgluelength on failure
14296 2001-11-28 Allan Rae <rae@lyx.org>
14298 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14299 declaration & definition that looks like a function declaration.
14301 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * BufferView2.C (copy):
14304 (copyEnvironment): do not clear the selection when doing a copy.
14306 * text.C (paintFirstRow): compilation fix
14308 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14310 * tabular.C (Latex): correct line count when writing latex.
14312 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14314 * paragraph_pimpl.h:
14315 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14318 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14322 * LColor.C: change vfillline->added_space
14324 * text.C: add markers and text for added space
14326 * vspace.C: fix comment
14328 2001-11-28 André Pönitz <poenitz@gmx.net>
14330 * paragraph.C: whitespace changes
14331 * all the other files from the change on 2001/11/26:
14332 change *::pos_type into lyx::pos_type
14334 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14336 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14337 language of the document when inserting error insets.
14339 2001-11-26 André Pönitz <poenitz@gmx.net>
14341 * BufferView_pimpl.[Ch]:
14349 * paragraph_pimpl.[Ch]:
14352 * text2.C: reduce header dependencies, introduce type for positions
14354 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14356 * <various>: change to use Alert.h
14358 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14360 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14361 when encountering an unknown token.
14362 (readLyXformat2): Show an error message if there were unknown tokens.
14364 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14367 * BufferView_pimpl.C:
14371 * text2.C: use par->isInset()
14373 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14375 * paragraph_pimpl.h:
14376 * paragraph_pimpl.C: cleanup
14378 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14380 * text2.C (removeRow):
14381 * text.C (setHeightOfRow): remove useless (and costly) call to
14384 2001-11-20 Allan Rae <rae@lyx.org>
14386 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14387 Now need Inset*::checkInsertChar() to return true for appropriate
14388 cases so that the characters in the minibuffer will actually be
14391 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14393 * text.C: change the order of the includes.
14394 (workWidth): initialize it at once.
14395 (workWidth): make maxw unsigned
14396 (setHeightOfRow): remove unused variable (inset)
14397 (selectSelectedWord): remove unused variable (inset)
14398 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14400 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14402 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14403 server is not running.
14405 (closeConnection): add debug info when server is disabled.
14407 * ColorHandler.C (getGCForeground): send debug message to GUI
14410 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14412 * kbmap.C (bind): modify because return conventions of
14413 kb_sequence::parse have changed.
14415 * kbsequence.C (parse): only ignore spaces and not any stupid
14416 control character. This avoids tests like s[i] <= ' ', which are
14417 guaranteed to fail with 8bit characters and signed chars.
14418 Change return code to string::npos when there have been no error
14419 (0 was a bad idea when error is at first character)
14421 2001-11-14 José Matos <jamatos@fep.up.pt>
14424 * buffer.C (simpleDocBookOnePar): removed unused argument.
14426 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14428 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14429 insets which are part of a word. Paragraph::isLetter takes care of
14430 that now. Use Paragraph::isInset to identify insets.
14431 (selectSelectedWord): do not test for hyphenation break.
14433 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14434 that protected spaces are considered as spaces.
14436 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14439 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14442 * lyxserver.C: fix it. and small cleanup.
14444 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14446 * BufferView_pimpl.C: use inline helpers
14449 * LaTeXFeatures.C: fix typos
14452 * Spacing.C: move spacing_string into class
14454 * ToolbarDefaults.C: move stuff into namespace anon
14456 * layout.h: update enum
14458 * lyxfunc.C: use better debug
14460 * minibuffer.h: fix typo
14464 * WorkArea.C: add and use Debug::WORKAREA
14468 * text2.C: code re-organisation, inline helpers
14470 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14472 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14473 std::vector.empty().
14475 2001-11-09 Allan Rae <rae@lyx.org>
14477 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14478 '\n's after tables. Tabular and ERT inset work now makes this no
14481 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14484 * minibuffer.C: fix crash, improve drop-down completion
14486 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14489 * lyxserver.C: invalidate fd's when doing endPipe()
14491 2001-11-08 José Matos <jamatos@fep.up.pt>
14493 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14494 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14497 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14499 2001-11-07 José Matos <jamatos@fep.up.pt>
14502 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14505 * buffer.C (sgmlOpenTag):
14506 * buffer.C (sgmlCloseTag): removed debug info.
14508 * buffer.h (sgmlOpenTag):
14509 * buffer.h (sgmlCloseTag): made public.
14511 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14513 * buffer.C (saveParamsAsDefaults):
14514 * lyx_cb.C (MenuLayoutSave): remove
14516 * LyXAction.C (init):
14518 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14520 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14522 * buffer.C (setPaperStuff): removed from here...
14524 * bufferparams.C (setPaperStuff): ... and moved there.
14526 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14530 * XFormsView.C: add support for drop-down completion
14532 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14534 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14537 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14539 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14542 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14544 * lyx_main.C: change ref to known bugs
14546 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14548 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14549 to work around older babel problems.
14551 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14553 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14555 2001-10-24 Juergen Vigna <jug@sad.it>
14557 * tabular-old.C (ReadOld): below variable changes reflected.
14559 * tabular.[Ch]: added ltType struct for longtable header/footer
14560 defines and changed all instances where they are used. Added
14561 future support for double top/bottom rows.
14563 2001-10-24 José Matos <jamatos@fep.up.pt>
14565 * buffer.h (docbookHandleCaption):
14566 * buffer.C (docbookHandleCaption): removed unused function.
14567 (makeDocBookFile): moved docbook supported version to v4.1.
14569 2001-10-24 José Matos <jamatos@fep.up.pt>
14572 * tabular.C (docbookRow): new function to export docbook code of a row.
14573 (DocBook): now honors the longtable flags.
14575 2001-10-23 José Matos <jamatos@fep.up.pt>
14578 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14579 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14581 * buffer.C (makeLinuxDocFile):
14582 (makeDocBookFile): reworked the preamble, more clean, and with
14583 support for lyx defined entities. Changed the document declaration
14584 to be more XML friendly.
14586 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14587 if we need to output XML that should be done with a filter.
14589 2001-10-22 Juergen Vigna <jug@sad.it>
14591 * sp_pspell.h (class PSpell): add alive function needed in the
14592 controller to see if the spellchecker could be started.
14594 2001-10-22 Juergen Vigna <jug@sad.it>
14596 * buffer.C (insertStringAsLines): modify the font for inserting
14597 chars in certain conditions by calling checkInsertChar(font).
14599 2001-10-19 Juergen Vigna <jug@sad.it>
14601 * text.C (workWidth): use getRow instead of wrong algorithm.
14602 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14604 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14609 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14611 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14613 * text.C (workWidth): do not search for the exact row when
14614 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14615 optimization for big documents.
14617 2001-10-18 Juergen Vigna <jug@sad.it>
14619 * text.C (workWidth): new function with added Inset * parameter.
14621 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14623 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14625 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14626 change return type of getColumnNearX.
14629 * text.C (changeRegionCase): use uppercase/lowercase instead of
14632 (rightMargin): simplify code by factoring out the uses of
14637 (appendParagraph): use Paragraph::size_type
14639 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * vspace.C (asLatexString): add a missing break
14643 2001-10-15 Herbert Voss <voss@perce.de>
14645 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14647 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14652 2001-10-10 André Pönitz <poenitz@gmx.net>
14654 * lyxfunc.C: removed greek_kb_flag.
14656 2001-10-10 Herbert Voss <voss@perce.de>
14658 * lyx_main.C: delete global string help_lyxdir.
14660 2001-10-09 Herbert Voss <voss@perce.de>
14662 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14664 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14666 * lyx_main.C: added global string help_lyxdir.
14668 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14670 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14672 * lyxrc.C (set_font_norm_type): support iso8859-4
14674 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14676 * LaTeX.C (deplog): add another regex for MikTeX
14678 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14680 * lyxrc.C (set_font_norm_type): support iso8859-3
14682 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14684 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14686 * LaTeXFeatures.C: remove special case of french and index
14688 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14689 before \begin{document}). This solves several incompatibilities.
14691 2001-10-03 Garst Reese <reese@isn.net>
14693 * lyx_cb.C: change CheckTex error msg.
14695 2001-10-03 José Matos <jamatos@fep.up.pt>
14697 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14699 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * .cvsignore: update
14703 * lyx_main.C (commandLineVersionInfo): use new style version info.
14705 * buffer.C (writeFile):
14707 (makeLinuxDocFile):
14708 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14710 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14712 * version.h: update to use stuff in version.C
14714 * version.C.in: new file. Contains version information determined
14715 at compile time. This is a merging of version.h and
14718 2001-10-03 Juergen Vigna <jug@sad.it>
14720 * BufferView_pimpl.C (update): don't change "dirty" status in
14723 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14725 * WorkArea.C (c-tor): re-position version string slightly.
14727 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14729 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14730 revert to previous code.
14732 WorkArea.[Ch]: (show, destroySplash): methods removed.
14734 WorkArea.C: rework code so that it's an amalgam of the codes before and
14735 after the splash screen was moved to WorkArea.
14737 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14740 * vspace.C (inPixels):
14743 * buffer.C (insertStringAsLines):
14744 (asciiParagraph): fix types to be large enough
14746 * lyxlex_pimpl.h: change member status from short to int
14748 * layout.h: fix type of endlabeltype
14751 * kbsequence.C (parse): change return type to string::size_type
14753 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14756 * Bullet.C (bulletSize):
14757 (bulletEntry): do not use short ints as parameters
14759 * BufferView2.C (insertLyXFile): change a char to an int.
14761 * WorkArea.C (WorkArea): remove unneeded floats in computation
14763 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14765 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14767 * paragraph.C (asString): Do not ignore newline/hfill chars when
14768 copying to the clipboard.
14770 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14772 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14773 after a multi-line inset.
14775 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14777 * paragraph.C (validate): Set NeedLyXFootnoteCode
14779 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14781 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14782 and decrease-error to decrease.
14784 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14787 it more readable (should be equivalent)
14789 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14791 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14793 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14795 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14796 of a cursor (row, etc.) after a character has been deleted
14797 (deleteEmptyParagraphMechanism): call the method above on _all_
14798 cursors held by the LyXText when a double space has been
14801 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14803 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14805 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14807 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14808 background. Use greyOut() and the new show() methods to toggle between
14809 the foreground and background. Add code to remove the splash after
14810 its initial showing.
14812 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14813 (create_forms): no longer call Dialogs::showSplash.
14815 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * .cvsignore: add version_info.h
14819 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14821 * version_info.h.in: new file
14823 * Makefile.am: add version_info.h.in
14825 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14826 version_info.h instead of VERSION_INFO
14828 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14830 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14831 The ERT inset now returns string().
14833 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14835 * lyxtext.h, text.C (selectNextWord): renamed as
14836 selectNextWordToSpellcheck.
14838 * text.C (selectNextWordToSpellcheck): Modified to not select
14839 words inside an ERT inset.
14841 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14843 * lyx_cb.C (MenuLayoutSave): change a bit the question
14845 * sp_base.h: include <sys/types.h>
14847 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14849 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14851 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14853 * several files: fix typos in user-visible strings
14855 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14857 * text2.C (pasteSelection): do not set the selection, since it
14858 will be cleared later. Actually, the intent was to fix the way the
14859 selection was set, but I figured rmoving the code was just as good.
14861 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14863 * FontLoader.C (available): Check if font is available without
14866 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14868 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14870 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14872 * lyxrc.[Ch]: added display_graphics variable and associated code.
14874 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * bufferparams.C (hasClassDefaults): new method. Returns true if
14877 the buffer parameters correspond to known class defaults
14879 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14881 * XFormsView.C (show): set minimum size to the main window.
14883 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14885 * text2.C (copySelection):
14887 * lyxfind.C (LyXReplace):
14888 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14889 LyXText::selectionAsString.
14891 * paragraph.C (asString): add "label" argument to the second form
14893 * text2.C (selectionAsString): add "label" argument and pass it to
14894 Paragraph::asString.
14896 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14898 * lyx_main.C (commandLineHelp): remove version information
14900 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14902 * lyx_main.C: add -version commandline option
14904 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * paragraph.h: make the optional constructor arg required instead.
14907 some modifications to other files because of this.
14909 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14911 * lyxserver.C (C_LyXComm_callback): make it static
14913 * lyx_main.C (error_handler): make it static
14915 * lyx_gui.C (LyX_XErrHandler): make it static
14917 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14919 * WorkArea.C: make the extern "C" methods static.
14921 * Makefile.am (lyx_LDADD): simplify
14923 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14925 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14926 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14928 * LyXAction.C (init):
14929 * lyxfunc.C (dispatch): associated code removal.
14931 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14933 * lyxfont.h (isSymbolFont): shut off warning
14935 * text.C (setHeightOfRow):
14936 (getVisibleRow): fix crash with empty paragraphs which have a
14939 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14941 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14944 2001-09-04 José Matos <jamatos@fep.up.pt>
14947 * tabular.C (docbook): rename docBook method to docbook.
14949 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14951 * Makefile.am: add dependencies to main.o.
14953 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14955 * FontLoader.C (available): Return false if !lyxrc.use_gui
14957 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14959 * FontInfo.C (query):
14960 * converter.C (view):
14961 * importer.C (Import):
14962 * exporter.C (Export): Can not -> cannot.
14964 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14966 * BufferView_pimpl.C: allow to create index inset even if
14969 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14971 * buffer.C (getLists): replace boost::tie code with an explicit pair
14972 as boost::tie can break some compilers.
14974 * iterators.h: Added a std:: declaration to the return type of
14977 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14979 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14982 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14984 * iterators.[Ch]: New files. Provide paragraph iterators.
14986 * buffer.C (changeLanguage): Use paragraph iterators.
14987 (isMultiLingual): ditto
14989 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14991 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14993 * FontLoader.C: Support for cmr font.
14995 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14997 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14998 (available): New method.
15000 * FontInfo.C (getFontname): Use scalable fonts even when
15001 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15004 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15006 * converter.C (Formats::view): reverted! Incorrect fix.
15008 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15010 * converter.C (Formats::view): only output the -paper option
15011 if the dvi viewer is xdvi, thereby fixing bug #233429.
15013 2001-08-23 Herbert Voss <voss@perce>
15015 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15017 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15019 * Spacing.h (Spacing): Set space to Default on in the default
15022 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15024 * vc-backend.h (RCS::versionString): add RCS to version
15025 (CVS::versionString): add CVS to version
15027 * vc-backend.C (scanMaster): do not add CVS to version.
15028 (scanMaster): do not add RCS to version
15030 * lyxvc.C (versionString): new method
15032 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15034 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * Spacing.C (set): initialize fval
15038 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15040 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15043 2001-08-16 Juergen Vigna <jug@sad.it>
15045 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15047 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15049 * BufferView_pimpl.C:
15052 * text2.C: setParagraph takes linespacing now
15054 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15056 * LyxAction.C: add internal LFUN_CITATION_INSERT
15058 * LyXView.C: actually apply fix
15060 * bufferlist.C: fix open non-existent file
15062 * lyxfind.C: fix indentation
15064 * lyxfunc.C: remove unneeded assert, fix typo
15066 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15068 * MenuBackend.C: use "Floatname List"
15070 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15072 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15073 when converting LaTeX layout to insetERT.
15074 Generate a non-collapsed float when reading old float
15076 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15078 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15081 2001-08-13 Juergen Vigna <jug@sad.it>
15083 * text.C (fill): return 0 instead of 20 as this seems to be the more
15086 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15088 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15091 2001-08-13 Juergen Vigna <jug@sad.it>
15093 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15095 (SearchBackward): comment out the unlocking of the inset_owner this
15096 should not be needed!
15098 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15100 * Many files: Remove inherit_language, and add latex_language
15102 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15103 collapsible insets.
15105 2001-08-10 Juergen Vigna <jug@sad.it>
15107 * text.C (prepareToPrint): fixed hfill-width in draw!
15109 * BufferView2.C (selectLastWord): save the selection cursor as this
15110 now is cleared in the function LyXText::clearSelection!
15112 2001-08-08 Juergen Vigna <jug@sad.it>
15114 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15115 BACKSPACE type functions.
15117 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15118 is only cutted from the document but not put in the cut-buffer, where
15119 still the old stuff should be.
15121 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15123 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15125 * tabular.C (SetWidthOfCell): fixed special case where the width
15127 (LeftLine): handle '|' in align_special.
15129 (LeftAlreadyDrawed): ditto
15130 (SetWidthOfCell): ditto
15132 2001-08-07 Juergen Vigna <jug@sad.it>
15134 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15136 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15138 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15139 * lyxlex.[hC]: ditto
15141 2001-08-06 Juergen Vigna <jug@sad.it>
15143 * text.C (getVisibleRow): fix up row clearing a bit.
15145 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * minibuffer.C: make sure the X server sees the changes in the input.
15149 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15151 * paragraph.C (getFont): split into...
15152 (getLabelFont): this
15153 (getLayoutFont): and this
15154 * paragraph_pimpl.C (realizeFont): calling this
15156 * text2.C (getFont): split into...
15157 (getLayoutFont): this
15158 (getLabelFont): and this
15159 (realizeFont): all three calling this
15161 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15164 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15166 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15168 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15170 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15171 layouts from the Quote inset insertion.
15173 2001-08-03 Juergen Vigna <jug@sad.it>
15175 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15177 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15178 only if status not is already CHANGED_IN_DRAW (second level).
15180 * text.C (draw): don't set the need_break_row when inside an
15183 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15185 * buffer.C (parseSingleLyXformat2Token): handle more latex
15188 * bufferview_funcs.[hC]: change function names to
15189 begin with small char, adjust other files.
15191 2001-08-02 André Pönitz <poenitz@gmx.net>
15194 BufferView_pimpl.C: remove broken special code for math-greek
15196 2001-08-02 Juergen Vigna <jug@sad.it>
15198 * BufferView_pimpl.C (update): redone this function so that we
15199 update the text again if there was a CHANGE_IN_DRAW.
15201 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15202 (drawFromTo): added a new internal bool which is used by draw() and
15204 (general): some cursor drawing problems fixed.
15206 2001-08-01 Juergen Vigna <jug@sad.it>
15208 * lyxfind.C (LyXFind): fixed
15209 (SearchForward): ditto
15210 (SearchBackward): ditto
15212 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15213 spurius drawing of the cursor in the main area.
15215 * text2.C (status): small fix which could lead to a segfault!
15216 (clearSelection): remove unneeded BufferView param.
15218 2001-08-01 André Pönitz <poenitz@gmx.net>
15220 * lyxfunc.C: small change due to changed mathed interface
15222 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15224 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15226 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15228 * lyxfunc.c: fail gracefully if file doesn't exist
15233 * BufferView_pimpl.C: IsDirWriteable() proto changed
15235 * LyXView.C: fix updateWindowTitle() to store the last title
15237 2001-07-31 Juergen Vigna <jug@sad.it>
15239 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15240 the font (wrong since using of Paragraph::highestFontInRange).
15242 * paragraph.C (highestFontInRange): added a default_size parameter.
15244 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15245 (setHeightOfRow): reformat
15247 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15249 * converter.[hC] + affected files: move to (inital-char)lowercase
15252 * ParagraphParameters.C (ParagraphParameters): remove commented code
15254 * PainterBase.[Ch]: remove commented code
15256 * LaTeXFeatures.h: add "bool floats" for float.sty
15258 * LaTeXFeatures.C (LaTeXFeatures): init floats
15259 (require): handle float
15260 (getPackages): do it with floats
15262 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * BufferView_pimpl.C (Dispatch): improve handling of
15265 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15267 * commandtags.h: #include lyxfont.h here temporarily to avoid
15270 * bufferlist.h: include LString.h here.
15272 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * text2.C (getStringToIndex): new method.
15276 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15278 * *: Reduced header file dependencies all over.
15280 2001-07-30 Baruch Even <baruch@lyx.org>
15282 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15284 2001-07-29 Baruch Even <baruch@lyx.org>
15286 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15288 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15290 * ParameterStruct.h (endif): add a default constructor to make
15291 sure that all variables is initialized.
15293 * ParagraphParameters.C (ParagraphParameters): adjust
15295 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15298 index; also, check that there is something to index, and that it
15299 does not span over several paragraphs.
15300 (doubleClick): use WHOLE_WORD_STRICT for double click.
15302 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15304 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15307 2001-07-26 Baruch Even <baruch@lyx.org>
15309 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15310 an InsetFig figure, backwards compatible reading of old figure code.
15312 2001-07-27 Juergen Vigna <jug@sad.it>
15314 * text2.C: font.realize function adaption.
15316 * text.C (draw): add a warnings lyxerr text if needed.
15318 * layout.C: font.realize function adaption.
15320 * language.C: add inherit_language and implement it's handlings
15322 * bufferview_funcs.C (StyleReset): remove language parameter from
15323 font creation (should be language_inherit now).
15325 * bufferparams.C (writeFile): handle ignore_language.
15327 * paragraph.C (getFontSettings): the language has to be resolved
15328 otherwise we have problems in LyXFont!
15330 * lyxfont.C (lyxWriteChanges): added document_language parameter
15331 (update): removed unneeded language parameter
15333 * paragraph.C (validate): fixed wrong output of color-package when
15334 using interface colors for certain fonts in certain environments,
15335 which should not seen as that on the final output.
15337 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15339 * BufferView_pimpl.C:
15344 * LyXAction.C: add thesaurus support
15347 * lyxfind.C: add "once" parameter, for thesaurus, to not
15348 move to the next match
15350 2001-07-26 Juergen Vigna <jug@sad.it>
15352 * lyxfont.C (realize): honor ignore_language too!
15355 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15357 * text.C (draw): one place more for ignore_language to not draw
15360 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15362 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15364 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15366 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15367 the minipage conversion problem.
15369 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15374 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15376 * BufferView.h: don't forward declare WorkArea
15378 * BufferView.C: don't include WorkArea.h
15380 2001-07-25 André Pönitz <poenitz@gmx.net>
15384 * lyxfunc.C: new LFUN 'math-space'
15386 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15388 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15390 * text2.C (toggleInset): call open/close
15392 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * lyxfunc.C (dispatch): add debug for the disabled case
15396 * font.C (buttonText): make similar to rectText
15398 * buffer.C (readInset): comment out parsing of insetlist and
15401 * PainterBase.C (rectText): small correction
15403 * BufferView_pimpl.C: comment out insettheorem and insetlist
15404 * LyXAction.C: ditto
15405 * commandtags.h: ditto
15407 2001-07-24 Juergen Vigna <jug@sad.it>
15409 * text.C (draw): honor the ignore_language.
15411 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15413 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15418 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15420 * lyxtext.h: remove unused (and unimplemented) methods
15422 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15424 * text.C (getVisibleRow): honor background color
15427 * Painter.h: remove default color argument for fillRectangle
15429 * text.C (backgroundColor): new method
15431 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15433 * text.C (getVisibleRow): adjust
15435 * font.[Ch] (rectText): new method, metrics
15436 (buttonText): new method, metrics
15438 * PainterBase.[hC]: make rectText and buttonText always draw and take
15441 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15443 * ToolbarDefaults.C (read):
15444 * MenuBackend.C (read): allow escaping in all strings
15446 * BufferView_pimpl.C (insertAndEditInset): new method.
15447 (Dispatch): use insertAndEditInset whenever appropriate.
15449 * BufferView_pimpl.C (insertNote): removed
15451 * BufferView_pimpl.C (smartQuote): new method, moved from
15452 BufferView; if an insetquote cannot be inserted, insert a '"'
15455 * BufferView2.C: remove insertCorrectQuote();
15457 * lyxfunc.C (getStatus): Add support for all remaingin
15458 inset-insert lfuns.
15460 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15462 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15463 command (necessary to pass " as parameter of self-insert.
15465 * text.C (selectWordWhenUnderCursor):
15466 (selectWord): add word_location parameter
15467 (selectWordWhenUnderCursor): same + remove special code for word
15469 (selectNextWord): use kind() to guess type of insetspecialchar,
15472 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15473 (insertErtContents): create ert insets as collapsed.
15474 (readInset): better compatibility code for Info inset.
15476 2001-07-20 Juergen Vigna <jug@sad.it>
15478 * lyxfunc.C (dispatch): use always LyXFind now!
15480 * text2.C (init): add a reinit flag so that the LyXText can be
15481 reinited instead of deleted and reallocated (used in InsetText).
15483 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15489 2001-07-18 Juergen Vigna <jug@sad.it>
15491 * text.C (selectNextWord): handle insets inside inset by calling
15492 always the bv->text functions so that we can go up the_locking_inset!
15494 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15495 in strange locations when inside an inset!
15497 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15498 handling to include insets.
15500 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15502 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15504 * LyXAction.C (init):
15506 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15507 LIGATURE_BREAK, since the name is so stupid.
15509 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15511 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15514 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15516 * sp_form.[Ch]: remove.
15518 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15520 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15523 * src/buffer.C (readInset): ditto.
15525 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15527 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15528 menuSeparator(), endOfSentenceDot(), ldots() and
15529 hyphenationPoint(), which are therefore removed.
15530 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15532 * LyXAction.C (init):
15533 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15535 * paragraph.C (getWord): removed.
15537 * BufferView_pimpl.C (Dispatch): use last word or selection for
15538 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15540 * lyx_main.C (queryUserLyXDir): do not ask before creating
15541 user_dir, except if it has been named explicitely.
15543 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15545 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15546 a document of zero size.
15548 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15550 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15551 approriately in the c-tor and in require().
15552 (getPackages): output the appropriate LaTeX for natbib support.
15554 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15555 variables "use_natbib" and "use_numerical_citations" when reading the
15557 (readInset): read the various natbib cite commands.
15558 (validate): white-space change.
15560 * bufferparams.[Ch]: new variables "bool use_natbib" and
15561 "bool use_numerical_citations".
15562 (writeFile): output them in the LyX file.
15564 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15566 * lyxfunc.C (getStatus): add support for all the inset insertion
15569 * text2.C (insertInset):
15570 * paragraph.C (insetAllowed):
15571 * BufferView_pimpl.C (insertInset): update to take in account the
15572 renaming of insertInsetAllowed
15574 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15576 * text2.C (getInset): new method. returns inset at cursor position.
15578 * BufferView_pimpl.C (Dispatch): changes because of this.
15580 * LyXAction.C (init): rename open-stuff to inset-toggle.
15582 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15584 * text2.C (toggleInset): renamed from openStuff; use
15587 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15589 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15591 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15593 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15595 * buffer.C (readLyXformat2): Add filename to the error dialog
15597 2001-07-18 Juergen Vigna <jug@sad.it>
15599 * tabular.C (GetCellNumber): put an assert here instead of the check!
15601 2001-07-17 Juergen Vigna <jug@sad.it>
15603 * BufferView_pimpl.C (toggleSelection): adapted too.
15605 * text.C (selectNextWord): adapted for use with insets.
15606 (selectSelectedWord): ditto
15608 2001-07-17 Juergen Vigna <jug@sad.it>
15610 * sp_spell.C (PSpell): fix initialitation order.
15612 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15614 * paragraph.C: spacing
15616 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15618 * sp_spell.C: repair language selection for pspell
15620 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15622 * lyxfunc.h: change more methods to begin with lower char.
15624 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15626 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15627 for unknown layouts.
15629 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15631 * buffer.C (readLyXformat2): Generate an error dialog if there are
15634 2001-07-16 Juergen Vigna <jug@sad.it>
15636 * sp_spell.C: always compile ISpell part.
15638 * lyxrc.C: added use_pspell entry and it's handling.
15640 2001-07-13 Juergen Vigna <jug@sad.it>
15642 * sp_spell.C: removed double includes.
15644 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15646 Consistent use of Lsstream.h:
15647 * Lsstream.h: added using std::stringstream for consistencies sake.
15649 * buffer.C: removed using std::stringstream
15651 * lyxfont.C (stateText):
15652 * paragraph.C (asString):
15653 * text.C (selectNextWord, selectSelectedWord):
15654 * text2.C (setCounter):
15655 * vspace.C (asString, asLatexString):
15656 std::ostringstream -> ostringstream.
15658 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15660 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15661 * commandtags.h: add LFUN_HELP_ABOUTLYX
15662 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15664 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15666 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15668 * lyx_gui_misc.C: remove spellchecker
15669 * lyxfunc.C: showSpellchecker
15671 * sp_ispell.h: added
15672 * sp_pspell.h: added
15673 * sp_spell.C: added
15674 * sp_form.[Ch]: removed
15675 * spellchecker.[Ch]: removed
15677 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15679 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15681 (simpleTeXSpecialChars): Simply print the input character without
15682 any special translation if pass_thru is set.
15684 * layout.h: Added bool pass_thru to layout class for being able to
15685 implement pass through of a paragraph for Literate Programming.
15687 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15688 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15689 * layout.C (Read): add "passthru" to list of layout tags and add
15690 code to set the pass_thru boolean when it is read.
15692 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15694 * trans_decl.h: remove allowed from KmodInfo
15696 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15697 remove allowed code
15700 * paragraph_pimpl.C (erase): use boost::prior
15702 * Painter.C (text): use data() instead of c_str() when length is
15704 * WorkArea.C (putClipboard): ditto
15705 * font.h (width): ditto
15707 * BufferView2.C: use it-> instead of (*it). for iterators
15709 * paragraph_pimpl.C: ditto
15710 * paragraph.C: ditto
15711 * minibuffer.C: ditto
15712 * language.C: ditto
15714 * encoding.C: ditto
15715 * counters.C: ditto
15716 * converter.C: ditto
15718 * Variables.C: ditto
15719 * TextCache.C: ditto
15720 * MenuBackend.C: ditto
15721 * LyXAction.C: ditto
15723 * FloatList.C: ditto
15724 * DepTable.C: ditto
15725 * ColorHandler.C (LyXColorHandler): ditto
15727 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15731 * text2.C (openStuff): reintroduce this method (which had been
15732 nuked in NEW_INSETS frenzy).
15734 * lyxfunc.C (Dispatch): when an action has not been handled, use
15735 its name in the error message, not its number.
15737 * paragraph.C (inInset): change method name to begin with lowercase.
15740 * text2.C: updates because of this.
15742 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15744 * ToolbarDefaults.C (add): add spaces in error message
15746 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15748 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15749 (readLyXformat2): rename return_par to first_par, use lyxlex's
15750 pushToken and remove the manual push handling.
15751 (parseSingleLyXformat2Token): add another ert comp. variable:
15752 in_tabular, rename return_par to first_par. handle newlines better
15754 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15756 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15758 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15760 * text2.C (getParFromID): removed
15762 * buffer.C (getParFromID): new method moved form lyxtext.
15763 * BufferView2.C (insertErrors): adjust
15764 (setCursorFromRow): adjust
15765 * BufferView_pimpl.C (restorePosition): adjust
15766 * lyxfunc.C (Dispatch): adjust
15767 * undo_funcs.C (textUndo): adjust
15769 (textHandleUndo): adjust
15770 (textHandleUndo): adjust
15772 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15774 * buffer.C: up' the LYX_FORMAT
15776 * lyxfont.h: turn NO_LATEX on as default
15778 * buffer.C (insertErtContents): new methods of tex style compability.
15779 (parseSingleLyXformat2Token): use it several places.
15780 * tabular.C (OldFormatRead): and here
15782 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15784 * text2.C: remove some commented code.
15787 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15788 * trans.C: changes because of the above.
15790 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15792 * text2.C (setCounter): Fix counters bug with bibliography layout.
15794 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15796 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15797 own member functions
15798 (simpleTeXSpecialChars): ditto
15800 2001-07-06 Juergen Vigna <jug@sad.it>
15802 * a lot of files: changed the access to LyXText::status and the
15803 call of undo-functions.
15805 * undo.[Ch]: added a inset_id to the undo informations.
15807 * undo_funcs.[Ch]: added and moved here all undo functions.
15809 * lyxtext.h: give the status enum a weight, made status_ a private
15810 variable and made accessor functions for it, removed the whole bunch
15811 of undo-functions as they are now in their own file, make some
15812 functions publically available. Added function ownerParagraph with
15815 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15816 made InInset() a const function, added getParFromID() function.
15818 * buffer.[Ch]: added const version for inset_iterator functions,
15819 added getInsetFromID() function.
15821 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15822 changed undo functions for new version.
15824 2001-07-05 Juergen Vigna <jug@sad.it>
15826 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15827 unknow mechanism does not call the proper constructor but only this
15828 one also if I request the other!?
15830 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15832 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15834 * text2.C (LyXText): use initialization lists.
15836 * lyxtext.h (Selection): initialize set_ and mark_
15837 (init): remove method
15839 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15841 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15843 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15845 * screen.[Ch]: change method names to begin with lowercase
15847 * BufferView_pimpl.C (updateScrollbar): simplify further and
15848 hopefully make it a bit faster.
15850 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15852 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15853 calling directly xforms functions.
15855 * Painter.C (Painter):
15856 * lyx_cb.C (MenuWrite):
15857 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15860 * lyx_gui.C: remove bogus guiruntime extern declaration.
15862 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15866 (redoDrawingOfParagraph): ditto
15867 (redoParagraphs): ditto
15868 (cutSelection): don't create a object for CutAndPaste use the
15869 static method directly
15870 (pasteSelection): ditto
15872 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15875 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15877 * modifications to some other files because of this.
15879 * Makefile.am (lyx_SOURCES): add XFormsView
15881 * XFormsView.[Ch]: new files
15883 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15884 the main window. Move the gui dependent stuff to XFormsView
15886 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15888 * tabular.C (GetCellInset): update cur_cell also in the row/col
15889 version of this function.
15891 * lyxfunc.C: no need to include figure_form.h here.
15897 * lyxvc.C: no need to include forms.h here.
15899 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15901 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15903 * lyxfunc.C (Dispatch):
15905 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15906 constructor argument.
15908 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15910 * paragraph.C (Paragraph): dont't clear, and just set layout.
15911 (makeSameLayout): use params's copy contructor.
15913 * ParagraphParameters.[Ch] (makeSame): delete method
15915 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15917 * Variables.[Ch]: fix indentation, rename set to isSet
15919 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15921 * lyxfunc.C (Dispatch): fix typo
15923 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15925 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15928 * bufferlist.C: include assert.h for emergencyWrite().
15930 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15932 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15933 give up at last (bug #425202) !
15935 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15941 * spellchecker.C: strip spellchecker options and bring up
15942 preferences tab instead
15944 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15946 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15947 the istringstream constructor
15949 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15951 * paragraph.C (getLayout): fix return value
15953 * paragraph.h: do not declare getLayout as inline.
15955 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15957 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15959 * lyxcursor.h (operator<): new func
15960 (operator>): new func
15961 (operator>=): new func
15962 (operator<=): new func
15964 * text.C (changeCase): use selection.start and selection.end
15965 (changeRegionCase): require from to be <= to. Require par to be a
15968 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15970 2001-06-27 Juergen Vigna <jug@sad.it>
15972 * text.C (cursorLeftOneWord): changed to return the cursor and added
15973 overlay with BufferView * parameter which calls this one.
15975 (selectWord): use new getWord function.
15976 (changeCase): renamed from changeWordCase as and extended to work
15977 also on selections.
15979 * lyxtext.h: added enum word_location
15981 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15982 changeCase as this operates now also on selections.
15984 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15986 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15988 * many files: send debug output to Debug::INFO instead of
15991 * converter.C (View):
15993 (Move): send debug output to Debug::FILES instead of console.
15995 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15997 * lyxfunc.C (getStatus): use func_status
15999 * func_status.h: new header, describing the results of
16000 LyXFunc::getStatus;
16002 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16005 2001-06-25 The LyX Project <jug@sad.it>
16007 * buffer.C (sgmlOpenTag):
16009 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16011 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16013 * text2.C: remove some dead code
16015 * tabular.C (GetCellInset): store the last cell checked (gotten)
16017 * tabular.h: add the helper for the speedup
16019 * lyxtext.h: remove some dead code
16021 2001-06-26 The LyX Project <Asger>
16023 * paragraph.C: Change export to LaTeX of alignment to
16024 \begin{center} and family for better roundtrip work with reLyX.
16026 * Tune the math drawing a bit.
16028 2001-06-25 The LyX Project <Asger>
16030 * LColor.C (LColor): New color for math background. New color
16033 2001-06-25 The LyX Project <jug@sad.it>
16035 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16037 * lyxfunc.C (Open):
16038 * bufferlist.C (newFile): do not restrict to files ending with
16041 * BufferView_pimpl.C (MenuInsertLyXFile):
16043 2001-06-24 The LyX Project <jug@sad.it>
16045 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16048 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16050 * lyxtext.h: rename most methods to begin with a small char.
16051 Lots of changes because of this.
16053 * paragraph.C (Paragraph): do not call fitToSize
16054 (erase): call Pimpl::erase
16055 (insertChar): call Pimpl::insertChar
16056 (insertInset): call Pipl::insertInset
16057 (breakParagraph): do not call fitToSize
16058 (breakParagraphConservative): do not call fitToSize
16059 (fitToSize): remove method
16061 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16063 2001-06-24 The LyX Project <Asger>
16065 * Fix Qt compilation^2
16067 2001-06-24 The LyX Project <jug@sad.it>
16069 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16070 depthHook(getDepth()-1).
16073 * ParagraphParameters.h:
16074 * ParameterStruct.h: change type of depth to unsigned int ==
16075 depth_type. Many adaptations to other files before of that.
16077 2001-06-24 The LyX Project <Asger>
16079 * Fix Qt compilation.
16081 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16083 * paragraph.h: renamed several methods to begin with small letter.
16084 several changes to many parts of the code because of this.
16086 2001-06-23 The LyX Project <jug@sad.it>
16088 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16089 rewritten to discard all double spaces when KeepEmpty is off
16090 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16091 to only handle newlines but not fiddle with spaces and friends.
16093 * lyxfunc.C (MenuNew): when doing 'new from template', use
16094 template_path as default directory
16096 2001-06-23 The LyX Project <Asger>
16098 * Clean-up of header file includes all over
16099 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16101 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16103 * paragraph.h: renamed from lyxparagraph.h
16105 2001-06-23 Asger <lyx@violet.home.sad.it>
16107 * Buffer.h: Removed Buffer::resize
16108 * BufferList.h: Removed BufferList::resize
16109 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16110 the document lazily when we change the width, or the font settings.
16112 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16114 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16116 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16118 * buffer.h: remove out of date comment
16120 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16123 * screen.C: fix "theoretical" GC leak
16125 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16127 * LaTeX.C (scanAuxFile):
16128 (deplog): remove trailing \r when reading stream (useful under
16131 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16133 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16134 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16135 and BufferView::theLockingInset(Inset*), so should use them and not
16136 access bv_->text->the_locking_inset directly.
16138 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16140 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16143 * tex-defs.h: remove old unused file
16145 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16147 * BufferView_pimpl.C: fix typo, remove minibuffer message
16148 when buffer has loaded
16150 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16152 * lyxfunc.C (Dispatch): use stringstream
16153 (MenuNew): use stringstream
16154 (Open): use stringstream
16156 * importer.C (Import): use stringstream
16158 * bufferview_funcs.C (CurrentState): use stringstream
16160 * LaTeX.C (run): use stringstream
16162 * BufferView_pimpl.C (savePosition): use stringstream
16163 (restorePosition): use stringstream
16164 (MenuInsertLyXFile): use stringstream
16166 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16179 * vspace.C: removed // -*- C++ -*- as first line.
16182 * version.h: added // -*- C++ -*- as first line.
16184 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16186 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16188 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16191 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16193 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16196 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16198 * gettext.C: include LString.h even when --disable-nls is on.
16200 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16202 * converter.h (Get): changed argument type from int to
16203 FormatList::size_type to avoid unnecessary conversion.
16205 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16208 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16210 * gettext.h: include LString.h even when --disable-nls is on.
16212 2001-06-07 Juergen Vigna <jug@sad.it>
16214 * text.C (BreakAgain): subst spaces with tabs.
16216 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16217 (resizeInsetsLyXText): set force on resizeLyXText.
16219 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16221 * gettext.h (gettext_init):
16222 (locale_init): use a real definition instead of a macro
16224 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16226 * Bufferview_pimpl.C:
16228 * LColor.C: further lcolor tidies
16230 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16232 * BufferView_pimpl.C (updateScrollbar): simplify.
16234 * BufferView2.C: don't include insets/insetinfo.h, change
16235 prototype for insertInset and call the Pimpl version. let
16236 updateInset call Pimpl version.
16238 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16239 gotoInset to BufferView::Pimpl
16241 2001-06-01 Juergen Vigna <jug@sad.it>
16243 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16244 inside a LockingInset (is the update needed at all?).
16246 2001-05-31 Juergen Vigna <jug@sad.it>
16248 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16249 here not the old one otherwise how should we compare it afterwards
16252 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16257 * FontInfo.C: bring C functions into global namespace when
16260 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16262 * LString.h: make sure config.h has been loaded before LString.h.
16264 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16265 (one for each char read by EatLine!).
16267 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16270 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16272 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16273 to the same as the par we break from
16275 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16277 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16279 * MenuBackend.C (expand): also create menu entries for wide
16280 versions of the floats.
16282 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16284 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16286 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16287 frontends/Makefile.am
16293 * tabular.C (getTokenValue): add std::
16295 * tabular-old.C (getTokenValue): add std::
16296 (getTokenValue): ditto
16297 (getTokenValue): ditto
16299 * screen.C (ToggleSelection): adjust
16301 * lyxtext.h: put selection cursors inside a Selection struct.
16303 * lyxfunc.C (moveCursorUpdate): adjust
16305 * lyxfont.C (latexWriteStartChanges): add std::
16307 * lyxfind.C: adjust
16309 * font.h: delete with(char const *, LyXFont const &)
16311 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16313 * FontInfo.C (getFontname): add std::
16315 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16316 (workAreaButtonPress): adjust
16317 (tripleClick): adjust
16319 (moveCursorUpdate): adjust
16322 * BufferView2.C (gotoInset): adjust
16324 2001-05-30 Juergen Vigna <jug@sad.it>
16326 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16327 to check pspell I add this as default as I now have new pspell
16328 libraries and they seem to use this.
16330 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16332 * text2.C (CutSelection): make the cursor valid before the call to
16335 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16337 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16338 relied on 0 terminated strings and other horrors. Bug found due to
16339 the new assert in lyxstring!
16341 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16344 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16346 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16349 * lyxfunc.C (processKeySym): change method of getting to the
16352 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16353 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16354 * BufferView_pimpl.[Ch]: here as private methods.
16356 2001-05-28 Juergen Vigna <jug@sad.it>
16358 * text.C (SetHeightOfRow): added the update() call again as it is
16359 needed to initialize inset dimensions!
16361 2001-05-16 Juergen Vigna <jug@sad.it>
16363 * text2.C (SetCharFont): Add new function with BufferView * and
16364 bool toggleall parameters for setting insets internal fonts.
16365 (SetFont): Freeze the undo as we may change fonts in Insets and
16366 all this change should be inside only one Undo!
16368 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16369 setting font's in insets as for them we have the SetFont function!
16371 2001-05-15 Juergen Vigna <jug@sad.it>
16373 * text2.C (ClearSelection): to be sure we REALLY don't have any
16376 * tabular.C (TeXCellPreamble): fixed the left border problem for
16379 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16381 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16384 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16386 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16387 LFUN_BREAKPARAGRAPH.
16389 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16390 help test to "internal only", similar for LFUN_INSERT_URL
16392 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16393 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16394 auto_region_delete and deadkeys.
16396 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16399 * LColor.C: remove some dead entries, tidy a little
16401 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16403 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16405 (Dispatch): implement LFUN_ESCAPE
16407 * commandtags.h: add LFUN_ESCAPE
16409 * LyXAction.C (init): add entry for LFUN_ESCAPE
16411 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16412 Remove commented code.
16413 (insertNote): moved here
16414 (open_new_inset): moved here
16416 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16419 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16421 * kbmap.C (findbinding): clean it up and make it work correctly.
16423 * lyx_main.C (init): do not pass argc and argv as parameters
16425 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16427 * buffer.C: fix path for OS/2 & Win32
16431 * lyx_main.C: Added os:: class.
16433 * os2_defines.h: update
16435 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16437 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16438 better by trying again with reduced state.
16440 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16442 * lyxrc.C (read): print error about invalid key sequence only when
16443 debugging (because not all latinX keysyms are known to some X
16446 * kbsequence.C (getiso): add a few std:: qualifiers
16447 (getiso): comment out extra return statement.
16449 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16451 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16453 (Dispatch): enhance the accent inset a bit. (not perfect)
16455 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16457 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16459 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16461 * bufferlist.C (emergencyWrite): fix assert() call
16463 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16465 * text.C (InsertChar): Added trivial patch to only send the "you
16466 can not do multiple spaces this way" message once during a
16469 2001-05-08 Baruch Even <baruch@lyx.org>
16471 * Makefile.am: Changed order of libraries to get LyX to link properly
16472 with the gnome frontend.
16474 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16476 * LaTeXFeatures.h: add a std:: qualifier
16478 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * paragraph.C (String): use stringstream
16482 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16484 * paragraph.C (writeFile): remove footflag arg
16486 * buffer.C (makeLaTeXFile): use stringstream
16487 (latexParagraphs): remove footnot gurba
16489 * LaTeXFeatures.C (getPackages): use stringstream
16490 (getMacros): likewise
16491 (getTClassPreamble): likewise
16492 (getFloatDefinitions): new method
16494 * paragraph.C (writeFile): reindent
16497 * WorkArea.h: revert the xpos + etc changes.
16499 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16501 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16503 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16504 (pasteSelection): likewise
16505 * text2.C (CreateUndo): likewise
16507 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16509 * minibuffer.C (peek_event): temporarily reduce the functionality
16510 of the minibuffer (to allow args on lfuns)
16512 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16513 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16515 * buffer.C (readInset): add compability reading of old float
16516 lists, add reading of new style float list.
16517 (readInset): avoid reevaluation of inscmd.getCmdName()
16518 (getLists): reindent
16520 * MenuBackend.C (MenuItem): implement parsing of
16521 md_floatlistinsert and md_floatinsert.
16522 (expand::LastFiles): move initalizaton of iterators out of loop,
16523 avoid reevaluation.
16524 (expand::Documents): introduce typdedef vector<string> Strings,
16526 (expand::ExportFormats): introduce typedef vector<Format const *>
16527 Formats, and use it.
16528 (expand): implement FloatListInsert and FloatInsert.
16530 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16531 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16532 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16534 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16536 (Dispatch::LFUN_FLOAT_LIST): implement
16538 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16540 * LaTeX.C (run): Fix problem with --export code.
16542 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16544 * BufferView.[Ch] (workarea): removed.
16545 (getClipboard) new method; wrapper for workarea()->getClipboard()
16547 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16550 * WorkArea.h (width, height, xpos, ypos): These methods all
16551 returned the dimensions of the work_area sub-area of WorkArea,
16552 resulting in a position error if the WorkArea were resized. Now
16553 return the dimensions of the entire WorkArea.
16555 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16557 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16559 * LaTeX.C (deplog): correct the syntax of regex reg1
16561 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16563 * undo.C: remove !NEW_INSETS cruft
16565 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16567 * text2.C: remove !NEW_INSETS cruft
16569 * text.C: remove !NEW_INSETS cruft
16571 * tabular.C: remove !NEW_INSETS cruft
16573 * spellchecker.C: remove !NEW_INSETS cruft
16575 * lyxtext.h: remove !NEW_INSETS cruft
16577 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16579 * lyxfunc.C: remove !NEW_INSETS cruft
16581 * lyxfind.C: remove !NEW_INSETS cruft
16583 * lyx_cb.C: remove !NEW_INSETS cruft
16585 * figureForm.C: remove !NEW_INSETS cruft
16587 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16589 * buffer.[Ch]: remove !NEW_INSETS cruft
16591 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16593 * CutAndPaste.C: remove !NEW_INSETS cruft
16595 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16597 * BufferView2.C: remove !NEW_INSETS cruft
16599 * BufferView.h: remove !NEW_INSETS cruft
16601 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16603 * Lsstream.h: include LString.h before the sstream headers to
16604 fix problem with gcc 2.95.3 and lyxstring
16606 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16608 * lyx_main.C: add using directives when needed for C functions
16609 declared in std:: namespace.
16611 2001-04-27 Juergen Vigna <jug@sad.it>
16613 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16614 (SetHeightOfRow): comment out the update call should not be needed!
16616 2001-04-13 Juergen Vigna <jug@sad.it>
16618 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16619 (LyXTabular): tried to minimize operator= operations (and realized
16620 hopfully Lars wish).
16622 2001-04-27 Juergen Vigna <jug@sad.it>
16624 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16626 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16630 * buffer.C (readInset): hack to make listof algorithm work
16632 * BufferView_pimpl.C: hack to make listof algorithm work
16634 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16636 * LyXAction.C: removed all !NEW_INSETS cruft
16637 (init): moved lfun_item in method
16639 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16641 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16643 * BufferView2.C (theLockingInset): white space.
16645 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * minibuffer.C: include <iostream>
16649 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16651 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16653 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16655 * text.[Ch] (TransposeChars): new method
16657 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16659 * call message directly through LyXView instead of through LyXFunc
16660 * BufferView2.C: adjust
16661 * BufferView_pimpl.C: adjust
16662 * FontLoader.C: adjust
16664 * bufferview_funcs.C: adjust
16665 * converter.C: adjust
16666 * figureForm.C: adjust
16667 * importer.C: adjust
16669 * lyx_gui_misc.C: adjust
16670 * lyxfunc.C: adjust
16673 + more files in subdirs
16675 * lyxparagraph.h (size): move up int file
16678 * adjust all uses of Assert to lyx::Assert.
16680 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16681 lyxfunctional in namespace lyx
16682 * layout.C (hasLayout): ditto
16685 (delete_layout): ditto
16686 (NumberOfClass): ditto
16687 * converter.C (GetFormat): ditto
16692 * bufferlist.C (getFileNames): ditto
16693 (emergencyWriteAll): ditto
16696 * MenuBackend.C (hasSubmenu): ditto
16699 * BufferView_pimpl.C (getInsetByCode): ditto
16701 2001-04-18 Juergen Vigna <jug@sad.it>
16703 * vspace.C (asLatexString): fixed the 100% problem.
16705 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * lyxfunc.C (Dispatch):
16709 * minibuffer.h: add a few std:: qualifiers
16711 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16713 * minibuffer.[Ch]: reimplement so that commands is initiated and
16714 run from lyxfunc, simplified som handling, and made the completion
16715 and history code for complete. wip.
16717 * lyxfunc.C (processKeySym): call message
16718 (miniDispatch): new temporary method
16719 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16720 (LFUN_MESSAGE): implement
16721 (LFUN_MESSAGE_PUSH): implement
16722 (LFUN_MESSAGE_POP): implement
16723 (initMiniBuffer): the initial/defualt minibuffer message.
16725 * lyxfont.[Ch]: inline some more getters
16727 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16729 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16731 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16732 (AutoSave): use LFUN_MESSAGE
16733 (Reconfigure): ditto
16735 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16737 * figureForm.C: use LFUN_MESSAGE
16739 * converter.C (runLaTeX): use LFUN_MESSAGE
16741 * bufferview_funcs.C: use LFUN_MESSAGE
16743 (changeDepth): ditto
16745 * bufferparams.h: use boost::
16747 * bufferlist.h: inherit privately from noncopyable
16749 * bufferlist.C (loadLyXFile): remove some commented code.
16751 * buffer.C (runChktex): use LFUN_MESSAGE
16753 * ShareContainer.h: inherit privately from noncopyable
16755 * ParagraphParameters.[hC] (depth): inline it.
16757 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16759 (message): new method
16760 (messagePush): ditto
16761 (messagePop): ditto
16762 (show): init minibuffer
16763 (showState): direct call
16765 * LaTeX.[Ch]: inherit privately from noncopyable
16766 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16767 instead of WriteStatus.
16769 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16771 * BufferView_pimpl.C (buffer): don't init minibuffer
16772 (workAreaButtonPress): use LFUN_MESSAGE
16773 (workAreaButtonRelease): ditto
16774 (savePosition): ditto
16775 (restorePosition): ditto
16776 (MenuInsertLyXFile): ditto
16777 (workAreaExpose): don't init minibuffer
16778 (update): remove commented code, simplify
16780 * BufferView2.C (openStuff): use LFUN_MESSAGE
16781 (toggleFloat): ditto
16784 (copyEnvironment): ditto
16785 (pasteEnvironment): ditto
16790 (updateInset): remove some commented code
16792 * lastfiles.h: inherit privately from noncopyable
16795 * lyx_main.h: ditto
16797 * lyxlex_pimpl.h: ditto
16799 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16800 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16801 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16803 * LyXAction.h: inherit privately from noncopyable, add methods
16804 func_begin, func_end, returning iterators to the func map.
16806 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16807 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16808 (func_begin): new method
16809 (func_end): new method
16811 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16813 (copySelection): ditto
16814 (pasteSelection): ditto
16816 * BufferView.C: whitespace change
16817 * BufferView.h: inherit privately from noncopyable
16819 2001-04-16 Allan Rae <rae@lyx.org>
16821 * tabular-old.C (l_getline):
16822 * spellchecker.C (sc_check_word):
16823 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16824 an unrecognised preprocessor directive. So ensure they're wrapped.
16826 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16828 * src/exporter.C (Export): Give an error message when path to file
16831 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16833 * LaTeX.C (deplog): Always check that foundfile exists.
16835 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16838 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16840 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16842 * tabular.[Ch] (getLabelList): implement new method
16844 * minibuffer.h: comment ouf setTiimer
16846 * minibuffer.C (ExecutingCB): constify res
16847 (peek_event): constify s
16848 (Set): constify ntext
16849 (Init): constify nicename
16851 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16853 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16854 (savePosition): use two params to Minibuffer::Set
16855 (restorePosition): ditto
16857 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16859 * lyx_main.C: include language.h
16861 * Makefile.am (lyx_main.o): add language.h
16863 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16869 * CutAndPaste.C: include gettext.h
16871 * lyxfont.h: remove old hack with ON and OFF.
16874 * lyxfont.h: do not include language.h...
16879 * bufferview_funcs.C:
16885 * paragraph.C: ... but do it here instead
16887 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16889 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16891 * tabular.C: small reformat
16893 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16896 (BreakParagraph): ditto
16897 (SetOnlyLayout): ditto
16900 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16903 * lastfiles.C: removed most using decl, add std:: where needed
16905 * buffer.C: ws changes
16907 * MenuBackend.C (class compare_format): put into anon namespace
16908 (expand): constify label, names, action, action2
16911 * text.C (SingleWidth): constify font
16912 (IsBoundary): constify rtl2
16913 (GetVisibleRow): constify ww
16915 * LaTeX.C (deplog): constify logfile
16917 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16919 (workAreaExpose): constify widthChange, heightChange
16921 * lyxrow.C (par): moved
16924 * lyxrow.h: as inlines here
16926 * lyxfont.h (shape): moved from lyxfont.C
16927 (emph): moved from lyxfont.C
16929 * lyxfont.C (LyXFont): use initialization list for all
16931 (shape): move to lyxfont.h as inline
16932 (emph): move to lyxfont.h as inline
16935 2001-04-04 Juergen Vigna <jug@sad.it>
16937 * vspace.C: had to include stdio.h for use of sscanf
16939 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16942 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16943 independent of xforms.
16945 2001-04-02 Juergen Vigna <jug@sad.it>
16947 * spellchecker.C: fixed namespace placing!
16949 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16951 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16952 the LyXParagraph * is 0.
16954 2001-03-29 Juergen Vigna <jug@sad.it>
16956 * vspace.C: added support for %, c%, p%, l%.
16957 (stringFromUnit): added helper function.
16958 (asLatexString): changed to give right results for the %-values.
16960 * buffer.C: convert the widthp in a width%.
16962 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16964 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16967 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16968 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16970 * lyx_cb.[Ch]: see above.
16972 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16976 * lyx.[Ch]: replaced by figure_form.[Ch].
16980 * lyxfunc.C: changed headers associated with above changes.
16982 2001-03-27 Juergen Vigna <jug@sad.it>
16984 * BufferView_pimpl.C: set the temporary cursor right!
16986 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16988 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16990 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16992 * LString.h: removed "using std::getline"!
16994 * BufferView_pimpl.C (Dispatch): changes due to changes in
16995 InsetInclude::Params.
16997 * buffer.C (tag_name): removed redundant break statements as they were
16998 producing lots of warnings with my compiler.
17000 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17002 * LString.h: add "using std::getline" when using the real <string>.
17004 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17006 * buffer.C: removed bitset usage.
17007 PAR_TAG moved to an anonymous name space.
17008 (tag_name): new funtion, also in the anonymous namespace.
17009 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17010 (makeDocBookFile): clean code. Completed transition from string arrays
17012 (SimpleDocBookOnePar): code clean.
17014 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17016 * tabular.C: add some comments.
17018 2001-03-22 Juergen Vigna <jug@sad.it>
17020 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17021 compatibility read a bit and fixed bug with minipage in different
17024 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17026 * buffer.C (pop_tag): removed.
17027 (push_tag): removed.
17028 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17029 array replaced with vector. Added support for CDATA sections.
17030 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17032 (makeDocBookFile): XML conformant declaration of CDATA section,
17033 fixed bug related to <emphasis> in the first paragraph char.
17034 (sgmlOpenTag): exclude empty tags.
17035 (sgmlCloseTag): ditto.
17037 * buffer.h (pop_tag): removed.
17038 (push_tag): removed.
17040 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17042 * language.h (Languages): added size_type and size().
17044 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17046 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17047 response on compability reading of minipages. One probliem is that
17048 the old usage of minipages was «flertydig»
17050 * several files here and in subdirs: don't use static at file
17051 scope use anon namespaces instead.
17053 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17055 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17056 LaTeX output. This is necessary for Literate document
17059 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17061 * buffer.C: insert hfill when needed.
17063 * tabular.C (l_getline): use string::erase, small whitespace change.
17065 * BufferView_pimpl.C: try the anon namespace.
17066 * WorkArea.C: ditto
17068 2001-03-16 Juergen Vigna <jug@sad.it>
17070 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17071 otherwise it won't open options-dialogs.
17073 * buffer.C: honor pextraWidth(p) on converting minipages.
17075 * tabular.C (l_getline): changed the functions to strip trailing \r.
17077 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17079 * BufferView_pimpl.C:
17080 * minibuffer..C: added "using SigC::slot" declaration.
17082 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17084 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17090 * paragraph.C: ditto
17092 * lyxtext.h: NO_PEXTRA
17094 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17096 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17097 * ParameterStruct.h: ditto
17098 * ParagraphParameters.h: ditto
17099 * lyxparagraph.h: ditto
17101 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17103 * buffer.C: add compability for minipage alignment.
17104 (latexParagraphs): remove unwanted pextra check.
17106 * several files: remove CXX_WORKING_NAMESPACES
17108 * buffer.C (pop_tag): tie is in namespace boost
17110 * BufferView.h: noncopyable is in namespace boost
17112 * lyx_main.h: ditto
17115 * lastfiles.h: ditto
17116 * bufferlist.h: ditto
17117 * ShareContainer.h: ditto
17119 * LyXAction.h: ditto
17122 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17124 * Merging changes from BRANCH_MVC back into HEAD.
17126 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17128 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17130 * BufferView_pimpl.C: change from intl.C
17134 * Makefile.am: move combox.*
17140 * intl.C: remove dialog (covered by prefs)
17142 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17144 * lyxfunc.C (Dispatch): removed redundant break statement.
17146 2001-03-14 Juergen Vigna <jug@sad.it>
17148 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17150 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17152 * buffer.C: add hack to fix compability reading of minipages.
17154 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17156 * buffer.C (getLists): Cleanup.
17158 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17160 * lyxfont.C (update): don't honor toggleall on font size.
17162 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17166 * Makefile.am: moved to frontends/xforms/
17170 * BufferView_pimpl.C: changes for moved mathpanel
17172 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17174 * gettext.h: fix gettext_init() in --disable-nls
17176 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17178 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17180 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17183 * lyx.h: strip external form
17185 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17187 * BufferView_pimpl.C: add comment, destroySplash()
17189 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17191 * BufferView_pimpl.C:
17195 * lyxfunc.C: use re-worked insetinclude
17197 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17199 * buffer.C: add using std::stringstream.
17201 * lyx_cb.C: readd using std::ios.
17203 * buffer.C: add using std::map.
17205 * BufferView_pimpl.C: add using std::vector.
17207 * ShareContainer.h: add std:: to swap.
17209 * buffer.h: add some typedefs
17210 * buffer.C (getLists): use them
17211 (getLists): renamed from getTocList.
17212 add a counter for the different float types and use it in the
17214 (getLists): use the same counter for the NEW_INSETS and the "non"
17217 * lyx_cb.h: remove unused items, includes, using etc.
17219 * ShareContainer.h: remove some commented code, add more comments
17220 and "documentation".
17222 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17224 * buffer.C (getTocList): make the list also when NEW_INSETS is
17227 * buffer.h: remove TocType
17229 * buffer.C (getTocList): change to return a map<string,
17230 vector<TocItem> >, implement for dynamic number of list.
17232 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17233 * text2.C (PasteSelection): adjust
17234 * CutAndPaste.C (pasteSelection): adjust
17236 * FloatList.C (FloatList): update from the new_insets branch.
17237 * Floating.[Ch]: ditto
17238 * LaTeXFeatures.C: ditto
17240 * lyxlex_pimpl.C: ditto
17242 * paragraph.C (Last): remove when NEW_INSETS is defined.
17244 * other file: changes because of the above.
17246 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17248 * lyxparagraph.h: rename next to next_, previous to previous_,
17249 make them private for NEW_INSETS. Rename Next() to next(),
17250 Previous() to previous().
17252 * other files: changes because of the above.
17254 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17257 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17260 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17262 * main.C (main): pass lyx_localedir to gettext_init().
17264 * gettext.h: remove locale_init and gettext_init macros
17266 * gettext.C (locale_init): new function
17267 (gettext_init): new function
17269 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17272 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17274 * Moved credits to frontends:
17275 * credits.[Ch]: removed
17276 * credits_form.[Ch]: removed
17277 * lyx_gui_misc.C: remove credits stuff
17280 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17282 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17284 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17285 unneeded destructor.
17287 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17288 a standalone pointer again.
17290 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17292 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17298 * ToolbarDefaults.C:
17307 * BufferView_pimpl.C: use new file dialog in GUII
17310 * lyx_cb.C: remove LayoutsCB to Toolbar
17312 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17314 * ShareContainer.h (get): add std:: qualifier
17316 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17318 * ShareContainer.h: define a proper ShareContainer::value_type
17319 type (and use typename to please compaq cxx)
17321 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17323 * lyxparagraph.h: move serveral local vars to
17324 ParameterStruct/ParagraphParameters., use ShareContainer in
17325 FontTable., make vars in FontTable private and add getter and
17328 * paragraph.C: changes because of the above.
17330 * lyxfont.h: remove copy constructor and copy assignment. (the
17331 default ones is ok), move number inside FontBits. move inlines to
17334 * lyxfont.C: add number to initializaton of statics, move several
17335 inlines here. constify several local vars. some whitespace
17336 cleanup. Dont hide outerscope variables.
17338 * Spacing.h: add two new constructors to match the set methods.
17340 * ShareContainer.h: new file, will perhaps be moved to support
17342 * ParameterStruct.h: new file
17344 * ParagraphParameters.h: new file
17346 * ParagraphParameters.C: new file
17348 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17349 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17351 * BufferView_pimpl.C: ParagraphParameter changes.
17352 * buffer.C: Likewise.
17353 * bufferview_funcs.C: Likewise.
17354 * text.C: Likewise.
17355 * text2.C: Likewise.
17357 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * lyxfind.C (LyXReplace): do not redefine default argument in
17361 (IsStringInText): ditto
17362 (SearchForward): ditto
17363 (SearchBackward): ditto
17365 2001-03-06 Juergen Vigna <jug@sad.it>
17367 * lyxfind.C (IsStringInText): put parentes around expressions.
17369 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17371 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17373 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17375 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17377 * stl_string_fwd.h: add comment
17379 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17382 * tabular.C: remove unused DocBook methods
17388 killed DO_USE_DEFAULT_LANGUAGE
17390 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17392 * lyx_gui.C: do not include language.h.
17394 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17395 arguments in function implementation.
17397 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17399 * BufferView_pimpl.C: add <ctime>
17401 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17403 * BufferView_pimpl.C: add using std::find_if
17405 2001-02-27 José Matos <jamatos@fep.up.pt>
17407 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17410 2001-02-11 José Matos <jamatos@fep.up.pt>
17412 * buffer.C (makeDocBookFile): command styles now have a parameter as
17413 "title" by default.
17415 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17417 * layout_forms.[Ch]: removed
17418 * lyx_cb.[Ch]: out character
17419 * lyx_gui.C: out character
17420 * lyx_gui_misc.C: out character
17421 * bufferview_funcs.C: : out character,
17422 added toggleall as parameter in ToggleAndShow
17424 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17426 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17428 * text2.C (SetCurrentFont): Disable number property at boundary.
17430 2001-02-26 Juergen Vigna <jug@sad.it>
17432 * lyxfunc.C (getStatus): added a string argument override function so
17433 that this is correctly called from LyXFunc::Dispatch if it contains a
17434 do_not_use_argument which is used!
17435 (Dispatch): added check for "custom" export and call appropriate func.
17437 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17439 * lyxrc.C: Add language_command_local, language_use_babel and
17440 language_global_options.
17442 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17444 * buffer.C (makeLaTeXFile): Use language_use_babel and
17445 language_global_options.
17447 2001-02-23 Juergen Vigna <jug@sad.it>
17449 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17450 which works with LyXText and putted it inside BufferView. Here now we
17451 only call for that part the BufferView::Dispatch() function.
17453 * BufferView.C (Dispatch): added.
17455 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17456 functions which needs to use a LyXText over from LyXFunc.
17457 (MenuInsertLyXFile): added
17458 (getInsetByCode): added
17459 (moveCursorUpdate): added
17460 (static TEXT): added
17462 2001-02-22 Juergen Vigna <jug@sad.it>
17464 * BufferView_pimpl.C (update): call a status update to see if LyXText
17467 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17469 * vc-backend.C (revert): implement for CVS
17470 (getLog): implement for CVS
17472 2001-02-20 Juergen Vigna <jug@sad.it>
17474 * text2.C (ClearSelection): added BufferView param for inset_owner call
17476 * lyxfunc.C (TEXT): added this function and use it instead of
17477 directly owner->view()-text of getLyXText().
17479 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17481 * src/layout_forms.C: out preamble
17482 * src/layout_forms.h: out preamble
17483 * src/lyx_cb.C: out preamble
17484 * src/lyx_cb.h: out preamble
17485 * src/lyx_gui.C: out preamble
17486 * src/lyx_gui_misc.C: out preamble
17487 * src/lyxfunc.C: connect with guii preamble
17489 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17491 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17493 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17495 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17496 whether to run bibtex.
17498 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17500 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17502 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17504 * Makefile.am (lyx_SOURCES): removed bibforms.h
17506 * vspace.h: doxygen
17508 * text.C (GetVisibleRow): make several local vars const
17510 * tabular.C: small cleanup.
17512 * lyxserver.C (callback): use compare instead of strncmp
17514 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17515 inlines to after class or to paragraph.C
17517 * lyxfont.h: remove friend operator!=
17519 * converter.h: move friend bool operator< to non friend and after
17522 * combox.h: small cleanup
17524 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17525 to inlines after class def.
17527 * buffer.C (pop_tag): use string operations instead of strcmp
17529 * bmtable.c: doxygen, small cleanup
17531 * LaTeX.h: remove friend operator==
17533 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17545 * BufferView_pimpl.C:
17546 * BufferView.[Ch]: remove cruft
17548 2001-02-14 Juergen Vigna <jug@sad.it>
17550 * lyxfunc.C: removed #if 0 unused code
17552 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17554 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17556 * text2.C (SetSelection): added a BufferView * parameter
17558 2001-02-13 Juergen Vigna <jug@sad.it>
17560 * lyxfunc.C (Dispatch): fixed protected blank problem.
17561 * BufferView2.C (protectedBlank): added LyxText * parameter.
17563 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17564 (AppendColumn): same as above for column_info.
17566 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17567 (moveCursorUpdate): use a LyXText param for support of InsetText.
17569 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17570 (tripleClick): ditto
17572 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17574 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17576 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17578 * text2.C (SetSelection): set correct update status if inset_owner
17579 (ToggleFree): ditto
17581 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17583 * tabular.C: remove some commented code.
17585 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17587 * BufferView_pimpl.C: call hideSplash()
17589 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17592 * bibforms.h: remove
17595 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17596 add LFUN_CHILD_CREATE
17598 * counters.h: fix tiny typo
17603 * lyx.C: move splash to frontends/xforms/
17605 * lyx_gui_misc.C: move Include and Bibform to frontends
17607 * lyxvc.h: clarify comment
17609 * vspace.C: tiny housekeeping
17611 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17613 * text.C (PrepareToPrint): RTL Fix.
17615 * paragraph.C (GetUChar): New method.
17616 (String): Use GetUChar.
17618 * buffer.C (asciiParagraph): Use GetUChar.
17620 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17622 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17624 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17627 * buffer.C: rename to getLogName(), handle
17628 build log / latex log nicely
17630 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17633 * MenuBackend.h: remove support for reference menuitem type.
17635 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17637 * BufferView_pimpl.C: housekeeping
17638 * BufferView_pimpl.h:
17643 * minibuffer.h: move Timeout GUI-I
17645 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17647 * lyxrc.C (read): Update converters data-structures.
17649 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17651 * LaTeX.h (operator!=): add operator != for Aux_Info
17653 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17655 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17657 * LaTeXLog.C: deleted, useful code moved to Buffer
17660 * buffer.C: new function getLatexLogName()
17666 * lyxfunc.C: use frontends for LaTeX and VC logs
17668 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17670 * LaTeX.h: yet another std:: that Allan forgot.
17672 * Variables.C (set): renamed from isset(), because this clashes
17673 with some HP-UX macros (grr).
17675 2001-02-06 Allan Rae <rae@lyx.org>
17677 * LaTeX.h: Another bug fix. Missing std:: this time.
17679 2001-02-04 Allan Rae <rae@lyx.org>
17681 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17682 floats problem. I've left it commented out because it's not quite
17683 correct. It should also test that the current object is a table or
17684 figure inset. But I haven't gotten around to figuring out how to do
17685 that. I *think* it'll be something like: "table" == inset.type()
17687 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17690 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17692 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17693 all the citation/databases/styles in the auxilary file.
17694 (run): Rerun latex if there was a babel language error.
17696 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17698 * text.C (Backspace): Preserve the font when changing newline char
17700 (BreakParagraph): If the cursor is before a space, delete the space.
17702 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17704 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17706 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17707 new argument (code).
17708 (ChangeCitationsIfUnique): New method.
17710 * paragraph.C (GetPositionOfInset): Handle bibkey.
17712 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17714 * BufferView_pimpl.h: change type of Position::par_pos to
17715 LyXParagraph::size_type.
17717 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17719 * BufferView_pimpl.C (savePosition, restorePosition): Write
17720 messages to minibuffer.
17722 2001-01-28 José Matos <jamatos@fep.up.pt>
17724 * buffer.C (makeDocBookFile): adds support for document language.
17725 A silly restriction on the name of LatexCommand types where removed.
17726 Added support for CDATA sections, allows to chars unescaped, used
17727 among others in code, to avoid escape < and >.
17729 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17731 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17732 saved positions instrad of a stack. Furthermore, a position is
17733 stored using paragraph id/paragraph position.
17735 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17736 Remove LFUN_REF_BACK.
17738 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17740 * converter.C (dvipdfm_options): New method.
17742 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17744 * vspace.C (isValidLength): Fix for empty input string.
17746 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17748 * LyXAction.C (init): change description of LFUN_FIGURE to
17751 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17753 * LaTeX.C: add using directive
17755 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17757 * MenuBackend.C (expand): Fix the sorting of the formats.
17759 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17761 * lyx_main.C: tiny error message fix
17763 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17765 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17766 calling fl_initialize(). This fixes the problem with ',' as
17767 decimal separator in text files.
17769 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17771 * trans.C (process): Fix the keymap bug.
17773 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17775 * LaTeX.C (scanAuxFiles): New method. Provides support for
17776 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17777 (scanLogFile) Scan for "run BibTeX" messages.
17779 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17780 OT1 font encoding. Also, load the aecompl package if the ae
17783 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17785 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17787 * texrow.C (increasePos): turn two error messages into debug
17790 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17792 * LaTeX.C (scanAux): Handle the \@input macro.
17793 (runBibTeX): Use scanAux().
17795 * language.C (latex_options_): New field.
17797 * LaTeXFeatures.C (getMacros): Add language macros.
17799 * buffer.C (makeLaTeXFile): Small fix.
17801 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17803 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17805 * text2.C: add a using directive.
17807 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17812 * lyxfunc.C: kill LyXBell.
17814 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17816 * text.C (IsBoundary): Remove the error message
17818 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17820 * lyxrc.C (setDefaults): Correct initialization value for
17823 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17825 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17828 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17829 and GotoNextNote().
17831 * src/LyXAction.C: Added reference-next.
17833 * text.C (InsertChar): Use contains instead of strchr.
17835 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17837 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17839 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17840 alignment commands (when needed).
17842 * text.C (InsertChar): Add ':' to number separator chars.