1 2005-07-15 José Matos <jamatos@lyx.org>
3 * output_plaintext.[Ch] (writeFileAscii): control reference title
5 (asciiParagraph): noparbreak was already deal and was incorrectly
8 2005-07-15 Juergen Vigna <jug@lyx.org>
10 * lyxfunc.C (dispatch): save and restore the cursor after a
13 2005-07-15 <lgb@tandberg.net>
15 * text.C (backspace): bug 806 for empty keepempty paragraphs we
16 change the layout to default before letting DEPM do its thing.
18 * paragraph_funcs.C (breakParagraph): dont reset the layout on
21 * text.C (setCursorFromCoordinates): add a debug statement
23 * text2.C (getColumnNearX): bug 1825 make sure that we don't
24 return a pos that is not on the row
26 * output_latex.C (TeXDeeper): get rid of potential dereferencing
27 of past the end iterator
29 2005-07-14 André Pönitz <poenitz@gmx.net>
31 * undo.C (recordUndoFullBuffer): implement undo for
34 2005-07-14 André Pönitz <poenitz@gmx.net>
36 * cursor.C (setSelection): open insets when selection is set there
37 to avoid crashs with cold coord cache
39 2005-07-14 André Pönitz <poenitz@gmx.net>
41 * trans_mgr.C (insert): move cursor to the right after inserting
44 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
46 * BufferView_pimpl.C (update): dampen some of the debug blabbering
47 * factory.C (readInset): ditto
48 * text.C, text2.C: ditto
50 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * buffer.C: format incremented to 242. There is no file format per
53 se, but the "frenchb" language has been removed from lib/language
54 and has to be translated to "french" by lyx2lyx.
56 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * cursor_slice.h, dociterator.h: add some documentation
59 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
61 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
63 * text.C (leftMargin): do not add identation to display() style
64 insets, because they are always centered (bug 1293).
66 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
69 formatted_time methods in support/lyxtime.
71 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
73 * toc.[Ch]: new method getGuiName, which is used by the frontends
74 to set the toc combo (fixes bug 1870). Make TOC string translatable.
76 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
78 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
79 StableDocIterator const &)
80 * undo.C (recordUndo): use the above instead of cell.size() comparison
81 (fixes bug 1808; instructed by André).
83 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
86 * dociterator.h: Fix the assert when copying rows/cols in math
88 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
92 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
94 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
95 (findInset): new functions, refactored from goto Inset that return
96 the position of a certain inset without setting the buffer's cursor
98 (gotoInset): rewrite to call findInset and then set the cursor
101 2005-06-16 Angus Leeming <leeming@lyx.org>
103 * lyxrc.C (output, read): wrap all input and output of paths with
104 calls to os::internal_path and os::external_path, respectively.
105 (output): wrap bind_file inside quotes.
107 * format.C (view): enable the viewer to use the '$$s' placeholder.
109 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
111 * LColor.[Ch] (getFromLaTeXName): new
113 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
115 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
117 2005-06-14 Angus Leeming <leeming@lyx.org>
119 * lyx_main.C (init): ensure that the LyX binary dir is the first
120 element in the PATH on non-POSIX builds.
122 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
126 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * rowpainter.C (paintInset, paintHebrewComposeChar)
129 (paintArabicComposeChar, paintChars): add a LyXFont argument.
130 (paintChars): use getFontSpan to reduce calls to getFont to a
131 minimum; use Paragraph::lookupChange instead of isXXXText.
132 (paintForeignMark): rename LyXFont argument.
133 (paintFromPos): pass a LyXFont object to the various paintXXX
136 * FontIterator.C (FontIterator, operator++): use
137 Paragraph::getFontSpan
139 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
140 version that returns the font span as a pair.
142 2005-06-09 Angus Leeming <leeming@lyx.org>
144 * converter.C (convert): Don't forget "outfile = real_outfile" as
145 the final step in a conversion where the input and output file names
146 are the same. Otherwise, future conversion steps won't work...
148 2005-06-09 Angus Leeming <leeming@lyx.org>
150 * lyxsocket.C: remove stub code as it isn't needed by
151 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
153 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
156 effectively disabled -x
158 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
160 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
161 when it actually makes sense.
163 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
165 * BufferView_pimpl.C: revert to showCursor in connection with
166 Lars's front-end stack
168 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
170 * text.C (redoParagraph): move cursor right after a bibitem
173 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
175 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * buffer_funcs.C (bufferErrors): fix computation of the end of an
180 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
182 * BufferView.[Ch] (update):
183 * BufferView_pimpl.[Ch] (update, metrics):
184 * dimension.h (operator==):
185 * lyxfunc.C (dispatch):
186 * metricsinfo.h (ViewMetricsInfo):
187 * rowpainter.C (paintText):
189 * text.C (redoParagraph):
190 * text3.C (dispatch): Make LyX only repaint current paragraph in
191 case of character insert --> speedup. Also fix cursor draw
194 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
197 avoid a crash (bug 1891)
199 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * text2.C (getStringToIndex): constify cur argument.
205 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
206 argument has been given
207 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
208 try to invoke LFUN_INSET_APPLY).
210 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
211 if no inset was created by doInsertInset
212 (doInsertInset): return true if an inset has been inserted.
214 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * vspace.C (asGUIName): new method. A version of the space
217 suitable for showing on screen.
219 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
222 * lyxrc.C: rename "ASCII" to "Plain Text"
224 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * buffer_funcs.C (expandLabel): take a Buffer as argument;
227 translate the labelstring.
228 (setCounter): translate labelstring as needed.
230 * output_docbook.C (makeCommand): fix expandLabel invokation
232 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
234 * BufferView.C: fix dialog title
236 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
238 * lyx_main.C (priv_exec): fix logic error with help from Angus
239 * lyx_main.C (parse_execute): set is_gui = false and remove now
240 obsolete comment about a segfault
242 2005-05-18 Angus Leeming <leeming@lyx.org>
244 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
246 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
248 * tabular.[hC]: added setCellInset to fix tabular paste.
250 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
252 * buffer.C (save): check if destination is writable before trying
255 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
257 * BufferView_pimpl.C (update): fix processEvents -caused update
260 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * buffer_funcs.C (setCounter): fix test for numbering of
265 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
266 depth correctly; use optional argument when it exists
268 * lyxtextclass.C: remove unused MaxCounterTags enum
269 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
270 (max_toclevel, min_toclevel): new methods.
272 * MenuBackend.C (expandToc2): fix case where depth is smaller than
273 the smallest depth in toc.
275 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
276 layouts that should not appear in a table of contents.
278 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * cursor.h (undispatched, noUpdate): add comments from André
282 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
286 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
288 2005-05-07 André Pönitz <poenitz@gmx.net>
290 * cursor.[Ch] (leaveInset): new function
292 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
294 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
296 2005-05-04 Angus Leeming <leeming@lyx.org>
298 * lyxfunc.C (getStatus): disable the spell checker dialog if
299 none of USE_[AIP]SPELL are defined.
301 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
303 * tabular.C (setWidthOfCell): remove obsolete comment
305 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
307 * paragraph.C (bibitem):
308 * buffer_funcs.C (setCounter):
309 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
311 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
313 * text3.C (getStatus): immediately return after setOnOff
315 * rowpainter.C: fix drawing of appendix start
317 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
319 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
320 SwitchBetweenClasses and remove the unused return value.
321 Handle character styles, too
323 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
325 * factory.C (createInset): handle undefined character styles
327 2005-05-02 Angus Leeming <leeming@lyx.org>
329 * buffer.C: protect the #include of utime.h with a preprocessor
332 2005-05-02 Angus Leeming <leeming@lyx.org>
334 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
335 function so that auto-saving works, albeit in a blocking manner.
337 * Makefile.am: make compilation of the client sub directory, of
338 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
339 on conditionals set at configure time.
341 * SpellBase.[Ch]: no longer an abstract base class. Instead,
342 it can be compiled in its own right but has no-op functionality.
344 * aspell.C, pspell.C: remove preprocessor guards. The files should
345 be compiled only if the necessary functionality exists.
347 * lyxserver.C, lyxsocket.C: disable on Windows.
349 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
351 * text.C (leftMargin): Fix the parindent use bug (1764)
354 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
356 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
359 2005-04-25 Angus Leeming <leeming@lyx.org>
367 include <config.h> in .C files, not .h ones.
369 protect headers inside preprocessor guards.
371 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * FuncStatus.h (StatusCodes): document
375 2005-04-21 André Pönitz <poenitz@gmx.net>
377 * FuncStatus.h (enabled, onoff): document
379 2005-04-19 Angus Leeming <leeming@lyx.org>
381 * BufferView_pimpl.C (cursorToggle): no longer test whether
382 any child processes have been reaped before calling
383 handleCompletedProcesses().
385 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
387 * text3.C (dispatch): fix, finally fix, the language problem in
388 new lyxtexts, without disabling on-the-fly font changes (Helge's
391 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * text3.C (dispatch): set cursor on double/triple click events
396 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
399 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
401 * rowpainter.C (paintFirst): simplify the code a little bit. In
402 particular, remove the test for secnumdepth.
403 * text.C (setHeightOfRow): only allocate space for chapter number
404 when updateCounters provided an actual label, instead of looking
405 at secnumdepth directly.
407 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
409 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
410 paragraphs when secnumdepth is large enough or, for environments,
411 when they are not the first in a sequence.
413 2005-04-17 Angus Leeming <leeming@lyx.org>
415 * buffer.C (makeLaTeXFile): replace code to manipulate a path
416 containing space and '~' characters with a call to latex_path().
418 2005-04-17 Angus Leeming <leeming@lyx.org>
420 * converter.C (convert): protect all args of convertDefault.sh
423 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * text3.C (dispatch): change the layout to "Caption" after inserting
428 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
430 * text3.C (dispatch): fix language problem in newly created
431 textinsets (and main text) in non-english docs
433 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
435 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
436 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
437 * text3.C (getStatus): disable LFUN_INSET_MODIFY
439 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
444 * rowpainter.C (getFont): Fix metrics bug introduced by inset
447 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
449 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
450 output of \item arguments without trailing text.
452 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * FontIterator.C (operator*): avoid a copy of the font.
456 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
458 * rowpainter.C (getFont): fix language bug from previous fix
460 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
462 * rowpainter.C (RowPainter, getFont): fix font inside inset
465 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
467 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
468 preventing inserted font, deco, delim insets jumping to start of
471 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * lyxfunc.C (dispatch): translate message before sending it to the
476 2005-03-29 Angus Leeming <leeming@lyx.org>
478 * lyx_main.C (priv_exec): call os::internal_path on each file passed
479 to LyX on the command line.
481 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
483 * vc-backend.C: use QuoteName to protect file names wherever
486 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
489 * BranchList.h: fix bugs 1844,1845: document settings don't
492 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * lyxrc.C (setDefaults, read, output, getDescription): add support
495 for tex_allows_spaces.
497 * exporter.C (Export): allows files in directory containing spaces
498 if tex_allows_spaces is true.
500 * buffer.C (makeLaTeXFile): if the document path contains spaces,
501 output it in double quotes.
503 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
505 * rowpainter.C: use default text height for drawing change tracker
508 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
510 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
512 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
514 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
515 directory is missing.
517 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
519 * text2.C: fixed the fix, extended to other case.
521 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
523 * text2.C: fix for cursor up/down stuck in math [bug 1792]
525 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
527 * text2.C (cursorUp): get rid of a crash
528 * text.C (x2pos): add an assert
530 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * lyxfunc.C (getStatus): fix warning when assertions are disabled
536 * dociterator.C: include <boost/current_function.hpp>, which is
537 needed when assertions are disabled.
539 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
541 * text2.C: fix for stuck cursor when traversing two
542 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
544 2005-02-25 Andreas Vox <avox@arcor.de>
546 * output_docbook.C (makeParagraph): suppress trailing newline
547 after a run of paragraphs
549 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
551 * paragraph.C: fix for confused change tracker when pasting
552 text that begins with a lineseparator. [bug 1827]
553 (setChange(0, Change::INSERTED);)
555 * paragraph_funcs.C: fix for lost changes on triple-paste
556 in change tracking mode [bug 1827] (par.setChange()).
558 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * text2.C (updateCounters, setCounter, expandLabel): move to
563 * buffer_funcs.C (updateCounters): turn into a free standing
564 function and add a buffer parameter. Remove dead code for tracking
566 (setCounter): change into a free-standing function which gets a
567 dociterator as argument. Use this iterator to fix captions in a
568 simple way. When no float is found above the caption, use the
569 labelstring of the caption layout as default.
571 * text.C (breakParagraph, backspace):
572 * text2.C (init, setLayout, changeDepth):
573 * text3.C (dispatch):
574 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
577 * dociterator.C (forwardPar): make it much faster by calling
578 forwardPos() only when really necessary.
580 * output_docbook.C (makeCommand): adapt to expandLabel move.
582 * cursor.C: remove unused variable
584 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
586 * paragraph_funcs.C: fix crash when pasting insets in change
587 tracking mode [bug 1277] (honour change type in moveItem).
589 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
591 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
593 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * BufferView.C (setCursor): change to use a DocIterator.
596 (gotoLabel): use BufferView::setCursor (other part of bug 781).
597 (putSelectionAt): adapt to BufferView::setCursor change.
599 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
600 moved here from LyXText and rewritten to use proper cursor
601 methods. Fixes bug 1787, 616 and 835.
603 * BufferView_pimpl.C (restorePosition): set the cursor correctly
604 when inside an inset (part of bug 781).
605 (dispatch): adapt to change of BufferView::setCursor.
606 (getStatus, dispatch): handle LFUN_GOTOERROR,
607 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
609 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
610 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
611 * text3.C (gotoNextInset, gotoInset): removed.
613 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
615 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
617 2005-02-15 Angus Leeming <leeming@lyx.org>
619 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
620 can be used meaningfully in a comparison.
622 2005-02-13 André Pönitz <poenitz@gmx.net>
624 * bufferview_funcs.C (coordOffset): improve cursor drawing
626 2005-02-13 André Pönitz <poenitz@gmx.net>
628 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
629 * Cursor.C (dispatch): use fixIfBroken
630 * lyxfunc.C (getStatus): use fixIfBroken
632 2005-02-15 Angus Leeming <leeming@lyx.org>
634 * lyx_main.C (error_handler):
636 * lyxrc.C (setDefaults):
638 #include "environment.h".
640 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
642 2005-02-15 Angus Leeming <leeming@lyx.org>
644 * lyxserver.C (startPipe): squash MSVC warning "local variable
645 'fd' used without having been initialized".
647 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
649 * BufferView_pimpl.C: revert accidental commit.
651 2005-02-14 André Pönitz <poenitz@gmx.net>
653 * dociterator.[Ch]: new member forwardPosNoDescent(),
654 which doesn't enter nested insets.
655 * text2.C (setFont): use forwardPosNoDescent() instead
656 of ForwardPos() (fixes crash on font change).
658 2005-02-13 Angus Leeming <leeming@lyx.org>
660 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
661 only if lyxrc.path_prefix is not empty.
663 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
665 * bufferparams.C (readGraphicsDriver): prevent crash
667 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
669 * text2.C (setCounter): check for inInset() == 0
671 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
674 but use update() to get correct screen display; use convert
675 instead of istringstream.
676 (getStatus): handle LFUN_GOTO_PARAGRAPH
678 * lyxfunc.C (dispatch, getStatus): do not handle
679 LFUN_GOTO_PARAGRAPH here.
681 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
683 * text3.C (dispatch): size() -> depth()
685 * text2.C: remove some debug output
687 * paragraph.C: ws changes only
689 * lyxfunc.C (getStatus): size() -> depth()
691 * dociterator.h (clear, push_back, pop_back, internalData,
692 operator[], resize, empty): new functions
693 Make StableDocIterator and operator== be friends. Don't inherit
694 from std::vector use a privat class variable slices_ instead.
697 * dociterator.C: update because of not inheriting from std::vector
698 anymore. Call explictly to slices_ instead. Use depth() instead of
699 size() and top() instead of back()
701 * cursor.C: chagne size() -> depth and back() -> top(). Also
702 remove some direct operator[](i) calls in favour of foo[i]
703 (getFont): remove some dead code
705 * bufferview_funcs.C (coordOffset): size() -> depth()
707 * buffer.C: ws changes only
709 * CutAndPaste.C (eraseSelection): back() -> top()
711 * BufferView_pimpl.C (selectionRequested): back() -> top()
713 * BufferView.C (setCursor): size() -> depth()
715 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
717 * text3.C (cursorPrevious): return true if depm changed something
719 (dispatch): rename sl to oldTopSlice, remove moving use the new
720 NoUpdate func attrib instead. Make sure that needsUpdate is set
721 for function that have NoUpdate, but where depm might have changed
724 * text2.C (cursorLeft): make us return true if depm changed
727 (cursorUpParagraph): ditto
728 (curosrDownParagraph): ditto
729 (cursorUp, cursorDown): ditto, make sure to read comments in code
730 (deleteEmptyParagraphMechanism): remove an assert, also return
731 true if just a single char was deleted.
733 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
734 cursor that we modify, to avoid modifying an active cursor before
735 we call setCursor. This allows depm to run. Also return true if
736 depm deleted something.
738 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
739 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
740 cursorDownParagraph, cursorPrevious and cursorNext, return true if
741 something was changed in the buffer because of them (ie. depm run)
743 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
744 debug messages. Make update by default be false. Make sure that
745 the result of update is retained throught several calls down to
748 * LyXAction.h: add a new func_attrib: NoUpdate
750 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
751 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
752 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
754 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
756 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
758 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
759 bv_->owner(), bv_->buffer() by direct references to the private
761 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
762 (getStatus): isSavedPosition() is in BufferView::Pimpl.
763 (fitCursor): center() is in BufferView::Pimpl.
764 (getStatus, trackChanges, dispatch): no need for a temporary buf
766 (fitCursor, workAreaDispatch): use workarea().workheight()
768 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
770 * CutAndPaste.C (pasteSelectionHelper): fix a crash
772 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
774 * buffer.C: format up to 241.
775 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
776 break if pasting into ERT
777 * lyxfunc.C (getStatus): suppress mathpanel and
778 LFUN_DIALOG_SHOW_NEW_INSET in ERT
780 2005-02-01 Angus Leeming <leeming@lyx.org>
782 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
784 2005-02-01 Angus Leeming <leeming@lyx.org>
786 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
787 calling fs::is_directory().
789 2005-01-31 Angus Leeming <leeming@lyx.org>
791 * lyx_main.C (priv_exec): specify explicitly the relative location
792 of the top level build directory when run in-place.
794 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
797 LyXText containing the cursor, not the top-level one.
799 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
801 (insertStringAsLines): rename par to pit; use temporary variable
802 par to hold a Paragraph; do not store par.layout() in a variable,
803 since the pointer may die when breaking paragraphs; pass pars to
804 breakParagraph() instead of Buffer::paragraphs().
806 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
808 * lyxlex_pimpl.h: #include <fstream>.
810 * BufferView.[Ch] (getLyXText): add a const version.
812 * BufferView_pimpl.C: add debug aids.
817 * paragraph_funcs.h: add commentary explaining what the class does.
820 * coordcache.[Ch]: add lots of commentary.
821 (startUpdating, doneUpdating): debug aids.
822 (arrays, insets, parPos, getParPos): accessors to private data.
824 * cursor_slice.[Ch] (text): add a const version.
825 * dociterator.[Ch] (text, innerText): add const versions.
827 * lyxtext.h (breakParagraph): change the keep_layout arg to a
830 * paragraph.C (getRow, pos2ros): add asserts.
832 * paragraph.h: add commentary. Lots of.
834 * paragraph.[Ch] (metrucs, draw): removed.
837 * rowpainter.[Ch]: const-correct changes.
839 * text.C: various obvious clean-ups. Removal of ancient cruft.
842 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
844 * vc-backend.C (find_file): rewrite to use boost.filesystem
847 * main.C (main): set default name check for boost.filesystem to
850 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
853 (actOnUpdatedPrefs): ditto
855 * lyx_main.C (init): rewrite to use boost.filesystem
856 (queryUserLyXDir): ditto
858 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
859 (getContentsOfAsciiFile): ditto
861 * lastfiles.C (readFile): rewrite to use boost.filesystem
863 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
865 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
868 * buffer.C (Buffer): adjust for destroydir
869 (getLogName): rewrite to use boost.filesystem
871 (save): use fs::copy_file (from fs_extras)
873 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
875 * LaTeX.C (run): rewrite to use boost.filesystem
876 (scanAuxFiles): ditto
877 (handleFoundFile): ditto
879 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
881 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
883 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
885 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
887 * lyxlayout.[Ch]: change some vars from float to double
889 * buffer.C (readFile): make a local var const
891 * Several files: use convert<> instead of atoi,strToXXX and friends
893 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
895 * LaTeXFeatures.[Ch]: Add a static list packages_ that
896 holds the contents of packages.lst. New functions getAvailable
897 and isAvailable to parse and check that list, resp.
901 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
903 * bufferparams.[Ch]: new param output_changes.
905 * Buffer.C: increase file format to 240.
906 Use output_changes and isVailable.
910 * paragraph_pimpl.C: Use output_changes and isVailable.
912 2005-01-23 Angus Leeming <leeming@lyx.org>
914 * output_latex.C: #include "insetbibitem.h", rather than
915 forward declare function bibitemWidest.
917 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
919 * lyx_main.C (init): make it compile on the Mac.
921 2005-01-20 Angus Leeming <leeming@lyx.org>
923 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
924 (setLyXMisc): (char string literal) != (char string literal) is
925 performing a comparison on the addresses. Convert one operand
926 explicitly to string to guarantee expected behaviour.
929 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
932 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
934 * output_plaintext.C: remove unneeded #include gzstream.h.
936 2005-01-20 Angus Leeming <leeming@lyx.org>
938 * SpellBase.h: rename some of the elements of the Result enum.
945 * pspell.C (check): ditto
947 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
949 * buffer.C: add #include <fstream>.
951 * lyx_main.C (init): Compile fix.
953 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
955 2005-01-20 Angus Leeming <leeming@lyx.org>
957 * mover.h: change commentary to reflect the changed meaning of
960 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 * output_linuxdoc.C (linuxdocParagraphs): silence warning
964 * lyxfind.C (MatchString::operator()): remove bogus semicolon
966 2005-01-20 Angus Leeming <leeming@lyx.org>
968 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
969 printing diagnostic data by not dereferecing an iterator past the
972 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
974 * buffer.C (readHeader): use "&&" rather than "and".
976 * lyxserver.h (inPipeName, outPipeName): make these const.
978 2005-01-19 Angus Leeming <leeming@lyx.org>
980 * lyx_main.C (error_handler, init): protect SIGHUP with
981 #ifdef SIGHUP guards.
983 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
987 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
989 * text.C (setHeightOfRow): add a margin at the top and bottom of
990 the document (bug 1761)
992 2005-01-17 Angus Leeming <leeming@lyx.org>
994 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
995 with "python ". Workaround for a brain-dead Windows.
997 2005-01-16 Angus Leeming <leeming@lyx.org>
999 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1000 for MacOSX and Windows to use prependEnvPath.
1001 Strip out the hard-coded block to add elements to the PATH for
1002 MacOSX and replace it with a call to prependEnvPath using the
1003 contents of LyXRC::path_prefix.
1004 (queryUserLyXDir): strip out the code to run reconfigure, instead
1005 returning a boolean indicating the necessity to do so.
1006 (reconfigureUserLyXDir): contains the code to reconfigure the
1007 user support directory. Is now called after the various LyXRC data
1008 files have been read.
1010 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1012 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1014 * converter.[Ch] (convert): take a new parameter try_default. Use
1015 a default converter (imagemagick) if try_default is true.
1017 2005-01-13 Angus Leeming <leeming@lyx.org>
1019 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1020 os::cygwin_path_fix.
1021 (write): output LyXRC::cygwin_path_fix as necessary.
1023 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1026 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1028 2005-01-12 Angus Leeming <leeming@lyx.org>
1030 * lyx_main.C (init): set the PATH variable to include the
1031 directory containing the LyX binary when running on Mac or Windows.
1033 2005-01-12 Angus Leeming <leeming@lyx.org>
1035 * lyx_main.C (init): remove cruft that purports to set the locale
1036 dir. It doesn't and is not needed anyway.
1038 2005-01-10 Angus Leeming <leeming@lyx.org>
1040 * Makefile.am: remove the lyx_main.C special casing.
1042 * BufferView_pimpl.C:
1048 * messages.C: use support/package.h to provide the paths to the
1049 various directories used by LyX.
1051 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1053 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1054 layout if pasting into an empty paragraph)
1056 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1058 * tex-accent.C: add <string>
1060 2005-01-06 José Matos <jamatos@lyx.org>
1062 * ParagraphParameters.C (write): put every parameter in its own line.
1063 * paragraph.C (write): reduce number of consecutive empty lines exported.
1064 * buffer.C (LYX_FORMAT): increase file format to 239.
1066 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1068 * everywhere: change support/tostr.h -> support/convert.h
1070 * tabular.C: make all write_attributes templates, tostr -> convert
1072 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1073 (emptyTag): and -> &&, and fix type for ret from getChar
1074 (getFirstWord): fix type for ret from getChar
1075 (onlyText): and -> &&
1076 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1079 * toc.C (goTo, action):
1080 * text3.C (dispatch):
1081 * text.C (currentState):
1082 * tex-accent.C (DoAccent):
1085 * lyxfunc.C (menuNew):
1086 * lyxfinc.C (replace):
1087 * counters.C (laberItem):
1088 * bufferview_funcs.C (font2string):
1089 * bufferparams.C (writeFile):
1090 * buffer.C (readFile):
1092 * MenuBackend.C: tostr -> convert
1094 * LaTeX.C (runMessage): fix format
1095 (scanAuxFiles): tostr -> convert
1097 * BufferView_pimpl.C (savePosition): fix format
1098 (restorePosition): ditto
1101 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1103 * Spacing.[Ch]: New method getValueAsString().
1107 * ParagraphParameters.C:
1110 * text3.C: store/read spacing value as string.
1112 * rowpainter.C: change float value (spacing_val) to double.
1114 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1115 broken custom document spacing).
1117 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1119 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1120 namespace, also more use of temp references and const
1122 * cursor.[Ch] (getStatus): move to lyxfunc.C
1124 * bufferparams.C: reformat slightly
1126 * bufferview_funcs.C (font2string): constify arg
1132 * buffer_funcs.C: (many funcs): constify arg on function
1133 definitions, also make more local vars const, also add ASSERTS on
1136 * buffer.C (LYX_FORMAT): put const in correct place
1137 (many funcs): constify arg on function definitions, also make
1138 more local vars const
1140 * aspell_local.h: remove "struct" from typdef setup
1142 * aspell.C (check): make word_ok const
1143 (nextMiss): simplify slightly
1146 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1148 * lyxrc.[Ch]: store all float values as strings.
1149 use int (not float) for lyxrc.dpi.
1151 2005-01-04 Angus Leeming <leeming@lyx.org>
1153 * lyx_cb.C (Reconfigure):
1154 * lyx_main.C (queryUserLyXDir):
1155 to run the <system_lyxdir>/configure correctly on Windows, prefix
1156 the path to the script with "sh " when generating the string that
1157 is passed to system().
1159 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1161 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1163 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * lyxlength.C (asLatexString): get rid of setprecision
1167 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1169 * text2.C (setLayout): remove unused variable endpit.
1170 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1172 * paragraph.C (onlyText): remove unused variable style.
1174 * cursor.C (bruteFind): remove unused variables beg and end.
1176 * Makefile.am (dist_noinset_DATA): not needed anymore
1178 * cheaders/*: remove.
1180 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1182 * text3.C: fix LFUN_MATH_MODE.
1184 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1186 * buffer_funcs.C (countWords): new function. Counts words between
1189 * BufferView_pimpl.C (getStatus, dispatch): handle
1192 * LyXAction.C (init):
1193 * lfuns.h: add LFUN_WORDS_COUNT.
1195 2004-12-19 Angus Leeming <leeming@lyx.org>
1197 * buffer.C (save): s/slashify_path/internal_path/.
1199 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1201 * lyxfind.C (findChange): do not search for end of pars, because
1202 the change tracker cannot handle this (fixes bug 1719).
1204 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1206 * paragraph.[Ch] (autoBreakRows): remove
1208 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1210 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1211 avoid using the paragraph one
1213 * text2.C (LyXText, insertStringAsLines): adjust
1215 2004-12-16 Angus Leeming <leeming@lyx.org>
1219 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1221 2004-12-14 Angus Leeming <leeming@lyx.org>
1223 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1225 * bufferlist.C (emergencyWrite):
1226 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1229 2004-12-14 Angus Leeming <leeming@lyx.org>
1231 * main.C: (main): no longer pass pointers to os::init.
1233 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1235 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1236 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1238 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1241 * text3.C: remove selection_possible global flag
1243 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1245 * text2.C (getSelectionSpan): remove
1246 (changeDepth, changeDepthAllowed): adjust
1248 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1250 * Makefile.am (BOOST_LIBS): use boost variables
1252 2004-12-03 José Matos <jamatos@lyx.org>
1254 * buffer.C: format up to 238.
1256 2004-12-03 José Matos <jamatos@lyx.org>
1258 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1260 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1262 * cursor.C (goUpDown): remove call to idxUpDown2
1264 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1266 * tabular.[Ch]: use size_t-like types for cell, row and column
1269 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1271 * lyxfunc.C (getStatus): do not lose previous information when
1272 calling BufferView::getStatus; do not set a default "Command
1273 disabled" message at the beginning, but just before returning.
1275 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1277 * cursor.h (getStatus): add better comment from src/cursor.C
1279 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1281 * text3.C (getStatus): return false when the lfun is not handled
1283 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1285 * broken_headers.h: remove
1287 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1289 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1291 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1292 offset_ref accessors
1294 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1295 top_y_, merge fitcursor with update
1296 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1298 (metrics): introduce
1299 (workAreaDispatch): adapt to new coord scheme
1300 (redoCurrentBuffer): remove
1302 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1304 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1307 * coordcache.[Ch]: add paragraph cache and helpers
1309 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1312 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1313 (targetX, setTargetX): introduce
1315 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1316 baseline -> ascent, as the rest of lyx
1318 * lyxtext.h: remove redoParagraphs, updateParPositions,
1319 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1320 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1321 have ascent/descent (ascent is ascent of first par)
1323 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1326 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1328 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1330 * pariterator.C: fix infinite loop introduced in par->pit renaming
1332 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1333 in insets and LyXText, draw two off-screen paragraphs using
1334 NullPainter, and adapt to new coord scheme
1338 * text3.C: adapt lfun handlers to the new coord scheme, which
1339 means: there's only guaranteed coord information for onscreen pars
1340 plus one above and one below. This implies that one can do search
1341 from y coordinates in the range [-1,workHeight]
1343 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1345 * rename a lot of InsetOld to InsetBase
1347 2004-11-25 Angus Leeming <leeming@lyx.org>
1349 * BufferView_pimpl.C:
1351 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1353 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1355 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1356 call BufferView::getStatus if LCursor::getStatus did nothing
1357 (setStatusMessage, getStatusMessage): removed.
1359 * FuncStatus.C (message): new methods. Used to provide an error
1360 message indicating why a command is disabled.
1361 (clear, |=, FuncStatus): update for message.
1363 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1365 * lyxfunc.C (dispatch): always call sendDispatchMessage
1367 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1370 * BufferView_pimpl.C:
1375 * cursor_slice.[Ch]:
1378 * paragraph_funcs.C:
1384 * undo.C: par->pit renaming
1386 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1388 * tabular.C (cellstruct): use initialization, store a shared_ptr
1389 to insettext instead of the insettext directly, adjust to fit.
1390 (operator=): new function
1391 (swap): new function
1392 (rowstruct): use initialization
1393 (columnstruct): use initialization
1394 (ltType): use initialization
1397 * lyxlength.h (swap): new function
1399 * LColor.[Ch] (operator=): use the common semantics
1401 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * lyxfind.C (findNextChange): update the bufferview after setting
1406 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1409 number of InsetOptArgs has already been inserted.
1411 * output_latex.C (latexOptArgInsets): new method. This outputs all
1412 the optarg insets, up to the limit defined in the layout file.
1413 (optArgInset): removed
1414 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1416 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1418 * paragraph.C (isLetter): remove special spellchecker-related
1419 code; return true also for digits
1420 (isWord, isKomma): remove
1422 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1423 * lyxfind.C (MatchString()): use isLetter instead of isWord
1425 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1427 * pariterator.h (operatir=): comment out un-implemented member
1430 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1433 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1435 * lyxfont.h: include LColor.h to satisfy concept checks.
1437 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1439 * pariterator.h: add typdefs for value_type, difference_type,
1440 pointer and reference to satisfy concept checks. Also add default
1441 constructor for same reason.
1443 * pariterator.C (operator++): add post-increment operator to
1444 satisfy concept checks.
1446 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1449 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1451 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1452 checks. Also rename base_type to BaseType to follow naming
1455 * FloatList.h: include Floating.h to satisfy concept checks.
1457 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1459 * lyxfunc.C (getStatus): when the origin of the request is menu or
1460 toolbar, and the LyXView does not have focus, do as if there was
1461 no buffer (bug 1720)
1463 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1464 FuncRequest to individual entries of LFUN_SEQUENCE
1466 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * output_latex.C (TeXOnePar): override runparams.moving_arg
1469 according to the needprotect value of the current paragraph (bug
1472 * paragraph.C (simpleTeXOnePar): no need to override
1473 runparams.moving_args here
1475 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1477 * vspace.C: fix off-by-one-error, related to fix #1682
1479 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1481 * lengthcommon.C: a more general fix for bug 1682
1483 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1485 * text.C (backspace): fix crash
1487 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1489 * format.[Ch] (getFormatFromFile): new method
1490 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1492 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1494 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1496 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * lyxfunc.C (dispatch): remove the verbose argument
1499 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1502 * kbmap.C (defkey): set the origin of func to KEYBOARD
1504 * MenuBackend.C (MenuItem):
1505 * ToolbarBackend.C (add): set the origin of func to UI
1507 * funcrequest.[Ch]: add origin member, which indicates which part
1508 of LyX requests an action
1510 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1512 * converter.C (move): don't lie in the error message
1513 * converter.h (isReachable, move): document
1515 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1517 * buffer.C: remove unused using lyx::support::atoi
1518 * paragraph_funcs.C: ditto
1520 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1522 * bufferlist.C (exists): use bind and equal_to instead of
1525 * lyxtextclasslist.C (NumberOfClass): ditto
1527 * cursor.C (insert): use for_each instead of explicit for loop
1529 * bufferlist.C (getFileNames): use std::transform and
1530 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1532 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1535 * buffer.C (changeLanguage): use for_each instead of explicit for
1537 (hasParWithID): implement using getParFromID
1539 * LaTeXFeatures.C: ws change only
1541 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1544 * BufferView_pimpl.C (trackChanges): use for_each instead of
1547 2004-11-04 André Pönitz <poenitz@gmx.net>
1550 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1552 * dociterator.C (asDocIterator): use hard assert again.
1554 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * lyxlength.C (asLatexString): rewrite so that it does not use
1559 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1561 * text3.C (specialChar, dispatch): make sure cursor moves to the
1562 right after inserting an inset
1564 2004-11-02 José Matos <jamatos@lyx.org>
1566 * output_docbook.C (docbook):
1567 * paragraph.C (getID):
1568 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1569 garantee that the output is always legal.
1571 * tabular.C (docbook):
1572 * outputprams.[Ch]: remove mixed contents.
1574 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1576 * text2.C (setCounter): prevent endless loop
1578 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1580 * exporter.C (copyFile): use the mover instead of support::copy()
1581 * exporter.C (Export): pass format and latex name to copyFile()
1582 * exporter.h (addExternalFile): document
1583 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1585 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1587 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1589 2004-10-30 José Matos <jamatos@lyx.org>
1591 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1592 text and no inset or font change. This allows to use CDATA
1593 sections just for the whole paragraph.
1595 2004-10-30 José Matos <jamatos@lyx.org>
1597 * paragraph.C (getFirstWord): remove unused variable.
1599 2004-10-30 José Matos <jamatos@lyx.org>
1601 * paragraph.C (getFirstWord): the content should always be escaped
1603 (simpleDocBookOnePar):
1604 * output_docbook.C (makeEnvironment): replace reference to CDATA
1607 2004-10-30 José Matos <jamatos@lyx.org>
1609 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1611 2004-10-30 José Matos <jamatos@lyx.org>
1613 * output_docbook.C (makeParagraphs):
1614 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1615 standard paragraph has only a given type of content drop the wrapper.
1617 2004-10-29 José Matos <jamatos@lyx.org>
1619 * output_docbook.C (makeEnvironment):
1621 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1623 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1625 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1626 (cleanID): sanitize any id.
1628 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1630 * buffer.C, lyxlex_pimpl.C:
1631 * lyxlex_pimpl.C (setFile):
1632 s/getExtFromContents/getFormatFromContents/
1634 2004-10-28 José Matos <jamatos@lyx.org>
1636 * output_docbook.C (makeEnvironment): move id to broadest possible
1639 * sgml.C (openTag): apply substitution of <> for all attributes.
1641 2004-10-28 José Matos <jamatos@lyx.org>
1643 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1644 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1645 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1647 * sgml.[Ch]: new version for open and closeTag for paragraph and
1648 for strings. Now they handle the ids of paragraphs.
1650 2004-10-26 Angus Leeming <leeming@lyx.org>
1652 * Makefile.am: add mover.[Ch].
1654 * converter.C (convert, move): use the new Movers to move external
1655 files to the temp directory.
1657 * lyx_main.C (init): ensure that the global system_movers data
1660 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1663 * mover.[Ch]: new files, defining a Mover as a utility to move an
1664 external file between directories and, if necessary, manipulate this
1665 file using a helper script.
1667 2004-10-25 José Matos <jamatos@lyx.org>
1669 * output_docbook.C (makeCommand): merge two if's that tested the
1672 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1674 * sgml.C (escapeString): fix warning in a better way
1676 2004-10-25 José Matos <jamatos@lyx.org>
1678 * sgml.C (escapeString): import the require boosts header file for
1679 tie, and avoid a signed unsigned comparison.
1681 2004-10-25 José Matos <jamatos@lyx.org>
1683 * sgml.h: add #include <string>
1685 2004-10-25 José Matos <jamatos@lyx.org>
1687 * sgml.[Ch] (escapeString): new function to escape all the string.
1689 2004-10-24 José Matos <jamatos@lyx.org>
1691 * paragraph.[Ch] (getFirstWord): new function to get the first
1692 word. Useful for description.
1693 (simpleDocBookOnePar): remove depth argument, add another that
1694 says where to start the paragraph.
1696 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1697 use the new functions to fix cleanly the support for descriptions.
1699 2004-10-24 José Matos <jamatos@lyx.org>
1701 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1702 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1703 * output_linuxdoc.C (linuxdocParagraphs):
1704 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1705 add buffer as argument.
1707 2004-10-24 José Matos <jamatos@lyx.org>
1709 * output_docbook.C (makeEnvironment, searchEnvironment): place
1710 CDATA inside paragraphs and fix scope for listitems.
1712 2004-10-24 José Matos <jamatos@lyx.org>
1714 * output_docbook.C: remove using statement for stack.
1716 2004-10-23 José Matos <jamatos@lyx.org>
1718 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1719 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1720 docbook. The new scheme is recursive and makes use of iterators, the
1721 same as latex export works.
1722 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1723 directly with the paragraph contents. This code was moved up to
1724 output_docbook.C (docbookParagraphs).
1725 * sgml.C (openTag, closeTag): removed unneeded newlines.
1726 (closeEnvTags) removed.
1728 2004-10-23 André Pönitz <poenitz@gmx.net>
1730 * undo.C (textUndoOrRedo):
1731 * dociterator.C (asDocIterator): work around crash
1733 * cursor.C (getStatus): replace ASSERT by more verbose error message
1734 and manual correction of the problem. Should increase stability
1735 while providing more sensible information.
1737 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1739 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1741 * bufferlist.C (previous, next): new methods
1744 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1746 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1748 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1749 entities to preamble.
1751 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1753 * messages.C (Pimpl): strip off translation context information
1755 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1757 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1758 the cursor is correct (bug 1694)
1760 2004-10-13 José Matos <jamatos@lyx.org>
1762 * output_docbook.C (docbookParagraphs): fix closing tags in the
1763 end of the document.
1765 2004-10-09 José Matos <jamatos@lyx.org>
1767 * buffer.C: format up to 237.
1768 * bufferparams.C (write): use tostr to convert booleans to strings.
1770 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1772 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1774 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1776 * LaTeX.C: implement use of babel language in xindy.
1778 2004-10-05 José Matos <jamatos@lyx.org>
1780 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1781 Add new translators to help reading and writing the lyx file.
1783 2004-10-05 José Matos <jamatos@lyx.org>
1785 * ParagraphParameters.C (read):
1786 * text.C (readParToken): replace nexToken by more appropriate lex
1789 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1791 * LaTeX.C (runMakeIndex):
1792 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1793 (usually 'makeindex') configurable.
1795 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1796 with a variable rather than with a number.
1798 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1800 * output_latex.C (TeXOnePar): make sure font setting is the first
1801 thing that gets output (and the last at the end). Should fix bug
1804 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1806 * pch.h: use proper signal include
1808 * LaTeX.h: Use preferred calling of Boost.Signal
1811 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1813 * pch.h: dont include <boost/function/function0.hpp>
1815 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1817 * paragraph_pimpl.h: remove usage of ShareContainer
1819 * paragraph_pimpl.C: remove initialization of ShareContainer.
1821 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1825 * BufferView.C (putSelectionAt): change the semantics when
1826 backwards == true: now, this just swaps cursor and anchor wrt the
1829 * BufferView.h (putSelectionAt): add some documentation
1831 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1832 make sure backwardChar is done at least once (to avoid getting
1834 (findNextChange): use putSelectionAt in the forward direction
1835 (operator()): use Paragraph::isWord
1837 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1839 * Spacing.C (set): c_str fix
1841 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * lyx_cb.C (Reconfigure): quote the name of configure script in
1844 case it contains spaces
1846 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1850 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1851 (BOOST_LIBS): use top_buildir when looking for the file
1853 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1855 * pch.h: do not use include boost/format.hpp, multiple symbols
1856 will result (gcc bug)
1859 2004-08-23 José Matos <jamatos@lyx.org>
1861 * bufferparams.C (readToken): fix reading of the author field.
1863 2004-08-20 José Matos <jamatos@lyx.org>
1865 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1867 2004-08-20 José Matos <jamatos@lyx.org>
1869 * lyxlex.[Ch] (findToken): remove function.
1871 * ParagraphParameters.C (findToken):
1872 * bufferparams.C (findToken): replace call for previous function
1873 with local copy. This local function has one more argument, the
1874 read string argument.
1876 2004-08-16 José Matos <jamatos@lyx.org>
1878 * ParagraphParameters.C (write):
1879 * Spacing.C (writeFile):
1880 * bufferparams.C (writeLaTeX):
1881 * lyx_cb.C (Reconfigure):
1882 * paragraph.C (write):
1883 * tabular.C (write): remove unnecessary space at end of line.
1886 2004-08-16 José Matos <jamatos@lyx.org>
1888 * text.C (readParagraph): remove debug message.
1890 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1892 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1895 * output_plaintext.C (asciiParagraph): set depth correctly
1897 * outputparams.h: add member depth
1899 * paragraph_funcs.C (ownerPar): remove.
1901 * text2.C (setCounter): remove first_pit; comment out some
1902 non-working code that uses ownerPar
1904 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1907 2004-08-16 José Matos <jamatos@lyx.org>
1909 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1910 For the same level of importance use the same chanel to report problems.
1911 (read): add code to deal with \begin_body and \end_body.
1914 2004-08-15 José Matos <jamatos@lyx.org>
1916 * lyxlex.C (getString): fix comment, buffer::readBody is now
1917 buffer:readDocument.
1919 * tex-strings.C (string_papersize): Default -> default,
1920 Custom -> custom, for consistency with other options.
1922 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1926 * Makefile.am: support pch
1928 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1930 * text.C (readParToken): remove the static LyXFont variable and
1931 pass it as a parameter instead. This fixes a nasty bug where an
1932 inset will be inserted with a bad font in some situations
1933 (readParagraph): adapt
1935 * text2.C (setCounter): reduce number of calls to pars_[pit]
1937 * text.C (singleWidth): add an assert, fix a test
1939 * rowpainter.C (paintText): reduce number of calls to singleWidth
1941 * paragraph.C (isHfill):
1942 (isNewline): ws only
1944 2004-08-14 André Pönitz <poenitz@gmx.net>
1949 * lyxtext.h (several functions): use a Paragraph & argument
1952 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1954 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1956 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1958 * text.C (singleWidth): remove useless test
1960 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1962 * tabular.h: remove bogus comments
1964 * tabular.C (getDescentOfRow):
1965 (isPartOfMultiColumn): add assertions
1967 * lyxlength.C (inPixels): remove #warning
1969 2004-08-14 André Pönitz <poenitz@gmx.net>
1971 * paragraph.h: inline getChar()
1973 * BufferView.h: remove unused declarations
1975 2004-08-14 José Matos <jamatos@lyx.org>
1977 * Buffer.[Ch] (readDocument): new name for old readBody.
1978 * Buffer.C: new file format, new keywords: \begin_document,
1979 \begin_header, \begin_body, \end_body.
1981 * bufferparams.C (readToken): replace all calls to lex.nextToken
1982 by lex.next(). Do the same to eatLine except where really needed.
1984 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1985 line when writing to the lyx file.
1987 * output_plaintext.C (asciiParagraph): fix Bibliography style
1990 * text.C (read): fix end of file handling.
1992 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1994 * MenuBackend.C (Menu::operator[]): new method to access
1995 individual menu items
1996 (Menu::hasFunc): new method. search for an item that corresponds
1998 (MenuBackend::specialMenu): new method
1999 (MenuBackend::expand): if a special menu has been set, skip
2000 entries whose func() appears in this menu
2002 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2004 * text3.C: use Debug::DEBUG a bit more
2006 * text.C (leftMargin): try to simplify a tiny bit change var x to
2007 l_margin. Dont output the wide margins always.
2008 (rightMargin): no margin in inner texts
2010 * rowpainter.h (nestMargin): new func
2011 (changebarMargin): new func
2012 (rightMargin): new func
2014 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2018 * factory.C (createInset): modify setDrawFrame
2020 * cursor.C: use Debug::DEBUG a bit more
2022 2004-08-14 André Pönitz <poenitz@gmx.net>
2025 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2026 cache for all insets in (at least partially) visible (top-level)
2029 * BufferView_pimpl.C: reset external coord cache before every update.
2030 This means the coord cache only contains valid entries.
2032 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2035 * BufferView_pimpl.C (getInsetByCode): move function out of class
2036 and change in to a template in anon namespace. Also fix to do what
2039 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2042 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2044 (breakParagraph): rename par to par_offset and use a local
2045 reference. Add code to keep the language over a rebreak.
2046 (breakParagraphConservative): rename par to par_offset, use a
2048 (mergeParagraph): ditto
2050 (isFirstInSequence): ditto
2051 (outerFont): rename pit to par_offset
2053 * paragraph.C: ws change
2054 * paragraph.h: ditto
2058 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2060 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2063 * paragraph.C (simpleTeXOnePar): when we have a \item with
2064 optional argument, enclose the argument with curly brackets (in
2065 case it contains a closing square bracket)
2069 * text3.C (checkInsetHit): constify
2071 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2073 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2074 documents (bug 1629)
2076 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2078 Fix toggling of collapsable insets with the mouse (bug 1558)
2080 * lyxfunc.C (dispatch): adapt to LCursor changes
2082 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2083 make sure that dispatch is not invoked twice
2085 * cursor.C (needsUpdate): new method
2086 (dispatch): return void
2087 (result): new method, to access the DispatchResult of the cursor.
2089 2004-08-13 José Matos <jamatos@lyx.org>
2091 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2093 2004-08-13 André Pönitz <poenitz@gmx.net>
2095 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2097 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2100 2004-08-12 André Pönitz <poenitz@gmx.net>
2102 * text3.C: take out the 'cursor right' form insertInset and only
2103 do it in those places when it is really needed. Fixes crash on
2106 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2108 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2110 * BufferView_pimpl.C (setBuffer): initialize the current font of
2111 the underlying LyXText
2113 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * kbsequence.C (print): use UI native formatting for menu
2118 * text.C (insertChar): call Paragraph::insertChar with a font
2121 * paragraph.C (insertInset, insertChar): the version that takes a
2122 LyXFont argument is now a wrapper around the other one (the
2123 opposite used to be true).
2125 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2126 argument. Font setting is done in Paragraph now.
2128 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2130 * outputparams.h: add new members intitle and lang.
2132 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2133 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2135 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2137 * text3.C (dispatch): remove special handling of button 4 and 5,
2138 it is now taken care of in the frontend code.
2140 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2142 * Spacing.h: add <string> (STLPort compile fix)
2144 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2146 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2148 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2150 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2153 * converter.C (showMessage): inherit from unary_function, make
2156 * buffer.C (writeFile): initialize retval
2158 * InsetList.h: rename private variable list to list_
2159 * InsetList.[Ch]: adjust accordingly.
2161 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2163 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2164 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2165 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2166 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2167 * ParagraphParameters.C, LaTeXFeatures.C: replace
2168 "support/std_sstream.h" with <sstream>
2170 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2172 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2173 * lyxsocket.C (LyXServerSocket): ditto
2174 (serverCallback): ditto
2176 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2178 * LaTeXFeatures.C: check release date when loading jurabib.
2180 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2182 * lyxserver.C (startPipe): call register_socket_callback
2183 (endPipe): call unregister_socket_callback
2185 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2187 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2188 (LyXServerSocket): register the callback
2189 (LyXServerSocket): unregister the callback
2190 (fd): delete function
2191 (serverCallback): improve error checking and setup the callbacks.
2192 (dataCallback): change arg to fd.
2193 (writeln): new func (copied fro the client socket) used for server
2195 (LyXDataSocket): simplify
2196 (~LyXDataSocket): close ann unregiser callback
2197 (server): delete function
2198 (fd): delete function
2199 (readln): small changes, improve some std::string usage
2200 (writeln): constify a bit
2202 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2204 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2207 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2209 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2210 after it has been populated
2212 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2214 * text2.C (insertInset): move cursor when inserting inset.
2216 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * kbmap.C (findbindings): a couple of new methods. returns a
2219 container of kb_sequence objects. The real work is done by the
2220 private recursive version
2221 (printbindings): uses findbindings to print out a bracketed list
2222 of bindings (renamed from findbinding).
2224 * MenuBackend.C (binding): use kb_keymap::findbindings
2226 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2228 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2230 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2232 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * paragraph.C (isWord): return true on insets that report
2237 * text.C (getWord): use Paragraph::isWord to decide what is in a
2238 word and what is not; fix bug 1609.
2240 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2242 * tex-strings.C: add "none" to string_paperpackages[], fixes
2243 off-by-one-error in the paperpackage selection.
2246 * tex-strings.[Ch]: char const * string[n]
2247 -> char const * const string[]
2249 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2251 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2252 command, return early.
2254 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2256 * debug.h: add DEBUG to enum and fix size of ANY.
2258 * debug.C: add support for Debug::DEBUG
2259 (showTags): cast errorTags.level to unsigned int
2261 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2262 (redoCurrentBuffer): ditto
2263 (updateScrollbar): ditto
2264 * cursor.C (dispatch): ditto
2265 * text2.C (setLayout): ditto
2267 (updateCounters): ditto
2269 (deleteEmptyParagraphMechanism): ditto
2271 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2273 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2274 annotations to cleanup the Makefile slightly.
2276 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2278 * lyxrc.C: do not set user_email to a default value but use empty
2279 instead. The entry used to be translated, which does not work
2280 since at the point where lyxrc is constructed there is no
2281 translation service available
2283 * messages.C (getLocaleDir): remove and use directly
2284 lyx_localedir() instead
2286 2004-06-02 Angus Leeming <leeming@lyx.org>
2288 Fix crash caused by dereferencing null pointer 'exportdata' in
2289 OutputParams by creating a new ExportData variable on the heap,
2290 storing it in a boost::shared_ptr.
2291 The crash was triggered when generating an Instant Preview
2292 of an external inset.
2294 * Makefile.am: add outputparams.C
2296 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2297 (c-tor): allocate memory to it.
2299 * exporter.C (c-tor): associated changes.
2301 2004-06-01 Angus Leeming <leeming@lyx.org>
2303 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2304 contains data before calling isInset(0). (Bug 1513.)
2306 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2308 * exporter.C (checkOverwrite): new method
2309 * exporter.C (copyFile): new method
2310 * exporter.C (Export): copy referenced files to the document dir
2311 * exporter.[Ch]: new class ExportedFile
2312 * exporter.[Ch]: new class ExportData. Contains currently the
2313 names of referenced external files
2314 * outputparams.h: add exportdata member.
2316 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2318 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2321 2004-05-19 Angus Leeming <leeming@lyx.org>
2326 * lyxfunc.C: small changes due to the introduction of namespace
2327 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2329 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2331 * text3.C (dispatch): supress update when only moving the cursor
2332 * cursor.C (selHandle): remove commented code
2334 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2336 * paragraph.C (startTeXParParams): correct column count
2337 * CutAndPaste.C (pasteSelection): remove const_cast
2338 * output_docbook.C (docbookParagraphs): remove const_cast
2339 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2340 const_cast and return ParagraphList::const_iterator
2341 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2342 * output_plaintext.C (writeFileAscii): remove const_cast
2343 * paragraph.[Ch] (simpleTeXOnePar): make const
2344 * paragraph_funcs.C (outerPar): use const iterators
2345 * paragraph_pimpl.C (validate): use const iterators
2346 * text.C (setHeightOfRow): use const iterators
2348 2004-05-17 Angus Leeming <leeming@lyx.org>
2351 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2353 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2354 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2355 if the citation engine has changed.
2357 2004-05-14 José Matos <jamatos@lyx.org>
2359 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2360 if the textclass does not provide it. Have it different for sgml and
2362 support the language of document.
2363 * output_docbook.C (docbookParagraphs):
2364 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2365 first anchor as the id of the paragraph, remove special case code.
2366 * sgml.C (escapeChar): escape only < & >.
2368 2004-05-14 Angus Leeming <leeming@lyx.org>
2370 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2371 dependencies on src/frontends/controllers/biblio.h. Define a
2372 CiteEngine_enum wrapper class to enable the enum to be forward
2375 2004-05-12 Angus Leeming <leeming@lyx.org>
2377 * buffer.C: up LYX_FORMAT to 234.
2378 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2379 use_numerical_citations with a single biblio::CiteEngine cite_engine
2381 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2383 2004-05-13 José Matos <jamatos@lyx.org>
2386 * converter.C (Converter, readFlags): add xml member.
2387 * outputparams.h: add XML flavor.
2388 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2390 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2392 * lyxfunc.C (dispatch):
2393 (getStatus): fix handling of LFUN_SEQUENCE
2395 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2397 * debug.C (showLevel): do not forget the end-of-line marker
2399 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2401 * kbmap.C (read): do not stop parsing a bind file when an error
2404 2004-04-29 Angus Leeming <leeming@lyx.org>
2409 * text2.C: wrap a bunch of #warning statements
2410 inside #ifdef WITH_WARNINGS blocks.
2412 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2414 * buffer.C: increment format to 233.
2416 2004-04-28 Angus Leeming <leeming@lyx.org>
2418 * BufferView_pimpl.C:
2421 s/updateToolbar()/updateToolbars()/
2422 s/Toolbar.h/Toolbars.h/
2424 2004-04-28 Angus Leeming <leeming@lyx.org>
2426 * BufferView.[Ch] (c-tor):
2427 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2428 No longer passes these data to the WorkArea generator.
2430 2004-04-28 Angus Leeming <leeming@lyx.org>
2432 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2434 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2436 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2438 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2440 * output_latex.C (TeXEnvironment): make sure that there is a line
2441 break before \end{foo} for the last paragraph of a document
2442 (TeXOnePar): if the paragraph is at the end of the document (or
2443 inset) and the language has to be reset, then make sure that the
2444 line break is _before_ the language command, not after (fixes bug
2445 1225); also make sure that the language reset command is the first
2446 thing after the paragraph (to ensure proper nesting of
2447 environments and thus fix bug 1404)
2449 2004-04-21 John Levon <levon@movementarian.org>
2452 * ToolbarBackend.C: make "name" be a programmatic name
2453 and a gui_name field.
2455 * lyxfunc.C: display the minibuffer on M-x
2457 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2459 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2462 2004-04-19 Angus Leeming <leeming@lyx.org>
2464 * BufferView_pimpl.C (setBuffer): changed preview interface.
2466 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2469 2004-04-19 John Levon <levon@movementarian.org>
2471 * BufferView_pimpl.C:
2472 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2474 2004-04-05 Angus Leeming <leeming@lyx.org>
2476 * text.C (redoParagraphs): add call to updateCounters(), thereby
2477 fixing the missing "Figure #:" label from the caption of a
2480 2004-04-13 Angus Leeming <leeming@lyx.org>
2482 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2483 cursor is clicked out of an inset.
2485 2004-04-13 Angus Leeming <leeming@lyx.org>
2487 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2488 than an InsetOld one.
2490 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2492 * format.[Ch]: add editor to Format
2493 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2494 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2496 2004-04-08 André Pönitz <poenitz@gmx.net>
2498 * metricsinfo.h: remove PainterInfo::width member
2500 2004-04-08 Angus Leeming <leeming@lyx.org>
2502 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2503 "\providecommand" rather than "\newcommand", thereby preventing
2504 clashes with packages that define "\boldsymbol" themselves.
2507 2004-04-08 Angus Leeming <leeming@lyx.org>
2509 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2510 thereby squashing an unnecessary warning.
2512 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2514 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2517 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2519 * BufferView.C (setCursor): call redoParagraph (some insets could
2521 (putSelectionAt): remove the 'double update' trick
2523 * BufferView_pimpl.C (fitCursor): call refreshPar
2524 (workAreaDispatch): remove an uneeded update call
2525 (dispatch): remove some manual update calls
2527 * cursor.[Ch]: remove cached_y_, updatePos
2528 (selHandle): set noUpdate when appropriate
2530 * lyxfunc.C (dispatch): track if we need an update
2532 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2534 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2535 (paintSelection): cheap optimization, do not call cursorX when not
2537 (paintPars): change signature
2540 (paintTextInset): adjust
2544 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2546 * lengthcommon.C: compilation fix: remove explicit array size from
2547 unit_name[] and friends
2549 2004-04-05 Angus Leeming <leeming@lyx.org>
2551 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2553 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2554 present only for the preferences dialog.
2555 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2557 2004-04-05 Angus Leeming <leeming@lyx.org>
2559 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2560 to enable the frontends to export changes to lyxrc correctly.
2562 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2564 2004-04-07 André Pönitz <poenitz@gmx.net>
2566 * cursor.[Ch] (selClear, adjust): remove math
2568 * cursor_slice.C: more agressive assert
2571 * BufferView_pimpl.C: rework mouse event dispatch
2578 2004-04-05 André Pönitz <poenitz@gmx.net>
2580 * cursor.[Ch] (valign, halign...): remove unneeded functions
2582 2004-04-05 Angus Leeming <leeming@lyx.org>
2584 * lyxlength.[Ch] (unit_name et al.): const-correct.
2586 2004-04-05 Angus Leeming <leeming@lyx.org>
2588 * BufferView_pimpl.C:
2597 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2599 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2601 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2603 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2605 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2606 * BufferView_pimpl.[Ch] (getStatus)
2607 * BufferView.[Ch] (getStatus): add
2608 * lyxfunc.C (getStatus): move lfuns handled in
2609 BufferView::dispatch to te function above
2610 * Cursor.C (setSelection): set selection() = true
2612 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2614 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2616 2004-03-31 Angus Leeming <leeming@lyx.org>
2618 * lyxfunc.C (dispatch): Fall through to the generic
2619 Dialogs::show("preamble").
2621 2004-03-31 Angus Leeming <leeming@lyx.org>
2623 * lyxfunc.C (dispatch): Fall through to the generic
2624 Dialogs::show("spellchecker").
2626 2004-03-31 Angus Leeming <leeming@lyx.org>
2628 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2631 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2636 * insetiterator.[Ch]:
2641 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2643 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2645 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2646 insets where we are putting the cursor.
2648 2004-03-31 Angus Leeming <leeming@lyx.org>
2651 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2653 * lyxrc.[Ch] (read, write): overloaded member functions taking
2654 a std::[io]stream arguments.
2656 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2658 2004-03-31 Angus Leeming <leeming@lyx.org>
2660 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2661 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2663 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2664 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2666 2004-03-31 Angus Leeming <leeming@lyx.org>
2668 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2669 the LFUN_ALL_INSETS_TOGGLE code.
2671 2004-03-30 Angus Leeming <leeming@lyx.org>
2673 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2674 has died. Fall through to the generic Dialogs::show("document").
2676 2004-03-30 Angus Leeming <leeming@lyx.org>
2679 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2680 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2682 * lyxfunc.C (getStatus, dispatch): define the actions for these
2683 lfuns. Little more than a cut and pste job from ControlDocument.C
2685 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2687 2004-03-30 Angus Leeming <leeming@lyx.org>
2690 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2691 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2693 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2694 open/closed state of ollapsable insets. Usage:
2696 all-inset-toggle <state> <name>, where
2697 <state> == "open" || "closed" || "toggle" and
2698 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2700 * lyxtext.h, text2.C (toggleInset): removed.
2702 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2703 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2704 now passes LFUN_INSET_TOGGLE to the found inset.
2706 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2707 is now invoked as "all-insets-toggle toggle branch".
2709 2004-03-30 Angus Leeming <leeming@lyx.org>
2713 * pariterator.[Ch]: added/corrected header blurb.
2715 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2717 * dociterator.[Ch]: add an inset_ member
2718 (backwardPos): implemented
2719 (backwardPos, forwardPos): use inset_ when the stack is empty.
2720 (doc_iterator_begin, doc_iterator_end): implemented
2721 * pariterator.[Ch]: adjust, add begin, end
2722 * insetiterator.[Ch]: adjust, add begin, end
2726 * BufferView_pimpl.C:
2727 * CutAndPaste.C: adjust
2729 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2731 * buffer.C: increment file format to 232.
2732 * LaTeXFeatures.C: add bibtopic package.
2733 * bufferparams.[Ch]: param \use_bibtopic.
2735 * lyxrc.[Ch]: add lyxrc bibtex_command
2736 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2738 * buffer.C: increment file format to 231.
2740 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2742 * dociterator.C: implement forwardPar
2743 * iterators.[Ch]: remove, replaced by
2744 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2746 * BufferView_pimpl.C:
2749 * bufferview_funcs.C:
2755 * Makefile.am: adjust
2757 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2759 * CutAndPaste.C (pasteSelection): fix 2 crashes
2760 (eraseSelection): fix a crash
2761 * paragraph_funcs.C: remove a warning
2763 2004-03-28 Angus Leeming <leeming@lyx.org>
2766 * LyXAction.C (init): new LFUN_PRINT.
2768 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2770 2004-03-27 Angus Leeming <leeming@lyx.org>
2773 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2775 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2777 2004-03-27 Angus Leeming <leeming@lyx.org>
2779 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2780 insetlist always contains non-null pointers to insets.
2782 2004-03-26 Angus Leeming <leeming@lyx.org>
2784 * src/BufferView_pimpl.C:
2785 * src/CutAndPaste.C:
2788 * src/output_plaintext.C:
2789 * src/outputparams.h:
2790 * src/paragraph_funcs.C:
2794 * src/frontends/controllers/ControlErrorList.C:
2795 * src/frontends/gtk/FileDialogPrivate.C:
2796 * src/frontends/gtk/GPainter.C:
2797 * src/frontends/gtk/GToolbar.C:
2798 * src/frontends/qt2/QRef.C:
2799 * src/mathed/math_scriptinset.C: squash compiler warnings.
2801 2004-03-26 Angus Leeming <leeming@lyx.org>
2803 * ispell.C (LaunchIspell::start):
2804 * lyx_cb.C (AutoSaveBuffer::start):
2805 invoke run(DontWait) rather than runNonBlocking().
2807 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2809 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2811 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2813 * kbsequence.C (print): adjust
2815 * kbmap.C (printKeySym): rename and change signature
2816 (printKey): use LyXKeySym::print()
2818 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2820 * undo.C: add using std::advance to compile for stlport
2822 2004-03-24 Angus Leeming <leeming@lyx.org>
2824 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2825 it leads to a crash when no buffer is present.
2827 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2828 Martin Vermeer <martin.vermeer@hut.fi>
2830 * lyxfunc.C (dispatch):
2831 * bufferparams.C (readToken): use the new LColor::setColor
2833 * LColor.[Ch] (setColor): new version that takes two strings as
2834 argument and creates a new color entry if necessary
2836 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2838 * buffer.C (makeLaTeXFile): if the main latex file that is
2839 processed is usually a subdocument of some master, then pretend
2840 for a while that it is actually the master
2842 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2844 * buffer.C (getLabelList):
2845 (getBibkeyList): use getMasterBuffer()
2846 (getMasterBuffer): new method. Returns the main document in the
2847 case where one is using included documents.
2849 2004-03-25 André Pönitz <poenitz@gmx.net>
2853 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2855 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2857 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2858 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2860 * ParameterStruct.h: merge with ParagraphParameters
2862 * lyxtext.h: remove LyXText::parOffset() and getPar()
2864 * text3.C: Remove all 'manual' update calls. We do now one per user
2865 interaction which is completely sufficient.
2869 * BufferView_pimpl.C:
2870 * FontIterator.[Ch]:
2872 * ParagraphParameters.[Ch]:
2877 * cursor_slice.[Ch]:
2884 * output_docbook.[Ch]:
2885 * output_latex.[Ch]:
2886 * output_linuxdoc.[Ch]:
2887 * output_plaintext.[Ch]:
2889 * paragraph_funcs.[Ch]:
2890 * paragraph_pimpl.[Ch]:
2898 * frontends/controllers/ControlDocument.C:
2899 * frontends/controllers/ControlErrorList.C:
2900 * frontends/controllers/ControlSpellchecker.C:
2903 * insets/insetbase.h:
2904 * insets/insetbibitem.C:
2905 * insets/insetbox.C:
2906 * insets/insetbranch.C:
2907 * insets/insetcaption.C:
2908 * insets/insetcharstyle.C:
2909 * insets/insetcharstyle.h:
2910 * insets/insetcollapsable.C:
2911 * insets/insetcollapsable.h:
2912 * insets/insetert.C:
2913 * insets/insetfloat.C:
2914 * insets/insetfoot.C:
2915 * insets/insetmarginal.C:
2916 * insets/insetnote.C:
2917 * insets/insetoptarg.C:
2918 * insets/insettabular.C:
2919 * insets/insettext.C:
2920 * insets/insettext.h:
2921 * insets/insetwrap.C:
2922 * mathed/math_mboxinset.C:
2923 * mathed/math_nestinset.C:
2924 * mathed/math_scriptinset.C:
2925 * mathed/math_scriptinset.h:
2928 2004-03-24 Angus Leeming <leeming@lyx.org>
2930 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2931 deal with any child processes that have finished but are waiting to
2932 communicate this fact to the rest of LyX.
2934 2004-03-24 Angus Leeming <leeming@lyx.org>
2936 64-bit compile fixes.
2938 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2939 (c-tor): pass lyx::pos_types rather than ints.
2941 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2944 * text.C (Delete): compile fix.
2945 (getPar): ensure that function declaration is the same as that in
2948 2004-03-23 Angus Leeming <leeming@lyx.org>
2950 * ispell.C (LaunchIspell):
2951 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2952 a boost::shred_ptr rather than a std::auto_ptr.
2954 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2956 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2957 handle LFUN_FILE_INSERT_*
2959 * lyxrc.C (setDefaults, getDescription, output, read):
2960 * lyxrc.h: remove ps_command
2962 2004-03-22 Angus Leeming <leeming@lyx.org>
2964 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2965 Ensure that error_handler is processed once only and that all data
2966 is saved before attempting to output any warning messages.
2968 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2970 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2972 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2974 2004-03-19 André Pönitz <poenitz@gmx.net>
2976 * cursor.[Ch] (reset): take main text inset as argument
2978 * BufferView: adjust
2979 * BufferView_pimpl.C: adjust
2981 * paragraph.[Ch]: fix completely broken operator=()
2983 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2985 * LColor.C (getFromLyXName): make sure that the color name is used
2988 2004-03-17 Angus Leeming <leeming@lyx.org>
2991 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2993 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2994 dialog and to kill a forked process.
2996 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2998 * text2.C (setCursorFromCoordinates): fix font problem
3000 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3002 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3003 bogus "rebuild cursor" code
3005 2004-03-11 André Pönitz <poenitz@gmx.net>
3007 * buffer.[Ch]: use InsetText instead of LyXText as container for
3010 * dociterator.[Ch]: drop the BufferView * member which is not needed
3011 anymore after the change to buffer.C
3013 * paragraph_funcs.C:
3017 * BufferView_pimpl.[Ch]:
3019 * cursor_slice.[Ch]: adjust
3021 * text3.C: fix bug in mathDispatch
3023 2004-03-08 André Pönitz <poenitz@gmx.net>
3025 * undo.[Ch]: use 'StableDocumentIterator' as base for
3028 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3031 * bufferparams.[Ch]: add jurabib support and param.
3033 * LaTeX.C: add FIXME/comment.
3035 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3037 * buffer.C: increment file format to 230.
3039 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3041 * cursor.C (dispatch): avoid infinite loops
3043 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3045 * rowpainter.C (paintSelection): fix x coordinates
3047 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3049 * text.C (rowBreakPoint): fix breaking before displayed insets
3051 2004-03-01 André Pönitz <poenitz@gmx.net>
3053 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3055 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3059 * BufferView_pimpl.C:
3067 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3073 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3074 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3076 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3078 * Bidi.[Ch] (computeTables): const correctness
3079 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3080 fill_hfill, fill_label_hfill and x from Row
3081 * lyxtext.h: prepareToPrint returns a RowMetrics
3082 * rowPainter.C: adjust
3083 * text.C (prepareToPrint): use width, not textWidth. adjust
3084 (redoParagraphInternal, cursorX): adjust
3085 * text2.C (getColumnNearX): adjust
3086 (init): put a default value to the top LyXText::width
3088 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3090 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3092 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3094 * lyxtext.h: add FontIterator class
3096 * text.C (FontIterator, operator*, operator->, operator++): add
3097 (rowBreakPoint, setRowWidth): adjust (fixing a
3100 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3102 * BufferView_pimpl.C (workAreaDispatch): allow also
3103 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3105 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3107 * text.C (rowBreakPoint): fix a bug showing with very large insets
3109 2004-02-25 André Pönitz <poenitz@gmx.net>
3112 * cursor.[Ch]: move some mathed specific code to mathed
3114 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3116 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3117 use_tempdir in preferences
3118 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3120 * lyx_main.C: ensure that tempdir is valid
3121 * lyxlex.h: correct typo
3122 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3123 * paragraph.[Ch] (isMultiLingual): make const
3124 * cursor.[Ch] (openable): make const
3126 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3128 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3130 2004-02-20 André Pönitz <poenitz@gmx.net>
3132 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3134 * cursor.[Ch]: prepare for localized getStatus()
3140 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3142 2004-02-20 André Pönitz <poenitz@gmx.net>
3144 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3146 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3148 * text2.C (setCursorFromCoordinates): switch to absolute coords
3150 (cursorDown): adjust
3151 * text3.C (dispatch): adjust
3153 2004-02-16 André Pönitz <poenitz@gmx.net>
3155 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3158 * cursor_slice.[Ch]: remove unneeded acessor function
3160 * lyxtext.h: rename rtl() to isRTL()
3168 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3170 * rowpainter.C (paintSelection): coord fix
3172 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3174 * Spacing.C: compile fix
3176 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3178 * cursor.C (dispatch): restore current_ before returning
3180 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3182 * text2.C (cursorUp, cursorDown): fix coords
3185 2004-02-12 André Pönitz <poenitz@gmx.net>
3190 * text3.C: add LCursor & parameter to most cursor movement functions
3191 remove usage of LyXText::cursorRow() and cursorPar()
3193 * cursor.[Ch]: add textRow() needed members
3196 * BufferView_pimpl.C:
3199 * BufferView_pimpl.C: adjust
3201 2004-02-11 André Pönitz <poenitz@gmx.net>
3205 * BufferView_pimpl.C: shift undo/redo handling
3207 * cursor.[Ch]: fix mathed crash
3210 * lyxtext.h: move selectionAsText to LCursor
3218 * rowpainter.C: fix excessive drawing
3220 2004-02-06 André Pönitz <poenitz@gmx.net>
3223 * BufferView_pimpl.[Ch]:
3224 * text3.C: move some text specific LFUN handling
3226 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3228 * text3.C (checkInsetHit): adjust coords
3229 * text2.C (getColumnNearX): adjust coords
3230 (edit): adjust coords
3231 * text.C (getRowNearY): add two asserts
3233 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3236 * format.C: add using std::distance to compile on gcc 2.95/stlport
3238 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3240 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3242 2004-02-04 André Pönitz <poenitz@gmx.net>
3244 * BufferView.[Ch] (insertInset):
3245 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3250 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3252 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3253 on the default clause of the switch
3254 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3255 wasn't catched by LCursor::dispatch
3257 2004-02-03 André Pönitz <poenitz@gmx.net>
3260 * cursor.[Ch]: some additional asserts
3262 * undo.[Ch]: remove LyXText dependency in interface
3266 * lyxtext.h (firstPar, lastPar): remove dead functions
3271 * paragraph.[Ch]: adjust
3273 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3275 * lyxfind.C (find): fix argument order in call to ::find
3277 2004-02-02 André Pönitz <poenitz@gmx.net>
3279 * cursor.[Ch]: remove direct access to anchor
3281 * text.C: remove findText() hack
3283 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3285 * iterators.[Ch] (lockPath): remove in favour of...
3286 * BufferView.[Ch] (setCursor): this addition
3287 * BufferView.C (putSelectionAt): adjust
3288 * undo.C (performUndoOrRedo): adjust
3289 * lyxfunc.C (dispatch): adjust
3291 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3293 * iterators.C (lockPath): add a missing slice
3294 * undo.C (performUndoOrRedo): remove redundant positioning code
3296 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3298 * vc-backend.C (scanMaster): ";" -> ';'
3300 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3302 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3303 std::binary_function
3305 * lyxtextclass.C (compare_name): rename to...
3306 (LayoutNamesEqual): ...this
3308 * lyxlex_pimpl.C (compare_tags): inherit from
3309 std::binary_function, put back into anon namespace
3311 * lyxfind.C (MatchString): inherig from std::binary_function
3312 (findChange): use empty() istead of !size()
3314 * format.C (FormatNamesEqual): new functor
3321 * converter.C (compare_Converter): rename to...
3322 (ConverterEqual): ...this, and fixup a bit.
3323 (getConverter): use it, and make function const
3324 (getNumber): use it, and make function const
3328 * bufferlist.C: add using boost::bind
3330 * MenuBackend.C (MenuNamesEqual): new functor
3331 (hasMenu): use it, and make function const
3332 (hasSubmenu): use nested bind to get rid of compare_memfun.
3334 2004-01-30 André Pönitz <poenitz@gmx.net>
3336 * BufferView_pimpl.C:
3339 * cursor_slice.[Ch]:
3342 * paragraph_funcs.C:
3343 * paragraph_funcs.h:
3347 * text3.C: move some of the edit(x,y) handling to the insets
3348 some coordinate changes.
3350 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3352 * text.C: add using statements for std::advance and std::distance
3354 * paragraph.C: add using statement for std::distance
3356 * lyxfind.C: add using statement for std::advance
3358 * cursor.C (region): remove std:: from swap
3359 (openable): use nucleus in stead of operator->
3361 * BufferView.C: add using statements for std::distance and std::swap
3363 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3365 * iterators.C: Remove the pimple, move the needed structures to
3366 the header file. Create accessor for the positions stack.
3367 (asPosIterator): remove function
3369 * PosIterator.C (PosIterator): move constructors to top of file
3370 (PosIterator): reimplement the constructor taking a ParIterator in
3372 (setFrom): new function
3373 (operator!=): inline it
3375 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3377 * lyxfind.C (replaceAll): use std::advance
3379 * iterators.h: inherit from std::iterator.
3381 * PosIterator.C (advance, distance): remove
3382 * PosIterator.h: interit from std::iterator.
3384 2004-01-26 André Pönitz <poenitz@gmx.net>
3387 * BufferView_pimpl.[Ch]:
3391 * bufferview_funcs.C:
3401 * output_linuxdoc.C:
3402 * output_plaintext.C:
3404 * paragraph_funcs.[Ch]:
3405 * paragraph_pimpl.[Ch]:
3411 * text3.C: more IU: dumps most of the rest of the mathcursor
3412 implementation into cursor.[Ch]; "globalize" a bit of it.
3414 2004-01-25 Angus Leeming <leeming@lyx.org>
3416 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3418 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3420 * LaTeXFeatures.h: add nice_ and nice() const
3421 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3423 2004-01-20 André Pönitz <poenitz@gmx.net>
3426 * BufferView_pimpl.C:
3428 * bufferview_funcs.C:
3430 * cursor_slice.[Ch]:
3441 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3442 LCursor and mathcursor parts to LCursor and InsetBase.
3444 2004-01-15 André Pönitz <poenitz@gmx.net>
3446 * cursor_slice.[Ch]: add a few covienience functions
3448 * funcrequest.[Ch]: remove BufferView * member
3450 * BufferView_pimpl.C:
3457 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3459 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3461 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3462 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3464 2004-01-13 André Pönitz <poenitz@gmx.net>
3467 * lyxtext.h: hide cursor and selection anchor behind accessor function
3470 * BufferView_pimpl.[Ch]:
3472 * bufferview_funcs.C:
3482 * cursor_slice.[Ch]: some integer type changes for inset unification
3484 * lyxcursor.[hC]: remove, it's CursorSlice now.
3487 * BufferView_pimpl.[Ch]:
3488 * bufferview_funcs.C:
3494 * textcursor.[Ch]: adjust
3496 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3498 * text2.C (undoSpan): add and use
3499 * text.C (breakParagraph): use undoSpan (fix bug 578)
3502 2004-01-08 Angus Leeming <leeming@lyx.org>
3504 * BufferView_pimpl.C (MenuInsertLyXFile):
3505 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3506 * lyxfunc.C (menuNew, open, doImport):
3507 FileFilterList change to the FileDialog open and save functions.
3509 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3511 * ShareContainer.h: make isEqual and isUnique adaptable
3513 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3515 2004-01-07 Angus Leeming <leeming@lyx.org>
3518 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3520 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3522 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3523 functions replacing find, replace and replaceAll.
3525 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3526 LFUN_WORDFIND(FORWARD|BACKWARD).
3528 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3530 * text.C (breakParagraph): remove an outdated #warning
3532 2004-01-07 André Pönitz <poenitz@gmx.net>
3534 * lyxfind.C: somewhat clearer logic
3536 * text.C: prevent crash in cursorX on unitialized row cache
3538 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3540 * lyxcursor.[Ch] (operator>): add
3541 * textcursor.C (selStart, selEnd): use std::min and std::max
3543 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3545 * Chktex.C: include boost/format.hpp
3547 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3549 * InsetList.C: replace functor MathcIt with adaptable functor
3551 (insetIterator): modify accordingly
3553 * BranchList.h: move the BranchNamesEqual functor here from...
3554 * BranchList.C: ... to here
3556 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3558 (add): replace a finding loop with std::find_if.
3560 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3562 * output_docbook.C: moving LatexParam functionality into
3565 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3567 * buffer.C: increment format to 229.
3569 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3572 * lyx_sty.[Ch]: remove minipageindent_def
3578 * text3.C: remove LFUN_INSET_MINIPAGE
3580 2003-12-28 Angus Leeming <leeming@lyx.org>
3582 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3584 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3586 * text2.C (setParagraph): fix off-by-one crash
3588 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3590 * output_docbook.C: header stuff for AGU
3592 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3594 * text2.C (redoCursor): remove
3597 * BufferView_pimpl.C: remove calls to redoCursor and
3598 setCursor(cursor.par(), cursor.pos()) all around
3600 2003-12-15 Angus Leeming <leeming@lyx.org>
3602 * buffer.C: up the format to 228.
3604 2003-12-15 André Pönitz <poenitz@gmx.net>
3606 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3611 * BufferView_pimpl.C:
3620 2003-12-15 Angus Leeming <leeming@lyx.org>
3622 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3623 than getFromGUIName to manipulate the color.
3625 2003-12-14 Angus Leeming <leeming@lyx.org>
3627 * BranchList.[Ch]: minimize the API.
3628 (Branch::getBranch, getColor): now return a 'const &'.
3629 (Branch::setSelected) now returns a bool set to true if the
3630 selection status changes.
3631 (BranchList::clear, size, getColor, setColor, setSelected,
3632 allBranches, allSelected, separator): removed.
3633 (BranchList::find): new functions, returning the Branch with
3635 (BranchList::add, remove): return a bool indicating that
3636 the operation was successful.
3638 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3639 new InsetBranch::isBranchSlected member function.
3641 * LColor.[Ch]: mimimize the API.
3642 (fill): renamed as addColor and made private.
3643 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3644 versions of these functions taking a string arg have been removed.
3646 * bufferparams.C (readToken):
3647 * lyxfunc.C (dispatch):
3648 * lyxrc.C (read): changes due to the altered BranchList and
3651 * factory.C (createInset, readInset): changes due to altered
3654 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3657 * lyxfunc.C: remove insetminipage. "minipage-insert"
3658 now produces a frameless minipage box inset.
3660 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3662 * textcursor.[Ch] (selStart,selEnd): add new methods
3663 remove selection::start, end, use LyXCursor::operator<
3664 * lyxcursor.[Ch] (operator<): add
3665 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3666 * BufferView.[Ch] (unsetXSel): add
3667 * text2.C (clearSelection): use unsetXSel,adjust
3670 * rowpainter.C: adjust
3671 * bufferview_funcs.C (put_selection_at): adjust
3673 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3675 * BufferView_pimpl.C: small coord. correction
3677 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3679 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3680 dragging over the splash screen.
3682 2003-12-11 Angus Leeming <leeming@lyx.org>
3684 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3685 as it is now handled in LyXText::dispatch.
3687 * text3.C (doInsertInset): remove a level of nesting.
3689 2003-12-11 Angus Leeming <leeming@lyx.org>
3691 * factory.C (createInset): changes due to the changed interface to
3692 InsetCommandMailer::string2params.
3694 2003-12-10 Angus Leeming <leeming@lyx.org>
3696 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3697 'dialog-show-new-inset <inset name>'
3699 2003-12-10 Angus Leeming <leeming@lyx.org>
3701 * buffer.C: up the format to 227.
3703 * factory.C: the box inset is now identified simply by 'Box'.
3705 2003-12-10 Angus Leeming <leeming@lyx.org>
3707 * buffer.C: up the format to 226.
3709 * factory.C: the note inset is now identified simply by 'Note'.
3711 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3713 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3714 when a pit is enough. Standarize a couple of loops.
3716 2003-12-05 Angus Leeming <leeming@lyx.org>
3718 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3719 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3720 data to the re-worked "log" dialog.
3722 2003-12-03 André Pönitz <poenitz@gmx.net>
3728 * paragraph_funcs.C:
3730 * text2.C: use Inset::getText instead of Inset::getParagraph
3732 2003-12-03 André Pönitz <poenitz@gmx.net>
3736 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3737 InsetText::read() as LyXText::read()
3739 2003-12-02 Angus Leeming <leeming@lyx.org>
3741 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3742 type. Add a comment in the implementation that the function uses
3743 the stream's bad() function rather than fail() as the std::streams
3746 2003-12-02 André Pönitz <poenitz@gmx.net>
3748 * lyxlex.[Ch]: make interface more similar to std::stream
3750 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3752 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3754 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3756 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3758 * vspace.[Ch]: remove VSpace::NONE
3760 2003-12-01 André Pönitz <poenitz@gmx.net>
3763 * lyxtext.h: move ParagraphList member to LyXText
3764 rename LyXText::ownerParagraphs to LyXText::paragraph
3767 * bufferview_funcs.C:
3777 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3779 * undo.C: fix cursor positioning
3781 2003-12-01 John Levon <levon@movementarian.org>
3783 * BufferView_pimpl.C: fix a crash on exit with
3786 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3788 * BranchList.C: fix setSelected() method.
3790 2003-11-28 André Pönitz <poenitz@gmx.net>
3792 * ParagraphParameters.[Ch]:
3793 * ParameterStruct.h: remove space above/below from Paragraph to
3796 * BufferView_pimpl.C:
3802 * paragraph_funcs.C:
3808 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3810 * factory.C: Syntax change for CharStyles
3812 2003-11-28 André Pönitz <poenitz@gmx.net>
3817 * buffer.[Ch]: move LyXText member
3819 2003-11-28 André Pönitz <poenitz@gmx.net>
3821 * BufferView.[Ch]: make LyXText * text a private member
3823 * BufferView_pimpl.C:
3834 * output_plaintext.C: cleanup
3836 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3839 * lyxtextclass.[Ch]: parametrize SGML document header
3841 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3844 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3847 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3849 * text2.C (setFont): rework using PosIterator (no more recursive)
3850 (setCharFont): no more needed
3851 (setLayout): no more selection cursors fiddling (done by redoCursor)
3852 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3853 destroy remaining ones)
3855 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3857 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3859 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3862 * text3.C: adjust + re-allow multi par depth changes
3863 * textcursor.C: simplify a bit
3865 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3871 * src/output_docbook.C:
3872 * src/output_latex.C:
3877 * src/text2.C: Introducing a number of tags parametrizing various
3878 XML formats that we may want to support
3880 2003-11-25 André Pönitz <poenitz@gmx.net>
3882 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3884 * lyxtext.h (leftMargin/rightMargin): simplify interface
3891 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3893 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3894 master file to any child files. Fixes bug 546.
3896 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3898 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3900 2003-11-24 André Pönitz <poenitz@gmx.net>
3902 * rowpainter.C: simplification
3904 * text2.C (updateCounters): remove call to redoParagraph on
3905 changed labels as this is far too expensive.
3907 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3909 * converter.C (convert): fix a crash: this function gets
3910 called with buffer == 0 from importer code.
3912 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3914 * text3.C (cursorPrevious): make sure that we do not compare
3915 iterators form different containers.
3918 * rowpainter.C (paintSelection): make sure that we do not compare
3919 iterators from different containers.
3921 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3922 iterators from different ParagraphList containers.
3925 * text2.C (LyXText): change order of initialization slightly
3926 (operator=): new function. copy all variables except cache_par_
3927 (moveUp): make sure that we do not compare iterators from
3928 different ParagraphList constainers.
3931 * text.C (firstPar): new function
3932 (lastPar): new function
3933 (endPar): new function
3935 * lyxtext.h: move things around and group public functions, public
3936 variables, private functions, private variables
3938 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3940 * factory.C: change call to InsetERT constructor to avoid
3941 additional invocation of method status
3942 * text2.C (toggleInset): remove redundant update() call
3943 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3944 instead of a Bufferview pointer
3946 2003-11-21 André Pönitz <poenitz@gmx.net>
3948 * rowpainter.C: simplification
3950 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3952 * text3.C (dispatch): make possible to extend a word/row selection
3955 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3957 * lyxtext.h: x0_,y0_ -> xo_,yo_
3958 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3959 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3960 * rowpainter.C (paintRows): paint full paragraphs
3962 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3964 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3967 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3969 * lyxtext.h: add x0_, y0_
3970 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3971 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3973 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3975 * text2.C (setCursorIntern): move the x_target update here *
3976 * text3.C: change some bv() to true/false in calls to
3977 cursorUp/Down/Right/Left
3978 * cursor.C: use helper function.
3980 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3982 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3983 * paragraph_funcs.[Ch]: correct comment
3984 * rowpainter.C: do not paint selections away from bv->cursor()
3985 Fix a long standing selection painting bug.
3986 * text3.C: generalize mouse-selection code to LyXTexts other that
3988 * textcursor.C: do not use y coords if we can use par offsets
3990 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3992 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3993 cursor position after e.g. inset insert)
3995 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3997 * lyxfind.C (replace): adjust to locking removal + some
4000 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4002 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4005 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4008 * output_docbook.C: XML sanitation: new layout
4009 parameters InnerTag and CommandDepth
4011 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4013 * BufferView_pimpl.C:
4015 * text3.C: Fix the insertion and modification of button-style
4018 2003-11-13 André Pönitz <poenitz@gmx.net>
4020 * InsetList.[Ch]: remove deleteLyXText
4022 * paragraph.[Ch]: cache beginOfBody position
4027 * text3.C: remove superfluous update() calls
4031 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4033 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4034 * BufferView.C (fitLockedInsetCursor): remove
4035 * cursor.[Ch] (getDim): add
4036 * text.C (getRowNearY): add faster version
4037 * text3.C: remove some update calls
4039 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4051 * text3.C: The Character Style /XML short element patch.
4053 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4056 * factory.C: Small step to solving 'unable to insert some insets'
4059 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4061 * cursor.[Ch] (updatePos): new function for updating the y
4062 position of the tip inset
4063 * bufferview_funcs.C (put_selection_at):
4064 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4066 2003-11-11 André Pönitz <poenitz@gmx.net>
4068 * text.C: remove big comment on invalid Paragraph pointers as it is
4071 2003-11-11 André Pönitz <poenitz@gmx.net>
4073 * text_funcs.[Ch]: merge with ...
4081 * Makefile.am: remove text_funcs.[Ch]
4083 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4085 * cursor.C (getPos): return absolute cached y coord
4087 * BufferView_pimpl.C (fitCursor): new simplistic code
4088 (workAreaDispatch): add a fitCursor call
4090 2003-11-10 André Pönitz <poenitz@gmx.net>
4093 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4095 2003-11-10 André Pönitz <poenitz@gmx.net>
4097 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4098 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4099 indicate that the cursor needs to leave an inset
4101 * lyxtext.h: remove inset locking
4103 * cursor.[Ch]: re-implement functionality provided by inset locking
4106 * BufferView_pimpl.[Ch]:
4108 * bufferview_funcs.[Ch]:
4120 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4122 * PosIterator.[Ch]: replace the stack with a vector, add inset
4124 * iterators.[C]: adjust
4126 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4128 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4130 * paragraph_funcs.C (readParToken): put the correct id in the
4131 error item, not the id of the top paragraph
4133 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4135 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4136 * bufferview_funcs.C (put_selection_at): use the above
4138 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4140 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4142 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4144 * output_linuxdoc.h:
4145 * output_plaintext.h:
4147 * output_docbook.h: add #include statements
4149 2003-11-05 José Matos <jamatos@lyx.org>
4151 * output_docbook.[Ch]:
4152 * output_latex.[Ch]:
4153 * output_linuxdoc.[Ch]:
4154 * output_plaintext.[Ch]: New files for output formats.
4155 * output.[Ch]: New file for helper functions.
4158 * paragraph_funcs.[Ch]: output functions moved to new files.
4160 * outputparams.h: rename of latexrunparams.h
4168 * paragraph_funcs.[Ch]:
4169 * paragraph_pimpl.[Ch]:
4170 * tabular.[Ch]: rename ascii to plaintext
4171 and LatexRunParams to OutputParams.
4173 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4175 * iterators.[Ch] (text): require bv argument
4176 * undo.C (recordUndo):
4177 * lyxfunc.C (dispatch):
4178 * bufferview_funcs.C (put_selection_at): adjust
4180 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4182 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4184 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4186 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4189 2003-11-04 André Pönitz <poenitz@gmx.net>
4191 * cursor.[Ch]: restructure
4194 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4196 * iterators.[Ch] (asCursor): remove
4198 * lfuns.h: remove LFUN_INSET_EDIT
4204 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4206 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4208 * lyxfind.[Ch]: complete overhaul
4209 * BufferView_pimpl.C:
4211 * paragraph.[Ch] (insert): add
4213 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4217 * text.C: remove dead spellcheck code
4219 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * dispatchresult.h: add a val setter
4223 * cursor.C (dispatch): use a tempvar for data_[i]
4225 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4227 * PosIterator.[Ch]: compile fix
4229 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4231 * text.C (cursorPar): deactivate the cursor cache
4233 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4235 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4237 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * text3.C (dispatch): adjust for new DisptchResult semantics.
4241 * lyxfunc.C (dispatch): handle update when return from
4242 Cursor::dispatch, adjust for new DispatchResult semantics.
4244 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4245 DispatchResult(true) mean to not update. Add class functions for
4246 setting dispatched and update, as well as reading.
4248 * cursor.C (dispatch): don't handle update here
4250 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4253 * trans_mgr.C: adjust
4255 * paragraph_funcs.C (readParToken): exception safety
4257 * lyxvc.h: store the vcs pointer in a scoped_ptr
4260 * lyxsocket.C (serverCallback): exception safety
4262 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4264 * ispell.C (clone): make it return a auto_ptr
4266 * factory.C (createInset): exception safety
4267 (readInset): exception safety
4269 * bufferlist.C (newBuffer): exception safety
4271 * Thesaurus.C (Thesaurus): use initialization for aik_
4273 * MenuBackend.C (expandToc): exception safety.
4275 2003-11-03 André Pönitz <poenitz@gmx.net>
4279 * bufferview_funcs.C: remove getInsetFromId()
4282 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4288 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4290 * PosIterator.C (distance, advance): new
4291 * bufferview_funcs.[Ch] (put_selection_at): new
4292 * iterators.[Ch] (lockPath): new
4294 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4296 * iterators.[Ch] (asPosIterator): added
4297 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4298 * PosIterator.[Ch]: added
4300 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * cursor.C (dispatch):
4305 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4307 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4308 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4309 contructor, add a class function dispatched. Remove operator>=
4311 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4313 * debug.C: only use the default constructor for debugstream
4316 * main.C (main): include debug.h and setup the lyxerr streambuf
4319 2003-10-31 José Matos <jamatos@lyx.org>
4321 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4323 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4324 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4325 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4326 * paragraph_pimpl.C (simpleTeXSpecialC):
4327 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4328 add LatexRunParams argument.
4330 * exporter.C (Export): change call accordingly.
4332 * latexrunparams.h: add new member to take care of the other backends.
4333 2003-10-30 José Matos <jamatos@lyx.org>
4335 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4336 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4337 factorise code for paragraph output.
4339 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4342 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * text3.C (dispatch):
4345 * lyxfunc.C (dispatch):
4346 * cursor.C (dispatch):
4347 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4349 * dispatchresult.h: make the dispatch_result_t ctor explicit
4351 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4354 * buffer.C: small refactoring of docbook stuff
4356 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4361 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4364 operator dispatch_result_t, and operators for == != and >=
4366 * cursor.C (dispatch): adjust for operator dispatch_result_t
4367 removal. comment out call to update
4369 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4371 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4382 * dispatchresult.h: new file, DispatchResult broken out of
4385 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4387 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4389 * text.C (rowBreakPoint): put a hack inside #if 0
4391 2003-10-28 André Pönitz <poenitz@gmx.net>
4395 * paragraph_funcs.C:
4398 * text2.C: general cleanup (lots of small stuff)
4400 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4402 * text2.C (cursorEnd): simple fix to the "end key goes to one
4403 before the end on last row" bug
4405 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4407 * text.C (backspace): fix the "zombie characters"
4409 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4411 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4413 2003-10-27 André Pönitz <poenitz@gmx.net>
4415 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4417 * factory.C: handle new InsetPagebreak, InsetLine
4419 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4420 and move handling into new InsetPagebreak, InsetLine
4422 * BufferView_pimpl.C:
4424 * ParagraphParameters.C:
4425 * ParameterStruct.h:
4430 * paragraph_funcs.C:
4431 * paragraph_pimpl.C:
4437 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4440 * lyxrow_funcs.[Ch]:
4446 * text3.C: remove lastPos uses in favour of Row::endpos
4448 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4450 * undo.C (performUndoOrRedo): fix two crashes by setting a
4451 cursor by hand and reordering some calls. Use bv->lockInset instead
4452 of inset->edit because the latter loses cursor information
4454 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4456 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4458 (rowBreakPoint): fix width. change point to point + 1.
4459 Add a missing check.
4461 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4464 * lyxfunc.C: fix (at least partly) the problems
4465 with the Nav menu and headers inside branch insets
4468 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4470 * paragraph.C (getChar): add strong asserts
4472 * lyxrow_funcs.C (lastPos): remove hideous hack
4474 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4475 (fill): adjust to that (avoid an infinite loop)
4477 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4479 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4481 2003-10-23 André Pönitz <poenitz@gmx.net>
4483 * RowList_fwd.h: change list<> to vector<> to gain speed
4484 after suggestion from Alfredo
4486 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4488 * lyxtext.h: move the bidi stuff from here...
4491 * Bidi.[Ch]: ... to here
4493 2003-10-23 André Pönitz <poenitz@gmx.net>
4496 * text.C (isLastRow, isFirstRow): new functions
4498 * paragraph.h: new width cache member
4500 * rowpainter.C: replace RowList::iterator with Row & where possible
4502 * lyxfunc.C: replace several view()->text with a single call
4504 * toc.C: fix 'unused' warning
4506 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4509 when woring with stream::pos_type
4510 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4512 2003-10-22 André Pönitz <poenitz@gmx.net>
4515 * text.C: use Row & instead of RowList::iterator
4517 * lyxrow.h: rename end() to endpos()
4523 2003-10-22 Angus Leeming <leeming@lyx.org>
4525 * buffer.[Ch] (fully_loaded): new member function, returning true
4526 only when the file has been loaded fully.
4527 Used to prevent the premature generation of previews and by the
4528 citation inset to prevent computation of the natbib-style label.
4530 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4531 templates are all set up.
4533 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4535 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4537 * text.C: fixed an "oops" in the "is a bit silly"
4540 2003-10-21 André Pönitz <poenitz@gmx.net>
4542 * FuncStatus.[Ch]: small stuff, whitespace
4544 * lyxfont.[Ch]: operator<<() for debug reasons
4548 * lyxtext.h: whitespace, spelling
4550 * paragraph.C: naming of variables
4553 * text2.C: small stuff
4556 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4558 * text.C: (1) finish off the inset display() work;
4559 (2) fix the "is a bit silly" bug (accessing char
4562 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4564 * text.C: re-introduce display() for insets, fixing the
4565 various bugs (stretch of line above, math inset
4568 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4570 * text.C (rightMargin): remove spurious semicolon
4572 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4575 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4577 * text3.C: fix one crash due to wrong cursor def
4579 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * vc-backend.C (scanMaster): make the regex static
4583 * LaTeX.C (scanAuxFile): make the regexs static
4585 * text3.C (doInsertInset, dispatch, dispatch):
4586 * text2.C (cursorUp, cursorDown):
4587 * text.C (selectNextWordToSpellcheck):
4588 * BufferView_pimpl.C (dispatch):
4589 * lyxfunc.C (dispatch): localDispatch -> dispatch
4591 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4593 * lyxsocket.C: include <cerrno>
4595 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * lyxfunc.C (dispatch): remove textcache stuff
4599 * bufferlist.C (release): remove textcache stuff
4602 * TextCache.C: delete file
4603 * TextCache.h: delete file
4605 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4607 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4608 delete of the bv_->text.
4609 (resizeCurrentBuffer): remove texcache stuff
4610 (workAreaResize): ditto
4612 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4617 2003-10-16 André Pönitz <poenitz@gmx.net>
4624 * text3.C: speed up by storing y positions per paragraph plus per-row
4625 offset instead of having a 'full' y position in the row.
4627 2003-10-15 André Pönitz <poenitz@gmx.net>
4631 * undo.[Ch]: make undo aware of inner insets
4633 2003-10-14 Angus Leeming <leeming@lyx.org>
4635 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4636 static member functions LyX::ref() and LyX::cref.
4637 (lastfiles): new accessor functions for the new lastfiles_ member var.
4638 (addLyXView, views_): add a new LyXView to the list of views_.
4639 (updateInset): loop over all LyXViews to call their own updateInset
4640 member function, returning a pointer to the Buffer owning the inset.
4642 * BufferView_pimpl.C (loadLyXFile):
4643 * MenuBackend.C (expandLastfiles):
4644 * bufferlist.C (MenuWrite, QuitLyX):
4645 lastfiles is no longer a global variable.
4646 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4648 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4649 static function. Access through LyX::cref().emergencyCleanup().
4651 2003-10-14 André Pönitz <poenitz@gmx.net>
4653 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4655 * undo.[Ch]: restoring part of 'undo in insets'
4658 * undo_funcs.[Ch]: merge with undo.[Ch]
4660 * tabular.C: small cleansing stuff
4662 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4664 * paragraph_funcs.C (readParToken): report unknown insets as error
4665 boxes. Use the outer paragraph as location (also for unknown
4668 * factory.C (readInset): do not abort on reading an unknown inset.
4669 Eat it and return 0.
4671 2003-10-13 Angus Leeming <leeming@lyx.org>
4673 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4675 * lyxrc.C: displayTranslator is now a function,
4676 declared in GraphicsTypes.h.
4678 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4680 * format.C: new placeholder $$a to pass the socket address.
4682 * bufferlist.[Ch]: new function getBufferFromTmp.
4684 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4685 files in the temporary dir.
4687 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4689 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4691 * Makefile.am: add lyxsocket.[Ch].
4693 * lyx_main.C (error_handler): handle SIGPIPE.
4695 2003-10-13 André Pönitz <poenitz@gmx.net>
4697 * BufferView_pimpl.C:
4702 * undo_funcs.[Ch]: use paroffset_type instead of
4703 ParagraphList::iterators to prevent multiple conversion
4704 (and get a more robust interface)
4706 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4710 * text3.C (dispatch): ditto
4712 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4715 move the onlyfile, use onlyfile instead of foundfile in a couple
4718 * DepTable.C (update): flush the error stream a bit more
4720 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * lyxserver.C (callback): adjust
4724 * lyxfunc.C (getStatus): add a missing brace in commented code
4725 (ensureBufferClean): reindent
4726 (dispatch): delete version taking a string
4728 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4730 * LaTeX.C (deplog): move found file handlig from here...
4731 (handleFoundFile): .. to new function here.
4732 (deplog): make sure to discover several files mentioned on the
4735 2003-10-10 André Pönitz <poenitz@gmx.net>
4742 * text3.C: fix some of the tabular crashes
4744 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4746 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4748 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4750 2003-10-09 André Pönitz <poenitz@gmx.net>
4752 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4755 * BufferView_pimpl.C:
4756 * bufferview_funcs.C:
4767 * undo_funcs.C: adjust
4769 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * text2.C (incrementItemDepth): new function, use a backtracking
4772 algorithm to discover the correct item depth.
4773 (resetEnumCounterIfNeeded): new function, use a backtracking
4774 algorithm to discover if counter reset is needed.
4775 (setCounter): use them. Simplify a bit. Add different labels for
4776 different item depths for itemize.
4778 * paragraph.C (Paragraph): remove initialization of enumdepth
4781 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4782 enumerate and itemize. Change the type of itemdepth to signed char.
4784 2003-10-08 André Pönitz <poenitz@gmx.net>
4786 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4791 * tabular.[Ch]: fix crash after 'row-insert'
4793 2003-10-08 Angus Leeming <leeming@lyx.org>
4795 Fix doxygen warnings.
4797 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4798 Remove CutAndPaste:: prefix from header file declaration.
4800 * LColor.h (fill): remove LColor:: prefix from declaration.
4802 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4803 use lyx::depth_type rather than Paragraph::depth_type so that
4804 header file and .C file match.
4806 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4808 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4809 * aspell.C: \file aspell_local.C -> \file aspell.C
4810 * gettext.C: \file gettext.C -> \file src/gettext.C
4811 * gettext.h: \file gettext.h -> \file src/gettext.h
4812 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4813 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4814 * text.C: \file text.C -> \file src/text.C
4816 * toc.C: move comment so that doxygen is not confused.
4818 2003-10-07 Angus Leeming <leeming@lyx.org>
4820 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4822 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4825 * aspell_local.h: add forgotten std::string's.
4827 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4834 * text3.C: The Box patch. Fancybox support, minipage, parbox
4836 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4842 * ParagraphParameters.h:
4852 * lyxtextclasslist.h:
4855 * paragraph_pimpl.C:
4856 * textcursor.h: add <string> and other small fixes to make Lars'
4857 std::string patch compile with STLport.
4859 2003-10-06 Angus Leeming <leeming@lyx.org>
4861 * LColor.h: Add missing #include <string>.
4863 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * All most all file in all subdirs: Make <string> be the prefered
4866 way of getting to std::string, add using declarations.
4868 2003-10-06 André Pönitz <poenitz@gmx.net>
4870 * metricsinfo.C: initialize LyXFont before changing attribute.
4871 (fixes the 'math in \emph is upright' bug)
4873 2003-10-06 André Pönitz <poenitz@gmx.net>
4875 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4877 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4880 * paragraph_pimpl.C: Small fixes to build using STLport
4882 2003-10-02 André Pönitz <poenitz@gmx.net>
4885 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4887 2003-10-01 André Pönitz <poenitz@gmx.net>
4889 * factory.C: assert early
4891 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * lyx_main.C: remove the global debug object
4895 * debug.h: adjust for new debugstream
4897 * debug.C: adjust for new debugstream and keep the global debug
4900 2003-09-22 Angus Leeming <leeming@lyx.org>
4902 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4903 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4904 an incomplete class LyXFont.
4906 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4908 * factory.C: bug fix in branches
4910 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * lyxfunc.C (processKeySym): adjust
4914 (dispatch): change arg name from ev to func, adjust
4915 (sendDispatchMessage): ditto
4917 * lyx_main.C (defaultKeyBindings): adjust keybindings
4918 (deadKeyBindings): ditto
4920 * kbsequence.C (addkey): return a FuncRequest
4922 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4924 * kbmap.C (bind): take a FuncRequest as arg, adjust
4927 (defkey): change to take a FuncRequest as arg, adjust
4928 (findbinding): take a FuncRequest as arg, adjust.
4930 * funcrequest.h (operator=): added
4932 * funcrequest.C (FuncRequest): default kb_action changed from
4933 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4935 * buffer.C (dispatch): simplify
4936 (dispatch): adjust to take a FuncRequest as arg, adjust
4938 * boost.C (assertion_failed): change assertion message slightly
4940 * ToolbarBackend.C (read): simplify
4942 * MenuBackend.C (binding): adjust call to findbinding, add a
4943 message if no binding is found.
4945 (expandToc): correct by adding a empty FuncRequest
4947 * LyXAction.C: include <boost/assert.hpp>
4948 (isPseudoAction): delete function
4949 (LookupFunc): change name to...
4950 (lookupFunc): this. change return type to FuncRequest.
4951 (getActionName): take kb_action as arg, simplify
4952 (funcHasFlag): add an assert, simplify.
4954 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * toc.C (action): return a FuncRequest, simplify
4958 * lyxfunc.C (processKeySym): adjust
4959 (getStatus): delete version that takes an int.
4961 (dispatch): delete version that takes action as int
4963 (sendDispatchMessage): simplify and adjust
4965 * funcrequest.C (getArg): take unsigned int as arg
4967 * ToolbarBackend.C (read): adjust
4968 (add): delete version that takes func as a string.
4969 (getIton): take a FuncRequest as arg
4971 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4974 * MenuBackend.C (MenuItem): add a new construct that only takes a
4975 Kind, simplify the constructor use for submenus.
4977 (expandLastfiles): adjust
4978 (expandDocuments): adjust
4979 (expandFormats): adjust
4980 (expandFloatListInsert): adjust
4981 (expandFloatInsert): adjust
4982 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4984 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4985 Remove class variables lyx_pseudo_map and lyx_arg_map
4987 * LyXAction.C (searchActionArg): delete function
4988 (getPseudoAction): delete function
4989 (retrieveActionArg): delete function
4990 (LookupFunc): make it return kb_action, simplify.
4991 (getActionName): simplify
4993 * factory.C (createInset): fix new bug
4995 2003-09-19 Angus Leeming <leeming@lyx.org>
4997 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4998 masterFilename_ parameter in the include inset.
5000 * factory.C (createInset): changes due to the changes to InsetInclude.
5002 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5004 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5006 2003-09-18 Angus Leeming <leeming@lyx.org>
5009 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5010 Inset::fillWithBibKeys.
5011 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5013 2003-09-18 Angus Leeming <leeming@lyx.org>
5015 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5017 (ctor): pass and store a 'Buffer const &'
5018 (buffer): new member function.
5020 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5021 '*this' to the LaTeXFeatures ctor.
5023 2003-09-18 Angus Leeming <leeming@lyx.org>
5029 * text.C: rename EnumLColor as LColor_color.
5031 2003-09-18 Angus Leeming <leeming@lyx.org>
5033 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5034 remove #include "insets/insetbase.h" from cursor.h.
5036 2003-09-18 Angus Leeming <leeming@lyx.org>
5038 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5039 InsetOld_code to remove #include "inset.h".
5041 * iterators.C: add #include "insets/inset.h"
5043 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5045 * BufferView.C: remove more locking stuff that apparently doesn't
5046 do anything sensible.
5048 2003-09-16 André Pönitz <poenitz@gmx.net>
5051 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5054 2003-09-16 Angus Leeming <leeming@lyx.org>
5056 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5058 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5061 * paragraph.h: remove #include "lyxfont.h". Forward declare
5064 2003-09-16 Angus Leeming <leeming@lyx.org>
5066 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5067 of support/textutils.h.
5068 (isWord): move the contents of support/textutils.h's IsWordChar here.
5074 * text2.C: add #include "paragraph.h".
5077 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5079 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * LaTeX.C: use namespace alias for lyx::support::os
5087 2003-09-16 Angus Leeming <leeming@lyx.org>
5090 * bufferview_funcs.C:
5093 * paragraph_pimpl.C:
5095 * text.C: add #include "LColor.h".
5097 2003-09-16 Angus Leeming <leeming@lyx.org>
5099 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5100 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5102 Store the FontBits::color variable as an int rather than as an
5103 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5106 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5107 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5108 string calls together.
5110 * lyxrc.C: add #include "LColor.h".
5112 2003-09-15 Angus Leeming <leeming@lyx.org>
5114 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5117 2003-09-15 Angus Leeming <leeming@lyx.org>
5119 * LColor.h: add an EnumLColor wrapper for LColor::color.
5121 * lyxfont.[Ch] (color, setColor, realColor):
5122 * lyxtext.h, text.C (backgroundColor):
5123 pass EnumLColor args to/from the functions, rather than LColor::color
5127 * lyxtext.h: forward declare EnumLColor.
5129 * lyx_main.C: add #include "LColor.h".
5131 2003-09-15 Angus Leeming <leeming@lyx.org>
5133 * .cvsignore: add lyx-gtk.
5135 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * ParagraphParameters.C
5144 * bufferview_funcs.C
5154 * vc-backend.C: remove usage of STRCONV
5156 2003-09-15 Angus Leeming <leeming@lyx.org>
5158 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5159 explicitly define the color passed to the painter.
5161 2003-09-15 Angus Leeming <leeming@lyx.org>
5163 * bufferparams.C (BufferParams): reorder member initializers to avoid
5166 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5168 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5169 * text.C (updateRowPositions): remove an unusual nop
5171 2003-09-12 André Pönitz <poenitz@gmx.net>
5173 * BufferView_pimpl.C:
5182 * Counters.[Ch]: finish the 'automatic counters' job
5184 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5186 * aspell.C: include <boost/assert.cpp> (compile fix)
5188 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5190 * boost.C (assertion_failed): use lyx::support::abort instead of
5193 2003-09-10 Angus Leeming <leeming@lyx.org>
5195 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5196 with their _fwd progeny.
5198 2003-09-09 Angus Leeming <leeming@lyx.org>
5200 134 files throughtout the source tree: replace 'using namespace abc;'
5201 directives with the appropriate 'using abc::xyz;' declarations.
5203 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5205 * boost.C (emergencyCleanup): moved here from LAssert.c
5206 (assertion_failed): new function, called by BOOST_ASSERT
5208 * several files: change Assert to BOOST_ASSERT
5210 2003-09-09 Angus Leeming <leeming@lyx.org>
5212 * buffer.[Ch]: Add an Impl class and move Buffer's member
5213 variables into it. As a result move several header files out of
5216 Add header files to lots of .C files all over the tree as a result.
5218 2003-09-09 Angus Leeming <leeming@lyx.org>
5220 * buffer.[Ch]: make Buffer's member variables private. Add
5223 Lots of changes all over the tree as a result.
5225 2003-09-08 Angus Leeming <leeming@lyx.org>
5227 * graph.C: #include <config.h>.
5229 2003-09-08 Angus Leeming <leeming@lyx.org>
5233 * BufferView_pimpl.C:
5262 * toc.C: remove redundant using directives.
5264 2003-09-07 Angus Leeming <leeming@lyx.org>
5266 * LaTeXFeatures.h: remove #include "support/types.h".
5267 * ToolbarBackend.h: remove #include <algorithm>.
5268 * changes.h: remove #include <ctime>.
5269 * debug.h: remove #include <iosfwd>.
5270 * graph.h: remove #include "support/std_string.h".
5271 * lyx_main.h: remove #include <csignal>.
5272 * lyxlex_pimpl.h: remove #include <fstream>.
5273 * sgml.h: remove #include <algorithm>, <utility>.
5274 * toc.h: remove #include "support/std_ostream.h".
5275 Add #include <iosfwd>.
5277 2003-09-07 Angus Leeming <leeming@lyx.org>
5279 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5281 * converter.h: forward declare LatexRunParams.
5282 * encoding.h: remove #include "lyxrc.h".
5283 * lyxtext.h: remove #include "LColor.h".
5284 * lyxtextclass.h: remove #include "support/types.h".
5285 * trans.h: remove #include "tex-accent.h".
5286 * trans_mgr.h: remove #include "tex-accent.h".
5287 * insets/inset.h: remove #include "support/types.h", <vector>.
5288 * insets/insetcollapsable.h: remove #include "LColor.h".
5289 * insets/insetinclude.h: remove #include "dimension.h".
5290 * insets/insetlatexaccent.h: remove #include "dimension.h".
5291 * insets/insetoptarg.h:: remove #include "insettext.h".
5292 * insets/insettext.h: remove #include "dimension.h",
5293 <boost/shared_ptr.hpp>
5295 * insets/renderers.h: add #include "dimension.h".
5296 * insets/updatableinset.h: add #include "support/types.h".
5298 * many .C files: Associated changes.
5300 2003-09-06 Angus Leeming <leeming@lyx.org>
5302 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5303 one, inside testInvariant.
5305 * PrinterParams.C: new file.
5306 * PrinterParams.[Ch]: move the function bodies out of line.
5308 2003-09-06 Angus Leeming <leeming@lyx.org>
5310 * ParagraphParameters.h: forward declare ParameterStruct rather than
5311 including its header file.
5312 (depth): moved out-of-line.
5314 2003-09-06 Angus Leeming <leeming@lyx.org>
5316 * BufferView_pimpl.h:
5319 * lyxfunc.h: forward declare LyXKeySym rather than
5320 #include "frontends/LyXKeySym.h".
5322 * BufferView_pimpl.C:
5325 * lyxfunc.C: associated changes.
5327 2003-09-06 Angus Leeming <leeming@lyx.org>
5329 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5330 As a result, can remove the #include "insets/inset.h" from BufferView.h
5332 2003-09-06 Angus Leeming <leeming@lyx.org>
5334 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5335 As a result, can remove the #include "insets/inset.h" from BufferView.h
5337 2003-09-06 Angus Leeming <leeming@lyx.org>
5343 * bufferview_funcs.C:
5344 * BufferView_pimpl.C:
5349 * ParagraphParameters.C:
5354 * frontends/controllers/ControlDocument.C:
5355 * insets/insetcaption.C: rearrange the #includes into some sort of
5358 * buffer.h: remove #includes ErrorList.h, undo.h
5360 2003-09-06 Angus Leeming <leeming@lyx.org>
5362 * support/types.h: add a 'depth_type' typedef, used to store the
5363 nesting depth of a paragraph.
5366 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5367 defining explicitly.
5370 * paragraph_funcs.h:
5371 * ParagraphParameters.h:
5372 * sgml.h: use lyx::depth_type rather than Paragraph or
5373 ParameterStruct's depth_type.
5376 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5379 * BufferView_pimpl.C:
5381 * ParagraphParameters.C:
5384 * bufferview_funcs.C:
5391 * frontends/LyXView.C:
5392 * frontends/controllers/ControlDocument.C:
5393 * frontends/controllers/ControlErrorList.C:
5394 * insets/insetbibitem.C:
5395 * insets/insetbranch.C:
5396 * insets/insetcaption.C:
5397 * insets/insetcollapsable.C:
5398 * insets/insetenv.C:
5399 * insets/insetert.C:
5400 * insets/insetfloat.C:
5401 * insets/insetfoot.C:
5402 * insets/insetfootlike.C:
5403 * insets/insetnewline.C:
5404 * insets/insetquotes.C:
5405 * insets/insettabular.C:
5406 * insets/insettext.C:
5407 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5409 * frontends/controllers/ControlChanges.C: #include "changes.h".
5411 2003-09-06 Angus Leeming <leeming@lyx.org>
5413 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5414 than #including paragraph.h.
5417 * RowList.h: deleted. Superfluous.
5427 * insets/insettext.h: use ParagraphList_fwd.h rather than
5430 * paragraph.h: don't forward declare ParagraphList.
5433 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5434 rather than ParagraphList.h. paragraph.h is still needed for the
5435 Paragraph::depth_type parameters.
5437 * textcursor.h: enable it to compile stand-alone in light of the
5440 * bufferview_funcs.C:
5452 * frontends/controllers/ControlParagraph.C:
5453 * frontends/controllers/ControlTabular.C:
5454 * insets/insetmarginal.C:
5455 * insets/insetminipage.C:
5456 * insets/insetnote.C:
5457 * insets/insetoptarg.C: add header files needed to compile again.
5459 2003-09-06 Angus Leeming <leeming@lyx.org>
5461 * RowList_fwd.h: new file, forward-declaring Row rather than
5462 #including lyxrow.h.
5467 * insets/insettext.h: use it instead of RowList.h
5469 * bufferview_funcs.C:
5476 * text3.C: #include "RowList.h".
5478 2003-09-05 Angus Leeming <leeming@lyx.org>
5480 * factory.C (createInset):
5481 * vspace.C (c-tor): replace sscanf call with an istringstream.
5482 * ispell.C: re-add missing HP/UX headers.
5483 * lyxserver.C: re-add missing os2 headers.
5485 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5494 * text3.C: re-add missing system headers, needed for 2.95.2.
5496 2003-09-05 Angus Leeming <leeming@lyx.org>
5498 Changes most place everywhere due to the removal of using directives
5499 from support/std_sstream.h.
5501 2003-09-05 Angus Leeming <leeming@lyx.org>
5503 Replace LString.h with support/std_string.h,
5504 Lsstream.h with support/std_sstream.h,
5505 support/LIstream.h with support/std_istream.h,
5506 support/LOstream.h with support/std_ostream.h.
5508 Changes resulting throughout the tree.
5510 2003-09-05 Angus Leeming <leeming@lyx.org>
5512 * sgml.h: ensure that the header file can be compiled stand-alone.
5513 * *.C: strip out redundant #includes. (320 in total.)
5515 2003-09-04 Angus Leeming <leeming@lyx.org>
5517 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5518 here (from getPackages).
5520 * debug.[Ch]: add a new EXTERNAL tag.
5522 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5524 * text2.C (cursorEnd): simplify
5526 (getColumnNearX): adjust
5528 * text.C (computeBidiTables): adjust
5531 * rowpainter.C (paintChars): adjust
5532 (paintSelection): adjust
5533 (paintChangeBar): adjust
5536 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5538 (numberOfSeparators): adjust
5540 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5546 * text3.C: Restricts the mouse click functionality
5547 of insets like bibtex, include, toc and floatlist to the visible
5548 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5549 up the dialogs. Cursor has to be in front of the inset (i.e.
5550 start of row) for this to function.
5552 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5554 * bufferview_funcs.C (currentState): output row information
5556 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5558 * bufferview_funcs.C (currentState): output paragraph position
5560 2003-09-04 Angus Leeming <leeming@lyx.org>
5562 * FloatList.h: move out #include "Floating.h".
5563 * LaTeX.h: move out #include "DepTable.h".
5564 * LyXAction.h: move out #include "funcrequest.h".
5565 * buffer.h: move out #include "author.h", "iterators.h".
5566 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5567 * lyx_main.h: move out #include "errorlist.h".
5568 * lyxfunc.h: move out #include "FuncStatus.h".
5569 * lyxtext: move out #include "lyxcursor.h".
5570 * paragraph_pimpl.h: move out #include "counters.h".
5572 2003-09-03 Angus Leeming <leeming@lyx.org>
5574 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5575 preamble_snippets list, enabling us to add snippets to the preamble
5576 only if the snippet was not there already.
5578 2003-09-04 Angus Leeming <leeming@lyx.org>
5580 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5582 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5587 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5589 * BranchList.C: point fix, earlier forgotten
5591 2003-09-02 Angus Leeming <leeming@lyx.org>
5593 * box.C (contains): renamed from 'contained' after a fantastic
5596 2003-09-02 John Levon <levon@movementarian.org>
5602 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5604 2003-09-02 John Levon <levon@movementarian.org>
5606 * text2.C: simplification of cursorEnd(), including partial
5609 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5611 * buffer.C (readFile): add a space
5613 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5615 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5617 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * buffer.C (readFile): new function, take a filename and a
5620 ParagraphList::iterator
5622 (readFile): adjust, make it private. don't use setStream, make
5623 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5624 always contain the filename.
5626 * BufferView.C (insertLyXFile): simplify and make it work for
5629 2003-08-30 John Levon <levon@movementarian.org>
5631 * Makefile.am: fix dist (from Kayvan)
5633 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5635 * most files: change to use const Buffer refs
5637 2003-08-27 André Pönitz <poenitz@gmx.net>
5639 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5640 on top of ownerPar().
5642 2003-08-27 John Levon <levon@movementarian.org>
5644 * funcrequest.C: properly initialise POD members
5646 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5648 * lyxtext.h (top_y): move top_y from here
5653 * BufferView_pimpl.[Ch]: to here
5654 * frontends/screen.C:
5655 * insets/insettabular.C:
5656 * insets/insettext.C: adjust
5657 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5659 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5662 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5664 2003-08-26 André Pönitz <poenitz@gmx.net>
5666 * paragraph_func.[Ch] (outerPar): new function
5669 * paragraph_funcs.C:
5670 * paragraph_funcs.h:
5671 * paragraph_pimpl.C:
5672 * text2.C: remove Inset::par_owner
5674 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5679 * text2.C: eliminates the needFullRow/display() stuff
5680 altogether, putting the logic in metrics/draw in the insets.
5682 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5684 * text2.C (redoParagraphInternal, redoParagraphs):
5685 * text.C (redoParagraph): add a call to updateRowPositions at the
5686 end of each 'metrics-like' call. Remove all others.
5687 (getRow): remove the 'y-computing' version.
5688 (getRowNearY): do not compute nor return the real y. Solve the
5689 'y < 0' problem and simplify.
5691 2003-08-22 Angus Leeming <leeming@lyx.org>
5693 * *.[Ch]: clean-up of licence and author blurbs.
5694 Also move config.h out of a few .h files and into a few .C files.
5696 2003-08-22 André Pönitz <poenitz@gmx.net>
5698 * lyxrow.[Ch]: add x_ and *fill_ members
5703 * text2.C: adjust/remove prepareToPrint() calls
5705 2003-08-22 André Pönitz <poenitz@gmx.net>
5707 * lyxrow.[Ch]: add end_ member
5709 * lyxrow_funcs.C: use LyXRow::end_
5711 * lyxtext.h (singleWidth): add LyXFont parameter
5714 * text2.C: adjust LyXText::singleWidth() calls
5716 * text.C (redoParagraph): simplify row breaking logic
5719 2003-08-19 André Pönitz <poenitz@gmx.net>
5721 * funcrequest.C: initialize button_ member
5724 * rowpainter.[Ch]: interface consolidation
5726 2003-08-18 André Pönitz <poenitz@gmx.net>
5729 * BufferView_pimpl.C:
5731 * paragraph_funcs.C:
5733 * text3.C: remove LyXScreen::draw() and fitCursor calls
5735 * BranchList.h: remove spurious semicolons
5737 * MenuBackend.C: fix branchlist related crash
5739 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5747 * bufferparams.[Ch]:
5751 * text3.C: implements the 'branch inset'
5752 idea. This allows the output of various versions of a document
5753 from a single source version, selectively outputing or suppressing
5754 output of parts of the text.
5755 This implementation contains a 'branch list editor' in a separate
5756 tab of the document settings dialog. Branches are user definable
5757 and have a "display colour" to distinguish them on-screen.
5759 ColorHandler was somewhat cleaned up.
5760 (1) make possible a dynamically growing LColor list by allowing
5761 the graphic context cache to grow along (vector);
5762 (2) eliminate an IMHO unnecessary step in colour allocation.
5764 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5766 * BufferView_pimpl.C: compile fix
5768 2003-08-15 André Pönitz <poenitz@gmx.net>
5770 * rowpainter.C: remove extra metrics calls
5772 * lyxtext.h: merge the two constructors into a single one,
5773 pass reference to owner's par list
5775 * BufferView_pimpl.C:
5779 2003-08-15 André Pönitz <poenitz@gmx.net>
5781 * lyxrow_funcs.[Ch]:
5784 * paragraph_funcs.C:
5789 * text_funcs.C: split LyXText::rowlist_ into individual
5790 Paragraph::rows_ chunks
5793 * BufferView_pimpl.[Ch]:
5796 * text3.C: remove toggleSelection()
5798 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5800 * bufferlist.C: beautify two alerts (shorter text of buttons)
5801 * buffer.C: Remove redundant ' ' from message
5803 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5804 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5805 rename VALIGN_CENTER to VALIGN_MIDDLE
5807 2003-08-11 André Pönitz <poenitz@gmx.net>
5809 * lyxtext.h (getPar):
5810 * text.C: new function
5812 2003-08-11 André Pönitz <poenitz@gmx.net>
5815 * tracer.[Ch]: remove unneeded files
5817 * InsetList.[Ch]: remove resizeInsetsLyXText()
5822 * text3.C: merge insertParagraphs() and appendParagraph()
5823 remove breakAgain(), update()
5825 * BufferView_pimpl.[Ch]:
5826 * bufferview_funcs.[Ch]:
5830 * tabular.C: adjust after text & InsetList changes.
5832 2003-08-08 André Pönitz <poenitz@gmx.net>
5834 * text.C (insertChar, backspace): replace rowlist fiddling
5835 with rebreak of full par
5838 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5839 checkParagraph, updateInset): removed
5841 2003-08-07 André Pönitz <poenitz@gmx.net>
5844 * text3.C: merge some LFUN handlers, remove dead code
5846 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5848 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5850 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5852 * text2.C (DEPM): fix part of bug 1255 and 1256
5854 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5856 * BufferView_pimpl.C (workAreaDispatch): change to use
5857 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5858 that are no mouse related.
5860 2003-08-05 André Pönitz <poenitz@gmx.net>
5863 * BufferView_pimpl.[Ch]:
5864 * bufferview_funcs.C:
5866 * text3.C: rip out "deep update"
5868 * textcursor.[Ch] (last_sel_cursor): remove unused member
5870 2003-08-04 André Pönitz <poenitz@gmx.net>
5873 * BufferView_pimpl.[Ch]:
5874 * ParagraphParameters.C:
5875 * bufferview_funcs.C:
5881 * text3.C: replace "complicated" BufferView::update(...) calls with
5884 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5886 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5888 * Makefile.am (lyx_SOURCES): add paper.h
5890 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5892 * Makefile.am: move things around so that both lyx-qt and
5893 lyx-xforms can be built (according to --with-frontend). Then lyx
5894 is a symbolic link to lyx-[firstfrontend]
5896 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5898 * Always use std::endl with lyxerr
5900 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5902 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5904 2003-08-01 André Pönitz <poenitz@gmx.net>
5907 * BufferView_pimpl.[Ch]:
5909 * text3.C: merge BufferView::repaint() and BufferView::update()
5911 2003-08-01 José Matos <jamatos@lyx.org>
5913 * buffer.[Ch]: file_format is no longer a buffer data element.
5915 2003-08-01 André Pönitz <poenitz@gmx.net>
5920 * text2.C: make redoParagraph more independent of current cursor
5922 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5924 * text2.C: remove unneeded members
5926 2003-07-30 André Pönitz <poenitz@gmx.net>
5928 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5930 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5931 create a single function...
5933 * paragraph_funcs.C (moveItem): ... here.
5936 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5938 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5940 * LColor.[Ch]: Add comment and greyedout logical colors.
5942 2003-07-30 André Pönitz <poenitz@gmx.net>
5944 * tabular.C: don't use Assert too heavily. This crashes where it
5947 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5949 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5950 is disabled (bug 1232)
5952 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5954 * factory.C: limited 'arg' scope
5956 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5958 * factory.C: fixed Note submenu issues
5960 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5962 * factory.C: submenu for Note/Comment/Greyedout
5964 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5967 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5969 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5972 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5973 greyedout. Patch provided by Jürgen Spitzmüller.
5975 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5977 * kbmap.C (read): fix error message when reading bind files
5979 2003-07-29 Angus Leeming <leeming@lyx.org>
5981 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5982 certainly does not do what it purports to do. I am doing it, and
5983 us, a favour by killing it.
5985 2003-07-28 José Matos <jamatos@lyx.org>
5987 * buffer.C (readBody, do_writeFile):
5988 * paragraph.C(readParagraph): \end_document replaces \the_end.
5990 2003-07-29 André Pönitz <poenitz@gmx.net>
5993 * BufferView_pimpl.[Ch]:
5997 * textcursor.[Ch]: remove toggleToggle & Co
5999 2003-07-28 José Matos <jamatos@fep.up.pt>
6001 * buffer.C (readParagraph):
6002 * params_func (readParToken, readParagraph):
6003 * paragraph.C (write): \layout -> \begin_layout.
6005 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * lyxlex_pimpl.C (setFile): clean up slightly.
6009 * bufferparams.h: add compressed var
6011 * buffer_funcs.C (readFile): adjust for LyXLex change
6012 (newFile): ditto + simplify
6014 * buffer.C (writeFile): handle writing of compressed files
6016 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6017 Check if the file is compressed and set a bufferparm if so.
6019 * Makefile.am (lyx_LDADD): remove explicit -lz
6021 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6023 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6024 makeDocBookFile): put the real LyX version in the first line of
6028 * version.C.in: remove lyx_docversion
6030 * tabular.C (write_attribute): add a template-based version to
6031 write enums properly
6033 2003-07-28 André Pönitz <poenitz@gmx.net>
6038 * text3.C: use doubles again for x-coordinates. They are needed.
6040 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * messages.C (getLocaleDir): use lyx_localedir()
6044 * lyxlex_pimpl.C (setFile): compress stuff
6046 * buffer.C (writeFile): add some compression stuff
6047 (do_writeFile): new func, dont call expliti close... will this
6050 * Makefile.am (lyx_LDADD): add -lz
6052 2003-07-28 José Matos <jamatos@fep.up.pt>
6054 * buffer.C: increment file format.
6055 * paragraph_funcs (readParagraph, readParToken):
6056 * paragraph.C (readParagraph): add \end_layout.
6058 2003-07-27 Angus Leeming <leeming@lyx.org>
6060 * Makefile.am: remove special casing for configure-time setting of
6061 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6063 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6064 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6066 2003-07-26 André Pönitz <poenitz@gmx.net>
6068 * paragraph_func.[Ch]:
6069 * paragraph.C (realizeFont): inline it whereever it is used
6074 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6077 2003-07-26 André Pönitz <poenitz@gmx.net>
6081 * text2.C: get rid of LyXText::need_break_row
6083 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * toc.[Ch]: put namespace toc inside namespace lyx
6087 * MenuBackend.C (expandToc2): adjust for lyx::toc
6090 * lyxfunc.C (dispatch): adjust for lyx::find
6092 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6093 lyx::find instead. Reorganize a bit.
6094 (LyXReplace): rename to replace
6095 (LyXFind): rename to find
6097 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6100 2003-07-26 André Pönitz <poenitz@gmx.net>
6102 * text.C (setHeightOfRow): restrict scope of temporary variable
6104 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6105 code (never has been used?)
6107 2003-07-27 Asger Alstrup <alstrup@local>
6109 * text.C (fill): Optimise algorithm to exploit that we can reuse
6110 the LyXFont for many characters.
6111 (setHeightOfRow): Same thing.
6112 (rowBreakPoint): Same thing.
6114 2003-07-26 Asger Alstrup <alstrup@local>
6116 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6118 * text.C (singleWidth): Spurious font copying in hot-spot
6119 singleWidth avoided. Reorder tests for arabic for efficiency.
6121 * text.C (fill): handle empty paragraphs better.
6123 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6126 * encoding.h: add includes
6128 * lyxrc.C: remove reading of bind files
6130 * lyx_main.C (init): setup bindings and menus only if we have a
6133 * kbmap.C (read): new method. Do the actual reading of bind
6136 * converter.C (dvipdfm_options):
6139 (output): adapt PAPER_* enums.
6141 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6143 * bufferparams.h: remove paper-related enums from there
6145 * paper.h: New file. A trivial header file to hold paper-related
6146 enums. It should later expand to contain many paper-related
6149 * lyxrc.C: declare extern displayTranslator
6151 2003-07-27 José Matos <jamatos@fep.up.pt>
6153 * tabular.[Ch] (linuxdoc): add support for tables and figures
6156 2003-07-27 José Matos <jamatos@fep.up.pt>
6158 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6159 consistency in both functions.
6160 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6162 2003-07-26 Asger Alstrup <alstrup@local>
6164 * rowpainter.C (paintRows): Change algorithm to work directly on
6165 the insets rather than asking every character in the document
6166 whether its an inset.
6168 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6170 * buffer.C (openFileWrite): factorize some code
6172 2003-07-26 Angus Leeming <leeming@lyx.org>
6175 * lyx_main.[Ch]: replace occurances of system_tempdir with
6178 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6180 * rename Inset to InsetOld
6182 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6184 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6185 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6186 which I think is a bit clearer. EDIT is gone, since it was
6187 premature optimisation, and broken for mathed anyway.
6188 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6189 with cursor positioning in insets as well (math insets still do not
6190 work, but that's a different story anyway.) It mysteriously
6191 crashes sometimes with undo in the first paragraph, but I'm fairly
6192 confident that this is a compiler bug.
6194 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * paragraph.C (Paragraph): adjust for new clone return type
6198 (copyIntoMinibuffer): ditto
6200 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6202 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6203 by not having a special case, and always doing a full rebreak of
6204 the document after undo.
6206 2003-07-23 Angus Leeming <leeming@lyx.org>
6208 * factory.C (createInset): InsetExternal::setParams now takes a
6211 2003-07-23 Angus Leeming <leeming@lyx.org>
6213 * factory.C (createInset): changed interface to the external and
6214 graphics mailers' string2params functions.
6216 2003-07-23 Angus Leeming <leeming@lyx.org>
6218 * factory.C (createInset): pass a
6219 Buffer const * parameter to InsetExternalMailer's string2params.
6221 2003-07-22 John Levon <levon@movementarian.org>
6223 * Thesaurus.h: include the right aiksaurus header
6225 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6227 * MenuBackend.C (expand): check menu shortcuts unconditionally
6229 2003-07-21 Angus Leeming <leeming@lyx.org>
6231 * factory.C (createInset): pass a
6232 buffer_path parameter to InsetGraphicsMailer's string2params.
6234 2003-07-21 Angus Leeming <leeming@lyx.org>
6236 * BufferView_pimpl.C (buffer):
6239 * lyxfunc.C (dispatch):
6240 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6241 rather than the grfx shortcut.
6243 2003-07-21 André Pönitz <poenitz@gmx.net>
6245 * rowpainter.C: remove unused variables
6248 * tabular_funcs.h: move to tabular.C
6249 * Makefile.am: adjust
6251 * tabular.[Ch]: basic optical cleaning
6253 * author.h: pass references, not values
6255 2003-07-18 André Pönitz <poenitz@gmx.net>
6263 * text3.C: two-phase drawing for InsetText and InsetTabular
6264 some float -> int changes.
6266 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6268 * lyx_main.C: fix the fix
6270 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6272 * lyx_main.C: fix a crash in batch mode if no files specified
6275 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6277 * format.[Ch] (papersize): moved to BufferParams
6278 * converter.[Ch] (dvips_options): moved to BufferParams
6279 (dvipdfm_options): moved to anon namespace
6280 * bufferparams.[Ch]: added above functions.
6282 2003-07-17 André Pönitz <poenitz@gmx.net>
6286 * text2.C: don't call inset->update() anymore
6288 * metricsinfo.[Ch]: add convenience constructor
6290 2003-07-16 André Pönitz <poenitz@gmx.net>
6295 * text2.C: replace the LyXCursor::irow_ member with
6296 on-demand computation of the value
6298 2003-07-16 John Levon <levon@movementarian.org>
6300 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6302 2003-07-15 André Pönitz <poenitz@gmx.net>
6305 * text2.C: remove no more needed refresh_row
6307 2003-07-15 André Pönitz <poenitz@gmx.net>
6312 * text3.C: refresh_status tristate -> need_update bool
6314 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6316 * lyxtext.h (init): remove reinit argument (act as if always true)
6317 * text2.C: adjust to that
6319 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6321 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6322 * text3.C: use it to delete selections in some cases
6323 (bugs 441, 673, 702, 954).
6325 2003-07-14 André Pönitz <poenitz@gmx.net>
6327 * rowpainter.[Ch]: reduce interface
6329 2003-07-14 André Pönitz <poenitz@gmx.net>
6331 * BufferView_pimpl.C:
6332 * text2.C: adjust after removing unused BufferView * argument
6334 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6336 * text2.C (init): fix a crash fired on resize
6338 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6340 * buffer.[Ch]: added new closing signal
6341 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6342 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6343 BufferView::Pimpl via the closing the signal
6345 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6347 * buffer.[Ch]: take out all bv-related from buffer
6349 * BufferView_pimpl.[Ch]: connect to new signals
6350 * CutAndPaste.C: removed useless asserts
6351 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6354 * lyxfunc.C: moved view-related funciontality from vc here
6355 * paragraph.C: removed outdated comments
6358 2003-07-10 André Pönitz <poenitz@gmx.net>
6360 * BufferView_pimpl.C:
6364 * text2.C: remove InsetText::InnerCache, clean up consequences
6366 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6368 * ispell.C: fix two typos in error messages
6370 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6372 * Extend Note inset to other forms of annotation like Comment
6373 and Greyedout. Right button click gives dialog.
6375 Files modified or added (+):
6379 * ControlNote.[Ch] +
6381 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6382 frontends/controllers
6386 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6388 * aspell.C: add missing namespace lyx::support
6390 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6392 * BufferView.[Ch] (newFile): Add
6393 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6394 * LaTeX.[Ch] (message): added this signal and use it
6395 * buffer.[Ch] (busy, message): added these signals and use them
6396 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6400 * importer.C: use buffer signals instead of direct bv calling
6401 * lyx_cb.[Ch] (ShowMessage): removed
6404 * paragraph_funcs.C:
6405 * text2.C: use buffer signals
6407 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * introduce namespace lyx::graphics
6411 2003-07-02 André Pönitz <poenitz@gmx.net>
6413 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6415 2003-07-01 André Pönitz <poenitz@gmx.net>
6422 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6423 text*.C to text_func.C
6425 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * introduce namespace lyx::support
6429 2003-06-30 André Pönitz <poenitz@gmx.net>
6434 * text.C: re-enable --with-included-string
6436 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * textcursor.C: add <config.h>
6440 * text.C (getWord): remove const from word_location arg
6442 * lyxvc.C (getLogFile): fix const type order
6444 * lyxtext.h: remove const from word_location arg, add arg name
6446 * lyxlayout.h: currect type on labeltype.
6448 * importer.C: correct \file
6450 * converter.C (intToFormat): use std:: on ret val, ws changes
6452 * bufferlist.h: correct \file
6454 * buffer.C (makeLinuxDocFile): fix const type order
6455 (makeDocBookFile): ditto
6456 (fillWithBibKeys): use std:: on stdlib args.
6458 * CutAndPaste.C: fix authors.
6459 (availableSelections): use std:: on return vector
6461 2003-06-27 André Pönitz <poenitz@gmx.net>
6463 * BufferView_pimpl.C:
6464 * bufferview_funcs.C:
6472 * text3.C: remove LyXCursor::row_ member
6475 * text.C: rename fullRebreak() to partialRebreak() and implement
6476 a fullRebreak() that really bereks fully
6478 * textcursor.h: new struct for cursor-related data
6480 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6482 * lyx_main.C (LyX): get full path of document loaded on the
6485 2003-06-26 André Pönitz <poenitz@gmx.net>
6487 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6488 remove unused/broken operator>,<,>=.
6490 * text.C: remove only use of broken operator<= in an Assert().
6492 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6494 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6495 moved errorlist_.clear to showErrorList
6497 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6499 * converter.C (scanLog, runLaTeX):
6500 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6501 move the bv->showErrorList call to the callers
6502 * lyxfunc.C: i.e. here...
6504 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6505 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6506 namespace, the second to...
6507 * buffer_funcs (BufferFormat, parseErrors): added
6508 * errorlist.C (ErrorList(TeXErrors const &)): removed
6510 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6512 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6514 2003-06-24 "Garst R. Reese" <reese@isn.net>
6518 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6520 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6522 * version.C.in: change docversion to 1.4
6524 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6526 * buffer.C: fix a bug just introduced
6528 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6530 * buffer.[Ch]: added the parseError signal and use it, removed
6532 * BufferView.[Ch] (addError): moved to ...
6533 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6534 to the Buffer::parseError signal to catch (guess what) parse errors
6535 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6537 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6539 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6540 ability to create a buffer and to return an existing one from
6541 the list. Moved these functions to...
6542 * buffer_funcs.[Ch]: added
6543 * BufferView.[Ch] (loadLyXFile): added
6544 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6545 job removed from bufferlist::loadLyXFile.
6546 * buffer.C (setReadOnly): make it work without view
6547 (i.e added an if (users))
6549 2003-06-19 Angus Leeming <leeming@lyx.org>
6552 * LyXAction.C (init):
6553 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6554 with LFUN_DIALOG_SHOW <name> <data>.
6556 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6558 * CutAndPaste.C (availableSelections): small compilation fix for
6559 ancient (gcc 2.9x) compilers
6561 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * text3.C (cursorNext): add tmp var
6565 * text2.C (updateCounters): for function calling out of for clause
6566 (replaceSelectionWithString): ditto
6567 (insertStringAsParagraphs): ditto
6568 (getColumnNearX): add tmp var
6569 (setCursorFromCoordinates): add tmp var
6570 (cursorDownParagraph): add tmp var
6571 (deleteEmptyParagraphMechanism): add tmp var
6573 * text.C (insertChar): add tmp var
6575 * rowpainter.C (paintDepthBar): add tmp var
6577 * CutAndPaste.C (availableSelections): potentially check all
6578 paragraphs in a cut to fill the shown strings.
6580 2003-06-18 André Pönitz <poenitz@gmx.net>
6582 * kbmap.[Ch]: use vector<> instead of list<>
6584 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6586 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6587 pasteSelection with index
6589 * text2.C (pasteSelection): modify, call pasteSelection with index
6591 * paragraph.C (asString): reimplement version with no interval to
6592 call the one with interval.
6594 * lyxtext.h: add index arg to pasteSelection
6596 * MenuBackend.C (MenuItem): handle PasteRecent
6597 (Menu::read::Menutags): add md_pasterecent
6599 (expandPasteRecent): new function
6602 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6604 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6606 (availableSelections): new function
6608 2003-06-17 Angus Leeming <leeming@lyx.org>
6610 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6612 2003-06-17 Angus Leeming <leeming@lyx.org>
6615 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6617 * lyxfunc.C (dispatch): invoke it.
6619 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6621 * iterators.C (operator++, ParPosition): reintroduce some
6622 const_cast for the benefit of older compilers.
6624 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6626 * text3.C (dispatch): do not modify clipboard when doing
6627 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6628 LFUN_DELETE_SKIP on a selection selection
6630 2003-06-16 André Pönitz <poenitz@gmx.net>
6636 * tabular.[Ch]: IU of clone() and getLabelList();
6638 2003-06-13 André Pönitz <poenitz@gmx.net>
6640 * tabular.h: compactification
6642 2003-06-12 André Pönitz <poenitz@gmx.net>
6646 * tabular_funcs.h: some renaming plus whitespace
6648 2003-06-12 André Pönitz <poenitz@gmx.net>
6651 * BufferView_pimpl.C:
6657 * toc.C: Return a Paragraph & for ParIterator::operator*()
6659 2003-06-11 John Levon <levon@movementarian.org>
6663 * ToolbarBackend.C: add "Toolbars" section and
6666 2003-06-10 Angus Leeming <leeming@lyx.org>
6669 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6671 * lyxfunc.C (dispatch): invoke it.
6673 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * main.C: protect <ios> with HAVE_IOS
6676 (main): protect sync_with_stdio with HAVE_IOS
6678 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6680 * text2.C (cutSelection): adjust
6681 (pasteSelection): adjust
6683 * messages.C: handle get of empty string
6685 * main.C (main): use sync_with_stdio(false)
6687 * lyxfunc.C (dispatch): adjust
6689 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6690 (WriteAs): remove unneeded BufferView arg.
6692 * bufferparams.h: use correct types on papersize, papersize2 and
6695 * bufferparams.C (readToken): adjust for type
6696 (writeLaTeX): add missing cases to switch.
6698 * bufferlist.C (quitWriteBuffer): adjust
6701 * buffer.C (asciiParagraph): remove some commented code.
6703 * CutAndPaste.C: remove current_view extern variable.
6704 (cutSelection): add BufferParams arg.
6705 (eraseSelection): add BufferParams arg.
6706 (pasteSelection): add Buffer const & arg
6708 2003-06-07 John Levon <levon@movementarian.org>
6711 * paragraph_funcs.C:
6712 * paragraph_pimpl.C:
6716 * paragraph.C: allow InsetERT to freely space lines,
6717 and some consolidation of code
6719 2003-06-06 José Matos <jamatos@fep.up.pt>
6721 * buffer.C (makeDocBookFile): fix bug #821
6723 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6725 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6727 2003-06-04 Angus Leeming <leeming@lyx.org>
6729 * buffer.C: bump format to 224.
6731 2003-06-05 André Pönitz <poenitz@gmx.net>
6733 * text2.C (redoParagraphs): remove two const_cast<>
6735 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6737 * ParagraphList.h: remove last remnants of NO_STD_LIST
6739 2003-06-03 Angus Leeming <leeming@lyx.org>
6741 * factory.C (createInset): small change to the way InsetExternal's params
6744 2003-06-04 André Pönitz <poenitz@gmx.net>
6746 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6748 * paragraph_pimpl.h:
6749 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6751 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6753 * undo_funcs.C: make some simple cases of undo work again
6755 2003-06-03 John Levon <levon@movementarian.org>
6757 * ispell.C: HPUX doesn't have sys/select.h
6760 2003-06-03 John Levon <levon@movementarian.org>
6762 * CutAndPaste.C: update tabular and include inset
6767 * paragraph.C: remove owningBuffer(), don't pass Buffer
6770 * factory.C: insetGraphicsParams changed
6772 2003-06-02 John Levon <levon@movementarian.org>
6778 * text3.C: remove insetparent
6780 2003-06-02 John Levon <levon@movementarian.org>
6783 * buffer.C: fix inset_iterator.end(), move out of line
6786 2003-06-01 John Levon <levon@movementarian.org>
6788 * text3.C: use a proper cut/paste when doing inset
6789 insert (from Jürgen Spitzmüller)
6791 2003-06-01 John Levon <levon@movementarian.org>
6793 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6795 2003-05-30 André Pönitz <poenitz@gmx.net>
6797 * rowpainter.C: unify second drawing phase
6799 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6801 * trans_mgr.C: remove one case of current_view
6803 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6805 * paragraph_funcs.h: remove paragraph.h include
6807 * paragraph.h: delete NO_STD_LIST stuff
6809 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6811 * buffer.h: remove paragraph.h include
6813 * ParagraphList.C: delete file
6815 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6817 * toc.C (getTocList): adjust
6819 * paragraph_pimpl.C (validate): adjust
6821 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6823 * paragraph.C (Paragraph): adjust
6824 (getPositionOfInset): use const_iterator, adjust
6825 (bibitem): use const_iterator, adjust
6826 (setInsetOwner): adjust
6828 * iterators.C (operator++): adjust
6830 * InsetList.[Ch]: Replace selfmade iterator with standard
6831 vector::iterator also introduce const_iterator. Remove getPos,
6832 getInset and setInset from InsetTable. Adjust accordingly.
6834 * BufferView.C (lockInset): adjust
6835 (ChangeInsets): adjust
6837 * tabular.[Ch]: delete commented same_id functions
6839 2003-05-28 John Levon <levon@movementarian.org>
6841 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6843 2003-05-28 André Pönitz <poenitz@gmx.net>
6845 * metricsinfo.[Ch]: remove 'fullredraw' member
6847 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6849 * lyxtextclass.C (operator): remove caching.
6851 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6855 * text2.C (cursorBottom): adjust
6856 (setCounter): use ParagraphList::find, adjust
6858 * text.C (workWidth): use ParagraphList::find, adjust
6860 * lyxcursor.C (LyXCursor): adjust
6862 * buffer.C (inset_iterator): adjust
6864 * ParagraphList.h: make iterator(value_type) private, make
6865 ParagraphList a friend of iterator.
6867 * ParagraphList.C (find): new function
6869 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6871 2003-05-27 André Pönitz <poenitz@gmx.net>
6873 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6875 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6877 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6879 2003-05-26 John Levon <levon@movementarian.org>
6881 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6883 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6885 * remove same_id from function signatures, adjust.
6887 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6889 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6891 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6893 * paragraph.C (Paragraph): get rid of same_ids parameter
6895 * ParagraphList.C (insert): adjust
6898 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6900 * paragraph_funcs.C (breakParagraph): adjust
6901 (breakParagraphConservative): adjust
6903 * buffer.C (readParagraph): adjust
6905 * ParagraphList.C (insert): take a reference instead of a pointer
6908 * paragraph.[Ch] (id): new function
6910 * bufferlist.C (newFile): adjust
6912 * ParagraphList.C (ParagraphList): adjust
6914 (push_back): take a reference instead of a pointer.
6916 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6918 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6921 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6922 set else use old code.
6924 * ParagraphList.C: remove all NO_NEXT code and only compile this
6925 code of NO_STD_LIST is set.
6927 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6929 * BufferView_pimpl.C:
6939 * graphics/GraphicsConverter.C:
6940 * graphics/PreviewLoader.C: header adjustment
6942 2003-05-23 Angus Leeming <leeming@lyx.org>
6944 * LaTeXFeatures.[Ch] (useBabel): new method.
6945 * bufferparams.C (writeLaTeX): use it.
6947 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * ParagraphList.h (set): remove unused function.
6951 2003-05-23 André Pönitz <poenitz@gmx.net>
6954 * BufferView_pimpl.C:
6958 * undo_funcs.C: setUndo reworked
6960 * iterators.[Ch]: add access to topmost ParagraphList
6962 * lyxtext.[Ch] (workWidth): add a const
6964 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6966 * texrow.[Ch] (increasePos): remove function
6967 * exporter.C (export): removed unused var and outdated comment
6969 2003-05-23 Angus Leeming <leeming@lyx.org>
6971 * latexrunparams.h: rename fragile as moving_arg.
6972 * paragraph.C (simpleTeXOnePar): ditto.
6973 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6975 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6977 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6979 (textUndoOrRedo): comment out a currently unused var.
6981 * paragraph.h (NO_NEXT): enable NO_NEXT
6983 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6985 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6987 * exporter.C (Export): adjust for removeAutoInsets removal.
6989 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6991 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6993 * BufferView.[Ch] (removeAutoInsets): delete function
6995 2003-05-22 Angus Leeming <leeming@lyx.org>
6997 * latexrunparams.h: add a free_spacing variable.
6999 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7000 to pass moving_arg, as the data is stored in runparams.fragile.
7002 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7003 to Inset::latexOptional or to simpleTeXOnePar.
7005 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7006 free_spacing arg to Inset::latexOptional.
7008 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7011 2003-05-22 Angus Leeming <leeming@lyx.org>
7013 * latexrunparams.h: add fragile and use_babel variables.
7015 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7016 * buffer.C (makeLaTeXFile): store this returned value in
7017 runparams.use_babel, thus passing it to the inset::latex methods.
7019 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7020 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7022 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7023 longer has a fragile arg, as it is stored in runparams.fragile.
7025 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7026 moving_arg parameter as the data is stored in runparams.fragile.
7028 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7029 a fragile parameter as the data is stored in runparams.fragile.
7031 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7035 2003-05-22 Angus Leeming <leeming@lyx.org>
7037 * latexrunparams.h: add a 'bool nice' which defaults to false.
7039 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7040 now encapsulated within runparams.
7042 * bufferlist.C (updateIncludedTeXfiles):
7043 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7045 2003-05-22 Angus Leeming <leeming@lyx.org>
7047 * latexrunparams.h: new file containing struct LatexRunParams.
7048 * Makefile.am: add new file.
7050 * LaTeX.[Ch] (c-tor, run):
7051 * buffer.[Ch] (makeLaTeXFile):
7052 * bufferlist.[Ch] (updateIncludedTeXfiles):
7053 * converter.C (convert, scanLog):
7054 * converter.[Ch] (runLaTeX):
7055 * exporter.C (Export):
7056 * paragraph.[Ch] (simpleTeXOnePar):
7057 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7058 * paragraph_funcs.[Ch] (latexParagraphs):
7059 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7060 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7061 pass around a LatexRunParams parameter.
7063 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7065 * paragraph.[Ch]: remove unused constructor
7067 * ParagraphList.C (erase): new function, taking two iterators
7069 2003-05-22 André Pönitz <poenitz@gmx.net>
7071 * undo_funcs.C: remove duplicated code
7073 * iterator.[Ch]: operator=
7075 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * tabular.C (SetMultiColumn): ws changes
7079 * rowpainter.C (paintFirst): get rid of a ->previous
7081 * lyx_cb.C (getPossibleLabel): parlist simplification
7083 * BufferView.C (ChangeInsets): simplify slightly.
7085 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7087 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7088 * lfuns.h: new LFUN_SPACE
7089 * lyxfunc.C: protected space has a new lfun
7090 * paragraph_funcs.C: read new space insets
7092 * factory.C: handle new space insets
7094 2003-05-22 André Pönitz <poenitz@gmx.net>
7097 * BufferView_pimpl.C:
7100 * undo_funcs.C: return a ParIterator from getParFromID.
7102 * iterators.[Ch]: add two const's
7104 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * toc.C (getTocList): adjust
7108 * iterators.[Ch]: rework for parlist
7110 * buffer.C (par_iterator_begin): adjust
7111 (par_iterator_end): adjust
7113 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7115 * BufferView.C (removeAutoInsets): adjust
7116 (ChangeInsets): adjust
7118 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7120 * text.C (top_y): fix bug 1110
7122 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7124 * errorlist.[Ch]: added
7127 * BufferView_pimpl.C:
7128 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7131 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * Makefile.am: ensure that lyx is relinked upon changes to the
7134 various "convenience" libs.
7136 2003-05-20 Angus Leeming <leeming@lyx.org>
7138 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7139 files are compiled in alphabetical order again.
7141 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7143 2003-05-19 Angus Leeming <leeming@lyx.org>
7145 * gettext.[Ch]: remove "char const * _(char const *)".
7147 2003-05-19 André Pönitz <poenitz@gmx.net>
7149 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7158 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7160 2003-05-19 André Pönitz <poenitz@gmx.net>
7164 * lyxtextclass.[Ch]:
7166 * paragraph_funcs.[Ch]:
7168 * text3.C: more insetenv work
7170 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7172 * ParagraphParameters.C (params2string): small bug fixed
7174 2003-05-16 André Pönitz <poenitz@gmx.net>
7177 * bufferview_funcs.C: patch from Kornel Benko to prevent
7178 crash when _(...) is called twice in a statement
7180 2003-05-16 André Pönitz <poenitz@gmx.net>
7187 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7189 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7191 * lyx_main.C (init): remove spurious static_cast
7193 2003-05-14 André Pönitz <poenitz@gmx.net>
7195 * BufferView.C: fix format string
7197 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7199 * BufferView.[Ch] (insertErrors): removed
7200 * BufferView.[Ch] (showErrorList): added
7201 * buffer.C (runChkTeX):
7202 * converter.C (scanLog): call showErrorList instead of inserterrors
7204 2003-05-13 André Pönitz <poenitz@gmx.net>
7206 * BufferView_pimpl.C:
7208 * bufferview_func.C:
7215 * tabular_funcs.h: tostr() from its own header
7217 * ParagraphParameters.C:
7222 * text3.C: STRCONV()
7224 2003-05-12 André Pönitz <poenitz@gmx.net>
7227 * BufferView_pimpl.C:
7231 * ParagraphParameters.C:
7235 * bufferview_funcs.C:
7248 * paragraph_funcs.C:
7252 * text3.C: boost::format -> bformat all over the place
7255 2003-05-09 André Pönitz <poenitz@gmx.net>
7257 * LColor.[Ch]: Pimpl the #include <map> away
7259 2003-05-09 John Levon <levon@movementarian.org>
7261 * bufferlist.C: never remove emergency saves
7263 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7265 * Makefile.am: better lib building
7267 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7269 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7271 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7272 (simpleTeXSpecialChars): adjust
7273 (simpleTeXSpecialChars): adjust
7274 * paragraph.C (simpleTeXOnePar): adjust
7275 * buffer.C (makeLaTeXFile): adjust
7277 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7279 * text2.C (changeDepth): parlist cleanup
7280 (getColumnNearX): ditto
7282 * rowpainter.C (getLabelFont): parlist cleanup
7284 * bufferlist.C (newFile): parlist cleanup
7286 * CutAndPaste.C (eraseSelection): parlist cleanup
7288 * BufferView_pimpl.C (trackChanges): parlist cleanup
7291 * BufferView.C (lockInset): parlist cleanup.
7292 (ChangeInsets): ditto
7294 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * CutAndPaste.h: Update file header.
7298 * CutAndPaste.C: Update file header.
7299 Store the parts cut out of the Document in a limited_stack.
7300 (copySelection): adjust
7301 (pasteSelection): new function, takes the index in the limited stack.
7302 (nrOfParagraphs): adjust
7303 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7304 simplify error inset insertion.
7305 (checkPastePossible): adjust
7307 2003-05-06 John Levon <levon@movementarian.org>
7309 * text2.C: don't cast wrap inset to float
7311 2003-05-05 André Pönitz <poenitz@gmx.net>
7314 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7316 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7317 few naked Paragraph *.
7319 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7321 * bufferparams.C: Output warning if a document with missing
7322 TeX document class is loaded
7323 * exporter.C: Disable TeX exports if the document class is missing
7326 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7327 isTeXClassAvailable()
7329 2003-05-03 John Levon <levon@movementarian.org>
7332 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7333 explicit cursor show/hide
7335 * BufferView_pimpl.h:
7336 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7337 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7339 * lyxfunc.C: hide cursor before dispatching.
7344 * text3.C: remove explicit cursor hides
7346 2003-05-02 André Pönitz <poenitz@gmx.net>
7348 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7351 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7354 * text2.C: tiny whitespace
7356 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7358 * undo_funcs.C: almost only ws changes.
7360 * ParagraphList.C (splice): just return if pl is empty.
7362 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * ParagraphList.C (splice): new function.
7366 * CutAndPaste.C (pasteSelection): use it
7368 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7370 * CutAndPaste.C (pasteSelection): remove the last next and
7371 previous from this file.
7373 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * CutAndPaste.C (pasteSelection): more clean up, user proper
7376 ParagraphList functions for pasteing.
7378 * ParagraphList.C (insert): new function, three arg insert
7380 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * ParagraphList.C (insert): new function, three arg insert
7384 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7387 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7391 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7393 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7395 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7398 (copySelection): clean up a bit.
7399 (pasteSelection): use make_pair
7401 * ParagraphList.C (ParagraphList): implement copy constructor
7402 (operator=): implement, base on copy constructor.
7405 * paragraph.C (erase): return a bool
7407 * paragraph_pimpl.C (erasePos): remove function, move contents...
7408 (erase): ... here. Return a bool.
7409 (erase): call erase instead of erasePos.
7411 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7413 * ParagraphList.h: define PitPosPair
7414 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7415 ParagraphList, fix a bug on pasting multiple pars
7416 * text2.C: change interface to C&P
7418 2003-04-30 André Pönitz <poenitz@gmx.net>
7420 * undo_func.C: revert part of yesterday's patch 2
7422 2003-04-30 John Levon <levon@movementarian.org>
7424 * LColor.C: s/tabular/table/
7426 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7428 * text3.C (dispatch): do not convert iterator -> pointer
7429 * undo_funcs.C (setCursorParUndo): ditto
7430 * text_funcs.C (transposeChars): ditto
7432 * text2.C (setLayout): ws changes only
7434 * text.C (breakParagraph): do not convert iterator -> pointer
7436 (acceptChange): ditto
7437 (rejectChange): ditto
7442 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7445 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7447 * text3.C (gotoInset): YABG (yet another bad getChar)
7449 2003-04-29 André Pönitz <poenitz@gmx.net>
7451 * paragraph.h: make operator= private unimplemented as long as
7454 * ParagraphList.C: whitespace
7457 * paragraph_pimpl.[Ch]:
7458 * paragraph_funcs.C:
7460 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7463 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7465 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7467 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7468 * paragraph.[Ch] (erase):
7469 * paragraph_pimpl.[Ch] (erase): change return type and value
7470 * text2.C (cutSelection): some rework
7472 2003-04-28 John Levon <levon@movementarian.org>
7474 * bufferlist.C: changes for unsaved changes dialog
7476 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7478 * bufferlist.C (newFile): set language (messages_) for new
7481 * buffer.C (readFile): ws changes only.
7483 2003-04-28 André Pönitz <poenitz@gmx.net>
7488 * BufferView_pimpl.C:
7489 * BufferView.C: getParFromID related ParagraphList::iterator changes
7491 2003-04-28 André Pönitz <poenitz@gmx.net>
7493 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7496 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7498 * messages.C: remove one more localedir class variable.
7500 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * messages.C (getLocaleDir): singleton generation function
7504 (Messages): add a default constructor.
7506 * main.C (main): do not setup localedir here, do not call
7509 * gettext.C (_): use it.
7510 (gettext_init): delete funciton
7512 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * gettext.C (getLyXMessages): new singleton generating function.
7516 * buffer.C (updateDocLang): adjust
7518 * Makefile.am (messages.o): add target
7519 (main.o): remove target
7521 2003-04-27 John Levon <levon@movementarian.org>
7526 * lyxvc.C: specify cancel button in Alert::prompt
7528 2003-04-26 John Levon <levon@movementarian.org>
7533 * LyXAction.C: add LFUN_INSET_SETTINGS
7535 * lyxfunc.C: don't enable tabular-feature when there's
7536 just any locking inset
7538 2003-04-26 John Levon <levon@movementarian.org>
7540 * bufferlist.C: re-add Cancel to buffer close question
7542 * lyxfunc.C: fix import UI a bit
7544 2003-04-25 John Levon <levon@movementarian.org>
7546 * gettext.C: remove the broken asserts for now
7548 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * messages.C: make case where setlocale cannot comply work better.
7552 * buffer.C (updateDocLang): new function
7553 (changeLanguage): use it
7556 * text2.C (setCounter): use B_ a bit.
7558 * lyxlayout.C (Read): be sure to trim the label strings.
7560 * messages.C (Messages): fix typo in comment
7562 * buffer.C (readFile): set message_ after file is loaded.
7563 (makeDocBookFile): remove double return
7564 (changeLanguage): reset message_ upon language change.
7565 (B_): new func, use this to get translated buffer strings.
7567 * main.C: add myself and Jean Marc as authors.
7569 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * messages.[hC]: pimplify Messages, and three different pimpls to be
7572 used in different circumstances.
7574 * gettext.[Ch]: change for use with new message code.
7576 2003-04-24 André Pönitz <poenitz@gmx.net>
7578 * factory.C: support for eqref
7580 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * messages.[Ch]: add missing char
7584 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7586 * messages.[Ch]: New files
7588 2003-04-18 John Levon <levon@movementarian.org>
7592 * BufferView_pimpl.C:
7596 * text2.C: remove layout-copy/paste (bug 778)
7598 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7600 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7602 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7604 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7605 if they succeed. Act accordingly.
7607 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * text2.C (setCharFont): adjust
7610 (setCounter): adjust
7611 (insertStringAsLines): adjust
7613 * text.C (leftMargin): adjust
7614 (setHeightOfRow): adjust
7616 * rowpainter.C (paintFirst): adjust
7619 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7621 (isFirstInSequence): ditto
7622 (getEndLabel): ditto
7625 * paragraph.C (getParLanguage): comment out some hard stuff.
7627 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7629 (simpleDocBookOnePar): ditto
7630 (makeDocBookFile): use ParagraphList::iterator
7632 * CutAndPaste.C (pasteSelection): adjust
7634 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * text2.C (getFont): adjust
7637 (getLayoutFont): adjust
7638 (getLabelFont): adjust
7640 * paragraph_funcs.C (TeXOnePar): adjust
7642 * buffer.C (simpleLinuxDocOnePar): adjust
7643 (simpleDocBookOnePar): adjust
7645 * CutAndPaste.C (pasteSelection): adjust
7647 * BufferView.C (getEncoding): adjust
7649 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7651 2003-04-16 John Levon <levon@movementarian.org>
7653 * lyxfind.C: use parlist stuff for search/changes
7655 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7659 * text2.C (deleteEmptyParagraphMechanism): adjust
7661 * text2.[Ch] (ownerParagraph): delete func (both of them
7663 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7667 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7669 * ParagraphList.C: prepare for NO_NEXT
7671 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * text2.C (getFont): adjust
7674 (getLayoutFont): adjust
7675 (getLabelFont): adjust
7677 * paragraph.C (getFont): adjust
7678 (getLabelFont): adjust
7679 (getLayoutFont): adjust
7681 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7683 2003-04-15 John Levon <levon@movementarian.org>
7687 * lyx_main.C: handle Include in .ui files
7689 2003-04-15 John Levon <levon@movementarian.org>
7691 * MenuBackend.C: make the doc files length shorter
7694 * ToolbarBackend.C: handle toolbar placement flags,
7697 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7702 * paragraph_funcs.C (TeXOnePar): adjust
7704 * paragraph.C (getLabelFont): add outerfont arg, adjust
7705 (getLayoutFont): ditto
7706 (simpleTeXOnePar): adjust
7708 * paragraph_pimpl.C (realizeFont): delete func
7710 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7712 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7713 row argument, constify cur argument.
7715 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * text2.C (getFont): adjust
7718 (getLayoutFont): adjust
7719 (getLabelFont): adjust
7721 * paragraph_funcs.C (TeXOnePar): adjust
7722 (outerFont): new func...
7723 (realizeFont): ...moved out from here, changed this to facilitate
7726 * paragraph.C (getFont): take outerfont as arg, adjust
7727 (simpleTeXOnePar): add outerfont arg, adjust
7729 * buffer.C (simpleLinuxDocOnePar): adjust
7730 (simpleDocBookOnePar): adjust
7732 * CutAndPaste.C (pasteSelection): adjust
7734 * BufferView.C (getEncoding): adjust
7736 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * text2.C (setCharFont): adjust
7739 (setCounter): adjust
7741 * text.C (leftMargin): adjust
7742 (setHeightOfRow): adjust
7744 * rowpainter.C (paintFirst): adjust
7747 * paragraph_pimpl.C (realizeFont): adjust
7749 * paragraph.C (isFirstInSequence): move from here...
7750 * paragraph_funcs.C (isFirstInSequence): ...to here
7752 * paragraph.C (outerHook): move from here...
7753 * paragraph_funcs.C (outerHook): ...to here
7755 * paragraph.C (depthHook): move from here...
7756 * paragraph_funcs.C (depthHook): ...to here
7758 * paragraph.C (getEndLabel): move from here...
7759 * paragraph_funcs.C (getEndLabel): ...to here
7761 * text2.C (realizeFont): move from here...
7762 * paragraph_funcs.C (realizeFont): ...to here
7764 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7768 2003-04-14 Angus Leeming <leeming@lyx.org>
7770 * LColor.[Ch]: scrap LColor mathcursor.
7772 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * lyxlex.[Ch] (text): delete function
7775 * trans.C (Load): adjust
7776 * paragraph_funcs.C (readParToken): adjust
7778 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7781 vector<char> instead of a char[].
7783 * lyxlex_pimpl.C (getString): adjust
7785 (lex): use getString
7789 * lyxlex.C (text): use pimpl_->getString()
7793 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7795 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7796 (makeFontEntriesLayoutSpecific): temp var for par.size()
7797 (setLayout): temp var for ownerParagraphs().end()
7798 (fullRebreak): temp var for rows().end()
7799 (selectionAsString): temp var for boost::next(startpit), realize
7800 that the while really is a regular for loop.
7801 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7802 setCursor in one place.
7803 (setParagraph): temp vr for ownerParagraphs().end()
7804 (updateCounters): make the while loop a for loop
7805 (cutSelection): temp var for ownerParagraphs().end()
7806 (updateInset): make the do {} while() a regular for loop
7807 (getCursorX): use temp vars
7808 (setCurrentFont): use temp vars
7809 (getColumnNearX): use temp vars
7811 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * text.C (transformChar): use temp var for getChar
7814 (computeBidiTables): use temp var for row->par()
7815 (fill): move temp vars for row->par() and pit->layout() earlier in
7817 (labelFill): use temp var for row->par()
7818 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7819 asc and desc, realize that pit never changes and that firstpit is
7820 just a duplicate and not needed. Exchange rit->par() with pit in a
7822 (breakAgain): use a temp var for boost::next(rit)
7823 (breakAgainOneRow): ditto
7824 (breakParagraph): use a temp var for rows().begin()
7825 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7826 (cursorRightOneWord): use temp var for cursor.par() and
7827 cursor.pos(), remove usage of tmpcursor.
7828 (cursorLeftOneWord): use temp var for cursor.par() and
7829 cursor.pos() only set cur at end of function.
7831 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7833 * text.C, text2.C: exchange all usage of Paragraph::next with
7834 boost::next(ParagraphList::iterator)
7836 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7838 * text2.C (cursorTop): simplify implementation
7839 (cursorBottom): ditto
7840 (setParagraph): use ParagraphList::iterator
7841 (setCurrentFont): adjust
7842 (getColumnNearX): adjust
7843 (cursorRight): adjust
7844 (cursorLeft): remove usage of Paragraph::previous
7845 (cursorUpParagraph): ditto
7846 (deleteEmptyParagraphMechanism): slight cleanup
7848 * text.C (isBoundary): take a Paragraph const & instead of a
7850 (addressBreakPoint): ditto
7851 (leftMargin): remove usage of Paragraph::previous.
7852 (setHeightOfRow): ditto
7853 (cursorLeftOneWord): ditto
7854 (selectNextWordToSpellcheck): ditto
7857 (breakParagraph): remove one usage of Paragraph::next
7858 (redoParagraph): ditto
7859 (acceptChange): ditto
7860 (insertChar): adjust
7861 (rowBreakPoint): adjust
7863 * bufferview_funcs.C (toggleAndShow): adjust
7865 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7867 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7868 methods to access it.
7870 * text.C: Added updateRowPositions to compute all row positions.
7871 Make top_y and getRowNearY() to use the cached y position
7873 2003-04-11 John Levon <levon@movementarian.org>
7875 * text.C (rowBreakPoint): reintroduce the labelEnd
7876 checks, code copied from the row fill stuff. Deep voodoo.
7878 * text.C (fill): add a comment and debugging for the
7881 2003-04-11 John Levon <levon@movementarian.org>
7883 * text.C: make sure fullrow insets get wrapped to the next line,
7884 even when they're in a manual label
7886 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * text2.C (insertParagraph): make it take ParagraphList::iterator
7890 (setLayout): make it return ParagraphList::iterator
7891 (redoParagraphs): ditto
7893 (checkParagraph): ditto
7895 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7897 * text2.C: adjust several funcs.
7898 (realizeFont): take a ParagraphList::iterator as arg.
7899 (getLayoutFont): ditto
7900 (getLabelFont): ditto
7901 (setCharFont): ditto
7903 * text.C: adjust several funcs.
7905 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7907 * text.C (selectNextWordToSpellcheck): don't accidentally
7910 2003-04-10 John Levon <levon@movementarian.org>
7912 * ToolbarBackend.C (getIcon): special handling for
7915 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7917 * text2.C (cursorRight): a getChar assert fixed
7919 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7921 * text2.C (getFont): change to take a ParagraphList::iterator
7922 instead of Paragraph*
7923 Adjust several functions.
7925 * text.C (transformChar): change to take a ParagraphList::iterator
7926 instead of Paragraph*
7927 (singleWidth): ditto
7928 Adjust several functions.
7930 * rowpainter.C: adjust several functions
7931 * rowpainter.h:store a ParagraphList::iterator and not a
7935 2003-04-09 John Levon <levon@movementarian.org>
7940 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7941 and the "help" bits as well
7943 2003-04-09 John Levon <levon@movementarian.org>
7946 * ToolbarBackend.C: allow multiple toolbars
7948 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * undo_funcs.C (setCursorParUndo): adjust
7952 * text_funcs.C (transposeChars): adjust
7954 * text3.C (gotoNextInset): adjust
7957 * text2.C (setLayout): adjust
7958 (changeDepth): adjust
7960 (redoParagraphs): adjust
7961 (selectionAsString): adjust
7962 (setParagraph): adjust
7963 (insertInset): adjust
7964 (cutSelection): adjust
7965 (copySelection): adjust
7966 (pasteSelection): adjust
7967 (insertStringAsLines): adjust
7968 (updateInset): adjust
7969 (setCursor): change to take a ParagraphList::iterator parameter
7970 (setCursorIntern): change to take a ParagraphList::iterator parameter
7971 (setCurrentFont): adjust
7972 (cursorLeft): adjust
7973 (cursorRight): adjust
7974 (deleteEmptyParagraphMechanism): adjust
7976 * text.C (breakParagraph): adjust
7977 (insertChar): adjust
7978 (acceptChange): adjust
7979 (rejectChange): adjust
7980 (selectNextWordToSpellcheck): adjust
7981 (changeCase): adjust
7985 * lyxfind.C (SearchForward): adjust
7986 (SearchBackward): adjust
7987 (nextChange): adjust
7989 * lyxcursor.C (par): adjust
7991 * lyxcursor.h: store a ParagraphList::iterator instead of a
7994 * lyx_cb.C (getPossibleLabel): adjust
7996 * bufferview_funcs.C (toggleAndShow): adjust
7998 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8001 * BufferView.C (removeAutoInsets): adjust
8002 (lockedInsetStoreUndo): adjust
8004 2003-04-09 John Levon <levon@movementarian.org>
8006 * ToolbarBackend.C: try icon without argument
8007 if with argument fails
8009 2003-04-08 John Levon <levon@movementarian.org>
8012 * ToolbarBackend.C: add getIcon(), handle tooltip,
8013 and change from "Icon" to "Item".
8015 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8017 * BufferView.C (lockInset): another bad getchar crunched
8019 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8021 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8024 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8026 * lyxfind.C (searchForward, searchBackwards): bug 782
8028 2003-04-07 John Levon <levon@movementarian.org>
8030 * paragraph.C: remove dead comment
8032 * text.C: remove troublesome depth-fiddling code
8033 in leftMargin() and rightMargin() (bug 1017)
8035 * text.C: fix breaking of rows in nested lists
8038 * text2.C (updateCounters): fix up depth values
8041 2003-04-07 John Levon <levon@movementarian.org>
8043 * BufferView_pimpl.C: clear message when doc finishes resizing,
8044 and after a mouse event
8046 * lyxfunc.C: clear message after exiting inset
8048 2003-04-07 John Levon <levon@movementarian.org>
8050 * bufferview_funcs.C: show math status not outside
8051 status in the statusbar
8053 2003-04-07 John Levon <levon@movementarian.org>
8055 * lyxfunc.C: note status changed after a depth change
8057 2003-04-04 Angus Leeming <leeming@lyx.org>
8059 * LaTeX.h: move AuxInfo operator==, != out of line.
8060 Remove LaTeX virtual destructor; nothing derives from it.
8061 Move operator()() out of public area and rename it startscript().
8062 Change protected for private.
8064 2003-04-04 Angus Leeming <leeming@lyx.org>
8067 * text2.C: remove unneeded #includes.
8069 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8071 * text2.C (dEPM): fix the heigth of the next row
8073 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8075 * text.C: squashed an invalid getChar requester + some ws changes
8077 2003-04-03 John Levon <levon@movementarian.org>
8079 * bufferview_funcs.h:
8080 * bufferview_funcs.C:
8083 * text2.C: make getStatus work for the env depth lfuns
8085 2003-04-03 John Levon <levon@movementarian.org>
8087 * bufferview_funcs.h:
8088 * bufferview_funcs.C:
8091 * text2.C: parlistize decDepth(), by merging it with incDepth()
8093 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * lyxrow.h: store a ParagraphList::iterator instead of a
8096 Paragraph* and adjust other class functions to suit.
8098 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8101 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8103 * text2.C (setCursor): do not anchor to cursor row for the time being
8105 2003-04-02 John Levon <levon@movementarian.org>
8112 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8114 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * paragraph.h: make ParagraphList and ParagraphList::iterator
8117 friends of Paragraph.
8119 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8121 * ParagraphList.C: Use the private next_ and previous_ from
8124 2003-04-01 John Levon <levon@movementarian.org>
8128 * Makefile.am: rename, remove defaults gunk
8131 * MenuBackend.C: remove defaults gunk
8134 * Languages.C: remove defaults gunk
8137 * lyx_main.C: error out if files couldn't be found.
8139 2003-04-02 John Levon <levon@movementarian.org>
8141 * text2.C: make incDepth() use parlist
8143 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8145 * undo_funcs.C (firstUndoParagraph): adjust
8147 * text3.C (gotoInset): adjust
8148 (dispatch): adjust, and rewrite loop.
8150 * text2.C (init): adjust, and rewrite loop.
8151 (redoParagraphs): adjust
8152 (updateInset): adjust, and rewrite loop.
8153 (deleteEmptyParagraphMechanism): adjust
8155 * tabular.C (LyXTabular): adjust
8156 (SetMultiColumn): adjust
8159 * lyxtext.[Ch] (ownerParagraph): delete function
8160 (ownerParagraphs): new function returns a ParagraphList.
8162 * BufferView.C (removeAutoInsets): adjust
8163 (insertErrors): adjust
8164 (setCursorFromRow): adjust
8166 2003-04-01 Angus Leeming <leeming@lyx.org>
8168 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8171 2003-04-02 John Levon <levon@movementarian.org>
8177 * text_funcs.C: make transposeChars a free function
8179 * lyxrow_funcs.C: remove wrong comment
8181 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8184 * rowpainter.C: adjust
8189 * lyxrow_funcs. [Ch]: new files
8191 * lyxrow.[Ch]: remove next and previous pointers
8192 (next,previous): remove accessor functions
8193 (isParEnd): move to lyxrow_funcs
8194 (lastPos): move to lyxrow_funcs
8195 (nextRowIsAllInset): move to lyxrow_funcs
8196 (lastPrintablePos): move to lyxrow_funcs
8197 (numberOfSeparators): move to lyxrow_funcs
8198 (numberOfHfills): move to lyxrow_funcs
8199 (numberOfLabelHfills): move to lyxrow_funcs
8200 (hfillExpansion): move to lyxrow_funcs
8204 * bufferview_funcs.C (toggleAndShow): adjust
8206 * RowList.h: Remove class RowList from file leave just a
8209 * RowList.C: delete file
8211 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8214 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8216 * text3.C (cursorPrevious): adjust
8217 (cursorNext): adjust
8220 * text2.C (redoHeightOfParagraph): adjust
8221 (redoDrawingOfParagraph): adjust
8224 * text.C (breakParagraph): adjust
8225 (insertChar): adjust
8228 * rowpainter.C (RowPainter): adjust
8229 (leftMargin): simplify and adjust
8230 (most rowpainter functions): adjust.
8232 * rowpainter.h: store the row as RowList::iterator not as Row*
8234 * lyxcursor.C (row): taka RowList::iterator as arg
8237 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8240 2003-04-01 Angus Leeming <leeming@lyx.org>
8242 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8243 stuff like bool Bool.
8245 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8247 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8250 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8255 * lyxtext.h (rows): drop one version and leve a const variant that
8256 returns a RowList::iterator.
8258 2003-03-31 Angus Leeming <leeming@lyx.org>
8260 * text.C (fill): ensure that the signature is the same as that in the
8263 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8265 * text2.C (redoParagraphs): adjust
8266 (updateCounters): adjust
8267 (checkParagraph): adjust
8268 (getColumnNearX): adjust and reformat a bit.
8270 * text.C (top_y): adjust
8272 (leftMargin): adjust
8273 (prepareToPrint): adjust
8275 (getRowNearY): adjust
8277 * lyxtext.h: make rowlist_ mutable.
8279 * RowList.h: add const_iterator
8280 * RowList.C: adjust for RowList::const_iterator.
8282 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8285 2003-03-31 John Levon <levon@movementarian.org>
8288 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8290 * lyx_main.C: set default fonts from using lyx_gui funcs
8292 * exporter.C: pdf_mode moved from lyxrc
8295 * lyxfunc.C: changes from above
8297 2003-03-31 John Levon <levon@movementarian.org>
8299 * lyx_main.C: fix to the last fix
8301 2003-03-31 John Levon <levon@movementarian.org>
8303 * bufferlist.C: "Load original" -> "Load Original"
8309 * format.C: more Alert cleanups
8311 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * text2.C (removeParagraph): make it take a RowList::iterator as
8315 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8316 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8318 * text.C (anchor_row): make it take a RowList::iterator as arg,
8320 (computeBidiTables): make it take a const reference to Row instead
8321 of Row pointer, adjust.
8322 (leftMargin): make it take a RowList::iterator as arg, adjust.
8323 (rowBreakPoint): adjust
8324 (breakAgainOneRow): make it take a RowList::iterator as arg,
8326 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8328 * bufferview_funcs.C (toggleAndShow): adjust
8330 2003-03-30 John Levon <levon@movementarian.org>
8334 * boost-inst.C: moved to support
8336 * several files: changes as a result
8338 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8340 * text2.C (LyXText): adjust.
8342 (removeRow): make it take a RowList::iterator as arg, adjust.
8343 (fullRebreak): adjust
8344 (deleteEmptyParagraphMechanism): adjust
8345 (clearPaint): adjust
8348 * text.C (top_y): adjust
8349 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8350 (breakAgain): make it take a RowList::iterator as arg, adjust.
8351 (breakParagraph): adjust
8352 (insertChar): adjust
8355 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8356 need_break_row, and refresh_row.
8358 * text3.C (dispatch): adjust
8360 * text2.C (checkParagraph): adjust
8362 (setCursorFromCoordinates): adjust
8364 * text.C (top_y): adjust
8366 (getRow): make it return a RowList::iterator, adjust
8367 (getRowNearY): make it return a RowList::iterator, adjust
8369 * text2.C (init): adjust
8370 (insertRow): remove function
8371 (insertParagraph): adjust
8372 (redoParagraphs): adjust
8373 (fullRebreak): adjust
8374 (updateCounters): adjust
8376 * text.C (top_y): rewrite to use RowList iterators.
8378 (setHeightOfRow): rewrite to sue RowList iterators.
8379 (appendParagraph): adjust
8380 (breakAgain): adjust
8381 (breakAgainOneRow): adjust
8382 (breakParagraph): adjust
8384 (getRowNearY): adjust, and remove commented code.
8386 * lyxtext.h (firstRow): delete function
8387 (lastRow): delete function
8388 (rows): new function (const and non-const versions.)
8389 (insertRow): delete function
8391 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8393 2003-03-29 John Levon <levon@movementarian.org>
8395 * BufferView_pimpl.C: always update scrollbar top
8396 because pasting text when we're anchored could mean we
8397 miss an update altogether
8399 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8401 * text2.C (init): use rowlist_.end() and not 0.
8402 (insertRow): change to take a RowList::iterator as arg, adjust
8404 (insertParagraph): change to take a RowList::iterator as arg,
8406 (redoParagraphs): remove some debug msgs.
8408 * text.C (appendParagraph): change to take a RowList::iterator
8409 arg, adjust for this.
8410 (breakAgain): add an assert
8411 (breakAgainOneRow): ditto
8413 2003-03-29 John Levon <levon@movementarian.org>
8415 * text2.C: do not clear selection after inc/decDepth
8418 2003-03-29 John Levon <levon@movementarian.org>
8421 * buffer.C: fix broken strerrors according to Lars
8423 2003-03-29 John Levon <levon@movementarian.org>
8425 * converters.C: more Alert cleanups
8427 2003-03-29 John Levon <levon@movementarian.org>
8429 * bufferview_funcs.C: remove pointless Alert
8431 * buffer.C: fix confusing error message when
8432 a template is chmoded 000
8434 2003-03-29 John Levon <levon@movementarian.org>
8438 * BufferView_pimpl.C: Alert fixes
8442 * tabular-old.C: remove unused table compat reading
8444 2003-03-29 John Levon <levon@movementarian.org>
8449 * lyx_cb.C: more Alert cleanups
8451 * lyxfunc.C: don't allow chktex if not latex document
8453 2003-03-29 John Levon <levon@movementarian.org>
8457 * buffer.C: warnings pushed down from support/,
8460 2003-03-29 John Levon <levon@movementarian.org>
8462 * lyxfunc.C: safety check for C-r (revert)
8464 2003-03-29 John Levon <levon@movementarian.org>
8467 * bufferlist.C: several UI fixes using Alert::prompt.
8468 Fix the pointless looping quit code. Fix stupid revert
8473 * lyx_cb.C: use Alert::prompt
8475 * lyx_main.C: remove a silly question
8477 * lyxfunc.C: remove a couple of silly questions,
8480 2003-03-28 John Levon <levon@movementarian.org>
8482 * text2.C: fix bug 974 (End on empty par)
8484 2003-03-28 John Levon <levon@movementarian.org>
8486 * BufferView_pimpl.C:
8488 * lfuns.h: remove do-nothing math greek lfuns
8490 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8492 * lyxgluelength.h (isValidGlueLength): add default arg on
8493 parameter 2. Remove default arg from friend in class.
8495 * lyxlength.h (isValidLength): add default arg on parameter 2.
8496 Remove default arg from friend in class.
8498 * text2.C (LyXText): adjust, initialize refresh_row.
8502 (insertParagraph): adjst
8503 (redoParagraphs): adjust
8504 (fullRebreak): adjust
8505 (updateCounters): adjust
8506 (deleteEmptyParagraphMechanism): first attempt at fixing a
8509 * text.C (top_y): adjust
8510 (setHeightOfRow): adjust
8512 (getRowNearY): adjust
8514 * lyxtext.h: include RowList.h
8515 (~LyXText): not needed anymore, deleted.
8516 (firstRow): modify for RowList
8517 (lastRow): new function
8518 Delete firstrow and lastrow class variables, add a Rowlist
8519 rowlist_ class variable.
8521 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8524 * RowList.C (insert): fix case where it == begin().
8526 2003-03-26 Angus Leeming <leeming@lyx.org>
8528 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8529 the thesaurus dialog.
8531 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8533 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8535 * RowList.[Ch]: new files
8537 * ParagraphList.C (erase): handle the case where it == begin
8540 2003-03-25 John Levon <levon@movementarian.org>
8544 * aspell.C: add new aspell support
8547 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8550 2003-03-25 Angus Leeming <leeming@lyx.org>
8553 * LyXAction.C (init): new LFUN_INSET_INSERT.
8555 * BufferView_pimpl.C (dispatch): split out part of the
8556 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8558 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8561 2003-03-25 Angus Leeming <leeming@lyx.org>
8563 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8565 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8568 * text3.C: remove useless row->height(0)
8570 2003-03-25 John Levon <levon@movementarian.org>
8574 * text3.C: rename the refreshing stuff to better names
8576 2003-03-24 John Levon <levon@movementarian.org>
8578 * BufferView_pimpl.h:
8579 * BufferView_pimpl.C: update layout choice on a mouse
8582 2003-03-23 John Levon <levon@movementarian.org>
8584 * Makefile.am: fix commandtags.h reference
8586 2003-03-22 John Levon <levon@movementarian.org>
8588 * BufferView_pimpl.C:
8593 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8595 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8598 * text.C: take the rtl methods out of line
8600 2003-03-21 André Pönitz <poenitz@gmx.net>
8602 * metricsinfo.[Ch]: new files containing structures to be passed around
8603 during the two-phase-drawing...
8605 2003-03-21 André Pönitz <poenitz@gmx.net>
8607 * lyxtextclass.C: read 'environment' tag.
8609 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8611 * text2.C (removeRow): fix bug 964
8613 2003-03-20 John Levon <levon@movementarian.org>
8617 * text2.C: paint cleanups. Inset::update() dropped font
8620 2003-03-19 John Levon <levon@movementarian.org>
8622 * lyxfunc.C: only fitcursor/markDirty if available()
8624 2003-03-19 John Levon <levon@movementarian.org>
8626 * commandtags.h: rename to ...
8628 * lfuns.h: ... this, and renumber / cleanup
8630 2003-03-19 John Levon <levon@movementarian.org>
8632 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8633 fit the cursor after an lfun
8637 * BufferView_pimpl.h:
8638 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8640 * LyXAction.C: layout-character should have ReadOnly
8642 * ParagraphParameters.C:
8644 * bufferview_funcs.C:
8651 * undo_funcs.C: changes from above
8653 2003-03-18 John Levon <levon@movementarian.org>
8655 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8656 remove it from update()
8658 * lyxfunc.C: update layout choice after an lfun
8660 * text3.C: remove extra updateLayoutChoice()s
8662 2003-03-18 John Levon <levon@movementarian.org>
8664 * text.C: top_y change means full repaint, fix
8665 a drawing bug with cursor movement
8667 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8671 * text2.C: anchor row on setCursor
8673 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8675 * lyxtext.h: remove almost all mutable keywords
8678 * text3.C: remove const keywords accordingly
8680 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8682 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8684 (TeXEnvironment): ditto
8687 2003-03-17 John Levon <levon@movementarian.org>
8689 * text.C (rowBreakPoint): remove attempt to fix displayed
8690 math insets inside a manual label
8692 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8694 * lyxtext.h: remove BufferView* as first arg from almost all class
8696 * other files: adjust.
8698 2003-03-17 John Levon <levon@movementarian.org>
8702 * text2.C: more paint cleanups
8704 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8707 * rowpainter.C: remove "smart" background painting code
8709 2003-03-16 John Levon <levon@movementarian.org>
8714 * text3.C: add helper functions for setting refresh_row/y
8716 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8718 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8719 newline inset which *can* get inserted in the pass_thru layouts.
8720 This is primarily for literate documents.
8722 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8724 * buffer.C: increment LYX_FORMAT to 223
8726 2003-03-14 André Pönitz <poenitz@gmx.net>
8728 * textclass.h: prepare for environment handling, ws changes
8729 * lyxlayout.C: read latexheader and latexfooter tags
8731 2003-03-14 John Levon <levon@movementarian.org>
8733 * text2.C: rewrite ::status() a bit
8735 2003-03-13 John Levon <levon@movementarian.org>
8737 * lyxtext.h: add some docs
8739 2003-03-13 John Levon <levon@movementarian.org>
8744 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8746 2003-03-13 John Levon <levon@movementarian.org>
8748 * text3.C: fix appendix redrawing
8750 2003-03-13 John Levon <levon@movementarian.org>
8752 * text.C (setHeightOfRow):
8754 * rowpainter.C: make appendix mark have the text
8755 "Appendix" so the user knows what it is
8758 * LColor.C: s/appendixline/appendix/ from above
8760 2003-03-13 John Levon <levon@movementarian.org>
8762 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8764 * text.C: fix a getChar(pos) bug properly
8766 2003-03-13 Angus Leeming <leeming@lyx.org>
8769 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8770 Probably only temporary. Let's see how things pan out.
8772 * BufferView.C (unlockInset):
8773 * BufferView_pimpl.C (fitCursor):
8774 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8776 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8777 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8779 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8780 new functions that convert ParagraphParameters to and from a string.
8782 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8783 BufferView::Pimpl's dispatch.
8784 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8786 2003-03-13 André Pönitz <poenitz@gmx.net>
8790 * factory.C: make it aware of InsetEnv
8792 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8794 * text2.C (setCursor): never ask for one past last
8795 (setCursor): add some debugging messages.
8797 * text.C (singleWidth): never ask for one past last
8798 (singleWidth): ditto
8800 (rightMargin): ditto
8801 (rowBreakPoint): ditto
8802 (setHeightOfRow): ditto
8803 (prepareToPrint): ditto
8805 * rowpainter.C (paintBackground): never ask for one past last
8806 (paintText): never ask for one past last
8808 * paragraph_pimpl.C (getChar): make the assert stricter, never
8809 allow the one past last pos to be taken
8811 * paragraph.C (getChar): ws changes only
8813 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8814 (numberOfSeparators): ditto
8815 (numberOfHfills): ditto
8817 2003-03-12 John Levon <levon@movementarian.org>
8823 * paragraph_funcs.C: fix per-buffer authorlists
8825 2003-03-12 John Levon <levon@movementarian.org>
8827 * text.C: fix newline in right address
8829 2003-03-12 Angus Leeming <leeming@lyx.org>
8831 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8832 duplicate those in LyXFunc::dispatch.
8836 * ToolbarDefaults.C:
8837 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8838 Add LFUN_FONTFREE_UPDATE.
8840 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8841 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8843 * bufferview_func.[Ch]: several new functions to facilliate
8844 transfer of data to and from the character dialog.
8846 2003-03-12 John Levon <levon@movementarian.org>
8851 * paragraph_funcs.C:
8852 * paragraph_pimpl.C:
8856 * text3.C: remove META_NEWLINE in favour of an inset
8859 * rowpainter.C: remove paintNewline (done by inset)
8861 2003-03-12 John Levon <levon@movementarian.org>
8863 * paragraph_pimpl.C: complain about bad getChar()s
8864 for a while at least
8866 2003-03-12 John Levon <levon@movementarian.org>
8869 * buffer.C: move paragraph read into a separate function,
8870 a little renaming to reflect that.
8873 * bufferparams.C: remove the author_ids map, not necessary now
8876 * factory.C: moved Buffer::readInset to here
8878 * paragraph_funcs.h:
8879 * paragraph_funcs.C: readParagraph free function moved from
8882 * tabular.C: name change
8884 2003-03-12 John Levon <levon@movementarian.org>
8887 * ParagraphParameters.C: move par params input to
8890 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8891 behave like a normal read from the stream wrt reading
8892 a line vs. a \\token
8894 2003-03-12 John Levon <levon@movementarian.org>
8897 * ParagraphParameters.h:
8898 * ParagraphParameters.C: move output code to a
8901 2003-03-12 John Levon <levon@movementarian.org>
8903 * BufferView.C (insertLyXFile):
8906 * tabular.C: use a parlist iterator for creating the
8909 2003-03-12 John Levon <levon@movementarian.org>
8911 * buffer.C: make current_change static local not
8914 2003-03-12 John Levon <levon@movementarian.org>
8916 * buffer.C: fix insertStringAsLines for change tracking
8918 2003-03-12 John Levon <levon@movementarian.org>
8925 * bufferparams.C: move author list into params. Rename some
8926 functions. Move the header reading into a separate token
8927 loop. Move the header token reading into BufferParams.
8929 2003-03-12 John Levon <levon@movementarian.org>
8931 * changes.C: put debug inside lyxerr.debugging() checks
8933 2003-03-11 André Pönitz <poenitz@gmx.net>
8935 * factory.C: make it aware of InsetHFill
8937 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8939 * buffer.C (latexParagraphs): move function from here...
8940 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8943 2003-03-10 Angus Leeming <leeming@lyx.org>
8945 * LyXAction.C (init): fix bug in poplating array with multiple entries
8946 with the same LFUN (spotted by JMarc).
8948 2003-03-10 John Levon <levon@movementarian.org>
8951 * text2.C: move getColumnNearX() near its
8954 2003-03-10 John Levon <levon@movementarian.org>
8956 * text.C: fix break before a minipage
8958 2003-03-10 John Levon <levon@movementarian.org>
8960 * text.C: fix the last commit
8962 2003-03-09 John Levon <levon@movementarian.org>
8966 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8967 bug 365 (don't break before insets unless needed). Don't
8968 return a value > last under any circumstances.
8970 2003-03-09 Angus Leeming <leeming@lyx.org>
8972 * BufferView_pimpl.C (trackChanges, dispatch): call
8973 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8975 2003-03-09 Angus Leeming <leeming@lyx.org>
8977 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8978 than Dialogs::showAboutlyx().
8980 2003-03-09 Angus Leeming <leeming@lyx.org>
8982 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8983 than Dialogs::showTabularCreate().
8985 2003-03-09 John Levon <levon@movementarian.org>
8989 * text2.C: 3rd arg to nextBreakPoint was always the same.
8992 2003-03-08 John Levon <levon@movementarian.org>
8999 * text2.C: Remove the "main" bit from the "main body"
9002 2003-03-08 John Levon <levon@movementarian.org>
9004 * text.C (leftMargin): The left margin of an empty
9005 manual label paragraph should not include the label width
9008 * text.C (prepareToPrint): don't attempt to measure hfills
9009 for empty manual label paragraphs - the answer should be 0
9011 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9013 * CutAndPaste.C: remove commented code and reindent.
9015 2003-03-08 John Levon <levon@movementarian.org>
9018 * lyxfunc.C: move reloadBuffer()
9021 * BufferView.C: to here
9023 * lyxvc.C: add comment
9026 * vc-backend.C: call bv->reload() to avoid
9027 getStatus() check on MENURELOAD
9029 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9031 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9032 to an old format .dep file.
9034 2003-03-07 Angus Leeming <leeming@lyx.org>
9036 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9037 when the LFUN_MOUSE_RELEASE should have been handled by
9038 inset->localDispatch.
9040 2003-03-07 Angus Leeming <leeming@lyx.org>
9042 * BufferView_pimpl.C (dispatch):
9043 * LyXAction.C (init):
9044 * ToolbarDefaults.C (init):
9046 * lyxfunc.C (getStatus):
9047 remove LFUN_INSET_GRAPHICS.
9049 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9051 2003-03-07 Angus Leeming <leeming@lyx.org>
9054 * LyXAction.C (init):
9055 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9057 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9060 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9062 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9063 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9065 2003-03-07 Angus Leeming <leeming@lyx.org>
9067 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9070 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9072 * ParagraphList.C (front): new function
9075 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9077 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9078 and top_row_offset_. removed var first_y.
9080 * text2.C (LyXText, removeRow):
9082 * BufferView_pimpl.C:
9083 use these methods instead of using first_y
9085 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9087 * text2.C (pasteSelection): adjust for checkPastePossible
9089 * CutAndPaste.C: remove Paragraph * buf and replace with
9090 ParagraphList paragraphs.
9091 (DeleteBuffer): delete
9092 (cutSelection): change the tc type to textclass_type
9093 (copySelection): change the tc type to textclass_type
9094 (copySelection): adjust for ParagraphList
9095 (pasteSelection): change the tc type to textclass_type
9096 (pasteSelection): adjust for Paragraphlist
9097 (nrOfParagraphs): simplify for ParagraphList
9098 (checkPastePossible): simplify for ParagraphList
9099 (checkPastePossible): remove unused arg
9101 * ParagraphList.C (insert): handle the case where there are no
9104 * CutAndPaste.h: make CutAndPaste a namespace.
9106 * text3.C (dispatch): adjust
9108 * text.C (breakParagraph): add a ParagraphList as arg
9110 * paragraph_funcs.C (breakParagraph): change to take a
9111 BufferParams and a ParagraphList as args.
9112 (breakParagraphConservative): ditto
9113 (mergeParagraph): ditto
9114 (TeXDeeper): add a ParagraphList arg
9115 (TeXEnvironment): ditto
9118 * buffer.C (readLyXformat2): adjust
9119 (insertStringAsLines): adjust
9120 (latexParagraphs): adjust
9122 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9123 (cutSelection): adjust
9124 (pasteSelection): adjust
9126 * BufferView_pimpl.C (insertInset): adjust
9128 2003-03-05 Angus Leeming <leeming@lyx.org>
9131 * LyXAction.C (init):
9132 * BufferView_pimpl.C (dispatch):
9133 * lyxfunc.C (getStatus):
9134 remove LFUN_CHILD_INSERT.
9136 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9138 2003-03-05 Angus Leeming <leeming@lyx.org>
9141 * LyXAction.C (init):
9142 * src/factory.C (createInset):
9143 * lyxfunc.C (getStatus):
9144 * text3.C (dispatch):
9145 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9147 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9149 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9151 * ParagraphList.C (insert): handle insert right before end()
9152 (erase): fix cases where it can be first or last paragraph.
9154 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9156 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9157 Paragraph::next and Paragraph::previous
9160 * text.C (breakParagraph): adjust
9162 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9163 BufferParams& as arg.
9164 (breakParagraph): use ParagraphList::insert
9165 (breakParagraphConservative): take a Buffer* instead of a
9166 BufferParams& as arg.
9167 (breakParagraphConservative): use ParagraphList::insert.
9169 * buffer.C (insertStringAsLines): un-const it
9170 (insertStringAsLines): adjust
9172 * ParagraphList.C (insert): new function
9174 * CutAndPaste.C (pasteSelection): adjust
9176 * text.C (backspace): adjust
9178 * tabular.C (SetMultiColumn): adjust
9180 * CutAndPaste.C (cutSelection): adjust
9181 (pasteSelection): adjust
9183 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9184 Buffer const * as arg
9186 * ParagraphList.C (erase): new function
9187 * paragraph_funcs.C (mergeParagraph): use it
9188 (mergeParagraph): make it take a Buffer* instead of a
9189 BufferParams* as arg
9191 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9193 (breakParagraphConservative): ditto
9195 * paragraph.h: remove the breakParagraph friend
9197 * paragraph.C (eraseIntern): new function
9198 (setChange): new function
9200 * paragraph_funcs.C (mergeParagraph): make it take a
9201 ParagraphList::iterator instead of a Paragraph *, adjust
9204 * paragraph.h: move an #endif so that the change tracking stuff
9205 also works in the NO_NEXT case.
9207 2003-03-04 Angus Leeming <leeming@lyx.org>
9210 * LyXAction.C: new LFUN_INSET_MODIFY.
9212 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9213 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9215 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9217 * several files: ws changes only
9219 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9220 (TeXEnvironment): ditto
9223 * buffer.C (makeLaTeXFile): adjust
9224 (latexParagraphs): make it take ParagraphList::iterator as args
9226 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * buffer.C (latexParagraphs): adjust
9230 * paragraph.C (TeXOnePar): move function...
9231 (optArgInset): move function...
9232 (TeXEnvironment): move function...
9233 * paragraph_pimpl.C (TeXDeeper): move function...
9234 * paragraph_funcs.C: ...here
9236 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9238 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9240 * buffer.C (readInset): remove compability code for old Figure and
9243 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9245 * buffer.C: ws changes
9248 * BufferView_pimpl.C: ditto
9251 * bufferlist.h: ditto
9255 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9257 * converter.[Ch]: split into itself +
9260 * Makefile.am: += graph.[Ch] + format.[Ch]
9267 * lyxrc.C: added #include "format.h"
9269 2003-02-27 Angus Leeming <leeming@lyx.org>
9271 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9274 * factory.C (createInset): add "label" to the factory.
9276 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9277 string and do no more.
9279 2003-02-27 Angus Leeming <leeming@lyx.org>
9282 * LyXAction.C (init):
9283 * factory.C (createInset):
9284 * BufferView_pimpl.C (dispatch):
9285 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9287 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9289 * lyxfunc.C (dispatch):
9290 * text3.C (dispatch): pass name to params2string.
9292 2003-02-26 Angus Leeming <leeming@lyx.org>
9294 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9296 Rearrange the ~includes. Strip out the unnecessary ones.
9298 * factory.C (createInset): reformat.
9299 create new insets for the various LFUN_XYZ_APPLY lfuns.
9301 2003-02-26 John Levon <levon@movementarian.org>
9304 * lyxrow.C: add isParStart,isParEnd helpers
9306 * paragraph.h: make isInserted/DeletedText take refs
9308 * paragraph_funcs.h:
9309 * paragraph_funcs.C: remove #if 0'd code
9314 * text.C: use lyxrow helpers above.
9315 Move draw and paint routines to RowPainter.
9316 Make several methods use refs not pointers.
9317 Make backgroundColor() const.
9318 Add markChangeInDraw(), isInInset().
9319 Merge changeRegionCase into changeCase.
9320 Make workWidth() shouldn't-happen code into an Assert.
9323 * rowpainter.C: new class for painting a row.
9326 * vspace.C: make inPixels take a ref
9328 2003-02-26 Angus Leeming <leeming@lyx.org>
9330 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9333 2003-02-25 John Levon <levon@movementarian.org>
9335 * ispell.C: give the forked command a more accurate name
9337 2003-02-22 John Levon <levon@movementarian.org>
9340 * toc.C: make TocItem store an id not a Paragraph *
9343 2003-02-21 Angus Leeming <leeming@lyx.org>
9345 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9346 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9347 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9348 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9349 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9350 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9352 * BufferView_pimpl.C (dispatch):
9353 * LyXAction.C (init):
9354 * factory.C (createInset):
9355 * lyxfunc.C (getStatus, dispatch):
9356 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9358 2003-02-21 Angus Leeming <leeming@lyx.org>
9360 * BufferView_pimpl.C (MenuInsertLyXFile):
9361 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9362 * lyxfunc.C (menuNew, open, doImport):
9363 no longer pass a LyXView & to fileDlg.
9365 2003-02-21 Angus Leeming <leeming@lyx.org>
9367 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9368 * LyXAction.C: change, BIBKEY to BIBITEM.
9369 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9370 Change InsetBibKey to InsetBibitem.
9371 Change BIBKEY_CODE to BIBITEM_CODE.
9372 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9373 * factory.C: replace insetbib.h with insetbibitem.h.
9374 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9375 * paragraph.C: replace insetbib.h with insetbibitem.h.
9376 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9377 Change bibkey() to bibitem().
9378 * text.C: remove insetbib.h.
9379 * text2.C: replace insetbib.h with insetbibitem.h.
9380 change bibkey() to bibitem().
9381 * text3.C: remove insetbib.h.
9382 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9384 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9386 * lyxrc.C (output): enclose user email in quotes (in case there are
9389 2003-02-18 John Levon <levon@movementarian.org>
9391 * buffer.h: add std::
9393 2003-02-17 John Levon <levon@movementarian.org>
9399 * pspell.C: reworking. Especially in ispell, a large
9400 number of clean ups and bug fixes.
9402 * lyxfunc.C: fix revert to behave sensibly
9404 2003-02-17 André Pönitz <poenitz@gmx.net>
9407 * commandtags.h: new LFUN_INSERT_BIBKEY
9417 * paragraph_func.C: remove special bibkey handling
9419 2003-02-17 John Levon <levon@movementarian.org>
9421 * text.C (Delete): fix case where delete at the end of
9422 the very first paragraph would not merge the pars
9424 2003-02-17 John Levon <levon@movementarian.org>
9426 * lyxrow.C: fix lastPrintablePos()
9428 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9430 * bufferparams.C (writeLaTeX): add a std:here
9432 * buffer.C: and remove a using directive there
9434 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9436 * buffer.C (makeLaTeXFile): move the code that generates the
9439 * bufferparams.C (writeLaTeX): ... in this new method
9441 * LaTeXFeatures.C (getEncodingSet): make const
9442 (getLanguages): make const
9444 * MenuBackend.C (binding): returns the binding associated to this
9446 (add): sets the status of each item by calling getStatus. Adds
9448 (read): add support for OptSubMenu
9449 (expand): remove extra separator at the end of expanded menu
9451 2003-02-15 John Levon <levon@movementarian.org>
9454 * BufferView_pimpl.C:
9456 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9457 inset code that had no actual effect. Remove unneeded status
9460 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9462 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9465 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9467 * text.C (drawLengthMarker): also draw an arrow marker for
9468 symbolic lengths (medskip...)
9470 2003-02-14 John Levon <levon@movementarian.org>
9473 * tabular.C: better method names
9475 2003-02-14 John Levon <levon@movementarian.org>
9477 * BufferView_pimpl.C:
9482 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9483 it's a more accurate name. Remove some pointless uses.
9485 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9487 * text2.C (LyXText): change order of initilizers to shut off
9490 2003-02-14 John Levon <levon@movementarian.org>
9492 * buffer.C: use ParIterator for getParFromID()
9496 * paragraph_pimpl.h:
9497 * paragraph_pimpl.C: remove unused getParFromID()
9499 2003-02-14 John Levon <levon@movementarian.org>
9501 * buffer.C: remove some very old #if 0'd parse code
9503 2003-02-13 John Levon <levon@movementarian.org>
9507 * text2.C: move hfillExpansion(), numberOfSeparators(),
9508 rowLast(), rowLastPrintable(), numberofHfills(),
9509 numberOfLabelHfills() ...
9512 * lyxrow.C: ... to member functions here.
9517 * text.C: remove LyXText::beginningOfMainBody(), and call
9518 p->beginningOfMainBody() directly. Move the check for
9519 LABEL_MANUAL into the latter.
9526 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9532 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9533 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9535 2003-02-13 John Levon <levon@movementarian.org>
9537 * CutAndPaste.C: remove debug
9539 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9541 * paragraph.C (asString): remove two unused variables
9543 * lyxtextclass.C (readTitleType):
9545 (LyXTextClass): handle new members titletype_ and titlename_
9547 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9549 2003-02-09 John Levon <levon@movementarian.org>
9552 * buffer.C: replace hand-coded list with a map for the dep clean
9554 2003-02-08 John Levon <levon@movementarian.org>
9556 * LaTeX.C: consolidate code into showRunMessage() helper
9558 2003-02-08 John Levon <levon@movementarian.org>
9563 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9564 and pass the size in explicitly
9566 * BufferView_pimpl.h:
9567 * BufferView_pimpl.C:
9569 * BufferView.C: add getCurrentChange()
9571 * BufferView_pimpl.h:
9572 * BufferView_pimpl.C: handle change lfuns
9574 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9575 for changes. Mark pasted paragraphs as new.
9577 * support/lyxtime.h:
9578 * support/lyxtime.C:
9579 * DepTable.C: abstract time_t as lyx::time_type
9582 * LColor.C: add colours for new text, deleted text, changebars
9584 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9585 package use "usenames" option.
9589 * LyXAction.C: add change lfuns
9593 * author.C: author handling
9596 * buffer.C: add a per-buffer author list, with first entry as
9597 current author. Handle new .lyx tokens for change tracking. Output
9598 author list to .lyx file. Output dvipost stuff to .tex preamble.
9599 Bump lyx format to 222.
9602 * bufferlist.C: add setCurrentAuthor() to reset current author details
9606 * bufferparams.C: add param for tracking
9608 * bufferview_funcs.C: output change info in minibuffer
9612 * changes.C: add change-tracking structure
9615 * debug.C: add CHANGES debug flag
9618 * lyxfind.C: add code for finding the next change piece
9621 * lyxrc.C: add user_name and user_email
9624 * lyxrow.C: add a metric for the top of the text line
9627 * text.C: implement accept/rejectChange()
9630 * text.C: paint changebars. Paint new/deleted text in the chosen
9631 colours. Strike through deleted text.
9635 * paragraph_pimpl.h:
9636 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9637 in the current change to the insert functions. Rework erase to
9638 mark text as deleted, adding an eraseIntern() and a range-based
9639 erase(). Implement per-paragraph change lookup and
9642 * paragraph_funcs.C: Fixup paste for change tracking.
9644 * tabular.C: mark added row/columns as new.
9646 * text.C: fix rowLast() to never return -1. Don't allow
9647 spellchecking of deleted text. Track transpose changes. Don't
9648 allow paragraph break or merge where appropriate.
9650 * text2.C: leave cursor at end of selection after a cut.
9652 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9654 * text.C (getLengthMarkerHeight):
9655 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9656 visible on screen too.
9658 2003-02-07 John Levon <levon@movementarian.org>
9660 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9662 2003-02-05 Angus Leeming <leeming@lyx.org>
9664 * lyxserver.C (read_ready): revert my patch of 11 September last year
9665 as it sends PC cpu through the roof. Presumably this means that
9666 the lyxserver will no longer run on an Alpha...
9668 2003-01-30 Angus Leeming <leeming@lyx.org>
9670 * factory.C (createInset): create an InsetCommandParam of type "index"
9671 and use it to 'do the right thing'.
9673 * text2.C (getStringToIndex): ensure that cursor position is always
9674 reset to the reset_cursor position.
9676 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9681 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9685 * lyxfunc.C: Output messages with identical spelling, punctuation,
9688 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9690 * MenuBackend.C (expandFormats): List only viewable export formats
9693 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9696 * lyxfunc.C (getStatus): Make sure that formats other than
9697 "fax" can also be disabled
9699 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9701 * text3.C (dispatch): put the lfuns that insert insets in 3
9702 groups, and call doInsertInset with appropriate arguments.
9703 (doInsertInset): new function, that creates an inset and inserts
9704 it according to some boolean parameters.
9706 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9708 * buffer.C (readFile): remember to pass on 'par' when calling
9709 readFile recursively.
9711 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9713 * MenuBackend.C (expandFormats): add "..." to import formats.
9715 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9717 * paragraph.C (asString): Remove XForms RTL hacks.
9719 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9720 * buffer.C: fix typo
9722 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9724 * Makefile.am (LIBS): delete var
9725 (lyx_LDADD): add @LIBS@ here instead.
9727 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9729 * Clarify the meaning of "wheel mouse jump"
9731 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9736 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * importer.C (Loaders): do not preallocate 3 elements in the
9739 vector, since one ends up with 6 elements otherwise
9741 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9743 * DepTable.C (write): write the file name as last element of the
9744 .dep file (because it may contain spaces)
9745 (read): read info in the right order
9747 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9749 * paragraph_pimpl.C (simpleTeXBlanks):
9750 (simpleTeXSpecialChars):
9751 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9753 * tabular.C (latex): add some missing case statements. Reindent.
9755 * MenuBackend.C (expandToc): remove unused variable.
9757 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9766 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9769 2003-01-05 John Levon <levon@movementarian.org>
9772 * BufferView.C: add getEncoding()
9775 * kbsequence.C: do not store last keypress
9778 * lyxfunc.C: store last keypress here instead. Pass encoding
9781 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9783 * lyx_main.C (init): remove annoying error message when following
9784 symbolic links (bug #780)
9786 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9788 * text.C (insertChar):
9789 * lyxrc.C (getDescription): remove extra spaces
9791 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9793 * lyxrc.C (getDescription): remove extra spaces
9795 2002-12-20 John Levon <levon@movementarian.org>
9797 * text3.C: hack fix for page up/down across tall rows
9799 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9801 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9804 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9807 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9808 thesaurus is not compiled in
9810 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9812 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9814 2002-12-16 Angus Leeming <leeming@lyx.org>
9817 * lyx_main.C (init): remove override_x_deadkeys stuff.
9819 2002-12-12 John Levon <levon@movementarian.org>
9821 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9822 insert. Only remove shift modifier under strict
9825 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9827 * MenuBackend.C (expandToc): fix crash.
9829 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9831 * MenuBackend.C (expandToc): gettext on float names.
9833 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9835 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9836 implement bool empty() [bug 490]
9838 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9840 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9842 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9844 * several files: ws changes
9846 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9848 * text2.C (setCounter): clean up a bit, use boost.format.
9849 (updateCounters): initialize par upon declaration.
9851 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9852 if the layout exists. We do not just store the layout any more.
9853 (SwitchLayoutsBetweenClasses): use boost.format
9855 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9857 * converter.C (convert): if from and to files are the same, use a
9858 temporary files as intermediary
9860 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9863 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9865 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9867 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9869 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9871 * tabular.C (asciiPrintCell): use string(size, char) instead of
9874 * sgml.C (openTag): fix order of arguments to string constructor
9877 * lyxfunc.C (dispatch): use boost.format
9879 * lots of files: change "c" -> 'c'
9881 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9883 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9885 2002-11-25 Angus Leeming <leeming@lyx.org>
9887 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9889 * lyx_main.C (init): compile fix.
9891 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9893 * lyx_cb.C (start): boost.formatify
9894 do not include <iostream>
9896 * lengthcommon.C: ws only
9898 * boost-inst.C,BoostFormat.h: add more explict instantations
9900 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9902 * lots of files: handle USE_BOOST_FORMAT
9904 2002-11-21 John Levon <levon@movementarian.org>
9906 * pspell.C: fix compile
9908 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lyxfunc.C (dispatch): use boost::format
9914 * lyxfont.C (stateText): use boost::format
9916 * lyx_main.C (LyX): use boost::format
9918 (queryUserLyXDir): ditto
9921 (typedef boost::function): use the recommened syntax.
9923 * importer.C (Import): use boost::format
9925 * debug.C (showLevel): use boost::format
9927 * converter.C (view): use boost::format
9932 * bufferview_funcs.C (currentState): use boost::format
9934 * bufferlist.C (emergencyWrite): use boost::format
9936 * buffer.C (readLyXformat2): use boost::format
9937 (parseSingleLyXformat2Token): ditto
9939 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9941 * LaTeX.C (run): use boost::format
9943 * Chktex.C (scanLogFile): use boost::format
9945 * BufferView_pimpl.C (savePosition): use boost::format
9946 (restorePosition): ditto
9947 (MenuInsertLyXFile): ditto
9949 * BoostFormat.h: help file for explicit instation.
9951 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9953 * tabular.C (latex): Support for block alignment in fixed width
9956 2002-11-17 John Levon <levon@movementarian.org>
9958 * BufferView_pimpl.C:
9960 * lyxfunc.C: split filedialog into open/save
9962 2002-11-08 Juergen Vigna <jug@sad.it>
9964 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9965 by my last patch (hopefully).
9967 2002-11-08 John Levon <levon@movementarian.org>
9976 * toc.C: ParConstIterator, and use it (from Lars)
9978 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9980 * lyxtextclass.[Ch]: revise and add doxygen comments
9982 2002-11-07 John Levon <levon@movementarian.org>
9984 * text.C: fix progress value for spellchecker
9986 * toc.C: fix navigate menu for insetwrap inside minipage
9988 * paragraph_funcs.C: added FIXME for suspect code
9990 2002-11-07 John Levon <levon@movementarian.org>
9992 * BufferView_pimpl.C: fix redrawing of insets
9995 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9997 * text2.C (updateCounters): fix bug 668
9999 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10001 * text3.C (dispatch): Do not make the buffer dirty when moving the
10004 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10006 * vc-backend.C: STRCONV
10007 (scanMaster): ditto
10009 * text2.C (setCounter): STRCONV
10011 * paragraph.C (asString): STRCONV
10013 * lyxlength.C (asString): STRCONV
10014 (asLatexString): ditto
10016 * lyxgluelength.C (asString): STRCONV
10017 (asLatexString): ditto
10019 * lyxfunc.C (dispatch): STRCONV
10022 * lyxfont.C (stateText): STRCONV
10024 * importer.C (Import): STRCONV
10026 * counters.C (labelItem): STRCONV
10027 (numberLabel): ditto
10028 (numberLabel): remove unused ostringstream o
10033 * bufferview_funcs.C (currentState): STRCONV
10035 * buffer.C (readFile): STRCONV
10036 (asciiParagraph): ditto
10037 (makeLaTeXFile): ditto
10039 * Spacing.C (writeEnvirBegin): STRCONV
10041 * LaTeXFeatures.C (getLanguages): STRCONV
10042 (getPackages): ditto
10044 (getBabelOptions): ditto
10045 (getTClassPreamble): ditto
10046 (getLyXSGMLEntities): ditto
10047 (getIncludedFiles): ditto
10051 (scanAuxFile): ditto
10054 * LString.h: add the STRCONV macros
10056 * BufferView_pimpl.C (savePosition): STRCONV
10057 (restorePosition): ditto
10058 (MenuInsertLyXFile): ditto
10060 * vc-backend.C (scanMaster): change from submatch[...] to
10063 * funcrequest.C: include config.h
10065 * factory.C: include config.h
10067 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10069 * box.C: include config.h
10071 * LaTeX.C (scanAuxFile): change from submatch[...] to
10075 2002-10-25 Angus Leeming <leeming@lyx.org>
10077 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10079 * ispell.[Ch] (setError): new method.
10080 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10081 Use setError() insetead of goto END.
10083 * lyx_cb.C (AutoSave): move out child process into new class
10086 2002-10-30 John Levon <levon@movementarian.org>
10088 * text3.C: make start appendix undoable
10090 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10092 * lyxlength.C (inPixels): Fix returned value.
10094 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10097 2002-10-24 Angus Leeming <leeming@lyx.org>
10099 * lyxgluelength.h: no need to forward declare BufferParams
10100 or BufferView, so don't.
10102 2002-10-21 John Levon <levon@movementarian.org>
10104 * BufferView.C: menuUndo ->undo, redo
10106 * BufferView.h: document, remove dead, make some methods private
10108 * paragraph_funcs.h:
10109 * paragraph_funcs.C:
10110 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10115 * sgml.C: move sgml open/close tag into sgml.C
10117 * bufferview_funcs.h: unused prototype
10120 * lyxfunc.C: remove unused
10123 * text.C: remove unused
10125 2002-10-21 John Levon <levon@movementarian.org>
10129 * BufferView_pimpl.h:
10130 * BufferView_pimpl.C: fix mouse wheel handling based on
10131 patch from Darren Freeman
10133 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10135 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10137 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10139 * lyxlength.C (inPixels): Fix hanfling of negative length.
10140 Fix LyXLength::MU case.
10142 2002-10-16 John Levon <levon@movementarian.org>
10144 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10146 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10148 * converter.C (view): add support for $$i (file name) and $$p
10149 (file path) for the viewer command. If $$i is not specified, then
10150 it is appended to the command (for compatibility with old syntax)
10152 2002-10-14 Juergen Vigna <jug@sad.it>
10154 * undo_funcs.C (textHandleUndo): alter the order in which the
10155 new undopar is added to the LyXText, as we have to set first
10156 the right prev/next and then add it as otherwise the rebuild of
10157 LyXText is not correct. Also reset the cursor to the right paragraph,
10158 with this IMO we could remove the hack in "redoParagraphs()".
10160 2002-10-09 Angus Leeming <leeming@lyx.org>
10162 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10163 to turn off an optimisation if a new inset is to be inserted.
10165 2002-10-11 André Pönitz <poenitz@gmx.net>
10167 * lyxtext.h: make some functions public to allow access
10168 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10170 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10172 * text3.C (dispatch): when changing layout, avoid an infinite loop
10175 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10177 * lyxrc.C (read): treat a viewer or converter command of "none" as
10180 * MenuBackend.C (expandFormats): for an update, also allow the
10181 formats that are not viewable
10183 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10184 script if it is newer than the lyxrc.defaults in user directory
10186 2002-10-07 André Pönitz <poenitz@gmx.net>
10188 * text.C: Vitaly Lipatov's small i18n fix
10190 2002-09-25 Angus Leeming <leeming@lyx.org>
10192 * ispell.h: doxygen fix.
10194 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10196 * buffer.h (readFile): Add a new argument to the method, to allow
10197 reading of old-format templates.
10199 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10201 * toc.C (getTocList): Get TOC from InsetWrap.
10203 2002-09-16 John Levon <levon@movementarian.org>
10205 * lyxfunc.C: check tabular for cut/copy too
10207 2002-09-12 John Levon <levon@movementarian.org>
10209 * LyXAction.C: tidy
10212 * factory.C: add header
10214 * paragraph_funcs.h:
10215 * paragraph_funcs.C: cleanup
10217 2002-09-11 John Levon <levon@movementarian.org>
10219 * PrinterParams.h: odd/even default to true
10221 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10223 * PrinterParams.h: update printer parameters for new xforms dialog
10225 2002-09-11 Angus Leeming <leeming@lyx.org>
10227 * lyxserver.C (read_ready): re-write to make it more transparent
10228 and to make it work in coherent fashion under Tru64 Unix.
10230 2002-09-11 André Pönitz <poenitz@gmx.net>
10234 * text3.C: implement LFUN_WORDSEL
10236 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10238 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10239 make floatlist_ a boost::shared_ptr<FloatList>
10241 * lyxtextclass.C: include FloatList.h
10242 (LyXTextClass): initialize floatlist_
10243 (TextClassTags): add TC_NOFLOAT
10244 (Read): match "nofloat" to TC_NOFLOAT and use it.
10245 (readFloat): modify call to floatlist_
10249 * FloatList.[Ch] (FloatList): remove commented out float
10251 (erase): new function
10253 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10255 * MenuBackend.C (expandToc): fix crash when there is no document
10258 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10260 * many files: Add insetwrap.
10262 2002-09-09 John Levon <levon@movementarian.org>
10264 * text2.C: remove confusing and awkward depth wraparound
10266 2002-09-09 John Levon <levon@movementarian.org>
10268 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10271 * buffer.C: remove getIncludeonlyList()
10274 * lyxfunc.C: remove headers
10276 2002-09-09 Juergen Vigna <jug@sad.it>
10278 * text.C (getColumnNearX): fix form Michael this is most
10279 probably a cut&paste bug.
10281 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10283 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10285 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10286 references, ws changes.
10288 * text2.C (init): update counters after init
10289 (insertParagraph): no need to set counter on idividual paragraphs.
10290 (setCounter): access the counters object in the textclass object
10291 on in the buffer object.
10292 (updateCounters): ditto
10294 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10295 shared_ptr<Counters> to avoid loading counters.h in all
10297 (LyXTextClass): initialize ctrs_
10298 (TextClassTags): add TC_COUNTER, and ...
10299 (Read): use it here.
10300 (CounterTags): new tags
10301 (readCounter): new function
10302 (counters): new funtion
10303 (defaultLayoutName): return a const reference
10305 * counters.C (Counters): remove contructor
10306 (newCounter): remove a couple of unneeded statements.
10307 (newCounter): simplify a bit.
10308 (numberLabel): some small formatting changes.
10310 * buffer.[Ch]: remove all traces of counters, move the Counters
10311 object to the LyXTextClass.
10313 2002-09-06 Alain Castera <castera@in2p3.fr>
10315 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10316 package to set the horizontal alignment on fixed width columns.
10319 * lyx_sty.h: added tabularnewline macro def.
10321 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10323 2002-09-06 John Levon <levon@movementarian.org>
10325 * LyXAction.C: tooltips for sub/superscript
10327 * MenuBackend.C: a bit more verbose
10329 * lyxfunc.C: tiny clean
10331 * undo_funcs.C: document undo_frozen
10333 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10335 * counters.C (Counters): add missing algorithm counter.
10337 * text2.C (setCounter): lookup the counter with layouts latexname
10338 instead of by section number.
10339 (setCounter): use a hackish way to lookup the correct enum
10341 a float name->type change
10342 reset enum couners with counter name directly instead of depth value.
10344 * counters.C (Counters): remove the push_backs, change to use the
10345 float type not the float name.
10346 (labelItem): remove unused string, float name->type change
10348 * counters.h: don't include vector, loose the enums and sects vectors
10350 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10352 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10353 (Read): add float->TC_FLOAT to textclassTags
10354 (Read): and handle it in the switch
10355 (readFloat): new function
10357 * FloatList.C (FloatList): comment out the hardcoded float
10360 * lyxlayout.h: ws change.
10362 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10364 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10366 2002-09-03 Angus Leeming <leeming@lyx.org>
10368 * BufferView_pimpl.h: qualified name is not allowed in member
10369 declaration: WorkArea & Pimpl::workarea() const;
10371 * factory.C: added using std::endl directive.
10373 * text3.C: added using std::find and std::vector directives.
10375 2002-08-29 André Pönitz <poenitz@gmx.net>
10378 * text2.C: remove unused member number_of_rows
10381 * BufferView2.C: remove file, move contents to...
10382 * BufferView.C: ... here
10384 * BufferView_pimpl.C:
10385 * factory.C: move more inset creation to factory
10387 * vspace.C: avoid direct usage of LyXText, ws changes
10390 don't provide direct access to WorkArea, use two simple
10391 acessors haveSelction() and workHeight() instead
10394 2002-08-29 John Levon <levon@movementarian.org>
10396 * BufferView_pimpl.C (dispatch): do not continue when
10399 2002-08-28 André Pönitz <poenitz@gmx.net>
10401 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10404 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10406 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10408 * buffer.C: increment LYX_FORMAT to 221
10410 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10411 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10413 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10415 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10417 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10419 * factory.C (createInset): use LyXTextClass::floats
10421 * MenuBackend.C (expandFloatListInsert):
10422 (expandFloatInsert):
10425 * text2.C (setCounter):
10427 * LaTeXFeatures.C (useFloat):
10428 (getFloatDefinitions):
10430 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10432 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10433 floatlist_, with accessor floats().
10435 * FloatList.h: remove global FloatList
10437 2002-08-26 André Pönitz <poenitz@gmx.net>
10439 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10443 * BufferView_pimpl.C:
10444 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10446 2002-08-25 John Levon <levon@movementarian.org>
10448 * LyXAction.C: fix margin note description
10450 2002-08-24 John Levon <levon@movementarian.org>
10454 * bufferview_funcs.C:
10456 * undo_funcs.C: cleanups
10458 * lyxfunc.C: disable CUT/COPY when no selection
10460 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10462 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10463 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10465 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10466 Add backward compatibility to "mono", "gray" and "no".
10468 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10470 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10471 (and file_format >= 200).
10473 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10475 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10477 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10479 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10481 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10483 * BufferView_pimpl.C:
10490 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10491 inset and code to make it work with the paragraph code. The inset
10492 can be anywhere in the paragraph, but will only do the expected
10493 thing in LaTeX if the layout file contains the parameter line
10495 (or more generally, a nonzero value) for that layout.
10497 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10499 * paragraph.h: remove the declaration of undefined counters class
10502 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10504 * text2.C (setCounter): fixed enumeration mis-count as reported by
10505 Dr. Richard Hawkins.
10507 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10509 * paragraph_funcs.h: remove some unneeded includes
10511 * text.C (backspace): pasteParagraph now in global scipe
10513 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10514 (pasteSelection): ditto
10516 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10517 * paragraph_funcs.C (pasteParagraph): ... here
10519 2002-08-20 André Pönitz <poenitz@gmx.net>
10521 * commandtags.h: new LFUNs for swapping/copying table row/colums
10524 * lyxfunc.C: support for new lfuns
10526 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10529 * buffer.[Ch]: remove NO_COMPABILITY stuff
10531 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10533 * boost.C (throw_exception): new file, with helper function for
10534 boost compiled without exceptions.
10539 * ParameterStruct.h:
10540 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10542 * bufferlist.C (emergencyWriteAll): use boost bind
10544 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10546 * text.C: include paragraph_funcs.h
10547 (breakParagraph): breakParagraph is now in global scope
10549 * paragraph_funcs.[Ch]: new files
10551 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10554 * buffer.C: include paragraph_funcs.h
10555 (insertStringAsLines): breakParagraph is now in global scope
10557 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10560 * CutAndPaste.C: include paragraph_funcs.h
10561 (cutSelection): breakParagraphConservative is now in global scope
10562 (pasteSelection): ditto
10564 * buffer.h: declare oprator== and operator!= for
10565 Buffer::inset_iterator
10567 * bufferlist.C (emergencyWrite): don't use fmt(...)
10569 * text3.C: add using std::endl
10571 * BufferView.C (moveCursorUpdate): remove default arg
10573 2002-08-20 André Pönitz <poenitz@gmx.net>
10575 * buffer.[Ch]: move inline functions to .C
10578 * BufferView_pimpl.C:
10580 * buffer.[Ch]: use improved inset_iterator
10583 * paragraph.[Ch]: write one paragraph at a time
10585 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10587 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10588 style if style is not specified.
10590 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * text2.C (setCounter): when searching for right label for a
10593 caption, make sure to recurse to parent insets (so that a caption
10594 in a minipage in a figure float works) (bug #568)
10596 2002-08-20 André Pönitz <poenitz@gmx.net>
10598 * text3.C: new file for LyXText::dispatch() and helpers
10600 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10602 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10604 2002-08-19 André Pönitz <poenitz@gmx.net>
10607 * text.C: new LyXText::dispatch()
10609 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10611 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10613 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10615 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10618 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10620 * Makefile.am: use $(variables) instead of @substitutions@
10622 2002-08-15 André Pönitz <poenitz@gmx.net>
10625 * BufferView_pimpl.C: streamlining mathed <-> outer world
10629 * LyXAction.C: remove unused LFUN_MATH
10631 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10633 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10635 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10637 * paragraph.C (Paragraph): reformat a bit
10638 (cutIntoMinibuffer): use builtin InsetList function instad of
10642 * buffer.C: include boost/bind.hpp, add using std::for_each
10643 (writeFileAscii): use ParagraphList iterators
10644 (validate): use for_each for validate traversal of paragraphs
10645 (getBibkeyList): use ParagraphList iterators
10646 (resizeInsets): use for_each to resizeInsetsLyXText for all
10648 (getParFromID): use ParagraphList iterators
10650 * BufferView2.C (lockInset): use paragraph list and iterators
10652 2002-08-14 John Levon <levon@movementarian.org>
10654 * lyxserver.C: remove spurious xforms include
10656 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10658 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10660 2002-08-13 André Pönitz <poenitz@gmx.net>
10663 * lyxfunc.C: further cleaning
10665 2002-08-13 André Pönitz <poenitz@gmx.net>
10667 * funcrequest.h: new constructor
10669 * funcrequest.C: move stuff here from .h
10672 * BufferView_pimpl.C:
10675 * lyxfunc.C: subsequent changes
10677 * lyxfunc.h: new view() member function
10679 * lyxfunc.C: subsequent changes
10681 2002-08-13 Angus Leeming <leeming@lyx.org>
10684 * BufferView_pimpl.C:
10692 changes due to the changed LyXView interface that now returns references
10693 to member variables not pointers.
10695 2002-08-13 Angus Leeming <leeming@lyx.org>
10697 * WordLangTuple (word, lang_code): return references to strings,
10702 * lyxtext.h: forward-declare WordLangTuple.
10707 * text.C: #include "WordLangTuple.h".
10710 * text.C: (selectNextWordToSpellcheck): constify return type.
10712 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10718 * paragraph_pimpl.h:
10721 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10722 suggested by Angus.
10723 Made updateCounter always count from start of buffer, and removed
10724 second argument (par).
10725 Reverted floats number display to '#'. Perhaps I'll try again when the
10726 code base is sanitized a bit.
10728 2002-08-12 Angus Leeming <leeming@lyx.org>
10730 * buffer.[Ch] (getLabelList): constify.
10732 2002-08-07 André Pönitz <poenitz@gmx.net>
10734 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10736 * funcrequest.h: extension to keep mouse (x,y) position
10738 2002-08-12 Juergen Vigna <jug@sad.it>
10740 * BufferView2.C (insertErrors): forbid undo when inserting error
10743 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10745 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10747 * ParagraphList.[Ch]: new files
10749 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10751 * BufferView2.C (lockInset): ParagraphList changes
10754 * bufferlist.C: ditto
10758 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10760 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10761 unused class variable counter_,
10763 * paragraph.[Ch] (getFirstCounter): delete unused function
10765 * counters.C: include LAssert.h
10766 (reset): add a new function with no arg, change other version to
10767 not have def. arg and to not allow empty arg.
10769 * text2.C (setCounter): remove empty arg from call to Counters::reset
10771 2002-08-11 John Levon <levon@movementarian.org>
10773 * Makefile.am: add WordLangTuple.h
10775 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10777 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10778 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10780 * insets/insettext.C: InsetList changes
10782 * graphics/GraphicsSupport.C (operator()): InsetList changes
10784 * toc.C (getTocList): InsetList changes
10786 * paragraph_pimpl.[Ch]: InsetList changes
10788 * paragraph.[Ch]: InsetList changes
10790 * buffer.C (inset_iterator): InsetList changes
10791 (setParagraph): ditto
10792 * buffer.h (inset_iterator): ditto
10793 * iterators.C (operator++): ditto
10794 * iterators.h: ditto
10796 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10798 * InsetList.[Ch]: new files, most InsetList handling moved out of
10801 * BufferView2.C (removeAutoInsets): InsetList changes
10803 (ChangeInsets): ditto
10805 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10807 * paragraph_pimpl.h (empty): new function
10809 * paragraph.[Ch] (empty): new function
10811 * other files: use the new Paragraph::empty function
10813 2002-08-09 John Levon <levon@movementarian.org>
10815 * lyxtext.h: remove unused refresh_height
10817 2002-08-09 John Levon <levon@movementarian.org>
10824 * paragraph.C: move sgml char escaping out of paragraph
10827 * paragraph.C: remove id setter
10831 * paragraph_pimpl.C: remove dead tex_code_break_column
10833 * bufferview_funcs.C: small cleanup
10835 * lyxfunc.C: remove dead proto
10837 * lyxtext.h: make some stuff private. Remove some dead stuff.
10839 * lyxgluelength.C: make as[LyX]String() readable
10841 2002-08-08 John Levon <levon@movementarian.org>
10846 * ToolbarDefaults.C:
10849 * toc.C: lyxaction cleanup
10851 2002-08-08 John Levon <levon@movementarian.org>
10853 * BufferView2.C: small cleanup
10856 * lyxfind.C: move unnecessary header into the .C
10858 2002-08-08 John Levon <levon@movementarian.org>
10860 * funcrequest.h: just tedious nonsense
10863 * lyx_main.C: cleanups
10866 * vspace.C: remove dead header lyx_main.h
10868 2002-08-07 Angus Leeming <leeming@lyx.org>
10871 * paragraph_pimpl.h:
10872 Forward declare class Counters in paragraph.h by moving the ctrs member
10873 variable into Paragraph::Pimpl.
10874 (counters): new method, returning a reference to pimpl_->ctrs.
10876 * text2.C: ensuing changes.
10878 2002-08-07 John Levon <levon@movementarian.org>
10880 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10882 * BufferView_pimpl.C: announce X selection on double/triple
10885 * lyx_main.C: use correct bool in batch dispatch
10887 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10889 2002-08-07 André Pönitz <poenitz@gmx.net>
10891 * funcrequest.h: new class to wrap a kb_action and its argument
10894 * BufferView_pimpl[Ch]:
10898 * lyxrc.C: subsequent changes
10901 2002-08-07 John Levon <levon@movementarian.org>
10903 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10904 document options change.
10906 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10911 * makefile.am: move counters functionality over from
10912 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10914 2002-08-06 John Levon <levon@movementarian.org>
10916 * WordLangTuple.h: new file for word + language code tuple
10927 * BufferView2.C: use WordLangTuple
10930 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10932 2002-08-06 John Levon <levon@movementarian.org>
10934 * lyx_main.C: fix cmdline batch handling
10936 2002-08-06 André Pönitz <poenitz@gmx.net>
10938 * lyxrc.C: set default for show_banner to true
10940 2002-08-06 John Levon <levon@movementarian.org>
10942 * pspell.C: fix a crash, and allow new aspell to work
10944 2002-08-06 John Levon <levon@movementarian.org>
10947 * kbmap.C: small cleanup
10950 * vspace.C: add const
10952 2002-08-05 John Levon <levon@movementarian.org>
10954 * LyXAction.C: back to tabular-insert
10956 2002-08-04 John Levon <levon@movementarian.org>
10959 * BufferView.C: cosmetic change
10961 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10971 * BufferView2.C: purge all "Lyx" not "LyX" strings
10974 * lyxcursor.C: attempt to add some documentation
10979 * ToolbarDefaults.C:
10980 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10981 merge with LFUN_TABULAR_INSERT
10988 * pspell.C: split up i/pspell implementations into separate
10989 files, many cleanups
10991 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10993 * text2.C: some cleanup
10995 * lyxfunc.C: don't check for isp_command == "none" any more, it
10996 didn't make any sense
10998 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11003 * makefile.am: move counters functionality over
11004 from text2.C/paragraph.[Ch] to counters.[Ch], and
11006 2002-08-02 John Levon <levon@movementarian.org>
11008 * buffer.C: s/lyxconvert/lyx2lyx/
11010 2002-08-02 Angus Leeming <leeming@lyx.org>
11012 * lyxlex.C: revert John's change as it breaks reading of the user
11015 2002-08-02 Angus Leeming <leeming@lyx.org>
11017 * importer.C (Import):
11018 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11019 changes due to LyXView::view() now returning a boost::shared_ptr.
11021 2002-08-02 John Levon <levon@movementarian.org>
11023 * lyxlex.C: small cleanup
11025 2002-08-02 John Levon <levon@movementarian.org>
11027 * text2.C (status): small cleanup, no logic change
11029 2002-08-01 John Levon <levon@movementarian.org>
11032 * buffer.C (writeFile): don't output alerts, caller
11036 * lyx_cb.C: from above
11038 * lyxfunc.C: allow to open non-existent files
11040 2002-07-31 John Levon <levon@movementarian.org>
11042 * lyxserver.C: don't let incidental errors get
11045 2002-07-30 John Levon <levon@movementarian.org>
11047 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11049 2002-07-30 John Levon <levon@movementarian.org>
11052 * lyxserver.C: remove I/O callback too
11054 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11056 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11059 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11061 * many files: strip,frontStrip -> trim,ltrim,rtrim
11063 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11065 * PrinterParams.h: remove extern containsOnly, and include
11066 support/lstrings.h instead.
11068 * LaTeX.C (scanAuxFile): modify because of strip changes
11070 * buffer.C (makeLaTeXFile): ditto
11071 * bufferparams.C (writeFile): ditt
11072 * lyxfont.C (stateText): ditto
11073 * lyxserver.C (read_ready): ditto
11074 * vc-backend.C (scanMaster): ditto
11076 * BufferView_pimpl.h: ws changes
11078 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11080 2002-07-26 André Pönitz <poenitz@gmx.net>
11082 * kb_sequence.C: remove unnedred usings
11084 2002-07-26 Juergen Vigna <jug@sad.it>
11086 * lyxfind.C (LyXReplace): we have to check better if the returned
11087 text is not of theLockingInset()->getLockingInset().
11089 2002-07-25 Juergen Vigna <jug@sad.it>
11091 * lyxfind.C (LyXReplace): don't replace if we don't get the
11094 * undo_funcs.C (createUndo): remove debugging code.
11096 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11098 * buffer.C (parseSingleLyXformat2Token): Use default placement
11099 when reading old floats.
11101 * FloatList.C (FloatList): Change the default placement of figure
11102 and tables to "tbp".
11104 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11106 * MenuBackend.C: using std::max
11108 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11110 * MenuBackend.C (expandToc):
11111 (expandToc2): code moved from xforms menu frontend. It is now
11112 generic and TOCs are transparent to menu frontends.
11114 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11116 * toc.C (getTocList): protect against buf=0
11118 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11119 Menu as first parameter. Now, this calls itself recursively to
11120 expand a whole tree (this will be useful for TOC handling)
11121 (expandFloatInsert): remove 'wide' version of floats
11123 * MenuBackend.h (submenuname): returns the name of the submenu.
11124 (submenu): returns the submenu itself, provided it has been
11125 created by MenuBackend::expand
11127 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11129 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11130 insets which have noFontChange == true. (bug #172)
11132 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11134 * BufferView_pimpl.C: add connection objects and use them...
11137 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11139 * MenuBackend.C (expandLastfiles):
11142 (expandFloatListInsert):
11143 (expandFloatInsert):
11144 (expand): split expand in parts
11146 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11148 * lyx_gui.C: use lyx_gui::exit()
11150 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11152 * LyXAction.C: show the failing pseudo action
11154 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11156 * buffer.C (readFile): Run the lyxconvert script in order to read
11159 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11163 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11165 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11169 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11171 2002-07-22 Herbert Voss <voss@lyx.org>
11174 * lyxlength.[Ch]: add support for the vertical lengths
11176 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11178 * toc.[Ch]: std:: fixes
11180 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * lyxrc.C: do not include lyx_main.h
11184 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11190 * BufferView2.C: include "lyxlex.h"
11193 * bufferparams.h: do not #include "lyxlex.h"
11195 * lyxtextclasslist.C (Add): remove method
11196 (classlist): renamed to classlist_
11198 * paragraph_pimpl.C:
11202 * bufferview_funcs.C:
11207 * toc.C (getTocList): use BufferParams::getLyXTextClass
11209 * toc.C (getTocList): use InsetFloat::addToToc
11211 * toc.[Ch]: new files, containing helper functions to handle table
11214 * lyxfunc.C (dispatch): no need to remove spaces around command
11216 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11217 first command of the sequence; it is not very clever, but I do not
11218 have a better idea, actually
11220 * LyXAction.C (LookupFunc): make sure to remove space at the
11221 beginning and end of the command
11223 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * MenuBackend.C (getMenubar): new method: return the menubar of
11227 (read): treat differently reading of menu and menubar (in
11228 particular, the menubar has no name now)
11229 (Menu::menubar): remove
11231 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11234 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11236 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11237 a bibitem inset in a RTL paragraph.
11239 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11241 * paragraph_pimpl.C: constify
11243 * BufferView_pimpl.C:
11245 * lyxfunc.C: fix dispatch in a nicer way
11247 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11249 * lyxfunc.C (dispatch):
11250 * BufferView_pimpl.C:
11251 * BufferView_pimpl.h:
11253 * BufferView.h: rename Dispatch() to dispatch()
11255 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11257 * lyxlayout.C (Read): honor DependsOn tag
11259 * lyxlayout.[Ch] (depends_on): new method
11261 * version.C.in: update lyx_docversion
11263 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11265 * paragraph.C (validate): remove from here...
11266 * paragraph_pimpl.C (validate): ... and move here
11267 (isTextAt): make it const
11269 * buffer.C (getLists): ws cleanup
11271 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11273 * language.C (read): Use iso8859-1 encoding in latex_lang
11274 (this prevents LyX from crashing when using iso10646-1 encoding).
11276 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11278 * text2.C (toggleInset): if cursor is inside an inset, close the
11279 inset and leave cursor _after_ it
11281 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11283 * lyxfunc.C: move minibuffer completion handling out of here
11285 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11287 * BufferView_pimpl.C:
11288 * LaTeX.C: fix dispatch calls
11290 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11292 * text.C (drawChars): Fix Arabic text rendering.
11294 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11298 * lyxfunc.C: remove message-push/pop
11302 * lyxfunc.C: rationalise some code by removing verboseDispatch
11303 in favour of a bool argument to dispatch()
11305 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * lyx_main.C (init): make sure to read symlinks as absolute paths
11309 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11312 * lyxfunc.C: no need for commandshortcut to be a member
11314 2002-07-15 André Pönitz <poenitz@gmx.net>
11316 * converter.C: add support for $$s (scripts from lib/scripts dir)
11317 * lyx_main.C: white space
11319 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11323 * lyxrc.C: remove second exit confirmation
11325 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11330 * BufferView_pimpl.h:
11331 * BufferView_pimpl.C:
11332 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11334 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11336 * MenuBackend.C (expand): add numeric shortcuts to document menu
11338 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11340 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * lyxfont.C (setLyXFamily):
11349 * buffer.C (asciiParagraph): use ascii_lowercase
11351 2002-07-15 Mike Fabian <mfabian@suse.de>
11353 * lyxlex_pimpl.C (search_kw):
11354 * lyxlex.C (getLongString):
11355 * converter.h (operator<):
11356 * converter.C (operator<):
11357 * buffer.C (parseSingleLyXformat2Token):
11359 * ToolbarDefaults.C (read):
11360 * MenuBackend.C (checkShortcuts):
11362 * LColor.C (getFromGUIName):
11363 (getFromLyXName): use the compare_ascii_no_case instead of
11364 compare_no_case, because in turkish, 'i' is not the lowercase
11365 version of 'I', and thus turkish locale breaks parsing of tags.
11367 2002-07-16 Angus Leeming <leeming@lyx.org>
11369 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11370 now takes a Buffer const & argument.
11372 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11374 * BufferView.C (resize): check there's a buffer to resize
11376 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11378 * lyxfunc.C: remove dead code
11381 * lyxserver.C: use lyx_guii::set_read_callback
11383 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11385 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11386 an inset in a RTL paragraph.
11388 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11390 * lyxfunc.C: repaint after a font size update
11392 2002-07-15 André Pönitz <poenitz@gmx.net>
11394 * lyxlength.C: inBP should be able to return negative values
11396 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11398 * lyxfunc.C: use lyx_gui::update_fonts()
11400 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11402 * lyxfunc.C: use lyx_gui::update_color()
11404 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11410 * lyxrc.C: remove file->new asks for name option, and let
11411 buffer-new take an argument
11413 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11415 * BufferView_pimpl.C: remove unneeded extra repaint()
11417 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11419 * LyXAction.C: allow command-sequence with NoBuffer
11421 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11423 2002-07-10 Angus Leeming <leeming@lyx.org>
11425 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11427 2002-07-09 Angus Leeming <leeming@lyx.org>
11429 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11431 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11433 * lengthcommon.h: whitespace
11435 * lyxfunc.C: update scrollbar after goto paragraph
11437 * lyxtext.h: factor out page break drawing, and fix it so
11438 page break/added space paints as selected nicely
11440 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11442 * BufferView_pimpl.C: add FIXMEs, clean up a little
11444 2002-07-09 André Pönitz <poenitz@gmx.net>
11446 * lyxfont.[Ch]: support for wasy symbols
11448 2002-07-08 André Pönitz <poenitz@gmx.net>
11450 * BufferView_pimpl.C: apply John's patch for #93.
11452 2002-07-05 Angus Leeming <leeming@lyx.org>
11454 * BufferView_pimpl.C (buffer): generate previews if desired.
11456 * LColor.h: add "preview" to the color enum.
11458 * LColor.C (LColor): add a corresponding entry to the items array.
11460 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11463 2002-07-05 Angus Leeming <leeming@lyx.org>
11465 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11466 The body of the code is now in the method that is passed an ostream &
11467 rather than a file name.
11468 Pass an additional only_preamble parameter, useful for the forthcoming
11471 2002-07-03 André Pönitz <poenitz@gmx.net>
11473 * lyxfunc.C: simplify getStatus() a bit for math stuff
11475 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11477 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11479 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11481 * text.C (changeRegionCase): do not change case of all the
11482 document when region ends at paragraph end (bug #461)
11484 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11486 * paragraph.C (startTeXParParams):
11487 (endTeXParParams): add \protect when necessary
11489 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * BufferView_pimpl.C (workAreaExpose): remove warning
11493 2002-06-27 Angus Leeming <leeming@lyx.org>
11495 * Makefile.am: add lyxlayout_ptr_fwd.h.
11497 2002-06-26 André Pönitz <poenitz@gmx.net>
11499 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11501 2002-06-25 Angus Leeming <leeming@lyx.org>
11503 * lyxfunc.C (dispatch): Comment out the call to
11504 grfx::GCache::changeDisplay. The method no longer exists now that the
11505 pixmap generation part of the graphics loader has been moved into
11508 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11510 * text2.C: layout as layout
11512 * text.C: layout as layout
11514 * tabular.C (OldFormatRead): layout as layout
11516 * paragraph_pimpl.C (TeXDeeper): layout as layout
11517 (realizeFont): layout as layout
11519 * paragraph.C (writeFile): layout as layout
11520 (validate): layout as layout
11521 (getFont): layout as layout
11522 (getLabelFont): layout as layout
11523 (getLayoutFont): layout as layout
11524 (breakParagraph): layout as layout
11525 (stripLeadingSpaces): layout as layout
11526 (getEndLabel): layout as layout
11527 (getMaxDepthAfter): layout as layout
11528 (applyLayout): layout as layout
11529 (TeXOnePar): layout as layout
11530 (simpleTeXOnePar): layout as layout
11531 (TeXEnvironment): layout as layout
11532 (layout): layout as layout
11533 (layout): layout as layout
11535 * lyxtextclass.C (compare_name): new functor to work with
11536 shared_ptr, layout as layout
11537 (Read): layout as layout
11538 (hasLayout): layout as layout
11539 (operator): layout as layout
11540 (delete_layout): layout as layout
11541 (defaultLayout): layout as layout
11543 * lyxlayout_ptr_fwd.h: new file
11545 * lyxlayout.C (Read): layout as layout
11547 * lyx_cb.C (MenuInsertLabel): layout as layout
11549 * bufferlist.C (newFile): layout as layout
11551 * buffer.C (readLyXformat2): layout as layout
11552 (parseSingleLyXformat2Token): layout as layout
11553 (insertStringAsLines): layout as layout
11554 (asciiParagraph): layout as layout
11555 (latexParagraphs): layout as layout
11556 (makeLinuxDocFile): layout as layout
11557 (simpleLinuxDocOnePar): layout as layout
11558 (makeDocBookFile): layout as layout
11559 (simpleDocBookOnePar): layout as layout
11560 (getLists): layout as layout
11562 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11564 * CutAndPaste.C (cutSelection): layout as layout
11565 (pasteSelection): layout as layout
11566 (SwitchLayoutsBetweenClasses): layout as layout
11568 * BufferView_pimpl.C (Dispatch): layout as layout
11569 (smartQuote): layout as layout
11571 * BufferView2.C (unlockInset): layout as layout
11573 2002-06-24 André Pönitz <poenitz@gmx.net>
11575 * lyxfunc.C: fix #487
11577 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11581 * lyxfunc.C: remove display_shortcuts, show_banner
11583 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11585 * Buffer_pimpl.C: oops, update on resize
11587 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11594 * BufferView.C: use repaint()
11596 * BufferView_pimpl.h:
11597 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11598 as it's a clearer description. Remove superfluous
11601 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11603 * text.C: fix bug 488. Not ideal, but getting
11604 getWord() to work properly for the insets that
11605 matter is more difficult ...
11607 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11609 * BufferView_pimpl.C:
11612 * lyxfunc.C: remove the six million index lyxfuncs to just
11613 one, and DTRT (bug 458)
11615 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11619 * BufferView_pimpl.h:
11620 * BufferView_pimpl.C: clean up resize() stuff,
11621 and unnecessary updateScreen()s
11623 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11627 * BufferView_pimpl.h:
11628 * BufferView_pimpl.C:
11631 * minibuffer.C: remove focus management of workarea,
11632 not needed. Use screen's greyOut()
11634 2002-06-17 Herbert Voss <voss@lyx.org>
11636 * converter.C: (convert) do not post a message, when converting
11637 fails, let the calling function decide what to do in this case
11639 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11641 * lyxfunc.C: tidy up a little
11643 2002-06-16 <alstrup@diku.dk>
11645 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11646 Got rid of FORMS_H_LOCATION include. Now we are
11649 2002-06-15 LyX Development team <lyx@rilke>
11651 * buffer.[Ch] (sgmlOpenTag):
11652 (sgmlCloseTag): Added support for avoiding pernicious mixed
11653 content. Return number of lines written.
11655 (makeLinuxDocFile):
11656 (makeDocBookFile): Fixed calls to sgml*Tag.
11657 Simple white space clean.
11659 (simpleDocBookOnePar): Simple white space clean.
11661 * tabular.[Ch] (docBook): Renamed to docbook and got another
11662 argument to related with the pernicious mixed content.
11664 (docbookRow): Fixed calls for docbook inset method.
11666 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11668 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11669 so it's X11 independent.
11673 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11675 2002-06-15 Lyx Development team <lyx@electronia>
11677 * intl.h: Renamed getTrans to getTransManager.
11679 2002-06-14 Angus Leeming <leeming@lyx.org>
11681 * Makefile.am: nuke forgotten stl_string_fwd.h.
11683 2002-06-12 Angus Leeming <leeming@lyx.org>
11685 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11687 2002-06-13 Angus Leeming <leeming@lyx.org>
11690 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11692 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11694 * kbmap.C (getiso): add support for cyrillic and greek
11696 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11700 * BufferView_pimpl.h:
11701 * BufferView_pimpl.C: move bogus scrolling logic
11704 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11707 * BufferView_pimpl.C: view->resize() change
11709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11711 * BufferView_pimpl.C: topCursorVisible
11714 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11718 * lyx_gui.C: move to frontends/
11722 * lyx_main.C: changes from above
11724 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11731 * lyx_main.C: minor tidy
11733 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11735 * BufferView_pimpl.h:
11736 * BufferView_pimpl.C:
11738 * BufferView.C: make painter() const,
11741 * BufferView2.C: use screen() accessor
11744 * lyx_main.C: some minor cleanup
11746 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11748 * BufferView_pimpl.h:
11749 * BufferView_pimpl.C: remove enter/leaveView,
11752 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11757 * BufferView_pimpl.h:
11758 * BufferView_pimpl.C: only construct screen once,
11761 * lyxrc.C: remove pointless comment
11763 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11766 * BufferView.C: remove active() and belowMouse()
11768 * BufferView_pimpl.h:
11769 * BufferView_pimpl.C: use workarea() not workarea_,
11770 and make it use a scoped_ptr instead
11772 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11774 * lyx_gui.C: add debug message on BadWindow
11776 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * sp_spell.C: fdopen is not part of the C++ standard.
11780 * paragraph.C (InsetIterator): use >= instead of ==
11782 2002-06-07 Angus Leeming <leeming@lyx.org>
11784 Fixes needed to compile with Compaq cxx 6.5.
11785 * BufferView_pimpl.C:
11792 * lyxtextclasslist.C:
11797 all c-library variables have been moved into namespace std. Wrap
11798 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11803 Add a using std::abs declaration.
11805 * kbmap.h (modifier_pair):
11806 * paragraph.h (InsetTable, InsetList):
11807 * lyxfont.h (FontBits):
11808 type definition made public.
11810 * bufferlist.C (emergencyWriteAll): the compiler complains that
11811 there is more than one possible lyx::class_fun template to choose from.
11812 I re-named the void specialisation as lyx::void_class_fun.
11814 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11816 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11817 the compiler is is unable to find tostr in write_attribute.
11819 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * buffer.C (sgmlError): hide #warning
11823 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * xtl/*: get rid of xtl, which is not in use anyway
11827 * LyXAction.C (init):
11828 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11829 were unimplemented xtl experimentation
11831 2002-06-04 André Pönitz <poenitz@gmx.net>
11833 * lyxfunc.C: disable array operation on simple formulae
11835 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11837 * converter.C: constify a bit
11839 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11841 * lyx_gui.C: check xforms version correctly
11843 2002-04-30 Herbert Voss <voss@lyx.org>
11845 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11848 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11850 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11851 attempt to register it with a VCS)
11853 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11855 * lyx_main.C (init): honor variables LYX_DIR_13x and
11858 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11862 * lyx_main.C: fix a crash on bad command line,
11863 and give a useful exit status on error
11865 * lyxfunc.C (doImport): allow -i lyx to work
11867 2002-03-30 André Pönitz <poenitz@gmx.net>
11869 * lyxfunc.C: mathed font changes
11871 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11886 * trans_mgr.h: srcdocs, and some minor cleanups
11888 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11890 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11891 call getFont all the time)
11893 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11895 * switch from SigC signals to boost::signals
11897 2002-05-29 André Pönitz <poenitz@gmx.net>
11899 * paragraph_pimpl.C (getChar): don't call size() too often...
11901 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11903 * paragraph_pimpl.C (insertChar): do not try to update tables when
11904 appending (pos == size())
11906 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11907 in order to reduce drastically the number of comparisons needed to
11908 parse a large document
11910 2002-05-29 André Pönitz <poenitz@gmx.net>
11916 * textclasslist.[Ch]:
11917 * sp_ispell.h: whitespace change
11919 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11921 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11922 lyxaction directly now.
11924 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11928 * lyxvc.C: remove unused headers
11930 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11937 * undo_funcs.C: some cleanups. Use shared_ptr
11938 and a template for the undo stacks.
11940 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11942 * BufferView_pimpl.h:
11943 * BufferView_pimpl.C:
11950 * text2.C: use key_state/mouse_state
11952 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11954 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11957 * chset.C: change include order
11958 (loadFile): use boost regex and get rid of LRegex and LSubstring
11960 * Makefile.am (BOOST_LIBS): new variable
11961 (lyx_LDADD): use it
11963 * LaTeX.C: change include order.
11964 (scanAuxFile): use boost regex and get rid of LRegex and
11968 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11973 * FontInfo.C: moved to frontends/xforms/
11976 * FontLoader.C: moved into frontends for GUIIzation
11981 * lyxfunc.C: changes from above
11983 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11985 * LColor.C: remove spurious X include
11987 * BufferView_pimpl.C:
11992 * text2.C: move font metrics to frontends/
11994 2002-05-24 Juergen Vigna <jug@sad.it>
11996 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11997 setting the undo_cursor.
11999 * ParagraphParameters.h: include local includes first.
12001 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12003 * BufferView_pimpl.C:
12004 * BufferView_pimpl.h:
12008 * screen.C: move WorkArea into frontends/
12014 * BufferView2.C: move LyXScreen into frontends/
12018 * lyx_gui.C: move lyxlookup into frontends/xforms/
12020 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12023 * BufferView_pimpl.C:
12033 * bufferview_funcs.C:
12046 * vc-backend.C: move LyX/XFormsView into frontends/
12048 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12060 * text2.C: move Painter to frontends/
12062 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * buffer.C: comment out some some code that depend upon lyx_format
12067 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12068 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12070 * buffer.h (NO_COMPABILITY): turn off compability
12072 * ColorHandler.C: include scoped_array.hpp
12074 * font.C: Use more specific smart_ptr header.
12077 * ShareContainer.h: ditto
12078 * lyx_main.h: ditto
12080 * FontInfo.h: ditto
12081 * BufferView_pimpl.h: ditto
12082 * ColorHandler.h: ditto
12084 * kbmap.C (defkey): change call to shared_ptr::reset
12086 2002-05-21 Juergen Vigna <jug@sad.it>
12088 * buffer.C (insertErtContents): fix to insert ert asis if it is
12089 non empty. Skip it completely if it contains only whitespaces.
12091 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12093 * BufferView_pimpl.C:
12094 * BufferView2.C: clear selection on paste (bug 393)
12096 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12098 * DepTable.C: include ctime
12100 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12102 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12104 2002-05-14 Juergen Vigna <jug@sad.it>
12106 * text.C (breakParagraph): fixed function to honor the keepempty
12107 layout in the right maner and also to permit the right breaking
12108 algorithm on empty or non empyt keepempty paragraphs.
12110 * paragraph.C (breakParagraph): we have to check also if the par
12111 is really empty (!size()) for isempty otherwise we do the wrong
12114 2002-05-10 Juergen Vigna <jug@sad.it>
12116 * buffer.[Ch] : The following are only changes to the ert
12117 compatibility read reading old LaTeX layout and font stuff and
12118 convert it to ERTInsets.
12120 * buffer.h: added isErtInset().
12122 * buffer.C (struct ErtComp): add a fromlayout bool to check
12123 if we're inside a LaTeX layout.
12124 (isErtInset): new helper function.
12125 (insertErtContents): look for other ert insets before this one
12126 and insert the contents there, so that we don't have subsequent
12127 ERT insets with nothing between them. This way we create only one
12128 inset with multiple paragraphs. Also check if we don't insert only
12129 spaces ' ' as they are ignored anyway afterwards in the .tex file
12130 so if we have only spaces we will ignore this latex part in the
12132 (parseSingleLyXformat2Token \\layout): better compatibility when
12133 reading layout-latex stuff.
12134 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12136 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12137 stuff after reading the inset only get the information back from
12140 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12142 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12144 * LaTeXFeatures.C (getBabelOptions): New method.
12146 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12148 * BufferView_pimpl.C (Dispatch): work around missing argument for
12151 2002-05-08 Juergen Vigna <jug@sad.it>
12153 * text.C (leftMargin): handle paragraph leftindent.
12155 * paragraph.C (writeFile): write the new \\leftindent tag.
12156 (validate): handle leftindent code.
12157 (TeXEnvironment): handle paragraphleftindent code again.
12159 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12161 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12162 for paragrap_extra indent code and new token \\leftindent.
12163 (latexParagraphs): handle the leftindent as environment.
12165 * ParameterStruct.h: added leftindent support.
12167 * ParagraphParameters.C (leftIndent): added support functions for
12168 the paragraph left indent.
12170 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12173 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12175 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12178 * text.C (computeBidiTables): No bidi in insetERT.
12180 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12183 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * version.C.in: pre 5
12187 2002-05-02 José Matos <jamatos@fep.up.pt>
12188 * buffer.C (makeDocBookFile): white space changes, add newline to
12190 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12192 * tabular.C (docBook): fix typo.
12194 2002-05-03 Juergen Vigna <jug@sad.it>
12196 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12197 change in LyXText as we can not be sure it was not freed.
12198 (drawOneRow): remove unused code.
12200 * text.C (drawInset): redo the calculation of the need_break_row as
12201 it could have a row which was already freed.
12202 (draw): look at the return value of drawInset and return false if
12203 it also returned false.
12204 (paintRowText): look at the return value of draw and return false if
12205 it also returned false.
12207 * lyxtext.h: added bool return type to drawInset() and draw() so that
12208 if we have a change in the row so that the rowbreak has to be redone
12209 we abort drawing as it will be called again.
12211 2002-05-02 Juergen Vigna <jug@sad.it>
12213 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12214 a change in the maintext also if we're inside an inset.
12215 (Dispatch): set the cursor again after a break line and after the
12216 screen has been updated as it could be we're in a different row.
12218 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12219 to set the cursor behind the pargraph with > size().
12220 (setCursor): check also for the same paragraph when checking where
12221 to put the cursor if we have a NFR inset.
12223 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12224 parts of layout read further up as it still was in the wrong
12227 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12229 * screen.C (drawFromTo): change sine fullRebreak always return
12232 * buffer.C (parseSingleLyXformat2Token): reindent some
12234 * BufferView_pimpl.C (update): change since fullRebreak always
12236 (Dispatch): git rid of the last hardcoded "Standard"s.
12238 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12240 * text2.[Ch] (fullRebreak): make it return void now that we always
12243 2002-04-30 Juergen Vigna <jug@sad.it>
12245 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12246 ert compatibility check for "latex" layout.
12248 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12250 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12251 minipages: use col% instead of p%, and also use the current font.
12252 (makeLaTeXFile): Fix use babel condition.
12253 (parseSingleLyXformat2Token): Correct font when reading old floats.
12255 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12257 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12258 inserting list of floats.
12260 2002-04-25 Herbert Voss <voss@lyx.org>
12262 * MenuBackend.C (expand): don't add the graphics extensions to the
12265 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12267 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12268 non-existing layout, do not complain if it was the default layout
12269 of the original class (bug #342)
12271 2002-04-24 Juergen Vigna <jug@sad.it>
12273 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12274 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12276 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12278 * buffer.C (getBibkeyList): If using \bibliography, return the
12279 option field with the reference itself. Enables us to provide natbib
12280 support when using \bibliography.
12282 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12284 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12286 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12287 natbib is provided by the LaTeX class.
12289 2002-04-23 Juergen Vigna <jug@sad.it>
12291 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12294 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12296 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12298 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12300 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12301 ensuremath around textordmasculine, textordfeminine and
12304 2002-04-19 Juergen Vigna <jug@sad.it>
12306 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12307 reinitializing the buffer otherwise row-dimensions may be wrong.
12308 (update): reset also the selection cursors if they do exits otherwise
12309 their x/y positions may be wrong.
12311 * text2.C (cursorDown): don't enter the inset if we came from a row
12312 above and are one row over the inset.
12314 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12315 really leaving an inset.
12317 2002-04-18 Juergen Vigna <jug@sad.it>
12319 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12320 of the selected paragraph does not have the selected layout also if
12323 * text2.C (setLayout): fixed bug which did not change last selected
12326 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12327 changed the read and substituted \\end_float with \\end_inset!
12329 * BufferView_pimpl.C (cursorPrevious):
12330 (cursorNext): fixed to make it work with rows heigher than the work
12331 area without moving the cursor only the draw of the row.
12332 (workAreaMotionNotify): fix jumping over high rows.
12334 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12339 2002-04-16 Juergen Vigna <jug@sad.it>
12341 * text2.C (setCursor): set also the irow().
12342 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12344 (cursorDown): support for locking an inset if the x_fix value goes
12345 inside it. That way I can transverse insets too with cursor up/down.
12347 * lyxrow.h: added irow helper function same as other (i) functions.
12349 * BufferView_pimpl.C (cursorPrevious):
12350 (cursorNext): fixed for insets!
12352 2002-04-15 Juergen Vigna <jug@sad.it>
12354 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12355 position otherwise it is wrong in some cases.
12357 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12358 inside the inset before the call.
12360 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12362 * buffer.[Ch] (getBibkeyList): make it const.
12364 2002-04-12 Juergen Vigna <jug@sad.it>
12366 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12368 * text2.C (getCursorX): new helper function
12369 (setCursor): compute also ix_
12370 (setCursorFromCoordinates): set also ix.
12372 * lyxcursor.h: added ix_ and helper functions.
12374 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12376 * buffer.C (insertStringAsLines): dont break paragraph if the this
12377 paragraph is inside an inset which does not permit it!
12379 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12380 also with no chars on this paragraph.
12381 (paintRowText): only paint stuff if it's inside the workarea!
12383 * paragraph.C (breakParagraph): honor keepempty flag and break the
12384 paragraph always below not above.
12386 * BufferView2.C (unlockInset): update the paragraph layout on inset
12387 unlock as we changed paragraph in such a case.
12389 * lyxfind.C (LyXFind): clear the former selection if not found!
12391 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12392 again called in insertChar().
12394 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12395 an inset which uses the whole row!
12396 (rightMargin): ditto.
12397 (insertChar): force a rebreak if we inserted an inset!
12399 2002-03-28 Herbert Voss <voss@lyx.org>
12401 * lyxlength.[Ch]: add inBP() to get the right PS-point
12402 units (BigPoint). With inPixels we have rounding errors
12404 2002-04-11 Juergen Vigna <jug@sad.it>
12406 * text2.C (setCursorFromCoordinates): set iy to the right value.
12407 (setCursor): add check if row->previous exists!
12409 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12410 an old float_type as this was the case in the old code!
12412 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12414 * BufferView2.C (showLockedInsetCursor): use iy
12415 (fitLockedInsetCursor): ditto
12417 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12418 locked insets as there we have the right value now.
12420 * lyxcursor.C: added iy_ variable and iy functions to set to the
12421 baseline of cursor-y of the locked inset.
12423 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12424 (setCursor): fixed for insets which need a full row.
12426 * text.C (rowLastPrintable): don't ignore the last space when before
12427 an inset which needs a full row.
12428 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12429 as last character of a row when before a inset which needs a full row.
12431 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12433 * version.C.in: update date
12435 * text2.C (fullRebreak): try to always return true and see what
12438 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12440 * MenuBackend.C (expand): use Floating::listName
12442 * FloatList.C (FloatList): add listName argument to the built-in
12445 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12446 text associated with the float.
12448 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12452 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * ShareContainer.h: add a couple of missing typenames.
12456 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12458 * lyxrc.C (getDescription): use _() correctly rather than N_().
12460 2002-03-28 Herbert Voss <voss@lyx.org>
12462 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12463 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12465 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12467 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12468 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12470 2002-03-29 Juergen Vigna <jug@sad.it>
12472 * lyxfunc.C (dispatch): add a missing fitCursor call.
12474 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12475 it was scrolled by a cursor move, so return the bool status.
12477 * BufferView.C (fitCursor): return the bool flag also to the outside
12478 world as this is needed.
12480 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12482 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12483 call the edit() as it is not needed (and wrong) IMO.
12484 (workAreaButtonPress): set the screen_first variable before evt.
12485 unlock the inset as this may change screen_first and then we have
12486 a wrong y position for the click!
12488 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * MenuBackend.C (expand): another translation that I missed
12492 2002-03-28 Juergen Vigna <jug@sad.it>
12494 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12496 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12498 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12500 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12502 * MenuBackend.C (expand): fix export/view/update when there is no
12505 2002-03-27 Herbert Voss <voss@lyx.org>
12507 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12510 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12512 * bufferview_funcs.C (currentState): only show paragraph number
12513 for is DEVEL_VERSION is set.
12515 * lyxfunc.C (dispatch): put warning in INFO channel
12517 * MenuBackend.C (expand): translate the name of floats
12519 * FloatList.C (FloatList): mark the float names for translation
12521 * converter.C (convert): use LibScriptSearch
12523 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * MenuBackend.C (defaults): fix default menu (we might as well get
12528 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12530 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12533 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * lyxvc.C: reorder includes.
12537 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12539 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12542 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12544 * CutAndPaste.C: change layouts earlier on paste
12545 to avoid crashing when calling getFont()
12547 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12549 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12552 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * WorkArea.C: remove 'Pending' debug message.
12556 * most files: ws cleanup
12558 * buffer.[Ch]: ws changes
12560 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12562 2002-03-21 Juergen Vigna <jug@sad.it>
12564 * tabular.C (SetMultiColumn): collapse also the contents of the
12565 cells and set the last border right. Added a Buffer const * param.
12567 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12572 2002-03-19 Juergen Vigna <jug@sad.it>
12574 * text2.C (clearSelection): reset also xsel_cache.
12576 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12577 where it needs to be called (John tells us to do so too :)
12578 (selectionLost): reset sel_cache.
12580 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12582 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12584 * text2.C (setCursorIntern): put debuging code in INSETS channel
12586 2002-03-19 André Pönitz <poenitz@gmx.net>
12588 * lyxfunc.C: tiny whitespace change
12590 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12592 * ToolbarDefaults.C (init):
12593 * LyXAction.C (init):
12595 * BufferView_pimpl.C (Dispatch):
12596 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12598 2002-03-19 Allan Rae <rae@lyx.org>
12600 * exporter.C (Export): removeAutoInsets before doing anything else.
12601 While I've just introduced a dependency on BufferView this really is
12602 the best place to clean the buffer otherwise you need to cleanup in
12603 a dozen places before calling export or cleanup in a dozen functions
12606 * converter.C (runLaTeX):
12607 (scanLog): Better handling of removeAutoInsets and screen updates.
12609 * lyxfunc.C (dispatch): small whitespace changes
12611 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12613 * WorkArea.C (C_WorkAreaEvent): return a value.
12614 (event_cb): return 1 if we handled the event, 0 otherwise.
12616 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12618 2002-03-18 Juergen Vigna <jug@sad.it>
12620 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12621 (GetAdditionalWidth): ditto.
12622 (RightLine): ditto.
12625 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12626 inset if we're there actually (probably not used right now but this
12627 is the direction to go for unifying code).
12628 (paste): disable code to clear the selection.
12630 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12631 inside an InsetText and move the check further up as it is in the
12634 * text2.C (pasteSelection): set a selection over the pasted text.
12636 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12638 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12639 and libgraphics to build on Cygwin.
12641 2002-03-15 Juergen Vigna <jug@sad.it>
12643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12644 inserting an Inset into the paragraph. I know this is not the best
12645 fix but we already use current_view in CutAndPaste so we will remove
12646 all of it's using at the same time.
12648 * buffer.C (sgmlError): deactivated function till it is rewritten in
12649 the right mode, now it can create problems.
12651 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12652 before accessing it.
12654 2002-03-14 Juergen Vigna <jug@sad.it>
12656 * undo_funcs.C (textHandleUndo): do the right thing when updating
12657 the inset after the undo/redo.
12659 * text2.C (setCursor): just some testcode for #44 not ready yet.
12661 * undo_funcs.C (textHandleUndo): set the next() and previous()
12662 pointers of the paragraph to 0 before deleting otherwise we have
12663 problems with the Paragraph::[destructor].
12665 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12666 on a paragraph insertion.
12668 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12670 * buffer.C (asciiParagraph): use += operator for char append to
12673 * paragraph.C (getFontSettings): compare >= not just >
12674 (highestFontInRange): ditto
12677 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * paragraph.C: change several algorithm to be more appripriate for
12680 the problem domain. This is lookip in FontList and in the InsetList.
12682 2002-03-13 André Pönitz <poenitz@gmx.net>
12685 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12687 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12692 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12694 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12696 * Painter.C (display): anon helper function, adjust code for this
12698 (pixmap): remove function.
12700 * Painter.h: remove private display variable.
12702 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12704 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12706 * WorkArea.[Ch]: remove figinset_canvas cruft.
12708 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12710 * lyxtextclass.C (operator): add one item cache optimization.
12712 * bufferlist.h: doxy changes
12714 * bufferlist.C: ws changes
12716 * DepTable.[Ch] (ext_exist): place const in the right spot.
12718 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12720 (workAreaExpose): call resizeInsets when the with BufferView changes.
12721 (Dispatch): adjust for protectedBlank removal
12722 (specialChar): call updateInset if the insert went ok.
12724 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12725 specialChar instead.
12727 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12729 * BufferView.h: doxy change
12731 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12733 * lyxtextclass.C (operator[]): remove non-const version
12734 (defaultLayout): remove non-const version
12736 2002-03-12 Juergen Vigna <jug@sad.it>
12738 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12739 did resize the LyXText too.
12741 * buffer.C (readLyXformat2): set layout information on newly allocated
12744 * tabular.C (OldFormatRead): set layout information on the paragraph.
12746 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12748 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12750 2002-03-11 Juergen Vigna <jug@sad.it>
12752 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12754 (resizeCurrentBuffer): force also the insets to resize themselfes.
12755 (moveCursorUpdate): fixed up for InsetText.
12757 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12760 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12761 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12762 value of Dialogs::tooltipsEnabled().
12763 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12765 2002-03-08 Juergen Vigna <jug@sad.it>
12767 * BufferView_pimpl.C (updateInset): update inset inside inset also
12768 if it isn't inside theLockingInset().
12770 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * buffer.C (asciiParagraph): redo some of the word and line length
12774 (getLists): look for Caption instead of caption.
12776 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12778 * buffer.C (Buffer): initialize niceFile to true
12780 (makeLinuxDocFile):
12781 (makeDocBookFile): make sure niceFile is true on exit
12783 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12785 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12787 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12789 * LyXSendto.C: remove.
12790 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12791 * lyx_gui.C: remove now-redundant comment.
12792 * ColorHandler.h: remove forward declaration of class WorkArea.
12793 * lyxfunc.C: remove #include "WorkArea.h".
12795 2002-03-07 Juergen Vigna <jug@sad.it>
12797 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12798 got moved away with the DEPM and also set the inset_owner always
12799 right which before could have been omitted.
12801 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12803 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12804 wanted layout is not found.
12806 2002-03-07 Juergen Vigna <jug@sad.it>
12808 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12810 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * paragraph.C (breakParagraph): use default layout not layout of
12814 (Paragraph): clear ParagraphParameters.
12816 2002-03-06 Juergen Vigna <jug@sad.it>
12818 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12819 otherwise it would not be a valid lenght. Fixed a special case in
12820 the minipage compatibility read where we end the document with a
12823 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12824 was set as it could be 0 for InsetTexts first entry.
12826 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * paragraph.C (writeFile): if layout is empty write out
12829 defaultLayoutName().
12831 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12832 file without named layout we set layout to defaultLayoutName().
12834 2002-03-06 Juergen Vigna <jug@sad.it>
12836 * CutAndPaste.C (copySelection): set layout for new paragraph.
12838 * text.C (prepareToPrint): leave ERT inset left aligned
12839 (leftMargin): don't indent paragraphs inside ERT insets
12841 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * paragraph.C (breakParagraph): dont call clear do the work manually
12845 * paragraph.[Ch] (clear): remove function
12847 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * paragraph.C (Paragraph): dont call clear, the work has already
12852 * lyxtextclass.C (operator): assert if n is empty
12854 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12855 work manually instead.
12857 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12859 * BufferView_pimpl.C: protect selectionLost against text == 0
12861 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * text.C (breakParagraph): fix a setting layout to '0' problem.
12865 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12867 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12868 final location of file, for the included files, and graphics.
12870 2002-03-05 Juergen Vigna <jug@sad.it>
12872 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12874 2002-03-04 Juergen Vigna <jug@sad.it>
12876 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12878 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12879 last column of multicolumn cells.
12880 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12882 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12884 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12885 file if it doesn't go to a temporary file.
12887 * buffer.C (sgmlOpenTag):
12888 (sgmlCloseTag): remove extra newline insertion.
12890 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * text.C (getRowNearY): comment out debug msg
12894 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * text2.C: first -> first_y
12898 * text.C (getRowNearY): add some attemts at a possible
12899 optimization, not working.
12901 * tabular.[Ch]: add BufferParams to several function so that newly
12902 created paragraph can be initialized to he default layotu for the
12905 * tabular-old.C (ReadOld): add buf->params to call of Init
12907 * screen.C: rename text->first to text->first_y
12909 * paragraph.C (breakParagraph): always set layout in the broken
12912 * lyxtextclass.C (Read): remove lowercase
12915 (delete_layout): ditto
12917 * lyxtext.h: rename first -> first_y
12919 * lyxlayout.C (Read): remove lowercase
12922 (obsoleted_by): ditto
12924 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12926 * buffer.C (insertErtContents): add params are to InsetERT
12927 (parseSingleLyXformat2Token): add code to check if a paragraphs
12928 layout really exist.
12929 (parseSingleLyXformat2Token): add params to several inset
12931 (asciiParagraph): remove lowercase, do the layout comparisons with
12934 * BufferView_pimpl.C (cursorNext): first -> first_y
12935 (resizeCurrentBuffer): first -> first_y
12936 (updateScrollbar): first -> first_y
12937 (scrollCB): first -> first_y
12938 (workAreaMotionNotify): first -> first_y
12939 (workAreaButtonPress): first -> first_y
12940 (checkInsetHit): first -> first_y
12941 (cursorPrevious): first -> first_y
12942 (cursorNext): first -> first_y
12943 (Dispatch): add buffer_->params to severl inset contructors
12945 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * lyxlayout.C (Read): remove some debug info that I forgot.
12949 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12950 clean up the code slightly.
12951 (makeLinuxDocFile): ditto
12952 (makeDocBookFile): ditto
12954 * text2.C: layout as string
12956 * text.C: layout as string
12958 * paragraph_pimpl.C: layout as string
12960 * paragraph.[Ch]: layout as string
12962 * lyxtextclasslist.[Ch]: layout as string
12964 * lyxtextclass.[Ch]: layout as string
12966 * lyxtext.h: layout as string
12968 * lyxlayout.[Ch]: layout as string
12970 * lyx_cb.C: layout as string
12972 * bufferview_funcs.C: layout as string
12974 * bufferparams.C: layout as string
12976 * buffer.C: layout as string
12978 * LyXView.[Ch]: layout as string
12980 * LaTeXFeatures.[Ch]: layout as string
12982 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12984 * BufferView_pimpl.C: change current_layout to string, remove
12989 (workAreaButtonRelease): layout as string
12991 * BufferView2.C (unlockInset): adjust
12993 * vspace.C (asLatexCommand): use an explict temp variable.
12995 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12997 * Makefile.am: use FRONTEND_*
12999 2002-03-01 Juergen Vigna <jug@sad.it>
13001 * tabular.C (SetWidthOfMulticolCell): changed to something better
13002 I hope but still work in progress.
13003 (recalculateMulticolumnsOfColumn): renamed function from
13004 recalculateMulticolCells as it is more appropriate now.
13005 (SetWidthOfCell): calculate multicols better.
13007 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13009 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13011 * lyxfunc.C (processKeySym): print sequence also if it is
13012 `deleted' (complete)
13014 * kbsequence.C (print): print sequence even if it is deleted
13015 (complete would be a better word, actually).
13017 * lyxfunc.C (dispatch): print complete options after a prefix key
13019 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13021 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13023 * text2.C (setCharFont): eliminate setCharFont code duplication.
13025 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13027 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13028 LFUN_TABULAR_FEATURE (bug #177)
13030 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13032 * Makefile.am: remove figure.h
13034 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13036 * Bufferview_pimpl.C:
13048 * text2.C: remove #include "lyx_gui_misc.h".
13050 * LaTeX.C: added #include <cstdio>
13052 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13054 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13055 that the paragraph following this one can have.
13057 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13059 * vspace.C (asLatexCommand): fix bogus gcc warning
13061 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13063 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13065 * text2.C (setLayout): get rid of redundant code
13067 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13069 * text2.C (incDepth): make sure depth cannot be increased beyond
13072 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13074 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13075 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13077 * PainterBase.h (image):
13078 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13079 a LyXImage const *.
13081 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13085 * BufferView_pimpl.C:
13086 * BufferView_pimpl.h:
13106 * sp_spell.C: remove fig inset, and the crap house of
13107 cards that follows it
13109 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13114 * os2_errortable.h:
13115 * nt_defines.h: move .h into support/
13117 * vms_defines.h: remove
13119 * WorkArea.C: add space in debug output
13123 * buffer.C: add WITH_WARNINGS
13127 * bufferlist.C: s/retrive/retrieve/, add docs
13136 * chset.C: add docs
13138 * lyxgui.C: add ID to X error handler
13140 * lyxtestclass.c: fix typo
13142 2002-02-26 Juergen Vigna <jug@sad.it>
13144 * tabular_funcs.C (write_attribute): changed so that some default
13145 attributes are not written at all.
13146 (getTokenValue): set default values before trying to read the
13147 value so we have the return value always set as default if we don't
13148 find the token we search for.
13150 * tabular.C (Write): write bools as bools not as strings!
13152 2002-02-22 Juergen Vigna <jug@sad.it>
13154 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13155 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13157 * text.C (leftMargin): don't add an indent for paragraphs inside
13158 tabular cells (fix #208).
13160 2002-02-21 José Matos <jamatos@fep.up.pt>
13162 * tabular.C (docBook): fixed support for long tables.
13164 2002-02-20 Juergen Vigna <jug@sad.it>
13166 * text2.C (getFont): get the drawing font of the Inset if this
13167 paragraph is inside an inset (only important for InsetERT for now).
13169 * buffer.C (insertErtContents): use new lanugage params in ERT
13172 * CutAndPaste.C: commenting out seemingly uneeded code.
13174 2002-02-19 Allan Rae <rae@lyx.org>
13176 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13177 Iterators might be simple to use but they also get invalidated.
13178 (removeAutoInsets): renamed saved cursor tracking variables and added
13179 some comments to clarify what everything does.
13181 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13188 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13189 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13192 * vc-backend.h: remove #include "support/syscall.h"
13196 * converter.C: rearrange #includes in Lars' approved fashion.
13198 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13199 forward declare class Timeout in the header file.
13201 * XFormsView.C: changes due to the above.
13203 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13204 similar to LyXView.
13206 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13207 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13209 2002-02-18 José Matos <jamatos@fep.up.pt>
13211 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13214 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13216 * a lot of small ws changes
13217 * add a lot of using std::XXX
13218 * use std construcs some places where approp.
13219 * use some exisint stuff from lyxfunctional where approp.
13220 * Make file changes to use partial linking (lets test this now...)
13222 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13226 remove #include "support/syscontr.h" as it's redundant. Always has been.
13234 change Systemcalls::System to Systemcalls::Wait and
13235 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13236 No change of functionality, just reflects the stripped down Systemcalls
13239 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13241 * debug.[Ch]: add a GRAPHICS type to the enum.
13243 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13245 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13247 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13250 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13252 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13253 match the changes below.
13255 * text2.C (toggleInset): if there is not editable inset at cursor
13256 position, try to see if cursor is _inside_ a collapsable inset
13259 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13261 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13262 document menu has a nice checkbox
13264 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13266 * lyxlength.C (asLatexString): change PW to output as percent of
13269 * lengthcommon.C: change '%' to 't%'
13271 * lyxfunc.C (dispatch): a few comments from Martin
13273 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13277 * BufferView_pimpl.h:
13278 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13281 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13283 * vspace.C (inPixels): fix compiler warning
13285 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13287 * lyxfunc.C (getStatus): fix status message for disabled commands.
13289 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13291 * BufferView_pimpl.C: fix crash on close buffer
13292 during selection (#227)
13294 2002-01-27 Herbert Voss <voss@lyx.org>
13296 * buffer.C: link old Figure to new graphic inset
13298 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13300 * FontLoader.C (getFontinfo): Change the latex font names in order
13301 to match the names of type1inst.
13303 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13305 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13307 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13308 (extchanged): ditto
13310 (remove_files_with_extension): ditto
13311 (remove_file): ditto
13314 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13315 document is smaller than the work area height. Do not initialize
13316 static variables to 0.
13318 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13320 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13322 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13323 LFUN_LAYOUT_PARAGRAPHS.
13325 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13326 tabular. It is possible to provide a possible cell, which will
13327 typically be the actcell from the corresponding insettabular
13329 * lyxfunc.C (getStatus): small cleanup; disable
13330 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13333 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13335 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13337 * paragraph.C (startTeXParParams):
13338 (endTeXParParams): new methods. The LaTeX code to
13339 start/end paragraph formatting
13340 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13341 empty (fixes bug #200)
13343 * vspace.C (inPixels): adapt to the change below
13344 (inPixels): [later] more cleanups (remove unused variables)
13346 * lyxlength.C (inPixels): change to use a width and a height as
13349 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13351 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13352 Replaced with \paperwidth
13354 * DepTable.C (insert): add std:: qualifier
13356 2002-01-18 Allan Rae <rae@lyx.org>
13358 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13361 * text.C (drawInset): Turned out I didn't know enough about how
13362 rebreaking worked. This fixes most of the redraw problems. I see
13363 an occasional cursor trail when a line is broken now and the cursor
13364 placement can seem out by a few pixels also after a rebreak.
13366 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13368 * buffer.C (parseSingleLyXformat2Token): update because minipage
13369 width is now a LyXLength
13371 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13373 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13376 2002-01-17 Juergen Vigna <jug@sad.it>
13378 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13380 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13381 is set correctly and the inset is updated correctly.
13383 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13385 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13386 the beginning of the loop.
13388 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13390 * lyxrc.C: improve help for use_scalable_fonts
13392 2002-01-17 Allan Rae <rae@lyx.org>
13394 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13396 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13398 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13399 make sure to set their inset_owner to the right value (bug #171)
13401 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13404 * DepTable.C: Implement mtime checking to reduce time spent doing
13407 2002-01-16 Juergen Vigna <jug@sad.it>
13409 * tabular.C (GetAdditionalHeight): one of error fixed.
13411 * lyxrc.C (output): small fix in writing use_pspell.
13413 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13415 * sp_base.h: #include LString.h
13417 2002-01-16 Allan Rae <rae@lyx.org>
13419 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13420 Can someone check this please?
13422 * text.C (drawInset): It was possible that p.row would be removed by
13423 breakAgainOneRow upsetting a few other settings. There may be another
13424 small tweak possible by setting need_break_row = 0 when p.row has been
13425 removed but I don't know enough about the logic here.
13427 2002-01-15 Allan Rae <rae@lyx.org>
13429 * text.C (insertChar): removed conditional truism.
13431 * BufferView2.C (removeAutoInsets): More tweaks.
13432 cur_par_prev could be a stray pointer. Check for trailing empty line
13433 in case last line was cur_par and only had an error inset on it.
13435 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13437 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13440 * vc-backend.C (most methods):
13441 * exporter.C (Export):
13442 * converter.C (convert):
13444 * LyXSendto.C (SendtoApplyCB):
13445 * lyxfunc.C (dispatch):
13449 * lyx_cb.C (AutoSave):
13451 * BufferView_pimpl.C (MenuInsertLyXFile):
13452 * buffer.C (runChktex): use Buffer::filePath().
13454 * buffer.h: rename filename to filename_; rename filepath to
13455 filepath_ and make it private
13456 (filePath): new method
13458 * buffer.C (writeFile): use fileName()
13461 * lyx_main.C (init): fix starting of LyX when the binary is a
13462 link from so,ewhere else.
13464 * minibuffer.C: include <cctype> for isprint
13466 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13468 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13469 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13470 name clash with InsetCollapsable's width function.
13472 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13474 * lastfiles.C: include <iterator>
13476 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13478 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13481 * buffer.C (makeLaTeXFile): ditto.
13482 Also make loop operation more transparent.
13484 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13486 * ToolbarDefaults.C: remove trailing comma closing namespace.
13488 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13490 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13493 * trans.C (Load): comment out unused variable, allowed.
13495 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13497 * minibuffer.[Ch] (append_char): new method to recieve input from the
13498 drop-down completion browser. If a key was pressed, then recieve this
13499 char and append it to the existing string.
13500 (peek_event): modify the positioning data passed to the completion
13501 browser so that it can be placed above the minibuffer rather than below.
13502 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13504 * LyXAction.C (init): alloe error-next for readonly documents.
13506 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13509 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13511 * bufferlist.C (readFile): create the buffer _after_ checking that
13514 * lyxfunc.C (verboseDispatch): fix handling of arguments
13516 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13518 * lyxrc.C: use string::erase() instead of initializing to "".
13521 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13523 * BufferView_pimpl.h:
13524 * BufferView_pimpl.C:
13527 * text2.C: tell X when we have made a selection for copying
13529 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13531 * BufferView_pimpl.C (MenuInsertLyXFile):
13532 * lyxfunc.C (menuNew):
13534 (doImport): add shortcuts to directory buttons
13536 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13539 * lyxfunc.C (setStatusMessage):
13540 (getStatusMessage): new methods
13541 (getStatus):use setStatusMessage instead of setErrorMessage
13542 (dispatch): when function is disabled, set error message here
13543 [instead of in getStatus previously]
13545 * BufferView_pimpl.C (workAreaButtonRelease): update
13546 toolbar/menubar here too.
13548 2002-01-13 Allan Rae <rae@lyx.org>
13550 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13551 Now seems indestructible. Remaining task is to audit all other
13552 code affected by deleteEmptyParagraphMechanism. One small quirk
13553 left is that an empty document with an error in the preamble can
13554 be made to report an error but no error box appears. I don't know
13556 (removeAutoInsets): Improved comments.
13558 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13561 * Thesaurus.C: update for Aiksaurus 0.14
13563 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * text2.C (firstParagraph): removed member function, all uses
13566 replaces with ownerParagraph
13567 (redoParagraphs): here
13568 (updateInset): here
13569 (toggleAppendix): here
13570 * BufferView2.C (insertErrors): here
13571 (setCursorFromRow): here
13573 2002-01-13 Allan Rae <rae@lyx.org>
13575 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13576 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13577 There is still a way to segfault this although you may have to do this
13578 multiple times: Have an InsetERT with an unknown command in it.
13579 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13580 <down-arrow>, <Enter> again, View->DVI, BANG!
13582 * text2.C (setCursor):
13583 (deleteEmptyParagraphMechanism):
13584 * lyxtext.h (setCursor):
13585 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13586 Making use of the return value may help fix other bugs.
13588 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13590 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13592 * LyXView.C (updateMenubar): call MenuBar::update here
13593 (updateToolbar): but not here
13594 (showState): do not update toolbar/menubar
13596 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13597 should need to care about that.
13599 * lyxfunc.C (verboseDispatch): simplify a bit
13600 (getStatus): have a version which takes a pseudoaction, and
13601 another which requires a (kb_action,string).
13603 * LyXAction.C (retrieveActionArg): make it work also when action
13604 is not a pseudo-action.
13605 (getActionName): simplify a bit
13608 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13610 * lyxfunc.C (verboseDispatch): new families of methods with
13611 several ways to specify a command and a bool to indicate whether
13612 the command name and shortcut should be displayed in minibuffer
13613 (eventually, we could extend that to a finer bitmask like
13614 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13615 (dispatch): the pristine dispatch command which just, well,
13616 dispatchs! Note it still sets its result to minibuffer; I'm not
13619 * lyxfunc.h: remove setHintMessage
13621 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13623 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13625 * BufferView_pimpl.C (specialChar): delete new inset if we have
13626 not been able to insert it.
13628 * kbmap.C: revert to using int instead of kb_action, since all we
13629 are dealing with is pseudo-actions.
13631 * LyXAction.C (searchActionArg): change to return int instead of
13632 kb_action, since the result is a pseudoaction.
13634 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13636 * buffer.C (insertErtContents): Fix (partially) the font bug.
13638 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13640 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13641 as the other one is broken on my machine!
13643 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13646 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13648 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13650 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13651 reflect their actual use. Provide compatibility code for older lyxrc
13654 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13656 change names of popup font variables in line with the changes to lyxrc.C
13658 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13660 * buffer.C (asciiParagraph): avoid outputing a word twice after
13663 * lyxrc.C (getDescription): document that document_path and
13664 template_path can be empty.
13666 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13668 * LaTeXFeatures.C (getMacros):
13669 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13671 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13673 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13675 (getPackages): rename feature "floats" to "float". Use an array to
13676 iterate over 'simple' features (i.e. just a \usepackage). Add
13677 handling of "amsmath" (renamed from "amsstyle").
13679 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13681 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13684 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13686 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13687 FuncStaus::FuncStatus & FuncStaus::some_method().
13689 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13691 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13692 of the func_satus stuff. Edited and massaged in various ways by
13695 * lyxfunc.C (getStatus): use FuncStatus
13697 2002-01-08 Juergen Vigna <jug@sad.it>
13699 * text.C (nextBreakPoint): use function Inset::isChar().
13701 * paragraph.C (TeXOnePar): use function
13702 Inset::forceDefaultParagraphs.
13704 * buffer.C (latexParagraphs): use function
13705 Inset::forceDefaultParagraphs.
13707 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13709 * lyx_gui.C (init): set the style of the menu popups to
13710 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13712 2002-01-07 Juergen Vigna <jug@sad.it>
13714 * text.C (setHeightOfRow): small fix
13715 (prepareToPrint): don't look at alignment if we don't have the place
13718 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13720 * box.C: New file. Move the Box methods and functions out of box.h,
13721 following Lars' suggestion.
13723 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13725 * box.h: #include "support/LOstream.h", needed for inlined function.
13728 * lyxtextclasslist.C: added some using std declarations.
13730 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13732 * box.h: make signed dimensions to allow insets wider than
13733 the screen (bug #162)
13735 * BufferView_pimpl.C: add some insetHit debug
13737 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13739 * vc-backend.C: add FIXME
13741 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13743 * lyxfunc.C (getStatus): enable code for showing math font status
13746 2002-01-07 Juergen Vigna <jug@sad.it>
13748 * text.C (nextBreakPoint): removed debug output not needed anymore.
13750 2002-01-06 Juergen Vigna <jug@sad.it>
13752 * text.C (nextBreakPoint): fixed up this function we had this bug
13753 since ever but now hopefully we break row better.
13754 (insertChar): we have to check if an inset is the next char as it
13755 could now happen that a large inset is causing a break.
13757 2002-01-05 Juergen Vigna <jug@sad.it>
13759 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13760 if it doesn't like to be drawed.
13762 2002-01-04 Juergen Vigna <jug@sad.it>
13764 * BufferView2.C (lockInset): forgot to set a cursor.
13766 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13768 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13770 * FormMathsPanel.C:
13773 * form_maths_panel.C:
13774 * form_maths_panel.h:
13775 * form_maths_panel.fd: implemented sub- and super- buttons in math
13778 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13779 (or ^ space) to be used as in TeX (req'd by André).
13781 * lyxfunc.C: Allow ^ and _ again to be used both as
13782 super/subscript (mathed) and as themselves (in text).
13784 2002-01-03 Allan Rae <rae@lyx.org>
13786 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13787 "LyX" or the filename of the current buffer if it has one. This is a
13788 modified form of John Levon's patch.
13790 * XFormsView.C (setWindowTitle): also set icon title.
13792 * LyXView.h (setWindowTitle): signature changed.
13793 * XFormsView.h (setWindowTitle): ditto.
13795 2002-01-02 Juergen Vigna <jug@sad.it>
13797 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13799 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13801 * screen.C (topCursorVisible): introduce a temp var for
13802 text->cursor.row(), handle the case where this row is null. (kindo
13805 * text2.C (setCursor): add a couple of asserts.
13807 * paragraph.h (inset_iterator): add -> operator
13809 * paragraph.[Ch] (autoDeleteInsets): remove member function
13811 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13812 cursor pos correctly and handle inset deletion by itself.
13813 (insertErrors): move iterator declaration out of for expression
13815 * lyxtextclass.C: add <algorithm>
13817 * Makefile.am: added the new files to sources, removed layout.C
13819 * layout.C: removed file
13821 * layout.h: remove LYX_DUMMY_LAYOUT
13823 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13827 * lyxtextclass.[Ch]:
13828 * lyxtextclasslist.[Ch]: new files
13830 * include order changes to a lot of files, also changes because of
13833 2001-12-27 Juergen Vigna <jug@sad.it>
13835 * buffer.C (asciiParagraph): more fixes.
13837 * tabular.C (ascii): make ascii export support export of only the
13838 data separated by a column-delimiter.
13839 (ascii): better support for ascii export.
13841 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13843 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * tabular_funcs.C: use a "using std::getline" instead of the
13846 previous fix from Angus (necessary for cxx + lyxstring)
13848 2001-12-24 Juergen Vigna <jug@sad.it>
13850 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13852 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13853 problems. First check a minipage also if we have some ert-contents
13854 (not only on par->size(), second set the right depth of the paragraph
13855 on the relink to the root-paragraph-list!
13857 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13858 which then did not anymore update the main paragraphs on undo/redo!
13860 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13862 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13863 code. Support all font-changing funcs (even those which are not in
13864 menu currently). Support for reporting font settings in
13865 mathed (disabled until Andre provides a function on mathed's side).
13867 * func_status.h (toggle): small helper function to set toggle
13870 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13872 * tabular_funcs.C: getline -> std::getline
13874 2001-12-21 Juergen Vigna <jug@sad.it>
13876 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13877 accessed and could be 0 (I couldn't generate this but it seems
13880 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13882 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13883 * tabular_funcs.h: here and include iosfwd
13885 2001-12-20 Juergen Vigna <jug@sad.it>
13887 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13888 inside inset but undo_par was.
13890 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13892 * Thesaurus.C: always include <config.h> in sources.
13896 * box.h: do not include <config.h> in header files
13898 * text.C (paintLastRow): remove unused variable
13900 * text.C (transformChar):
13902 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13904 * Painter.C (text):
13905 * font.C (width): rewrite to use uppercase() instead of
13908 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13910 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13912 * lyxfind.C: clean up of find failure position change
13914 2001-12-20 Juergen Vigna <jug@sad.it>
13916 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13918 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13919 (TeXRow): added to LaTeX a single tabular row.
13920 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13921 (Latex): simplified and finally good LT-h/f support.
13922 (various_functions): just small adaptions for LT-h/f support.
13924 * tabular_funcs.[hC]: added and moved here all not classfunctions
13927 2001-12-19 Juergen Vigna <jug@sad.it>
13929 * tabular.[Ch]: better support for longtabular options (not finished
13932 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13934 * text.C (paintLastRow): use the label font instead of the font of
13935 the last character to compute the size of *_BOX. This makes more
13936 sense and avoids a crash with empty paragraphs.
13937 Use Painter::rectangle to draw EMPTY_BOX.
13939 2001-12-19 Juergen Vigna <jug@sad.it>
13941 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13942 the paragraphs if the replaced paragraph is not the first one!
13943 Tried to delete not used paragraphs but does not work yet so for
13944 now it's inside #ifdef's and by default off!
13946 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13948 * MenuBackend.C: include "lyx_main.h" instead of declaring
13949 lastfiles (actually was declared as LastFiles* instead of a
13952 2001-12-17 Juergen Vigna <jug@sad.it>
13954 * tabular.C (AppendColumn): applied John's fix
13956 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13960 * BufferView_pimpl.h:
13961 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13964 * box.h: new start of class for above
13966 * lyxfunc.C: ignore space-only minibuffer dispatches.
13967 Show the command name when it doesn't exist
13969 * minibuffer.C: don't add empty lines to the history
13971 * minibuffer.C: add a space on dropdown completion
13973 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13975 * text.C: fix line above/below drawing in insets
13977 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * lyxlength.C (LyXLength): Initialize private variables.
13981 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13983 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13984 when inserting error insets.
13986 2001-12-13 Juergen Vigna <jug@sad.it>
13988 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13989 actually sometimes the before-paragraph.
13990 (setUndo): don't clear the redostack if we're not actually undoing!
13992 2001-12-06 Juergen Vigna <jug@sad.it>
13994 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13995 and fixed redoing of main paragraph, so we can use it now ;)
13997 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13999 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14001 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14004 2001-12-13 André Pönitz <poenitz@gmx.net>
14007 * undo_func.C: minor cleanup
14009 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14011 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14012 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14013 font in urw-fonts package which is marked as -urw-fontspecific and
14014 does not work (incidentally, changing the encoding in the
14015 fonts.dir of this package to -adobe-fontspecific fixes the
14018 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14019 is a crash when undoing first paragraph (Juergen, please take a
14020 look). THis does not mean the undo fix is wrong, just that it
14023 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14024 the (Paragraph*) version when needed instead of duplicating the
14027 * text.C (workWidth): use Inset::parOwner to find out where the
14028 inset has been inserted. This is a huge performance gain for large
14029 documents with lots of insets. If Inset::parOwner is not set, fall
14030 back on the brute force method
14032 * paragraph_pimpl.C (insertInset):
14033 * paragraph.C (Paragraph):
14034 (cutIntoMinibuffer): set parOwner of insets when
14035 inserting/removing them
14037 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14039 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14045 * mathed/formulabase.C:
14046 * mathed/math_cursor.[Ch]:
14047 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14050 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * lyxlength.[Ch] (operator!=): new function
14054 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14056 * text.C (workWidth): use Inset::parOwner to find out where the
14057 inset has been inserted. This is a huge performance gain for large
14058 documents with lots of insets. If Inset::parOwner is not set, fall
14059 back on the brute force method
14061 * paragraph_pimpl.C (insertInset):
14062 * paragraph.C (Paragraph):
14063 (cutIntoMinibuffer): set parOwner of insets when
14064 inserting/removing them
14066 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14068 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14070 * tabular-old.C (getTokenValue):
14071 * tabular.C (getTokenValue):
14072 (write_attribute): new versions for LyXLength
14073 (everywhere): adjust the use of widths
14075 * tabular.h: change the type of widths from string to LyXLength
14077 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14079 * paragraph.C: fixed missing line number count when exporting
14080 Environments to LaTeX file
14082 * buffer.C: added informational message for checking line numbers.
14084 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14086 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14087 paragraph, do the 'double space' part, but not the 'empty
14090 * text.C (workWidth): small optimization
14091 (getLengthMarkerHeight): use minimal size for negative lengths.
14093 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14095 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14097 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14099 2001-12-11 André Pönitz <poenitz@gmx.net>
14102 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14104 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14106 * text2.C: keep selection on a setFont()
14108 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14110 * lyx_cb.C: another bv->text misuse, from insert label
14112 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14115 * kbsequence.C: re-instate nmodifier mask
14117 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14119 * lyx_main.h: make lyxGUI private.
14121 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14123 * lyxfind.C: place the cursor correctly on failed search
14125 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14127 * text.C (getLengthMarkerHeight): for small heights, the arrows
14128 are not always on top/bottom of the text
14129 (drawLengthMarker): smaller arrows; take the left margin in
14130 account; draw also vfills.
14132 (paintLastRow): remove special code for vfill and standard spaces,
14133 since everything is handled in drawLengthMarker now.
14135 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14137 * buffer.C (insertErtContents): try to handle font and language
14138 interaction a bit better.g
14140 * ColorHandler.C (updateColor): change the hash to cover the whole
14141 LColor enum, ws cleanup
14142 (getGCLinepars): ditto
14143 (getGCLinepars): only lookup in the linecache once.
14145 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14147 * iterators.C (operator++): Make the iterator more robust
14149 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14153 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14156 * text.C: better added space drawing
14158 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14161 * BufferView2.C: fix layout combo update on inset unlock
14163 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14165 * Makefile.am: don't compile unused files
14167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14171 * LyXAction.C: remove old LFUN_LAYOUTNO
14173 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14175 * paragraph_pimpl.h:
14176 * paragraph_pimpl.C: isTextAt() doesn't need font param
14178 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14181 * lyxlex.C: little cleanup
14183 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14185 * BufferView_pimpl.C: fix insertAscii for insets
14187 2001-12-05 Juergen Vigna <jug@sad.it>
14189 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14190 set the right font on the "multi" paragraph paste!
14192 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * lyxlength.C: remove out-commented code.
14200 * BufferView_pimpl:
14214 * vc-backend.C: change "while(" to "while ("
14216 * lyxlength.[Ch]: add zero function to check if length is zero or
14218 * lyxgluelength.C: use it
14220 2001-12-05 Allan Rae <rae@lyx.org>
14222 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14223 Works for 2.95.3, from what I understand of Garst's reports this should
14224 work for other g++ versions. We're screwed if the abs(int) definition
14225 changed between bugfix releases of gcc.
14227 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14229 * text.C: fix chapter label offset !
14231 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14234 * text.C: fix hfill at end of line, clean up
14236 2001-12-04 Juergen Vigna <jug@sad.it>
14238 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14239 that we force an update of the inset and it's owners if neccessary.
14241 2001-12-03 Juergen Vigna <jug@sad.it>
14243 * text.C (rowLast): simplified code
14245 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14247 * lyxfunc.C: fix show options on timeout
14249 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14251 * screen.C (topCursorVisible): scroll half a page when the cursor
14252 reached top of bottom of screen
14254 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14256 * minibuffer.C: deactivate on loss of focus
14258 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14260 * vspace.[Ch] (operator!=): add operator.
14262 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14264 * BufferView_pimpl.C: refuse to open an inset when
14265 there's a selection.
14267 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14269 * BufferView_pimpl.C: allow to click on RHS of full row insets
14271 2001-11-30 Juergen Vigna <jug@sad.it>
14273 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14274 insets for undo reasons.
14276 2001-11-28 André Pönitz <poenitz@gmx.net>
14278 * vspace.[Ch]: cosmetical changes
14280 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14290 * kbsequence.C: part re-write of old kb code
14293 * WorkArea.C: remove Lgb_bug_find_hack
14295 2001-11-30 José Matos <jamatos@fep.up.pt>
14297 * buffer.C (makeDocBookFile): add a comment to point a hack.
14298 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14299 Fixed a double write of labels.
14301 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14304 * LaTeX.h Fixed bug in LaTeX class where it would not
14305 re-run latex if no depfiles were changed, but the .dvi was removed.
14307 2001-11-28 André Pönitz <poenitz@gmx.net>
14309 * all the files from the change on 2001/11/26:
14310 use lyx::layout_type instead of LyXTextClass::size_type
14311 use lyx::textclass_type instead of LyXTextClassList::size_type
14313 2001-11-29 Juergen Vigna <jug@sad.it>
14315 * text.C: added support for paragraph::isFreeSpacing()
14317 * buffer.C: same as above
14319 * paragraph.h: inserted isFreeSpacing() function to enable
14320 FreeSpacing inside InsetERT.
14322 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14323 of the paragraph's in the cut/copy buffer to 0!
14325 * text2.C (removeRow): remove the assert as it can!
14327 * lyxtext.h: added helper function firstRow returning firstrow and
14328 made firstrow private again.
14330 * BufferView2.C (lockInset): don't relock if we're already locked!
14332 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14333 the only paragraph.
14334 (removeRow): added Assert::(firstrow)
14336 * debug.C: forgot to add INSETTEXT here.
14338 2001-11-28 Juergen Vigna <jug@sad.it>
14340 * sp_spell.C (initialize): changed error text to more general
14341 spellchecker command use (not only ispell!)
14343 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14345 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14347 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14349 * vspace.C: initialise lyxgluelength on failure
14351 2001-11-28 Allan Rae <rae@lyx.org>
14353 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14354 declaration & definition that looks like a function declaration.
14356 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14358 * BufferView2.C (copy):
14359 (copyEnvironment): do not clear the selection when doing a copy.
14361 * text.C (paintFirstRow): compilation fix
14363 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14365 * tabular.C (Latex): correct line count when writing latex.
14367 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14369 * paragraph_pimpl.h:
14370 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14373 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14377 * LColor.C: change vfillline->added_space
14379 * text.C: add markers and text for added space
14381 * vspace.C: fix comment
14383 2001-11-28 André Pönitz <poenitz@gmx.net>
14385 * paragraph.C: whitespace changes
14386 * all the other files from the change on 2001/11/26:
14387 change *::pos_type into lyx::pos_type
14389 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14391 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14392 language of the document when inserting error insets.
14394 2001-11-26 André Pönitz <poenitz@gmx.net>
14396 * BufferView_pimpl.[Ch]:
14404 * paragraph_pimpl.[Ch]:
14407 * text2.C: reduce header dependencies, introduce type for positions
14409 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14411 * <various>: change to use Alert.h
14413 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14415 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14416 when encountering an unknown token.
14417 (readLyXformat2): Show an error message if there were unknown tokens.
14419 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14422 * BufferView_pimpl.C:
14426 * text2.C: use par->isInset()
14428 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14430 * paragraph_pimpl.h:
14431 * paragraph_pimpl.C: cleanup
14433 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14435 * text2.C (removeRow):
14436 * text.C (setHeightOfRow): remove useless (and costly) call to
14439 2001-11-20 Allan Rae <rae@lyx.org>
14441 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14442 Now need Inset*::checkInsertChar() to return true for appropriate
14443 cases so that the characters in the minibuffer will actually be
14446 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14448 * text.C: change the order of the includes.
14449 (workWidth): initialize it at once.
14450 (workWidth): make maxw unsigned
14451 (setHeightOfRow): remove unused variable (inset)
14452 (selectSelectedWord): remove unused variable (inset)
14453 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14455 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14457 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14458 server is not running.
14460 (closeConnection): add debug info when server is disabled.
14462 * ColorHandler.C (getGCForeground): send debug message to GUI
14465 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14467 * kbmap.C (bind): modify because return conventions of
14468 kb_sequence::parse have changed.
14470 * kbsequence.C (parse): only ignore spaces and not any stupid
14471 control character. This avoids tests like s[i] <= ' ', which are
14472 guaranteed to fail with 8bit characters and signed chars.
14473 Change return code to string::npos when there have been no error
14474 (0 was a bad idea when error is at first character)
14476 2001-11-14 José Matos <jamatos@fep.up.pt>
14479 * buffer.C (simpleDocBookOnePar): removed unused argument.
14481 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14483 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14484 insets which are part of a word. Paragraph::isLetter takes care of
14485 that now. Use Paragraph::isInset to identify insets.
14486 (selectSelectedWord): do not test for hyphenation break.
14488 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14489 that protected spaces are considered as spaces.
14491 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14494 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14497 * lyxserver.C: fix it. and small cleanup.
14499 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14501 * BufferView_pimpl.C: use inline helpers
14504 * LaTeXFeatures.C: fix typos
14507 * Spacing.C: move spacing_string into class
14509 * ToolbarDefaults.C: move stuff into namespace anon
14511 * layout.h: update enum
14513 * lyxfunc.C: use better debug
14515 * minibuffer.h: fix typo
14519 * WorkArea.C: add and use Debug::WORKAREA
14523 * text2.C: code re-organisation, inline helpers
14525 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14527 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14528 std::vector.empty().
14530 2001-11-09 Allan Rae <rae@lyx.org>
14532 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14533 '\n's after tables. Tabular and ERT inset work now makes this no
14536 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14539 * minibuffer.C: fix crash, improve drop-down completion
14541 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14544 * lyxserver.C: invalidate fd's when doing endPipe()
14546 2001-11-08 José Matos <jamatos@fep.up.pt>
14548 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14549 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14552 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14554 2001-11-07 José Matos <jamatos@fep.up.pt>
14557 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14560 * buffer.C (sgmlOpenTag):
14561 * buffer.C (sgmlCloseTag): removed debug info.
14563 * buffer.h (sgmlOpenTag):
14564 * buffer.h (sgmlCloseTag): made public.
14566 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * buffer.C (saveParamsAsDefaults):
14569 * lyx_cb.C (MenuLayoutSave): remove
14571 * LyXAction.C (init):
14573 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14575 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14577 * buffer.C (setPaperStuff): removed from here...
14579 * bufferparams.C (setPaperStuff): ... and moved there.
14581 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14585 * XFormsView.C: add support for drop-down completion
14587 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14589 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14592 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14594 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14597 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14599 * lyx_main.C: change ref to known bugs
14601 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14603 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14604 to work around older babel problems.
14606 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14608 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14610 2001-10-24 Juergen Vigna <jug@sad.it>
14612 * tabular-old.C (ReadOld): below variable changes reflected.
14614 * tabular.[Ch]: added ltType struct for longtable header/footer
14615 defines and changed all instances where they are used. Added
14616 future support for double top/bottom rows.
14618 2001-10-24 José Matos <jamatos@fep.up.pt>
14620 * buffer.h (docbookHandleCaption):
14621 * buffer.C (docbookHandleCaption): removed unused function.
14622 (makeDocBookFile): moved docbook supported version to v4.1.
14624 2001-10-24 José Matos <jamatos@fep.up.pt>
14627 * tabular.C (docbookRow): new function to export docbook code of a row.
14628 (DocBook): now honors the longtable flags.
14630 2001-10-23 José Matos <jamatos@fep.up.pt>
14633 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14634 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14636 * buffer.C (makeLinuxDocFile):
14637 (makeDocBookFile): reworked the preamble, more clean, and with
14638 support for lyx defined entities. Changed the document declaration
14639 to be more XML friendly.
14641 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14642 if we need to output XML that should be done with a filter.
14644 2001-10-22 Juergen Vigna <jug@sad.it>
14646 * sp_pspell.h (class PSpell): add alive function needed in the
14647 controller to see if the spellchecker could be started.
14649 2001-10-22 Juergen Vigna <jug@sad.it>
14651 * buffer.C (insertStringAsLines): modify the font for inserting
14652 chars in certain conditions by calling checkInsertChar(font).
14654 2001-10-19 Juergen Vigna <jug@sad.it>
14656 * text.C (workWidth): use getRow instead of wrong algorithm.
14657 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14659 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14664 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14666 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14668 * text.C (workWidth): do not search for the exact row when
14669 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14670 optimization for big documents.
14672 2001-10-18 Juergen Vigna <jug@sad.it>
14674 * text.C (workWidth): new function with added Inset * parameter.
14676 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14678 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14680 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14681 change return type of getColumnNearX.
14684 * text.C (changeRegionCase): use uppercase/lowercase instead of
14687 (rightMargin): simplify code by factoring out the uses of
14692 (appendParagraph): use Paragraph::size_type
14694 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14696 * vspace.C (asLatexString): add a missing break
14698 2001-10-15 Herbert Voss <voss@perce.de>
14700 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14702 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14707 2001-10-10 André Pönitz <poenitz@gmx.net>
14709 * lyxfunc.C: removed greek_kb_flag.
14711 2001-10-10 Herbert Voss <voss@perce.de>
14713 * lyx_main.C: delete global string help_lyxdir.
14715 2001-10-09 Herbert Voss <voss@perce.de>
14717 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14719 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14721 * lyx_main.C: added global string help_lyxdir.
14723 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14725 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14727 * lyxrc.C (set_font_norm_type): support iso8859-4
14729 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14731 * LaTeX.C (deplog): add another regex for MikTeX
14733 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14735 * lyxrc.C (set_font_norm_type): support iso8859-3
14737 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14739 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14741 * LaTeXFeatures.C: remove special case of french and index
14743 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14744 before \begin{document}). This solves several incompatibilities.
14746 2001-10-03 Garst Reese <reese@isn.net>
14748 * lyx_cb.C: change CheckTex error msg.
14750 2001-10-03 José Matos <jamatos@fep.up.pt>
14752 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14754 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14756 * .cvsignore: update
14758 * lyx_main.C (commandLineVersionInfo): use new style version info.
14760 * buffer.C (writeFile):
14762 (makeLinuxDocFile):
14763 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14765 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14767 * version.h: update to use stuff in version.C
14769 * version.C.in: new file. Contains version information determined
14770 at compile time. This is a merging of version.h and
14773 2001-10-03 Juergen Vigna <jug@sad.it>
14775 * BufferView_pimpl.C (update): don't change "dirty" status in
14778 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14780 * WorkArea.C (c-tor): re-position version string slightly.
14782 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14784 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14785 revert to previous code.
14787 WorkArea.[Ch]: (show, destroySplash): methods removed.
14789 WorkArea.C: rework code so that it's an amalgam of the codes before and
14790 after the splash screen was moved to WorkArea.
14792 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14795 * vspace.C (inPixels):
14798 * buffer.C (insertStringAsLines):
14799 (asciiParagraph): fix types to be large enough
14801 * lyxlex_pimpl.h: change member status from short to int
14803 * layout.h: fix type of endlabeltype
14806 * kbsequence.C (parse): change return type to string::size_type
14808 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14811 * Bullet.C (bulletSize):
14812 (bulletEntry): do not use short ints as parameters
14814 * BufferView2.C (insertLyXFile): change a char to an int.
14816 * WorkArea.C (WorkArea): remove unneeded floats in computation
14818 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14820 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14822 * paragraph.C (asString): Do not ignore newline/hfill chars when
14823 copying to the clipboard.
14825 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14827 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14828 after a multi-line inset.
14830 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14832 * paragraph.C (validate): Set NeedLyXFootnoteCode
14834 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14836 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14837 and decrease-error to decrease.
14839 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14842 it more readable (should be equivalent)
14844 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14846 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14848 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14850 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14851 of a cursor (row, etc.) after a character has been deleted
14852 (deleteEmptyParagraphMechanism): call the method above on _all_
14853 cursors held by the LyXText when a double space has been
14856 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14858 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14860 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14862 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14863 background. Use greyOut() and the new show() methods to toggle between
14864 the foreground and background. Add code to remove the splash after
14865 its initial showing.
14867 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14868 (create_forms): no longer call Dialogs::showSplash.
14870 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14872 * .cvsignore: add version_info.h
14874 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * version_info.h.in: new file
14878 * Makefile.am: add version_info.h.in
14880 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14881 version_info.h instead of VERSION_INFO
14883 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14885 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14886 The ERT inset now returns string().
14888 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14890 * lyxtext.h, text.C (selectNextWord): renamed as
14891 selectNextWordToSpellcheck.
14893 * text.C (selectNextWordToSpellcheck): Modified to not select
14894 words inside an ERT inset.
14896 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14898 * lyx_cb.C (MenuLayoutSave): change a bit the question
14900 * sp_base.h: include <sys/types.h>
14902 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14904 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14906 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14908 * several files: fix typos in user-visible strings
14910 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * text2.C (pasteSelection): do not set the selection, since it
14913 will be cleared later. Actually, the intent was to fix the way the
14914 selection was set, but I figured rmoving the code was just as good.
14916 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14918 * FontLoader.C (available): Check if font is available without
14921 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14923 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14925 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14927 * lyxrc.[Ch]: added display_graphics variable and associated code.
14929 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14931 * bufferparams.C (hasClassDefaults): new method. Returns true if
14932 the buffer parameters correspond to known class defaults
14934 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14936 * XFormsView.C (show): set minimum size to the main window.
14938 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * text2.C (copySelection):
14942 * lyxfind.C (LyXReplace):
14943 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14944 LyXText::selectionAsString.
14946 * paragraph.C (asString): add "label" argument to the second form
14948 * text2.C (selectionAsString): add "label" argument and pass it to
14949 Paragraph::asString.
14951 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * lyx_main.C (commandLineHelp): remove version information
14955 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14957 * lyx_main.C: add -version commandline option
14959 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14961 * paragraph.h: make the optional constructor arg required instead.
14962 some modifications to other files because of this.
14964 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14966 * lyxserver.C (C_LyXComm_callback): make it static
14968 * lyx_main.C (error_handler): make it static
14970 * lyx_gui.C (LyX_XErrHandler): make it static
14972 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14974 * WorkArea.C: make the extern "C" methods static.
14976 * Makefile.am (lyx_LDADD): simplify
14978 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14980 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14981 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14983 * LyXAction.C (init):
14984 * lyxfunc.C (dispatch): associated code removal.
14986 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * lyxfont.h (isSymbolFont): shut off warning
14990 * text.C (setHeightOfRow):
14991 (getVisibleRow): fix crash with empty paragraphs which have a
14994 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14996 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14999 2001-09-04 José Matos <jamatos@fep.up.pt>
15002 * tabular.C (docbook): rename docBook method to docbook.
15004 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15006 * Makefile.am: add dependencies to main.o.
15008 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15010 * FontLoader.C (available): Return false if !lyxrc.use_gui
15012 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15014 * FontInfo.C (query):
15015 * converter.C (view):
15016 * importer.C (Import):
15017 * exporter.C (Export): Can not -> cannot.
15019 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15021 * BufferView_pimpl.C: allow to create index inset even if
15024 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15026 * buffer.C (getLists): replace boost::tie code with an explicit pair
15027 as boost::tie can break some compilers.
15029 * iterators.h: Added a std:: declaration to the return type of
15032 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15034 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15037 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15039 * iterators.[Ch]: New files. Provide paragraph iterators.
15041 * buffer.C (changeLanguage): Use paragraph iterators.
15042 (isMultiLingual): ditto
15044 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15046 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15048 * FontLoader.C: Support for cmr font.
15050 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15052 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15053 (available): New method.
15055 * FontInfo.C (getFontname): Use scalable fonts even when
15056 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15059 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15061 * converter.C (Formats::view): reverted! Incorrect fix.
15063 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15065 * converter.C (Formats::view): only output the -paper option
15066 if the dvi viewer is xdvi, thereby fixing bug #233429.
15068 2001-08-23 Herbert Voss <voss@perce>
15070 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15072 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15074 * Spacing.h (Spacing): Set space to Default on in the default
15077 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * vc-backend.h (RCS::versionString): add RCS to version
15080 (CVS::versionString): add CVS to version
15082 * vc-backend.C (scanMaster): do not add CVS to version.
15083 (scanMaster): do not add RCS to version
15085 * lyxvc.C (versionString): new method
15087 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15089 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15091 * Spacing.C (set): initialize fval
15093 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15095 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15098 2001-08-16 Juergen Vigna <jug@sad.it>
15100 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15102 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15104 * BufferView_pimpl.C:
15107 * text2.C: setParagraph takes linespacing now
15109 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15111 * LyxAction.C: add internal LFUN_CITATION_INSERT
15113 * LyXView.C: actually apply fix
15115 * bufferlist.C: fix open non-existent file
15117 * lyxfind.C: fix indentation
15119 * lyxfunc.C: remove unneeded assert, fix typo
15121 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15123 * MenuBackend.C: use "Floatname List"
15125 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15127 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15128 when converting LaTeX layout to insetERT.
15129 Generate a non-collapsed float when reading old float
15131 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15133 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15136 2001-08-13 Juergen Vigna <jug@sad.it>
15138 * text.C (fill): return 0 instead of 20 as this seems to be the more
15141 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15143 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15146 2001-08-13 Juergen Vigna <jug@sad.it>
15148 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15150 (SearchBackward): comment out the unlocking of the inset_owner this
15151 should not be needed!
15153 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15155 * Many files: Remove inherit_language, and add latex_language
15157 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15158 collapsible insets.
15160 2001-08-10 Juergen Vigna <jug@sad.it>
15162 * text.C (prepareToPrint): fixed hfill-width in draw!
15164 * BufferView2.C (selectLastWord): save the selection cursor as this
15165 now is cleared in the function LyXText::clearSelection!
15167 2001-08-08 Juergen Vigna <jug@sad.it>
15169 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15170 BACKSPACE type functions.
15172 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15173 is only cutted from the document but not put in the cut-buffer, where
15174 still the old stuff should be.
15176 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15178 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15180 * tabular.C (SetWidthOfCell): fixed special case where the width
15182 (LeftLine): handle '|' in align_special.
15184 (LeftAlreadyDrawed): ditto
15185 (SetWidthOfCell): ditto
15187 2001-08-07 Juergen Vigna <jug@sad.it>
15189 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15191 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15193 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15194 * lyxlex.[hC]: ditto
15196 2001-08-06 Juergen Vigna <jug@sad.it>
15198 * text.C (getVisibleRow): fix up row clearing a bit.
15200 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15202 * minibuffer.C: make sure the X server sees the changes in the input.
15204 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15206 * paragraph.C (getFont): split into...
15207 (getLabelFont): this
15208 (getLayoutFont): and this
15209 * paragraph_pimpl.C (realizeFont): calling this
15211 * text2.C (getFont): split into...
15212 (getLayoutFont): this
15213 (getLabelFont): and this
15214 (realizeFont): all three calling this
15216 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15219 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15221 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15223 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15225 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15226 layouts from the Quote inset insertion.
15228 2001-08-03 Juergen Vigna <jug@sad.it>
15230 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15232 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15233 only if status not is already CHANGED_IN_DRAW (second level).
15235 * text.C (draw): don't set the need_break_row when inside an
15238 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15240 * buffer.C (parseSingleLyXformat2Token): handle more latex
15243 * bufferview_funcs.[hC]: change function names to
15244 begin with small char, adjust other files.
15246 2001-08-02 André Pönitz <poenitz@gmx.net>
15249 BufferView_pimpl.C: remove broken special code for math-greek
15251 2001-08-02 Juergen Vigna <jug@sad.it>
15253 * BufferView_pimpl.C (update): redone this function so that we
15254 update the text again if there was a CHANGE_IN_DRAW.
15256 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15257 (drawFromTo): added a new internal bool which is used by draw() and
15259 (general): some cursor drawing problems fixed.
15261 2001-08-01 Juergen Vigna <jug@sad.it>
15263 * lyxfind.C (LyXFind): fixed
15264 (SearchForward): ditto
15265 (SearchBackward): ditto
15267 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15268 spurius drawing of the cursor in the main area.
15270 * text2.C (status): small fix which could lead to a segfault!
15271 (clearSelection): remove unneeded BufferView param.
15273 2001-08-01 André Pönitz <poenitz@gmx.net>
15275 * lyxfunc.C: small change due to changed mathed interface
15277 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15281 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15283 * lyxfunc.c: fail gracefully if file doesn't exist
15288 * BufferView_pimpl.C: IsDirWriteable() proto changed
15290 * LyXView.C: fix updateWindowTitle() to store the last title
15292 2001-07-31 Juergen Vigna <jug@sad.it>
15294 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15295 the font (wrong since using of Paragraph::highestFontInRange).
15297 * paragraph.C (highestFontInRange): added a default_size parameter.
15299 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15300 (setHeightOfRow): reformat
15302 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15304 * converter.[hC] + affected files: move to (inital-char)lowercase
15307 * ParagraphParameters.C (ParagraphParameters): remove commented code
15309 * PainterBase.[Ch]: remove commented code
15311 * LaTeXFeatures.h: add "bool floats" for float.sty
15313 * LaTeXFeatures.C (LaTeXFeatures): init floats
15314 (require): handle float
15315 (getPackages): do it with floats
15317 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15319 * BufferView_pimpl.C (Dispatch): improve handling of
15320 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15322 * commandtags.h: #include lyxfont.h here temporarily to avoid
15325 * bufferlist.h: include LString.h here.
15327 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15329 * text2.C (getStringToIndex): new method.
15331 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15333 * *: Reduced header file dependencies all over.
15335 2001-07-30 Baruch Even <baruch@lyx.org>
15337 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15339 2001-07-29 Baruch Even <baruch@lyx.org>
15341 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15343 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15345 * ParameterStruct.h (endif): add a default constructor to make
15346 sure that all variables is initialized.
15348 * ParagraphParameters.C (ParagraphParameters): adjust
15350 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15353 index; also, check that there is something to index, and that it
15354 does not span over several paragraphs.
15355 (doubleClick): use WHOLE_WORD_STRICT for double click.
15357 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15359 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15362 2001-07-26 Baruch Even <baruch@lyx.org>
15364 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15365 an InsetFig figure, backwards compatible reading of old figure code.
15367 2001-07-27 Juergen Vigna <jug@sad.it>
15369 * text2.C: font.realize function adaption.
15371 * text.C (draw): add a warnings lyxerr text if needed.
15373 * layout.C: font.realize function adaption.
15375 * language.C: add inherit_language and implement it's handlings
15377 * bufferview_funcs.C (StyleReset): remove language parameter from
15378 font creation (should be language_inherit now).
15380 * bufferparams.C (writeFile): handle ignore_language.
15382 * paragraph.C (getFontSettings): the language has to be resolved
15383 otherwise we have problems in LyXFont!
15385 * lyxfont.C (lyxWriteChanges): added document_language parameter
15386 (update): removed unneeded language parameter
15388 * paragraph.C (validate): fixed wrong output of color-package when
15389 using interface colors for certain fonts in certain environments,
15390 which should not seen as that on the final output.
15392 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15394 * BufferView_pimpl.C:
15399 * LyXAction.C: add thesaurus support
15402 * lyxfind.C: add "once" parameter, for thesaurus, to not
15403 move to the next match
15405 2001-07-26 Juergen Vigna <jug@sad.it>
15407 * lyxfont.C (realize): honor ignore_language too!
15410 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15412 * text.C (draw): one place more for ignore_language to not draw
15415 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15417 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15419 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15421 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15422 the minipage conversion problem.
15424 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15426 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15429 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15431 * BufferView.h: don't forward declare WorkArea
15433 * BufferView.C: don't include WorkArea.h
15435 2001-07-25 André Pönitz <poenitz@gmx.net>
15439 * lyxfunc.C: new LFUN 'math-space'
15441 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15443 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * text2.C (toggleInset): call open/close
15447 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15449 * lyxfunc.C (dispatch): add debug for the disabled case
15451 * font.C (buttonText): make similar to rectText
15453 * buffer.C (readInset): comment out parsing of insetlist and
15456 * PainterBase.C (rectText): small correction
15458 * BufferView_pimpl.C: comment out insettheorem and insetlist
15459 * LyXAction.C: ditto
15460 * commandtags.h: ditto
15462 2001-07-24 Juergen Vigna <jug@sad.it>
15464 * text.C (draw): honor the ignore_language.
15466 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15468 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15470 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15473 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15475 * lyxtext.h: remove unused (and unimplemented) methods
15477 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15479 * text.C (getVisibleRow): honor background color
15482 * Painter.h: remove default color argument for fillRectangle
15484 * text.C (backgroundColor): new method
15486 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15488 * text.C (getVisibleRow): adjust
15490 * font.[Ch] (rectText): new method, metrics
15491 (buttonText): new method, metrics
15493 * PainterBase.[hC]: make rectText and buttonText always draw and take
15496 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15498 * ToolbarDefaults.C (read):
15499 * MenuBackend.C (read): allow escaping in all strings
15501 * BufferView_pimpl.C (insertAndEditInset): new method.
15502 (Dispatch): use insertAndEditInset whenever appropriate.
15504 * BufferView_pimpl.C (insertNote): removed
15506 * BufferView_pimpl.C (smartQuote): new method, moved from
15507 BufferView; if an insetquote cannot be inserted, insert a '"'
15510 * BufferView2.C: remove insertCorrectQuote();
15512 * lyxfunc.C (getStatus): Add support for all remaingin
15513 inset-insert lfuns.
15515 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15517 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15518 command (necessary to pass " as parameter of self-insert.
15520 * text.C (selectWordWhenUnderCursor):
15521 (selectWord): add word_location parameter
15522 (selectWordWhenUnderCursor): same + remove special code for word
15524 (selectNextWord): use kind() to guess type of insetspecialchar,
15527 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15528 (insertErtContents): create ert insets as collapsed.
15529 (readInset): better compatibility code for Info inset.
15531 2001-07-20 Juergen Vigna <jug@sad.it>
15533 * lyxfunc.C (dispatch): use always LyXFind now!
15535 * text2.C (init): add a reinit flag so that the LyXText can be
15536 reinited instead of deleted and reallocated (used in InsetText).
15538 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15544 2001-07-18 Juergen Vigna <jug@sad.it>
15546 * text.C (selectNextWord): handle insets inside inset by calling
15547 always the bv->text functions so that we can go up the_locking_inset!
15549 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15550 in strange locations when inside an inset!
15552 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15553 handling to include insets.
15555 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15557 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15559 * LyXAction.C (init):
15561 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15562 LIGATURE_BREAK, since the name is so stupid.
15564 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15566 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15569 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15571 * sp_form.[Ch]: remove.
15573 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15575 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15578 * src/buffer.C (readInset): ditto.
15580 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15582 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15583 menuSeparator(), endOfSentenceDot(), ldots() and
15584 hyphenationPoint(), which are therefore removed.
15585 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15587 * LyXAction.C (init):
15588 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15590 * paragraph.C (getWord): removed.
15592 * BufferView_pimpl.C (Dispatch): use last word or selection for
15593 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15595 * lyx_main.C (queryUserLyXDir): do not ask before creating
15596 user_dir, except if it has been named explicitely.
15598 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15600 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15601 a document of zero size.
15603 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15605 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15606 approriately in the c-tor and in require().
15607 (getPackages): output the appropriate LaTeX for natbib support.
15609 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15610 variables "use_natbib" and "use_numerical_citations" when reading the
15612 (readInset): read the various natbib cite commands.
15613 (validate): white-space change.
15615 * bufferparams.[Ch]: new variables "bool use_natbib" and
15616 "bool use_numerical_citations".
15617 (writeFile): output them in the LyX file.
15619 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15621 * lyxfunc.C (getStatus): add support for all the inset insertion
15624 * text2.C (insertInset):
15625 * paragraph.C (insetAllowed):
15626 * BufferView_pimpl.C (insertInset): update to take in account the
15627 renaming of insertInsetAllowed
15629 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15631 * text2.C (getInset): new method. returns inset at cursor position.
15633 * BufferView_pimpl.C (Dispatch): changes because of this.
15635 * LyXAction.C (init): rename open-stuff to inset-toggle.
15637 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15639 * text2.C (toggleInset): renamed from openStuff; use
15642 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15644 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15646 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15648 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15650 * buffer.C (readLyXformat2): Add filename to the error dialog
15652 2001-07-18 Juergen Vigna <jug@sad.it>
15654 * tabular.C (GetCellNumber): put an assert here instead of the check!
15656 2001-07-17 Juergen Vigna <jug@sad.it>
15658 * BufferView_pimpl.C (toggleSelection): adapted too.
15660 * text.C (selectNextWord): adapted for use with insets.
15661 (selectSelectedWord): ditto
15663 2001-07-17 Juergen Vigna <jug@sad.it>
15665 * sp_spell.C (PSpell): fix initialitation order.
15667 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15669 * paragraph.C: spacing
15671 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15673 * sp_spell.C: repair language selection for pspell
15675 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15677 * lyxfunc.h: change more methods to begin with lower char.
15679 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15681 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15682 for unknown layouts.
15684 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15686 * buffer.C (readLyXformat2): Generate an error dialog if there are
15689 2001-07-16 Juergen Vigna <jug@sad.it>
15691 * sp_spell.C: always compile ISpell part.
15693 * lyxrc.C: added use_pspell entry and it's handling.
15695 2001-07-13 Juergen Vigna <jug@sad.it>
15697 * sp_spell.C: removed double includes.
15699 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15701 Consistent use of Lsstream.h:
15702 * Lsstream.h: added using std::stringstream for consistencies sake.
15704 * buffer.C: removed using std::stringstream
15706 * lyxfont.C (stateText):
15707 * paragraph.C (asString):
15708 * text.C (selectNextWord, selectSelectedWord):
15709 * text2.C (setCounter):
15710 * vspace.C (asString, asLatexString):
15711 std::ostringstream -> ostringstream.
15713 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15715 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15716 * commandtags.h: add LFUN_HELP_ABOUTLYX
15717 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15719 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15721 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15723 * lyx_gui_misc.C: remove spellchecker
15724 * lyxfunc.C: showSpellchecker
15726 * sp_ispell.h: added
15727 * sp_pspell.h: added
15728 * sp_spell.C: added
15729 * sp_form.[Ch]: removed
15730 * spellchecker.[Ch]: removed
15732 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15734 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15736 (simpleTeXSpecialChars): Simply print the input character without
15737 any special translation if pass_thru is set.
15739 * layout.h: Added bool pass_thru to layout class for being able to
15740 implement pass through of a paragraph for Literate Programming.
15742 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15743 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15744 * layout.C (Read): add "passthru" to list of layout tags and add
15745 code to set the pass_thru boolean when it is read.
15747 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15749 * trans_decl.h: remove allowed from KmodInfo
15751 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15752 remove allowed code
15755 * paragraph_pimpl.C (erase): use boost::prior
15757 * Painter.C (text): use data() instead of c_str() when length is
15759 * WorkArea.C (putClipboard): ditto
15760 * font.h (width): ditto
15762 * BufferView2.C: use it-> instead of (*it). for iterators
15764 * paragraph_pimpl.C: ditto
15765 * paragraph.C: ditto
15766 * minibuffer.C: ditto
15767 * language.C: ditto
15769 * encoding.C: ditto
15770 * counters.C: ditto
15771 * converter.C: ditto
15773 * Variables.C: ditto
15774 * TextCache.C: ditto
15775 * MenuBackend.C: ditto
15776 * LyXAction.C: ditto
15778 * FloatList.C: ditto
15779 * DepTable.C: ditto
15780 * ColorHandler.C (LyXColorHandler): ditto
15782 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15784 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15786 * text2.C (openStuff): reintroduce this method (which had been
15787 nuked in NEW_INSETS frenzy).
15789 * lyxfunc.C (Dispatch): when an action has not been handled, use
15790 its name in the error message, not its number.
15792 * paragraph.C (inInset): change method name to begin with lowercase.
15795 * text2.C: updates because of this.
15797 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15799 * ToolbarDefaults.C (add): add spaces in error message
15801 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15803 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15804 (readLyXformat2): rename return_par to first_par, use lyxlex's
15805 pushToken and remove the manual push handling.
15806 (parseSingleLyXformat2Token): add another ert comp. variable:
15807 in_tabular, rename return_par to first_par. handle newlines better
15809 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15811 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15813 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15815 * text2.C (getParFromID): removed
15817 * buffer.C (getParFromID): new method moved form lyxtext.
15818 * BufferView2.C (insertErrors): adjust
15819 (setCursorFromRow): adjust
15820 * BufferView_pimpl.C (restorePosition): adjust
15821 * lyxfunc.C (Dispatch): adjust
15822 * undo_funcs.C (textUndo): adjust
15824 (textHandleUndo): adjust
15825 (textHandleUndo): adjust
15827 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15829 * buffer.C: up' the LYX_FORMAT
15831 * lyxfont.h: turn NO_LATEX on as default
15833 * buffer.C (insertErtContents): new methods of tex style compability.
15834 (parseSingleLyXformat2Token): use it several places.
15835 * tabular.C (OldFormatRead): and here
15837 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15839 * text2.C: remove some commented code.
15842 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15843 * trans.C: changes because of the above.
15845 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15847 * text2.C (setCounter): Fix counters bug with bibliography layout.
15849 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15851 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15852 own member functions
15853 (simpleTeXSpecialChars): ditto
15855 2001-07-06 Juergen Vigna <jug@sad.it>
15857 * a lot of files: changed the access to LyXText::status and the
15858 call of undo-functions.
15860 * undo.[Ch]: added a inset_id to the undo informations.
15862 * undo_funcs.[Ch]: added and moved here all undo functions.
15864 * lyxtext.h: give the status enum a weight, made status_ a private
15865 variable and made accessor functions for it, removed the whole bunch
15866 of undo-functions as they are now in their own file, make some
15867 functions publically available. Added function ownerParagraph with
15870 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15871 made InInset() a const function, added getParFromID() function.
15873 * buffer.[Ch]: added const version for inset_iterator functions,
15874 added getInsetFromID() function.
15876 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15877 changed undo functions for new version.
15879 2001-07-05 Juergen Vigna <jug@sad.it>
15881 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15882 unknow mechanism does not call the proper constructor but only this
15883 one also if I request the other!?
15885 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15887 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15889 * text2.C (LyXText): use initialization lists.
15891 * lyxtext.h (Selection): initialize set_ and mark_
15892 (init): remove method
15894 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15896 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15898 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * screen.[Ch]: change method names to begin with lowercase
15902 * BufferView_pimpl.C (updateScrollbar): simplify further and
15903 hopefully make it a bit faster.
15905 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15908 calling directly xforms functions.
15910 * Painter.C (Painter):
15911 * lyx_cb.C (MenuWrite):
15912 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15915 * lyx_gui.C: remove bogus guiruntime extern declaration.
15917 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15919 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15921 (redoDrawingOfParagraph): ditto
15922 (redoParagraphs): ditto
15923 (cutSelection): don't create a object for CutAndPaste use the
15924 static method directly
15925 (pasteSelection): ditto
15927 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15930 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15932 * modifications to some other files because of this.
15934 * Makefile.am (lyx_SOURCES): add XFormsView
15936 * XFormsView.[Ch]: new files
15938 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15939 the main window. Move the gui dependent stuff to XFormsView
15941 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15943 * tabular.C (GetCellInset): update cur_cell also in the row/col
15944 version of this function.
15946 * lyxfunc.C: no need to include figure_form.h here.
15952 * lyxvc.C: no need to include forms.h here.
15954 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15956 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15958 * lyxfunc.C (Dispatch):
15960 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15961 constructor argument.
15963 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15965 * paragraph.C (Paragraph): dont't clear, and just set layout.
15966 (makeSameLayout): use params's copy contructor.
15968 * ParagraphParameters.[Ch] (makeSame): delete method
15970 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15972 * Variables.[Ch]: fix indentation, rename set to isSet
15974 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15976 * lyxfunc.C (Dispatch): fix typo
15978 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15980 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15983 * bufferlist.C: include assert.h for emergencyWrite().
15985 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15987 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15988 give up at last (bug #425202) !
15990 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15996 * spellchecker.C: strip spellchecker options and bring up
15997 preferences tab instead
15999 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16001 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16002 the istringstream constructor
16004 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16006 * paragraph.C (getLayout): fix return value
16008 * paragraph.h: do not declare getLayout as inline.
16010 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16012 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16014 * lyxcursor.h (operator<): new func
16015 (operator>): new func
16016 (operator>=): new func
16017 (operator<=): new func
16019 * text.C (changeCase): use selection.start and selection.end
16020 (changeRegionCase): require from to be <= to. Require par to be a
16023 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16025 2001-06-27 Juergen Vigna <jug@sad.it>
16027 * text.C (cursorLeftOneWord): changed to return the cursor and added
16028 overlay with BufferView * parameter which calls this one.
16030 (selectWord): use new getWord function.
16031 (changeCase): renamed from changeWordCase as and extended to work
16032 also on selections.
16034 * lyxtext.h: added enum word_location
16036 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16037 changeCase as this operates now also on selections.
16039 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16041 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16043 * many files: send debug output to Debug::INFO instead of
16046 * converter.C (View):
16048 (Move): send debug output to Debug::FILES instead of console.
16050 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16052 * lyxfunc.C (getStatus): use func_status
16054 * func_status.h: new header, describing the results of
16055 LyXFunc::getStatus;
16057 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16060 2001-06-25 The LyX Project <jug@sad.it>
16062 * buffer.C (sgmlOpenTag):
16064 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16066 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16068 * text2.C: remove some dead code
16070 * tabular.C (GetCellInset): store the last cell checked (gotten)
16072 * tabular.h: add the helper for the speedup
16074 * lyxtext.h: remove some dead code
16076 2001-06-26 The LyX Project <Asger>
16078 * paragraph.C: Change export to LaTeX of alignment to
16079 \begin{center} and family for better roundtrip work with reLyX.
16081 * Tune the math drawing a bit.
16083 2001-06-25 The LyX Project <Asger>
16085 * LColor.C (LColor): New color for math background. New color
16088 2001-06-25 The LyX Project <jug@sad.it>
16090 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16092 * lyxfunc.C (Open):
16093 * bufferlist.C (newFile): do not restrict to files ending with
16096 * BufferView_pimpl.C (MenuInsertLyXFile):
16098 2001-06-24 The LyX Project <jug@sad.it>
16100 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16103 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16105 * lyxtext.h: rename most methods to begin with a small char.
16106 Lots of changes because of this.
16108 * paragraph.C (Paragraph): do not call fitToSize
16109 (erase): call Pimpl::erase
16110 (insertChar): call Pimpl::insertChar
16111 (insertInset): call Pipl::insertInset
16112 (breakParagraph): do not call fitToSize
16113 (breakParagraphConservative): do not call fitToSize
16114 (fitToSize): remove method
16116 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16118 2001-06-24 The LyX Project <Asger>
16120 * Fix Qt compilation^2
16122 2001-06-24 The LyX Project <jug@sad.it>
16124 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16125 depthHook(getDepth()-1).
16128 * ParagraphParameters.h:
16129 * ParameterStruct.h: change type of depth to unsigned int ==
16130 depth_type. Many adaptations to other files before of that.
16132 2001-06-24 The LyX Project <Asger>
16134 * Fix Qt compilation.
16136 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16138 * paragraph.h: renamed several methods to begin with small letter.
16139 several changes to many parts of the code because of this.
16141 2001-06-23 The LyX Project <jug@sad.it>
16143 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16144 rewritten to discard all double spaces when KeepEmpty is off
16145 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16146 to only handle newlines but not fiddle with spaces and friends.
16148 * lyxfunc.C (MenuNew): when doing 'new from template', use
16149 template_path as default directory
16151 2001-06-23 The LyX Project <Asger>
16153 * Clean-up of header file includes all over
16154 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16156 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16158 * paragraph.h: renamed from lyxparagraph.h
16160 2001-06-23 Asger <lyx@violet.home.sad.it>
16162 * Buffer.h: Removed Buffer::resize
16163 * BufferList.h: Removed BufferList::resize
16164 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16165 the document lazily when we change the width, or the font settings.
16167 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16169 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16171 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16173 * buffer.h: remove out of date comment
16175 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16178 * screen.C: fix "theoretical" GC leak
16180 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16182 * LaTeX.C (scanAuxFile):
16183 (deplog): remove trailing \r when reading stream (useful under
16186 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16188 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16189 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16190 and BufferView::theLockingInset(Inset*), so should use them and not
16191 access bv_->text->the_locking_inset directly.
16193 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16195 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16198 * tex-defs.h: remove old unused file
16200 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16202 * BufferView_pimpl.C: fix typo, remove minibuffer message
16203 when buffer has loaded
16205 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16207 * lyxfunc.C (Dispatch): use stringstream
16208 (MenuNew): use stringstream
16209 (Open): use stringstream
16211 * importer.C (Import): use stringstream
16213 * bufferview_funcs.C (CurrentState): use stringstream
16215 * LaTeX.C (run): use stringstream
16217 * BufferView_pimpl.C (savePosition): use stringstream
16218 (restorePosition): use stringstream
16219 (MenuInsertLyXFile): use stringstream
16221 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16234 * vspace.C: removed // -*- C++ -*- as first line.
16237 * version.h: added // -*- C++ -*- as first line.
16239 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16241 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16243 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16246 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16251 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16253 * gettext.C: include LString.h even when --disable-nls is on.
16255 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16257 * converter.h (Get): changed argument type from int to
16258 FormatList::size_type to avoid unnecessary conversion.
16260 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16263 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16265 * gettext.h: include LString.h even when --disable-nls is on.
16267 2001-06-07 Juergen Vigna <jug@sad.it>
16269 * text.C (BreakAgain): subst spaces with tabs.
16271 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16272 (resizeInsetsLyXText): set force on resizeLyXText.
16274 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16276 * gettext.h (gettext_init):
16277 (locale_init): use a real definition instead of a macro
16279 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16281 * Bufferview_pimpl.C:
16283 * LColor.C: further lcolor tidies
16285 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16287 * BufferView_pimpl.C (updateScrollbar): simplify.
16289 * BufferView2.C: don't include insets/insetinfo.h, change
16290 prototype for insertInset and call the Pimpl version. let
16291 updateInset call Pimpl version.
16293 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16294 gotoInset to BufferView::Pimpl
16296 2001-06-01 Juergen Vigna <jug@sad.it>
16298 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16299 inside a LockingInset (is the update needed at all?).
16301 2001-05-31 Juergen Vigna <jug@sad.it>
16303 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16304 here not the old one otherwise how should we compare it afterwards
16307 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16312 * FontInfo.C: bring C functions into global namespace when
16315 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16317 * LString.h: make sure config.h has been loaded before LString.h.
16319 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16320 (one for each char read by EatLine!).
16322 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16325 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16327 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16328 to the same as the par we break from
16330 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16332 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16334 * MenuBackend.C (expand): also create menu entries for wide
16335 versions of the floats.
16337 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16339 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16341 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16342 frontends/Makefile.am
16348 * tabular.C (getTokenValue): add std::
16350 * tabular-old.C (getTokenValue): add std::
16351 (getTokenValue): ditto
16352 (getTokenValue): ditto
16354 * screen.C (ToggleSelection): adjust
16356 * lyxtext.h: put selection cursors inside a Selection struct.
16358 * lyxfunc.C (moveCursorUpdate): adjust
16360 * lyxfont.C (latexWriteStartChanges): add std::
16362 * lyxfind.C: adjust
16364 * font.h: delete with(char const *, LyXFont const &)
16366 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16368 * FontInfo.C (getFontname): add std::
16370 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16371 (workAreaButtonPress): adjust
16372 (tripleClick): adjust
16374 (moveCursorUpdate): adjust
16377 * BufferView2.C (gotoInset): adjust
16379 2001-05-30 Juergen Vigna <jug@sad.it>
16381 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16382 to check pspell I add this as default as I now have new pspell
16383 libraries and they seem to use this.
16385 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16387 * text2.C (CutSelection): make the cursor valid before the call to
16390 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16393 relied on 0 terminated strings and other horrors. Bug found due to
16394 the new assert in lyxstring!
16396 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16399 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16401 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16404 * lyxfunc.C (processKeySym): change method of getting to the
16407 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16408 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16409 * BufferView_pimpl.[Ch]: here as private methods.
16411 2001-05-28 Juergen Vigna <jug@sad.it>
16413 * text.C (SetHeightOfRow): added the update() call again as it is
16414 needed to initialize inset dimensions!
16416 2001-05-16 Juergen Vigna <jug@sad.it>
16418 * text2.C (SetCharFont): Add new function with BufferView * and
16419 bool toggleall parameters for setting insets internal fonts.
16420 (SetFont): Freeze the undo as we may change fonts in Insets and
16421 all this change should be inside only one Undo!
16423 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16424 setting font's in insets as for them we have the SetFont function!
16426 2001-05-15 Juergen Vigna <jug@sad.it>
16428 * text2.C (ClearSelection): to be sure we REALLY don't have any
16431 * tabular.C (TeXCellPreamble): fixed the left border problem for
16434 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16436 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16439 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16441 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16442 LFUN_BREAKPARAGRAPH.
16444 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16445 help test to "internal only", similar for LFUN_INSERT_URL
16447 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16448 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16449 auto_region_delete and deadkeys.
16451 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16454 * LColor.C: remove some dead entries, tidy a little
16456 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16458 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16460 (Dispatch): implement LFUN_ESCAPE
16462 * commandtags.h: add LFUN_ESCAPE
16464 * LyXAction.C (init): add entry for LFUN_ESCAPE
16466 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16467 Remove commented code.
16468 (insertNote): moved here
16469 (open_new_inset): moved here
16471 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16474 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16476 * kbmap.C (findbinding): clean it up and make it work correctly.
16478 * lyx_main.C (init): do not pass argc and argv as parameters
16480 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16482 * buffer.C: fix path for OS/2 & Win32
16486 * lyx_main.C: Added os:: class.
16488 * os2_defines.h: update
16490 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16492 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16493 better by trying again with reduced state.
16495 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16497 * lyxrc.C (read): print error about invalid key sequence only when
16498 debugging (because not all latinX keysyms are known to some X
16501 * kbsequence.C (getiso): add a few std:: qualifiers
16502 (getiso): comment out extra return statement.
16504 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16506 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16508 (Dispatch): enhance the accent inset a bit. (not perfect)
16510 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16512 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16514 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16516 * bufferlist.C (emergencyWrite): fix assert() call
16518 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16520 * text.C (InsertChar): Added trivial patch to only send the "you
16521 can not do multiple spaces this way" message once during a
16524 2001-05-08 Baruch Even <baruch@lyx.org>
16526 * Makefile.am: Changed order of libraries to get LyX to link properly
16527 with the gnome frontend.
16529 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16531 * LaTeXFeatures.h: add a std:: qualifier
16533 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16535 * paragraph.C (String): use stringstream
16537 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16539 * paragraph.C (writeFile): remove footflag arg
16541 * buffer.C (makeLaTeXFile): use stringstream
16542 (latexParagraphs): remove footnot gurba
16544 * LaTeXFeatures.C (getPackages): use stringstream
16545 (getMacros): likewise
16546 (getTClassPreamble): likewise
16547 (getFloatDefinitions): new method
16549 * paragraph.C (writeFile): reindent
16552 * WorkArea.h: revert the xpos + etc changes.
16554 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16556 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16558 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16559 (pasteSelection): likewise
16560 * text2.C (CreateUndo): likewise
16562 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16564 * minibuffer.C (peek_event): temporarily reduce the functionality
16565 of the minibuffer (to allow args on lfuns)
16567 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16568 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16570 * buffer.C (readInset): add compability reading of old float
16571 lists, add reading of new style float list.
16572 (readInset): avoid reevaluation of inscmd.getCmdName()
16573 (getLists): reindent
16575 * MenuBackend.C (MenuItem): implement parsing of
16576 md_floatlistinsert and md_floatinsert.
16577 (expand::LastFiles): move initalizaton of iterators out of loop,
16578 avoid reevaluation.
16579 (expand::Documents): introduce typdedef vector<string> Strings,
16581 (expand::ExportFormats): introduce typedef vector<Format const *>
16582 Formats, and use it.
16583 (expand): implement FloatListInsert and FloatInsert.
16585 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16586 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16587 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16589 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16591 (Dispatch::LFUN_FLOAT_LIST): implement
16593 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16595 * LaTeX.C (run): Fix problem with --export code.
16597 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16599 * BufferView.[Ch] (workarea): removed.
16600 (getClipboard) new method; wrapper for workarea()->getClipboard()
16602 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16605 * WorkArea.h (width, height, xpos, ypos): These methods all
16606 returned the dimensions of the work_area sub-area of WorkArea,
16607 resulting in a position error if the WorkArea were resized. Now
16608 return the dimensions of the entire WorkArea.
16610 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16612 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16614 * LaTeX.C (deplog): correct the syntax of regex reg1
16616 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16618 * undo.C: remove !NEW_INSETS cruft
16620 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16622 * text2.C: remove !NEW_INSETS cruft
16624 * text.C: remove !NEW_INSETS cruft
16626 * tabular.C: remove !NEW_INSETS cruft
16628 * spellchecker.C: remove !NEW_INSETS cruft
16630 * lyxtext.h: remove !NEW_INSETS cruft
16632 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16634 * lyxfunc.C: remove !NEW_INSETS cruft
16636 * lyxfind.C: remove !NEW_INSETS cruft
16638 * lyx_cb.C: remove !NEW_INSETS cruft
16640 * figureForm.C: remove !NEW_INSETS cruft
16642 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16644 * buffer.[Ch]: remove !NEW_INSETS cruft
16646 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16648 * CutAndPaste.C: remove !NEW_INSETS cruft
16650 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16652 * BufferView2.C: remove !NEW_INSETS cruft
16654 * BufferView.h: remove !NEW_INSETS cruft
16656 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16658 * Lsstream.h: include LString.h before the sstream headers to
16659 fix problem with gcc 2.95.3 and lyxstring
16661 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16663 * lyx_main.C: add using directives when needed for C functions
16664 declared in std:: namespace.
16666 2001-04-27 Juergen Vigna <jug@sad.it>
16668 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16669 (SetHeightOfRow): comment out the update call should not be needed!
16671 2001-04-13 Juergen Vigna <jug@sad.it>
16673 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16674 (LyXTabular): tried to minimize operator= operations (and realized
16675 hopfully Lars wish).
16677 2001-04-27 Juergen Vigna <jug@sad.it>
16679 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16681 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16683 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16685 * buffer.C (readInset): hack to make listof algorithm work
16687 * BufferView_pimpl.C: hack to make listof algorithm work
16689 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16691 * LyXAction.C: removed all !NEW_INSETS cruft
16692 (init): moved lfun_item in method
16694 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16696 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16698 * BufferView2.C (theLockingInset): white space.
16700 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16702 * minibuffer.C: include <iostream>
16704 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16706 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16708 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16710 * text.[Ch] (TransposeChars): new method
16712 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16714 * call message directly through LyXView instead of through LyXFunc
16715 * BufferView2.C: adjust
16716 * BufferView_pimpl.C: adjust
16717 * FontLoader.C: adjust
16719 * bufferview_funcs.C: adjust
16720 * converter.C: adjust
16721 * figureForm.C: adjust
16722 * importer.C: adjust
16724 * lyx_gui_misc.C: adjust
16725 * lyxfunc.C: adjust
16728 + more files in subdirs
16730 * lyxparagraph.h (size): move up int file
16733 * adjust all uses of Assert to lyx::Assert.
16735 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16736 lyxfunctional in namespace lyx
16737 * layout.C (hasLayout): ditto
16740 (delete_layout): ditto
16741 (NumberOfClass): ditto
16742 * converter.C (GetFormat): ditto
16747 * bufferlist.C (getFileNames): ditto
16748 (emergencyWriteAll): ditto
16751 * MenuBackend.C (hasSubmenu): ditto
16754 * BufferView_pimpl.C (getInsetByCode): ditto
16756 2001-04-18 Juergen Vigna <jug@sad.it>
16758 * vspace.C (asLatexString): fixed the 100% problem.
16760 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16762 * lyxfunc.C (Dispatch):
16764 * minibuffer.h: add a few std:: qualifiers
16766 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16768 * minibuffer.[Ch]: reimplement so that commands is initiated and
16769 run from lyxfunc, simplified som handling, and made the completion
16770 and history code for complete. wip.
16772 * lyxfunc.C (processKeySym): call message
16773 (miniDispatch): new temporary method
16774 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16775 (LFUN_MESSAGE): implement
16776 (LFUN_MESSAGE_PUSH): implement
16777 (LFUN_MESSAGE_POP): implement
16778 (initMiniBuffer): the initial/defualt minibuffer message.
16780 * lyxfont.[Ch]: inline some more getters
16782 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16784 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16786 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16787 (AutoSave): use LFUN_MESSAGE
16788 (Reconfigure): ditto
16790 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16792 * figureForm.C: use LFUN_MESSAGE
16794 * converter.C (runLaTeX): use LFUN_MESSAGE
16796 * bufferview_funcs.C: use LFUN_MESSAGE
16798 (changeDepth): ditto
16800 * bufferparams.h: use boost::
16802 * bufferlist.h: inherit privately from noncopyable
16804 * bufferlist.C (loadLyXFile): remove some commented code.
16806 * buffer.C (runChktex): use LFUN_MESSAGE
16808 * ShareContainer.h: inherit privately from noncopyable
16810 * ParagraphParameters.[hC] (depth): inline it.
16812 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16814 (message): new method
16815 (messagePush): ditto
16816 (messagePop): ditto
16817 (show): init minibuffer
16818 (showState): direct call
16820 * LaTeX.[Ch]: inherit privately from noncopyable
16821 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16822 instead of WriteStatus.
16824 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16826 * BufferView_pimpl.C (buffer): don't init minibuffer
16827 (workAreaButtonPress): use LFUN_MESSAGE
16828 (workAreaButtonRelease): ditto
16829 (savePosition): ditto
16830 (restorePosition): ditto
16831 (MenuInsertLyXFile): ditto
16832 (workAreaExpose): don't init minibuffer
16833 (update): remove commented code, simplify
16835 * BufferView2.C (openStuff): use LFUN_MESSAGE
16836 (toggleFloat): ditto
16839 (copyEnvironment): ditto
16840 (pasteEnvironment): ditto
16845 (updateInset): remove some commented code
16847 * lastfiles.h: inherit privately from noncopyable
16850 * lyx_main.h: ditto
16852 * lyxlex_pimpl.h: ditto
16854 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16855 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16856 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16858 * LyXAction.h: inherit privately from noncopyable, add methods
16859 func_begin, func_end, returning iterators to the func map.
16861 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16862 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16863 (func_begin): new method
16864 (func_end): new method
16866 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16868 (copySelection): ditto
16869 (pasteSelection): ditto
16871 * BufferView.C: whitespace change
16872 * BufferView.h: inherit privately from noncopyable
16874 2001-04-16 Allan Rae <rae@lyx.org>
16876 * tabular-old.C (l_getline):
16877 * spellchecker.C (sc_check_word):
16878 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16879 an unrecognised preprocessor directive. So ensure they're wrapped.
16881 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16883 * src/exporter.C (Export): Give an error message when path to file
16886 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16888 * LaTeX.C (deplog): Always check that foundfile exists.
16890 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16893 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16895 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16897 * tabular.[Ch] (getLabelList): implement new method
16899 * minibuffer.h: comment ouf setTiimer
16901 * minibuffer.C (ExecutingCB): constify res
16902 (peek_event): constify s
16903 (Set): constify ntext
16904 (Init): constify nicename
16906 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16908 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16909 (savePosition): use two params to Minibuffer::Set
16910 (restorePosition): ditto
16912 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16914 * lyx_main.C: include language.h
16916 * Makefile.am (lyx_main.o): add language.h
16918 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16924 * CutAndPaste.C: include gettext.h
16926 * lyxfont.h: remove old hack with ON and OFF.
16929 * lyxfont.h: do not include language.h...
16934 * bufferview_funcs.C:
16940 * paragraph.C: ... but do it here instead
16942 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16944 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16946 * tabular.C: small reformat
16948 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16951 (BreakParagraph): ditto
16952 (SetOnlyLayout): ditto
16955 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16958 * lastfiles.C: removed most using decl, add std:: where needed
16960 * buffer.C: ws changes
16962 * MenuBackend.C (class compare_format): put into anon namespace
16963 (expand): constify label, names, action, action2
16966 * text.C (SingleWidth): constify font
16967 (IsBoundary): constify rtl2
16968 (GetVisibleRow): constify ww
16970 * LaTeX.C (deplog): constify logfile
16972 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16974 (workAreaExpose): constify widthChange, heightChange
16976 * lyxrow.C (par): moved
16979 * lyxrow.h: as inlines here
16981 * lyxfont.h (shape): moved from lyxfont.C
16982 (emph): moved from lyxfont.C
16984 * lyxfont.C (LyXFont): use initialization list for all
16986 (shape): move to lyxfont.h as inline
16987 (emph): move to lyxfont.h as inline
16990 2001-04-04 Juergen Vigna <jug@sad.it>
16992 * vspace.C: had to include stdio.h for use of sscanf
16994 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16997 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16998 independent of xforms.
17000 2001-04-02 Juergen Vigna <jug@sad.it>
17002 * spellchecker.C: fixed namespace placing!
17004 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17006 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17007 the LyXParagraph * is 0.
17009 2001-03-29 Juergen Vigna <jug@sad.it>
17011 * vspace.C: added support for %, c%, p%, l%.
17012 (stringFromUnit): added helper function.
17013 (asLatexString): changed to give right results for the %-values.
17015 * buffer.C: convert the widthp in a width%.
17017 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17019 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17022 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17023 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17025 * lyx_cb.[Ch]: see above.
17027 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17031 * lyx.[Ch]: replaced by figure_form.[Ch].
17035 * lyxfunc.C: changed headers associated with above changes.
17037 2001-03-27 Juergen Vigna <jug@sad.it>
17039 * BufferView_pimpl.C: set the temporary cursor right!
17041 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17043 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17045 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17047 * LString.h: removed "using std::getline"!
17049 * BufferView_pimpl.C (Dispatch): changes due to changes in
17050 InsetInclude::Params.
17052 * buffer.C (tag_name): removed redundant break statements as they were
17053 producing lots of warnings with my compiler.
17055 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17057 * LString.h: add "using std::getline" when using the real <string>.
17059 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17061 * buffer.C: removed bitset usage.
17062 PAR_TAG moved to an anonymous name space.
17063 (tag_name): new funtion, also in the anonymous namespace.
17064 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17065 (makeDocBookFile): clean code. Completed transition from string arrays
17067 (SimpleDocBookOnePar): code clean.
17069 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17071 * tabular.C: add some comments.
17073 2001-03-22 Juergen Vigna <jug@sad.it>
17075 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17076 compatibility read a bit and fixed bug with minipage in different
17079 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17081 * buffer.C (pop_tag): removed.
17082 (push_tag): removed.
17083 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17084 array replaced with vector. Added support for CDATA sections.
17085 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17087 (makeDocBookFile): XML conformant declaration of CDATA section,
17088 fixed bug related to <emphasis> in the first paragraph char.
17089 (sgmlOpenTag): exclude empty tags.
17090 (sgmlCloseTag): ditto.
17092 * buffer.h (pop_tag): removed.
17093 (push_tag): removed.
17095 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17097 * language.h (Languages): added size_type and size().
17099 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17101 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17102 response on compability reading of minipages. One probliem is that
17103 the old usage of minipages was «flertydig»
17105 * several files here and in subdirs: don't use static at file
17106 scope use anon namespaces instead.
17108 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17110 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17111 LaTeX output. This is necessary for Literate document
17114 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17116 * buffer.C: insert hfill when needed.
17118 * tabular.C (l_getline): use string::erase, small whitespace change.
17120 * BufferView_pimpl.C: try the anon namespace.
17121 * WorkArea.C: ditto
17123 2001-03-16 Juergen Vigna <jug@sad.it>
17125 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17126 otherwise it won't open options-dialogs.
17128 * buffer.C: honor pextraWidth(p) on converting minipages.
17130 * tabular.C (l_getline): changed the functions to strip trailing \r.
17132 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17134 * BufferView_pimpl.C:
17135 * minibuffer..C: added "using SigC::slot" declaration.
17137 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17139 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17145 * paragraph.C: ditto
17147 * lyxtext.h: NO_PEXTRA
17149 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17151 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17152 * ParameterStruct.h: ditto
17153 * ParagraphParameters.h: ditto
17154 * lyxparagraph.h: ditto
17156 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17158 * buffer.C: add compability for minipage alignment.
17159 (latexParagraphs): remove unwanted pextra check.
17161 * several files: remove CXX_WORKING_NAMESPACES
17163 * buffer.C (pop_tag): tie is in namespace boost
17165 * BufferView.h: noncopyable is in namespace boost
17167 * lyx_main.h: ditto
17170 * lastfiles.h: ditto
17171 * bufferlist.h: ditto
17172 * ShareContainer.h: ditto
17174 * LyXAction.h: ditto
17177 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17179 * Merging changes from BRANCH_MVC back into HEAD.
17181 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17183 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17185 * BufferView_pimpl.C: change from intl.C
17189 * Makefile.am: move combox.*
17195 * intl.C: remove dialog (covered by prefs)
17197 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17199 * lyxfunc.C (Dispatch): removed redundant break statement.
17201 2001-03-14 Juergen Vigna <jug@sad.it>
17203 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17205 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17207 * buffer.C: add hack to fix compability reading of minipages.
17209 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17211 * buffer.C (getLists): Cleanup.
17213 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17215 * lyxfont.C (update): don't honor toggleall on font size.
17217 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17221 * Makefile.am: moved to frontends/xforms/
17225 * BufferView_pimpl.C: changes for moved mathpanel
17227 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17229 * gettext.h: fix gettext_init() in --disable-nls
17231 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17233 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17235 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17238 * lyx.h: strip external form
17240 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17242 * BufferView_pimpl.C: add comment, destroySplash()
17244 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17246 * BufferView_pimpl.C:
17250 * lyxfunc.C: use re-worked insetinclude
17252 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17254 * buffer.C: add using std::stringstream.
17256 * lyx_cb.C: readd using std::ios.
17258 * buffer.C: add using std::map.
17260 * BufferView_pimpl.C: add using std::vector.
17262 * ShareContainer.h: add std:: to swap.
17264 * buffer.h: add some typedefs
17265 * buffer.C (getLists): use them
17266 (getLists): renamed from getTocList.
17267 add a counter for the different float types and use it in the
17269 (getLists): use the same counter for the NEW_INSETS and the "non"
17272 * lyx_cb.h: remove unused items, includes, using etc.
17274 * ShareContainer.h: remove some commented code, add more comments
17275 and "documentation".
17277 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17279 * buffer.C (getTocList): make the list also when NEW_INSETS is
17282 * buffer.h: remove TocType
17284 * buffer.C (getTocList): change to return a map<string,
17285 vector<TocItem> >, implement for dynamic number of list.
17287 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17288 * text2.C (PasteSelection): adjust
17289 * CutAndPaste.C (pasteSelection): adjust
17291 * FloatList.C (FloatList): update from the new_insets branch.
17292 * Floating.[Ch]: ditto
17293 * LaTeXFeatures.C: ditto
17295 * lyxlex_pimpl.C: ditto
17297 * paragraph.C (Last): remove when NEW_INSETS is defined.
17299 * other file: changes because of the above.
17301 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17303 * lyxparagraph.h: rename next to next_, previous to previous_,
17304 make them private for NEW_INSETS. Rename Next() to next(),
17305 Previous() to previous().
17307 * other files: changes because of the above.
17309 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17312 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17315 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17317 * main.C (main): pass lyx_localedir to gettext_init().
17319 * gettext.h: remove locale_init and gettext_init macros
17321 * gettext.C (locale_init): new function
17322 (gettext_init): new function
17324 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17327 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17329 * Moved credits to frontends:
17330 * credits.[Ch]: removed
17331 * credits_form.[Ch]: removed
17332 * lyx_gui_misc.C: remove credits stuff
17335 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17337 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17339 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17340 unneeded destructor.
17342 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17343 a standalone pointer again.
17345 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17347 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17353 * ToolbarDefaults.C:
17362 * BufferView_pimpl.C: use new file dialog in GUII
17365 * lyx_cb.C: remove LayoutsCB to Toolbar
17367 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17369 * ShareContainer.h (get): add std:: qualifier
17371 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17373 * ShareContainer.h: define a proper ShareContainer::value_type
17374 type (and use typename to please compaq cxx)
17376 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17378 * lyxparagraph.h: move serveral local vars to
17379 ParameterStruct/ParagraphParameters., use ShareContainer in
17380 FontTable., make vars in FontTable private and add getter and
17383 * paragraph.C: changes because of the above.
17385 * lyxfont.h: remove copy constructor and copy assignment. (the
17386 default ones is ok), move number inside FontBits. move inlines to
17389 * lyxfont.C: add number to initializaton of statics, move several
17390 inlines here. constify several local vars. some whitespace
17391 cleanup. Dont hide outerscope variables.
17393 * Spacing.h: add two new constructors to match the set methods.
17395 * ShareContainer.h: new file, will perhaps be moved to support
17397 * ParameterStruct.h: new file
17399 * ParagraphParameters.h: new file
17401 * ParagraphParameters.C: new file
17403 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17404 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17406 * BufferView_pimpl.C: ParagraphParameter changes.
17407 * buffer.C: Likewise.
17408 * bufferview_funcs.C: Likewise.
17409 * text.C: Likewise.
17410 * text2.C: Likewise.
17412 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17414 * lyxfind.C (LyXReplace): do not redefine default argument in
17416 (IsStringInText): ditto
17417 (SearchForward): ditto
17418 (SearchBackward): ditto
17420 2001-03-06 Juergen Vigna <jug@sad.it>
17422 * lyxfind.C (IsStringInText): put parentes around expressions.
17424 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17426 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17428 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17430 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17432 * stl_string_fwd.h: add comment
17434 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17437 * tabular.C: remove unused DocBook methods
17443 killed DO_USE_DEFAULT_LANGUAGE
17445 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17447 * lyx_gui.C: do not include language.h.
17449 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17450 arguments in function implementation.
17452 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17454 * BufferView_pimpl.C: add <ctime>
17456 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17458 * BufferView_pimpl.C: add using std::find_if
17460 2001-02-27 José Matos <jamatos@fep.up.pt>
17462 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17465 2001-02-11 José Matos <jamatos@fep.up.pt>
17467 * buffer.C (makeDocBookFile): command styles now have a parameter as
17468 "title" by default.
17470 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17472 * layout_forms.[Ch]: removed
17473 * lyx_cb.[Ch]: out character
17474 * lyx_gui.C: out character
17475 * lyx_gui_misc.C: out character
17476 * bufferview_funcs.C: : out character,
17477 added toggleall as parameter in ToggleAndShow
17479 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17481 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17483 * text2.C (SetCurrentFont): Disable number property at boundary.
17485 2001-02-26 Juergen Vigna <jug@sad.it>
17487 * lyxfunc.C (getStatus): added a string argument override function so
17488 that this is correctly called from LyXFunc::Dispatch if it contains a
17489 do_not_use_argument which is used!
17490 (Dispatch): added check for "custom" export and call appropriate func.
17492 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17494 * lyxrc.C: Add language_command_local, language_use_babel and
17495 language_global_options.
17497 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17499 * buffer.C (makeLaTeXFile): Use language_use_babel and
17500 language_global_options.
17502 2001-02-23 Juergen Vigna <jug@sad.it>
17504 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17505 which works with LyXText and putted it inside BufferView. Here now we
17506 only call for that part the BufferView::Dispatch() function.
17508 * BufferView.C (Dispatch): added.
17510 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17511 functions which needs to use a LyXText over from LyXFunc.
17512 (MenuInsertLyXFile): added
17513 (getInsetByCode): added
17514 (moveCursorUpdate): added
17515 (static TEXT): added
17517 2001-02-22 Juergen Vigna <jug@sad.it>
17519 * BufferView_pimpl.C (update): call a status update to see if LyXText
17522 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17524 * vc-backend.C (revert): implement for CVS
17525 (getLog): implement for CVS
17527 2001-02-20 Juergen Vigna <jug@sad.it>
17529 * text2.C (ClearSelection): added BufferView param for inset_owner call
17531 * lyxfunc.C (TEXT): added this function and use it instead of
17532 directly owner->view()-text of getLyXText().
17534 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17536 * src/layout_forms.C: out preamble
17537 * src/layout_forms.h: out preamble
17538 * src/lyx_cb.C: out preamble
17539 * src/lyx_cb.h: out preamble
17540 * src/lyx_gui.C: out preamble
17541 * src/lyx_gui_misc.C: out preamble
17542 * src/lyxfunc.C: connect with guii preamble
17544 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17546 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17548 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17550 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17551 whether to run bibtex.
17553 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17555 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17557 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17559 * Makefile.am (lyx_SOURCES): removed bibforms.h
17561 * vspace.h: doxygen
17563 * text.C (GetVisibleRow): make several local vars const
17565 * tabular.C: small cleanup.
17567 * lyxserver.C (callback): use compare instead of strncmp
17569 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17570 inlines to after class or to paragraph.C
17572 * lyxfont.h: remove friend operator!=
17574 * converter.h: move friend bool operator< to non friend and after
17577 * combox.h: small cleanup
17579 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17580 to inlines after class def.
17582 * buffer.C (pop_tag): use string operations instead of strcmp
17584 * bmtable.c: doxygen, small cleanup
17586 * LaTeX.h: remove friend operator==
17588 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17600 * BufferView_pimpl.C:
17601 * BufferView.[Ch]: remove cruft
17603 2001-02-14 Juergen Vigna <jug@sad.it>
17605 * lyxfunc.C: removed #if 0 unused code
17607 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17609 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17611 * text2.C (SetSelection): added a BufferView * parameter
17613 2001-02-13 Juergen Vigna <jug@sad.it>
17615 * lyxfunc.C (Dispatch): fixed protected blank problem.
17616 * BufferView2.C (protectedBlank): added LyxText * parameter.
17618 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17619 (AppendColumn): same as above for column_info.
17621 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17622 (moveCursorUpdate): use a LyXText param for support of InsetText.
17624 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17625 (tripleClick): ditto
17627 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17629 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17631 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17633 * text2.C (SetSelection): set correct update status if inset_owner
17634 (ToggleFree): ditto
17636 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17638 * tabular.C: remove some commented code.
17640 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17642 * BufferView_pimpl.C: call hideSplash()
17644 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17647 * bibforms.h: remove
17650 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17651 add LFUN_CHILD_CREATE
17653 * counters.h: fix tiny typo
17658 * lyx.C: move splash to frontends/xforms/
17660 * lyx_gui_misc.C: move Include and Bibform to frontends
17662 * lyxvc.h: clarify comment
17664 * vspace.C: tiny housekeeping
17666 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17668 * text.C (PrepareToPrint): RTL Fix.
17670 * paragraph.C (GetUChar): New method.
17671 (String): Use GetUChar.
17673 * buffer.C (asciiParagraph): Use GetUChar.
17675 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17677 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17679 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17682 * buffer.C: rename to getLogName(), handle
17683 build log / latex log nicely
17685 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17688 * MenuBackend.h: remove support for reference menuitem type.
17690 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17692 * BufferView_pimpl.C: housekeeping
17693 * BufferView_pimpl.h:
17698 * minibuffer.h: move Timeout GUI-I
17700 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17702 * lyxrc.C (read): Update converters data-structures.
17704 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17706 * LaTeX.h (operator!=): add operator != for Aux_Info
17708 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17710 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17712 * LaTeXLog.C: deleted, useful code moved to Buffer
17715 * buffer.C: new function getLatexLogName()
17721 * lyxfunc.C: use frontends for LaTeX and VC logs
17723 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17725 * LaTeX.h: yet another std:: that Allan forgot.
17727 * Variables.C (set): renamed from isset(), because this clashes
17728 with some HP-UX macros (grr).
17730 2001-02-06 Allan Rae <rae@lyx.org>
17732 * LaTeX.h: Another bug fix. Missing std:: this time.
17734 2001-02-04 Allan Rae <rae@lyx.org>
17736 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17737 floats problem. I've left it commented out because it's not quite
17738 correct. It should also test that the current object is a table or
17739 figure inset. But I haven't gotten around to figuring out how to do
17740 that. I *think* it'll be something like: "table" == inset.type()
17742 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17745 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17747 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17748 all the citation/databases/styles in the auxilary file.
17749 (run): Rerun latex if there was a babel language error.
17751 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17753 * text.C (Backspace): Preserve the font when changing newline char
17755 (BreakParagraph): If the cursor is before a space, delete the space.
17757 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17759 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17761 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17762 new argument (code).
17763 (ChangeCitationsIfUnique): New method.
17765 * paragraph.C (GetPositionOfInset): Handle bibkey.
17767 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17769 * BufferView_pimpl.h: change type of Position::par_pos to
17770 LyXParagraph::size_type.
17772 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17774 * BufferView_pimpl.C (savePosition, restorePosition): Write
17775 messages to minibuffer.
17777 2001-01-28 José Matos <jamatos@fep.up.pt>
17779 * buffer.C (makeDocBookFile): adds support for document language.
17780 A silly restriction on the name of LatexCommand types where removed.
17781 Added support for CDATA sections, allows to chars unescaped, used
17782 among others in code, to avoid escape < and >.
17784 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17786 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17787 saved positions instrad of a stack. Furthermore, a position is
17788 stored using paragraph id/paragraph position.
17790 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17791 Remove LFUN_REF_BACK.
17793 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17795 * converter.C (dvipdfm_options): New method.
17797 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17799 * vspace.C (isValidLength): Fix for empty input string.
17801 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17803 * LyXAction.C (init): change description of LFUN_FIGURE to
17806 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17808 * LaTeX.C: add using directive
17810 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17812 * MenuBackend.C (expand): Fix the sorting of the formats.
17814 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17816 * lyx_main.C: tiny error message fix
17818 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17820 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17821 calling fl_initialize(). This fixes the problem with ',' as
17822 decimal separator in text files.
17824 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17826 * trans.C (process): Fix the keymap bug.
17828 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17830 * LaTeX.C (scanAuxFiles): New method. Provides support for
17831 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17832 (scanLogFile) Scan for "run BibTeX" messages.
17834 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17835 OT1 font encoding. Also, load the aecompl package if the ae
17838 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17840 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17842 * texrow.C (increasePos): turn two error messages into debug
17845 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17847 * LaTeX.C (scanAux): Handle the \@input macro.
17848 (runBibTeX): Use scanAux().
17850 * language.C (latex_options_): New field.
17852 * LaTeXFeatures.C (getMacros): Add language macros.
17854 * buffer.C (makeLaTeXFile): Small fix.
17856 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17858 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17860 * text2.C: add a using directive.
17862 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17867 * lyxfunc.C: kill LyXBell.
17869 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17871 * text.C (IsBoundary): Remove the error message
17873 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17875 * lyxrc.C (setDefaults): Correct initialization value for
17878 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17880 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17883 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17884 and GotoNextNote().
17886 * src/LyXAction.C: Added reference-next.
17888 * text.C (InsertChar): Use contains instead of strchr.
17890 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17892 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17894 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17895 alignment commands (when needed).
17897 * text.C (InsertChar): Add ':' to number separator chars.