1 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * factory.C (createInset): fix bad logic for tabular creation
5 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7 * lyx_main.C (init): change some reLyX reference to tex2lyx
9 2005-07-16 Juergen Vigna <jug@lyx.org>
11 * dociterator.C (DocIterator): initialize boundary
13 2005-07-16 Juergen Vigna <jug@lyx.org>
15 * text2.C (getColumnNearX): Consider rows without trailing blank.
17 2005-07-16 André Pönitz <poenitz@gmx.net>
19 * lyxfont.h: Change order of declarations to give the compiler
20 a better chance to inline things
22 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
23 questions on unsaved docs for better scritability
25 2005-07-16 André Pönitz <poenitz@gmx.net>
27 * paragraph.h (getChar): remove asserts as the same kind of security
28 can be achieved by using a suitable standard library implementation
29 and the function was in the critical path (25.9% in profiler)
31 2005-07-16 Juergen Vigna <jug@lyx.org>
33 * cursor.C (bruteFind2):
34 * bufferview_funcs.C (coordOffset):
35 * text.C (cursorX,cursorY): Handle cursor position after last char
36 in row before a inset which uses a whole row.
38 2005-07-15 José Matos <jamatos@lyx.org>
40 * output_plaintext.[Ch] (writeFileAscii): control reference title
42 (asciiParagraph): noparbreak was already deal and was incorrectly
45 2005-07-15 Juergen Vigna <jug@lyx.org>
47 * lyxfunc.C (dispatch): save and restore the cursor after a
50 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
52 * text.C (backspace): bug 806 for empty keepempty paragraphs we
53 change the layout to default before letting DEPM do its thing.
55 * paragraph_funcs.C (breakParagraph): dont reset the layout on
58 * text.C (setCursorFromCoordinates): add a debug statement
60 * text2.C (getColumnNearX): bug 1825 make sure that we don't
61 return a pos that is not on the row
63 * output_latex.C (TeXDeeper): get rid of potential dereferencing
64 of past the end iterator
66 2005-07-14 André Pönitz <poenitz@gmx.net>
68 * undo.C (recordUndoFullBuffer): implement undo for
71 2005-07-14 André Pönitz <poenitz@gmx.net>
73 * cursor.C (setSelection): open insets when selection is set there
74 to avoid crashs with cold coord cache
76 2005-07-14 André Pönitz <poenitz@gmx.net>
78 * trans_mgr.C (insert): move cursor to the right after inserting
81 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
83 * BufferView_pimpl.C (update): dampen some of the debug blabbering
84 * factory.C (readInset): ditto
85 * text.C, text2.C: ditto
87 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * buffer.C: format incremented to 242. There is no file format per
90 se, but the "frenchb" language has been removed from lib/language
91 and has to be translated to "french" by lyx2lyx.
93 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
95 * cursor_slice.h, dociterator.h: add some documentation
96 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
98 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
100 * text.C (leftMargin): do not add identation to display() style
101 insets, because they are always centered (bug 1293).
103 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
106 formatted_time methods in support/lyxtime.
108 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * toc.[Ch]: new method getGuiName, which is used by the frontends
111 to set the toc combo (fixes bug 1870). Make TOC string translatable.
113 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
116 StableDocIterator const &)
117 * undo.C (recordUndo): use the above instead of cell.size() comparison
118 (fixes bug 1808; instructed by André).
120 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
123 * dociterator.h: Fix the assert when copying rows/cols in math
125 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
127 * BufferView_pimpl.C:
129 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
131 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
132 (findInset): new functions, refactored from goto Inset that return
133 the position of a certain inset without setting the buffer's cursor
135 (gotoInset): rewrite to call findInset and then set the cursor
138 2005-06-16 Angus Leeming <leeming@lyx.org>
140 * lyxrc.C (output, read): wrap all input and output of paths with
141 calls to os::internal_path and os::external_path, respectively.
142 (output): wrap bind_file inside quotes.
144 * format.C (view): enable the viewer to use the '$$s' placeholder.
146 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * LColor.[Ch] (getFromLaTeXName): new
150 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
152 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
154 2005-06-14 Angus Leeming <leeming@lyx.org>
156 * lyx_main.C (init): ensure that the LyX binary dir is the first
157 element in the PATH on non-POSIX builds.
159 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
163 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * rowpainter.C (paintInset, paintHebrewComposeChar)
166 (paintArabicComposeChar, paintChars): add a LyXFont argument.
167 (paintChars): use getFontSpan to reduce calls to getFont to a
168 minimum; use Paragraph::lookupChange instead of isXXXText.
169 (paintForeignMark): rename LyXFont argument.
170 (paintFromPos): pass a LyXFont object to the various paintXXX
173 * FontIterator.C (FontIterator, operator++): use
174 Paragraph::getFontSpan
176 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
177 version that returns the font span as a pair.
179 2005-06-09 Angus Leeming <leeming@lyx.org>
181 * converter.C (convert): Don't forget "outfile = real_outfile" as
182 the final step in a conversion where the input and output file names
183 are the same. Otherwise, future conversion steps won't work...
185 2005-06-09 Angus Leeming <leeming@lyx.org>
187 * lyxsocket.C: remove stub code as it isn't needed by
188 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
190 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
192 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
193 effectively disabled -x
195 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
197 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
198 when it actually makes sense.
200 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
202 * BufferView_pimpl.C: revert to showCursor in connection with
203 Lars's front-end stack
205 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
207 * text.C (redoParagraph): move cursor right after a bibitem
210 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
212 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * buffer_funcs.C (bufferErrors): fix computation of the end of an
217 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
219 * BufferView.[Ch] (update):
220 * BufferView_pimpl.[Ch] (update, metrics):
221 * dimension.h (operator==):
222 * lyxfunc.C (dispatch):
223 * metricsinfo.h (ViewMetricsInfo):
224 * rowpainter.C (paintText):
226 * text.C (redoParagraph):
227 * text3.C (dispatch): Make LyX only repaint current paragraph in
228 case of character insert --> speedup. Also fix cursor draw
231 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
234 avoid a crash (bug 1891)
236 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * text2.C (getStringToIndex): constify cur argument.
242 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
243 argument has been given
244 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
245 try to invoke LFUN_INSET_APPLY).
247 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
248 if no inset was created by doInsertInset
249 (doInsertInset): return true if an inset has been inserted.
251 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * vspace.C (asGUIName): new method. A version of the space
254 suitable for showing on screen.
256 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
259 * lyxrc.C: rename "ASCII" to "Plain Text"
261 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * buffer_funcs.C (expandLabel): take a Buffer as argument;
264 translate the labelstring.
265 (setCounter): translate labelstring as needed.
267 * output_docbook.C (makeCommand): fix expandLabel invokation
269 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
271 * BufferView.C: fix dialog title
273 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * lyx_main.C (priv_exec): fix logic error with help from Angus
276 * lyx_main.C (parse_execute): set is_gui = false and remove now
277 obsolete comment about a segfault
279 2005-05-18 Angus Leeming <leeming@lyx.org>
281 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
283 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
285 * tabular.[hC]: added setCellInset to fix tabular paste.
287 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
289 * buffer.C (save): check if destination is writable before trying
292 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
294 * BufferView_pimpl.C (update): fix processEvents -caused update
297 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * buffer_funcs.C (setCounter): fix test for numbering of
302 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
303 depth correctly; use optional argument when it exists
305 * lyxtextclass.C: remove unused MaxCounterTags enum
306 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
307 (max_toclevel, min_toclevel): new methods.
309 * MenuBackend.C (expandToc2): fix case where depth is smaller than
310 the smallest depth in toc.
312 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
313 layouts that should not appear in a table of contents.
315 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * cursor.h (undispatched, noUpdate): add comments from André
319 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
323 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
325 2005-05-07 André Pönitz <poenitz@gmx.net>
327 * cursor.[Ch] (leaveInset): new function
329 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
331 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
333 2005-05-04 Angus Leeming <leeming@lyx.org>
335 * lyxfunc.C (getStatus): disable the spell checker dialog if
336 none of USE_[AIP]SPELL are defined.
338 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
340 * tabular.C (setWidthOfCell): remove obsolete comment
342 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
344 * paragraph.C (bibitem):
345 * buffer_funcs.C (setCounter):
346 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
348 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
350 * text3.C (getStatus): immediately return after setOnOff
352 * rowpainter.C: fix drawing of appendix start
354 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
356 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
357 SwitchBetweenClasses and remove the unused return value.
358 Handle character styles, too
360 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
362 * factory.C (createInset): handle undefined character styles
364 2005-05-02 Angus Leeming <leeming@lyx.org>
366 * buffer.C: protect the #include of utime.h with a preprocessor
369 2005-05-02 Angus Leeming <leeming@lyx.org>
371 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
372 function so that auto-saving works, albeit in a blocking manner.
374 * Makefile.am: make compilation of the client sub directory, of
375 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
376 on conditionals set at configure time.
378 * SpellBase.[Ch]: no longer an abstract base class. Instead,
379 it can be compiled in its own right but has no-op functionality.
381 * aspell.C, pspell.C: remove preprocessor guards. The files should
382 be compiled only if the necessary functionality exists.
384 * lyxserver.C, lyxsocket.C: disable on Windows.
386 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
388 * text.C (leftMargin): Fix the parindent use bug (1764)
391 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
393 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
396 2005-04-25 Angus Leeming <leeming@lyx.org>
404 include <config.h> in .C files, not .h ones.
406 protect headers inside preprocessor guards.
408 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
410 * FuncStatus.h (StatusCodes): document
412 2005-04-21 André Pönitz <poenitz@gmx.net>
414 * FuncStatus.h (enabled, onoff): document
416 2005-04-19 Angus Leeming <leeming@lyx.org>
418 * BufferView_pimpl.C (cursorToggle): no longer test whether
419 any child processes have been reaped before calling
420 handleCompletedProcesses().
422 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
424 * text3.C (dispatch): fix, finally fix, the language problem in
425 new lyxtexts, without disabling on-the-fly font changes (Helge's
428 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
430 * text3.C (dispatch): set cursor on double/triple click events
433 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
436 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
438 * rowpainter.C (paintFirst): simplify the code a little bit. In
439 particular, remove the test for secnumdepth.
440 * text.C (setHeightOfRow): only allocate space for chapter number
441 when updateCounters provided an actual label, instead of looking
442 at secnumdepth directly.
444 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
446 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
447 paragraphs when secnumdepth is large enough or, for environments,
448 when they are not the first in a sequence.
450 2005-04-17 Angus Leeming <leeming@lyx.org>
452 * buffer.C (makeLaTeXFile): replace code to manipulate a path
453 containing space and '~' characters with a call to latex_path().
455 2005-04-17 Angus Leeming <leeming@lyx.org>
457 * converter.C (convert): protect all args of convertDefault.sh
460 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * text3.C (dispatch): change the layout to "Caption" after inserting
465 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
467 * text3.C (dispatch): fix language problem in newly created
468 textinsets (and main text) in non-english docs
470 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
472 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
473 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
474 * text3.C (getStatus): disable LFUN_INSET_MODIFY
476 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
481 * rowpainter.C (getFont): Fix metrics bug introduced by inset
484 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
487 output of \item arguments without trailing text.
489 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * FontIterator.C (operator*): avoid a copy of the font.
493 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
495 * rowpainter.C (getFont): fix language bug from previous fix
497 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
499 * rowpainter.C (RowPainter, getFont): fix font inside inset
502 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
504 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
505 preventing inserted font, deco, delim insets jumping to start of
508 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * lyxfunc.C (dispatch): translate message before sending it to the
513 2005-03-29 Angus Leeming <leeming@lyx.org>
515 * lyx_main.C (priv_exec): call os::internal_path on each file passed
516 to LyX on the command line.
518 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
520 * vc-backend.C: use QuoteName to protect file names wherever
523 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
526 * BranchList.h: fix bugs 1844,1845: document settings don't
529 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * lyxrc.C (setDefaults, read, output, getDescription): add support
532 for tex_allows_spaces.
534 * exporter.C (Export): allows files in directory containing spaces
535 if tex_allows_spaces is true.
537 * buffer.C (makeLaTeXFile): if the document path contains spaces,
538 output it in double quotes.
540 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
542 * rowpainter.C: use default text height for drawing change tracker
545 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
547 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
549 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
551 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
552 directory is missing.
554 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
556 * text2.C: fixed the fix, extended to other case.
558 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
560 * text2.C: fix for cursor up/down stuck in math [bug 1792]
562 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
564 * text2.C (cursorUp): get rid of a crash
565 * text.C (x2pos): add an assert
567 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
569 * lyxfunc.C (getStatus): fix warning when assertions are disabled
573 * dociterator.C: include <boost/current_function.hpp>, which is
574 needed when assertions are disabled.
576 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
578 * text2.C: fix for stuck cursor when traversing two
579 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
581 2005-02-25 Andreas Vox <avox@arcor.de>
583 * output_docbook.C (makeParagraph): suppress trailing newline
584 after a run of paragraphs
586 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
588 * paragraph.C: fix for confused change tracker when pasting
589 text that begins with a lineseparator. [bug 1827]
590 (setChange(0, Change::INSERTED);)
592 * paragraph_funcs.C: fix for lost changes on triple-paste
593 in change tracking mode [bug 1827] (par.setChange()).
595 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 * text2.C (updateCounters, setCounter, expandLabel): move to
600 * buffer_funcs.C (updateCounters): turn into a free standing
601 function and add a buffer parameter. Remove dead code for tracking
603 (setCounter): change into a free-standing function which gets a
604 dociterator as argument. Use this iterator to fix captions in a
605 simple way. When no float is found above the caption, use the
606 labelstring of the caption layout as default.
608 * text.C (breakParagraph, backspace):
609 * text2.C (init, setLayout, changeDepth):
610 * text3.C (dispatch):
611 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
614 * dociterator.C (forwardPar): make it much faster by calling
615 forwardPos() only when really necessary.
617 * output_docbook.C (makeCommand): adapt to expandLabel move.
619 * cursor.C: remove unused variable
621 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
623 * paragraph_funcs.C: fix crash when pasting insets in change
624 tracking mode [bug 1277] (honour change type in moveItem).
626 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
630 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * BufferView.C (setCursor): change to use a DocIterator.
633 (gotoLabel): use BufferView::setCursor (other part of bug 781).
634 (putSelectionAt): adapt to BufferView::setCursor change.
636 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
637 moved here from LyXText and rewritten to use proper cursor
638 methods. Fixes bug 1787, 616 and 835.
640 * BufferView_pimpl.C (restorePosition): set the cursor correctly
641 when inside an inset (part of bug 781).
642 (dispatch): adapt to change of BufferView::setCursor.
643 (getStatus, dispatch): handle LFUN_GOTOERROR,
644 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
646 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
647 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
648 * text3.C (gotoNextInset, gotoInset): removed.
650 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
652 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
654 2005-02-15 Angus Leeming <leeming@lyx.org>
656 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
657 can be used meaningfully in a comparison.
659 2005-02-13 André Pönitz <poenitz@gmx.net>
661 * bufferview_funcs.C (coordOffset): improve cursor drawing
663 2005-02-13 André Pönitz <poenitz@gmx.net>
665 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
666 * Cursor.C (dispatch): use fixIfBroken
667 * lyxfunc.C (getStatus): use fixIfBroken
669 2005-02-15 Angus Leeming <leeming@lyx.org>
671 * lyx_main.C (error_handler):
673 * lyxrc.C (setDefaults):
675 #include "environment.h".
677 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
679 2005-02-15 Angus Leeming <leeming@lyx.org>
681 * lyxserver.C (startPipe): squash MSVC warning "local variable
682 'fd' used without having been initialized".
684 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
686 * BufferView_pimpl.C: revert accidental commit.
688 2005-02-14 André Pönitz <poenitz@gmx.net>
690 * dociterator.[Ch]: new member forwardPosNoDescent(),
691 which doesn't enter nested insets.
692 * text2.C (setFont): use forwardPosNoDescent() instead
693 of ForwardPos() (fixes crash on font change).
695 2005-02-13 Angus Leeming <leeming@lyx.org>
697 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
698 only if lyxrc.path_prefix is not empty.
700 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
702 * bufferparams.C (readGraphicsDriver): prevent crash
704 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * text2.C (setCounter): check for inInset() == 0
708 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
710 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
711 but use update() to get correct screen display; use convert
712 instead of istringstream.
713 (getStatus): handle LFUN_GOTO_PARAGRAPH
715 * lyxfunc.C (dispatch, getStatus): do not handle
716 LFUN_GOTO_PARAGRAPH here.
718 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
720 * text3.C (dispatch): size() -> depth()
722 * text2.C: remove some debug output
724 * paragraph.C: ws changes only
726 * lyxfunc.C (getStatus): size() -> depth()
728 * dociterator.h (clear, push_back, pop_back, internalData,
729 operator[], resize, empty): new functions
730 Make StableDocIterator and operator== be friends. Don't inherit
731 from std::vector use a privat class variable slices_ instead.
734 * dociterator.C: update because of not inheriting from std::vector
735 anymore. Call explictly to slices_ instead. Use depth() instead of
736 size() and top() instead of back()
738 * cursor.C: chagne size() -> depth and back() -> top(). Also
739 remove some direct operator[](i) calls in favour of foo[i]
740 (getFont): remove some dead code
742 * bufferview_funcs.C (coordOffset): size() -> depth()
744 * buffer.C: ws changes only
746 * CutAndPaste.C (eraseSelection): back() -> top()
748 * BufferView_pimpl.C (selectionRequested): back() -> top()
750 * BufferView.C (setCursor): size() -> depth()
752 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
754 * text3.C (cursorPrevious): return true if depm changed something
756 (dispatch): rename sl to oldTopSlice, remove moving use the new
757 NoUpdate func attrib instead. Make sure that needsUpdate is set
758 for function that have NoUpdate, but where depm might have changed
761 * text2.C (cursorLeft): make us return true if depm changed
764 (cursorUpParagraph): ditto
765 (curosrDownParagraph): ditto
766 (cursorUp, cursorDown): ditto, make sure to read comments in code
767 (deleteEmptyParagraphMechanism): remove an assert, also return
768 true if just a single char was deleted.
770 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
771 cursor that we modify, to avoid modifying an active cursor before
772 we call setCursor. This allows depm to run. Also return true if
773 depm deleted something.
775 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
776 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
777 cursorDownParagraph, cursorPrevious and cursorNext, return true if
778 something was changed in the buffer because of them (ie. depm run)
780 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
781 debug messages. Make update by default be false. Make sure that
782 the result of update is retained throught several calls down to
785 * LyXAction.h: add a new func_attrib: NoUpdate
787 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
788 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
789 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
791 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
793 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
795 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
796 bv_->owner(), bv_->buffer() by direct references to the private
798 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
799 (getStatus): isSavedPosition() is in BufferView::Pimpl.
800 (fitCursor): center() is in BufferView::Pimpl.
801 (getStatus, trackChanges, dispatch): no need for a temporary buf
803 (fitCursor, workAreaDispatch): use workarea().workheight()
805 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
807 * CutAndPaste.C (pasteSelectionHelper): fix a crash
809 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
811 * buffer.C: format up to 241.
812 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
813 break if pasting into ERT
814 * lyxfunc.C (getStatus): suppress mathpanel and
815 LFUN_DIALOG_SHOW_NEW_INSET in ERT
817 2005-02-01 Angus Leeming <leeming@lyx.org>
819 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
821 2005-02-01 Angus Leeming <leeming@lyx.org>
823 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
824 calling fs::is_directory().
826 2005-01-31 Angus Leeming <leeming@lyx.org>
828 * lyx_main.C (priv_exec): specify explicitly the relative location
829 of the top level build directory when run in-place.
831 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
834 LyXText containing the cursor, not the top-level one.
836 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
838 (insertStringAsLines): rename par to pit; use temporary variable
839 par to hold a Paragraph; do not store par.layout() in a variable,
840 since the pointer may die when breaking paragraphs; pass pars to
841 breakParagraph() instead of Buffer::paragraphs().
843 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
845 * lyxlex_pimpl.h: #include <fstream>.
847 * BufferView.[Ch] (getLyXText): add a const version.
849 * BufferView_pimpl.C: add debug aids.
854 * paragraph_funcs.h: add commentary explaining what the class does.
857 * coordcache.[Ch]: add lots of commentary.
858 (startUpdating, doneUpdating): debug aids.
859 (arrays, insets, parPos, getParPos): accessors to private data.
861 * cursor_slice.[Ch] (text): add a const version.
862 * dociterator.[Ch] (text, innerText): add const versions.
864 * lyxtext.h (breakParagraph): change the keep_layout arg to a
867 * paragraph.C (getRow, pos2ros): add asserts.
869 * paragraph.h: add commentary. Lots of.
871 * paragraph.[Ch] (metrucs, draw): removed.
874 * rowpainter.[Ch]: const-correct changes.
876 * text.C: various obvious clean-ups. Removal of ancient cruft.
879 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
881 * vc-backend.C (find_file): rewrite to use boost.filesystem
884 * main.C (main): set default name check for boost.filesystem to
887 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
890 (actOnUpdatedPrefs): ditto
892 * lyx_main.C (init): rewrite to use boost.filesystem
893 (queryUserLyXDir): ditto
895 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
896 (getContentsOfAsciiFile): ditto
898 * lastfiles.C (readFile): rewrite to use boost.filesystem
900 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
902 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
905 * buffer.C (Buffer): adjust for destroydir
906 (getLogName): rewrite to use boost.filesystem
908 (save): use fs::copy_file (from fs_extras)
910 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
912 * LaTeX.C (run): rewrite to use boost.filesystem
913 (scanAuxFiles): ditto
914 (handleFoundFile): ditto
916 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
918 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
920 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
922 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
924 * lyxlayout.[Ch]: change some vars from float to double
926 * buffer.C (readFile): make a local var const
928 * Several files: use convert<> instead of atoi,strToXXX and friends
930 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
932 * LaTeXFeatures.[Ch]: Add a static list packages_ that
933 holds the contents of packages.lst. New functions getAvailable
934 and isAvailable to parse and check that list, resp.
938 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
940 * bufferparams.[Ch]: new param output_changes.
942 * Buffer.C: increase file format to 240.
943 Use output_changes and isVailable.
947 * paragraph_pimpl.C: Use output_changes and isVailable.
949 2005-01-23 Angus Leeming <leeming@lyx.org>
951 * output_latex.C: #include "insetbibitem.h", rather than
952 forward declare function bibitemWidest.
954 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
956 * lyx_main.C (init): make it compile on the Mac.
958 2005-01-20 Angus Leeming <leeming@lyx.org>
960 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
961 (setLyXMisc): (char string literal) != (char string literal) is
962 performing a comparison on the addresses. Convert one operand
963 explicitly to string to guarantee expected behaviour.
966 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
969 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
971 * output_plaintext.C: remove unneeded #include gzstream.h.
973 2005-01-20 Angus Leeming <leeming@lyx.org>
975 * SpellBase.h: rename some of the elements of the Result enum.
982 * pspell.C (check): ditto
984 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
986 * buffer.C: add #include <fstream>.
988 * lyx_main.C (init): Compile fix.
990 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
992 2005-01-20 Angus Leeming <leeming@lyx.org>
994 * mover.h: change commentary to reflect the changed meaning of
997 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
999 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1001 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1003 2005-01-20 Angus Leeming <leeming@lyx.org>
1005 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1006 printing diagnostic data by not dereferecing an iterator past the
1009 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1011 * buffer.C (readHeader): use "&&" rather than "and".
1013 * lyxserver.h (inPipeName, outPipeName): make these const.
1015 2005-01-19 Angus Leeming <leeming@lyx.org>
1017 * lyx_main.C (error_handler, init): protect SIGHUP with
1018 #ifdef SIGHUP guards.
1020 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1022 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1024 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1026 * text.C (setHeightOfRow): add a margin at the top and bottom of
1027 the document (bug 1761)
1029 2005-01-17 Angus Leeming <leeming@lyx.org>
1031 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1032 with "python ". Workaround for a brain-dead Windows.
1034 2005-01-16 Angus Leeming <leeming@lyx.org>
1036 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1037 for MacOSX and Windows to use prependEnvPath.
1038 Strip out the hard-coded block to add elements to the PATH for
1039 MacOSX and replace it with a call to prependEnvPath using the
1040 contents of LyXRC::path_prefix.
1041 (queryUserLyXDir): strip out the code to run reconfigure, instead
1042 returning a boolean indicating the necessity to do so.
1043 (reconfigureUserLyXDir): contains the code to reconfigure the
1044 user support directory. Is now called after the various LyXRC data
1045 files have been read.
1047 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1049 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1051 * converter.[Ch] (convert): take a new parameter try_default. Use
1052 a default converter (imagemagick) if try_default is true.
1054 2005-01-13 Angus Leeming <leeming@lyx.org>
1056 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1057 os::cygwin_path_fix.
1058 (write): output LyXRC::cygwin_path_fix as necessary.
1060 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1063 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1065 2005-01-12 Angus Leeming <leeming@lyx.org>
1067 * lyx_main.C (init): set the PATH variable to include the
1068 directory containing the LyX binary when running on Mac or Windows.
1070 2005-01-12 Angus Leeming <leeming@lyx.org>
1072 * lyx_main.C (init): remove cruft that purports to set the locale
1073 dir. It doesn't and is not needed anyway.
1075 2005-01-10 Angus Leeming <leeming@lyx.org>
1077 * Makefile.am: remove the lyx_main.C special casing.
1079 * BufferView_pimpl.C:
1085 * messages.C: use support/package.h to provide the paths to the
1086 various directories used by LyX.
1088 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1090 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1091 layout if pasting into an empty paragraph)
1093 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1095 * tex-accent.C: add <string>
1097 2005-01-06 José Matos <jamatos@lyx.org>
1099 * ParagraphParameters.C (write): put every parameter in its own line.
1100 * paragraph.C (write): reduce number of consecutive empty lines exported.
1101 * buffer.C (LYX_FORMAT): increase file format to 239.
1103 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1105 * everywhere: change support/tostr.h -> support/convert.h
1107 * tabular.C: make all write_attributes templates, tostr -> convert
1109 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1110 (emptyTag): and -> &&, and fix type for ret from getChar
1111 (getFirstWord): fix type for ret from getChar
1112 (onlyText): and -> &&
1113 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1116 * toc.C (goTo, action):
1117 * text3.C (dispatch):
1118 * text.C (currentState):
1119 * tex-accent.C (DoAccent):
1122 * lyxfunc.C (menuNew):
1123 * lyxfinc.C (replace):
1124 * counters.C (laberItem):
1125 * bufferview_funcs.C (font2string):
1126 * bufferparams.C (writeFile):
1127 * buffer.C (readFile):
1129 * MenuBackend.C: tostr -> convert
1131 * LaTeX.C (runMessage): fix format
1132 (scanAuxFiles): tostr -> convert
1134 * BufferView_pimpl.C (savePosition): fix format
1135 (restorePosition): ditto
1138 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1140 * Spacing.[Ch]: New method getValueAsString().
1144 * ParagraphParameters.C:
1147 * text3.C: store/read spacing value as string.
1149 * rowpainter.C: change float value (spacing_val) to double.
1151 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1152 broken custom document spacing).
1154 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1156 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1157 namespace, also more use of temp references and const
1159 * cursor.[Ch] (getStatus): move to lyxfunc.C
1161 * bufferparams.C: reformat slightly
1163 * bufferview_funcs.C (font2string): constify arg
1169 * buffer_funcs.C: (many funcs): constify arg on function
1170 definitions, also make more local vars const, also add ASSERTS on
1173 * buffer.C (LYX_FORMAT): put const in correct place
1174 (many funcs): constify arg on function definitions, also make
1175 more local vars const
1177 * aspell_local.h: remove "struct" from typdef setup
1179 * aspell.C (check): make word_ok const
1180 (nextMiss): simplify slightly
1183 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1185 * lyxrc.[Ch]: store all float values as strings.
1186 use int (not float) for lyxrc.dpi.
1188 2005-01-04 Angus Leeming <leeming@lyx.org>
1190 * lyx_cb.C (Reconfigure):
1191 * lyx_main.C (queryUserLyXDir):
1192 to run the <system_lyxdir>/configure correctly on Windows, prefix
1193 the path to the script with "sh " when generating the string that
1194 is passed to system().
1196 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1198 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1200 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1202 * lyxlength.C (asLatexString): get rid of setprecision
1204 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1206 * text2.C (setLayout): remove unused variable endpit.
1207 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1209 * paragraph.C (onlyText): remove unused variable style.
1211 * cursor.C (bruteFind): remove unused variables beg and end.
1213 * Makefile.am (dist_noinset_DATA): not needed anymore
1215 * cheaders/*: remove.
1217 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1219 * text3.C: fix LFUN_MATH_MODE.
1221 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * buffer_funcs.C (countWords): new function. Counts words between
1226 * BufferView_pimpl.C (getStatus, dispatch): handle
1229 * LyXAction.C (init):
1230 * lfuns.h: add LFUN_WORDS_COUNT.
1232 2004-12-19 Angus Leeming <leeming@lyx.org>
1234 * buffer.C (save): s/slashify_path/internal_path/.
1236 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1238 * lyxfind.C (findChange): do not search for end of pars, because
1239 the change tracker cannot handle this (fixes bug 1719).
1241 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1243 * paragraph.[Ch] (autoBreakRows): remove
1245 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1247 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1248 avoid using the paragraph one
1250 * text2.C (LyXText, insertStringAsLines): adjust
1252 2004-12-16 Angus Leeming <leeming@lyx.org>
1256 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1258 2004-12-14 Angus Leeming <leeming@lyx.org>
1260 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1262 * bufferlist.C (emergencyWrite):
1263 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1266 2004-12-14 Angus Leeming <leeming@lyx.org>
1268 * main.C: (main): no longer pass pointers to os::init.
1270 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1272 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1273 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1275 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1278 * text3.C: remove selection_possible global flag
1280 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1282 * text2.C (getSelectionSpan): remove
1283 (changeDepth, changeDepthAllowed): adjust
1285 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1287 * Makefile.am (BOOST_LIBS): use boost variables
1289 2004-12-03 José Matos <jamatos@lyx.org>
1291 * buffer.C: format up to 238.
1293 2004-12-03 José Matos <jamatos@lyx.org>
1295 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1297 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1299 * cursor.C (goUpDown): remove call to idxUpDown2
1301 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1303 * tabular.[Ch]: use size_t-like types for cell, row and column
1306 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1308 * lyxfunc.C (getStatus): do not lose previous information when
1309 calling BufferView::getStatus; do not set a default "Command
1310 disabled" message at the beginning, but just before returning.
1312 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1314 * cursor.h (getStatus): add better comment from src/cursor.C
1316 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * text3.C (getStatus): return false when the lfun is not handled
1320 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * broken_headers.h: remove
1324 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1326 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1328 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1329 offset_ref accessors
1331 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1332 top_y_, merge fitcursor with update
1333 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1335 (metrics): introduce
1336 (workAreaDispatch): adapt to new coord scheme
1337 (redoCurrentBuffer): remove
1339 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1341 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1344 * coordcache.[Ch]: add paragraph cache and helpers
1346 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1349 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1350 (targetX, setTargetX): introduce
1352 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1353 baseline -> ascent, as the rest of lyx
1355 * lyxtext.h: remove redoParagraphs, updateParPositions,
1356 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1357 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1358 have ascent/descent (ascent is ascent of first par)
1360 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1363 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1365 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1367 * pariterator.C: fix infinite loop introduced in par->pit renaming
1369 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1370 in insets and LyXText, draw two off-screen paragraphs using
1371 NullPainter, and adapt to new coord scheme
1375 * text3.C: adapt lfun handlers to the new coord scheme, which
1376 means: there's only guaranteed coord information for onscreen pars
1377 plus one above and one below. This implies that one can do search
1378 from y coordinates in the range [-1,workHeight]
1380 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1382 * rename a lot of InsetOld to InsetBase
1384 2004-11-25 Angus Leeming <leeming@lyx.org>
1386 * BufferView_pimpl.C:
1388 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1390 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1393 call BufferView::getStatus if LCursor::getStatus did nothing
1394 (setStatusMessage, getStatusMessage): removed.
1396 * FuncStatus.C (message): new methods. Used to provide an error
1397 message indicating why a command is disabled.
1398 (clear, |=, FuncStatus): update for message.
1400 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1402 * lyxfunc.C (dispatch): always call sendDispatchMessage
1404 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1407 * BufferView_pimpl.C:
1412 * cursor_slice.[Ch]:
1415 * paragraph_funcs.C:
1421 * undo.C: par->pit renaming
1423 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1425 * tabular.C (cellstruct): use initialization, store a shared_ptr
1426 to insettext instead of the insettext directly, adjust to fit.
1427 (operator=): new function
1428 (swap): new function
1429 (rowstruct): use initialization
1430 (columnstruct): use initialization
1431 (ltType): use initialization
1434 * lyxlength.h (swap): new function
1436 * LColor.[Ch] (operator=): use the common semantics
1438 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1440 * lyxfind.C (findNextChange): update the bufferview after setting
1443 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1445 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1446 number of InsetOptArgs has already been inserted.
1448 * output_latex.C (latexOptArgInsets): new method. This outputs all
1449 the optarg insets, up to the limit defined in the layout file.
1450 (optArgInset): removed
1451 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1453 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1455 * paragraph.C (isLetter): remove special spellchecker-related
1456 code; return true also for digits
1457 (isWord, isKomma): remove
1459 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1460 * lyxfind.C (MatchString()): use isLetter instead of isWord
1462 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1464 * pariterator.h (operatir=): comment out un-implemented member
1467 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1470 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1472 * lyxfont.h: include LColor.h to satisfy concept checks.
1474 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1476 * pariterator.h: add typdefs for value_type, difference_type,
1477 pointer and reference to satisfy concept checks. Also add default
1478 constructor for same reason.
1480 * pariterator.C (operator++): add post-increment operator to
1481 satisfy concept checks.
1483 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1486 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1488 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1489 checks. Also rename base_type to BaseType to follow naming
1492 * FloatList.h: include Floating.h to satisfy concept checks.
1494 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * lyxfunc.C (getStatus): when the origin of the request is menu or
1497 toolbar, and the LyXView does not have focus, do as if there was
1498 no buffer (bug 1720)
1500 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1501 FuncRequest to individual entries of LFUN_SEQUENCE
1503 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1505 * output_latex.C (TeXOnePar): override runparams.moving_arg
1506 according to the needprotect value of the current paragraph (bug
1509 * paragraph.C (simpleTeXOnePar): no need to override
1510 runparams.moving_args here
1512 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1514 * vspace.C: fix off-by-one-error, related to fix #1682
1516 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1518 * lengthcommon.C: a more general fix for bug 1682
1520 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1522 * text.C (backspace): fix crash
1524 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1526 * format.[Ch] (getFormatFromFile): new method
1527 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1529 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1531 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1533 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1535 * lyxfunc.C (dispatch): remove the verbose argument
1536 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1539 * kbmap.C (defkey): set the origin of func to KEYBOARD
1541 * MenuBackend.C (MenuItem):
1542 * ToolbarBackend.C (add): set the origin of func to UI
1544 * funcrequest.[Ch]: add origin member, which indicates which part
1545 of LyX requests an action
1547 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1549 * converter.C (move): don't lie in the error message
1550 * converter.h (isReachable, move): document
1552 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1554 * buffer.C: remove unused using lyx::support::atoi
1555 * paragraph_funcs.C: ditto
1557 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1559 * bufferlist.C (exists): use bind and equal_to instead of
1562 * lyxtextclasslist.C (NumberOfClass): ditto
1564 * cursor.C (insert): use for_each instead of explicit for loop
1566 * bufferlist.C (getFileNames): use std::transform and
1567 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1569 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1572 * buffer.C (changeLanguage): use for_each instead of explicit for
1574 (hasParWithID): implement using getParFromID
1576 * LaTeXFeatures.C: ws change only
1578 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1581 * BufferView_pimpl.C (trackChanges): use for_each instead of
1584 2004-11-04 André Pönitz <poenitz@gmx.net>
1587 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1589 * dociterator.C (asDocIterator): use hard assert again.
1591 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1593 * lyxlength.C (asLatexString): rewrite so that it does not use
1596 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * text3.C (specialChar, dispatch): make sure cursor moves to the
1599 right after inserting an inset
1601 2004-11-02 José Matos <jamatos@lyx.org>
1603 * output_docbook.C (docbook):
1604 * paragraph.C (getID):
1605 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1606 garantee that the output is always legal.
1608 * tabular.C (docbook):
1609 * outputprams.[Ch]: remove mixed contents.
1611 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1613 * text2.C (setCounter): prevent endless loop
1615 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1617 * exporter.C (copyFile): use the mover instead of support::copy()
1618 * exporter.C (Export): pass format and latex name to copyFile()
1619 * exporter.h (addExternalFile): document
1620 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1622 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1624 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1626 2004-10-30 José Matos <jamatos@lyx.org>
1628 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1629 text and no inset or font change. This allows to use CDATA
1630 sections just for the whole paragraph.
1632 2004-10-30 José Matos <jamatos@lyx.org>
1634 * paragraph.C (getFirstWord): remove unused variable.
1636 2004-10-30 José Matos <jamatos@lyx.org>
1638 * paragraph.C (getFirstWord): the content should always be escaped
1640 (simpleDocBookOnePar):
1641 * output_docbook.C (makeEnvironment): replace reference to CDATA
1644 2004-10-30 José Matos <jamatos@lyx.org>
1646 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1648 2004-10-30 José Matos <jamatos@lyx.org>
1650 * output_docbook.C (makeParagraphs):
1651 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1652 standard paragraph has only a given type of content drop the wrapper.
1654 2004-10-29 José Matos <jamatos@lyx.org>
1656 * output_docbook.C (makeEnvironment):
1658 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1660 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1662 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1663 (cleanID): sanitize any id.
1665 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1667 * buffer.C, lyxlex_pimpl.C:
1668 * lyxlex_pimpl.C (setFile):
1669 s/getExtFromContents/getFormatFromContents/
1671 2004-10-28 José Matos <jamatos@lyx.org>
1673 * output_docbook.C (makeEnvironment): move id to broadest possible
1676 * sgml.C (openTag): apply substitution of <> for all attributes.
1678 2004-10-28 José Matos <jamatos@lyx.org>
1680 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1681 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1682 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1684 * sgml.[Ch]: new version for open and closeTag for paragraph and
1685 for strings. Now they handle the ids of paragraphs.
1687 2004-10-26 Angus Leeming <leeming@lyx.org>
1689 * Makefile.am: add mover.[Ch].
1691 * converter.C (convert, move): use the new Movers to move external
1692 files to the temp directory.
1694 * lyx_main.C (init): ensure that the global system_movers data
1697 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1700 * mover.[Ch]: new files, defining a Mover as a utility to move an
1701 external file between directories and, if necessary, manipulate this
1702 file using a helper script.
1704 2004-10-25 José Matos <jamatos@lyx.org>
1706 * output_docbook.C (makeCommand): merge two if's that tested the
1709 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1711 * sgml.C (escapeString): fix warning in a better way
1713 2004-10-25 José Matos <jamatos@lyx.org>
1715 * sgml.C (escapeString): import the require boosts header file for
1716 tie, and avoid a signed unsigned comparison.
1718 2004-10-25 José Matos <jamatos@lyx.org>
1720 * sgml.h: add #include <string>
1722 2004-10-25 José Matos <jamatos@lyx.org>
1724 * sgml.[Ch] (escapeString): new function to escape all the string.
1726 2004-10-24 José Matos <jamatos@lyx.org>
1728 * paragraph.[Ch] (getFirstWord): new function to get the first
1729 word. Useful for description.
1730 (simpleDocBookOnePar): remove depth argument, add another that
1731 says where to start the paragraph.
1733 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1734 use the new functions to fix cleanly the support for descriptions.
1736 2004-10-24 José Matos <jamatos@lyx.org>
1738 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1739 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1740 * output_linuxdoc.C (linuxdocParagraphs):
1741 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1742 add buffer as argument.
1744 2004-10-24 José Matos <jamatos@lyx.org>
1746 * output_docbook.C (makeEnvironment, searchEnvironment): place
1747 CDATA inside paragraphs and fix scope for listitems.
1749 2004-10-24 José Matos <jamatos@lyx.org>
1751 * output_docbook.C: remove using statement for stack.
1753 2004-10-23 José Matos <jamatos@lyx.org>
1755 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1756 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1757 docbook. The new scheme is recursive and makes use of iterators, the
1758 same as latex export works.
1759 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1760 directly with the paragraph contents. This code was moved up to
1761 output_docbook.C (docbookParagraphs).
1762 * sgml.C (openTag, closeTag): removed unneeded newlines.
1763 (closeEnvTags) removed.
1765 2004-10-23 André Pönitz <poenitz@gmx.net>
1767 * undo.C (textUndoOrRedo):
1768 * dociterator.C (asDocIterator): work around crash
1770 * cursor.C (getStatus): replace ASSERT by more verbose error message
1771 and manual correction of the problem. Should increase stability
1772 while providing more sensible information.
1774 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1778 * bufferlist.C (previous, next): new methods
1781 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1783 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1785 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1786 entities to preamble.
1788 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1790 * messages.C (Pimpl): strip off translation context information
1792 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1795 the cursor is correct (bug 1694)
1797 2004-10-13 José Matos <jamatos@lyx.org>
1799 * output_docbook.C (docbookParagraphs): fix closing tags in the
1800 end of the document.
1802 2004-10-09 José Matos <jamatos@lyx.org>
1804 * buffer.C: format up to 237.
1805 * bufferparams.C (write): use tostr to convert booleans to strings.
1807 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1809 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1811 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1813 * LaTeX.C: implement use of babel language in xindy.
1815 2004-10-05 José Matos <jamatos@lyx.org>
1817 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1818 Add new translators to help reading and writing the lyx file.
1820 2004-10-05 José Matos <jamatos@lyx.org>
1822 * ParagraphParameters.C (read):
1823 * text.C (readParToken): replace nexToken by more appropriate lex
1826 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1828 * LaTeX.C (runMakeIndex):
1829 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1830 (usually 'makeindex') configurable.
1832 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1833 with a variable rather than with a number.
1835 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1837 * output_latex.C (TeXOnePar): make sure font setting is the first
1838 thing that gets output (and the last at the end). Should fix bug
1841 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1843 * pch.h: use proper signal include
1845 * LaTeX.h: Use preferred calling of Boost.Signal
1848 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1850 * pch.h: dont include <boost/function/function0.hpp>
1852 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1854 * paragraph_pimpl.h: remove usage of ShareContainer
1856 * paragraph_pimpl.C: remove initialization of ShareContainer.
1858 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1862 * BufferView.C (putSelectionAt): change the semantics when
1863 backwards == true: now, this just swaps cursor and anchor wrt the
1866 * BufferView.h (putSelectionAt): add some documentation
1868 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1869 make sure backwardChar is done at least once (to avoid getting
1871 (findNextChange): use putSelectionAt in the forward direction
1872 (operator()): use Paragraph::isWord
1874 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1876 * Spacing.C (set): c_str fix
1878 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1880 * lyx_cb.C (Reconfigure): quote the name of configure script in
1881 case it contains spaces
1883 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1887 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1888 (BOOST_LIBS): use top_buildir when looking for the file
1890 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1892 * pch.h: do not use include boost/format.hpp, multiple symbols
1893 will result (gcc bug)
1896 2004-08-23 José Matos <jamatos@lyx.org>
1898 * bufferparams.C (readToken): fix reading of the author field.
1900 2004-08-20 José Matos <jamatos@lyx.org>
1902 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1904 2004-08-20 José Matos <jamatos@lyx.org>
1906 * lyxlex.[Ch] (findToken): remove function.
1908 * ParagraphParameters.C (findToken):
1909 * bufferparams.C (findToken): replace call for previous function
1910 with local copy. This local function has one more argument, the
1911 read string argument.
1913 2004-08-16 José Matos <jamatos@lyx.org>
1915 * ParagraphParameters.C (write):
1916 * Spacing.C (writeFile):
1917 * bufferparams.C (writeLaTeX):
1918 * lyx_cb.C (Reconfigure):
1919 * paragraph.C (write):
1920 * tabular.C (write): remove unnecessary space at end of line.
1923 2004-08-16 José Matos <jamatos@lyx.org>
1925 * text.C (readParagraph): remove debug message.
1927 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1932 * output_plaintext.C (asciiParagraph): set depth correctly
1934 * outputparams.h: add member depth
1936 * paragraph_funcs.C (ownerPar): remove.
1938 * text2.C (setCounter): remove first_pit; comment out some
1939 non-working code that uses ownerPar
1941 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1944 2004-08-16 José Matos <jamatos@lyx.org>
1946 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1947 For the same level of importance use the same chanel to report problems.
1948 (read): add code to deal with \begin_body and \end_body.
1951 2004-08-15 José Matos <jamatos@lyx.org>
1953 * lyxlex.C (getString): fix comment, buffer::readBody is now
1954 buffer:readDocument.
1956 * tex-strings.C (string_papersize): Default -> default,
1957 Custom -> custom, for consistency with other options.
1959 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1963 * Makefile.am: support pch
1965 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1967 * text.C (readParToken): remove the static LyXFont variable and
1968 pass it as a parameter instead. This fixes a nasty bug where an
1969 inset will be inserted with a bad font in some situations
1970 (readParagraph): adapt
1972 * text2.C (setCounter): reduce number of calls to pars_[pit]
1974 * text.C (singleWidth): add an assert, fix a test
1976 * rowpainter.C (paintText): reduce number of calls to singleWidth
1978 * paragraph.C (isHfill):
1979 (isNewline): ws only
1981 2004-08-14 André Pönitz <poenitz@gmx.net>
1986 * lyxtext.h (several functions): use a Paragraph & argument
1989 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1991 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1993 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1995 * text.C (singleWidth): remove useless test
1997 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1999 * tabular.h: remove bogus comments
2001 * tabular.C (getDescentOfRow):
2002 (isPartOfMultiColumn): add assertions
2004 * lyxlength.C (inPixels): remove #warning
2006 2004-08-14 André Pönitz <poenitz@gmx.net>
2008 * paragraph.h: inline getChar()
2010 * BufferView.h: remove unused declarations
2012 2004-08-14 José Matos <jamatos@lyx.org>
2014 * Buffer.[Ch] (readDocument): new name for old readBody.
2015 * Buffer.C: new file format, new keywords: \begin_document,
2016 \begin_header, \begin_body, \end_body.
2018 * bufferparams.C (readToken): replace all calls to lex.nextToken
2019 by lex.next(). Do the same to eatLine except where really needed.
2021 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2022 line when writing to the lyx file.
2024 * output_plaintext.C (asciiParagraph): fix Bibliography style
2027 * text.C (read): fix end of file handling.
2029 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2031 * MenuBackend.C (Menu::operator[]): new method to access
2032 individual menu items
2033 (Menu::hasFunc): new method. search for an item that corresponds
2035 (MenuBackend::specialMenu): new method
2036 (MenuBackend::expand): if a special menu has been set, skip
2037 entries whose func() appears in this menu
2039 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2041 * text3.C: use Debug::DEBUG a bit more
2043 * text.C (leftMargin): try to simplify a tiny bit change var x to
2044 l_margin. Dont output the wide margins always.
2045 (rightMargin): no margin in inner texts
2047 * rowpainter.h (nestMargin): new func
2048 (changebarMargin): new func
2049 (rightMargin): new func
2051 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2055 * factory.C (createInset): modify setDrawFrame
2057 * cursor.C: use Debug::DEBUG a bit more
2059 2004-08-14 André Pönitz <poenitz@gmx.net>
2062 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2063 cache for all insets in (at least partially) visible (top-level)
2066 * BufferView_pimpl.C: reset external coord cache before every update.
2067 This means the coord cache only contains valid entries.
2069 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2072 * BufferView_pimpl.C (getInsetByCode): move function out of class
2073 and change in to a template in anon namespace. Also fix to do what
2076 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2079 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2081 (breakParagraph): rename par to par_offset and use a local
2082 reference. Add code to keep the language over a rebreak.
2083 (breakParagraphConservative): rename par to par_offset, use a
2085 (mergeParagraph): ditto
2087 (isFirstInSequence): ditto
2088 (outerFont): rename pit to par_offset
2090 * paragraph.C: ws change
2091 * paragraph.h: ditto
2095 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2097 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2100 * paragraph.C (simpleTeXOnePar): when we have a \item with
2101 optional argument, enclose the argument with curly brackets (in
2102 case it contains a closing square bracket)
2106 * text3.C (checkInsetHit): constify
2108 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2111 documents (bug 1629)
2113 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 Fix toggling of collapsable insets with the mouse (bug 1558)
2117 * lyxfunc.C (dispatch): adapt to LCursor changes
2119 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2120 make sure that dispatch is not invoked twice
2122 * cursor.C (needsUpdate): new method
2123 (dispatch): return void
2124 (result): new method, to access the DispatchResult of the cursor.
2126 2004-08-13 José Matos <jamatos@lyx.org>
2128 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2130 2004-08-13 André Pönitz <poenitz@gmx.net>
2132 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2134 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2137 2004-08-12 André Pönitz <poenitz@gmx.net>
2139 * text3.C: take out the 'cursor right' form insertInset and only
2140 do it in those places when it is really needed. Fixes crash on
2143 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2145 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2147 * BufferView_pimpl.C (setBuffer): initialize the current font of
2148 the underlying LyXText
2150 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2152 * kbsequence.C (print): use UI native formatting for menu
2155 * text.C (insertChar): call Paragraph::insertChar with a font
2158 * paragraph.C (insertInset, insertChar): the version that takes a
2159 LyXFont argument is now a wrapper around the other one (the
2160 opposite used to be true).
2162 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2163 argument. Font setting is done in Paragraph now.
2165 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * outputparams.h: add new members intitle and lang.
2169 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2170 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2172 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2174 * text3.C (dispatch): remove special handling of button 4 and 5,
2175 it is now taken care of in the frontend code.
2177 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2179 * Spacing.h: add <string> (STLPort compile fix)
2181 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2183 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2185 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2187 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2190 * converter.C (showMessage): inherit from unary_function, make
2193 * buffer.C (writeFile): initialize retval
2195 * InsetList.h: rename private variable list to list_
2196 * InsetList.[Ch]: adjust accordingly.
2198 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2200 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2201 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2202 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2203 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2204 * ParagraphParameters.C, LaTeXFeatures.C: replace
2205 "support/std_sstream.h" with <sstream>
2207 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2209 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2210 * lyxsocket.C (LyXServerSocket): ditto
2211 (serverCallback): ditto
2213 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2215 * LaTeXFeatures.C: check release date when loading jurabib.
2217 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2219 * lyxserver.C (startPipe): call register_socket_callback
2220 (endPipe): call unregister_socket_callback
2222 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2224 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2225 (LyXServerSocket): register the callback
2226 (LyXServerSocket): unregister the callback
2227 (fd): delete function
2228 (serverCallback): improve error checking and setup the callbacks.
2229 (dataCallback): change arg to fd.
2230 (writeln): new func (copied fro the client socket) used for server
2232 (LyXDataSocket): simplify
2233 (~LyXDataSocket): close ann unregiser callback
2234 (server): delete function
2235 (fd): delete function
2236 (readln): small changes, improve some std::string usage
2237 (writeln): constify a bit
2239 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2241 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2244 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2246 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2247 after it has been populated
2249 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2251 * text2.C (insertInset): move cursor when inserting inset.
2253 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * kbmap.C (findbindings): a couple of new methods. returns a
2256 container of kb_sequence objects. The real work is done by the
2257 private recursive version
2258 (printbindings): uses findbindings to print out a bracketed list
2259 of bindings (renamed from findbinding).
2261 * MenuBackend.C (binding): use kb_keymap::findbindings
2263 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2265 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2267 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2269 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2271 * paragraph.C (isWord): return true on insets that report
2274 * text.C (getWord): use Paragraph::isWord to decide what is in a
2275 word and what is not; fix bug 1609.
2277 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2279 * tex-strings.C: add "none" to string_paperpackages[], fixes
2280 off-by-one-error in the paperpackage selection.
2283 * tex-strings.[Ch]: char const * string[n]
2284 -> char const * const string[]
2286 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2289 command, return early.
2291 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2293 * debug.h: add DEBUG to enum and fix size of ANY.
2295 * debug.C: add support for Debug::DEBUG
2296 (showTags): cast errorTags.level to unsigned int
2298 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2299 (redoCurrentBuffer): ditto
2300 (updateScrollbar): ditto
2301 * cursor.C (dispatch): ditto
2302 * text2.C (setLayout): ditto
2304 (updateCounters): ditto
2306 (deleteEmptyParagraphMechanism): ditto
2308 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2310 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2311 annotations to cleanup the Makefile slightly.
2313 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2315 * lyxrc.C: do not set user_email to a default value but use empty
2316 instead. The entry used to be translated, which does not work
2317 since at the point where lyxrc is constructed there is no
2318 translation service available
2320 * messages.C (getLocaleDir): remove and use directly
2321 lyx_localedir() instead
2323 2004-06-02 Angus Leeming <leeming@lyx.org>
2325 Fix crash caused by dereferencing null pointer 'exportdata' in
2326 OutputParams by creating a new ExportData variable on the heap,
2327 storing it in a boost::shared_ptr.
2328 The crash was triggered when generating an Instant Preview
2329 of an external inset.
2331 * Makefile.am: add outputparams.C
2333 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2334 (c-tor): allocate memory to it.
2336 * exporter.C (c-tor): associated changes.
2338 2004-06-01 Angus Leeming <leeming@lyx.org>
2340 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2341 contains data before calling isInset(0). (Bug 1513.)
2343 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2345 * exporter.C (checkOverwrite): new method
2346 * exporter.C (copyFile): new method
2347 * exporter.C (Export): copy referenced files to the document dir
2348 * exporter.[Ch]: new class ExportedFile
2349 * exporter.[Ch]: new class ExportData. Contains currently the
2350 names of referenced external files
2351 * outputparams.h: add exportdata member.
2353 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2355 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2358 2004-05-19 Angus Leeming <leeming@lyx.org>
2363 * lyxfunc.C: small changes due to the introduction of namespace
2364 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2366 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2368 * text3.C (dispatch): supress update when only moving the cursor
2369 * cursor.C (selHandle): remove commented code
2371 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2373 * paragraph.C (startTeXParParams): correct column count
2374 * CutAndPaste.C (pasteSelection): remove const_cast
2375 * output_docbook.C (docbookParagraphs): remove const_cast
2376 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2377 const_cast and return ParagraphList::const_iterator
2378 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2379 * output_plaintext.C (writeFileAscii): remove const_cast
2380 * paragraph.[Ch] (simpleTeXOnePar): make const
2381 * paragraph_funcs.C (outerPar): use const iterators
2382 * paragraph_pimpl.C (validate): use const iterators
2383 * text.C (setHeightOfRow): use const iterators
2385 2004-05-17 Angus Leeming <leeming@lyx.org>
2388 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2390 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2391 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2392 if the citation engine has changed.
2394 2004-05-14 José Matos <jamatos@lyx.org>
2396 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2397 if the textclass does not provide it. Have it different for sgml and
2399 support the language of document.
2400 * output_docbook.C (docbookParagraphs):
2401 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2402 first anchor as the id of the paragraph, remove special case code.
2403 * sgml.C (escapeChar): escape only < & >.
2405 2004-05-14 Angus Leeming <leeming@lyx.org>
2407 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2408 dependencies on src/frontends/controllers/biblio.h. Define a
2409 CiteEngine_enum wrapper class to enable the enum to be forward
2412 2004-05-12 Angus Leeming <leeming@lyx.org>
2414 * buffer.C: up LYX_FORMAT to 234.
2415 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2416 use_numerical_citations with a single biblio::CiteEngine cite_engine
2418 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2420 2004-05-13 José Matos <jamatos@lyx.org>
2423 * converter.C (Converter, readFlags): add xml member.
2424 * outputparams.h: add XML flavor.
2425 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2427 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2429 * lyxfunc.C (dispatch):
2430 (getStatus): fix handling of LFUN_SEQUENCE
2432 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2434 * debug.C (showLevel): do not forget the end-of-line marker
2436 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2438 * kbmap.C (read): do not stop parsing a bind file when an error
2441 2004-04-29 Angus Leeming <leeming@lyx.org>
2446 * text2.C: wrap a bunch of #warning statements
2447 inside #ifdef WITH_WARNINGS blocks.
2449 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2451 * buffer.C: increment format to 233.
2453 2004-04-28 Angus Leeming <leeming@lyx.org>
2455 * BufferView_pimpl.C:
2458 s/updateToolbar()/updateToolbars()/
2459 s/Toolbar.h/Toolbars.h/
2461 2004-04-28 Angus Leeming <leeming@lyx.org>
2463 * BufferView.[Ch] (c-tor):
2464 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2465 No longer passes these data to the WorkArea generator.
2467 2004-04-28 Angus Leeming <leeming@lyx.org>
2469 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2471 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2473 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2475 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 * output_latex.C (TeXEnvironment): make sure that there is a line
2478 break before \end{foo} for the last paragraph of a document
2479 (TeXOnePar): if the paragraph is at the end of the document (or
2480 inset) and the language has to be reset, then make sure that the
2481 line break is _before_ the language command, not after (fixes bug
2482 1225); also make sure that the language reset command is the first
2483 thing after the paragraph (to ensure proper nesting of
2484 environments and thus fix bug 1404)
2486 2004-04-21 John Levon <levon@movementarian.org>
2489 * ToolbarBackend.C: make "name" be a programmatic name
2490 and a gui_name field.
2492 * lyxfunc.C: display the minibuffer on M-x
2494 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2499 2004-04-19 Angus Leeming <leeming@lyx.org>
2501 * BufferView_pimpl.C (setBuffer): changed preview interface.
2503 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2506 2004-04-19 John Levon <levon@movementarian.org>
2508 * BufferView_pimpl.C:
2509 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2511 2004-04-05 Angus Leeming <leeming@lyx.org>
2513 * text.C (redoParagraphs): add call to updateCounters(), thereby
2514 fixing the missing "Figure #:" label from the caption of a
2517 2004-04-13 Angus Leeming <leeming@lyx.org>
2519 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2520 cursor is clicked out of an inset.
2522 2004-04-13 Angus Leeming <leeming@lyx.org>
2524 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2525 than an InsetOld one.
2527 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2529 * format.[Ch]: add editor to Format
2530 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2531 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2533 2004-04-08 André Pönitz <poenitz@gmx.net>
2535 * metricsinfo.h: remove PainterInfo::width member
2537 2004-04-08 Angus Leeming <leeming@lyx.org>
2539 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2540 "\providecommand" rather than "\newcommand", thereby preventing
2541 clashes with packages that define "\boldsymbol" themselves.
2544 2004-04-08 Angus Leeming <leeming@lyx.org>
2546 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2547 thereby squashing an unnecessary warning.
2549 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2551 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2554 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2556 * BufferView.C (setCursor): call redoParagraph (some insets could
2558 (putSelectionAt): remove the 'double update' trick
2560 * BufferView_pimpl.C (fitCursor): call refreshPar
2561 (workAreaDispatch): remove an uneeded update call
2562 (dispatch): remove some manual update calls
2564 * cursor.[Ch]: remove cached_y_, updatePos
2565 (selHandle): set noUpdate when appropriate
2567 * lyxfunc.C (dispatch): track if we need an update
2569 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2571 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2572 (paintSelection): cheap optimization, do not call cursorX when not
2574 (paintPars): change signature
2577 (paintTextInset): adjust
2581 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2583 * lengthcommon.C: compilation fix: remove explicit array size from
2584 unit_name[] and friends
2586 2004-04-05 Angus Leeming <leeming@lyx.org>
2588 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2590 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2591 present only for the preferences dialog.
2592 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2594 2004-04-05 Angus Leeming <leeming@lyx.org>
2596 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2597 to enable the frontends to export changes to lyxrc correctly.
2599 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2601 2004-04-07 André Pönitz <poenitz@gmx.net>
2603 * cursor.[Ch] (selClear, adjust): remove math
2605 * cursor_slice.C: more agressive assert
2608 * BufferView_pimpl.C: rework mouse event dispatch
2615 2004-04-05 André Pönitz <poenitz@gmx.net>
2617 * cursor.[Ch] (valign, halign...): remove unneeded functions
2619 2004-04-05 Angus Leeming <leeming@lyx.org>
2621 * lyxlength.[Ch] (unit_name et al.): const-correct.
2623 2004-04-05 Angus Leeming <leeming@lyx.org>
2625 * BufferView_pimpl.C:
2634 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2636 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2638 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2640 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2642 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2643 * BufferView_pimpl.[Ch] (getStatus)
2644 * BufferView.[Ch] (getStatus): add
2645 * lyxfunc.C (getStatus): move lfuns handled in
2646 BufferView::dispatch to te function above
2647 * Cursor.C (setSelection): set selection() = true
2649 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2651 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2653 2004-03-31 Angus Leeming <leeming@lyx.org>
2655 * lyxfunc.C (dispatch): Fall through to the generic
2656 Dialogs::show("preamble").
2658 2004-03-31 Angus Leeming <leeming@lyx.org>
2660 * lyxfunc.C (dispatch): Fall through to the generic
2661 Dialogs::show("spellchecker").
2663 2004-03-31 Angus Leeming <leeming@lyx.org>
2665 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2668 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2673 * insetiterator.[Ch]:
2678 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2680 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2682 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2683 insets where we are putting the cursor.
2685 2004-03-31 Angus Leeming <leeming@lyx.org>
2688 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2690 * lyxrc.[Ch] (read, write): overloaded member functions taking
2691 a std::[io]stream arguments.
2693 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2695 2004-03-31 Angus Leeming <leeming@lyx.org>
2697 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2698 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2700 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2701 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2703 2004-03-31 Angus Leeming <leeming@lyx.org>
2705 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2706 the LFUN_ALL_INSETS_TOGGLE code.
2708 2004-03-30 Angus Leeming <leeming@lyx.org>
2710 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2711 has died. Fall through to the generic Dialogs::show("document").
2713 2004-03-30 Angus Leeming <leeming@lyx.org>
2716 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2717 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2719 * lyxfunc.C (getStatus, dispatch): define the actions for these
2720 lfuns. Little more than a cut and pste job from ControlDocument.C
2722 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2724 2004-03-30 Angus Leeming <leeming@lyx.org>
2727 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2728 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2730 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2731 open/closed state of ollapsable insets. Usage:
2733 all-inset-toggle <state> <name>, where
2734 <state> == "open" || "closed" || "toggle" and
2735 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2737 * lyxtext.h, text2.C (toggleInset): removed.
2739 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2740 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2741 now passes LFUN_INSET_TOGGLE to the found inset.
2743 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2744 is now invoked as "all-insets-toggle toggle branch".
2746 2004-03-30 Angus Leeming <leeming@lyx.org>
2750 * pariterator.[Ch]: added/corrected header blurb.
2752 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2754 * dociterator.[Ch]: add an inset_ member
2755 (backwardPos): implemented
2756 (backwardPos, forwardPos): use inset_ when the stack is empty.
2757 (doc_iterator_begin, doc_iterator_end): implemented
2758 * pariterator.[Ch]: adjust, add begin, end
2759 * insetiterator.[Ch]: adjust, add begin, end
2763 * BufferView_pimpl.C:
2764 * CutAndPaste.C: adjust
2766 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2768 * buffer.C: increment file format to 232.
2769 * LaTeXFeatures.C: add bibtopic package.
2770 * bufferparams.[Ch]: param \use_bibtopic.
2772 * lyxrc.[Ch]: add lyxrc bibtex_command
2773 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2775 * buffer.C: increment file format to 231.
2777 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2779 * dociterator.C: implement forwardPar
2780 * iterators.[Ch]: remove, replaced by
2781 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2783 * BufferView_pimpl.C:
2786 * bufferview_funcs.C:
2792 * Makefile.am: adjust
2794 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2796 * CutAndPaste.C (pasteSelection): fix 2 crashes
2797 (eraseSelection): fix a crash
2798 * paragraph_funcs.C: remove a warning
2800 2004-03-28 Angus Leeming <leeming@lyx.org>
2803 * LyXAction.C (init): new LFUN_PRINT.
2805 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2807 2004-03-27 Angus Leeming <leeming@lyx.org>
2810 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2812 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2814 2004-03-27 Angus Leeming <leeming@lyx.org>
2816 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2817 insetlist always contains non-null pointers to insets.
2819 2004-03-26 Angus Leeming <leeming@lyx.org>
2821 * src/BufferView_pimpl.C:
2822 * src/CutAndPaste.C:
2825 * src/output_plaintext.C:
2826 * src/outputparams.h:
2827 * src/paragraph_funcs.C:
2831 * src/frontends/controllers/ControlErrorList.C:
2832 * src/frontends/gtk/FileDialogPrivate.C:
2833 * src/frontends/gtk/GPainter.C:
2834 * src/frontends/gtk/GToolbar.C:
2835 * src/frontends/qt2/QRef.C:
2836 * src/mathed/math_scriptinset.C: squash compiler warnings.
2838 2004-03-26 Angus Leeming <leeming@lyx.org>
2840 * ispell.C (LaunchIspell::start):
2841 * lyx_cb.C (AutoSaveBuffer::start):
2842 invoke run(DontWait) rather than runNonBlocking().
2844 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2846 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2848 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2850 * kbsequence.C (print): adjust
2852 * kbmap.C (printKeySym): rename and change signature
2853 (printKey): use LyXKeySym::print()
2855 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2857 * undo.C: add using std::advance to compile for stlport
2859 2004-03-24 Angus Leeming <leeming@lyx.org>
2861 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2862 it leads to a crash when no buffer is present.
2864 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2865 Martin Vermeer <martin.vermeer@hut.fi>
2867 * lyxfunc.C (dispatch):
2868 * bufferparams.C (readToken): use the new LColor::setColor
2870 * LColor.[Ch] (setColor): new version that takes two strings as
2871 argument and creates a new color entry if necessary
2873 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2875 * buffer.C (makeLaTeXFile): if the main latex file that is
2876 processed is usually a subdocument of some master, then pretend
2877 for a while that it is actually the master
2879 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2881 * buffer.C (getLabelList):
2882 (getBibkeyList): use getMasterBuffer()
2883 (getMasterBuffer): new method. Returns the main document in the
2884 case where one is using included documents.
2886 2004-03-25 André Pönitz <poenitz@gmx.net>
2890 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2892 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2894 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2895 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2897 * ParameterStruct.h: merge with ParagraphParameters
2899 * lyxtext.h: remove LyXText::parOffset() and getPar()
2901 * text3.C: Remove all 'manual' update calls. We do now one per user
2902 interaction which is completely sufficient.
2906 * BufferView_pimpl.C:
2907 * FontIterator.[Ch]:
2909 * ParagraphParameters.[Ch]:
2914 * cursor_slice.[Ch]:
2921 * output_docbook.[Ch]:
2922 * output_latex.[Ch]:
2923 * output_linuxdoc.[Ch]:
2924 * output_plaintext.[Ch]:
2926 * paragraph_funcs.[Ch]:
2927 * paragraph_pimpl.[Ch]:
2935 * frontends/controllers/ControlDocument.C:
2936 * frontends/controllers/ControlErrorList.C:
2937 * frontends/controllers/ControlSpellchecker.C:
2940 * insets/insetbase.h:
2941 * insets/insetbibitem.C:
2942 * insets/insetbox.C:
2943 * insets/insetbranch.C:
2944 * insets/insetcaption.C:
2945 * insets/insetcharstyle.C:
2946 * insets/insetcharstyle.h:
2947 * insets/insetcollapsable.C:
2948 * insets/insetcollapsable.h:
2949 * insets/insetert.C:
2950 * insets/insetfloat.C:
2951 * insets/insetfoot.C:
2952 * insets/insetmarginal.C:
2953 * insets/insetnote.C:
2954 * insets/insetoptarg.C:
2955 * insets/insettabular.C:
2956 * insets/insettext.C:
2957 * insets/insettext.h:
2958 * insets/insetwrap.C:
2959 * mathed/math_mboxinset.C:
2960 * mathed/math_nestinset.C:
2961 * mathed/math_scriptinset.C:
2962 * mathed/math_scriptinset.h:
2965 2004-03-24 Angus Leeming <leeming@lyx.org>
2967 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2968 deal with any child processes that have finished but are waiting to
2969 communicate this fact to the rest of LyX.
2971 2004-03-24 Angus Leeming <leeming@lyx.org>
2973 64-bit compile fixes.
2975 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2976 (c-tor): pass lyx::pos_types rather than ints.
2978 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2981 * text.C (Delete): compile fix.
2982 (getPar): ensure that function declaration is the same as that in
2985 2004-03-23 Angus Leeming <leeming@lyx.org>
2987 * ispell.C (LaunchIspell):
2988 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2989 a boost::shred_ptr rather than a std::auto_ptr.
2991 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2993 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2994 handle LFUN_FILE_INSERT_*
2996 * lyxrc.C (setDefaults, getDescription, output, read):
2997 * lyxrc.h: remove ps_command
2999 2004-03-22 Angus Leeming <leeming@lyx.org>
3001 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3002 Ensure that error_handler is processed once only and that all data
3003 is saved before attempting to output any warning messages.
3005 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3007 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3009 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3011 2004-03-19 André Pönitz <poenitz@gmx.net>
3013 * cursor.[Ch] (reset): take main text inset as argument
3015 * BufferView: adjust
3016 * BufferView_pimpl.C: adjust
3018 * paragraph.[Ch]: fix completely broken operator=()
3020 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3022 * LColor.C (getFromLyXName): make sure that the color name is used
3025 2004-03-17 Angus Leeming <leeming@lyx.org>
3028 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3030 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3031 dialog and to kill a forked process.
3033 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3035 * text2.C (setCursorFromCoordinates): fix font problem
3037 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3039 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3040 bogus "rebuild cursor" code
3042 2004-03-11 André Pönitz <poenitz@gmx.net>
3044 * buffer.[Ch]: use InsetText instead of LyXText as container for
3047 * dociterator.[Ch]: drop the BufferView * member which is not needed
3048 anymore after the change to buffer.C
3050 * paragraph_funcs.C:
3054 * BufferView_pimpl.[Ch]:
3056 * cursor_slice.[Ch]: adjust
3058 * text3.C: fix bug in mathDispatch
3060 2004-03-08 André Pönitz <poenitz@gmx.net>
3062 * undo.[Ch]: use 'StableDocumentIterator' as base for
3065 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3068 * bufferparams.[Ch]: add jurabib support and param.
3070 * LaTeX.C: add FIXME/comment.
3072 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3074 * buffer.C: increment file format to 230.
3076 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3078 * cursor.C (dispatch): avoid infinite loops
3080 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3082 * rowpainter.C (paintSelection): fix x coordinates
3084 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3086 * text.C (rowBreakPoint): fix breaking before displayed insets
3088 2004-03-01 André Pönitz <poenitz@gmx.net>
3090 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3092 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3096 * BufferView_pimpl.C:
3104 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3110 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3111 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3113 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3115 * Bidi.[Ch] (computeTables): const correctness
3116 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3117 fill_hfill, fill_label_hfill and x from Row
3118 * lyxtext.h: prepareToPrint returns a RowMetrics
3119 * rowPainter.C: adjust
3120 * text.C (prepareToPrint): use width, not textWidth. adjust
3121 (redoParagraphInternal, cursorX): adjust
3122 * text2.C (getColumnNearX): adjust
3123 (init): put a default value to the top LyXText::width
3125 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3127 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3129 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3131 * lyxtext.h: add FontIterator class
3133 * text.C (FontIterator, operator*, operator->, operator++): add
3134 (rowBreakPoint, setRowWidth): adjust (fixing a
3137 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3139 * BufferView_pimpl.C (workAreaDispatch): allow also
3140 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3142 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3144 * text.C (rowBreakPoint): fix a bug showing with very large insets
3146 2004-02-25 André Pönitz <poenitz@gmx.net>
3149 * cursor.[Ch]: move some mathed specific code to mathed
3151 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3153 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3154 use_tempdir in preferences
3155 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3157 * lyx_main.C: ensure that tempdir is valid
3158 * lyxlex.h: correct typo
3159 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3160 * paragraph.[Ch] (isMultiLingual): make const
3161 * cursor.[Ch] (openable): make const
3163 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3165 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3167 2004-02-20 André Pönitz <poenitz@gmx.net>
3169 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3171 * cursor.[Ch]: prepare for localized getStatus()
3177 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3179 2004-02-20 André Pönitz <poenitz@gmx.net>
3181 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3183 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3185 * text2.C (setCursorFromCoordinates): switch to absolute coords
3187 (cursorDown): adjust
3188 * text3.C (dispatch): adjust
3190 2004-02-16 André Pönitz <poenitz@gmx.net>
3192 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3195 * cursor_slice.[Ch]: remove unneeded acessor function
3197 * lyxtext.h: rename rtl() to isRTL()
3205 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3207 * rowpainter.C (paintSelection): coord fix
3209 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3211 * Spacing.C: compile fix
3213 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3215 * cursor.C (dispatch): restore current_ before returning
3217 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3219 * text2.C (cursorUp, cursorDown): fix coords
3222 2004-02-12 André Pönitz <poenitz@gmx.net>
3227 * text3.C: add LCursor & parameter to most cursor movement functions
3228 remove usage of LyXText::cursorRow() and cursorPar()
3230 * cursor.[Ch]: add textRow() needed members
3233 * BufferView_pimpl.C:
3236 * BufferView_pimpl.C: adjust
3238 2004-02-11 André Pönitz <poenitz@gmx.net>
3242 * BufferView_pimpl.C: shift undo/redo handling
3244 * cursor.[Ch]: fix mathed crash
3247 * lyxtext.h: move selectionAsText to LCursor
3255 * rowpainter.C: fix excessive drawing
3257 2004-02-06 André Pönitz <poenitz@gmx.net>
3260 * BufferView_pimpl.[Ch]:
3261 * text3.C: move some text specific LFUN handling
3263 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3265 * text3.C (checkInsetHit): adjust coords
3266 * text2.C (getColumnNearX): adjust coords
3267 (edit): adjust coords
3268 * text.C (getRowNearY): add two asserts
3270 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3273 * format.C: add using std::distance to compile on gcc 2.95/stlport
3275 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3277 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3279 2004-02-04 André Pönitz <poenitz@gmx.net>
3281 * BufferView.[Ch] (insertInset):
3282 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3287 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3289 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3290 on the default clause of the switch
3291 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3292 wasn't catched by LCursor::dispatch
3294 2004-02-03 André Pönitz <poenitz@gmx.net>
3297 * cursor.[Ch]: some additional asserts
3299 * undo.[Ch]: remove LyXText dependency in interface
3303 * lyxtext.h (firstPar, lastPar): remove dead functions
3308 * paragraph.[Ch]: adjust
3310 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3312 * lyxfind.C (find): fix argument order in call to ::find
3314 2004-02-02 André Pönitz <poenitz@gmx.net>
3316 * cursor.[Ch]: remove direct access to anchor
3318 * text.C: remove findText() hack
3320 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3322 * iterators.[Ch] (lockPath): remove in favour of...
3323 * BufferView.[Ch] (setCursor): this addition
3324 * BufferView.C (putSelectionAt): adjust
3325 * undo.C (performUndoOrRedo): adjust
3326 * lyxfunc.C (dispatch): adjust
3328 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3330 * iterators.C (lockPath): add a missing slice
3331 * undo.C (performUndoOrRedo): remove redundant positioning code
3333 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3335 * vc-backend.C (scanMaster): ";" -> ';'
3337 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3339 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3340 std::binary_function
3342 * lyxtextclass.C (compare_name): rename to...
3343 (LayoutNamesEqual): ...this
3345 * lyxlex_pimpl.C (compare_tags): inherit from
3346 std::binary_function, put back into anon namespace
3348 * lyxfind.C (MatchString): inherig from std::binary_function
3349 (findChange): use empty() istead of !size()
3351 * format.C (FormatNamesEqual): new functor
3358 * converter.C (compare_Converter): rename to...
3359 (ConverterEqual): ...this, and fixup a bit.
3360 (getConverter): use it, and make function const
3361 (getNumber): use it, and make function const
3365 * bufferlist.C: add using boost::bind
3367 * MenuBackend.C (MenuNamesEqual): new functor
3368 (hasMenu): use it, and make function const
3369 (hasSubmenu): use nested bind to get rid of compare_memfun.
3371 2004-01-30 André Pönitz <poenitz@gmx.net>
3373 * BufferView_pimpl.C:
3376 * cursor_slice.[Ch]:
3379 * paragraph_funcs.C:
3380 * paragraph_funcs.h:
3384 * text3.C: move some of the edit(x,y) handling to the insets
3385 some coordinate changes.
3387 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3389 * text.C: add using statements for std::advance and std::distance
3391 * paragraph.C: add using statement for std::distance
3393 * lyxfind.C: add using statement for std::advance
3395 * cursor.C (region): remove std:: from swap
3396 (openable): use nucleus in stead of operator->
3398 * BufferView.C: add using statements for std::distance and std::swap
3400 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3402 * iterators.C: Remove the pimple, move the needed structures to
3403 the header file. Create accessor for the positions stack.
3404 (asPosIterator): remove function
3406 * PosIterator.C (PosIterator): move constructors to top of file
3407 (PosIterator): reimplement the constructor taking a ParIterator in
3409 (setFrom): new function
3410 (operator!=): inline it
3412 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3414 * lyxfind.C (replaceAll): use std::advance
3416 * iterators.h: inherit from std::iterator.
3418 * PosIterator.C (advance, distance): remove
3419 * PosIterator.h: interit from std::iterator.
3421 2004-01-26 André Pönitz <poenitz@gmx.net>
3424 * BufferView_pimpl.[Ch]:
3428 * bufferview_funcs.C:
3438 * output_linuxdoc.C:
3439 * output_plaintext.C:
3441 * paragraph_funcs.[Ch]:
3442 * paragraph_pimpl.[Ch]:
3448 * text3.C: more IU: dumps most of the rest of the mathcursor
3449 implementation into cursor.[Ch]; "globalize" a bit of it.
3451 2004-01-25 Angus Leeming <leeming@lyx.org>
3453 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3455 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3457 * LaTeXFeatures.h: add nice_ and nice() const
3458 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3460 2004-01-20 André Pönitz <poenitz@gmx.net>
3463 * BufferView_pimpl.C:
3465 * bufferview_funcs.C:
3467 * cursor_slice.[Ch]:
3478 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3479 LCursor and mathcursor parts to LCursor and InsetBase.
3481 2004-01-15 André Pönitz <poenitz@gmx.net>
3483 * cursor_slice.[Ch]: add a few covienience functions
3485 * funcrequest.[Ch]: remove BufferView * member
3487 * BufferView_pimpl.C:
3494 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3496 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3498 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3499 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3501 2004-01-13 André Pönitz <poenitz@gmx.net>
3504 * lyxtext.h: hide cursor and selection anchor behind accessor function
3507 * BufferView_pimpl.[Ch]:
3509 * bufferview_funcs.C:
3519 * cursor_slice.[Ch]: some integer type changes for inset unification
3521 * lyxcursor.[hC]: remove, it's CursorSlice now.
3524 * BufferView_pimpl.[Ch]:
3525 * bufferview_funcs.C:
3531 * textcursor.[Ch]: adjust
3533 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3535 * text2.C (undoSpan): add and use
3536 * text.C (breakParagraph): use undoSpan (fix bug 578)
3539 2004-01-08 Angus Leeming <leeming@lyx.org>
3541 * BufferView_pimpl.C (MenuInsertLyXFile):
3542 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3543 * lyxfunc.C (menuNew, open, doImport):
3544 FileFilterList change to the FileDialog open and save functions.
3546 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3548 * ShareContainer.h: make isEqual and isUnique adaptable
3550 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3552 2004-01-07 Angus Leeming <leeming@lyx.org>
3555 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3557 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3559 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3560 functions replacing find, replace and replaceAll.
3562 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3563 LFUN_WORDFIND(FORWARD|BACKWARD).
3565 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3567 * text.C (breakParagraph): remove an outdated #warning
3569 2004-01-07 André Pönitz <poenitz@gmx.net>
3571 * lyxfind.C: somewhat clearer logic
3573 * text.C: prevent crash in cursorX on unitialized row cache
3575 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3577 * lyxcursor.[Ch] (operator>): add
3578 * textcursor.C (selStart, selEnd): use std::min and std::max
3580 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3582 * Chktex.C: include boost/format.hpp
3584 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3586 * InsetList.C: replace functor MathcIt with adaptable functor
3588 (insetIterator): modify accordingly
3590 * BranchList.h: move the BranchNamesEqual functor here from...
3591 * BranchList.C: ... to here
3593 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3595 (add): replace a finding loop with std::find_if.
3597 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3599 * output_docbook.C: moving LatexParam functionality into
3602 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3604 * buffer.C: increment format to 229.
3606 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3609 * lyx_sty.[Ch]: remove minipageindent_def
3615 * text3.C: remove LFUN_INSET_MINIPAGE
3617 2003-12-28 Angus Leeming <leeming@lyx.org>
3619 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3621 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3623 * text2.C (setParagraph): fix off-by-one crash
3625 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3627 * output_docbook.C: header stuff for AGU
3629 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3631 * text2.C (redoCursor): remove
3634 * BufferView_pimpl.C: remove calls to redoCursor and
3635 setCursor(cursor.par(), cursor.pos()) all around
3637 2003-12-15 Angus Leeming <leeming@lyx.org>
3639 * buffer.C: up the format to 228.
3641 2003-12-15 André Pönitz <poenitz@gmx.net>
3643 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3648 * BufferView_pimpl.C:
3657 2003-12-15 Angus Leeming <leeming@lyx.org>
3659 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3660 than getFromGUIName to manipulate the color.
3662 2003-12-14 Angus Leeming <leeming@lyx.org>
3664 * BranchList.[Ch]: minimize the API.
3665 (Branch::getBranch, getColor): now return a 'const &'.
3666 (Branch::setSelected) now returns a bool set to true if the
3667 selection status changes.
3668 (BranchList::clear, size, getColor, setColor, setSelected,
3669 allBranches, allSelected, separator): removed.
3670 (BranchList::find): new functions, returning the Branch with
3672 (BranchList::add, remove): return a bool indicating that
3673 the operation was successful.
3675 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3676 new InsetBranch::isBranchSlected member function.
3678 * LColor.[Ch]: mimimize the API.
3679 (fill): renamed as addColor and made private.
3680 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3681 versions of these functions taking a string arg have been removed.
3683 * bufferparams.C (readToken):
3684 * lyxfunc.C (dispatch):
3685 * lyxrc.C (read): changes due to the altered BranchList and
3688 * factory.C (createInset, readInset): changes due to altered
3691 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3694 * lyxfunc.C: remove insetminipage. "minipage-insert"
3695 now produces a frameless minipage box inset.
3697 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3699 * textcursor.[Ch] (selStart,selEnd): add new methods
3700 remove selection::start, end, use LyXCursor::operator<
3701 * lyxcursor.[Ch] (operator<): add
3702 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3703 * BufferView.[Ch] (unsetXSel): add
3704 * text2.C (clearSelection): use unsetXSel,adjust
3707 * rowpainter.C: adjust
3708 * bufferview_funcs.C (put_selection_at): adjust
3710 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3712 * BufferView_pimpl.C: small coord. correction
3714 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3716 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3717 dragging over the splash screen.
3719 2003-12-11 Angus Leeming <leeming@lyx.org>
3721 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3722 as it is now handled in LyXText::dispatch.
3724 * text3.C (doInsertInset): remove a level of nesting.
3726 2003-12-11 Angus Leeming <leeming@lyx.org>
3728 * factory.C (createInset): changes due to the changed interface to
3729 InsetCommandMailer::string2params.
3731 2003-12-10 Angus Leeming <leeming@lyx.org>
3733 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3734 'dialog-show-new-inset <inset name>'
3736 2003-12-10 Angus Leeming <leeming@lyx.org>
3738 * buffer.C: up the format to 227.
3740 * factory.C: the box inset is now identified simply by 'Box'.
3742 2003-12-10 Angus Leeming <leeming@lyx.org>
3744 * buffer.C: up the format to 226.
3746 * factory.C: the note inset is now identified simply by 'Note'.
3748 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3750 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3751 when a pit is enough. Standarize a couple of loops.
3753 2003-12-05 Angus Leeming <leeming@lyx.org>
3755 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3756 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3757 data to the re-worked "log" dialog.
3759 2003-12-03 André Pönitz <poenitz@gmx.net>
3765 * paragraph_funcs.C:
3767 * text2.C: use Inset::getText instead of Inset::getParagraph
3769 2003-12-03 André Pönitz <poenitz@gmx.net>
3773 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3774 InsetText::read() as LyXText::read()
3776 2003-12-02 Angus Leeming <leeming@lyx.org>
3778 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3779 type. Add a comment in the implementation that the function uses
3780 the stream's bad() function rather than fail() as the std::streams
3783 2003-12-02 André Pönitz <poenitz@gmx.net>
3785 * lyxlex.[Ch]: make interface more similar to std::stream
3787 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3789 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3791 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3793 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3795 * vspace.[Ch]: remove VSpace::NONE
3797 2003-12-01 André Pönitz <poenitz@gmx.net>
3800 * lyxtext.h: move ParagraphList member to LyXText
3801 rename LyXText::ownerParagraphs to LyXText::paragraph
3804 * bufferview_funcs.C:
3814 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3816 * undo.C: fix cursor positioning
3818 2003-12-01 John Levon <levon@movementarian.org>
3820 * BufferView_pimpl.C: fix a crash on exit with
3823 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3825 * BranchList.C: fix setSelected() method.
3827 2003-11-28 André Pönitz <poenitz@gmx.net>
3829 * ParagraphParameters.[Ch]:
3830 * ParameterStruct.h: remove space above/below from Paragraph to
3833 * BufferView_pimpl.C:
3839 * paragraph_funcs.C:
3845 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3847 * factory.C: Syntax change for CharStyles
3849 2003-11-28 André Pönitz <poenitz@gmx.net>
3854 * buffer.[Ch]: move LyXText member
3856 2003-11-28 André Pönitz <poenitz@gmx.net>
3858 * BufferView.[Ch]: make LyXText * text a private member
3860 * BufferView_pimpl.C:
3871 * output_plaintext.C: cleanup
3873 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3876 * lyxtextclass.[Ch]: parametrize SGML document header
3878 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3881 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3884 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3886 * text2.C (setFont): rework using PosIterator (no more recursive)
3887 (setCharFont): no more needed
3888 (setLayout): no more selection cursors fiddling (done by redoCursor)
3889 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3890 destroy remaining ones)
3892 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3894 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3896 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3899 * text3.C: adjust + re-allow multi par depth changes
3900 * textcursor.C: simplify a bit
3902 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3908 * src/output_docbook.C:
3909 * src/output_latex.C:
3914 * src/text2.C: Introducing a number of tags parametrizing various
3915 XML formats that we may want to support
3917 2003-11-25 André Pönitz <poenitz@gmx.net>
3919 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3921 * lyxtext.h (leftMargin/rightMargin): simplify interface
3928 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3930 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3931 master file to any child files. Fixes bug 546.
3933 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3935 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3937 2003-11-24 André Pönitz <poenitz@gmx.net>
3939 * rowpainter.C: simplification
3941 * text2.C (updateCounters): remove call to redoParagraph on
3942 changed labels as this is far too expensive.
3944 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3946 * converter.C (convert): fix a crash: this function gets
3947 called with buffer == 0 from importer code.
3949 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3951 * text3.C (cursorPrevious): make sure that we do not compare
3952 iterators form different containers.
3955 * rowpainter.C (paintSelection): make sure that we do not compare
3956 iterators from different containers.
3958 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3959 iterators from different ParagraphList containers.
3962 * text2.C (LyXText): change order of initialization slightly
3963 (operator=): new function. copy all variables except cache_par_
3964 (moveUp): make sure that we do not compare iterators from
3965 different ParagraphList constainers.
3968 * text.C (firstPar): new function
3969 (lastPar): new function
3970 (endPar): new function
3972 * lyxtext.h: move things around and group public functions, public
3973 variables, private functions, private variables
3975 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3977 * factory.C: change call to InsetERT constructor to avoid
3978 additional invocation of method status
3979 * text2.C (toggleInset): remove redundant update() call
3980 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3981 instead of a Bufferview pointer
3983 2003-11-21 André Pönitz <poenitz@gmx.net>
3985 * rowpainter.C: simplification
3987 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3989 * text3.C (dispatch): make possible to extend a word/row selection
3992 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3994 * lyxtext.h: x0_,y0_ -> xo_,yo_
3995 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3996 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3997 * rowpainter.C (paintRows): paint full paragraphs
3999 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4001 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4004 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4006 * lyxtext.h: add x0_, y0_
4007 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4008 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4010 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4012 * text2.C (setCursorIntern): move the x_target update here *
4013 * text3.C: change some bv() to true/false in calls to
4014 cursorUp/Down/Right/Left
4015 * cursor.C: use helper function.
4017 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4019 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4020 * paragraph_funcs.[Ch]: correct comment
4021 * rowpainter.C: do not paint selections away from bv->cursor()
4022 Fix a long standing selection painting bug.
4023 * text3.C: generalize mouse-selection code to LyXTexts other that
4025 * textcursor.C: do not use y coords if we can use par offsets
4027 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4029 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4030 cursor position after e.g. inset insert)
4032 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4034 * lyxfind.C (replace): adjust to locking removal + some
4037 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4039 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4042 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4045 * output_docbook.C: XML sanitation: new layout
4046 parameters InnerTag and CommandDepth
4048 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4050 * BufferView_pimpl.C:
4052 * text3.C: Fix the insertion and modification of button-style
4055 2003-11-13 André Pönitz <poenitz@gmx.net>
4057 * InsetList.[Ch]: remove deleteLyXText
4059 * paragraph.[Ch]: cache beginOfBody position
4064 * text3.C: remove superfluous update() calls
4068 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4070 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4071 * BufferView.C (fitLockedInsetCursor): remove
4072 * cursor.[Ch] (getDim): add
4073 * text.C (getRowNearY): add faster version
4074 * text3.C: remove some update calls
4076 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4088 * text3.C: The Character Style /XML short element patch.
4090 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4093 * factory.C: Small step to solving 'unable to insert some insets'
4096 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4098 * cursor.[Ch] (updatePos): new function for updating the y
4099 position of the tip inset
4100 * bufferview_funcs.C (put_selection_at):
4101 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4103 2003-11-11 André Pönitz <poenitz@gmx.net>
4105 * text.C: remove big comment on invalid Paragraph pointers as it is
4108 2003-11-11 André Pönitz <poenitz@gmx.net>
4110 * text_funcs.[Ch]: merge with ...
4118 * Makefile.am: remove text_funcs.[Ch]
4120 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4122 * cursor.C (getPos): return absolute cached y coord
4124 * BufferView_pimpl.C (fitCursor): new simplistic code
4125 (workAreaDispatch): add a fitCursor call
4127 2003-11-10 André Pönitz <poenitz@gmx.net>
4130 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4132 2003-11-10 André Pönitz <poenitz@gmx.net>
4134 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4135 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4136 indicate that the cursor needs to leave an inset
4138 * lyxtext.h: remove inset locking
4140 * cursor.[Ch]: re-implement functionality provided by inset locking
4143 * BufferView_pimpl.[Ch]:
4145 * bufferview_funcs.[Ch]:
4157 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4159 * PosIterator.[Ch]: replace the stack with a vector, add inset
4161 * iterators.[C]: adjust
4163 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4165 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4167 * paragraph_funcs.C (readParToken): put the correct id in the
4168 error item, not the id of the top paragraph
4170 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4172 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4173 * bufferview_funcs.C (put_selection_at): use the above
4175 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4177 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4179 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4181 * output_linuxdoc.h:
4182 * output_plaintext.h:
4184 * output_docbook.h: add #include statements
4186 2003-11-05 José Matos <jamatos@lyx.org>
4188 * output_docbook.[Ch]:
4189 * output_latex.[Ch]:
4190 * output_linuxdoc.[Ch]:
4191 * output_plaintext.[Ch]: New files for output formats.
4192 * output.[Ch]: New file for helper functions.
4195 * paragraph_funcs.[Ch]: output functions moved to new files.
4197 * outputparams.h: rename of latexrunparams.h
4205 * paragraph_funcs.[Ch]:
4206 * paragraph_pimpl.[Ch]:
4207 * tabular.[Ch]: rename ascii to plaintext
4208 and LatexRunParams to OutputParams.
4210 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4212 * iterators.[Ch] (text): require bv argument
4213 * undo.C (recordUndo):
4214 * lyxfunc.C (dispatch):
4215 * bufferview_funcs.C (put_selection_at): adjust
4217 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4219 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4221 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4223 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4226 2003-11-04 André Pönitz <poenitz@gmx.net>
4228 * cursor.[Ch]: restructure
4231 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4233 * iterators.[Ch] (asCursor): remove
4235 * lfuns.h: remove LFUN_INSET_EDIT
4241 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4243 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4245 * lyxfind.[Ch]: complete overhaul
4246 * BufferView_pimpl.C:
4248 * paragraph.[Ch] (insert): add
4250 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4254 * text.C: remove dead spellcheck code
4256 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * dispatchresult.h: add a val setter
4260 * cursor.C (dispatch): use a tempvar for data_[i]
4262 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4264 * PosIterator.[Ch]: compile fix
4266 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4268 * text.C (cursorPar): deactivate the cursor cache
4270 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4272 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4274 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * text3.C (dispatch): adjust for new DisptchResult semantics.
4278 * lyxfunc.C (dispatch): handle update when return from
4279 Cursor::dispatch, adjust for new DispatchResult semantics.
4281 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4282 DispatchResult(true) mean to not update. Add class functions for
4283 setting dispatched and update, as well as reading.
4285 * cursor.C (dispatch): don't handle update here
4287 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4290 * trans_mgr.C: adjust
4292 * paragraph_funcs.C (readParToken): exception safety
4294 * lyxvc.h: store the vcs pointer in a scoped_ptr
4297 * lyxsocket.C (serverCallback): exception safety
4299 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4301 * ispell.C (clone): make it return a auto_ptr
4303 * factory.C (createInset): exception safety
4304 (readInset): exception safety
4306 * bufferlist.C (newBuffer): exception safety
4308 * Thesaurus.C (Thesaurus): use initialization for aik_
4310 * MenuBackend.C (expandToc): exception safety.
4312 2003-11-03 André Pönitz <poenitz@gmx.net>
4316 * bufferview_funcs.C: remove getInsetFromId()
4319 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4325 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4327 * PosIterator.C (distance, advance): new
4328 * bufferview_funcs.[Ch] (put_selection_at): new
4329 * iterators.[Ch] (lockPath): new
4331 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4333 * iterators.[Ch] (asPosIterator): added
4334 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4335 * PosIterator.[Ch]: added
4337 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * cursor.C (dispatch):
4342 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4344 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4345 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4346 contructor, add a class function dispatched. Remove operator>=
4348 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * debug.C: only use the default constructor for debugstream
4353 * main.C (main): include debug.h and setup the lyxerr streambuf
4356 2003-10-31 José Matos <jamatos@lyx.org>
4358 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4360 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4361 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4362 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4363 * paragraph_pimpl.C (simpleTeXSpecialC):
4364 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4365 add LatexRunParams argument.
4367 * exporter.C (Export): change call accordingly.
4369 * latexrunparams.h: add new member to take care of the other backends.
4370 2003-10-30 José Matos <jamatos@lyx.org>
4372 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4373 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4374 factorise code for paragraph output.
4376 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4379 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4381 * text3.C (dispatch):
4382 * lyxfunc.C (dispatch):
4383 * cursor.C (dispatch):
4384 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4386 * dispatchresult.h: make the dispatch_result_t ctor explicit
4388 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4391 * buffer.C: small refactoring of docbook stuff
4393 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4398 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4401 operator dispatch_result_t, and operators for == != and >=
4403 * cursor.C (dispatch): adjust for operator dispatch_result_t
4404 removal. comment out call to update
4406 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4408 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4419 * dispatchresult.h: new file, DispatchResult broken out of
4422 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4424 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4426 * text.C (rowBreakPoint): put a hack inside #if 0
4428 2003-10-28 André Pönitz <poenitz@gmx.net>
4432 * paragraph_funcs.C:
4435 * text2.C: general cleanup (lots of small stuff)
4437 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4439 * text2.C (cursorEnd): simple fix to the "end key goes to one
4440 before the end on last row" bug
4442 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4444 * text.C (backspace): fix the "zombie characters"
4446 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4448 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4450 2003-10-27 André Pönitz <poenitz@gmx.net>
4452 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4454 * factory.C: handle new InsetPagebreak, InsetLine
4456 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4457 and move handling into new InsetPagebreak, InsetLine
4459 * BufferView_pimpl.C:
4461 * ParagraphParameters.C:
4462 * ParameterStruct.h:
4467 * paragraph_funcs.C:
4468 * paragraph_pimpl.C:
4474 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4477 * lyxrow_funcs.[Ch]:
4483 * text3.C: remove lastPos uses in favour of Row::endpos
4485 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4487 * undo.C (performUndoOrRedo): fix two crashes by setting a
4488 cursor by hand and reordering some calls. Use bv->lockInset instead
4489 of inset->edit because the latter loses cursor information
4491 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4493 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4495 (rowBreakPoint): fix width. change point to point + 1.
4496 Add a missing check.
4498 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4501 * lyxfunc.C: fix (at least partly) the problems
4502 with the Nav menu and headers inside branch insets
4505 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4507 * paragraph.C (getChar): add strong asserts
4509 * lyxrow_funcs.C (lastPos): remove hideous hack
4511 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4512 (fill): adjust to that (avoid an infinite loop)
4514 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4516 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4518 2003-10-23 André Pönitz <poenitz@gmx.net>
4520 * RowList_fwd.h: change list<> to vector<> to gain speed
4521 after suggestion from Alfredo
4523 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4525 * lyxtext.h: move the bidi stuff from here...
4528 * Bidi.[Ch]: ... to here
4530 2003-10-23 André Pönitz <poenitz@gmx.net>
4533 * text.C (isLastRow, isFirstRow): new functions
4535 * paragraph.h: new width cache member
4537 * rowpainter.C: replace RowList::iterator with Row & where possible
4539 * lyxfunc.C: replace several view()->text with a single call
4541 * toc.C: fix 'unused' warning
4543 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4546 when woring with stream::pos_type
4547 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4549 2003-10-22 André Pönitz <poenitz@gmx.net>
4552 * text.C: use Row & instead of RowList::iterator
4554 * lyxrow.h: rename end() to endpos()
4560 2003-10-22 Angus Leeming <leeming@lyx.org>
4562 * buffer.[Ch] (fully_loaded): new member function, returning true
4563 only when the file has been loaded fully.
4564 Used to prevent the premature generation of previews and by the
4565 citation inset to prevent computation of the natbib-style label.
4567 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4568 templates are all set up.
4570 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4572 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4574 * text.C: fixed an "oops" in the "is a bit silly"
4577 2003-10-21 André Pönitz <poenitz@gmx.net>
4579 * FuncStatus.[Ch]: small stuff, whitespace
4581 * lyxfont.[Ch]: operator<<() for debug reasons
4585 * lyxtext.h: whitespace, spelling
4587 * paragraph.C: naming of variables
4590 * text2.C: small stuff
4593 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4595 * text.C: (1) finish off the inset display() work;
4596 (2) fix the "is a bit silly" bug (accessing char
4599 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4601 * text.C: re-introduce display() for insets, fixing the
4602 various bugs (stretch of line above, math inset
4605 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4607 * text.C (rightMargin): remove spurious semicolon
4609 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4612 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4614 * text3.C: fix one crash due to wrong cursor def
4616 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * vc-backend.C (scanMaster): make the regex static
4620 * LaTeX.C (scanAuxFile): make the regexs static
4622 * text3.C (doInsertInset, dispatch, dispatch):
4623 * text2.C (cursorUp, cursorDown):
4624 * text.C (selectNextWordToSpellcheck):
4625 * BufferView_pimpl.C (dispatch):
4626 * lyxfunc.C (dispatch): localDispatch -> dispatch
4628 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4630 * lyxsocket.C: include <cerrno>
4632 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * lyxfunc.C (dispatch): remove textcache stuff
4636 * bufferlist.C (release): remove textcache stuff
4639 * TextCache.C: delete file
4640 * TextCache.h: delete file
4642 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4644 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4645 delete of the bv_->text.
4646 (resizeCurrentBuffer): remove texcache stuff
4647 (workAreaResize): ditto
4649 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4651 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4654 2003-10-16 André Pönitz <poenitz@gmx.net>
4661 * text3.C: speed up by storing y positions per paragraph plus per-row
4662 offset instead of having a 'full' y position in the row.
4664 2003-10-15 André Pönitz <poenitz@gmx.net>
4668 * undo.[Ch]: make undo aware of inner insets
4670 2003-10-14 Angus Leeming <leeming@lyx.org>
4672 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4673 static member functions LyX::ref() and LyX::cref.
4674 (lastfiles): new accessor functions for the new lastfiles_ member var.
4675 (addLyXView, views_): add a new LyXView to the list of views_.
4676 (updateInset): loop over all LyXViews to call their own updateInset
4677 member function, returning a pointer to the Buffer owning the inset.
4679 * BufferView_pimpl.C (loadLyXFile):
4680 * MenuBackend.C (expandLastfiles):
4681 * bufferlist.C (MenuWrite, QuitLyX):
4682 lastfiles is no longer a global variable.
4683 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4685 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4686 static function. Access through LyX::cref().emergencyCleanup().
4688 2003-10-14 André Pönitz <poenitz@gmx.net>
4690 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4692 * undo.[Ch]: restoring part of 'undo in insets'
4695 * undo_funcs.[Ch]: merge with undo.[Ch]
4697 * tabular.C: small cleansing stuff
4699 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4701 * paragraph_funcs.C (readParToken): report unknown insets as error
4702 boxes. Use the outer paragraph as location (also for unknown
4705 * factory.C (readInset): do not abort on reading an unknown inset.
4706 Eat it and return 0.
4708 2003-10-13 Angus Leeming <leeming@lyx.org>
4710 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4712 * lyxrc.C: displayTranslator is now a function,
4713 declared in GraphicsTypes.h.
4715 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4717 * format.C: new placeholder $$a to pass the socket address.
4719 * bufferlist.[Ch]: new function getBufferFromTmp.
4721 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4722 files in the temporary dir.
4724 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4726 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4728 * Makefile.am: add lyxsocket.[Ch].
4730 * lyx_main.C (error_handler): handle SIGPIPE.
4732 2003-10-13 André Pönitz <poenitz@gmx.net>
4734 * BufferView_pimpl.C:
4739 * undo_funcs.[Ch]: use paroffset_type instead of
4740 ParagraphList::iterators to prevent multiple conversion
4741 (and get a more robust interface)
4743 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4747 * text3.C (dispatch): ditto
4749 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4752 move the onlyfile, use onlyfile instead of foundfile in a couple
4755 * DepTable.C (update): flush the error stream a bit more
4757 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4759 * lyxserver.C (callback): adjust
4761 * lyxfunc.C (getStatus): add a missing brace in commented code
4762 (ensureBufferClean): reindent
4763 (dispatch): delete version taking a string
4765 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * LaTeX.C (deplog): move found file handlig from here...
4768 (handleFoundFile): .. to new function here.
4769 (deplog): make sure to discover several files mentioned on the
4772 2003-10-10 André Pönitz <poenitz@gmx.net>
4779 * text3.C: fix some of the tabular crashes
4781 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4783 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4785 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4787 2003-10-09 André Pönitz <poenitz@gmx.net>
4789 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4792 * BufferView_pimpl.C:
4793 * bufferview_funcs.C:
4804 * undo_funcs.C: adjust
4806 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * text2.C (incrementItemDepth): new function, use a backtracking
4809 algorithm to discover the correct item depth.
4810 (resetEnumCounterIfNeeded): new function, use a backtracking
4811 algorithm to discover if counter reset is needed.
4812 (setCounter): use them. Simplify a bit. Add different labels for
4813 different item depths for itemize.
4815 * paragraph.C (Paragraph): remove initialization of enumdepth
4818 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4819 enumerate and itemize. Change the type of itemdepth to signed char.
4821 2003-10-08 André Pönitz <poenitz@gmx.net>
4823 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4828 * tabular.[Ch]: fix crash after 'row-insert'
4830 2003-10-08 Angus Leeming <leeming@lyx.org>
4832 Fix doxygen warnings.
4834 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4835 Remove CutAndPaste:: prefix from header file declaration.
4837 * LColor.h (fill): remove LColor:: prefix from declaration.
4839 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4840 use lyx::depth_type rather than Paragraph::depth_type so that
4841 header file and .C file match.
4843 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4845 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4846 * aspell.C: \file aspell_local.C -> \file aspell.C
4847 * gettext.C: \file gettext.C -> \file src/gettext.C
4848 * gettext.h: \file gettext.h -> \file src/gettext.h
4849 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4850 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4851 * text.C: \file text.C -> \file src/text.C
4853 * toc.C: move comment so that doxygen is not confused.
4855 2003-10-07 Angus Leeming <leeming@lyx.org>
4857 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4859 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4862 * aspell_local.h: add forgotten std::string's.
4864 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4871 * text3.C: The Box patch. Fancybox support, minipage, parbox
4873 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4879 * ParagraphParameters.h:
4889 * lyxtextclasslist.h:
4892 * paragraph_pimpl.C:
4893 * textcursor.h: add <string> and other small fixes to make Lars'
4894 std::string patch compile with STLport.
4896 2003-10-06 Angus Leeming <leeming@lyx.org>
4898 * LColor.h: Add missing #include <string>.
4900 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * All most all file in all subdirs: Make <string> be the prefered
4903 way of getting to std::string, add using declarations.
4905 2003-10-06 André Pönitz <poenitz@gmx.net>
4907 * metricsinfo.C: initialize LyXFont before changing attribute.
4908 (fixes the 'math in \emph is upright' bug)
4910 2003-10-06 André Pönitz <poenitz@gmx.net>
4912 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4914 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4917 * paragraph_pimpl.C: Small fixes to build using STLport
4919 2003-10-02 André Pönitz <poenitz@gmx.net>
4922 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4924 2003-10-01 André Pönitz <poenitz@gmx.net>
4926 * factory.C: assert early
4928 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * lyx_main.C: remove the global debug object
4932 * debug.h: adjust for new debugstream
4934 * debug.C: adjust for new debugstream and keep the global debug
4937 2003-09-22 Angus Leeming <leeming@lyx.org>
4939 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4940 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4941 an incomplete class LyXFont.
4943 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4945 * factory.C: bug fix in branches
4947 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * lyxfunc.C (processKeySym): adjust
4951 (dispatch): change arg name from ev to func, adjust
4952 (sendDispatchMessage): ditto
4954 * lyx_main.C (defaultKeyBindings): adjust keybindings
4955 (deadKeyBindings): ditto
4957 * kbsequence.C (addkey): return a FuncRequest
4959 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4961 * kbmap.C (bind): take a FuncRequest as arg, adjust
4964 (defkey): change to take a FuncRequest as arg, adjust
4965 (findbinding): take a FuncRequest as arg, adjust.
4967 * funcrequest.h (operator=): added
4969 * funcrequest.C (FuncRequest): default kb_action changed from
4970 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4972 * buffer.C (dispatch): simplify
4973 (dispatch): adjust to take a FuncRequest as arg, adjust
4975 * boost.C (assertion_failed): change assertion message slightly
4977 * ToolbarBackend.C (read): simplify
4979 * MenuBackend.C (binding): adjust call to findbinding, add a
4980 message if no binding is found.
4982 (expandToc): correct by adding a empty FuncRequest
4984 * LyXAction.C: include <boost/assert.hpp>
4985 (isPseudoAction): delete function
4986 (LookupFunc): change name to...
4987 (lookupFunc): this. change return type to FuncRequest.
4988 (getActionName): take kb_action as arg, simplify
4989 (funcHasFlag): add an assert, simplify.
4991 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * toc.C (action): return a FuncRequest, simplify
4995 * lyxfunc.C (processKeySym): adjust
4996 (getStatus): delete version that takes an int.
4998 (dispatch): delete version that takes action as int
5000 (sendDispatchMessage): simplify and adjust
5002 * funcrequest.C (getArg): take unsigned int as arg
5004 * ToolbarBackend.C (read): adjust
5005 (add): delete version that takes func as a string.
5006 (getIton): take a FuncRequest as arg
5008 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5011 * MenuBackend.C (MenuItem): add a new construct that only takes a
5012 Kind, simplify the constructor use for submenus.
5014 (expandLastfiles): adjust
5015 (expandDocuments): adjust
5016 (expandFormats): adjust
5017 (expandFloatListInsert): adjust
5018 (expandFloatInsert): adjust
5019 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5021 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5022 Remove class variables lyx_pseudo_map and lyx_arg_map
5024 * LyXAction.C (searchActionArg): delete function
5025 (getPseudoAction): delete function
5026 (retrieveActionArg): delete function
5027 (LookupFunc): make it return kb_action, simplify.
5028 (getActionName): simplify
5030 * factory.C (createInset): fix new bug
5032 2003-09-19 Angus Leeming <leeming@lyx.org>
5034 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5035 masterFilename_ parameter in the include inset.
5037 * factory.C (createInset): changes due to the changes to InsetInclude.
5039 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5041 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5043 2003-09-18 Angus Leeming <leeming@lyx.org>
5046 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5047 Inset::fillWithBibKeys.
5048 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5050 2003-09-18 Angus Leeming <leeming@lyx.org>
5052 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5054 (ctor): pass and store a 'Buffer const &'
5055 (buffer): new member function.
5057 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5058 '*this' to the LaTeXFeatures ctor.
5060 2003-09-18 Angus Leeming <leeming@lyx.org>
5066 * text.C: rename EnumLColor as LColor_color.
5068 2003-09-18 Angus Leeming <leeming@lyx.org>
5070 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5071 remove #include "insets/insetbase.h" from cursor.h.
5073 2003-09-18 Angus Leeming <leeming@lyx.org>
5075 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5076 InsetOld_code to remove #include "inset.h".
5078 * iterators.C: add #include "insets/inset.h"
5080 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5082 * BufferView.C: remove more locking stuff that apparently doesn't
5083 do anything sensible.
5085 2003-09-16 André Pönitz <poenitz@gmx.net>
5088 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5091 2003-09-16 Angus Leeming <leeming@lyx.org>
5093 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5095 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5098 * paragraph.h: remove #include "lyxfont.h". Forward declare
5101 2003-09-16 Angus Leeming <leeming@lyx.org>
5103 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5104 of support/textutils.h.
5105 (isWord): move the contents of support/textutils.h's IsWordChar here.
5111 * text2.C: add #include "paragraph.h".
5114 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5116 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * LaTeX.C: use namespace alias for lyx::support::os
5124 2003-09-16 Angus Leeming <leeming@lyx.org>
5127 * bufferview_funcs.C:
5130 * paragraph_pimpl.C:
5132 * text.C: add #include "LColor.h".
5134 2003-09-16 Angus Leeming <leeming@lyx.org>
5136 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5137 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5139 Store the FontBits::color variable as an int rather than as an
5140 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5143 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5144 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5145 string calls together.
5147 * lyxrc.C: add #include "LColor.h".
5149 2003-09-15 Angus Leeming <leeming@lyx.org>
5151 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5154 2003-09-15 Angus Leeming <leeming@lyx.org>
5156 * LColor.h: add an EnumLColor wrapper for LColor::color.
5158 * lyxfont.[Ch] (color, setColor, realColor):
5159 * lyxtext.h, text.C (backgroundColor):
5160 pass EnumLColor args to/from the functions, rather than LColor::color
5164 * lyxtext.h: forward declare EnumLColor.
5166 * lyx_main.C: add #include "LColor.h".
5168 2003-09-15 Angus Leeming <leeming@lyx.org>
5170 * .cvsignore: add lyx-gtk.
5172 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5177 * ParagraphParameters.C
5181 * bufferview_funcs.C
5191 * vc-backend.C: remove usage of STRCONV
5193 2003-09-15 Angus Leeming <leeming@lyx.org>
5195 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5196 explicitly define the color passed to the painter.
5198 2003-09-15 Angus Leeming <leeming@lyx.org>
5200 * bufferparams.C (BufferParams): reorder member initializers to avoid
5203 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5205 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5206 * text.C (updateRowPositions): remove an unusual nop
5208 2003-09-12 André Pönitz <poenitz@gmx.net>
5210 * BufferView_pimpl.C:
5219 * Counters.[Ch]: finish the 'automatic counters' job
5221 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5223 * aspell.C: include <boost/assert.cpp> (compile fix)
5225 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5227 * boost.C (assertion_failed): use lyx::support::abort instead of
5230 2003-09-10 Angus Leeming <leeming@lyx.org>
5232 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5233 with their _fwd progeny.
5235 2003-09-09 Angus Leeming <leeming@lyx.org>
5237 134 files throughtout the source tree: replace 'using namespace abc;'
5238 directives with the appropriate 'using abc::xyz;' declarations.
5240 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5242 * boost.C (emergencyCleanup): moved here from LAssert.c
5243 (assertion_failed): new function, called by BOOST_ASSERT
5245 * several files: change Assert to BOOST_ASSERT
5247 2003-09-09 Angus Leeming <leeming@lyx.org>
5249 * buffer.[Ch]: Add an Impl class and move Buffer's member
5250 variables into it. As a result move several header files out of
5253 Add header files to lots of .C files all over the tree as a result.
5255 2003-09-09 Angus Leeming <leeming@lyx.org>
5257 * buffer.[Ch]: make Buffer's member variables private. Add
5260 Lots of changes all over the tree as a result.
5262 2003-09-08 Angus Leeming <leeming@lyx.org>
5264 * graph.C: #include <config.h>.
5266 2003-09-08 Angus Leeming <leeming@lyx.org>
5270 * BufferView_pimpl.C:
5299 * toc.C: remove redundant using directives.
5301 2003-09-07 Angus Leeming <leeming@lyx.org>
5303 * LaTeXFeatures.h: remove #include "support/types.h".
5304 * ToolbarBackend.h: remove #include <algorithm>.
5305 * changes.h: remove #include <ctime>.
5306 * debug.h: remove #include <iosfwd>.
5307 * graph.h: remove #include "support/std_string.h".
5308 * lyx_main.h: remove #include <csignal>.
5309 * lyxlex_pimpl.h: remove #include <fstream>.
5310 * sgml.h: remove #include <algorithm>, <utility>.
5311 * toc.h: remove #include "support/std_ostream.h".
5312 Add #include <iosfwd>.
5314 2003-09-07 Angus Leeming <leeming@lyx.org>
5316 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5318 * converter.h: forward declare LatexRunParams.
5319 * encoding.h: remove #include "lyxrc.h".
5320 * lyxtext.h: remove #include "LColor.h".
5321 * lyxtextclass.h: remove #include "support/types.h".
5322 * trans.h: remove #include "tex-accent.h".
5323 * trans_mgr.h: remove #include "tex-accent.h".
5324 * insets/inset.h: remove #include "support/types.h", <vector>.
5325 * insets/insetcollapsable.h: remove #include "LColor.h".
5326 * insets/insetinclude.h: remove #include "dimension.h".
5327 * insets/insetlatexaccent.h: remove #include "dimension.h".
5328 * insets/insetoptarg.h:: remove #include "insettext.h".
5329 * insets/insettext.h: remove #include "dimension.h",
5330 <boost/shared_ptr.hpp>
5332 * insets/renderers.h: add #include "dimension.h".
5333 * insets/updatableinset.h: add #include "support/types.h".
5335 * many .C files: Associated changes.
5337 2003-09-06 Angus Leeming <leeming@lyx.org>
5339 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5340 one, inside testInvariant.
5342 * PrinterParams.C: new file.
5343 * PrinterParams.[Ch]: move the function bodies out of line.
5345 2003-09-06 Angus Leeming <leeming@lyx.org>
5347 * ParagraphParameters.h: forward declare ParameterStruct rather than
5348 including its header file.
5349 (depth): moved out-of-line.
5351 2003-09-06 Angus Leeming <leeming@lyx.org>
5353 * BufferView_pimpl.h:
5356 * lyxfunc.h: forward declare LyXKeySym rather than
5357 #include "frontends/LyXKeySym.h".
5359 * BufferView_pimpl.C:
5362 * lyxfunc.C: associated changes.
5364 2003-09-06 Angus Leeming <leeming@lyx.org>
5366 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5367 As a result, can remove the #include "insets/inset.h" from BufferView.h
5369 2003-09-06 Angus Leeming <leeming@lyx.org>
5371 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5372 As a result, can remove the #include "insets/inset.h" from BufferView.h
5374 2003-09-06 Angus Leeming <leeming@lyx.org>
5380 * bufferview_funcs.C:
5381 * BufferView_pimpl.C:
5386 * ParagraphParameters.C:
5391 * frontends/controllers/ControlDocument.C:
5392 * insets/insetcaption.C: rearrange the #includes into some sort of
5395 * buffer.h: remove #includes ErrorList.h, undo.h
5397 2003-09-06 Angus Leeming <leeming@lyx.org>
5399 * support/types.h: add a 'depth_type' typedef, used to store the
5400 nesting depth of a paragraph.
5403 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5404 defining explicitly.
5407 * paragraph_funcs.h:
5408 * ParagraphParameters.h:
5409 * sgml.h: use lyx::depth_type rather than Paragraph or
5410 ParameterStruct's depth_type.
5413 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5416 * BufferView_pimpl.C:
5418 * ParagraphParameters.C:
5421 * bufferview_funcs.C:
5428 * frontends/LyXView.C:
5429 * frontends/controllers/ControlDocument.C:
5430 * frontends/controllers/ControlErrorList.C:
5431 * insets/insetbibitem.C:
5432 * insets/insetbranch.C:
5433 * insets/insetcaption.C:
5434 * insets/insetcollapsable.C:
5435 * insets/insetenv.C:
5436 * insets/insetert.C:
5437 * insets/insetfloat.C:
5438 * insets/insetfoot.C:
5439 * insets/insetfootlike.C:
5440 * insets/insetnewline.C:
5441 * insets/insetquotes.C:
5442 * insets/insettabular.C:
5443 * insets/insettext.C:
5444 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5446 * frontends/controllers/ControlChanges.C: #include "changes.h".
5448 2003-09-06 Angus Leeming <leeming@lyx.org>
5450 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5451 than #including paragraph.h.
5454 * RowList.h: deleted. Superfluous.
5464 * insets/insettext.h: use ParagraphList_fwd.h rather than
5467 * paragraph.h: don't forward declare ParagraphList.
5470 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5471 rather than ParagraphList.h. paragraph.h is still needed for the
5472 Paragraph::depth_type parameters.
5474 * textcursor.h: enable it to compile stand-alone in light of the
5477 * bufferview_funcs.C:
5489 * frontends/controllers/ControlParagraph.C:
5490 * frontends/controllers/ControlTabular.C:
5491 * insets/insetmarginal.C:
5492 * insets/insetminipage.C:
5493 * insets/insetnote.C:
5494 * insets/insetoptarg.C: add header files needed to compile again.
5496 2003-09-06 Angus Leeming <leeming@lyx.org>
5498 * RowList_fwd.h: new file, forward-declaring Row rather than
5499 #including lyxrow.h.
5504 * insets/insettext.h: use it instead of RowList.h
5506 * bufferview_funcs.C:
5513 * text3.C: #include "RowList.h".
5515 2003-09-05 Angus Leeming <leeming@lyx.org>
5517 * factory.C (createInset):
5518 * vspace.C (c-tor): replace sscanf call with an istringstream.
5519 * ispell.C: re-add missing HP/UX headers.
5520 * lyxserver.C: re-add missing os2 headers.
5522 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5531 * text3.C: re-add missing system headers, needed for 2.95.2.
5533 2003-09-05 Angus Leeming <leeming@lyx.org>
5535 Changes most place everywhere due to the removal of using directives
5536 from support/std_sstream.h.
5538 2003-09-05 Angus Leeming <leeming@lyx.org>
5540 Replace LString.h with support/std_string.h,
5541 Lsstream.h with support/std_sstream.h,
5542 support/LIstream.h with support/std_istream.h,
5543 support/LOstream.h with support/std_ostream.h.
5545 Changes resulting throughout the tree.
5547 2003-09-05 Angus Leeming <leeming@lyx.org>
5549 * sgml.h: ensure that the header file can be compiled stand-alone.
5550 * *.C: strip out redundant #includes. (320 in total.)
5552 2003-09-04 Angus Leeming <leeming@lyx.org>
5554 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5555 here (from getPackages).
5557 * debug.[Ch]: add a new EXTERNAL tag.
5559 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5561 * text2.C (cursorEnd): simplify
5563 (getColumnNearX): adjust
5565 * text.C (computeBidiTables): adjust
5568 * rowpainter.C (paintChars): adjust
5569 (paintSelection): adjust
5570 (paintChangeBar): adjust
5573 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5575 (numberOfSeparators): adjust
5577 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5583 * text3.C: Restricts the mouse click functionality
5584 of insets like bibtex, include, toc and floatlist to the visible
5585 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5586 up the dialogs. Cursor has to be in front of the inset (i.e.
5587 start of row) for this to function.
5589 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5591 * bufferview_funcs.C (currentState): output row information
5593 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5595 * bufferview_funcs.C (currentState): output paragraph position
5597 2003-09-04 Angus Leeming <leeming@lyx.org>
5599 * FloatList.h: move out #include "Floating.h".
5600 * LaTeX.h: move out #include "DepTable.h".
5601 * LyXAction.h: move out #include "funcrequest.h".
5602 * buffer.h: move out #include "author.h", "iterators.h".
5603 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5604 * lyx_main.h: move out #include "errorlist.h".
5605 * lyxfunc.h: move out #include "FuncStatus.h".
5606 * lyxtext: move out #include "lyxcursor.h".
5607 * paragraph_pimpl.h: move out #include "counters.h".
5609 2003-09-03 Angus Leeming <leeming@lyx.org>
5611 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5612 preamble_snippets list, enabling us to add snippets to the preamble
5613 only if the snippet was not there already.
5615 2003-09-04 Angus Leeming <leeming@lyx.org>
5617 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5619 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5621 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5624 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5626 * BranchList.C: point fix, earlier forgotten
5628 2003-09-02 Angus Leeming <leeming@lyx.org>
5630 * box.C (contains): renamed from 'contained' after a fantastic
5633 2003-09-02 John Levon <levon@movementarian.org>
5639 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5641 2003-09-02 John Levon <levon@movementarian.org>
5643 * text2.C: simplification of cursorEnd(), including partial
5646 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * buffer.C (readFile): add a space
5650 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5652 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5654 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * buffer.C (readFile): new function, take a filename and a
5657 ParagraphList::iterator
5659 (readFile): adjust, make it private. don't use setStream, make
5660 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5661 always contain the filename.
5663 * BufferView.C (insertLyXFile): simplify and make it work for
5666 2003-08-30 John Levon <levon@movementarian.org>
5668 * Makefile.am: fix dist (from Kayvan)
5670 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5672 * most files: change to use const Buffer refs
5674 2003-08-27 André Pönitz <poenitz@gmx.net>
5676 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5677 on top of ownerPar().
5679 2003-08-27 John Levon <levon@movementarian.org>
5681 * funcrequest.C: properly initialise POD members
5683 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5685 * lyxtext.h (top_y): move top_y from here
5690 * BufferView_pimpl.[Ch]: to here
5691 * frontends/screen.C:
5692 * insets/insettabular.C:
5693 * insets/insettext.C: adjust
5694 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5696 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5699 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5701 2003-08-26 André Pönitz <poenitz@gmx.net>
5703 * paragraph_func.[Ch] (outerPar): new function
5706 * paragraph_funcs.C:
5707 * paragraph_funcs.h:
5708 * paragraph_pimpl.C:
5709 * text2.C: remove Inset::par_owner
5711 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5716 * text2.C: eliminates the needFullRow/display() stuff
5717 altogether, putting the logic in metrics/draw in the insets.
5719 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5721 * text2.C (redoParagraphInternal, redoParagraphs):
5722 * text.C (redoParagraph): add a call to updateRowPositions at the
5723 end of each 'metrics-like' call. Remove all others.
5724 (getRow): remove the 'y-computing' version.
5725 (getRowNearY): do not compute nor return the real y. Solve the
5726 'y < 0' problem and simplify.
5728 2003-08-22 Angus Leeming <leeming@lyx.org>
5730 * *.[Ch]: clean-up of licence and author blurbs.
5731 Also move config.h out of a few .h files and into a few .C files.
5733 2003-08-22 André Pönitz <poenitz@gmx.net>
5735 * lyxrow.[Ch]: add x_ and *fill_ members
5740 * text2.C: adjust/remove prepareToPrint() calls
5742 2003-08-22 André Pönitz <poenitz@gmx.net>
5744 * lyxrow.[Ch]: add end_ member
5746 * lyxrow_funcs.C: use LyXRow::end_
5748 * lyxtext.h (singleWidth): add LyXFont parameter
5751 * text2.C: adjust LyXText::singleWidth() calls
5753 * text.C (redoParagraph): simplify row breaking logic
5756 2003-08-19 André Pönitz <poenitz@gmx.net>
5758 * funcrequest.C: initialize button_ member
5761 * rowpainter.[Ch]: interface consolidation
5763 2003-08-18 André Pönitz <poenitz@gmx.net>
5766 * BufferView_pimpl.C:
5768 * paragraph_funcs.C:
5770 * text3.C: remove LyXScreen::draw() and fitCursor calls
5772 * BranchList.h: remove spurious semicolons
5774 * MenuBackend.C: fix branchlist related crash
5776 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5784 * bufferparams.[Ch]:
5788 * text3.C: implements the 'branch inset'
5789 idea. This allows the output of various versions of a document
5790 from a single source version, selectively outputing or suppressing
5791 output of parts of the text.
5792 This implementation contains a 'branch list editor' in a separate
5793 tab of the document settings dialog. Branches are user definable
5794 and have a "display colour" to distinguish them on-screen.
5796 ColorHandler was somewhat cleaned up.
5797 (1) make possible a dynamically growing LColor list by allowing
5798 the graphic context cache to grow along (vector);
5799 (2) eliminate an IMHO unnecessary step in colour allocation.
5801 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5803 * BufferView_pimpl.C: compile fix
5805 2003-08-15 André Pönitz <poenitz@gmx.net>
5807 * rowpainter.C: remove extra metrics calls
5809 * lyxtext.h: merge the two constructors into a single one,
5810 pass reference to owner's par list
5812 * BufferView_pimpl.C:
5816 2003-08-15 André Pönitz <poenitz@gmx.net>
5818 * lyxrow_funcs.[Ch]:
5821 * paragraph_funcs.C:
5826 * text_funcs.C: split LyXText::rowlist_ into individual
5827 Paragraph::rows_ chunks
5830 * BufferView_pimpl.[Ch]:
5833 * text3.C: remove toggleSelection()
5835 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5837 * bufferlist.C: beautify two alerts (shorter text of buttons)
5838 * buffer.C: Remove redundant ' ' from message
5840 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5841 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5842 rename VALIGN_CENTER to VALIGN_MIDDLE
5844 2003-08-11 André Pönitz <poenitz@gmx.net>
5846 * lyxtext.h (getPar):
5847 * text.C: new function
5849 2003-08-11 André Pönitz <poenitz@gmx.net>
5852 * tracer.[Ch]: remove unneeded files
5854 * InsetList.[Ch]: remove resizeInsetsLyXText()
5859 * text3.C: merge insertParagraphs() and appendParagraph()
5860 remove breakAgain(), update()
5862 * BufferView_pimpl.[Ch]:
5863 * bufferview_funcs.[Ch]:
5867 * tabular.C: adjust after text & InsetList changes.
5869 2003-08-08 André Pönitz <poenitz@gmx.net>
5871 * text.C (insertChar, backspace): replace rowlist fiddling
5872 with rebreak of full par
5875 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5876 checkParagraph, updateInset): removed
5878 2003-08-07 André Pönitz <poenitz@gmx.net>
5881 * text3.C: merge some LFUN handlers, remove dead code
5883 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5885 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5887 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5889 * text2.C (DEPM): fix part of bug 1255 and 1256
5891 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5893 * BufferView_pimpl.C (workAreaDispatch): change to use
5894 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5895 that are no mouse related.
5897 2003-08-05 André Pönitz <poenitz@gmx.net>
5900 * BufferView_pimpl.[Ch]:
5901 * bufferview_funcs.C:
5903 * text3.C: rip out "deep update"
5905 * textcursor.[Ch] (last_sel_cursor): remove unused member
5907 2003-08-04 André Pönitz <poenitz@gmx.net>
5910 * BufferView_pimpl.[Ch]:
5911 * ParagraphParameters.C:
5912 * bufferview_funcs.C:
5918 * text3.C: replace "complicated" BufferView::update(...) calls with
5921 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5923 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5925 * Makefile.am (lyx_SOURCES): add paper.h
5927 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5929 * Makefile.am: move things around so that both lyx-qt and
5930 lyx-xforms can be built (according to --with-frontend). Then lyx
5931 is a symbolic link to lyx-[firstfrontend]
5933 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5935 * Always use std::endl with lyxerr
5937 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5939 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5941 2003-08-01 André Pönitz <poenitz@gmx.net>
5944 * BufferView_pimpl.[Ch]:
5946 * text3.C: merge BufferView::repaint() and BufferView::update()
5948 2003-08-01 José Matos <jamatos@lyx.org>
5950 * buffer.[Ch]: file_format is no longer a buffer data element.
5952 2003-08-01 André Pönitz <poenitz@gmx.net>
5957 * text2.C: make redoParagraph more independent of current cursor
5959 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5961 * text2.C: remove unneeded members
5963 2003-07-30 André Pönitz <poenitz@gmx.net>
5965 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5967 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5968 create a single function...
5970 * paragraph_funcs.C (moveItem): ... here.
5973 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5975 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5977 * LColor.[Ch]: Add comment and greyedout logical colors.
5979 2003-07-30 André Pönitz <poenitz@gmx.net>
5981 * tabular.C: don't use Assert too heavily. This crashes where it
5984 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5986 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5987 is disabled (bug 1232)
5989 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5991 * factory.C: limited 'arg' scope
5993 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5995 * factory.C: fixed Note submenu issues
5997 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5999 * factory.C: submenu for Note/Comment/Greyedout
6001 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6004 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6006 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6009 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6010 greyedout. Patch provided by Jürgen Spitzmüller.
6012 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6014 * kbmap.C (read): fix error message when reading bind files
6016 2003-07-29 Angus Leeming <leeming@lyx.org>
6018 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6019 certainly does not do what it purports to do. I am doing it, and
6020 us, a favour by killing it.
6022 2003-07-28 José Matos <jamatos@lyx.org>
6024 * buffer.C (readBody, do_writeFile):
6025 * paragraph.C(readParagraph): \end_document replaces \the_end.
6027 2003-07-29 André Pönitz <poenitz@gmx.net>
6030 * BufferView_pimpl.[Ch]:
6034 * textcursor.[Ch]: remove toggleToggle & Co
6036 2003-07-28 José Matos <jamatos@fep.up.pt>
6038 * buffer.C (readParagraph):
6039 * params_func (readParToken, readParagraph):
6040 * paragraph.C (write): \layout -> \begin_layout.
6042 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6044 * lyxlex_pimpl.C (setFile): clean up slightly.
6046 * bufferparams.h: add compressed var
6048 * buffer_funcs.C (readFile): adjust for LyXLex change
6049 (newFile): ditto + simplify
6051 * buffer.C (writeFile): handle writing of compressed files
6053 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6054 Check if the file is compressed and set a bufferparm if so.
6056 * Makefile.am (lyx_LDADD): remove explicit -lz
6058 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6060 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6061 makeDocBookFile): put the real LyX version in the first line of
6065 * version.C.in: remove lyx_docversion
6067 * tabular.C (write_attribute): add a template-based version to
6068 write enums properly
6070 2003-07-28 André Pönitz <poenitz@gmx.net>
6075 * text3.C: use doubles again for x-coordinates. They are needed.
6077 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6079 * messages.C (getLocaleDir): use lyx_localedir()
6081 * lyxlex_pimpl.C (setFile): compress stuff
6083 * buffer.C (writeFile): add some compression stuff
6084 (do_writeFile): new func, dont call expliti close... will this
6087 * Makefile.am (lyx_LDADD): add -lz
6089 2003-07-28 José Matos <jamatos@fep.up.pt>
6091 * buffer.C: increment file format.
6092 * paragraph_funcs (readParagraph, readParToken):
6093 * paragraph.C (readParagraph): add \end_layout.
6095 2003-07-27 Angus Leeming <leeming@lyx.org>
6097 * Makefile.am: remove special casing for configure-time setting of
6098 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6100 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6101 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6103 2003-07-26 André Pönitz <poenitz@gmx.net>
6105 * paragraph_func.[Ch]:
6106 * paragraph.C (realizeFont): inline it whereever it is used
6111 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6114 2003-07-26 André Pönitz <poenitz@gmx.net>
6118 * text2.C: get rid of LyXText::need_break_row
6120 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * toc.[Ch]: put namespace toc inside namespace lyx
6124 * MenuBackend.C (expandToc2): adjust for lyx::toc
6127 * lyxfunc.C (dispatch): adjust for lyx::find
6129 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6130 lyx::find instead. Reorganize a bit.
6131 (LyXReplace): rename to replace
6132 (LyXFind): rename to find
6134 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6137 2003-07-26 André Pönitz <poenitz@gmx.net>
6139 * text.C (setHeightOfRow): restrict scope of temporary variable
6141 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6142 code (never has been used?)
6144 2003-07-27 Asger Alstrup <alstrup@local>
6146 * text.C (fill): Optimise algorithm to exploit that we can reuse
6147 the LyXFont for many characters.
6148 (setHeightOfRow): Same thing.
6149 (rowBreakPoint): Same thing.
6151 2003-07-26 Asger Alstrup <alstrup@local>
6153 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6155 * text.C (singleWidth): Spurious font copying in hot-spot
6156 singleWidth avoided. Reorder tests for arabic for efficiency.
6158 * text.C (fill): handle empty paragraphs better.
6160 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6163 * encoding.h: add includes
6165 * lyxrc.C: remove reading of bind files
6167 * lyx_main.C (init): setup bindings and menus only if we have a
6170 * kbmap.C (read): new method. Do the actual reading of bind
6173 * converter.C (dvipdfm_options):
6176 (output): adapt PAPER_* enums.
6178 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6180 * bufferparams.h: remove paper-related enums from there
6182 * paper.h: New file. A trivial header file to hold paper-related
6183 enums. It should later expand to contain many paper-related
6186 * lyxrc.C: declare extern displayTranslator
6188 2003-07-27 José Matos <jamatos@fep.up.pt>
6190 * tabular.[Ch] (linuxdoc): add support for tables and figures
6193 2003-07-27 José Matos <jamatos@fep.up.pt>
6195 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6196 consistency in both functions.
6197 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6199 2003-07-26 Asger Alstrup <alstrup@local>
6201 * rowpainter.C (paintRows): Change algorithm to work directly on
6202 the insets rather than asking every character in the document
6203 whether its an inset.
6205 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6207 * buffer.C (openFileWrite): factorize some code
6209 2003-07-26 Angus Leeming <leeming@lyx.org>
6212 * lyx_main.[Ch]: replace occurances of system_tempdir with
6215 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6217 * rename Inset to InsetOld
6219 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6221 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6222 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6223 which I think is a bit clearer. EDIT is gone, since it was
6224 premature optimisation, and broken for mathed anyway.
6225 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6226 with cursor positioning in insets as well (math insets still do not
6227 work, but that's a different story anyway.) It mysteriously
6228 crashes sometimes with undo in the first paragraph, but I'm fairly
6229 confident that this is a compiler bug.
6231 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * paragraph.C (Paragraph): adjust for new clone return type
6235 (copyIntoMinibuffer): ditto
6237 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6239 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6240 by not having a special case, and always doing a full rebreak of
6241 the document after undo.
6243 2003-07-23 Angus Leeming <leeming@lyx.org>
6245 * factory.C (createInset): InsetExternal::setParams now takes a
6248 2003-07-23 Angus Leeming <leeming@lyx.org>
6250 * factory.C (createInset): changed interface to the external and
6251 graphics mailers' string2params functions.
6253 2003-07-23 Angus Leeming <leeming@lyx.org>
6255 * factory.C (createInset): pass a
6256 Buffer const * parameter to InsetExternalMailer's string2params.
6258 2003-07-22 John Levon <levon@movementarian.org>
6260 * Thesaurus.h: include the right aiksaurus header
6262 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6264 * MenuBackend.C (expand): check menu shortcuts unconditionally
6266 2003-07-21 Angus Leeming <leeming@lyx.org>
6268 * factory.C (createInset): pass a
6269 buffer_path parameter to InsetGraphicsMailer's string2params.
6271 2003-07-21 Angus Leeming <leeming@lyx.org>
6273 * BufferView_pimpl.C (buffer):
6276 * lyxfunc.C (dispatch):
6277 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6278 rather than the grfx shortcut.
6280 2003-07-21 André Pönitz <poenitz@gmx.net>
6282 * rowpainter.C: remove unused variables
6285 * tabular_funcs.h: move to tabular.C
6286 * Makefile.am: adjust
6288 * tabular.[Ch]: basic optical cleaning
6290 * author.h: pass references, not values
6292 2003-07-18 André Pönitz <poenitz@gmx.net>
6300 * text3.C: two-phase drawing for InsetText and InsetTabular
6301 some float -> int changes.
6303 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6305 * lyx_main.C: fix the fix
6307 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6309 * lyx_main.C: fix a crash in batch mode if no files specified
6312 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6314 * format.[Ch] (papersize): moved to BufferParams
6315 * converter.[Ch] (dvips_options): moved to BufferParams
6316 (dvipdfm_options): moved to anon namespace
6317 * bufferparams.[Ch]: added above functions.
6319 2003-07-17 André Pönitz <poenitz@gmx.net>
6323 * text2.C: don't call inset->update() anymore
6325 * metricsinfo.[Ch]: add convenience constructor
6327 2003-07-16 André Pönitz <poenitz@gmx.net>
6332 * text2.C: replace the LyXCursor::irow_ member with
6333 on-demand computation of the value
6335 2003-07-16 John Levon <levon@movementarian.org>
6337 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6339 2003-07-15 André Pönitz <poenitz@gmx.net>
6342 * text2.C: remove no more needed refresh_row
6344 2003-07-15 André Pönitz <poenitz@gmx.net>
6349 * text3.C: refresh_status tristate -> need_update bool
6351 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6353 * lyxtext.h (init): remove reinit argument (act as if always true)
6354 * text2.C: adjust to that
6356 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6358 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6359 * text3.C: use it to delete selections in some cases
6360 (bugs 441, 673, 702, 954).
6362 2003-07-14 André Pönitz <poenitz@gmx.net>
6364 * rowpainter.[Ch]: reduce interface
6366 2003-07-14 André Pönitz <poenitz@gmx.net>
6368 * BufferView_pimpl.C:
6369 * text2.C: adjust after removing unused BufferView * argument
6371 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6373 * text2.C (init): fix a crash fired on resize
6375 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6377 * buffer.[Ch]: added new closing signal
6378 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6379 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6380 BufferView::Pimpl via the closing the signal
6382 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6384 * buffer.[Ch]: take out all bv-related from buffer
6386 * BufferView_pimpl.[Ch]: connect to new signals
6387 * CutAndPaste.C: removed useless asserts
6388 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6391 * lyxfunc.C: moved view-related funciontality from vc here
6392 * paragraph.C: removed outdated comments
6395 2003-07-10 André Pönitz <poenitz@gmx.net>
6397 * BufferView_pimpl.C:
6401 * text2.C: remove InsetText::InnerCache, clean up consequences
6403 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6405 * ispell.C: fix two typos in error messages
6407 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6409 * Extend Note inset to other forms of annotation like Comment
6410 and Greyedout. Right button click gives dialog.
6412 Files modified or added (+):
6416 * ControlNote.[Ch] +
6418 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6419 frontends/controllers
6423 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6425 * aspell.C: add missing namespace lyx::support
6427 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6429 * BufferView.[Ch] (newFile): Add
6430 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6431 * LaTeX.[Ch] (message): added this signal and use it
6432 * buffer.[Ch] (busy, message): added these signals and use them
6433 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6437 * importer.C: use buffer signals instead of direct bv calling
6438 * lyx_cb.[Ch] (ShowMessage): removed
6441 * paragraph_funcs.C:
6442 * text2.C: use buffer signals
6444 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6446 * introduce namespace lyx::graphics
6448 2003-07-02 André Pönitz <poenitz@gmx.net>
6450 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6452 2003-07-01 André Pönitz <poenitz@gmx.net>
6459 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6460 text*.C to text_func.C
6462 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * introduce namespace lyx::support
6466 2003-06-30 André Pönitz <poenitz@gmx.net>
6471 * text.C: re-enable --with-included-string
6473 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * textcursor.C: add <config.h>
6477 * text.C (getWord): remove const from word_location arg
6479 * lyxvc.C (getLogFile): fix const type order
6481 * lyxtext.h: remove const from word_location arg, add arg name
6483 * lyxlayout.h: currect type on labeltype.
6485 * importer.C: correct \file
6487 * converter.C (intToFormat): use std:: on ret val, ws changes
6489 * bufferlist.h: correct \file
6491 * buffer.C (makeLinuxDocFile): fix const type order
6492 (makeDocBookFile): ditto
6493 (fillWithBibKeys): use std:: on stdlib args.
6495 * CutAndPaste.C: fix authors.
6496 (availableSelections): use std:: on return vector
6498 2003-06-27 André Pönitz <poenitz@gmx.net>
6500 * BufferView_pimpl.C:
6501 * bufferview_funcs.C:
6509 * text3.C: remove LyXCursor::row_ member
6512 * text.C: rename fullRebreak() to partialRebreak() and implement
6513 a fullRebreak() that really bereks fully
6515 * textcursor.h: new struct for cursor-related data
6517 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6519 * lyx_main.C (LyX): get full path of document loaded on the
6522 2003-06-26 André Pönitz <poenitz@gmx.net>
6524 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6525 remove unused/broken operator>,<,>=.
6527 * text.C: remove only use of broken operator<= in an Assert().
6529 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6531 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6532 moved errorlist_.clear to showErrorList
6534 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6536 * converter.C (scanLog, runLaTeX):
6537 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6538 move the bv->showErrorList call to the callers
6539 * lyxfunc.C: i.e. here...
6541 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6542 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6543 namespace, the second to...
6544 * buffer_funcs (BufferFormat, parseErrors): added
6545 * errorlist.C (ErrorList(TeXErrors const &)): removed
6547 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6549 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6551 2003-06-24 "Garst R. Reese" <reese@isn.net>
6555 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6557 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6559 * version.C.in: change docversion to 1.4
6561 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6563 * buffer.C: fix a bug just introduced
6565 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6567 * buffer.[Ch]: added the parseError signal and use it, removed
6569 * BufferView.[Ch] (addError): moved to ...
6570 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6571 to the Buffer::parseError signal to catch (guess what) parse errors
6572 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6574 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6576 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6577 ability to create a buffer and to return an existing one from
6578 the list. Moved these functions to...
6579 * buffer_funcs.[Ch]: added
6580 * BufferView.[Ch] (loadLyXFile): added
6581 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6582 job removed from bufferlist::loadLyXFile.
6583 * buffer.C (setReadOnly): make it work without view
6584 (i.e added an if (users))
6586 2003-06-19 Angus Leeming <leeming@lyx.org>
6589 * LyXAction.C (init):
6590 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6591 with LFUN_DIALOG_SHOW <name> <data>.
6593 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6595 * CutAndPaste.C (availableSelections): small compilation fix for
6596 ancient (gcc 2.9x) compilers
6598 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6600 * text3.C (cursorNext): add tmp var
6602 * text2.C (updateCounters): for function calling out of for clause
6603 (replaceSelectionWithString): ditto
6604 (insertStringAsParagraphs): ditto
6605 (getColumnNearX): add tmp var
6606 (setCursorFromCoordinates): add tmp var
6607 (cursorDownParagraph): add tmp var
6608 (deleteEmptyParagraphMechanism): add tmp var
6610 * text.C (insertChar): add tmp var
6612 * rowpainter.C (paintDepthBar): add tmp var
6614 * CutAndPaste.C (availableSelections): potentially check all
6615 paragraphs in a cut to fill the shown strings.
6617 2003-06-18 André Pönitz <poenitz@gmx.net>
6619 * kbmap.[Ch]: use vector<> instead of list<>
6621 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6623 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6624 pasteSelection with index
6626 * text2.C (pasteSelection): modify, call pasteSelection with index
6628 * paragraph.C (asString): reimplement version with no interval to
6629 call the one with interval.
6631 * lyxtext.h: add index arg to pasteSelection
6633 * MenuBackend.C (MenuItem): handle PasteRecent
6634 (Menu::read::Menutags): add md_pasterecent
6636 (expandPasteRecent): new function
6639 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6641 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6643 (availableSelections): new function
6645 2003-06-17 Angus Leeming <leeming@lyx.org>
6647 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6649 2003-06-17 Angus Leeming <leeming@lyx.org>
6652 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6654 * lyxfunc.C (dispatch): invoke it.
6656 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6658 * iterators.C (operator++, ParPosition): reintroduce some
6659 const_cast for the benefit of older compilers.
6661 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6663 * text3.C (dispatch): do not modify clipboard when doing
6664 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6665 LFUN_DELETE_SKIP on a selection selection
6667 2003-06-16 André Pönitz <poenitz@gmx.net>
6673 * tabular.[Ch]: IU of clone() and getLabelList();
6675 2003-06-13 André Pönitz <poenitz@gmx.net>
6677 * tabular.h: compactification
6679 2003-06-12 André Pönitz <poenitz@gmx.net>
6683 * tabular_funcs.h: some renaming plus whitespace
6685 2003-06-12 André Pönitz <poenitz@gmx.net>
6688 * BufferView_pimpl.C:
6694 * toc.C: Return a Paragraph & for ParIterator::operator*()
6696 2003-06-11 John Levon <levon@movementarian.org>
6700 * ToolbarBackend.C: add "Toolbars" section and
6703 2003-06-10 Angus Leeming <leeming@lyx.org>
6706 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6708 * lyxfunc.C (dispatch): invoke it.
6710 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6712 * main.C: protect <ios> with HAVE_IOS
6713 (main): protect sync_with_stdio with HAVE_IOS
6715 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6717 * text2.C (cutSelection): adjust
6718 (pasteSelection): adjust
6720 * messages.C: handle get of empty string
6722 * main.C (main): use sync_with_stdio(false)
6724 * lyxfunc.C (dispatch): adjust
6726 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6727 (WriteAs): remove unneeded BufferView arg.
6729 * bufferparams.h: use correct types on papersize, papersize2 and
6732 * bufferparams.C (readToken): adjust for type
6733 (writeLaTeX): add missing cases to switch.
6735 * bufferlist.C (quitWriteBuffer): adjust
6738 * buffer.C (asciiParagraph): remove some commented code.
6740 * CutAndPaste.C: remove current_view extern variable.
6741 (cutSelection): add BufferParams arg.
6742 (eraseSelection): add BufferParams arg.
6743 (pasteSelection): add Buffer const & arg
6745 2003-06-07 John Levon <levon@movementarian.org>
6748 * paragraph_funcs.C:
6749 * paragraph_pimpl.C:
6753 * paragraph.C: allow InsetERT to freely space lines,
6754 and some consolidation of code
6756 2003-06-06 José Matos <jamatos@fep.up.pt>
6758 * buffer.C (makeDocBookFile): fix bug #821
6760 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6762 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6764 2003-06-04 Angus Leeming <leeming@lyx.org>
6766 * buffer.C: bump format to 224.
6768 2003-06-05 André Pönitz <poenitz@gmx.net>
6770 * text2.C (redoParagraphs): remove two const_cast<>
6772 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6774 * ParagraphList.h: remove last remnants of NO_STD_LIST
6776 2003-06-03 Angus Leeming <leeming@lyx.org>
6778 * factory.C (createInset): small change to the way InsetExternal's params
6781 2003-06-04 André Pönitz <poenitz@gmx.net>
6783 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6785 * paragraph_pimpl.h:
6786 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6788 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6790 * undo_funcs.C: make some simple cases of undo work again
6792 2003-06-03 John Levon <levon@movementarian.org>
6794 * ispell.C: HPUX doesn't have sys/select.h
6797 2003-06-03 John Levon <levon@movementarian.org>
6799 * CutAndPaste.C: update tabular and include inset
6804 * paragraph.C: remove owningBuffer(), don't pass Buffer
6807 * factory.C: insetGraphicsParams changed
6809 2003-06-02 John Levon <levon@movementarian.org>
6815 * text3.C: remove insetparent
6817 2003-06-02 John Levon <levon@movementarian.org>
6820 * buffer.C: fix inset_iterator.end(), move out of line
6823 2003-06-01 John Levon <levon@movementarian.org>
6825 * text3.C: use a proper cut/paste when doing inset
6826 insert (from Jürgen Spitzmüller)
6828 2003-06-01 John Levon <levon@movementarian.org>
6830 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6832 2003-05-30 André Pönitz <poenitz@gmx.net>
6834 * rowpainter.C: unify second drawing phase
6836 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6838 * trans_mgr.C: remove one case of current_view
6840 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6842 * paragraph_funcs.h: remove paragraph.h include
6844 * paragraph.h: delete NO_STD_LIST stuff
6846 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6848 * buffer.h: remove paragraph.h include
6850 * ParagraphList.C: delete file
6852 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6854 * toc.C (getTocList): adjust
6856 * paragraph_pimpl.C (validate): adjust
6858 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6860 * paragraph.C (Paragraph): adjust
6861 (getPositionOfInset): use const_iterator, adjust
6862 (bibitem): use const_iterator, adjust
6863 (setInsetOwner): adjust
6865 * iterators.C (operator++): adjust
6867 * InsetList.[Ch]: Replace selfmade iterator with standard
6868 vector::iterator also introduce const_iterator. Remove getPos,
6869 getInset and setInset from InsetTable. Adjust accordingly.
6871 * BufferView.C (lockInset): adjust
6872 (ChangeInsets): adjust
6874 * tabular.[Ch]: delete commented same_id functions
6876 2003-05-28 John Levon <levon@movementarian.org>
6878 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6880 2003-05-28 André Pönitz <poenitz@gmx.net>
6882 * metricsinfo.[Ch]: remove 'fullredraw' member
6884 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6886 * lyxtextclass.C (operator): remove caching.
6888 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6892 * text2.C (cursorBottom): adjust
6893 (setCounter): use ParagraphList::find, adjust
6895 * text.C (workWidth): use ParagraphList::find, adjust
6897 * lyxcursor.C (LyXCursor): adjust
6899 * buffer.C (inset_iterator): adjust
6901 * ParagraphList.h: make iterator(value_type) private, make
6902 ParagraphList a friend of iterator.
6904 * ParagraphList.C (find): new function
6906 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6908 2003-05-27 André Pönitz <poenitz@gmx.net>
6910 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6912 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6914 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6916 2003-05-26 John Levon <levon@movementarian.org>
6918 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6920 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * remove same_id from function signatures, adjust.
6924 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6926 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6928 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6930 * paragraph.C (Paragraph): get rid of same_ids parameter
6932 * ParagraphList.C (insert): adjust
6935 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6937 * paragraph_funcs.C (breakParagraph): adjust
6938 (breakParagraphConservative): adjust
6940 * buffer.C (readParagraph): adjust
6942 * ParagraphList.C (insert): take a reference instead of a pointer
6945 * paragraph.[Ch] (id): new function
6947 * bufferlist.C (newFile): adjust
6949 * ParagraphList.C (ParagraphList): adjust
6951 (push_back): take a reference instead of a pointer.
6953 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6955 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6958 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6959 set else use old code.
6961 * ParagraphList.C: remove all NO_NEXT code and only compile this
6962 code of NO_STD_LIST is set.
6964 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6966 * BufferView_pimpl.C:
6976 * graphics/GraphicsConverter.C:
6977 * graphics/PreviewLoader.C: header adjustment
6979 2003-05-23 Angus Leeming <leeming@lyx.org>
6981 * LaTeXFeatures.[Ch] (useBabel): new method.
6982 * bufferparams.C (writeLaTeX): use it.
6984 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6986 * ParagraphList.h (set): remove unused function.
6988 2003-05-23 André Pönitz <poenitz@gmx.net>
6991 * BufferView_pimpl.C:
6995 * undo_funcs.C: setUndo reworked
6997 * iterators.[Ch]: add access to topmost ParagraphList
6999 * lyxtext.[Ch] (workWidth): add a const
7001 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7003 * texrow.[Ch] (increasePos): remove function
7004 * exporter.C (export): removed unused var and outdated comment
7006 2003-05-23 Angus Leeming <leeming@lyx.org>
7008 * latexrunparams.h: rename fragile as moving_arg.
7009 * paragraph.C (simpleTeXOnePar): ditto.
7010 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7012 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7016 (textUndoOrRedo): comment out a currently unused var.
7018 * paragraph.h (NO_NEXT): enable NO_NEXT
7020 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7022 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7024 * exporter.C (Export): adjust for removeAutoInsets removal.
7026 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7028 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7030 * BufferView.[Ch] (removeAutoInsets): delete function
7032 2003-05-22 Angus Leeming <leeming@lyx.org>
7034 * latexrunparams.h: add a free_spacing variable.
7036 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7037 to pass moving_arg, as the data is stored in runparams.fragile.
7039 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7040 to Inset::latexOptional or to simpleTeXOnePar.
7042 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7043 free_spacing arg to Inset::latexOptional.
7045 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7048 2003-05-22 Angus Leeming <leeming@lyx.org>
7050 * latexrunparams.h: add fragile and use_babel variables.
7052 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7053 * buffer.C (makeLaTeXFile): store this returned value in
7054 runparams.use_babel, thus passing it to the inset::latex methods.
7056 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7057 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7059 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7060 longer has a fragile arg, as it is stored in runparams.fragile.
7062 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7063 moving_arg parameter as the data is stored in runparams.fragile.
7065 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7066 a fragile parameter as the data is stored in runparams.fragile.
7068 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7072 2003-05-22 Angus Leeming <leeming@lyx.org>
7074 * latexrunparams.h: add a 'bool nice' which defaults to false.
7076 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7077 now encapsulated within runparams.
7079 * bufferlist.C (updateIncludedTeXfiles):
7080 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7082 2003-05-22 Angus Leeming <leeming@lyx.org>
7084 * latexrunparams.h: new file containing struct LatexRunParams.
7085 * Makefile.am: add new file.
7087 * LaTeX.[Ch] (c-tor, run):
7088 * buffer.[Ch] (makeLaTeXFile):
7089 * bufferlist.[Ch] (updateIncludedTeXfiles):
7090 * converter.C (convert, scanLog):
7091 * converter.[Ch] (runLaTeX):
7092 * exporter.C (Export):
7093 * paragraph.[Ch] (simpleTeXOnePar):
7094 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7095 * paragraph_funcs.[Ch] (latexParagraphs):
7096 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7097 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7098 pass around a LatexRunParams parameter.
7100 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7102 * paragraph.[Ch]: remove unused constructor
7104 * ParagraphList.C (erase): new function, taking two iterators
7106 2003-05-22 André Pönitz <poenitz@gmx.net>
7108 * undo_funcs.C: remove duplicated code
7110 * iterator.[Ch]: operator=
7112 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7114 * tabular.C (SetMultiColumn): ws changes
7116 * rowpainter.C (paintFirst): get rid of a ->previous
7118 * lyx_cb.C (getPossibleLabel): parlist simplification
7120 * BufferView.C (ChangeInsets): simplify slightly.
7122 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7124 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7125 * lfuns.h: new LFUN_SPACE
7126 * lyxfunc.C: protected space has a new lfun
7127 * paragraph_funcs.C: read new space insets
7129 * factory.C: handle new space insets
7131 2003-05-22 André Pönitz <poenitz@gmx.net>
7134 * BufferView_pimpl.C:
7137 * undo_funcs.C: return a ParIterator from getParFromID.
7139 * iterators.[Ch]: add two const's
7141 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * toc.C (getTocList): adjust
7145 * iterators.[Ch]: rework for parlist
7147 * buffer.C (par_iterator_begin): adjust
7148 (par_iterator_end): adjust
7150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7152 * BufferView.C (removeAutoInsets): adjust
7153 (ChangeInsets): adjust
7155 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7157 * text.C (top_y): fix bug 1110
7159 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7161 * errorlist.[Ch]: added
7164 * BufferView_pimpl.C:
7165 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7168 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * Makefile.am: ensure that lyx is relinked upon changes to the
7171 various "convenience" libs.
7173 2003-05-20 Angus Leeming <leeming@lyx.org>
7175 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7176 files are compiled in alphabetical order again.
7178 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7180 2003-05-19 Angus Leeming <leeming@lyx.org>
7182 * gettext.[Ch]: remove "char const * _(char const *)".
7184 2003-05-19 André Pönitz <poenitz@gmx.net>
7186 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7195 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7197 2003-05-19 André Pönitz <poenitz@gmx.net>
7201 * lyxtextclass.[Ch]:
7203 * paragraph_funcs.[Ch]:
7205 * text3.C: more insetenv work
7207 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7209 * ParagraphParameters.C (params2string): small bug fixed
7211 2003-05-16 André Pönitz <poenitz@gmx.net>
7214 * bufferview_funcs.C: patch from Kornel Benko to prevent
7215 crash when _(...) is called twice in a statement
7217 2003-05-16 André Pönitz <poenitz@gmx.net>
7224 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7226 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7228 * lyx_main.C (init): remove spurious static_cast
7230 2003-05-14 André Pönitz <poenitz@gmx.net>
7232 * BufferView.C: fix format string
7234 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7236 * BufferView.[Ch] (insertErrors): removed
7237 * BufferView.[Ch] (showErrorList): added
7238 * buffer.C (runChkTeX):
7239 * converter.C (scanLog): call showErrorList instead of inserterrors
7241 2003-05-13 André Pönitz <poenitz@gmx.net>
7243 * BufferView_pimpl.C:
7245 * bufferview_func.C:
7252 * tabular_funcs.h: tostr() from its own header
7254 * ParagraphParameters.C:
7259 * text3.C: STRCONV()
7261 2003-05-12 André Pönitz <poenitz@gmx.net>
7264 * BufferView_pimpl.C:
7268 * ParagraphParameters.C:
7272 * bufferview_funcs.C:
7285 * paragraph_funcs.C:
7289 * text3.C: boost::format -> bformat all over the place
7292 2003-05-09 André Pönitz <poenitz@gmx.net>
7294 * LColor.[Ch]: Pimpl the #include <map> away
7296 2003-05-09 John Levon <levon@movementarian.org>
7298 * bufferlist.C: never remove emergency saves
7300 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * Makefile.am: better lib building
7304 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7308 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7309 (simpleTeXSpecialChars): adjust
7310 (simpleTeXSpecialChars): adjust
7311 * paragraph.C (simpleTeXOnePar): adjust
7312 * buffer.C (makeLaTeXFile): adjust
7314 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7316 * text2.C (changeDepth): parlist cleanup
7317 (getColumnNearX): ditto
7319 * rowpainter.C (getLabelFont): parlist cleanup
7321 * bufferlist.C (newFile): parlist cleanup
7323 * CutAndPaste.C (eraseSelection): parlist cleanup
7325 * BufferView_pimpl.C (trackChanges): parlist cleanup
7328 * BufferView.C (lockInset): parlist cleanup.
7329 (ChangeInsets): ditto
7331 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * CutAndPaste.h: Update file header.
7335 * CutAndPaste.C: Update file header.
7336 Store the parts cut out of the Document in a limited_stack.
7337 (copySelection): adjust
7338 (pasteSelection): new function, takes the index in the limited stack.
7339 (nrOfParagraphs): adjust
7340 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7341 simplify error inset insertion.
7342 (checkPastePossible): adjust
7344 2003-05-06 John Levon <levon@movementarian.org>
7346 * text2.C: don't cast wrap inset to float
7348 2003-05-05 André Pönitz <poenitz@gmx.net>
7351 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7353 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7354 few naked Paragraph *.
7356 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7358 * bufferparams.C: Output warning if a document with missing
7359 TeX document class is loaded
7360 * exporter.C: Disable TeX exports if the document class is missing
7363 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7364 isTeXClassAvailable()
7366 2003-05-03 John Levon <levon@movementarian.org>
7369 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7370 explicit cursor show/hide
7372 * BufferView_pimpl.h:
7373 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7374 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7376 * lyxfunc.C: hide cursor before dispatching.
7381 * text3.C: remove explicit cursor hides
7383 2003-05-02 André Pönitz <poenitz@gmx.net>
7385 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7388 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7391 * text2.C: tiny whitespace
7393 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7395 * undo_funcs.C: almost only ws changes.
7397 * ParagraphList.C (splice): just return if pl is empty.
7399 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * ParagraphList.C (splice): new function.
7403 * CutAndPaste.C (pasteSelection): use it
7405 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7407 * CutAndPaste.C (pasteSelection): remove the last next and
7408 previous from this file.
7410 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * CutAndPaste.C (pasteSelection): more clean up, user proper
7413 ParagraphList functions for pasteing.
7415 * ParagraphList.C (insert): new function, three arg insert
7417 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7419 * ParagraphList.C (insert): new function, three arg insert
7421 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7424 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7428 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7432 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7435 (copySelection): clean up a bit.
7436 (pasteSelection): use make_pair
7438 * ParagraphList.C (ParagraphList): implement copy constructor
7439 (operator=): implement, base on copy constructor.
7442 * paragraph.C (erase): return a bool
7444 * paragraph_pimpl.C (erasePos): remove function, move contents...
7445 (erase): ... here. Return a bool.
7446 (erase): call erase instead of erasePos.
7448 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7450 * ParagraphList.h: define PitPosPair
7451 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7452 ParagraphList, fix a bug on pasting multiple pars
7453 * text2.C: change interface to C&P
7455 2003-04-30 André Pönitz <poenitz@gmx.net>
7457 * undo_func.C: revert part of yesterday's patch 2
7459 2003-04-30 John Levon <levon@movementarian.org>
7461 * LColor.C: s/tabular/table/
7463 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * text3.C (dispatch): do not convert iterator -> pointer
7466 * undo_funcs.C (setCursorParUndo): ditto
7467 * text_funcs.C (transposeChars): ditto
7469 * text2.C (setLayout): ws changes only
7471 * text.C (breakParagraph): do not convert iterator -> pointer
7473 (acceptChange): ditto
7474 (rejectChange): ditto
7479 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7482 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7484 * text3.C (gotoInset): YABG (yet another bad getChar)
7486 2003-04-29 André Pönitz <poenitz@gmx.net>
7488 * paragraph.h: make operator= private unimplemented as long as
7491 * ParagraphList.C: whitespace
7494 * paragraph_pimpl.[Ch]:
7495 * paragraph_funcs.C:
7497 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7500 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7502 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7504 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7505 * paragraph.[Ch] (erase):
7506 * paragraph_pimpl.[Ch] (erase): change return type and value
7507 * text2.C (cutSelection): some rework
7509 2003-04-28 John Levon <levon@movementarian.org>
7511 * bufferlist.C: changes for unsaved changes dialog
7513 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7515 * bufferlist.C (newFile): set language (messages_) for new
7518 * buffer.C (readFile): ws changes only.
7520 2003-04-28 André Pönitz <poenitz@gmx.net>
7525 * BufferView_pimpl.C:
7526 * BufferView.C: getParFromID related ParagraphList::iterator changes
7528 2003-04-28 André Pönitz <poenitz@gmx.net>
7530 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7533 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * messages.C: remove one more localedir class variable.
7537 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * messages.C (getLocaleDir): singleton generation function
7541 (Messages): add a default constructor.
7543 * main.C (main): do not setup localedir here, do not call
7546 * gettext.C (_): use it.
7547 (gettext_init): delete funciton
7549 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * gettext.C (getLyXMessages): new singleton generating function.
7553 * buffer.C (updateDocLang): adjust
7555 * Makefile.am (messages.o): add target
7556 (main.o): remove target
7558 2003-04-27 John Levon <levon@movementarian.org>
7563 * lyxvc.C: specify cancel button in Alert::prompt
7565 2003-04-26 John Levon <levon@movementarian.org>
7570 * LyXAction.C: add LFUN_INSET_SETTINGS
7572 * lyxfunc.C: don't enable tabular-feature when there's
7573 just any locking inset
7575 2003-04-26 John Levon <levon@movementarian.org>
7577 * bufferlist.C: re-add Cancel to buffer close question
7579 * lyxfunc.C: fix import UI a bit
7581 2003-04-25 John Levon <levon@movementarian.org>
7583 * gettext.C: remove the broken asserts for now
7585 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * messages.C: make case where setlocale cannot comply work better.
7589 * buffer.C (updateDocLang): new function
7590 (changeLanguage): use it
7593 * text2.C (setCounter): use B_ a bit.
7595 * lyxlayout.C (Read): be sure to trim the label strings.
7597 * messages.C (Messages): fix typo in comment
7599 * buffer.C (readFile): set message_ after file is loaded.
7600 (makeDocBookFile): remove double return
7601 (changeLanguage): reset message_ upon language change.
7602 (B_): new func, use this to get translated buffer strings.
7604 * main.C: add myself and Jean Marc as authors.
7606 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * messages.[hC]: pimplify Messages, and three different pimpls to be
7609 used in different circumstances.
7611 * gettext.[Ch]: change for use with new message code.
7613 2003-04-24 André Pönitz <poenitz@gmx.net>
7615 * factory.C: support for eqref
7617 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7619 * messages.[Ch]: add missing char
7621 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7623 * messages.[Ch]: New files
7625 2003-04-18 John Levon <levon@movementarian.org>
7629 * BufferView_pimpl.C:
7633 * text2.C: remove layout-copy/paste (bug 778)
7635 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7637 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7639 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7641 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7642 if they succeed. Act accordingly.
7644 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * text2.C (setCharFont): adjust
7647 (setCounter): adjust
7648 (insertStringAsLines): adjust
7650 * text.C (leftMargin): adjust
7651 (setHeightOfRow): adjust
7653 * rowpainter.C (paintFirst): adjust
7656 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7658 (isFirstInSequence): ditto
7659 (getEndLabel): ditto
7662 * paragraph.C (getParLanguage): comment out some hard stuff.
7664 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7666 (simpleDocBookOnePar): ditto
7667 (makeDocBookFile): use ParagraphList::iterator
7669 * CutAndPaste.C (pasteSelection): adjust
7671 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * text2.C (getFont): adjust
7674 (getLayoutFont): adjust
7675 (getLabelFont): adjust
7677 * paragraph_funcs.C (TeXOnePar): adjust
7679 * buffer.C (simpleLinuxDocOnePar): adjust
7680 (simpleDocBookOnePar): adjust
7682 * CutAndPaste.C (pasteSelection): adjust
7684 * BufferView.C (getEncoding): adjust
7686 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7688 2003-04-16 John Levon <levon@movementarian.org>
7690 * lyxfind.C: use parlist stuff for search/changes
7692 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7696 * text2.C (deleteEmptyParagraphMechanism): adjust
7698 * text2.[Ch] (ownerParagraph): delete func (both of them
7700 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * ParagraphList.C: prepare for NO_NEXT
7708 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * text2.C (getFont): adjust
7711 (getLayoutFont): adjust
7712 (getLabelFont): adjust
7714 * paragraph.C (getFont): adjust
7715 (getLabelFont): adjust
7716 (getLayoutFont): adjust
7718 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7720 2003-04-15 John Levon <levon@movementarian.org>
7724 * lyx_main.C: handle Include in .ui files
7726 2003-04-15 John Levon <levon@movementarian.org>
7728 * MenuBackend.C: make the doc files length shorter
7731 * ToolbarBackend.C: handle toolbar placement flags,
7734 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7739 * paragraph_funcs.C (TeXOnePar): adjust
7741 * paragraph.C (getLabelFont): add outerfont arg, adjust
7742 (getLayoutFont): ditto
7743 (simpleTeXOnePar): adjust
7745 * paragraph_pimpl.C (realizeFont): delete func
7747 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7749 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7750 row argument, constify cur argument.
7752 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * text2.C (getFont): adjust
7755 (getLayoutFont): adjust
7756 (getLabelFont): adjust
7758 * paragraph_funcs.C (TeXOnePar): adjust
7759 (outerFont): new func...
7760 (realizeFont): ...moved out from here, changed this to facilitate
7763 * paragraph.C (getFont): take outerfont as arg, adjust
7764 (simpleTeXOnePar): add outerfont arg, adjust
7766 * buffer.C (simpleLinuxDocOnePar): adjust
7767 (simpleDocBookOnePar): adjust
7769 * CutAndPaste.C (pasteSelection): adjust
7771 * BufferView.C (getEncoding): adjust
7773 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * text2.C (setCharFont): adjust
7776 (setCounter): adjust
7778 * text.C (leftMargin): adjust
7779 (setHeightOfRow): adjust
7781 * rowpainter.C (paintFirst): adjust
7784 * paragraph_pimpl.C (realizeFont): adjust
7786 * paragraph.C (isFirstInSequence): move from here...
7787 * paragraph_funcs.C (isFirstInSequence): ...to here
7789 * paragraph.C (outerHook): move from here...
7790 * paragraph_funcs.C (outerHook): ...to here
7792 * paragraph.C (depthHook): move from here...
7793 * paragraph_funcs.C (depthHook): ...to here
7795 * paragraph.C (getEndLabel): move from here...
7796 * paragraph_funcs.C (getEndLabel): ...to here
7798 * text2.C (realizeFont): move from here...
7799 * paragraph_funcs.C (realizeFont): ...to here
7801 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7803 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7805 2003-04-14 Angus Leeming <leeming@lyx.org>
7807 * LColor.[Ch]: scrap LColor mathcursor.
7809 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * lyxlex.[Ch] (text): delete function
7812 * trans.C (Load): adjust
7813 * paragraph_funcs.C (readParToken): adjust
7815 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7818 vector<char> instead of a char[].
7820 * lyxlex_pimpl.C (getString): adjust
7822 (lex): use getString
7826 * lyxlex.C (text): use pimpl_->getString()
7830 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7833 (makeFontEntriesLayoutSpecific): temp var for par.size()
7834 (setLayout): temp var for ownerParagraphs().end()
7835 (fullRebreak): temp var for rows().end()
7836 (selectionAsString): temp var for boost::next(startpit), realize
7837 that the while really is a regular for loop.
7838 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7839 setCursor in one place.
7840 (setParagraph): temp vr for ownerParagraphs().end()
7841 (updateCounters): make the while loop a for loop
7842 (cutSelection): temp var for ownerParagraphs().end()
7843 (updateInset): make the do {} while() a regular for loop
7844 (getCursorX): use temp vars
7845 (setCurrentFont): use temp vars
7846 (getColumnNearX): use temp vars
7848 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * text.C (transformChar): use temp var for getChar
7851 (computeBidiTables): use temp var for row->par()
7852 (fill): move temp vars for row->par() and pit->layout() earlier in
7854 (labelFill): use temp var for row->par()
7855 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7856 asc and desc, realize that pit never changes and that firstpit is
7857 just a duplicate and not needed. Exchange rit->par() with pit in a
7859 (breakAgain): use a temp var for boost::next(rit)
7860 (breakAgainOneRow): ditto
7861 (breakParagraph): use a temp var for rows().begin()
7862 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7863 (cursorRightOneWord): use temp var for cursor.par() and
7864 cursor.pos(), remove usage of tmpcursor.
7865 (cursorLeftOneWord): use temp var for cursor.par() and
7866 cursor.pos() only set cur at end of function.
7868 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7870 * text.C, text2.C: exchange all usage of Paragraph::next with
7871 boost::next(ParagraphList::iterator)
7873 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7875 * text2.C (cursorTop): simplify implementation
7876 (cursorBottom): ditto
7877 (setParagraph): use ParagraphList::iterator
7878 (setCurrentFont): adjust
7879 (getColumnNearX): adjust
7880 (cursorRight): adjust
7881 (cursorLeft): remove usage of Paragraph::previous
7882 (cursorUpParagraph): ditto
7883 (deleteEmptyParagraphMechanism): slight cleanup
7885 * text.C (isBoundary): take a Paragraph const & instead of a
7887 (addressBreakPoint): ditto
7888 (leftMargin): remove usage of Paragraph::previous.
7889 (setHeightOfRow): ditto
7890 (cursorLeftOneWord): ditto
7891 (selectNextWordToSpellcheck): ditto
7894 (breakParagraph): remove one usage of Paragraph::next
7895 (redoParagraph): ditto
7896 (acceptChange): ditto
7897 (insertChar): adjust
7898 (rowBreakPoint): adjust
7900 * bufferview_funcs.C (toggleAndShow): adjust
7902 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7904 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7905 methods to access it.
7907 * text.C: Added updateRowPositions to compute all row positions.
7908 Make top_y and getRowNearY() to use the cached y position
7910 2003-04-11 John Levon <levon@movementarian.org>
7912 * text.C (rowBreakPoint): reintroduce the labelEnd
7913 checks, code copied from the row fill stuff. Deep voodoo.
7915 * text.C (fill): add a comment and debugging for the
7918 2003-04-11 John Levon <levon@movementarian.org>
7920 * text.C: make sure fullrow insets get wrapped to the next line,
7921 even when they're in a manual label
7923 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7925 * text2.C (insertParagraph): make it take ParagraphList::iterator
7927 (setLayout): make it return ParagraphList::iterator
7928 (redoParagraphs): ditto
7930 (checkParagraph): ditto
7932 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7934 * text2.C: adjust several funcs.
7935 (realizeFont): take a ParagraphList::iterator as arg.
7936 (getLayoutFont): ditto
7937 (getLabelFont): ditto
7938 (setCharFont): ditto
7940 * text.C: adjust several funcs.
7942 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7944 * text.C (selectNextWordToSpellcheck): don't accidentally
7947 2003-04-10 John Levon <levon@movementarian.org>
7949 * ToolbarBackend.C (getIcon): special handling for
7952 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7954 * text2.C (cursorRight): a getChar assert fixed
7956 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * text2.C (getFont): change to take a ParagraphList::iterator
7959 instead of Paragraph*
7960 Adjust several functions.
7962 * text.C (transformChar): change to take a ParagraphList::iterator
7963 instead of Paragraph*
7964 (singleWidth): ditto
7965 Adjust several functions.
7967 * rowpainter.C: adjust several functions
7968 * rowpainter.h:store a ParagraphList::iterator and not a
7972 2003-04-09 John Levon <levon@movementarian.org>
7977 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7978 and the "help" bits as well
7980 2003-04-09 John Levon <levon@movementarian.org>
7983 * ToolbarBackend.C: allow multiple toolbars
7985 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * undo_funcs.C (setCursorParUndo): adjust
7989 * text_funcs.C (transposeChars): adjust
7991 * text3.C (gotoNextInset): adjust
7994 * text2.C (setLayout): adjust
7995 (changeDepth): adjust
7997 (redoParagraphs): adjust
7998 (selectionAsString): adjust
7999 (setParagraph): adjust
8000 (insertInset): adjust
8001 (cutSelection): adjust
8002 (copySelection): adjust
8003 (pasteSelection): adjust
8004 (insertStringAsLines): adjust
8005 (updateInset): adjust
8006 (setCursor): change to take a ParagraphList::iterator parameter
8007 (setCursorIntern): change to take a ParagraphList::iterator parameter
8008 (setCurrentFont): adjust
8009 (cursorLeft): adjust
8010 (cursorRight): adjust
8011 (deleteEmptyParagraphMechanism): adjust
8013 * text.C (breakParagraph): adjust
8014 (insertChar): adjust
8015 (acceptChange): adjust
8016 (rejectChange): adjust
8017 (selectNextWordToSpellcheck): adjust
8018 (changeCase): adjust
8022 * lyxfind.C (SearchForward): adjust
8023 (SearchBackward): adjust
8024 (nextChange): adjust
8026 * lyxcursor.C (par): adjust
8028 * lyxcursor.h: store a ParagraphList::iterator instead of a
8031 * lyx_cb.C (getPossibleLabel): adjust
8033 * bufferview_funcs.C (toggleAndShow): adjust
8035 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8038 * BufferView.C (removeAutoInsets): adjust
8039 (lockedInsetStoreUndo): adjust
8041 2003-04-09 John Levon <levon@movementarian.org>
8043 * ToolbarBackend.C: try icon without argument
8044 if with argument fails
8046 2003-04-08 John Levon <levon@movementarian.org>
8049 * ToolbarBackend.C: add getIcon(), handle tooltip,
8050 and change from "Icon" to "Item".
8052 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8054 * BufferView.C (lockInset): another bad getchar crunched
8056 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8058 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8061 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8063 * lyxfind.C (searchForward, searchBackwards): bug 782
8065 2003-04-07 John Levon <levon@movementarian.org>
8067 * paragraph.C: remove dead comment
8069 * text.C: remove troublesome depth-fiddling code
8070 in leftMargin() and rightMargin() (bug 1017)
8072 * text.C: fix breaking of rows in nested lists
8075 * text2.C (updateCounters): fix up depth values
8078 2003-04-07 John Levon <levon@movementarian.org>
8080 * BufferView_pimpl.C: clear message when doc finishes resizing,
8081 and after a mouse event
8083 * lyxfunc.C: clear message after exiting inset
8085 2003-04-07 John Levon <levon@movementarian.org>
8087 * bufferview_funcs.C: show math status not outside
8088 status in the statusbar
8090 2003-04-07 John Levon <levon@movementarian.org>
8092 * lyxfunc.C: note status changed after a depth change
8094 2003-04-04 Angus Leeming <leeming@lyx.org>
8096 * LaTeX.h: move AuxInfo operator==, != out of line.
8097 Remove LaTeX virtual destructor; nothing derives from it.
8098 Move operator()() out of public area and rename it startscript().
8099 Change protected for private.
8101 2003-04-04 Angus Leeming <leeming@lyx.org>
8104 * text2.C: remove unneeded #includes.
8106 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8108 * text2.C (dEPM): fix the heigth of the next row
8110 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8112 * text.C: squashed an invalid getChar requester + some ws changes
8114 2003-04-03 John Levon <levon@movementarian.org>
8116 * bufferview_funcs.h:
8117 * bufferview_funcs.C:
8120 * text2.C: make getStatus work for the env depth lfuns
8122 2003-04-03 John Levon <levon@movementarian.org>
8124 * bufferview_funcs.h:
8125 * bufferview_funcs.C:
8128 * text2.C: parlistize decDepth(), by merging it with incDepth()
8130 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * lyxrow.h: store a ParagraphList::iterator instead of a
8133 Paragraph* and adjust other class functions to suit.
8135 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8138 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8140 * text2.C (setCursor): do not anchor to cursor row for the time being
8142 2003-04-02 John Levon <levon@movementarian.org>
8149 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8151 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8153 * paragraph.h: make ParagraphList and ParagraphList::iterator
8154 friends of Paragraph.
8156 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8158 * ParagraphList.C: Use the private next_ and previous_ from
8161 2003-04-01 John Levon <levon@movementarian.org>
8165 * Makefile.am: rename, remove defaults gunk
8168 * MenuBackend.C: remove defaults gunk
8171 * Languages.C: remove defaults gunk
8174 * lyx_main.C: error out if files couldn't be found.
8176 2003-04-02 John Levon <levon@movementarian.org>
8178 * text2.C: make incDepth() use parlist
8180 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * undo_funcs.C (firstUndoParagraph): adjust
8184 * text3.C (gotoInset): adjust
8185 (dispatch): adjust, and rewrite loop.
8187 * text2.C (init): adjust, and rewrite loop.
8188 (redoParagraphs): adjust
8189 (updateInset): adjust, and rewrite loop.
8190 (deleteEmptyParagraphMechanism): adjust
8192 * tabular.C (LyXTabular): adjust
8193 (SetMultiColumn): adjust
8196 * lyxtext.[Ch] (ownerParagraph): delete function
8197 (ownerParagraphs): new function returns a ParagraphList.
8199 * BufferView.C (removeAutoInsets): adjust
8200 (insertErrors): adjust
8201 (setCursorFromRow): adjust
8203 2003-04-01 Angus Leeming <leeming@lyx.org>
8205 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8208 2003-04-02 John Levon <levon@movementarian.org>
8214 * text_funcs.C: make transposeChars a free function
8216 * lyxrow_funcs.C: remove wrong comment
8218 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8221 * rowpainter.C: adjust
8226 * lyxrow_funcs. [Ch]: new files
8228 * lyxrow.[Ch]: remove next and previous pointers
8229 (next,previous): remove accessor functions
8230 (isParEnd): move to lyxrow_funcs
8231 (lastPos): move to lyxrow_funcs
8232 (nextRowIsAllInset): move to lyxrow_funcs
8233 (lastPrintablePos): move to lyxrow_funcs
8234 (numberOfSeparators): move to lyxrow_funcs
8235 (numberOfHfills): move to lyxrow_funcs
8236 (numberOfLabelHfills): move to lyxrow_funcs
8237 (hfillExpansion): move to lyxrow_funcs
8241 * bufferview_funcs.C (toggleAndShow): adjust
8243 * RowList.h: Remove class RowList from file leave just a
8246 * RowList.C: delete file
8248 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8251 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * text3.C (cursorPrevious): adjust
8254 (cursorNext): adjust
8257 * text2.C (redoHeightOfParagraph): adjust
8258 (redoDrawingOfParagraph): adjust
8261 * text.C (breakParagraph): adjust
8262 (insertChar): adjust
8265 * rowpainter.C (RowPainter): adjust
8266 (leftMargin): simplify and adjust
8267 (most rowpainter functions): adjust.
8269 * rowpainter.h: store the row as RowList::iterator not as Row*
8271 * lyxcursor.C (row): taka RowList::iterator as arg
8274 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8277 2003-04-01 Angus Leeming <leeming@lyx.org>
8279 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8280 stuff like bool Bool.
8282 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8284 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8287 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8292 * lyxtext.h (rows): drop one version and leve a const variant that
8293 returns a RowList::iterator.
8295 2003-03-31 Angus Leeming <leeming@lyx.org>
8297 * text.C (fill): ensure that the signature is the same as that in the
8300 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8302 * text2.C (redoParagraphs): adjust
8303 (updateCounters): adjust
8304 (checkParagraph): adjust
8305 (getColumnNearX): adjust and reformat a bit.
8307 * text.C (top_y): adjust
8309 (leftMargin): adjust
8310 (prepareToPrint): adjust
8312 (getRowNearY): adjust
8314 * lyxtext.h: make rowlist_ mutable.
8316 * RowList.h: add const_iterator
8317 * RowList.C: adjust for RowList::const_iterator.
8319 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8322 2003-03-31 John Levon <levon@movementarian.org>
8325 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8327 * lyx_main.C: set default fonts from using lyx_gui funcs
8329 * exporter.C: pdf_mode moved from lyxrc
8332 * lyxfunc.C: changes from above
8334 2003-03-31 John Levon <levon@movementarian.org>
8336 * lyx_main.C: fix to the last fix
8338 2003-03-31 John Levon <levon@movementarian.org>
8340 * bufferlist.C: "Load original" -> "Load Original"
8346 * format.C: more Alert cleanups
8348 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8350 * text2.C (removeParagraph): make it take a RowList::iterator as
8352 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8353 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8355 * text.C (anchor_row): make it take a RowList::iterator as arg,
8357 (computeBidiTables): make it take a const reference to Row instead
8358 of Row pointer, adjust.
8359 (leftMargin): make it take a RowList::iterator as arg, adjust.
8360 (rowBreakPoint): adjust
8361 (breakAgainOneRow): make it take a RowList::iterator as arg,
8363 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8365 * bufferview_funcs.C (toggleAndShow): adjust
8367 2003-03-30 John Levon <levon@movementarian.org>
8371 * boost-inst.C: moved to support
8373 * several files: changes as a result
8375 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8377 * text2.C (LyXText): adjust.
8379 (removeRow): make it take a RowList::iterator as arg, adjust.
8380 (fullRebreak): adjust
8381 (deleteEmptyParagraphMechanism): adjust
8382 (clearPaint): adjust
8385 * text.C (top_y): adjust
8386 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8387 (breakAgain): make it take a RowList::iterator as arg, adjust.
8388 (breakParagraph): adjust
8389 (insertChar): adjust
8392 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8393 need_break_row, and refresh_row.
8395 * text3.C (dispatch): adjust
8397 * text2.C (checkParagraph): adjust
8399 (setCursorFromCoordinates): adjust
8401 * text.C (top_y): adjust
8403 (getRow): make it return a RowList::iterator, adjust
8404 (getRowNearY): make it return a RowList::iterator, adjust
8406 * text2.C (init): adjust
8407 (insertRow): remove function
8408 (insertParagraph): adjust
8409 (redoParagraphs): adjust
8410 (fullRebreak): adjust
8411 (updateCounters): adjust
8413 * text.C (top_y): rewrite to use RowList iterators.
8415 (setHeightOfRow): rewrite to sue RowList iterators.
8416 (appendParagraph): adjust
8417 (breakAgain): adjust
8418 (breakAgainOneRow): adjust
8419 (breakParagraph): adjust
8421 (getRowNearY): adjust, and remove commented code.
8423 * lyxtext.h (firstRow): delete function
8424 (lastRow): delete function
8425 (rows): new function (const and non-const versions.)
8426 (insertRow): delete function
8428 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8430 2003-03-29 John Levon <levon@movementarian.org>
8432 * BufferView_pimpl.C: always update scrollbar top
8433 because pasting text when we're anchored could mean we
8434 miss an update altogether
8436 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8438 * text2.C (init): use rowlist_.end() and not 0.
8439 (insertRow): change to take a RowList::iterator as arg, adjust
8441 (insertParagraph): change to take a RowList::iterator as arg,
8443 (redoParagraphs): remove some debug msgs.
8445 * text.C (appendParagraph): change to take a RowList::iterator
8446 arg, adjust for this.
8447 (breakAgain): add an assert
8448 (breakAgainOneRow): ditto
8450 2003-03-29 John Levon <levon@movementarian.org>
8452 * text2.C: do not clear selection after inc/decDepth
8455 2003-03-29 John Levon <levon@movementarian.org>
8458 * buffer.C: fix broken strerrors according to Lars
8460 2003-03-29 John Levon <levon@movementarian.org>
8462 * converters.C: more Alert cleanups
8464 2003-03-29 John Levon <levon@movementarian.org>
8466 * bufferview_funcs.C: remove pointless Alert
8468 * buffer.C: fix confusing error message when
8469 a template is chmoded 000
8471 2003-03-29 John Levon <levon@movementarian.org>
8475 * BufferView_pimpl.C: Alert fixes
8479 * tabular-old.C: remove unused table compat reading
8481 2003-03-29 John Levon <levon@movementarian.org>
8486 * lyx_cb.C: more Alert cleanups
8488 * lyxfunc.C: don't allow chktex if not latex document
8490 2003-03-29 John Levon <levon@movementarian.org>
8494 * buffer.C: warnings pushed down from support/,
8497 2003-03-29 John Levon <levon@movementarian.org>
8499 * lyxfunc.C: safety check for C-r (revert)
8501 2003-03-29 John Levon <levon@movementarian.org>
8504 * bufferlist.C: several UI fixes using Alert::prompt.
8505 Fix the pointless looping quit code. Fix stupid revert
8510 * lyx_cb.C: use Alert::prompt
8512 * lyx_main.C: remove a silly question
8514 * lyxfunc.C: remove a couple of silly questions,
8517 2003-03-28 John Levon <levon@movementarian.org>
8519 * text2.C: fix bug 974 (End on empty par)
8521 2003-03-28 John Levon <levon@movementarian.org>
8523 * BufferView_pimpl.C:
8525 * lfuns.h: remove do-nothing math greek lfuns
8527 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8529 * lyxgluelength.h (isValidGlueLength): add default arg on
8530 parameter 2. Remove default arg from friend in class.
8532 * lyxlength.h (isValidLength): add default arg on parameter 2.
8533 Remove default arg from friend in class.
8535 * text2.C (LyXText): adjust, initialize refresh_row.
8539 (insertParagraph): adjst
8540 (redoParagraphs): adjust
8541 (fullRebreak): adjust
8542 (updateCounters): adjust
8543 (deleteEmptyParagraphMechanism): first attempt at fixing a
8546 * text.C (top_y): adjust
8547 (setHeightOfRow): adjust
8549 (getRowNearY): adjust
8551 * lyxtext.h: include RowList.h
8552 (~LyXText): not needed anymore, deleted.
8553 (firstRow): modify for RowList
8554 (lastRow): new function
8555 Delete firstrow and lastrow class variables, add a Rowlist
8556 rowlist_ class variable.
8558 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8561 * RowList.C (insert): fix case where it == begin().
8563 2003-03-26 Angus Leeming <leeming@lyx.org>
8565 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8566 the thesaurus dialog.
8568 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8572 * RowList.[Ch]: new files
8574 * ParagraphList.C (erase): handle the case where it == begin
8577 2003-03-25 John Levon <levon@movementarian.org>
8581 * aspell.C: add new aspell support
8584 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8587 2003-03-25 Angus Leeming <leeming@lyx.org>
8590 * LyXAction.C (init): new LFUN_INSET_INSERT.
8592 * BufferView_pimpl.C (dispatch): split out part of the
8593 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8595 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8598 2003-03-25 Angus Leeming <leeming@lyx.org>
8600 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8602 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8605 * text3.C: remove useless row->height(0)
8607 2003-03-25 John Levon <levon@movementarian.org>
8611 * text3.C: rename the refreshing stuff to better names
8613 2003-03-24 John Levon <levon@movementarian.org>
8615 * BufferView_pimpl.h:
8616 * BufferView_pimpl.C: update layout choice on a mouse
8619 2003-03-23 John Levon <levon@movementarian.org>
8621 * Makefile.am: fix commandtags.h reference
8623 2003-03-22 John Levon <levon@movementarian.org>
8625 * BufferView_pimpl.C:
8630 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8632 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8635 * text.C: take the rtl methods out of line
8637 2003-03-21 André Pönitz <poenitz@gmx.net>
8639 * metricsinfo.[Ch]: new files containing structures to be passed around
8640 during the two-phase-drawing...
8642 2003-03-21 André Pönitz <poenitz@gmx.net>
8644 * lyxtextclass.C: read 'environment' tag.
8646 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8648 * text2.C (removeRow): fix bug 964
8650 2003-03-20 John Levon <levon@movementarian.org>
8654 * text2.C: paint cleanups. Inset::update() dropped font
8657 2003-03-19 John Levon <levon@movementarian.org>
8659 * lyxfunc.C: only fitcursor/markDirty if available()
8661 2003-03-19 John Levon <levon@movementarian.org>
8663 * commandtags.h: rename to ...
8665 * lfuns.h: ... this, and renumber / cleanup
8667 2003-03-19 John Levon <levon@movementarian.org>
8669 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8670 fit the cursor after an lfun
8674 * BufferView_pimpl.h:
8675 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8677 * LyXAction.C: layout-character should have ReadOnly
8679 * ParagraphParameters.C:
8681 * bufferview_funcs.C:
8688 * undo_funcs.C: changes from above
8690 2003-03-18 John Levon <levon@movementarian.org>
8692 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8693 remove it from update()
8695 * lyxfunc.C: update layout choice after an lfun
8697 * text3.C: remove extra updateLayoutChoice()s
8699 2003-03-18 John Levon <levon@movementarian.org>
8701 * text.C: top_y change means full repaint, fix
8702 a drawing bug with cursor movement
8704 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8708 * text2.C: anchor row on setCursor
8710 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8712 * lyxtext.h: remove almost all mutable keywords
8715 * text3.C: remove const keywords accordingly
8717 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8721 (TeXEnvironment): ditto
8724 2003-03-17 John Levon <levon@movementarian.org>
8726 * text.C (rowBreakPoint): remove attempt to fix displayed
8727 math insets inside a manual label
8729 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * lyxtext.h: remove BufferView* as first arg from almost all class
8733 * other files: adjust.
8735 2003-03-17 John Levon <levon@movementarian.org>
8739 * text2.C: more paint cleanups
8741 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8744 * rowpainter.C: remove "smart" background painting code
8746 2003-03-16 John Levon <levon@movementarian.org>
8751 * text3.C: add helper functions for setting refresh_row/y
8753 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8755 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8756 newline inset which *can* get inserted in the pass_thru layouts.
8757 This is primarily for literate documents.
8759 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8761 * buffer.C: increment LYX_FORMAT to 223
8763 2003-03-14 André Pönitz <poenitz@gmx.net>
8765 * textclass.h: prepare for environment handling, ws changes
8766 * lyxlayout.C: read latexheader and latexfooter tags
8768 2003-03-14 John Levon <levon@movementarian.org>
8770 * text2.C: rewrite ::status() a bit
8772 2003-03-13 John Levon <levon@movementarian.org>
8774 * lyxtext.h: add some docs
8776 2003-03-13 John Levon <levon@movementarian.org>
8781 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8783 2003-03-13 John Levon <levon@movementarian.org>
8785 * text3.C: fix appendix redrawing
8787 2003-03-13 John Levon <levon@movementarian.org>
8789 * text.C (setHeightOfRow):
8791 * rowpainter.C: make appendix mark have the text
8792 "Appendix" so the user knows what it is
8795 * LColor.C: s/appendixline/appendix/ from above
8797 2003-03-13 John Levon <levon@movementarian.org>
8799 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8801 * text.C: fix a getChar(pos) bug properly
8803 2003-03-13 Angus Leeming <leeming@lyx.org>
8806 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8807 Probably only temporary. Let's see how things pan out.
8809 * BufferView.C (unlockInset):
8810 * BufferView_pimpl.C (fitCursor):
8811 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8813 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8814 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8816 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8817 new functions that convert ParagraphParameters to and from a string.
8819 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8820 BufferView::Pimpl's dispatch.
8821 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8823 2003-03-13 André Pönitz <poenitz@gmx.net>
8827 * factory.C: make it aware of InsetEnv
8829 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8831 * text2.C (setCursor): never ask for one past last
8832 (setCursor): add some debugging messages.
8834 * text.C (singleWidth): never ask for one past last
8835 (singleWidth): ditto
8837 (rightMargin): ditto
8838 (rowBreakPoint): ditto
8839 (setHeightOfRow): ditto
8840 (prepareToPrint): ditto
8842 * rowpainter.C (paintBackground): never ask for one past last
8843 (paintText): never ask for one past last
8845 * paragraph_pimpl.C (getChar): make the assert stricter, never
8846 allow the one past last pos to be taken
8848 * paragraph.C (getChar): ws changes only
8850 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8851 (numberOfSeparators): ditto
8852 (numberOfHfills): ditto
8854 2003-03-12 John Levon <levon@movementarian.org>
8860 * paragraph_funcs.C: fix per-buffer authorlists
8862 2003-03-12 John Levon <levon@movementarian.org>
8864 * text.C: fix newline in right address
8866 2003-03-12 Angus Leeming <leeming@lyx.org>
8868 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8869 duplicate those in LyXFunc::dispatch.
8873 * ToolbarDefaults.C:
8874 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8875 Add LFUN_FONTFREE_UPDATE.
8877 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8878 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8880 * bufferview_func.[Ch]: several new functions to facilliate
8881 transfer of data to and from the character dialog.
8883 2003-03-12 John Levon <levon@movementarian.org>
8888 * paragraph_funcs.C:
8889 * paragraph_pimpl.C:
8893 * text3.C: remove META_NEWLINE in favour of an inset
8896 * rowpainter.C: remove paintNewline (done by inset)
8898 2003-03-12 John Levon <levon@movementarian.org>
8900 * paragraph_pimpl.C: complain about bad getChar()s
8901 for a while at least
8903 2003-03-12 John Levon <levon@movementarian.org>
8906 * buffer.C: move paragraph read into a separate function,
8907 a little renaming to reflect that.
8910 * bufferparams.C: remove the author_ids map, not necessary now
8913 * factory.C: moved Buffer::readInset to here
8915 * paragraph_funcs.h:
8916 * paragraph_funcs.C: readParagraph free function moved from
8919 * tabular.C: name change
8921 2003-03-12 John Levon <levon@movementarian.org>
8924 * ParagraphParameters.C: move par params input to
8927 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8928 behave like a normal read from the stream wrt reading
8929 a line vs. a \\token
8931 2003-03-12 John Levon <levon@movementarian.org>
8934 * ParagraphParameters.h:
8935 * ParagraphParameters.C: move output code to a
8938 2003-03-12 John Levon <levon@movementarian.org>
8940 * BufferView.C (insertLyXFile):
8943 * tabular.C: use a parlist iterator for creating the
8946 2003-03-12 John Levon <levon@movementarian.org>
8948 * buffer.C: make current_change static local not
8951 2003-03-12 John Levon <levon@movementarian.org>
8953 * buffer.C: fix insertStringAsLines for change tracking
8955 2003-03-12 John Levon <levon@movementarian.org>
8962 * bufferparams.C: move author list into params. Rename some
8963 functions. Move the header reading into a separate token
8964 loop. Move the header token reading into BufferParams.
8966 2003-03-12 John Levon <levon@movementarian.org>
8968 * changes.C: put debug inside lyxerr.debugging() checks
8970 2003-03-11 André Pönitz <poenitz@gmx.net>
8972 * factory.C: make it aware of InsetHFill
8974 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8976 * buffer.C (latexParagraphs): move function from here...
8977 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8980 2003-03-10 Angus Leeming <leeming@lyx.org>
8982 * LyXAction.C (init): fix bug in poplating array with multiple entries
8983 with the same LFUN (spotted by JMarc).
8985 2003-03-10 John Levon <levon@movementarian.org>
8988 * text2.C: move getColumnNearX() near its
8991 2003-03-10 John Levon <levon@movementarian.org>
8993 * text.C: fix break before a minipage
8995 2003-03-10 John Levon <levon@movementarian.org>
8997 * text.C: fix the last commit
8999 2003-03-09 John Levon <levon@movementarian.org>
9003 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9004 bug 365 (don't break before insets unless needed). Don't
9005 return a value > last under any circumstances.
9007 2003-03-09 Angus Leeming <leeming@lyx.org>
9009 * BufferView_pimpl.C (trackChanges, dispatch): call
9010 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9012 2003-03-09 Angus Leeming <leeming@lyx.org>
9014 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9015 than Dialogs::showAboutlyx().
9017 2003-03-09 Angus Leeming <leeming@lyx.org>
9019 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9020 than Dialogs::showTabularCreate().
9022 2003-03-09 John Levon <levon@movementarian.org>
9026 * text2.C: 3rd arg to nextBreakPoint was always the same.
9029 2003-03-08 John Levon <levon@movementarian.org>
9036 * text2.C: Remove the "main" bit from the "main body"
9039 2003-03-08 John Levon <levon@movementarian.org>
9041 * text.C (leftMargin): The left margin of an empty
9042 manual label paragraph should not include the label width
9045 * text.C (prepareToPrint): don't attempt to measure hfills
9046 for empty manual label paragraphs - the answer should be 0
9048 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9050 * CutAndPaste.C: remove commented code and reindent.
9052 2003-03-08 John Levon <levon@movementarian.org>
9055 * lyxfunc.C: move reloadBuffer()
9058 * BufferView.C: to here
9060 * lyxvc.C: add comment
9063 * vc-backend.C: call bv->reload() to avoid
9064 getStatus() check on MENURELOAD
9066 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9068 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9069 to an old format .dep file.
9071 2003-03-07 Angus Leeming <leeming@lyx.org>
9073 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9074 when the LFUN_MOUSE_RELEASE should have been handled by
9075 inset->localDispatch.
9077 2003-03-07 Angus Leeming <leeming@lyx.org>
9079 * BufferView_pimpl.C (dispatch):
9080 * LyXAction.C (init):
9081 * ToolbarDefaults.C (init):
9083 * lyxfunc.C (getStatus):
9084 remove LFUN_INSET_GRAPHICS.
9086 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9088 2003-03-07 Angus Leeming <leeming@lyx.org>
9091 * LyXAction.C (init):
9092 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9094 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9097 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9099 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9100 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9102 2003-03-07 Angus Leeming <leeming@lyx.org>
9104 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9107 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9109 * ParagraphList.C (front): new function
9112 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9114 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9115 and top_row_offset_. removed var first_y.
9117 * text2.C (LyXText, removeRow):
9119 * BufferView_pimpl.C:
9120 use these methods instead of using first_y
9122 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9124 * text2.C (pasteSelection): adjust for checkPastePossible
9126 * CutAndPaste.C: remove Paragraph * buf and replace with
9127 ParagraphList paragraphs.
9128 (DeleteBuffer): delete
9129 (cutSelection): change the tc type to textclass_type
9130 (copySelection): change the tc type to textclass_type
9131 (copySelection): adjust for ParagraphList
9132 (pasteSelection): change the tc type to textclass_type
9133 (pasteSelection): adjust for Paragraphlist
9134 (nrOfParagraphs): simplify for ParagraphList
9135 (checkPastePossible): simplify for ParagraphList
9136 (checkPastePossible): remove unused arg
9138 * ParagraphList.C (insert): handle the case where there are no
9141 * CutAndPaste.h: make CutAndPaste a namespace.
9143 * text3.C (dispatch): adjust
9145 * text.C (breakParagraph): add a ParagraphList as arg
9147 * paragraph_funcs.C (breakParagraph): change to take a
9148 BufferParams and a ParagraphList as args.
9149 (breakParagraphConservative): ditto
9150 (mergeParagraph): ditto
9151 (TeXDeeper): add a ParagraphList arg
9152 (TeXEnvironment): ditto
9155 * buffer.C (readLyXformat2): adjust
9156 (insertStringAsLines): adjust
9157 (latexParagraphs): adjust
9159 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9160 (cutSelection): adjust
9161 (pasteSelection): adjust
9163 * BufferView_pimpl.C (insertInset): adjust
9165 2003-03-05 Angus Leeming <leeming@lyx.org>
9168 * LyXAction.C (init):
9169 * BufferView_pimpl.C (dispatch):
9170 * lyxfunc.C (getStatus):
9171 remove LFUN_CHILD_INSERT.
9173 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9175 2003-03-05 Angus Leeming <leeming@lyx.org>
9178 * LyXAction.C (init):
9179 * src/factory.C (createInset):
9180 * lyxfunc.C (getStatus):
9181 * text3.C (dispatch):
9182 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9184 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9186 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9188 * ParagraphList.C (insert): handle insert right before end()
9189 (erase): fix cases where it can be first or last paragraph.
9191 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9193 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9194 Paragraph::next and Paragraph::previous
9197 * text.C (breakParagraph): adjust
9199 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9200 BufferParams& as arg.
9201 (breakParagraph): use ParagraphList::insert
9202 (breakParagraphConservative): take a Buffer* instead of a
9203 BufferParams& as arg.
9204 (breakParagraphConservative): use ParagraphList::insert.
9206 * buffer.C (insertStringAsLines): un-const it
9207 (insertStringAsLines): adjust
9209 * ParagraphList.C (insert): new function
9211 * CutAndPaste.C (pasteSelection): adjust
9213 * text.C (backspace): adjust
9215 * tabular.C (SetMultiColumn): adjust
9217 * CutAndPaste.C (cutSelection): adjust
9218 (pasteSelection): adjust
9220 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9221 Buffer const * as arg
9223 * ParagraphList.C (erase): new function
9224 * paragraph_funcs.C (mergeParagraph): use it
9225 (mergeParagraph): make it take a Buffer* instead of a
9226 BufferParams* as arg
9228 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9230 (breakParagraphConservative): ditto
9232 * paragraph.h: remove the breakParagraph friend
9234 * paragraph.C (eraseIntern): new function
9235 (setChange): new function
9237 * paragraph_funcs.C (mergeParagraph): make it take a
9238 ParagraphList::iterator instead of a Paragraph *, adjust
9241 * paragraph.h: move an #endif so that the change tracking stuff
9242 also works in the NO_NEXT case.
9244 2003-03-04 Angus Leeming <leeming@lyx.org>
9247 * LyXAction.C: new LFUN_INSET_MODIFY.
9249 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9250 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9252 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9254 * several files: ws changes only
9256 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9257 (TeXEnvironment): ditto
9260 * buffer.C (makeLaTeXFile): adjust
9261 (latexParagraphs): make it take ParagraphList::iterator as args
9263 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9265 * buffer.C (latexParagraphs): adjust
9267 * paragraph.C (TeXOnePar): move function...
9268 (optArgInset): move function...
9269 (TeXEnvironment): move function...
9270 * paragraph_pimpl.C (TeXDeeper): move function...
9271 * paragraph_funcs.C: ...here
9273 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9275 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9277 * buffer.C (readInset): remove compability code for old Figure and
9280 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9282 * buffer.C: ws changes
9285 * BufferView_pimpl.C: ditto
9288 * bufferlist.h: ditto
9292 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9294 * converter.[Ch]: split into itself +
9297 * Makefile.am: += graph.[Ch] + format.[Ch]
9304 * lyxrc.C: added #include "format.h"
9306 2003-02-27 Angus Leeming <leeming@lyx.org>
9308 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9311 * factory.C (createInset): add "label" to the factory.
9313 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9314 string and do no more.
9316 2003-02-27 Angus Leeming <leeming@lyx.org>
9319 * LyXAction.C (init):
9320 * factory.C (createInset):
9321 * BufferView_pimpl.C (dispatch):
9322 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9324 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9326 * lyxfunc.C (dispatch):
9327 * text3.C (dispatch): pass name to params2string.
9329 2003-02-26 Angus Leeming <leeming@lyx.org>
9331 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9333 Rearrange the ~includes. Strip out the unnecessary ones.
9335 * factory.C (createInset): reformat.
9336 create new insets for the various LFUN_XYZ_APPLY lfuns.
9338 2003-02-26 John Levon <levon@movementarian.org>
9341 * lyxrow.C: add isParStart,isParEnd helpers
9343 * paragraph.h: make isInserted/DeletedText take refs
9345 * paragraph_funcs.h:
9346 * paragraph_funcs.C: remove #if 0'd code
9351 * text.C: use lyxrow helpers above.
9352 Move draw and paint routines to RowPainter.
9353 Make several methods use refs not pointers.
9354 Make backgroundColor() const.
9355 Add markChangeInDraw(), isInInset().
9356 Merge changeRegionCase into changeCase.
9357 Make workWidth() shouldn't-happen code into an Assert.
9360 * rowpainter.C: new class for painting a row.
9363 * vspace.C: make inPixels take a ref
9365 2003-02-26 Angus Leeming <leeming@lyx.org>
9367 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9370 2003-02-25 John Levon <levon@movementarian.org>
9372 * ispell.C: give the forked command a more accurate name
9374 2003-02-22 John Levon <levon@movementarian.org>
9377 * toc.C: make TocItem store an id not a Paragraph *
9380 2003-02-21 Angus Leeming <leeming@lyx.org>
9382 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9383 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9384 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9385 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9386 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9387 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9389 * BufferView_pimpl.C (dispatch):
9390 * LyXAction.C (init):
9391 * factory.C (createInset):
9392 * lyxfunc.C (getStatus, dispatch):
9393 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9395 2003-02-21 Angus Leeming <leeming@lyx.org>
9397 * BufferView_pimpl.C (MenuInsertLyXFile):
9398 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9399 * lyxfunc.C (menuNew, open, doImport):
9400 no longer pass a LyXView & to fileDlg.
9402 2003-02-21 Angus Leeming <leeming@lyx.org>
9404 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9405 * LyXAction.C: change, BIBKEY to BIBITEM.
9406 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9407 Change InsetBibKey to InsetBibitem.
9408 Change BIBKEY_CODE to BIBITEM_CODE.
9409 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9410 * factory.C: replace insetbib.h with insetbibitem.h.
9411 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9412 * paragraph.C: replace insetbib.h with insetbibitem.h.
9413 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9414 Change bibkey() to bibitem().
9415 * text.C: remove insetbib.h.
9416 * text2.C: replace insetbib.h with insetbibitem.h.
9417 change bibkey() to bibitem().
9418 * text3.C: remove insetbib.h.
9419 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9421 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9423 * lyxrc.C (output): enclose user email in quotes (in case there are
9426 2003-02-18 John Levon <levon@movementarian.org>
9428 * buffer.h: add std::
9430 2003-02-17 John Levon <levon@movementarian.org>
9436 * pspell.C: reworking. Especially in ispell, a large
9437 number of clean ups and bug fixes.
9439 * lyxfunc.C: fix revert to behave sensibly
9441 2003-02-17 André Pönitz <poenitz@gmx.net>
9444 * commandtags.h: new LFUN_INSERT_BIBKEY
9454 * paragraph_func.C: remove special bibkey handling
9456 2003-02-17 John Levon <levon@movementarian.org>
9458 * text.C (Delete): fix case where delete at the end of
9459 the very first paragraph would not merge the pars
9461 2003-02-17 John Levon <levon@movementarian.org>
9463 * lyxrow.C: fix lastPrintablePos()
9465 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * bufferparams.C (writeLaTeX): add a std:here
9469 * buffer.C: and remove a using directive there
9471 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * buffer.C (makeLaTeXFile): move the code that generates the
9476 * bufferparams.C (writeLaTeX): ... in this new method
9478 * LaTeXFeatures.C (getEncodingSet): make const
9479 (getLanguages): make const
9481 * MenuBackend.C (binding): returns the binding associated to this
9483 (add): sets the status of each item by calling getStatus. Adds
9485 (read): add support for OptSubMenu
9486 (expand): remove extra separator at the end of expanded menu
9488 2003-02-15 John Levon <levon@movementarian.org>
9491 * BufferView_pimpl.C:
9493 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9494 inset code that had no actual effect. Remove unneeded status
9497 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9499 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9502 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9504 * text.C (drawLengthMarker): also draw an arrow marker for
9505 symbolic lengths (medskip...)
9507 2003-02-14 John Levon <levon@movementarian.org>
9510 * tabular.C: better method names
9512 2003-02-14 John Levon <levon@movementarian.org>
9514 * BufferView_pimpl.C:
9519 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9520 it's a more accurate name. Remove some pointless uses.
9522 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9524 * text2.C (LyXText): change order of initilizers to shut off
9527 2003-02-14 John Levon <levon@movementarian.org>
9529 * buffer.C: use ParIterator for getParFromID()
9533 * paragraph_pimpl.h:
9534 * paragraph_pimpl.C: remove unused getParFromID()
9536 2003-02-14 John Levon <levon@movementarian.org>
9538 * buffer.C: remove some very old #if 0'd parse code
9540 2003-02-13 John Levon <levon@movementarian.org>
9544 * text2.C: move hfillExpansion(), numberOfSeparators(),
9545 rowLast(), rowLastPrintable(), numberofHfills(),
9546 numberOfLabelHfills() ...
9549 * lyxrow.C: ... to member functions here.
9554 * text.C: remove LyXText::beginningOfMainBody(), and call
9555 p->beginningOfMainBody() directly. Move the check for
9556 LABEL_MANUAL into the latter.
9563 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9569 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9570 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9572 2003-02-13 John Levon <levon@movementarian.org>
9574 * CutAndPaste.C: remove debug
9576 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9578 * paragraph.C (asString): remove two unused variables
9580 * lyxtextclass.C (readTitleType):
9582 (LyXTextClass): handle new members titletype_ and titlename_
9584 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9586 2003-02-09 John Levon <levon@movementarian.org>
9589 * buffer.C: replace hand-coded list with a map for the dep clean
9591 2003-02-08 John Levon <levon@movementarian.org>
9593 * LaTeX.C: consolidate code into showRunMessage() helper
9595 2003-02-08 John Levon <levon@movementarian.org>
9600 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9601 and pass the size in explicitly
9603 * BufferView_pimpl.h:
9604 * BufferView_pimpl.C:
9606 * BufferView.C: add getCurrentChange()
9608 * BufferView_pimpl.h:
9609 * BufferView_pimpl.C: handle change lfuns
9611 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9612 for changes. Mark pasted paragraphs as new.
9614 * support/lyxtime.h:
9615 * support/lyxtime.C:
9616 * DepTable.C: abstract time_t as lyx::time_type
9619 * LColor.C: add colours for new text, deleted text, changebars
9621 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9622 package use "usenames" option.
9626 * LyXAction.C: add change lfuns
9630 * author.C: author handling
9633 * buffer.C: add a per-buffer author list, with first entry as
9634 current author. Handle new .lyx tokens for change tracking. Output
9635 author list to .lyx file. Output dvipost stuff to .tex preamble.
9636 Bump lyx format to 222.
9639 * bufferlist.C: add setCurrentAuthor() to reset current author details
9643 * bufferparams.C: add param for tracking
9645 * bufferview_funcs.C: output change info in minibuffer
9649 * changes.C: add change-tracking structure
9652 * debug.C: add CHANGES debug flag
9655 * lyxfind.C: add code for finding the next change piece
9658 * lyxrc.C: add user_name and user_email
9661 * lyxrow.C: add a metric for the top of the text line
9664 * text.C: implement accept/rejectChange()
9667 * text.C: paint changebars. Paint new/deleted text in the chosen
9668 colours. Strike through deleted text.
9672 * paragraph_pimpl.h:
9673 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9674 in the current change to the insert functions. Rework erase to
9675 mark text as deleted, adding an eraseIntern() and a range-based
9676 erase(). Implement per-paragraph change lookup and
9679 * paragraph_funcs.C: Fixup paste for change tracking.
9681 * tabular.C: mark added row/columns as new.
9683 * text.C: fix rowLast() to never return -1. Don't allow
9684 spellchecking of deleted text. Track transpose changes. Don't
9685 allow paragraph break or merge where appropriate.
9687 * text2.C: leave cursor at end of selection after a cut.
9689 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9691 * text.C (getLengthMarkerHeight):
9692 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9693 visible on screen too.
9695 2003-02-07 John Levon <levon@movementarian.org>
9697 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9699 2003-02-05 Angus Leeming <leeming@lyx.org>
9701 * lyxserver.C (read_ready): revert my patch of 11 September last year
9702 as it sends PC cpu through the roof. Presumably this means that
9703 the lyxserver will no longer run on an Alpha...
9705 2003-01-30 Angus Leeming <leeming@lyx.org>
9707 * factory.C (createInset): create an InsetCommandParam of type "index"
9708 and use it to 'do the right thing'.
9710 * text2.C (getStringToIndex): ensure that cursor position is always
9711 reset to the reset_cursor position.
9713 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9715 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9718 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9722 * lyxfunc.C: Output messages with identical spelling, punctuation,
9725 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9727 * MenuBackend.C (expandFormats): List only viewable export formats
9730 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9733 * lyxfunc.C (getStatus): Make sure that formats other than
9734 "fax" can also be disabled
9736 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * text3.C (dispatch): put the lfuns that insert insets in 3
9739 groups, and call doInsertInset with appropriate arguments.
9740 (doInsertInset): new function, that creates an inset and inserts
9741 it according to some boolean parameters.
9743 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9745 * buffer.C (readFile): remember to pass on 'par' when calling
9746 readFile recursively.
9748 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9750 * MenuBackend.C (expandFormats): add "..." to import formats.
9752 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9754 * paragraph.C (asString): Remove XForms RTL hacks.
9756 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9757 * buffer.C: fix typo
9759 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9761 * Makefile.am (LIBS): delete var
9762 (lyx_LDADD): add @LIBS@ here instead.
9764 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9766 * Clarify the meaning of "wheel mouse jump"
9768 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9770 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9773 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9775 * importer.C (Loaders): do not preallocate 3 elements in the
9776 vector, since one ends up with 6 elements otherwise
9778 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9780 * DepTable.C (write): write the file name as last element of the
9781 .dep file (because it may contain spaces)
9782 (read): read info in the right order
9784 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9786 * paragraph_pimpl.C (simpleTeXBlanks):
9787 (simpleTeXSpecialChars):
9788 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9790 * tabular.C (latex): add some missing case statements. Reindent.
9792 * MenuBackend.C (expandToc): remove unused variable.
9794 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9803 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9806 2003-01-05 John Levon <levon@movementarian.org>
9809 * BufferView.C: add getEncoding()
9812 * kbsequence.C: do not store last keypress
9815 * lyxfunc.C: store last keypress here instead. Pass encoding
9818 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9820 * lyx_main.C (init): remove annoying error message when following
9821 symbolic links (bug #780)
9823 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9825 * text.C (insertChar):
9826 * lyxrc.C (getDescription): remove extra spaces
9828 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9830 * lyxrc.C (getDescription): remove extra spaces
9832 2002-12-20 John Levon <levon@movementarian.org>
9834 * text3.C: hack fix for page up/down across tall rows
9836 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9838 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9841 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9843 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9844 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9845 thesaurus is not compiled in
9847 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9849 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9851 2002-12-16 Angus Leeming <leeming@lyx.org>
9854 * lyx_main.C (init): remove override_x_deadkeys stuff.
9856 2002-12-12 John Levon <levon@movementarian.org>
9858 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9859 insert. Only remove shift modifier under strict
9862 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9864 * MenuBackend.C (expandToc): fix crash.
9866 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9868 * MenuBackend.C (expandToc): gettext on float names.
9870 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9872 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9873 implement bool empty() [bug 490]
9875 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9877 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9879 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9881 * several files: ws changes
9883 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9885 * text2.C (setCounter): clean up a bit, use boost.format.
9886 (updateCounters): initialize par upon declaration.
9888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9889 if the layout exists. We do not just store the layout any more.
9890 (SwitchLayoutsBetweenClasses): use boost.format
9892 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9894 * converter.C (convert): if from and to files are the same, use a
9895 temporary files as intermediary
9897 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9900 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9902 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9904 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9906 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9908 * tabular.C (asciiPrintCell): use string(size, char) instead of
9911 * sgml.C (openTag): fix order of arguments to string constructor
9914 * lyxfunc.C (dispatch): use boost.format
9916 * lots of files: change "c" -> 'c'
9918 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9920 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9922 2002-11-25 Angus Leeming <leeming@lyx.org>
9924 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9926 * lyx_main.C (init): compile fix.
9928 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9930 * lyx_cb.C (start): boost.formatify
9931 do not include <iostream>
9933 * lengthcommon.C: ws only
9935 * boost-inst.C,BoostFormat.h: add more explict instantations
9937 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9939 * lots of files: handle USE_BOOST_FORMAT
9941 2002-11-21 John Levon <levon@movementarian.org>
9943 * pspell.C: fix compile
9945 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9947 * lyxfunc.C (dispatch): use boost::format
9951 * lyxfont.C (stateText): use boost::format
9953 * lyx_main.C (LyX): use boost::format
9955 (queryUserLyXDir): ditto
9958 (typedef boost::function): use the recommened syntax.
9960 * importer.C (Import): use boost::format
9962 * debug.C (showLevel): use boost::format
9964 * converter.C (view): use boost::format
9969 * bufferview_funcs.C (currentState): use boost::format
9971 * bufferlist.C (emergencyWrite): use boost::format
9973 * buffer.C (readLyXformat2): use boost::format
9974 (parseSingleLyXformat2Token): ditto
9976 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9978 * LaTeX.C (run): use boost::format
9980 * Chktex.C (scanLogFile): use boost::format
9982 * BufferView_pimpl.C (savePosition): use boost::format
9983 (restorePosition): ditto
9984 (MenuInsertLyXFile): ditto
9986 * BoostFormat.h: help file for explicit instation.
9988 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9990 * tabular.C (latex): Support for block alignment in fixed width
9993 2002-11-17 John Levon <levon@movementarian.org>
9995 * BufferView_pimpl.C:
9997 * lyxfunc.C: split filedialog into open/save
9999 2002-11-08 Juergen Vigna <jug@sad.it>
10001 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10002 by my last patch (hopefully).
10004 2002-11-08 John Levon <levon@movementarian.org>
10013 * toc.C: ParConstIterator, and use it (from Lars)
10015 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10017 * lyxtextclass.[Ch]: revise and add doxygen comments
10019 2002-11-07 John Levon <levon@movementarian.org>
10021 * text.C: fix progress value for spellchecker
10023 * toc.C: fix navigate menu for insetwrap inside minipage
10025 * paragraph_funcs.C: added FIXME for suspect code
10027 2002-11-07 John Levon <levon@movementarian.org>
10029 * BufferView_pimpl.C: fix redrawing of insets
10032 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * text2.C (updateCounters): fix bug 668
10036 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10038 * text3.C (dispatch): Do not make the buffer dirty when moving the
10041 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10043 * vc-backend.C: STRCONV
10044 (scanMaster): ditto
10046 * text2.C (setCounter): STRCONV
10048 * paragraph.C (asString): STRCONV
10050 * lyxlength.C (asString): STRCONV
10051 (asLatexString): ditto
10053 * lyxgluelength.C (asString): STRCONV
10054 (asLatexString): ditto
10056 * lyxfunc.C (dispatch): STRCONV
10059 * lyxfont.C (stateText): STRCONV
10061 * importer.C (Import): STRCONV
10063 * counters.C (labelItem): STRCONV
10064 (numberLabel): ditto
10065 (numberLabel): remove unused ostringstream o
10070 * bufferview_funcs.C (currentState): STRCONV
10072 * buffer.C (readFile): STRCONV
10073 (asciiParagraph): ditto
10074 (makeLaTeXFile): ditto
10076 * Spacing.C (writeEnvirBegin): STRCONV
10078 * LaTeXFeatures.C (getLanguages): STRCONV
10079 (getPackages): ditto
10081 (getBabelOptions): ditto
10082 (getTClassPreamble): ditto
10083 (getLyXSGMLEntities): ditto
10084 (getIncludedFiles): ditto
10088 (scanAuxFile): ditto
10091 * LString.h: add the STRCONV macros
10093 * BufferView_pimpl.C (savePosition): STRCONV
10094 (restorePosition): ditto
10095 (MenuInsertLyXFile): ditto
10097 * vc-backend.C (scanMaster): change from submatch[...] to
10100 * funcrequest.C: include config.h
10102 * factory.C: include config.h
10104 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10106 * box.C: include config.h
10108 * LaTeX.C (scanAuxFile): change from submatch[...] to
10112 2002-10-25 Angus Leeming <leeming@lyx.org>
10114 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10116 * ispell.[Ch] (setError): new method.
10117 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10118 Use setError() insetead of goto END.
10120 * lyx_cb.C (AutoSave): move out child process into new class
10123 2002-10-30 John Levon <levon@movementarian.org>
10125 * text3.C: make start appendix undoable
10127 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10129 * lyxlength.C (inPixels): Fix returned value.
10131 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10134 2002-10-24 Angus Leeming <leeming@lyx.org>
10136 * lyxgluelength.h: no need to forward declare BufferParams
10137 or BufferView, so don't.
10139 2002-10-21 John Levon <levon@movementarian.org>
10141 * BufferView.C: menuUndo ->undo, redo
10143 * BufferView.h: document, remove dead, make some methods private
10145 * paragraph_funcs.h:
10146 * paragraph_funcs.C:
10147 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10152 * sgml.C: move sgml open/close tag into sgml.C
10154 * bufferview_funcs.h: unused prototype
10157 * lyxfunc.C: remove unused
10160 * text.C: remove unused
10162 2002-10-21 John Levon <levon@movementarian.org>
10166 * BufferView_pimpl.h:
10167 * BufferView_pimpl.C: fix mouse wheel handling based on
10168 patch from Darren Freeman
10170 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10172 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10174 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10176 * lyxlength.C (inPixels): Fix hanfling of negative length.
10177 Fix LyXLength::MU case.
10179 2002-10-16 John Levon <levon@movementarian.org>
10181 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10183 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10185 * converter.C (view): add support for $$i (file name) and $$p
10186 (file path) for the viewer command. If $$i is not specified, then
10187 it is appended to the command (for compatibility with old syntax)
10189 2002-10-14 Juergen Vigna <jug@sad.it>
10191 * undo_funcs.C (textHandleUndo): alter the order in which the
10192 new undopar is added to the LyXText, as we have to set first
10193 the right prev/next and then add it as otherwise the rebuild of
10194 LyXText is not correct. Also reset the cursor to the right paragraph,
10195 with this IMO we could remove the hack in "redoParagraphs()".
10197 2002-10-09 Angus Leeming <leeming@lyx.org>
10199 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10200 to turn off an optimisation if a new inset is to be inserted.
10202 2002-10-11 André Pönitz <poenitz@gmx.net>
10204 * lyxtext.h: make some functions public to allow access
10205 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10207 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * text3.C (dispatch): when changing layout, avoid an infinite loop
10212 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10214 * lyxrc.C (read): treat a viewer or converter command of "none" as
10217 * MenuBackend.C (expandFormats): for an update, also allow the
10218 formats that are not viewable
10220 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10221 script if it is newer than the lyxrc.defaults in user directory
10223 2002-10-07 André Pönitz <poenitz@gmx.net>
10225 * text.C: Vitaly Lipatov's small i18n fix
10227 2002-09-25 Angus Leeming <leeming@lyx.org>
10229 * ispell.h: doxygen fix.
10231 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10233 * buffer.h (readFile): Add a new argument to the method, to allow
10234 reading of old-format templates.
10236 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10238 * toc.C (getTocList): Get TOC from InsetWrap.
10240 2002-09-16 John Levon <levon@movementarian.org>
10242 * lyxfunc.C: check tabular for cut/copy too
10244 2002-09-12 John Levon <levon@movementarian.org>
10246 * LyXAction.C: tidy
10249 * factory.C: add header
10251 * paragraph_funcs.h:
10252 * paragraph_funcs.C: cleanup
10254 2002-09-11 John Levon <levon@movementarian.org>
10256 * PrinterParams.h: odd/even default to true
10258 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10260 * PrinterParams.h: update printer parameters for new xforms dialog
10262 2002-09-11 Angus Leeming <leeming@lyx.org>
10264 * lyxserver.C (read_ready): re-write to make it more transparent
10265 and to make it work in coherent fashion under Tru64 Unix.
10267 2002-09-11 André Pönitz <poenitz@gmx.net>
10271 * text3.C: implement LFUN_WORDSEL
10273 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10275 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10276 make floatlist_ a boost::shared_ptr<FloatList>
10278 * lyxtextclass.C: include FloatList.h
10279 (LyXTextClass): initialize floatlist_
10280 (TextClassTags): add TC_NOFLOAT
10281 (Read): match "nofloat" to TC_NOFLOAT and use it.
10282 (readFloat): modify call to floatlist_
10286 * FloatList.[Ch] (FloatList): remove commented out float
10288 (erase): new function
10290 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * MenuBackend.C (expandToc): fix crash when there is no document
10295 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10297 * many files: Add insetwrap.
10299 2002-09-09 John Levon <levon@movementarian.org>
10301 * text2.C: remove confusing and awkward depth wraparound
10303 2002-09-09 John Levon <levon@movementarian.org>
10305 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10308 * buffer.C: remove getIncludeonlyList()
10311 * lyxfunc.C: remove headers
10313 2002-09-09 Juergen Vigna <jug@sad.it>
10315 * text.C (getColumnNearX): fix form Michael this is most
10316 probably a cut&paste bug.
10318 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10320 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10322 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10323 references, ws changes.
10325 * text2.C (init): update counters after init
10326 (insertParagraph): no need to set counter on idividual paragraphs.
10327 (setCounter): access the counters object in the textclass object
10328 on in the buffer object.
10329 (updateCounters): ditto
10331 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10332 shared_ptr<Counters> to avoid loading counters.h in all
10334 (LyXTextClass): initialize ctrs_
10335 (TextClassTags): add TC_COUNTER, and ...
10336 (Read): use it here.
10337 (CounterTags): new tags
10338 (readCounter): new function
10339 (counters): new funtion
10340 (defaultLayoutName): return a const reference
10342 * counters.C (Counters): remove contructor
10343 (newCounter): remove a couple of unneeded statements.
10344 (newCounter): simplify a bit.
10345 (numberLabel): some small formatting changes.
10347 * buffer.[Ch]: remove all traces of counters, move the Counters
10348 object to the LyXTextClass.
10350 2002-09-06 Alain Castera <castera@in2p3.fr>
10352 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10353 package to set the horizontal alignment on fixed width columns.
10356 * lyx_sty.h: added tabularnewline macro def.
10358 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10360 2002-09-06 John Levon <levon@movementarian.org>
10362 * LyXAction.C: tooltips for sub/superscript
10364 * MenuBackend.C: a bit more verbose
10366 * lyxfunc.C: tiny clean
10368 * undo_funcs.C: document undo_frozen
10370 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10372 * counters.C (Counters): add missing algorithm counter.
10374 * text2.C (setCounter): lookup the counter with layouts latexname
10375 instead of by section number.
10376 (setCounter): use a hackish way to lookup the correct enum
10378 a float name->type change
10379 reset enum couners with counter name directly instead of depth value.
10381 * counters.C (Counters): remove the push_backs, change to use the
10382 float type not the float name.
10383 (labelItem): remove unused string, float name->type change
10385 * counters.h: don't include vector, loose the enums and sects vectors
10387 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10389 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10390 (Read): add float->TC_FLOAT to textclassTags
10391 (Read): and handle it in the switch
10392 (readFloat): new function
10394 * FloatList.C (FloatList): comment out the hardcoded float
10397 * lyxlayout.h: ws change.
10399 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10401 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10403 2002-09-03 Angus Leeming <leeming@lyx.org>
10405 * BufferView_pimpl.h: qualified name is not allowed in member
10406 declaration: WorkArea & Pimpl::workarea() const;
10408 * factory.C: added using std::endl directive.
10410 * text3.C: added using std::find and std::vector directives.
10412 2002-08-29 André Pönitz <poenitz@gmx.net>
10415 * text2.C: remove unused member number_of_rows
10418 * BufferView2.C: remove file, move contents to...
10419 * BufferView.C: ... here
10421 * BufferView_pimpl.C:
10422 * factory.C: move more inset creation to factory
10424 * vspace.C: avoid direct usage of LyXText, ws changes
10427 don't provide direct access to WorkArea, use two simple
10428 acessors haveSelction() and workHeight() instead
10431 2002-08-29 John Levon <levon@movementarian.org>
10433 * BufferView_pimpl.C (dispatch): do not continue when
10436 2002-08-28 André Pönitz <poenitz@gmx.net>
10438 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10441 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10443 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10445 * buffer.C: increment LYX_FORMAT to 221
10447 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10448 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10450 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10452 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10454 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10456 * factory.C (createInset): use LyXTextClass::floats
10458 * MenuBackend.C (expandFloatListInsert):
10459 (expandFloatInsert):
10462 * text2.C (setCounter):
10464 * LaTeXFeatures.C (useFloat):
10465 (getFloatDefinitions):
10467 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10469 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10470 floatlist_, with accessor floats().
10472 * FloatList.h: remove global FloatList
10474 2002-08-26 André Pönitz <poenitz@gmx.net>
10476 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10480 * BufferView_pimpl.C:
10481 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10483 2002-08-25 John Levon <levon@movementarian.org>
10485 * LyXAction.C: fix margin note description
10487 2002-08-24 John Levon <levon@movementarian.org>
10491 * bufferview_funcs.C:
10493 * undo_funcs.C: cleanups
10495 * lyxfunc.C: disable CUT/COPY when no selection
10497 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10499 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10500 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10502 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10503 Add backward compatibility to "mono", "gray" and "no".
10505 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10507 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10508 (and file_format >= 200).
10510 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10512 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10514 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10518 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10520 * BufferView_pimpl.C:
10527 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10528 inset and code to make it work with the paragraph code. The inset
10529 can be anywhere in the paragraph, but will only do the expected
10530 thing in LaTeX if the layout file contains the parameter line
10532 (or more generally, a nonzero value) for that layout.
10534 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10536 * paragraph.h: remove the declaration of undefined counters class
10539 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10541 * text2.C (setCounter): fixed enumeration mis-count as reported by
10542 Dr. Richard Hawkins.
10544 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10546 * paragraph_funcs.h: remove some unneeded includes
10548 * text.C (backspace): pasteParagraph now in global scipe
10550 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10551 (pasteSelection): ditto
10553 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10554 * paragraph_funcs.C (pasteParagraph): ... here
10556 2002-08-20 André Pönitz <poenitz@gmx.net>
10558 * commandtags.h: new LFUNs for swapping/copying table row/colums
10561 * lyxfunc.C: support for new lfuns
10563 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10566 * buffer.[Ch]: remove NO_COMPABILITY stuff
10568 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10570 * boost.C (throw_exception): new file, with helper function for
10571 boost compiled without exceptions.
10576 * ParameterStruct.h:
10577 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10579 * bufferlist.C (emergencyWriteAll): use boost bind
10581 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10583 * text.C: include paragraph_funcs.h
10584 (breakParagraph): breakParagraph is now in global scope
10586 * paragraph_funcs.[Ch]: new files
10588 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10591 * buffer.C: include paragraph_funcs.h
10592 (insertStringAsLines): breakParagraph is now in global scope
10594 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10597 * CutAndPaste.C: include paragraph_funcs.h
10598 (cutSelection): breakParagraphConservative is now in global scope
10599 (pasteSelection): ditto
10601 * buffer.h: declare oprator== and operator!= for
10602 Buffer::inset_iterator
10604 * bufferlist.C (emergencyWrite): don't use fmt(...)
10606 * text3.C: add using std::endl
10608 * BufferView.C (moveCursorUpdate): remove default arg
10610 2002-08-20 André Pönitz <poenitz@gmx.net>
10612 * buffer.[Ch]: move inline functions to .C
10615 * BufferView_pimpl.C:
10617 * buffer.[Ch]: use improved inset_iterator
10620 * paragraph.[Ch]: write one paragraph at a time
10622 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10624 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10625 style if style is not specified.
10627 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10629 * text2.C (setCounter): when searching for right label for a
10630 caption, make sure to recurse to parent insets (so that a caption
10631 in a minipage in a figure float works) (bug #568)
10633 2002-08-20 André Pönitz <poenitz@gmx.net>
10635 * text3.C: new file for LyXText::dispatch() and helpers
10637 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10639 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10641 2002-08-19 André Pönitz <poenitz@gmx.net>
10644 * text.C: new LyXText::dispatch()
10646 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10648 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10650 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10652 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10655 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10657 * Makefile.am: use $(variables) instead of @substitutions@
10659 2002-08-15 André Pönitz <poenitz@gmx.net>
10662 * BufferView_pimpl.C: streamlining mathed <-> outer world
10666 * LyXAction.C: remove unused LFUN_MATH
10668 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10670 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10672 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10674 * paragraph.C (Paragraph): reformat a bit
10675 (cutIntoMinibuffer): use builtin InsetList function instad of
10679 * buffer.C: include boost/bind.hpp, add using std::for_each
10680 (writeFileAscii): use ParagraphList iterators
10681 (validate): use for_each for validate traversal of paragraphs
10682 (getBibkeyList): use ParagraphList iterators
10683 (resizeInsets): use for_each to resizeInsetsLyXText for all
10685 (getParFromID): use ParagraphList iterators
10687 * BufferView2.C (lockInset): use paragraph list and iterators
10689 2002-08-14 John Levon <levon@movementarian.org>
10691 * lyxserver.C: remove spurious xforms include
10693 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10695 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10697 2002-08-13 André Pönitz <poenitz@gmx.net>
10700 * lyxfunc.C: further cleaning
10702 2002-08-13 André Pönitz <poenitz@gmx.net>
10704 * funcrequest.h: new constructor
10706 * funcrequest.C: move stuff here from .h
10709 * BufferView_pimpl.C:
10712 * lyxfunc.C: subsequent changes
10714 * lyxfunc.h: new view() member function
10716 * lyxfunc.C: subsequent changes
10718 2002-08-13 Angus Leeming <leeming@lyx.org>
10721 * BufferView_pimpl.C:
10729 changes due to the changed LyXView interface that now returns references
10730 to member variables not pointers.
10732 2002-08-13 Angus Leeming <leeming@lyx.org>
10734 * WordLangTuple (word, lang_code): return references to strings,
10739 * lyxtext.h: forward-declare WordLangTuple.
10744 * text.C: #include "WordLangTuple.h".
10747 * text.C: (selectNextWordToSpellcheck): constify return type.
10749 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10755 * paragraph_pimpl.h:
10758 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10759 suggested by Angus.
10760 Made updateCounter always count from start of buffer, and removed
10761 second argument (par).
10762 Reverted floats number display to '#'. Perhaps I'll try again when the
10763 code base is sanitized a bit.
10765 2002-08-12 Angus Leeming <leeming@lyx.org>
10767 * buffer.[Ch] (getLabelList): constify.
10769 2002-08-07 André Pönitz <poenitz@gmx.net>
10771 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10773 * funcrequest.h: extension to keep mouse (x,y) position
10775 2002-08-12 Juergen Vigna <jug@sad.it>
10777 * BufferView2.C (insertErrors): forbid undo when inserting error
10780 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10782 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10784 * ParagraphList.[Ch]: new files
10786 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10788 * BufferView2.C (lockInset): ParagraphList changes
10791 * bufferlist.C: ditto
10795 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10797 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10798 unused class variable counter_,
10800 * paragraph.[Ch] (getFirstCounter): delete unused function
10802 * counters.C: include LAssert.h
10803 (reset): add a new function with no arg, change other version to
10804 not have def. arg and to not allow empty arg.
10806 * text2.C (setCounter): remove empty arg from call to Counters::reset
10808 2002-08-11 John Levon <levon@movementarian.org>
10810 * Makefile.am: add WordLangTuple.h
10812 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10814 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10815 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10817 * insets/insettext.C: InsetList changes
10819 * graphics/GraphicsSupport.C (operator()): InsetList changes
10821 * toc.C (getTocList): InsetList changes
10823 * paragraph_pimpl.[Ch]: InsetList changes
10825 * paragraph.[Ch]: InsetList changes
10827 * buffer.C (inset_iterator): InsetList changes
10828 (setParagraph): ditto
10829 * buffer.h (inset_iterator): ditto
10830 * iterators.C (operator++): ditto
10831 * iterators.h: ditto
10833 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10835 * InsetList.[Ch]: new files, most InsetList handling moved out of
10838 * BufferView2.C (removeAutoInsets): InsetList changes
10840 (ChangeInsets): ditto
10842 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10844 * paragraph_pimpl.h (empty): new function
10846 * paragraph.[Ch] (empty): new function
10848 * other files: use the new Paragraph::empty function
10850 2002-08-09 John Levon <levon@movementarian.org>
10852 * lyxtext.h: remove unused refresh_height
10854 2002-08-09 John Levon <levon@movementarian.org>
10861 * paragraph.C: move sgml char escaping out of paragraph
10864 * paragraph.C: remove id setter
10868 * paragraph_pimpl.C: remove dead tex_code_break_column
10870 * bufferview_funcs.C: small cleanup
10872 * lyxfunc.C: remove dead proto
10874 * lyxtext.h: make some stuff private. Remove some dead stuff.
10876 * lyxgluelength.C: make as[LyX]String() readable
10878 2002-08-08 John Levon <levon@movementarian.org>
10883 * ToolbarDefaults.C:
10886 * toc.C: lyxaction cleanup
10888 2002-08-08 John Levon <levon@movementarian.org>
10890 * BufferView2.C: small cleanup
10893 * lyxfind.C: move unnecessary header into the .C
10895 2002-08-08 John Levon <levon@movementarian.org>
10897 * funcrequest.h: just tedious nonsense
10900 * lyx_main.C: cleanups
10903 * vspace.C: remove dead header lyx_main.h
10905 2002-08-07 Angus Leeming <leeming@lyx.org>
10908 * paragraph_pimpl.h:
10909 Forward declare class Counters in paragraph.h by moving the ctrs member
10910 variable into Paragraph::Pimpl.
10911 (counters): new method, returning a reference to pimpl_->ctrs.
10913 * text2.C: ensuing changes.
10915 2002-08-07 John Levon <levon@movementarian.org>
10917 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10919 * BufferView_pimpl.C: announce X selection on double/triple
10922 * lyx_main.C: use correct bool in batch dispatch
10924 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10926 2002-08-07 André Pönitz <poenitz@gmx.net>
10928 * funcrequest.h: new class to wrap a kb_action and its argument
10931 * BufferView_pimpl[Ch]:
10935 * lyxrc.C: subsequent changes
10938 2002-08-07 John Levon <levon@movementarian.org>
10940 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10941 document options change.
10943 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10948 * makefile.am: move counters functionality over from
10949 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10951 2002-08-06 John Levon <levon@movementarian.org>
10953 * WordLangTuple.h: new file for word + language code tuple
10964 * BufferView2.C: use WordLangTuple
10967 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10969 2002-08-06 John Levon <levon@movementarian.org>
10971 * lyx_main.C: fix cmdline batch handling
10973 2002-08-06 André Pönitz <poenitz@gmx.net>
10975 * lyxrc.C: set default for show_banner to true
10977 2002-08-06 John Levon <levon@movementarian.org>
10979 * pspell.C: fix a crash, and allow new aspell to work
10981 2002-08-06 John Levon <levon@movementarian.org>
10984 * kbmap.C: small cleanup
10987 * vspace.C: add const
10989 2002-08-05 John Levon <levon@movementarian.org>
10991 * LyXAction.C: back to tabular-insert
10993 2002-08-04 John Levon <levon@movementarian.org>
10996 * BufferView.C: cosmetic change
10998 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11008 * BufferView2.C: purge all "Lyx" not "LyX" strings
11011 * lyxcursor.C: attempt to add some documentation
11016 * ToolbarDefaults.C:
11017 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11018 merge with LFUN_TABULAR_INSERT
11025 * pspell.C: split up i/pspell implementations into separate
11026 files, many cleanups
11028 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11030 * text2.C: some cleanup
11032 * lyxfunc.C: don't check for isp_command == "none" any more, it
11033 didn't make any sense
11035 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11040 * makefile.am: move counters functionality over
11041 from text2.C/paragraph.[Ch] to counters.[Ch], and
11043 2002-08-02 John Levon <levon@movementarian.org>
11045 * buffer.C: s/lyxconvert/lyx2lyx/
11047 2002-08-02 Angus Leeming <leeming@lyx.org>
11049 * lyxlex.C: revert John's change as it breaks reading of the user
11052 2002-08-02 Angus Leeming <leeming@lyx.org>
11054 * importer.C (Import):
11055 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11056 changes due to LyXView::view() now returning a boost::shared_ptr.
11058 2002-08-02 John Levon <levon@movementarian.org>
11060 * lyxlex.C: small cleanup
11062 2002-08-02 John Levon <levon@movementarian.org>
11064 * text2.C (status): small cleanup, no logic change
11066 2002-08-01 John Levon <levon@movementarian.org>
11069 * buffer.C (writeFile): don't output alerts, caller
11073 * lyx_cb.C: from above
11075 * lyxfunc.C: allow to open non-existent files
11077 2002-07-31 John Levon <levon@movementarian.org>
11079 * lyxserver.C: don't let incidental errors get
11082 2002-07-30 John Levon <levon@movementarian.org>
11084 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11086 2002-07-30 John Levon <levon@movementarian.org>
11089 * lyxserver.C: remove I/O callback too
11091 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11096 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11098 * many files: strip,frontStrip -> trim,ltrim,rtrim
11100 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11102 * PrinterParams.h: remove extern containsOnly, and include
11103 support/lstrings.h instead.
11105 * LaTeX.C (scanAuxFile): modify because of strip changes
11107 * buffer.C (makeLaTeXFile): ditto
11108 * bufferparams.C (writeFile): ditt
11109 * lyxfont.C (stateText): ditto
11110 * lyxserver.C (read_ready): ditto
11111 * vc-backend.C (scanMaster): ditto
11113 * BufferView_pimpl.h: ws changes
11115 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11117 2002-07-26 André Pönitz <poenitz@gmx.net>
11119 * kb_sequence.C: remove unnedred usings
11121 2002-07-26 Juergen Vigna <jug@sad.it>
11123 * lyxfind.C (LyXReplace): we have to check better if the returned
11124 text is not of theLockingInset()->getLockingInset().
11126 2002-07-25 Juergen Vigna <jug@sad.it>
11128 * lyxfind.C (LyXReplace): don't replace if we don't get the
11131 * undo_funcs.C (createUndo): remove debugging code.
11133 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11135 * buffer.C (parseSingleLyXformat2Token): Use default placement
11136 when reading old floats.
11138 * FloatList.C (FloatList): Change the default placement of figure
11139 and tables to "tbp".
11141 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11143 * MenuBackend.C: using std::max
11145 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11147 * MenuBackend.C (expandToc):
11148 (expandToc2): code moved from xforms menu frontend. It is now
11149 generic and TOCs are transparent to menu frontends.
11151 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * toc.C (getTocList): protect against buf=0
11155 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11156 Menu as first parameter. Now, this calls itself recursively to
11157 expand a whole tree (this will be useful for TOC handling)
11158 (expandFloatInsert): remove 'wide' version of floats
11160 * MenuBackend.h (submenuname): returns the name of the submenu.
11161 (submenu): returns the submenu itself, provided it has been
11162 created by MenuBackend::expand
11164 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11167 insets which have noFontChange == true. (bug #172)
11169 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * BufferView_pimpl.C: add connection objects and use them...
11174 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * MenuBackend.C (expandLastfiles):
11179 (expandFloatListInsert):
11180 (expandFloatInsert):
11181 (expand): split expand in parts
11183 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11185 * lyx_gui.C: use lyx_gui::exit()
11187 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11189 * LyXAction.C: show the failing pseudo action
11191 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11193 * buffer.C (readFile): Run the lyxconvert script in order to read
11196 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11200 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11202 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11206 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11208 2002-07-22 Herbert Voss <voss@lyx.org>
11211 * lyxlength.[Ch]: add support for the vertical lengths
11213 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11215 * toc.[Ch]: std:: fixes
11217 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11219 * lyxrc.C: do not include lyx_main.h
11221 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11227 * BufferView2.C: include "lyxlex.h"
11230 * bufferparams.h: do not #include "lyxlex.h"
11232 * lyxtextclasslist.C (Add): remove method
11233 (classlist): renamed to classlist_
11235 * paragraph_pimpl.C:
11239 * bufferview_funcs.C:
11244 * toc.C (getTocList): use BufferParams::getLyXTextClass
11246 * toc.C (getTocList): use InsetFloat::addToToc
11248 * toc.[Ch]: new files, containing helper functions to handle table
11251 * lyxfunc.C (dispatch): no need to remove spaces around command
11253 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11254 first command of the sequence; it is not very clever, but I do not
11255 have a better idea, actually
11257 * LyXAction.C (LookupFunc): make sure to remove space at the
11258 beginning and end of the command
11260 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11262 * MenuBackend.C (getMenubar): new method: return the menubar of
11264 (read): treat differently reading of menu and menubar (in
11265 particular, the menubar has no name now)
11266 (Menu::menubar): remove
11268 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11271 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11273 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11274 a bibitem inset in a RTL paragraph.
11276 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11278 * paragraph_pimpl.C: constify
11280 * BufferView_pimpl.C:
11282 * lyxfunc.C: fix dispatch in a nicer way
11284 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11286 * lyxfunc.C (dispatch):
11287 * BufferView_pimpl.C:
11288 * BufferView_pimpl.h:
11290 * BufferView.h: rename Dispatch() to dispatch()
11292 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11294 * lyxlayout.C (Read): honor DependsOn tag
11296 * lyxlayout.[Ch] (depends_on): new method
11298 * version.C.in: update lyx_docversion
11300 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11302 * paragraph.C (validate): remove from here...
11303 * paragraph_pimpl.C (validate): ... and move here
11304 (isTextAt): make it const
11306 * buffer.C (getLists): ws cleanup
11308 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11310 * language.C (read): Use iso8859-1 encoding in latex_lang
11311 (this prevents LyX from crashing when using iso10646-1 encoding).
11313 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * text2.C (toggleInset): if cursor is inside an inset, close the
11316 inset and leave cursor _after_ it
11318 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11320 * lyxfunc.C: move minibuffer completion handling out of here
11322 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11324 * BufferView_pimpl.C:
11325 * LaTeX.C: fix dispatch calls
11327 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11329 * text.C (drawChars): Fix Arabic text rendering.
11331 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11335 * lyxfunc.C: remove message-push/pop
11339 * lyxfunc.C: rationalise some code by removing verboseDispatch
11340 in favour of a bool argument to dispatch()
11342 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11344 * lyx_main.C (init): make sure to read symlinks as absolute paths
11346 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11349 * lyxfunc.C: no need for commandshortcut to be a member
11351 2002-07-15 André Pönitz <poenitz@gmx.net>
11353 * converter.C: add support for $$s (scripts from lib/scripts dir)
11354 * lyx_main.C: white space
11356 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11360 * lyxrc.C: remove second exit confirmation
11362 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11367 * BufferView_pimpl.h:
11368 * BufferView_pimpl.C:
11369 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11371 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11373 * MenuBackend.C (expand): add numeric shortcuts to document menu
11375 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11377 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11379 * lyxfont.C (setLyXFamily):
11386 * buffer.C (asciiParagraph): use ascii_lowercase
11388 2002-07-15 Mike Fabian <mfabian@suse.de>
11390 * lyxlex_pimpl.C (search_kw):
11391 * lyxlex.C (getLongString):
11392 * converter.h (operator<):
11393 * converter.C (operator<):
11394 * buffer.C (parseSingleLyXformat2Token):
11396 * ToolbarDefaults.C (read):
11397 * MenuBackend.C (checkShortcuts):
11399 * LColor.C (getFromGUIName):
11400 (getFromLyXName): use the compare_ascii_no_case instead of
11401 compare_no_case, because in turkish, 'i' is not the lowercase
11402 version of 'I', and thus turkish locale breaks parsing of tags.
11404 2002-07-16 Angus Leeming <leeming@lyx.org>
11406 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11407 now takes a Buffer const & argument.
11409 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11411 * BufferView.C (resize): check there's a buffer to resize
11413 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11415 * lyxfunc.C: remove dead code
11418 * lyxserver.C: use lyx_guii::set_read_callback
11420 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11422 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11423 an inset in a RTL paragraph.
11425 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11427 * lyxfunc.C: repaint after a font size update
11429 2002-07-15 André Pönitz <poenitz@gmx.net>
11431 * lyxlength.C: inBP should be able to return negative values
11433 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11435 * lyxfunc.C: use lyx_gui::update_fonts()
11437 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11439 * lyxfunc.C: use lyx_gui::update_color()
11441 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11447 * lyxrc.C: remove file->new asks for name option, and let
11448 buffer-new take an argument
11450 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11452 * BufferView_pimpl.C: remove unneeded extra repaint()
11454 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11456 * LyXAction.C: allow command-sequence with NoBuffer
11458 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11460 2002-07-10 Angus Leeming <leeming@lyx.org>
11462 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11464 2002-07-09 Angus Leeming <leeming@lyx.org>
11466 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11468 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11470 * lengthcommon.h: whitespace
11472 * lyxfunc.C: update scrollbar after goto paragraph
11474 * lyxtext.h: factor out page break drawing, and fix it so
11475 page break/added space paints as selected nicely
11477 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11479 * BufferView_pimpl.C: add FIXMEs, clean up a little
11481 2002-07-09 André Pönitz <poenitz@gmx.net>
11483 * lyxfont.[Ch]: support for wasy symbols
11485 2002-07-08 André Pönitz <poenitz@gmx.net>
11487 * BufferView_pimpl.C: apply John's patch for #93.
11489 2002-07-05 Angus Leeming <leeming@lyx.org>
11491 * BufferView_pimpl.C (buffer): generate previews if desired.
11493 * LColor.h: add "preview" to the color enum.
11495 * LColor.C (LColor): add a corresponding entry to the items array.
11497 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11500 2002-07-05 Angus Leeming <leeming@lyx.org>
11502 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11503 The body of the code is now in the method that is passed an ostream &
11504 rather than a file name.
11505 Pass an additional only_preamble parameter, useful for the forthcoming
11508 2002-07-03 André Pönitz <poenitz@gmx.net>
11510 * lyxfunc.C: simplify getStatus() a bit for math stuff
11512 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11514 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11516 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11518 * text.C (changeRegionCase): do not change case of all the
11519 document when region ends at paragraph end (bug #461)
11521 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * paragraph.C (startTeXParParams):
11524 (endTeXParParams): add \protect when necessary
11526 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11528 * BufferView_pimpl.C (workAreaExpose): remove warning
11530 2002-06-27 Angus Leeming <leeming@lyx.org>
11532 * Makefile.am: add lyxlayout_ptr_fwd.h.
11534 2002-06-26 André Pönitz <poenitz@gmx.net>
11536 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11538 2002-06-25 Angus Leeming <leeming@lyx.org>
11540 * lyxfunc.C (dispatch): Comment out the call to
11541 grfx::GCache::changeDisplay. The method no longer exists now that the
11542 pixmap generation part of the graphics loader has been moved into
11545 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11547 * text2.C: layout as layout
11549 * text.C: layout as layout
11551 * tabular.C (OldFormatRead): layout as layout
11553 * paragraph_pimpl.C (TeXDeeper): layout as layout
11554 (realizeFont): layout as layout
11556 * paragraph.C (writeFile): layout as layout
11557 (validate): layout as layout
11558 (getFont): layout as layout
11559 (getLabelFont): layout as layout
11560 (getLayoutFont): layout as layout
11561 (breakParagraph): layout as layout
11562 (stripLeadingSpaces): layout as layout
11563 (getEndLabel): layout as layout
11564 (getMaxDepthAfter): layout as layout
11565 (applyLayout): layout as layout
11566 (TeXOnePar): layout as layout
11567 (simpleTeXOnePar): layout as layout
11568 (TeXEnvironment): layout as layout
11569 (layout): layout as layout
11570 (layout): layout as layout
11572 * lyxtextclass.C (compare_name): new functor to work with
11573 shared_ptr, layout as layout
11574 (Read): layout as layout
11575 (hasLayout): layout as layout
11576 (operator): layout as layout
11577 (delete_layout): layout as layout
11578 (defaultLayout): layout as layout
11580 * lyxlayout_ptr_fwd.h: new file
11582 * lyxlayout.C (Read): layout as layout
11584 * lyx_cb.C (MenuInsertLabel): layout as layout
11586 * bufferlist.C (newFile): layout as layout
11588 * buffer.C (readLyXformat2): layout as layout
11589 (parseSingleLyXformat2Token): layout as layout
11590 (insertStringAsLines): layout as layout
11591 (asciiParagraph): layout as layout
11592 (latexParagraphs): layout as layout
11593 (makeLinuxDocFile): layout as layout
11594 (simpleLinuxDocOnePar): layout as layout
11595 (makeDocBookFile): layout as layout
11596 (simpleDocBookOnePar): layout as layout
11597 (getLists): layout as layout
11599 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11601 * CutAndPaste.C (cutSelection): layout as layout
11602 (pasteSelection): layout as layout
11603 (SwitchLayoutsBetweenClasses): layout as layout
11605 * BufferView_pimpl.C (Dispatch): layout as layout
11606 (smartQuote): layout as layout
11608 * BufferView2.C (unlockInset): layout as layout
11610 2002-06-24 André Pönitz <poenitz@gmx.net>
11612 * lyxfunc.C: fix #487
11614 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11618 * lyxfunc.C: remove display_shortcuts, show_banner
11620 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11622 * Buffer_pimpl.C: oops, update on resize
11624 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11631 * BufferView.C: use repaint()
11633 * BufferView_pimpl.h:
11634 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11635 as it's a clearer description. Remove superfluous
11638 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11640 * text.C: fix bug 488. Not ideal, but getting
11641 getWord() to work properly for the insets that
11642 matter is more difficult ...
11644 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11646 * BufferView_pimpl.C:
11649 * lyxfunc.C: remove the six million index lyxfuncs to just
11650 one, and DTRT (bug 458)
11652 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.h:
11657 * BufferView_pimpl.C: clean up resize() stuff,
11658 and unnecessary updateScreen()s
11660 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11664 * BufferView_pimpl.h:
11665 * BufferView_pimpl.C:
11668 * minibuffer.C: remove focus management of workarea,
11669 not needed. Use screen's greyOut()
11671 2002-06-17 Herbert Voss <voss@lyx.org>
11673 * converter.C: (convert) do not post a message, when converting
11674 fails, let the calling function decide what to do in this case
11676 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11678 * lyxfunc.C: tidy up a little
11680 2002-06-16 <alstrup@diku.dk>
11682 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11683 Got rid of FORMS_H_LOCATION include. Now we are
11686 2002-06-15 LyX Development team <lyx@rilke>
11688 * buffer.[Ch] (sgmlOpenTag):
11689 (sgmlCloseTag): Added support for avoiding pernicious mixed
11690 content. Return number of lines written.
11692 (makeLinuxDocFile):
11693 (makeDocBookFile): Fixed calls to sgml*Tag.
11694 Simple white space clean.
11696 (simpleDocBookOnePar): Simple white space clean.
11698 * tabular.[Ch] (docBook): Renamed to docbook and got another
11699 argument to related with the pernicious mixed content.
11701 (docbookRow): Fixed calls for docbook inset method.
11703 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11705 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11706 so it's X11 independent.
11710 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11712 2002-06-15 Lyx Development team <lyx@electronia>
11714 * intl.h: Renamed getTrans to getTransManager.
11716 2002-06-14 Angus Leeming <leeming@lyx.org>
11718 * Makefile.am: nuke forgotten stl_string_fwd.h.
11720 2002-06-12 Angus Leeming <leeming@lyx.org>
11722 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11724 2002-06-13 Angus Leeming <leeming@lyx.org>
11727 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11729 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11731 * kbmap.C (getiso): add support for cyrillic and greek
11733 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11737 * BufferView_pimpl.h:
11738 * BufferView_pimpl.C: move bogus scrolling logic
11741 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C: view->resize() change
11746 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11748 * BufferView_pimpl.C: topCursorVisible
11751 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11755 * lyx_gui.C: move to frontends/
11759 * lyx_main.C: changes from above
11761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11768 * lyx_main.C: minor tidy
11770 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11772 * BufferView_pimpl.h:
11773 * BufferView_pimpl.C:
11775 * BufferView.C: make painter() const,
11778 * BufferView2.C: use screen() accessor
11781 * lyx_main.C: some minor cleanup
11783 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11785 * BufferView_pimpl.h:
11786 * BufferView_pimpl.C: remove enter/leaveView,
11789 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11794 * BufferView_pimpl.h:
11795 * BufferView_pimpl.C: only construct screen once,
11798 * lyxrc.C: remove pointless comment
11800 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11803 * BufferView.C: remove active() and belowMouse()
11805 * BufferView_pimpl.h:
11806 * BufferView_pimpl.C: use workarea() not workarea_,
11807 and make it use a scoped_ptr instead
11809 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11811 * lyx_gui.C: add debug message on BadWindow
11813 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11815 * sp_spell.C: fdopen is not part of the C++ standard.
11817 * paragraph.C (InsetIterator): use >= instead of ==
11819 2002-06-07 Angus Leeming <leeming@lyx.org>
11821 Fixes needed to compile with Compaq cxx 6.5.
11822 * BufferView_pimpl.C:
11829 * lyxtextclasslist.C:
11834 all c-library variables have been moved into namespace std. Wrap
11835 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11840 Add a using std::abs declaration.
11842 * kbmap.h (modifier_pair):
11843 * paragraph.h (InsetTable, InsetList):
11844 * lyxfont.h (FontBits):
11845 type definition made public.
11847 * bufferlist.C (emergencyWriteAll): the compiler complains that
11848 there is more than one possible lyx::class_fun template to choose from.
11849 I re-named the void specialisation as lyx::void_class_fun.
11851 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11853 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11854 the compiler is is unable to find tostr in write_attribute.
11856 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * buffer.C (sgmlError): hide #warning
11860 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11862 * xtl/*: get rid of xtl, which is not in use anyway
11864 * LyXAction.C (init):
11865 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11866 were unimplemented xtl experimentation
11868 2002-06-04 André Pönitz <poenitz@gmx.net>
11870 * lyxfunc.C: disable array operation on simple formulae
11872 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11874 * converter.C: constify a bit
11876 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11878 * lyx_gui.C: check xforms version correctly
11880 2002-04-30 Herbert Voss <voss@lyx.org>
11882 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11885 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11887 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11888 attempt to register it with a VCS)
11890 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11892 * lyx_main.C (init): honor variables LYX_DIR_13x and
11895 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11899 * lyx_main.C: fix a crash on bad command line,
11900 and give a useful exit status on error
11902 * lyxfunc.C (doImport): allow -i lyx to work
11904 2002-03-30 André Pönitz <poenitz@gmx.net>
11906 * lyxfunc.C: mathed font changes
11908 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11923 * trans_mgr.h: srcdocs, and some minor cleanups
11925 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11928 call getFont all the time)
11930 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11932 * switch from SigC signals to boost::signals
11934 2002-05-29 André Pönitz <poenitz@gmx.net>
11936 * paragraph_pimpl.C (getChar): don't call size() too often...
11938 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11940 * paragraph_pimpl.C (insertChar): do not try to update tables when
11941 appending (pos == size())
11943 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11944 in order to reduce drastically the number of comparisons needed to
11945 parse a large document
11947 2002-05-29 André Pönitz <poenitz@gmx.net>
11953 * textclasslist.[Ch]:
11954 * sp_ispell.h: whitespace change
11956 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11958 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11959 lyxaction directly now.
11961 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11965 * lyxvc.C: remove unused headers
11967 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11974 * undo_funcs.C: some cleanups. Use shared_ptr
11975 and a template for the undo stacks.
11977 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11979 * BufferView_pimpl.h:
11980 * BufferView_pimpl.C:
11987 * text2.C: use key_state/mouse_state
11989 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11991 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11994 * chset.C: change include order
11995 (loadFile): use boost regex and get rid of LRegex and LSubstring
11997 * Makefile.am (BOOST_LIBS): new variable
11998 (lyx_LDADD): use it
12000 * LaTeX.C: change include order.
12001 (scanAuxFile): use boost regex and get rid of LRegex and
12005 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12010 * FontInfo.C: moved to frontends/xforms/
12013 * FontLoader.C: moved into frontends for GUIIzation
12018 * lyxfunc.C: changes from above
12020 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12022 * LColor.C: remove spurious X include
12024 * BufferView_pimpl.C:
12029 * text2.C: move font metrics to frontends/
12031 2002-05-24 Juergen Vigna <jug@sad.it>
12033 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12034 setting the undo_cursor.
12036 * ParagraphParameters.h: include local includes first.
12038 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12040 * BufferView_pimpl.C:
12041 * BufferView_pimpl.h:
12045 * screen.C: move WorkArea into frontends/
12051 * BufferView2.C: move LyXScreen into frontends/
12055 * lyx_gui.C: move lyxlookup into frontends/xforms/
12057 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12060 * BufferView_pimpl.C:
12070 * bufferview_funcs.C:
12083 * vc-backend.C: move LyX/XFormsView into frontends/
12085 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12097 * text2.C: move Painter to frontends/
12099 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * buffer.C: comment out some some code that depend upon lyx_format
12104 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12105 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12107 * buffer.h (NO_COMPABILITY): turn off compability
12109 * ColorHandler.C: include scoped_array.hpp
12111 * font.C: Use more specific smart_ptr header.
12114 * ShareContainer.h: ditto
12115 * lyx_main.h: ditto
12117 * FontInfo.h: ditto
12118 * BufferView_pimpl.h: ditto
12119 * ColorHandler.h: ditto
12121 * kbmap.C (defkey): change call to shared_ptr::reset
12123 2002-05-21 Juergen Vigna <jug@sad.it>
12125 * buffer.C (insertErtContents): fix to insert ert asis if it is
12126 non empty. Skip it completely if it contains only whitespaces.
12128 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12130 * BufferView_pimpl.C:
12131 * BufferView2.C: clear selection on paste (bug 393)
12133 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * DepTable.C: include ctime
12137 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12139 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12141 2002-05-14 Juergen Vigna <jug@sad.it>
12143 * text.C (breakParagraph): fixed function to honor the keepempty
12144 layout in the right maner and also to permit the right breaking
12145 algorithm on empty or non empyt keepempty paragraphs.
12147 * paragraph.C (breakParagraph): we have to check also if the par
12148 is really empty (!size()) for isempty otherwise we do the wrong
12151 2002-05-10 Juergen Vigna <jug@sad.it>
12153 * buffer.[Ch] : The following are only changes to the ert
12154 compatibility read reading old LaTeX layout and font stuff and
12155 convert it to ERTInsets.
12157 * buffer.h: added isErtInset().
12159 * buffer.C (struct ErtComp): add a fromlayout bool to check
12160 if we're inside a LaTeX layout.
12161 (isErtInset): new helper function.
12162 (insertErtContents): look for other ert insets before this one
12163 and insert the contents there, so that we don't have subsequent
12164 ERT insets with nothing between them. This way we create only one
12165 inset with multiple paragraphs. Also check if we don't insert only
12166 spaces ' ' as they are ignored anyway afterwards in the .tex file
12167 so if we have only spaces we will ignore this latex part in the
12169 (parseSingleLyXformat2Token \\layout): better compatibility when
12170 reading layout-latex stuff.
12171 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12173 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12174 stuff after reading the inset only get the information back from
12177 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12179 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12181 * LaTeXFeatures.C (getBabelOptions): New method.
12183 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * BufferView_pimpl.C (Dispatch): work around missing argument for
12188 2002-05-08 Juergen Vigna <jug@sad.it>
12190 * text.C (leftMargin): handle paragraph leftindent.
12192 * paragraph.C (writeFile): write the new \\leftindent tag.
12193 (validate): handle leftindent code.
12194 (TeXEnvironment): handle paragraphleftindent code again.
12196 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12198 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12199 for paragrap_extra indent code and new token \\leftindent.
12200 (latexParagraphs): handle the leftindent as environment.
12202 * ParameterStruct.h: added leftindent support.
12204 * ParagraphParameters.C (leftIndent): added support functions for
12205 the paragraph left indent.
12207 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12210 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12212 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12215 * text.C (computeBidiTables): No bidi in insetERT.
12217 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12220 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12222 * version.C.in: pre 5
12224 2002-05-02 José Matos <jamatos@fep.up.pt>
12225 * buffer.C (makeDocBookFile): white space changes, add newline to
12227 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12229 * tabular.C (docBook): fix typo.
12231 2002-05-03 Juergen Vigna <jug@sad.it>
12233 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12234 change in LyXText as we can not be sure it was not freed.
12235 (drawOneRow): remove unused code.
12237 * text.C (drawInset): redo the calculation of the need_break_row as
12238 it could have a row which was already freed.
12239 (draw): look at the return value of drawInset and return false if
12240 it also returned false.
12241 (paintRowText): look at the return value of draw and return false if
12242 it also returned false.
12244 * lyxtext.h: added bool return type to drawInset() and draw() so that
12245 if we have a change in the row so that the rowbreak has to be redone
12246 we abort drawing as it will be called again.
12248 2002-05-02 Juergen Vigna <jug@sad.it>
12250 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12251 a change in the maintext also if we're inside an inset.
12252 (Dispatch): set the cursor again after a break line and after the
12253 screen has been updated as it could be we're in a different row.
12255 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12256 to set the cursor behind the pargraph with > size().
12257 (setCursor): check also for the same paragraph when checking where
12258 to put the cursor if we have a NFR inset.
12260 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12261 parts of layout read further up as it still was in the wrong
12264 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12266 * screen.C (drawFromTo): change sine fullRebreak always return
12269 * buffer.C (parseSingleLyXformat2Token): reindent some
12271 * BufferView_pimpl.C (update): change since fullRebreak always
12273 (Dispatch): git rid of the last hardcoded "Standard"s.
12275 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12277 * text2.[Ch] (fullRebreak): make it return void now that we always
12280 2002-04-30 Juergen Vigna <jug@sad.it>
12282 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12283 ert compatibility check for "latex" layout.
12285 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12287 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12288 minipages: use col% instead of p%, and also use the current font.
12289 (makeLaTeXFile): Fix use babel condition.
12290 (parseSingleLyXformat2Token): Correct font when reading old floats.
12292 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12294 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12295 inserting list of floats.
12297 2002-04-25 Herbert Voss <voss@lyx.org>
12299 * MenuBackend.C (expand): don't add the graphics extensions to the
12302 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12304 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12305 non-existing layout, do not complain if it was the default layout
12306 of the original class (bug #342)
12308 2002-04-24 Juergen Vigna <jug@sad.it>
12310 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12311 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12313 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12315 * buffer.C (getBibkeyList): If using \bibliography, return the
12316 option field with the reference itself. Enables us to provide natbib
12317 support when using \bibliography.
12319 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12321 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12323 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12324 natbib is provided by the LaTeX class.
12326 2002-04-23 Juergen Vigna <jug@sad.it>
12328 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12331 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12333 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12335 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12337 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12338 ensuremath around textordmasculine, textordfeminine and
12341 2002-04-19 Juergen Vigna <jug@sad.it>
12343 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12344 reinitializing the buffer otherwise row-dimensions may be wrong.
12345 (update): reset also the selection cursors if they do exits otherwise
12346 their x/y positions may be wrong.
12348 * text2.C (cursorDown): don't enter the inset if we came from a row
12349 above and are one row over the inset.
12351 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12352 really leaving an inset.
12354 2002-04-18 Juergen Vigna <jug@sad.it>
12356 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12357 of the selected paragraph does not have the selected layout also if
12360 * text2.C (setLayout): fixed bug which did not change last selected
12363 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12364 changed the read and substituted \\end_float with \\end_inset!
12366 * BufferView_pimpl.C (cursorPrevious):
12367 (cursorNext): fixed to make it work with rows heigher than the work
12368 area without moving the cursor only the draw of the row.
12369 (workAreaMotionNotify): fix jumping over high rows.
12371 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12376 2002-04-16 Juergen Vigna <jug@sad.it>
12378 * text2.C (setCursor): set also the irow().
12379 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12381 (cursorDown): support for locking an inset if the x_fix value goes
12382 inside it. That way I can transverse insets too with cursor up/down.
12384 * lyxrow.h: added irow helper function same as other (i) functions.
12386 * BufferView_pimpl.C (cursorPrevious):
12387 (cursorNext): fixed for insets!
12389 2002-04-15 Juergen Vigna <jug@sad.it>
12391 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12392 position otherwise it is wrong in some cases.
12394 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12395 inside the inset before the call.
12397 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12399 * buffer.[Ch] (getBibkeyList): make it const.
12401 2002-04-12 Juergen Vigna <jug@sad.it>
12403 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12405 * text2.C (getCursorX): new helper function
12406 (setCursor): compute also ix_
12407 (setCursorFromCoordinates): set also ix.
12409 * lyxcursor.h: added ix_ and helper functions.
12411 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12413 * buffer.C (insertStringAsLines): dont break paragraph if the this
12414 paragraph is inside an inset which does not permit it!
12416 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12417 also with no chars on this paragraph.
12418 (paintRowText): only paint stuff if it's inside the workarea!
12420 * paragraph.C (breakParagraph): honor keepempty flag and break the
12421 paragraph always below not above.
12423 * BufferView2.C (unlockInset): update the paragraph layout on inset
12424 unlock as we changed paragraph in such a case.
12426 * lyxfind.C (LyXFind): clear the former selection if not found!
12428 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12429 again called in insertChar().
12431 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12432 an inset which uses the whole row!
12433 (rightMargin): ditto.
12434 (insertChar): force a rebreak if we inserted an inset!
12436 2002-03-28 Herbert Voss <voss@lyx.org>
12438 * lyxlength.[Ch]: add inBP() to get the right PS-point
12439 units (BigPoint). With inPixels we have rounding errors
12441 2002-04-11 Juergen Vigna <jug@sad.it>
12443 * text2.C (setCursorFromCoordinates): set iy to the right value.
12444 (setCursor): add check if row->previous exists!
12446 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12447 an old float_type as this was the case in the old code!
12449 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12451 * BufferView2.C (showLockedInsetCursor): use iy
12452 (fitLockedInsetCursor): ditto
12454 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12455 locked insets as there we have the right value now.
12457 * lyxcursor.C: added iy_ variable and iy functions to set to the
12458 baseline of cursor-y of the locked inset.
12460 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12461 (setCursor): fixed for insets which need a full row.
12463 * text.C (rowLastPrintable): don't ignore the last space when before
12464 an inset which needs a full row.
12465 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12466 as last character of a row when before a inset which needs a full row.
12468 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * version.C.in: update date
12472 * text2.C (fullRebreak): try to always return true and see what
12475 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12477 * MenuBackend.C (expand): use Floating::listName
12479 * FloatList.C (FloatList): add listName argument to the built-in
12482 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12483 text associated with the float.
12485 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12487 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12489 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12491 * ShareContainer.h: add a couple of missing typenames.
12493 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12495 * lyxrc.C (getDescription): use _() correctly rather than N_().
12497 2002-03-28 Herbert Voss <voss@lyx.org>
12499 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12500 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12502 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12504 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12505 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12507 2002-03-29 Juergen Vigna <jug@sad.it>
12509 * lyxfunc.C (dispatch): add a missing fitCursor call.
12511 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12512 it was scrolled by a cursor move, so return the bool status.
12514 * BufferView.C (fitCursor): return the bool flag also to the outside
12515 world as this is needed.
12517 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12519 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12520 call the edit() as it is not needed (and wrong) IMO.
12521 (workAreaButtonPress): set the screen_first variable before evt.
12522 unlock the inset as this may change screen_first and then we have
12523 a wrong y position for the click!
12525 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12527 * MenuBackend.C (expand): another translation that I missed
12529 2002-03-28 Juergen Vigna <jug@sad.it>
12531 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12533 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12535 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12537 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12539 * MenuBackend.C (expand): fix export/view/update when there is no
12542 2002-03-27 Herbert Voss <voss@lyx.org>
12544 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12547 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12549 * bufferview_funcs.C (currentState): only show paragraph number
12550 for is DEVEL_VERSION is set.
12552 * lyxfunc.C (dispatch): put warning in INFO channel
12554 * MenuBackend.C (expand): translate the name of floats
12556 * FloatList.C (FloatList): mark the float names for translation
12558 * converter.C (convert): use LibScriptSearch
12560 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12562 * MenuBackend.C (defaults): fix default menu (we might as well get
12565 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12570 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * lyxvc.C: reorder includes.
12574 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12576 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12579 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12581 * CutAndPaste.C: change layouts earlier on paste
12582 to avoid crashing when calling getFont()
12584 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12586 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12589 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12591 * WorkArea.C: remove 'Pending' debug message.
12593 * most files: ws cleanup
12595 * buffer.[Ch]: ws changes
12597 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12599 2002-03-21 Juergen Vigna <jug@sad.it>
12601 * tabular.C (SetMultiColumn): collapse also the contents of the
12602 cells and set the last border right. Added a Buffer const * param.
12604 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12606 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12609 2002-03-19 Juergen Vigna <jug@sad.it>
12611 * text2.C (clearSelection): reset also xsel_cache.
12613 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12614 where it needs to be called (John tells us to do so too :)
12615 (selectionLost): reset sel_cache.
12617 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12619 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12621 * text2.C (setCursorIntern): put debuging code in INSETS channel
12623 2002-03-19 André Pönitz <poenitz@gmx.net>
12625 * lyxfunc.C: tiny whitespace change
12627 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12629 * ToolbarDefaults.C (init):
12630 * LyXAction.C (init):
12632 * BufferView_pimpl.C (Dispatch):
12633 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12635 2002-03-19 Allan Rae <rae@lyx.org>
12637 * exporter.C (Export): removeAutoInsets before doing anything else.
12638 While I've just introduced a dependency on BufferView this really is
12639 the best place to clean the buffer otherwise you need to cleanup in
12640 a dozen places before calling export or cleanup in a dozen functions
12643 * converter.C (runLaTeX):
12644 (scanLog): Better handling of removeAutoInsets and screen updates.
12646 * lyxfunc.C (dispatch): small whitespace changes
12648 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * WorkArea.C (C_WorkAreaEvent): return a value.
12651 (event_cb): return 1 if we handled the event, 0 otherwise.
12653 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12655 2002-03-18 Juergen Vigna <jug@sad.it>
12657 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12658 (GetAdditionalWidth): ditto.
12659 (RightLine): ditto.
12662 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12663 inset if we're there actually (probably not used right now but this
12664 is the direction to go for unifying code).
12665 (paste): disable code to clear the selection.
12667 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12668 inside an InsetText and move the check further up as it is in the
12671 * text2.C (pasteSelection): set a selection over the pasted text.
12673 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12675 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12676 and libgraphics to build on Cygwin.
12678 2002-03-15 Juergen Vigna <jug@sad.it>
12680 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12681 inserting an Inset into the paragraph. I know this is not the best
12682 fix but we already use current_view in CutAndPaste so we will remove
12683 all of it's using at the same time.
12685 * buffer.C (sgmlError): deactivated function till it is rewritten in
12686 the right mode, now it can create problems.
12688 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12689 before accessing it.
12691 2002-03-14 Juergen Vigna <jug@sad.it>
12693 * undo_funcs.C (textHandleUndo): do the right thing when updating
12694 the inset after the undo/redo.
12696 * text2.C (setCursor): just some testcode for #44 not ready yet.
12698 * undo_funcs.C (textHandleUndo): set the next() and previous()
12699 pointers of the paragraph to 0 before deleting otherwise we have
12700 problems with the Paragraph::[destructor].
12702 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12703 on a paragraph insertion.
12705 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * buffer.C (asciiParagraph): use += operator for char append to
12710 * paragraph.C (getFontSettings): compare >= not just >
12711 (highestFontInRange): ditto
12714 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * paragraph.C: change several algorithm to be more appripriate for
12717 the problem domain. This is lookip in FontList and in the InsetList.
12719 2002-03-13 André Pönitz <poenitz@gmx.net>
12722 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12724 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12731 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * Painter.C (display): anon helper function, adjust code for this
12735 (pixmap): remove function.
12737 * Painter.h: remove private display variable.
12739 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12741 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12743 * WorkArea.[Ch]: remove figinset_canvas cruft.
12745 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12747 * lyxtextclass.C (operator): add one item cache optimization.
12749 * bufferlist.h: doxy changes
12751 * bufferlist.C: ws changes
12753 * DepTable.[Ch] (ext_exist): place const in the right spot.
12755 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12757 (workAreaExpose): call resizeInsets when the with BufferView changes.
12758 (Dispatch): adjust for protectedBlank removal
12759 (specialChar): call updateInset if the insert went ok.
12761 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12762 specialChar instead.
12764 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12766 * BufferView.h: doxy change
12768 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12770 * lyxtextclass.C (operator[]): remove non-const version
12771 (defaultLayout): remove non-const version
12773 2002-03-12 Juergen Vigna <jug@sad.it>
12775 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12776 did resize the LyXText too.
12778 * buffer.C (readLyXformat2): set layout information on newly allocated
12781 * tabular.C (OldFormatRead): set layout information on the paragraph.
12783 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12785 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12787 2002-03-11 Juergen Vigna <jug@sad.it>
12789 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12791 (resizeCurrentBuffer): force also the insets to resize themselfes.
12792 (moveCursorUpdate): fixed up for InsetText.
12794 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12797 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12798 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12799 value of Dialogs::tooltipsEnabled().
12800 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12802 2002-03-08 Juergen Vigna <jug@sad.it>
12804 * BufferView_pimpl.C (updateInset): update inset inside inset also
12805 if it isn't inside theLockingInset().
12807 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12809 * buffer.C (asciiParagraph): redo some of the word and line length
12811 (getLists): look for Caption instead of caption.
12813 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * buffer.C (Buffer): initialize niceFile to true
12817 (makeLinuxDocFile):
12818 (makeDocBookFile): make sure niceFile is true on exit
12820 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12822 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12824 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12826 * LyXSendto.C: remove.
12827 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12828 * lyx_gui.C: remove now-redundant comment.
12829 * ColorHandler.h: remove forward declaration of class WorkArea.
12830 * lyxfunc.C: remove #include "WorkArea.h".
12832 2002-03-07 Juergen Vigna <jug@sad.it>
12834 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12835 got moved away with the DEPM and also set the inset_owner always
12836 right which before could have been omitted.
12838 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12841 wanted layout is not found.
12843 2002-03-07 Juergen Vigna <jug@sad.it>
12845 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12847 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * paragraph.C (breakParagraph): use default layout not layout of
12851 (Paragraph): clear ParagraphParameters.
12853 2002-03-06 Juergen Vigna <jug@sad.it>
12855 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12856 otherwise it would not be a valid lenght. Fixed a special case in
12857 the minipage compatibility read where we end the document with a
12860 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12861 was set as it could be 0 for InsetTexts first entry.
12863 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12865 * paragraph.C (writeFile): if layout is empty write out
12866 defaultLayoutName().
12868 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12869 file without named layout we set layout to defaultLayoutName().
12871 2002-03-06 Juergen Vigna <jug@sad.it>
12873 * CutAndPaste.C (copySelection): set layout for new paragraph.
12875 * text.C (prepareToPrint): leave ERT inset left aligned
12876 (leftMargin): don't indent paragraphs inside ERT insets
12878 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * paragraph.C (breakParagraph): dont call clear do the work manually
12882 * paragraph.[Ch] (clear): remove function
12884 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * paragraph.C (Paragraph): dont call clear, the work has already
12889 * lyxtextclass.C (operator): assert if n is empty
12891 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12892 work manually instead.
12894 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12896 * BufferView_pimpl.C: protect selectionLost against text == 0
12898 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12900 * text.C (breakParagraph): fix a setting layout to '0' problem.
12902 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12904 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12905 final location of file, for the included files, and graphics.
12907 2002-03-05 Juergen Vigna <jug@sad.it>
12909 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12911 2002-03-04 Juergen Vigna <jug@sad.it>
12913 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12915 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12916 last column of multicolumn cells.
12917 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12919 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12921 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12922 file if it doesn't go to a temporary file.
12924 * buffer.C (sgmlOpenTag):
12925 (sgmlCloseTag): remove extra newline insertion.
12927 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * text.C (getRowNearY): comment out debug msg
12931 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * text2.C: first -> first_y
12935 * text.C (getRowNearY): add some attemts at a possible
12936 optimization, not working.
12938 * tabular.[Ch]: add BufferParams to several function so that newly
12939 created paragraph can be initialized to he default layotu for the
12942 * tabular-old.C (ReadOld): add buf->params to call of Init
12944 * screen.C: rename text->first to text->first_y
12946 * paragraph.C (breakParagraph): always set layout in the broken
12949 * lyxtextclass.C (Read): remove lowercase
12952 (delete_layout): ditto
12954 * lyxtext.h: rename first -> first_y
12956 * lyxlayout.C (Read): remove lowercase
12959 (obsoleted_by): ditto
12961 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12963 * buffer.C (insertErtContents): add params are to InsetERT
12964 (parseSingleLyXformat2Token): add code to check if a paragraphs
12965 layout really exist.
12966 (parseSingleLyXformat2Token): add params to several inset
12968 (asciiParagraph): remove lowercase, do the layout comparisons with
12971 * BufferView_pimpl.C (cursorNext): first -> first_y
12972 (resizeCurrentBuffer): first -> first_y
12973 (updateScrollbar): first -> first_y
12974 (scrollCB): first -> first_y
12975 (workAreaMotionNotify): first -> first_y
12976 (workAreaButtonPress): first -> first_y
12977 (checkInsetHit): first -> first_y
12978 (cursorPrevious): first -> first_y
12979 (cursorNext): first -> first_y
12980 (Dispatch): add buffer_->params to severl inset contructors
12982 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * lyxlayout.C (Read): remove some debug info that I forgot.
12986 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12987 clean up the code slightly.
12988 (makeLinuxDocFile): ditto
12989 (makeDocBookFile): ditto
12991 * text2.C: layout as string
12993 * text.C: layout as string
12995 * paragraph_pimpl.C: layout as string
12997 * paragraph.[Ch]: layout as string
12999 * lyxtextclasslist.[Ch]: layout as string
13001 * lyxtextclass.[Ch]: layout as string
13003 * lyxtext.h: layout as string
13005 * lyxlayout.[Ch]: layout as string
13007 * lyx_cb.C: layout as string
13009 * bufferview_funcs.C: layout as string
13011 * bufferparams.C: layout as string
13013 * buffer.C: layout as string
13015 * LyXView.[Ch]: layout as string
13017 * LaTeXFeatures.[Ch]: layout as string
13019 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13021 * BufferView_pimpl.C: change current_layout to string, remove
13026 (workAreaButtonRelease): layout as string
13028 * BufferView2.C (unlockInset): adjust
13030 * vspace.C (asLatexCommand): use an explict temp variable.
13032 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13034 * Makefile.am: use FRONTEND_*
13036 2002-03-01 Juergen Vigna <jug@sad.it>
13038 * tabular.C (SetWidthOfMulticolCell): changed to something better
13039 I hope but still work in progress.
13040 (recalculateMulticolumnsOfColumn): renamed function from
13041 recalculateMulticolCells as it is more appropriate now.
13042 (SetWidthOfCell): calculate multicols better.
13044 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13046 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13048 * lyxfunc.C (processKeySym): print sequence also if it is
13049 `deleted' (complete)
13051 * kbsequence.C (print): print sequence even if it is deleted
13052 (complete would be a better word, actually).
13054 * lyxfunc.C (dispatch): print complete options after a prefix key
13056 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13058 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13060 * text2.C (setCharFont): eliminate setCharFont code duplication.
13062 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13064 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13065 LFUN_TABULAR_FEATURE (bug #177)
13067 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13069 * Makefile.am: remove figure.h
13071 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13073 * Bufferview_pimpl.C:
13085 * text2.C: remove #include "lyx_gui_misc.h".
13087 * LaTeX.C: added #include <cstdio>
13089 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13091 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13092 that the paragraph following this one can have.
13094 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13096 * vspace.C (asLatexCommand): fix bogus gcc warning
13098 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13100 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13102 * text2.C (setLayout): get rid of redundant code
13104 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13106 * text2.C (incDepth): make sure depth cannot be increased beyond
13109 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13111 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13112 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13114 * PainterBase.h (image):
13115 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13116 a LyXImage const *.
13118 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13122 * BufferView_pimpl.C:
13123 * BufferView_pimpl.h:
13143 * sp_spell.C: remove fig inset, and the crap house of
13144 cards that follows it
13146 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13151 * os2_errortable.h:
13152 * nt_defines.h: move .h into support/
13154 * vms_defines.h: remove
13156 * WorkArea.C: add space in debug output
13160 * buffer.C: add WITH_WARNINGS
13164 * bufferlist.C: s/retrive/retrieve/, add docs
13173 * chset.C: add docs
13175 * lyxgui.C: add ID to X error handler
13177 * lyxtestclass.c: fix typo
13179 2002-02-26 Juergen Vigna <jug@sad.it>
13181 * tabular_funcs.C (write_attribute): changed so that some default
13182 attributes are not written at all.
13183 (getTokenValue): set default values before trying to read the
13184 value so we have the return value always set as default if we don't
13185 find the token we search for.
13187 * tabular.C (Write): write bools as bools not as strings!
13189 2002-02-22 Juergen Vigna <jug@sad.it>
13191 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13192 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13194 * text.C (leftMargin): don't add an indent for paragraphs inside
13195 tabular cells (fix #208).
13197 2002-02-21 José Matos <jamatos@fep.up.pt>
13199 * tabular.C (docBook): fixed support for long tables.
13201 2002-02-20 Juergen Vigna <jug@sad.it>
13203 * text2.C (getFont): get the drawing font of the Inset if this
13204 paragraph is inside an inset (only important for InsetERT for now).
13206 * buffer.C (insertErtContents): use new lanugage params in ERT
13209 * CutAndPaste.C: commenting out seemingly uneeded code.
13211 2002-02-19 Allan Rae <rae@lyx.org>
13213 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13214 Iterators might be simple to use but they also get invalidated.
13215 (removeAutoInsets): renamed saved cursor tracking variables and added
13216 some comments to clarify what everything does.
13218 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13225 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13226 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13229 * vc-backend.h: remove #include "support/syscall.h"
13233 * converter.C: rearrange #includes in Lars' approved fashion.
13235 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13236 forward declare class Timeout in the header file.
13238 * XFormsView.C: changes due to the above.
13240 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13241 similar to LyXView.
13243 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13244 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13246 2002-02-18 José Matos <jamatos@fep.up.pt>
13248 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13251 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13253 * a lot of small ws changes
13254 * add a lot of using std::XXX
13255 * use std construcs some places where approp.
13256 * use some exisint stuff from lyxfunctional where approp.
13257 * Make file changes to use partial linking (lets test this now...)
13259 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13263 remove #include "support/syscontr.h" as it's redundant. Always has been.
13271 change Systemcalls::System to Systemcalls::Wait and
13272 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13273 No change of functionality, just reflects the stripped down Systemcalls
13276 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13278 * debug.[Ch]: add a GRAPHICS type to the enum.
13280 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13282 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13284 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13287 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13289 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13290 match the changes below.
13292 * text2.C (toggleInset): if there is not editable inset at cursor
13293 position, try to see if cursor is _inside_ a collapsable inset
13296 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13298 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13299 document menu has a nice checkbox
13301 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * lyxlength.C (asLatexString): change PW to output as percent of
13306 * lengthcommon.C: change '%' to 't%'
13308 * lyxfunc.C (dispatch): a few comments from Martin
13310 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13314 * BufferView_pimpl.h:
13315 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13318 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13320 * vspace.C (inPixels): fix compiler warning
13322 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13324 * lyxfunc.C (getStatus): fix status message for disabled commands.
13326 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13328 * BufferView_pimpl.C: fix crash on close buffer
13329 during selection (#227)
13331 2002-01-27 Herbert Voss <voss@lyx.org>
13333 * buffer.C: link old Figure to new graphic inset
13335 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13337 * FontLoader.C (getFontinfo): Change the latex font names in order
13338 to match the names of type1inst.
13340 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13342 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13344 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13345 (extchanged): ditto
13347 (remove_files_with_extension): ditto
13348 (remove_file): ditto
13351 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13352 document is smaller than the work area height. Do not initialize
13353 static variables to 0.
13355 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13357 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13359 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13360 LFUN_LAYOUT_PARAGRAPHS.
13362 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13363 tabular. It is possible to provide a possible cell, which will
13364 typically be the actcell from the corresponding insettabular
13366 * lyxfunc.C (getStatus): small cleanup; disable
13367 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13370 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13372 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13374 * paragraph.C (startTeXParParams):
13375 (endTeXParParams): new methods. The LaTeX code to
13376 start/end paragraph formatting
13377 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13378 empty (fixes bug #200)
13380 * vspace.C (inPixels): adapt to the change below
13381 (inPixels): [later] more cleanups (remove unused variables)
13383 * lyxlength.C (inPixels): change to use a width and a height as
13386 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13388 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13389 Replaced with \paperwidth
13391 * DepTable.C (insert): add std:: qualifier
13393 2002-01-18 Allan Rae <rae@lyx.org>
13395 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13398 * text.C (drawInset): Turned out I didn't know enough about how
13399 rebreaking worked. This fixes most of the redraw problems. I see
13400 an occasional cursor trail when a line is broken now and the cursor
13401 placement can seem out by a few pixels also after a rebreak.
13403 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13405 * buffer.C (parseSingleLyXformat2Token): update because minipage
13406 width is now a LyXLength
13408 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13410 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13413 2002-01-17 Juergen Vigna <jug@sad.it>
13415 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13417 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13418 is set correctly and the inset is updated correctly.
13420 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13422 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13423 the beginning of the loop.
13425 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13427 * lyxrc.C: improve help for use_scalable_fonts
13429 2002-01-17 Allan Rae <rae@lyx.org>
13431 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13433 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13435 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13436 make sure to set their inset_owner to the right value (bug #171)
13438 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13441 * DepTable.C: Implement mtime checking to reduce time spent doing
13444 2002-01-16 Juergen Vigna <jug@sad.it>
13446 * tabular.C (GetAdditionalHeight): one of error fixed.
13448 * lyxrc.C (output): small fix in writing use_pspell.
13450 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13452 * sp_base.h: #include LString.h
13454 2002-01-16 Allan Rae <rae@lyx.org>
13456 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13457 Can someone check this please?
13459 * text.C (drawInset): It was possible that p.row would be removed by
13460 breakAgainOneRow upsetting a few other settings. There may be another
13461 small tweak possible by setting need_break_row = 0 when p.row has been
13462 removed but I don't know enough about the logic here.
13464 2002-01-15 Allan Rae <rae@lyx.org>
13466 * text.C (insertChar): removed conditional truism.
13468 * BufferView2.C (removeAutoInsets): More tweaks.
13469 cur_par_prev could be a stray pointer. Check for trailing empty line
13470 in case last line was cur_par and only had an error inset on it.
13472 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13474 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13477 * vc-backend.C (most methods):
13478 * exporter.C (Export):
13479 * converter.C (convert):
13481 * LyXSendto.C (SendtoApplyCB):
13482 * lyxfunc.C (dispatch):
13486 * lyx_cb.C (AutoSave):
13488 * BufferView_pimpl.C (MenuInsertLyXFile):
13489 * buffer.C (runChktex): use Buffer::filePath().
13491 * buffer.h: rename filename to filename_; rename filepath to
13492 filepath_ and make it private
13493 (filePath): new method
13495 * buffer.C (writeFile): use fileName()
13498 * lyx_main.C (init): fix starting of LyX when the binary is a
13499 link from so,ewhere else.
13501 * minibuffer.C: include <cctype> for isprint
13503 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13505 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13506 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13507 name clash with InsetCollapsable's width function.
13509 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13511 * lastfiles.C: include <iterator>
13513 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13515 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13518 * buffer.C (makeLaTeXFile): ditto.
13519 Also make loop operation more transparent.
13521 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13523 * ToolbarDefaults.C: remove trailing comma closing namespace.
13525 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13527 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13530 * trans.C (Load): comment out unused variable, allowed.
13532 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13534 * minibuffer.[Ch] (append_char): new method to recieve input from the
13535 drop-down completion browser. If a key was pressed, then recieve this
13536 char and append it to the existing string.
13537 (peek_event): modify the positioning data passed to the completion
13538 browser so that it can be placed above the minibuffer rather than below.
13539 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13541 * LyXAction.C (init): alloe error-next for readonly documents.
13543 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13546 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13548 * bufferlist.C (readFile): create the buffer _after_ checking that
13551 * lyxfunc.C (verboseDispatch): fix handling of arguments
13553 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13555 * lyxrc.C: use string::erase() instead of initializing to "".
13558 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13560 * BufferView_pimpl.h:
13561 * BufferView_pimpl.C:
13564 * text2.C: tell X when we have made a selection for copying
13566 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13568 * BufferView_pimpl.C (MenuInsertLyXFile):
13569 * lyxfunc.C (menuNew):
13571 (doImport): add shortcuts to directory buttons
13573 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13576 * lyxfunc.C (setStatusMessage):
13577 (getStatusMessage): new methods
13578 (getStatus):use setStatusMessage instead of setErrorMessage
13579 (dispatch): when function is disabled, set error message here
13580 [instead of in getStatus previously]
13582 * BufferView_pimpl.C (workAreaButtonRelease): update
13583 toolbar/menubar here too.
13585 2002-01-13 Allan Rae <rae@lyx.org>
13587 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13588 Now seems indestructible. Remaining task is to audit all other
13589 code affected by deleteEmptyParagraphMechanism. One small quirk
13590 left is that an empty document with an error in the preamble can
13591 be made to report an error but no error box appears. I don't know
13593 (removeAutoInsets): Improved comments.
13595 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13598 * Thesaurus.C: update for Aiksaurus 0.14
13600 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * text2.C (firstParagraph): removed member function, all uses
13603 replaces with ownerParagraph
13604 (redoParagraphs): here
13605 (updateInset): here
13606 (toggleAppendix): here
13607 * BufferView2.C (insertErrors): here
13608 (setCursorFromRow): here
13610 2002-01-13 Allan Rae <rae@lyx.org>
13612 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13613 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13614 There is still a way to segfault this although you may have to do this
13615 multiple times: Have an InsetERT with an unknown command in it.
13616 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13617 <down-arrow>, <Enter> again, View->DVI, BANG!
13619 * text2.C (setCursor):
13620 (deleteEmptyParagraphMechanism):
13621 * lyxtext.h (setCursor):
13622 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13623 Making use of the return value may help fix other bugs.
13625 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13627 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13629 * LyXView.C (updateMenubar): call MenuBar::update here
13630 (updateToolbar): but not here
13631 (showState): do not update toolbar/menubar
13633 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13634 should need to care about that.
13636 * lyxfunc.C (verboseDispatch): simplify a bit
13637 (getStatus): have a version which takes a pseudoaction, and
13638 another which requires a (kb_action,string).
13640 * LyXAction.C (retrieveActionArg): make it work also when action
13641 is not a pseudo-action.
13642 (getActionName): simplify a bit
13645 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13647 * lyxfunc.C (verboseDispatch): new families of methods with
13648 several ways to specify a command and a bool to indicate whether
13649 the command name and shortcut should be displayed in minibuffer
13650 (eventually, we could extend that to a finer bitmask like
13651 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13652 (dispatch): the pristine dispatch command which just, well,
13653 dispatchs! Note it still sets its result to minibuffer; I'm not
13656 * lyxfunc.h: remove setHintMessage
13658 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13660 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13662 * BufferView_pimpl.C (specialChar): delete new inset if we have
13663 not been able to insert it.
13665 * kbmap.C: revert to using int instead of kb_action, since all we
13666 are dealing with is pseudo-actions.
13668 * LyXAction.C (searchActionArg): change to return int instead of
13669 kb_action, since the result is a pseudoaction.
13671 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13673 * buffer.C (insertErtContents): Fix (partially) the font bug.
13675 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13677 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13678 as the other one is broken on my machine!
13680 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13683 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13685 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13687 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13688 reflect their actual use. Provide compatibility code for older lyxrc
13691 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13693 change names of popup font variables in line with the changes to lyxrc.C
13695 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13697 * buffer.C (asciiParagraph): avoid outputing a word twice after
13700 * lyxrc.C (getDescription): document that document_path and
13701 template_path can be empty.
13703 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13705 * LaTeXFeatures.C (getMacros):
13706 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13708 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13710 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13712 (getPackages): rename feature "floats" to "float". Use an array to
13713 iterate over 'simple' features (i.e. just a \usepackage). Add
13714 handling of "amsmath" (renamed from "amsstyle").
13716 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13718 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13721 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13723 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13724 FuncStaus::FuncStatus & FuncStaus::some_method().
13726 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13728 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13729 of the func_satus stuff. Edited and massaged in various ways by
13732 * lyxfunc.C (getStatus): use FuncStatus
13734 2002-01-08 Juergen Vigna <jug@sad.it>
13736 * text.C (nextBreakPoint): use function Inset::isChar().
13738 * paragraph.C (TeXOnePar): use function
13739 Inset::forceDefaultParagraphs.
13741 * buffer.C (latexParagraphs): use function
13742 Inset::forceDefaultParagraphs.
13744 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13746 * lyx_gui.C (init): set the style of the menu popups to
13747 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13749 2002-01-07 Juergen Vigna <jug@sad.it>
13751 * text.C (setHeightOfRow): small fix
13752 (prepareToPrint): don't look at alignment if we don't have the place
13755 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13757 * box.C: New file. Move the Box methods and functions out of box.h,
13758 following Lars' suggestion.
13760 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13762 * box.h: #include "support/LOstream.h", needed for inlined function.
13765 * lyxtextclasslist.C: added some using std declarations.
13767 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13769 * box.h: make signed dimensions to allow insets wider than
13770 the screen (bug #162)
13772 * BufferView_pimpl.C: add some insetHit debug
13774 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13776 * vc-backend.C: add FIXME
13778 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13780 * lyxfunc.C (getStatus): enable code for showing math font status
13783 2002-01-07 Juergen Vigna <jug@sad.it>
13785 * text.C (nextBreakPoint): removed debug output not needed anymore.
13787 2002-01-06 Juergen Vigna <jug@sad.it>
13789 * text.C (nextBreakPoint): fixed up this function we had this bug
13790 since ever but now hopefully we break row better.
13791 (insertChar): we have to check if an inset is the next char as it
13792 could now happen that a large inset is causing a break.
13794 2002-01-05 Juergen Vigna <jug@sad.it>
13796 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13797 if it doesn't like to be drawed.
13799 2002-01-04 Juergen Vigna <jug@sad.it>
13801 * BufferView2.C (lockInset): forgot to set a cursor.
13803 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13805 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13807 * FormMathsPanel.C:
13810 * form_maths_panel.C:
13811 * form_maths_panel.h:
13812 * form_maths_panel.fd: implemented sub- and super- buttons in math
13815 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13816 (or ^ space) to be used as in TeX (req'd by André).
13818 * lyxfunc.C: Allow ^ and _ again to be used both as
13819 super/subscript (mathed) and as themselves (in text).
13821 2002-01-03 Allan Rae <rae@lyx.org>
13823 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13824 "LyX" or the filename of the current buffer if it has one. This is a
13825 modified form of John Levon's patch.
13827 * XFormsView.C (setWindowTitle): also set icon title.
13829 * LyXView.h (setWindowTitle): signature changed.
13830 * XFormsView.h (setWindowTitle): ditto.
13832 2002-01-02 Juergen Vigna <jug@sad.it>
13834 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13836 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * screen.C (topCursorVisible): introduce a temp var for
13839 text->cursor.row(), handle the case where this row is null. (kindo
13842 * text2.C (setCursor): add a couple of asserts.
13844 * paragraph.h (inset_iterator): add -> operator
13846 * paragraph.[Ch] (autoDeleteInsets): remove member function
13848 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13849 cursor pos correctly and handle inset deletion by itself.
13850 (insertErrors): move iterator declaration out of for expression
13852 * lyxtextclass.C: add <algorithm>
13854 * Makefile.am: added the new files to sources, removed layout.C
13856 * layout.C: removed file
13858 * layout.h: remove LYX_DUMMY_LAYOUT
13860 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13864 * lyxtextclass.[Ch]:
13865 * lyxtextclasslist.[Ch]: new files
13867 * include order changes to a lot of files, also changes because of
13870 2001-12-27 Juergen Vigna <jug@sad.it>
13872 * buffer.C (asciiParagraph): more fixes.
13874 * tabular.C (ascii): make ascii export support export of only the
13875 data separated by a column-delimiter.
13876 (ascii): better support for ascii export.
13878 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13880 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * tabular_funcs.C: use a "using std::getline" instead of the
13883 previous fix from Angus (necessary for cxx + lyxstring)
13885 2001-12-24 Juergen Vigna <jug@sad.it>
13887 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13889 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13890 problems. First check a minipage also if we have some ert-contents
13891 (not only on par->size(), second set the right depth of the paragraph
13892 on the relink to the root-paragraph-list!
13894 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13895 which then did not anymore update the main paragraphs on undo/redo!
13897 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13899 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13900 code. Support all font-changing funcs (even those which are not in
13901 menu currently). Support for reporting font settings in
13902 mathed (disabled until Andre provides a function on mathed's side).
13904 * func_status.h (toggle): small helper function to set toggle
13907 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13909 * tabular_funcs.C: getline -> std::getline
13911 2001-12-21 Juergen Vigna <jug@sad.it>
13913 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13914 accessed and could be 0 (I couldn't generate this but it seems
13917 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13920 * tabular_funcs.h: here and include iosfwd
13922 2001-12-20 Juergen Vigna <jug@sad.it>
13924 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13925 inside inset but undo_par was.
13927 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13929 * Thesaurus.C: always include <config.h> in sources.
13933 * box.h: do not include <config.h> in header files
13935 * text.C (paintLastRow): remove unused variable
13937 * text.C (transformChar):
13939 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13941 * Painter.C (text):
13942 * font.C (width): rewrite to use uppercase() instead of
13945 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13947 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13949 * lyxfind.C: clean up of find failure position change
13951 2001-12-20 Juergen Vigna <jug@sad.it>
13953 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13955 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13956 (TeXRow): added to LaTeX a single tabular row.
13957 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13958 (Latex): simplified and finally good LT-h/f support.
13959 (various_functions): just small adaptions for LT-h/f support.
13961 * tabular_funcs.[hC]: added and moved here all not classfunctions
13964 2001-12-19 Juergen Vigna <jug@sad.it>
13966 * tabular.[Ch]: better support for longtabular options (not finished
13969 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13971 * text.C (paintLastRow): use the label font instead of the font of
13972 the last character to compute the size of *_BOX. This makes more
13973 sense and avoids a crash with empty paragraphs.
13974 Use Painter::rectangle to draw EMPTY_BOX.
13976 2001-12-19 Juergen Vigna <jug@sad.it>
13978 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13979 the paragraphs if the replaced paragraph is not the first one!
13980 Tried to delete not used paragraphs but does not work yet so for
13981 now it's inside #ifdef's and by default off!
13983 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13985 * MenuBackend.C: include "lyx_main.h" instead of declaring
13986 lastfiles (actually was declared as LastFiles* instead of a
13989 2001-12-17 Juergen Vigna <jug@sad.it>
13991 * tabular.C (AppendColumn): applied John's fix
13993 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13997 * BufferView_pimpl.h:
13998 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14001 * box.h: new start of class for above
14003 * lyxfunc.C: ignore space-only minibuffer dispatches.
14004 Show the command name when it doesn't exist
14006 * minibuffer.C: don't add empty lines to the history
14008 * minibuffer.C: add a space on dropdown completion
14010 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14012 * text.C: fix line above/below drawing in insets
14014 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * lyxlength.C (LyXLength): Initialize private variables.
14018 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14020 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14021 when inserting error insets.
14023 2001-12-13 Juergen Vigna <jug@sad.it>
14025 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14026 actually sometimes the before-paragraph.
14027 (setUndo): don't clear the redostack if we're not actually undoing!
14029 2001-12-06 Juergen Vigna <jug@sad.it>
14031 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14032 and fixed redoing of main paragraph, so we can use it now ;)
14034 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14036 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14038 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14041 2001-12-13 André Pönitz <poenitz@gmx.net>
14044 * undo_func.C: minor cleanup
14046 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14048 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14049 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14050 font in urw-fonts package which is marked as -urw-fontspecific and
14051 does not work (incidentally, changing the encoding in the
14052 fonts.dir of this package to -adobe-fontspecific fixes the
14055 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14056 is a crash when undoing first paragraph (Juergen, please take a
14057 look). THis does not mean the undo fix is wrong, just that it
14060 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14061 the (Paragraph*) version when needed instead of duplicating the
14064 * text.C (workWidth): use Inset::parOwner to find out where the
14065 inset has been inserted. This is a huge performance gain for large
14066 documents with lots of insets. If Inset::parOwner is not set, fall
14067 back on the brute force method
14069 * paragraph_pimpl.C (insertInset):
14070 * paragraph.C (Paragraph):
14071 (cutIntoMinibuffer): set parOwner of insets when
14072 inserting/removing them
14074 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14076 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14082 * mathed/formulabase.C:
14083 * mathed/math_cursor.[Ch]:
14084 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14087 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14089 * lyxlength.[Ch] (operator!=): new function
14091 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14093 * text.C (workWidth): use Inset::parOwner to find out where the
14094 inset has been inserted. This is a huge performance gain for large
14095 documents with lots of insets. If Inset::parOwner is not set, fall
14096 back on the brute force method
14098 * paragraph_pimpl.C (insertInset):
14099 * paragraph.C (Paragraph):
14100 (cutIntoMinibuffer): set parOwner of insets when
14101 inserting/removing them
14103 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14105 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14107 * tabular-old.C (getTokenValue):
14108 * tabular.C (getTokenValue):
14109 (write_attribute): new versions for LyXLength
14110 (everywhere): adjust the use of widths
14112 * tabular.h: change the type of widths from string to LyXLength
14114 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14116 * paragraph.C: fixed missing line number count when exporting
14117 Environments to LaTeX file
14119 * buffer.C: added informational message for checking line numbers.
14121 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14123 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14124 paragraph, do the 'double space' part, but not the 'empty
14127 * text.C (workWidth): small optimization
14128 (getLengthMarkerHeight): use minimal size for negative lengths.
14130 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14132 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14134 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14136 2001-12-11 André Pönitz <poenitz@gmx.net>
14139 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14141 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14143 * text2.C: keep selection on a setFont()
14145 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14147 * lyx_cb.C: another bv->text misuse, from insert label
14149 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14152 * kbsequence.C: re-instate nmodifier mask
14154 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14156 * lyx_main.h: make lyxGUI private.
14158 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14160 * lyxfind.C: place the cursor correctly on failed search
14162 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14164 * text.C (getLengthMarkerHeight): for small heights, the arrows
14165 are not always on top/bottom of the text
14166 (drawLengthMarker): smaller arrows; take the left margin in
14167 account; draw also vfills.
14169 (paintLastRow): remove special code for vfill and standard spaces,
14170 since everything is handled in drawLengthMarker now.
14172 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14174 * buffer.C (insertErtContents): try to handle font and language
14175 interaction a bit better.g
14177 * ColorHandler.C (updateColor): change the hash to cover the whole
14178 LColor enum, ws cleanup
14179 (getGCLinepars): ditto
14180 (getGCLinepars): only lookup in the linecache once.
14182 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14184 * iterators.C (operator++): Make the iterator more robust
14186 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14188 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14190 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14193 * text.C: better added space drawing
14195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14198 * BufferView2.C: fix layout combo update on inset unlock
14200 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14202 * Makefile.am: don't compile unused files
14204 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14208 * LyXAction.C: remove old LFUN_LAYOUTNO
14210 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14212 * paragraph_pimpl.h:
14213 * paragraph_pimpl.C: isTextAt() doesn't need font param
14215 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14218 * lyxlex.C: little cleanup
14220 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14222 * BufferView_pimpl.C: fix insertAscii for insets
14224 2001-12-05 Juergen Vigna <jug@sad.it>
14226 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14227 set the right font on the "multi" paragraph paste!
14229 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14235 * lyxlength.C: remove out-commented code.
14237 * BufferView_pimpl:
14251 * vc-backend.C: change "while(" to "while ("
14253 * lyxlength.[Ch]: add zero function to check if length is zero or
14255 * lyxgluelength.C: use it
14257 2001-12-05 Allan Rae <rae@lyx.org>
14259 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14260 Works for 2.95.3, from what I understand of Garst's reports this should
14261 work for other g++ versions. We're screwed if the abs(int) definition
14262 changed between bugfix releases of gcc.
14264 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14266 * text.C: fix chapter label offset !
14268 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14271 * text.C: fix hfill at end of line, clean up
14273 2001-12-04 Juergen Vigna <jug@sad.it>
14275 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14276 that we force an update of the inset and it's owners if neccessary.
14278 2001-12-03 Juergen Vigna <jug@sad.it>
14280 * text.C (rowLast): simplified code
14282 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14284 * lyxfunc.C: fix show options on timeout
14286 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14288 * screen.C (topCursorVisible): scroll half a page when the cursor
14289 reached top of bottom of screen
14291 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14293 * minibuffer.C: deactivate on loss of focus
14295 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14297 * vspace.[Ch] (operator!=): add operator.
14299 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14301 * BufferView_pimpl.C: refuse to open an inset when
14302 there's a selection.
14304 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14306 * BufferView_pimpl.C: allow to click on RHS of full row insets
14308 2001-11-30 Juergen Vigna <jug@sad.it>
14310 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14311 insets for undo reasons.
14313 2001-11-28 André Pönitz <poenitz@gmx.net>
14315 * vspace.[Ch]: cosmetical changes
14317 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14327 * kbsequence.C: part re-write of old kb code
14330 * WorkArea.C: remove Lgb_bug_find_hack
14332 2001-11-30 José Matos <jamatos@fep.up.pt>
14334 * buffer.C (makeDocBookFile): add a comment to point a hack.
14335 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14336 Fixed a double write of labels.
14338 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14341 * LaTeX.h Fixed bug in LaTeX class where it would not
14342 re-run latex if no depfiles were changed, but the .dvi was removed.
14344 2001-11-28 André Pönitz <poenitz@gmx.net>
14346 * all the files from the change on 2001/11/26:
14347 use lyx::layout_type instead of LyXTextClass::size_type
14348 use lyx::textclass_type instead of LyXTextClassList::size_type
14350 2001-11-29 Juergen Vigna <jug@sad.it>
14352 * text.C: added support for paragraph::isFreeSpacing()
14354 * buffer.C: same as above
14356 * paragraph.h: inserted isFreeSpacing() function to enable
14357 FreeSpacing inside InsetERT.
14359 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14360 of the paragraph's in the cut/copy buffer to 0!
14362 * text2.C (removeRow): remove the assert as it can!
14364 * lyxtext.h: added helper function firstRow returning firstrow and
14365 made firstrow private again.
14367 * BufferView2.C (lockInset): don't relock if we're already locked!
14369 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14370 the only paragraph.
14371 (removeRow): added Assert::(firstrow)
14373 * debug.C: forgot to add INSETTEXT here.
14375 2001-11-28 Juergen Vigna <jug@sad.it>
14377 * sp_spell.C (initialize): changed error text to more general
14378 spellchecker command use (not only ispell!)
14380 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14382 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14384 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14386 * vspace.C: initialise lyxgluelength on failure
14388 2001-11-28 Allan Rae <rae@lyx.org>
14390 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14391 declaration & definition that looks like a function declaration.
14393 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14395 * BufferView2.C (copy):
14396 (copyEnvironment): do not clear the selection when doing a copy.
14398 * text.C (paintFirstRow): compilation fix
14400 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14402 * tabular.C (Latex): correct line count when writing latex.
14404 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14406 * paragraph_pimpl.h:
14407 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14410 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14414 * LColor.C: change vfillline->added_space
14416 * text.C: add markers and text for added space
14418 * vspace.C: fix comment
14420 2001-11-28 André Pönitz <poenitz@gmx.net>
14422 * paragraph.C: whitespace changes
14423 * all the other files from the change on 2001/11/26:
14424 change *::pos_type into lyx::pos_type
14426 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14428 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14429 language of the document when inserting error insets.
14431 2001-11-26 André Pönitz <poenitz@gmx.net>
14433 * BufferView_pimpl.[Ch]:
14441 * paragraph_pimpl.[Ch]:
14444 * text2.C: reduce header dependencies, introduce type for positions
14446 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14448 * <various>: change to use Alert.h
14450 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14452 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14453 when encountering an unknown token.
14454 (readLyXformat2): Show an error message if there were unknown tokens.
14456 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14459 * BufferView_pimpl.C:
14463 * text2.C: use par->isInset()
14465 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14467 * paragraph_pimpl.h:
14468 * paragraph_pimpl.C: cleanup
14470 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14472 * text2.C (removeRow):
14473 * text.C (setHeightOfRow): remove useless (and costly) call to
14476 2001-11-20 Allan Rae <rae@lyx.org>
14478 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14479 Now need Inset*::checkInsertChar() to return true for appropriate
14480 cases so that the characters in the minibuffer will actually be
14483 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14485 * text.C: change the order of the includes.
14486 (workWidth): initialize it at once.
14487 (workWidth): make maxw unsigned
14488 (setHeightOfRow): remove unused variable (inset)
14489 (selectSelectedWord): remove unused variable (inset)
14490 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14492 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14494 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14495 server is not running.
14497 (closeConnection): add debug info when server is disabled.
14499 * ColorHandler.C (getGCForeground): send debug message to GUI
14502 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14504 * kbmap.C (bind): modify because return conventions of
14505 kb_sequence::parse have changed.
14507 * kbsequence.C (parse): only ignore spaces and not any stupid
14508 control character. This avoids tests like s[i] <= ' ', which are
14509 guaranteed to fail with 8bit characters and signed chars.
14510 Change return code to string::npos when there have been no error
14511 (0 was a bad idea when error is at first character)
14513 2001-11-14 José Matos <jamatos@fep.up.pt>
14516 * buffer.C (simpleDocBookOnePar): removed unused argument.
14518 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14520 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14521 insets which are part of a word. Paragraph::isLetter takes care of
14522 that now. Use Paragraph::isInset to identify insets.
14523 (selectSelectedWord): do not test for hyphenation break.
14525 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14526 that protected spaces are considered as spaces.
14528 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14531 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14534 * lyxserver.C: fix it. and small cleanup.
14536 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14538 * BufferView_pimpl.C: use inline helpers
14541 * LaTeXFeatures.C: fix typos
14544 * Spacing.C: move spacing_string into class
14546 * ToolbarDefaults.C: move stuff into namespace anon
14548 * layout.h: update enum
14550 * lyxfunc.C: use better debug
14552 * minibuffer.h: fix typo
14556 * WorkArea.C: add and use Debug::WORKAREA
14560 * text2.C: code re-organisation, inline helpers
14562 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14564 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14565 std::vector.empty().
14567 2001-11-09 Allan Rae <rae@lyx.org>
14569 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14570 '\n's after tables. Tabular and ERT inset work now makes this no
14573 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14576 * minibuffer.C: fix crash, improve drop-down completion
14578 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14581 * lyxserver.C: invalidate fd's when doing endPipe()
14583 2001-11-08 José Matos <jamatos@fep.up.pt>
14585 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14586 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14589 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14591 2001-11-07 José Matos <jamatos@fep.up.pt>
14594 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14597 * buffer.C (sgmlOpenTag):
14598 * buffer.C (sgmlCloseTag): removed debug info.
14600 * buffer.h (sgmlOpenTag):
14601 * buffer.h (sgmlCloseTag): made public.
14603 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * buffer.C (saveParamsAsDefaults):
14606 * lyx_cb.C (MenuLayoutSave): remove
14608 * LyXAction.C (init):
14610 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14612 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14614 * buffer.C (setPaperStuff): removed from here...
14616 * bufferparams.C (setPaperStuff): ... and moved there.
14618 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14622 * XFormsView.C: add support for drop-down completion
14624 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14626 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14629 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14631 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14634 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14636 * lyx_main.C: change ref to known bugs
14638 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14640 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14641 to work around older babel problems.
14643 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14645 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14647 2001-10-24 Juergen Vigna <jug@sad.it>
14649 * tabular-old.C (ReadOld): below variable changes reflected.
14651 * tabular.[Ch]: added ltType struct for longtable header/footer
14652 defines and changed all instances where they are used. Added
14653 future support for double top/bottom rows.
14655 2001-10-24 José Matos <jamatos@fep.up.pt>
14657 * buffer.h (docbookHandleCaption):
14658 * buffer.C (docbookHandleCaption): removed unused function.
14659 (makeDocBookFile): moved docbook supported version to v4.1.
14661 2001-10-24 José Matos <jamatos@fep.up.pt>
14664 * tabular.C (docbookRow): new function to export docbook code of a row.
14665 (DocBook): now honors the longtable flags.
14667 2001-10-23 José Matos <jamatos@fep.up.pt>
14670 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14671 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14673 * buffer.C (makeLinuxDocFile):
14674 (makeDocBookFile): reworked the preamble, more clean, and with
14675 support for lyx defined entities. Changed the document declaration
14676 to be more XML friendly.
14678 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14679 if we need to output XML that should be done with a filter.
14681 2001-10-22 Juergen Vigna <jug@sad.it>
14683 * sp_pspell.h (class PSpell): add alive function needed in the
14684 controller to see if the spellchecker could be started.
14686 2001-10-22 Juergen Vigna <jug@sad.it>
14688 * buffer.C (insertStringAsLines): modify the font for inserting
14689 chars in certain conditions by calling checkInsertChar(font).
14691 2001-10-19 Juergen Vigna <jug@sad.it>
14693 * text.C (workWidth): use getRow instead of wrong algorithm.
14694 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14696 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14701 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14703 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14705 * text.C (workWidth): do not search for the exact row when
14706 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14707 optimization for big documents.
14709 2001-10-18 Juergen Vigna <jug@sad.it>
14711 * text.C (workWidth): new function with added Inset * parameter.
14713 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14715 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14717 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14718 change return type of getColumnNearX.
14721 * text.C (changeRegionCase): use uppercase/lowercase instead of
14724 (rightMargin): simplify code by factoring out the uses of
14729 (appendParagraph): use Paragraph::size_type
14731 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14733 * vspace.C (asLatexString): add a missing break
14735 2001-10-15 Herbert Voss <voss@perce.de>
14737 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14739 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14741 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14744 2001-10-10 André Pönitz <poenitz@gmx.net>
14746 * lyxfunc.C: removed greek_kb_flag.
14748 2001-10-10 Herbert Voss <voss@perce.de>
14750 * lyx_main.C: delete global string help_lyxdir.
14752 2001-10-09 Herbert Voss <voss@perce.de>
14754 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14756 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14758 * lyx_main.C: added global string help_lyxdir.
14760 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14762 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14764 * lyxrc.C (set_font_norm_type): support iso8859-4
14766 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14768 * LaTeX.C (deplog): add another regex for MikTeX
14770 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14772 * lyxrc.C (set_font_norm_type): support iso8859-3
14774 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14778 * LaTeXFeatures.C: remove special case of french and index
14780 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14781 before \begin{document}). This solves several incompatibilities.
14783 2001-10-03 Garst Reese <reese@isn.net>
14785 * lyx_cb.C: change CheckTex error msg.
14787 2001-10-03 José Matos <jamatos@fep.up.pt>
14789 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14791 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14793 * .cvsignore: update
14795 * lyx_main.C (commandLineVersionInfo): use new style version info.
14797 * buffer.C (writeFile):
14799 (makeLinuxDocFile):
14800 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14802 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14804 * version.h: update to use stuff in version.C
14806 * version.C.in: new file. Contains version information determined
14807 at compile time. This is a merging of version.h and
14810 2001-10-03 Juergen Vigna <jug@sad.it>
14812 * BufferView_pimpl.C (update): don't change "dirty" status in
14815 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14817 * WorkArea.C (c-tor): re-position version string slightly.
14819 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14821 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14822 revert to previous code.
14824 WorkArea.[Ch]: (show, destroySplash): methods removed.
14826 WorkArea.C: rework code so that it's an amalgam of the codes before and
14827 after the splash screen was moved to WorkArea.
14829 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14832 * vspace.C (inPixels):
14835 * buffer.C (insertStringAsLines):
14836 (asciiParagraph): fix types to be large enough
14838 * lyxlex_pimpl.h: change member status from short to int
14840 * layout.h: fix type of endlabeltype
14843 * kbsequence.C (parse): change return type to string::size_type
14845 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14848 * Bullet.C (bulletSize):
14849 (bulletEntry): do not use short ints as parameters
14851 * BufferView2.C (insertLyXFile): change a char to an int.
14853 * WorkArea.C (WorkArea): remove unneeded floats in computation
14855 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14857 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14859 * paragraph.C (asString): Do not ignore newline/hfill chars when
14860 copying to the clipboard.
14862 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14864 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14865 after a multi-line inset.
14867 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14869 * paragraph.C (validate): Set NeedLyXFootnoteCode
14871 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14873 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14874 and decrease-error to decrease.
14876 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14879 it more readable (should be equivalent)
14881 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14883 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14885 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14887 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14888 of a cursor (row, etc.) after a character has been deleted
14889 (deleteEmptyParagraphMechanism): call the method above on _all_
14890 cursors held by the LyXText when a double space has been
14893 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14895 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14897 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14899 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14900 background. Use greyOut() and the new show() methods to toggle between
14901 the foreground and background. Add code to remove the splash after
14902 its initial showing.
14904 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14905 (create_forms): no longer call Dialogs::showSplash.
14907 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * .cvsignore: add version_info.h
14911 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * version_info.h.in: new file
14915 * Makefile.am: add version_info.h.in
14917 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14918 version_info.h instead of VERSION_INFO
14920 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14922 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14923 The ERT inset now returns string().
14925 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14927 * lyxtext.h, text.C (selectNextWord): renamed as
14928 selectNextWordToSpellcheck.
14930 * text.C (selectNextWordToSpellcheck): Modified to not select
14931 words inside an ERT inset.
14933 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14935 * lyx_cb.C (MenuLayoutSave): change a bit the question
14937 * sp_base.h: include <sys/types.h>
14939 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14941 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14943 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14945 * several files: fix typos in user-visible strings
14947 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14949 * text2.C (pasteSelection): do not set the selection, since it
14950 will be cleared later. Actually, the intent was to fix the way the
14951 selection was set, but I figured rmoving the code was just as good.
14953 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14955 * FontLoader.C (available): Check if font is available without
14958 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14960 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14962 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14964 * lyxrc.[Ch]: added display_graphics variable and associated code.
14966 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14968 * bufferparams.C (hasClassDefaults): new method. Returns true if
14969 the buffer parameters correspond to known class defaults
14971 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14973 * XFormsView.C (show): set minimum size to the main window.
14975 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14977 * text2.C (copySelection):
14979 * lyxfind.C (LyXReplace):
14980 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14981 LyXText::selectionAsString.
14983 * paragraph.C (asString): add "label" argument to the second form
14985 * text2.C (selectionAsString): add "label" argument and pass it to
14986 Paragraph::asString.
14988 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * lyx_main.C (commandLineHelp): remove version information
14992 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14994 * lyx_main.C: add -version commandline option
14996 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14998 * paragraph.h: make the optional constructor arg required instead.
14999 some modifications to other files because of this.
15001 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15003 * lyxserver.C (C_LyXComm_callback): make it static
15005 * lyx_main.C (error_handler): make it static
15007 * lyx_gui.C (LyX_XErrHandler): make it static
15009 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15011 * WorkArea.C: make the extern "C" methods static.
15013 * Makefile.am (lyx_LDADD): simplify
15015 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15017 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15018 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15020 * LyXAction.C (init):
15021 * lyxfunc.C (dispatch): associated code removal.
15023 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * lyxfont.h (isSymbolFont): shut off warning
15027 * text.C (setHeightOfRow):
15028 (getVisibleRow): fix crash with empty paragraphs which have a
15031 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15033 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15036 2001-09-04 José Matos <jamatos@fep.up.pt>
15039 * tabular.C (docbook): rename docBook method to docbook.
15041 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15043 * Makefile.am: add dependencies to main.o.
15045 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15047 * FontLoader.C (available): Return false if !lyxrc.use_gui
15049 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15051 * FontInfo.C (query):
15052 * converter.C (view):
15053 * importer.C (Import):
15054 * exporter.C (Export): Can not -> cannot.
15056 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15058 * BufferView_pimpl.C: allow to create index inset even if
15061 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15063 * buffer.C (getLists): replace boost::tie code with an explicit pair
15064 as boost::tie can break some compilers.
15066 * iterators.h: Added a std:: declaration to the return type of
15069 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15071 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15074 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15076 * iterators.[Ch]: New files. Provide paragraph iterators.
15078 * buffer.C (changeLanguage): Use paragraph iterators.
15079 (isMultiLingual): ditto
15081 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15083 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15085 * FontLoader.C: Support for cmr font.
15087 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15089 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15090 (available): New method.
15092 * FontInfo.C (getFontname): Use scalable fonts even when
15093 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15096 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15098 * converter.C (Formats::view): reverted! Incorrect fix.
15100 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15102 * converter.C (Formats::view): only output the -paper option
15103 if the dvi viewer is xdvi, thereby fixing bug #233429.
15105 2001-08-23 Herbert Voss <voss@perce>
15107 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15109 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15111 * Spacing.h (Spacing): Set space to Default on in the default
15114 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15116 * vc-backend.h (RCS::versionString): add RCS to version
15117 (CVS::versionString): add CVS to version
15119 * vc-backend.C (scanMaster): do not add CVS to version.
15120 (scanMaster): do not add RCS to version
15122 * lyxvc.C (versionString): new method
15124 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15126 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * Spacing.C (set): initialize fval
15130 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15132 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15135 2001-08-16 Juergen Vigna <jug@sad.it>
15137 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15139 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15141 * BufferView_pimpl.C:
15144 * text2.C: setParagraph takes linespacing now
15146 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15148 * LyxAction.C: add internal LFUN_CITATION_INSERT
15150 * LyXView.C: actually apply fix
15152 * bufferlist.C: fix open non-existent file
15154 * lyxfind.C: fix indentation
15156 * lyxfunc.C: remove unneeded assert, fix typo
15158 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15160 * MenuBackend.C: use "Floatname List"
15162 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15164 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15165 when converting LaTeX layout to insetERT.
15166 Generate a non-collapsed float when reading old float
15168 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15170 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15173 2001-08-13 Juergen Vigna <jug@sad.it>
15175 * text.C (fill): return 0 instead of 20 as this seems to be the more
15178 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15180 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15183 2001-08-13 Juergen Vigna <jug@sad.it>
15185 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15187 (SearchBackward): comment out the unlocking of the inset_owner this
15188 should not be needed!
15190 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15192 * Many files: Remove inherit_language, and add latex_language
15194 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15195 collapsible insets.
15197 2001-08-10 Juergen Vigna <jug@sad.it>
15199 * text.C (prepareToPrint): fixed hfill-width in draw!
15201 * BufferView2.C (selectLastWord): save the selection cursor as this
15202 now is cleared in the function LyXText::clearSelection!
15204 2001-08-08 Juergen Vigna <jug@sad.it>
15206 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15207 BACKSPACE type functions.
15209 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15210 is only cutted from the document but not put in the cut-buffer, where
15211 still the old stuff should be.
15213 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15215 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15217 * tabular.C (SetWidthOfCell): fixed special case where the width
15219 (LeftLine): handle '|' in align_special.
15221 (LeftAlreadyDrawed): ditto
15222 (SetWidthOfCell): ditto
15224 2001-08-07 Juergen Vigna <jug@sad.it>
15226 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15228 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15230 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15231 * lyxlex.[hC]: ditto
15233 2001-08-06 Juergen Vigna <jug@sad.it>
15235 * text.C (getVisibleRow): fix up row clearing a bit.
15237 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15239 * minibuffer.C: make sure the X server sees the changes in the input.
15241 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15243 * paragraph.C (getFont): split into...
15244 (getLabelFont): this
15245 (getLayoutFont): and this
15246 * paragraph_pimpl.C (realizeFont): calling this
15248 * text2.C (getFont): split into...
15249 (getLayoutFont): this
15250 (getLabelFont): and this
15251 (realizeFont): all three calling this
15253 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15256 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15258 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15260 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15262 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15263 layouts from the Quote inset insertion.
15265 2001-08-03 Juergen Vigna <jug@sad.it>
15267 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15269 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15270 only if status not is already CHANGED_IN_DRAW (second level).
15272 * text.C (draw): don't set the need_break_row when inside an
15275 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * buffer.C (parseSingleLyXformat2Token): handle more latex
15280 * bufferview_funcs.[hC]: change function names to
15281 begin with small char, adjust other files.
15283 2001-08-02 André Pönitz <poenitz@gmx.net>
15286 BufferView_pimpl.C: remove broken special code for math-greek
15288 2001-08-02 Juergen Vigna <jug@sad.it>
15290 * BufferView_pimpl.C (update): redone this function so that we
15291 update the text again if there was a CHANGE_IN_DRAW.
15293 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15294 (drawFromTo): added a new internal bool which is used by draw() and
15296 (general): some cursor drawing problems fixed.
15298 2001-08-01 Juergen Vigna <jug@sad.it>
15300 * lyxfind.C (LyXFind): fixed
15301 (SearchForward): ditto
15302 (SearchBackward): ditto
15304 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15305 spurius drawing of the cursor in the main area.
15307 * text2.C (status): small fix which could lead to a segfault!
15308 (clearSelection): remove unneeded BufferView param.
15310 2001-08-01 André Pönitz <poenitz@gmx.net>
15312 * lyxfunc.C: small change due to changed mathed interface
15314 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15316 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15318 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15320 * lyxfunc.c: fail gracefully if file doesn't exist
15325 * BufferView_pimpl.C: IsDirWriteable() proto changed
15327 * LyXView.C: fix updateWindowTitle() to store the last title
15329 2001-07-31 Juergen Vigna <jug@sad.it>
15331 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15332 the font (wrong since using of Paragraph::highestFontInRange).
15334 * paragraph.C (highestFontInRange): added a default_size parameter.
15336 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15337 (setHeightOfRow): reformat
15339 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15341 * converter.[hC] + affected files: move to (inital-char)lowercase
15344 * ParagraphParameters.C (ParagraphParameters): remove commented code
15346 * PainterBase.[Ch]: remove commented code
15348 * LaTeXFeatures.h: add "bool floats" for float.sty
15350 * LaTeXFeatures.C (LaTeXFeatures): init floats
15351 (require): handle float
15352 (getPackages): do it with floats
15354 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15356 * BufferView_pimpl.C (Dispatch): improve handling of
15357 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15359 * commandtags.h: #include lyxfont.h here temporarily to avoid
15362 * bufferlist.h: include LString.h here.
15364 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15366 * text2.C (getStringToIndex): new method.
15368 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15370 * *: Reduced header file dependencies all over.
15372 2001-07-30 Baruch Even <baruch@lyx.org>
15374 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15376 2001-07-29 Baruch Even <baruch@lyx.org>
15378 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15380 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15382 * ParameterStruct.h (endif): add a default constructor to make
15383 sure that all variables is initialized.
15385 * ParagraphParameters.C (ParagraphParameters): adjust
15387 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15389 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15390 index; also, check that there is something to index, and that it
15391 does not span over several paragraphs.
15392 (doubleClick): use WHOLE_WORD_STRICT for double click.
15394 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15396 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15399 2001-07-26 Baruch Even <baruch@lyx.org>
15401 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15402 an InsetFig figure, backwards compatible reading of old figure code.
15404 2001-07-27 Juergen Vigna <jug@sad.it>
15406 * text2.C: font.realize function adaption.
15408 * text.C (draw): add a warnings lyxerr text if needed.
15410 * layout.C: font.realize function adaption.
15412 * language.C: add inherit_language and implement it's handlings
15414 * bufferview_funcs.C (StyleReset): remove language parameter from
15415 font creation (should be language_inherit now).
15417 * bufferparams.C (writeFile): handle ignore_language.
15419 * paragraph.C (getFontSettings): the language has to be resolved
15420 otherwise we have problems in LyXFont!
15422 * lyxfont.C (lyxWriteChanges): added document_language parameter
15423 (update): removed unneeded language parameter
15425 * paragraph.C (validate): fixed wrong output of color-package when
15426 using interface colors for certain fonts in certain environments,
15427 which should not seen as that on the final output.
15429 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15431 * BufferView_pimpl.C:
15436 * LyXAction.C: add thesaurus support
15439 * lyxfind.C: add "once" parameter, for thesaurus, to not
15440 move to the next match
15442 2001-07-26 Juergen Vigna <jug@sad.it>
15444 * lyxfont.C (realize): honor ignore_language too!
15447 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15449 * text.C (draw): one place more for ignore_language to not draw
15452 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15454 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15456 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15458 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15459 the minipage conversion problem.
15461 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15463 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15466 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15468 * BufferView.h: don't forward declare WorkArea
15470 * BufferView.C: don't include WorkArea.h
15472 2001-07-25 André Pönitz <poenitz@gmx.net>
15476 * lyxfunc.C: new LFUN 'math-space'
15478 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15480 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15482 * text2.C (toggleInset): call open/close
15484 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * lyxfunc.C (dispatch): add debug for the disabled case
15488 * font.C (buttonText): make similar to rectText
15490 * buffer.C (readInset): comment out parsing of insetlist and
15493 * PainterBase.C (rectText): small correction
15495 * BufferView_pimpl.C: comment out insettheorem and insetlist
15496 * LyXAction.C: ditto
15497 * commandtags.h: ditto
15499 2001-07-24 Juergen Vigna <jug@sad.it>
15501 * text.C (draw): honor the ignore_language.
15503 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15505 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15507 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15510 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15512 * lyxtext.h: remove unused (and unimplemented) methods
15514 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15516 * text.C (getVisibleRow): honor background color
15519 * Painter.h: remove default color argument for fillRectangle
15521 * text.C (backgroundColor): new method
15523 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15525 * text.C (getVisibleRow): adjust
15527 * font.[Ch] (rectText): new method, metrics
15528 (buttonText): new method, metrics
15530 * PainterBase.[hC]: make rectText and buttonText always draw and take
15533 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15535 * ToolbarDefaults.C (read):
15536 * MenuBackend.C (read): allow escaping in all strings
15538 * BufferView_pimpl.C (insertAndEditInset): new method.
15539 (Dispatch): use insertAndEditInset whenever appropriate.
15541 * BufferView_pimpl.C (insertNote): removed
15543 * BufferView_pimpl.C (smartQuote): new method, moved from
15544 BufferView; if an insetquote cannot be inserted, insert a '"'
15547 * BufferView2.C: remove insertCorrectQuote();
15549 * lyxfunc.C (getStatus): Add support for all remaingin
15550 inset-insert lfuns.
15552 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15554 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15555 command (necessary to pass " as parameter of self-insert.
15557 * text.C (selectWordWhenUnderCursor):
15558 (selectWord): add word_location parameter
15559 (selectWordWhenUnderCursor): same + remove special code for word
15561 (selectNextWord): use kind() to guess type of insetspecialchar,
15564 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15565 (insertErtContents): create ert insets as collapsed.
15566 (readInset): better compatibility code for Info inset.
15568 2001-07-20 Juergen Vigna <jug@sad.it>
15570 * lyxfunc.C (dispatch): use always LyXFind now!
15572 * text2.C (init): add a reinit flag so that the LyXText can be
15573 reinited instead of deleted and reallocated (used in InsetText).
15575 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15581 2001-07-18 Juergen Vigna <jug@sad.it>
15583 * text.C (selectNextWord): handle insets inside inset by calling
15584 always the bv->text functions so that we can go up the_locking_inset!
15586 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15587 in strange locations when inside an inset!
15589 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15590 handling to include insets.
15592 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15594 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15596 * LyXAction.C (init):
15598 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15599 LIGATURE_BREAK, since the name is so stupid.
15601 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15603 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15606 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15608 * sp_form.[Ch]: remove.
15610 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15612 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15615 * src/buffer.C (readInset): ditto.
15617 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15619 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15620 menuSeparator(), endOfSentenceDot(), ldots() and
15621 hyphenationPoint(), which are therefore removed.
15622 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15624 * LyXAction.C (init):
15625 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15627 * paragraph.C (getWord): removed.
15629 * BufferView_pimpl.C (Dispatch): use last word or selection for
15630 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15632 * lyx_main.C (queryUserLyXDir): do not ask before creating
15633 user_dir, except if it has been named explicitely.
15635 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15637 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15638 a document of zero size.
15640 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15642 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15643 approriately in the c-tor and in require().
15644 (getPackages): output the appropriate LaTeX for natbib support.
15646 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15647 variables "use_natbib" and "use_numerical_citations" when reading the
15649 (readInset): read the various natbib cite commands.
15650 (validate): white-space change.
15652 * bufferparams.[Ch]: new variables "bool use_natbib" and
15653 "bool use_numerical_citations".
15654 (writeFile): output them in the LyX file.
15656 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15658 * lyxfunc.C (getStatus): add support for all the inset insertion
15661 * text2.C (insertInset):
15662 * paragraph.C (insetAllowed):
15663 * BufferView_pimpl.C (insertInset): update to take in account the
15664 renaming of insertInsetAllowed
15666 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15668 * text2.C (getInset): new method. returns inset at cursor position.
15670 * BufferView_pimpl.C (Dispatch): changes because of this.
15672 * LyXAction.C (init): rename open-stuff to inset-toggle.
15674 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15676 * text2.C (toggleInset): renamed from openStuff; use
15679 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15681 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15683 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15685 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15687 * buffer.C (readLyXformat2): Add filename to the error dialog
15689 2001-07-18 Juergen Vigna <jug@sad.it>
15691 * tabular.C (GetCellNumber): put an assert here instead of the check!
15693 2001-07-17 Juergen Vigna <jug@sad.it>
15695 * BufferView_pimpl.C (toggleSelection): adapted too.
15697 * text.C (selectNextWord): adapted for use with insets.
15698 (selectSelectedWord): ditto
15700 2001-07-17 Juergen Vigna <jug@sad.it>
15702 * sp_spell.C (PSpell): fix initialitation order.
15704 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15706 * paragraph.C: spacing
15708 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15710 * sp_spell.C: repair language selection for pspell
15712 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15714 * lyxfunc.h: change more methods to begin with lower char.
15716 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15718 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15719 for unknown layouts.
15721 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15723 * buffer.C (readLyXformat2): Generate an error dialog if there are
15726 2001-07-16 Juergen Vigna <jug@sad.it>
15728 * sp_spell.C: always compile ISpell part.
15730 * lyxrc.C: added use_pspell entry and it's handling.
15732 2001-07-13 Juergen Vigna <jug@sad.it>
15734 * sp_spell.C: removed double includes.
15736 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15738 Consistent use of Lsstream.h:
15739 * Lsstream.h: added using std::stringstream for consistencies sake.
15741 * buffer.C: removed using std::stringstream
15743 * lyxfont.C (stateText):
15744 * paragraph.C (asString):
15745 * text.C (selectNextWord, selectSelectedWord):
15746 * text2.C (setCounter):
15747 * vspace.C (asString, asLatexString):
15748 std::ostringstream -> ostringstream.
15750 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15752 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15753 * commandtags.h: add LFUN_HELP_ABOUTLYX
15754 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15756 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15758 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15760 * lyx_gui_misc.C: remove spellchecker
15761 * lyxfunc.C: showSpellchecker
15763 * sp_ispell.h: added
15764 * sp_pspell.h: added
15765 * sp_spell.C: added
15766 * sp_form.[Ch]: removed
15767 * spellchecker.[Ch]: removed
15769 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15771 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15773 (simpleTeXSpecialChars): Simply print the input character without
15774 any special translation if pass_thru is set.
15776 * layout.h: Added bool pass_thru to layout class for being able to
15777 implement pass through of a paragraph for Literate Programming.
15779 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15780 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15781 * layout.C (Read): add "passthru" to list of layout tags and add
15782 code to set the pass_thru boolean when it is read.
15784 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * trans_decl.h: remove allowed from KmodInfo
15788 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15789 remove allowed code
15792 * paragraph_pimpl.C (erase): use boost::prior
15794 * Painter.C (text): use data() instead of c_str() when length is
15796 * WorkArea.C (putClipboard): ditto
15797 * font.h (width): ditto
15799 * BufferView2.C: use it-> instead of (*it). for iterators
15801 * paragraph_pimpl.C: ditto
15802 * paragraph.C: ditto
15803 * minibuffer.C: ditto
15804 * language.C: ditto
15806 * encoding.C: ditto
15807 * counters.C: ditto
15808 * converter.C: ditto
15810 * Variables.C: ditto
15811 * TextCache.C: ditto
15812 * MenuBackend.C: ditto
15813 * LyXAction.C: ditto
15815 * FloatList.C: ditto
15816 * DepTable.C: ditto
15817 * ColorHandler.C (LyXColorHandler): ditto
15819 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15821 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15823 * text2.C (openStuff): reintroduce this method (which had been
15824 nuked in NEW_INSETS frenzy).
15826 * lyxfunc.C (Dispatch): when an action has not been handled, use
15827 its name in the error message, not its number.
15829 * paragraph.C (inInset): change method name to begin with lowercase.
15832 * text2.C: updates because of this.
15834 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15836 * ToolbarDefaults.C (add): add spaces in error message
15838 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15840 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15841 (readLyXformat2): rename return_par to first_par, use lyxlex's
15842 pushToken and remove the manual push handling.
15843 (parseSingleLyXformat2Token): add another ert comp. variable:
15844 in_tabular, rename return_par to first_par. handle newlines better
15846 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15848 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15850 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15852 * text2.C (getParFromID): removed
15854 * buffer.C (getParFromID): new method moved form lyxtext.
15855 * BufferView2.C (insertErrors): adjust
15856 (setCursorFromRow): adjust
15857 * BufferView_pimpl.C (restorePosition): adjust
15858 * lyxfunc.C (Dispatch): adjust
15859 * undo_funcs.C (textUndo): adjust
15861 (textHandleUndo): adjust
15862 (textHandleUndo): adjust
15864 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15866 * buffer.C: up' the LYX_FORMAT
15868 * lyxfont.h: turn NO_LATEX on as default
15870 * buffer.C (insertErtContents): new methods of tex style compability.
15871 (parseSingleLyXformat2Token): use it several places.
15872 * tabular.C (OldFormatRead): and here
15874 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15876 * text2.C: remove some commented code.
15879 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15880 * trans.C: changes because of the above.
15882 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15884 * text2.C (setCounter): Fix counters bug with bibliography layout.
15886 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15888 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15889 own member functions
15890 (simpleTeXSpecialChars): ditto
15892 2001-07-06 Juergen Vigna <jug@sad.it>
15894 * a lot of files: changed the access to LyXText::status and the
15895 call of undo-functions.
15897 * undo.[Ch]: added a inset_id to the undo informations.
15899 * undo_funcs.[Ch]: added and moved here all undo functions.
15901 * lyxtext.h: give the status enum a weight, made status_ a private
15902 variable and made accessor functions for it, removed the whole bunch
15903 of undo-functions as they are now in their own file, make some
15904 functions publically available. Added function ownerParagraph with
15907 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15908 made InInset() a const function, added getParFromID() function.
15910 * buffer.[Ch]: added const version for inset_iterator functions,
15911 added getInsetFromID() function.
15913 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15914 changed undo functions for new version.
15916 2001-07-05 Juergen Vigna <jug@sad.it>
15918 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15919 unknow mechanism does not call the proper constructor but only this
15920 one also if I request the other!?
15922 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15924 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15926 * text2.C (LyXText): use initialization lists.
15928 * lyxtext.h (Selection): initialize set_ and mark_
15929 (init): remove method
15931 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15933 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15935 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15937 * screen.[Ch]: change method names to begin with lowercase
15939 * BufferView_pimpl.C (updateScrollbar): simplify further and
15940 hopefully make it a bit faster.
15942 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15944 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15945 calling directly xforms functions.
15947 * Painter.C (Painter):
15948 * lyx_cb.C (MenuWrite):
15949 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15952 * lyx_gui.C: remove bogus guiruntime extern declaration.
15954 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15956 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15958 (redoDrawingOfParagraph): ditto
15959 (redoParagraphs): ditto
15960 (cutSelection): don't create a object for CutAndPaste use the
15961 static method directly
15962 (pasteSelection): ditto
15964 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15967 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15969 * modifications to some other files because of this.
15971 * Makefile.am (lyx_SOURCES): add XFormsView
15973 * XFormsView.[Ch]: new files
15975 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15976 the main window. Move the gui dependent stuff to XFormsView
15978 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15980 * tabular.C (GetCellInset): update cur_cell also in the row/col
15981 version of this function.
15983 * lyxfunc.C: no need to include figure_form.h here.
15989 * lyxvc.C: no need to include forms.h here.
15991 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15993 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15995 * lyxfunc.C (Dispatch):
15997 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15998 constructor argument.
16000 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16002 * paragraph.C (Paragraph): dont't clear, and just set layout.
16003 (makeSameLayout): use params's copy contructor.
16005 * ParagraphParameters.[Ch] (makeSame): delete method
16007 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16009 * Variables.[Ch]: fix indentation, rename set to isSet
16011 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16013 * lyxfunc.C (Dispatch): fix typo
16015 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16017 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16020 * bufferlist.C: include assert.h for emergencyWrite().
16022 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16024 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16025 give up at last (bug #425202) !
16027 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16033 * spellchecker.C: strip spellchecker options and bring up
16034 preferences tab instead
16036 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16038 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16039 the istringstream constructor
16041 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16043 * paragraph.C (getLayout): fix return value
16045 * paragraph.h: do not declare getLayout as inline.
16047 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16049 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16051 * lyxcursor.h (operator<): new func
16052 (operator>): new func
16053 (operator>=): new func
16054 (operator<=): new func
16056 * text.C (changeCase): use selection.start and selection.end
16057 (changeRegionCase): require from to be <= to. Require par to be a
16060 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16062 2001-06-27 Juergen Vigna <jug@sad.it>
16064 * text.C (cursorLeftOneWord): changed to return the cursor and added
16065 overlay with BufferView * parameter which calls this one.
16067 (selectWord): use new getWord function.
16068 (changeCase): renamed from changeWordCase as and extended to work
16069 also on selections.
16071 * lyxtext.h: added enum word_location
16073 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16074 changeCase as this operates now also on selections.
16076 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16078 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16080 * many files: send debug output to Debug::INFO instead of
16083 * converter.C (View):
16085 (Move): send debug output to Debug::FILES instead of console.
16087 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16089 * lyxfunc.C (getStatus): use func_status
16091 * func_status.h: new header, describing the results of
16092 LyXFunc::getStatus;
16094 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16097 2001-06-25 The LyX Project <jug@sad.it>
16099 * buffer.C (sgmlOpenTag):
16101 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16103 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16105 * text2.C: remove some dead code
16107 * tabular.C (GetCellInset): store the last cell checked (gotten)
16109 * tabular.h: add the helper for the speedup
16111 * lyxtext.h: remove some dead code
16113 2001-06-26 The LyX Project <Asger>
16115 * paragraph.C: Change export to LaTeX of alignment to
16116 \begin{center} and family for better roundtrip work with reLyX.
16118 * Tune the math drawing a bit.
16120 2001-06-25 The LyX Project <Asger>
16122 * LColor.C (LColor): New color for math background. New color
16125 2001-06-25 The LyX Project <jug@sad.it>
16127 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16129 * lyxfunc.C (Open):
16130 * bufferlist.C (newFile): do not restrict to files ending with
16133 * BufferView_pimpl.C (MenuInsertLyXFile):
16135 2001-06-24 The LyX Project <jug@sad.it>
16137 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16140 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * lyxtext.h: rename most methods to begin with a small char.
16143 Lots of changes because of this.
16145 * paragraph.C (Paragraph): do not call fitToSize
16146 (erase): call Pimpl::erase
16147 (insertChar): call Pimpl::insertChar
16148 (insertInset): call Pipl::insertInset
16149 (breakParagraph): do not call fitToSize
16150 (breakParagraphConservative): do not call fitToSize
16151 (fitToSize): remove method
16153 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16155 2001-06-24 The LyX Project <Asger>
16157 * Fix Qt compilation^2
16159 2001-06-24 The LyX Project <jug@sad.it>
16161 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16162 depthHook(getDepth()-1).
16165 * ParagraphParameters.h:
16166 * ParameterStruct.h: change type of depth to unsigned int ==
16167 depth_type. Many adaptations to other files before of that.
16169 2001-06-24 The LyX Project <Asger>
16171 * Fix Qt compilation.
16173 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16175 * paragraph.h: renamed several methods to begin with small letter.
16176 several changes to many parts of the code because of this.
16178 2001-06-23 The LyX Project <jug@sad.it>
16180 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16181 rewritten to discard all double spaces when KeepEmpty is off
16182 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16183 to only handle newlines but not fiddle with spaces and friends.
16185 * lyxfunc.C (MenuNew): when doing 'new from template', use
16186 template_path as default directory
16188 2001-06-23 The LyX Project <Asger>
16190 * Clean-up of header file includes all over
16191 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16193 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16195 * paragraph.h: renamed from lyxparagraph.h
16197 2001-06-23 Asger <lyx@violet.home.sad.it>
16199 * Buffer.h: Removed Buffer::resize
16200 * BufferList.h: Removed BufferList::resize
16201 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16202 the document lazily when we change the width, or the font settings.
16204 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16206 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16208 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16210 * buffer.h: remove out of date comment
16212 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16215 * screen.C: fix "theoretical" GC leak
16217 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16219 * LaTeX.C (scanAuxFile):
16220 (deplog): remove trailing \r when reading stream (useful under
16223 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16225 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16226 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16227 and BufferView::theLockingInset(Inset*), so should use them and not
16228 access bv_->text->the_locking_inset directly.
16230 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16232 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16235 * tex-defs.h: remove old unused file
16237 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16239 * BufferView_pimpl.C: fix typo, remove minibuffer message
16240 when buffer has loaded
16242 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16244 * lyxfunc.C (Dispatch): use stringstream
16245 (MenuNew): use stringstream
16246 (Open): use stringstream
16248 * importer.C (Import): use stringstream
16250 * bufferview_funcs.C (CurrentState): use stringstream
16252 * LaTeX.C (run): use stringstream
16254 * BufferView_pimpl.C (savePosition): use stringstream
16255 (restorePosition): use stringstream
16256 (MenuInsertLyXFile): use stringstream
16258 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16271 * vspace.C: removed // -*- C++ -*- as first line.
16274 * version.h: added // -*- C++ -*- as first line.
16276 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16278 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16280 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16283 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16285 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16288 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16290 * gettext.C: include LString.h even when --disable-nls is on.
16292 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16294 * converter.h (Get): changed argument type from int to
16295 FormatList::size_type to avoid unnecessary conversion.
16297 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16300 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16302 * gettext.h: include LString.h even when --disable-nls is on.
16304 2001-06-07 Juergen Vigna <jug@sad.it>
16306 * text.C (BreakAgain): subst spaces with tabs.
16308 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16309 (resizeInsetsLyXText): set force on resizeLyXText.
16311 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16313 * gettext.h (gettext_init):
16314 (locale_init): use a real definition instead of a macro
16316 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16318 * Bufferview_pimpl.C:
16320 * LColor.C: further lcolor tidies
16322 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16324 * BufferView_pimpl.C (updateScrollbar): simplify.
16326 * BufferView2.C: don't include insets/insetinfo.h, change
16327 prototype for insertInset and call the Pimpl version. let
16328 updateInset call Pimpl version.
16330 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16331 gotoInset to BufferView::Pimpl
16333 2001-06-01 Juergen Vigna <jug@sad.it>
16335 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16336 inside a LockingInset (is the update needed at all?).
16338 2001-05-31 Juergen Vigna <jug@sad.it>
16340 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16341 here not the old one otherwise how should we compare it afterwards
16344 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * FontInfo.C: bring C functions into global namespace when
16352 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16354 * LString.h: make sure config.h has been loaded before LString.h.
16356 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16357 (one for each char read by EatLine!).
16359 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16362 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16364 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16365 to the same as the par we break from
16367 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16369 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16371 * MenuBackend.C (expand): also create menu entries for wide
16372 versions of the floats.
16374 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16376 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16378 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16379 frontends/Makefile.am
16385 * tabular.C (getTokenValue): add std::
16387 * tabular-old.C (getTokenValue): add std::
16388 (getTokenValue): ditto
16389 (getTokenValue): ditto
16391 * screen.C (ToggleSelection): adjust
16393 * lyxtext.h: put selection cursors inside a Selection struct.
16395 * lyxfunc.C (moveCursorUpdate): adjust
16397 * lyxfont.C (latexWriteStartChanges): add std::
16399 * lyxfind.C: adjust
16401 * font.h: delete with(char const *, LyXFont const &)
16403 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16405 * FontInfo.C (getFontname): add std::
16407 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16408 (workAreaButtonPress): adjust
16409 (tripleClick): adjust
16411 (moveCursorUpdate): adjust
16414 * BufferView2.C (gotoInset): adjust
16416 2001-05-30 Juergen Vigna <jug@sad.it>
16418 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16419 to check pspell I add this as default as I now have new pspell
16420 libraries and they seem to use this.
16422 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16424 * text2.C (CutSelection): make the cursor valid before the call to
16427 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16429 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16430 relied on 0 terminated strings and other horrors. Bug found due to
16431 the new assert in lyxstring!
16433 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16436 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16438 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16441 * lyxfunc.C (processKeySym): change method of getting to the
16444 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16445 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16446 * BufferView_pimpl.[Ch]: here as private methods.
16448 2001-05-28 Juergen Vigna <jug@sad.it>
16450 * text.C (SetHeightOfRow): added the update() call again as it is
16451 needed to initialize inset dimensions!
16453 2001-05-16 Juergen Vigna <jug@sad.it>
16455 * text2.C (SetCharFont): Add new function with BufferView * and
16456 bool toggleall parameters for setting insets internal fonts.
16457 (SetFont): Freeze the undo as we may change fonts in Insets and
16458 all this change should be inside only one Undo!
16460 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16461 setting font's in insets as for them we have the SetFont function!
16463 2001-05-15 Juergen Vigna <jug@sad.it>
16465 * text2.C (ClearSelection): to be sure we REALLY don't have any
16468 * tabular.C (TeXCellPreamble): fixed the left border problem for
16471 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16473 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16476 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16478 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16479 LFUN_BREAKPARAGRAPH.
16481 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16482 help test to "internal only", similar for LFUN_INSERT_URL
16484 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16485 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16486 auto_region_delete and deadkeys.
16488 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16491 * LColor.C: remove some dead entries, tidy a little
16493 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16495 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16497 (Dispatch): implement LFUN_ESCAPE
16499 * commandtags.h: add LFUN_ESCAPE
16501 * LyXAction.C (init): add entry for LFUN_ESCAPE
16503 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16504 Remove commented code.
16505 (insertNote): moved here
16506 (open_new_inset): moved here
16508 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16511 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16513 * kbmap.C (findbinding): clean it up and make it work correctly.
16515 * lyx_main.C (init): do not pass argc and argv as parameters
16517 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16519 * buffer.C: fix path for OS/2 & Win32
16523 * lyx_main.C: Added os:: class.
16525 * os2_defines.h: update
16527 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16529 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16530 better by trying again with reduced state.
16532 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16534 * lyxrc.C (read): print error about invalid key sequence only when
16535 debugging (because not all latinX keysyms are known to some X
16538 * kbsequence.C (getiso): add a few std:: qualifiers
16539 (getiso): comment out extra return statement.
16541 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16543 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16545 (Dispatch): enhance the accent inset a bit. (not perfect)
16547 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16549 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16551 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * bufferlist.C (emergencyWrite): fix assert() call
16555 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16557 * text.C (InsertChar): Added trivial patch to only send the "you
16558 can not do multiple spaces this way" message once during a
16561 2001-05-08 Baruch Even <baruch@lyx.org>
16563 * Makefile.am: Changed order of libraries to get LyX to link properly
16564 with the gnome frontend.
16566 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16568 * LaTeXFeatures.h: add a std:: qualifier
16570 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16572 * paragraph.C (String): use stringstream
16574 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16576 * paragraph.C (writeFile): remove footflag arg
16578 * buffer.C (makeLaTeXFile): use stringstream
16579 (latexParagraphs): remove footnot gurba
16581 * LaTeXFeatures.C (getPackages): use stringstream
16582 (getMacros): likewise
16583 (getTClassPreamble): likewise
16584 (getFloatDefinitions): new method
16586 * paragraph.C (writeFile): reindent
16589 * WorkArea.h: revert the xpos + etc changes.
16591 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16593 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16595 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16596 (pasteSelection): likewise
16597 * text2.C (CreateUndo): likewise
16599 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * minibuffer.C (peek_event): temporarily reduce the functionality
16602 of the minibuffer (to allow args on lfuns)
16604 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16605 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16607 * buffer.C (readInset): add compability reading of old float
16608 lists, add reading of new style float list.
16609 (readInset): avoid reevaluation of inscmd.getCmdName()
16610 (getLists): reindent
16612 * MenuBackend.C (MenuItem): implement parsing of
16613 md_floatlistinsert and md_floatinsert.
16614 (expand::LastFiles): move initalizaton of iterators out of loop,
16615 avoid reevaluation.
16616 (expand::Documents): introduce typdedef vector<string> Strings,
16618 (expand::ExportFormats): introduce typedef vector<Format const *>
16619 Formats, and use it.
16620 (expand): implement FloatListInsert and FloatInsert.
16622 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16623 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16624 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16626 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16628 (Dispatch::LFUN_FLOAT_LIST): implement
16630 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16632 * LaTeX.C (run): Fix problem with --export code.
16634 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16636 * BufferView.[Ch] (workarea): removed.
16637 (getClipboard) new method; wrapper for workarea()->getClipboard()
16639 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16642 * WorkArea.h (width, height, xpos, ypos): These methods all
16643 returned the dimensions of the work_area sub-area of WorkArea,
16644 resulting in a position error if the WorkArea were resized. Now
16645 return the dimensions of the entire WorkArea.
16647 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16649 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16651 * LaTeX.C (deplog): correct the syntax of regex reg1
16653 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16655 * undo.C: remove !NEW_INSETS cruft
16657 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16659 * text2.C: remove !NEW_INSETS cruft
16661 * text.C: remove !NEW_INSETS cruft
16663 * tabular.C: remove !NEW_INSETS cruft
16665 * spellchecker.C: remove !NEW_INSETS cruft
16667 * lyxtext.h: remove !NEW_INSETS cruft
16669 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16671 * lyxfunc.C: remove !NEW_INSETS cruft
16673 * lyxfind.C: remove !NEW_INSETS cruft
16675 * lyx_cb.C: remove !NEW_INSETS cruft
16677 * figureForm.C: remove !NEW_INSETS cruft
16679 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16681 * buffer.[Ch]: remove !NEW_INSETS cruft
16683 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16685 * CutAndPaste.C: remove !NEW_INSETS cruft
16687 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16689 * BufferView2.C: remove !NEW_INSETS cruft
16691 * BufferView.h: remove !NEW_INSETS cruft
16693 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16695 * Lsstream.h: include LString.h before the sstream headers to
16696 fix problem with gcc 2.95.3 and lyxstring
16698 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16700 * lyx_main.C: add using directives when needed for C functions
16701 declared in std:: namespace.
16703 2001-04-27 Juergen Vigna <jug@sad.it>
16705 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16706 (SetHeightOfRow): comment out the update call should not be needed!
16708 2001-04-13 Juergen Vigna <jug@sad.it>
16710 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16711 (LyXTabular): tried to minimize operator= operations (and realized
16712 hopfully Lars wish).
16714 2001-04-27 Juergen Vigna <jug@sad.it>
16716 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16718 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16720 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16722 * buffer.C (readInset): hack to make listof algorithm work
16724 * BufferView_pimpl.C: hack to make listof algorithm work
16726 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16728 * LyXAction.C: removed all !NEW_INSETS cruft
16729 (init): moved lfun_item in method
16731 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16733 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16735 * BufferView2.C (theLockingInset): white space.
16737 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16739 * minibuffer.C: include <iostream>
16741 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16743 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16745 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16747 * text.[Ch] (TransposeChars): new method
16749 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16751 * call message directly through LyXView instead of through LyXFunc
16752 * BufferView2.C: adjust
16753 * BufferView_pimpl.C: adjust
16754 * FontLoader.C: adjust
16756 * bufferview_funcs.C: adjust
16757 * converter.C: adjust
16758 * figureForm.C: adjust
16759 * importer.C: adjust
16761 * lyx_gui_misc.C: adjust
16762 * lyxfunc.C: adjust
16765 + more files in subdirs
16767 * lyxparagraph.h (size): move up int file
16770 * adjust all uses of Assert to lyx::Assert.
16772 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16773 lyxfunctional in namespace lyx
16774 * layout.C (hasLayout): ditto
16777 (delete_layout): ditto
16778 (NumberOfClass): ditto
16779 * converter.C (GetFormat): ditto
16784 * bufferlist.C (getFileNames): ditto
16785 (emergencyWriteAll): ditto
16788 * MenuBackend.C (hasSubmenu): ditto
16791 * BufferView_pimpl.C (getInsetByCode): ditto
16793 2001-04-18 Juergen Vigna <jug@sad.it>
16795 * vspace.C (asLatexString): fixed the 100% problem.
16797 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16799 * lyxfunc.C (Dispatch):
16801 * minibuffer.h: add a few std:: qualifiers
16803 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16805 * minibuffer.[Ch]: reimplement so that commands is initiated and
16806 run from lyxfunc, simplified som handling, and made the completion
16807 and history code for complete. wip.
16809 * lyxfunc.C (processKeySym): call message
16810 (miniDispatch): new temporary method
16811 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16812 (LFUN_MESSAGE): implement
16813 (LFUN_MESSAGE_PUSH): implement
16814 (LFUN_MESSAGE_POP): implement
16815 (initMiniBuffer): the initial/defualt minibuffer message.
16817 * lyxfont.[Ch]: inline some more getters
16819 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16821 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16823 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16824 (AutoSave): use LFUN_MESSAGE
16825 (Reconfigure): ditto
16827 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16829 * figureForm.C: use LFUN_MESSAGE
16831 * converter.C (runLaTeX): use LFUN_MESSAGE
16833 * bufferview_funcs.C: use LFUN_MESSAGE
16835 (changeDepth): ditto
16837 * bufferparams.h: use boost::
16839 * bufferlist.h: inherit privately from noncopyable
16841 * bufferlist.C (loadLyXFile): remove some commented code.
16843 * buffer.C (runChktex): use LFUN_MESSAGE
16845 * ShareContainer.h: inherit privately from noncopyable
16847 * ParagraphParameters.[hC] (depth): inline it.
16849 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16851 (message): new method
16852 (messagePush): ditto
16853 (messagePop): ditto
16854 (show): init minibuffer
16855 (showState): direct call
16857 * LaTeX.[Ch]: inherit privately from noncopyable
16858 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16859 instead of WriteStatus.
16861 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16863 * BufferView_pimpl.C (buffer): don't init minibuffer
16864 (workAreaButtonPress): use LFUN_MESSAGE
16865 (workAreaButtonRelease): ditto
16866 (savePosition): ditto
16867 (restorePosition): ditto
16868 (MenuInsertLyXFile): ditto
16869 (workAreaExpose): don't init minibuffer
16870 (update): remove commented code, simplify
16872 * BufferView2.C (openStuff): use LFUN_MESSAGE
16873 (toggleFloat): ditto
16876 (copyEnvironment): ditto
16877 (pasteEnvironment): ditto
16882 (updateInset): remove some commented code
16884 * lastfiles.h: inherit privately from noncopyable
16887 * lyx_main.h: ditto
16889 * lyxlex_pimpl.h: ditto
16891 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16892 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16893 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16895 * LyXAction.h: inherit privately from noncopyable, add methods
16896 func_begin, func_end, returning iterators to the func map.
16898 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16899 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16900 (func_begin): new method
16901 (func_end): new method
16903 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16905 (copySelection): ditto
16906 (pasteSelection): ditto
16908 * BufferView.C: whitespace change
16909 * BufferView.h: inherit privately from noncopyable
16911 2001-04-16 Allan Rae <rae@lyx.org>
16913 * tabular-old.C (l_getline):
16914 * spellchecker.C (sc_check_word):
16915 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16916 an unrecognised preprocessor directive. So ensure they're wrapped.
16918 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16920 * src/exporter.C (Export): Give an error message when path to file
16923 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16925 * LaTeX.C (deplog): Always check that foundfile exists.
16927 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16930 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16932 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16934 * tabular.[Ch] (getLabelList): implement new method
16936 * minibuffer.h: comment ouf setTiimer
16938 * minibuffer.C (ExecutingCB): constify res
16939 (peek_event): constify s
16940 (Set): constify ntext
16941 (Init): constify nicename
16943 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16945 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16946 (savePosition): use two params to Minibuffer::Set
16947 (restorePosition): ditto
16949 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16951 * lyx_main.C: include language.h
16953 * Makefile.am (lyx_main.o): add language.h
16955 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16961 * CutAndPaste.C: include gettext.h
16963 * lyxfont.h: remove old hack with ON and OFF.
16966 * lyxfont.h: do not include language.h...
16971 * bufferview_funcs.C:
16977 * paragraph.C: ... but do it here instead
16979 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16981 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16983 * tabular.C: small reformat
16985 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16988 (BreakParagraph): ditto
16989 (SetOnlyLayout): ditto
16992 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16995 * lastfiles.C: removed most using decl, add std:: where needed
16997 * buffer.C: ws changes
16999 * MenuBackend.C (class compare_format): put into anon namespace
17000 (expand): constify label, names, action, action2
17003 * text.C (SingleWidth): constify font
17004 (IsBoundary): constify rtl2
17005 (GetVisibleRow): constify ww
17007 * LaTeX.C (deplog): constify logfile
17009 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17011 (workAreaExpose): constify widthChange, heightChange
17013 * lyxrow.C (par): moved
17016 * lyxrow.h: as inlines here
17018 * lyxfont.h (shape): moved from lyxfont.C
17019 (emph): moved from lyxfont.C
17021 * lyxfont.C (LyXFont): use initialization list for all
17023 (shape): move to lyxfont.h as inline
17024 (emph): move to lyxfont.h as inline
17027 2001-04-04 Juergen Vigna <jug@sad.it>
17029 * vspace.C: had to include stdio.h for use of sscanf
17031 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17034 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17035 independent of xforms.
17037 2001-04-02 Juergen Vigna <jug@sad.it>
17039 * spellchecker.C: fixed namespace placing!
17041 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17043 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17044 the LyXParagraph * is 0.
17046 2001-03-29 Juergen Vigna <jug@sad.it>
17048 * vspace.C: added support for %, c%, p%, l%.
17049 (stringFromUnit): added helper function.
17050 (asLatexString): changed to give right results for the %-values.
17052 * buffer.C: convert the widthp in a width%.
17054 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17056 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17059 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17060 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17062 * lyx_cb.[Ch]: see above.
17064 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17068 * lyx.[Ch]: replaced by figure_form.[Ch].
17072 * lyxfunc.C: changed headers associated with above changes.
17074 2001-03-27 Juergen Vigna <jug@sad.it>
17076 * BufferView_pimpl.C: set the temporary cursor right!
17078 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17080 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17082 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17084 * LString.h: removed "using std::getline"!
17086 * BufferView_pimpl.C (Dispatch): changes due to changes in
17087 InsetInclude::Params.
17089 * buffer.C (tag_name): removed redundant break statements as they were
17090 producing lots of warnings with my compiler.
17092 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17094 * LString.h: add "using std::getline" when using the real <string>.
17096 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17098 * buffer.C: removed bitset usage.
17099 PAR_TAG moved to an anonymous name space.
17100 (tag_name): new funtion, also in the anonymous namespace.
17101 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17102 (makeDocBookFile): clean code. Completed transition from string arrays
17104 (SimpleDocBookOnePar): code clean.
17106 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17108 * tabular.C: add some comments.
17110 2001-03-22 Juergen Vigna <jug@sad.it>
17112 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17113 compatibility read a bit and fixed bug with minipage in different
17116 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17118 * buffer.C (pop_tag): removed.
17119 (push_tag): removed.
17120 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17121 array replaced with vector. Added support for CDATA sections.
17122 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17124 (makeDocBookFile): XML conformant declaration of CDATA section,
17125 fixed bug related to <emphasis> in the first paragraph char.
17126 (sgmlOpenTag): exclude empty tags.
17127 (sgmlCloseTag): ditto.
17129 * buffer.h (pop_tag): removed.
17130 (push_tag): removed.
17132 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17134 * language.h (Languages): added size_type and size().
17136 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17138 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17139 response on compability reading of minipages. One probliem is that
17140 the old usage of minipages was «flertydig»
17142 * several files here and in subdirs: don't use static at file
17143 scope use anon namespaces instead.
17145 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17147 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17148 LaTeX output. This is necessary for Literate document
17151 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17153 * buffer.C: insert hfill when needed.
17155 * tabular.C (l_getline): use string::erase, small whitespace change.
17157 * BufferView_pimpl.C: try the anon namespace.
17158 * WorkArea.C: ditto
17160 2001-03-16 Juergen Vigna <jug@sad.it>
17162 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17163 otherwise it won't open options-dialogs.
17165 * buffer.C: honor pextraWidth(p) on converting minipages.
17167 * tabular.C (l_getline): changed the functions to strip trailing \r.
17169 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17171 * BufferView_pimpl.C:
17172 * minibuffer..C: added "using SigC::slot" declaration.
17174 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17176 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17182 * paragraph.C: ditto
17184 * lyxtext.h: NO_PEXTRA
17186 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17188 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17189 * ParameterStruct.h: ditto
17190 * ParagraphParameters.h: ditto
17191 * lyxparagraph.h: ditto
17193 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17195 * buffer.C: add compability for minipage alignment.
17196 (latexParagraphs): remove unwanted pextra check.
17198 * several files: remove CXX_WORKING_NAMESPACES
17200 * buffer.C (pop_tag): tie is in namespace boost
17202 * BufferView.h: noncopyable is in namespace boost
17204 * lyx_main.h: ditto
17207 * lastfiles.h: ditto
17208 * bufferlist.h: ditto
17209 * ShareContainer.h: ditto
17211 * LyXAction.h: ditto
17214 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17216 * Merging changes from BRANCH_MVC back into HEAD.
17218 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17220 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17222 * BufferView_pimpl.C: change from intl.C
17226 * Makefile.am: move combox.*
17232 * intl.C: remove dialog (covered by prefs)
17234 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17236 * lyxfunc.C (Dispatch): removed redundant break statement.
17238 2001-03-14 Juergen Vigna <jug@sad.it>
17240 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17242 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17244 * buffer.C: add hack to fix compability reading of minipages.
17246 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17248 * buffer.C (getLists): Cleanup.
17250 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17252 * lyxfont.C (update): don't honor toggleall on font size.
17254 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17258 * Makefile.am: moved to frontends/xforms/
17262 * BufferView_pimpl.C: changes for moved mathpanel
17264 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17266 * gettext.h: fix gettext_init() in --disable-nls
17268 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17270 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17272 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17275 * lyx.h: strip external form
17277 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17279 * BufferView_pimpl.C: add comment, destroySplash()
17281 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17283 * BufferView_pimpl.C:
17287 * lyxfunc.C: use re-worked insetinclude
17289 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17291 * buffer.C: add using std::stringstream.
17293 * lyx_cb.C: readd using std::ios.
17295 * buffer.C: add using std::map.
17297 * BufferView_pimpl.C: add using std::vector.
17299 * ShareContainer.h: add std:: to swap.
17301 * buffer.h: add some typedefs
17302 * buffer.C (getLists): use them
17303 (getLists): renamed from getTocList.
17304 add a counter for the different float types and use it in the
17306 (getLists): use the same counter for the NEW_INSETS and the "non"
17309 * lyx_cb.h: remove unused items, includes, using etc.
17311 * ShareContainer.h: remove some commented code, add more comments
17312 and "documentation".
17314 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17316 * buffer.C (getTocList): make the list also when NEW_INSETS is
17319 * buffer.h: remove TocType
17321 * buffer.C (getTocList): change to return a map<string,
17322 vector<TocItem> >, implement for dynamic number of list.
17324 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17325 * text2.C (PasteSelection): adjust
17326 * CutAndPaste.C (pasteSelection): adjust
17328 * FloatList.C (FloatList): update from the new_insets branch.
17329 * Floating.[Ch]: ditto
17330 * LaTeXFeatures.C: ditto
17332 * lyxlex_pimpl.C: ditto
17334 * paragraph.C (Last): remove when NEW_INSETS is defined.
17336 * other file: changes because of the above.
17338 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17340 * lyxparagraph.h: rename next to next_, previous to previous_,
17341 make them private for NEW_INSETS. Rename Next() to next(),
17342 Previous() to previous().
17344 * other files: changes because of the above.
17346 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17349 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17352 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17354 * main.C (main): pass lyx_localedir to gettext_init().
17356 * gettext.h: remove locale_init and gettext_init macros
17358 * gettext.C (locale_init): new function
17359 (gettext_init): new function
17361 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17364 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17366 * Moved credits to frontends:
17367 * credits.[Ch]: removed
17368 * credits_form.[Ch]: removed
17369 * lyx_gui_misc.C: remove credits stuff
17372 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17374 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17376 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17377 unneeded destructor.
17379 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17380 a standalone pointer again.
17382 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17384 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17390 * ToolbarDefaults.C:
17399 * BufferView_pimpl.C: use new file dialog in GUII
17402 * lyx_cb.C: remove LayoutsCB to Toolbar
17404 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17406 * ShareContainer.h (get): add std:: qualifier
17408 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17410 * ShareContainer.h: define a proper ShareContainer::value_type
17411 type (and use typename to please compaq cxx)
17413 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17415 * lyxparagraph.h: move serveral local vars to
17416 ParameterStruct/ParagraphParameters., use ShareContainer in
17417 FontTable., make vars in FontTable private and add getter and
17420 * paragraph.C: changes because of the above.
17422 * lyxfont.h: remove copy constructor and copy assignment. (the
17423 default ones is ok), move number inside FontBits. move inlines to
17426 * lyxfont.C: add number to initializaton of statics, move several
17427 inlines here. constify several local vars. some whitespace
17428 cleanup. Dont hide outerscope variables.
17430 * Spacing.h: add two new constructors to match the set methods.
17432 * ShareContainer.h: new file, will perhaps be moved to support
17434 * ParameterStruct.h: new file
17436 * ParagraphParameters.h: new file
17438 * ParagraphParameters.C: new file
17440 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17441 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17443 * BufferView_pimpl.C: ParagraphParameter changes.
17444 * buffer.C: Likewise.
17445 * bufferview_funcs.C: Likewise.
17446 * text.C: Likewise.
17447 * text2.C: Likewise.
17449 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17451 * lyxfind.C (LyXReplace): do not redefine default argument in
17453 (IsStringInText): ditto
17454 (SearchForward): ditto
17455 (SearchBackward): ditto
17457 2001-03-06 Juergen Vigna <jug@sad.it>
17459 * lyxfind.C (IsStringInText): put parentes around expressions.
17461 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17463 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17465 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17467 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17469 * stl_string_fwd.h: add comment
17471 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17474 * tabular.C: remove unused DocBook methods
17480 killed DO_USE_DEFAULT_LANGUAGE
17482 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17484 * lyx_gui.C: do not include language.h.
17486 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17487 arguments in function implementation.
17489 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17491 * BufferView_pimpl.C: add <ctime>
17493 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17495 * BufferView_pimpl.C: add using std::find_if
17497 2001-02-27 José Matos <jamatos@fep.up.pt>
17499 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17502 2001-02-11 José Matos <jamatos@fep.up.pt>
17504 * buffer.C (makeDocBookFile): command styles now have a parameter as
17505 "title" by default.
17507 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17509 * layout_forms.[Ch]: removed
17510 * lyx_cb.[Ch]: out character
17511 * lyx_gui.C: out character
17512 * lyx_gui_misc.C: out character
17513 * bufferview_funcs.C: : out character,
17514 added toggleall as parameter in ToggleAndShow
17516 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17518 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17520 * text2.C (SetCurrentFont): Disable number property at boundary.
17522 2001-02-26 Juergen Vigna <jug@sad.it>
17524 * lyxfunc.C (getStatus): added a string argument override function so
17525 that this is correctly called from LyXFunc::Dispatch if it contains a
17526 do_not_use_argument which is used!
17527 (Dispatch): added check for "custom" export and call appropriate func.
17529 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17531 * lyxrc.C: Add language_command_local, language_use_babel and
17532 language_global_options.
17534 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17536 * buffer.C (makeLaTeXFile): Use language_use_babel and
17537 language_global_options.
17539 2001-02-23 Juergen Vigna <jug@sad.it>
17541 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17542 which works with LyXText and putted it inside BufferView. Here now we
17543 only call for that part the BufferView::Dispatch() function.
17545 * BufferView.C (Dispatch): added.
17547 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17548 functions which needs to use a LyXText over from LyXFunc.
17549 (MenuInsertLyXFile): added
17550 (getInsetByCode): added
17551 (moveCursorUpdate): added
17552 (static TEXT): added
17554 2001-02-22 Juergen Vigna <jug@sad.it>
17556 * BufferView_pimpl.C (update): call a status update to see if LyXText
17559 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17561 * vc-backend.C (revert): implement for CVS
17562 (getLog): implement for CVS
17564 2001-02-20 Juergen Vigna <jug@sad.it>
17566 * text2.C (ClearSelection): added BufferView param for inset_owner call
17568 * lyxfunc.C (TEXT): added this function and use it instead of
17569 directly owner->view()-text of getLyXText().
17571 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17573 * src/layout_forms.C: out preamble
17574 * src/layout_forms.h: out preamble
17575 * src/lyx_cb.C: out preamble
17576 * src/lyx_cb.h: out preamble
17577 * src/lyx_gui.C: out preamble
17578 * src/lyx_gui_misc.C: out preamble
17579 * src/lyxfunc.C: connect with guii preamble
17581 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17583 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17585 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17587 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17588 whether to run bibtex.
17590 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17592 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17594 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17596 * Makefile.am (lyx_SOURCES): removed bibforms.h
17598 * vspace.h: doxygen
17600 * text.C (GetVisibleRow): make several local vars const
17602 * tabular.C: small cleanup.
17604 * lyxserver.C (callback): use compare instead of strncmp
17606 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17607 inlines to after class or to paragraph.C
17609 * lyxfont.h: remove friend operator!=
17611 * converter.h: move friend bool operator< to non friend and after
17614 * combox.h: small cleanup
17616 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17617 to inlines after class def.
17619 * buffer.C (pop_tag): use string operations instead of strcmp
17621 * bmtable.c: doxygen, small cleanup
17623 * LaTeX.h: remove friend operator==
17625 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17637 * BufferView_pimpl.C:
17638 * BufferView.[Ch]: remove cruft
17640 2001-02-14 Juergen Vigna <jug@sad.it>
17642 * lyxfunc.C: removed #if 0 unused code
17644 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17646 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17648 * text2.C (SetSelection): added a BufferView * parameter
17650 2001-02-13 Juergen Vigna <jug@sad.it>
17652 * lyxfunc.C (Dispatch): fixed protected blank problem.
17653 * BufferView2.C (protectedBlank): added LyxText * parameter.
17655 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17656 (AppendColumn): same as above for column_info.
17658 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17659 (moveCursorUpdate): use a LyXText param for support of InsetText.
17661 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17662 (tripleClick): ditto
17664 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17666 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17668 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17670 * text2.C (SetSelection): set correct update status if inset_owner
17671 (ToggleFree): ditto
17673 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17675 * tabular.C: remove some commented code.
17677 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17679 * BufferView_pimpl.C: call hideSplash()
17681 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17684 * bibforms.h: remove
17687 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17688 add LFUN_CHILD_CREATE
17690 * counters.h: fix tiny typo
17695 * lyx.C: move splash to frontends/xforms/
17697 * lyx_gui_misc.C: move Include and Bibform to frontends
17699 * lyxvc.h: clarify comment
17701 * vspace.C: tiny housekeeping
17703 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17705 * text.C (PrepareToPrint): RTL Fix.
17707 * paragraph.C (GetUChar): New method.
17708 (String): Use GetUChar.
17710 * buffer.C (asciiParagraph): Use GetUChar.
17712 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17714 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17716 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17719 * buffer.C: rename to getLogName(), handle
17720 build log / latex log nicely
17722 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17725 * MenuBackend.h: remove support for reference menuitem type.
17727 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17729 * BufferView_pimpl.C: housekeeping
17730 * BufferView_pimpl.h:
17735 * minibuffer.h: move Timeout GUI-I
17737 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17739 * lyxrc.C (read): Update converters data-structures.
17741 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17743 * LaTeX.h (operator!=): add operator != for Aux_Info
17745 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17747 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17749 * LaTeXLog.C: deleted, useful code moved to Buffer
17752 * buffer.C: new function getLatexLogName()
17758 * lyxfunc.C: use frontends for LaTeX and VC logs
17760 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17762 * LaTeX.h: yet another std:: that Allan forgot.
17764 * Variables.C (set): renamed from isset(), because this clashes
17765 with some HP-UX macros (grr).
17767 2001-02-06 Allan Rae <rae@lyx.org>
17769 * LaTeX.h: Another bug fix. Missing std:: this time.
17771 2001-02-04 Allan Rae <rae@lyx.org>
17773 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17774 floats problem. I've left it commented out because it's not quite
17775 correct. It should also test that the current object is a table or
17776 figure inset. But I haven't gotten around to figuring out how to do
17777 that. I *think* it'll be something like: "table" == inset.type()
17779 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17782 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17784 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17785 all the citation/databases/styles in the auxilary file.
17786 (run): Rerun latex if there was a babel language error.
17788 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17790 * text.C (Backspace): Preserve the font when changing newline char
17792 (BreakParagraph): If the cursor is before a space, delete the space.
17794 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17796 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17798 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17799 new argument (code).
17800 (ChangeCitationsIfUnique): New method.
17802 * paragraph.C (GetPositionOfInset): Handle bibkey.
17804 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17806 * BufferView_pimpl.h: change type of Position::par_pos to
17807 LyXParagraph::size_type.
17809 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17811 * BufferView_pimpl.C (savePosition, restorePosition): Write
17812 messages to minibuffer.
17814 2001-01-28 José Matos <jamatos@fep.up.pt>
17816 * buffer.C (makeDocBookFile): adds support for document language.
17817 A silly restriction on the name of LatexCommand types where removed.
17818 Added support for CDATA sections, allows to chars unescaped, used
17819 among others in code, to avoid escape < and >.
17821 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17823 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17824 saved positions instrad of a stack. Furthermore, a position is
17825 stored using paragraph id/paragraph position.
17827 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17828 Remove LFUN_REF_BACK.
17830 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17832 * converter.C (dvipdfm_options): New method.
17834 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17836 * vspace.C (isValidLength): Fix for empty input string.
17838 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17840 * LyXAction.C (init): change description of LFUN_FIGURE to
17843 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17845 * LaTeX.C: add using directive
17847 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17849 * MenuBackend.C (expand): Fix the sorting of the formats.
17851 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17853 * lyx_main.C: tiny error message fix
17855 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17857 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17858 calling fl_initialize(). This fixes the problem with ',' as
17859 decimal separator in text files.
17861 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17863 * trans.C (process): Fix the keymap bug.
17865 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17867 * LaTeX.C (scanAuxFiles): New method. Provides support for
17868 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17869 (scanLogFile) Scan for "run BibTeX" messages.
17871 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17872 OT1 font encoding. Also, load the aecompl package if the ae
17875 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17877 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17879 * texrow.C (increasePos): turn two error messages into debug
17882 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17884 * LaTeX.C (scanAux): Handle the \@input macro.
17885 (runBibTeX): Use scanAux().
17887 * language.C (latex_options_): New field.
17889 * LaTeXFeatures.C (getMacros): Add language macros.
17891 * buffer.C (makeLaTeXFile): Small fix.
17893 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17895 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17897 * text2.C: add a using directive.
17899 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17904 * lyxfunc.C: kill LyXBell.
17906 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17908 * text.C (IsBoundary): Remove the error message
17910 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17912 * lyxrc.C (setDefaults): Correct initialization value for
17915 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17917 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17920 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17921 and GotoNextNote().
17923 * src/LyXAction.C: Added reference-next.
17925 * text.C (InsertChar): Use contains instead of strchr.
17927 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17929 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17931 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17932 alignment commands (when needed).
17934 * text.C (InsertChar): Add ':' to number separator chars.