1 2005-07-16 Juergen Vigna <jug@lyx.org>
3 * text2.C (getColumnNearX): Consider rows without trailing blank.
5 2005-07-16 André Pönitz <poenitz@gmx.net>
7 * lyxfont.h: Change order of declarations to give the compiler
8 a better chance to inline things
10 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
11 questions on unsaved docs for better scritability
13 2005-07-16 André Pönitz <poenitz@gmx.net>
15 * paragraph.h (getChar): remove asserts as the same kind of security
16 can be achieved by using a suitable standard library implementation
17 and the function was in the critical path (25.9% in profiler)
19 2005-07-16 Juergen Vigna <jug@lyx.org>
21 * cursor.C (bruteFind2):
22 * bufferview_funcs.C (coordOffset):
23 * text.C (cursorX,cursorY): Handle cursor position after last char
24 in row before a inset which uses a whole row.
26 2005-07-15 José Matos <jamatos@lyx.org>
28 * output_plaintext.[Ch] (writeFileAscii): control reference title
30 (asciiParagraph): noparbreak was already deal and was incorrectly
33 2005-07-15 Juergen Vigna <jug@lyx.org>
35 * lyxfunc.C (dispatch): save and restore the cursor after a
38 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
40 * text.C (backspace): bug 806 for empty keepempty paragraphs we
41 change the layout to default before letting DEPM do its thing.
43 * paragraph_funcs.C (breakParagraph): dont reset the layout on
46 * text.C (setCursorFromCoordinates): add a debug statement
48 * text2.C (getColumnNearX): bug 1825 make sure that we don't
49 return a pos that is not on the row
51 * output_latex.C (TeXDeeper): get rid of potential dereferencing
52 of past the end iterator
54 2005-07-14 André Pönitz <poenitz@gmx.net>
56 * undo.C (recordUndoFullBuffer): implement undo for
59 2005-07-14 André Pönitz <poenitz@gmx.net>
61 * cursor.C (setSelection): open insets when selection is set there
62 to avoid crashs with cold coord cache
64 2005-07-14 André Pönitz <poenitz@gmx.net>
66 * trans_mgr.C (insert): move cursor to the right after inserting
69 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
71 * BufferView_pimpl.C (update): dampen some of the debug blabbering
72 * factory.C (readInset): ditto
73 * text.C, text2.C: ditto
75 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * buffer.C: format incremented to 242. There is no file format per
78 se, but the "frenchb" language has been removed from lib/language
79 and has to be translated to "french" by lyx2lyx.
81 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * cursor_slice.h, dociterator.h: add some documentation
84 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
86 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
88 * text.C (leftMargin): do not add identation to display() style
89 insets, because they are always centered (bug 1293).
91 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
94 formatted_time methods in support/lyxtime.
96 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
98 * toc.[Ch]: new method getGuiName, which is used by the frontends
99 to set the toc combo (fixes bug 1870). Make TOC string translatable.
101 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
103 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
104 StableDocIterator const &)
105 * undo.C (recordUndo): use the above instead of cell.size() comparison
106 (fixes bug 1808; instructed by André).
108 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
111 * dociterator.h: Fix the assert when copying rows/cols in math
113 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * BufferView_pimpl.C:
117 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
119 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
120 (findInset): new functions, refactored from goto Inset that return
121 the position of a certain inset without setting the buffer's cursor
123 (gotoInset): rewrite to call findInset and then set the cursor
126 2005-06-16 Angus Leeming <leeming@lyx.org>
128 * lyxrc.C (output, read): wrap all input and output of paths with
129 calls to os::internal_path and os::external_path, respectively.
130 (output): wrap bind_file inside quotes.
132 * format.C (view): enable the viewer to use the '$$s' placeholder.
134 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * LColor.[Ch] (getFromLaTeXName): new
138 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
140 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
142 2005-06-14 Angus Leeming <leeming@lyx.org>
144 * lyx_main.C (init): ensure that the LyX binary dir is the first
145 element in the PATH on non-POSIX builds.
147 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
149 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
151 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * rowpainter.C (paintInset, paintHebrewComposeChar)
154 (paintArabicComposeChar, paintChars): add a LyXFont argument.
155 (paintChars): use getFontSpan to reduce calls to getFont to a
156 minimum; use Paragraph::lookupChange instead of isXXXText.
157 (paintForeignMark): rename LyXFont argument.
158 (paintFromPos): pass a LyXFont object to the various paintXXX
161 * FontIterator.C (FontIterator, operator++): use
162 Paragraph::getFontSpan
164 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
165 version that returns the font span as a pair.
167 2005-06-09 Angus Leeming <leeming@lyx.org>
169 * converter.C (convert): Don't forget "outfile = real_outfile" as
170 the final step in a conversion where the input and output file names
171 are the same. Otherwise, future conversion steps won't work...
173 2005-06-09 Angus Leeming <leeming@lyx.org>
175 * lyxsocket.C: remove stub code as it isn't needed by
176 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
178 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
181 effectively disabled -x
183 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
186 when it actually makes sense.
188 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
190 * BufferView_pimpl.C: revert to showCursor in connection with
191 Lars's front-end stack
193 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
195 * text.C (redoParagraph): move cursor right after a bibitem
198 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
200 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * buffer_funcs.C (bufferErrors): fix computation of the end of an
205 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
207 * BufferView.[Ch] (update):
208 * BufferView_pimpl.[Ch] (update, metrics):
209 * dimension.h (operator==):
210 * lyxfunc.C (dispatch):
211 * metricsinfo.h (ViewMetricsInfo):
212 * rowpainter.C (paintText):
214 * text.C (redoParagraph):
215 * text3.C (dispatch): Make LyX only repaint current paragraph in
216 case of character insert --> speedup. Also fix cursor draw
219 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
222 avoid a crash (bug 1891)
224 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * text2.C (getStringToIndex): constify cur argument.
230 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
231 argument has been given
232 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
233 try to invoke LFUN_INSET_APPLY).
235 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
236 if no inset was created by doInsertInset
237 (doInsertInset): return true if an inset has been inserted.
239 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * vspace.C (asGUIName): new method. A version of the space
242 suitable for showing on screen.
244 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
247 * lyxrc.C: rename "ASCII" to "Plain Text"
249 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * buffer_funcs.C (expandLabel): take a Buffer as argument;
252 translate the labelstring.
253 (setCounter): translate labelstring as needed.
255 * output_docbook.C (makeCommand): fix expandLabel invokation
257 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
259 * BufferView.C: fix dialog title
261 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
263 * lyx_main.C (priv_exec): fix logic error with help from Angus
264 * lyx_main.C (parse_execute): set is_gui = false and remove now
265 obsolete comment about a segfault
267 2005-05-18 Angus Leeming <leeming@lyx.org>
269 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
271 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
273 * tabular.[hC]: added setCellInset to fix tabular paste.
275 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
277 * buffer.C (save): check if destination is writable before trying
280 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
282 * BufferView_pimpl.C (update): fix processEvents -caused update
285 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * buffer_funcs.C (setCounter): fix test for numbering of
290 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
291 depth correctly; use optional argument when it exists
293 * lyxtextclass.C: remove unused MaxCounterTags enum
294 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
295 (max_toclevel, min_toclevel): new methods.
297 * MenuBackend.C (expandToc2): fix case where depth is smaller than
298 the smallest depth in toc.
300 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
301 layouts that should not appear in a table of contents.
303 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
305 * cursor.h (undispatched, noUpdate): add comments from André
307 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
311 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
313 2005-05-07 André Pönitz <poenitz@gmx.net>
315 * cursor.[Ch] (leaveInset): new function
317 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
321 2005-05-04 Angus Leeming <leeming@lyx.org>
323 * lyxfunc.C (getStatus): disable the spell checker dialog if
324 none of USE_[AIP]SPELL are defined.
326 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
328 * tabular.C (setWidthOfCell): remove obsolete comment
330 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
332 * paragraph.C (bibitem):
333 * buffer_funcs.C (setCounter):
334 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
336 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
338 * text3.C (getStatus): immediately return after setOnOff
340 * rowpainter.C: fix drawing of appendix start
342 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
345 SwitchBetweenClasses and remove the unused return value.
346 Handle character styles, too
348 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
350 * factory.C (createInset): handle undefined character styles
352 2005-05-02 Angus Leeming <leeming@lyx.org>
354 * buffer.C: protect the #include of utime.h with a preprocessor
357 2005-05-02 Angus Leeming <leeming@lyx.org>
359 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
360 function so that auto-saving works, albeit in a blocking manner.
362 * Makefile.am: make compilation of the client sub directory, of
363 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
364 on conditionals set at configure time.
366 * SpellBase.[Ch]: no longer an abstract base class. Instead,
367 it can be compiled in its own right but has no-op functionality.
369 * aspell.C, pspell.C: remove preprocessor guards. The files should
370 be compiled only if the necessary functionality exists.
372 * lyxserver.C, lyxsocket.C: disable on Windows.
374 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
376 * text.C (leftMargin): Fix the parindent use bug (1764)
379 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
381 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
384 2005-04-25 Angus Leeming <leeming@lyx.org>
392 include <config.h> in .C files, not .h ones.
394 protect headers inside preprocessor guards.
396 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * FuncStatus.h (StatusCodes): document
400 2005-04-21 André Pönitz <poenitz@gmx.net>
402 * FuncStatus.h (enabled, onoff): document
404 2005-04-19 Angus Leeming <leeming@lyx.org>
406 * BufferView_pimpl.C (cursorToggle): no longer test whether
407 any child processes have been reaped before calling
408 handleCompletedProcesses().
410 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
412 * text3.C (dispatch): fix, finally fix, the language problem in
413 new lyxtexts, without disabling on-the-fly font changes (Helge's
416 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
418 * text3.C (dispatch): set cursor on double/triple click events
421 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
424 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
426 * rowpainter.C (paintFirst): simplify the code a little bit. In
427 particular, remove the test for secnumdepth.
428 * text.C (setHeightOfRow): only allocate space for chapter number
429 when updateCounters provided an actual label, instead of looking
430 at secnumdepth directly.
432 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
434 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
435 paragraphs when secnumdepth is large enough or, for environments,
436 when they are not the first in a sequence.
438 2005-04-17 Angus Leeming <leeming@lyx.org>
440 * buffer.C (makeLaTeXFile): replace code to manipulate a path
441 containing space and '~' characters with a call to latex_path().
443 2005-04-17 Angus Leeming <leeming@lyx.org>
445 * converter.C (convert): protect all args of convertDefault.sh
448 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * text3.C (dispatch): change the layout to "Caption" after inserting
453 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
455 * text3.C (dispatch): fix language problem in newly created
456 textinsets (and main text) in non-english docs
458 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
460 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
461 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
462 * text3.C (getStatus): disable LFUN_INSET_MODIFY
464 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
469 * rowpainter.C (getFont): Fix metrics bug introduced by inset
472 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
474 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
475 output of \item arguments without trailing text.
477 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
479 * FontIterator.C (operator*): avoid a copy of the font.
481 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
483 * rowpainter.C (getFont): fix language bug from previous fix
485 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
487 * rowpainter.C (RowPainter, getFont): fix font inside inset
490 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
492 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
493 preventing inserted font, deco, delim insets jumping to start of
496 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * lyxfunc.C (dispatch): translate message before sending it to the
501 2005-03-29 Angus Leeming <leeming@lyx.org>
503 * lyx_main.C (priv_exec): call os::internal_path on each file passed
504 to LyX on the command line.
506 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
508 * vc-backend.C: use QuoteName to protect file names wherever
511 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
514 * BranchList.h: fix bugs 1844,1845: document settings don't
517 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * lyxrc.C (setDefaults, read, output, getDescription): add support
520 for tex_allows_spaces.
522 * exporter.C (Export): allows files in directory containing spaces
523 if tex_allows_spaces is true.
525 * buffer.C (makeLaTeXFile): if the document path contains spaces,
526 output it in double quotes.
528 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
530 * rowpainter.C: use default text height for drawing change tracker
533 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
535 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
537 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
540 directory is missing.
542 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
544 * text2.C: fixed the fix, extended to other case.
546 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
548 * text2.C: fix for cursor up/down stuck in math [bug 1792]
550 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
552 * text2.C (cursorUp): get rid of a crash
553 * text.C (x2pos): add an assert
555 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * lyxfunc.C (getStatus): fix warning when assertions are disabled
561 * dociterator.C: include <boost/current_function.hpp>, which is
562 needed when assertions are disabled.
564 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
566 * text2.C: fix for stuck cursor when traversing two
567 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
569 2005-02-25 Andreas Vox <avox@arcor.de>
571 * output_docbook.C (makeParagraph): suppress trailing newline
572 after a run of paragraphs
574 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
576 * paragraph.C: fix for confused change tracker when pasting
577 text that begins with a lineseparator. [bug 1827]
578 (setChange(0, Change::INSERTED);)
580 * paragraph_funcs.C: fix for lost changes on triple-paste
581 in change tracking mode [bug 1827] (par.setChange()).
583 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
585 * text2.C (updateCounters, setCounter, expandLabel): move to
588 * buffer_funcs.C (updateCounters): turn into a free standing
589 function and add a buffer parameter. Remove dead code for tracking
591 (setCounter): change into a free-standing function which gets a
592 dociterator as argument. Use this iterator to fix captions in a
593 simple way. When no float is found above the caption, use the
594 labelstring of the caption layout as default.
596 * text.C (breakParagraph, backspace):
597 * text2.C (init, setLayout, changeDepth):
598 * text3.C (dispatch):
599 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
602 * dociterator.C (forwardPar): make it much faster by calling
603 forwardPos() only when really necessary.
605 * output_docbook.C (makeCommand): adapt to expandLabel move.
607 * cursor.C: remove unused variable
609 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
611 * paragraph_funcs.C: fix crash when pasting insets in change
612 tracking mode [bug 1277] (honour change type in moveItem).
614 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
616 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
618 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
620 * BufferView.C (setCursor): change to use a DocIterator.
621 (gotoLabel): use BufferView::setCursor (other part of bug 781).
622 (putSelectionAt): adapt to BufferView::setCursor change.
624 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
625 moved here from LyXText and rewritten to use proper cursor
626 methods. Fixes bug 1787, 616 and 835.
628 * BufferView_pimpl.C (restorePosition): set the cursor correctly
629 when inside an inset (part of bug 781).
630 (dispatch): adapt to change of BufferView::setCursor.
631 (getStatus, dispatch): handle LFUN_GOTOERROR,
632 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
634 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
635 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
636 * text3.C (gotoNextInset, gotoInset): removed.
638 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
640 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
642 2005-02-15 Angus Leeming <leeming@lyx.org>
644 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
645 can be used meaningfully in a comparison.
647 2005-02-13 André Pönitz <poenitz@gmx.net>
649 * bufferview_funcs.C (coordOffset): improve cursor drawing
651 2005-02-13 André Pönitz <poenitz@gmx.net>
653 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
654 * Cursor.C (dispatch): use fixIfBroken
655 * lyxfunc.C (getStatus): use fixIfBroken
657 2005-02-15 Angus Leeming <leeming@lyx.org>
659 * lyx_main.C (error_handler):
661 * lyxrc.C (setDefaults):
663 #include "environment.h".
665 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
667 2005-02-15 Angus Leeming <leeming@lyx.org>
669 * lyxserver.C (startPipe): squash MSVC warning "local variable
670 'fd' used without having been initialized".
672 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
674 * BufferView_pimpl.C: revert accidental commit.
676 2005-02-14 André Pönitz <poenitz@gmx.net>
678 * dociterator.[Ch]: new member forwardPosNoDescent(),
679 which doesn't enter nested insets.
680 * text2.C (setFont): use forwardPosNoDescent() instead
681 of ForwardPos() (fixes crash on font change).
683 2005-02-13 Angus Leeming <leeming@lyx.org>
685 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
686 only if lyxrc.path_prefix is not empty.
688 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
690 * bufferparams.C (readGraphicsDriver): prevent crash
692 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * text2.C (setCounter): check for inInset() == 0
696 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
699 but use update() to get correct screen display; use convert
700 instead of istringstream.
701 (getStatus): handle LFUN_GOTO_PARAGRAPH
703 * lyxfunc.C (dispatch, getStatus): do not handle
704 LFUN_GOTO_PARAGRAPH here.
706 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
708 * text3.C (dispatch): size() -> depth()
710 * text2.C: remove some debug output
712 * paragraph.C: ws changes only
714 * lyxfunc.C (getStatus): size() -> depth()
716 * dociterator.h (clear, push_back, pop_back, internalData,
717 operator[], resize, empty): new functions
718 Make StableDocIterator and operator== be friends. Don't inherit
719 from std::vector use a privat class variable slices_ instead.
722 * dociterator.C: update because of not inheriting from std::vector
723 anymore. Call explictly to slices_ instead. Use depth() instead of
724 size() and top() instead of back()
726 * cursor.C: chagne size() -> depth and back() -> top(). Also
727 remove some direct operator[](i) calls in favour of foo[i]
728 (getFont): remove some dead code
730 * bufferview_funcs.C (coordOffset): size() -> depth()
732 * buffer.C: ws changes only
734 * CutAndPaste.C (eraseSelection): back() -> top()
736 * BufferView_pimpl.C (selectionRequested): back() -> top()
738 * BufferView.C (setCursor): size() -> depth()
740 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * text3.C (cursorPrevious): return true if depm changed something
744 (dispatch): rename sl to oldTopSlice, remove moving use the new
745 NoUpdate func attrib instead. Make sure that needsUpdate is set
746 for function that have NoUpdate, but where depm might have changed
749 * text2.C (cursorLeft): make us return true if depm changed
752 (cursorUpParagraph): ditto
753 (curosrDownParagraph): ditto
754 (cursorUp, cursorDown): ditto, make sure to read comments in code
755 (deleteEmptyParagraphMechanism): remove an assert, also return
756 true if just a single char was deleted.
758 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
759 cursor that we modify, to avoid modifying an active cursor before
760 we call setCursor. This allows depm to run. Also return true if
761 depm deleted something.
763 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
764 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
765 cursorDownParagraph, cursorPrevious and cursorNext, return true if
766 something was changed in the buffer because of them (ie. depm run)
768 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
769 debug messages. Make update by default be false. Make sure that
770 the result of update is retained throught several calls down to
773 * LyXAction.h: add a new func_attrib: NoUpdate
775 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
776 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
777 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
779 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
781 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
784 bv_->owner(), bv_->buffer() by direct references to the private
786 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
787 (getStatus): isSavedPosition() is in BufferView::Pimpl.
788 (fitCursor): center() is in BufferView::Pimpl.
789 (getStatus, trackChanges, dispatch): no need for a temporary buf
791 (fitCursor, workAreaDispatch): use workarea().workheight()
793 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
795 * CutAndPaste.C (pasteSelectionHelper): fix a crash
797 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
799 * buffer.C: format up to 241.
800 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
801 break if pasting into ERT
802 * lyxfunc.C (getStatus): suppress mathpanel and
803 LFUN_DIALOG_SHOW_NEW_INSET in ERT
805 2005-02-01 Angus Leeming <leeming@lyx.org>
807 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
809 2005-02-01 Angus Leeming <leeming@lyx.org>
811 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
812 calling fs::is_directory().
814 2005-01-31 Angus Leeming <leeming@lyx.org>
816 * lyx_main.C (priv_exec): specify explicitly the relative location
817 of the top level build directory when run in-place.
819 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
821 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
822 LyXText containing the cursor, not the top-level one.
824 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
826 (insertStringAsLines): rename par to pit; use temporary variable
827 par to hold a Paragraph; do not store par.layout() in a variable,
828 since the pointer may die when breaking paragraphs; pass pars to
829 breakParagraph() instead of Buffer::paragraphs().
831 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
833 * lyxlex_pimpl.h: #include <fstream>.
835 * BufferView.[Ch] (getLyXText): add a const version.
837 * BufferView_pimpl.C: add debug aids.
842 * paragraph_funcs.h: add commentary explaining what the class does.
845 * coordcache.[Ch]: add lots of commentary.
846 (startUpdating, doneUpdating): debug aids.
847 (arrays, insets, parPos, getParPos): accessors to private data.
849 * cursor_slice.[Ch] (text): add a const version.
850 * dociterator.[Ch] (text, innerText): add const versions.
852 * lyxtext.h (breakParagraph): change the keep_layout arg to a
855 * paragraph.C (getRow, pos2ros): add asserts.
857 * paragraph.h: add commentary. Lots of.
859 * paragraph.[Ch] (metrucs, draw): removed.
862 * rowpainter.[Ch]: const-correct changes.
864 * text.C: various obvious clean-ups. Removal of ancient cruft.
867 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
869 * vc-backend.C (find_file): rewrite to use boost.filesystem
872 * main.C (main): set default name check for boost.filesystem to
875 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
878 (actOnUpdatedPrefs): ditto
880 * lyx_main.C (init): rewrite to use boost.filesystem
881 (queryUserLyXDir): ditto
883 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
884 (getContentsOfAsciiFile): ditto
886 * lastfiles.C (readFile): rewrite to use boost.filesystem
888 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
890 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
893 * buffer.C (Buffer): adjust for destroydir
894 (getLogName): rewrite to use boost.filesystem
896 (save): use fs::copy_file (from fs_extras)
898 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
900 * LaTeX.C (run): rewrite to use boost.filesystem
901 (scanAuxFiles): ditto
902 (handleFoundFile): ditto
904 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
906 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
908 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
910 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
912 * lyxlayout.[Ch]: change some vars from float to double
914 * buffer.C (readFile): make a local var const
916 * Several files: use convert<> instead of atoi,strToXXX and friends
918 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
920 * LaTeXFeatures.[Ch]: Add a static list packages_ that
921 holds the contents of packages.lst. New functions getAvailable
922 and isAvailable to parse and check that list, resp.
926 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
928 * bufferparams.[Ch]: new param output_changes.
930 * Buffer.C: increase file format to 240.
931 Use output_changes and isVailable.
935 * paragraph_pimpl.C: Use output_changes and isVailable.
937 2005-01-23 Angus Leeming <leeming@lyx.org>
939 * output_latex.C: #include "insetbibitem.h", rather than
940 forward declare function bibitemWidest.
942 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
944 * lyx_main.C (init): make it compile on the Mac.
946 2005-01-20 Angus Leeming <leeming@lyx.org>
948 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
949 (setLyXMisc): (char string literal) != (char string literal) is
950 performing a comparison on the addresses. Convert one operand
951 explicitly to string to guarantee expected behaviour.
954 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
957 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
959 * output_plaintext.C: remove unneeded #include gzstream.h.
961 2005-01-20 Angus Leeming <leeming@lyx.org>
963 * SpellBase.h: rename some of the elements of the Result enum.
970 * pspell.C (check): ditto
972 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
974 * buffer.C: add #include <fstream>.
976 * lyx_main.C (init): Compile fix.
978 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
980 2005-01-20 Angus Leeming <leeming@lyx.org>
982 * mover.h: change commentary to reflect the changed meaning of
985 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
987 * output_linuxdoc.C (linuxdocParagraphs): silence warning
989 * lyxfind.C (MatchString::operator()): remove bogus semicolon
991 2005-01-20 Angus Leeming <leeming@lyx.org>
993 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
994 printing diagnostic data by not dereferecing an iterator past the
997 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
999 * buffer.C (readHeader): use "&&" rather than "and".
1001 * lyxserver.h (inPipeName, outPipeName): make these const.
1003 2005-01-19 Angus Leeming <leeming@lyx.org>
1005 * lyx_main.C (error_handler, init): protect SIGHUP with
1006 #ifdef SIGHUP guards.
1008 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1010 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1012 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * text.C (setHeightOfRow): add a margin at the top and bottom of
1015 the document (bug 1761)
1017 2005-01-17 Angus Leeming <leeming@lyx.org>
1019 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1020 with "python ". Workaround for a brain-dead Windows.
1022 2005-01-16 Angus Leeming <leeming@lyx.org>
1024 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1025 for MacOSX and Windows to use prependEnvPath.
1026 Strip out the hard-coded block to add elements to the PATH for
1027 MacOSX and replace it with a call to prependEnvPath using the
1028 contents of LyXRC::path_prefix.
1029 (queryUserLyXDir): strip out the code to run reconfigure, instead
1030 returning a boolean indicating the necessity to do so.
1031 (reconfigureUserLyXDir): contains the code to reconfigure the
1032 user support directory. Is now called after the various LyXRC data
1033 files have been read.
1035 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1037 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1039 * converter.[Ch] (convert): take a new parameter try_default. Use
1040 a default converter (imagemagick) if try_default is true.
1042 2005-01-13 Angus Leeming <leeming@lyx.org>
1044 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1045 os::cygwin_path_fix.
1046 (write): output LyXRC::cygwin_path_fix as necessary.
1048 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1051 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1053 2005-01-12 Angus Leeming <leeming@lyx.org>
1055 * lyx_main.C (init): set the PATH variable to include the
1056 directory containing the LyX binary when running on Mac or Windows.
1058 2005-01-12 Angus Leeming <leeming@lyx.org>
1060 * lyx_main.C (init): remove cruft that purports to set the locale
1061 dir. It doesn't and is not needed anyway.
1063 2005-01-10 Angus Leeming <leeming@lyx.org>
1065 * Makefile.am: remove the lyx_main.C special casing.
1067 * BufferView_pimpl.C:
1073 * messages.C: use support/package.h to provide the paths to the
1074 various directories used by LyX.
1076 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1078 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1079 layout if pasting into an empty paragraph)
1081 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1083 * tex-accent.C: add <string>
1085 2005-01-06 José Matos <jamatos@lyx.org>
1087 * ParagraphParameters.C (write): put every parameter in its own line.
1088 * paragraph.C (write): reduce number of consecutive empty lines exported.
1089 * buffer.C (LYX_FORMAT): increase file format to 239.
1091 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1093 * everywhere: change support/tostr.h -> support/convert.h
1095 * tabular.C: make all write_attributes templates, tostr -> convert
1097 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1098 (emptyTag): and -> &&, and fix type for ret from getChar
1099 (getFirstWord): fix type for ret from getChar
1100 (onlyText): and -> &&
1101 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1104 * toc.C (goTo, action):
1105 * text3.C (dispatch):
1106 * text.C (currentState):
1107 * tex-accent.C (DoAccent):
1110 * lyxfunc.C (menuNew):
1111 * lyxfinc.C (replace):
1112 * counters.C (laberItem):
1113 * bufferview_funcs.C (font2string):
1114 * bufferparams.C (writeFile):
1115 * buffer.C (readFile):
1117 * MenuBackend.C: tostr -> convert
1119 * LaTeX.C (runMessage): fix format
1120 (scanAuxFiles): tostr -> convert
1122 * BufferView_pimpl.C (savePosition): fix format
1123 (restorePosition): ditto
1126 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1128 * Spacing.[Ch]: New method getValueAsString().
1132 * ParagraphParameters.C:
1135 * text3.C: store/read spacing value as string.
1137 * rowpainter.C: change float value (spacing_val) to double.
1139 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1140 broken custom document spacing).
1142 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1144 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1145 namespace, also more use of temp references and const
1147 * cursor.[Ch] (getStatus): move to lyxfunc.C
1149 * bufferparams.C: reformat slightly
1151 * bufferview_funcs.C (font2string): constify arg
1157 * buffer_funcs.C: (many funcs): constify arg on function
1158 definitions, also make more local vars const, also add ASSERTS on
1161 * buffer.C (LYX_FORMAT): put const in correct place
1162 (many funcs): constify arg on function definitions, also make
1163 more local vars const
1165 * aspell_local.h: remove "struct" from typdef setup
1167 * aspell.C (check): make word_ok const
1168 (nextMiss): simplify slightly
1171 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1173 * lyxrc.[Ch]: store all float values as strings.
1174 use int (not float) for lyxrc.dpi.
1176 2005-01-04 Angus Leeming <leeming@lyx.org>
1178 * lyx_cb.C (Reconfigure):
1179 * lyx_main.C (queryUserLyXDir):
1180 to run the <system_lyxdir>/configure correctly on Windows, prefix
1181 the path to the script with "sh " when generating the string that
1182 is passed to system().
1184 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1186 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1188 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1190 * lyxlength.C (asLatexString): get rid of setprecision
1192 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1194 * text2.C (setLayout): remove unused variable endpit.
1195 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1197 * paragraph.C (onlyText): remove unused variable style.
1199 * cursor.C (bruteFind): remove unused variables beg and end.
1201 * Makefile.am (dist_noinset_DATA): not needed anymore
1203 * cheaders/*: remove.
1205 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1207 * text3.C: fix LFUN_MATH_MODE.
1209 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * buffer_funcs.C (countWords): new function. Counts words between
1214 * BufferView_pimpl.C (getStatus, dispatch): handle
1217 * LyXAction.C (init):
1218 * lfuns.h: add LFUN_WORDS_COUNT.
1220 2004-12-19 Angus Leeming <leeming@lyx.org>
1222 * buffer.C (save): s/slashify_path/internal_path/.
1224 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1226 * lyxfind.C (findChange): do not search for end of pars, because
1227 the change tracker cannot handle this (fixes bug 1719).
1229 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1231 * paragraph.[Ch] (autoBreakRows): remove
1233 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1235 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1236 avoid using the paragraph one
1238 * text2.C (LyXText, insertStringAsLines): adjust
1240 2004-12-16 Angus Leeming <leeming@lyx.org>
1244 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1246 2004-12-14 Angus Leeming <leeming@lyx.org>
1248 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1250 * bufferlist.C (emergencyWrite):
1251 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1254 2004-12-14 Angus Leeming <leeming@lyx.org>
1256 * main.C: (main): no longer pass pointers to os::init.
1258 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1260 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1261 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1263 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1266 * text3.C: remove selection_possible global flag
1268 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1270 * text2.C (getSelectionSpan): remove
1271 (changeDepth, changeDepthAllowed): adjust
1273 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1275 * Makefile.am (BOOST_LIBS): use boost variables
1277 2004-12-03 José Matos <jamatos@lyx.org>
1279 * buffer.C: format up to 238.
1281 2004-12-03 José Matos <jamatos@lyx.org>
1283 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1285 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1287 * cursor.C (goUpDown): remove call to idxUpDown2
1289 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1291 * tabular.[Ch]: use size_t-like types for cell, row and column
1294 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1296 * lyxfunc.C (getStatus): do not lose previous information when
1297 calling BufferView::getStatus; do not set a default "Command
1298 disabled" message at the beginning, but just before returning.
1300 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1302 * cursor.h (getStatus): add better comment from src/cursor.C
1304 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * text3.C (getStatus): return false when the lfun is not handled
1308 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1310 * broken_headers.h: remove
1312 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1314 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1316 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1317 offset_ref accessors
1319 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1320 top_y_, merge fitcursor with update
1321 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1323 (metrics): introduce
1324 (workAreaDispatch): adapt to new coord scheme
1325 (redoCurrentBuffer): remove
1327 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1329 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1332 * coordcache.[Ch]: add paragraph cache and helpers
1334 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1337 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1338 (targetX, setTargetX): introduce
1340 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1341 baseline -> ascent, as the rest of lyx
1343 * lyxtext.h: remove redoParagraphs, updateParPositions,
1344 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1345 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1346 have ascent/descent (ascent is ascent of first par)
1348 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1351 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1353 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1355 * pariterator.C: fix infinite loop introduced in par->pit renaming
1357 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1358 in insets and LyXText, draw two off-screen paragraphs using
1359 NullPainter, and adapt to new coord scheme
1363 * text3.C: adapt lfun handlers to the new coord scheme, which
1364 means: there's only guaranteed coord information for onscreen pars
1365 plus one above and one below. This implies that one can do search
1366 from y coordinates in the range [-1,workHeight]
1368 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1370 * rename a lot of InsetOld to InsetBase
1372 2004-11-25 Angus Leeming <leeming@lyx.org>
1374 * BufferView_pimpl.C:
1376 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1378 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1380 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1381 call BufferView::getStatus if LCursor::getStatus did nothing
1382 (setStatusMessage, getStatusMessage): removed.
1384 * FuncStatus.C (message): new methods. Used to provide an error
1385 message indicating why a command is disabled.
1386 (clear, |=, FuncStatus): update for message.
1388 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1390 * lyxfunc.C (dispatch): always call sendDispatchMessage
1392 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1395 * BufferView_pimpl.C:
1400 * cursor_slice.[Ch]:
1403 * paragraph_funcs.C:
1409 * undo.C: par->pit renaming
1411 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1413 * tabular.C (cellstruct): use initialization, store a shared_ptr
1414 to insettext instead of the insettext directly, adjust to fit.
1415 (operator=): new function
1416 (swap): new function
1417 (rowstruct): use initialization
1418 (columnstruct): use initialization
1419 (ltType): use initialization
1422 * lyxlength.h (swap): new function
1424 * LColor.[Ch] (operator=): use the common semantics
1426 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 * lyxfind.C (findNextChange): update the bufferview after setting
1431 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1433 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1434 number of InsetOptArgs has already been inserted.
1436 * output_latex.C (latexOptArgInsets): new method. This outputs all
1437 the optarg insets, up to the limit defined in the layout file.
1438 (optArgInset): removed
1439 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1441 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 * paragraph.C (isLetter): remove special spellchecker-related
1444 code; return true also for digits
1445 (isWord, isKomma): remove
1447 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1448 * lyxfind.C (MatchString()): use isLetter instead of isWord
1450 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1452 * pariterator.h (operatir=): comment out un-implemented member
1455 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1458 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1460 * lyxfont.h: include LColor.h to satisfy concept checks.
1462 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1464 * pariterator.h: add typdefs for value_type, difference_type,
1465 pointer and reference to satisfy concept checks. Also add default
1466 constructor for same reason.
1468 * pariterator.C (operator++): add post-increment operator to
1469 satisfy concept checks.
1471 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1474 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1476 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1477 checks. Also rename base_type to BaseType to follow naming
1480 * FloatList.h: include Floating.h to satisfy concept checks.
1482 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * lyxfunc.C (getStatus): when the origin of the request is menu or
1485 toolbar, and the LyXView does not have focus, do as if there was
1486 no buffer (bug 1720)
1488 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1489 FuncRequest to individual entries of LFUN_SEQUENCE
1491 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1493 * output_latex.C (TeXOnePar): override runparams.moving_arg
1494 according to the needprotect value of the current paragraph (bug
1497 * paragraph.C (simpleTeXOnePar): no need to override
1498 runparams.moving_args here
1500 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1502 * vspace.C: fix off-by-one-error, related to fix #1682
1504 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1506 * lengthcommon.C: a more general fix for bug 1682
1508 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1510 * text.C (backspace): fix crash
1512 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1514 * format.[Ch] (getFormatFromFile): new method
1515 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1517 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1521 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1523 * lyxfunc.C (dispatch): remove the verbose argument
1524 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1527 * kbmap.C (defkey): set the origin of func to KEYBOARD
1529 * MenuBackend.C (MenuItem):
1530 * ToolbarBackend.C (add): set the origin of func to UI
1532 * funcrequest.[Ch]: add origin member, which indicates which part
1533 of LyX requests an action
1535 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1537 * converter.C (move): don't lie in the error message
1538 * converter.h (isReachable, move): document
1540 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1542 * buffer.C: remove unused using lyx::support::atoi
1543 * paragraph_funcs.C: ditto
1545 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1547 * bufferlist.C (exists): use bind and equal_to instead of
1550 * lyxtextclasslist.C (NumberOfClass): ditto
1552 * cursor.C (insert): use for_each instead of explicit for loop
1554 * bufferlist.C (getFileNames): use std::transform and
1555 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1557 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1560 * buffer.C (changeLanguage): use for_each instead of explicit for
1562 (hasParWithID): implement using getParFromID
1564 * LaTeXFeatures.C: ws change only
1566 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1569 * BufferView_pimpl.C (trackChanges): use for_each instead of
1572 2004-11-04 André Pönitz <poenitz@gmx.net>
1575 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1577 * dociterator.C (asDocIterator): use hard assert again.
1579 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 * lyxlength.C (asLatexString): rewrite so that it does not use
1584 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1586 * text3.C (specialChar, dispatch): make sure cursor moves to the
1587 right after inserting an inset
1589 2004-11-02 José Matos <jamatos@lyx.org>
1591 * output_docbook.C (docbook):
1592 * paragraph.C (getID):
1593 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1594 garantee that the output is always legal.
1596 * tabular.C (docbook):
1597 * outputprams.[Ch]: remove mixed contents.
1599 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1601 * text2.C (setCounter): prevent endless loop
1603 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1605 * exporter.C (copyFile): use the mover instead of support::copy()
1606 * exporter.C (Export): pass format and latex name to copyFile()
1607 * exporter.h (addExternalFile): document
1608 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1610 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1612 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1614 2004-10-30 José Matos <jamatos@lyx.org>
1616 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1617 text and no inset or font change. This allows to use CDATA
1618 sections just for the whole paragraph.
1620 2004-10-30 José Matos <jamatos@lyx.org>
1622 * paragraph.C (getFirstWord): remove unused variable.
1624 2004-10-30 José Matos <jamatos@lyx.org>
1626 * paragraph.C (getFirstWord): the content should always be escaped
1628 (simpleDocBookOnePar):
1629 * output_docbook.C (makeEnvironment): replace reference to CDATA
1632 2004-10-30 José Matos <jamatos@lyx.org>
1634 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1636 2004-10-30 José Matos <jamatos@lyx.org>
1638 * output_docbook.C (makeParagraphs):
1639 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1640 standard paragraph has only a given type of content drop the wrapper.
1642 2004-10-29 José Matos <jamatos@lyx.org>
1644 * output_docbook.C (makeEnvironment):
1646 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1648 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1650 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1651 (cleanID): sanitize any id.
1653 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1655 * buffer.C, lyxlex_pimpl.C:
1656 * lyxlex_pimpl.C (setFile):
1657 s/getExtFromContents/getFormatFromContents/
1659 2004-10-28 José Matos <jamatos@lyx.org>
1661 * output_docbook.C (makeEnvironment): move id to broadest possible
1664 * sgml.C (openTag): apply substitution of <> for all attributes.
1666 2004-10-28 José Matos <jamatos@lyx.org>
1668 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1669 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1670 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1672 * sgml.[Ch]: new version for open and closeTag for paragraph and
1673 for strings. Now they handle the ids of paragraphs.
1675 2004-10-26 Angus Leeming <leeming@lyx.org>
1677 * Makefile.am: add mover.[Ch].
1679 * converter.C (convert, move): use the new Movers to move external
1680 files to the temp directory.
1682 * lyx_main.C (init): ensure that the global system_movers data
1685 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1688 * mover.[Ch]: new files, defining a Mover as a utility to move an
1689 external file between directories and, if necessary, manipulate this
1690 file using a helper script.
1692 2004-10-25 José Matos <jamatos@lyx.org>
1694 * output_docbook.C (makeCommand): merge two if's that tested the
1697 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1699 * sgml.C (escapeString): fix warning in a better way
1701 2004-10-25 José Matos <jamatos@lyx.org>
1703 * sgml.C (escapeString): import the require boosts header file for
1704 tie, and avoid a signed unsigned comparison.
1706 2004-10-25 José Matos <jamatos@lyx.org>
1708 * sgml.h: add #include <string>
1710 2004-10-25 José Matos <jamatos@lyx.org>
1712 * sgml.[Ch] (escapeString): new function to escape all the string.
1714 2004-10-24 José Matos <jamatos@lyx.org>
1716 * paragraph.[Ch] (getFirstWord): new function to get the first
1717 word. Useful for description.
1718 (simpleDocBookOnePar): remove depth argument, add another that
1719 says where to start the paragraph.
1721 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1722 use the new functions to fix cleanly the support for descriptions.
1724 2004-10-24 José Matos <jamatos@lyx.org>
1726 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1727 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1728 * output_linuxdoc.C (linuxdocParagraphs):
1729 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1730 add buffer as argument.
1732 2004-10-24 José Matos <jamatos@lyx.org>
1734 * output_docbook.C (makeEnvironment, searchEnvironment): place
1735 CDATA inside paragraphs and fix scope for listitems.
1737 2004-10-24 José Matos <jamatos@lyx.org>
1739 * output_docbook.C: remove using statement for stack.
1741 2004-10-23 José Matos <jamatos@lyx.org>
1743 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1744 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1745 docbook. The new scheme is recursive and makes use of iterators, the
1746 same as latex export works.
1747 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1748 directly with the paragraph contents. This code was moved up to
1749 output_docbook.C (docbookParagraphs).
1750 * sgml.C (openTag, closeTag): removed unneeded newlines.
1751 (closeEnvTags) removed.
1753 2004-10-23 André Pönitz <poenitz@gmx.net>
1755 * undo.C (textUndoOrRedo):
1756 * dociterator.C (asDocIterator): work around crash
1758 * cursor.C (getStatus): replace ASSERT by more verbose error message
1759 and manual correction of the problem. Should increase stability
1760 while providing more sensible information.
1762 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1764 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1766 * bufferlist.C (previous, next): new methods
1769 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1771 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1773 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1774 entities to preamble.
1776 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1778 * messages.C (Pimpl): strip off translation context information
1780 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1782 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1783 the cursor is correct (bug 1694)
1785 2004-10-13 José Matos <jamatos@lyx.org>
1787 * output_docbook.C (docbookParagraphs): fix closing tags in the
1788 end of the document.
1790 2004-10-09 José Matos <jamatos@lyx.org>
1792 * buffer.C: format up to 237.
1793 * bufferparams.C (write): use tostr to convert booleans to strings.
1795 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1797 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1799 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1801 * LaTeX.C: implement use of babel language in xindy.
1803 2004-10-05 José Matos <jamatos@lyx.org>
1805 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1806 Add new translators to help reading and writing the lyx file.
1808 2004-10-05 José Matos <jamatos@lyx.org>
1810 * ParagraphParameters.C (read):
1811 * text.C (readParToken): replace nexToken by more appropriate lex
1814 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1816 * LaTeX.C (runMakeIndex):
1817 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1818 (usually 'makeindex') configurable.
1820 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1821 with a variable rather than with a number.
1823 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1825 * output_latex.C (TeXOnePar): make sure font setting is the first
1826 thing that gets output (and the last at the end). Should fix bug
1829 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1831 * pch.h: use proper signal include
1833 * LaTeX.h: Use preferred calling of Boost.Signal
1836 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1838 * pch.h: dont include <boost/function/function0.hpp>
1840 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1842 * paragraph_pimpl.h: remove usage of ShareContainer
1844 * paragraph_pimpl.C: remove initialization of ShareContainer.
1846 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1850 * BufferView.C (putSelectionAt): change the semantics when
1851 backwards == true: now, this just swaps cursor and anchor wrt the
1854 * BufferView.h (putSelectionAt): add some documentation
1856 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1857 make sure backwardChar is done at least once (to avoid getting
1859 (findNextChange): use putSelectionAt in the forward direction
1860 (operator()): use Paragraph::isWord
1862 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1864 * Spacing.C (set): c_str fix
1866 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1868 * lyx_cb.C (Reconfigure): quote the name of configure script in
1869 case it contains spaces
1871 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1875 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1876 (BOOST_LIBS): use top_buildir when looking for the file
1878 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1880 * pch.h: do not use include boost/format.hpp, multiple symbols
1881 will result (gcc bug)
1884 2004-08-23 José Matos <jamatos@lyx.org>
1886 * bufferparams.C (readToken): fix reading of the author field.
1888 2004-08-20 José Matos <jamatos@lyx.org>
1890 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1892 2004-08-20 José Matos <jamatos@lyx.org>
1894 * lyxlex.[Ch] (findToken): remove function.
1896 * ParagraphParameters.C (findToken):
1897 * bufferparams.C (findToken): replace call for previous function
1898 with local copy. This local function has one more argument, the
1899 read string argument.
1901 2004-08-16 José Matos <jamatos@lyx.org>
1903 * ParagraphParameters.C (write):
1904 * Spacing.C (writeFile):
1905 * bufferparams.C (writeLaTeX):
1906 * lyx_cb.C (Reconfigure):
1907 * paragraph.C (write):
1908 * tabular.C (write): remove unnecessary space at end of line.
1911 2004-08-16 José Matos <jamatos@lyx.org>
1913 * text.C (readParagraph): remove debug message.
1915 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1917 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1920 * output_plaintext.C (asciiParagraph): set depth correctly
1922 * outputparams.h: add member depth
1924 * paragraph_funcs.C (ownerPar): remove.
1926 * text2.C (setCounter): remove first_pit; comment out some
1927 non-working code that uses ownerPar
1929 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1932 2004-08-16 José Matos <jamatos@lyx.org>
1934 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1935 For the same level of importance use the same chanel to report problems.
1936 (read): add code to deal with \begin_body and \end_body.
1939 2004-08-15 José Matos <jamatos@lyx.org>
1941 * lyxlex.C (getString): fix comment, buffer::readBody is now
1942 buffer:readDocument.
1944 * tex-strings.C (string_papersize): Default -> default,
1945 Custom -> custom, for consistency with other options.
1947 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1951 * Makefile.am: support pch
1953 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * text.C (readParToken): remove the static LyXFont variable and
1956 pass it as a parameter instead. This fixes a nasty bug where an
1957 inset will be inserted with a bad font in some situations
1958 (readParagraph): adapt
1960 * text2.C (setCounter): reduce number of calls to pars_[pit]
1962 * text.C (singleWidth): add an assert, fix a test
1964 * rowpainter.C (paintText): reduce number of calls to singleWidth
1966 * paragraph.C (isHfill):
1967 (isNewline): ws only
1969 2004-08-14 André Pönitz <poenitz@gmx.net>
1974 * lyxtext.h (several functions): use a Paragraph & argument
1977 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1979 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1981 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1983 * text.C (singleWidth): remove useless test
1985 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * tabular.h: remove bogus comments
1989 * tabular.C (getDescentOfRow):
1990 (isPartOfMultiColumn): add assertions
1992 * lyxlength.C (inPixels): remove #warning
1994 2004-08-14 André Pönitz <poenitz@gmx.net>
1996 * paragraph.h: inline getChar()
1998 * BufferView.h: remove unused declarations
2000 2004-08-14 José Matos <jamatos@lyx.org>
2002 * Buffer.[Ch] (readDocument): new name for old readBody.
2003 * Buffer.C: new file format, new keywords: \begin_document,
2004 \begin_header, \begin_body, \end_body.
2006 * bufferparams.C (readToken): replace all calls to lex.nextToken
2007 by lex.next(). Do the same to eatLine except where really needed.
2009 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2010 line when writing to the lyx file.
2012 * output_plaintext.C (asciiParagraph): fix Bibliography style
2015 * text.C (read): fix end of file handling.
2017 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2019 * MenuBackend.C (Menu::operator[]): new method to access
2020 individual menu items
2021 (Menu::hasFunc): new method. search for an item that corresponds
2023 (MenuBackend::specialMenu): new method
2024 (MenuBackend::expand): if a special menu has been set, skip
2025 entries whose func() appears in this menu
2027 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2029 * text3.C: use Debug::DEBUG a bit more
2031 * text.C (leftMargin): try to simplify a tiny bit change var x to
2032 l_margin. Dont output the wide margins always.
2033 (rightMargin): no margin in inner texts
2035 * rowpainter.h (nestMargin): new func
2036 (changebarMargin): new func
2037 (rightMargin): new func
2039 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2043 * factory.C (createInset): modify setDrawFrame
2045 * cursor.C: use Debug::DEBUG a bit more
2047 2004-08-14 André Pönitz <poenitz@gmx.net>
2050 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2051 cache for all insets in (at least partially) visible (top-level)
2054 * BufferView_pimpl.C: reset external coord cache before every update.
2055 This means the coord cache only contains valid entries.
2057 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2060 * BufferView_pimpl.C (getInsetByCode): move function out of class
2061 and change in to a template in anon namespace. Also fix to do what
2064 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2067 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2069 (breakParagraph): rename par to par_offset and use a local
2070 reference. Add code to keep the language over a rebreak.
2071 (breakParagraphConservative): rename par to par_offset, use a
2073 (mergeParagraph): ditto
2075 (isFirstInSequence): ditto
2076 (outerFont): rename pit to par_offset
2078 * paragraph.C: ws change
2079 * paragraph.h: ditto
2083 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2085 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2088 * paragraph.C (simpleTeXOnePar): when we have a \item with
2089 optional argument, enclose the argument with curly brackets (in
2090 case it contains a closing square bracket)
2094 * text3.C (checkInsetHit): constify
2096 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2099 documents (bug 1629)
2101 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2103 Fix toggling of collapsable insets with the mouse (bug 1558)
2105 * lyxfunc.C (dispatch): adapt to LCursor changes
2107 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2108 make sure that dispatch is not invoked twice
2110 * cursor.C (needsUpdate): new method
2111 (dispatch): return void
2112 (result): new method, to access the DispatchResult of the cursor.
2114 2004-08-13 José Matos <jamatos@lyx.org>
2116 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2118 2004-08-13 André Pönitz <poenitz@gmx.net>
2120 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2122 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2125 2004-08-12 André Pönitz <poenitz@gmx.net>
2127 * text3.C: take out the 'cursor right' form insertInset and only
2128 do it in those places when it is really needed. Fixes crash on
2131 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2133 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2135 * BufferView_pimpl.C (setBuffer): initialize the current font of
2136 the underlying LyXText
2138 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2140 * kbsequence.C (print): use UI native formatting for menu
2143 * text.C (insertChar): call Paragraph::insertChar with a font
2146 * paragraph.C (insertInset, insertChar): the version that takes a
2147 LyXFont argument is now a wrapper around the other one (the
2148 opposite used to be true).
2150 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2151 argument. Font setting is done in Paragraph now.
2153 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2155 * outputparams.h: add new members intitle and lang.
2157 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2158 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2160 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2162 * text3.C (dispatch): remove special handling of button 4 and 5,
2163 it is now taken care of in the frontend code.
2165 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2167 * Spacing.h: add <string> (STLPort compile fix)
2169 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2171 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2173 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2175 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2178 * converter.C (showMessage): inherit from unary_function, make
2181 * buffer.C (writeFile): initialize retval
2183 * InsetList.h: rename private variable list to list_
2184 * InsetList.[Ch]: adjust accordingly.
2186 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2188 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2189 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2190 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2191 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2192 * ParagraphParameters.C, LaTeXFeatures.C: replace
2193 "support/std_sstream.h" with <sstream>
2195 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2197 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2198 * lyxsocket.C (LyXServerSocket): ditto
2199 (serverCallback): ditto
2201 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2203 * LaTeXFeatures.C: check release date when loading jurabib.
2205 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2207 * lyxserver.C (startPipe): call register_socket_callback
2208 (endPipe): call unregister_socket_callback
2210 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2212 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2213 (LyXServerSocket): register the callback
2214 (LyXServerSocket): unregister the callback
2215 (fd): delete function
2216 (serverCallback): improve error checking and setup the callbacks.
2217 (dataCallback): change arg to fd.
2218 (writeln): new func (copied fro the client socket) used for server
2220 (LyXDataSocket): simplify
2221 (~LyXDataSocket): close ann unregiser callback
2222 (server): delete function
2223 (fd): delete function
2224 (readln): small changes, improve some std::string usage
2225 (writeln): constify a bit
2227 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2229 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2232 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2234 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2235 after it has been populated
2237 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2239 * text2.C (insertInset): move cursor when inserting inset.
2241 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2243 * kbmap.C (findbindings): a couple of new methods. returns a
2244 container of kb_sequence objects. The real work is done by the
2245 private recursive version
2246 (printbindings): uses findbindings to print out a bracketed list
2247 of bindings (renamed from findbinding).
2249 * MenuBackend.C (binding): use kb_keymap::findbindings
2251 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2253 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2255 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2257 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2259 * paragraph.C (isWord): return true on insets that report
2262 * text.C (getWord): use Paragraph::isWord to decide what is in a
2263 word and what is not; fix bug 1609.
2265 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2267 * tex-strings.C: add "none" to string_paperpackages[], fixes
2268 off-by-one-error in the paperpackage selection.
2271 * tex-strings.[Ch]: char const * string[n]
2272 -> char const * const string[]
2274 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2276 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2277 command, return early.
2279 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2281 * debug.h: add DEBUG to enum and fix size of ANY.
2283 * debug.C: add support for Debug::DEBUG
2284 (showTags): cast errorTags.level to unsigned int
2286 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2287 (redoCurrentBuffer): ditto
2288 (updateScrollbar): ditto
2289 * cursor.C (dispatch): ditto
2290 * text2.C (setLayout): ditto
2292 (updateCounters): ditto
2294 (deleteEmptyParagraphMechanism): ditto
2296 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2298 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2299 annotations to cleanup the Makefile slightly.
2301 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2303 * lyxrc.C: do not set user_email to a default value but use empty
2304 instead. The entry used to be translated, which does not work
2305 since at the point where lyxrc is constructed there is no
2306 translation service available
2308 * messages.C (getLocaleDir): remove and use directly
2309 lyx_localedir() instead
2311 2004-06-02 Angus Leeming <leeming@lyx.org>
2313 Fix crash caused by dereferencing null pointer 'exportdata' in
2314 OutputParams by creating a new ExportData variable on the heap,
2315 storing it in a boost::shared_ptr.
2316 The crash was triggered when generating an Instant Preview
2317 of an external inset.
2319 * Makefile.am: add outputparams.C
2321 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2322 (c-tor): allocate memory to it.
2324 * exporter.C (c-tor): associated changes.
2326 2004-06-01 Angus Leeming <leeming@lyx.org>
2328 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2329 contains data before calling isInset(0). (Bug 1513.)
2331 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2333 * exporter.C (checkOverwrite): new method
2334 * exporter.C (copyFile): new method
2335 * exporter.C (Export): copy referenced files to the document dir
2336 * exporter.[Ch]: new class ExportedFile
2337 * exporter.[Ch]: new class ExportData. Contains currently the
2338 names of referenced external files
2339 * outputparams.h: add exportdata member.
2341 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2343 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2346 2004-05-19 Angus Leeming <leeming@lyx.org>
2351 * lyxfunc.C: small changes due to the introduction of namespace
2352 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2354 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2356 * text3.C (dispatch): supress update when only moving the cursor
2357 * cursor.C (selHandle): remove commented code
2359 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2361 * paragraph.C (startTeXParParams): correct column count
2362 * CutAndPaste.C (pasteSelection): remove const_cast
2363 * output_docbook.C (docbookParagraphs): remove const_cast
2364 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2365 const_cast and return ParagraphList::const_iterator
2366 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2367 * output_plaintext.C (writeFileAscii): remove const_cast
2368 * paragraph.[Ch] (simpleTeXOnePar): make const
2369 * paragraph_funcs.C (outerPar): use const iterators
2370 * paragraph_pimpl.C (validate): use const iterators
2371 * text.C (setHeightOfRow): use const iterators
2373 2004-05-17 Angus Leeming <leeming@lyx.org>
2376 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2378 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2379 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2380 if the citation engine has changed.
2382 2004-05-14 José Matos <jamatos@lyx.org>
2384 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2385 if the textclass does not provide it. Have it different for sgml and
2387 support the language of document.
2388 * output_docbook.C (docbookParagraphs):
2389 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2390 first anchor as the id of the paragraph, remove special case code.
2391 * sgml.C (escapeChar): escape only < & >.
2393 2004-05-14 Angus Leeming <leeming@lyx.org>
2395 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2396 dependencies on src/frontends/controllers/biblio.h. Define a
2397 CiteEngine_enum wrapper class to enable the enum to be forward
2400 2004-05-12 Angus Leeming <leeming@lyx.org>
2402 * buffer.C: up LYX_FORMAT to 234.
2403 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2404 use_numerical_citations with a single biblio::CiteEngine cite_engine
2406 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2408 2004-05-13 José Matos <jamatos@lyx.org>
2411 * converter.C (Converter, readFlags): add xml member.
2412 * outputparams.h: add XML flavor.
2413 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2415 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2417 * lyxfunc.C (dispatch):
2418 (getStatus): fix handling of LFUN_SEQUENCE
2420 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * debug.C (showLevel): do not forget the end-of-line marker
2424 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2426 * kbmap.C (read): do not stop parsing a bind file when an error
2429 2004-04-29 Angus Leeming <leeming@lyx.org>
2434 * text2.C: wrap a bunch of #warning statements
2435 inside #ifdef WITH_WARNINGS blocks.
2437 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2439 * buffer.C: increment format to 233.
2441 2004-04-28 Angus Leeming <leeming@lyx.org>
2443 * BufferView_pimpl.C:
2446 s/updateToolbar()/updateToolbars()/
2447 s/Toolbar.h/Toolbars.h/
2449 2004-04-28 Angus Leeming <leeming@lyx.org>
2451 * BufferView.[Ch] (c-tor):
2452 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2453 No longer passes these data to the WorkArea generator.
2455 2004-04-28 Angus Leeming <leeming@lyx.org>
2457 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2459 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2461 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2463 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2465 * output_latex.C (TeXEnvironment): make sure that there is a line
2466 break before \end{foo} for the last paragraph of a document
2467 (TeXOnePar): if the paragraph is at the end of the document (or
2468 inset) and the language has to be reset, then make sure that the
2469 line break is _before_ the language command, not after (fixes bug
2470 1225); also make sure that the language reset command is the first
2471 thing after the paragraph (to ensure proper nesting of
2472 environments and thus fix bug 1404)
2474 2004-04-21 John Levon <levon@movementarian.org>
2477 * ToolbarBackend.C: make "name" be a programmatic name
2478 and a gui_name field.
2480 * lyxfunc.C: display the minibuffer on M-x
2482 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2484 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2487 2004-04-19 Angus Leeming <leeming@lyx.org>
2489 * BufferView_pimpl.C (setBuffer): changed preview interface.
2491 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2494 2004-04-19 John Levon <levon@movementarian.org>
2496 * BufferView_pimpl.C:
2497 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2499 2004-04-05 Angus Leeming <leeming@lyx.org>
2501 * text.C (redoParagraphs): add call to updateCounters(), thereby
2502 fixing the missing "Figure #:" label from the caption of a
2505 2004-04-13 Angus Leeming <leeming@lyx.org>
2507 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2508 cursor is clicked out of an inset.
2510 2004-04-13 Angus Leeming <leeming@lyx.org>
2512 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2513 than an InsetOld one.
2515 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2517 * format.[Ch]: add editor to Format
2518 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2519 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2521 2004-04-08 André Pönitz <poenitz@gmx.net>
2523 * metricsinfo.h: remove PainterInfo::width member
2525 2004-04-08 Angus Leeming <leeming@lyx.org>
2527 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2528 "\providecommand" rather than "\newcommand", thereby preventing
2529 clashes with packages that define "\boldsymbol" themselves.
2532 2004-04-08 Angus Leeming <leeming@lyx.org>
2534 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2535 thereby squashing an unnecessary warning.
2537 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2539 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2542 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2544 * BufferView.C (setCursor): call redoParagraph (some insets could
2546 (putSelectionAt): remove the 'double update' trick
2548 * BufferView_pimpl.C (fitCursor): call refreshPar
2549 (workAreaDispatch): remove an uneeded update call
2550 (dispatch): remove some manual update calls
2552 * cursor.[Ch]: remove cached_y_, updatePos
2553 (selHandle): set noUpdate when appropriate
2555 * lyxfunc.C (dispatch): track if we need an update
2557 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2559 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2560 (paintSelection): cheap optimization, do not call cursorX when not
2562 (paintPars): change signature
2565 (paintTextInset): adjust
2569 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2571 * lengthcommon.C: compilation fix: remove explicit array size from
2572 unit_name[] and friends
2574 2004-04-05 Angus Leeming <leeming@lyx.org>
2576 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2578 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2579 present only for the preferences dialog.
2580 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2582 2004-04-05 Angus Leeming <leeming@lyx.org>
2584 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2585 to enable the frontends to export changes to lyxrc correctly.
2587 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2589 2004-04-07 André Pönitz <poenitz@gmx.net>
2591 * cursor.[Ch] (selClear, adjust): remove math
2593 * cursor_slice.C: more agressive assert
2596 * BufferView_pimpl.C: rework mouse event dispatch
2603 2004-04-05 André Pönitz <poenitz@gmx.net>
2605 * cursor.[Ch] (valign, halign...): remove unneeded functions
2607 2004-04-05 Angus Leeming <leeming@lyx.org>
2609 * lyxlength.[Ch] (unit_name et al.): const-correct.
2611 2004-04-05 Angus Leeming <leeming@lyx.org>
2613 * BufferView_pimpl.C:
2622 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2624 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2626 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2628 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2630 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2631 * BufferView_pimpl.[Ch] (getStatus)
2632 * BufferView.[Ch] (getStatus): add
2633 * lyxfunc.C (getStatus): move lfuns handled in
2634 BufferView::dispatch to te function above
2635 * Cursor.C (setSelection): set selection() = true
2637 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2639 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2641 2004-03-31 Angus Leeming <leeming@lyx.org>
2643 * lyxfunc.C (dispatch): Fall through to the generic
2644 Dialogs::show("preamble").
2646 2004-03-31 Angus Leeming <leeming@lyx.org>
2648 * lyxfunc.C (dispatch): Fall through to the generic
2649 Dialogs::show("spellchecker").
2651 2004-03-31 Angus Leeming <leeming@lyx.org>
2653 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2656 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2661 * insetiterator.[Ch]:
2666 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2668 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2670 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2671 insets where we are putting the cursor.
2673 2004-03-31 Angus Leeming <leeming@lyx.org>
2676 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2678 * lyxrc.[Ch] (read, write): overloaded member functions taking
2679 a std::[io]stream arguments.
2681 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2683 2004-03-31 Angus Leeming <leeming@lyx.org>
2685 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2686 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2688 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2689 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2691 2004-03-31 Angus Leeming <leeming@lyx.org>
2693 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2694 the LFUN_ALL_INSETS_TOGGLE code.
2696 2004-03-30 Angus Leeming <leeming@lyx.org>
2698 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2699 has died. Fall through to the generic Dialogs::show("document").
2701 2004-03-30 Angus Leeming <leeming@lyx.org>
2704 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2705 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2707 * lyxfunc.C (getStatus, dispatch): define the actions for these
2708 lfuns. Little more than a cut and pste job from ControlDocument.C
2710 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2712 2004-03-30 Angus Leeming <leeming@lyx.org>
2715 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2716 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2718 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2719 open/closed state of ollapsable insets. Usage:
2721 all-inset-toggle <state> <name>, where
2722 <state> == "open" || "closed" || "toggle" and
2723 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2725 * lyxtext.h, text2.C (toggleInset): removed.
2727 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2728 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2729 now passes LFUN_INSET_TOGGLE to the found inset.
2731 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2732 is now invoked as "all-insets-toggle toggle branch".
2734 2004-03-30 Angus Leeming <leeming@lyx.org>
2738 * pariterator.[Ch]: added/corrected header blurb.
2740 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2742 * dociterator.[Ch]: add an inset_ member
2743 (backwardPos): implemented
2744 (backwardPos, forwardPos): use inset_ when the stack is empty.
2745 (doc_iterator_begin, doc_iterator_end): implemented
2746 * pariterator.[Ch]: adjust, add begin, end
2747 * insetiterator.[Ch]: adjust, add begin, end
2751 * BufferView_pimpl.C:
2752 * CutAndPaste.C: adjust
2754 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2756 * buffer.C: increment file format to 232.
2757 * LaTeXFeatures.C: add bibtopic package.
2758 * bufferparams.[Ch]: param \use_bibtopic.
2760 * lyxrc.[Ch]: add lyxrc bibtex_command
2761 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2763 * buffer.C: increment file format to 231.
2765 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2767 * dociterator.C: implement forwardPar
2768 * iterators.[Ch]: remove, replaced by
2769 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2771 * BufferView_pimpl.C:
2774 * bufferview_funcs.C:
2780 * Makefile.am: adjust
2782 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2784 * CutAndPaste.C (pasteSelection): fix 2 crashes
2785 (eraseSelection): fix a crash
2786 * paragraph_funcs.C: remove a warning
2788 2004-03-28 Angus Leeming <leeming@lyx.org>
2791 * LyXAction.C (init): new LFUN_PRINT.
2793 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2795 2004-03-27 Angus Leeming <leeming@lyx.org>
2798 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2800 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2802 2004-03-27 Angus Leeming <leeming@lyx.org>
2804 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2805 insetlist always contains non-null pointers to insets.
2807 2004-03-26 Angus Leeming <leeming@lyx.org>
2809 * src/BufferView_pimpl.C:
2810 * src/CutAndPaste.C:
2813 * src/output_plaintext.C:
2814 * src/outputparams.h:
2815 * src/paragraph_funcs.C:
2819 * src/frontends/controllers/ControlErrorList.C:
2820 * src/frontends/gtk/FileDialogPrivate.C:
2821 * src/frontends/gtk/GPainter.C:
2822 * src/frontends/gtk/GToolbar.C:
2823 * src/frontends/qt2/QRef.C:
2824 * src/mathed/math_scriptinset.C: squash compiler warnings.
2826 2004-03-26 Angus Leeming <leeming@lyx.org>
2828 * ispell.C (LaunchIspell::start):
2829 * lyx_cb.C (AutoSaveBuffer::start):
2830 invoke run(DontWait) rather than runNonBlocking().
2832 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2834 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2836 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * kbsequence.C (print): adjust
2840 * kbmap.C (printKeySym): rename and change signature
2841 (printKey): use LyXKeySym::print()
2843 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2845 * undo.C: add using std::advance to compile for stlport
2847 2004-03-24 Angus Leeming <leeming@lyx.org>
2849 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2850 it leads to a crash when no buffer is present.
2852 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2853 Martin Vermeer <martin.vermeer@hut.fi>
2855 * lyxfunc.C (dispatch):
2856 * bufferparams.C (readToken): use the new LColor::setColor
2858 * LColor.[Ch] (setColor): new version that takes two strings as
2859 argument and creates a new color entry if necessary
2861 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2863 * buffer.C (makeLaTeXFile): if the main latex file that is
2864 processed is usually a subdocument of some master, then pretend
2865 for a while that it is actually the master
2867 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2869 * buffer.C (getLabelList):
2870 (getBibkeyList): use getMasterBuffer()
2871 (getMasterBuffer): new method. Returns the main document in the
2872 case where one is using included documents.
2874 2004-03-25 André Pönitz <poenitz@gmx.net>
2878 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2880 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2882 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2883 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2885 * ParameterStruct.h: merge with ParagraphParameters
2887 * lyxtext.h: remove LyXText::parOffset() and getPar()
2889 * text3.C: Remove all 'manual' update calls. We do now one per user
2890 interaction which is completely sufficient.
2894 * BufferView_pimpl.C:
2895 * FontIterator.[Ch]:
2897 * ParagraphParameters.[Ch]:
2902 * cursor_slice.[Ch]:
2909 * output_docbook.[Ch]:
2910 * output_latex.[Ch]:
2911 * output_linuxdoc.[Ch]:
2912 * output_plaintext.[Ch]:
2914 * paragraph_funcs.[Ch]:
2915 * paragraph_pimpl.[Ch]:
2923 * frontends/controllers/ControlDocument.C:
2924 * frontends/controllers/ControlErrorList.C:
2925 * frontends/controllers/ControlSpellchecker.C:
2928 * insets/insetbase.h:
2929 * insets/insetbibitem.C:
2930 * insets/insetbox.C:
2931 * insets/insetbranch.C:
2932 * insets/insetcaption.C:
2933 * insets/insetcharstyle.C:
2934 * insets/insetcharstyle.h:
2935 * insets/insetcollapsable.C:
2936 * insets/insetcollapsable.h:
2937 * insets/insetert.C:
2938 * insets/insetfloat.C:
2939 * insets/insetfoot.C:
2940 * insets/insetmarginal.C:
2941 * insets/insetnote.C:
2942 * insets/insetoptarg.C:
2943 * insets/insettabular.C:
2944 * insets/insettext.C:
2945 * insets/insettext.h:
2946 * insets/insetwrap.C:
2947 * mathed/math_mboxinset.C:
2948 * mathed/math_nestinset.C:
2949 * mathed/math_scriptinset.C:
2950 * mathed/math_scriptinset.h:
2953 2004-03-24 Angus Leeming <leeming@lyx.org>
2955 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2956 deal with any child processes that have finished but are waiting to
2957 communicate this fact to the rest of LyX.
2959 2004-03-24 Angus Leeming <leeming@lyx.org>
2961 64-bit compile fixes.
2963 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2964 (c-tor): pass lyx::pos_types rather than ints.
2966 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2969 * text.C (Delete): compile fix.
2970 (getPar): ensure that function declaration is the same as that in
2973 2004-03-23 Angus Leeming <leeming@lyx.org>
2975 * ispell.C (LaunchIspell):
2976 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2977 a boost::shred_ptr rather than a std::auto_ptr.
2979 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2981 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2982 handle LFUN_FILE_INSERT_*
2984 * lyxrc.C (setDefaults, getDescription, output, read):
2985 * lyxrc.h: remove ps_command
2987 2004-03-22 Angus Leeming <leeming@lyx.org>
2989 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2990 Ensure that error_handler is processed once only and that all data
2991 is saved before attempting to output any warning messages.
2993 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2995 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2997 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2999 2004-03-19 André Pönitz <poenitz@gmx.net>
3001 * cursor.[Ch] (reset): take main text inset as argument
3003 * BufferView: adjust
3004 * BufferView_pimpl.C: adjust
3006 * paragraph.[Ch]: fix completely broken operator=()
3008 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3010 * LColor.C (getFromLyXName): make sure that the color name is used
3013 2004-03-17 Angus Leeming <leeming@lyx.org>
3016 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3018 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3019 dialog and to kill a forked process.
3021 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3023 * text2.C (setCursorFromCoordinates): fix font problem
3025 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3027 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3028 bogus "rebuild cursor" code
3030 2004-03-11 André Pönitz <poenitz@gmx.net>
3032 * buffer.[Ch]: use InsetText instead of LyXText as container for
3035 * dociterator.[Ch]: drop the BufferView * member which is not needed
3036 anymore after the change to buffer.C
3038 * paragraph_funcs.C:
3042 * BufferView_pimpl.[Ch]:
3044 * cursor_slice.[Ch]: adjust
3046 * text3.C: fix bug in mathDispatch
3048 2004-03-08 André Pönitz <poenitz@gmx.net>
3050 * undo.[Ch]: use 'StableDocumentIterator' as base for
3053 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3056 * bufferparams.[Ch]: add jurabib support and param.
3058 * LaTeX.C: add FIXME/comment.
3060 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3062 * buffer.C: increment file format to 230.
3064 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3066 * cursor.C (dispatch): avoid infinite loops
3068 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3070 * rowpainter.C (paintSelection): fix x coordinates
3072 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3074 * text.C (rowBreakPoint): fix breaking before displayed insets
3076 2004-03-01 André Pönitz <poenitz@gmx.net>
3078 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3080 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3084 * BufferView_pimpl.C:
3092 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3098 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3099 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3101 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3103 * Bidi.[Ch] (computeTables): const correctness
3104 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3105 fill_hfill, fill_label_hfill and x from Row
3106 * lyxtext.h: prepareToPrint returns a RowMetrics
3107 * rowPainter.C: adjust
3108 * text.C (prepareToPrint): use width, not textWidth. adjust
3109 (redoParagraphInternal, cursorX): adjust
3110 * text2.C (getColumnNearX): adjust
3111 (init): put a default value to the top LyXText::width
3113 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3115 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3117 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3119 * lyxtext.h: add FontIterator class
3121 * text.C (FontIterator, operator*, operator->, operator++): add
3122 (rowBreakPoint, setRowWidth): adjust (fixing a
3125 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3127 * BufferView_pimpl.C (workAreaDispatch): allow also
3128 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3130 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3132 * text.C (rowBreakPoint): fix a bug showing with very large insets
3134 2004-02-25 André Pönitz <poenitz@gmx.net>
3137 * cursor.[Ch]: move some mathed specific code to mathed
3139 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3141 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3142 use_tempdir in preferences
3143 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3145 * lyx_main.C: ensure that tempdir is valid
3146 * lyxlex.h: correct typo
3147 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3148 * paragraph.[Ch] (isMultiLingual): make const
3149 * cursor.[Ch] (openable): make const
3151 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3153 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3155 2004-02-20 André Pönitz <poenitz@gmx.net>
3157 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3159 * cursor.[Ch]: prepare for localized getStatus()
3165 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3167 2004-02-20 André Pönitz <poenitz@gmx.net>
3169 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3171 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3173 * text2.C (setCursorFromCoordinates): switch to absolute coords
3175 (cursorDown): adjust
3176 * text3.C (dispatch): adjust
3178 2004-02-16 André Pönitz <poenitz@gmx.net>
3180 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3183 * cursor_slice.[Ch]: remove unneeded acessor function
3185 * lyxtext.h: rename rtl() to isRTL()
3193 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3195 * rowpainter.C (paintSelection): coord fix
3197 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3199 * Spacing.C: compile fix
3201 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3203 * cursor.C (dispatch): restore current_ before returning
3205 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3207 * text2.C (cursorUp, cursorDown): fix coords
3210 2004-02-12 André Pönitz <poenitz@gmx.net>
3215 * text3.C: add LCursor & parameter to most cursor movement functions
3216 remove usage of LyXText::cursorRow() and cursorPar()
3218 * cursor.[Ch]: add textRow() needed members
3221 * BufferView_pimpl.C:
3224 * BufferView_pimpl.C: adjust
3226 2004-02-11 André Pönitz <poenitz@gmx.net>
3230 * BufferView_pimpl.C: shift undo/redo handling
3232 * cursor.[Ch]: fix mathed crash
3235 * lyxtext.h: move selectionAsText to LCursor
3243 * rowpainter.C: fix excessive drawing
3245 2004-02-06 André Pönitz <poenitz@gmx.net>
3248 * BufferView_pimpl.[Ch]:
3249 * text3.C: move some text specific LFUN handling
3251 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3253 * text3.C (checkInsetHit): adjust coords
3254 * text2.C (getColumnNearX): adjust coords
3255 (edit): adjust coords
3256 * text.C (getRowNearY): add two asserts
3258 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3261 * format.C: add using std::distance to compile on gcc 2.95/stlport
3263 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3265 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3267 2004-02-04 André Pönitz <poenitz@gmx.net>
3269 * BufferView.[Ch] (insertInset):
3270 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3275 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3277 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3278 on the default clause of the switch
3279 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3280 wasn't catched by LCursor::dispatch
3282 2004-02-03 André Pönitz <poenitz@gmx.net>
3285 * cursor.[Ch]: some additional asserts
3287 * undo.[Ch]: remove LyXText dependency in interface
3291 * lyxtext.h (firstPar, lastPar): remove dead functions
3296 * paragraph.[Ch]: adjust
3298 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3300 * lyxfind.C (find): fix argument order in call to ::find
3302 2004-02-02 André Pönitz <poenitz@gmx.net>
3304 * cursor.[Ch]: remove direct access to anchor
3306 * text.C: remove findText() hack
3308 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3310 * iterators.[Ch] (lockPath): remove in favour of...
3311 * BufferView.[Ch] (setCursor): this addition
3312 * BufferView.C (putSelectionAt): adjust
3313 * undo.C (performUndoOrRedo): adjust
3314 * lyxfunc.C (dispatch): adjust
3316 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3318 * iterators.C (lockPath): add a missing slice
3319 * undo.C (performUndoOrRedo): remove redundant positioning code
3321 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3323 * vc-backend.C (scanMaster): ";" -> ';'
3325 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3327 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3328 std::binary_function
3330 * lyxtextclass.C (compare_name): rename to...
3331 (LayoutNamesEqual): ...this
3333 * lyxlex_pimpl.C (compare_tags): inherit from
3334 std::binary_function, put back into anon namespace
3336 * lyxfind.C (MatchString): inherig from std::binary_function
3337 (findChange): use empty() istead of !size()
3339 * format.C (FormatNamesEqual): new functor
3346 * converter.C (compare_Converter): rename to...
3347 (ConverterEqual): ...this, and fixup a bit.
3348 (getConverter): use it, and make function const
3349 (getNumber): use it, and make function const
3353 * bufferlist.C: add using boost::bind
3355 * MenuBackend.C (MenuNamesEqual): new functor
3356 (hasMenu): use it, and make function const
3357 (hasSubmenu): use nested bind to get rid of compare_memfun.
3359 2004-01-30 André Pönitz <poenitz@gmx.net>
3361 * BufferView_pimpl.C:
3364 * cursor_slice.[Ch]:
3367 * paragraph_funcs.C:
3368 * paragraph_funcs.h:
3372 * text3.C: move some of the edit(x,y) handling to the insets
3373 some coordinate changes.
3375 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3377 * text.C: add using statements for std::advance and std::distance
3379 * paragraph.C: add using statement for std::distance
3381 * lyxfind.C: add using statement for std::advance
3383 * cursor.C (region): remove std:: from swap
3384 (openable): use nucleus in stead of operator->
3386 * BufferView.C: add using statements for std::distance and std::swap
3388 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3390 * iterators.C: Remove the pimple, move the needed structures to
3391 the header file. Create accessor for the positions stack.
3392 (asPosIterator): remove function
3394 * PosIterator.C (PosIterator): move constructors to top of file
3395 (PosIterator): reimplement the constructor taking a ParIterator in
3397 (setFrom): new function
3398 (operator!=): inline it
3400 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3402 * lyxfind.C (replaceAll): use std::advance
3404 * iterators.h: inherit from std::iterator.
3406 * PosIterator.C (advance, distance): remove
3407 * PosIterator.h: interit from std::iterator.
3409 2004-01-26 André Pönitz <poenitz@gmx.net>
3412 * BufferView_pimpl.[Ch]:
3416 * bufferview_funcs.C:
3426 * output_linuxdoc.C:
3427 * output_plaintext.C:
3429 * paragraph_funcs.[Ch]:
3430 * paragraph_pimpl.[Ch]:
3436 * text3.C: more IU: dumps most of the rest of the mathcursor
3437 implementation into cursor.[Ch]; "globalize" a bit of it.
3439 2004-01-25 Angus Leeming <leeming@lyx.org>
3441 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3443 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3445 * LaTeXFeatures.h: add nice_ and nice() const
3446 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3448 2004-01-20 André Pönitz <poenitz@gmx.net>
3451 * BufferView_pimpl.C:
3453 * bufferview_funcs.C:
3455 * cursor_slice.[Ch]:
3466 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3467 LCursor and mathcursor parts to LCursor and InsetBase.
3469 2004-01-15 André Pönitz <poenitz@gmx.net>
3471 * cursor_slice.[Ch]: add a few covienience functions
3473 * funcrequest.[Ch]: remove BufferView * member
3475 * BufferView_pimpl.C:
3482 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3484 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3486 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3487 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3489 2004-01-13 André Pönitz <poenitz@gmx.net>
3492 * lyxtext.h: hide cursor and selection anchor behind accessor function
3495 * BufferView_pimpl.[Ch]:
3497 * bufferview_funcs.C:
3507 * cursor_slice.[Ch]: some integer type changes for inset unification
3509 * lyxcursor.[hC]: remove, it's CursorSlice now.
3512 * BufferView_pimpl.[Ch]:
3513 * bufferview_funcs.C:
3519 * textcursor.[Ch]: adjust
3521 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3523 * text2.C (undoSpan): add and use
3524 * text.C (breakParagraph): use undoSpan (fix bug 578)
3527 2004-01-08 Angus Leeming <leeming@lyx.org>
3529 * BufferView_pimpl.C (MenuInsertLyXFile):
3530 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3531 * lyxfunc.C (menuNew, open, doImport):
3532 FileFilterList change to the FileDialog open and save functions.
3534 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3536 * ShareContainer.h: make isEqual and isUnique adaptable
3538 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3540 2004-01-07 Angus Leeming <leeming@lyx.org>
3543 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3545 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3547 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3548 functions replacing find, replace and replaceAll.
3550 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3551 LFUN_WORDFIND(FORWARD|BACKWARD).
3553 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3555 * text.C (breakParagraph): remove an outdated #warning
3557 2004-01-07 André Pönitz <poenitz@gmx.net>
3559 * lyxfind.C: somewhat clearer logic
3561 * text.C: prevent crash in cursorX on unitialized row cache
3563 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3565 * lyxcursor.[Ch] (operator>): add
3566 * textcursor.C (selStart, selEnd): use std::min and std::max
3568 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3570 * Chktex.C: include boost/format.hpp
3572 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3574 * InsetList.C: replace functor MathcIt with adaptable functor
3576 (insetIterator): modify accordingly
3578 * BranchList.h: move the BranchNamesEqual functor here from...
3579 * BranchList.C: ... to here
3581 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3583 (add): replace a finding loop with std::find_if.
3585 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3587 * output_docbook.C: moving LatexParam functionality into
3590 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3592 * buffer.C: increment format to 229.
3594 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3597 * lyx_sty.[Ch]: remove minipageindent_def
3603 * text3.C: remove LFUN_INSET_MINIPAGE
3605 2003-12-28 Angus Leeming <leeming@lyx.org>
3607 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3609 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3611 * text2.C (setParagraph): fix off-by-one crash
3613 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3615 * output_docbook.C: header stuff for AGU
3617 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3619 * text2.C (redoCursor): remove
3622 * BufferView_pimpl.C: remove calls to redoCursor and
3623 setCursor(cursor.par(), cursor.pos()) all around
3625 2003-12-15 Angus Leeming <leeming@lyx.org>
3627 * buffer.C: up the format to 228.
3629 2003-12-15 André Pönitz <poenitz@gmx.net>
3631 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3636 * BufferView_pimpl.C:
3645 2003-12-15 Angus Leeming <leeming@lyx.org>
3647 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3648 than getFromGUIName to manipulate the color.
3650 2003-12-14 Angus Leeming <leeming@lyx.org>
3652 * BranchList.[Ch]: minimize the API.
3653 (Branch::getBranch, getColor): now return a 'const &'.
3654 (Branch::setSelected) now returns a bool set to true if the
3655 selection status changes.
3656 (BranchList::clear, size, getColor, setColor, setSelected,
3657 allBranches, allSelected, separator): removed.
3658 (BranchList::find): new functions, returning the Branch with
3660 (BranchList::add, remove): return a bool indicating that
3661 the operation was successful.
3663 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3664 new InsetBranch::isBranchSlected member function.
3666 * LColor.[Ch]: mimimize the API.
3667 (fill): renamed as addColor and made private.
3668 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3669 versions of these functions taking a string arg have been removed.
3671 * bufferparams.C (readToken):
3672 * lyxfunc.C (dispatch):
3673 * lyxrc.C (read): changes due to the altered BranchList and
3676 * factory.C (createInset, readInset): changes due to altered
3679 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3682 * lyxfunc.C: remove insetminipage. "minipage-insert"
3683 now produces a frameless minipage box inset.
3685 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3687 * textcursor.[Ch] (selStart,selEnd): add new methods
3688 remove selection::start, end, use LyXCursor::operator<
3689 * lyxcursor.[Ch] (operator<): add
3690 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3691 * BufferView.[Ch] (unsetXSel): add
3692 * text2.C (clearSelection): use unsetXSel,adjust
3695 * rowpainter.C: adjust
3696 * bufferview_funcs.C (put_selection_at): adjust
3698 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3700 * BufferView_pimpl.C: small coord. correction
3702 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3704 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3705 dragging over the splash screen.
3707 2003-12-11 Angus Leeming <leeming@lyx.org>
3709 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3710 as it is now handled in LyXText::dispatch.
3712 * text3.C (doInsertInset): remove a level of nesting.
3714 2003-12-11 Angus Leeming <leeming@lyx.org>
3716 * factory.C (createInset): changes due to the changed interface to
3717 InsetCommandMailer::string2params.
3719 2003-12-10 Angus Leeming <leeming@lyx.org>
3721 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3722 'dialog-show-new-inset <inset name>'
3724 2003-12-10 Angus Leeming <leeming@lyx.org>
3726 * buffer.C: up the format to 227.
3728 * factory.C: the box inset is now identified simply by 'Box'.
3730 2003-12-10 Angus Leeming <leeming@lyx.org>
3732 * buffer.C: up the format to 226.
3734 * factory.C: the note inset is now identified simply by 'Note'.
3736 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3738 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3739 when a pit is enough. Standarize a couple of loops.
3741 2003-12-05 Angus Leeming <leeming@lyx.org>
3743 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3744 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3745 data to the re-worked "log" dialog.
3747 2003-12-03 André Pönitz <poenitz@gmx.net>
3753 * paragraph_funcs.C:
3755 * text2.C: use Inset::getText instead of Inset::getParagraph
3757 2003-12-03 André Pönitz <poenitz@gmx.net>
3761 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3762 InsetText::read() as LyXText::read()
3764 2003-12-02 Angus Leeming <leeming@lyx.org>
3766 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3767 type. Add a comment in the implementation that the function uses
3768 the stream's bad() function rather than fail() as the std::streams
3771 2003-12-02 André Pönitz <poenitz@gmx.net>
3773 * lyxlex.[Ch]: make interface more similar to std::stream
3775 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3777 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3779 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3781 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3783 * vspace.[Ch]: remove VSpace::NONE
3785 2003-12-01 André Pönitz <poenitz@gmx.net>
3788 * lyxtext.h: move ParagraphList member to LyXText
3789 rename LyXText::ownerParagraphs to LyXText::paragraph
3792 * bufferview_funcs.C:
3802 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3804 * undo.C: fix cursor positioning
3806 2003-12-01 John Levon <levon@movementarian.org>
3808 * BufferView_pimpl.C: fix a crash on exit with
3811 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3813 * BranchList.C: fix setSelected() method.
3815 2003-11-28 André Pönitz <poenitz@gmx.net>
3817 * ParagraphParameters.[Ch]:
3818 * ParameterStruct.h: remove space above/below from Paragraph to
3821 * BufferView_pimpl.C:
3827 * paragraph_funcs.C:
3833 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3835 * factory.C: Syntax change for CharStyles
3837 2003-11-28 André Pönitz <poenitz@gmx.net>
3842 * buffer.[Ch]: move LyXText member
3844 2003-11-28 André Pönitz <poenitz@gmx.net>
3846 * BufferView.[Ch]: make LyXText * text a private member
3848 * BufferView_pimpl.C:
3859 * output_plaintext.C: cleanup
3861 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3864 * lyxtextclass.[Ch]: parametrize SGML document header
3866 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3869 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3872 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3874 * text2.C (setFont): rework using PosIterator (no more recursive)
3875 (setCharFont): no more needed
3876 (setLayout): no more selection cursors fiddling (done by redoCursor)
3877 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3878 destroy remaining ones)
3880 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3882 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3884 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3887 * text3.C: adjust + re-allow multi par depth changes
3888 * textcursor.C: simplify a bit
3890 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3896 * src/output_docbook.C:
3897 * src/output_latex.C:
3902 * src/text2.C: Introducing a number of tags parametrizing various
3903 XML formats that we may want to support
3905 2003-11-25 André Pönitz <poenitz@gmx.net>
3907 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3909 * lyxtext.h (leftMargin/rightMargin): simplify interface
3916 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3918 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3919 master file to any child files. Fixes bug 546.
3921 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3923 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3925 2003-11-24 André Pönitz <poenitz@gmx.net>
3927 * rowpainter.C: simplification
3929 * text2.C (updateCounters): remove call to redoParagraph on
3930 changed labels as this is far too expensive.
3932 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3934 * converter.C (convert): fix a crash: this function gets
3935 called with buffer == 0 from importer code.
3937 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3939 * text3.C (cursorPrevious): make sure that we do not compare
3940 iterators form different containers.
3943 * rowpainter.C (paintSelection): make sure that we do not compare
3944 iterators from different containers.
3946 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3947 iterators from different ParagraphList containers.
3950 * text2.C (LyXText): change order of initialization slightly
3951 (operator=): new function. copy all variables except cache_par_
3952 (moveUp): make sure that we do not compare iterators from
3953 different ParagraphList constainers.
3956 * text.C (firstPar): new function
3957 (lastPar): new function
3958 (endPar): new function
3960 * lyxtext.h: move things around and group public functions, public
3961 variables, private functions, private variables
3963 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3965 * factory.C: change call to InsetERT constructor to avoid
3966 additional invocation of method status
3967 * text2.C (toggleInset): remove redundant update() call
3968 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3969 instead of a Bufferview pointer
3971 2003-11-21 André Pönitz <poenitz@gmx.net>
3973 * rowpainter.C: simplification
3975 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3977 * text3.C (dispatch): make possible to extend a word/row selection
3980 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3982 * lyxtext.h: x0_,y0_ -> xo_,yo_
3983 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3984 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3985 * rowpainter.C (paintRows): paint full paragraphs
3987 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3989 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3992 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3994 * lyxtext.h: add x0_, y0_
3995 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3996 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3998 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4000 * text2.C (setCursorIntern): move the x_target update here *
4001 * text3.C: change some bv() to true/false in calls to
4002 cursorUp/Down/Right/Left
4003 * cursor.C: use helper function.
4005 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4007 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4008 * paragraph_funcs.[Ch]: correct comment
4009 * rowpainter.C: do not paint selections away from bv->cursor()
4010 Fix a long standing selection painting bug.
4011 * text3.C: generalize mouse-selection code to LyXTexts other that
4013 * textcursor.C: do not use y coords if we can use par offsets
4015 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4017 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4018 cursor position after e.g. inset insert)
4020 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4022 * lyxfind.C (replace): adjust to locking removal + some
4025 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4027 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4030 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4033 * output_docbook.C: XML sanitation: new layout
4034 parameters InnerTag and CommandDepth
4036 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4038 * BufferView_pimpl.C:
4040 * text3.C: Fix the insertion and modification of button-style
4043 2003-11-13 André Pönitz <poenitz@gmx.net>
4045 * InsetList.[Ch]: remove deleteLyXText
4047 * paragraph.[Ch]: cache beginOfBody position
4052 * text3.C: remove superfluous update() calls
4056 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4058 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4059 * BufferView.C (fitLockedInsetCursor): remove
4060 * cursor.[Ch] (getDim): add
4061 * text.C (getRowNearY): add faster version
4062 * text3.C: remove some update calls
4064 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4076 * text3.C: The Character Style /XML short element patch.
4078 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4081 * factory.C: Small step to solving 'unable to insert some insets'
4084 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4086 * cursor.[Ch] (updatePos): new function for updating the y
4087 position of the tip inset
4088 * bufferview_funcs.C (put_selection_at):
4089 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4091 2003-11-11 André Pönitz <poenitz@gmx.net>
4093 * text.C: remove big comment on invalid Paragraph pointers as it is
4096 2003-11-11 André Pönitz <poenitz@gmx.net>
4098 * text_funcs.[Ch]: merge with ...
4106 * Makefile.am: remove text_funcs.[Ch]
4108 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4110 * cursor.C (getPos): return absolute cached y coord
4112 * BufferView_pimpl.C (fitCursor): new simplistic code
4113 (workAreaDispatch): add a fitCursor call
4115 2003-11-10 André Pönitz <poenitz@gmx.net>
4118 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4120 2003-11-10 André Pönitz <poenitz@gmx.net>
4122 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4123 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4124 indicate that the cursor needs to leave an inset
4126 * lyxtext.h: remove inset locking
4128 * cursor.[Ch]: re-implement functionality provided by inset locking
4131 * BufferView_pimpl.[Ch]:
4133 * bufferview_funcs.[Ch]:
4145 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4147 * PosIterator.[Ch]: replace the stack with a vector, add inset
4149 * iterators.[C]: adjust
4151 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4153 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4155 * paragraph_funcs.C (readParToken): put the correct id in the
4156 error item, not the id of the top paragraph
4158 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4160 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4161 * bufferview_funcs.C (put_selection_at): use the above
4163 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4165 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4167 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4169 * output_linuxdoc.h:
4170 * output_plaintext.h:
4172 * output_docbook.h: add #include statements
4174 2003-11-05 José Matos <jamatos@lyx.org>
4176 * output_docbook.[Ch]:
4177 * output_latex.[Ch]:
4178 * output_linuxdoc.[Ch]:
4179 * output_plaintext.[Ch]: New files for output formats.
4180 * output.[Ch]: New file for helper functions.
4183 * paragraph_funcs.[Ch]: output functions moved to new files.
4185 * outputparams.h: rename of latexrunparams.h
4193 * paragraph_funcs.[Ch]:
4194 * paragraph_pimpl.[Ch]:
4195 * tabular.[Ch]: rename ascii to plaintext
4196 and LatexRunParams to OutputParams.
4198 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4200 * iterators.[Ch] (text): require bv argument
4201 * undo.C (recordUndo):
4202 * lyxfunc.C (dispatch):
4203 * bufferview_funcs.C (put_selection_at): adjust
4205 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4207 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4209 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4211 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4214 2003-11-04 André Pönitz <poenitz@gmx.net>
4216 * cursor.[Ch]: restructure
4219 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4221 * iterators.[Ch] (asCursor): remove
4223 * lfuns.h: remove LFUN_INSET_EDIT
4229 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4231 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4233 * lyxfind.[Ch]: complete overhaul
4234 * BufferView_pimpl.C:
4236 * paragraph.[Ch] (insert): add
4238 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4242 * text.C: remove dead spellcheck code
4244 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * dispatchresult.h: add a val setter
4248 * cursor.C (dispatch): use a tempvar for data_[i]
4250 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4252 * PosIterator.[Ch]: compile fix
4254 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4256 * text.C (cursorPar): deactivate the cursor cache
4258 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4260 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4262 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * text3.C (dispatch): adjust for new DisptchResult semantics.
4266 * lyxfunc.C (dispatch): handle update when return from
4267 Cursor::dispatch, adjust for new DispatchResult semantics.
4269 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4270 DispatchResult(true) mean to not update. Add class functions for
4271 setting dispatched and update, as well as reading.
4273 * cursor.C (dispatch): don't handle update here
4275 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4278 * trans_mgr.C: adjust
4280 * paragraph_funcs.C (readParToken): exception safety
4282 * lyxvc.h: store the vcs pointer in a scoped_ptr
4285 * lyxsocket.C (serverCallback): exception safety
4287 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4289 * ispell.C (clone): make it return a auto_ptr
4291 * factory.C (createInset): exception safety
4292 (readInset): exception safety
4294 * bufferlist.C (newBuffer): exception safety
4296 * Thesaurus.C (Thesaurus): use initialization for aik_
4298 * MenuBackend.C (expandToc): exception safety.
4300 2003-11-03 André Pönitz <poenitz@gmx.net>
4304 * bufferview_funcs.C: remove getInsetFromId()
4307 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4313 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4315 * PosIterator.C (distance, advance): new
4316 * bufferview_funcs.[Ch] (put_selection_at): new
4317 * iterators.[Ch] (lockPath): new
4319 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4321 * iterators.[Ch] (asPosIterator): added
4322 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4323 * PosIterator.[Ch]: added
4325 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * cursor.C (dispatch):
4330 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4332 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4333 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4334 contructor, add a class function dispatched. Remove operator>=
4336 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * debug.C: only use the default constructor for debugstream
4341 * main.C (main): include debug.h and setup the lyxerr streambuf
4344 2003-10-31 José Matos <jamatos@lyx.org>
4346 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4348 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4349 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4350 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4351 * paragraph_pimpl.C (simpleTeXSpecialC):
4352 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4353 add LatexRunParams argument.
4355 * exporter.C (Export): change call accordingly.
4357 * latexrunparams.h: add new member to take care of the other backends.
4358 2003-10-30 José Matos <jamatos@lyx.org>
4360 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4361 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4362 factorise code for paragraph output.
4364 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4367 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * text3.C (dispatch):
4370 * lyxfunc.C (dispatch):
4371 * cursor.C (dispatch):
4372 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4374 * dispatchresult.h: make the dispatch_result_t ctor explicit
4376 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4379 * buffer.C: small refactoring of docbook stuff
4381 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4386 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4389 operator dispatch_result_t, and operators for == != and >=
4391 * cursor.C (dispatch): adjust for operator dispatch_result_t
4392 removal. comment out call to update
4394 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4396 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4407 * dispatchresult.h: new file, DispatchResult broken out of
4410 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4412 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4414 * text.C (rowBreakPoint): put a hack inside #if 0
4416 2003-10-28 André Pönitz <poenitz@gmx.net>
4420 * paragraph_funcs.C:
4423 * text2.C: general cleanup (lots of small stuff)
4425 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4427 * text2.C (cursorEnd): simple fix to the "end key goes to one
4428 before the end on last row" bug
4430 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4432 * text.C (backspace): fix the "zombie characters"
4434 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4436 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4438 2003-10-27 André Pönitz <poenitz@gmx.net>
4440 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4442 * factory.C: handle new InsetPagebreak, InsetLine
4444 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4445 and move handling into new InsetPagebreak, InsetLine
4447 * BufferView_pimpl.C:
4449 * ParagraphParameters.C:
4450 * ParameterStruct.h:
4455 * paragraph_funcs.C:
4456 * paragraph_pimpl.C:
4462 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4465 * lyxrow_funcs.[Ch]:
4471 * text3.C: remove lastPos uses in favour of Row::endpos
4473 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4475 * undo.C (performUndoOrRedo): fix two crashes by setting a
4476 cursor by hand and reordering some calls. Use bv->lockInset instead
4477 of inset->edit because the latter loses cursor information
4479 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4481 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4483 (rowBreakPoint): fix width. change point to point + 1.
4484 Add a missing check.
4486 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4489 * lyxfunc.C: fix (at least partly) the problems
4490 with the Nav menu and headers inside branch insets
4493 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4495 * paragraph.C (getChar): add strong asserts
4497 * lyxrow_funcs.C (lastPos): remove hideous hack
4499 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4500 (fill): adjust to that (avoid an infinite loop)
4502 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4504 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4506 2003-10-23 André Pönitz <poenitz@gmx.net>
4508 * RowList_fwd.h: change list<> to vector<> to gain speed
4509 after suggestion from Alfredo
4511 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4513 * lyxtext.h: move the bidi stuff from here...
4516 * Bidi.[Ch]: ... to here
4518 2003-10-23 André Pönitz <poenitz@gmx.net>
4521 * text.C (isLastRow, isFirstRow): new functions
4523 * paragraph.h: new width cache member
4525 * rowpainter.C: replace RowList::iterator with Row & where possible
4527 * lyxfunc.C: replace several view()->text with a single call
4529 * toc.C: fix 'unused' warning
4531 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4534 when woring with stream::pos_type
4535 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4537 2003-10-22 André Pönitz <poenitz@gmx.net>
4540 * text.C: use Row & instead of RowList::iterator
4542 * lyxrow.h: rename end() to endpos()
4548 2003-10-22 Angus Leeming <leeming@lyx.org>
4550 * buffer.[Ch] (fully_loaded): new member function, returning true
4551 only when the file has been loaded fully.
4552 Used to prevent the premature generation of previews and by the
4553 citation inset to prevent computation of the natbib-style label.
4555 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4556 templates are all set up.
4558 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4560 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4562 * text.C: fixed an "oops" in the "is a bit silly"
4565 2003-10-21 André Pönitz <poenitz@gmx.net>
4567 * FuncStatus.[Ch]: small stuff, whitespace
4569 * lyxfont.[Ch]: operator<<() for debug reasons
4573 * lyxtext.h: whitespace, spelling
4575 * paragraph.C: naming of variables
4578 * text2.C: small stuff
4581 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4583 * text.C: (1) finish off the inset display() work;
4584 (2) fix the "is a bit silly" bug (accessing char
4587 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4589 * text.C: re-introduce display() for insets, fixing the
4590 various bugs (stretch of line above, math inset
4593 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4595 * text.C (rightMargin): remove spurious semicolon
4597 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4600 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4602 * text3.C: fix one crash due to wrong cursor def
4604 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * vc-backend.C (scanMaster): make the regex static
4608 * LaTeX.C (scanAuxFile): make the regexs static
4610 * text3.C (doInsertInset, dispatch, dispatch):
4611 * text2.C (cursorUp, cursorDown):
4612 * text.C (selectNextWordToSpellcheck):
4613 * BufferView_pimpl.C (dispatch):
4614 * lyxfunc.C (dispatch): localDispatch -> dispatch
4616 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4618 * lyxsocket.C: include <cerrno>
4620 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * lyxfunc.C (dispatch): remove textcache stuff
4624 * bufferlist.C (release): remove textcache stuff
4627 * TextCache.C: delete file
4628 * TextCache.h: delete file
4630 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4632 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4633 delete of the bv_->text.
4634 (resizeCurrentBuffer): remove texcache stuff
4635 (workAreaResize): ditto
4637 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4642 2003-10-16 André Pönitz <poenitz@gmx.net>
4649 * text3.C: speed up by storing y positions per paragraph plus per-row
4650 offset instead of having a 'full' y position in the row.
4652 2003-10-15 André Pönitz <poenitz@gmx.net>
4656 * undo.[Ch]: make undo aware of inner insets
4658 2003-10-14 Angus Leeming <leeming@lyx.org>
4660 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4661 static member functions LyX::ref() and LyX::cref.
4662 (lastfiles): new accessor functions for the new lastfiles_ member var.
4663 (addLyXView, views_): add a new LyXView to the list of views_.
4664 (updateInset): loop over all LyXViews to call their own updateInset
4665 member function, returning a pointer to the Buffer owning the inset.
4667 * BufferView_pimpl.C (loadLyXFile):
4668 * MenuBackend.C (expandLastfiles):
4669 * bufferlist.C (MenuWrite, QuitLyX):
4670 lastfiles is no longer a global variable.
4671 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4673 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4674 static function. Access through LyX::cref().emergencyCleanup().
4676 2003-10-14 André Pönitz <poenitz@gmx.net>
4678 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4680 * undo.[Ch]: restoring part of 'undo in insets'
4683 * undo_funcs.[Ch]: merge with undo.[Ch]
4685 * tabular.C: small cleansing stuff
4687 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4689 * paragraph_funcs.C (readParToken): report unknown insets as error
4690 boxes. Use the outer paragraph as location (also for unknown
4693 * factory.C (readInset): do not abort on reading an unknown inset.
4694 Eat it and return 0.
4696 2003-10-13 Angus Leeming <leeming@lyx.org>
4698 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4700 * lyxrc.C: displayTranslator is now a function,
4701 declared in GraphicsTypes.h.
4703 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4705 * format.C: new placeholder $$a to pass the socket address.
4707 * bufferlist.[Ch]: new function getBufferFromTmp.
4709 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4710 files in the temporary dir.
4712 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4714 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4716 * Makefile.am: add lyxsocket.[Ch].
4718 * lyx_main.C (error_handler): handle SIGPIPE.
4720 2003-10-13 André Pönitz <poenitz@gmx.net>
4722 * BufferView_pimpl.C:
4727 * undo_funcs.[Ch]: use paroffset_type instead of
4728 ParagraphList::iterators to prevent multiple conversion
4729 (and get a more robust interface)
4731 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4733 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4735 * text3.C (dispatch): ditto
4737 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4740 move the onlyfile, use onlyfile instead of foundfile in a couple
4743 * DepTable.C (update): flush the error stream a bit more
4745 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * lyxserver.C (callback): adjust
4749 * lyxfunc.C (getStatus): add a missing brace in commented code
4750 (ensureBufferClean): reindent
4751 (dispatch): delete version taking a string
4753 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * LaTeX.C (deplog): move found file handlig from here...
4756 (handleFoundFile): .. to new function here.
4757 (deplog): make sure to discover several files mentioned on the
4760 2003-10-10 André Pönitz <poenitz@gmx.net>
4767 * text3.C: fix some of the tabular crashes
4769 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4771 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4773 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4775 2003-10-09 André Pönitz <poenitz@gmx.net>
4777 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4780 * BufferView_pimpl.C:
4781 * bufferview_funcs.C:
4792 * undo_funcs.C: adjust
4794 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * text2.C (incrementItemDepth): new function, use a backtracking
4797 algorithm to discover the correct item depth.
4798 (resetEnumCounterIfNeeded): new function, use a backtracking
4799 algorithm to discover if counter reset is needed.
4800 (setCounter): use them. Simplify a bit. Add different labels for
4801 different item depths for itemize.
4803 * paragraph.C (Paragraph): remove initialization of enumdepth
4806 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4807 enumerate and itemize. Change the type of itemdepth to signed char.
4809 2003-10-08 André Pönitz <poenitz@gmx.net>
4811 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4816 * tabular.[Ch]: fix crash after 'row-insert'
4818 2003-10-08 Angus Leeming <leeming@lyx.org>
4820 Fix doxygen warnings.
4822 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4823 Remove CutAndPaste:: prefix from header file declaration.
4825 * LColor.h (fill): remove LColor:: prefix from declaration.
4827 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4828 use lyx::depth_type rather than Paragraph::depth_type so that
4829 header file and .C file match.
4831 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4833 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4834 * aspell.C: \file aspell_local.C -> \file aspell.C
4835 * gettext.C: \file gettext.C -> \file src/gettext.C
4836 * gettext.h: \file gettext.h -> \file src/gettext.h
4837 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4838 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4839 * text.C: \file text.C -> \file src/text.C
4841 * toc.C: move comment so that doxygen is not confused.
4843 2003-10-07 Angus Leeming <leeming@lyx.org>
4845 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4847 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4850 * aspell_local.h: add forgotten std::string's.
4852 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4859 * text3.C: The Box patch. Fancybox support, minipage, parbox
4861 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4867 * ParagraphParameters.h:
4877 * lyxtextclasslist.h:
4880 * paragraph_pimpl.C:
4881 * textcursor.h: add <string> and other small fixes to make Lars'
4882 std::string patch compile with STLport.
4884 2003-10-06 Angus Leeming <leeming@lyx.org>
4886 * LColor.h: Add missing #include <string>.
4888 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * All most all file in all subdirs: Make <string> be the prefered
4891 way of getting to std::string, add using declarations.
4893 2003-10-06 André Pönitz <poenitz@gmx.net>
4895 * metricsinfo.C: initialize LyXFont before changing attribute.
4896 (fixes the 'math in \emph is upright' bug)
4898 2003-10-06 André Pönitz <poenitz@gmx.net>
4900 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4902 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4905 * paragraph_pimpl.C: Small fixes to build using STLport
4907 2003-10-02 André Pönitz <poenitz@gmx.net>
4910 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4912 2003-10-01 André Pönitz <poenitz@gmx.net>
4914 * factory.C: assert early
4916 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * lyx_main.C: remove the global debug object
4920 * debug.h: adjust for new debugstream
4922 * debug.C: adjust for new debugstream and keep the global debug
4925 2003-09-22 Angus Leeming <leeming@lyx.org>
4927 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4928 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4929 an incomplete class LyXFont.
4931 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4933 * factory.C: bug fix in branches
4935 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * lyxfunc.C (processKeySym): adjust
4939 (dispatch): change arg name from ev to func, adjust
4940 (sendDispatchMessage): ditto
4942 * lyx_main.C (defaultKeyBindings): adjust keybindings
4943 (deadKeyBindings): ditto
4945 * kbsequence.C (addkey): return a FuncRequest
4947 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4949 * kbmap.C (bind): take a FuncRequest as arg, adjust
4952 (defkey): change to take a FuncRequest as arg, adjust
4953 (findbinding): take a FuncRequest as arg, adjust.
4955 * funcrequest.h (operator=): added
4957 * funcrequest.C (FuncRequest): default kb_action changed from
4958 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4960 * buffer.C (dispatch): simplify
4961 (dispatch): adjust to take a FuncRequest as arg, adjust
4963 * boost.C (assertion_failed): change assertion message slightly
4965 * ToolbarBackend.C (read): simplify
4967 * MenuBackend.C (binding): adjust call to findbinding, add a
4968 message if no binding is found.
4970 (expandToc): correct by adding a empty FuncRequest
4972 * LyXAction.C: include <boost/assert.hpp>
4973 (isPseudoAction): delete function
4974 (LookupFunc): change name to...
4975 (lookupFunc): this. change return type to FuncRequest.
4976 (getActionName): take kb_action as arg, simplify
4977 (funcHasFlag): add an assert, simplify.
4979 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4981 * toc.C (action): return a FuncRequest, simplify
4983 * lyxfunc.C (processKeySym): adjust
4984 (getStatus): delete version that takes an int.
4986 (dispatch): delete version that takes action as int
4988 (sendDispatchMessage): simplify and adjust
4990 * funcrequest.C (getArg): take unsigned int as arg
4992 * ToolbarBackend.C (read): adjust
4993 (add): delete version that takes func as a string.
4994 (getIton): take a FuncRequest as arg
4996 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4999 * MenuBackend.C (MenuItem): add a new construct that only takes a
5000 Kind, simplify the constructor use for submenus.
5002 (expandLastfiles): adjust
5003 (expandDocuments): adjust
5004 (expandFormats): adjust
5005 (expandFloatListInsert): adjust
5006 (expandFloatInsert): adjust
5007 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5009 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5010 Remove class variables lyx_pseudo_map and lyx_arg_map
5012 * LyXAction.C (searchActionArg): delete function
5013 (getPseudoAction): delete function
5014 (retrieveActionArg): delete function
5015 (LookupFunc): make it return kb_action, simplify.
5016 (getActionName): simplify
5018 * factory.C (createInset): fix new bug
5020 2003-09-19 Angus Leeming <leeming@lyx.org>
5022 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5023 masterFilename_ parameter in the include inset.
5025 * factory.C (createInset): changes due to the changes to InsetInclude.
5027 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5029 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5031 2003-09-18 Angus Leeming <leeming@lyx.org>
5034 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5035 Inset::fillWithBibKeys.
5036 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5038 2003-09-18 Angus Leeming <leeming@lyx.org>
5040 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5042 (ctor): pass and store a 'Buffer const &'
5043 (buffer): new member function.
5045 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5046 '*this' to the LaTeXFeatures ctor.
5048 2003-09-18 Angus Leeming <leeming@lyx.org>
5054 * text.C: rename EnumLColor as LColor_color.
5056 2003-09-18 Angus Leeming <leeming@lyx.org>
5058 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5059 remove #include "insets/insetbase.h" from cursor.h.
5061 2003-09-18 Angus Leeming <leeming@lyx.org>
5063 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5064 InsetOld_code to remove #include "inset.h".
5066 * iterators.C: add #include "insets/inset.h"
5068 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5070 * BufferView.C: remove more locking stuff that apparently doesn't
5071 do anything sensible.
5073 2003-09-16 André Pönitz <poenitz@gmx.net>
5076 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5079 2003-09-16 Angus Leeming <leeming@lyx.org>
5081 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5083 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5086 * paragraph.h: remove #include "lyxfont.h". Forward declare
5089 2003-09-16 Angus Leeming <leeming@lyx.org>
5091 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5092 of support/textutils.h.
5093 (isWord): move the contents of support/textutils.h's IsWordChar here.
5099 * text2.C: add #include "paragraph.h".
5102 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5104 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5110 * LaTeX.C: use namespace alias for lyx::support::os
5112 2003-09-16 Angus Leeming <leeming@lyx.org>
5115 * bufferview_funcs.C:
5118 * paragraph_pimpl.C:
5120 * text.C: add #include "LColor.h".
5122 2003-09-16 Angus Leeming <leeming@lyx.org>
5124 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5125 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5127 Store the FontBits::color variable as an int rather than as an
5128 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5131 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5132 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5133 string calls together.
5135 * lyxrc.C: add #include "LColor.h".
5137 2003-09-15 Angus Leeming <leeming@lyx.org>
5139 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5142 2003-09-15 Angus Leeming <leeming@lyx.org>
5144 * LColor.h: add an EnumLColor wrapper for LColor::color.
5146 * lyxfont.[Ch] (color, setColor, realColor):
5147 * lyxtext.h, text.C (backgroundColor):
5148 pass EnumLColor args to/from the functions, rather than LColor::color
5152 * lyxtext.h: forward declare EnumLColor.
5154 * lyx_main.C: add #include "LColor.h".
5156 2003-09-15 Angus Leeming <leeming@lyx.org>
5158 * .cvsignore: add lyx-gtk.
5160 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * ParagraphParameters.C
5169 * bufferview_funcs.C
5179 * vc-backend.C: remove usage of STRCONV
5181 2003-09-15 Angus Leeming <leeming@lyx.org>
5183 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5184 explicitly define the color passed to the painter.
5186 2003-09-15 Angus Leeming <leeming@lyx.org>
5188 * bufferparams.C (BufferParams): reorder member initializers to avoid
5191 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5193 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5194 * text.C (updateRowPositions): remove an unusual nop
5196 2003-09-12 André Pönitz <poenitz@gmx.net>
5198 * BufferView_pimpl.C:
5207 * Counters.[Ch]: finish the 'automatic counters' job
5209 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5211 * aspell.C: include <boost/assert.cpp> (compile fix)
5213 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5215 * boost.C (assertion_failed): use lyx::support::abort instead of
5218 2003-09-10 Angus Leeming <leeming@lyx.org>
5220 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5221 with their _fwd progeny.
5223 2003-09-09 Angus Leeming <leeming@lyx.org>
5225 134 files throughtout the source tree: replace 'using namespace abc;'
5226 directives with the appropriate 'using abc::xyz;' declarations.
5228 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5230 * boost.C (emergencyCleanup): moved here from LAssert.c
5231 (assertion_failed): new function, called by BOOST_ASSERT
5233 * several files: change Assert to BOOST_ASSERT
5235 2003-09-09 Angus Leeming <leeming@lyx.org>
5237 * buffer.[Ch]: Add an Impl class and move Buffer's member
5238 variables into it. As a result move several header files out of
5241 Add header files to lots of .C files all over the tree as a result.
5243 2003-09-09 Angus Leeming <leeming@lyx.org>
5245 * buffer.[Ch]: make Buffer's member variables private. Add
5248 Lots of changes all over the tree as a result.
5250 2003-09-08 Angus Leeming <leeming@lyx.org>
5252 * graph.C: #include <config.h>.
5254 2003-09-08 Angus Leeming <leeming@lyx.org>
5258 * BufferView_pimpl.C:
5287 * toc.C: remove redundant using directives.
5289 2003-09-07 Angus Leeming <leeming@lyx.org>
5291 * LaTeXFeatures.h: remove #include "support/types.h".
5292 * ToolbarBackend.h: remove #include <algorithm>.
5293 * changes.h: remove #include <ctime>.
5294 * debug.h: remove #include <iosfwd>.
5295 * graph.h: remove #include "support/std_string.h".
5296 * lyx_main.h: remove #include <csignal>.
5297 * lyxlex_pimpl.h: remove #include <fstream>.
5298 * sgml.h: remove #include <algorithm>, <utility>.
5299 * toc.h: remove #include "support/std_ostream.h".
5300 Add #include <iosfwd>.
5302 2003-09-07 Angus Leeming <leeming@lyx.org>
5304 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5306 * converter.h: forward declare LatexRunParams.
5307 * encoding.h: remove #include "lyxrc.h".
5308 * lyxtext.h: remove #include "LColor.h".
5309 * lyxtextclass.h: remove #include "support/types.h".
5310 * trans.h: remove #include "tex-accent.h".
5311 * trans_mgr.h: remove #include "tex-accent.h".
5312 * insets/inset.h: remove #include "support/types.h", <vector>.
5313 * insets/insetcollapsable.h: remove #include "LColor.h".
5314 * insets/insetinclude.h: remove #include "dimension.h".
5315 * insets/insetlatexaccent.h: remove #include "dimension.h".
5316 * insets/insetoptarg.h:: remove #include "insettext.h".
5317 * insets/insettext.h: remove #include "dimension.h",
5318 <boost/shared_ptr.hpp>
5320 * insets/renderers.h: add #include "dimension.h".
5321 * insets/updatableinset.h: add #include "support/types.h".
5323 * many .C files: Associated changes.
5325 2003-09-06 Angus Leeming <leeming@lyx.org>
5327 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5328 one, inside testInvariant.
5330 * PrinterParams.C: new file.
5331 * PrinterParams.[Ch]: move the function bodies out of line.
5333 2003-09-06 Angus Leeming <leeming@lyx.org>
5335 * ParagraphParameters.h: forward declare ParameterStruct rather than
5336 including its header file.
5337 (depth): moved out-of-line.
5339 2003-09-06 Angus Leeming <leeming@lyx.org>
5341 * BufferView_pimpl.h:
5344 * lyxfunc.h: forward declare LyXKeySym rather than
5345 #include "frontends/LyXKeySym.h".
5347 * BufferView_pimpl.C:
5350 * lyxfunc.C: associated changes.
5352 2003-09-06 Angus Leeming <leeming@lyx.org>
5354 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5355 As a result, can remove the #include "insets/inset.h" from BufferView.h
5357 2003-09-06 Angus Leeming <leeming@lyx.org>
5359 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5360 As a result, can remove the #include "insets/inset.h" from BufferView.h
5362 2003-09-06 Angus Leeming <leeming@lyx.org>
5368 * bufferview_funcs.C:
5369 * BufferView_pimpl.C:
5374 * ParagraphParameters.C:
5379 * frontends/controllers/ControlDocument.C:
5380 * insets/insetcaption.C: rearrange the #includes into some sort of
5383 * buffer.h: remove #includes ErrorList.h, undo.h
5385 2003-09-06 Angus Leeming <leeming@lyx.org>
5387 * support/types.h: add a 'depth_type' typedef, used to store the
5388 nesting depth of a paragraph.
5391 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5392 defining explicitly.
5395 * paragraph_funcs.h:
5396 * ParagraphParameters.h:
5397 * sgml.h: use lyx::depth_type rather than Paragraph or
5398 ParameterStruct's depth_type.
5401 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5404 * BufferView_pimpl.C:
5406 * ParagraphParameters.C:
5409 * bufferview_funcs.C:
5416 * frontends/LyXView.C:
5417 * frontends/controllers/ControlDocument.C:
5418 * frontends/controllers/ControlErrorList.C:
5419 * insets/insetbibitem.C:
5420 * insets/insetbranch.C:
5421 * insets/insetcaption.C:
5422 * insets/insetcollapsable.C:
5423 * insets/insetenv.C:
5424 * insets/insetert.C:
5425 * insets/insetfloat.C:
5426 * insets/insetfoot.C:
5427 * insets/insetfootlike.C:
5428 * insets/insetnewline.C:
5429 * insets/insetquotes.C:
5430 * insets/insettabular.C:
5431 * insets/insettext.C:
5432 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5434 * frontends/controllers/ControlChanges.C: #include "changes.h".
5436 2003-09-06 Angus Leeming <leeming@lyx.org>
5438 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5439 than #including paragraph.h.
5442 * RowList.h: deleted. Superfluous.
5452 * insets/insettext.h: use ParagraphList_fwd.h rather than
5455 * paragraph.h: don't forward declare ParagraphList.
5458 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5459 rather than ParagraphList.h. paragraph.h is still needed for the
5460 Paragraph::depth_type parameters.
5462 * textcursor.h: enable it to compile stand-alone in light of the
5465 * bufferview_funcs.C:
5477 * frontends/controllers/ControlParagraph.C:
5478 * frontends/controllers/ControlTabular.C:
5479 * insets/insetmarginal.C:
5480 * insets/insetminipage.C:
5481 * insets/insetnote.C:
5482 * insets/insetoptarg.C: add header files needed to compile again.
5484 2003-09-06 Angus Leeming <leeming@lyx.org>
5486 * RowList_fwd.h: new file, forward-declaring Row rather than
5487 #including lyxrow.h.
5492 * insets/insettext.h: use it instead of RowList.h
5494 * bufferview_funcs.C:
5501 * text3.C: #include "RowList.h".
5503 2003-09-05 Angus Leeming <leeming@lyx.org>
5505 * factory.C (createInset):
5506 * vspace.C (c-tor): replace sscanf call with an istringstream.
5507 * ispell.C: re-add missing HP/UX headers.
5508 * lyxserver.C: re-add missing os2 headers.
5510 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5519 * text3.C: re-add missing system headers, needed for 2.95.2.
5521 2003-09-05 Angus Leeming <leeming@lyx.org>
5523 Changes most place everywhere due to the removal of using directives
5524 from support/std_sstream.h.
5526 2003-09-05 Angus Leeming <leeming@lyx.org>
5528 Replace LString.h with support/std_string.h,
5529 Lsstream.h with support/std_sstream.h,
5530 support/LIstream.h with support/std_istream.h,
5531 support/LOstream.h with support/std_ostream.h.
5533 Changes resulting throughout the tree.
5535 2003-09-05 Angus Leeming <leeming@lyx.org>
5537 * sgml.h: ensure that the header file can be compiled stand-alone.
5538 * *.C: strip out redundant #includes. (320 in total.)
5540 2003-09-04 Angus Leeming <leeming@lyx.org>
5542 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5543 here (from getPackages).
5545 * debug.[Ch]: add a new EXTERNAL tag.
5547 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5549 * text2.C (cursorEnd): simplify
5551 (getColumnNearX): adjust
5553 * text.C (computeBidiTables): adjust
5556 * rowpainter.C (paintChars): adjust
5557 (paintSelection): adjust
5558 (paintChangeBar): adjust
5561 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5563 (numberOfSeparators): adjust
5565 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5571 * text3.C: Restricts the mouse click functionality
5572 of insets like bibtex, include, toc and floatlist to the visible
5573 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5574 up the dialogs. Cursor has to be in front of the inset (i.e.
5575 start of row) for this to function.
5577 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5579 * bufferview_funcs.C (currentState): output row information
5581 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5583 * bufferview_funcs.C (currentState): output paragraph position
5585 2003-09-04 Angus Leeming <leeming@lyx.org>
5587 * FloatList.h: move out #include "Floating.h".
5588 * LaTeX.h: move out #include "DepTable.h".
5589 * LyXAction.h: move out #include "funcrequest.h".
5590 * buffer.h: move out #include "author.h", "iterators.h".
5591 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5592 * lyx_main.h: move out #include "errorlist.h".
5593 * lyxfunc.h: move out #include "FuncStatus.h".
5594 * lyxtext: move out #include "lyxcursor.h".
5595 * paragraph_pimpl.h: move out #include "counters.h".
5597 2003-09-03 Angus Leeming <leeming@lyx.org>
5599 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5600 preamble_snippets list, enabling us to add snippets to the preamble
5601 only if the snippet was not there already.
5603 2003-09-04 Angus Leeming <leeming@lyx.org>
5605 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5607 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5612 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5614 * BranchList.C: point fix, earlier forgotten
5616 2003-09-02 Angus Leeming <leeming@lyx.org>
5618 * box.C (contains): renamed from 'contained' after a fantastic
5621 2003-09-02 John Levon <levon@movementarian.org>
5627 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5629 2003-09-02 John Levon <levon@movementarian.org>
5631 * text2.C: simplification of cursorEnd(), including partial
5634 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * buffer.C (readFile): add a space
5638 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5640 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5642 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * buffer.C (readFile): new function, take a filename and a
5645 ParagraphList::iterator
5647 (readFile): adjust, make it private. don't use setStream, make
5648 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5649 always contain the filename.
5651 * BufferView.C (insertLyXFile): simplify and make it work for
5654 2003-08-30 John Levon <levon@movementarian.org>
5656 * Makefile.am: fix dist (from Kayvan)
5658 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * most files: change to use const Buffer refs
5662 2003-08-27 André Pönitz <poenitz@gmx.net>
5664 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5665 on top of ownerPar().
5667 2003-08-27 John Levon <levon@movementarian.org>
5669 * funcrequest.C: properly initialise POD members
5671 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5673 * lyxtext.h (top_y): move top_y from here
5678 * BufferView_pimpl.[Ch]: to here
5679 * frontends/screen.C:
5680 * insets/insettabular.C:
5681 * insets/insettext.C: adjust
5682 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5684 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5687 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5689 2003-08-26 André Pönitz <poenitz@gmx.net>
5691 * paragraph_func.[Ch] (outerPar): new function
5694 * paragraph_funcs.C:
5695 * paragraph_funcs.h:
5696 * paragraph_pimpl.C:
5697 * text2.C: remove Inset::par_owner
5699 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5704 * text2.C: eliminates the needFullRow/display() stuff
5705 altogether, putting the logic in metrics/draw in the insets.
5707 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5709 * text2.C (redoParagraphInternal, redoParagraphs):
5710 * text.C (redoParagraph): add a call to updateRowPositions at the
5711 end of each 'metrics-like' call. Remove all others.
5712 (getRow): remove the 'y-computing' version.
5713 (getRowNearY): do not compute nor return the real y. Solve the
5714 'y < 0' problem and simplify.
5716 2003-08-22 Angus Leeming <leeming@lyx.org>
5718 * *.[Ch]: clean-up of licence and author blurbs.
5719 Also move config.h out of a few .h files and into a few .C files.
5721 2003-08-22 André Pönitz <poenitz@gmx.net>
5723 * lyxrow.[Ch]: add x_ and *fill_ members
5728 * text2.C: adjust/remove prepareToPrint() calls
5730 2003-08-22 André Pönitz <poenitz@gmx.net>
5732 * lyxrow.[Ch]: add end_ member
5734 * lyxrow_funcs.C: use LyXRow::end_
5736 * lyxtext.h (singleWidth): add LyXFont parameter
5739 * text2.C: adjust LyXText::singleWidth() calls
5741 * text.C (redoParagraph): simplify row breaking logic
5744 2003-08-19 André Pönitz <poenitz@gmx.net>
5746 * funcrequest.C: initialize button_ member
5749 * rowpainter.[Ch]: interface consolidation
5751 2003-08-18 André Pönitz <poenitz@gmx.net>
5754 * BufferView_pimpl.C:
5756 * paragraph_funcs.C:
5758 * text3.C: remove LyXScreen::draw() and fitCursor calls
5760 * BranchList.h: remove spurious semicolons
5762 * MenuBackend.C: fix branchlist related crash
5764 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5772 * bufferparams.[Ch]:
5776 * text3.C: implements the 'branch inset'
5777 idea. This allows the output of various versions of a document
5778 from a single source version, selectively outputing or suppressing
5779 output of parts of the text.
5780 This implementation contains a 'branch list editor' in a separate
5781 tab of the document settings dialog. Branches are user definable
5782 and have a "display colour" to distinguish them on-screen.
5784 ColorHandler was somewhat cleaned up.
5785 (1) make possible a dynamically growing LColor list by allowing
5786 the graphic context cache to grow along (vector);
5787 (2) eliminate an IMHO unnecessary step in colour allocation.
5789 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5791 * BufferView_pimpl.C: compile fix
5793 2003-08-15 André Pönitz <poenitz@gmx.net>
5795 * rowpainter.C: remove extra metrics calls
5797 * lyxtext.h: merge the two constructors into a single one,
5798 pass reference to owner's par list
5800 * BufferView_pimpl.C:
5804 2003-08-15 André Pönitz <poenitz@gmx.net>
5806 * lyxrow_funcs.[Ch]:
5809 * paragraph_funcs.C:
5814 * text_funcs.C: split LyXText::rowlist_ into individual
5815 Paragraph::rows_ chunks
5818 * BufferView_pimpl.[Ch]:
5821 * text3.C: remove toggleSelection()
5823 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5825 * bufferlist.C: beautify two alerts (shorter text of buttons)
5826 * buffer.C: Remove redundant ' ' from message
5828 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5829 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5830 rename VALIGN_CENTER to VALIGN_MIDDLE
5832 2003-08-11 André Pönitz <poenitz@gmx.net>
5834 * lyxtext.h (getPar):
5835 * text.C: new function
5837 2003-08-11 André Pönitz <poenitz@gmx.net>
5840 * tracer.[Ch]: remove unneeded files
5842 * InsetList.[Ch]: remove resizeInsetsLyXText()
5847 * text3.C: merge insertParagraphs() and appendParagraph()
5848 remove breakAgain(), update()
5850 * BufferView_pimpl.[Ch]:
5851 * bufferview_funcs.[Ch]:
5855 * tabular.C: adjust after text & InsetList changes.
5857 2003-08-08 André Pönitz <poenitz@gmx.net>
5859 * text.C (insertChar, backspace): replace rowlist fiddling
5860 with rebreak of full par
5863 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5864 checkParagraph, updateInset): removed
5866 2003-08-07 André Pönitz <poenitz@gmx.net>
5869 * text3.C: merge some LFUN handlers, remove dead code
5871 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5873 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5875 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5877 * text2.C (DEPM): fix part of bug 1255 and 1256
5879 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5881 * BufferView_pimpl.C (workAreaDispatch): change to use
5882 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5883 that are no mouse related.
5885 2003-08-05 André Pönitz <poenitz@gmx.net>
5888 * BufferView_pimpl.[Ch]:
5889 * bufferview_funcs.C:
5891 * text3.C: rip out "deep update"
5893 * textcursor.[Ch] (last_sel_cursor): remove unused member
5895 2003-08-04 André Pönitz <poenitz@gmx.net>
5898 * BufferView_pimpl.[Ch]:
5899 * ParagraphParameters.C:
5900 * bufferview_funcs.C:
5906 * text3.C: replace "complicated" BufferView::update(...) calls with
5909 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5911 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5913 * Makefile.am (lyx_SOURCES): add paper.h
5915 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5917 * Makefile.am: move things around so that both lyx-qt and
5918 lyx-xforms can be built (according to --with-frontend). Then lyx
5919 is a symbolic link to lyx-[firstfrontend]
5921 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5923 * Always use std::endl with lyxerr
5925 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5927 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5929 2003-08-01 André Pönitz <poenitz@gmx.net>
5932 * BufferView_pimpl.[Ch]:
5934 * text3.C: merge BufferView::repaint() and BufferView::update()
5936 2003-08-01 José Matos <jamatos@lyx.org>
5938 * buffer.[Ch]: file_format is no longer a buffer data element.
5940 2003-08-01 André Pönitz <poenitz@gmx.net>
5945 * text2.C: make redoParagraph more independent of current cursor
5947 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5949 * text2.C: remove unneeded members
5951 2003-07-30 André Pönitz <poenitz@gmx.net>
5953 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5955 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5956 create a single function...
5958 * paragraph_funcs.C (moveItem): ... here.
5961 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5963 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5965 * LColor.[Ch]: Add comment and greyedout logical colors.
5967 2003-07-30 André Pönitz <poenitz@gmx.net>
5969 * tabular.C: don't use Assert too heavily. This crashes where it
5972 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5974 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5975 is disabled (bug 1232)
5977 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5979 * factory.C: limited 'arg' scope
5981 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5983 * factory.C: fixed Note submenu issues
5985 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5987 * factory.C: submenu for Note/Comment/Greyedout
5989 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5992 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5994 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5997 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5998 greyedout. Patch provided by Jürgen Spitzmüller.
6000 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6002 * kbmap.C (read): fix error message when reading bind files
6004 2003-07-29 Angus Leeming <leeming@lyx.org>
6006 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6007 certainly does not do what it purports to do. I am doing it, and
6008 us, a favour by killing it.
6010 2003-07-28 José Matos <jamatos@lyx.org>
6012 * buffer.C (readBody, do_writeFile):
6013 * paragraph.C(readParagraph): \end_document replaces \the_end.
6015 2003-07-29 André Pönitz <poenitz@gmx.net>
6018 * BufferView_pimpl.[Ch]:
6022 * textcursor.[Ch]: remove toggleToggle & Co
6024 2003-07-28 José Matos <jamatos@fep.up.pt>
6026 * buffer.C (readParagraph):
6027 * params_func (readParToken, readParagraph):
6028 * paragraph.C (write): \layout -> \begin_layout.
6030 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * lyxlex_pimpl.C (setFile): clean up slightly.
6034 * bufferparams.h: add compressed var
6036 * buffer_funcs.C (readFile): adjust for LyXLex change
6037 (newFile): ditto + simplify
6039 * buffer.C (writeFile): handle writing of compressed files
6041 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6042 Check if the file is compressed and set a bufferparm if so.
6044 * Makefile.am (lyx_LDADD): remove explicit -lz
6046 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6048 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6049 makeDocBookFile): put the real LyX version in the first line of
6053 * version.C.in: remove lyx_docversion
6055 * tabular.C (write_attribute): add a template-based version to
6056 write enums properly
6058 2003-07-28 André Pönitz <poenitz@gmx.net>
6063 * text3.C: use doubles again for x-coordinates. They are needed.
6065 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6067 * messages.C (getLocaleDir): use lyx_localedir()
6069 * lyxlex_pimpl.C (setFile): compress stuff
6071 * buffer.C (writeFile): add some compression stuff
6072 (do_writeFile): new func, dont call expliti close... will this
6075 * Makefile.am (lyx_LDADD): add -lz
6077 2003-07-28 José Matos <jamatos@fep.up.pt>
6079 * buffer.C: increment file format.
6080 * paragraph_funcs (readParagraph, readParToken):
6081 * paragraph.C (readParagraph): add \end_layout.
6083 2003-07-27 Angus Leeming <leeming@lyx.org>
6085 * Makefile.am: remove special casing for configure-time setting of
6086 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6088 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6089 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6091 2003-07-26 André Pönitz <poenitz@gmx.net>
6093 * paragraph_func.[Ch]:
6094 * paragraph.C (realizeFont): inline it whereever it is used
6099 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6102 2003-07-26 André Pönitz <poenitz@gmx.net>
6106 * text2.C: get rid of LyXText::need_break_row
6108 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * toc.[Ch]: put namespace toc inside namespace lyx
6112 * MenuBackend.C (expandToc2): adjust for lyx::toc
6115 * lyxfunc.C (dispatch): adjust for lyx::find
6117 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6118 lyx::find instead. Reorganize a bit.
6119 (LyXReplace): rename to replace
6120 (LyXFind): rename to find
6122 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6125 2003-07-26 André Pönitz <poenitz@gmx.net>
6127 * text.C (setHeightOfRow): restrict scope of temporary variable
6129 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6130 code (never has been used?)
6132 2003-07-27 Asger Alstrup <alstrup@local>
6134 * text.C (fill): Optimise algorithm to exploit that we can reuse
6135 the LyXFont for many characters.
6136 (setHeightOfRow): Same thing.
6137 (rowBreakPoint): Same thing.
6139 2003-07-26 Asger Alstrup <alstrup@local>
6141 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6143 * text.C (singleWidth): Spurious font copying in hot-spot
6144 singleWidth avoided. Reorder tests for arabic for efficiency.
6146 * text.C (fill): handle empty paragraphs better.
6148 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6151 * encoding.h: add includes
6153 * lyxrc.C: remove reading of bind files
6155 * lyx_main.C (init): setup bindings and menus only if we have a
6158 * kbmap.C (read): new method. Do the actual reading of bind
6161 * converter.C (dvipdfm_options):
6164 (output): adapt PAPER_* enums.
6166 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6168 * bufferparams.h: remove paper-related enums from there
6170 * paper.h: New file. A trivial header file to hold paper-related
6171 enums. It should later expand to contain many paper-related
6174 * lyxrc.C: declare extern displayTranslator
6176 2003-07-27 José Matos <jamatos@fep.up.pt>
6178 * tabular.[Ch] (linuxdoc): add support for tables and figures
6181 2003-07-27 José Matos <jamatos@fep.up.pt>
6183 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6184 consistency in both functions.
6185 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6187 2003-07-26 Asger Alstrup <alstrup@local>
6189 * rowpainter.C (paintRows): Change algorithm to work directly on
6190 the insets rather than asking every character in the document
6191 whether its an inset.
6193 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6195 * buffer.C (openFileWrite): factorize some code
6197 2003-07-26 Angus Leeming <leeming@lyx.org>
6200 * lyx_main.[Ch]: replace occurances of system_tempdir with
6203 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6205 * rename Inset to InsetOld
6207 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6209 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6210 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6211 which I think is a bit clearer. EDIT is gone, since it was
6212 premature optimisation, and broken for mathed anyway.
6213 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6214 with cursor positioning in insets as well (math insets still do not
6215 work, but that's a different story anyway.) It mysteriously
6216 crashes sometimes with undo in the first paragraph, but I'm fairly
6217 confident that this is a compiler bug.
6219 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * paragraph.C (Paragraph): adjust for new clone return type
6223 (copyIntoMinibuffer): ditto
6225 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6227 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6228 by not having a special case, and always doing a full rebreak of
6229 the document after undo.
6231 2003-07-23 Angus Leeming <leeming@lyx.org>
6233 * factory.C (createInset): InsetExternal::setParams now takes a
6236 2003-07-23 Angus Leeming <leeming@lyx.org>
6238 * factory.C (createInset): changed interface to the external and
6239 graphics mailers' string2params functions.
6241 2003-07-23 Angus Leeming <leeming@lyx.org>
6243 * factory.C (createInset): pass a
6244 Buffer const * parameter to InsetExternalMailer's string2params.
6246 2003-07-22 John Levon <levon@movementarian.org>
6248 * Thesaurus.h: include the right aiksaurus header
6250 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6252 * MenuBackend.C (expand): check menu shortcuts unconditionally
6254 2003-07-21 Angus Leeming <leeming@lyx.org>
6256 * factory.C (createInset): pass a
6257 buffer_path parameter to InsetGraphicsMailer's string2params.
6259 2003-07-21 Angus Leeming <leeming@lyx.org>
6261 * BufferView_pimpl.C (buffer):
6264 * lyxfunc.C (dispatch):
6265 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6266 rather than the grfx shortcut.
6268 2003-07-21 André Pönitz <poenitz@gmx.net>
6270 * rowpainter.C: remove unused variables
6273 * tabular_funcs.h: move to tabular.C
6274 * Makefile.am: adjust
6276 * tabular.[Ch]: basic optical cleaning
6278 * author.h: pass references, not values
6280 2003-07-18 André Pönitz <poenitz@gmx.net>
6288 * text3.C: two-phase drawing for InsetText and InsetTabular
6289 some float -> int changes.
6291 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6293 * lyx_main.C: fix the fix
6295 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6297 * lyx_main.C: fix a crash in batch mode if no files specified
6300 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6302 * format.[Ch] (papersize): moved to BufferParams
6303 * converter.[Ch] (dvips_options): moved to BufferParams
6304 (dvipdfm_options): moved to anon namespace
6305 * bufferparams.[Ch]: added above functions.
6307 2003-07-17 André Pönitz <poenitz@gmx.net>
6311 * text2.C: don't call inset->update() anymore
6313 * metricsinfo.[Ch]: add convenience constructor
6315 2003-07-16 André Pönitz <poenitz@gmx.net>
6320 * text2.C: replace the LyXCursor::irow_ member with
6321 on-demand computation of the value
6323 2003-07-16 John Levon <levon@movementarian.org>
6325 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6327 2003-07-15 André Pönitz <poenitz@gmx.net>
6330 * text2.C: remove no more needed refresh_row
6332 2003-07-15 André Pönitz <poenitz@gmx.net>
6337 * text3.C: refresh_status tristate -> need_update bool
6339 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6341 * lyxtext.h (init): remove reinit argument (act as if always true)
6342 * text2.C: adjust to that
6344 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6346 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6347 * text3.C: use it to delete selections in some cases
6348 (bugs 441, 673, 702, 954).
6350 2003-07-14 André Pönitz <poenitz@gmx.net>
6352 * rowpainter.[Ch]: reduce interface
6354 2003-07-14 André Pönitz <poenitz@gmx.net>
6356 * BufferView_pimpl.C:
6357 * text2.C: adjust after removing unused BufferView * argument
6359 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6361 * text2.C (init): fix a crash fired on resize
6363 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6365 * buffer.[Ch]: added new closing signal
6366 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6367 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6368 BufferView::Pimpl via the closing the signal
6370 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6372 * buffer.[Ch]: take out all bv-related from buffer
6374 * BufferView_pimpl.[Ch]: connect to new signals
6375 * CutAndPaste.C: removed useless asserts
6376 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6379 * lyxfunc.C: moved view-related funciontality from vc here
6380 * paragraph.C: removed outdated comments
6383 2003-07-10 André Pönitz <poenitz@gmx.net>
6385 * BufferView_pimpl.C:
6389 * text2.C: remove InsetText::InnerCache, clean up consequences
6391 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6393 * ispell.C: fix two typos in error messages
6395 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6397 * Extend Note inset to other forms of annotation like Comment
6398 and Greyedout. Right button click gives dialog.
6400 Files modified or added (+):
6404 * ControlNote.[Ch] +
6406 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6407 frontends/controllers
6411 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6413 * aspell.C: add missing namespace lyx::support
6415 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6417 * BufferView.[Ch] (newFile): Add
6418 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6419 * LaTeX.[Ch] (message): added this signal and use it
6420 * buffer.[Ch] (busy, message): added these signals and use them
6421 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6425 * importer.C: use buffer signals instead of direct bv calling
6426 * lyx_cb.[Ch] (ShowMessage): removed
6429 * paragraph_funcs.C:
6430 * text2.C: use buffer signals
6432 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * introduce namespace lyx::graphics
6436 2003-07-02 André Pönitz <poenitz@gmx.net>
6438 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6440 2003-07-01 André Pönitz <poenitz@gmx.net>
6447 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6448 text*.C to text_func.C
6450 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * introduce namespace lyx::support
6454 2003-06-30 André Pönitz <poenitz@gmx.net>
6459 * text.C: re-enable --with-included-string
6461 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6463 * textcursor.C: add <config.h>
6465 * text.C (getWord): remove const from word_location arg
6467 * lyxvc.C (getLogFile): fix const type order
6469 * lyxtext.h: remove const from word_location arg, add arg name
6471 * lyxlayout.h: currect type on labeltype.
6473 * importer.C: correct \file
6475 * converter.C (intToFormat): use std:: on ret val, ws changes
6477 * bufferlist.h: correct \file
6479 * buffer.C (makeLinuxDocFile): fix const type order
6480 (makeDocBookFile): ditto
6481 (fillWithBibKeys): use std:: on stdlib args.
6483 * CutAndPaste.C: fix authors.
6484 (availableSelections): use std:: on return vector
6486 2003-06-27 André Pönitz <poenitz@gmx.net>
6488 * BufferView_pimpl.C:
6489 * bufferview_funcs.C:
6497 * text3.C: remove LyXCursor::row_ member
6500 * text.C: rename fullRebreak() to partialRebreak() and implement
6501 a fullRebreak() that really bereks fully
6503 * textcursor.h: new struct for cursor-related data
6505 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6507 * lyx_main.C (LyX): get full path of document loaded on the
6510 2003-06-26 André Pönitz <poenitz@gmx.net>
6512 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6513 remove unused/broken operator>,<,>=.
6515 * text.C: remove only use of broken operator<= in an Assert().
6517 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6519 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6520 moved errorlist_.clear to showErrorList
6522 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6524 * converter.C (scanLog, runLaTeX):
6525 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6526 move the bv->showErrorList call to the callers
6527 * lyxfunc.C: i.e. here...
6529 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6530 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6531 namespace, the second to...
6532 * buffer_funcs (BufferFormat, parseErrors): added
6533 * errorlist.C (ErrorList(TeXErrors const &)): removed
6535 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6537 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6539 2003-06-24 "Garst R. Reese" <reese@isn.net>
6543 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6545 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6547 * version.C.in: change docversion to 1.4
6549 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6551 * buffer.C: fix a bug just introduced
6553 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6555 * buffer.[Ch]: added the parseError signal and use it, removed
6557 * BufferView.[Ch] (addError): moved to ...
6558 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6559 to the Buffer::parseError signal to catch (guess what) parse errors
6560 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6562 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6564 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6565 ability to create a buffer and to return an existing one from
6566 the list. Moved these functions to...
6567 * buffer_funcs.[Ch]: added
6568 * BufferView.[Ch] (loadLyXFile): added
6569 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6570 job removed from bufferlist::loadLyXFile.
6571 * buffer.C (setReadOnly): make it work without view
6572 (i.e added an if (users))
6574 2003-06-19 Angus Leeming <leeming@lyx.org>
6577 * LyXAction.C (init):
6578 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6579 with LFUN_DIALOG_SHOW <name> <data>.
6581 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6583 * CutAndPaste.C (availableSelections): small compilation fix for
6584 ancient (gcc 2.9x) compilers
6586 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * text3.C (cursorNext): add tmp var
6590 * text2.C (updateCounters): for function calling out of for clause
6591 (replaceSelectionWithString): ditto
6592 (insertStringAsParagraphs): ditto
6593 (getColumnNearX): add tmp var
6594 (setCursorFromCoordinates): add tmp var
6595 (cursorDownParagraph): add tmp var
6596 (deleteEmptyParagraphMechanism): add tmp var
6598 * text.C (insertChar): add tmp var
6600 * rowpainter.C (paintDepthBar): add tmp var
6602 * CutAndPaste.C (availableSelections): potentially check all
6603 paragraphs in a cut to fill the shown strings.
6605 2003-06-18 André Pönitz <poenitz@gmx.net>
6607 * kbmap.[Ch]: use vector<> instead of list<>
6609 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6611 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6612 pasteSelection with index
6614 * text2.C (pasteSelection): modify, call pasteSelection with index
6616 * paragraph.C (asString): reimplement version with no interval to
6617 call the one with interval.
6619 * lyxtext.h: add index arg to pasteSelection
6621 * MenuBackend.C (MenuItem): handle PasteRecent
6622 (Menu::read::Menutags): add md_pasterecent
6624 (expandPasteRecent): new function
6627 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6629 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6631 (availableSelections): new function
6633 2003-06-17 Angus Leeming <leeming@lyx.org>
6635 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6637 2003-06-17 Angus Leeming <leeming@lyx.org>
6640 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6642 * lyxfunc.C (dispatch): invoke it.
6644 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6646 * iterators.C (operator++, ParPosition): reintroduce some
6647 const_cast for the benefit of older compilers.
6649 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6651 * text3.C (dispatch): do not modify clipboard when doing
6652 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6653 LFUN_DELETE_SKIP on a selection selection
6655 2003-06-16 André Pönitz <poenitz@gmx.net>
6661 * tabular.[Ch]: IU of clone() and getLabelList();
6663 2003-06-13 André Pönitz <poenitz@gmx.net>
6665 * tabular.h: compactification
6667 2003-06-12 André Pönitz <poenitz@gmx.net>
6671 * tabular_funcs.h: some renaming plus whitespace
6673 2003-06-12 André Pönitz <poenitz@gmx.net>
6676 * BufferView_pimpl.C:
6682 * toc.C: Return a Paragraph & for ParIterator::operator*()
6684 2003-06-11 John Levon <levon@movementarian.org>
6688 * ToolbarBackend.C: add "Toolbars" section and
6691 2003-06-10 Angus Leeming <leeming@lyx.org>
6694 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6696 * lyxfunc.C (dispatch): invoke it.
6698 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6700 * main.C: protect <ios> with HAVE_IOS
6701 (main): protect sync_with_stdio with HAVE_IOS
6703 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6705 * text2.C (cutSelection): adjust
6706 (pasteSelection): adjust
6708 * messages.C: handle get of empty string
6710 * main.C (main): use sync_with_stdio(false)
6712 * lyxfunc.C (dispatch): adjust
6714 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6715 (WriteAs): remove unneeded BufferView arg.
6717 * bufferparams.h: use correct types on papersize, papersize2 and
6720 * bufferparams.C (readToken): adjust for type
6721 (writeLaTeX): add missing cases to switch.
6723 * bufferlist.C (quitWriteBuffer): adjust
6726 * buffer.C (asciiParagraph): remove some commented code.
6728 * CutAndPaste.C: remove current_view extern variable.
6729 (cutSelection): add BufferParams arg.
6730 (eraseSelection): add BufferParams arg.
6731 (pasteSelection): add Buffer const & arg
6733 2003-06-07 John Levon <levon@movementarian.org>
6736 * paragraph_funcs.C:
6737 * paragraph_pimpl.C:
6741 * paragraph.C: allow InsetERT to freely space lines,
6742 and some consolidation of code
6744 2003-06-06 José Matos <jamatos@fep.up.pt>
6746 * buffer.C (makeDocBookFile): fix bug #821
6748 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6750 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6752 2003-06-04 Angus Leeming <leeming@lyx.org>
6754 * buffer.C: bump format to 224.
6756 2003-06-05 André Pönitz <poenitz@gmx.net>
6758 * text2.C (redoParagraphs): remove two const_cast<>
6760 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6762 * ParagraphList.h: remove last remnants of NO_STD_LIST
6764 2003-06-03 Angus Leeming <leeming@lyx.org>
6766 * factory.C (createInset): small change to the way InsetExternal's params
6769 2003-06-04 André Pönitz <poenitz@gmx.net>
6771 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6773 * paragraph_pimpl.h:
6774 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6776 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6778 * undo_funcs.C: make some simple cases of undo work again
6780 2003-06-03 John Levon <levon@movementarian.org>
6782 * ispell.C: HPUX doesn't have sys/select.h
6785 2003-06-03 John Levon <levon@movementarian.org>
6787 * CutAndPaste.C: update tabular and include inset
6792 * paragraph.C: remove owningBuffer(), don't pass Buffer
6795 * factory.C: insetGraphicsParams changed
6797 2003-06-02 John Levon <levon@movementarian.org>
6803 * text3.C: remove insetparent
6805 2003-06-02 John Levon <levon@movementarian.org>
6808 * buffer.C: fix inset_iterator.end(), move out of line
6811 2003-06-01 John Levon <levon@movementarian.org>
6813 * text3.C: use a proper cut/paste when doing inset
6814 insert (from Jürgen Spitzmüller)
6816 2003-06-01 John Levon <levon@movementarian.org>
6818 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6820 2003-05-30 André Pönitz <poenitz@gmx.net>
6822 * rowpainter.C: unify second drawing phase
6824 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6826 * trans_mgr.C: remove one case of current_view
6828 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6830 * paragraph_funcs.h: remove paragraph.h include
6832 * paragraph.h: delete NO_STD_LIST stuff
6834 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6836 * buffer.h: remove paragraph.h include
6838 * ParagraphList.C: delete file
6840 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6842 * toc.C (getTocList): adjust
6844 * paragraph_pimpl.C (validate): adjust
6846 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6848 * paragraph.C (Paragraph): adjust
6849 (getPositionOfInset): use const_iterator, adjust
6850 (bibitem): use const_iterator, adjust
6851 (setInsetOwner): adjust
6853 * iterators.C (operator++): adjust
6855 * InsetList.[Ch]: Replace selfmade iterator with standard
6856 vector::iterator also introduce const_iterator. Remove getPos,
6857 getInset and setInset from InsetTable. Adjust accordingly.
6859 * BufferView.C (lockInset): adjust
6860 (ChangeInsets): adjust
6862 * tabular.[Ch]: delete commented same_id functions
6864 2003-05-28 John Levon <levon@movementarian.org>
6866 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6868 2003-05-28 André Pönitz <poenitz@gmx.net>
6870 * metricsinfo.[Ch]: remove 'fullredraw' member
6872 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6874 * lyxtextclass.C (operator): remove caching.
6876 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * text2.C (cursorBottom): adjust
6881 (setCounter): use ParagraphList::find, adjust
6883 * text.C (workWidth): use ParagraphList::find, adjust
6885 * lyxcursor.C (LyXCursor): adjust
6887 * buffer.C (inset_iterator): adjust
6889 * ParagraphList.h: make iterator(value_type) private, make
6890 ParagraphList a friend of iterator.
6892 * ParagraphList.C (find): new function
6894 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6896 2003-05-27 André Pönitz <poenitz@gmx.net>
6898 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6900 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6902 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6904 2003-05-26 John Levon <levon@movementarian.org>
6906 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6908 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * remove same_id from function signatures, adjust.
6912 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6916 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6918 * paragraph.C (Paragraph): get rid of same_ids parameter
6920 * ParagraphList.C (insert): adjust
6923 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * paragraph_funcs.C (breakParagraph): adjust
6926 (breakParagraphConservative): adjust
6928 * buffer.C (readParagraph): adjust
6930 * ParagraphList.C (insert): take a reference instead of a pointer
6933 * paragraph.[Ch] (id): new function
6935 * bufferlist.C (newFile): adjust
6937 * ParagraphList.C (ParagraphList): adjust
6939 (push_back): take a reference instead of a pointer.
6941 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6943 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6946 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6947 set else use old code.
6949 * ParagraphList.C: remove all NO_NEXT code and only compile this
6950 code of NO_STD_LIST is set.
6952 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6954 * BufferView_pimpl.C:
6964 * graphics/GraphicsConverter.C:
6965 * graphics/PreviewLoader.C: header adjustment
6967 2003-05-23 Angus Leeming <leeming@lyx.org>
6969 * LaTeXFeatures.[Ch] (useBabel): new method.
6970 * bufferparams.C (writeLaTeX): use it.
6972 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6974 * ParagraphList.h (set): remove unused function.
6976 2003-05-23 André Pönitz <poenitz@gmx.net>
6979 * BufferView_pimpl.C:
6983 * undo_funcs.C: setUndo reworked
6985 * iterators.[Ch]: add access to topmost ParagraphList
6987 * lyxtext.[Ch] (workWidth): add a const
6989 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6991 * texrow.[Ch] (increasePos): remove function
6992 * exporter.C (export): removed unused var and outdated comment
6994 2003-05-23 Angus Leeming <leeming@lyx.org>
6996 * latexrunparams.h: rename fragile as moving_arg.
6997 * paragraph.C (simpleTeXOnePar): ditto.
6998 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7000 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7004 (textUndoOrRedo): comment out a currently unused var.
7006 * paragraph.h (NO_NEXT): enable NO_NEXT
7008 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7010 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7012 * exporter.C (Export): adjust for removeAutoInsets removal.
7014 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7016 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7018 * BufferView.[Ch] (removeAutoInsets): delete function
7020 2003-05-22 Angus Leeming <leeming@lyx.org>
7022 * latexrunparams.h: add a free_spacing variable.
7024 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7025 to pass moving_arg, as the data is stored in runparams.fragile.
7027 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7028 to Inset::latexOptional or to simpleTeXOnePar.
7030 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7031 free_spacing arg to Inset::latexOptional.
7033 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7036 2003-05-22 Angus Leeming <leeming@lyx.org>
7038 * latexrunparams.h: add fragile and use_babel variables.
7040 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7041 * buffer.C (makeLaTeXFile): store this returned value in
7042 runparams.use_babel, thus passing it to the inset::latex methods.
7044 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7045 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7047 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7048 longer has a fragile arg, as it is stored in runparams.fragile.
7050 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7051 moving_arg parameter as the data is stored in runparams.fragile.
7053 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7054 a fragile parameter as the data is stored in runparams.fragile.
7056 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7060 2003-05-22 Angus Leeming <leeming@lyx.org>
7062 * latexrunparams.h: add a 'bool nice' which defaults to false.
7064 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7065 now encapsulated within runparams.
7067 * bufferlist.C (updateIncludedTeXfiles):
7068 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7070 2003-05-22 Angus Leeming <leeming@lyx.org>
7072 * latexrunparams.h: new file containing struct LatexRunParams.
7073 * Makefile.am: add new file.
7075 * LaTeX.[Ch] (c-tor, run):
7076 * buffer.[Ch] (makeLaTeXFile):
7077 * bufferlist.[Ch] (updateIncludedTeXfiles):
7078 * converter.C (convert, scanLog):
7079 * converter.[Ch] (runLaTeX):
7080 * exporter.C (Export):
7081 * paragraph.[Ch] (simpleTeXOnePar):
7082 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7083 * paragraph_funcs.[Ch] (latexParagraphs):
7084 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7085 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7086 pass around a LatexRunParams parameter.
7088 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7090 * paragraph.[Ch]: remove unused constructor
7092 * ParagraphList.C (erase): new function, taking two iterators
7094 2003-05-22 André Pönitz <poenitz@gmx.net>
7096 * undo_funcs.C: remove duplicated code
7098 * iterator.[Ch]: operator=
7100 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * tabular.C (SetMultiColumn): ws changes
7104 * rowpainter.C (paintFirst): get rid of a ->previous
7106 * lyx_cb.C (getPossibleLabel): parlist simplification
7108 * BufferView.C (ChangeInsets): simplify slightly.
7110 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7112 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7113 * lfuns.h: new LFUN_SPACE
7114 * lyxfunc.C: protected space has a new lfun
7115 * paragraph_funcs.C: read new space insets
7117 * factory.C: handle new space insets
7119 2003-05-22 André Pönitz <poenitz@gmx.net>
7122 * BufferView_pimpl.C:
7125 * undo_funcs.C: return a ParIterator from getParFromID.
7127 * iterators.[Ch]: add two const's
7129 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * toc.C (getTocList): adjust
7133 * iterators.[Ch]: rework for parlist
7135 * buffer.C (par_iterator_begin): adjust
7136 (par_iterator_end): adjust
7138 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7140 * BufferView.C (removeAutoInsets): adjust
7141 (ChangeInsets): adjust
7143 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7145 * text.C (top_y): fix bug 1110
7147 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7149 * errorlist.[Ch]: added
7152 * BufferView_pimpl.C:
7153 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7156 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7158 * Makefile.am: ensure that lyx is relinked upon changes to the
7159 various "convenience" libs.
7161 2003-05-20 Angus Leeming <leeming@lyx.org>
7163 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7164 files are compiled in alphabetical order again.
7166 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7168 2003-05-19 Angus Leeming <leeming@lyx.org>
7170 * gettext.[Ch]: remove "char const * _(char const *)".
7172 2003-05-19 André Pönitz <poenitz@gmx.net>
7174 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7183 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7185 2003-05-19 André Pönitz <poenitz@gmx.net>
7189 * lyxtextclass.[Ch]:
7191 * paragraph_funcs.[Ch]:
7193 * text3.C: more insetenv work
7195 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7197 * ParagraphParameters.C (params2string): small bug fixed
7199 2003-05-16 André Pönitz <poenitz@gmx.net>
7202 * bufferview_funcs.C: patch from Kornel Benko to prevent
7203 crash when _(...) is called twice in a statement
7205 2003-05-16 André Pönitz <poenitz@gmx.net>
7212 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7214 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7216 * lyx_main.C (init): remove spurious static_cast
7218 2003-05-14 André Pönitz <poenitz@gmx.net>
7220 * BufferView.C: fix format string
7222 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7224 * BufferView.[Ch] (insertErrors): removed
7225 * BufferView.[Ch] (showErrorList): added
7226 * buffer.C (runChkTeX):
7227 * converter.C (scanLog): call showErrorList instead of inserterrors
7229 2003-05-13 André Pönitz <poenitz@gmx.net>
7231 * BufferView_pimpl.C:
7233 * bufferview_func.C:
7240 * tabular_funcs.h: tostr() from its own header
7242 * ParagraphParameters.C:
7247 * text3.C: STRCONV()
7249 2003-05-12 André Pönitz <poenitz@gmx.net>
7252 * BufferView_pimpl.C:
7256 * ParagraphParameters.C:
7260 * bufferview_funcs.C:
7273 * paragraph_funcs.C:
7277 * text3.C: boost::format -> bformat all over the place
7280 2003-05-09 André Pönitz <poenitz@gmx.net>
7282 * LColor.[Ch]: Pimpl the #include <map> away
7284 2003-05-09 John Levon <levon@movementarian.org>
7286 * bufferlist.C: never remove emergency saves
7288 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7290 * Makefile.am: better lib building
7292 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7294 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7296 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7297 (simpleTeXSpecialChars): adjust
7298 (simpleTeXSpecialChars): adjust
7299 * paragraph.C (simpleTeXOnePar): adjust
7300 * buffer.C (makeLaTeXFile): adjust
7302 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7304 * text2.C (changeDepth): parlist cleanup
7305 (getColumnNearX): ditto
7307 * rowpainter.C (getLabelFont): parlist cleanup
7309 * bufferlist.C (newFile): parlist cleanup
7311 * CutAndPaste.C (eraseSelection): parlist cleanup
7313 * BufferView_pimpl.C (trackChanges): parlist cleanup
7316 * BufferView.C (lockInset): parlist cleanup.
7317 (ChangeInsets): ditto
7319 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * CutAndPaste.h: Update file header.
7323 * CutAndPaste.C: Update file header.
7324 Store the parts cut out of the Document in a limited_stack.
7325 (copySelection): adjust
7326 (pasteSelection): new function, takes the index in the limited stack.
7327 (nrOfParagraphs): adjust
7328 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7329 simplify error inset insertion.
7330 (checkPastePossible): adjust
7332 2003-05-06 John Levon <levon@movementarian.org>
7334 * text2.C: don't cast wrap inset to float
7336 2003-05-05 André Pönitz <poenitz@gmx.net>
7339 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7341 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7342 few naked Paragraph *.
7344 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7346 * bufferparams.C: Output warning if a document with missing
7347 TeX document class is loaded
7348 * exporter.C: Disable TeX exports if the document class is missing
7351 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7352 isTeXClassAvailable()
7354 2003-05-03 John Levon <levon@movementarian.org>
7357 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7358 explicit cursor show/hide
7360 * BufferView_pimpl.h:
7361 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7362 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7364 * lyxfunc.C: hide cursor before dispatching.
7369 * text3.C: remove explicit cursor hides
7371 2003-05-02 André Pönitz <poenitz@gmx.net>
7373 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7376 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7379 * text2.C: tiny whitespace
7381 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7383 * undo_funcs.C: almost only ws changes.
7385 * ParagraphList.C (splice): just return if pl is empty.
7387 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * ParagraphList.C (splice): new function.
7391 * CutAndPaste.C (pasteSelection): use it
7393 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7395 * CutAndPaste.C (pasteSelection): remove the last next and
7396 previous from this file.
7398 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7400 * CutAndPaste.C (pasteSelection): more clean up, user proper
7401 ParagraphList functions for pasteing.
7403 * ParagraphList.C (insert): new function, three arg insert
7405 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7407 * ParagraphList.C (insert): new function, three arg insert
7409 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7412 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7414 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7416 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7418 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7420 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7422 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7423 (copySelection): clean up a bit.
7424 (pasteSelection): use make_pair
7426 * ParagraphList.C (ParagraphList): implement copy constructor
7427 (operator=): implement, base on copy constructor.
7430 * paragraph.C (erase): return a bool
7432 * paragraph_pimpl.C (erasePos): remove function, move contents...
7433 (erase): ... here. Return a bool.
7434 (erase): call erase instead of erasePos.
7436 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7438 * ParagraphList.h: define PitPosPair
7439 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7440 ParagraphList, fix a bug on pasting multiple pars
7441 * text2.C: change interface to C&P
7443 2003-04-30 André Pönitz <poenitz@gmx.net>
7445 * undo_func.C: revert part of yesterday's patch 2
7447 2003-04-30 John Levon <levon@movementarian.org>
7449 * LColor.C: s/tabular/table/
7451 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7453 * text3.C (dispatch): do not convert iterator -> pointer
7454 * undo_funcs.C (setCursorParUndo): ditto
7455 * text_funcs.C (transposeChars): ditto
7457 * text2.C (setLayout): ws changes only
7459 * text.C (breakParagraph): do not convert iterator -> pointer
7461 (acceptChange): ditto
7462 (rejectChange): ditto
7467 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7470 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7472 * text3.C (gotoInset): YABG (yet another bad getChar)
7474 2003-04-29 André Pönitz <poenitz@gmx.net>
7476 * paragraph.h: make operator= private unimplemented as long as
7479 * ParagraphList.C: whitespace
7482 * paragraph_pimpl.[Ch]:
7483 * paragraph_funcs.C:
7485 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7488 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7490 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7492 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7493 * paragraph.[Ch] (erase):
7494 * paragraph_pimpl.[Ch] (erase): change return type and value
7495 * text2.C (cutSelection): some rework
7497 2003-04-28 John Levon <levon@movementarian.org>
7499 * bufferlist.C: changes for unsaved changes dialog
7501 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7503 * bufferlist.C (newFile): set language (messages_) for new
7506 * buffer.C (readFile): ws changes only.
7508 2003-04-28 André Pönitz <poenitz@gmx.net>
7513 * BufferView_pimpl.C:
7514 * BufferView.C: getParFromID related ParagraphList::iterator changes
7516 2003-04-28 André Pönitz <poenitz@gmx.net>
7518 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7521 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7523 * messages.C: remove one more localedir class variable.
7525 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * messages.C (getLocaleDir): singleton generation function
7529 (Messages): add a default constructor.
7531 * main.C (main): do not setup localedir here, do not call
7534 * gettext.C (_): use it.
7535 (gettext_init): delete funciton
7537 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * gettext.C (getLyXMessages): new singleton generating function.
7541 * buffer.C (updateDocLang): adjust
7543 * Makefile.am (messages.o): add target
7544 (main.o): remove target
7546 2003-04-27 John Levon <levon@movementarian.org>
7551 * lyxvc.C: specify cancel button in Alert::prompt
7553 2003-04-26 John Levon <levon@movementarian.org>
7558 * LyXAction.C: add LFUN_INSET_SETTINGS
7560 * lyxfunc.C: don't enable tabular-feature when there's
7561 just any locking inset
7563 2003-04-26 John Levon <levon@movementarian.org>
7565 * bufferlist.C: re-add Cancel to buffer close question
7567 * lyxfunc.C: fix import UI a bit
7569 2003-04-25 John Levon <levon@movementarian.org>
7571 * gettext.C: remove the broken asserts for now
7573 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * messages.C: make case where setlocale cannot comply work better.
7577 * buffer.C (updateDocLang): new function
7578 (changeLanguage): use it
7581 * text2.C (setCounter): use B_ a bit.
7583 * lyxlayout.C (Read): be sure to trim the label strings.
7585 * messages.C (Messages): fix typo in comment
7587 * buffer.C (readFile): set message_ after file is loaded.
7588 (makeDocBookFile): remove double return
7589 (changeLanguage): reset message_ upon language change.
7590 (B_): new func, use this to get translated buffer strings.
7592 * main.C: add myself and Jean Marc as authors.
7594 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * messages.[hC]: pimplify Messages, and three different pimpls to be
7597 used in different circumstances.
7599 * gettext.[Ch]: change for use with new message code.
7601 2003-04-24 André Pönitz <poenitz@gmx.net>
7603 * factory.C: support for eqref
7605 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * messages.[Ch]: add missing char
7609 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7611 * messages.[Ch]: New files
7613 2003-04-18 John Levon <levon@movementarian.org>
7617 * BufferView_pimpl.C:
7621 * text2.C: remove layout-copy/paste (bug 778)
7623 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7625 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7627 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7629 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7630 if they succeed. Act accordingly.
7632 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * text2.C (setCharFont): adjust
7635 (setCounter): adjust
7636 (insertStringAsLines): adjust
7638 * text.C (leftMargin): adjust
7639 (setHeightOfRow): adjust
7641 * rowpainter.C (paintFirst): adjust
7644 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7646 (isFirstInSequence): ditto
7647 (getEndLabel): ditto
7650 * paragraph.C (getParLanguage): comment out some hard stuff.
7652 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7654 (simpleDocBookOnePar): ditto
7655 (makeDocBookFile): use ParagraphList::iterator
7657 * CutAndPaste.C (pasteSelection): adjust
7659 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7661 * text2.C (getFont): adjust
7662 (getLayoutFont): adjust
7663 (getLabelFont): adjust
7665 * paragraph_funcs.C (TeXOnePar): adjust
7667 * buffer.C (simpleLinuxDocOnePar): adjust
7668 (simpleDocBookOnePar): adjust
7670 * CutAndPaste.C (pasteSelection): adjust
7672 * BufferView.C (getEncoding): adjust
7674 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7676 2003-04-16 John Levon <levon@movementarian.org>
7678 * lyxfind.C: use parlist stuff for search/changes
7680 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7684 * text2.C (deleteEmptyParagraphMechanism): adjust
7686 * text2.[Ch] (ownerParagraph): delete func (both of them
7688 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7692 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * ParagraphList.C: prepare for NO_NEXT
7696 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * text2.C (getFont): adjust
7699 (getLayoutFont): adjust
7700 (getLabelFont): adjust
7702 * paragraph.C (getFont): adjust
7703 (getLabelFont): adjust
7704 (getLayoutFont): adjust
7706 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7708 2003-04-15 John Levon <levon@movementarian.org>
7712 * lyx_main.C: handle Include in .ui files
7714 2003-04-15 John Levon <levon@movementarian.org>
7716 * MenuBackend.C: make the doc files length shorter
7719 * ToolbarBackend.C: handle toolbar placement flags,
7722 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7724 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7727 * paragraph_funcs.C (TeXOnePar): adjust
7729 * paragraph.C (getLabelFont): add outerfont arg, adjust
7730 (getLayoutFont): ditto
7731 (simpleTeXOnePar): adjust
7733 * paragraph_pimpl.C (realizeFont): delete func
7735 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7737 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7738 row argument, constify cur argument.
7740 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * text2.C (getFont): adjust
7743 (getLayoutFont): adjust
7744 (getLabelFont): adjust
7746 * paragraph_funcs.C (TeXOnePar): adjust
7747 (outerFont): new func...
7748 (realizeFont): ...moved out from here, changed this to facilitate
7751 * paragraph.C (getFont): take outerfont as arg, adjust
7752 (simpleTeXOnePar): add outerfont arg, adjust
7754 * buffer.C (simpleLinuxDocOnePar): adjust
7755 (simpleDocBookOnePar): adjust
7757 * CutAndPaste.C (pasteSelection): adjust
7759 * BufferView.C (getEncoding): adjust
7761 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * text2.C (setCharFont): adjust
7764 (setCounter): adjust
7766 * text.C (leftMargin): adjust
7767 (setHeightOfRow): adjust
7769 * rowpainter.C (paintFirst): adjust
7772 * paragraph_pimpl.C (realizeFont): adjust
7774 * paragraph.C (isFirstInSequence): move from here...
7775 * paragraph_funcs.C (isFirstInSequence): ...to here
7777 * paragraph.C (outerHook): move from here...
7778 * paragraph_funcs.C (outerHook): ...to here
7780 * paragraph.C (depthHook): move from here...
7781 * paragraph_funcs.C (depthHook): ...to here
7783 * paragraph.C (getEndLabel): move from here...
7784 * paragraph_funcs.C (getEndLabel): ...to here
7786 * text2.C (realizeFont): move from here...
7787 * paragraph_funcs.C (realizeFont): ...to here
7789 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7793 2003-04-14 Angus Leeming <leeming@lyx.org>
7795 * LColor.[Ch]: scrap LColor mathcursor.
7797 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * lyxlex.[Ch] (text): delete function
7800 * trans.C (Load): adjust
7801 * paragraph_funcs.C (readParToken): adjust
7803 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7806 vector<char> instead of a char[].
7808 * lyxlex_pimpl.C (getString): adjust
7810 (lex): use getString
7814 * lyxlex.C (text): use pimpl_->getString()
7818 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7821 (makeFontEntriesLayoutSpecific): temp var for par.size()
7822 (setLayout): temp var for ownerParagraphs().end()
7823 (fullRebreak): temp var for rows().end()
7824 (selectionAsString): temp var for boost::next(startpit), realize
7825 that the while really is a regular for loop.
7826 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7827 setCursor in one place.
7828 (setParagraph): temp vr for ownerParagraphs().end()
7829 (updateCounters): make the while loop a for loop
7830 (cutSelection): temp var for ownerParagraphs().end()
7831 (updateInset): make the do {} while() a regular for loop
7832 (getCursorX): use temp vars
7833 (setCurrentFont): use temp vars
7834 (getColumnNearX): use temp vars
7836 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7838 * text.C (transformChar): use temp var for getChar
7839 (computeBidiTables): use temp var for row->par()
7840 (fill): move temp vars for row->par() and pit->layout() earlier in
7842 (labelFill): use temp var for row->par()
7843 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7844 asc and desc, realize that pit never changes and that firstpit is
7845 just a duplicate and not needed. Exchange rit->par() with pit in a
7847 (breakAgain): use a temp var for boost::next(rit)
7848 (breakAgainOneRow): ditto
7849 (breakParagraph): use a temp var for rows().begin()
7850 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7851 (cursorRightOneWord): use temp var for cursor.par() and
7852 cursor.pos(), remove usage of tmpcursor.
7853 (cursorLeftOneWord): use temp var for cursor.par() and
7854 cursor.pos() only set cur at end of function.
7856 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * text.C, text2.C: exchange all usage of Paragraph::next with
7859 boost::next(ParagraphList::iterator)
7861 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7863 * text2.C (cursorTop): simplify implementation
7864 (cursorBottom): ditto
7865 (setParagraph): use ParagraphList::iterator
7866 (setCurrentFont): adjust
7867 (getColumnNearX): adjust
7868 (cursorRight): adjust
7869 (cursorLeft): remove usage of Paragraph::previous
7870 (cursorUpParagraph): ditto
7871 (deleteEmptyParagraphMechanism): slight cleanup
7873 * text.C (isBoundary): take a Paragraph const & instead of a
7875 (addressBreakPoint): ditto
7876 (leftMargin): remove usage of Paragraph::previous.
7877 (setHeightOfRow): ditto
7878 (cursorLeftOneWord): ditto
7879 (selectNextWordToSpellcheck): ditto
7882 (breakParagraph): remove one usage of Paragraph::next
7883 (redoParagraph): ditto
7884 (acceptChange): ditto
7885 (insertChar): adjust
7886 (rowBreakPoint): adjust
7888 * bufferview_funcs.C (toggleAndShow): adjust
7890 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7892 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7893 methods to access it.
7895 * text.C: Added updateRowPositions to compute all row positions.
7896 Make top_y and getRowNearY() to use the cached y position
7898 2003-04-11 John Levon <levon@movementarian.org>
7900 * text.C (rowBreakPoint): reintroduce the labelEnd
7901 checks, code copied from the row fill stuff. Deep voodoo.
7903 * text.C (fill): add a comment and debugging for the
7906 2003-04-11 John Levon <levon@movementarian.org>
7908 * text.C: make sure fullrow insets get wrapped to the next line,
7909 even when they're in a manual label
7911 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7913 * text2.C (insertParagraph): make it take ParagraphList::iterator
7915 (setLayout): make it return ParagraphList::iterator
7916 (redoParagraphs): ditto
7918 (checkParagraph): ditto
7920 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7922 * text2.C: adjust several funcs.
7923 (realizeFont): take a ParagraphList::iterator as arg.
7924 (getLayoutFont): ditto
7925 (getLabelFont): ditto
7926 (setCharFont): ditto
7928 * text.C: adjust several funcs.
7930 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7932 * text.C (selectNextWordToSpellcheck): don't accidentally
7935 2003-04-10 John Levon <levon@movementarian.org>
7937 * ToolbarBackend.C (getIcon): special handling for
7940 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7942 * text2.C (cursorRight): a getChar assert fixed
7944 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7946 * text2.C (getFont): change to take a ParagraphList::iterator
7947 instead of Paragraph*
7948 Adjust several functions.
7950 * text.C (transformChar): change to take a ParagraphList::iterator
7951 instead of Paragraph*
7952 (singleWidth): ditto
7953 Adjust several functions.
7955 * rowpainter.C: adjust several functions
7956 * rowpainter.h:store a ParagraphList::iterator and not a
7960 2003-04-09 John Levon <levon@movementarian.org>
7965 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7966 and the "help" bits as well
7968 2003-04-09 John Levon <levon@movementarian.org>
7971 * ToolbarBackend.C: allow multiple toolbars
7973 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * undo_funcs.C (setCursorParUndo): adjust
7977 * text_funcs.C (transposeChars): adjust
7979 * text3.C (gotoNextInset): adjust
7982 * text2.C (setLayout): adjust
7983 (changeDepth): adjust
7985 (redoParagraphs): adjust
7986 (selectionAsString): adjust
7987 (setParagraph): adjust
7988 (insertInset): adjust
7989 (cutSelection): adjust
7990 (copySelection): adjust
7991 (pasteSelection): adjust
7992 (insertStringAsLines): adjust
7993 (updateInset): adjust
7994 (setCursor): change to take a ParagraphList::iterator parameter
7995 (setCursorIntern): change to take a ParagraphList::iterator parameter
7996 (setCurrentFont): adjust
7997 (cursorLeft): adjust
7998 (cursorRight): adjust
7999 (deleteEmptyParagraphMechanism): adjust
8001 * text.C (breakParagraph): adjust
8002 (insertChar): adjust
8003 (acceptChange): adjust
8004 (rejectChange): adjust
8005 (selectNextWordToSpellcheck): adjust
8006 (changeCase): adjust
8010 * lyxfind.C (SearchForward): adjust
8011 (SearchBackward): adjust
8012 (nextChange): adjust
8014 * lyxcursor.C (par): adjust
8016 * lyxcursor.h: store a ParagraphList::iterator instead of a
8019 * lyx_cb.C (getPossibleLabel): adjust
8021 * bufferview_funcs.C (toggleAndShow): adjust
8023 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8026 * BufferView.C (removeAutoInsets): adjust
8027 (lockedInsetStoreUndo): adjust
8029 2003-04-09 John Levon <levon@movementarian.org>
8031 * ToolbarBackend.C: try icon without argument
8032 if with argument fails
8034 2003-04-08 John Levon <levon@movementarian.org>
8037 * ToolbarBackend.C: add getIcon(), handle tooltip,
8038 and change from "Icon" to "Item".
8040 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8042 * BufferView.C (lockInset): another bad getchar crunched
8044 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8046 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8049 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8051 * lyxfind.C (searchForward, searchBackwards): bug 782
8053 2003-04-07 John Levon <levon@movementarian.org>
8055 * paragraph.C: remove dead comment
8057 * text.C: remove troublesome depth-fiddling code
8058 in leftMargin() and rightMargin() (bug 1017)
8060 * text.C: fix breaking of rows in nested lists
8063 * text2.C (updateCounters): fix up depth values
8066 2003-04-07 John Levon <levon@movementarian.org>
8068 * BufferView_pimpl.C: clear message when doc finishes resizing,
8069 and after a mouse event
8071 * lyxfunc.C: clear message after exiting inset
8073 2003-04-07 John Levon <levon@movementarian.org>
8075 * bufferview_funcs.C: show math status not outside
8076 status in the statusbar
8078 2003-04-07 John Levon <levon@movementarian.org>
8080 * lyxfunc.C: note status changed after a depth change
8082 2003-04-04 Angus Leeming <leeming@lyx.org>
8084 * LaTeX.h: move AuxInfo operator==, != out of line.
8085 Remove LaTeX virtual destructor; nothing derives from it.
8086 Move operator()() out of public area and rename it startscript().
8087 Change protected for private.
8089 2003-04-04 Angus Leeming <leeming@lyx.org>
8092 * text2.C: remove unneeded #includes.
8094 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8096 * text2.C (dEPM): fix the heigth of the next row
8098 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8100 * text.C: squashed an invalid getChar requester + some ws changes
8102 2003-04-03 John Levon <levon@movementarian.org>
8104 * bufferview_funcs.h:
8105 * bufferview_funcs.C:
8108 * text2.C: make getStatus work for the env depth lfuns
8110 2003-04-03 John Levon <levon@movementarian.org>
8112 * bufferview_funcs.h:
8113 * bufferview_funcs.C:
8116 * text2.C: parlistize decDepth(), by merging it with incDepth()
8118 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * lyxrow.h: store a ParagraphList::iterator instead of a
8121 Paragraph* and adjust other class functions to suit.
8123 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8126 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8128 * text2.C (setCursor): do not anchor to cursor row for the time being
8130 2003-04-02 John Levon <levon@movementarian.org>
8137 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8139 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8141 * paragraph.h: make ParagraphList and ParagraphList::iterator
8142 friends of Paragraph.
8144 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8146 * ParagraphList.C: Use the private next_ and previous_ from
8149 2003-04-01 John Levon <levon@movementarian.org>
8153 * Makefile.am: rename, remove defaults gunk
8156 * MenuBackend.C: remove defaults gunk
8159 * Languages.C: remove defaults gunk
8162 * lyx_main.C: error out if files couldn't be found.
8164 2003-04-02 John Levon <levon@movementarian.org>
8166 * text2.C: make incDepth() use parlist
8168 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8170 * undo_funcs.C (firstUndoParagraph): adjust
8172 * text3.C (gotoInset): adjust
8173 (dispatch): adjust, and rewrite loop.
8175 * text2.C (init): adjust, and rewrite loop.
8176 (redoParagraphs): adjust
8177 (updateInset): adjust, and rewrite loop.
8178 (deleteEmptyParagraphMechanism): adjust
8180 * tabular.C (LyXTabular): adjust
8181 (SetMultiColumn): adjust
8184 * lyxtext.[Ch] (ownerParagraph): delete function
8185 (ownerParagraphs): new function returns a ParagraphList.
8187 * BufferView.C (removeAutoInsets): adjust
8188 (insertErrors): adjust
8189 (setCursorFromRow): adjust
8191 2003-04-01 Angus Leeming <leeming@lyx.org>
8193 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8196 2003-04-02 John Levon <levon@movementarian.org>
8202 * text_funcs.C: make transposeChars a free function
8204 * lyxrow_funcs.C: remove wrong comment
8206 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * rowpainter.C: adjust
8214 * lyxrow_funcs. [Ch]: new files
8216 * lyxrow.[Ch]: remove next and previous pointers
8217 (next,previous): remove accessor functions
8218 (isParEnd): move to lyxrow_funcs
8219 (lastPos): move to lyxrow_funcs
8220 (nextRowIsAllInset): move to lyxrow_funcs
8221 (lastPrintablePos): move to lyxrow_funcs
8222 (numberOfSeparators): move to lyxrow_funcs
8223 (numberOfHfills): move to lyxrow_funcs
8224 (numberOfLabelHfills): move to lyxrow_funcs
8225 (hfillExpansion): move to lyxrow_funcs
8229 * bufferview_funcs.C (toggleAndShow): adjust
8231 * RowList.h: Remove class RowList from file leave just a
8234 * RowList.C: delete file
8236 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8239 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8241 * text3.C (cursorPrevious): adjust
8242 (cursorNext): adjust
8245 * text2.C (redoHeightOfParagraph): adjust
8246 (redoDrawingOfParagraph): adjust
8249 * text.C (breakParagraph): adjust
8250 (insertChar): adjust
8253 * rowpainter.C (RowPainter): adjust
8254 (leftMargin): simplify and adjust
8255 (most rowpainter functions): adjust.
8257 * rowpainter.h: store the row as RowList::iterator not as Row*
8259 * lyxcursor.C (row): taka RowList::iterator as arg
8262 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8265 2003-04-01 Angus Leeming <leeming@lyx.org>
8267 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8268 stuff like bool Bool.
8270 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8272 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8275 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8280 * lyxtext.h (rows): drop one version and leve a const variant that
8281 returns a RowList::iterator.
8283 2003-03-31 Angus Leeming <leeming@lyx.org>
8285 * text.C (fill): ensure that the signature is the same as that in the
8288 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * text2.C (redoParagraphs): adjust
8291 (updateCounters): adjust
8292 (checkParagraph): adjust
8293 (getColumnNearX): adjust and reformat a bit.
8295 * text.C (top_y): adjust
8297 (leftMargin): adjust
8298 (prepareToPrint): adjust
8300 (getRowNearY): adjust
8302 * lyxtext.h: make rowlist_ mutable.
8304 * RowList.h: add const_iterator
8305 * RowList.C: adjust for RowList::const_iterator.
8307 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8310 2003-03-31 John Levon <levon@movementarian.org>
8313 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8315 * lyx_main.C: set default fonts from using lyx_gui funcs
8317 * exporter.C: pdf_mode moved from lyxrc
8320 * lyxfunc.C: changes from above
8322 2003-03-31 John Levon <levon@movementarian.org>
8324 * lyx_main.C: fix to the last fix
8326 2003-03-31 John Levon <levon@movementarian.org>
8328 * bufferlist.C: "Load original" -> "Load Original"
8334 * format.C: more Alert cleanups
8336 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * text2.C (removeParagraph): make it take a RowList::iterator as
8340 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8341 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8343 * text.C (anchor_row): make it take a RowList::iterator as arg,
8345 (computeBidiTables): make it take a const reference to Row instead
8346 of Row pointer, adjust.
8347 (leftMargin): make it take a RowList::iterator as arg, adjust.
8348 (rowBreakPoint): adjust
8349 (breakAgainOneRow): make it take a RowList::iterator as arg,
8351 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8353 * bufferview_funcs.C (toggleAndShow): adjust
8355 2003-03-30 John Levon <levon@movementarian.org>
8359 * boost-inst.C: moved to support
8361 * several files: changes as a result
8363 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8365 * text2.C (LyXText): adjust.
8367 (removeRow): make it take a RowList::iterator as arg, adjust.
8368 (fullRebreak): adjust
8369 (deleteEmptyParagraphMechanism): adjust
8370 (clearPaint): adjust
8373 * text.C (top_y): adjust
8374 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8375 (breakAgain): make it take a RowList::iterator as arg, adjust.
8376 (breakParagraph): adjust
8377 (insertChar): adjust
8380 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8381 need_break_row, and refresh_row.
8383 * text3.C (dispatch): adjust
8385 * text2.C (checkParagraph): adjust
8387 (setCursorFromCoordinates): adjust
8389 * text.C (top_y): adjust
8391 (getRow): make it return a RowList::iterator, adjust
8392 (getRowNearY): make it return a RowList::iterator, adjust
8394 * text2.C (init): adjust
8395 (insertRow): remove function
8396 (insertParagraph): adjust
8397 (redoParagraphs): adjust
8398 (fullRebreak): adjust
8399 (updateCounters): adjust
8401 * text.C (top_y): rewrite to use RowList iterators.
8403 (setHeightOfRow): rewrite to sue RowList iterators.
8404 (appendParagraph): adjust
8405 (breakAgain): adjust
8406 (breakAgainOneRow): adjust
8407 (breakParagraph): adjust
8409 (getRowNearY): adjust, and remove commented code.
8411 * lyxtext.h (firstRow): delete function
8412 (lastRow): delete function
8413 (rows): new function (const and non-const versions.)
8414 (insertRow): delete function
8416 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8418 2003-03-29 John Levon <levon@movementarian.org>
8420 * BufferView_pimpl.C: always update scrollbar top
8421 because pasting text when we're anchored could mean we
8422 miss an update altogether
8424 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * text2.C (init): use rowlist_.end() and not 0.
8427 (insertRow): change to take a RowList::iterator as arg, adjust
8429 (insertParagraph): change to take a RowList::iterator as arg,
8431 (redoParagraphs): remove some debug msgs.
8433 * text.C (appendParagraph): change to take a RowList::iterator
8434 arg, adjust for this.
8435 (breakAgain): add an assert
8436 (breakAgainOneRow): ditto
8438 2003-03-29 John Levon <levon@movementarian.org>
8440 * text2.C: do not clear selection after inc/decDepth
8443 2003-03-29 John Levon <levon@movementarian.org>
8446 * buffer.C: fix broken strerrors according to Lars
8448 2003-03-29 John Levon <levon@movementarian.org>
8450 * converters.C: more Alert cleanups
8452 2003-03-29 John Levon <levon@movementarian.org>
8454 * bufferview_funcs.C: remove pointless Alert
8456 * buffer.C: fix confusing error message when
8457 a template is chmoded 000
8459 2003-03-29 John Levon <levon@movementarian.org>
8463 * BufferView_pimpl.C: Alert fixes
8467 * tabular-old.C: remove unused table compat reading
8469 2003-03-29 John Levon <levon@movementarian.org>
8474 * lyx_cb.C: more Alert cleanups
8476 * lyxfunc.C: don't allow chktex if not latex document
8478 2003-03-29 John Levon <levon@movementarian.org>
8482 * buffer.C: warnings pushed down from support/,
8485 2003-03-29 John Levon <levon@movementarian.org>
8487 * lyxfunc.C: safety check for C-r (revert)
8489 2003-03-29 John Levon <levon@movementarian.org>
8492 * bufferlist.C: several UI fixes using Alert::prompt.
8493 Fix the pointless looping quit code. Fix stupid revert
8498 * lyx_cb.C: use Alert::prompt
8500 * lyx_main.C: remove a silly question
8502 * lyxfunc.C: remove a couple of silly questions,
8505 2003-03-28 John Levon <levon@movementarian.org>
8507 * text2.C: fix bug 974 (End on empty par)
8509 2003-03-28 John Levon <levon@movementarian.org>
8511 * BufferView_pimpl.C:
8513 * lfuns.h: remove do-nothing math greek lfuns
8515 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8517 * lyxgluelength.h (isValidGlueLength): add default arg on
8518 parameter 2. Remove default arg from friend in class.
8520 * lyxlength.h (isValidLength): add default arg on parameter 2.
8521 Remove default arg from friend in class.
8523 * text2.C (LyXText): adjust, initialize refresh_row.
8527 (insertParagraph): adjst
8528 (redoParagraphs): adjust
8529 (fullRebreak): adjust
8530 (updateCounters): adjust
8531 (deleteEmptyParagraphMechanism): first attempt at fixing a
8534 * text.C (top_y): adjust
8535 (setHeightOfRow): adjust
8537 (getRowNearY): adjust
8539 * lyxtext.h: include RowList.h
8540 (~LyXText): not needed anymore, deleted.
8541 (firstRow): modify for RowList
8542 (lastRow): new function
8543 Delete firstrow and lastrow class variables, add a Rowlist
8544 rowlist_ class variable.
8546 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8549 * RowList.C (insert): fix case where it == begin().
8551 2003-03-26 Angus Leeming <leeming@lyx.org>
8553 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8554 the thesaurus dialog.
8556 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8558 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8560 * RowList.[Ch]: new files
8562 * ParagraphList.C (erase): handle the case where it == begin
8565 2003-03-25 John Levon <levon@movementarian.org>
8569 * aspell.C: add new aspell support
8572 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8575 2003-03-25 Angus Leeming <leeming@lyx.org>
8578 * LyXAction.C (init): new LFUN_INSET_INSERT.
8580 * BufferView_pimpl.C (dispatch): split out part of the
8581 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8583 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8586 2003-03-25 Angus Leeming <leeming@lyx.org>
8588 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8590 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8593 * text3.C: remove useless row->height(0)
8595 2003-03-25 John Levon <levon@movementarian.org>
8599 * text3.C: rename the refreshing stuff to better names
8601 2003-03-24 John Levon <levon@movementarian.org>
8603 * BufferView_pimpl.h:
8604 * BufferView_pimpl.C: update layout choice on a mouse
8607 2003-03-23 John Levon <levon@movementarian.org>
8609 * Makefile.am: fix commandtags.h reference
8611 2003-03-22 John Levon <levon@movementarian.org>
8613 * BufferView_pimpl.C:
8618 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8620 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8623 * text.C: take the rtl methods out of line
8625 2003-03-21 André Pönitz <poenitz@gmx.net>
8627 * metricsinfo.[Ch]: new files containing structures to be passed around
8628 during the two-phase-drawing...
8630 2003-03-21 André Pönitz <poenitz@gmx.net>
8632 * lyxtextclass.C: read 'environment' tag.
8634 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8636 * text2.C (removeRow): fix bug 964
8638 2003-03-20 John Levon <levon@movementarian.org>
8642 * text2.C: paint cleanups. Inset::update() dropped font
8645 2003-03-19 John Levon <levon@movementarian.org>
8647 * lyxfunc.C: only fitcursor/markDirty if available()
8649 2003-03-19 John Levon <levon@movementarian.org>
8651 * commandtags.h: rename to ...
8653 * lfuns.h: ... this, and renumber / cleanup
8655 2003-03-19 John Levon <levon@movementarian.org>
8657 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8658 fit the cursor after an lfun
8662 * BufferView_pimpl.h:
8663 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8665 * LyXAction.C: layout-character should have ReadOnly
8667 * ParagraphParameters.C:
8669 * bufferview_funcs.C:
8676 * undo_funcs.C: changes from above
8678 2003-03-18 John Levon <levon@movementarian.org>
8680 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8681 remove it from update()
8683 * lyxfunc.C: update layout choice after an lfun
8685 * text3.C: remove extra updateLayoutChoice()s
8687 2003-03-18 John Levon <levon@movementarian.org>
8689 * text.C: top_y change means full repaint, fix
8690 a drawing bug with cursor movement
8692 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8696 * text2.C: anchor row on setCursor
8698 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8700 * lyxtext.h: remove almost all mutable keywords
8703 * text3.C: remove const keywords accordingly
8705 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8707 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8709 (TeXEnvironment): ditto
8712 2003-03-17 John Levon <levon@movementarian.org>
8714 * text.C (rowBreakPoint): remove attempt to fix displayed
8715 math insets inside a manual label
8717 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * lyxtext.h: remove BufferView* as first arg from almost all class
8721 * other files: adjust.
8723 2003-03-17 John Levon <levon@movementarian.org>
8727 * text2.C: more paint cleanups
8729 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8732 * rowpainter.C: remove "smart" background painting code
8734 2003-03-16 John Levon <levon@movementarian.org>
8739 * text3.C: add helper functions for setting refresh_row/y
8741 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8743 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8744 newline inset which *can* get inserted in the pass_thru layouts.
8745 This is primarily for literate documents.
8747 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8749 * buffer.C: increment LYX_FORMAT to 223
8751 2003-03-14 André Pönitz <poenitz@gmx.net>
8753 * textclass.h: prepare for environment handling, ws changes
8754 * lyxlayout.C: read latexheader and latexfooter tags
8756 2003-03-14 John Levon <levon@movementarian.org>
8758 * text2.C: rewrite ::status() a bit
8760 2003-03-13 John Levon <levon@movementarian.org>
8762 * lyxtext.h: add some docs
8764 2003-03-13 John Levon <levon@movementarian.org>
8769 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8771 2003-03-13 John Levon <levon@movementarian.org>
8773 * text3.C: fix appendix redrawing
8775 2003-03-13 John Levon <levon@movementarian.org>
8777 * text.C (setHeightOfRow):
8779 * rowpainter.C: make appendix mark have the text
8780 "Appendix" so the user knows what it is
8783 * LColor.C: s/appendixline/appendix/ from above
8785 2003-03-13 John Levon <levon@movementarian.org>
8787 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8789 * text.C: fix a getChar(pos) bug properly
8791 2003-03-13 Angus Leeming <leeming@lyx.org>
8794 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8795 Probably only temporary. Let's see how things pan out.
8797 * BufferView.C (unlockInset):
8798 * BufferView_pimpl.C (fitCursor):
8799 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8801 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8802 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8804 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8805 new functions that convert ParagraphParameters to and from a string.
8807 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8808 BufferView::Pimpl's dispatch.
8809 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8811 2003-03-13 André Pönitz <poenitz@gmx.net>
8815 * factory.C: make it aware of InsetEnv
8817 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8819 * text2.C (setCursor): never ask for one past last
8820 (setCursor): add some debugging messages.
8822 * text.C (singleWidth): never ask for one past last
8823 (singleWidth): ditto
8825 (rightMargin): ditto
8826 (rowBreakPoint): ditto
8827 (setHeightOfRow): ditto
8828 (prepareToPrint): ditto
8830 * rowpainter.C (paintBackground): never ask for one past last
8831 (paintText): never ask for one past last
8833 * paragraph_pimpl.C (getChar): make the assert stricter, never
8834 allow the one past last pos to be taken
8836 * paragraph.C (getChar): ws changes only
8838 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8839 (numberOfSeparators): ditto
8840 (numberOfHfills): ditto
8842 2003-03-12 John Levon <levon@movementarian.org>
8848 * paragraph_funcs.C: fix per-buffer authorlists
8850 2003-03-12 John Levon <levon@movementarian.org>
8852 * text.C: fix newline in right address
8854 2003-03-12 Angus Leeming <leeming@lyx.org>
8856 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8857 duplicate those in LyXFunc::dispatch.
8861 * ToolbarDefaults.C:
8862 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8863 Add LFUN_FONTFREE_UPDATE.
8865 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8866 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8868 * bufferview_func.[Ch]: several new functions to facilliate
8869 transfer of data to and from the character dialog.
8871 2003-03-12 John Levon <levon@movementarian.org>
8876 * paragraph_funcs.C:
8877 * paragraph_pimpl.C:
8881 * text3.C: remove META_NEWLINE in favour of an inset
8884 * rowpainter.C: remove paintNewline (done by inset)
8886 2003-03-12 John Levon <levon@movementarian.org>
8888 * paragraph_pimpl.C: complain about bad getChar()s
8889 for a while at least
8891 2003-03-12 John Levon <levon@movementarian.org>
8894 * buffer.C: move paragraph read into a separate function,
8895 a little renaming to reflect that.
8898 * bufferparams.C: remove the author_ids map, not necessary now
8901 * factory.C: moved Buffer::readInset to here
8903 * paragraph_funcs.h:
8904 * paragraph_funcs.C: readParagraph free function moved from
8907 * tabular.C: name change
8909 2003-03-12 John Levon <levon@movementarian.org>
8912 * ParagraphParameters.C: move par params input to
8915 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8916 behave like a normal read from the stream wrt reading
8917 a line vs. a \\token
8919 2003-03-12 John Levon <levon@movementarian.org>
8922 * ParagraphParameters.h:
8923 * ParagraphParameters.C: move output code to a
8926 2003-03-12 John Levon <levon@movementarian.org>
8928 * BufferView.C (insertLyXFile):
8931 * tabular.C: use a parlist iterator for creating the
8934 2003-03-12 John Levon <levon@movementarian.org>
8936 * buffer.C: make current_change static local not
8939 2003-03-12 John Levon <levon@movementarian.org>
8941 * buffer.C: fix insertStringAsLines for change tracking
8943 2003-03-12 John Levon <levon@movementarian.org>
8950 * bufferparams.C: move author list into params. Rename some
8951 functions. Move the header reading into a separate token
8952 loop. Move the header token reading into BufferParams.
8954 2003-03-12 John Levon <levon@movementarian.org>
8956 * changes.C: put debug inside lyxerr.debugging() checks
8958 2003-03-11 André Pönitz <poenitz@gmx.net>
8960 * factory.C: make it aware of InsetHFill
8962 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8964 * buffer.C (latexParagraphs): move function from here...
8965 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8968 2003-03-10 Angus Leeming <leeming@lyx.org>
8970 * LyXAction.C (init): fix bug in poplating array with multiple entries
8971 with the same LFUN (spotted by JMarc).
8973 2003-03-10 John Levon <levon@movementarian.org>
8976 * text2.C: move getColumnNearX() near its
8979 2003-03-10 John Levon <levon@movementarian.org>
8981 * text.C: fix break before a minipage
8983 2003-03-10 John Levon <levon@movementarian.org>
8985 * text.C: fix the last commit
8987 2003-03-09 John Levon <levon@movementarian.org>
8991 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8992 bug 365 (don't break before insets unless needed). Don't
8993 return a value > last under any circumstances.
8995 2003-03-09 Angus Leeming <leeming@lyx.org>
8997 * BufferView_pimpl.C (trackChanges, dispatch): call
8998 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9000 2003-03-09 Angus Leeming <leeming@lyx.org>
9002 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9003 than Dialogs::showAboutlyx().
9005 2003-03-09 Angus Leeming <leeming@lyx.org>
9007 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9008 than Dialogs::showTabularCreate().
9010 2003-03-09 John Levon <levon@movementarian.org>
9014 * text2.C: 3rd arg to nextBreakPoint was always the same.
9017 2003-03-08 John Levon <levon@movementarian.org>
9024 * text2.C: Remove the "main" bit from the "main body"
9027 2003-03-08 John Levon <levon@movementarian.org>
9029 * text.C (leftMargin): The left margin of an empty
9030 manual label paragraph should not include the label width
9033 * text.C (prepareToPrint): don't attempt to measure hfills
9034 for empty manual label paragraphs - the answer should be 0
9036 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9038 * CutAndPaste.C: remove commented code and reindent.
9040 2003-03-08 John Levon <levon@movementarian.org>
9043 * lyxfunc.C: move reloadBuffer()
9046 * BufferView.C: to here
9048 * lyxvc.C: add comment
9051 * vc-backend.C: call bv->reload() to avoid
9052 getStatus() check on MENURELOAD
9054 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9056 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9057 to an old format .dep file.
9059 2003-03-07 Angus Leeming <leeming@lyx.org>
9061 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9062 when the LFUN_MOUSE_RELEASE should have been handled by
9063 inset->localDispatch.
9065 2003-03-07 Angus Leeming <leeming@lyx.org>
9067 * BufferView_pimpl.C (dispatch):
9068 * LyXAction.C (init):
9069 * ToolbarDefaults.C (init):
9071 * lyxfunc.C (getStatus):
9072 remove LFUN_INSET_GRAPHICS.
9074 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9076 2003-03-07 Angus Leeming <leeming@lyx.org>
9079 * LyXAction.C (init):
9080 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9082 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9085 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9087 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9088 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9090 2003-03-07 Angus Leeming <leeming@lyx.org>
9092 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9095 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9097 * ParagraphList.C (front): new function
9100 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9102 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9103 and top_row_offset_. removed var first_y.
9105 * text2.C (LyXText, removeRow):
9107 * BufferView_pimpl.C:
9108 use these methods instead of using first_y
9110 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * text2.C (pasteSelection): adjust for checkPastePossible
9114 * CutAndPaste.C: remove Paragraph * buf and replace with
9115 ParagraphList paragraphs.
9116 (DeleteBuffer): delete
9117 (cutSelection): change the tc type to textclass_type
9118 (copySelection): change the tc type to textclass_type
9119 (copySelection): adjust for ParagraphList
9120 (pasteSelection): change the tc type to textclass_type
9121 (pasteSelection): adjust for Paragraphlist
9122 (nrOfParagraphs): simplify for ParagraphList
9123 (checkPastePossible): simplify for ParagraphList
9124 (checkPastePossible): remove unused arg
9126 * ParagraphList.C (insert): handle the case where there are no
9129 * CutAndPaste.h: make CutAndPaste a namespace.
9131 * text3.C (dispatch): adjust
9133 * text.C (breakParagraph): add a ParagraphList as arg
9135 * paragraph_funcs.C (breakParagraph): change to take a
9136 BufferParams and a ParagraphList as args.
9137 (breakParagraphConservative): ditto
9138 (mergeParagraph): ditto
9139 (TeXDeeper): add a ParagraphList arg
9140 (TeXEnvironment): ditto
9143 * buffer.C (readLyXformat2): adjust
9144 (insertStringAsLines): adjust
9145 (latexParagraphs): adjust
9147 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9148 (cutSelection): adjust
9149 (pasteSelection): adjust
9151 * BufferView_pimpl.C (insertInset): adjust
9153 2003-03-05 Angus Leeming <leeming@lyx.org>
9156 * LyXAction.C (init):
9157 * BufferView_pimpl.C (dispatch):
9158 * lyxfunc.C (getStatus):
9159 remove LFUN_CHILD_INSERT.
9161 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9163 2003-03-05 Angus Leeming <leeming@lyx.org>
9166 * LyXAction.C (init):
9167 * src/factory.C (createInset):
9168 * lyxfunc.C (getStatus):
9169 * text3.C (dispatch):
9170 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9172 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9174 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9176 * ParagraphList.C (insert): handle insert right before end()
9177 (erase): fix cases where it can be first or last paragraph.
9179 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9181 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9182 Paragraph::next and Paragraph::previous
9185 * text.C (breakParagraph): adjust
9187 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9188 BufferParams& as arg.
9189 (breakParagraph): use ParagraphList::insert
9190 (breakParagraphConservative): take a Buffer* instead of a
9191 BufferParams& as arg.
9192 (breakParagraphConservative): use ParagraphList::insert.
9194 * buffer.C (insertStringAsLines): un-const it
9195 (insertStringAsLines): adjust
9197 * ParagraphList.C (insert): new function
9199 * CutAndPaste.C (pasteSelection): adjust
9201 * text.C (backspace): adjust
9203 * tabular.C (SetMultiColumn): adjust
9205 * CutAndPaste.C (cutSelection): adjust
9206 (pasteSelection): adjust
9208 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9209 Buffer const * as arg
9211 * ParagraphList.C (erase): new function
9212 * paragraph_funcs.C (mergeParagraph): use it
9213 (mergeParagraph): make it take a Buffer* instead of a
9214 BufferParams* as arg
9216 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9218 (breakParagraphConservative): ditto
9220 * paragraph.h: remove the breakParagraph friend
9222 * paragraph.C (eraseIntern): new function
9223 (setChange): new function
9225 * paragraph_funcs.C (mergeParagraph): make it take a
9226 ParagraphList::iterator instead of a Paragraph *, adjust
9229 * paragraph.h: move an #endif so that the change tracking stuff
9230 also works in the NO_NEXT case.
9232 2003-03-04 Angus Leeming <leeming@lyx.org>
9235 * LyXAction.C: new LFUN_INSET_MODIFY.
9237 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9238 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9240 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * several files: ws changes only
9244 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9245 (TeXEnvironment): ditto
9248 * buffer.C (makeLaTeXFile): adjust
9249 (latexParagraphs): make it take ParagraphList::iterator as args
9251 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9253 * buffer.C (latexParagraphs): adjust
9255 * paragraph.C (TeXOnePar): move function...
9256 (optArgInset): move function...
9257 (TeXEnvironment): move function...
9258 * paragraph_pimpl.C (TeXDeeper): move function...
9259 * paragraph_funcs.C: ...here
9261 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9263 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9265 * buffer.C (readInset): remove compability code for old Figure and
9268 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9270 * buffer.C: ws changes
9273 * BufferView_pimpl.C: ditto
9276 * bufferlist.h: ditto
9280 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9282 * converter.[Ch]: split into itself +
9285 * Makefile.am: += graph.[Ch] + format.[Ch]
9292 * lyxrc.C: added #include "format.h"
9294 2003-02-27 Angus Leeming <leeming@lyx.org>
9296 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9299 * factory.C (createInset): add "label" to the factory.
9301 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9302 string and do no more.
9304 2003-02-27 Angus Leeming <leeming@lyx.org>
9307 * LyXAction.C (init):
9308 * factory.C (createInset):
9309 * BufferView_pimpl.C (dispatch):
9310 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9312 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9314 * lyxfunc.C (dispatch):
9315 * text3.C (dispatch): pass name to params2string.
9317 2003-02-26 Angus Leeming <leeming@lyx.org>
9319 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9321 Rearrange the ~includes. Strip out the unnecessary ones.
9323 * factory.C (createInset): reformat.
9324 create new insets for the various LFUN_XYZ_APPLY lfuns.
9326 2003-02-26 John Levon <levon@movementarian.org>
9329 * lyxrow.C: add isParStart,isParEnd helpers
9331 * paragraph.h: make isInserted/DeletedText take refs
9333 * paragraph_funcs.h:
9334 * paragraph_funcs.C: remove #if 0'd code
9339 * text.C: use lyxrow helpers above.
9340 Move draw and paint routines to RowPainter.
9341 Make several methods use refs not pointers.
9342 Make backgroundColor() const.
9343 Add markChangeInDraw(), isInInset().
9344 Merge changeRegionCase into changeCase.
9345 Make workWidth() shouldn't-happen code into an Assert.
9348 * rowpainter.C: new class for painting a row.
9351 * vspace.C: make inPixels take a ref
9353 2003-02-26 Angus Leeming <leeming@lyx.org>
9355 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9358 2003-02-25 John Levon <levon@movementarian.org>
9360 * ispell.C: give the forked command a more accurate name
9362 2003-02-22 John Levon <levon@movementarian.org>
9365 * toc.C: make TocItem store an id not a Paragraph *
9368 2003-02-21 Angus Leeming <leeming@lyx.org>
9370 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9371 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9372 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9373 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9374 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9375 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9377 * BufferView_pimpl.C (dispatch):
9378 * LyXAction.C (init):
9379 * factory.C (createInset):
9380 * lyxfunc.C (getStatus, dispatch):
9381 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9383 2003-02-21 Angus Leeming <leeming@lyx.org>
9385 * BufferView_pimpl.C (MenuInsertLyXFile):
9386 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9387 * lyxfunc.C (menuNew, open, doImport):
9388 no longer pass a LyXView & to fileDlg.
9390 2003-02-21 Angus Leeming <leeming@lyx.org>
9392 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9393 * LyXAction.C: change, BIBKEY to BIBITEM.
9394 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9395 Change InsetBibKey to InsetBibitem.
9396 Change BIBKEY_CODE to BIBITEM_CODE.
9397 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9398 * factory.C: replace insetbib.h with insetbibitem.h.
9399 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9400 * paragraph.C: replace insetbib.h with insetbibitem.h.
9401 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9402 Change bibkey() to bibitem().
9403 * text.C: remove insetbib.h.
9404 * text2.C: replace insetbib.h with insetbibitem.h.
9405 change bibkey() to bibitem().
9406 * text3.C: remove insetbib.h.
9407 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9409 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9411 * lyxrc.C (output): enclose user email in quotes (in case there are
9414 2003-02-18 John Levon <levon@movementarian.org>
9416 * buffer.h: add std::
9418 2003-02-17 John Levon <levon@movementarian.org>
9424 * pspell.C: reworking. Especially in ispell, a large
9425 number of clean ups and bug fixes.
9427 * lyxfunc.C: fix revert to behave sensibly
9429 2003-02-17 André Pönitz <poenitz@gmx.net>
9432 * commandtags.h: new LFUN_INSERT_BIBKEY
9442 * paragraph_func.C: remove special bibkey handling
9444 2003-02-17 John Levon <levon@movementarian.org>
9446 * text.C (Delete): fix case where delete at the end of
9447 the very first paragraph would not merge the pars
9449 2003-02-17 John Levon <levon@movementarian.org>
9451 * lyxrow.C: fix lastPrintablePos()
9453 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9455 * bufferparams.C (writeLaTeX): add a std:here
9457 * buffer.C: and remove a using directive there
9459 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9461 * buffer.C (makeLaTeXFile): move the code that generates the
9464 * bufferparams.C (writeLaTeX): ... in this new method
9466 * LaTeXFeatures.C (getEncodingSet): make const
9467 (getLanguages): make const
9469 * MenuBackend.C (binding): returns the binding associated to this
9471 (add): sets the status of each item by calling getStatus. Adds
9473 (read): add support for OptSubMenu
9474 (expand): remove extra separator at the end of expanded menu
9476 2003-02-15 John Levon <levon@movementarian.org>
9479 * BufferView_pimpl.C:
9481 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9482 inset code that had no actual effect. Remove unneeded status
9485 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9490 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9492 * text.C (drawLengthMarker): also draw an arrow marker for
9493 symbolic lengths (medskip...)
9495 2003-02-14 John Levon <levon@movementarian.org>
9498 * tabular.C: better method names
9500 2003-02-14 John Levon <levon@movementarian.org>
9502 * BufferView_pimpl.C:
9507 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9508 it's a more accurate name. Remove some pointless uses.
9510 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9512 * text2.C (LyXText): change order of initilizers to shut off
9515 2003-02-14 John Levon <levon@movementarian.org>
9517 * buffer.C: use ParIterator for getParFromID()
9521 * paragraph_pimpl.h:
9522 * paragraph_pimpl.C: remove unused getParFromID()
9524 2003-02-14 John Levon <levon@movementarian.org>
9526 * buffer.C: remove some very old #if 0'd parse code
9528 2003-02-13 John Levon <levon@movementarian.org>
9532 * text2.C: move hfillExpansion(), numberOfSeparators(),
9533 rowLast(), rowLastPrintable(), numberofHfills(),
9534 numberOfLabelHfills() ...
9537 * lyxrow.C: ... to member functions here.
9542 * text.C: remove LyXText::beginningOfMainBody(), and call
9543 p->beginningOfMainBody() directly. Move the check for
9544 LABEL_MANUAL into the latter.
9551 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9557 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9558 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9560 2003-02-13 John Levon <levon@movementarian.org>
9562 * CutAndPaste.C: remove debug
9564 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9566 * paragraph.C (asString): remove two unused variables
9568 * lyxtextclass.C (readTitleType):
9570 (LyXTextClass): handle new members titletype_ and titlename_
9572 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9574 2003-02-09 John Levon <levon@movementarian.org>
9577 * buffer.C: replace hand-coded list with a map for the dep clean
9579 2003-02-08 John Levon <levon@movementarian.org>
9581 * LaTeX.C: consolidate code into showRunMessage() helper
9583 2003-02-08 John Levon <levon@movementarian.org>
9588 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9589 and pass the size in explicitly
9591 * BufferView_pimpl.h:
9592 * BufferView_pimpl.C:
9594 * BufferView.C: add getCurrentChange()
9596 * BufferView_pimpl.h:
9597 * BufferView_pimpl.C: handle change lfuns
9599 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9600 for changes. Mark pasted paragraphs as new.
9602 * support/lyxtime.h:
9603 * support/lyxtime.C:
9604 * DepTable.C: abstract time_t as lyx::time_type
9607 * LColor.C: add colours for new text, deleted text, changebars
9609 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9610 package use "usenames" option.
9614 * LyXAction.C: add change lfuns
9618 * author.C: author handling
9621 * buffer.C: add a per-buffer author list, with first entry as
9622 current author. Handle new .lyx tokens for change tracking. Output
9623 author list to .lyx file. Output dvipost stuff to .tex preamble.
9624 Bump lyx format to 222.
9627 * bufferlist.C: add setCurrentAuthor() to reset current author details
9631 * bufferparams.C: add param for tracking
9633 * bufferview_funcs.C: output change info in minibuffer
9637 * changes.C: add change-tracking structure
9640 * debug.C: add CHANGES debug flag
9643 * lyxfind.C: add code for finding the next change piece
9646 * lyxrc.C: add user_name and user_email
9649 * lyxrow.C: add a metric for the top of the text line
9652 * text.C: implement accept/rejectChange()
9655 * text.C: paint changebars. Paint new/deleted text in the chosen
9656 colours. Strike through deleted text.
9660 * paragraph_pimpl.h:
9661 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9662 in the current change to the insert functions. Rework erase to
9663 mark text as deleted, adding an eraseIntern() and a range-based
9664 erase(). Implement per-paragraph change lookup and
9667 * paragraph_funcs.C: Fixup paste for change tracking.
9669 * tabular.C: mark added row/columns as new.
9671 * text.C: fix rowLast() to never return -1. Don't allow
9672 spellchecking of deleted text. Track transpose changes. Don't
9673 allow paragraph break or merge where appropriate.
9675 * text2.C: leave cursor at end of selection after a cut.
9677 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9679 * text.C (getLengthMarkerHeight):
9680 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9681 visible on screen too.
9683 2003-02-07 John Levon <levon@movementarian.org>
9685 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9687 2003-02-05 Angus Leeming <leeming@lyx.org>
9689 * lyxserver.C (read_ready): revert my patch of 11 September last year
9690 as it sends PC cpu through the roof. Presumably this means that
9691 the lyxserver will no longer run on an Alpha...
9693 2003-01-30 Angus Leeming <leeming@lyx.org>
9695 * factory.C (createInset): create an InsetCommandParam of type "index"
9696 and use it to 'do the right thing'.
9698 * text2.C (getStringToIndex): ensure that cursor position is always
9699 reset to the reset_cursor position.
9701 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9703 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9706 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9710 * lyxfunc.C: Output messages with identical spelling, punctuation,
9713 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9715 * MenuBackend.C (expandFormats): List only viewable export formats
9718 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9721 * lyxfunc.C (getStatus): Make sure that formats other than
9722 "fax" can also be disabled
9724 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * text3.C (dispatch): put the lfuns that insert insets in 3
9727 groups, and call doInsertInset with appropriate arguments.
9728 (doInsertInset): new function, that creates an inset and inserts
9729 it according to some boolean parameters.
9731 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9733 * buffer.C (readFile): remember to pass on 'par' when calling
9734 readFile recursively.
9736 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * MenuBackend.C (expandFormats): add "..." to import formats.
9740 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9742 * paragraph.C (asString): Remove XForms RTL hacks.
9744 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9745 * buffer.C: fix typo
9747 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9749 * Makefile.am (LIBS): delete var
9750 (lyx_LDADD): add @LIBS@ here instead.
9752 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9754 * Clarify the meaning of "wheel mouse jump"
9756 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9758 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9761 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9763 * importer.C (Loaders): do not preallocate 3 elements in the
9764 vector, since one ends up with 6 elements otherwise
9766 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9768 * DepTable.C (write): write the file name as last element of the
9769 .dep file (because it may contain spaces)
9770 (read): read info in the right order
9772 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * paragraph_pimpl.C (simpleTeXBlanks):
9775 (simpleTeXSpecialChars):
9776 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9778 * tabular.C (latex): add some missing case statements. Reindent.
9780 * MenuBackend.C (expandToc): remove unused variable.
9782 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9791 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9794 2003-01-05 John Levon <levon@movementarian.org>
9797 * BufferView.C: add getEncoding()
9800 * kbsequence.C: do not store last keypress
9803 * lyxfunc.C: store last keypress here instead. Pass encoding
9806 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9808 * lyx_main.C (init): remove annoying error message when following
9809 symbolic links (bug #780)
9811 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9813 * text.C (insertChar):
9814 * lyxrc.C (getDescription): remove extra spaces
9816 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9818 * lyxrc.C (getDescription): remove extra spaces
9820 2002-12-20 John Levon <levon@movementarian.org>
9822 * text3.C: hack fix for page up/down across tall rows
9824 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9826 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9829 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9831 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9832 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9833 thesaurus is not compiled in
9835 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9837 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9839 2002-12-16 Angus Leeming <leeming@lyx.org>
9842 * lyx_main.C (init): remove override_x_deadkeys stuff.
9844 2002-12-12 John Levon <levon@movementarian.org>
9846 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9847 insert. Only remove shift modifier under strict
9850 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9852 * MenuBackend.C (expandToc): fix crash.
9854 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9856 * MenuBackend.C (expandToc): gettext on float names.
9858 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9860 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9861 implement bool empty() [bug 490]
9863 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9865 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9867 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9869 * several files: ws changes
9871 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9873 * text2.C (setCounter): clean up a bit, use boost.format.
9874 (updateCounters): initialize par upon declaration.
9876 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9877 if the layout exists. We do not just store the layout any more.
9878 (SwitchLayoutsBetweenClasses): use boost.format
9880 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9882 * converter.C (convert): if from and to files are the same, use a
9883 temporary files as intermediary
9885 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9888 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9890 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9892 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9894 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9896 * tabular.C (asciiPrintCell): use string(size, char) instead of
9899 * sgml.C (openTag): fix order of arguments to string constructor
9902 * lyxfunc.C (dispatch): use boost.format
9904 * lots of files: change "c" -> 'c'
9906 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9908 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9910 2002-11-25 Angus Leeming <leeming@lyx.org>
9912 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9914 * lyx_main.C (init): compile fix.
9916 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9918 * lyx_cb.C (start): boost.formatify
9919 do not include <iostream>
9921 * lengthcommon.C: ws only
9923 * boost-inst.C,BoostFormat.h: add more explict instantations
9925 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9927 * lots of files: handle USE_BOOST_FORMAT
9929 2002-11-21 John Levon <levon@movementarian.org>
9931 * pspell.C: fix compile
9933 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9935 * lyxfunc.C (dispatch): use boost::format
9939 * lyxfont.C (stateText): use boost::format
9941 * lyx_main.C (LyX): use boost::format
9943 (queryUserLyXDir): ditto
9946 (typedef boost::function): use the recommened syntax.
9948 * importer.C (Import): use boost::format
9950 * debug.C (showLevel): use boost::format
9952 * converter.C (view): use boost::format
9957 * bufferview_funcs.C (currentState): use boost::format
9959 * bufferlist.C (emergencyWrite): use boost::format
9961 * buffer.C (readLyXformat2): use boost::format
9962 (parseSingleLyXformat2Token): ditto
9964 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9966 * LaTeX.C (run): use boost::format
9968 * Chktex.C (scanLogFile): use boost::format
9970 * BufferView_pimpl.C (savePosition): use boost::format
9971 (restorePosition): ditto
9972 (MenuInsertLyXFile): ditto
9974 * BoostFormat.h: help file for explicit instation.
9976 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9978 * tabular.C (latex): Support for block alignment in fixed width
9981 2002-11-17 John Levon <levon@movementarian.org>
9983 * BufferView_pimpl.C:
9985 * lyxfunc.C: split filedialog into open/save
9987 2002-11-08 Juergen Vigna <jug@sad.it>
9989 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9990 by my last patch (hopefully).
9992 2002-11-08 John Levon <levon@movementarian.org>
10001 * toc.C: ParConstIterator, and use it (from Lars)
10003 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10005 * lyxtextclass.[Ch]: revise and add doxygen comments
10007 2002-11-07 John Levon <levon@movementarian.org>
10009 * text.C: fix progress value for spellchecker
10011 * toc.C: fix navigate menu for insetwrap inside minipage
10013 * paragraph_funcs.C: added FIXME for suspect code
10015 2002-11-07 John Levon <levon@movementarian.org>
10017 * BufferView_pimpl.C: fix redrawing of insets
10020 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10022 * text2.C (updateCounters): fix bug 668
10024 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10026 * text3.C (dispatch): Do not make the buffer dirty when moving the
10029 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10031 * vc-backend.C: STRCONV
10032 (scanMaster): ditto
10034 * text2.C (setCounter): STRCONV
10036 * paragraph.C (asString): STRCONV
10038 * lyxlength.C (asString): STRCONV
10039 (asLatexString): ditto
10041 * lyxgluelength.C (asString): STRCONV
10042 (asLatexString): ditto
10044 * lyxfunc.C (dispatch): STRCONV
10047 * lyxfont.C (stateText): STRCONV
10049 * importer.C (Import): STRCONV
10051 * counters.C (labelItem): STRCONV
10052 (numberLabel): ditto
10053 (numberLabel): remove unused ostringstream o
10058 * bufferview_funcs.C (currentState): STRCONV
10060 * buffer.C (readFile): STRCONV
10061 (asciiParagraph): ditto
10062 (makeLaTeXFile): ditto
10064 * Spacing.C (writeEnvirBegin): STRCONV
10066 * LaTeXFeatures.C (getLanguages): STRCONV
10067 (getPackages): ditto
10069 (getBabelOptions): ditto
10070 (getTClassPreamble): ditto
10071 (getLyXSGMLEntities): ditto
10072 (getIncludedFiles): ditto
10076 (scanAuxFile): ditto
10079 * LString.h: add the STRCONV macros
10081 * BufferView_pimpl.C (savePosition): STRCONV
10082 (restorePosition): ditto
10083 (MenuInsertLyXFile): ditto
10085 * vc-backend.C (scanMaster): change from submatch[...] to
10088 * funcrequest.C: include config.h
10090 * factory.C: include config.h
10092 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10094 * box.C: include config.h
10096 * LaTeX.C (scanAuxFile): change from submatch[...] to
10100 2002-10-25 Angus Leeming <leeming@lyx.org>
10102 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10104 * ispell.[Ch] (setError): new method.
10105 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10106 Use setError() insetead of goto END.
10108 * lyx_cb.C (AutoSave): move out child process into new class
10111 2002-10-30 John Levon <levon@movementarian.org>
10113 * text3.C: make start appendix undoable
10115 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10117 * lyxlength.C (inPixels): Fix returned value.
10119 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10122 2002-10-24 Angus Leeming <leeming@lyx.org>
10124 * lyxgluelength.h: no need to forward declare BufferParams
10125 or BufferView, so don't.
10127 2002-10-21 John Levon <levon@movementarian.org>
10129 * BufferView.C: menuUndo ->undo, redo
10131 * BufferView.h: document, remove dead, make some methods private
10133 * paragraph_funcs.h:
10134 * paragraph_funcs.C:
10135 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10140 * sgml.C: move sgml open/close tag into sgml.C
10142 * bufferview_funcs.h: unused prototype
10145 * lyxfunc.C: remove unused
10148 * text.C: remove unused
10150 2002-10-21 John Levon <levon@movementarian.org>
10154 * BufferView_pimpl.h:
10155 * BufferView_pimpl.C: fix mouse wheel handling based on
10156 patch from Darren Freeman
10158 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10160 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10162 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10164 * lyxlength.C (inPixels): Fix hanfling of negative length.
10165 Fix LyXLength::MU case.
10167 2002-10-16 John Levon <levon@movementarian.org>
10169 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10171 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10173 * converter.C (view): add support for $$i (file name) and $$p
10174 (file path) for the viewer command. If $$i is not specified, then
10175 it is appended to the command (for compatibility with old syntax)
10177 2002-10-14 Juergen Vigna <jug@sad.it>
10179 * undo_funcs.C (textHandleUndo): alter the order in which the
10180 new undopar is added to the LyXText, as we have to set first
10181 the right prev/next and then add it as otherwise the rebuild of
10182 LyXText is not correct. Also reset the cursor to the right paragraph,
10183 with this IMO we could remove the hack in "redoParagraphs()".
10185 2002-10-09 Angus Leeming <leeming@lyx.org>
10187 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10188 to turn off an optimisation if a new inset is to be inserted.
10190 2002-10-11 André Pönitz <poenitz@gmx.net>
10192 * lyxtext.h: make some functions public to allow access
10193 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10195 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10197 * text3.C (dispatch): when changing layout, avoid an infinite loop
10200 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10202 * lyxrc.C (read): treat a viewer or converter command of "none" as
10205 * MenuBackend.C (expandFormats): for an update, also allow the
10206 formats that are not viewable
10208 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10209 script if it is newer than the lyxrc.defaults in user directory
10211 2002-10-07 André Pönitz <poenitz@gmx.net>
10213 * text.C: Vitaly Lipatov's small i18n fix
10215 2002-09-25 Angus Leeming <leeming@lyx.org>
10217 * ispell.h: doxygen fix.
10219 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10221 * buffer.h (readFile): Add a new argument to the method, to allow
10222 reading of old-format templates.
10224 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10226 * toc.C (getTocList): Get TOC from InsetWrap.
10228 2002-09-16 John Levon <levon@movementarian.org>
10230 * lyxfunc.C: check tabular for cut/copy too
10232 2002-09-12 John Levon <levon@movementarian.org>
10234 * LyXAction.C: tidy
10237 * factory.C: add header
10239 * paragraph_funcs.h:
10240 * paragraph_funcs.C: cleanup
10242 2002-09-11 John Levon <levon@movementarian.org>
10244 * PrinterParams.h: odd/even default to true
10246 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10248 * PrinterParams.h: update printer parameters for new xforms dialog
10250 2002-09-11 Angus Leeming <leeming@lyx.org>
10252 * lyxserver.C (read_ready): re-write to make it more transparent
10253 and to make it work in coherent fashion under Tru64 Unix.
10255 2002-09-11 André Pönitz <poenitz@gmx.net>
10259 * text3.C: implement LFUN_WORDSEL
10261 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10263 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10264 make floatlist_ a boost::shared_ptr<FloatList>
10266 * lyxtextclass.C: include FloatList.h
10267 (LyXTextClass): initialize floatlist_
10268 (TextClassTags): add TC_NOFLOAT
10269 (Read): match "nofloat" to TC_NOFLOAT and use it.
10270 (readFloat): modify call to floatlist_
10274 * FloatList.[Ch] (FloatList): remove commented out float
10276 (erase): new function
10278 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * MenuBackend.C (expandToc): fix crash when there is no document
10283 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10285 * many files: Add insetwrap.
10287 2002-09-09 John Levon <levon@movementarian.org>
10289 * text2.C: remove confusing and awkward depth wraparound
10291 2002-09-09 John Levon <levon@movementarian.org>
10293 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10296 * buffer.C: remove getIncludeonlyList()
10299 * lyxfunc.C: remove headers
10301 2002-09-09 Juergen Vigna <jug@sad.it>
10303 * text.C (getColumnNearX): fix form Michael this is most
10304 probably a cut&paste bug.
10306 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10308 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10310 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10311 references, ws changes.
10313 * text2.C (init): update counters after init
10314 (insertParagraph): no need to set counter on idividual paragraphs.
10315 (setCounter): access the counters object in the textclass object
10316 on in the buffer object.
10317 (updateCounters): ditto
10319 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10320 shared_ptr<Counters> to avoid loading counters.h in all
10322 (LyXTextClass): initialize ctrs_
10323 (TextClassTags): add TC_COUNTER, and ...
10324 (Read): use it here.
10325 (CounterTags): new tags
10326 (readCounter): new function
10327 (counters): new funtion
10328 (defaultLayoutName): return a const reference
10330 * counters.C (Counters): remove contructor
10331 (newCounter): remove a couple of unneeded statements.
10332 (newCounter): simplify a bit.
10333 (numberLabel): some small formatting changes.
10335 * buffer.[Ch]: remove all traces of counters, move the Counters
10336 object to the LyXTextClass.
10338 2002-09-06 Alain Castera <castera@in2p3.fr>
10340 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10341 package to set the horizontal alignment on fixed width columns.
10344 * lyx_sty.h: added tabularnewline macro def.
10346 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10348 2002-09-06 John Levon <levon@movementarian.org>
10350 * LyXAction.C: tooltips for sub/superscript
10352 * MenuBackend.C: a bit more verbose
10354 * lyxfunc.C: tiny clean
10356 * undo_funcs.C: document undo_frozen
10358 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10360 * counters.C (Counters): add missing algorithm counter.
10362 * text2.C (setCounter): lookup the counter with layouts latexname
10363 instead of by section number.
10364 (setCounter): use a hackish way to lookup the correct enum
10366 a float name->type change
10367 reset enum couners with counter name directly instead of depth value.
10369 * counters.C (Counters): remove the push_backs, change to use the
10370 float type not the float name.
10371 (labelItem): remove unused string, float name->type change
10373 * counters.h: don't include vector, loose the enums and sects vectors
10375 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10377 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10378 (Read): add float->TC_FLOAT to textclassTags
10379 (Read): and handle it in the switch
10380 (readFloat): new function
10382 * FloatList.C (FloatList): comment out the hardcoded float
10385 * lyxlayout.h: ws change.
10387 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10389 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10391 2002-09-03 Angus Leeming <leeming@lyx.org>
10393 * BufferView_pimpl.h: qualified name is not allowed in member
10394 declaration: WorkArea & Pimpl::workarea() const;
10396 * factory.C: added using std::endl directive.
10398 * text3.C: added using std::find and std::vector directives.
10400 2002-08-29 André Pönitz <poenitz@gmx.net>
10403 * text2.C: remove unused member number_of_rows
10406 * BufferView2.C: remove file, move contents to...
10407 * BufferView.C: ... here
10409 * BufferView_pimpl.C:
10410 * factory.C: move more inset creation to factory
10412 * vspace.C: avoid direct usage of LyXText, ws changes
10415 don't provide direct access to WorkArea, use two simple
10416 acessors haveSelction() and workHeight() instead
10419 2002-08-29 John Levon <levon@movementarian.org>
10421 * BufferView_pimpl.C (dispatch): do not continue when
10424 2002-08-28 André Pönitz <poenitz@gmx.net>
10426 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10429 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10431 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10433 * buffer.C: increment LYX_FORMAT to 221
10435 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10436 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10438 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10440 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10442 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * factory.C (createInset): use LyXTextClass::floats
10446 * MenuBackend.C (expandFloatListInsert):
10447 (expandFloatInsert):
10450 * text2.C (setCounter):
10452 * LaTeXFeatures.C (useFloat):
10453 (getFloatDefinitions):
10455 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10457 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10458 floatlist_, with accessor floats().
10460 * FloatList.h: remove global FloatList
10462 2002-08-26 André Pönitz <poenitz@gmx.net>
10464 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10468 * BufferView_pimpl.C:
10469 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10471 2002-08-25 John Levon <levon@movementarian.org>
10473 * LyXAction.C: fix margin note description
10475 2002-08-24 John Levon <levon@movementarian.org>
10479 * bufferview_funcs.C:
10481 * undo_funcs.C: cleanups
10483 * lyxfunc.C: disable CUT/COPY when no selection
10485 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10487 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10488 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10490 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10491 Add backward compatibility to "mono", "gray" and "no".
10493 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10495 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10496 (and file_format >= 200).
10498 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10502 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10506 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10508 * BufferView_pimpl.C:
10515 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10516 inset and code to make it work with the paragraph code. The inset
10517 can be anywhere in the paragraph, but will only do the expected
10518 thing in LaTeX if the layout file contains the parameter line
10520 (or more generally, a nonzero value) for that layout.
10522 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10524 * paragraph.h: remove the declaration of undefined counters class
10527 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10529 * text2.C (setCounter): fixed enumeration mis-count as reported by
10530 Dr. Richard Hawkins.
10532 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10534 * paragraph_funcs.h: remove some unneeded includes
10536 * text.C (backspace): pasteParagraph now in global scipe
10538 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10539 (pasteSelection): ditto
10541 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10542 * paragraph_funcs.C (pasteParagraph): ... here
10544 2002-08-20 André Pönitz <poenitz@gmx.net>
10546 * commandtags.h: new LFUNs for swapping/copying table row/colums
10549 * lyxfunc.C: support for new lfuns
10551 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10554 * buffer.[Ch]: remove NO_COMPABILITY stuff
10556 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10558 * boost.C (throw_exception): new file, with helper function for
10559 boost compiled without exceptions.
10564 * ParameterStruct.h:
10565 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10567 * bufferlist.C (emergencyWriteAll): use boost bind
10569 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10571 * text.C: include paragraph_funcs.h
10572 (breakParagraph): breakParagraph is now in global scope
10574 * paragraph_funcs.[Ch]: new files
10576 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10579 * buffer.C: include paragraph_funcs.h
10580 (insertStringAsLines): breakParagraph is now in global scope
10582 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10585 * CutAndPaste.C: include paragraph_funcs.h
10586 (cutSelection): breakParagraphConservative is now in global scope
10587 (pasteSelection): ditto
10589 * buffer.h: declare oprator== and operator!= for
10590 Buffer::inset_iterator
10592 * bufferlist.C (emergencyWrite): don't use fmt(...)
10594 * text3.C: add using std::endl
10596 * BufferView.C (moveCursorUpdate): remove default arg
10598 2002-08-20 André Pönitz <poenitz@gmx.net>
10600 * buffer.[Ch]: move inline functions to .C
10603 * BufferView_pimpl.C:
10605 * buffer.[Ch]: use improved inset_iterator
10608 * paragraph.[Ch]: write one paragraph at a time
10610 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10612 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10613 style if style is not specified.
10615 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10617 * text2.C (setCounter): when searching for right label for a
10618 caption, make sure to recurse to parent insets (so that a caption
10619 in a minipage in a figure float works) (bug #568)
10621 2002-08-20 André Pönitz <poenitz@gmx.net>
10623 * text3.C: new file for LyXText::dispatch() and helpers
10625 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10627 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10629 2002-08-19 André Pönitz <poenitz@gmx.net>
10632 * text.C: new LyXText::dispatch()
10634 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10636 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10638 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10640 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10643 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10645 * Makefile.am: use $(variables) instead of @substitutions@
10647 2002-08-15 André Pönitz <poenitz@gmx.net>
10650 * BufferView_pimpl.C: streamlining mathed <-> outer world
10654 * LyXAction.C: remove unused LFUN_MATH
10656 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10658 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10660 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10662 * paragraph.C (Paragraph): reformat a bit
10663 (cutIntoMinibuffer): use builtin InsetList function instad of
10667 * buffer.C: include boost/bind.hpp, add using std::for_each
10668 (writeFileAscii): use ParagraphList iterators
10669 (validate): use for_each for validate traversal of paragraphs
10670 (getBibkeyList): use ParagraphList iterators
10671 (resizeInsets): use for_each to resizeInsetsLyXText for all
10673 (getParFromID): use ParagraphList iterators
10675 * BufferView2.C (lockInset): use paragraph list and iterators
10677 2002-08-14 John Levon <levon@movementarian.org>
10679 * lyxserver.C: remove spurious xforms include
10681 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10683 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10685 2002-08-13 André Pönitz <poenitz@gmx.net>
10688 * lyxfunc.C: further cleaning
10690 2002-08-13 André Pönitz <poenitz@gmx.net>
10692 * funcrequest.h: new constructor
10694 * funcrequest.C: move stuff here from .h
10697 * BufferView_pimpl.C:
10700 * lyxfunc.C: subsequent changes
10702 * lyxfunc.h: new view() member function
10704 * lyxfunc.C: subsequent changes
10706 2002-08-13 Angus Leeming <leeming@lyx.org>
10709 * BufferView_pimpl.C:
10717 changes due to the changed LyXView interface that now returns references
10718 to member variables not pointers.
10720 2002-08-13 Angus Leeming <leeming@lyx.org>
10722 * WordLangTuple (word, lang_code): return references to strings,
10727 * lyxtext.h: forward-declare WordLangTuple.
10732 * text.C: #include "WordLangTuple.h".
10735 * text.C: (selectNextWordToSpellcheck): constify return type.
10737 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10743 * paragraph_pimpl.h:
10746 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10747 suggested by Angus.
10748 Made updateCounter always count from start of buffer, and removed
10749 second argument (par).
10750 Reverted floats number display to '#'. Perhaps I'll try again when the
10751 code base is sanitized a bit.
10753 2002-08-12 Angus Leeming <leeming@lyx.org>
10755 * buffer.[Ch] (getLabelList): constify.
10757 2002-08-07 André Pönitz <poenitz@gmx.net>
10759 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10761 * funcrequest.h: extension to keep mouse (x,y) position
10763 2002-08-12 Juergen Vigna <jug@sad.it>
10765 * BufferView2.C (insertErrors): forbid undo when inserting error
10768 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10770 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10772 * ParagraphList.[Ch]: new files
10774 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10776 * BufferView2.C (lockInset): ParagraphList changes
10779 * bufferlist.C: ditto
10783 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10785 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10786 unused class variable counter_,
10788 * paragraph.[Ch] (getFirstCounter): delete unused function
10790 * counters.C: include LAssert.h
10791 (reset): add a new function with no arg, change other version to
10792 not have def. arg and to not allow empty arg.
10794 * text2.C (setCounter): remove empty arg from call to Counters::reset
10796 2002-08-11 John Levon <levon@movementarian.org>
10798 * Makefile.am: add WordLangTuple.h
10800 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10802 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10803 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10805 * insets/insettext.C: InsetList changes
10807 * graphics/GraphicsSupport.C (operator()): InsetList changes
10809 * toc.C (getTocList): InsetList changes
10811 * paragraph_pimpl.[Ch]: InsetList changes
10813 * paragraph.[Ch]: InsetList changes
10815 * buffer.C (inset_iterator): InsetList changes
10816 (setParagraph): ditto
10817 * buffer.h (inset_iterator): ditto
10818 * iterators.C (operator++): ditto
10819 * iterators.h: ditto
10821 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10823 * InsetList.[Ch]: new files, most InsetList handling moved out of
10826 * BufferView2.C (removeAutoInsets): InsetList changes
10828 (ChangeInsets): ditto
10830 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10832 * paragraph_pimpl.h (empty): new function
10834 * paragraph.[Ch] (empty): new function
10836 * other files: use the new Paragraph::empty function
10838 2002-08-09 John Levon <levon@movementarian.org>
10840 * lyxtext.h: remove unused refresh_height
10842 2002-08-09 John Levon <levon@movementarian.org>
10849 * paragraph.C: move sgml char escaping out of paragraph
10852 * paragraph.C: remove id setter
10856 * paragraph_pimpl.C: remove dead tex_code_break_column
10858 * bufferview_funcs.C: small cleanup
10860 * lyxfunc.C: remove dead proto
10862 * lyxtext.h: make some stuff private. Remove some dead stuff.
10864 * lyxgluelength.C: make as[LyX]String() readable
10866 2002-08-08 John Levon <levon@movementarian.org>
10871 * ToolbarDefaults.C:
10874 * toc.C: lyxaction cleanup
10876 2002-08-08 John Levon <levon@movementarian.org>
10878 * BufferView2.C: small cleanup
10881 * lyxfind.C: move unnecessary header into the .C
10883 2002-08-08 John Levon <levon@movementarian.org>
10885 * funcrequest.h: just tedious nonsense
10888 * lyx_main.C: cleanups
10891 * vspace.C: remove dead header lyx_main.h
10893 2002-08-07 Angus Leeming <leeming@lyx.org>
10896 * paragraph_pimpl.h:
10897 Forward declare class Counters in paragraph.h by moving the ctrs member
10898 variable into Paragraph::Pimpl.
10899 (counters): new method, returning a reference to pimpl_->ctrs.
10901 * text2.C: ensuing changes.
10903 2002-08-07 John Levon <levon@movementarian.org>
10905 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10907 * BufferView_pimpl.C: announce X selection on double/triple
10910 * lyx_main.C: use correct bool in batch dispatch
10912 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10914 2002-08-07 André Pönitz <poenitz@gmx.net>
10916 * funcrequest.h: new class to wrap a kb_action and its argument
10919 * BufferView_pimpl[Ch]:
10923 * lyxrc.C: subsequent changes
10926 2002-08-07 John Levon <levon@movementarian.org>
10928 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10929 document options change.
10931 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10936 * makefile.am: move counters functionality over from
10937 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10939 2002-08-06 John Levon <levon@movementarian.org>
10941 * WordLangTuple.h: new file for word + language code tuple
10952 * BufferView2.C: use WordLangTuple
10955 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10957 2002-08-06 John Levon <levon@movementarian.org>
10959 * lyx_main.C: fix cmdline batch handling
10961 2002-08-06 André Pönitz <poenitz@gmx.net>
10963 * lyxrc.C: set default for show_banner to true
10965 2002-08-06 John Levon <levon@movementarian.org>
10967 * pspell.C: fix a crash, and allow new aspell to work
10969 2002-08-06 John Levon <levon@movementarian.org>
10972 * kbmap.C: small cleanup
10975 * vspace.C: add const
10977 2002-08-05 John Levon <levon@movementarian.org>
10979 * LyXAction.C: back to tabular-insert
10981 2002-08-04 John Levon <levon@movementarian.org>
10984 * BufferView.C: cosmetic change
10986 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10996 * BufferView2.C: purge all "Lyx" not "LyX" strings
10999 * lyxcursor.C: attempt to add some documentation
11004 * ToolbarDefaults.C:
11005 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11006 merge with LFUN_TABULAR_INSERT
11013 * pspell.C: split up i/pspell implementations into separate
11014 files, many cleanups
11016 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11018 * text2.C: some cleanup
11020 * lyxfunc.C: don't check for isp_command == "none" any more, it
11021 didn't make any sense
11023 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11028 * makefile.am: move counters functionality over
11029 from text2.C/paragraph.[Ch] to counters.[Ch], and
11031 2002-08-02 John Levon <levon@movementarian.org>
11033 * buffer.C: s/lyxconvert/lyx2lyx/
11035 2002-08-02 Angus Leeming <leeming@lyx.org>
11037 * lyxlex.C: revert John's change as it breaks reading of the user
11040 2002-08-02 Angus Leeming <leeming@lyx.org>
11042 * importer.C (Import):
11043 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11044 changes due to LyXView::view() now returning a boost::shared_ptr.
11046 2002-08-02 John Levon <levon@movementarian.org>
11048 * lyxlex.C: small cleanup
11050 2002-08-02 John Levon <levon@movementarian.org>
11052 * text2.C (status): small cleanup, no logic change
11054 2002-08-01 John Levon <levon@movementarian.org>
11057 * buffer.C (writeFile): don't output alerts, caller
11061 * lyx_cb.C: from above
11063 * lyxfunc.C: allow to open non-existent files
11065 2002-07-31 John Levon <levon@movementarian.org>
11067 * lyxserver.C: don't let incidental errors get
11070 2002-07-30 John Levon <levon@movementarian.org>
11072 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11074 2002-07-30 John Levon <levon@movementarian.org>
11077 * lyxserver.C: remove I/O callback too
11079 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11081 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11084 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11086 * many files: strip,frontStrip -> trim,ltrim,rtrim
11088 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11090 * PrinterParams.h: remove extern containsOnly, and include
11091 support/lstrings.h instead.
11093 * LaTeX.C (scanAuxFile): modify because of strip changes
11095 * buffer.C (makeLaTeXFile): ditto
11096 * bufferparams.C (writeFile): ditt
11097 * lyxfont.C (stateText): ditto
11098 * lyxserver.C (read_ready): ditto
11099 * vc-backend.C (scanMaster): ditto
11101 * BufferView_pimpl.h: ws changes
11103 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11105 2002-07-26 André Pönitz <poenitz@gmx.net>
11107 * kb_sequence.C: remove unnedred usings
11109 2002-07-26 Juergen Vigna <jug@sad.it>
11111 * lyxfind.C (LyXReplace): we have to check better if the returned
11112 text is not of theLockingInset()->getLockingInset().
11114 2002-07-25 Juergen Vigna <jug@sad.it>
11116 * lyxfind.C (LyXReplace): don't replace if we don't get the
11119 * undo_funcs.C (createUndo): remove debugging code.
11121 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11123 * buffer.C (parseSingleLyXformat2Token): Use default placement
11124 when reading old floats.
11126 * FloatList.C (FloatList): Change the default placement of figure
11127 and tables to "tbp".
11129 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11131 * MenuBackend.C: using std::max
11133 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11135 * MenuBackend.C (expandToc):
11136 (expandToc2): code moved from xforms menu frontend. It is now
11137 generic and TOCs are transparent to menu frontends.
11139 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11141 * toc.C (getTocList): protect against buf=0
11143 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11144 Menu as first parameter. Now, this calls itself recursively to
11145 expand a whole tree (this will be useful for TOC handling)
11146 (expandFloatInsert): remove 'wide' version of floats
11148 * MenuBackend.h (submenuname): returns the name of the submenu.
11149 (submenu): returns the submenu itself, provided it has been
11150 created by MenuBackend::expand
11152 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11154 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11155 insets which have noFontChange == true. (bug #172)
11157 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11159 * BufferView_pimpl.C: add connection objects and use them...
11162 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11164 * MenuBackend.C (expandLastfiles):
11167 (expandFloatListInsert):
11168 (expandFloatInsert):
11169 (expand): split expand in parts
11171 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11173 * lyx_gui.C: use lyx_gui::exit()
11175 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11177 * LyXAction.C: show the failing pseudo action
11179 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11181 * buffer.C (readFile): Run the lyxconvert script in order to read
11184 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11188 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11190 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11194 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11196 2002-07-22 Herbert Voss <voss@lyx.org>
11199 * lyxlength.[Ch]: add support for the vertical lengths
11201 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11203 * toc.[Ch]: std:: fixes
11205 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11207 * lyxrc.C: do not include lyx_main.h
11209 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11215 * BufferView2.C: include "lyxlex.h"
11218 * bufferparams.h: do not #include "lyxlex.h"
11220 * lyxtextclasslist.C (Add): remove method
11221 (classlist): renamed to classlist_
11223 * paragraph_pimpl.C:
11227 * bufferview_funcs.C:
11232 * toc.C (getTocList): use BufferParams::getLyXTextClass
11234 * toc.C (getTocList): use InsetFloat::addToToc
11236 * toc.[Ch]: new files, containing helper functions to handle table
11239 * lyxfunc.C (dispatch): no need to remove spaces around command
11241 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11242 first command of the sequence; it is not very clever, but I do not
11243 have a better idea, actually
11245 * LyXAction.C (LookupFunc): make sure to remove space at the
11246 beginning and end of the command
11248 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11250 * MenuBackend.C (getMenubar): new method: return the menubar of
11252 (read): treat differently reading of menu and menubar (in
11253 particular, the menubar has no name now)
11254 (Menu::menubar): remove
11256 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11259 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11261 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11262 a bibitem inset in a RTL paragraph.
11264 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11266 * paragraph_pimpl.C: constify
11268 * BufferView_pimpl.C:
11270 * lyxfunc.C: fix dispatch in a nicer way
11272 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11274 * lyxfunc.C (dispatch):
11275 * BufferView_pimpl.C:
11276 * BufferView_pimpl.h:
11278 * BufferView.h: rename Dispatch() to dispatch()
11280 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11282 * lyxlayout.C (Read): honor DependsOn tag
11284 * lyxlayout.[Ch] (depends_on): new method
11286 * version.C.in: update lyx_docversion
11288 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11290 * paragraph.C (validate): remove from here...
11291 * paragraph_pimpl.C (validate): ... and move here
11292 (isTextAt): make it const
11294 * buffer.C (getLists): ws cleanup
11296 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11298 * language.C (read): Use iso8859-1 encoding in latex_lang
11299 (this prevents LyX from crashing when using iso10646-1 encoding).
11301 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11303 * text2.C (toggleInset): if cursor is inside an inset, close the
11304 inset and leave cursor _after_ it
11306 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11308 * lyxfunc.C: move minibuffer completion handling out of here
11310 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11312 * BufferView_pimpl.C:
11313 * LaTeX.C: fix dispatch calls
11315 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11317 * text.C (drawChars): Fix Arabic text rendering.
11319 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11323 * lyxfunc.C: remove message-push/pop
11327 * lyxfunc.C: rationalise some code by removing verboseDispatch
11328 in favour of a bool argument to dispatch()
11330 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * lyx_main.C (init): make sure to read symlinks as absolute paths
11334 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11337 * lyxfunc.C: no need for commandshortcut to be a member
11339 2002-07-15 André Pönitz <poenitz@gmx.net>
11341 * converter.C: add support for $$s (scripts from lib/scripts dir)
11342 * lyx_main.C: white space
11344 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11348 * lyxrc.C: remove second exit confirmation
11350 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11355 * BufferView_pimpl.h:
11356 * BufferView_pimpl.C:
11357 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11359 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11361 * MenuBackend.C (expand): add numeric shortcuts to document menu
11363 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11365 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * lyxfont.C (setLyXFamily):
11374 * buffer.C (asciiParagraph): use ascii_lowercase
11376 2002-07-15 Mike Fabian <mfabian@suse.de>
11378 * lyxlex_pimpl.C (search_kw):
11379 * lyxlex.C (getLongString):
11380 * converter.h (operator<):
11381 * converter.C (operator<):
11382 * buffer.C (parseSingleLyXformat2Token):
11384 * ToolbarDefaults.C (read):
11385 * MenuBackend.C (checkShortcuts):
11387 * LColor.C (getFromGUIName):
11388 (getFromLyXName): use the compare_ascii_no_case instead of
11389 compare_no_case, because in turkish, 'i' is not the lowercase
11390 version of 'I', and thus turkish locale breaks parsing of tags.
11392 2002-07-16 Angus Leeming <leeming@lyx.org>
11394 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11395 now takes a Buffer const & argument.
11397 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11399 * BufferView.C (resize): check there's a buffer to resize
11401 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11403 * lyxfunc.C: remove dead code
11406 * lyxserver.C: use lyx_guii::set_read_callback
11408 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11410 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11411 an inset in a RTL paragraph.
11413 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11415 * lyxfunc.C: repaint after a font size update
11417 2002-07-15 André Pönitz <poenitz@gmx.net>
11419 * lyxlength.C: inBP should be able to return negative values
11421 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11423 * lyxfunc.C: use lyx_gui::update_fonts()
11425 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11427 * lyxfunc.C: use lyx_gui::update_color()
11429 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11435 * lyxrc.C: remove file->new asks for name option, and let
11436 buffer-new take an argument
11438 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11440 * BufferView_pimpl.C: remove unneeded extra repaint()
11442 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11444 * LyXAction.C: allow command-sequence with NoBuffer
11446 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11448 2002-07-10 Angus Leeming <leeming@lyx.org>
11450 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11452 2002-07-09 Angus Leeming <leeming@lyx.org>
11454 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11456 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11458 * lengthcommon.h: whitespace
11460 * lyxfunc.C: update scrollbar after goto paragraph
11462 * lyxtext.h: factor out page break drawing, and fix it so
11463 page break/added space paints as selected nicely
11465 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11467 * BufferView_pimpl.C: add FIXMEs, clean up a little
11469 2002-07-09 André Pönitz <poenitz@gmx.net>
11471 * lyxfont.[Ch]: support for wasy symbols
11473 2002-07-08 André Pönitz <poenitz@gmx.net>
11475 * BufferView_pimpl.C: apply John's patch for #93.
11477 2002-07-05 Angus Leeming <leeming@lyx.org>
11479 * BufferView_pimpl.C (buffer): generate previews if desired.
11481 * LColor.h: add "preview" to the color enum.
11483 * LColor.C (LColor): add a corresponding entry to the items array.
11485 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11488 2002-07-05 Angus Leeming <leeming@lyx.org>
11490 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11491 The body of the code is now in the method that is passed an ostream &
11492 rather than a file name.
11493 Pass an additional only_preamble parameter, useful for the forthcoming
11496 2002-07-03 André Pönitz <poenitz@gmx.net>
11498 * lyxfunc.C: simplify getStatus() a bit for math stuff
11500 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11504 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11506 * text.C (changeRegionCase): do not change case of all the
11507 document when region ends at paragraph end (bug #461)
11509 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11511 * paragraph.C (startTeXParParams):
11512 (endTeXParParams): add \protect when necessary
11514 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11516 * BufferView_pimpl.C (workAreaExpose): remove warning
11518 2002-06-27 Angus Leeming <leeming@lyx.org>
11520 * Makefile.am: add lyxlayout_ptr_fwd.h.
11522 2002-06-26 André Pönitz <poenitz@gmx.net>
11524 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11526 2002-06-25 Angus Leeming <leeming@lyx.org>
11528 * lyxfunc.C (dispatch): Comment out the call to
11529 grfx::GCache::changeDisplay. The method no longer exists now that the
11530 pixmap generation part of the graphics loader has been moved into
11533 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11535 * text2.C: layout as layout
11537 * text.C: layout as layout
11539 * tabular.C (OldFormatRead): layout as layout
11541 * paragraph_pimpl.C (TeXDeeper): layout as layout
11542 (realizeFont): layout as layout
11544 * paragraph.C (writeFile): layout as layout
11545 (validate): layout as layout
11546 (getFont): layout as layout
11547 (getLabelFont): layout as layout
11548 (getLayoutFont): layout as layout
11549 (breakParagraph): layout as layout
11550 (stripLeadingSpaces): layout as layout
11551 (getEndLabel): layout as layout
11552 (getMaxDepthAfter): layout as layout
11553 (applyLayout): layout as layout
11554 (TeXOnePar): layout as layout
11555 (simpleTeXOnePar): layout as layout
11556 (TeXEnvironment): layout as layout
11557 (layout): layout as layout
11558 (layout): layout as layout
11560 * lyxtextclass.C (compare_name): new functor to work with
11561 shared_ptr, layout as layout
11562 (Read): layout as layout
11563 (hasLayout): layout as layout
11564 (operator): layout as layout
11565 (delete_layout): layout as layout
11566 (defaultLayout): layout as layout
11568 * lyxlayout_ptr_fwd.h: new file
11570 * lyxlayout.C (Read): layout as layout
11572 * lyx_cb.C (MenuInsertLabel): layout as layout
11574 * bufferlist.C (newFile): layout as layout
11576 * buffer.C (readLyXformat2): layout as layout
11577 (parseSingleLyXformat2Token): layout as layout
11578 (insertStringAsLines): layout as layout
11579 (asciiParagraph): layout as layout
11580 (latexParagraphs): layout as layout
11581 (makeLinuxDocFile): layout as layout
11582 (simpleLinuxDocOnePar): layout as layout
11583 (makeDocBookFile): layout as layout
11584 (simpleDocBookOnePar): layout as layout
11585 (getLists): layout as layout
11587 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11589 * CutAndPaste.C (cutSelection): layout as layout
11590 (pasteSelection): layout as layout
11591 (SwitchLayoutsBetweenClasses): layout as layout
11593 * BufferView_pimpl.C (Dispatch): layout as layout
11594 (smartQuote): layout as layout
11596 * BufferView2.C (unlockInset): layout as layout
11598 2002-06-24 André Pönitz <poenitz@gmx.net>
11600 * lyxfunc.C: fix #487
11602 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11606 * lyxfunc.C: remove display_shortcuts, show_banner
11608 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11610 * Buffer_pimpl.C: oops, update on resize
11612 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11619 * BufferView.C: use repaint()
11621 * BufferView_pimpl.h:
11622 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11623 as it's a clearer description. Remove superfluous
11626 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11628 * text.C: fix bug 488. Not ideal, but getting
11629 getWord() to work properly for the insets that
11630 matter is more difficult ...
11632 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11634 * BufferView_pimpl.C:
11637 * lyxfunc.C: remove the six million index lyxfuncs to just
11638 one, and DTRT (bug 458)
11640 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11644 * BufferView_pimpl.h:
11645 * BufferView_pimpl.C: clean up resize() stuff,
11646 and unnecessary updateScreen()s
11648 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11652 * BufferView_pimpl.h:
11653 * BufferView_pimpl.C:
11656 * minibuffer.C: remove focus management of workarea,
11657 not needed. Use screen's greyOut()
11659 2002-06-17 Herbert Voss <voss@lyx.org>
11661 * converter.C: (convert) do not post a message, when converting
11662 fails, let the calling function decide what to do in this case
11664 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11666 * lyxfunc.C: tidy up a little
11668 2002-06-16 <alstrup@diku.dk>
11670 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11671 Got rid of FORMS_H_LOCATION include. Now we are
11674 2002-06-15 LyX Development team <lyx@rilke>
11676 * buffer.[Ch] (sgmlOpenTag):
11677 (sgmlCloseTag): Added support for avoiding pernicious mixed
11678 content. Return number of lines written.
11680 (makeLinuxDocFile):
11681 (makeDocBookFile): Fixed calls to sgml*Tag.
11682 Simple white space clean.
11684 (simpleDocBookOnePar): Simple white space clean.
11686 * tabular.[Ch] (docBook): Renamed to docbook and got another
11687 argument to related with the pernicious mixed content.
11689 (docbookRow): Fixed calls for docbook inset method.
11691 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11693 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11694 so it's X11 independent.
11698 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11700 2002-06-15 Lyx Development team <lyx@electronia>
11702 * intl.h: Renamed getTrans to getTransManager.
11704 2002-06-14 Angus Leeming <leeming@lyx.org>
11706 * Makefile.am: nuke forgotten stl_string_fwd.h.
11708 2002-06-12 Angus Leeming <leeming@lyx.org>
11710 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11712 2002-06-13 Angus Leeming <leeming@lyx.org>
11715 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11717 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11719 * kbmap.C (getiso): add support for cyrillic and greek
11721 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.h:
11726 * BufferView_pimpl.C: move bogus scrolling logic
11729 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11732 * BufferView_pimpl.C: view->resize() change
11734 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11736 * BufferView_pimpl.C: topCursorVisible
11739 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11743 * lyx_gui.C: move to frontends/
11747 * lyx_main.C: changes from above
11749 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11756 * lyx_main.C: minor tidy
11758 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11760 * BufferView_pimpl.h:
11761 * BufferView_pimpl.C:
11763 * BufferView.C: make painter() const,
11766 * BufferView2.C: use screen() accessor
11769 * lyx_main.C: some minor cleanup
11771 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView_pimpl.h:
11774 * BufferView_pimpl.C: remove enter/leaveView,
11777 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11782 * BufferView_pimpl.h:
11783 * BufferView_pimpl.C: only construct screen once,
11786 * lyxrc.C: remove pointless comment
11788 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11791 * BufferView.C: remove active() and belowMouse()
11793 * BufferView_pimpl.h:
11794 * BufferView_pimpl.C: use workarea() not workarea_,
11795 and make it use a scoped_ptr instead
11797 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11799 * lyx_gui.C: add debug message on BadWindow
11801 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11803 * sp_spell.C: fdopen is not part of the C++ standard.
11805 * paragraph.C (InsetIterator): use >= instead of ==
11807 2002-06-07 Angus Leeming <leeming@lyx.org>
11809 Fixes needed to compile with Compaq cxx 6.5.
11810 * BufferView_pimpl.C:
11817 * lyxtextclasslist.C:
11822 all c-library variables have been moved into namespace std. Wrap
11823 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11828 Add a using std::abs declaration.
11830 * kbmap.h (modifier_pair):
11831 * paragraph.h (InsetTable, InsetList):
11832 * lyxfont.h (FontBits):
11833 type definition made public.
11835 * bufferlist.C (emergencyWriteAll): the compiler complains that
11836 there is more than one possible lyx::class_fun template to choose from.
11837 I re-named the void specialisation as lyx::void_class_fun.
11839 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11841 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11842 the compiler is is unable to find tostr in write_attribute.
11844 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11846 * buffer.C (sgmlError): hide #warning
11848 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11850 * xtl/*: get rid of xtl, which is not in use anyway
11852 * LyXAction.C (init):
11853 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11854 were unimplemented xtl experimentation
11856 2002-06-04 André Pönitz <poenitz@gmx.net>
11858 * lyxfunc.C: disable array operation on simple formulae
11860 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11862 * converter.C: constify a bit
11864 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11866 * lyx_gui.C: check xforms version correctly
11868 2002-04-30 Herbert Voss <voss@lyx.org>
11870 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11873 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11875 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11876 attempt to register it with a VCS)
11878 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11880 * lyx_main.C (init): honor variables LYX_DIR_13x and
11883 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11887 * lyx_main.C: fix a crash on bad command line,
11888 and give a useful exit status on error
11890 * lyxfunc.C (doImport): allow -i lyx to work
11892 2002-03-30 André Pönitz <poenitz@gmx.net>
11894 * lyxfunc.C: mathed font changes
11896 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11911 * trans_mgr.h: srcdocs, and some minor cleanups
11913 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11915 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11916 call getFont all the time)
11918 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * switch from SigC signals to boost::signals
11922 2002-05-29 André Pönitz <poenitz@gmx.net>
11924 * paragraph_pimpl.C (getChar): don't call size() too often...
11926 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * paragraph_pimpl.C (insertChar): do not try to update tables when
11929 appending (pos == size())
11931 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11932 in order to reduce drastically the number of comparisons needed to
11933 parse a large document
11935 2002-05-29 André Pönitz <poenitz@gmx.net>
11941 * textclasslist.[Ch]:
11942 * sp_ispell.h: whitespace change
11944 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11946 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11947 lyxaction directly now.
11949 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11953 * lyxvc.C: remove unused headers
11955 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11962 * undo_funcs.C: some cleanups. Use shared_ptr
11963 and a template for the undo stacks.
11965 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11967 * BufferView_pimpl.h:
11968 * BufferView_pimpl.C:
11975 * text2.C: use key_state/mouse_state
11977 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11979 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11982 * chset.C: change include order
11983 (loadFile): use boost regex and get rid of LRegex and LSubstring
11985 * Makefile.am (BOOST_LIBS): new variable
11986 (lyx_LDADD): use it
11988 * LaTeX.C: change include order.
11989 (scanAuxFile): use boost regex and get rid of LRegex and
11993 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11998 * FontInfo.C: moved to frontends/xforms/
12001 * FontLoader.C: moved into frontends for GUIIzation
12006 * lyxfunc.C: changes from above
12008 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12010 * LColor.C: remove spurious X include
12012 * BufferView_pimpl.C:
12017 * text2.C: move font metrics to frontends/
12019 2002-05-24 Juergen Vigna <jug@sad.it>
12021 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12022 setting the undo_cursor.
12024 * ParagraphParameters.h: include local includes first.
12026 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C:
12029 * BufferView_pimpl.h:
12033 * screen.C: move WorkArea into frontends/
12039 * BufferView2.C: move LyXScreen into frontends/
12043 * lyx_gui.C: move lyxlookup into frontends/xforms/
12045 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12048 * BufferView_pimpl.C:
12058 * bufferview_funcs.C:
12071 * vc-backend.C: move LyX/XFormsView into frontends/
12073 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12085 * text2.C: move Painter to frontends/
12087 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * buffer.C: comment out some some code that depend upon lyx_format
12092 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12093 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12095 * buffer.h (NO_COMPABILITY): turn off compability
12097 * ColorHandler.C: include scoped_array.hpp
12099 * font.C: Use more specific smart_ptr header.
12102 * ShareContainer.h: ditto
12103 * lyx_main.h: ditto
12105 * FontInfo.h: ditto
12106 * BufferView_pimpl.h: ditto
12107 * ColorHandler.h: ditto
12109 * kbmap.C (defkey): change call to shared_ptr::reset
12111 2002-05-21 Juergen Vigna <jug@sad.it>
12113 * buffer.C (insertErtContents): fix to insert ert asis if it is
12114 non empty. Skip it completely if it contains only whitespaces.
12116 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12118 * BufferView_pimpl.C:
12119 * BufferView2.C: clear selection on paste (bug 393)
12121 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * DepTable.C: include ctime
12125 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12127 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12129 2002-05-14 Juergen Vigna <jug@sad.it>
12131 * text.C (breakParagraph): fixed function to honor the keepempty
12132 layout in the right maner and also to permit the right breaking
12133 algorithm on empty or non empyt keepempty paragraphs.
12135 * paragraph.C (breakParagraph): we have to check also if the par
12136 is really empty (!size()) for isempty otherwise we do the wrong
12139 2002-05-10 Juergen Vigna <jug@sad.it>
12141 * buffer.[Ch] : The following are only changes to the ert
12142 compatibility read reading old LaTeX layout and font stuff and
12143 convert it to ERTInsets.
12145 * buffer.h: added isErtInset().
12147 * buffer.C (struct ErtComp): add a fromlayout bool to check
12148 if we're inside a LaTeX layout.
12149 (isErtInset): new helper function.
12150 (insertErtContents): look for other ert insets before this one
12151 and insert the contents there, so that we don't have subsequent
12152 ERT insets with nothing between them. This way we create only one
12153 inset with multiple paragraphs. Also check if we don't insert only
12154 spaces ' ' as they are ignored anyway afterwards in the .tex file
12155 so if we have only spaces we will ignore this latex part in the
12157 (parseSingleLyXformat2Token \\layout): better compatibility when
12158 reading layout-latex stuff.
12159 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12161 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12162 stuff after reading the inset only get the information back from
12165 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12167 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12169 * LaTeXFeatures.C (getBabelOptions): New method.
12171 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * BufferView_pimpl.C (Dispatch): work around missing argument for
12176 2002-05-08 Juergen Vigna <jug@sad.it>
12178 * text.C (leftMargin): handle paragraph leftindent.
12180 * paragraph.C (writeFile): write the new \\leftindent tag.
12181 (validate): handle leftindent code.
12182 (TeXEnvironment): handle paragraphleftindent code again.
12184 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12186 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12187 for paragrap_extra indent code and new token \\leftindent.
12188 (latexParagraphs): handle the leftindent as environment.
12190 * ParameterStruct.h: added leftindent support.
12192 * ParagraphParameters.C (leftIndent): added support functions for
12193 the paragraph left indent.
12195 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12198 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12200 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12203 * text.C (computeBidiTables): No bidi in insetERT.
12205 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12208 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12210 * version.C.in: pre 5
12212 2002-05-02 José Matos <jamatos@fep.up.pt>
12213 * buffer.C (makeDocBookFile): white space changes, add newline to
12215 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12217 * tabular.C (docBook): fix typo.
12219 2002-05-03 Juergen Vigna <jug@sad.it>
12221 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12222 change in LyXText as we can not be sure it was not freed.
12223 (drawOneRow): remove unused code.
12225 * text.C (drawInset): redo the calculation of the need_break_row as
12226 it could have a row which was already freed.
12227 (draw): look at the return value of drawInset and return false if
12228 it also returned false.
12229 (paintRowText): look at the return value of draw and return false if
12230 it also returned false.
12232 * lyxtext.h: added bool return type to drawInset() and draw() so that
12233 if we have a change in the row so that the rowbreak has to be redone
12234 we abort drawing as it will be called again.
12236 2002-05-02 Juergen Vigna <jug@sad.it>
12238 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12239 a change in the maintext also if we're inside an inset.
12240 (Dispatch): set the cursor again after a break line and after the
12241 screen has been updated as it could be we're in a different row.
12243 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12244 to set the cursor behind the pargraph with > size().
12245 (setCursor): check also for the same paragraph when checking where
12246 to put the cursor if we have a NFR inset.
12248 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12249 parts of layout read further up as it still was in the wrong
12252 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12254 * screen.C (drawFromTo): change sine fullRebreak always return
12257 * buffer.C (parseSingleLyXformat2Token): reindent some
12259 * BufferView_pimpl.C (update): change since fullRebreak always
12261 (Dispatch): git rid of the last hardcoded "Standard"s.
12263 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * text2.[Ch] (fullRebreak): make it return void now that we always
12268 2002-04-30 Juergen Vigna <jug@sad.it>
12270 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12271 ert compatibility check for "latex" layout.
12273 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12275 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12276 minipages: use col% instead of p%, and also use the current font.
12277 (makeLaTeXFile): Fix use babel condition.
12278 (parseSingleLyXformat2Token): Correct font when reading old floats.
12280 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12282 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12283 inserting list of floats.
12285 2002-04-25 Herbert Voss <voss@lyx.org>
12287 * MenuBackend.C (expand): don't add the graphics extensions to the
12290 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12292 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12293 non-existing layout, do not complain if it was the default layout
12294 of the original class (bug #342)
12296 2002-04-24 Juergen Vigna <jug@sad.it>
12298 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12299 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12301 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12303 * buffer.C (getBibkeyList): If using \bibliography, return the
12304 option field with the reference itself. Enables us to provide natbib
12305 support when using \bibliography.
12307 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12309 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12311 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12312 natbib is provided by the LaTeX class.
12314 2002-04-23 Juergen Vigna <jug@sad.it>
12316 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12319 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12321 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12323 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12325 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12326 ensuremath around textordmasculine, textordfeminine and
12329 2002-04-19 Juergen Vigna <jug@sad.it>
12331 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12332 reinitializing the buffer otherwise row-dimensions may be wrong.
12333 (update): reset also the selection cursors if they do exits otherwise
12334 their x/y positions may be wrong.
12336 * text2.C (cursorDown): don't enter the inset if we came from a row
12337 above and are one row over the inset.
12339 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12340 really leaving an inset.
12342 2002-04-18 Juergen Vigna <jug@sad.it>
12344 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12345 of the selected paragraph does not have the selected layout also if
12348 * text2.C (setLayout): fixed bug which did not change last selected
12351 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12352 changed the read and substituted \\end_float with \\end_inset!
12354 * BufferView_pimpl.C (cursorPrevious):
12355 (cursorNext): fixed to make it work with rows heigher than the work
12356 area without moving the cursor only the draw of the row.
12357 (workAreaMotionNotify): fix jumping over high rows.
12359 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12361 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12364 2002-04-16 Juergen Vigna <jug@sad.it>
12366 * text2.C (setCursor): set also the irow().
12367 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12369 (cursorDown): support for locking an inset if the x_fix value goes
12370 inside it. That way I can transverse insets too with cursor up/down.
12372 * lyxrow.h: added irow helper function same as other (i) functions.
12374 * BufferView_pimpl.C (cursorPrevious):
12375 (cursorNext): fixed for insets!
12377 2002-04-15 Juergen Vigna <jug@sad.it>
12379 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12380 position otherwise it is wrong in some cases.
12382 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12383 inside the inset before the call.
12385 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12387 * buffer.[Ch] (getBibkeyList): make it const.
12389 2002-04-12 Juergen Vigna <jug@sad.it>
12391 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12393 * text2.C (getCursorX): new helper function
12394 (setCursor): compute also ix_
12395 (setCursorFromCoordinates): set also ix.
12397 * lyxcursor.h: added ix_ and helper functions.
12399 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12401 * buffer.C (insertStringAsLines): dont break paragraph if the this
12402 paragraph is inside an inset which does not permit it!
12404 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12405 also with no chars on this paragraph.
12406 (paintRowText): only paint stuff if it's inside the workarea!
12408 * paragraph.C (breakParagraph): honor keepempty flag and break the
12409 paragraph always below not above.
12411 * BufferView2.C (unlockInset): update the paragraph layout on inset
12412 unlock as we changed paragraph in such a case.
12414 * lyxfind.C (LyXFind): clear the former selection if not found!
12416 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12417 again called in insertChar().
12419 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12420 an inset which uses the whole row!
12421 (rightMargin): ditto.
12422 (insertChar): force a rebreak if we inserted an inset!
12424 2002-03-28 Herbert Voss <voss@lyx.org>
12426 * lyxlength.[Ch]: add inBP() to get the right PS-point
12427 units (BigPoint). With inPixels we have rounding errors
12429 2002-04-11 Juergen Vigna <jug@sad.it>
12431 * text2.C (setCursorFromCoordinates): set iy to the right value.
12432 (setCursor): add check if row->previous exists!
12434 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12435 an old float_type as this was the case in the old code!
12437 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12439 * BufferView2.C (showLockedInsetCursor): use iy
12440 (fitLockedInsetCursor): ditto
12442 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12443 locked insets as there we have the right value now.
12445 * lyxcursor.C: added iy_ variable and iy functions to set to the
12446 baseline of cursor-y of the locked inset.
12448 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12449 (setCursor): fixed for insets which need a full row.
12451 * text.C (rowLastPrintable): don't ignore the last space when before
12452 an inset which needs a full row.
12453 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12454 as last character of a row when before a inset which needs a full row.
12456 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * version.C.in: update date
12460 * text2.C (fullRebreak): try to always return true and see what
12463 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12465 * MenuBackend.C (expand): use Floating::listName
12467 * FloatList.C (FloatList): add listName argument to the built-in
12470 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12471 text associated with the float.
12473 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12475 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12477 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12479 * ShareContainer.h: add a couple of missing typenames.
12481 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12483 * lyxrc.C (getDescription): use _() correctly rather than N_().
12485 2002-03-28 Herbert Voss <voss@lyx.org>
12487 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12488 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12490 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12492 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12493 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12495 2002-03-29 Juergen Vigna <jug@sad.it>
12497 * lyxfunc.C (dispatch): add a missing fitCursor call.
12499 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12500 it was scrolled by a cursor move, so return the bool status.
12502 * BufferView.C (fitCursor): return the bool flag also to the outside
12503 world as this is needed.
12505 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12507 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12508 call the edit() as it is not needed (and wrong) IMO.
12509 (workAreaButtonPress): set the screen_first variable before evt.
12510 unlock the inset as this may change screen_first and then we have
12511 a wrong y position for the click!
12513 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12515 * MenuBackend.C (expand): another translation that I missed
12517 2002-03-28 Juergen Vigna <jug@sad.it>
12519 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12521 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12523 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12527 * MenuBackend.C (expand): fix export/view/update when there is no
12530 2002-03-27 Herbert Voss <voss@lyx.org>
12532 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12535 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12537 * bufferview_funcs.C (currentState): only show paragraph number
12538 for is DEVEL_VERSION is set.
12540 * lyxfunc.C (dispatch): put warning in INFO channel
12542 * MenuBackend.C (expand): translate the name of floats
12544 * FloatList.C (FloatList): mark the float names for translation
12546 * converter.C (convert): use LibScriptSearch
12548 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12550 * MenuBackend.C (defaults): fix default menu (we might as well get
12553 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12558 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12560 * lyxvc.C: reorder includes.
12562 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12564 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12567 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12569 * CutAndPaste.C: change layouts earlier on paste
12570 to avoid crashing when calling getFont()
12572 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12574 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12577 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * WorkArea.C: remove 'Pending' debug message.
12581 * most files: ws cleanup
12583 * buffer.[Ch]: ws changes
12585 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12587 2002-03-21 Juergen Vigna <jug@sad.it>
12589 * tabular.C (SetMultiColumn): collapse also the contents of the
12590 cells and set the last border right. Added a Buffer const * param.
12592 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12597 2002-03-19 Juergen Vigna <jug@sad.it>
12599 * text2.C (clearSelection): reset also xsel_cache.
12601 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12602 where it needs to be called (John tells us to do so too :)
12603 (selectionLost): reset sel_cache.
12605 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12607 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12609 * text2.C (setCursorIntern): put debuging code in INSETS channel
12611 2002-03-19 André Pönitz <poenitz@gmx.net>
12613 * lyxfunc.C: tiny whitespace change
12615 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12617 * ToolbarDefaults.C (init):
12618 * LyXAction.C (init):
12620 * BufferView_pimpl.C (Dispatch):
12621 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12623 2002-03-19 Allan Rae <rae@lyx.org>
12625 * exporter.C (Export): removeAutoInsets before doing anything else.
12626 While I've just introduced a dependency on BufferView this really is
12627 the best place to clean the buffer otherwise you need to cleanup in
12628 a dozen places before calling export or cleanup in a dozen functions
12631 * converter.C (runLaTeX):
12632 (scanLog): Better handling of removeAutoInsets and screen updates.
12634 * lyxfunc.C (dispatch): small whitespace changes
12636 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12638 * WorkArea.C (C_WorkAreaEvent): return a value.
12639 (event_cb): return 1 if we handled the event, 0 otherwise.
12641 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12643 2002-03-18 Juergen Vigna <jug@sad.it>
12645 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12646 (GetAdditionalWidth): ditto.
12647 (RightLine): ditto.
12650 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12651 inset if we're there actually (probably not used right now but this
12652 is the direction to go for unifying code).
12653 (paste): disable code to clear the selection.
12655 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12656 inside an InsetText and move the check further up as it is in the
12659 * text2.C (pasteSelection): set a selection over the pasted text.
12661 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12663 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12664 and libgraphics to build on Cygwin.
12666 2002-03-15 Juergen Vigna <jug@sad.it>
12668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12669 inserting an Inset into the paragraph. I know this is not the best
12670 fix but we already use current_view in CutAndPaste so we will remove
12671 all of it's using at the same time.
12673 * buffer.C (sgmlError): deactivated function till it is rewritten in
12674 the right mode, now it can create problems.
12676 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12677 before accessing it.
12679 2002-03-14 Juergen Vigna <jug@sad.it>
12681 * undo_funcs.C (textHandleUndo): do the right thing when updating
12682 the inset after the undo/redo.
12684 * text2.C (setCursor): just some testcode for #44 not ready yet.
12686 * undo_funcs.C (textHandleUndo): set the next() and previous()
12687 pointers of the paragraph to 0 before deleting otherwise we have
12688 problems with the Paragraph::[destructor].
12690 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12691 on a paragraph insertion.
12693 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12695 * buffer.C (asciiParagraph): use += operator for char append to
12698 * paragraph.C (getFontSettings): compare >= not just >
12699 (highestFontInRange): ditto
12702 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * paragraph.C: change several algorithm to be more appripriate for
12705 the problem domain. This is lookip in FontList and in the InsetList.
12707 2002-03-13 André Pönitz <poenitz@gmx.net>
12710 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12712 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12717 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12719 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * Painter.C (display): anon helper function, adjust code for this
12723 (pixmap): remove function.
12725 * Painter.h: remove private display variable.
12727 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12729 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12731 * WorkArea.[Ch]: remove figinset_canvas cruft.
12733 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12735 * lyxtextclass.C (operator): add one item cache optimization.
12737 * bufferlist.h: doxy changes
12739 * bufferlist.C: ws changes
12741 * DepTable.[Ch] (ext_exist): place const in the right spot.
12743 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12745 (workAreaExpose): call resizeInsets when the with BufferView changes.
12746 (Dispatch): adjust for protectedBlank removal
12747 (specialChar): call updateInset if the insert went ok.
12749 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12750 specialChar instead.
12752 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12754 * BufferView.h: doxy change
12756 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12758 * lyxtextclass.C (operator[]): remove non-const version
12759 (defaultLayout): remove non-const version
12761 2002-03-12 Juergen Vigna <jug@sad.it>
12763 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12764 did resize the LyXText too.
12766 * buffer.C (readLyXformat2): set layout information on newly allocated
12769 * tabular.C (OldFormatRead): set layout information on the paragraph.
12771 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12773 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12775 2002-03-11 Juergen Vigna <jug@sad.it>
12777 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12779 (resizeCurrentBuffer): force also the insets to resize themselfes.
12780 (moveCursorUpdate): fixed up for InsetText.
12782 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12785 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12786 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12787 value of Dialogs::tooltipsEnabled().
12788 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12790 2002-03-08 Juergen Vigna <jug@sad.it>
12792 * BufferView_pimpl.C (updateInset): update inset inside inset also
12793 if it isn't inside theLockingInset().
12795 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * buffer.C (asciiParagraph): redo some of the word and line length
12799 (getLists): look for Caption instead of caption.
12801 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12803 * buffer.C (Buffer): initialize niceFile to true
12805 (makeLinuxDocFile):
12806 (makeDocBookFile): make sure niceFile is true on exit
12808 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12810 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12812 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12814 * LyXSendto.C: remove.
12815 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12816 * lyx_gui.C: remove now-redundant comment.
12817 * ColorHandler.h: remove forward declaration of class WorkArea.
12818 * lyxfunc.C: remove #include "WorkArea.h".
12820 2002-03-07 Juergen Vigna <jug@sad.it>
12822 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12823 got moved away with the DEPM and also set the inset_owner always
12824 right which before could have been omitted.
12826 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12829 wanted layout is not found.
12831 2002-03-07 Juergen Vigna <jug@sad.it>
12833 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12835 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * paragraph.C (breakParagraph): use default layout not layout of
12839 (Paragraph): clear ParagraphParameters.
12841 2002-03-06 Juergen Vigna <jug@sad.it>
12843 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12844 otherwise it would not be a valid lenght. Fixed a special case in
12845 the minipage compatibility read where we end the document with a
12848 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12849 was set as it could be 0 for InsetTexts first entry.
12851 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * paragraph.C (writeFile): if layout is empty write out
12854 defaultLayoutName().
12856 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12857 file without named layout we set layout to defaultLayoutName().
12859 2002-03-06 Juergen Vigna <jug@sad.it>
12861 * CutAndPaste.C (copySelection): set layout for new paragraph.
12863 * text.C (prepareToPrint): leave ERT inset left aligned
12864 (leftMargin): don't indent paragraphs inside ERT insets
12866 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * paragraph.C (breakParagraph): dont call clear do the work manually
12870 * paragraph.[Ch] (clear): remove function
12872 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12874 * paragraph.C (Paragraph): dont call clear, the work has already
12877 * lyxtextclass.C (operator): assert if n is empty
12879 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12880 work manually instead.
12882 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12884 * BufferView_pimpl.C: protect selectionLost against text == 0
12886 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * text.C (breakParagraph): fix a setting layout to '0' problem.
12890 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12892 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12893 final location of file, for the included files, and graphics.
12895 2002-03-05 Juergen Vigna <jug@sad.it>
12897 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12899 2002-03-04 Juergen Vigna <jug@sad.it>
12901 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12903 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12904 last column of multicolumn cells.
12905 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12907 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12909 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12910 file if it doesn't go to a temporary file.
12912 * buffer.C (sgmlOpenTag):
12913 (sgmlCloseTag): remove extra newline insertion.
12915 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * text.C (getRowNearY): comment out debug msg
12919 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12921 * text2.C: first -> first_y
12923 * text.C (getRowNearY): add some attemts at a possible
12924 optimization, not working.
12926 * tabular.[Ch]: add BufferParams to several function so that newly
12927 created paragraph can be initialized to he default layotu for the
12930 * tabular-old.C (ReadOld): add buf->params to call of Init
12932 * screen.C: rename text->first to text->first_y
12934 * paragraph.C (breakParagraph): always set layout in the broken
12937 * lyxtextclass.C (Read): remove lowercase
12940 (delete_layout): ditto
12942 * lyxtext.h: rename first -> first_y
12944 * lyxlayout.C (Read): remove lowercase
12947 (obsoleted_by): ditto
12949 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12951 * buffer.C (insertErtContents): add params are to InsetERT
12952 (parseSingleLyXformat2Token): add code to check if a paragraphs
12953 layout really exist.
12954 (parseSingleLyXformat2Token): add params to several inset
12956 (asciiParagraph): remove lowercase, do the layout comparisons with
12959 * BufferView_pimpl.C (cursorNext): first -> first_y
12960 (resizeCurrentBuffer): first -> first_y
12961 (updateScrollbar): first -> first_y
12962 (scrollCB): first -> first_y
12963 (workAreaMotionNotify): first -> first_y
12964 (workAreaButtonPress): first -> first_y
12965 (checkInsetHit): first -> first_y
12966 (cursorPrevious): first -> first_y
12967 (cursorNext): first -> first_y
12968 (Dispatch): add buffer_->params to severl inset contructors
12970 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12972 * lyxlayout.C (Read): remove some debug info that I forgot.
12974 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12975 clean up the code slightly.
12976 (makeLinuxDocFile): ditto
12977 (makeDocBookFile): ditto
12979 * text2.C: layout as string
12981 * text.C: layout as string
12983 * paragraph_pimpl.C: layout as string
12985 * paragraph.[Ch]: layout as string
12987 * lyxtextclasslist.[Ch]: layout as string
12989 * lyxtextclass.[Ch]: layout as string
12991 * lyxtext.h: layout as string
12993 * lyxlayout.[Ch]: layout as string
12995 * lyx_cb.C: layout as string
12997 * bufferview_funcs.C: layout as string
12999 * bufferparams.C: layout as string
13001 * buffer.C: layout as string
13003 * LyXView.[Ch]: layout as string
13005 * LaTeXFeatures.[Ch]: layout as string
13007 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13009 * BufferView_pimpl.C: change current_layout to string, remove
13014 (workAreaButtonRelease): layout as string
13016 * BufferView2.C (unlockInset): adjust
13018 * vspace.C (asLatexCommand): use an explict temp variable.
13020 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13022 * Makefile.am: use FRONTEND_*
13024 2002-03-01 Juergen Vigna <jug@sad.it>
13026 * tabular.C (SetWidthOfMulticolCell): changed to something better
13027 I hope but still work in progress.
13028 (recalculateMulticolumnsOfColumn): renamed function from
13029 recalculateMulticolCells as it is more appropriate now.
13030 (SetWidthOfCell): calculate multicols better.
13032 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13034 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13036 * lyxfunc.C (processKeySym): print sequence also if it is
13037 `deleted' (complete)
13039 * kbsequence.C (print): print sequence even if it is deleted
13040 (complete would be a better word, actually).
13042 * lyxfunc.C (dispatch): print complete options after a prefix key
13044 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13046 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13048 * text2.C (setCharFont): eliminate setCharFont code duplication.
13050 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13052 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13053 LFUN_TABULAR_FEATURE (bug #177)
13055 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13057 * Makefile.am: remove figure.h
13059 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13061 * Bufferview_pimpl.C:
13073 * text2.C: remove #include "lyx_gui_misc.h".
13075 * LaTeX.C: added #include <cstdio>
13077 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13079 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13080 that the paragraph following this one can have.
13082 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13084 * vspace.C (asLatexCommand): fix bogus gcc warning
13086 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13088 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13090 * text2.C (setLayout): get rid of redundant code
13092 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13094 * text2.C (incDepth): make sure depth cannot be increased beyond
13097 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13099 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13100 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13102 * PainterBase.h (image):
13103 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13104 a LyXImage const *.
13106 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13110 * BufferView_pimpl.C:
13111 * BufferView_pimpl.h:
13131 * sp_spell.C: remove fig inset, and the crap house of
13132 cards that follows it
13134 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13139 * os2_errortable.h:
13140 * nt_defines.h: move .h into support/
13142 * vms_defines.h: remove
13144 * WorkArea.C: add space in debug output
13148 * buffer.C: add WITH_WARNINGS
13152 * bufferlist.C: s/retrive/retrieve/, add docs
13161 * chset.C: add docs
13163 * lyxgui.C: add ID to X error handler
13165 * lyxtestclass.c: fix typo
13167 2002-02-26 Juergen Vigna <jug@sad.it>
13169 * tabular_funcs.C (write_attribute): changed so that some default
13170 attributes are not written at all.
13171 (getTokenValue): set default values before trying to read the
13172 value so we have the return value always set as default if we don't
13173 find the token we search for.
13175 * tabular.C (Write): write bools as bools not as strings!
13177 2002-02-22 Juergen Vigna <jug@sad.it>
13179 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13180 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13182 * text.C (leftMargin): don't add an indent for paragraphs inside
13183 tabular cells (fix #208).
13185 2002-02-21 José Matos <jamatos@fep.up.pt>
13187 * tabular.C (docBook): fixed support for long tables.
13189 2002-02-20 Juergen Vigna <jug@sad.it>
13191 * text2.C (getFont): get the drawing font of the Inset if this
13192 paragraph is inside an inset (only important for InsetERT for now).
13194 * buffer.C (insertErtContents): use new lanugage params in ERT
13197 * CutAndPaste.C: commenting out seemingly uneeded code.
13199 2002-02-19 Allan Rae <rae@lyx.org>
13201 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13202 Iterators might be simple to use but they also get invalidated.
13203 (removeAutoInsets): renamed saved cursor tracking variables and added
13204 some comments to clarify what everything does.
13206 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13213 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13214 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13217 * vc-backend.h: remove #include "support/syscall.h"
13221 * converter.C: rearrange #includes in Lars' approved fashion.
13223 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13224 forward declare class Timeout in the header file.
13226 * XFormsView.C: changes due to the above.
13228 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13229 similar to LyXView.
13231 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13232 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13234 2002-02-18 José Matos <jamatos@fep.up.pt>
13236 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13239 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13241 * a lot of small ws changes
13242 * add a lot of using std::XXX
13243 * use std construcs some places where approp.
13244 * use some exisint stuff from lyxfunctional where approp.
13245 * Make file changes to use partial linking (lets test this now...)
13247 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13251 remove #include "support/syscontr.h" as it's redundant. Always has been.
13259 change Systemcalls::System to Systemcalls::Wait and
13260 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13261 No change of functionality, just reflects the stripped down Systemcalls
13264 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13266 * debug.[Ch]: add a GRAPHICS type to the enum.
13268 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13270 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13272 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13275 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13277 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13278 match the changes below.
13280 * text2.C (toggleInset): if there is not editable inset at cursor
13281 position, try to see if cursor is _inside_ a collapsable inset
13284 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13287 document menu has a nice checkbox
13289 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13291 * lyxlength.C (asLatexString): change PW to output as percent of
13294 * lengthcommon.C: change '%' to 't%'
13296 * lyxfunc.C (dispatch): a few comments from Martin
13298 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13302 * BufferView_pimpl.h:
13303 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13306 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13308 * vspace.C (inPixels): fix compiler warning
13310 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13312 * lyxfunc.C (getStatus): fix status message for disabled commands.
13314 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13316 * BufferView_pimpl.C: fix crash on close buffer
13317 during selection (#227)
13319 2002-01-27 Herbert Voss <voss@lyx.org>
13321 * buffer.C: link old Figure to new graphic inset
13323 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13325 * FontLoader.C (getFontinfo): Change the latex font names in order
13326 to match the names of type1inst.
13328 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13330 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13332 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13333 (extchanged): ditto
13335 (remove_files_with_extension): ditto
13336 (remove_file): ditto
13339 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13340 document is smaller than the work area height. Do not initialize
13341 static variables to 0.
13343 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13345 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13347 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13348 LFUN_LAYOUT_PARAGRAPHS.
13350 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13351 tabular. It is possible to provide a possible cell, which will
13352 typically be the actcell from the corresponding insettabular
13354 * lyxfunc.C (getStatus): small cleanup; disable
13355 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13358 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13360 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13362 * paragraph.C (startTeXParParams):
13363 (endTeXParParams): new methods. The LaTeX code to
13364 start/end paragraph formatting
13365 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13366 empty (fixes bug #200)
13368 * vspace.C (inPixels): adapt to the change below
13369 (inPixels): [later] more cleanups (remove unused variables)
13371 * lyxlength.C (inPixels): change to use a width and a height as
13374 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13376 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13377 Replaced with \paperwidth
13379 * DepTable.C (insert): add std:: qualifier
13381 2002-01-18 Allan Rae <rae@lyx.org>
13383 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13386 * text.C (drawInset): Turned out I didn't know enough about how
13387 rebreaking worked. This fixes most of the redraw problems. I see
13388 an occasional cursor trail when a line is broken now and the cursor
13389 placement can seem out by a few pixels also after a rebreak.
13391 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13393 * buffer.C (parseSingleLyXformat2Token): update because minipage
13394 width is now a LyXLength
13396 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13398 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13401 2002-01-17 Juergen Vigna <jug@sad.it>
13403 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13405 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13406 is set correctly and the inset is updated correctly.
13408 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13410 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13411 the beginning of the loop.
13413 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13415 * lyxrc.C: improve help for use_scalable_fonts
13417 2002-01-17 Allan Rae <rae@lyx.org>
13419 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13421 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13423 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13424 make sure to set their inset_owner to the right value (bug #171)
13426 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13429 * DepTable.C: Implement mtime checking to reduce time spent doing
13432 2002-01-16 Juergen Vigna <jug@sad.it>
13434 * tabular.C (GetAdditionalHeight): one of error fixed.
13436 * lyxrc.C (output): small fix in writing use_pspell.
13438 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13440 * sp_base.h: #include LString.h
13442 2002-01-16 Allan Rae <rae@lyx.org>
13444 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13445 Can someone check this please?
13447 * text.C (drawInset): It was possible that p.row would be removed by
13448 breakAgainOneRow upsetting a few other settings. There may be another
13449 small tweak possible by setting need_break_row = 0 when p.row has been
13450 removed but I don't know enough about the logic here.
13452 2002-01-15 Allan Rae <rae@lyx.org>
13454 * text.C (insertChar): removed conditional truism.
13456 * BufferView2.C (removeAutoInsets): More tweaks.
13457 cur_par_prev could be a stray pointer. Check for trailing empty line
13458 in case last line was cur_par and only had an error inset on it.
13460 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13462 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13465 * vc-backend.C (most methods):
13466 * exporter.C (Export):
13467 * converter.C (convert):
13469 * LyXSendto.C (SendtoApplyCB):
13470 * lyxfunc.C (dispatch):
13474 * lyx_cb.C (AutoSave):
13476 * BufferView_pimpl.C (MenuInsertLyXFile):
13477 * buffer.C (runChktex): use Buffer::filePath().
13479 * buffer.h: rename filename to filename_; rename filepath to
13480 filepath_ and make it private
13481 (filePath): new method
13483 * buffer.C (writeFile): use fileName()
13486 * lyx_main.C (init): fix starting of LyX when the binary is a
13487 link from so,ewhere else.
13489 * minibuffer.C: include <cctype> for isprint
13491 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13493 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13494 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13495 name clash with InsetCollapsable's width function.
13497 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13499 * lastfiles.C: include <iterator>
13501 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13503 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13506 * buffer.C (makeLaTeXFile): ditto.
13507 Also make loop operation more transparent.
13509 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13511 * ToolbarDefaults.C: remove trailing comma closing namespace.
13513 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13515 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13518 * trans.C (Load): comment out unused variable, allowed.
13520 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13522 * minibuffer.[Ch] (append_char): new method to recieve input from the
13523 drop-down completion browser. If a key was pressed, then recieve this
13524 char and append it to the existing string.
13525 (peek_event): modify the positioning data passed to the completion
13526 browser so that it can be placed above the minibuffer rather than below.
13527 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * LyXAction.C (init): alloe error-next for readonly documents.
13531 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13534 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13536 * bufferlist.C (readFile): create the buffer _after_ checking that
13539 * lyxfunc.C (verboseDispatch): fix handling of arguments
13541 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13543 * lyxrc.C: use string::erase() instead of initializing to "".
13546 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13548 * BufferView_pimpl.h:
13549 * BufferView_pimpl.C:
13552 * text2.C: tell X when we have made a selection for copying
13554 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13556 * BufferView_pimpl.C (MenuInsertLyXFile):
13557 * lyxfunc.C (menuNew):
13559 (doImport): add shortcuts to directory buttons
13561 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13564 * lyxfunc.C (setStatusMessage):
13565 (getStatusMessage): new methods
13566 (getStatus):use setStatusMessage instead of setErrorMessage
13567 (dispatch): when function is disabled, set error message here
13568 [instead of in getStatus previously]
13570 * BufferView_pimpl.C (workAreaButtonRelease): update
13571 toolbar/menubar here too.
13573 2002-01-13 Allan Rae <rae@lyx.org>
13575 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13576 Now seems indestructible. Remaining task is to audit all other
13577 code affected by deleteEmptyParagraphMechanism. One small quirk
13578 left is that an empty document with an error in the preamble can
13579 be made to report an error but no error box appears. I don't know
13581 (removeAutoInsets): Improved comments.
13583 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13586 * Thesaurus.C: update for Aiksaurus 0.14
13588 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * text2.C (firstParagraph): removed member function, all uses
13591 replaces with ownerParagraph
13592 (redoParagraphs): here
13593 (updateInset): here
13594 (toggleAppendix): here
13595 * BufferView2.C (insertErrors): here
13596 (setCursorFromRow): here
13598 2002-01-13 Allan Rae <rae@lyx.org>
13600 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13601 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13602 There is still a way to segfault this although you may have to do this
13603 multiple times: Have an InsetERT with an unknown command in it.
13604 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13605 <down-arrow>, <Enter> again, View->DVI, BANG!
13607 * text2.C (setCursor):
13608 (deleteEmptyParagraphMechanism):
13609 * lyxtext.h (setCursor):
13610 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13611 Making use of the return value may help fix other bugs.
13613 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13615 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13617 * LyXView.C (updateMenubar): call MenuBar::update here
13618 (updateToolbar): but not here
13619 (showState): do not update toolbar/menubar
13621 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13622 should need to care about that.
13624 * lyxfunc.C (verboseDispatch): simplify a bit
13625 (getStatus): have a version which takes a pseudoaction, and
13626 another which requires a (kb_action,string).
13628 * LyXAction.C (retrieveActionArg): make it work also when action
13629 is not a pseudo-action.
13630 (getActionName): simplify a bit
13633 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13635 * lyxfunc.C (verboseDispatch): new families of methods with
13636 several ways to specify a command and a bool to indicate whether
13637 the command name and shortcut should be displayed in minibuffer
13638 (eventually, we could extend that to a finer bitmask like
13639 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13640 (dispatch): the pristine dispatch command which just, well,
13641 dispatchs! Note it still sets its result to minibuffer; I'm not
13644 * lyxfunc.h: remove setHintMessage
13646 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13648 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13650 * BufferView_pimpl.C (specialChar): delete new inset if we have
13651 not been able to insert it.
13653 * kbmap.C: revert to using int instead of kb_action, since all we
13654 are dealing with is pseudo-actions.
13656 * LyXAction.C (searchActionArg): change to return int instead of
13657 kb_action, since the result is a pseudoaction.
13659 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13661 * buffer.C (insertErtContents): Fix (partially) the font bug.
13663 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13665 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13666 as the other one is broken on my machine!
13668 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13671 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13673 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13675 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13676 reflect their actual use. Provide compatibility code for older lyxrc
13679 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13681 change names of popup font variables in line with the changes to lyxrc.C
13683 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13685 * buffer.C (asciiParagraph): avoid outputing a word twice after
13688 * lyxrc.C (getDescription): document that document_path and
13689 template_path can be empty.
13691 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13693 * LaTeXFeatures.C (getMacros):
13694 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13696 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13698 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13700 (getPackages): rename feature "floats" to "float". Use an array to
13701 iterate over 'simple' features (i.e. just a \usepackage). Add
13702 handling of "amsmath" (renamed from "amsstyle").
13704 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13706 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13709 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13711 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13712 FuncStaus::FuncStatus & FuncStaus::some_method().
13714 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13716 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13717 of the func_satus stuff. Edited and massaged in various ways by
13720 * lyxfunc.C (getStatus): use FuncStatus
13722 2002-01-08 Juergen Vigna <jug@sad.it>
13724 * text.C (nextBreakPoint): use function Inset::isChar().
13726 * paragraph.C (TeXOnePar): use function
13727 Inset::forceDefaultParagraphs.
13729 * buffer.C (latexParagraphs): use function
13730 Inset::forceDefaultParagraphs.
13732 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13734 * lyx_gui.C (init): set the style of the menu popups to
13735 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13737 2002-01-07 Juergen Vigna <jug@sad.it>
13739 * text.C (setHeightOfRow): small fix
13740 (prepareToPrint): don't look at alignment if we don't have the place
13743 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13745 * box.C: New file. Move the Box methods and functions out of box.h,
13746 following Lars' suggestion.
13748 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13750 * box.h: #include "support/LOstream.h", needed for inlined function.
13753 * lyxtextclasslist.C: added some using std declarations.
13755 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13757 * box.h: make signed dimensions to allow insets wider than
13758 the screen (bug #162)
13760 * BufferView_pimpl.C: add some insetHit debug
13762 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13764 * vc-backend.C: add FIXME
13766 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13768 * lyxfunc.C (getStatus): enable code for showing math font status
13771 2002-01-07 Juergen Vigna <jug@sad.it>
13773 * text.C (nextBreakPoint): removed debug output not needed anymore.
13775 2002-01-06 Juergen Vigna <jug@sad.it>
13777 * text.C (nextBreakPoint): fixed up this function we had this bug
13778 since ever but now hopefully we break row better.
13779 (insertChar): we have to check if an inset is the next char as it
13780 could now happen that a large inset is causing a break.
13782 2002-01-05 Juergen Vigna <jug@sad.it>
13784 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13785 if it doesn't like to be drawed.
13787 2002-01-04 Juergen Vigna <jug@sad.it>
13789 * BufferView2.C (lockInset): forgot to set a cursor.
13791 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13793 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13795 * FormMathsPanel.C:
13798 * form_maths_panel.C:
13799 * form_maths_panel.h:
13800 * form_maths_panel.fd: implemented sub- and super- buttons in math
13803 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13804 (or ^ space) to be used as in TeX (req'd by André).
13806 * lyxfunc.C: Allow ^ and _ again to be used both as
13807 super/subscript (mathed) and as themselves (in text).
13809 2002-01-03 Allan Rae <rae@lyx.org>
13811 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13812 "LyX" or the filename of the current buffer if it has one. This is a
13813 modified form of John Levon's patch.
13815 * XFormsView.C (setWindowTitle): also set icon title.
13817 * LyXView.h (setWindowTitle): signature changed.
13818 * XFormsView.h (setWindowTitle): ditto.
13820 2002-01-02 Juergen Vigna <jug@sad.it>
13822 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13824 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * screen.C (topCursorVisible): introduce a temp var for
13827 text->cursor.row(), handle the case where this row is null. (kindo
13830 * text2.C (setCursor): add a couple of asserts.
13832 * paragraph.h (inset_iterator): add -> operator
13834 * paragraph.[Ch] (autoDeleteInsets): remove member function
13836 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13837 cursor pos correctly and handle inset deletion by itself.
13838 (insertErrors): move iterator declaration out of for expression
13840 * lyxtextclass.C: add <algorithm>
13842 * Makefile.am: added the new files to sources, removed layout.C
13844 * layout.C: removed file
13846 * layout.h: remove LYX_DUMMY_LAYOUT
13848 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13852 * lyxtextclass.[Ch]:
13853 * lyxtextclasslist.[Ch]: new files
13855 * include order changes to a lot of files, also changes because of
13858 2001-12-27 Juergen Vigna <jug@sad.it>
13860 * buffer.C (asciiParagraph): more fixes.
13862 * tabular.C (ascii): make ascii export support export of only the
13863 data separated by a column-delimiter.
13864 (ascii): better support for ascii export.
13866 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13868 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13870 * tabular_funcs.C: use a "using std::getline" instead of the
13871 previous fix from Angus (necessary for cxx + lyxstring)
13873 2001-12-24 Juergen Vigna <jug@sad.it>
13875 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13877 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13878 problems. First check a minipage also if we have some ert-contents
13879 (not only on par->size(), second set the right depth of the paragraph
13880 on the relink to the root-paragraph-list!
13882 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13883 which then did not anymore update the main paragraphs on undo/redo!
13885 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13887 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13888 code. Support all font-changing funcs (even those which are not in
13889 menu currently). Support for reporting font settings in
13890 mathed (disabled until Andre provides a function on mathed's side).
13892 * func_status.h (toggle): small helper function to set toggle
13895 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13897 * tabular_funcs.C: getline -> std::getline
13899 2001-12-21 Juergen Vigna <jug@sad.it>
13901 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13902 accessed and could be 0 (I couldn't generate this but it seems
13905 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13908 * tabular_funcs.h: here and include iosfwd
13910 2001-12-20 Juergen Vigna <jug@sad.it>
13912 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13913 inside inset but undo_par was.
13915 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13917 * Thesaurus.C: always include <config.h> in sources.
13921 * box.h: do not include <config.h> in header files
13923 * text.C (paintLastRow): remove unused variable
13925 * text.C (transformChar):
13927 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13929 * Painter.C (text):
13930 * font.C (width): rewrite to use uppercase() instead of
13933 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13935 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13937 * lyxfind.C: clean up of find failure position change
13939 2001-12-20 Juergen Vigna <jug@sad.it>
13941 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13943 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13944 (TeXRow): added to LaTeX a single tabular row.
13945 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13946 (Latex): simplified and finally good LT-h/f support.
13947 (various_functions): just small adaptions for LT-h/f support.
13949 * tabular_funcs.[hC]: added and moved here all not classfunctions
13952 2001-12-19 Juergen Vigna <jug@sad.it>
13954 * tabular.[Ch]: better support for longtabular options (not finished
13957 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13959 * text.C (paintLastRow): use the label font instead of the font of
13960 the last character to compute the size of *_BOX. This makes more
13961 sense and avoids a crash with empty paragraphs.
13962 Use Painter::rectangle to draw EMPTY_BOX.
13964 2001-12-19 Juergen Vigna <jug@sad.it>
13966 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13967 the paragraphs if the replaced paragraph is not the first one!
13968 Tried to delete not used paragraphs but does not work yet so for
13969 now it's inside #ifdef's and by default off!
13971 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13973 * MenuBackend.C: include "lyx_main.h" instead of declaring
13974 lastfiles (actually was declared as LastFiles* instead of a
13977 2001-12-17 Juergen Vigna <jug@sad.it>
13979 * tabular.C (AppendColumn): applied John's fix
13981 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13985 * BufferView_pimpl.h:
13986 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13989 * box.h: new start of class for above
13991 * lyxfunc.C: ignore space-only minibuffer dispatches.
13992 Show the command name when it doesn't exist
13994 * minibuffer.C: don't add empty lines to the history
13996 * minibuffer.C: add a space on dropdown completion
13998 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14000 * text.C: fix line above/below drawing in insets
14002 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14004 * lyxlength.C (LyXLength): Initialize private variables.
14006 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14009 when inserting error insets.
14011 2001-12-13 Juergen Vigna <jug@sad.it>
14013 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14014 actually sometimes the before-paragraph.
14015 (setUndo): don't clear the redostack if we're not actually undoing!
14017 2001-12-06 Juergen Vigna <jug@sad.it>
14019 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14020 and fixed redoing of main paragraph, so we can use it now ;)
14022 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14024 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14026 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14029 2001-12-13 André Pönitz <poenitz@gmx.net>
14032 * undo_func.C: minor cleanup
14034 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14036 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14037 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14038 font in urw-fonts package which is marked as -urw-fontspecific and
14039 does not work (incidentally, changing the encoding in the
14040 fonts.dir of this package to -adobe-fontspecific fixes the
14043 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14044 is a crash when undoing first paragraph (Juergen, please take a
14045 look). THis does not mean the undo fix is wrong, just that it
14048 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14049 the (Paragraph*) version when needed instead of duplicating the
14052 * text.C (workWidth): use Inset::parOwner to find out where the
14053 inset has been inserted. This is a huge performance gain for large
14054 documents with lots of insets. If Inset::parOwner is not set, fall
14055 back on the brute force method
14057 * paragraph_pimpl.C (insertInset):
14058 * paragraph.C (Paragraph):
14059 (cutIntoMinibuffer): set parOwner of insets when
14060 inserting/removing them
14062 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14064 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14070 * mathed/formulabase.C:
14071 * mathed/math_cursor.[Ch]:
14072 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14075 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14077 * lyxlength.[Ch] (operator!=): new function
14079 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14081 * text.C (workWidth): use Inset::parOwner to find out where the
14082 inset has been inserted. This is a huge performance gain for large
14083 documents with lots of insets. If Inset::parOwner is not set, fall
14084 back on the brute force method
14086 * paragraph_pimpl.C (insertInset):
14087 * paragraph.C (Paragraph):
14088 (cutIntoMinibuffer): set parOwner of insets when
14089 inserting/removing them
14091 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14093 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14095 * tabular-old.C (getTokenValue):
14096 * tabular.C (getTokenValue):
14097 (write_attribute): new versions for LyXLength
14098 (everywhere): adjust the use of widths
14100 * tabular.h: change the type of widths from string to LyXLength
14102 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14104 * paragraph.C: fixed missing line number count when exporting
14105 Environments to LaTeX file
14107 * buffer.C: added informational message for checking line numbers.
14109 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14111 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14112 paragraph, do the 'double space' part, but not the 'empty
14115 * text.C (workWidth): small optimization
14116 (getLengthMarkerHeight): use minimal size for negative lengths.
14118 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14120 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14122 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14124 2001-12-11 André Pönitz <poenitz@gmx.net>
14127 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14129 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14131 * text2.C: keep selection on a setFont()
14133 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14135 * lyx_cb.C: another bv->text misuse, from insert label
14137 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14140 * kbsequence.C: re-instate nmodifier mask
14142 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14144 * lyx_main.h: make lyxGUI private.
14146 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14148 * lyxfind.C: place the cursor correctly on failed search
14150 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14152 * text.C (getLengthMarkerHeight): for small heights, the arrows
14153 are not always on top/bottom of the text
14154 (drawLengthMarker): smaller arrows; take the left margin in
14155 account; draw also vfills.
14157 (paintLastRow): remove special code for vfill and standard spaces,
14158 since everything is handled in drawLengthMarker now.
14160 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * buffer.C (insertErtContents): try to handle font and language
14163 interaction a bit better.g
14165 * ColorHandler.C (updateColor): change the hash to cover the whole
14166 LColor enum, ws cleanup
14167 (getGCLinepars): ditto
14168 (getGCLinepars): only lookup in the linecache once.
14170 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14172 * iterators.C (operator++): Make the iterator more robust
14174 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14176 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14178 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14181 * text.C: better added space drawing
14183 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14186 * BufferView2.C: fix layout combo update on inset unlock
14188 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14190 * Makefile.am: don't compile unused files
14192 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14196 * LyXAction.C: remove old LFUN_LAYOUTNO
14198 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14200 * paragraph_pimpl.h:
14201 * paragraph_pimpl.C: isTextAt() doesn't need font param
14203 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14206 * lyxlex.C: little cleanup
14208 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14210 * BufferView_pimpl.C: fix insertAscii for insets
14212 2001-12-05 Juergen Vigna <jug@sad.it>
14214 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14215 set the right font on the "multi" paragraph paste!
14217 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14223 * lyxlength.C: remove out-commented code.
14225 * BufferView_pimpl:
14239 * vc-backend.C: change "while(" to "while ("
14241 * lyxlength.[Ch]: add zero function to check if length is zero or
14243 * lyxgluelength.C: use it
14245 2001-12-05 Allan Rae <rae@lyx.org>
14247 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14248 Works for 2.95.3, from what I understand of Garst's reports this should
14249 work for other g++ versions. We're screwed if the abs(int) definition
14250 changed between bugfix releases of gcc.
14252 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14254 * text.C: fix chapter label offset !
14256 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14259 * text.C: fix hfill at end of line, clean up
14261 2001-12-04 Juergen Vigna <jug@sad.it>
14263 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14264 that we force an update of the inset and it's owners if neccessary.
14266 2001-12-03 Juergen Vigna <jug@sad.it>
14268 * text.C (rowLast): simplified code
14270 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14272 * lyxfunc.C: fix show options on timeout
14274 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14276 * screen.C (topCursorVisible): scroll half a page when the cursor
14277 reached top of bottom of screen
14279 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14281 * minibuffer.C: deactivate on loss of focus
14283 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14285 * vspace.[Ch] (operator!=): add operator.
14287 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14289 * BufferView_pimpl.C: refuse to open an inset when
14290 there's a selection.
14292 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14294 * BufferView_pimpl.C: allow to click on RHS of full row insets
14296 2001-11-30 Juergen Vigna <jug@sad.it>
14298 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14299 insets for undo reasons.
14301 2001-11-28 André Pönitz <poenitz@gmx.net>
14303 * vspace.[Ch]: cosmetical changes
14305 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14315 * kbsequence.C: part re-write of old kb code
14318 * WorkArea.C: remove Lgb_bug_find_hack
14320 2001-11-30 José Matos <jamatos@fep.up.pt>
14322 * buffer.C (makeDocBookFile): add a comment to point a hack.
14323 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14324 Fixed a double write of labels.
14326 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14329 * LaTeX.h Fixed bug in LaTeX class where it would not
14330 re-run latex if no depfiles were changed, but the .dvi was removed.
14332 2001-11-28 André Pönitz <poenitz@gmx.net>
14334 * all the files from the change on 2001/11/26:
14335 use lyx::layout_type instead of LyXTextClass::size_type
14336 use lyx::textclass_type instead of LyXTextClassList::size_type
14338 2001-11-29 Juergen Vigna <jug@sad.it>
14340 * text.C: added support for paragraph::isFreeSpacing()
14342 * buffer.C: same as above
14344 * paragraph.h: inserted isFreeSpacing() function to enable
14345 FreeSpacing inside InsetERT.
14347 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14348 of the paragraph's in the cut/copy buffer to 0!
14350 * text2.C (removeRow): remove the assert as it can!
14352 * lyxtext.h: added helper function firstRow returning firstrow and
14353 made firstrow private again.
14355 * BufferView2.C (lockInset): don't relock if we're already locked!
14357 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14358 the only paragraph.
14359 (removeRow): added Assert::(firstrow)
14361 * debug.C: forgot to add INSETTEXT here.
14363 2001-11-28 Juergen Vigna <jug@sad.it>
14365 * sp_spell.C (initialize): changed error text to more general
14366 spellchecker command use (not only ispell!)
14368 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14370 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14372 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14374 * vspace.C: initialise lyxgluelength on failure
14376 2001-11-28 Allan Rae <rae@lyx.org>
14378 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14379 declaration & definition that looks like a function declaration.
14381 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14383 * BufferView2.C (copy):
14384 (copyEnvironment): do not clear the selection when doing a copy.
14386 * text.C (paintFirstRow): compilation fix
14388 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14390 * tabular.C (Latex): correct line count when writing latex.
14392 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14394 * paragraph_pimpl.h:
14395 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14398 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14402 * LColor.C: change vfillline->added_space
14404 * text.C: add markers and text for added space
14406 * vspace.C: fix comment
14408 2001-11-28 André Pönitz <poenitz@gmx.net>
14410 * paragraph.C: whitespace changes
14411 * all the other files from the change on 2001/11/26:
14412 change *::pos_type into lyx::pos_type
14414 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14416 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14417 language of the document when inserting error insets.
14419 2001-11-26 André Pönitz <poenitz@gmx.net>
14421 * BufferView_pimpl.[Ch]:
14429 * paragraph_pimpl.[Ch]:
14432 * text2.C: reduce header dependencies, introduce type for positions
14434 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14436 * <various>: change to use Alert.h
14438 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14440 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14441 when encountering an unknown token.
14442 (readLyXformat2): Show an error message if there were unknown tokens.
14444 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14447 * BufferView_pimpl.C:
14451 * text2.C: use par->isInset()
14453 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14455 * paragraph_pimpl.h:
14456 * paragraph_pimpl.C: cleanup
14458 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * text2.C (removeRow):
14461 * text.C (setHeightOfRow): remove useless (and costly) call to
14464 2001-11-20 Allan Rae <rae@lyx.org>
14466 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14467 Now need Inset*::checkInsertChar() to return true for appropriate
14468 cases so that the characters in the minibuffer will actually be
14471 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14473 * text.C: change the order of the includes.
14474 (workWidth): initialize it at once.
14475 (workWidth): make maxw unsigned
14476 (setHeightOfRow): remove unused variable (inset)
14477 (selectSelectedWord): remove unused variable (inset)
14478 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14480 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14482 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14483 server is not running.
14485 (closeConnection): add debug info when server is disabled.
14487 * ColorHandler.C (getGCForeground): send debug message to GUI
14490 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14492 * kbmap.C (bind): modify because return conventions of
14493 kb_sequence::parse have changed.
14495 * kbsequence.C (parse): only ignore spaces and not any stupid
14496 control character. This avoids tests like s[i] <= ' ', which are
14497 guaranteed to fail with 8bit characters and signed chars.
14498 Change return code to string::npos when there have been no error
14499 (0 was a bad idea when error is at first character)
14501 2001-11-14 José Matos <jamatos@fep.up.pt>
14504 * buffer.C (simpleDocBookOnePar): removed unused argument.
14506 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14508 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14509 insets which are part of a word. Paragraph::isLetter takes care of
14510 that now. Use Paragraph::isInset to identify insets.
14511 (selectSelectedWord): do not test for hyphenation break.
14513 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14514 that protected spaces are considered as spaces.
14516 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14519 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14522 * lyxserver.C: fix it. and small cleanup.
14524 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14526 * BufferView_pimpl.C: use inline helpers
14529 * LaTeXFeatures.C: fix typos
14532 * Spacing.C: move spacing_string into class
14534 * ToolbarDefaults.C: move stuff into namespace anon
14536 * layout.h: update enum
14538 * lyxfunc.C: use better debug
14540 * minibuffer.h: fix typo
14544 * WorkArea.C: add and use Debug::WORKAREA
14548 * text2.C: code re-organisation, inline helpers
14550 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14552 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14553 std::vector.empty().
14555 2001-11-09 Allan Rae <rae@lyx.org>
14557 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14558 '\n's after tables. Tabular and ERT inset work now makes this no
14561 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14564 * minibuffer.C: fix crash, improve drop-down completion
14566 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14569 * lyxserver.C: invalidate fd's when doing endPipe()
14571 2001-11-08 José Matos <jamatos@fep.up.pt>
14573 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14574 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14577 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14579 2001-11-07 José Matos <jamatos@fep.up.pt>
14582 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14585 * buffer.C (sgmlOpenTag):
14586 * buffer.C (sgmlCloseTag): removed debug info.
14588 * buffer.h (sgmlOpenTag):
14589 * buffer.h (sgmlCloseTag): made public.
14591 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14593 * buffer.C (saveParamsAsDefaults):
14594 * lyx_cb.C (MenuLayoutSave): remove
14596 * LyXAction.C (init):
14598 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14600 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14602 * buffer.C (setPaperStuff): removed from here...
14604 * bufferparams.C (setPaperStuff): ... and moved there.
14606 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14610 * XFormsView.C: add support for drop-down completion
14612 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14614 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14617 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14619 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14622 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14624 * lyx_main.C: change ref to known bugs
14626 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14628 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14629 to work around older babel problems.
14631 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14633 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14635 2001-10-24 Juergen Vigna <jug@sad.it>
14637 * tabular-old.C (ReadOld): below variable changes reflected.
14639 * tabular.[Ch]: added ltType struct for longtable header/footer
14640 defines and changed all instances where they are used. Added
14641 future support for double top/bottom rows.
14643 2001-10-24 José Matos <jamatos@fep.up.pt>
14645 * buffer.h (docbookHandleCaption):
14646 * buffer.C (docbookHandleCaption): removed unused function.
14647 (makeDocBookFile): moved docbook supported version to v4.1.
14649 2001-10-24 José Matos <jamatos@fep.up.pt>
14652 * tabular.C (docbookRow): new function to export docbook code of a row.
14653 (DocBook): now honors the longtable flags.
14655 2001-10-23 José Matos <jamatos@fep.up.pt>
14658 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14659 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14661 * buffer.C (makeLinuxDocFile):
14662 (makeDocBookFile): reworked the preamble, more clean, and with
14663 support for lyx defined entities. Changed the document declaration
14664 to be more XML friendly.
14666 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14667 if we need to output XML that should be done with a filter.
14669 2001-10-22 Juergen Vigna <jug@sad.it>
14671 * sp_pspell.h (class PSpell): add alive function needed in the
14672 controller to see if the spellchecker could be started.
14674 2001-10-22 Juergen Vigna <jug@sad.it>
14676 * buffer.C (insertStringAsLines): modify the font for inserting
14677 chars in certain conditions by calling checkInsertChar(font).
14679 2001-10-19 Juergen Vigna <jug@sad.it>
14681 * text.C (workWidth): use getRow instead of wrong algorithm.
14682 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14684 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14689 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14691 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14693 * text.C (workWidth): do not search for the exact row when
14694 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14695 optimization for big documents.
14697 2001-10-18 Juergen Vigna <jug@sad.it>
14699 * text.C (workWidth): new function with added Inset * parameter.
14701 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14705 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14706 change return type of getColumnNearX.
14709 * text.C (changeRegionCase): use uppercase/lowercase instead of
14712 (rightMargin): simplify code by factoring out the uses of
14717 (appendParagraph): use Paragraph::size_type
14719 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14721 * vspace.C (asLatexString): add a missing break
14723 2001-10-15 Herbert Voss <voss@perce.de>
14725 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14727 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14732 2001-10-10 André Pönitz <poenitz@gmx.net>
14734 * lyxfunc.C: removed greek_kb_flag.
14736 2001-10-10 Herbert Voss <voss@perce.de>
14738 * lyx_main.C: delete global string help_lyxdir.
14740 2001-10-09 Herbert Voss <voss@perce.de>
14742 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14744 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14746 * lyx_main.C: added global string help_lyxdir.
14748 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14750 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14752 * lyxrc.C (set_font_norm_type): support iso8859-4
14754 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14756 * LaTeX.C (deplog): add another regex for MikTeX
14758 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14760 * lyxrc.C (set_font_norm_type): support iso8859-3
14762 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14766 * LaTeXFeatures.C: remove special case of french and index
14768 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14769 before \begin{document}). This solves several incompatibilities.
14771 2001-10-03 Garst Reese <reese@isn.net>
14773 * lyx_cb.C: change CheckTex error msg.
14775 2001-10-03 José Matos <jamatos@fep.up.pt>
14777 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14779 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * .cvsignore: update
14783 * lyx_main.C (commandLineVersionInfo): use new style version info.
14785 * buffer.C (writeFile):
14787 (makeLinuxDocFile):
14788 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14790 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14792 * version.h: update to use stuff in version.C
14794 * version.C.in: new file. Contains version information determined
14795 at compile time. This is a merging of version.h and
14798 2001-10-03 Juergen Vigna <jug@sad.it>
14800 * BufferView_pimpl.C (update): don't change "dirty" status in
14803 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14805 * WorkArea.C (c-tor): re-position version string slightly.
14807 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14809 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14810 revert to previous code.
14812 WorkArea.[Ch]: (show, destroySplash): methods removed.
14814 WorkArea.C: rework code so that it's an amalgam of the codes before and
14815 after the splash screen was moved to WorkArea.
14817 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14820 * vspace.C (inPixels):
14823 * buffer.C (insertStringAsLines):
14824 (asciiParagraph): fix types to be large enough
14826 * lyxlex_pimpl.h: change member status from short to int
14828 * layout.h: fix type of endlabeltype
14831 * kbsequence.C (parse): change return type to string::size_type
14833 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14836 * Bullet.C (bulletSize):
14837 (bulletEntry): do not use short ints as parameters
14839 * BufferView2.C (insertLyXFile): change a char to an int.
14841 * WorkArea.C (WorkArea): remove unneeded floats in computation
14843 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14845 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14847 * paragraph.C (asString): Do not ignore newline/hfill chars when
14848 copying to the clipboard.
14850 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14852 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14853 after a multi-line inset.
14855 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14857 * paragraph.C (validate): Set NeedLyXFootnoteCode
14859 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14861 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14862 and decrease-error to decrease.
14864 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14867 it more readable (should be equivalent)
14869 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14871 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14873 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14875 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14876 of a cursor (row, etc.) after a character has been deleted
14877 (deleteEmptyParagraphMechanism): call the method above on _all_
14878 cursors held by the LyXText when a double space has been
14881 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14883 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14885 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14887 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14888 background. Use greyOut() and the new show() methods to toggle between
14889 the foreground and background. Add code to remove the splash after
14890 its initial showing.
14892 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14893 (create_forms): no longer call Dialogs::showSplash.
14895 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * .cvsignore: add version_info.h
14899 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14901 * version_info.h.in: new file
14903 * Makefile.am: add version_info.h.in
14905 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14906 version_info.h instead of VERSION_INFO
14908 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14910 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14911 The ERT inset now returns string().
14913 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14915 * lyxtext.h, text.C (selectNextWord): renamed as
14916 selectNextWordToSpellcheck.
14918 * text.C (selectNextWordToSpellcheck): Modified to not select
14919 words inside an ERT inset.
14921 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * lyx_cb.C (MenuLayoutSave): change a bit the question
14925 * sp_base.h: include <sys/types.h>
14927 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14929 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14931 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14933 * several files: fix typos in user-visible strings
14935 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14937 * text2.C (pasteSelection): do not set the selection, since it
14938 will be cleared later. Actually, the intent was to fix the way the
14939 selection was set, but I figured rmoving the code was just as good.
14941 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14943 * FontLoader.C (available): Check if font is available without
14946 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14948 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14950 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14952 * lyxrc.[Ch]: added display_graphics variable and associated code.
14954 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14956 * bufferparams.C (hasClassDefaults): new method. Returns true if
14957 the buffer parameters correspond to known class defaults
14959 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14961 * XFormsView.C (show): set minimum size to the main window.
14963 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14965 * text2.C (copySelection):
14967 * lyxfind.C (LyXReplace):
14968 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14969 LyXText::selectionAsString.
14971 * paragraph.C (asString): add "label" argument to the second form
14973 * text2.C (selectionAsString): add "label" argument and pass it to
14974 Paragraph::asString.
14976 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * lyx_main.C (commandLineHelp): remove version information
14980 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14982 * lyx_main.C: add -version commandline option
14984 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14986 * paragraph.h: make the optional constructor arg required instead.
14987 some modifications to other files because of this.
14989 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14991 * lyxserver.C (C_LyXComm_callback): make it static
14993 * lyx_main.C (error_handler): make it static
14995 * lyx_gui.C (LyX_XErrHandler): make it static
14997 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14999 * WorkArea.C: make the extern "C" methods static.
15001 * Makefile.am (lyx_LDADD): simplify
15003 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15005 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15006 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15008 * LyXAction.C (init):
15009 * lyxfunc.C (dispatch): associated code removal.
15011 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15013 * lyxfont.h (isSymbolFont): shut off warning
15015 * text.C (setHeightOfRow):
15016 (getVisibleRow): fix crash with empty paragraphs which have a
15019 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15021 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15024 2001-09-04 José Matos <jamatos@fep.up.pt>
15027 * tabular.C (docbook): rename docBook method to docbook.
15029 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15031 * Makefile.am: add dependencies to main.o.
15033 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15035 * FontLoader.C (available): Return false if !lyxrc.use_gui
15037 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15039 * FontInfo.C (query):
15040 * converter.C (view):
15041 * importer.C (Import):
15042 * exporter.C (Export): Can not -> cannot.
15044 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15046 * BufferView_pimpl.C: allow to create index inset even if
15049 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15051 * buffer.C (getLists): replace boost::tie code with an explicit pair
15052 as boost::tie can break some compilers.
15054 * iterators.h: Added a std:: declaration to the return type of
15057 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15059 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15062 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15064 * iterators.[Ch]: New files. Provide paragraph iterators.
15066 * buffer.C (changeLanguage): Use paragraph iterators.
15067 (isMultiLingual): ditto
15069 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15071 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15073 * FontLoader.C: Support for cmr font.
15075 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15077 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15078 (available): New method.
15080 * FontInfo.C (getFontname): Use scalable fonts even when
15081 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15084 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15086 * converter.C (Formats::view): reverted! Incorrect fix.
15088 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15090 * converter.C (Formats::view): only output the -paper option
15091 if the dvi viewer is xdvi, thereby fixing bug #233429.
15093 2001-08-23 Herbert Voss <voss@perce>
15095 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15097 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15099 * Spacing.h (Spacing): Set space to Default on in the default
15102 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15104 * vc-backend.h (RCS::versionString): add RCS to version
15105 (CVS::versionString): add CVS to version
15107 * vc-backend.C (scanMaster): do not add CVS to version.
15108 (scanMaster): do not add RCS to version
15110 * lyxvc.C (versionString): new method
15112 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15114 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15116 * Spacing.C (set): initialize fval
15118 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15120 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15123 2001-08-16 Juergen Vigna <jug@sad.it>
15125 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15127 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15129 * BufferView_pimpl.C:
15132 * text2.C: setParagraph takes linespacing now
15134 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15136 * LyxAction.C: add internal LFUN_CITATION_INSERT
15138 * LyXView.C: actually apply fix
15140 * bufferlist.C: fix open non-existent file
15142 * lyxfind.C: fix indentation
15144 * lyxfunc.C: remove unneeded assert, fix typo
15146 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15148 * MenuBackend.C: use "Floatname List"
15150 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15152 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15153 when converting LaTeX layout to insetERT.
15154 Generate a non-collapsed float when reading old float
15156 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15158 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15161 2001-08-13 Juergen Vigna <jug@sad.it>
15163 * text.C (fill): return 0 instead of 20 as this seems to be the more
15166 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15168 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15171 2001-08-13 Juergen Vigna <jug@sad.it>
15173 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15175 (SearchBackward): comment out the unlocking of the inset_owner this
15176 should not be needed!
15178 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15180 * Many files: Remove inherit_language, and add latex_language
15182 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15183 collapsible insets.
15185 2001-08-10 Juergen Vigna <jug@sad.it>
15187 * text.C (prepareToPrint): fixed hfill-width in draw!
15189 * BufferView2.C (selectLastWord): save the selection cursor as this
15190 now is cleared in the function LyXText::clearSelection!
15192 2001-08-08 Juergen Vigna <jug@sad.it>
15194 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15195 BACKSPACE type functions.
15197 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15198 is only cutted from the document but not put in the cut-buffer, where
15199 still the old stuff should be.
15201 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15203 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15205 * tabular.C (SetWidthOfCell): fixed special case where the width
15207 (LeftLine): handle '|' in align_special.
15209 (LeftAlreadyDrawed): ditto
15210 (SetWidthOfCell): ditto
15212 2001-08-07 Juergen Vigna <jug@sad.it>
15214 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15216 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15218 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15219 * lyxlex.[hC]: ditto
15221 2001-08-06 Juergen Vigna <jug@sad.it>
15223 * text.C (getVisibleRow): fix up row clearing a bit.
15225 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * minibuffer.C: make sure the X server sees the changes in the input.
15229 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15231 * paragraph.C (getFont): split into...
15232 (getLabelFont): this
15233 (getLayoutFont): and this
15234 * paragraph_pimpl.C (realizeFont): calling this
15236 * text2.C (getFont): split into...
15237 (getLayoutFont): this
15238 (getLabelFont): and this
15239 (realizeFont): all three calling this
15241 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15244 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15248 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15250 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15251 layouts from the Quote inset insertion.
15253 2001-08-03 Juergen Vigna <jug@sad.it>
15255 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15257 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15258 only if status not is already CHANGED_IN_DRAW (second level).
15260 * text.C (draw): don't set the need_break_row when inside an
15263 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15265 * buffer.C (parseSingleLyXformat2Token): handle more latex
15268 * bufferview_funcs.[hC]: change function names to
15269 begin with small char, adjust other files.
15271 2001-08-02 André Pönitz <poenitz@gmx.net>
15274 BufferView_pimpl.C: remove broken special code for math-greek
15276 2001-08-02 Juergen Vigna <jug@sad.it>
15278 * BufferView_pimpl.C (update): redone this function so that we
15279 update the text again if there was a CHANGE_IN_DRAW.
15281 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15282 (drawFromTo): added a new internal bool which is used by draw() and
15284 (general): some cursor drawing problems fixed.
15286 2001-08-01 Juergen Vigna <jug@sad.it>
15288 * lyxfind.C (LyXFind): fixed
15289 (SearchForward): ditto
15290 (SearchBackward): ditto
15292 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15293 spurius drawing of the cursor in the main area.
15295 * text2.C (status): small fix which could lead to a segfault!
15296 (clearSelection): remove unneeded BufferView param.
15298 2001-08-01 André Pönitz <poenitz@gmx.net>
15300 * lyxfunc.C: small change due to changed mathed interface
15302 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15304 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15306 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15308 * lyxfunc.c: fail gracefully if file doesn't exist
15313 * BufferView_pimpl.C: IsDirWriteable() proto changed
15315 * LyXView.C: fix updateWindowTitle() to store the last title
15317 2001-07-31 Juergen Vigna <jug@sad.it>
15319 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15320 the font (wrong since using of Paragraph::highestFontInRange).
15322 * paragraph.C (highestFontInRange): added a default_size parameter.
15324 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15325 (setHeightOfRow): reformat
15327 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15329 * converter.[hC] + affected files: move to (inital-char)lowercase
15332 * ParagraphParameters.C (ParagraphParameters): remove commented code
15334 * PainterBase.[Ch]: remove commented code
15336 * LaTeXFeatures.h: add "bool floats" for float.sty
15338 * LaTeXFeatures.C (LaTeXFeatures): init floats
15339 (require): handle float
15340 (getPackages): do it with floats
15342 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15344 * BufferView_pimpl.C (Dispatch): improve handling of
15345 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15347 * commandtags.h: #include lyxfont.h here temporarily to avoid
15350 * bufferlist.h: include LString.h here.
15352 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15354 * text2.C (getStringToIndex): new method.
15356 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15358 * *: Reduced header file dependencies all over.
15360 2001-07-30 Baruch Even <baruch@lyx.org>
15362 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15364 2001-07-29 Baruch Even <baruch@lyx.org>
15366 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15368 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15370 * ParameterStruct.h (endif): add a default constructor to make
15371 sure that all variables is initialized.
15373 * ParagraphParameters.C (ParagraphParameters): adjust
15375 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15377 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15378 index; also, check that there is something to index, and that it
15379 does not span over several paragraphs.
15380 (doubleClick): use WHOLE_WORD_STRICT for double click.
15382 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15384 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15387 2001-07-26 Baruch Even <baruch@lyx.org>
15389 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15390 an InsetFig figure, backwards compatible reading of old figure code.
15392 2001-07-27 Juergen Vigna <jug@sad.it>
15394 * text2.C: font.realize function adaption.
15396 * text.C (draw): add a warnings lyxerr text if needed.
15398 * layout.C: font.realize function adaption.
15400 * language.C: add inherit_language and implement it's handlings
15402 * bufferview_funcs.C (StyleReset): remove language parameter from
15403 font creation (should be language_inherit now).
15405 * bufferparams.C (writeFile): handle ignore_language.
15407 * paragraph.C (getFontSettings): the language has to be resolved
15408 otherwise we have problems in LyXFont!
15410 * lyxfont.C (lyxWriteChanges): added document_language parameter
15411 (update): removed unneeded language parameter
15413 * paragraph.C (validate): fixed wrong output of color-package when
15414 using interface colors for certain fonts in certain environments,
15415 which should not seen as that on the final output.
15417 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15419 * BufferView_pimpl.C:
15424 * LyXAction.C: add thesaurus support
15427 * lyxfind.C: add "once" parameter, for thesaurus, to not
15428 move to the next match
15430 2001-07-26 Juergen Vigna <jug@sad.it>
15432 * lyxfont.C (realize): honor ignore_language too!
15435 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15437 * text.C (draw): one place more for ignore_language to not draw
15440 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15442 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15444 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15446 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15447 the minipage conversion problem.
15449 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15451 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15454 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15456 * BufferView.h: don't forward declare WorkArea
15458 * BufferView.C: don't include WorkArea.h
15460 2001-07-25 André Pönitz <poenitz@gmx.net>
15464 * lyxfunc.C: new LFUN 'math-space'
15466 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15468 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15470 * text2.C (toggleInset): call open/close
15472 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15474 * lyxfunc.C (dispatch): add debug for the disabled case
15476 * font.C (buttonText): make similar to rectText
15478 * buffer.C (readInset): comment out parsing of insetlist and
15481 * PainterBase.C (rectText): small correction
15483 * BufferView_pimpl.C: comment out insettheorem and insetlist
15484 * LyXAction.C: ditto
15485 * commandtags.h: ditto
15487 2001-07-24 Juergen Vigna <jug@sad.it>
15489 * text.C (draw): honor the ignore_language.
15491 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15493 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15498 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15500 * lyxtext.h: remove unused (and unimplemented) methods
15502 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15504 * text.C (getVisibleRow): honor background color
15507 * Painter.h: remove default color argument for fillRectangle
15509 * text.C (backgroundColor): new method
15511 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15513 * text.C (getVisibleRow): adjust
15515 * font.[Ch] (rectText): new method, metrics
15516 (buttonText): new method, metrics
15518 * PainterBase.[hC]: make rectText and buttonText always draw and take
15521 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15523 * ToolbarDefaults.C (read):
15524 * MenuBackend.C (read): allow escaping in all strings
15526 * BufferView_pimpl.C (insertAndEditInset): new method.
15527 (Dispatch): use insertAndEditInset whenever appropriate.
15529 * BufferView_pimpl.C (insertNote): removed
15531 * BufferView_pimpl.C (smartQuote): new method, moved from
15532 BufferView; if an insetquote cannot be inserted, insert a '"'
15535 * BufferView2.C: remove insertCorrectQuote();
15537 * lyxfunc.C (getStatus): Add support for all remaingin
15538 inset-insert lfuns.
15540 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15542 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15543 command (necessary to pass " as parameter of self-insert.
15545 * text.C (selectWordWhenUnderCursor):
15546 (selectWord): add word_location parameter
15547 (selectWordWhenUnderCursor): same + remove special code for word
15549 (selectNextWord): use kind() to guess type of insetspecialchar,
15552 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15553 (insertErtContents): create ert insets as collapsed.
15554 (readInset): better compatibility code for Info inset.
15556 2001-07-20 Juergen Vigna <jug@sad.it>
15558 * lyxfunc.C (dispatch): use always LyXFind now!
15560 * text2.C (init): add a reinit flag so that the LyXText can be
15561 reinited instead of deleted and reallocated (used in InsetText).
15563 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15569 2001-07-18 Juergen Vigna <jug@sad.it>
15571 * text.C (selectNextWord): handle insets inside inset by calling
15572 always the bv->text functions so that we can go up the_locking_inset!
15574 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15575 in strange locations when inside an inset!
15577 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15578 handling to include insets.
15580 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15582 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15584 * LyXAction.C (init):
15586 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15587 LIGATURE_BREAK, since the name is so stupid.
15589 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15591 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15594 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15596 * sp_form.[Ch]: remove.
15598 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15600 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15603 * src/buffer.C (readInset): ditto.
15605 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15607 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15608 menuSeparator(), endOfSentenceDot(), ldots() and
15609 hyphenationPoint(), which are therefore removed.
15610 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15612 * LyXAction.C (init):
15613 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15615 * paragraph.C (getWord): removed.
15617 * BufferView_pimpl.C (Dispatch): use last word or selection for
15618 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15620 * lyx_main.C (queryUserLyXDir): do not ask before creating
15621 user_dir, except if it has been named explicitely.
15623 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15625 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15626 a document of zero size.
15628 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15630 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15631 approriately in the c-tor and in require().
15632 (getPackages): output the appropriate LaTeX for natbib support.
15634 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15635 variables "use_natbib" and "use_numerical_citations" when reading the
15637 (readInset): read the various natbib cite commands.
15638 (validate): white-space change.
15640 * bufferparams.[Ch]: new variables "bool use_natbib" and
15641 "bool use_numerical_citations".
15642 (writeFile): output them in the LyX file.
15644 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15646 * lyxfunc.C (getStatus): add support for all the inset insertion
15649 * text2.C (insertInset):
15650 * paragraph.C (insetAllowed):
15651 * BufferView_pimpl.C (insertInset): update to take in account the
15652 renaming of insertInsetAllowed
15654 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15656 * text2.C (getInset): new method. returns inset at cursor position.
15658 * BufferView_pimpl.C (Dispatch): changes because of this.
15660 * LyXAction.C (init): rename open-stuff to inset-toggle.
15662 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15664 * text2.C (toggleInset): renamed from openStuff; use
15667 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15669 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15671 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15673 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15675 * buffer.C (readLyXformat2): Add filename to the error dialog
15677 2001-07-18 Juergen Vigna <jug@sad.it>
15679 * tabular.C (GetCellNumber): put an assert here instead of the check!
15681 2001-07-17 Juergen Vigna <jug@sad.it>
15683 * BufferView_pimpl.C (toggleSelection): adapted too.
15685 * text.C (selectNextWord): adapted for use with insets.
15686 (selectSelectedWord): ditto
15688 2001-07-17 Juergen Vigna <jug@sad.it>
15690 * sp_spell.C (PSpell): fix initialitation order.
15692 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15694 * paragraph.C: spacing
15696 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15698 * sp_spell.C: repair language selection for pspell
15700 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15702 * lyxfunc.h: change more methods to begin with lower char.
15704 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15706 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15707 for unknown layouts.
15709 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15711 * buffer.C (readLyXformat2): Generate an error dialog if there are
15714 2001-07-16 Juergen Vigna <jug@sad.it>
15716 * sp_spell.C: always compile ISpell part.
15718 * lyxrc.C: added use_pspell entry and it's handling.
15720 2001-07-13 Juergen Vigna <jug@sad.it>
15722 * sp_spell.C: removed double includes.
15724 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15726 Consistent use of Lsstream.h:
15727 * Lsstream.h: added using std::stringstream for consistencies sake.
15729 * buffer.C: removed using std::stringstream
15731 * lyxfont.C (stateText):
15732 * paragraph.C (asString):
15733 * text.C (selectNextWord, selectSelectedWord):
15734 * text2.C (setCounter):
15735 * vspace.C (asString, asLatexString):
15736 std::ostringstream -> ostringstream.
15738 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15740 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15741 * commandtags.h: add LFUN_HELP_ABOUTLYX
15742 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15744 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15746 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15748 * lyx_gui_misc.C: remove spellchecker
15749 * lyxfunc.C: showSpellchecker
15751 * sp_ispell.h: added
15752 * sp_pspell.h: added
15753 * sp_spell.C: added
15754 * sp_form.[Ch]: removed
15755 * spellchecker.[Ch]: removed
15757 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15759 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15761 (simpleTeXSpecialChars): Simply print the input character without
15762 any special translation if pass_thru is set.
15764 * layout.h: Added bool pass_thru to layout class for being able to
15765 implement pass through of a paragraph for Literate Programming.
15767 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15768 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15769 * layout.C (Read): add "passthru" to list of layout tags and add
15770 code to set the pass_thru boolean when it is read.
15772 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15774 * trans_decl.h: remove allowed from KmodInfo
15776 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15777 remove allowed code
15780 * paragraph_pimpl.C (erase): use boost::prior
15782 * Painter.C (text): use data() instead of c_str() when length is
15784 * WorkArea.C (putClipboard): ditto
15785 * font.h (width): ditto
15787 * BufferView2.C: use it-> instead of (*it). for iterators
15789 * paragraph_pimpl.C: ditto
15790 * paragraph.C: ditto
15791 * minibuffer.C: ditto
15792 * language.C: ditto
15794 * encoding.C: ditto
15795 * counters.C: ditto
15796 * converter.C: ditto
15798 * Variables.C: ditto
15799 * TextCache.C: ditto
15800 * MenuBackend.C: ditto
15801 * LyXAction.C: ditto
15803 * FloatList.C: ditto
15804 * DepTable.C: ditto
15805 * ColorHandler.C (LyXColorHandler): ditto
15807 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15809 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15811 * text2.C (openStuff): reintroduce this method (which had been
15812 nuked in NEW_INSETS frenzy).
15814 * lyxfunc.C (Dispatch): when an action has not been handled, use
15815 its name in the error message, not its number.
15817 * paragraph.C (inInset): change method name to begin with lowercase.
15820 * text2.C: updates because of this.
15822 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15824 * ToolbarDefaults.C (add): add spaces in error message
15826 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15828 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15829 (readLyXformat2): rename return_par to first_par, use lyxlex's
15830 pushToken and remove the manual push handling.
15831 (parseSingleLyXformat2Token): add another ert comp. variable:
15832 in_tabular, rename return_par to first_par. handle newlines better
15834 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15836 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15838 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15840 * text2.C (getParFromID): removed
15842 * buffer.C (getParFromID): new method moved form lyxtext.
15843 * BufferView2.C (insertErrors): adjust
15844 (setCursorFromRow): adjust
15845 * BufferView_pimpl.C (restorePosition): adjust
15846 * lyxfunc.C (Dispatch): adjust
15847 * undo_funcs.C (textUndo): adjust
15849 (textHandleUndo): adjust
15850 (textHandleUndo): adjust
15852 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15854 * buffer.C: up' the LYX_FORMAT
15856 * lyxfont.h: turn NO_LATEX on as default
15858 * buffer.C (insertErtContents): new methods of tex style compability.
15859 (parseSingleLyXformat2Token): use it several places.
15860 * tabular.C (OldFormatRead): and here
15862 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15864 * text2.C: remove some commented code.
15867 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15868 * trans.C: changes because of the above.
15870 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15872 * text2.C (setCounter): Fix counters bug with bibliography layout.
15874 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15876 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15877 own member functions
15878 (simpleTeXSpecialChars): ditto
15880 2001-07-06 Juergen Vigna <jug@sad.it>
15882 * a lot of files: changed the access to LyXText::status and the
15883 call of undo-functions.
15885 * undo.[Ch]: added a inset_id to the undo informations.
15887 * undo_funcs.[Ch]: added and moved here all undo functions.
15889 * lyxtext.h: give the status enum a weight, made status_ a private
15890 variable and made accessor functions for it, removed the whole bunch
15891 of undo-functions as they are now in their own file, make some
15892 functions publically available. Added function ownerParagraph with
15895 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15896 made InInset() a const function, added getParFromID() function.
15898 * buffer.[Ch]: added const version for inset_iterator functions,
15899 added getInsetFromID() function.
15901 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15902 changed undo functions for new version.
15904 2001-07-05 Juergen Vigna <jug@sad.it>
15906 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15907 unknow mechanism does not call the proper constructor but only this
15908 one also if I request the other!?
15910 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15912 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15914 * text2.C (LyXText): use initialization lists.
15916 * lyxtext.h (Selection): initialize set_ and mark_
15917 (init): remove method
15919 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15921 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15923 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15925 * screen.[Ch]: change method names to begin with lowercase
15927 * BufferView_pimpl.C (updateScrollbar): simplify further and
15928 hopefully make it a bit faster.
15930 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15932 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15933 calling directly xforms functions.
15935 * Painter.C (Painter):
15936 * lyx_cb.C (MenuWrite):
15937 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15940 * lyx_gui.C: remove bogus guiruntime extern declaration.
15942 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15944 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15946 (redoDrawingOfParagraph): ditto
15947 (redoParagraphs): ditto
15948 (cutSelection): don't create a object for CutAndPaste use the
15949 static method directly
15950 (pasteSelection): ditto
15952 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15955 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15957 * modifications to some other files because of this.
15959 * Makefile.am (lyx_SOURCES): add XFormsView
15961 * XFormsView.[Ch]: new files
15963 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15964 the main window. Move the gui dependent stuff to XFormsView
15966 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15968 * tabular.C (GetCellInset): update cur_cell also in the row/col
15969 version of this function.
15971 * lyxfunc.C: no need to include figure_form.h here.
15977 * lyxvc.C: no need to include forms.h here.
15979 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15981 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15983 * lyxfunc.C (Dispatch):
15985 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15986 constructor argument.
15988 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * paragraph.C (Paragraph): dont't clear, and just set layout.
15991 (makeSameLayout): use params's copy contructor.
15993 * ParagraphParameters.[Ch] (makeSame): delete method
15995 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15997 * Variables.[Ch]: fix indentation, rename set to isSet
15999 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16001 * lyxfunc.C (Dispatch): fix typo
16003 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16005 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16008 * bufferlist.C: include assert.h for emergencyWrite().
16010 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16012 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16013 give up at last (bug #425202) !
16015 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16021 * spellchecker.C: strip spellchecker options and bring up
16022 preferences tab instead
16024 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16026 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16027 the istringstream constructor
16029 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16031 * paragraph.C (getLayout): fix return value
16033 * paragraph.h: do not declare getLayout as inline.
16035 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16037 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16039 * lyxcursor.h (operator<): new func
16040 (operator>): new func
16041 (operator>=): new func
16042 (operator<=): new func
16044 * text.C (changeCase): use selection.start and selection.end
16045 (changeRegionCase): require from to be <= to. Require par to be a
16048 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16050 2001-06-27 Juergen Vigna <jug@sad.it>
16052 * text.C (cursorLeftOneWord): changed to return the cursor and added
16053 overlay with BufferView * parameter which calls this one.
16055 (selectWord): use new getWord function.
16056 (changeCase): renamed from changeWordCase as and extended to work
16057 also on selections.
16059 * lyxtext.h: added enum word_location
16061 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16062 changeCase as this operates now also on selections.
16064 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16066 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16068 * many files: send debug output to Debug::INFO instead of
16071 * converter.C (View):
16073 (Move): send debug output to Debug::FILES instead of console.
16075 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16077 * lyxfunc.C (getStatus): use func_status
16079 * func_status.h: new header, describing the results of
16080 LyXFunc::getStatus;
16082 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16085 2001-06-25 The LyX Project <jug@sad.it>
16087 * buffer.C (sgmlOpenTag):
16089 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16091 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16093 * text2.C: remove some dead code
16095 * tabular.C (GetCellInset): store the last cell checked (gotten)
16097 * tabular.h: add the helper for the speedup
16099 * lyxtext.h: remove some dead code
16101 2001-06-26 The LyX Project <Asger>
16103 * paragraph.C: Change export to LaTeX of alignment to
16104 \begin{center} and family for better roundtrip work with reLyX.
16106 * Tune the math drawing a bit.
16108 2001-06-25 The LyX Project <Asger>
16110 * LColor.C (LColor): New color for math background. New color
16113 2001-06-25 The LyX Project <jug@sad.it>
16115 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16117 * lyxfunc.C (Open):
16118 * bufferlist.C (newFile): do not restrict to files ending with
16121 * BufferView_pimpl.C (MenuInsertLyXFile):
16123 2001-06-24 The LyX Project <jug@sad.it>
16125 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16128 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16130 * lyxtext.h: rename most methods to begin with a small char.
16131 Lots of changes because of this.
16133 * paragraph.C (Paragraph): do not call fitToSize
16134 (erase): call Pimpl::erase
16135 (insertChar): call Pimpl::insertChar
16136 (insertInset): call Pipl::insertInset
16137 (breakParagraph): do not call fitToSize
16138 (breakParagraphConservative): do not call fitToSize
16139 (fitToSize): remove method
16141 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16143 2001-06-24 The LyX Project <Asger>
16145 * Fix Qt compilation^2
16147 2001-06-24 The LyX Project <jug@sad.it>
16149 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16150 depthHook(getDepth()-1).
16153 * ParagraphParameters.h:
16154 * ParameterStruct.h: change type of depth to unsigned int ==
16155 depth_type. Many adaptations to other files before of that.
16157 2001-06-24 The LyX Project <Asger>
16159 * Fix Qt compilation.
16161 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16163 * paragraph.h: renamed several methods to begin with small letter.
16164 several changes to many parts of the code because of this.
16166 2001-06-23 The LyX Project <jug@sad.it>
16168 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16169 rewritten to discard all double spaces when KeepEmpty is off
16170 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16171 to only handle newlines but not fiddle with spaces and friends.
16173 * lyxfunc.C (MenuNew): when doing 'new from template', use
16174 template_path as default directory
16176 2001-06-23 The LyX Project <Asger>
16178 * Clean-up of header file includes all over
16179 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16181 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16183 * paragraph.h: renamed from lyxparagraph.h
16185 2001-06-23 Asger <lyx@violet.home.sad.it>
16187 * Buffer.h: Removed Buffer::resize
16188 * BufferList.h: Removed BufferList::resize
16189 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16190 the document lazily when we change the width, or the font settings.
16192 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16194 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16196 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16198 * buffer.h: remove out of date comment
16200 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16203 * screen.C: fix "theoretical" GC leak
16205 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16207 * LaTeX.C (scanAuxFile):
16208 (deplog): remove trailing \r when reading stream (useful under
16211 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16213 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16214 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16215 and BufferView::theLockingInset(Inset*), so should use them and not
16216 access bv_->text->the_locking_inset directly.
16218 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16220 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16223 * tex-defs.h: remove old unused file
16225 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16227 * BufferView_pimpl.C: fix typo, remove minibuffer message
16228 when buffer has loaded
16230 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16232 * lyxfunc.C (Dispatch): use stringstream
16233 (MenuNew): use stringstream
16234 (Open): use stringstream
16236 * importer.C (Import): use stringstream
16238 * bufferview_funcs.C (CurrentState): use stringstream
16240 * LaTeX.C (run): use stringstream
16242 * BufferView_pimpl.C (savePosition): use stringstream
16243 (restorePosition): use stringstream
16244 (MenuInsertLyXFile): use stringstream
16246 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16259 * vspace.C: removed // -*- C++ -*- as first line.
16262 * version.h: added // -*- C++ -*- as first line.
16264 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16266 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16268 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16271 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16273 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16276 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16278 * gettext.C: include LString.h even when --disable-nls is on.
16280 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16282 * converter.h (Get): changed argument type from int to
16283 FormatList::size_type to avoid unnecessary conversion.
16285 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16288 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16290 * gettext.h: include LString.h even when --disable-nls is on.
16292 2001-06-07 Juergen Vigna <jug@sad.it>
16294 * text.C (BreakAgain): subst spaces with tabs.
16296 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16297 (resizeInsetsLyXText): set force on resizeLyXText.
16299 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * gettext.h (gettext_init):
16302 (locale_init): use a real definition instead of a macro
16304 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16306 * Bufferview_pimpl.C:
16308 * LColor.C: further lcolor tidies
16310 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16312 * BufferView_pimpl.C (updateScrollbar): simplify.
16314 * BufferView2.C: don't include insets/insetinfo.h, change
16315 prototype for insertInset and call the Pimpl version. let
16316 updateInset call Pimpl version.
16318 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16319 gotoInset to BufferView::Pimpl
16321 2001-06-01 Juergen Vigna <jug@sad.it>
16323 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16324 inside a LockingInset (is the update needed at all?).
16326 2001-05-31 Juergen Vigna <jug@sad.it>
16328 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16329 here not the old one otherwise how should we compare it afterwards
16332 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16337 * FontInfo.C: bring C functions into global namespace when
16340 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16342 * LString.h: make sure config.h has been loaded before LString.h.
16344 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16345 (one for each char read by EatLine!).
16347 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16350 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16352 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16353 to the same as the par we break from
16355 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16357 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16359 * MenuBackend.C (expand): also create menu entries for wide
16360 versions of the floats.
16362 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16364 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16366 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16367 frontends/Makefile.am
16373 * tabular.C (getTokenValue): add std::
16375 * tabular-old.C (getTokenValue): add std::
16376 (getTokenValue): ditto
16377 (getTokenValue): ditto
16379 * screen.C (ToggleSelection): adjust
16381 * lyxtext.h: put selection cursors inside a Selection struct.
16383 * lyxfunc.C (moveCursorUpdate): adjust
16385 * lyxfont.C (latexWriteStartChanges): add std::
16387 * lyxfind.C: adjust
16389 * font.h: delete with(char const *, LyXFont const &)
16391 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16393 * FontInfo.C (getFontname): add std::
16395 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16396 (workAreaButtonPress): adjust
16397 (tripleClick): adjust
16399 (moveCursorUpdate): adjust
16402 * BufferView2.C (gotoInset): adjust
16404 2001-05-30 Juergen Vigna <jug@sad.it>
16406 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16407 to check pspell I add this as default as I now have new pspell
16408 libraries and they seem to use this.
16410 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16412 * text2.C (CutSelection): make the cursor valid before the call to
16415 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16417 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16418 relied on 0 terminated strings and other horrors. Bug found due to
16419 the new assert in lyxstring!
16421 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16424 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16429 * lyxfunc.C (processKeySym): change method of getting to the
16432 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16433 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16434 * BufferView_pimpl.[Ch]: here as private methods.
16436 2001-05-28 Juergen Vigna <jug@sad.it>
16438 * text.C (SetHeightOfRow): added the update() call again as it is
16439 needed to initialize inset dimensions!
16441 2001-05-16 Juergen Vigna <jug@sad.it>
16443 * text2.C (SetCharFont): Add new function with BufferView * and
16444 bool toggleall parameters for setting insets internal fonts.
16445 (SetFont): Freeze the undo as we may change fonts in Insets and
16446 all this change should be inside only one Undo!
16448 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16449 setting font's in insets as for them we have the SetFont function!
16451 2001-05-15 Juergen Vigna <jug@sad.it>
16453 * text2.C (ClearSelection): to be sure we REALLY don't have any
16456 * tabular.C (TeXCellPreamble): fixed the left border problem for
16459 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16461 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16464 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16466 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16467 LFUN_BREAKPARAGRAPH.
16469 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16470 help test to "internal only", similar for LFUN_INSERT_URL
16472 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16473 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16474 auto_region_delete and deadkeys.
16476 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16479 * LColor.C: remove some dead entries, tidy a little
16481 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16483 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16485 (Dispatch): implement LFUN_ESCAPE
16487 * commandtags.h: add LFUN_ESCAPE
16489 * LyXAction.C (init): add entry for LFUN_ESCAPE
16491 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16492 Remove commented code.
16493 (insertNote): moved here
16494 (open_new_inset): moved here
16496 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16499 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16501 * kbmap.C (findbinding): clean it up and make it work correctly.
16503 * lyx_main.C (init): do not pass argc and argv as parameters
16505 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16507 * buffer.C: fix path for OS/2 & Win32
16511 * lyx_main.C: Added os:: class.
16513 * os2_defines.h: update
16515 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16517 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16518 better by trying again with reduced state.
16520 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16522 * lyxrc.C (read): print error about invalid key sequence only when
16523 debugging (because not all latinX keysyms are known to some X
16526 * kbsequence.C (getiso): add a few std:: qualifiers
16527 (getiso): comment out extra return statement.
16529 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16531 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16533 (Dispatch): enhance the accent inset a bit. (not perfect)
16535 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16537 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16539 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16541 * bufferlist.C (emergencyWrite): fix assert() call
16543 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16545 * text.C (InsertChar): Added trivial patch to only send the "you
16546 can not do multiple spaces this way" message once during a
16549 2001-05-08 Baruch Even <baruch@lyx.org>
16551 * Makefile.am: Changed order of libraries to get LyX to link properly
16552 with the gnome frontend.
16554 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16556 * LaTeXFeatures.h: add a std:: qualifier
16558 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16560 * paragraph.C (String): use stringstream
16562 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16564 * paragraph.C (writeFile): remove footflag arg
16566 * buffer.C (makeLaTeXFile): use stringstream
16567 (latexParagraphs): remove footnot gurba
16569 * LaTeXFeatures.C (getPackages): use stringstream
16570 (getMacros): likewise
16571 (getTClassPreamble): likewise
16572 (getFloatDefinitions): new method
16574 * paragraph.C (writeFile): reindent
16577 * WorkArea.h: revert the xpos + etc changes.
16579 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16581 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16583 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16584 (pasteSelection): likewise
16585 * text2.C (CreateUndo): likewise
16587 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16589 * minibuffer.C (peek_event): temporarily reduce the functionality
16590 of the minibuffer (to allow args on lfuns)
16592 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16593 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16595 * buffer.C (readInset): add compability reading of old float
16596 lists, add reading of new style float list.
16597 (readInset): avoid reevaluation of inscmd.getCmdName()
16598 (getLists): reindent
16600 * MenuBackend.C (MenuItem): implement parsing of
16601 md_floatlistinsert and md_floatinsert.
16602 (expand::LastFiles): move initalizaton of iterators out of loop,
16603 avoid reevaluation.
16604 (expand::Documents): introduce typdedef vector<string> Strings,
16606 (expand::ExportFormats): introduce typedef vector<Format const *>
16607 Formats, and use it.
16608 (expand): implement FloatListInsert and FloatInsert.
16610 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16611 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16612 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16614 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16616 (Dispatch::LFUN_FLOAT_LIST): implement
16618 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16620 * LaTeX.C (run): Fix problem with --export code.
16622 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16624 * BufferView.[Ch] (workarea): removed.
16625 (getClipboard) new method; wrapper for workarea()->getClipboard()
16627 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16630 * WorkArea.h (width, height, xpos, ypos): These methods all
16631 returned the dimensions of the work_area sub-area of WorkArea,
16632 resulting in a position error if the WorkArea were resized. Now
16633 return the dimensions of the entire WorkArea.
16635 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16637 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16639 * LaTeX.C (deplog): correct the syntax of regex reg1
16641 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16643 * undo.C: remove !NEW_INSETS cruft
16645 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * text2.C: remove !NEW_INSETS cruft
16649 * text.C: remove !NEW_INSETS cruft
16651 * tabular.C: remove !NEW_INSETS cruft
16653 * spellchecker.C: remove !NEW_INSETS cruft
16655 * lyxtext.h: remove !NEW_INSETS cruft
16657 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16659 * lyxfunc.C: remove !NEW_INSETS cruft
16661 * lyxfind.C: remove !NEW_INSETS cruft
16663 * lyx_cb.C: remove !NEW_INSETS cruft
16665 * figureForm.C: remove !NEW_INSETS cruft
16667 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16669 * buffer.[Ch]: remove !NEW_INSETS cruft
16671 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16673 * CutAndPaste.C: remove !NEW_INSETS cruft
16675 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16677 * BufferView2.C: remove !NEW_INSETS cruft
16679 * BufferView.h: remove !NEW_INSETS cruft
16681 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16683 * Lsstream.h: include LString.h before the sstream headers to
16684 fix problem with gcc 2.95.3 and lyxstring
16686 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16688 * lyx_main.C: add using directives when needed for C functions
16689 declared in std:: namespace.
16691 2001-04-27 Juergen Vigna <jug@sad.it>
16693 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16694 (SetHeightOfRow): comment out the update call should not be needed!
16696 2001-04-13 Juergen Vigna <jug@sad.it>
16698 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16699 (LyXTabular): tried to minimize operator= operations (and realized
16700 hopfully Lars wish).
16702 2001-04-27 Juergen Vigna <jug@sad.it>
16704 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16706 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16708 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16710 * buffer.C (readInset): hack to make listof algorithm work
16712 * BufferView_pimpl.C: hack to make listof algorithm work
16714 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16716 * LyXAction.C: removed all !NEW_INSETS cruft
16717 (init): moved lfun_item in method
16719 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16721 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16723 * BufferView2.C (theLockingInset): white space.
16725 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16727 * minibuffer.C: include <iostream>
16729 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16731 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16733 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16735 * text.[Ch] (TransposeChars): new method
16737 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16739 * call message directly through LyXView instead of through LyXFunc
16740 * BufferView2.C: adjust
16741 * BufferView_pimpl.C: adjust
16742 * FontLoader.C: adjust
16744 * bufferview_funcs.C: adjust
16745 * converter.C: adjust
16746 * figureForm.C: adjust
16747 * importer.C: adjust
16749 * lyx_gui_misc.C: adjust
16750 * lyxfunc.C: adjust
16753 + more files in subdirs
16755 * lyxparagraph.h (size): move up int file
16758 * adjust all uses of Assert to lyx::Assert.
16760 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16761 lyxfunctional in namespace lyx
16762 * layout.C (hasLayout): ditto
16765 (delete_layout): ditto
16766 (NumberOfClass): ditto
16767 * converter.C (GetFormat): ditto
16772 * bufferlist.C (getFileNames): ditto
16773 (emergencyWriteAll): ditto
16776 * MenuBackend.C (hasSubmenu): ditto
16779 * BufferView_pimpl.C (getInsetByCode): ditto
16781 2001-04-18 Juergen Vigna <jug@sad.it>
16783 * vspace.C (asLatexString): fixed the 100% problem.
16785 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16787 * lyxfunc.C (Dispatch):
16789 * minibuffer.h: add a few std:: qualifiers
16791 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16793 * minibuffer.[Ch]: reimplement so that commands is initiated and
16794 run from lyxfunc, simplified som handling, and made the completion
16795 and history code for complete. wip.
16797 * lyxfunc.C (processKeySym): call message
16798 (miniDispatch): new temporary method
16799 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16800 (LFUN_MESSAGE): implement
16801 (LFUN_MESSAGE_PUSH): implement
16802 (LFUN_MESSAGE_POP): implement
16803 (initMiniBuffer): the initial/defualt minibuffer message.
16805 * lyxfont.[Ch]: inline some more getters
16807 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16809 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16811 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16812 (AutoSave): use LFUN_MESSAGE
16813 (Reconfigure): ditto
16815 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16817 * figureForm.C: use LFUN_MESSAGE
16819 * converter.C (runLaTeX): use LFUN_MESSAGE
16821 * bufferview_funcs.C: use LFUN_MESSAGE
16823 (changeDepth): ditto
16825 * bufferparams.h: use boost::
16827 * bufferlist.h: inherit privately from noncopyable
16829 * bufferlist.C (loadLyXFile): remove some commented code.
16831 * buffer.C (runChktex): use LFUN_MESSAGE
16833 * ShareContainer.h: inherit privately from noncopyable
16835 * ParagraphParameters.[hC] (depth): inline it.
16837 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16839 (message): new method
16840 (messagePush): ditto
16841 (messagePop): ditto
16842 (show): init minibuffer
16843 (showState): direct call
16845 * LaTeX.[Ch]: inherit privately from noncopyable
16846 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16847 instead of WriteStatus.
16849 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16851 * BufferView_pimpl.C (buffer): don't init minibuffer
16852 (workAreaButtonPress): use LFUN_MESSAGE
16853 (workAreaButtonRelease): ditto
16854 (savePosition): ditto
16855 (restorePosition): ditto
16856 (MenuInsertLyXFile): ditto
16857 (workAreaExpose): don't init minibuffer
16858 (update): remove commented code, simplify
16860 * BufferView2.C (openStuff): use LFUN_MESSAGE
16861 (toggleFloat): ditto
16864 (copyEnvironment): ditto
16865 (pasteEnvironment): ditto
16870 (updateInset): remove some commented code
16872 * lastfiles.h: inherit privately from noncopyable
16875 * lyx_main.h: ditto
16877 * lyxlex_pimpl.h: ditto
16879 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16880 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16881 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16883 * LyXAction.h: inherit privately from noncopyable, add methods
16884 func_begin, func_end, returning iterators to the func map.
16886 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16887 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16888 (func_begin): new method
16889 (func_end): new method
16891 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16893 (copySelection): ditto
16894 (pasteSelection): ditto
16896 * BufferView.C: whitespace change
16897 * BufferView.h: inherit privately from noncopyable
16899 2001-04-16 Allan Rae <rae@lyx.org>
16901 * tabular-old.C (l_getline):
16902 * spellchecker.C (sc_check_word):
16903 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16904 an unrecognised preprocessor directive. So ensure they're wrapped.
16906 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16908 * src/exporter.C (Export): Give an error message when path to file
16911 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16913 * LaTeX.C (deplog): Always check that foundfile exists.
16915 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16918 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16920 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16922 * tabular.[Ch] (getLabelList): implement new method
16924 * minibuffer.h: comment ouf setTiimer
16926 * minibuffer.C (ExecutingCB): constify res
16927 (peek_event): constify s
16928 (Set): constify ntext
16929 (Init): constify nicename
16931 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16933 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16934 (savePosition): use two params to Minibuffer::Set
16935 (restorePosition): ditto
16937 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16939 * lyx_main.C: include language.h
16941 * Makefile.am (lyx_main.o): add language.h
16943 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16949 * CutAndPaste.C: include gettext.h
16951 * lyxfont.h: remove old hack with ON and OFF.
16954 * lyxfont.h: do not include language.h...
16959 * bufferview_funcs.C:
16965 * paragraph.C: ... but do it here instead
16967 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16969 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16971 * tabular.C: small reformat
16973 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16976 (BreakParagraph): ditto
16977 (SetOnlyLayout): ditto
16980 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16983 * lastfiles.C: removed most using decl, add std:: where needed
16985 * buffer.C: ws changes
16987 * MenuBackend.C (class compare_format): put into anon namespace
16988 (expand): constify label, names, action, action2
16991 * text.C (SingleWidth): constify font
16992 (IsBoundary): constify rtl2
16993 (GetVisibleRow): constify ww
16995 * LaTeX.C (deplog): constify logfile
16997 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16999 (workAreaExpose): constify widthChange, heightChange
17001 * lyxrow.C (par): moved
17004 * lyxrow.h: as inlines here
17006 * lyxfont.h (shape): moved from lyxfont.C
17007 (emph): moved from lyxfont.C
17009 * lyxfont.C (LyXFont): use initialization list for all
17011 (shape): move to lyxfont.h as inline
17012 (emph): move to lyxfont.h as inline
17015 2001-04-04 Juergen Vigna <jug@sad.it>
17017 * vspace.C: had to include stdio.h for use of sscanf
17019 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17022 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17023 independent of xforms.
17025 2001-04-02 Juergen Vigna <jug@sad.it>
17027 * spellchecker.C: fixed namespace placing!
17029 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17031 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17032 the LyXParagraph * is 0.
17034 2001-03-29 Juergen Vigna <jug@sad.it>
17036 * vspace.C: added support for %, c%, p%, l%.
17037 (stringFromUnit): added helper function.
17038 (asLatexString): changed to give right results for the %-values.
17040 * buffer.C: convert the widthp in a width%.
17042 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17044 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17047 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17048 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17050 * lyx_cb.[Ch]: see above.
17052 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17056 * lyx.[Ch]: replaced by figure_form.[Ch].
17060 * lyxfunc.C: changed headers associated with above changes.
17062 2001-03-27 Juergen Vigna <jug@sad.it>
17064 * BufferView_pimpl.C: set the temporary cursor right!
17066 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17068 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17070 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17072 * LString.h: removed "using std::getline"!
17074 * BufferView_pimpl.C (Dispatch): changes due to changes in
17075 InsetInclude::Params.
17077 * buffer.C (tag_name): removed redundant break statements as they were
17078 producing lots of warnings with my compiler.
17080 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17082 * LString.h: add "using std::getline" when using the real <string>.
17084 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17086 * buffer.C: removed bitset usage.
17087 PAR_TAG moved to an anonymous name space.
17088 (tag_name): new funtion, also in the anonymous namespace.
17089 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17090 (makeDocBookFile): clean code. Completed transition from string arrays
17092 (SimpleDocBookOnePar): code clean.
17094 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17096 * tabular.C: add some comments.
17098 2001-03-22 Juergen Vigna <jug@sad.it>
17100 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17101 compatibility read a bit and fixed bug with minipage in different
17104 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17106 * buffer.C (pop_tag): removed.
17107 (push_tag): removed.
17108 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17109 array replaced with vector. Added support for CDATA sections.
17110 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17112 (makeDocBookFile): XML conformant declaration of CDATA section,
17113 fixed bug related to <emphasis> in the first paragraph char.
17114 (sgmlOpenTag): exclude empty tags.
17115 (sgmlCloseTag): ditto.
17117 * buffer.h (pop_tag): removed.
17118 (push_tag): removed.
17120 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17122 * language.h (Languages): added size_type and size().
17124 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17126 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17127 response on compability reading of minipages. One probliem is that
17128 the old usage of minipages was «flertydig»
17130 * several files here and in subdirs: don't use static at file
17131 scope use anon namespaces instead.
17133 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17135 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17136 LaTeX output. This is necessary for Literate document
17139 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17141 * buffer.C: insert hfill when needed.
17143 * tabular.C (l_getline): use string::erase, small whitespace change.
17145 * BufferView_pimpl.C: try the anon namespace.
17146 * WorkArea.C: ditto
17148 2001-03-16 Juergen Vigna <jug@sad.it>
17150 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17151 otherwise it won't open options-dialogs.
17153 * buffer.C: honor pextraWidth(p) on converting minipages.
17155 * tabular.C (l_getline): changed the functions to strip trailing \r.
17157 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17159 * BufferView_pimpl.C:
17160 * minibuffer..C: added "using SigC::slot" declaration.
17162 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17164 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17170 * paragraph.C: ditto
17172 * lyxtext.h: NO_PEXTRA
17174 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17176 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17177 * ParameterStruct.h: ditto
17178 * ParagraphParameters.h: ditto
17179 * lyxparagraph.h: ditto
17181 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17183 * buffer.C: add compability for minipage alignment.
17184 (latexParagraphs): remove unwanted pextra check.
17186 * several files: remove CXX_WORKING_NAMESPACES
17188 * buffer.C (pop_tag): tie is in namespace boost
17190 * BufferView.h: noncopyable is in namespace boost
17192 * lyx_main.h: ditto
17195 * lastfiles.h: ditto
17196 * bufferlist.h: ditto
17197 * ShareContainer.h: ditto
17199 * LyXAction.h: ditto
17202 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17204 * Merging changes from BRANCH_MVC back into HEAD.
17206 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17208 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17210 * BufferView_pimpl.C: change from intl.C
17214 * Makefile.am: move combox.*
17220 * intl.C: remove dialog (covered by prefs)
17222 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17224 * lyxfunc.C (Dispatch): removed redundant break statement.
17226 2001-03-14 Juergen Vigna <jug@sad.it>
17228 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17230 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17232 * buffer.C: add hack to fix compability reading of minipages.
17234 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17236 * buffer.C (getLists): Cleanup.
17238 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17240 * lyxfont.C (update): don't honor toggleall on font size.
17242 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17246 * Makefile.am: moved to frontends/xforms/
17250 * BufferView_pimpl.C: changes for moved mathpanel
17252 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17254 * gettext.h: fix gettext_init() in --disable-nls
17256 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17258 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17260 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17263 * lyx.h: strip external form
17265 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17267 * BufferView_pimpl.C: add comment, destroySplash()
17269 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17271 * BufferView_pimpl.C:
17275 * lyxfunc.C: use re-worked insetinclude
17277 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17279 * buffer.C: add using std::stringstream.
17281 * lyx_cb.C: readd using std::ios.
17283 * buffer.C: add using std::map.
17285 * BufferView_pimpl.C: add using std::vector.
17287 * ShareContainer.h: add std:: to swap.
17289 * buffer.h: add some typedefs
17290 * buffer.C (getLists): use them
17291 (getLists): renamed from getTocList.
17292 add a counter for the different float types and use it in the
17294 (getLists): use the same counter for the NEW_INSETS and the "non"
17297 * lyx_cb.h: remove unused items, includes, using etc.
17299 * ShareContainer.h: remove some commented code, add more comments
17300 and "documentation".
17302 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17304 * buffer.C (getTocList): make the list also when NEW_INSETS is
17307 * buffer.h: remove TocType
17309 * buffer.C (getTocList): change to return a map<string,
17310 vector<TocItem> >, implement for dynamic number of list.
17312 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17313 * text2.C (PasteSelection): adjust
17314 * CutAndPaste.C (pasteSelection): adjust
17316 * FloatList.C (FloatList): update from the new_insets branch.
17317 * Floating.[Ch]: ditto
17318 * LaTeXFeatures.C: ditto
17320 * lyxlex_pimpl.C: ditto
17322 * paragraph.C (Last): remove when NEW_INSETS is defined.
17324 * other file: changes because of the above.
17326 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17328 * lyxparagraph.h: rename next to next_, previous to previous_,
17329 make them private for NEW_INSETS. Rename Next() to next(),
17330 Previous() to previous().
17332 * other files: changes because of the above.
17334 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17337 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17340 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17342 * main.C (main): pass lyx_localedir to gettext_init().
17344 * gettext.h: remove locale_init and gettext_init macros
17346 * gettext.C (locale_init): new function
17347 (gettext_init): new function
17349 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17352 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17354 * Moved credits to frontends:
17355 * credits.[Ch]: removed
17356 * credits_form.[Ch]: removed
17357 * lyx_gui_misc.C: remove credits stuff
17360 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17362 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17364 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17365 unneeded destructor.
17367 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17368 a standalone pointer again.
17370 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17372 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17378 * ToolbarDefaults.C:
17387 * BufferView_pimpl.C: use new file dialog in GUII
17390 * lyx_cb.C: remove LayoutsCB to Toolbar
17392 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17394 * ShareContainer.h (get): add std:: qualifier
17396 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17398 * ShareContainer.h: define a proper ShareContainer::value_type
17399 type (and use typename to please compaq cxx)
17401 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17403 * lyxparagraph.h: move serveral local vars to
17404 ParameterStruct/ParagraphParameters., use ShareContainer in
17405 FontTable., make vars in FontTable private and add getter and
17408 * paragraph.C: changes because of the above.
17410 * lyxfont.h: remove copy constructor and copy assignment. (the
17411 default ones is ok), move number inside FontBits. move inlines to
17414 * lyxfont.C: add number to initializaton of statics, move several
17415 inlines here. constify several local vars. some whitespace
17416 cleanup. Dont hide outerscope variables.
17418 * Spacing.h: add two new constructors to match the set methods.
17420 * ShareContainer.h: new file, will perhaps be moved to support
17422 * ParameterStruct.h: new file
17424 * ParagraphParameters.h: new file
17426 * ParagraphParameters.C: new file
17428 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17429 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17431 * BufferView_pimpl.C: ParagraphParameter changes.
17432 * buffer.C: Likewise.
17433 * bufferview_funcs.C: Likewise.
17434 * text.C: Likewise.
17435 * text2.C: Likewise.
17437 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17439 * lyxfind.C (LyXReplace): do not redefine default argument in
17441 (IsStringInText): ditto
17442 (SearchForward): ditto
17443 (SearchBackward): ditto
17445 2001-03-06 Juergen Vigna <jug@sad.it>
17447 * lyxfind.C (IsStringInText): put parentes around expressions.
17449 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17451 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17453 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17455 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17457 * stl_string_fwd.h: add comment
17459 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17462 * tabular.C: remove unused DocBook methods
17468 killed DO_USE_DEFAULT_LANGUAGE
17470 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17472 * lyx_gui.C: do not include language.h.
17474 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17475 arguments in function implementation.
17477 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17479 * BufferView_pimpl.C: add <ctime>
17481 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17483 * BufferView_pimpl.C: add using std::find_if
17485 2001-02-27 José Matos <jamatos@fep.up.pt>
17487 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17490 2001-02-11 José Matos <jamatos@fep.up.pt>
17492 * buffer.C (makeDocBookFile): command styles now have a parameter as
17493 "title" by default.
17495 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17497 * layout_forms.[Ch]: removed
17498 * lyx_cb.[Ch]: out character
17499 * lyx_gui.C: out character
17500 * lyx_gui_misc.C: out character
17501 * bufferview_funcs.C: : out character,
17502 added toggleall as parameter in ToggleAndShow
17504 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17506 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17508 * text2.C (SetCurrentFont): Disable number property at boundary.
17510 2001-02-26 Juergen Vigna <jug@sad.it>
17512 * lyxfunc.C (getStatus): added a string argument override function so
17513 that this is correctly called from LyXFunc::Dispatch if it contains a
17514 do_not_use_argument which is used!
17515 (Dispatch): added check for "custom" export and call appropriate func.
17517 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17519 * lyxrc.C: Add language_command_local, language_use_babel and
17520 language_global_options.
17522 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17524 * buffer.C (makeLaTeXFile): Use language_use_babel and
17525 language_global_options.
17527 2001-02-23 Juergen Vigna <jug@sad.it>
17529 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17530 which works with LyXText and putted it inside BufferView. Here now we
17531 only call for that part the BufferView::Dispatch() function.
17533 * BufferView.C (Dispatch): added.
17535 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17536 functions which needs to use a LyXText over from LyXFunc.
17537 (MenuInsertLyXFile): added
17538 (getInsetByCode): added
17539 (moveCursorUpdate): added
17540 (static TEXT): added
17542 2001-02-22 Juergen Vigna <jug@sad.it>
17544 * BufferView_pimpl.C (update): call a status update to see if LyXText
17547 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17549 * vc-backend.C (revert): implement for CVS
17550 (getLog): implement for CVS
17552 2001-02-20 Juergen Vigna <jug@sad.it>
17554 * text2.C (ClearSelection): added BufferView param for inset_owner call
17556 * lyxfunc.C (TEXT): added this function and use it instead of
17557 directly owner->view()-text of getLyXText().
17559 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17561 * src/layout_forms.C: out preamble
17562 * src/layout_forms.h: out preamble
17563 * src/lyx_cb.C: out preamble
17564 * src/lyx_cb.h: out preamble
17565 * src/lyx_gui.C: out preamble
17566 * src/lyx_gui_misc.C: out preamble
17567 * src/lyxfunc.C: connect with guii preamble
17569 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17571 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17573 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17575 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17576 whether to run bibtex.
17578 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17580 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17582 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17584 * Makefile.am (lyx_SOURCES): removed bibforms.h
17586 * vspace.h: doxygen
17588 * text.C (GetVisibleRow): make several local vars const
17590 * tabular.C: small cleanup.
17592 * lyxserver.C (callback): use compare instead of strncmp
17594 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17595 inlines to after class or to paragraph.C
17597 * lyxfont.h: remove friend operator!=
17599 * converter.h: move friend bool operator< to non friend and after
17602 * combox.h: small cleanup
17604 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17605 to inlines after class def.
17607 * buffer.C (pop_tag): use string operations instead of strcmp
17609 * bmtable.c: doxygen, small cleanup
17611 * LaTeX.h: remove friend operator==
17613 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17625 * BufferView_pimpl.C:
17626 * BufferView.[Ch]: remove cruft
17628 2001-02-14 Juergen Vigna <jug@sad.it>
17630 * lyxfunc.C: removed #if 0 unused code
17632 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17634 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17636 * text2.C (SetSelection): added a BufferView * parameter
17638 2001-02-13 Juergen Vigna <jug@sad.it>
17640 * lyxfunc.C (Dispatch): fixed protected blank problem.
17641 * BufferView2.C (protectedBlank): added LyxText * parameter.
17643 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17644 (AppendColumn): same as above for column_info.
17646 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17647 (moveCursorUpdate): use a LyXText param for support of InsetText.
17649 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17650 (tripleClick): ditto
17652 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17654 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17656 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17658 * text2.C (SetSelection): set correct update status if inset_owner
17659 (ToggleFree): ditto
17661 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17663 * tabular.C: remove some commented code.
17665 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17667 * BufferView_pimpl.C: call hideSplash()
17669 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17672 * bibforms.h: remove
17675 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17676 add LFUN_CHILD_CREATE
17678 * counters.h: fix tiny typo
17683 * lyx.C: move splash to frontends/xforms/
17685 * lyx_gui_misc.C: move Include and Bibform to frontends
17687 * lyxvc.h: clarify comment
17689 * vspace.C: tiny housekeeping
17691 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17693 * text.C (PrepareToPrint): RTL Fix.
17695 * paragraph.C (GetUChar): New method.
17696 (String): Use GetUChar.
17698 * buffer.C (asciiParagraph): Use GetUChar.
17700 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17702 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17704 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17707 * buffer.C: rename to getLogName(), handle
17708 build log / latex log nicely
17710 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17713 * MenuBackend.h: remove support for reference menuitem type.
17715 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17717 * BufferView_pimpl.C: housekeeping
17718 * BufferView_pimpl.h:
17723 * minibuffer.h: move Timeout GUI-I
17725 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17727 * lyxrc.C (read): Update converters data-structures.
17729 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17731 * LaTeX.h (operator!=): add operator != for Aux_Info
17733 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17735 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17737 * LaTeXLog.C: deleted, useful code moved to Buffer
17740 * buffer.C: new function getLatexLogName()
17746 * lyxfunc.C: use frontends for LaTeX and VC logs
17748 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17750 * LaTeX.h: yet another std:: that Allan forgot.
17752 * Variables.C (set): renamed from isset(), because this clashes
17753 with some HP-UX macros (grr).
17755 2001-02-06 Allan Rae <rae@lyx.org>
17757 * LaTeX.h: Another bug fix. Missing std:: this time.
17759 2001-02-04 Allan Rae <rae@lyx.org>
17761 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17762 floats problem. I've left it commented out because it's not quite
17763 correct. It should also test that the current object is a table or
17764 figure inset. But I haven't gotten around to figuring out how to do
17765 that. I *think* it'll be something like: "table" == inset.type()
17767 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17770 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17772 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17773 all the citation/databases/styles in the auxilary file.
17774 (run): Rerun latex if there was a babel language error.
17776 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17778 * text.C (Backspace): Preserve the font when changing newline char
17780 (BreakParagraph): If the cursor is before a space, delete the space.
17782 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17784 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17786 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17787 new argument (code).
17788 (ChangeCitationsIfUnique): New method.
17790 * paragraph.C (GetPositionOfInset): Handle bibkey.
17792 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17794 * BufferView_pimpl.h: change type of Position::par_pos to
17795 LyXParagraph::size_type.
17797 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17799 * BufferView_pimpl.C (savePosition, restorePosition): Write
17800 messages to minibuffer.
17802 2001-01-28 José Matos <jamatos@fep.up.pt>
17804 * buffer.C (makeDocBookFile): adds support for document language.
17805 A silly restriction on the name of LatexCommand types where removed.
17806 Added support for CDATA sections, allows to chars unescaped, used
17807 among others in code, to avoid escape < and >.
17809 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17811 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17812 saved positions instrad of a stack. Furthermore, a position is
17813 stored using paragraph id/paragraph position.
17815 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17816 Remove LFUN_REF_BACK.
17818 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17820 * converter.C (dvipdfm_options): New method.
17822 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17824 * vspace.C (isValidLength): Fix for empty input string.
17826 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17828 * LyXAction.C (init): change description of LFUN_FIGURE to
17831 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17833 * LaTeX.C: add using directive
17835 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17837 * MenuBackend.C (expand): Fix the sorting of the formats.
17839 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17841 * lyx_main.C: tiny error message fix
17843 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17845 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17846 calling fl_initialize(). This fixes the problem with ',' as
17847 decimal separator in text files.
17849 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17851 * trans.C (process): Fix the keymap bug.
17853 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17855 * LaTeX.C (scanAuxFiles): New method. Provides support for
17856 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17857 (scanLogFile) Scan for "run BibTeX" messages.
17859 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17860 OT1 font encoding. Also, load the aecompl package if the ae
17863 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17865 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17867 * texrow.C (increasePos): turn two error messages into debug
17870 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17872 * LaTeX.C (scanAux): Handle the \@input macro.
17873 (runBibTeX): Use scanAux().
17875 * language.C (latex_options_): New field.
17877 * LaTeXFeatures.C (getMacros): Add language macros.
17879 * buffer.C (makeLaTeXFile): Small fix.
17881 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17883 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17885 * text2.C: add a using directive.
17887 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17892 * lyxfunc.C: kill LyXBell.
17894 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17896 * text.C (IsBoundary): Remove the error message
17898 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17900 * lyxrc.C (setDefaults): Correct initialization value for
17903 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17905 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17908 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17909 and GotoNextNote().
17911 * src/LyXAction.C: Added reference-next.
17913 * text.C (InsertChar): Use contains instead of strchr.
17915 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17917 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17919 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17920 alignment commands (when needed).
17922 * text.C (InsertChar): Add ':' to number separator chars.