2 2005-07-16 André Pönitz <poenitz@gmx.net>
4 * paragraph.h (getChar): remove asserts as the same kind of security
5 can be achieved by using a suitable standard library implementation
6 and the function was in the critical path (25.9% in profiler)
8 2005-07-16 Juergen Vigna <jug@lyx.org>
10 * cursor.C (bruteFind2):
11 * bufferview_funcs.C (coordOffset):
12 * text.C (cursorX,cursorY): Handle cursor position after last char
13 in row before a inset which uses a whole row.
15 2005-07-15 José Matos <jamatos@lyx.org>
17 * output_plaintext.[Ch] (writeFileAscii): control reference title
19 (asciiParagraph): noparbreak was already deal and was incorrectly
22 2005-07-15 Juergen Vigna <jug@lyx.org>
24 * lyxfunc.C (dispatch): save and restore the cursor after a
27 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
29 * text.C (backspace): bug 806 for empty keepempty paragraphs we
30 change the layout to default before letting DEPM do its thing.
32 * paragraph_funcs.C (breakParagraph): dont reset the layout on
35 * text.C (setCursorFromCoordinates): add a debug statement
37 * text2.C (getColumnNearX): bug 1825 make sure that we don't
38 return a pos that is not on the row
40 * output_latex.C (TeXDeeper): get rid of potential dereferencing
41 of past the end iterator
43 2005-07-14 André Pönitz <poenitz@gmx.net>
45 * undo.C (recordUndoFullBuffer): implement undo for
48 2005-07-14 André Pönitz <poenitz@gmx.net>
50 * cursor.C (setSelection): open insets when selection is set there
51 to avoid crashs with cold coord cache
53 2005-07-14 André Pönitz <poenitz@gmx.net>
55 * trans_mgr.C (insert): move cursor to the right after inserting
58 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
60 * BufferView_pimpl.C (update): dampen some of the debug blabbering
61 * factory.C (readInset): ditto
62 * text.C, text2.C: ditto
64 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * buffer.C: format incremented to 242. There is no file format per
67 se, but the "frenchb" language has been removed from lib/language
68 and has to be translated to "french" by lyx2lyx.
70 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
72 * cursor_slice.h, dociterator.h: add some documentation
73 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
75 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
77 * text.C (leftMargin): do not add identation to display() style
78 insets, because they are always centered (bug 1293).
80 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
82 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
83 formatted_time methods in support/lyxtime.
85 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
87 * toc.[Ch]: new method getGuiName, which is used by the frontends
88 to set the toc combo (fixes bug 1870). Make TOC string translatable.
90 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
92 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
93 StableDocIterator const &)
94 * undo.C (recordUndo): use the above instead of cell.size() comparison
95 (fixes bug 1808; instructed by André).
97 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
100 * dociterator.h: Fix the assert when copying rows/cols in math
102 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
104 * BufferView_pimpl.C:
106 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
108 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
109 (findInset): new functions, refactored from goto Inset that return
110 the position of a certain inset without setting the buffer's cursor
112 (gotoInset): rewrite to call findInset and then set the cursor
115 2005-06-16 Angus Leeming <leeming@lyx.org>
117 * lyxrc.C (output, read): wrap all input and output of paths with
118 calls to os::internal_path and os::external_path, respectively.
119 (output): wrap bind_file inside quotes.
121 * format.C (view): enable the viewer to use the '$$s' placeholder.
123 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
125 * LColor.[Ch] (getFromLaTeXName): new
127 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
129 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
131 2005-06-14 Angus Leeming <leeming@lyx.org>
133 * lyx_main.C (init): ensure that the LyX binary dir is the first
134 element in the PATH on non-POSIX builds.
136 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
140 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * rowpainter.C (paintInset, paintHebrewComposeChar)
143 (paintArabicComposeChar, paintChars): add a LyXFont argument.
144 (paintChars): use getFontSpan to reduce calls to getFont to a
145 minimum; use Paragraph::lookupChange instead of isXXXText.
146 (paintForeignMark): rename LyXFont argument.
147 (paintFromPos): pass a LyXFont object to the various paintXXX
150 * FontIterator.C (FontIterator, operator++): use
151 Paragraph::getFontSpan
153 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
154 version that returns the font span as a pair.
156 2005-06-09 Angus Leeming <leeming@lyx.org>
158 * converter.C (convert): Don't forget "outfile = real_outfile" as
159 the final step in a conversion where the input and output file names
160 are the same. Otherwise, future conversion steps won't work...
162 2005-06-09 Angus Leeming <leeming@lyx.org>
164 * lyxsocket.C: remove stub code as it isn't needed by
165 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
167 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
170 effectively disabled -x
172 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
174 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
175 when it actually makes sense.
177 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
179 * BufferView_pimpl.C: revert to showCursor in connection with
180 Lars's front-end stack
182 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * text.C (redoParagraph): move cursor right after a bibitem
187 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
189 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
191 * buffer_funcs.C (bufferErrors): fix computation of the end of an
194 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
196 * BufferView.[Ch] (update):
197 * BufferView_pimpl.[Ch] (update, metrics):
198 * dimension.h (operator==):
199 * lyxfunc.C (dispatch):
200 * metricsinfo.h (ViewMetricsInfo):
201 * rowpainter.C (paintText):
203 * text.C (redoParagraph):
204 * text3.C (dispatch): Make LyX only repaint current paragraph in
205 case of character insert --> speedup. Also fix cursor draw
208 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
211 avoid a crash (bug 1891)
213 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * text2.C (getStringToIndex): constify cur argument.
219 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
220 argument has been given
221 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
222 try to invoke LFUN_INSET_APPLY).
224 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
225 if no inset was created by doInsertInset
226 (doInsertInset): return true if an inset has been inserted.
228 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * vspace.C (asGUIName): new method. A version of the space
231 suitable for showing on screen.
233 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
236 * lyxrc.C: rename "ASCII" to "Plain Text"
238 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * buffer_funcs.C (expandLabel): take a Buffer as argument;
241 translate the labelstring.
242 (setCounter): translate labelstring as needed.
244 * output_docbook.C (makeCommand): fix expandLabel invokation
246 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
248 * BufferView.C: fix dialog title
250 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * lyx_main.C (priv_exec): fix logic error with help from Angus
253 * lyx_main.C (parse_execute): set is_gui = false and remove now
254 obsolete comment about a segfault
256 2005-05-18 Angus Leeming <leeming@lyx.org>
258 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
260 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
262 * tabular.[hC]: added setCellInset to fix tabular paste.
264 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
266 * buffer.C (save): check if destination is writable before trying
269 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
271 * BufferView_pimpl.C (update): fix processEvents -caused update
274 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * buffer_funcs.C (setCounter): fix test for numbering of
279 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
280 depth correctly; use optional argument when it exists
282 * lyxtextclass.C: remove unused MaxCounterTags enum
283 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
284 (max_toclevel, min_toclevel): new methods.
286 * MenuBackend.C (expandToc2): fix case where depth is smaller than
287 the smallest depth in toc.
289 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
290 layouts that should not appear in a table of contents.
292 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
294 * cursor.h (undispatched, noUpdate): add comments from André
296 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
300 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
302 2005-05-07 André Pönitz <poenitz@gmx.net>
304 * cursor.[Ch] (leaveInset): new function
306 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
308 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
310 2005-05-04 Angus Leeming <leeming@lyx.org>
312 * lyxfunc.C (getStatus): disable the spell checker dialog if
313 none of USE_[AIP]SPELL are defined.
315 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
317 * tabular.C (setWidthOfCell): remove obsolete comment
319 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
321 * paragraph.C (bibitem):
322 * buffer_funcs.C (setCounter):
323 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
325 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
327 * text3.C (getStatus): immediately return after setOnOff
329 * rowpainter.C: fix drawing of appendix start
331 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
333 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
334 SwitchBetweenClasses and remove the unused return value.
335 Handle character styles, too
337 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
339 * factory.C (createInset): handle undefined character styles
341 2005-05-02 Angus Leeming <leeming@lyx.org>
343 * buffer.C: protect the #include of utime.h with a preprocessor
346 2005-05-02 Angus Leeming <leeming@lyx.org>
348 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
349 function so that auto-saving works, albeit in a blocking manner.
351 * Makefile.am: make compilation of the client sub directory, of
352 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
353 on conditionals set at configure time.
355 * SpellBase.[Ch]: no longer an abstract base class. Instead,
356 it can be compiled in its own right but has no-op functionality.
358 * aspell.C, pspell.C: remove preprocessor guards. The files should
359 be compiled only if the necessary functionality exists.
361 * lyxserver.C, lyxsocket.C: disable on Windows.
363 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
365 * text.C (leftMargin): Fix the parindent use bug (1764)
368 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
370 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
373 2005-04-25 Angus Leeming <leeming@lyx.org>
381 include <config.h> in .C files, not .h ones.
383 protect headers inside preprocessor guards.
385 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * FuncStatus.h (StatusCodes): document
389 2005-04-21 André Pönitz <poenitz@gmx.net>
391 * FuncStatus.h (enabled, onoff): document
393 2005-04-19 Angus Leeming <leeming@lyx.org>
395 * BufferView_pimpl.C (cursorToggle): no longer test whether
396 any child processes have been reaped before calling
397 handleCompletedProcesses().
399 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
401 * text3.C (dispatch): fix, finally fix, the language problem in
402 new lyxtexts, without disabling on-the-fly font changes (Helge's
405 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
407 * text3.C (dispatch): set cursor on double/triple click events
410 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
413 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
415 * rowpainter.C (paintFirst): simplify the code a little bit. In
416 particular, remove the test for secnumdepth.
417 * text.C (setHeightOfRow): only allocate space for chapter number
418 when updateCounters provided an actual label, instead of looking
419 at secnumdepth directly.
421 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
423 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
424 paragraphs when secnumdepth is large enough or, for environments,
425 when they are not the first in a sequence.
427 2005-04-17 Angus Leeming <leeming@lyx.org>
429 * buffer.C (makeLaTeXFile): replace code to manipulate a path
430 containing space and '~' characters with a call to latex_path().
432 2005-04-17 Angus Leeming <leeming@lyx.org>
434 * converter.C (convert): protect all args of convertDefault.sh
437 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * text3.C (dispatch): change the layout to "Caption" after inserting
442 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
444 * text3.C (dispatch): fix language problem in newly created
445 textinsets (and main text) in non-english docs
447 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
449 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
450 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
451 * text3.C (getStatus): disable LFUN_INSET_MODIFY
453 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
458 * rowpainter.C (getFont): Fix metrics bug introduced by inset
461 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
463 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
464 output of \item arguments without trailing text.
466 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * FontIterator.C (operator*): avoid a copy of the font.
470 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
472 * rowpainter.C (getFont): fix language bug from previous fix
474 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
476 * rowpainter.C (RowPainter, getFont): fix font inside inset
479 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
481 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
482 preventing inserted font, deco, delim insets jumping to start of
485 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * lyxfunc.C (dispatch): translate message before sending it to the
490 2005-03-29 Angus Leeming <leeming@lyx.org>
492 * lyx_main.C (priv_exec): call os::internal_path on each file passed
493 to LyX on the command line.
495 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
497 * vc-backend.C: use QuoteName to protect file names wherever
500 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
503 * BranchList.h: fix bugs 1844,1845: document settings don't
506 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 * lyxrc.C (setDefaults, read, output, getDescription): add support
509 for tex_allows_spaces.
511 * exporter.C (Export): allows files in directory containing spaces
512 if tex_allows_spaces is true.
514 * buffer.C (makeLaTeXFile): if the document path contains spaces,
515 output it in double quotes.
517 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
519 * rowpainter.C: use default text height for drawing change tracker
522 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
524 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
526 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
529 directory is missing.
531 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
533 * text2.C: fixed the fix, extended to other case.
535 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
537 * text2.C: fix for cursor up/down stuck in math [bug 1792]
539 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
541 * text2.C (cursorUp): get rid of a crash
542 * text.C (x2pos): add an assert
544 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * lyxfunc.C (getStatus): fix warning when assertions are disabled
550 * dociterator.C: include <boost/current_function.hpp>, which is
551 needed when assertions are disabled.
553 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
555 * text2.C: fix for stuck cursor when traversing two
556 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
558 2005-02-25 Andreas Vox <avox@arcor.de>
560 * output_docbook.C (makeParagraph): suppress trailing newline
561 after a run of paragraphs
563 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
565 * paragraph.C: fix for confused change tracker when pasting
566 text that begins with a lineseparator. [bug 1827]
567 (setChange(0, Change::INSERTED);)
569 * paragraph_funcs.C: fix for lost changes on triple-paste
570 in change tracking mode [bug 1827] (par.setChange()).
572 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * text2.C (updateCounters, setCounter, expandLabel): move to
577 * buffer_funcs.C (updateCounters): turn into a free standing
578 function and add a buffer parameter. Remove dead code for tracking
580 (setCounter): change into a free-standing function which gets a
581 dociterator as argument. Use this iterator to fix captions in a
582 simple way. When no float is found above the caption, use the
583 labelstring of the caption layout as default.
585 * text.C (breakParagraph, backspace):
586 * text2.C (init, setLayout, changeDepth):
587 * text3.C (dispatch):
588 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
591 * dociterator.C (forwardPar): make it much faster by calling
592 forwardPos() only when really necessary.
594 * output_docbook.C (makeCommand): adapt to expandLabel move.
596 * cursor.C: remove unused variable
598 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
600 * paragraph_funcs.C: fix crash when pasting insets in change
601 tracking mode [bug 1277] (honour change type in moveItem).
603 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
605 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
607 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * BufferView.C (setCursor): change to use a DocIterator.
610 (gotoLabel): use BufferView::setCursor (other part of bug 781).
611 (putSelectionAt): adapt to BufferView::setCursor change.
613 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
614 moved here from LyXText and rewritten to use proper cursor
615 methods. Fixes bug 1787, 616 and 835.
617 * BufferView_pimpl.C (restorePosition): set the cursor correctly
618 when inside an inset (part of bug 781).
619 (dispatch): adapt to change of BufferView::setCursor.
620 (getStatus, dispatch): handle LFUN_GOTOERROR,
621 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
623 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
624 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
625 * text3.C (gotoNextInset, gotoInset): removed.
627 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
631 2005-02-15 Angus Leeming <leeming@lyx.org>
633 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
634 can be used meaningfully in a comparison.
636 2005-02-13 André Pönitz <poenitz@gmx.net>
638 * bufferview_funcs.C (coordOffset): improve cursor drawing
640 2005-02-13 André Pönitz <poenitz@gmx.net>
642 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
643 * Cursor.C (dispatch): use fixIfBroken
644 * lyxfunc.C (getStatus): use fixIfBroken
646 2005-02-15 Angus Leeming <leeming@lyx.org>
648 * lyx_main.C (error_handler):
650 * lyxrc.C (setDefaults):
652 #include "environment.h".
654 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
656 2005-02-15 Angus Leeming <leeming@lyx.org>
658 * lyxserver.C (startPipe): squash MSVC warning "local variable
659 'fd' used without having been initialized".
661 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
663 * BufferView_pimpl.C: revert accidental commit.
665 2005-02-14 André Pönitz <poenitz@gmx.net>
667 * dociterator.[Ch]: new member forwardPosNoDescent(),
668 which doesn't enter nested insets.
669 * text2.C (setFont): use forwardPosNoDescent() instead
670 of ForwardPos() (fixes crash on font change).
672 2005-02-13 Angus Leeming <leeming@lyx.org>
674 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
675 only if lyxrc.path_prefix is not empty.
677 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
679 * bufferparams.C (readGraphicsDriver): prevent crash
681 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
683 * text2.C (setCounter): check for inInset() == 0
685 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
687 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
688 but use update() to get correct screen display; use convert
689 instead of istringstream.
690 (getStatus): handle LFUN_GOTO_PARAGRAPH
692 * lyxfunc.C (dispatch, getStatus): do not handle
693 LFUN_GOTO_PARAGRAPH here.
695 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
697 * text3.C (dispatch): size() -> depth()
699 * text2.C: remove some debug output
701 * paragraph.C: ws changes only
703 * lyxfunc.C (getStatus): size() -> depth()
705 * dociterator.h (clear, push_back, pop_back, internalData,
706 operator[], resize, empty): new functions
707 Make StableDocIterator and operator== be friends. Don't inherit
708 from std::vector use a privat class variable slices_ instead.
711 * dociterator.C: update because of not inheriting from std::vector
712 anymore. Call explictly to slices_ instead. Use depth() instead of
713 size() and top() instead of back()
715 * cursor.C: chagne size() -> depth and back() -> top(). Also
716 remove some direct operator[](i) calls in favour of foo[i]
717 (getFont): remove some dead code
719 * bufferview_funcs.C (coordOffset): size() -> depth()
721 * buffer.C: ws changes only
723 * CutAndPaste.C (eraseSelection): back() -> top()
725 * BufferView_pimpl.C (selectionRequested): back() -> top()
727 * BufferView.C (setCursor): size() -> depth()
729 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
731 * text3.C (cursorPrevious): return true if depm changed something
733 (dispatch): rename sl to oldTopSlice, remove moving use the new
734 NoUpdate func attrib instead. Make sure that needsUpdate is set
735 for function that have NoUpdate, but where depm might have changed
738 * text2.C (cursorLeft): make us return true if depm changed
741 (cursorUpParagraph): ditto
742 (curosrDownParagraph): ditto
743 (cursorUp, cursorDown): ditto, make sure to read comments in code
744 (deleteEmptyParagraphMechanism): remove an assert, also return
745 true if just a single char was deleted.
747 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
748 cursor that we modify, to avoid modifying an active cursor before
749 we call setCursor. This allows depm to run. Also return true if
750 depm deleted something.
752 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
753 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
754 cursorDownParagraph, cursorPrevious and cursorNext, return true if
755 something was changed in the buffer because of them (ie. depm run)
757 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
758 debug messages. Make update by default be false. Make sure that
759 the result of update is retained throught several calls down to
762 * LyXAction.h: add a new func_attrib: NoUpdate
764 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
765 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
766 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
768 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
770 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
773 bv_->owner(), bv_->buffer() by direct references to the private
775 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
776 (getStatus): isSavedPosition() is in BufferView::Pimpl.
777 (fitCursor): center() is in BufferView::Pimpl.
778 (getStatus, trackChanges, dispatch): no need for a temporary buf
780 (fitCursor, workAreaDispatch): use workarea().workheight()
782 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
784 * CutAndPaste.C (pasteSelectionHelper): fix a crash
786 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
788 * buffer.C: format up to 241.
789 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
790 break if pasting into ERT
791 * lyxfunc.C (getStatus): suppress mathpanel and
792 LFUN_DIALOG_SHOW_NEW_INSET in ERT
794 2005-02-01 Angus Leeming <leeming@lyx.org>
796 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
798 2005-02-01 Angus Leeming <leeming@lyx.org>
800 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
801 calling fs::is_directory().
803 2005-01-31 Angus Leeming <leeming@lyx.org>
805 * lyx_main.C (priv_exec): specify explicitly the relative location
806 of the top level build directory when run in-place.
808 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
811 LyXText containing the cursor, not the top-level one.
813 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
815 (insertStringAsLines): rename par to pit; use temporary variable
816 par to hold a Paragraph; do not store par.layout() in a variable,
817 since the pointer may die when breaking paragraphs; pass pars to
818 breakParagraph() instead of Buffer::paragraphs().
820 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
822 * lyxlex_pimpl.h: #include <fstream>.
824 * BufferView.[Ch] (getLyXText): add a const version.
826 * BufferView_pimpl.C: add debug aids.
831 * paragraph_funcs.h: add commentary explaining what the class does.
834 * coordcache.[Ch]: add lots of commentary.
835 (startUpdating, doneUpdating): debug aids.
836 (arrays, insets, parPos, getParPos): accessors to private data.
838 * cursor_slice.[Ch] (text): add a const version.
839 * dociterator.[Ch] (text, innerText): add const versions.
841 * lyxtext.h (breakParagraph): change the keep_layout arg to a
844 * paragraph.C (getRow, pos2ros): add asserts.
846 * paragraph.h: add commentary. Lots of.
848 * paragraph.[Ch] (metrucs, draw): removed.
851 * rowpainter.[Ch]: const-correct changes.
853 * text.C: various obvious clean-ups. Removal of ancient cruft.
856 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
858 * vc-backend.C (find_file): rewrite to use boost.filesystem
861 * main.C (main): set default name check for boost.filesystem to
864 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
867 (actOnUpdatedPrefs): ditto
869 * lyx_main.C (init): rewrite to use boost.filesystem
870 (queryUserLyXDir): ditto
872 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
873 (getContentsOfAsciiFile): ditto
875 * lastfiles.C (readFile): rewrite to use boost.filesystem
877 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
879 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
882 * buffer.C (Buffer): adjust for destroydir
883 (getLogName): rewrite to use boost.filesystem
885 (save): use fs::copy_file (from fs_extras)
887 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
889 * LaTeX.C (run): rewrite to use boost.filesystem
890 (scanAuxFiles): ditto
891 (handleFoundFile): ditto
893 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
895 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
897 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
899 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
901 * lyxlayout.[Ch]: change some vars from float to double
903 * buffer.C (readFile): make a local var const
905 * Several files: use convert<> instead of atoi,strToXXX and friends
907 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
909 * LaTeXFeatures.[Ch]: Add a static list packages_ that
910 holds the contents of packages.lst. New functions getAvailable
911 and isAvailable to parse and check that list, resp.
915 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
917 * bufferparams.[Ch]: new param output_changes.
919 * Buffer.C: increase file format to 240.
920 Use output_changes and isVailable.
924 * paragraph_pimpl.C: Use output_changes and isVailable.
926 2005-01-23 Angus Leeming <leeming@lyx.org>
928 * output_latex.C: #include "insetbibitem.h", rather than
929 forward declare function bibitemWidest.
931 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
933 * lyx_main.C (init): make it compile on the Mac.
935 2005-01-20 Angus Leeming <leeming@lyx.org>
937 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
938 (setLyXMisc): (char string literal) != (char string literal) is
939 performing a comparison on the addresses. Convert one operand
940 explicitly to string to guarantee expected behaviour.
943 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
946 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
948 * output_plaintext.C: remove unneeded #include gzstream.h.
950 2005-01-20 Angus Leeming <leeming@lyx.org>
952 * SpellBase.h: rename some of the elements of the Result enum.
959 * pspell.C (check): ditto
961 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
963 * buffer.C: add #include <fstream>.
965 * lyx_main.C (init): Compile fix.
967 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
969 2005-01-20 Angus Leeming <leeming@lyx.org>
971 * mover.h: change commentary to reflect the changed meaning of
974 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
976 * output_linuxdoc.C (linuxdocParagraphs): silence warning
978 * lyxfind.C (MatchString::operator()): remove bogus semicolon
980 2005-01-20 Angus Leeming <leeming@lyx.org>
982 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
983 printing diagnostic data by not dereferecing an iterator past the
986 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
988 * buffer.C (readHeader): use "&&" rather than "and".
990 * lyxserver.h (inPipeName, outPipeName): make these const.
992 2005-01-19 Angus Leeming <leeming@lyx.org>
994 * lyx_main.C (error_handler, init): protect SIGHUP with
995 #ifdef SIGHUP guards.
997 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
999 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1001 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1003 * text.C (setHeightOfRow): add a margin at the top and bottom of
1004 the document (bug 1761)
1006 2005-01-17 Angus Leeming <leeming@lyx.org>
1008 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1009 with "python ". Workaround for a brain-dead Windows.
1011 2005-01-16 Angus Leeming <leeming@lyx.org>
1013 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1014 for MacOSX and Windows to use prependEnvPath.
1015 Strip out the hard-coded block to add elements to the PATH for
1016 MacOSX and replace it with a call to prependEnvPath using the
1017 contents of LyXRC::path_prefix.
1018 (queryUserLyXDir): strip out the code to run reconfigure, instead
1019 returning a boolean indicating the necessity to do so.
1020 (reconfigureUserLyXDir): contains the code to reconfigure the
1021 user support directory. Is now called after the various LyXRC data
1022 files have been read.
1024 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1026 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1028 * converter.[Ch] (convert): take a new parameter try_default. Use
1029 a default converter (imagemagick) if try_default is true.
1031 2005-01-13 Angus Leeming <leeming@lyx.org>
1033 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1034 os::cygwin_path_fix.
1035 (write): output LyXRC::cygwin_path_fix as necessary.
1037 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1040 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1042 2005-01-12 Angus Leeming <leeming@lyx.org>
1044 * lyx_main.C (init): set the PATH variable to include the
1045 directory containing the LyX binary when running on Mac or Windows.
1047 2005-01-12 Angus Leeming <leeming@lyx.org>
1049 * lyx_main.C (init): remove cruft that purports to set the locale
1050 dir. It doesn't and is not needed anyway.
1052 2005-01-10 Angus Leeming <leeming@lyx.org>
1054 * Makefile.am: remove the lyx_main.C special casing.
1056 * BufferView_pimpl.C:
1062 * messages.C: use support/package.h to provide the paths to the
1063 various directories used by LyX.
1065 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1067 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1068 layout if pasting into an empty paragraph)
1070 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1072 * tex-accent.C: add <string>
1074 2005-01-06 José Matos <jamatos@lyx.org>
1076 * ParagraphParameters.C (write): put every parameter in its own line.
1077 * paragraph.C (write): reduce number of consecutive empty lines exported.
1078 * buffer.C (LYX_FORMAT): increase file format to 239.
1080 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1082 * everywhere: change support/tostr.h -> support/convert.h
1084 * tabular.C: make all write_attributes templates, tostr -> convert
1086 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1087 (emptyTag): and -> &&, and fix type for ret from getChar
1088 (getFirstWord): fix type for ret from getChar
1089 (onlyText): and -> &&
1090 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1093 * toc.C (goTo, action):
1094 * text3.C (dispatch):
1095 * text.C (currentState):
1096 * tex-accent.C (DoAccent):
1099 * lyxfunc.C (menuNew):
1100 * lyxfinc.C (replace):
1101 * counters.C (laberItem):
1102 * bufferview_funcs.C (font2string):
1103 * bufferparams.C (writeFile):
1104 * buffer.C (readFile):
1106 * MenuBackend.C: tostr -> convert
1108 * LaTeX.C (runMessage): fix format
1109 (scanAuxFiles): tostr -> convert
1111 * BufferView_pimpl.C (savePosition): fix format
1112 (restorePosition): ditto
1115 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1117 * Spacing.[Ch]: New method getValueAsString().
1121 * ParagraphParameters.C:
1124 * text3.C: store/read spacing value as string.
1126 * rowpainter.C: change float value (spacing_val) to double.
1128 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1129 broken custom document spacing).
1131 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1133 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1134 namespace, also more use of temp references and const
1136 * cursor.[Ch] (getStatus): move to lyxfunc.C
1138 * bufferparams.C: reformat slightly
1140 * bufferview_funcs.C (font2string): constify arg
1146 * buffer_funcs.C: (many funcs): constify arg on function
1147 definitions, also make more local vars const, also add ASSERTS on
1150 * buffer.C (LYX_FORMAT): put const in correct place
1151 (many funcs): constify arg on function definitions, also make
1152 more local vars const
1154 * aspell_local.h: remove "struct" from typdef setup
1156 * aspell.C (check): make word_ok const
1157 (nextMiss): simplify slightly
1160 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1162 * lyxrc.[Ch]: store all float values as strings.
1163 use int (not float) for lyxrc.dpi.
1165 2005-01-04 Angus Leeming <leeming@lyx.org>
1167 * lyx_cb.C (Reconfigure):
1168 * lyx_main.C (queryUserLyXDir):
1169 to run the <system_lyxdir>/configure correctly on Windows, prefix
1170 the path to the script with "sh " when generating the string that
1171 is passed to system().
1173 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1175 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1177 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1179 * lyxlength.C (asLatexString): get rid of setprecision
1181 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1183 * text2.C (setLayout): remove unused variable endpit.
1184 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1186 * paragraph.C (onlyText): remove unused variable style.
1188 * cursor.C (bruteFind): remove unused variables beg and end.
1190 * Makefile.am (dist_noinset_DATA): not needed anymore
1192 * cheaders/*: remove.
1194 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * text3.C: fix LFUN_MATH_MODE.
1198 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1200 * buffer_funcs.C (countWords): new function. Counts words between
1203 * BufferView_pimpl.C (getStatus, dispatch): handle
1206 * LyXAction.C (init):
1207 * lfuns.h: add LFUN_WORDS_COUNT.
1209 2004-12-19 Angus Leeming <leeming@lyx.org>
1211 * buffer.C (save): s/slashify_path/internal_path/.
1213 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1215 * lyxfind.C (findChange): do not search for end of pars, because
1216 the change tracker cannot handle this (fixes bug 1719).
1218 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1220 * paragraph.[Ch] (autoBreakRows): remove
1222 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1224 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1225 avoid using the paragraph one
1227 * text2.C (LyXText, insertStringAsLines): adjust
1229 2004-12-16 Angus Leeming <leeming@lyx.org>
1233 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1235 2004-12-14 Angus Leeming <leeming@lyx.org>
1237 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1239 * bufferlist.C (emergencyWrite):
1240 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1243 2004-12-14 Angus Leeming <leeming@lyx.org>
1245 * main.C: (main): no longer pass pointers to os::init.
1247 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1249 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1250 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1252 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1255 * text3.C: remove selection_possible global flag
1257 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1259 * text2.C (getSelectionSpan): remove
1260 (changeDepth, changeDepthAllowed): adjust
1262 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1264 * Makefile.am (BOOST_LIBS): use boost variables
1266 2004-12-03 José Matos <jamatos@lyx.org>
1268 * buffer.C: format up to 238.
1270 2004-12-03 José Matos <jamatos@lyx.org>
1272 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1274 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1276 * cursor.C (goUpDown): remove call to idxUpDown2
1278 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1280 * tabular.[Ch]: use size_t-like types for cell, row and column
1283 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1285 * lyxfunc.C (getStatus): do not lose previous information when
1286 calling BufferView::getStatus; do not set a default "Command
1287 disabled" message at the beginning, but just before returning.
1289 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1291 * cursor.h (getStatus): add better comment from src/cursor.C
1293 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1295 * text3.C (getStatus): return false when the lfun is not handled
1297 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1299 * broken_headers.h: remove
1301 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1303 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1305 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1306 offset_ref accessors
1308 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1309 top_y_, merge fitcursor with update
1310 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1312 (metrics): introduce
1313 (workAreaDispatch): adapt to new coord scheme
1314 (redoCurrentBuffer): remove
1316 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1318 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1321 * coordcache.[Ch]: add paragraph cache and helpers
1323 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1326 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1327 (targetX, setTargetX): introduce
1329 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1330 baseline -> ascent, as the rest of lyx
1332 * lyxtext.h: remove redoParagraphs, updateParPositions,
1333 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1334 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1335 have ascent/descent (ascent is ascent of first par)
1337 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1340 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1342 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1344 * pariterator.C: fix infinite loop introduced in par->pit renaming
1346 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1347 in insets and LyXText, draw two off-screen paragraphs using
1348 NullPainter, and adapt to new coord scheme
1352 * text3.C: adapt lfun handlers to the new coord scheme, which
1353 means: there's only guaranteed coord information for onscreen pars
1354 plus one above and one below. This implies that one can do search
1355 from y coordinates in the range [-1,workHeight]
1357 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1359 * rename a lot of InsetOld to InsetBase
1361 2004-11-25 Angus Leeming <leeming@lyx.org>
1363 * BufferView_pimpl.C:
1365 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1367 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1369 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1370 call BufferView::getStatus if LCursor::getStatus did nothing
1371 (setStatusMessage, getStatusMessage): removed.
1373 * FuncStatus.C (message): new methods. Used to provide an error
1374 message indicating why a command is disabled.
1375 (clear, |=, FuncStatus): update for message.
1377 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1379 * lyxfunc.C (dispatch): always call sendDispatchMessage
1381 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1384 * BufferView_pimpl.C:
1389 * cursor_slice.[Ch]:
1392 * paragraph_funcs.C:
1398 * undo.C: par->pit renaming
1400 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1402 * tabular.C (cellstruct): use initialization, store a shared_ptr
1403 to insettext instead of the insettext directly, adjust to fit.
1404 (operator=): new function
1405 (swap): new function
1406 (rowstruct): use initialization
1407 (columnstruct): use initialization
1408 (ltType): use initialization
1411 * lyxlength.h (swap): new function
1413 * LColor.[Ch] (operator=): use the common semantics
1415 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1417 * lyxfind.C (findNextChange): update the bufferview after setting
1420 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1422 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1423 number of InsetOptArgs has already been inserted.
1425 * output_latex.C (latexOptArgInsets): new method. This outputs all
1426 the optarg insets, up to the limit defined in the layout file.
1427 (optArgInset): removed
1428 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1430 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1432 * paragraph.C (isLetter): remove special spellchecker-related
1433 code; return true also for digits
1434 (isWord, isKomma): remove
1436 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1437 * lyxfind.C (MatchString()): use isLetter instead of isWord
1439 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1441 * pariterator.h (operatir=): comment out un-implemented member
1444 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1447 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1449 * lyxfont.h: include LColor.h to satisfy concept checks.
1451 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1453 * pariterator.h: add typdefs for value_type, difference_type,
1454 pointer and reference to satisfy concept checks. Also add default
1455 constructor for same reason.
1457 * pariterator.C (operator++): add post-increment operator to
1458 satisfy concept checks.
1460 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1463 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1465 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1466 checks. Also rename base_type to BaseType to follow naming
1469 * FloatList.h: include Floating.h to satisfy concept checks.
1471 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1473 * lyxfunc.C (getStatus): when the origin of the request is menu or
1474 toolbar, and the LyXView does not have focus, do as if there was
1475 no buffer (bug 1720)
1477 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1478 FuncRequest to individual entries of LFUN_SEQUENCE
1480 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1482 * output_latex.C (TeXOnePar): override runparams.moving_arg
1483 according to the needprotect value of the current paragraph (bug
1486 * paragraph.C (simpleTeXOnePar): no need to override
1487 runparams.moving_args here
1489 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1491 * vspace.C: fix off-by-one-error, related to fix #1682
1493 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1495 * lengthcommon.C: a more general fix for bug 1682
1497 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1499 * text.C (backspace): fix crash
1501 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1503 * format.[Ch] (getFormatFromFile): new method
1504 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1506 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1510 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1512 * lyxfunc.C (dispatch): remove the verbose argument
1513 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1516 * kbmap.C (defkey): set the origin of func to KEYBOARD
1518 * MenuBackend.C (MenuItem):
1519 * ToolbarBackend.C (add): set the origin of func to UI
1521 * funcrequest.[Ch]: add origin member, which indicates which part
1522 of LyX requests an action
1524 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1526 * converter.C (move): don't lie in the error message
1527 * converter.h (isReachable, move): document
1529 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1531 * buffer.C: remove unused using lyx::support::atoi
1532 * paragraph_funcs.C: ditto
1534 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1536 * bufferlist.C (exists): use bind and equal_to instead of
1539 * lyxtextclasslist.C (NumberOfClass): ditto
1541 * cursor.C (insert): use for_each instead of explicit for loop
1543 * bufferlist.C (getFileNames): use std::transform and
1544 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1546 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1549 * buffer.C (changeLanguage): use for_each instead of explicit for
1551 (hasParWithID): implement using getParFromID
1553 * LaTeXFeatures.C: ws change only
1555 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1558 * BufferView_pimpl.C (trackChanges): use for_each instead of
1561 2004-11-04 André Pönitz <poenitz@gmx.net>
1564 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1566 * dociterator.C (asDocIterator): use hard assert again.
1568 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * lyxlength.C (asLatexString): rewrite so that it does not use
1573 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * text3.C (specialChar, dispatch): make sure cursor moves to the
1576 right after inserting an inset
1578 2004-11-02 José Matos <jamatos@lyx.org>
1580 * output_docbook.C (docbook):
1581 * paragraph.C (getID):
1582 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1583 garantee that the output is always legal.
1585 * tabular.C (docbook):
1586 * outputprams.[Ch]: remove mixed contents.
1588 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1590 * text2.C (setCounter): prevent endless loop
1592 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1594 * exporter.C (copyFile): use the mover instead of support::copy()
1595 * exporter.C (Export): pass format and latex name to copyFile()
1596 * exporter.h (addExternalFile): document
1597 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1599 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1601 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1603 2004-10-30 José Matos <jamatos@lyx.org>
1605 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1606 text and no inset or font change. This allows to use CDATA
1607 sections just for the whole paragraph.
1609 2004-10-30 José Matos <jamatos@lyx.org>
1611 * paragraph.C (getFirstWord): remove unused variable.
1613 2004-10-30 José Matos <jamatos@lyx.org>
1615 * paragraph.C (getFirstWord): the content should always be escaped
1617 (simpleDocBookOnePar):
1618 * output_docbook.C (makeEnvironment): replace reference to CDATA
1621 2004-10-30 José Matos <jamatos@lyx.org>
1623 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1625 2004-10-30 José Matos <jamatos@lyx.org>
1627 * output_docbook.C (makeParagraphs):
1628 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1629 standard paragraph has only a given type of content drop the wrapper.
1631 2004-10-29 José Matos <jamatos@lyx.org>
1633 * output_docbook.C (makeEnvironment):
1635 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1637 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1639 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1640 (cleanID): sanitize any id.
1642 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1644 * buffer.C, lyxlex_pimpl.C:
1645 * lyxlex_pimpl.C (setFile):
1646 s/getExtFromContents/getFormatFromContents/
1648 2004-10-28 José Matos <jamatos@lyx.org>
1650 * output_docbook.C (makeEnvironment): move id to broadest possible
1653 * sgml.C (openTag): apply substitution of <> for all attributes.
1655 2004-10-28 José Matos <jamatos@lyx.org>
1657 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1658 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1659 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1661 * sgml.[Ch]: new version for open and closeTag for paragraph and
1662 for strings. Now they handle the ids of paragraphs.
1664 2004-10-26 Angus Leeming <leeming@lyx.org>
1666 * Makefile.am: add mover.[Ch].
1668 * converter.C (convert, move): use the new Movers to move external
1669 files to the temp directory.
1671 * lyx_main.C (init): ensure that the global system_movers data
1674 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1677 * mover.[Ch]: new files, defining a Mover as a utility to move an
1678 external file between directories and, if necessary, manipulate this
1679 file using a helper script.
1681 2004-10-25 José Matos <jamatos@lyx.org>
1683 * output_docbook.C (makeCommand): merge two if's that tested the
1686 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1688 * sgml.C (escapeString): fix warning in a better way
1690 2004-10-25 José Matos <jamatos@lyx.org>
1692 * sgml.C (escapeString): import the require boosts header file for
1693 tie, and avoid a signed unsigned comparison.
1695 2004-10-25 José Matos <jamatos@lyx.org>
1697 * sgml.h: add #include <string>
1699 2004-10-25 José Matos <jamatos@lyx.org>
1701 * sgml.[Ch] (escapeString): new function to escape all the string.
1703 2004-10-24 José Matos <jamatos@lyx.org>
1705 * paragraph.[Ch] (getFirstWord): new function to get the first
1706 word. Useful for description.
1707 (simpleDocBookOnePar): remove depth argument, add another that
1708 says where to start the paragraph.
1710 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1711 use the new functions to fix cleanly the support for descriptions.
1713 2004-10-24 José Matos <jamatos@lyx.org>
1715 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1716 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1717 * output_linuxdoc.C (linuxdocParagraphs):
1718 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1719 add buffer as argument.
1721 2004-10-24 José Matos <jamatos@lyx.org>
1723 * output_docbook.C (makeEnvironment, searchEnvironment): place
1724 CDATA inside paragraphs and fix scope for listitems.
1726 2004-10-24 José Matos <jamatos@lyx.org>
1728 * output_docbook.C: remove using statement for stack.
1730 2004-10-23 José Matos <jamatos@lyx.org>
1732 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1733 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1734 docbook. The new scheme is recursive and makes use of iterators, the
1735 same as latex export works.
1736 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1737 directly with the paragraph contents. This code was moved up to
1738 output_docbook.C (docbookParagraphs).
1739 * sgml.C (openTag, closeTag): removed unneeded newlines.
1740 (closeEnvTags) removed.
1742 2004-10-23 André Pönitz <poenitz@gmx.net>
1744 * undo.C (textUndoOrRedo):
1745 * dociterator.C (asDocIterator): work around crash
1747 * cursor.C (getStatus): replace ASSERT by more verbose error message
1748 and manual correction of the problem. Should increase stability
1749 while providing more sensible information.
1751 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1753 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1755 * bufferlist.C (previous, next): new methods
1758 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1760 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1762 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1763 entities to preamble.
1765 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1767 * messages.C (Pimpl): strip off translation context information
1769 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1771 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1772 the cursor is correct (bug 1694)
1774 2004-10-13 José Matos <jamatos@lyx.org>
1776 * output_docbook.C (docbookParagraphs): fix closing tags in the
1777 end of the document.
1779 2004-10-09 José Matos <jamatos@lyx.org>
1781 * buffer.C: format up to 237.
1782 * bufferparams.C (write): use tostr to convert booleans to strings.
1784 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1786 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1788 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1790 * LaTeX.C: implement use of babel language in xindy.
1792 2004-10-05 José Matos <jamatos@lyx.org>
1794 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1795 Add new translators to help reading and writing the lyx file.
1797 2004-10-05 José Matos <jamatos@lyx.org>
1799 * ParagraphParameters.C (read):
1800 * text.C (readParToken): replace nexToken by more appropriate lex
1803 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1805 * LaTeX.C (runMakeIndex):
1806 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1807 (usually 'makeindex') configurable.
1809 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1810 with a variable rather than with a number.
1812 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1814 * output_latex.C (TeXOnePar): make sure font setting is the first
1815 thing that gets output (and the last at the end). Should fix bug
1818 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1820 * pch.h: use proper signal include
1822 * LaTeX.h: Use preferred calling of Boost.Signal
1825 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1827 * pch.h: dont include <boost/function/function0.hpp>
1829 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1831 * paragraph_pimpl.h: remove usage of ShareContainer
1833 * paragraph_pimpl.C: remove initialization of ShareContainer.
1835 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * BufferView.C (putSelectionAt): change the semantics when
1840 backwards == true: now, this just swaps cursor and anchor wrt the
1843 * BufferView.h (putSelectionAt): add some documentation
1845 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1846 make sure backwardChar is done at least once (to avoid getting
1848 (findNextChange): use putSelectionAt in the forward direction
1849 (operator()): use Paragraph::isWord
1851 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1853 * Spacing.C (set): c_str fix
1855 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1857 * lyx_cb.C (Reconfigure): quote the name of configure script in
1858 case it contains spaces
1860 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1864 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1865 (BOOST_LIBS): use top_buildir when looking for the file
1867 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1869 * pch.h: do not use include boost/format.hpp, multiple symbols
1870 will result (gcc bug)
1873 2004-08-23 José Matos <jamatos@lyx.org>
1875 * bufferparams.C (readToken): fix reading of the author field.
1877 2004-08-20 José Matos <jamatos@lyx.org>
1879 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1881 2004-08-20 José Matos <jamatos@lyx.org>
1883 * lyxlex.[Ch] (findToken): remove function.
1885 * ParagraphParameters.C (findToken):
1886 * bufferparams.C (findToken): replace call for previous function
1887 with local copy. This local function has one more argument, the
1888 read string argument.
1890 2004-08-16 José Matos <jamatos@lyx.org>
1892 * ParagraphParameters.C (write):
1893 * Spacing.C (writeFile):
1894 * bufferparams.C (writeLaTeX):
1895 * lyx_cb.C (Reconfigure):
1896 * paragraph.C (write):
1897 * tabular.C (write): remove unnecessary space at end of line.
1900 2004-08-16 José Matos <jamatos@lyx.org>
1902 * text.C (readParagraph): remove debug message.
1904 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1909 * output_plaintext.C (asciiParagraph): set depth correctly
1911 * outputparams.h: add member depth
1913 * paragraph_funcs.C (ownerPar): remove.
1915 * text2.C (setCounter): remove first_pit; comment out some
1916 non-working code that uses ownerPar
1918 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1921 2004-08-16 José Matos <jamatos@lyx.org>
1923 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1924 For the same level of importance use the same chanel to report problems.
1925 (read): add code to deal with \begin_body and \end_body.
1928 2004-08-15 José Matos <jamatos@lyx.org>
1930 * lyxlex.C (getString): fix comment, buffer::readBody is now
1931 buffer:readDocument.
1933 * tex-strings.C (string_papersize): Default -> default,
1934 Custom -> custom, for consistency with other options.
1936 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1940 * Makefile.am: support pch
1942 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1944 * text.C (readParToken): remove the static LyXFont variable and
1945 pass it as a parameter instead. This fixes a nasty bug where an
1946 inset will be inserted with a bad font in some situations
1947 (readParagraph): adapt
1949 * text2.C (setCounter): reduce number of calls to pars_[pit]
1951 * text.C (singleWidth): add an assert, fix a test
1953 * rowpainter.C (paintText): reduce number of calls to singleWidth
1955 * paragraph.C (isHfill):
1956 (isNewline): ws only
1958 2004-08-14 André Pönitz <poenitz@gmx.net>
1963 * lyxtext.h (several functions): use a Paragraph & argument
1966 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1968 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1970 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1972 * text.C (singleWidth): remove useless test
1974 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1976 * tabular.h: remove bogus comments
1978 * tabular.C (getDescentOfRow):
1979 (isPartOfMultiColumn): add assertions
1981 * lyxlength.C (inPixels): remove #warning
1983 2004-08-14 André Pönitz <poenitz@gmx.net>
1985 * paragraph.h: inline getChar()
1987 * BufferView.h: remove unused declarations
1989 2004-08-14 José Matos <jamatos@lyx.org>
1991 * Buffer.[Ch] (readDocument): new name for old readBody.
1992 * Buffer.C: new file format, new keywords: \begin_document,
1993 \begin_header, \begin_body, \end_body.
1995 * bufferparams.C (readToken): replace all calls to lex.nextToken
1996 by lex.next(). Do the same to eatLine except where really needed.
1998 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1999 line when writing to the lyx file.
2001 * output_plaintext.C (asciiParagraph): fix Bibliography style
2004 * text.C (read): fix end of file handling.
2006 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * MenuBackend.C (Menu::operator[]): new method to access
2009 individual menu items
2010 (Menu::hasFunc): new method. search for an item that corresponds
2012 (MenuBackend::specialMenu): new method
2013 (MenuBackend::expand): if a special menu has been set, skip
2014 entries whose func() appears in this menu
2016 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2018 * text3.C: use Debug::DEBUG a bit more
2020 * text.C (leftMargin): try to simplify a tiny bit change var x to
2021 l_margin. Dont output the wide margins always.
2022 (rightMargin): no margin in inner texts
2024 * rowpainter.h (nestMargin): new func
2025 (changebarMargin): new func
2026 (rightMargin): new func
2028 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2032 * factory.C (createInset): modify setDrawFrame
2034 * cursor.C: use Debug::DEBUG a bit more
2036 2004-08-14 André Pönitz <poenitz@gmx.net>
2039 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2040 cache for all insets in (at least partially) visible (top-level)
2043 * BufferView_pimpl.C: reset external coord cache before every update.
2044 This means the coord cache only contains valid entries.
2046 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2049 * BufferView_pimpl.C (getInsetByCode): move function out of class
2050 and change in to a template in anon namespace. Also fix to do what
2053 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2056 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2058 (breakParagraph): rename par to par_offset and use a local
2059 reference. Add code to keep the language over a rebreak.
2060 (breakParagraphConservative): rename par to par_offset, use a
2062 (mergeParagraph): ditto
2064 (isFirstInSequence): ditto
2065 (outerFont): rename pit to par_offset
2067 * paragraph.C: ws change
2068 * paragraph.h: ditto
2072 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2074 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2077 * paragraph.C (simpleTeXOnePar): when we have a \item with
2078 optional argument, enclose the argument with curly brackets (in
2079 case it contains a closing square bracket)
2083 * text3.C (checkInsetHit): constify
2085 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2088 documents (bug 1629)
2090 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2092 Fix toggling of collapsable insets with the mouse (bug 1558)
2094 * lyxfunc.C (dispatch): adapt to LCursor changes
2096 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2097 make sure that dispatch is not invoked twice
2099 * cursor.C (needsUpdate): new method
2100 (dispatch): return void
2101 (result): new method, to access the DispatchResult of the cursor.
2103 2004-08-13 José Matos <jamatos@lyx.org>
2105 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2107 2004-08-13 André Pönitz <poenitz@gmx.net>
2109 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2111 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2114 2004-08-12 André Pönitz <poenitz@gmx.net>
2116 * text3.C: take out the 'cursor right' form insertInset and only
2117 do it in those places when it is really needed. Fixes crash on
2120 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2122 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2124 * BufferView_pimpl.C (setBuffer): initialize the current font of
2125 the underlying LyXText
2127 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2129 * kbsequence.C (print): use UI native formatting for menu
2132 * text.C (insertChar): call Paragraph::insertChar with a font
2135 * paragraph.C (insertInset, insertChar): the version that takes a
2136 LyXFont argument is now a wrapper around the other one (the
2137 opposite used to be true).
2139 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2140 argument. Font setting is done in Paragraph now.
2142 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * outputparams.h: add new members intitle and lang.
2146 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2147 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2149 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2151 * text3.C (dispatch): remove special handling of button 4 and 5,
2152 it is now taken care of in the frontend code.
2154 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2156 * Spacing.h: add <string> (STLPort compile fix)
2158 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2160 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2162 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2164 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2167 * converter.C (showMessage): inherit from unary_function, make
2170 * buffer.C (writeFile): initialize retval
2172 * InsetList.h: rename private variable list to list_
2173 * InsetList.[Ch]: adjust accordingly.
2175 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2177 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2178 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2179 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2180 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2181 * ParagraphParameters.C, LaTeXFeatures.C: replace
2182 "support/std_sstream.h" with <sstream>
2184 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2186 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2187 * lyxsocket.C (LyXServerSocket): ditto
2188 (serverCallback): ditto
2190 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2192 * LaTeXFeatures.C: check release date when loading jurabib.
2194 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2196 * lyxserver.C (startPipe): call register_socket_callback
2197 (endPipe): call unregister_socket_callback
2199 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2201 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2202 (LyXServerSocket): register the callback
2203 (LyXServerSocket): unregister the callback
2204 (fd): delete function
2205 (serverCallback): improve error checking and setup the callbacks.
2206 (dataCallback): change arg to fd.
2207 (writeln): new func (copied fro the client socket) used for server
2209 (LyXDataSocket): simplify
2210 (~LyXDataSocket): close ann unregiser callback
2211 (server): delete function
2212 (fd): delete function
2213 (readln): small changes, improve some std::string usage
2214 (writeln): constify a bit
2216 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2221 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2223 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2224 after it has been populated
2226 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2228 * text2.C (insertInset): move cursor when inserting inset.
2230 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2232 * kbmap.C (findbindings): a couple of new methods. returns a
2233 container of kb_sequence objects. The real work is done by the
2234 private recursive version
2235 (printbindings): uses findbindings to print out a bracketed list
2236 of bindings (renamed from findbinding).
2238 * MenuBackend.C (binding): use kb_keymap::findbindings
2240 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2242 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2244 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2246 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * paragraph.C (isWord): return true on insets that report
2251 * text.C (getWord): use Paragraph::isWord to decide what is in a
2252 word and what is not; fix bug 1609.
2254 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2256 * tex-strings.C: add "none" to string_paperpackages[], fixes
2257 off-by-one-error in the paperpackage selection.
2260 * tex-strings.[Ch]: char const * string[n]
2261 -> char const * const string[]
2263 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2266 command, return early.
2268 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2270 * debug.h: add DEBUG to enum and fix size of ANY.
2272 * debug.C: add support for Debug::DEBUG
2273 (showTags): cast errorTags.level to unsigned int
2275 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2276 (redoCurrentBuffer): ditto
2277 (updateScrollbar): ditto
2278 * cursor.C (dispatch): ditto
2279 * text2.C (setLayout): ditto
2281 (updateCounters): ditto
2283 (deleteEmptyParagraphMechanism): ditto
2285 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2287 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2288 annotations to cleanup the Makefile slightly.
2290 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * lyxrc.C: do not set user_email to a default value but use empty
2293 instead. The entry used to be translated, which does not work
2294 since at the point where lyxrc is constructed there is no
2295 translation service available
2297 * messages.C (getLocaleDir): remove and use directly
2298 lyx_localedir() instead
2300 2004-06-02 Angus Leeming <leeming@lyx.org>
2302 Fix crash caused by dereferencing null pointer 'exportdata' in
2303 OutputParams by creating a new ExportData variable on the heap,
2304 storing it in a boost::shared_ptr.
2305 The crash was triggered when generating an Instant Preview
2306 of an external inset.
2308 * Makefile.am: add outputparams.C
2310 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2311 (c-tor): allocate memory to it.
2313 * exporter.C (c-tor): associated changes.
2315 2004-06-01 Angus Leeming <leeming@lyx.org>
2317 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2318 contains data before calling isInset(0). (Bug 1513.)
2320 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2322 * exporter.C (checkOverwrite): new method
2323 * exporter.C (copyFile): new method
2324 * exporter.C (Export): copy referenced files to the document dir
2325 * exporter.[Ch]: new class ExportedFile
2326 * exporter.[Ch]: new class ExportData. Contains currently the
2327 names of referenced external files
2328 * outputparams.h: add exportdata member.
2330 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2332 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2335 2004-05-19 Angus Leeming <leeming@lyx.org>
2340 * lyxfunc.C: small changes due to the introduction of namespace
2341 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2343 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2345 * text3.C (dispatch): supress update when only moving the cursor
2346 * cursor.C (selHandle): remove commented code
2348 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2350 * paragraph.C (startTeXParParams): correct column count
2351 * CutAndPaste.C (pasteSelection): remove const_cast
2352 * output_docbook.C (docbookParagraphs): remove const_cast
2353 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2354 const_cast and return ParagraphList::const_iterator
2355 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2356 * output_plaintext.C (writeFileAscii): remove const_cast
2357 * paragraph.[Ch] (simpleTeXOnePar): make const
2358 * paragraph_funcs.C (outerPar): use const iterators
2359 * paragraph_pimpl.C (validate): use const iterators
2360 * text.C (setHeightOfRow): use const iterators
2362 2004-05-17 Angus Leeming <leeming@lyx.org>
2365 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2367 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2368 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2369 if the citation engine has changed.
2371 2004-05-14 José Matos <jamatos@lyx.org>
2373 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2374 if the textclass does not provide it. Have it different for sgml and
2376 support the language of document.
2377 * output_docbook.C (docbookParagraphs):
2378 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2379 first anchor as the id of the paragraph, remove special case code.
2380 * sgml.C (escapeChar): escape only < & >.
2382 2004-05-14 Angus Leeming <leeming@lyx.org>
2384 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2385 dependencies on src/frontends/controllers/biblio.h. Define a
2386 CiteEngine_enum wrapper class to enable the enum to be forward
2389 2004-05-12 Angus Leeming <leeming@lyx.org>
2391 * buffer.C: up LYX_FORMAT to 234.
2392 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2393 use_numerical_citations with a single biblio::CiteEngine cite_engine
2395 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2397 2004-05-13 José Matos <jamatos@lyx.org>
2400 * converter.C (Converter, readFlags): add xml member.
2401 * outputparams.h: add XML flavor.
2402 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2404 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2406 * lyxfunc.C (dispatch):
2407 (getStatus): fix handling of LFUN_SEQUENCE
2409 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2411 * debug.C (showLevel): do not forget the end-of-line marker
2413 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2415 * kbmap.C (read): do not stop parsing a bind file when an error
2418 2004-04-29 Angus Leeming <leeming@lyx.org>
2423 * text2.C: wrap a bunch of #warning statements
2424 inside #ifdef WITH_WARNINGS blocks.
2426 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2428 * buffer.C: increment format to 233.
2430 2004-04-28 Angus Leeming <leeming@lyx.org>
2432 * BufferView_pimpl.C:
2435 s/updateToolbar()/updateToolbars()/
2436 s/Toolbar.h/Toolbars.h/
2438 2004-04-28 Angus Leeming <leeming@lyx.org>
2440 * BufferView.[Ch] (c-tor):
2441 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2442 No longer passes these data to the WorkArea generator.
2444 2004-04-28 Angus Leeming <leeming@lyx.org>
2446 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2448 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2450 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2452 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2454 * output_latex.C (TeXEnvironment): make sure that there is a line
2455 break before \end{foo} for the last paragraph of a document
2456 (TeXOnePar): if the paragraph is at the end of the document (or
2457 inset) and the language has to be reset, then make sure that the
2458 line break is _before_ the language command, not after (fixes bug
2459 1225); also make sure that the language reset command is the first
2460 thing after the paragraph (to ensure proper nesting of
2461 environments and thus fix bug 1404)
2463 2004-04-21 John Levon <levon@movementarian.org>
2466 * ToolbarBackend.C: make "name" be a programmatic name
2467 and a gui_name field.
2469 * lyxfunc.C: display the minibuffer on M-x
2471 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2473 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2476 2004-04-19 Angus Leeming <leeming@lyx.org>
2478 * BufferView_pimpl.C (setBuffer): changed preview interface.
2480 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2483 2004-04-19 John Levon <levon@movementarian.org>
2485 * BufferView_pimpl.C:
2486 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2488 2004-04-05 Angus Leeming <leeming@lyx.org>
2490 * text.C (redoParagraphs): add call to updateCounters(), thereby
2491 fixing the missing "Figure #:" label from the caption of a
2494 2004-04-13 Angus Leeming <leeming@lyx.org>
2496 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2497 cursor is clicked out of an inset.
2499 2004-04-13 Angus Leeming <leeming@lyx.org>
2501 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2502 than an InsetOld one.
2504 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2506 * format.[Ch]: add editor to Format
2507 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2508 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2510 2004-04-08 André Pönitz <poenitz@gmx.net>
2512 * metricsinfo.h: remove PainterInfo::width member
2514 2004-04-08 Angus Leeming <leeming@lyx.org>
2516 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2517 "\providecommand" rather than "\newcommand", thereby preventing
2518 clashes with packages that define "\boldsymbol" themselves.
2521 2004-04-08 Angus Leeming <leeming@lyx.org>
2523 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2524 thereby squashing an unnecessary warning.
2526 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2528 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2531 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2533 * BufferView.C (setCursor): call redoParagraph (some insets could
2535 (putSelectionAt): remove the 'double update' trick
2537 * BufferView_pimpl.C (fitCursor): call refreshPar
2538 (workAreaDispatch): remove an uneeded update call
2539 (dispatch): remove some manual update calls
2541 * cursor.[Ch]: remove cached_y_, updatePos
2542 (selHandle): set noUpdate when appropriate
2544 * lyxfunc.C (dispatch): track if we need an update
2546 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2548 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2549 (paintSelection): cheap optimization, do not call cursorX when not
2551 (paintPars): change signature
2554 (paintTextInset): adjust
2558 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2560 * lengthcommon.C: compilation fix: remove explicit array size from
2561 unit_name[] and friends
2563 2004-04-05 Angus Leeming <leeming@lyx.org>
2565 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2567 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2568 present only for the preferences dialog.
2569 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2571 2004-04-05 Angus Leeming <leeming@lyx.org>
2573 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2574 to enable the frontends to export changes to lyxrc correctly.
2576 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2578 2004-04-07 André Pönitz <poenitz@gmx.net>
2580 * cursor.[Ch] (selClear, adjust): remove math
2582 * cursor_slice.C: more agressive assert
2585 * BufferView_pimpl.C: rework mouse event dispatch
2592 2004-04-05 André Pönitz <poenitz@gmx.net>
2594 * cursor.[Ch] (valign, halign...): remove unneeded functions
2596 2004-04-05 Angus Leeming <leeming@lyx.org>
2598 * lyxlength.[Ch] (unit_name et al.): const-correct.
2600 2004-04-05 Angus Leeming <leeming@lyx.org>
2602 * BufferView_pimpl.C:
2611 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2613 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2615 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2617 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2619 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2620 * BufferView_pimpl.[Ch] (getStatus)
2621 * BufferView.[Ch] (getStatus): add
2622 * lyxfunc.C (getStatus): move lfuns handled in
2623 BufferView::dispatch to te function above
2624 * Cursor.C (setSelection): set selection() = true
2626 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2628 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2630 2004-03-31 Angus Leeming <leeming@lyx.org>
2632 * lyxfunc.C (dispatch): Fall through to the generic
2633 Dialogs::show("preamble").
2635 2004-03-31 Angus Leeming <leeming@lyx.org>
2637 * lyxfunc.C (dispatch): Fall through to the generic
2638 Dialogs::show("spellchecker").
2640 2004-03-31 Angus Leeming <leeming@lyx.org>
2642 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2645 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2650 * insetiterator.[Ch]:
2655 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2657 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2659 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2660 insets where we are putting the cursor.
2662 2004-03-31 Angus Leeming <leeming@lyx.org>
2665 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2667 * lyxrc.[Ch] (read, write): overloaded member functions taking
2668 a std::[io]stream arguments.
2670 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2672 2004-03-31 Angus Leeming <leeming@lyx.org>
2674 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2675 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2677 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2678 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2680 2004-03-31 Angus Leeming <leeming@lyx.org>
2682 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2683 the LFUN_ALL_INSETS_TOGGLE code.
2685 2004-03-30 Angus Leeming <leeming@lyx.org>
2687 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2688 has died. Fall through to the generic Dialogs::show("document").
2690 2004-03-30 Angus Leeming <leeming@lyx.org>
2693 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2694 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2696 * lyxfunc.C (getStatus, dispatch): define the actions for these
2697 lfuns. Little more than a cut and pste job from ControlDocument.C
2699 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2701 2004-03-30 Angus Leeming <leeming@lyx.org>
2704 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2705 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2707 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2708 open/closed state of ollapsable insets. Usage:
2710 all-inset-toggle <state> <name>, where
2711 <state> == "open" || "closed" || "toggle" and
2712 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2714 * lyxtext.h, text2.C (toggleInset): removed.
2716 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2717 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2718 now passes LFUN_INSET_TOGGLE to the found inset.
2720 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2721 is now invoked as "all-insets-toggle toggle branch".
2723 2004-03-30 Angus Leeming <leeming@lyx.org>
2727 * pariterator.[Ch]: added/corrected header blurb.
2729 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2731 * dociterator.[Ch]: add an inset_ member
2732 (backwardPos): implemented
2733 (backwardPos, forwardPos): use inset_ when the stack is empty.
2734 (doc_iterator_begin, doc_iterator_end): implemented
2735 * pariterator.[Ch]: adjust, add begin, end
2736 * insetiterator.[Ch]: adjust, add begin, end
2740 * BufferView_pimpl.C:
2741 * CutAndPaste.C: adjust
2743 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2745 * buffer.C: increment file format to 232.
2746 * LaTeXFeatures.C: add bibtopic package.
2747 * bufferparams.[Ch]: param \use_bibtopic.
2749 * lyxrc.[Ch]: add lyxrc bibtex_command
2750 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2752 * buffer.C: increment file format to 231.
2754 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2756 * dociterator.C: implement forwardPar
2757 * iterators.[Ch]: remove, replaced by
2758 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2760 * BufferView_pimpl.C:
2763 * bufferview_funcs.C:
2769 * Makefile.am: adjust
2771 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2773 * CutAndPaste.C (pasteSelection): fix 2 crashes
2774 (eraseSelection): fix a crash
2775 * paragraph_funcs.C: remove a warning
2777 2004-03-28 Angus Leeming <leeming@lyx.org>
2780 * LyXAction.C (init): new LFUN_PRINT.
2782 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2784 2004-03-27 Angus Leeming <leeming@lyx.org>
2787 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2789 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2791 2004-03-27 Angus Leeming <leeming@lyx.org>
2793 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2794 insetlist always contains non-null pointers to insets.
2796 2004-03-26 Angus Leeming <leeming@lyx.org>
2798 * src/BufferView_pimpl.C:
2799 * src/CutAndPaste.C:
2802 * src/output_plaintext.C:
2803 * src/outputparams.h:
2804 * src/paragraph_funcs.C:
2808 * src/frontends/controllers/ControlErrorList.C:
2809 * src/frontends/gtk/FileDialogPrivate.C:
2810 * src/frontends/gtk/GPainter.C:
2811 * src/frontends/gtk/GToolbar.C:
2812 * src/frontends/qt2/QRef.C:
2813 * src/mathed/math_scriptinset.C: squash compiler warnings.
2815 2004-03-26 Angus Leeming <leeming@lyx.org>
2817 * ispell.C (LaunchIspell::start):
2818 * lyx_cb.C (AutoSaveBuffer::start):
2819 invoke run(DontWait) rather than runNonBlocking().
2821 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2823 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2825 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2827 * kbsequence.C (print): adjust
2829 * kbmap.C (printKeySym): rename and change signature
2830 (printKey): use LyXKeySym::print()
2832 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2834 * undo.C: add using std::advance to compile for stlport
2836 2004-03-24 Angus Leeming <leeming@lyx.org>
2838 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2839 it leads to a crash when no buffer is present.
2841 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2842 Martin Vermeer <martin.vermeer@hut.fi>
2844 * lyxfunc.C (dispatch):
2845 * bufferparams.C (readToken): use the new LColor::setColor
2847 * LColor.[Ch] (setColor): new version that takes two strings as
2848 argument and creates a new color entry if necessary
2850 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2852 * buffer.C (makeLaTeXFile): if the main latex file that is
2853 processed is usually a subdocument of some master, then pretend
2854 for a while that it is actually the master
2856 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2858 * buffer.C (getLabelList):
2859 (getBibkeyList): use getMasterBuffer()
2860 (getMasterBuffer): new method. Returns the main document in the
2861 case where one is using included documents.
2863 2004-03-25 André Pönitz <poenitz@gmx.net>
2867 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2869 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2871 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2872 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2874 * ParameterStruct.h: merge with ParagraphParameters
2876 * lyxtext.h: remove LyXText::parOffset() and getPar()
2878 * text3.C: Remove all 'manual' update calls. We do now one per user
2879 interaction which is completely sufficient.
2883 * BufferView_pimpl.C:
2884 * FontIterator.[Ch]:
2886 * ParagraphParameters.[Ch]:
2891 * cursor_slice.[Ch]:
2898 * output_docbook.[Ch]:
2899 * output_latex.[Ch]:
2900 * output_linuxdoc.[Ch]:
2901 * output_plaintext.[Ch]:
2903 * paragraph_funcs.[Ch]:
2904 * paragraph_pimpl.[Ch]:
2912 * frontends/controllers/ControlDocument.C:
2913 * frontends/controllers/ControlErrorList.C:
2914 * frontends/controllers/ControlSpellchecker.C:
2917 * insets/insetbase.h:
2918 * insets/insetbibitem.C:
2919 * insets/insetbox.C:
2920 * insets/insetbranch.C:
2921 * insets/insetcaption.C:
2922 * insets/insetcharstyle.C:
2923 * insets/insetcharstyle.h:
2924 * insets/insetcollapsable.C:
2925 * insets/insetcollapsable.h:
2926 * insets/insetert.C:
2927 * insets/insetfloat.C:
2928 * insets/insetfoot.C:
2929 * insets/insetmarginal.C:
2930 * insets/insetnote.C:
2931 * insets/insetoptarg.C:
2932 * insets/insettabular.C:
2933 * insets/insettext.C:
2934 * insets/insettext.h:
2935 * insets/insetwrap.C:
2936 * mathed/math_mboxinset.C:
2937 * mathed/math_nestinset.C:
2938 * mathed/math_scriptinset.C:
2939 * mathed/math_scriptinset.h:
2942 2004-03-24 Angus Leeming <leeming@lyx.org>
2944 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2945 deal with any child processes that have finished but are waiting to
2946 communicate this fact to the rest of LyX.
2948 2004-03-24 Angus Leeming <leeming@lyx.org>
2950 64-bit compile fixes.
2952 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2953 (c-tor): pass lyx::pos_types rather than ints.
2955 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2958 * text.C (Delete): compile fix.
2959 (getPar): ensure that function declaration is the same as that in
2962 2004-03-23 Angus Leeming <leeming@lyx.org>
2964 * ispell.C (LaunchIspell):
2965 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2966 a boost::shred_ptr rather than a std::auto_ptr.
2968 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2970 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2971 handle LFUN_FILE_INSERT_*
2973 * lyxrc.C (setDefaults, getDescription, output, read):
2974 * lyxrc.h: remove ps_command
2976 2004-03-22 Angus Leeming <leeming@lyx.org>
2978 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2979 Ensure that error_handler is processed once only and that all data
2980 is saved before attempting to output any warning messages.
2982 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2984 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2986 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2988 2004-03-19 André Pönitz <poenitz@gmx.net>
2990 * cursor.[Ch] (reset): take main text inset as argument
2992 * BufferView: adjust
2993 * BufferView_pimpl.C: adjust
2995 * paragraph.[Ch]: fix completely broken operator=()
2997 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2999 * LColor.C (getFromLyXName): make sure that the color name is used
3002 2004-03-17 Angus Leeming <leeming@lyx.org>
3005 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3007 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3008 dialog and to kill a forked process.
3010 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3012 * text2.C (setCursorFromCoordinates): fix font problem
3014 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3016 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3017 bogus "rebuild cursor" code
3019 2004-03-11 André Pönitz <poenitz@gmx.net>
3021 * buffer.[Ch]: use InsetText instead of LyXText as container for
3024 * dociterator.[Ch]: drop the BufferView * member which is not needed
3025 anymore after the change to buffer.C
3027 * paragraph_funcs.C:
3031 * BufferView_pimpl.[Ch]:
3033 * cursor_slice.[Ch]: adjust
3035 * text3.C: fix bug in mathDispatch
3037 2004-03-08 André Pönitz <poenitz@gmx.net>
3039 * undo.[Ch]: use 'StableDocumentIterator' as base for
3042 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3045 * bufferparams.[Ch]: add jurabib support and param.
3047 * LaTeX.C: add FIXME/comment.
3049 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3051 * buffer.C: increment file format to 230.
3053 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3055 * cursor.C (dispatch): avoid infinite loops
3057 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3059 * rowpainter.C (paintSelection): fix x coordinates
3061 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3063 * text.C (rowBreakPoint): fix breaking before displayed insets
3065 2004-03-01 André Pönitz <poenitz@gmx.net>
3067 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3069 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3073 * BufferView_pimpl.C:
3081 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3087 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3088 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3090 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3092 * Bidi.[Ch] (computeTables): const correctness
3093 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3094 fill_hfill, fill_label_hfill and x from Row
3095 * lyxtext.h: prepareToPrint returns a RowMetrics
3096 * rowPainter.C: adjust
3097 * text.C (prepareToPrint): use width, not textWidth. adjust
3098 (redoParagraphInternal, cursorX): adjust
3099 * text2.C (getColumnNearX): adjust
3100 (init): put a default value to the top LyXText::width
3102 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3104 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3106 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3108 * lyxtext.h: add FontIterator class
3110 * text.C (FontIterator, operator*, operator->, operator++): add
3111 (rowBreakPoint, setRowWidth): adjust (fixing a
3114 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3116 * BufferView_pimpl.C (workAreaDispatch): allow also
3117 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3119 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3121 * text.C (rowBreakPoint): fix a bug showing with very large insets
3123 2004-02-25 André Pönitz <poenitz@gmx.net>
3126 * cursor.[Ch]: move some mathed specific code to mathed
3128 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3130 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3131 use_tempdir in preferences
3132 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3134 * lyx_main.C: ensure that tempdir is valid
3135 * lyxlex.h: correct typo
3136 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3137 * paragraph.[Ch] (isMultiLingual): make const
3138 * cursor.[Ch] (openable): make const
3140 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3142 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3144 2004-02-20 André Pönitz <poenitz@gmx.net>
3146 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3148 * cursor.[Ch]: prepare for localized getStatus()
3154 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3156 2004-02-20 André Pönitz <poenitz@gmx.net>
3158 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3160 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3162 * text2.C (setCursorFromCoordinates): switch to absolute coords
3164 (cursorDown): adjust
3165 * text3.C (dispatch): adjust
3167 2004-02-16 André Pönitz <poenitz@gmx.net>
3169 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3172 * cursor_slice.[Ch]: remove unneeded acessor function
3174 * lyxtext.h: rename rtl() to isRTL()
3182 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3184 * rowpainter.C (paintSelection): coord fix
3186 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3188 * Spacing.C: compile fix
3190 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3192 * cursor.C (dispatch): restore current_ before returning
3194 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3196 * text2.C (cursorUp, cursorDown): fix coords
3199 2004-02-12 André Pönitz <poenitz@gmx.net>
3204 * text3.C: add LCursor & parameter to most cursor movement functions
3205 remove usage of LyXText::cursorRow() and cursorPar()
3207 * cursor.[Ch]: add textRow() needed members
3210 * BufferView_pimpl.C:
3213 * BufferView_pimpl.C: adjust
3215 2004-02-11 André Pönitz <poenitz@gmx.net>
3219 * BufferView_pimpl.C: shift undo/redo handling
3221 * cursor.[Ch]: fix mathed crash
3224 * lyxtext.h: move selectionAsText to LCursor
3232 * rowpainter.C: fix excessive drawing
3234 2004-02-06 André Pönitz <poenitz@gmx.net>
3237 * BufferView_pimpl.[Ch]:
3238 * text3.C: move some text specific LFUN handling
3240 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3242 * text3.C (checkInsetHit): adjust coords
3243 * text2.C (getColumnNearX): adjust coords
3244 (edit): adjust coords
3245 * text.C (getRowNearY): add two asserts
3247 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3250 * format.C: add using std::distance to compile on gcc 2.95/stlport
3252 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3254 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3256 2004-02-04 André Pönitz <poenitz@gmx.net>
3258 * BufferView.[Ch] (insertInset):
3259 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3264 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3266 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3267 on the default clause of the switch
3268 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3269 wasn't catched by LCursor::dispatch
3271 2004-02-03 André Pönitz <poenitz@gmx.net>
3274 * cursor.[Ch]: some additional asserts
3276 * undo.[Ch]: remove LyXText dependency in interface
3280 * lyxtext.h (firstPar, lastPar): remove dead functions
3285 * paragraph.[Ch]: adjust
3287 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3289 * lyxfind.C (find): fix argument order in call to ::find
3291 2004-02-02 André Pönitz <poenitz@gmx.net>
3293 * cursor.[Ch]: remove direct access to anchor
3295 * text.C: remove findText() hack
3297 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3299 * iterators.[Ch] (lockPath): remove in favour of...
3300 * BufferView.[Ch] (setCursor): this addition
3301 * BufferView.C (putSelectionAt): adjust
3302 * undo.C (performUndoOrRedo): adjust
3303 * lyxfunc.C (dispatch): adjust
3305 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3307 * iterators.C (lockPath): add a missing slice
3308 * undo.C (performUndoOrRedo): remove redundant positioning code
3310 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3312 * vc-backend.C (scanMaster): ";" -> ';'
3314 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3316 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3317 std::binary_function
3319 * lyxtextclass.C (compare_name): rename to...
3320 (LayoutNamesEqual): ...this
3322 * lyxlex_pimpl.C (compare_tags): inherit from
3323 std::binary_function, put back into anon namespace
3325 * lyxfind.C (MatchString): inherig from std::binary_function
3326 (findChange): use empty() istead of !size()
3328 * format.C (FormatNamesEqual): new functor
3335 * converter.C (compare_Converter): rename to...
3336 (ConverterEqual): ...this, and fixup a bit.
3337 (getConverter): use it, and make function const
3338 (getNumber): use it, and make function const
3342 * bufferlist.C: add using boost::bind
3344 * MenuBackend.C (MenuNamesEqual): new functor
3345 (hasMenu): use it, and make function const
3346 (hasSubmenu): use nested bind to get rid of compare_memfun.
3348 2004-01-30 André Pönitz <poenitz@gmx.net>
3350 * BufferView_pimpl.C:
3353 * cursor_slice.[Ch]:
3356 * paragraph_funcs.C:
3357 * paragraph_funcs.h:
3361 * text3.C: move some of the edit(x,y) handling to the insets
3362 some coordinate changes.
3364 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3366 * text.C: add using statements for std::advance and std::distance
3368 * paragraph.C: add using statement for std::distance
3370 * lyxfind.C: add using statement for std::advance
3372 * cursor.C (region): remove std:: from swap
3373 (openable): use nucleus in stead of operator->
3375 * BufferView.C: add using statements for std::distance and std::swap
3377 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3379 * iterators.C: Remove the pimple, move the needed structures to
3380 the header file. Create accessor for the positions stack.
3381 (asPosIterator): remove function
3383 * PosIterator.C (PosIterator): move constructors to top of file
3384 (PosIterator): reimplement the constructor taking a ParIterator in
3386 (setFrom): new function
3387 (operator!=): inline it
3389 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3391 * lyxfind.C (replaceAll): use std::advance
3393 * iterators.h: inherit from std::iterator.
3395 * PosIterator.C (advance, distance): remove
3396 * PosIterator.h: interit from std::iterator.
3398 2004-01-26 André Pönitz <poenitz@gmx.net>
3401 * BufferView_pimpl.[Ch]:
3405 * bufferview_funcs.C:
3415 * output_linuxdoc.C:
3416 * output_plaintext.C:
3418 * paragraph_funcs.[Ch]:
3419 * paragraph_pimpl.[Ch]:
3425 * text3.C: more IU: dumps most of the rest of the mathcursor
3426 implementation into cursor.[Ch]; "globalize" a bit of it.
3428 2004-01-25 Angus Leeming <leeming@lyx.org>
3430 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3432 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3434 * LaTeXFeatures.h: add nice_ and nice() const
3435 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3437 2004-01-20 André Pönitz <poenitz@gmx.net>
3440 * BufferView_pimpl.C:
3442 * bufferview_funcs.C:
3444 * cursor_slice.[Ch]:
3455 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3456 LCursor and mathcursor parts to LCursor and InsetBase.
3458 2004-01-15 André Pönitz <poenitz@gmx.net>
3460 * cursor_slice.[Ch]: add a few covienience functions
3462 * funcrequest.[Ch]: remove BufferView * member
3464 * BufferView_pimpl.C:
3471 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3473 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3475 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3476 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3478 2004-01-13 André Pönitz <poenitz@gmx.net>
3481 * lyxtext.h: hide cursor and selection anchor behind accessor function
3484 * BufferView_pimpl.[Ch]:
3486 * bufferview_funcs.C:
3496 * cursor_slice.[Ch]: some integer type changes for inset unification
3498 * lyxcursor.[hC]: remove, it's CursorSlice now.
3501 * BufferView_pimpl.[Ch]:
3502 * bufferview_funcs.C:
3508 * textcursor.[Ch]: adjust
3510 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3512 * text2.C (undoSpan): add and use
3513 * text.C (breakParagraph): use undoSpan (fix bug 578)
3516 2004-01-08 Angus Leeming <leeming@lyx.org>
3518 * BufferView_pimpl.C (MenuInsertLyXFile):
3519 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3520 * lyxfunc.C (menuNew, open, doImport):
3521 FileFilterList change to the FileDialog open and save functions.
3523 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3525 * ShareContainer.h: make isEqual and isUnique adaptable
3527 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3529 2004-01-07 Angus Leeming <leeming@lyx.org>
3532 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3534 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3536 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3537 functions replacing find, replace and replaceAll.
3539 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3540 LFUN_WORDFIND(FORWARD|BACKWARD).
3542 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3544 * text.C (breakParagraph): remove an outdated #warning
3546 2004-01-07 André Pönitz <poenitz@gmx.net>
3548 * lyxfind.C: somewhat clearer logic
3550 * text.C: prevent crash in cursorX on unitialized row cache
3552 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3554 * lyxcursor.[Ch] (operator>): add
3555 * textcursor.C (selStart, selEnd): use std::min and std::max
3557 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3559 * Chktex.C: include boost/format.hpp
3561 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3563 * InsetList.C: replace functor MathcIt with adaptable functor
3565 (insetIterator): modify accordingly
3567 * BranchList.h: move the BranchNamesEqual functor here from...
3568 * BranchList.C: ... to here
3570 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3572 (add): replace a finding loop with std::find_if.
3574 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3576 * output_docbook.C: moving LatexParam functionality into
3579 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3581 * buffer.C: increment format to 229.
3583 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3586 * lyx_sty.[Ch]: remove minipageindent_def
3592 * text3.C: remove LFUN_INSET_MINIPAGE
3594 2003-12-28 Angus Leeming <leeming@lyx.org>
3596 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3598 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3600 * text2.C (setParagraph): fix off-by-one crash
3602 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3604 * output_docbook.C: header stuff for AGU
3606 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3608 * text2.C (redoCursor): remove
3611 * BufferView_pimpl.C: remove calls to redoCursor and
3612 setCursor(cursor.par(), cursor.pos()) all around
3614 2003-12-15 Angus Leeming <leeming@lyx.org>
3616 * buffer.C: up the format to 228.
3618 2003-12-15 André Pönitz <poenitz@gmx.net>
3620 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3625 * BufferView_pimpl.C:
3634 2003-12-15 Angus Leeming <leeming@lyx.org>
3636 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3637 than getFromGUIName to manipulate the color.
3639 2003-12-14 Angus Leeming <leeming@lyx.org>
3641 * BranchList.[Ch]: minimize the API.
3642 (Branch::getBranch, getColor): now return a 'const &'.
3643 (Branch::setSelected) now returns a bool set to true if the
3644 selection status changes.
3645 (BranchList::clear, size, getColor, setColor, setSelected,
3646 allBranches, allSelected, separator): removed.
3647 (BranchList::find): new functions, returning the Branch with
3649 (BranchList::add, remove): return a bool indicating that
3650 the operation was successful.
3652 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3653 new InsetBranch::isBranchSlected member function.
3655 * LColor.[Ch]: mimimize the API.
3656 (fill): renamed as addColor and made private.
3657 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3658 versions of these functions taking a string arg have been removed.
3660 * bufferparams.C (readToken):
3661 * lyxfunc.C (dispatch):
3662 * lyxrc.C (read): changes due to the altered BranchList and
3665 * factory.C (createInset, readInset): changes due to altered
3668 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3671 * lyxfunc.C: remove insetminipage. "minipage-insert"
3672 now produces a frameless minipage box inset.
3674 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3676 * textcursor.[Ch] (selStart,selEnd): add new methods
3677 remove selection::start, end, use LyXCursor::operator<
3678 * lyxcursor.[Ch] (operator<): add
3679 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3680 * BufferView.[Ch] (unsetXSel): add
3681 * text2.C (clearSelection): use unsetXSel,adjust
3684 * rowpainter.C: adjust
3685 * bufferview_funcs.C (put_selection_at): adjust
3687 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3689 * BufferView_pimpl.C: small coord. correction
3691 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3693 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3694 dragging over the splash screen.
3696 2003-12-11 Angus Leeming <leeming@lyx.org>
3698 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3699 as it is now handled in LyXText::dispatch.
3701 * text3.C (doInsertInset): remove a level of nesting.
3703 2003-12-11 Angus Leeming <leeming@lyx.org>
3705 * factory.C (createInset): changes due to the changed interface to
3706 InsetCommandMailer::string2params.
3708 2003-12-10 Angus Leeming <leeming@lyx.org>
3710 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3711 'dialog-show-new-inset <inset name>'
3713 2003-12-10 Angus Leeming <leeming@lyx.org>
3715 * buffer.C: up the format to 227.
3717 * factory.C: the box inset is now identified simply by 'Box'.
3719 2003-12-10 Angus Leeming <leeming@lyx.org>
3721 * buffer.C: up the format to 226.
3723 * factory.C: the note inset is now identified simply by 'Note'.
3725 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3727 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3728 when a pit is enough. Standarize a couple of loops.
3730 2003-12-05 Angus Leeming <leeming@lyx.org>
3732 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3733 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3734 data to the re-worked "log" dialog.
3736 2003-12-03 André Pönitz <poenitz@gmx.net>
3742 * paragraph_funcs.C:
3744 * text2.C: use Inset::getText instead of Inset::getParagraph
3746 2003-12-03 André Pönitz <poenitz@gmx.net>
3750 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3751 InsetText::read() as LyXText::read()
3753 2003-12-02 Angus Leeming <leeming@lyx.org>
3755 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3756 type. Add a comment in the implementation that the function uses
3757 the stream's bad() function rather than fail() as the std::streams
3760 2003-12-02 André Pönitz <poenitz@gmx.net>
3762 * lyxlex.[Ch]: make interface more similar to std::stream
3764 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3766 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3768 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3770 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3772 * vspace.[Ch]: remove VSpace::NONE
3774 2003-12-01 André Pönitz <poenitz@gmx.net>
3777 * lyxtext.h: move ParagraphList member to LyXText
3778 rename LyXText::ownerParagraphs to LyXText::paragraph
3781 * bufferview_funcs.C:
3791 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3793 * undo.C: fix cursor positioning
3795 2003-12-01 John Levon <levon@movementarian.org>
3797 * BufferView_pimpl.C: fix a crash on exit with
3800 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3802 * BranchList.C: fix setSelected() method.
3804 2003-11-28 André Pönitz <poenitz@gmx.net>
3806 * ParagraphParameters.[Ch]:
3807 * ParameterStruct.h: remove space above/below from Paragraph to
3810 * BufferView_pimpl.C:
3816 * paragraph_funcs.C:
3822 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3824 * factory.C: Syntax change for CharStyles
3826 2003-11-28 André Pönitz <poenitz@gmx.net>
3831 * buffer.[Ch]: move LyXText member
3833 2003-11-28 André Pönitz <poenitz@gmx.net>
3835 * BufferView.[Ch]: make LyXText * text a private member
3837 * BufferView_pimpl.C:
3848 * output_plaintext.C: cleanup
3850 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3853 * lyxtextclass.[Ch]: parametrize SGML document header
3855 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3858 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3861 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3863 * text2.C (setFont): rework using PosIterator (no more recursive)
3864 (setCharFont): no more needed
3865 (setLayout): no more selection cursors fiddling (done by redoCursor)
3866 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3867 destroy remaining ones)
3869 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3871 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3873 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3876 * text3.C: adjust + re-allow multi par depth changes
3877 * textcursor.C: simplify a bit
3879 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3885 * src/output_docbook.C:
3886 * src/output_latex.C:
3891 * src/text2.C: Introducing a number of tags parametrizing various
3892 XML formats that we may want to support
3894 2003-11-25 André Pönitz <poenitz@gmx.net>
3896 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3898 * lyxtext.h (leftMargin/rightMargin): simplify interface
3905 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3907 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3908 master file to any child files. Fixes bug 546.
3910 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3912 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3914 2003-11-24 André Pönitz <poenitz@gmx.net>
3916 * rowpainter.C: simplification
3918 * text2.C (updateCounters): remove call to redoParagraph on
3919 changed labels as this is far too expensive.
3921 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3923 * converter.C (convert): fix a crash: this function gets
3924 called with buffer == 0 from importer code.
3926 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3928 * text3.C (cursorPrevious): make sure that we do not compare
3929 iterators form different containers.
3932 * rowpainter.C (paintSelection): make sure that we do not compare
3933 iterators from different containers.
3935 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3936 iterators from different ParagraphList containers.
3939 * text2.C (LyXText): change order of initialization slightly
3940 (operator=): new function. copy all variables except cache_par_
3941 (moveUp): make sure that we do not compare iterators from
3942 different ParagraphList constainers.
3945 * text.C (firstPar): new function
3946 (lastPar): new function
3947 (endPar): new function
3949 * lyxtext.h: move things around and group public functions, public
3950 variables, private functions, private variables
3952 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3954 * factory.C: change call to InsetERT constructor to avoid
3955 additional invocation of method status
3956 * text2.C (toggleInset): remove redundant update() call
3957 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3958 instead of a Bufferview pointer
3960 2003-11-21 André Pönitz <poenitz@gmx.net>
3962 * rowpainter.C: simplification
3964 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3966 * text3.C (dispatch): make possible to extend a word/row selection
3969 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3971 * lyxtext.h: x0_,y0_ -> xo_,yo_
3972 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3973 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3974 * rowpainter.C (paintRows): paint full paragraphs
3976 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3978 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3981 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3983 * lyxtext.h: add x0_, y0_
3984 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3985 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3987 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3989 * text2.C (setCursorIntern): move the x_target update here *
3990 * text3.C: change some bv() to true/false in calls to
3991 cursorUp/Down/Right/Left
3992 * cursor.C: use helper function.
3994 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3996 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3997 * paragraph_funcs.[Ch]: correct comment
3998 * rowpainter.C: do not paint selections away from bv->cursor()
3999 Fix a long standing selection painting bug.
4000 * text3.C: generalize mouse-selection code to LyXTexts other that
4002 * textcursor.C: do not use y coords if we can use par offsets
4004 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4006 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4007 cursor position after e.g. inset insert)
4009 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4011 * lyxfind.C (replace): adjust to locking removal + some
4014 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4016 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4019 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4022 * output_docbook.C: XML sanitation: new layout
4023 parameters InnerTag and CommandDepth
4025 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4027 * BufferView_pimpl.C:
4029 * text3.C: Fix the insertion and modification of button-style
4032 2003-11-13 André Pönitz <poenitz@gmx.net>
4034 * InsetList.[Ch]: remove deleteLyXText
4036 * paragraph.[Ch]: cache beginOfBody position
4041 * text3.C: remove superfluous update() calls
4045 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4047 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4048 * BufferView.C (fitLockedInsetCursor): remove
4049 * cursor.[Ch] (getDim): add
4050 * text.C (getRowNearY): add faster version
4051 * text3.C: remove some update calls
4053 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4065 * text3.C: The Character Style /XML short element patch.
4067 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4070 * factory.C: Small step to solving 'unable to insert some insets'
4073 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4075 * cursor.[Ch] (updatePos): new function for updating the y
4076 position of the tip inset
4077 * bufferview_funcs.C (put_selection_at):
4078 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4080 2003-11-11 André Pönitz <poenitz@gmx.net>
4082 * text.C: remove big comment on invalid Paragraph pointers as it is
4085 2003-11-11 André Pönitz <poenitz@gmx.net>
4087 * text_funcs.[Ch]: merge with ...
4095 * Makefile.am: remove text_funcs.[Ch]
4097 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4099 * cursor.C (getPos): return absolute cached y coord
4101 * BufferView_pimpl.C (fitCursor): new simplistic code
4102 (workAreaDispatch): add a fitCursor call
4104 2003-11-10 André Pönitz <poenitz@gmx.net>
4107 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4109 2003-11-10 André Pönitz <poenitz@gmx.net>
4111 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4112 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4113 indicate that the cursor needs to leave an inset
4115 * lyxtext.h: remove inset locking
4117 * cursor.[Ch]: re-implement functionality provided by inset locking
4120 * BufferView_pimpl.[Ch]:
4122 * bufferview_funcs.[Ch]:
4134 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4136 * PosIterator.[Ch]: replace the stack with a vector, add inset
4138 * iterators.[C]: adjust
4140 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4142 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4144 * paragraph_funcs.C (readParToken): put the correct id in the
4145 error item, not the id of the top paragraph
4147 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4149 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4150 * bufferview_funcs.C (put_selection_at): use the above
4152 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4154 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4156 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4158 * output_linuxdoc.h:
4159 * output_plaintext.h:
4161 * output_docbook.h: add #include statements
4163 2003-11-05 José Matos <jamatos@lyx.org>
4165 * output_docbook.[Ch]:
4166 * output_latex.[Ch]:
4167 * output_linuxdoc.[Ch]:
4168 * output_plaintext.[Ch]: New files for output formats.
4169 * output.[Ch]: New file for helper functions.
4172 * paragraph_funcs.[Ch]: output functions moved to new files.
4174 * outputparams.h: rename of latexrunparams.h
4182 * paragraph_funcs.[Ch]:
4183 * paragraph_pimpl.[Ch]:
4184 * tabular.[Ch]: rename ascii to plaintext
4185 and LatexRunParams to OutputParams.
4187 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4189 * iterators.[Ch] (text): require bv argument
4190 * undo.C (recordUndo):
4191 * lyxfunc.C (dispatch):
4192 * bufferview_funcs.C (put_selection_at): adjust
4194 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4196 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4198 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4200 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4203 2003-11-04 André Pönitz <poenitz@gmx.net>
4205 * cursor.[Ch]: restructure
4208 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4210 * iterators.[Ch] (asCursor): remove
4212 * lfuns.h: remove LFUN_INSET_EDIT
4218 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4220 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4222 * lyxfind.[Ch]: complete overhaul
4223 * BufferView_pimpl.C:
4225 * paragraph.[Ch] (insert): add
4227 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4231 * text.C: remove dead spellcheck code
4233 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * dispatchresult.h: add a val setter
4237 * cursor.C (dispatch): use a tempvar for data_[i]
4239 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4241 * PosIterator.[Ch]: compile fix
4243 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4245 * text.C (cursorPar): deactivate the cursor cache
4247 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4249 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4251 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * text3.C (dispatch): adjust for new DisptchResult semantics.
4255 * lyxfunc.C (dispatch): handle update when return from
4256 Cursor::dispatch, adjust for new DispatchResult semantics.
4258 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4259 DispatchResult(true) mean to not update. Add class functions for
4260 setting dispatched and update, as well as reading.
4262 * cursor.C (dispatch): don't handle update here
4264 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4267 * trans_mgr.C: adjust
4269 * paragraph_funcs.C (readParToken): exception safety
4271 * lyxvc.h: store the vcs pointer in a scoped_ptr
4274 * lyxsocket.C (serverCallback): exception safety
4276 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4278 * ispell.C (clone): make it return a auto_ptr
4280 * factory.C (createInset): exception safety
4281 (readInset): exception safety
4283 * bufferlist.C (newBuffer): exception safety
4285 * Thesaurus.C (Thesaurus): use initialization for aik_
4287 * MenuBackend.C (expandToc): exception safety.
4289 2003-11-03 André Pönitz <poenitz@gmx.net>
4293 * bufferview_funcs.C: remove getInsetFromId()
4296 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4302 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4304 * PosIterator.C (distance, advance): new
4305 * bufferview_funcs.[Ch] (put_selection_at): new
4306 * iterators.[Ch] (lockPath): new
4308 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4310 * iterators.[Ch] (asPosIterator): added
4311 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4312 * PosIterator.[Ch]: added
4314 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * cursor.C (dispatch):
4319 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4321 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4322 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4323 contructor, add a class function dispatched. Remove operator>=
4325 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * debug.C: only use the default constructor for debugstream
4330 * main.C (main): include debug.h and setup the lyxerr streambuf
4333 2003-10-31 José Matos <jamatos@lyx.org>
4335 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4337 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4338 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4339 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4340 * paragraph_pimpl.C (simpleTeXSpecialC):
4341 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4342 add LatexRunParams argument.
4344 * exporter.C (Export): change call accordingly.
4346 * latexrunparams.h: add new member to take care of the other backends.
4347 2003-10-30 José Matos <jamatos@lyx.org>
4349 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4350 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4351 factorise code for paragraph output.
4353 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4356 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * text3.C (dispatch):
4359 * lyxfunc.C (dispatch):
4360 * cursor.C (dispatch):
4361 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4363 * dispatchresult.h: make the dispatch_result_t ctor explicit
4365 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4368 * buffer.C: small refactoring of docbook stuff
4370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4375 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4378 operator dispatch_result_t, and operators for == != and >=
4380 * cursor.C (dispatch): adjust for operator dispatch_result_t
4381 removal. comment out call to update
4383 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4385 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4396 * dispatchresult.h: new file, DispatchResult broken out of
4399 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4401 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4403 * text.C (rowBreakPoint): put a hack inside #if 0
4405 2003-10-28 André Pönitz <poenitz@gmx.net>
4409 * paragraph_funcs.C:
4412 * text2.C: general cleanup (lots of small stuff)
4414 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4416 * text2.C (cursorEnd): simple fix to the "end key goes to one
4417 before the end on last row" bug
4419 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4421 * text.C (backspace): fix the "zombie characters"
4423 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4425 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4427 2003-10-27 André Pönitz <poenitz@gmx.net>
4429 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4431 * factory.C: handle new InsetPagebreak, InsetLine
4433 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4434 and move handling into new InsetPagebreak, InsetLine
4436 * BufferView_pimpl.C:
4438 * ParagraphParameters.C:
4439 * ParameterStruct.h:
4444 * paragraph_funcs.C:
4445 * paragraph_pimpl.C:
4451 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4454 * lyxrow_funcs.[Ch]:
4460 * text3.C: remove lastPos uses in favour of Row::endpos
4462 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4464 * undo.C (performUndoOrRedo): fix two crashes by setting a
4465 cursor by hand and reordering some calls. Use bv->lockInset instead
4466 of inset->edit because the latter loses cursor information
4468 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4470 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4472 (rowBreakPoint): fix width. change point to point + 1.
4473 Add a missing check.
4475 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4478 * lyxfunc.C: fix (at least partly) the problems
4479 with the Nav menu and headers inside branch insets
4482 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4484 * paragraph.C (getChar): add strong asserts
4486 * lyxrow_funcs.C (lastPos): remove hideous hack
4488 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4489 (fill): adjust to that (avoid an infinite loop)
4491 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4493 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4495 2003-10-23 André Pönitz <poenitz@gmx.net>
4497 * RowList_fwd.h: change list<> to vector<> to gain speed
4498 after suggestion from Alfredo
4500 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4502 * lyxtext.h: move the bidi stuff from here...
4505 * Bidi.[Ch]: ... to here
4507 2003-10-23 André Pönitz <poenitz@gmx.net>
4510 * text.C (isLastRow, isFirstRow): new functions
4512 * paragraph.h: new width cache member
4514 * rowpainter.C: replace RowList::iterator with Row & where possible
4516 * lyxfunc.C: replace several view()->text with a single call
4518 * toc.C: fix 'unused' warning
4520 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4522 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4523 when woring with stream::pos_type
4524 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4526 2003-10-22 André Pönitz <poenitz@gmx.net>
4529 * text.C: use Row & instead of RowList::iterator
4531 * lyxrow.h: rename end() to endpos()
4537 2003-10-22 Angus Leeming <leeming@lyx.org>
4539 * buffer.[Ch] (fully_loaded): new member function, returning true
4540 only when the file has been loaded fully.
4541 Used to prevent the premature generation of previews and by the
4542 citation inset to prevent computation of the natbib-style label.
4544 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4545 templates are all set up.
4547 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4549 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4551 * text.C: fixed an "oops" in the "is a bit silly"
4554 2003-10-21 André Pönitz <poenitz@gmx.net>
4556 * FuncStatus.[Ch]: small stuff, whitespace
4558 * lyxfont.[Ch]: operator<<() for debug reasons
4562 * lyxtext.h: whitespace, spelling
4564 * paragraph.C: naming of variables
4567 * text2.C: small stuff
4570 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4572 * text.C: (1) finish off the inset display() work;
4573 (2) fix the "is a bit silly" bug (accessing char
4576 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4578 * text.C: re-introduce display() for insets, fixing the
4579 various bugs (stretch of line above, math inset
4582 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4584 * text.C (rightMargin): remove spurious semicolon
4586 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4589 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4591 * text3.C: fix one crash due to wrong cursor def
4593 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * vc-backend.C (scanMaster): make the regex static
4597 * LaTeX.C (scanAuxFile): make the regexs static
4599 * text3.C (doInsertInset, dispatch, dispatch):
4600 * text2.C (cursorUp, cursorDown):
4601 * text.C (selectNextWordToSpellcheck):
4602 * BufferView_pimpl.C (dispatch):
4603 * lyxfunc.C (dispatch): localDispatch -> dispatch
4605 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4607 * lyxsocket.C: include <cerrno>
4609 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * lyxfunc.C (dispatch): remove textcache stuff
4613 * bufferlist.C (release): remove textcache stuff
4616 * TextCache.C: delete file
4617 * TextCache.h: delete file
4619 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4621 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4622 delete of the bv_->text.
4623 (resizeCurrentBuffer): remove texcache stuff
4624 (workAreaResize): ditto
4626 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4628 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4631 2003-10-16 André Pönitz <poenitz@gmx.net>
4638 * text3.C: speed up by storing y positions per paragraph plus per-row
4639 offset instead of having a 'full' y position in the row.
4641 2003-10-15 André Pönitz <poenitz@gmx.net>
4645 * undo.[Ch]: make undo aware of inner insets
4647 2003-10-14 Angus Leeming <leeming@lyx.org>
4649 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4650 static member functions LyX::ref() and LyX::cref.
4651 (lastfiles): new accessor functions for the new lastfiles_ member var.
4652 (addLyXView, views_): add a new LyXView to the list of views_.
4653 (updateInset): loop over all LyXViews to call their own updateInset
4654 member function, returning a pointer to the Buffer owning the inset.
4656 * BufferView_pimpl.C (loadLyXFile):
4657 * MenuBackend.C (expandLastfiles):
4658 * bufferlist.C (MenuWrite, QuitLyX):
4659 lastfiles is no longer a global variable.
4660 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4662 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4663 static function. Access through LyX::cref().emergencyCleanup().
4665 2003-10-14 André Pönitz <poenitz@gmx.net>
4667 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4669 * undo.[Ch]: restoring part of 'undo in insets'
4672 * undo_funcs.[Ch]: merge with undo.[Ch]
4674 * tabular.C: small cleansing stuff
4676 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4678 * paragraph_funcs.C (readParToken): report unknown insets as error
4679 boxes. Use the outer paragraph as location (also for unknown
4682 * factory.C (readInset): do not abort on reading an unknown inset.
4683 Eat it and return 0.
4685 2003-10-13 Angus Leeming <leeming@lyx.org>
4687 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4689 * lyxrc.C: displayTranslator is now a function,
4690 declared in GraphicsTypes.h.
4692 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4694 * format.C: new placeholder $$a to pass the socket address.
4696 * bufferlist.[Ch]: new function getBufferFromTmp.
4698 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4699 files in the temporary dir.
4701 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4703 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4705 * Makefile.am: add lyxsocket.[Ch].
4707 * lyx_main.C (error_handler): handle SIGPIPE.
4709 2003-10-13 André Pönitz <poenitz@gmx.net>
4711 * BufferView_pimpl.C:
4716 * undo_funcs.[Ch]: use paroffset_type instead of
4717 ParagraphList::iterators to prevent multiple conversion
4718 (and get a more robust interface)
4720 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4724 * text3.C (dispatch): ditto
4726 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4729 move the onlyfile, use onlyfile instead of foundfile in a couple
4732 * DepTable.C (update): flush the error stream a bit more
4734 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * lyxserver.C (callback): adjust
4738 * lyxfunc.C (getStatus): add a missing brace in commented code
4739 (ensureBufferClean): reindent
4740 (dispatch): delete version taking a string
4742 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * LaTeX.C (deplog): move found file handlig from here...
4745 (handleFoundFile): .. to new function here.
4746 (deplog): make sure to discover several files mentioned on the
4749 2003-10-10 André Pönitz <poenitz@gmx.net>
4756 * text3.C: fix some of the tabular crashes
4758 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4760 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4762 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4764 2003-10-09 André Pönitz <poenitz@gmx.net>
4766 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4769 * BufferView_pimpl.C:
4770 * bufferview_funcs.C:
4781 * undo_funcs.C: adjust
4783 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * text2.C (incrementItemDepth): new function, use a backtracking
4786 algorithm to discover the correct item depth.
4787 (resetEnumCounterIfNeeded): new function, use a backtracking
4788 algorithm to discover if counter reset is needed.
4789 (setCounter): use them. Simplify a bit. Add different labels for
4790 different item depths for itemize.
4792 * paragraph.C (Paragraph): remove initialization of enumdepth
4795 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4796 enumerate and itemize. Change the type of itemdepth to signed char.
4798 2003-10-08 André Pönitz <poenitz@gmx.net>
4800 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4805 * tabular.[Ch]: fix crash after 'row-insert'
4807 2003-10-08 Angus Leeming <leeming@lyx.org>
4809 Fix doxygen warnings.
4811 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4812 Remove CutAndPaste:: prefix from header file declaration.
4814 * LColor.h (fill): remove LColor:: prefix from declaration.
4816 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4817 use lyx::depth_type rather than Paragraph::depth_type so that
4818 header file and .C file match.
4820 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4822 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4823 * aspell.C: \file aspell_local.C -> \file aspell.C
4824 * gettext.C: \file gettext.C -> \file src/gettext.C
4825 * gettext.h: \file gettext.h -> \file src/gettext.h
4826 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4827 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4828 * text.C: \file text.C -> \file src/text.C
4830 * toc.C: move comment so that doxygen is not confused.
4832 2003-10-07 Angus Leeming <leeming@lyx.org>
4834 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4836 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4839 * aspell_local.h: add forgotten std::string's.
4841 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4848 * text3.C: The Box patch. Fancybox support, minipage, parbox
4850 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4856 * ParagraphParameters.h:
4866 * lyxtextclasslist.h:
4869 * paragraph_pimpl.C:
4870 * textcursor.h: add <string> and other small fixes to make Lars'
4871 std::string patch compile with STLport.
4873 2003-10-06 Angus Leeming <leeming@lyx.org>
4875 * LColor.h: Add missing #include <string>.
4877 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4879 * All most all file in all subdirs: Make <string> be the prefered
4880 way of getting to std::string, add using declarations.
4882 2003-10-06 André Pönitz <poenitz@gmx.net>
4884 * metricsinfo.C: initialize LyXFont before changing attribute.
4885 (fixes the 'math in \emph is upright' bug)
4887 2003-10-06 André Pönitz <poenitz@gmx.net>
4889 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4891 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4894 * paragraph_pimpl.C: Small fixes to build using STLport
4896 2003-10-02 André Pönitz <poenitz@gmx.net>
4899 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4901 2003-10-01 André Pönitz <poenitz@gmx.net>
4903 * factory.C: assert early
4905 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * lyx_main.C: remove the global debug object
4909 * debug.h: adjust for new debugstream
4911 * debug.C: adjust for new debugstream and keep the global debug
4914 2003-09-22 Angus Leeming <leeming@lyx.org>
4916 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4917 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4918 an incomplete class LyXFont.
4920 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4922 * factory.C: bug fix in branches
4924 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * lyxfunc.C (processKeySym): adjust
4928 (dispatch): change arg name from ev to func, adjust
4929 (sendDispatchMessage): ditto
4931 * lyx_main.C (defaultKeyBindings): adjust keybindings
4932 (deadKeyBindings): ditto
4934 * kbsequence.C (addkey): return a FuncRequest
4936 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4938 * kbmap.C (bind): take a FuncRequest as arg, adjust
4941 (defkey): change to take a FuncRequest as arg, adjust
4942 (findbinding): take a FuncRequest as arg, adjust.
4944 * funcrequest.h (operator=): added
4946 * funcrequest.C (FuncRequest): default kb_action changed from
4947 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4949 * buffer.C (dispatch): simplify
4950 (dispatch): adjust to take a FuncRequest as arg, adjust
4952 * boost.C (assertion_failed): change assertion message slightly
4954 * ToolbarBackend.C (read): simplify
4956 * MenuBackend.C (binding): adjust call to findbinding, add a
4957 message if no binding is found.
4959 (expandToc): correct by adding a empty FuncRequest
4961 * LyXAction.C: include <boost/assert.hpp>
4962 (isPseudoAction): delete function
4963 (LookupFunc): change name to...
4964 (lookupFunc): this. change return type to FuncRequest.
4965 (getActionName): take kb_action as arg, simplify
4966 (funcHasFlag): add an assert, simplify.
4968 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * toc.C (action): return a FuncRequest, simplify
4972 * lyxfunc.C (processKeySym): adjust
4973 (getStatus): delete version that takes an int.
4975 (dispatch): delete version that takes action as int
4977 (sendDispatchMessage): simplify and adjust
4979 * funcrequest.C (getArg): take unsigned int as arg
4981 * ToolbarBackend.C (read): adjust
4982 (add): delete version that takes func as a string.
4983 (getIton): take a FuncRequest as arg
4985 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4988 * MenuBackend.C (MenuItem): add a new construct that only takes a
4989 Kind, simplify the constructor use for submenus.
4991 (expandLastfiles): adjust
4992 (expandDocuments): adjust
4993 (expandFormats): adjust
4994 (expandFloatListInsert): adjust
4995 (expandFloatInsert): adjust
4996 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4998 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4999 Remove class variables lyx_pseudo_map and lyx_arg_map
5001 * LyXAction.C (searchActionArg): delete function
5002 (getPseudoAction): delete function
5003 (retrieveActionArg): delete function
5004 (LookupFunc): make it return kb_action, simplify.
5005 (getActionName): simplify
5007 * factory.C (createInset): fix new bug
5009 2003-09-19 Angus Leeming <leeming@lyx.org>
5011 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5012 masterFilename_ parameter in the include inset.
5014 * factory.C (createInset): changes due to the changes to InsetInclude.
5016 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5018 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5020 2003-09-18 Angus Leeming <leeming@lyx.org>
5023 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5024 Inset::fillWithBibKeys.
5025 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5027 2003-09-18 Angus Leeming <leeming@lyx.org>
5029 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5031 (ctor): pass and store a 'Buffer const &'
5032 (buffer): new member function.
5034 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5035 '*this' to the LaTeXFeatures ctor.
5037 2003-09-18 Angus Leeming <leeming@lyx.org>
5043 * text.C: rename EnumLColor as LColor_color.
5045 2003-09-18 Angus Leeming <leeming@lyx.org>
5047 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5048 remove #include "insets/insetbase.h" from cursor.h.
5050 2003-09-18 Angus Leeming <leeming@lyx.org>
5052 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5053 InsetOld_code to remove #include "inset.h".
5055 * iterators.C: add #include "insets/inset.h"
5057 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5059 * BufferView.C: remove more locking stuff that apparently doesn't
5060 do anything sensible.
5062 2003-09-16 André Pönitz <poenitz@gmx.net>
5065 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5068 2003-09-16 Angus Leeming <leeming@lyx.org>
5070 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5072 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5075 * paragraph.h: remove #include "lyxfont.h". Forward declare
5078 2003-09-16 Angus Leeming <leeming@lyx.org>
5080 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5081 of support/textutils.h.
5082 (isWord): move the contents of support/textutils.h's IsWordChar here.
5088 * text2.C: add #include "paragraph.h".
5091 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5093 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * LaTeX.C: use namespace alias for lyx::support::os
5101 2003-09-16 Angus Leeming <leeming@lyx.org>
5104 * bufferview_funcs.C:
5107 * paragraph_pimpl.C:
5109 * text.C: add #include "LColor.h".
5111 2003-09-16 Angus Leeming <leeming@lyx.org>
5113 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5114 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5116 Store the FontBits::color variable as an int rather than as an
5117 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5120 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5121 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5122 string calls together.
5124 * lyxrc.C: add #include "LColor.h".
5126 2003-09-15 Angus Leeming <leeming@lyx.org>
5128 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5131 2003-09-15 Angus Leeming <leeming@lyx.org>
5133 * LColor.h: add an EnumLColor wrapper for LColor::color.
5135 * lyxfont.[Ch] (color, setColor, realColor):
5136 * lyxtext.h, text.C (backgroundColor):
5137 pass EnumLColor args to/from the functions, rather than LColor::color
5141 * lyxtext.h: forward declare EnumLColor.
5143 * lyx_main.C: add #include "LColor.h".
5145 2003-09-15 Angus Leeming <leeming@lyx.org>
5147 * .cvsignore: add lyx-gtk.
5149 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5154 * ParagraphParameters.C
5158 * bufferview_funcs.C
5168 * vc-backend.C: remove usage of STRCONV
5170 2003-09-15 Angus Leeming <leeming@lyx.org>
5172 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5173 explicitly define the color passed to the painter.
5175 2003-09-15 Angus Leeming <leeming@lyx.org>
5177 * bufferparams.C (BufferParams): reorder member initializers to avoid
5180 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5182 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5183 * text.C (updateRowPositions): remove an unusual nop
5185 2003-09-12 André Pönitz <poenitz@gmx.net>
5187 * BufferView_pimpl.C:
5196 * Counters.[Ch]: finish the 'automatic counters' job
5198 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5200 * aspell.C: include <boost/assert.cpp> (compile fix)
5202 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5204 * boost.C (assertion_failed): use lyx::support::abort instead of
5207 2003-09-10 Angus Leeming <leeming@lyx.org>
5209 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5210 with their _fwd progeny.
5212 2003-09-09 Angus Leeming <leeming@lyx.org>
5214 134 files throughtout the source tree: replace 'using namespace abc;'
5215 directives with the appropriate 'using abc::xyz;' declarations.
5217 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5219 * boost.C (emergencyCleanup): moved here from LAssert.c
5220 (assertion_failed): new function, called by BOOST_ASSERT
5222 * several files: change Assert to BOOST_ASSERT
5224 2003-09-09 Angus Leeming <leeming@lyx.org>
5226 * buffer.[Ch]: Add an Impl class and move Buffer's member
5227 variables into it. As a result move several header files out of
5230 Add header files to lots of .C files all over the tree as a result.
5232 2003-09-09 Angus Leeming <leeming@lyx.org>
5234 * buffer.[Ch]: make Buffer's member variables private. Add
5237 Lots of changes all over the tree as a result.
5239 2003-09-08 Angus Leeming <leeming@lyx.org>
5241 * graph.C: #include <config.h>.
5243 2003-09-08 Angus Leeming <leeming@lyx.org>
5247 * BufferView_pimpl.C:
5276 * toc.C: remove redundant using directives.
5278 2003-09-07 Angus Leeming <leeming@lyx.org>
5280 * LaTeXFeatures.h: remove #include "support/types.h".
5281 * ToolbarBackend.h: remove #include <algorithm>.
5282 * changes.h: remove #include <ctime>.
5283 * debug.h: remove #include <iosfwd>.
5284 * graph.h: remove #include "support/std_string.h".
5285 * lyx_main.h: remove #include <csignal>.
5286 * lyxlex_pimpl.h: remove #include <fstream>.
5287 * sgml.h: remove #include <algorithm>, <utility>.
5288 * toc.h: remove #include "support/std_ostream.h".
5289 Add #include <iosfwd>.
5291 2003-09-07 Angus Leeming <leeming@lyx.org>
5293 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5295 * converter.h: forward declare LatexRunParams.
5296 * encoding.h: remove #include "lyxrc.h".
5297 * lyxtext.h: remove #include "LColor.h".
5298 * lyxtextclass.h: remove #include "support/types.h".
5299 * trans.h: remove #include "tex-accent.h".
5300 * trans_mgr.h: remove #include "tex-accent.h".
5301 * insets/inset.h: remove #include "support/types.h", <vector>.
5302 * insets/insetcollapsable.h: remove #include "LColor.h".
5303 * insets/insetinclude.h: remove #include "dimension.h".
5304 * insets/insetlatexaccent.h: remove #include "dimension.h".
5305 * insets/insetoptarg.h:: remove #include "insettext.h".
5306 * insets/insettext.h: remove #include "dimension.h",
5307 <boost/shared_ptr.hpp>
5309 * insets/renderers.h: add #include "dimension.h".
5310 * insets/updatableinset.h: add #include "support/types.h".
5312 * many .C files: Associated changes.
5314 2003-09-06 Angus Leeming <leeming@lyx.org>
5316 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5317 one, inside testInvariant.
5319 * PrinterParams.C: new file.
5320 * PrinterParams.[Ch]: move the function bodies out of line.
5322 2003-09-06 Angus Leeming <leeming@lyx.org>
5324 * ParagraphParameters.h: forward declare ParameterStruct rather than
5325 including its header file.
5326 (depth): moved out-of-line.
5328 2003-09-06 Angus Leeming <leeming@lyx.org>
5330 * BufferView_pimpl.h:
5333 * lyxfunc.h: forward declare LyXKeySym rather than
5334 #include "frontends/LyXKeySym.h".
5336 * BufferView_pimpl.C:
5339 * lyxfunc.C: associated changes.
5341 2003-09-06 Angus Leeming <leeming@lyx.org>
5343 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5344 As a result, can remove the #include "insets/inset.h" from BufferView.h
5346 2003-09-06 Angus Leeming <leeming@lyx.org>
5348 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5349 As a result, can remove the #include "insets/inset.h" from BufferView.h
5351 2003-09-06 Angus Leeming <leeming@lyx.org>
5357 * bufferview_funcs.C:
5358 * BufferView_pimpl.C:
5363 * ParagraphParameters.C:
5368 * frontends/controllers/ControlDocument.C:
5369 * insets/insetcaption.C: rearrange the #includes into some sort of
5372 * buffer.h: remove #includes ErrorList.h, undo.h
5374 2003-09-06 Angus Leeming <leeming@lyx.org>
5376 * support/types.h: add a 'depth_type' typedef, used to store the
5377 nesting depth of a paragraph.
5380 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5381 defining explicitly.
5384 * paragraph_funcs.h:
5385 * ParagraphParameters.h:
5386 * sgml.h: use lyx::depth_type rather than Paragraph or
5387 ParameterStruct's depth_type.
5390 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5393 * BufferView_pimpl.C:
5395 * ParagraphParameters.C:
5398 * bufferview_funcs.C:
5405 * frontends/LyXView.C:
5406 * frontends/controllers/ControlDocument.C:
5407 * frontends/controllers/ControlErrorList.C:
5408 * insets/insetbibitem.C:
5409 * insets/insetbranch.C:
5410 * insets/insetcaption.C:
5411 * insets/insetcollapsable.C:
5412 * insets/insetenv.C:
5413 * insets/insetert.C:
5414 * insets/insetfloat.C:
5415 * insets/insetfoot.C:
5416 * insets/insetfootlike.C:
5417 * insets/insetnewline.C:
5418 * insets/insetquotes.C:
5419 * insets/insettabular.C:
5420 * insets/insettext.C:
5421 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5423 * frontends/controllers/ControlChanges.C: #include "changes.h".
5425 2003-09-06 Angus Leeming <leeming@lyx.org>
5427 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5428 than #including paragraph.h.
5431 * RowList.h: deleted. Superfluous.
5441 * insets/insettext.h: use ParagraphList_fwd.h rather than
5444 * paragraph.h: don't forward declare ParagraphList.
5447 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5448 rather than ParagraphList.h. paragraph.h is still needed for the
5449 Paragraph::depth_type parameters.
5451 * textcursor.h: enable it to compile stand-alone in light of the
5454 * bufferview_funcs.C:
5466 * frontends/controllers/ControlParagraph.C:
5467 * frontends/controllers/ControlTabular.C:
5468 * insets/insetmarginal.C:
5469 * insets/insetminipage.C:
5470 * insets/insetnote.C:
5471 * insets/insetoptarg.C: add header files needed to compile again.
5473 2003-09-06 Angus Leeming <leeming@lyx.org>
5475 * RowList_fwd.h: new file, forward-declaring Row rather than
5476 #including lyxrow.h.
5481 * insets/insettext.h: use it instead of RowList.h
5483 * bufferview_funcs.C:
5490 * text3.C: #include "RowList.h".
5492 2003-09-05 Angus Leeming <leeming@lyx.org>
5494 * factory.C (createInset):
5495 * vspace.C (c-tor): replace sscanf call with an istringstream.
5496 * ispell.C: re-add missing HP/UX headers.
5497 * lyxserver.C: re-add missing os2 headers.
5499 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5508 * text3.C: re-add missing system headers, needed for 2.95.2.
5510 2003-09-05 Angus Leeming <leeming@lyx.org>
5512 Changes most place everywhere due to the removal of using directives
5513 from support/std_sstream.h.
5515 2003-09-05 Angus Leeming <leeming@lyx.org>
5517 Replace LString.h with support/std_string.h,
5518 Lsstream.h with support/std_sstream.h,
5519 support/LIstream.h with support/std_istream.h,
5520 support/LOstream.h with support/std_ostream.h.
5522 Changes resulting throughout the tree.
5524 2003-09-05 Angus Leeming <leeming@lyx.org>
5526 * sgml.h: ensure that the header file can be compiled stand-alone.
5527 * *.C: strip out redundant #includes. (320 in total.)
5529 2003-09-04 Angus Leeming <leeming@lyx.org>
5531 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5532 here (from getPackages).
5534 * debug.[Ch]: add a new EXTERNAL tag.
5536 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5538 * text2.C (cursorEnd): simplify
5540 (getColumnNearX): adjust
5542 * text.C (computeBidiTables): adjust
5545 * rowpainter.C (paintChars): adjust
5546 (paintSelection): adjust
5547 (paintChangeBar): adjust
5550 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5552 (numberOfSeparators): adjust
5554 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5560 * text3.C: Restricts the mouse click functionality
5561 of insets like bibtex, include, toc and floatlist to the visible
5562 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5563 up the dialogs. Cursor has to be in front of the inset (i.e.
5564 start of row) for this to function.
5566 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5568 * bufferview_funcs.C (currentState): output row information
5570 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5572 * bufferview_funcs.C (currentState): output paragraph position
5574 2003-09-04 Angus Leeming <leeming@lyx.org>
5576 * FloatList.h: move out #include "Floating.h".
5577 * LaTeX.h: move out #include "DepTable.h".
5578 * LyXAction.h: move out #include "funcrequest.h".
5579 * buffer.h: move out #include "author.h", "iterators.h".
5580 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5581 * lyx_main.h: move out #include "errorlist.h".
5582 * lyxfunc.h: move out #include "FuncStatus.h".
5583 * lyxtext: move out #include "lyxcursor.h".
5584 * paragraph_pimpl.h: move out #include "counters.h".
5586 2003-09-03 Angus Leeming <leeming@lyx.org>
5588 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5589 preamble_snippets list, enabling us to add snippets to the preamble
5590 only if the snippet was not there already.
5592 2003-09-04 Angus Leeming <leeming@lyx.org>
5594 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5596 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5601 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5603 * BranchList.C: point fix, earlier forgotten
5605 2003-09-02 Angus Leeming <leeming@lyx.org>
5607 * box.C (contains): renamed from 'contained' after a fantastic
5610 2003-09-02 John Levon <levon@movementarian.org>
5616 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5618 2003-09-02 John Levon <levon@movementarian.org>
5620 * text2.C: simplification of cursorEnd(), including partial
5623 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * buffer.C (readFile): add a space
5627 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5629 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5631 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * buffer.C (readFile): new function, take a filename and a
5634 ParagraphList::iterator
5636 (readFile): adjust, make it private. don't use setStream, make
5637 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5638 always contain the filename.
5640 * BufferView.C (insertLyXFile): simplify and make it work for
5643 2003-08-30 John Levon <levon@movementarian.org>
5645 * Makefile.am: fix dist (from Kayvan)
5647 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * most files: change to use const Buffer refs
5651 2003-08-27 André Pönitz <poenitz@gmx.net>
5653 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5654 on top of ownerPar().
5656 2003-08-27 John Levon <levon@movementarian.org>
5658 * funcrequest.C: properly initialise POD members
5660 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5662 * lyxtext.h (top_y): move top_y from here
5667 * BufferView_pimpl.[Ch]: to here
5668 * frontends/screen.C:
5669 * insets/insettabular.C:
5670 * insets/insettext.C: adjust
5671 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5673 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5676 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5678 2003-08-26 André Pönitz <poenitz@gmx.net>
5680 * paragraph_func.[Ch] (outerPar): new function
5683 * paragraph_funcs.C:
5684 * paragraph_funcs.h:
5685 * paragraph_pimpl.C:
5686 * text2.C: remove Inset::par_owner
5688 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5693 * text2.C: eliminates the needFullRow/display() stuff
5694 altogether, putting the logic in metrics/draw in the insets.
5696 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5698 * text2.C (redoParagraphInternal, redoParagraphs):
5699 * text.C (redoParagraph): add a call to updateRowPositions at the
5700 end of each 'metrics-like' call. Remove all others.
5701 (getRow): remove the 'y-computing' version.
5702 (getRowNearY): do not compute nor return the real y. Solve the
5703 'y < 0' problem and simplify.
5705 2003-08-22 Angus Leeming <leeming@lyx.org>
5707 * *.[Ch]: clean-up of licence and author blurbs.
5708 Also move config.h out of a few .h files and into a few .C files.
5710 2003-08-22 André Pönitz <poenitz@gmx.net>
5712 * lyxrow.[Ch]: add x_ and *fill_ members
5717 * text2.C: adjust/remove prepareToPrint() calls
5719 2003-08-22 André Pönitz <poenitz@gmx.net>
5721 * lyxrow.[Ch]: add end_ member
5723 * lyxrow_funcs.C: use LyXRow::end_
5725 * lyxtext.h (singleWidth): add LyXFont parameter
5728 * text2.C: adjust LyXText::singleWidth() calls
5730 * text.C (redoParagraph): simplify row breaking logic
5733 2003-08-19 André Pönitz <poenitz@gmx.net>
5735 * funcrequest.C: initialize button_ member
5738 * rowpainter.[Ch]: interface consolidation
5740 2003-08-18 André Pönitz <poenitz@gmx.net>
5743 * BufferView_pimpl.C:
5745 * paragraph_funcs.C:
5747 * text3.C: remove LyXScreen::draw() and fitCursor calls
5749 * BranchList.h: remove spurious semicolons
5751 * MenuBackend.C: fix branchlist related crash
5753 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5761 * bufferparams.[Ch]:
5765 * text3.C: implements the 'branch inset'
5766 idea. This allows the output of various versions of a document
5767 from a single source version, selectively outputing or suppressing
5768 output of parts of the text.
5769 This implementation contains a 'branch list editor' in a separate
5770 tab of the document settings dialog. Branches are user definable
5771 and have a "display colour" to distinguish them on-screen.
5773 ColorHandler was somewhat cleaned up.
5774 (1) make possible a dynamically growing LColor list by allowing
5775 the graphic context cache to grow along (vector);
5776 (2) eliminate an IMHO unnecessary step in colour allocation.
5778 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5780 * BufferView_pimpl.C: compile fix
5782 2003-08-15 André Pönitz <poenitz@gmx.net>
5784 * rowpainter.C: remove extra metrics calls
5786 * lyxtext.h: merge the two constructors into a single one,
5787 pass reference to owner's par list
5789 * BufferView_pimpl.C:
5793 2003-08-15 André Pönitz <poenitz@gmx.net>
5795 * lyxrow_funcs.[Ch]:
5798 * paragraph_funcs.C:
5803 * text_funcs.C: split LyXText::rowlist_ into individual
5804 Paragraph::rows_ chunks
5807 * BufferView_pimpl.[Ch]:
5810 * text3.C: remove toggleSelection()
5812 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5814 * bufferlist.C: beautify two alerts (shorter text of buttons)
5815 * buffer.C: Remove redundant ' ' from message
5817 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5818 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5819 rename VALIGN_CENTER to VALIGN_MIDDLE
5821 2003-08-11 André Pönitz <poenitz@gmx.net>
5823 * lyxtext.h (getPar):
5824 * text.C: new function
5826 2003-08-11 André Pönitz <poenitz@gmx.net>
5829 * tracer.[Ch]: remove unneeded files
5831 * InsetList.[Ch]: remove resizeInsetsLyXText()
5836 * text3.C: merge insertParagraphs() and appendParagraph()
5837 remove breakAgain(), update()
5839 * BufferView_pimpl.[Ch]:
5840 * bufferview_funcs.[Ch]:
5844 * tabular.C: adjust after text & InsetList changes.
5846 2003-08-08 André Pönitz <poenitz@gmx.net>
5848 * text.C (insertChar, backspace): replace rowlist fiddling
5849 with rebreak of full par
5852 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5853 checkParagraph, updateInset): removed
5855 2003-08-07 André Pönitz <poenitz@gmx.net>
5858 * text3.C: merge some LFUN handlers, remove dead code
5860 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5862 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5864 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5866 * text2.C (DEPM): fix part of bug 1255 and 1256
5868 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5870 * BufferView_pimpl.C (workAreaDispatch): change to use
5871 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5872 that are no mouse related.
5874 2003-08-05 André Pönitz <poenitz@gmx.net>
5877 * BufferView_pimpl.[Ch]:
5878 * bufferview_funcs.C:
5880 * text3.C: rip out "deep update"
5882 * textcursor.[Ch] (last_sel_cursor): remove unused member
5884 2003-08-04 André Pönitz <poenitz@gmx.net>
5887 * BufferView_pimpl.[Ch]:
5888 * ParagraphParameters.C:
5889 * bufferview_funcs.C:
5895 * text3.C: replace "complicated" BufferView::update(...) calls with
5898 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5900 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5902 * Makefile.am (lyx_SOURCES): add paper.h
5904 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5906 * Makefile.am: move things around so that both lyx-qt and
5907 lyx-xforms can be built (according to --with-frontend). Then lyx
5908 is a symbolic link to lyx-[firstfrontend]
5910 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5912 * Always use std::endl with lyxerr
5914 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5916 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5918 2003-08-01 André Pönitz <poenitz@gmx.net>
5921 * BufferView_pimpl.[Ch]:
5923 * text3.C: merge BufferView::repaint() and BufferView::update()
5925 2003-08-01 José Matos <jamatos@lyx.org>
5927 * buffer.[Ch]: file_format is no longer a buffer data element.
5929 2003-08-01 André Pönitz <poenitz@gmx.net>
5934 * text2.C: make redoParagraph more independent of current cursor
5936 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5938 * text2.C: remove unneeded members
5940 2003-07-30 André Pönitz <poenitz@gmx.net>
5942 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5944 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5945 create a single function...
5947 * paragraph_funcs.C (moveItem): ... here.
5950 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5952 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5954 * LColor.[Ch]: Add comment and greyedout logical colors.
5956 2003-07-30 André Pönitz <poenitz@gmx.net>
5958 * tabular.C: don't use Assert too heavily. This crashes where it
5961 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5963 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5964 is disabled (bug 1232)
5966 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5968 * factory.C: limited 'arg' scope
5970 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5972 * factory.C: fixed Note submenu issues
5974 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5976 * factory.C: submenu for Note/Comment/Greyedout
5978 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5981 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5983 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5986 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5987 greyedout. Patch provided by Jürgen Spitzmüller.
5989 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5991 * kbmap.C (read): fix error message when reading bind files
5993 2003-07-29 Angus Leeming <leeming@lyx.org>
5995 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5996 certainly does not do what it purports to do. I am doing it, and
5997 us, a favour by killing it.
5999 2003-07-28 José Matos <jamatos@lyx.org>
6001 * buffer.C (readBody, do_writeFile):
6002 * paragraph.C(readParagraph): \end_document replaces \the_end.
6004 2003-07-29 André Pönitz <poenitz@gmx.net>
6007 * BufferView_pimpl.[Ch]:
6011 * textcursor.[Ch]: remove toggleToggle & Co
6013 2003-07-28 José Matos <jamatos@fep.up.pt>
6015 * buffer.C (readParagraph):
6016 * params_func (readParToken, readParagraph):
6017 * paragraph.C (write): \layout -> \begin_layout.
6019 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6021 * lyxlex_pimpl.C (setFile): clean up slightly.
6023 * bufferparams.h: add compressed var
6025 * buffer_funcs.C (readFile): adjust for LyXLex change
6026 (newFile): ditto + simplify
6028 * buffer.C (writeFile): handle writing of compressed files
6030 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6031 Check if the file is compressed and set a bufferparm if so.
6033 * Makefile.am (lyx_LDADD): remove explicit -lz
6035 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6037 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6038 makeDocBookFile): put the real LyX version in the first line of
6042 * version.C.in: remove lyx_docversion
6044 * tabular.C (write_attribute): add a template-based version to
6045 write enums properly
6047 2003-07-28 André Pönitz <poenitz@gmx.net>
6052 * text3.C: use doubles again for x-coordinates. They are needed.
6054 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * messages.C (getLocaleDir): use lyx_localedir()
6058 * lyxlex_pimpl.C (setFile): compress stuff
6060 * buffer.C (writeFile): add some compression stuff
6061 (do_writeFile): new func, dont call expliti close... will this
6064 * Makefile.am (lyx_LDADD): add -lz
6066 2003-07-28 José Matos <jamatos@fep.up.pt>
6068 * buffer.C: increment file format.
6069 * paragraph_funcs (readParagraph, readParToken):
6070 * paragraph.C (readParagraph): add \end_layout.
6072 2003-07-27 Angus Leeming <leeming@lyx.org>
6074 * Makefile.am: remove special casing for configure-time setting of
6075 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6077 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6078 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6080 2003-07-26 André Pönitz <poenitz@gmx.net>
6082 * paragraph_func.[Ch]:
6083 * paragraph.C (realizeFont): inline it whereever it is used
6088 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6091 2003-07-26 André Pönitz <poenitz@gmx.net>
6095 * text2.C: get rid of LyXText::need_break_row
6097 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * toc.[Ch]: put namespace toc inside namespace lyx
6101 * MenuBackend.C (expandToc2): adjust for lyx::toc
6104 * lyxfunc.C (dispatch): adjust for lyx::find
6106 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6107 lyx::find instead. Reorganize a bit.
6108 (LyXReplace): rename to replace
6109 (LyXFind): rename to find
6111 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6114 2003-07-26 André Pönitz <poenitz@gmx.net>
6116 * text.C (setHeightOfRow): restrict scope of temporary variable
6118 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6119 code (never has been used?)
6121 2003-07-27 Asger Alstrup <alstrup@local>
6123 * text.C (fill): Optimise algorithm to exploit that we can reuse
6124 the LyXFont for many characters.
6125 (setHeightOfRow): Same thing.
6126 (rowBreakPoint): Same thing.
6128 2003-07-26 Asger Alstrup <alstrup@local>
6130 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6132 * text.C (singleWidth): Spurious font copying in hot-spot
6133 singleWidth avoided. Reorder tests for arabic for efficiency.
6135 * text.C (fill): handle empty paragraphs better.
6137 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6140 * encoding.h: add includes
6142 * lyxrc.C: remove reading of bind files
6144 * lyx_main.C (init): setup bindings and menus only if we have a
6147 * kbmap.C (read): new method. Do the actual reading of bind
6150 * converter.C (dvipdfm_options):
6153 (output): adapt PAPER_* enums.
6155 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6157 * bufferparams.h: remove paper-related enums from there
6159 * paper.h: New file. A trivial header file to hold paper-related
6160 enums. It should later expand to contain many paper-related
6163 * lyxrc.C: declare extern displayTranslator
6165 2003-07-27 José Matos <jamatos@fep.up.pt>
6167 * tabular.[Ch] (linuxdoc): add support for tables and figures
6170 2003-07-27 José Matos <jamatos@fep.up.pt>
6172 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6173 consistency in both functions.
6174 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6176 2003-07-26 Asger Alstrup <alstrup@local>
6178 * rowpainter.C (paintRows): Change algorithm to work directly on
6179 the insets rather than asking every character in the document
6180 whether its an inset.
6182 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6184 * buffer.C (openFileWrite): factorize some code
6186 2003-07-26 Angus Leeming <leeming@lyx.org>
6189 * lyx_main.[Ch]: replace occurances of system_tempdir with
6192 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * rename Inset to InsetOld
6196 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6198 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6199 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6200 which I think is a bit clearer. EDIT is gone, since it was
6201 premature optimisation, and broken for mathed anyway.
6202 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6203 with cursor positioning in insets as well (math insets still do not
6204 work, but that's a different story anyway.) It mysteriously
6205 crashes sometimes with undo in the first paragraph, but I'm fairly
6206 confident that this is a compiler bug.
6208 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * paragraph.C (Paragraph): adjust for new clone return type
6212 (copyIntoMinibuffer): ditto
6214 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6216 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6217 by not having a special case, and always doing a full rebreak of
6218 the document after undo.
6220 2003-07-23 Angus Leeming <leeming@lyx.org>
6222 * factory.C (createInset): InsetExternal::setParams now takes a
6225 2003-07-23 Angus Leeming <leeming@lyx.org>
6227 * factory.C (createInset): changed interface to the external and
6228 graphics mailers' string2params functions.
6230 2003-07-23 Angus Leeming <leeming@lyx.org>
6232 * factory.C (createInset): pass a
6233 Buffer const * parameter to InsetExternalMailer's string2params.
6235 2003-07-22 John Levon <levon@movementarian.org>
6237 * Thesaurus.h: include the right aiksaurus header
6239 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6241 * MenuBackend.C (expand): check menu shortcuts unconditionally
6243 2003-07-21 Angus Leeming <leeming@lyx.org>
6245 * factory.C (createInset): pass a
6246 buffer_path parameter to InsetGraphicsMailer's string2params.
6248 2003-07-21 Angus Leeming <leeming@lyx.org>
6250 * BufferView_pimpl.C (buffer):
6253 * lyxfunc.C (dispatch):
6254 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6255 rather than the grfx shortcut.
6257 2003-07-21 André Pönitz <poenitz@gmx.net>
6259 * rowpainter.C: remove unused variables
6262 * tabular_funcs.h: move to tabular.C
6263 * Makefile.am: adjust
6265 * tabular.[Ch]: basic optical cleaning
6267 * author.h: pass references, not values
6269 2003-07-18 André Pönitz <poenitz@gmx.net>
6277 * text3.C: two-phase drawing for InsetText and InsetTabular
6278 some float -> int changes.
6280 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6282 * lyx_main.C: fix the fix
6284 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6286 * lyx_main.C: fix a crash in batch mode if no files specified
6289 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6291 * format.[Ch] (papersize): moved to BufferParams
6292 * converter.[Ch] (dvips_options): moved to BufferParams
6293 (dvipdfm_options): moved to anon namespace
6294 * bufferparams.[Ch]: added above functions.
6296 2003-07-17 André Pönitz <poenitz@gmx.net>
6300 * text2.C: don't call inset->update() anymore
6302 * metricsinfo.[Ch]: add convenience constructor
6304 2003-07-16 André Pönitz <poenitz@gmx.net>
6309 * text2.C: replace the LyXCursor::irow_ member with
6310 on-demand computation of the value
6312 2003-07-16 John Levon <levon@movementarian.org>
6314 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6316 2003-07-15 André Pönitz <poenitz@gmx.net>
6319 * text2.C: remove no more needed refresh_row
6321 2003-07-15 André Pönitz <poenitz@gmx.net>
6326 * text3.C: refresh_status tristate -> need_update bool
6328 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6330 * lyxtext.h (init): remove reinit argument (act as if always true)
6331 * text2.C: adjust to that
6333 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6335 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6336 * text3.C: use it to delete selections in some cases
6337 (bugs 441, 673, 702, 954).
6339 2003-07-14 André Pönitz <poenitz@gmx.net>
6341 * rowpainter.[Ch]: reduce interface
6343 2003-07-14 André Pönitz <poenitz@gmx.net>
6345 * BufferView_pimpl.C:
6346 * text2.C: adjust after removing unused BufferView * argument
6348 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6350 * text2.C (init): fix a crash fired on resize
6352 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6354 * buffer.[Ch]: added new closing signal
6355 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6356 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6357 BufferView::Pimpl via the closing the signal
6359 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6361 * buffer.[Ch]: take out all bv-related from buffer
6363 * BufferView_pimpl.[Ch]: connect to new signals
6364 * CutAndPaste.C: removed useless asserts
6365 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6368 * lyxfunc.C: moved view-related funciontality from vc here
6369 * paragraph.C: removed outdated comments
6372 2003-07-10 André Pönitz <poenitz@gmx.net>
6374 * BufferView_pimpl.C:
6378 * text2.C: remove InsetText::InnerCache, clean up consequences
6380 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6382 * ispell.C: fix two typos in error messages
6384 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6386 * Extend Note inset to other forms of annotation like Comment
6387 and Greyedout. Right button click gives dialog.
6389 Files modified or added (+):
6393 * ControlNote.[Ch] +
6395 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6396 frontends/controllers
6400 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6402 * aspell.C: add missing namespace lyx::support
6404 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6406 * BufferView.[Ch] (newFile): Add
6407 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6408 * LaTeX.[Ch] (message): added this signal and use it
6409 * buffer.[Ch] (busy, message): added these signals and use them
6410 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6414 * importer.C: use buffer signals instead of direct bv calling
6415 * lyx_cb.[Ch] (ShowMessage): removed
6418 * paragraph_funcs.C:
6419 * text2.C: use buffer signals
6421 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * introduce namespace lyx::graphics
6425 2003-07-02 André Pönitz <poenitz@gmx.net>
6427 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6429 2003-07-01 André Pönitz <poenitz@gmx.net>
6436 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6437 text*.C to text_func.C
6439 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * introduce namespace lyx::support
6443 2003-06-30 André Pönitz <poenitz@gmx.net>
6448 * text.C: re-enable --with-included-string
6450 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * textcursor.C: add <config.h>
6454 * text.C (getWord): remove const from word_location arg
6456 * lyxvc.C (getLogFile): fix const type order
6458 * lyxtext.h: remove const from word_location arg, add arg name
6460 * lyxlayout.h: currect type on labeltype.
6462 * importer.C: correct \file
6464 * converter.C (intToFormat): use std:: on ret val, ws changes
6466 * bufferlist.h: correct \file
6468 * buffer.C (makeLinuxDocFile): fix const type order
6469 (makeDocBookFile): ditto
6470 (fillWithBibKeys): use std:: on stdlib args.
6472 * CutAndPaste.C: fix authors.
6473 (availableSelections): use std:: on return vector
6475 2003-06-27 André Pönitz <poenitz@gmx.net>
6477 * BufferView_pimpl.C:
6478 * bufferview_funcs.C:
6486 * text3.C: remove LyXCursor::row_ member
6489 * text.C: rename fullRebreak() to partialRebreak() and implement
6490 a fullRebreak() that really bereks fully
6492 * textcursor.h: new struct for cursor-related data
6494 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6496 * lyx_main.C (LyX): get full path of document loaded on the
6499 2003-06-26 André Pönitz <poenitz@gmx.net>
6501 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6502 remove unused/broken operator>,<,>=.
6504 * text.C: remove only use of broken operator<= in an Assert().
6506 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6508 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6509 moved errorlist_.clear to showErrorList
6511 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6513 * converter.C (scanLog, runLaTeX):
6514 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6515 move the bv->showErrorList call to the callers
6516 * lyxfunc.C: i.e. here...
6518 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6519 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6520 namespace, the second to...
6521 * buffer_funcs (BufferFormat, parseErrors): added
6522 * errorlist.C (ErrorList(TeXErrors const &)): removed
6524 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6526 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6528 2003-06-24 "Garst R. Reese" <reese@isn.net>
6532 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6534 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6536 * version.C.in: change docversion to 1.4
6538 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6540 * buffer.C: fix a bug just introduced
6542 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6544 * buffer.[Ch]: added the parseError signal and use it, removed
6546 * BufferView.[Ch] (addError): moved to ...
6547 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6548 to the Buffer::parseError signal to catch (guess what) parse errors
6549 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6551 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6553 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6554 ability to create a buffer and to return an existing one from
6555 the list. Moved these functions to...
6556 * buffer_funcs.[Ch]: added
6557 * BufferView.[Ch] (loadLyXFile): added
6558 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6559 job removed from bufferlist::loadLyXFile.
6560 * buffer.C (setReadOnly): make it work without view
6561 (i.e added an if (users))
6563 2003-06-19 Angus Leeming <leeming@lyx.org>
6566 * LyXAction.C (init):
6567 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6568 with LFUN_DIALOG_SHOW <name> <data>.
6570 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6572 * CutAndPaste.C (availableSelections): small compilation fix for
6573 ancient (gcc 2.9x) compilers
6575 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * text3.C (cursorNext): add tmp var
6579 * text2.C (updateCounters): for function calling out of for clause
6580 (replaceSelectionWithString): ditto
6581 (insertStringAsParagraphs): ditto
6582 (getColumnNearX): add tmp var
6583 (setCursorFromCoordinates): add tmp var
6584 (cursorDownParagraph): add tmp var
6585 (deleteEmptyParagraphMechanism): add tmp var
6587 * text.C (insertChar): add tmp var
6589 * rowpainter.C (paintDepthBar): add tmp var
6591 * CutAndPaste.C (availableSelections): potentially check all
6592 paragraphs in a cut to fill the shown strings.
6594 2003-06-18 André Pönitz <poenitz@gmx.net>
6596 * kbmap.[Ch]: use vector<> instead of list<>
6598 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6600 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6601 pasteSelection with index
6603 * text2.C (pasteSelection): modify, call pasteSelection with index
6605 * paragraph.C (asString): reimplement version with no interval to
6606 call the one with interval.
6608 * lyxtext.h: add index arg to pasteSelection
6610 * MenuBackend.C (MenuItem): handle PasteRecent
6611 (Menu::read::Menutags): add md_pasterecent
6613 (expandPasteRecent): new function
6616 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6618 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6620 (availableSelections): new function
6622 2003-06-17 Angus Leeming <leeming@lyx.org>
6624 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6626 2003-06-17 Angus Leeming <leeming@lyx.org>
6629 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6631 * lyxfunc.C (dispatch): invoke it.
6633 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6635 * iterators.C (operator++, ParPosition): reintroduce some
6636 const_cast for the benefit of older compilers.
6638 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6640 * text3.C (dispatch): do not modify clipboard when doing
6641 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6642 LFUN_DELETE_SKIP on a selection selection
6644 2003-06-16 André Pönitz <poenitz@gmx.net>
6650 * tabular.[Ch]: IU of clone() and getLabelList();
6652 2003-06-13 André Pönitz <poenitz@gmx.net>
6654 * tabular.h: compactification
6656 2003-06-12 André Pönitz <poenitz@gmx.net>
6660 * tabular_funcs.h: some renaming plus whitespace
6662 2003-06-12 André Pönitz <poenitz@gmx.net>
6665 * BufferView_pimpl.C:
6671 * toc.C: Return a Paragraph & for ParIterator::operator*()
6673 2003-06-11 John Levon <levon@movementarian.org>
6677 * ToolbarBackend.C: add "Toolbars" section and
6680 2003-06-10 Angus Leeming <leeming@lyx.org>
6683 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6685 * lyxfunc.C (dispatch): invoke it.
6687 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * main.C: protect <ios> with HAVE_IOS
6690 (main): protect sync_with_stdio with HAVE_IOS
6692 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6694 * text2.C (cutSelection): adjust
6695 (pasteSelection): adjust
6697 * messages.C: handle get of empty string
6699 * main.C (main): use sync_with_stdio(false)
6701 * lyxfunc.C (dispatch): adjust
6703 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6704 (WriteAs): remove unneeded BufferView arg.
6706 * bufferparams.h: use correct types on papersize, papersize2 and
6709 * bufferparams.C (readToken): adjust for type
6710 (writeLaTeX): add missing cases to switch.
6712 * bufferlist.C (quitWriteBuffer): adjust
6715 * buffer.C (asciiParagraph): remove some commented code.
6717 * CutAndPaste.C: remove current_view extern variable.
6718 (cutSelection): add BufferParams arg.
6719 (eraseSelection): add BufferParams arg.
6720 (pasteSelection): add Buffer const & arg
6722 2003-06-07 John Levon <levon@movementarian.org>
6725 * paragraph_funcs.C:
6726 * paragraph_pimpl.C:
6730 * paragraph.C: allow InsetERT to freely space lines,
6731 and some consolidation of code
6733 2003-06-06 José Matos <jamatos@fep.up.pt>
6735 * buffer.C (makeDocBookFile): fix bug #821
6737 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6739 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6741 2003-06-04 Angus Leeming <leeming@lyx.org>
6743 * buffer.C: bump format to 224.
6745 2003-06-05 André Pönitz <poenitz@gmx.net>
6747 * text2.C (redoParagraphs): remove two const_cast<>
6749 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6751 * ParagraphList.h: remove last remnants of NO_STD_LIST
6753 2003-06-03 Angus Leeming <leeming@lyx.org>
6755 * factory.C (createInset): small change to the way InsetExternal's params
6758 2003-06-04 André Pönitz <poenitz@gmx.net>
6760 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6762 * paragraph_pimpl.h:
6763 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6765 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6767 * undo_funcs.C: make some simple cases of undo work again
6769 2003-06-03 John Levon <levon@movementarian.org>
6771 * ispell.C: HPUX doesn't have sys/select.h
6774 2003-06-03 John Levon <levon@movementarian.org>
6776 * CutAndPaste.C: update tabular and include inset
6781 * paragraph.C: remove owningBuffer(), don't pass Buffer
6784 * factory.C: insetGraphicsParams changed
6786 2003-06-02 John Levon <levon@movementarian.org>
6792 * text3.C: remove insetparent
6794 2003-06-02 John Levon <levon@movementarian.org>
6797 * buffer.C: fix inset_iterator.end(), move out of line
6800 2003-06-01 John Levon <levon@movementarian.org>
6802 * text3.C: use a proper cut/paste when doing inset
6803 insert (from Jürgen Spitzmüller)
6805 2003-06-01 John Levon <levon@movementarian.org>
6807 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6809 2003-05-30 André Pönitz <poenitz@gmx.net>
6811 * rowpainter.C: unify second drawing phase
6813 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6815 * trans_mgr.C: remove one case of current_view
6817 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6819 * paragraph_funcs.h: remove paragraph.h include
6821 * paragraph.h: delete NO_STD_LIST stuff
6823 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6825 * buffer.h: remove paragraph.h include
6827 * ParagraphList.C: delete file
6829 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6831 * toc.C (getTocList): adjust
6833 * paragraph_pimpl.C (validate): adjust
6835 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6837 * paragraph.C (Paragraph): adjust
6838 (getPositionOfInset): use const_iterator, adjust
6839 (bibitem): use const_iterator, adjust
6840 (setInsetOwner): adjust
6842 * iterators.C (operator++): adjust
6844 * InsetList.[Ch]: Replace selfmade iterator with standard
6845 vector::iterator also introduce const_iterator. Remove getPos,
6846 getInset and setInset from InsetTable. Adjust accordingly.
6848 * BufferView.C (lockInset): adjust
6849 (ChangeInsets): adjust
6851 * tabular.[Ch]: delete commented same_id functions
6853 2003-05-28 John Levon <levon@movementarian.org>
6855 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6857 2003-05-28 André Pönitz <poenitz@gmx.net>
6859 * metricsinfo.[Ch]: remove 'fullredraw' member
6861 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6863 * lyxtextclass.C (operator): remove caching.
6865 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * text2.C (cursorBottom): adjust
6870 (setCounter): use ParagraphList::find, adjust
6872 * text.C (workWidth): use ParagraphList::find, adjust
6874 * lyxcursor.C (LyXCursor): adjust
6876 * buffer.C (inset_iterator): adjust
6878 * ParagraphList.h: make iterator(value_type) private, make
6879 ParagraphList a friend of iterator.
6881 * ParagraphList.C (find): new function
6883 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6885 2003-05-27 André Pönitz <poenitz@gmx.net>
6887 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6889 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6891 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6893 2003-05-26 John Levon <levon@movementarian.org>
6895 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6897 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6899 * remove same_id from function signatures, adjust.
6901 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6903 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6905 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6907 * paragraph.C (Paragraph): get rid of same_ids parameter
6909 * ParagraphList.C (insert): adjust
6912 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * paragraph_funcs.C (breakParagraph): adjust
6915 (breakParagraphConservative): adjust
6917 * buffer.C (readParagraph): adjust
6919 * ParagraphList.C (insert): take a reference instead of a pointer
6922 * paragraph.[Ch] (id): new function
6924 * bufferlist.C (newFile): adjust
6926 * ParagraphList.C (ParagraphList): adjust
6928 (push_back): take a reference instead of a pointer.
6930 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6932 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6935 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6936 set else use old code.
6938 * ParagraphList.C: remove all NO_NEXT code and only compile this
6939 code of NO_STD_LIST is set.
6941 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6943 * BufferView_pimpl.C:
6953 * graphics/GraphicsConverter.C:
6954 * graphics/PreviewLoader.C: header adjustment
6956 2003-05-23 Angus Leeming <leeming@lyx.org>
6958 * LaTeXFeatures.[Ch] (useBabel): new method.
6959 * bufferparams.C (writeLaTeX): use it.
6961 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6963 * ParagraphList.h (set): remove unused function.
6965 2003-05-23 André Pönitz <poenitz@gmx.net>
6968 * BufferView_pimpl.C:
6972 * undo_funcs.C: setUndo reworked
6974 * iterators.[Ch]: add access to topmost ParagraphList
6976 * lyxtext.[Ch] (workWidth): add a const
6978 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6980 * texrow.[Ch] (increasePos): remove function
6981 * exporter.C (export): removed unused var and outdated comment
6983 2003-05-23 Angus Leeming <leeming@lyx.org>
6985 * latexrunparams.h: rename fragile as moving_arg.
6986 * paragraph.C (simpleTeXOnePar): ditto.
6987 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6989 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6993 (textUndoOrRedo): comment out a currently unused var.
6995 * paragraph.h (NO_NEXT): enable NO_NEXT
6997 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6999 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7001 * exporter.C (Export): adjust for removeAutoInsets removal.
7003 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7005 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7007 * BufferView.[Ch] (removeAutoInsets): delete function
7009 2003-05-22 Angus Leeming <leeming@lyx.org>
7011 * latexrunparams.h: add a free_spacing variable.
7013 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7014 to pass moving_arg, as the data is stored in runparams.fragile.
7016 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7017 to Inset::latexOptional or to simpleTeXOnePar.
7019 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7020 free_spacing arg to Inset::latexOptional.
7022 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7025 2003-05-22 Angus Leeming <leeming@lyx.org>
7027 * latexrunparams.h: add fragile and use_babel variables.
7029 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7030 * buffer.C (makeLaTeXFile): store this returned value in
7031 runparams.use_babel, thus passing it to the inset::latex methods.
7033 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7034 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7036 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7037 longer has a fragile arg, as it is stored in runparams.fragile.
7039 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7040 moving_arg parameter as the data is stored in runparams.fragile.
7042 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7043 a fragile parameter as the data is stored in runparams.fragile.
7045 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7047 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7049 2003-05-22 Angus Leeming <leeming@lyx.org>
7051 * latexrunparams.h: add a 'bool nice' which defaults to false.
7053 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7054 now encapsulated within runparams.
7056 * bufferlist.C (updateIncludedTeXfiles):
7057 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7059 2003-05-22 Angus Leeming <leeming@lyx.org>
7061 * latexrunparams.h: new file containing struct LatexRunParams.
7062 * Makefile.am: add new file.
7064 * LaTeX.[Ch] (c-tor, run):
7065 * buffer.[Ch] (makeLaTeXFile):
7066 * bufferlist.[Ch] (updateIncludedTeXfiles):
7067 * converter.C (convert, scanLog):
7068 * converter.[Ch] (runLaTeX):
7069 * exporter.C (Export):
7070 * paragraph.[Ch] (simpleTeXOnePar):
7071 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7072 * paragraph_funcs.[Ch] (latexParagraphs):
7073 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7074 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7075 pass around a LatexRunParams parameter.
7077 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * paragraph.[Ch]: remove unused constructor
7081 * ParagraphList.C (erase): new function, taking two iterators
7083 2003-05-22 André Pönitz <poenitz@gmx.net>
7085 * undo_funcs.C: remove duplicated code
7087 * iterator.[Ch]: operator=
7089 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * tabular.C (SetMultiColumn): ws changes
7093 * rowpainter.C (paintFirst): get rid of a ->previous
7095 * lyx_cb.C (getPossibleLabel): parlist simplification
7097 * BufferView.C (ChangeInsets): simplify slightly.
7099 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7101 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7102 * lfuns.h: new LFUN_SPACE
7103 * lyxfunc.C: protected space has a new lfun
7104 * paragraph_funcs.C: read new space insets
7106 * factory.C: handle new space insets
7108 2003-05-22 André Pönitz <poenitz@gmx.net>
7111 * BufferView_pimpl.C:
7114 * undo_funcs.C: return a ParIterator from getParFromID.
7116 * iterators.[Ch]: add two const's
7118 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * toc.C (getTocList): adjust
7122 * iterators.[Ch]: rework for parlist
7124 * buffer.C (par_iterator_begin): adjust
7125 (par_iterator_end): adjust
7127 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7129 * BufferView.C (removeAutoInsets): adjust
7130 (ChangeInsets): adjust
7132 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7134 * text.C (top_y): fix bug 1110
7136 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7138 * errorlist.[Ch]: added
7141 * BufferView_pimpl.C:
7142 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7145 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * Makefile.am: ensure that lyx is relinked upon changes to the
7148 various "convenience" libs.
7150 2003-05-20 Angus Leeming <leeming@lyx.org>
7152 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7153 files are compiled in alphabetical order again.
7155 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7157 2003-05-19 Angus Leeming <leeming@lyx.org>
7159 * gettext.[Ch]: remove "char const * _(char const *)".
7161 2003-05-19 André Pönitz <poenitz@gmx.net>
7163 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7172 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7174 2003-05-19 André Pönitz <poenitz@gmx.net>
7178 * lyxtextclass.[Ch]:
7180 * paragraph_funcs.[Ch]:
7182 * text3.C: more insetenv work
7184 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7186 * ParagraphParameters.C (params2string): small bug fixed
7188 2003-05-16 André Pönitz <poenitz@gmx.net>
7191 * bufferview_funcs.C: patch from Kornel Benko to prevent
7192 crash when _(...) is called twice in a statement
7194 2003-05-16 André Pönitz <poenitz@gmx.net>
7201 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7203 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7205 * lyx_main.C (init): remove spurious static_cast
7207 2003-05-14 André Pönitz <poenitz@gmx.net>
7209 * BufferView.C: fix format string
7211 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7213 * BufferView.[Ch] (insertErrors): removed
7214 * BufferView.[Ch] (showErrorList): added
7215 * buffer.C (runChkTeX):
7216 * converter.C (scanLog): call showErrorList instead of inserterrors
7218 2003-05-13 André Pönitz <poenitz@gmx.net>
7220 * BufferView_pimpl.C:
7222 * bufferview_func.C:
7229 * tabular_funcs.h: tostr() from its own header
7231 * ParagraphParameters.C:
7236 * text3.C: STRCONV()
7238 2003-05-12 André Pönitz <poenitz@gmx.net>
7241 * BufferView_pimpl.C:
7245 * ParagraphParameters.C:
7249 * bufferview_funcs.C:
7262 * paragraph_funcs.C:
7266 * text3.C: boost::format -> bformat all over the place
7269 2003-05-09 André Pönitz <poenitz@gmx.net>
7271 * LColor.[Ch]: Pimpl the #include <map> away
7273 2003-05-09 John Levon <levon@movementarian.org>
7275 * bufferlist.C: never remove emergency saves
7277 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7279 * Makefile.am: better lib building
7281 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7283 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7285 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7286 (simpleTeXSpecialChars): adjust
7287 (simpleTeXSpecialChars): adjust
7288 * paragraph.C (simpleTeXOnePar): adjust
7289 * buffer.C (makeLaTeXFile): adjust
7291 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7293 * text2.C (changeDepth): parlist cleanup
7294 (getColumnNearX): ditto
7296 * rowpainter.C (getLabelFont): parlist cleanup
7298 * bufferlist.C (newFile): parlist cleanup
7300 * CutAndPaste.C (eraseSelection): parlist cleanup
7302 * BufferView_pimpl.C (trackChanges): parlist cleanup
7305 * BufferView.C (lockInset): parlist cleanup.
7306 (ChangeInsets): ditto
7308 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * CutAndPaste.h: Update file header.
7312 * CutAndPaste.C: Update file header.
7313 Store the parts cut out of the Document in a limited_stack.
7314 (copySelection): adjust
7315 (pasteSelection): new function, takes the index in the limited stack.
7316 (nrOfParagraphs): adjust
7317 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7318 simplify error inset insertion.
7319 (checkPastePossible): adjust
7321 2003-05-06 John Levon <levon@movementarian.org>
7323 * text2.C: don't cast wrap inset to float
7325 2003-05-05 André Pönitz <poenitz@gmx.net>
7328 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7330 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7331 few naked Paragraph *.
7333 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7335 * bufferparams.C: Output warning if a document with missing
7336 TeX document class is loaded
7337 * exporter.C: Disable TeX exports if the document class is missing
7340 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7341 isTeXClassAvailable()
7343 2003-05-03 John Levon <levon@movementarian.org>
7346 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7347 explicit cursor show/hide
7349 * BufferView_pimpl.h:
7350 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7351 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7353 * lyxfunc.C: hide cursor before dispatching.
7358 * text3.C: remove explicit cursor hides
7360 2003-05-02 André Pönitz <poenitz@gmx.net>
7362 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7365 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7368 * text2.C: tiny whitespace
7370 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * undo_funcs.C: almost only ws changes.
7374 * ParagraphList.C (splice): just return if pl is empty.
7376 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * ParagraphList.C (splice): new function.
7380 * CutAndPaste.C (pasteSelection): use it
7382 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7384 * CutAndPaste.C (pasteSelection): remove the last next and
7385 previous from this file.
7387 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * CutAndPaste.C (pasteSelection): more clean up, user proper
7390 ParagraphList functions for pasteing.
7392 * ParagraphList.C (insert): new function, three arg insert
7394 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * ParagraphList.C (insert): new function, three arg insert
7398 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7401 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7405 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7407 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7409 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7411 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7412 (copySelection): clean up a bit.
7413 (pasteSelection): use make_pair
7415 * ParagraphList.C (ParagraphList): implement copy constructor
7416 (operator=): implement, base on copy constructor.
7419 * paragraph.C (erase): return a bool
7421 * paragraph_pimpl.C (erasePos): remove function, move contents...
7422 (erase): ... here. Return a bool.
7423 (erase): call erase instead of erasePos.
7425 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7427 * ParagraphList.h: define PitPosPair
7428 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7429 ParagraphList, fix a bug on pasting multiple pars
7430 * text2.C: change interface to C&P
7432 2003-04-30 André Pönitz <poenitz@gmx.net>
7434 * undo_func.C: revert part of yesterday's patch 2
7436 2003-04-30 John Levon <levon@movementarian.org>
7438 * LColor.C: s/tabular/table/
7440 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * text3.C (dispatch): do not convert iterator -> pointer
7443 * undo_funcs.C (setCursorParUndo): ditto
7444 * text_funcs.C (transposeChars): ditto
7446 * text2.C (setLayout): ws changes only
7448 * text.C (breakParagraph): do not convert iterator -> pointer
7450 (acceptChange): ditto
7451 (rejectChange): ditto
7456 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7459 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7461 * text3.C (gotoInset): YABG (yet another bad getChar)
7463 2003-04-29 André Pönitz <poenitz@gmx.net>
7465 * paragraph.h: make operator= private unimplemented as long as
7468 * ParagraphList.C: whitespace
7471 * paragraph_pimpl.[Ch]:
7472 * paragraph_funcs.C:
7474 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7477 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7479 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7481 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7482 * paragraph.[Ch] (erase):
7483 * paragraph_pimpl.[Ch] (erase): change return type and value
7484 * text2.C (cutSelection): some rework
7486 2003-04-28 John Levon <levon@movementarian.org>
7488 * bufferlist.C: changes for unsaved changes dialog
7490 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * bufferlist.C (newFile): set language (messages_) for new
7495 * buffer.C (readFile): ws changes only.
7497 2003-04-28 André Pönitz <poenitz@gmx.net>
7502 * BufferView_pimpl.C:
7503 * BufferView.C: getParFromID related ParagraphList::iterator changes
7505 2003-04-28 André Pönitz <poenitz@gmx.net>
7507 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7510 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * messages.C: remove one more localedir class variable.
7514 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7516 * messages.C (getLocaleDir): singleton generation function
7518 (Messages): add a default constructor.
7520 * main.C (main): do not setup localedir here, do not call
7523 * gettext.C (_): use it.
7524 (gettext_init): delete funciton
7526 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * gettext.C (getLyXMessages): new singleton generating function.
7530 * buffer.C (updateDocLang): adjust
7532 * Makefile.am (messages.o): add target
7533 (main.o): remove target
7535 2003-04-27 John Levon <levon@movementarian.org>
7540 * lyxvc.C: specify cancel button in Alert::prompt
7542 2003-04-26 John Levon <levon@movementarian.org>
7547 * LyXAction.C: add LFUN_INSET_SETTINGS
7549 * lyxfunc.C: don't enable tabular-feature when there's
7550 just any locking inset
7552 2003-04-26 John Levon <levon@movementarian.org>
7554 * bufferlist.C: re-add Cancel to buffer close question
7556 * lyxfunc.C: fix import UI a bit
7558 2003-04-25 John Levon <levon@movementarian.org>
7560 * gettext.C: remove the broken asserts for now
7562 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * messages.C: make case where setlocale cannot comply work better.
7566 * buffer.C (updateDocLang): new function
7567 (changeLanguage): use it
7570 * text2.C (setCounter): use B_ a bit.
7572 * lyxlayout.C (Read): be sure to trim the label strings.
7574 * messages.C (Messages): fix typo in comment
7576 * buffer.C (readFile): set message_ after file is loaded.
7577 (makeDocBookFile): remove double return
7578 (changeLanguage): reset message_ upon language change.
7579 (B_): new func, use this to get translated buffer strings.
7581 * main.C: add myself and Jean Marc as authors.
7583 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * messages.[hC]: pimplify Messages, and three different pimpls to be
7586 used in different circumstances.
7588 * gettext.[Ch]: change for use with new message code.
7590 2003-04-24 André Pönitz <poenitz@gmx.net>
7592 * factory.C: support for eqref
7594 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * messages.[Ch]: add missing char
7598 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7600 * messages.[Ch]: New files
7602 2003-04-18 John Levon <levon@movementarian.org>
7606 * BufferView_pimpl.C:
7610 * text2.C: remove layout-copy/paste (bug 778)
7612 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7614 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7616 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7618 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7619 if they succeed. Act accordingly.
7621 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * text2.C (setCharFont): adjust
7624 (setCounter): adjust
7625 (insertStringAsLines): adjust
7627 * text.C (leftMargin): adjust
7628 (setHeightOfRow): adjust
7630 * rowpainter.C (paintFirst): adjust
7633 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7635 (isFirstInSequence): ditto
7636 (getEndLabel): ditto
7639 * paragraph.C (getParLanguage): comment out some hard stuff.
7641 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7643 (simpleDocBookOnePar): ditto
7644 (makeDocBookFile): use ParagraphList::iterator
7646 * CutAndPaste.C (pasteSelection): adjust
7648 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * text2.C (getFont): adjust
7651 (getLayoutFont): adjust
7652 (getLabelFont): adjust
7654 * paragraph_funcs.C (TeXOnePar): adjust
7656 * buffer.C (simpleLinuxDocOnePar): adjust
7657 (simpleDocBookOnePar): adjust
7659 * CutAndPaste.C (pasteSelection): adjust
7661 * BufferView.C (getEncoding): adjust
7663 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7665 2003-04-16 John Levon <levon@movementarian.org>
7667 * lyxfind.C: use parlist stuff for search/changes
7669 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7671 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7673 * text2.C (deleteEmptyParagraphMechanism): adjust
7675 * text2.[Ch] (ownerParagraph): delete func (both of them
7677 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7681 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * ParagraphList.C: prepare for NO_NEXT
7685 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * text2.C (getFont): adjust
7688 (getLayoutFont): adjust
7689 (getLabelFont): adjust
7691 * paragraph.C (getFont): adjust
7692 (getLabelFont): adjust
7693 (getLayoutFont): adjust
7695 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7697 2003-04-15 John Levon <levon@movementarian.org>
7701 * lyx_main.C: handle Include in .ui files
7703 2003-04-15 John Levon <levon@movementarian.org>
7705 * MenuBackend.C: make the doc files length shorter
7708 * ToolbarBackend.C: handle toolbar placement flags,
7711 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7713 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7716 * paragraph_funcs.C (TeXOnePar): adjust
7718 * paragraph.C (getLabelFont): add outerfont arg, adjust
7719 (getLayoutFont): ditto
7720 (simpleTeXOnePar): adjust
7722 * paragraph_pimpl.C (realizeFont): delete func
7724 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7726 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7727 row argument, constify cur argument.
7729 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * text2.C (getFont): adjust
7732 (getLayoutFont): adjust
7733 (getLabelFont): adjust
7735 * paragraph_funcs.C (TeXOnePar): adjust
7736 (outerFont): new func...
7737 (realizeFont): ...moved out from here, changed this to facilitate
7740 * paragraph.C (getFont): take outerfont as arg, adjust
7741 (simpleTeXOnePar): add outerfont arg, adjust
7743 * buffer.C (simpleLinuxDocOnePar): adjust
7744 (simpleDocBookOnePar): adjust
7746 * CutAndPaste.C (pasteSelection): adjust
7748 * BufferView.C (getEncoding): adjust
7750 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * text2.C (setCharFont): adjust
7753 (setCounter): adjust
7755 * text.C (leftMargin): adjust
7756 (setHeightOfRow): adjust
7758 * rowpainter.C (paintFirst): adjust
7761 * paragraph_pimpl.C (realizeFont): adjust
7763 * paragraph.C (isFirstInSequence): move from here...
7764 * paragraph_funcs.C (isFirstInSequence): ...to here
7766 * paragraph.C (outerHook): move from here...
7767 * paragraph_funcs.C (outerHook): ...to here
7769 * paragraph.C (depthHook): move from here...
7770 * paragraph_funcs.C (depthHook): ...to here
7772 * paragraph.C (getEndLabel): move from here...
7773 * paragraph_funcs.C (getEndLabel): ...to here
7775 * text2.C (realizeFont): move from here...
7776 * paragraph_funcs.C (realizeFont): ...to here
7778 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7782 2003-04-14 Angus Leeming <leeming@lyx.org>
7784 * LColor.[Ch]: scrap LColor mathcursor.
7786 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * lyxlex.[Ch] (text): delete function
7789 * trans.C (Load): adjust
7790 * paragraph_funcs.C (readParToken): adjust
7792 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7795 vector<char> instead of a char[].
7797 * lyxlex_pimpl.C (getString): adjust
7799 (lex): use getString
7803 * lyxlex.C (text): use pimpl_->getString()
7807 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7810 (makeFontEntriesLayoutSpecific): temp var for par.size()
7811 (setLayout): temp var for ownerParagraphs().end()
7812 (fullRebreak): temp var for rows().end()
7813 (selectionAsString): temp var for boost::next(startpit), realize
7814 that the while really is a regular for loop.
7815 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7816 setCursor in one place.
7817 (setParagraph): temp vr for ownerParagraphs().end()
7818 (updateCounters): make the while loop a for loop
7819 (cutSelection): temp var for ownerParagraphs().end()
7820 (updateInset): make the do {} while() a regular for loop
7821 (getCursorX): use temp vars
7822 (setCurrentFont): use temp vars
7823 (getColumnNearX): use temp vars
7825 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * text.C (transformChar): use temp var for getChar
7828 (computeBidiTables): use temp var for row->par()
7829 (fill): move temp vars for row->par() and pit->layout() earlier in
7831 (labelFill): use temp var for row->par()
7832 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7833 asc and desc, realize that pit never changes and that firstpit is
7834 just a duplicate and not needed. Exchange rit->par() with pit in a
7836 (breakAgain): use a temp var for boost::next(rit)
7837 (breakAgainOneRow): ditto
7838 (breakParagraph): use a temp var for rows().begin()
7839 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7840 (cursorRightOneWord): use temp var for cursor.par() and
7841 cursor.pos(), remove usage of tmpcursor.
7842 (cursorLeftOneWord): use temp var for cursor.par() and
7843 cursor.pos() only set cur at end of function.
7845 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * text.C, text2.C: exchange all usage of Paragraph::next with
7848 boost::next(ParagraphList::iterator)
7850 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7852 * text2.C (cursorTop): simplify implementation
7853 (cursorBottom): ditto
7854 (setParagraph): use ParagraphList::iterator
7855 (setCurrentFont): adjust
7856 (getColumnNearX): adjust
7857 (cursorRight): adjust
7858 (cursorLeft): remove usage of Paragraph::previous
7859 (cursorUpParagraph): ditto
7860 (deleteEmptyParagraphMechanism): slight cleanup
7862 * text.C (isBoundary): take a Paragraph const & instead of a
7864 (addressBreakPoint): ditto
7865 (leftMargin): remove usage of Paragraph::previous.
7866 (setHeightOfRow): ditto
7867 (cursorLeftOneWord): ditto
7868 (selectNextWordToSpellcheck): ditto
7871 (breakParagraph): remove one usage of Paragraph::next
7872 (redoParagraph): ditto
7873 (acceptChange): ditto
7874 (insertChar): adjust
7875 (rowBreakPoint): adjust
7877 * bufferview_funcs.C (toggleAndShow): adjust
7879 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7881 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7882 methods to access it.
7884 * text.C: Added updateRowPositions to compute all row positions.
7885 Make top_y and getRowNearY() to use the cached y position
7887 2003-04-11 John Levon <levon@movementarian.org>
7889 * text.C (rowBreakPoint): reintroduce the labelEnd
7890 checks, code copied from the row fill stuff. Deep voodoo.
7892 * text.C (fill): add a comment and debugging for the
7895 2003-04-11 John Levon <levon@movementarian.org>
7897 * text.C: make sure fullrow insets get wrapped to the next line,
7898 even when they're in a manual label
7900 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * text2.C (insertParagraph): make it take ParagraphList::iterator
7904 (setLayout): make it return ParagraphList::iterator
7905 (redoParagraphs): ditto
7907 (checkParagraph): ditto
7909 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7911 * text2.C: adjust several funcs.
7912 (realizeFont): take a ParagraphList::iterator as arg.
7913 (getLayoutFont): ditto
7914 (getLabelFont): ditto
7915 (setCharFont): ditto
7917 * text.C: adjust several funcs.
7919 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7921 * text.C (selectNextWordToSpellcheck): don't accidentally
7924 2003-04-10 John Levon <levon@movementarian.org>
7926 * ToolbarBackend.C (getIcon): special handling for
7929 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7931 * text2.C (cursorRight): a getChar assert fixed
7933 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * text2.C (getFont): change to take a ParagraphList::iterator
7936 instead of Paragraph*
7937 Adjust several functions.
7939 * text.C (transformChar): change to take a ParagraphList::iterator
7940 instead of Paragraph*
7941 (singleWidth): ditto
7942 Adjust several functions.
7944 * rowpainter.C: adjust several functions
7945 * rowpainter.h:store a ParagraphList::iterator and not a
7949 2003-04-09 John Levon <levon@movementarian.org>
7954 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7955 and the "help" bits as well
7957 2003-04-09 John Levon <levon@movementarian.org>
7960 * ToolbarBackend.C: allow multiple toolbars
7962 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7964 * undo_funcs.C (setCursorParUndo): adjust
7966 * text_funcs.C (transposeChars): adjust
7968 * text3.C (gotoNextInset): adjust
7971 * text2.C (setLayout): adjust
7972 (changeDepth): adjust
7974 (redoParagraphs): adjust
7975 (selectionAsString): adjust
7976 (setParagraph): adjust
7977 (insertInset): adjust
7978 (cutSelection): adjust
7979 (copySelection): adjust
7980 (pasteSelection): adjust
7981 (insertStringAsLines): adjust
7982 (updateInset): adjust
7983 (setCursor): change to take a ParagraphList::iterator parameter
7984 (setCursorIntern): change to take a ParagraphList::iterator parameter
7985 (setCurrentFont): adjust
7986 (cursorLeft): adjust
7987 (cursorRight): adjust
7988 (deleteEmptyParagraphMechanism): adjust
7990 * text.C (breakParagraph): adjust
7991 (insertChar): adjust
7992 (acceptChange): adjust
7993 (rejectChange): adjust
7994 (selectNextWordToSpellcheck): adjust
7995 (changeCase): adjust
7999 * lyxfind.C (SearchForward): adjust
8000 (SearchBackward): adjust
8001 (nextChange): adjust
8003 * lyxcursor.C (par): adjust
8005 * lyxcursor.h: store a ParagraphList::iterator instead of a
8008 * lyx_cb.C (getPossibleLabel): adjust
8010 * bufferview_funcs.C (toggleAndShow): adjust
8012 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8015 * BufferView.C (removeAutoInsets): adjust
8016 (lockedInsetStoreUndo): adjust
8018 2003-04-09 John Levon <levon@movementarian.org>
8020 * ToolbarBackend.C: try icon without argument
8021 if with argument fails
8023 2003-04-08 John Levon <levon@movementarian.org>
8026 * ToolbarBackend.C: add getIcon(), handle tooltip,
8027 and change from "Icon" to "Item".
8029 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8031 * BufferView.C (lockInset): another bad getchar crunched
8033 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8035 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8038 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8040 * lyxfind.C (searchForward, searchBackwards): bug 782
8042 2003-04-07 John Levon <levon@movementarian.org>
8044 * paragraph.C: remove dead comment
8046 * text.C: remove troublesome depth-fiddling code
8047 in leftMargin() and rightMargin() (bug 1017)
8049 * text.C: fix breaking of rows in nested lists
8052 * text2.C (updateCounters): fix up depth values
8055 2003-04-07 John Levon <levon@movementarian.org>
8057 * BufferView_pimpl.C: clear message when doc finishes resizing,
8058 and after a mouse event
8060 * lyxfunc.C: clear message after exiting inset
8062 2003-04-07 John Levon <levon@movementarian.org>
8064 * bufferview_funcs.C: show math status not outside
8065 status in the statusbar
8067 2003-04-07 John Levon <levon@movementarian.org>
8069 * lyxfunc.C: note status changed after a depth change
8071 2003-04-04 Angus Leeming <leeming@lyx.org>
8073 * LaTeX.h: move AuxInfo operator==, != out of line.
8074 Remove LaTeX virtual destructor; nothing derives from it.
8075 Move operator()() out of public area and rename it startscript().
8076 Change protected for private.
8078 2003-04-04 Angus Leeming <leeming@lyx.org>
8081 * text2.C: remove unneeded #includes.
8083 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8085 * text2.C (dEPM): fix the heigth of the next row
8087 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8089 * text.C: squashed an invalid getChar requester + some ws changes
8091 2003-04-03 John Levon <levon@movementarian.org>
8093 * bufferview_funcs.h:
8094 * bufferview_funcs.C:
8097 * text2.C: make getStatus work for the env depth lfuns
8099 2003-04-03 John Levon <levon@movementarian.org>
8101 * bufferview_funcs.h:
8102 * bufferview_funcs.C:
8105 * text2.C: parlistize decDepth(), by merging it with incDepth()
8107 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8109 * lyxrow.h: store a ParagraphList::iterator instead of a
8110 Paragraph* and adjust other class functions to suit.
8112 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8115 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8117 * text2.C (setCursor): do not anchor to cursor row for the time being
8119 2003-04-02 John Levon <levon@movementarian.org>
8126 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8128 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8130 * paragraph.h: make ParagraphList and ParagraphList::iterator
8131 friends of Paragraph.
8133 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8135 * ParagraphList.C: Use the private next_ and previous_ from
8138 2003-04-01 John Levon <levon@movementarian.org>
8142 * Makefile.am: rename, remove defaults gunk
8145 * MenuBackend.C: remove defaults gunk
8148 * Languages.C: remove defaults gunk
8151 * lyx_main.C: error out if files couldn't be found.
8153 2003-04-02 John Levon <levon@movementarian.org>
8155 * text2.C: make incDepth() use parlist
8157 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8159 * undo_funcs.C (firstUndoParagraph): adjust
8161 * text3.C (gotoInset): adjust
8162 (dispatch): adjust, and rewrite loop.
8164 * text2.C (init): adjust, and rewrite loop.
8165 (redoParagraphs): adjust
8166 (updateInset): adjust, and rewrite loop.
8167 (deleteEmptyParagraphMechanism): adjust
8169 * tabular.C (LyXTabular): adjust
8170 (SetMultiColumn): adjust
8173 * lyxtext.[Ch] (ownerParagraph): delete function
8174 (ownerParagraphs): new function returns a ParagraphList.
8176 * BufferView.C (removeAutoInsets): adjust
8177 (insertErrors): adjust
8178 (setCursorFromRow): adjust
8180 2003-04-01 Angus Leeming <leeming@lyx.org>
8182 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8185 2003-04-02 John Levon <levon@movementarian.org>
8191 * text_funcs.C: make transposeChars a free function
8193 * lyxrow_funcs.C: remove wrong comment
8195 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8198 * rowpainter.C: adjust
8203 * lyxrow_funcs. [Ch]: new files
8205 * lyxrow.[Ch]: remove next and previous pointers
8206 (next,previous): remove accessor functions
8207 (isParEnd): move to lyxrow_funcs
8208 (lastPos): move to lyxrow_funcs
8209 (nextRowIsAllInset): move to lyxrow_funcs
8210 (lastPrintablePos): move to lyxrow_funcs
8211 (numberOfSeparators): move to lyxrow_funcs
8212 (numberOfHfills): move to lyxrow_funcs
8213 (numberOfLabelHfills): move to lyxrow_funcs
8214 (hfillExpansion): move to lyxrow_funcs
8218 * bufferview_funcs.C (toggleAndShow): adjust
8220 * RowList.h: Remove class RowList from file leave just a
8223 * RowList.C: delete file
8225 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8228 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * text3.C (cursorPrevious): adjust
8231 (cursorNext): adjust
8234 * text2.C (redoHeightOfParagraph): adjust
8235 (redoDrawingOfParagraph): adjust
8238 * text.C (breakParagraph): adjust
8239 (insertChar): adjust
8242 * rowpainter.C (RowPainter): adjust
8243 (leftMargin): simplify and adjust
8244 (most rowpainter functions): adjust.
8246 * rowpainter.h: store the row as RowList::iterator not as Row*
8248 * lyxcursor.C (row): taka RowList::iterator as arg
8251 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8254 2003-04-01 Angus Leeming <leeming@lyx.org>
8256 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8257 stuff like bool Bool.
8259 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8261 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8264 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8266 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8269 * lyxtext.h (rows): drop one version and leve a const variant that
8270 returns a RowList::iterator.
8272 2003-03-31 Angus Leeming <leeming@lyx.org>
8274 * text.C (fill): ensure that the signature is the same as that in the
8277 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8279 * text2.C (redoParagraphs): adjust
8280 (updateCounters): adjust
8281 (checkParagraph): adjust
8282 (getColumnNearX): adjust and reformat a bit.
8284 * text.C (top_y): adjust
8286 (leftMargin): adjust
8287 (prepareToPrint): adjust
8289 (getRowNearY): adjust
8291 * lyxtext.h: make rowlist_ mutable.
8293 * RowList.h: add const_iterator
8294 * RowList.C: adjust for RowList::const_iterator.
8296 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8299 2003-03-31 John Levon <levon@movementarian.org>
8302 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8304 * lyx_main.C: set default fonts from using lyx_gui funcs
8306 * exporter.C: pdf_mode moved from lyxrc
8309 * lyxfunc.C: changes from above
8311 2003-03-31 John Levon <levon@movementarian.org>
8313 * lyx_main.C: fix to the last fix
8315 2003-03-31 John Levon <levon@movementarian.org>
8317 * bufferlist.C: "Load original" -> "Load Original"
8323 * format.C: more Alert cleanups
8325 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8327 * text2.C (removeParagraph): make it take a RowList::iterator as
8329 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8330 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8332 * text.C (anchor_row): make it take a RowList::iterator as arg,
8334 (computeBidiTables): make it take a const reference to Row instead
8335 of Row pointer, adjust.
8336 (leftMargin): make it take a RowList::iterator as arg, adjust.
8337 (rowBreakPoint): adjust
8338 (breakAgainOneRow): make it take a RowList::iterator as arg,
8340 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8342 * bufferview_funcs.C (toggleAndShow): adjust
8344 2003-03-30 John Levon <levon@movementarian.org>
8348 * boost-inst.C: moved to support
8350 * several files: changes as a result
8352 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8354 * text2.C (LyXText): adjust.
8356 (removeRow): make it take a RowList::iterator as arg, adjust.
8357 (fullRebreak): adjust
8358 (deleteEmptyParagraphMechanism): adjust
8359 (clearPaint): adjust
8362 * text.C (top_y): adjust
8363 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8364 (breakAgain): make it take a RowList::iterator as arg, adjust.
8365 (breakParagraph): adjust
8366 (insertChar): adjust
8369 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8370 need_break_row, and refresh_row.
8372 * text3.C (dispatch): adjust
8374 * text2.C (checkParagraph): adjust
8376 (setCursorFromCoordinates): adjust
8378 * text.C (top_y): adjust
8380 (getRow): make it return a RowList::iterator, adjust
8381 (getRowNearY): make it return a RowList::iterator, adjust
8383 * text2.C (init): adjust
8384 (insertRow): remove function
8385 (insertParagraph): adjust
8386 (redoParagraphs): adjust
8387 (fullRebreak): adjust
8388 (updateCounters): adjust
8390 * text.C (top_y): rewrite to use RowList iterators.
8392 (setHeightOfRow): rewrite to sue RowList iterators.
8393 (appendParagraph): adjust
8394 (breakAgain): adjust
8395 (breakAgainOneRow): adjust
8396 (breakParagraph): adjust
8398 (getRowNearY): adjust, and remove commented code.
8400 * lyxtext.h (firstRow): delete function
8401 (lastRow): delete function
8402 (rows): new function (const and non-const versions.)
8403 (insertRow): delete function
8405 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8407 2003-03-29 John Levon <levon@movementarian.org>
8409 * BufferView_pimpl.C: always update scrollbar top
8410 because pasting text when we're anchored could mean we
8411 miss an update altogether
8413 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8415 * text2.C (init): use rowlist_.end() and not 0.
8416 (insertRow): change to take a RowList::iterator as arg, adjust
8418 (insertParagraph): change to take a RowList::iterator as arg,
8420 (redoParagraphs): remove some debug msgs.
8422 * text.C (appendParagraph): change to take a RowList::iterator
8423 arg, adjust for this.
8424 (breakAgain): add an assert
8425 (breakAgainOneRow): ditto
8427 2003-03-29 John Levon <levon@movementarian.org>
8429 * text2.C: do not clear selection after inc/decDepth
8432 2003-03-29 John Levon <levon@movementarian.org>
8435 * buffer.C: fix broken strerrors according to Lars
8437 2003-03-29 John Levon <levon@movementarian.org>
8439 * converters.C: more Alert cleanups
8441 2003-03-29 John Levon <levon@movementarian.org>
8443 * bufferview_funcs.C: remove pointless Alert
8445 * buffer.C: fix confusing error message when
8446 a template is chmoded 000
8448 2003-03-29 John Levon <levon@movementarian.org>
8452 * BufferView_pimpl.C: Alert fixes
8456 * tabular-old.C: remove unused table compat reading
8458 2003-03-29 John Levon <levon@movementarian.org>
8463 * lyx_cb.C: more Alert cleanups
8465 * lyxfunc.C: don't allow chktex if not latex document
8467 2003-03-29 John Levon <levon@movementarian.org>
8471 * buffer.C: warnings pushed down from support/,
8474 2003-03-29 John Levon <levon@movementarian.org>
8476 * lyxfunc.C: safety check for C-r (revert)
8478 2003-03-29 John Levon <levon@movementarian.org>
8481 * bufferlist.C: several UI fixes using Alert::prompt.
8482 Fix the pointless looping quit code. Fix stupid revert
8487 * lyx_cb.C: use Alert::prompt
8489 * lyx_main.C: remove a silly question
8491 * lyxfunc.C: remove a couple of silly questions,
8494 2003-03-28 John Levon <levon@movementarian.org>
8496 * text2.C: fix bug 974 (End on empty par)
8498 2003-03-28 John Levon <levon@movementarian.org>
8500 * BufferView_pimpl.C:
8502 * lfuns.h: remove do-nothing math greek lfuns
8504 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * lyxgluelength.h (isValidGlueLength): add default arg on
8507 parameter 2. Remove default arg from friend in class.
8509 * lyxlength.h (isValidLength): add default arg on parameter 2.
8510 Remove default arg from friend in class.
8512 * text2.C (LyXText): adjust, initialize refresh_row.
8516 (insertParagraph): adjst
8517 (redoParagraphs): adjust
8518 (fullRebreak): adjust
8519 (updateCounters): adjust
8520 (deleteEmptyParagraphMechanism): first attempt at fixing a
8523 * text.C (top_y): adjust
8524 (setHeightOfRow): adjust
8526 (getRowNearY): adjust
8528 * lyxtext.h: include RowList.h
8529 (~LyXText): not needed anymore, deleted.
8530 (firstRow): modify for RowList
8531 (lastRow): new function
8532 Delete firstrow and lastrow class variables, add a Rowlist
8533 rowlist_ class variable.
8535 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8538 * RowList.C (insert): fix case where it == begin().
8540 2003-03-26 Angus Leeming <leeming@lyx.org>
8542 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8543 the thesaurus dialog.
8545 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8547 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8549 * RowList.[Ch]: new files
8551 * ParagraphList.C (erase): handle the case where it == begin
8554 2003-03-25 John Levon <levon@movementarian.org>
8558 * aspell.C: add new aspell support
8561 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8564 2003-03-25 Angus Leeming <leeming@lyx.org>
8567 * LyXAction.C (init): new LFUN_INSET_INSERT.
8569 * BufferView_pimpl.C (dispatch): split out part of the
8570 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8572 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8575 2003-03-25 Angus Leeming <leeming@lyx.org>
8577 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8579 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8582 * text3.C: remove useless row->height(0)
8584 2003-03-25 John Levon <levon@movementarian.org>
8588 * text3.C: rename the refreshing stuff to better names
8590 2003-03-24 John Levon <levon@movementarian.org>
8592 * BufferView_pimpl.h:
8593 * BufferView_pimpl.C: update layout choice on a mouse
8596 2003-03-23 John Levon <levon@movementarian.org>
8598 * Makefile.am: fix commandtags.h reference
8600 2003-03-22 John Levon <levon@movementarian.org>
8602 * BufferView_pimpl.C:
8607 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8609 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8612 * text.C: take the rtl methods out of line
8614 2003-03-21 André Pönitz <poenitz@gmx.net>
8616 * metricsinfo.[Ch]: new files containing structures to be passed around
8617 during the two-phase-drawing...
8619 2003-03-21 André Pönitz <poenitz@gmx.net>
8621 * lyxtextclass.C: read 'environment' tag.
8623 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8625 * text2.C (removeRow): fix bug 964
8627 2003-03-20 John Levon <levon@movementarian.org>
8631 * text2.C: paint cleanups. Inset::update() dropped font
8634 2003-03-19 John Levon <levon@movementarian.org>
8636 * lyxfunc.C: only fitcursor/markDirty if available()
8638 2003-03-19 John Levon <levon@movementarian.org>
8640 * commandtags.h: rename to ...
8642 * lfuns.h: ... this, and renumber / cleanup
8644 2003-03-19 John Levon <levon@movementarian.org>
8646 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8647 fit the cursor after an lfun
8651 * BufferView_pimpl.h:
8652 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8654 * LyXAction.C: layout-character should have ReadOnly
8656 * ParagraphParameters.C:
8658 * bufferview_funcs.C:
8665 * undo_funcs.C: changes from above
8667 2003-03-18 John Levon <levon@movementarian.org>
8669 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8670 remove it from update()
8672 * lyxfunc.C: update layout choice after an lfun
8674 * text3.C: remove extra updateLayoutChoice()s
8676 2003-03-18 John Levon <levon@movementarian.org>
8678 * text.C: top_y change means full repaint, fix
8679 a drawing bug with cursor movement
8681 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8685 * text2.C: anchor row on setCursor
8687 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8689 * lyxtext.h: remove almost all mutable keywords
8692 * text3.C: remove const keywords accordingly
8694 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8696 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8698 (TeXEnvironment): ditto
8701 2003-03-17 John Levon <levon@movementarian.org>
8703 * text.C (rowBreakPoint): remove attempt to fix displayed
8704 math insets inside a manual label
8706 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * lyxtext.h: remove BufferView* as first arg from almost all class
8710 * other files: adjust.
8712 2003-03-17 John Levon <levon@movementarian.org>
8716 * text2.C: more paint cleanups
8718 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8721 * rowpainter.C: remove "smart" background painting code
8723 2003-03-16 John Levon <levon@movementarian.org>
8728 * text3.C: add helper functions for setting refresh_row/y
8730 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8732 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8733 newline inset which *can* get inserted in the pass_thru layouts.
8734 This is primarily for literate documents.
8736 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8738 * buffer.C: increment LYX_FORMAT to 223
8740 2003-03-14 André Pönitz <poenitz@gmx.net>
8742 * textclass.h: prepare for environment handling, ws changes
8743 * lyxlayout.C: read latexheader and latexfooter tags
8745 2003-03-14 John Levon <levon@movementarian.org>
8747 * text2.C: rewrite ::status() a bit
8749 2003-03-13 John Levon <levon@movementarian.org>
8751 * lyxtext.h: add some docs
8753 2003-03-13 John Levon <levon@movementarian.org>
8758 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8760 2003-03-13 John Levon <levon@movementarian.org>
8762 * text3.C: fix appendix redrawing
8764 2003-03-13 John Levon <levon@movementarian.org>
8766 * text.C (setHeightOfRow):
8768 * rowpainter.C: make appendix mark have the text
8769 "Appendix" so the user knows what it is
8772 * LColor.C: s/appendixline/appendix/ from above
8774 2003-03-13 John Levon <levon@movementarian.org>
8776 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8778 * text.C: fix a getChar(pos) bug properly
8780 2003-03-13 Angus Leeming <leeming@lyx.org>
8783 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8784 Probably only temporary. Let's see how things pan out.
8786 * BufferView.C (unlockInset):
8787 * BufferView_pimpl.C (fitCursor):
8788 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8790 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8791 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8793 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8794 new functions that convert ParagraphParameters to and from a string.
8796 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8797 BufferView::Pimpl's dispatch.
8798 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8800 2003-03-13 André Pönitz <poenitz@gmx.net>
8804 * factory.C: make it aware of InsetEnv
8806 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8808 * text2.C (setCursor): never ask for one past last
8809 (setCursor): add some debugging messages.
8811 * text.C (singleWidth): never ask for one past last
8812 (singleWidth): ditto
8814 (rightMargin): ditto
8815 (rowBreakPoint): ditto
8816 (setHeightOfRow): ditto
8817 (prepareToPrint): ditto
8819 * rowpainter.C (paintBackground): never ask for one past last
8820 (paintText): never ask for one past last
8822 * paragraph_pimpl.C (getChar): make the assert stricter, never
8823 allow the one past last pos to be taken
8825 * paragraph.C (getChar): ws changes only
8827 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8828 (numberOfSeparators): ditto
8829 (numberOfHfills): ditto
8831 2003-03-12 John Levon <levon@movementarian.org>
8837 * paragraph_funcs.C: fix per-buffer authorlists
8839 2003-03-12 John Levon <levon@movementarian.org>
8841 * text.C: fix newline in right address
8843 2003-03-12 Angus Leeming <leeming@lyx.org>
8845 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8846 duplicate those in LyXFunc::dispatch.
8850 * ToolbarDefaults.C:
8851 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8852 Add LFUN_FONTFREE_UPDATE.
8854 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8855 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8857 * bufferview_func.[Ch]: several new functions to facilliate
8858 transfer of data to and from the character dialog.
8860 2003-03-12 John Levon <levon@movementarian.org>
8865 * paragraph_funcs.C:
8866 * paragraph_pimpl.C:
8870 * text3.C: remove META_NEWLINE in favour of an inset
8873 * rowpainter.C: remove paintNewline (done by inset)
8875 2003-03-12 John Levon <levon@movementarian.org>
8877 * paragraph_pimpl.C: complain about bad getChar()s
8878 for a while at least
8880 2003-03-12 John Levon <levon@movementarian.org>
8883 * buffer.C: move paragraph read into a separate function,
8884 a little renaming to reflect that.
8887 * bufferparams.C: remove the author_ids map, not necessary now
8890 * factory.C: moved Buffer::readInset to here
8892 * paragraph_funcs.h:
8893 * paragraph_funcs.C: readParagraph free function moved from
8896 * tabular.C: name change
8898 2003-03-12 John Levon <levon@movementarian.org>
8901 * ParagraphParameters.C: move par params input to
8904 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8905 behave like a normal read from the stream wrt reading
8906 a line vs. a \\token
8908 2003-03-12 John Levon <levon@movementarian.org>
8911 * ParagraphParameters.h:
8912 * ParagraphParameters.C: move output code to a
8915 2003-03-12 John Levon <levon@movementarian.org>
8917 * BufferView.C (insertLyXFile):
8920 * tabular.C: use a parlist iterator for creating the
8923 2003-03-12 John Levon <levon@movementarian.org>
8925 * buffer.C: make current_change static local not
8928 2003-03-12 John Levon <levon@movementarian.org>
8930 * buffer.C: fix insertStringAsLines for change tracking
8932 2003-03-12 John Levon <levon@movementarian.org>
8939 * bufferparams.C: move author list into params. Rename some
8940 functions. Move the header reading into a separate token
8941 loop. Move the header token reading into BufferParams.
8943 2003-03-12 John Levon <levon@movementarian.org>
8945 * changes.C: put debug inside lyxerr.debugging() checks
8947 2003-03-11 André Pönitz <poenitz@gmx.net>
8949 * factory.C: make it aware of InsetHFill
8951 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8953 * buffer.C (latexParagraphs): move function from here...
8954 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8957 2003-03-10 Angus Leeming <leeming@lyx.org>
8959 * LyXAction.C (init): fix bug in poplating array with multiple entries
8960 with the same LFUN (spotted by JMarc).
8962 2003-03-10 John Levon <levon@movementarian.org>
8965 * text2.C: move getColumnNearX() near its
8968 2003-03-10 John Levon <levon@movementarian.org>
8970 * text.C: fix break before a minipage
8972 2003-03-10 John Levon <levon@movementarian.org>
8974 * text.C: fix the last commit
8976 2003-03-09 John Levon <levon@movementarian.org>
8980 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8981 bug 365 (don't break before insets unless needed). Don't
8982 return a value > last under any circumstances.
8984 2003-03-09 Angus Leeming <leeming@lyx.org>
8986 * BufferView_pimpl.C (trackChanges, dispatch): call
8987 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8989 2003-03-09 Angus Leeming <leeming@lyx.org>
8991 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8992 than Dialogs::showAboutlyx().
8994 2003-03-09 Angus Leeming <leeming@lyx.org>
8996 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8997 than Dialogs::showTabularCreate().
8999 2003-03-09 John Levon <levon@movementarian.org>
9003 * text2.C: 3rd arg to nextBreakPoint was always the same.
9006 2003-03-08 John Levon <levon@movementarian.org>
9013 * text2.C: Remove the "main" bit from the "main body"
9016 2003-03-08 John Levon <levon@movementarian.org>
9018 * text.C (leftMargin): The left margin of an empty
9019 manual label paragraph should not include the label width
9022 * text.C (prepareToPrint): don't attempt to measure hfills
9023 for empty manual label paragraphs - the answer should be 0
9025 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9027 * CutAndPaste.C: remove commented code and reindent.
9029 2003-03-08 John Levon <levon@movementarian.org>
9032 * lyxfunc.C: move reloadBuffer()
9035 * BufferView.C: to here
9037 * lyxvc.C: add comment
9040 * vc-backend.C: call bv->reload() to avoid
9041 getStatus() check on MENURELOAD
9043 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9045 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9046 to an old format .dep file.
9048 2003-03-07 Angus Leeming <leeming@lyx.org>
9050 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9051 when the LFUN_MOUSE_RELEASE should have been handled by
9052 inset->localDispatch.
9054 2003-03-07 Angus Leeming <leeming@lyx.org>
9056 * BufferView_pimpl.C (dispatch):
9057 * LyXAction.C (init):
9058 * ToolbarDefaults.C (init):
9060 * lyxfunc.C (getStatus):
9061 remove LFUN_INSET_GRAPHICS.
9063 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9065 2003-03-07 Angus Leeming <leeming@lyx.org>
9068 * LyXAction.C (init):
9069 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9071 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9074 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9076 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9077 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9079 2003-03-07 Angus Leeming <leeming@lyx.org>
9081 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9084 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9086 * ParagraphList.C (front): new function
9089 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9091 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9092 and top_row_offset_. removed var first_y.
9094 * text2.C (LyXText, removeRow):
9096 * BufferView_pimpl.C:
9097 use these methods instead of using first_y
9099 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9101 * text2.C (pasteSelection): adjust for checkPastePossible
9103 * CutAndPaste.C: remove Paragraph * buf and replace with
9104 ParagraphList paragraphs.
9105 (DeleteBuffer): delete
9106 (cutSelection): change the tc type to textclass_type
9107 (copySelection): change the tc type to textclass_type
9108 (copySelection): adjust for ParagraphList
9109 (pasteSelection): change the tc type to textclass_type
9110 (pasteSelection): adjust for Paragraphlist
9111 (nrOfParagraphs): simplify for ParagraphList
9112 (checkPastePossible): simplify for ParagraphList
9113 (checkPastePossible): remove unused arg
9115 * ParagraphList.C (insert): handle the case where there are no
9118 * CutAndPaste.h: make CutAndPaste a namespace.
9120 * text3.C (dispatch): adjust
9122 * text.C (breakParagraph): add a ParagraphList as arg
9124 * paragraph_funcs.C (breakParagraph): change to take a
9125 BufferParams and a ParagraphList as args.
9126 (breakParagraphConservative): ditto
9127 (mergeParagraph): ditto
9128 (TeXDeeper): add a ParagraphList arg
9129 (TeXEnvironment): ditto
9132 * buffer.C (readLyXformat2): adjust
9133 (insertStringAsLines): adjust
9134 (latexParagraphs): adjust
9136 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9137 (cutSelection): adjust
9138 (pasteSelection): adjust
9140 * BufferView_pimpl.C (insertInset): adjust
9142 2003-03-05 Angus Leeming <leeming@lyx.org>
9145 * LyXAction.C (init):
9146 * BufferView_pimpl.C (dispatch):
9147 * lyxfunc.C (getStatus):
9148 remove LFUN_CHILD_INSERT.
9150 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9152 2003-03-05 Angus Leeming <leeming@lyx.org>
9155 * LyXAction.C (init):
9156 * src/factory.C (createInset):
9157 * lyxfunc.C (getStatus):
9158 * text3.C (dispatch):
9159 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9161 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9163 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * ParagraphList.C (insert): handle insert right before end()
9166 (erase): fix cases where it can be first or last paragraph.
9168 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9170 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9171 Paragraph::next and Paragraph::previous
9174 * text.C (breakParagraph): adjust
9176 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9177 BufferParams& as arg.
9178 (breakParagraph): use ParagraphList::insert
9179 (breakParagraphConservative): take a Buffer* instead of a
9180 BufferParams& as arg.
9181 (breakParagraphConservative): use ParagraphList::insert.
9183 * buffer.C (insertStringAsLines): un-const it
9184 (insertStringAsLines): adjust
9186 * ParagraphList.C (insert): new function
9188 * CutAndPaste.C (pasteSelection): adjust
9190 * text.C (backspace): adjust
9192 * tabular.C (SetMultiColumn): adjust
9194 * CutAndPaste.C (cutSelection): adjust
9195 (pasteSelection): adjust
9197 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9198 Buffer const * as arg
9200 * ParagraphList.C (erase): new function
9201 * paragraph_funcs.C (mergeParagraph): use it
9202 (mergeParagraph): make it take a Buffer* instead of a
9203 BufferParams* as arg
9205 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9207 (breakParagraphConservative): ditto
9209 * paragraph.h: remove the breakParagraph friend
9211 * paragraph.C (eraseIntern): new function
9212 (setChange): new function
9214 * paragraph_funcs.C (mergeParagraph): make it take a
9215 ParagraphList::iterator instead of a Paragraph *, adjust
9218 * paragraph.h: move an #endif so that the change tracking stuff
9219 also works in the NO_NEXT case.
9221 2003-03-04 Angus Leeming <leeming@lyx.org>
9224 * LyXAction.C: new LFUN_INSET_MODIFY.
9226 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9227 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9229 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9231 * several files: ws changes only
9233 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9234 (TeXEnvironment): ditto
9237 * buffer.C (makeLaTeXFile): adjust
9238 (latexParagraphs): make it take ParagraphList::iterator as args
9240 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * buffer.C (latexParagraphs): adjust
9244 * paragraph.C (TeXOnePar): move function...
9245 (optArgInset): move function...
9246 (TeXEnvironment): move function...
9247 * paragraph_pimpl.C (TeXDeeper): move function...
9248 * paragraph_funcs.C: ...here
9250 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9252 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9254 * buffer.C (readInset): remove compability code for old Figure and
9257 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9259 * buffer.C: ws changes
9262 * BufferView_pimpl.C: ditto
9265 * bufferlist.h: ditto
9269 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9271 * converter.[Ch]: split into itself +
9274 * Makefile.am: += graph.[Ch] + format.[Ch]
9281 * lyxrc.C: added #include "format.h"
9283 2003-02-27 Angus Leeming <leeming@lyx.org>
9285 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9288 * factory.C (createInset): add "label" to the factory.
9290 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9291 string and do no more.
9293 2003-02-27 Angus Leeming <leeming@lyx.org>
9296 * LyXAction.C (init):
9297 * factory.C (createInset):
9298 * BufferView_pimpl.C (dispatch):
9299 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9301 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9303 * lyxfunc.C (dispatch):
9304 * text3.C (dispatch): pass name to params2string.
9306 2003-02-26 Angus Leeming <leeming@lyx.org>
9308 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9310 Rearrange the ~includes. Strip out the unnecessary ones.
9312 * factory.C (createInset): reformat.
9313 create new insets for the various LFUN_XYZ_APPLY lfuns.
9315 2003-02-26 John Levon <levon@movementarian.org>
9318 * lyxrow.C: add isParStart,isParEnd helpers
9320 * paragraph.h: make isInserted/DeletedText take refs
9322 * paragraph_funcs.h:
9323 * paragraph_funcs.C: remove #if 0'd code
9328 * text.C: use lyxrow helpers above.
9329 Move draw and paint routines to RowPainter.
9330 Make several methods use refs not pointers.
9331 Make backgroundColor() const.
9332 Add markChangeInDraw(), isInInset().
9333 Merge changeRegionCase into changeCase.
9334 Make workWidth() shouldn't-happen code into an Assert.
9337 * rowpainter.C: new class for painting a row.
9340 * vspace.C: make inPixels take a ref
9342 2003-02-26 Angus Leeming <leeming@lyx.org>
9344 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9347 2003-02-25 John Levon <levon@movementarian.org>
9349 * ispell.C: give the forked command a more accurate name
9351 2003-02-22 John Levon <levon@movementarian.org>
9354 * toc.C: make TocItem store an id not a Paragraph *
9357 2003-02-21 Angus Leeming <leeming@lyx.org>
9359 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9360 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9361 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9362 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9363 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9364 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9366 * BufferView_pimpl.C (dispatch):
9367 * LyXAction.C (init):
9368 * factory.C (createInset):
9369 * lyxfunc.C (getStatus, dispatch):
9370 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9372 2003-02-21 Angus Leeming <leeming@lyx.org>
9374 * BufferView_pimpl.C (MenuInsertLyXFile):
9375 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9376 * lyxfunc.C (menuNew, open, doImport):
9377 no longer pass a LyXView & to fileDlg.
9379 2003-02-21 Angus Leeming <leeming@lyx.org>
9381 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9382 * LyXAction.C: change, BIBKEY to BIBITEM.
9383 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9384 Change InsetBibKey to InsetBibitem.
9385 Change BIBKEY_CODE to BIBITEM_CODE.
9386 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9387 * factory.C: replace insetbib.h with insetbibitem.h.
9388 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9389 * paragraph.C: replace insetbib.h with insetbibitem.h.
9390 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9391 Change bibkey() to bibitem().
9392 * text.C: remove insetbib.h.
9393 * text2.C: replace insetbib.h with insetbibitem.h.
9394 change bibkey() to bibitem().
9395 * text3.C: remove insetbib.h.
9396 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9398 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9400 * lyxrc.C (output): enclose user email in quotes (in case there are
9403 2003-02-18 John Levon <levon@movementarian.org>
9405 * buffer.h: add std::
9407 2003-02-17 John Levon <levon@movementarian.org>
9413 * pspell.C: reworking. Especially in ispell, a large
9414 number of clean ups and bug fixes.
9416 * lyxfunc.C: fix revert to behave sensibly
9418 2003-02-17 André Pönitz <poenitz@gmx.net>
9421 * commandtags.h: new LFUN_INSERT_BIBKEY
9431 * paragraph_func.C: remove special bibkey handling
9433 2003-02-17 John Levon <levon@movementarian.org>
9435 * text.C (Delete): fix case where delete at the end of
9436 the very first paragraph would not merge the pars
9438 2003-02-17 John Levon <levon@movementarian.org>
9440 * lyxrow.C: fix lastPrintablePos()
9442 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9444 * bufferparams.C (writeLaTeX): add a std:here
9446 * buffer.C: and remove a using directive there
9448 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9450 * buffer.C (makeLaTeXFile): move the code that generates the
9453 * bufferparams.C (writeLaTeX): ... in this new method
9455 * LaTeXFeatures.C (getEncodingSet): make const
9456 (getLanguages): make const
9458 * MenuBackend.C (binding): returns the binding associated to this
9460 (add): sets the status of each item by calling getStatus. Adds
9462 (read): add support for OptSubMenu
9463 (expand): remove extra separator at the end of expanded menu
9465 2003-02-15 John Levon <levon@movementarian.org>
9468 * BufferView_pimpl.C:
9470 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9471 inset code that had no actual effect. Remove unneeded status
9474 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9476 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9479 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9481 * text.C (drawLengthMarker): also draw an arrow marker for
9482 symbolic lengths (medskip...)
9484 2003-02-14 John Levon <levon@movementarian.org>
9487 * tabular.C: better method names
9489 2003-02-14 John Levon <levon@movementarian.org>
9491 * BufferView_pimpl.C:
9496 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9497 it's a more accurate name. Remove some pointless uses.
9499 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9501 * text2.C (LyXText): change order of initilizers to shut off
9504 2003-02-14 John Levon <levon@movementarian.org>
9506 * buffer.C: use ParIterator for getParFromID()
9510 * paragraph_pimpl.h:
9511 * paragraph_pimpl.C: remove unused getParFromID()
9513 2003-02-14 John Levon <levon@movementarian.org>
9515 * buffer.C: remove some very old #if 0'd parse code
9517 2003-02-13 John Levon <levon@movementarian.org>
9521 * text2.C: move hfillExpansion(), numberOfSeparators(),
9522 rowLast(), rowLastPrintable(), numberofHfills(),
9523 numberOfLabelHfills() ...
9526 * lyxrow.C: ... to member functions here.
9531 * text.C: remove LyXText::beginningOfMainBody(), and call
9532 p->beginningOfMainBody() directly. Move the check for
9533 LABEL_MANUAL into the latter.
9540 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9546 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9547 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9549 2003-02-13 John Levon <levon@movementarian.org>
9551 * CutAndPaste.C: remove debug
9553 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9555 * paragraph.C (asString): remove two unused variables
9557 * lyxtextclass.C (readTitleType):
9559 (LyXTextClass): handle new members titletype_ and titlename_
9561 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9563 2003-02-09 John Levon <levon@movementarian.org>
9566 * buffer.C: replace hand-coded list with a map for the dep clean
9568 2003-02-08 John Levon <levon@movementarian.org>
9570 * LaTeX.C: consolidate code into showRunMessage() helper
9572 2003-02-08 John Levon <levon@movementarian.org>
9577 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9578 and pass the size in explicitly
9580 * BufferView_pimpl.h:
9581 * BufferView_pimpl.C:
9583 * BufferView.C: add getCurrentChange()
9585 * BufferView_pimpl.h:
9586 * BufferView_pimpl.C: handle change lfuns
9588 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9589 for changes. Mark pasted paragraphs as new.
9591 * support/lyxtime.h:
9592 * support/lyxtime.C:
9593 * DepTable.C: abstract time_t as lyx::time_type
9596 * LColor.C: add colours for new text, deleted text, changebars
9598 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9599 package use "usenames" option.
9603 * LyXAction.C: add change lfuns
9607 * author.C: author handling
9610 * buffer.C: add a per-buffer author list, with first entry as
9611 current author. Handle new .lyx tokens for change tracking. Output
9612 author list to .lyx file. Output dvipost stuff to .tex preamble.
9613 Bump lyx format to 222.
9616 * bufferlist.C: add setCurrentAuthor() to reset current author details
9620 * bufferparams.C: add param for tracking
9622 * bufferview_funcs.C: output change info in minibuffer
9626 * changes.C: add change-tracking structure
9629 * debug.C: add CHANGES debug flag
9632 * lyxfind.C: add code for finding the next change piece
9635 * lyxrc.C: add user_name and user_email
9638 * lyxrow.C: add a metric for the top of the text line
9641 * text.C: implement accept/rejectChange()
9644 * text.C: paint changebars. Paint new/deleted text in the chosen
9645 colours. Strike through deleted text.
9649 * paragraph_pimpl.h:
9650 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9651 in the current change to the insert functions. Rework erase to
9652 mark text as deleted, adding an eraseIntern() and a range-based
9653 erase(). Implement per-paragraph change lookup and
9656 * paragraph_funcs.C: Fixup paste for change tracking.
9658 * tabular.C: mark added row/columns as new.
9660 * text.C: fix rowLast() to never return -1. Don't allow
9661 spellchecking of deleted text. Track transpose changes. Don't
9662 allow paragraph break or merge where appropriate.
9664 * text2.C: leave cursor at end of selection after a cut.
9666 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9668 * text.C (getLengthMarkerHeight):
9669 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9670 visible on screen too.
9672 2003-02-07 John Levon <levon@movementarian.org>
9674 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9676 2003-02-05 Angus Leeming <leeming@lyx.org>
9678 * lyxserver.C (read_ready): revert my patch of 11 September last year
9679 as it sends PC cpu through the roof. Presumably this means that
9680 the lyxserver will no longer run on an Alpha...
9682 2003-01-30 Angus Leeming <leeming@lyx.org>
9684 * factory.C (createInset): create an InsetCommandParam of type "index"
9685 and use it to 'do the right thing'.
9687 * text2.C (getStringToIndex): ensure that cursor position is always
9688 reset to the reset_cursor position.
9690 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9692 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9695 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9699 * lyxfunc.C: Output messages with identical spelling, punctuation,
9702 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9704 * MenuBackend.C (expandFormats): List only viewable export formats
9707 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9710 * lyxfunc.C (getStatus): Make sure that formats other than
9711 "fax" can also be disabled
9713 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9715 * text3.C (dispatch): put the lfuns that insert insets in 3
9716 groups, and call doInsertInset with appropriate arguments.
9717 (doInsertInset): new function, that creates an inset and inserts
9718 it according to some boolean parameters.
9720 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9722 * buffer.C (readFile): remember to pass on 'par' when calling
9723 readFile recursively.
9725 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9727 * MenuBackend.C (expandFormats): add "..." to import formats.
9729 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9731 * paragraph.C (asString): Remove XForms RTL hacks.
9733 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9734 * buffer.C: fix typo
9736 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9738 * Makefile.am (LIBS): delete var
9739 (lyx_LDADD): add @LIBS@ here instead.
9741 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9743 * Clarify the meaning of "wheel mouse jump"
9745 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9747 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9750 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9752 * importer.C (Loaders): do not preallocate 3 elements in the
9753 vector, since one ends up with 6 elements otherwise
9755 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9757 * DepTable.C (write): write the file name as last element of the
9758 .dep file (because it may contain spaces)
9759 (read): read info in the right order
9761 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9763 * paragraph_pimpl.C (simpleTeXBlanks):
9764 (simpleTeXSpecialChars):
9765 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9767 * tabular.C (latex): add some missing case statements. Reindent.
9769 * MenuBackend.C (expandToc): remove unused variable.
9771 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9780 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9783 2003-01-05 John Levon <levon@movementarian.org>
9786 * BufferView.C: add getEncoding()
9789 * kbsequence.C: do not store last keypress
9792 * lyxfunc.C: store last keypress here instead. Pass encoding
9795 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9797 * lyx_main.C (init): remove annoying error message when following
9798 symbolic links (bug #780)
9800 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * text.C (insertChar):
9803 * lyxrc.C (getDescription): remove extra spaces
9805 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9807 * lyxrc.C (getDescription): remove extra spaces
9809 2002-12-20 John Levon <levon@movementarian.org>
9811 * text3.C: hack fix for page up/down across tall rows
9813 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9815 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9818 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9820 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9821 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9822 thesaurus is not compiled in
9824 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9826 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9828 2002-12-16 Angus Leeming <leeming@lyx.org>
9831 * lyx_main.C (init): remove override_x_deadkeys stuff.
9833 2002-12-12 John Levon <levon@movementarian.org>
9835 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9836 insert. Only remove shift modifier under strict
9839 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9841 * MenuBackend.C (expandToc): fix crash.
9843 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9845 * MenuBackend.C (expandToc): gettext on float names.
9847 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9849 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9850 implement bool empty() [bug 490]
9852 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9854 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9856 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9858 * several files: ws changes
9860 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9862 * text2.C (setCounter): clean up a bit, use boost.format.
9863 (updateCounters): initialize par upon declaration.
9865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9866 if the layout exists. We do not just store the layout any more.
9867 (SwitchLayoutsBetweenClasses): use boost.format
9869 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9871 * converter.C (convert): if from and to files are the same, use a
9872 temporary files as intermediary
9874 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9877 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9879 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9881 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9883 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9885 * tabular.C (asciiPrintCell): use string(size, char) instead of
9888 * sgml.C (openTag): fix order of arguments to string constructor
9891 * lyxfunc.C (dispatch): use boost.format
9893 * lots of files: change "c" -> 'c'
9895 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9897 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9899 2002-11-25 Angus Leeming <leeming@lyx.org>
9901 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9903 * lyx_main.C (init): compile fix.
9905 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9907 * lyx_cb.C (start): boost.formatify
9908 do not include <iostream>
9910 * lengthcommon.C: ws only
9912 * boost-inst.C,BoostFormat.h: add more explict instantations
9914 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9916 * lots of files: handle USE_BOOST_FORMAT
9918 2002-11-21 John Levon <levon@movementarian.org>
9920 * pspell.C: fix compile
9922 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * lyxfunc.C (dispatch): use boost::format
9928 * lyxfont.C (stateText): use boost::format
9930 * lyx_main.C (LyX): use boost::format
9932 (queryUserLyXDir): ditto
9935 (typedef boost::function): use the recommened syntax.
9937 * importer.C (Import): use boost::format
9939 * debug.C (showLevel): use boost::format
9941 * converter.C (view): use boost::format
9946 * bufferview_funcs.C (currentState): use boost::format
9948 * bufferlist.C (emergencyWrite): use boost::format
9950 * buffer.C (readLyXformat2): use boost::format
9951 (parseSingleLyXformat2Token): ditto
9953 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9955 * LaTeX.C (run): use boost::format
9957 * Chktex.C (scanLogFile): use boost::format
9959 * BufferView_pimpl.C (savePosition): use boost::format
9960 (restorePosition): ditto
9961 (MenuInsertLyXFile): ditto
9963 * BoostFormat.h: help file for explicit instation.
9965 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9967 * tabular.C (latex): Support for block alignment in fixed width
9970 2002-11-17 John Levon <levon@movementarian.org>
9972 * BufferView_pimpl.C:
9974 * lyxfunc.C: split filedialog into open/save
9976 2002-11-08 Juergen Vigna <jug@sad.it>
9978 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9979 by my last patch (hopefully).
9981 2002-11-08 John Levon <levon@movementarian.org>
9990 * toc.C: ParConstIterator, and use it (from Lars)
9992 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9994 * lyxtextclass.[Ch]: revise and add doxygen comments
9996 2002-11-07 John Levon <levon@movementarian.org>
9998 * text.C: fix progress value for spellchecker
10000 * toc.C: fix navigate menu for insetwrap inside minipage
10002 * paragraph_funcs.C: added FIXME for suspect code
10004 2002-11-07 John Levon <levon@movementarian.org>
10006 * BufferView_pimpl.C: fix redrawing of insets
10009 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10011 * text2.C (updateCounters): fix bug 668
10013 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10015 * text3.C (dispatch): Do not make the buffer dirty when moving the
10018 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10020 * vc-backend.C: STRCONV
10021 (scanMaster): ditto
10023 * text2.C (setCounter): STRCONV
10025 * paragraph.C (asString): STRCONV
10027 * lyxlength.C (asString): STRCONV
10028 (asLatexString): ditto
10030 * lyxgluelength.C (asString): STRCONV
10031 (asLatexString): ditto
10033 * lyxfunc.C (dispatch): STRCONV
10036 * lyxfont.C (stateText): STRCONV
10038 * importer.C (Import): STRCONV
10040 * counters.C (labelItem): STRCONV
10041 (numberLabel): ditto
10042 (numberLabel): remove unused ostringstream o
10047 * bufferview_funcs.C (currentState): STRCONV
10049 * buffer.C (readFile): STRCONV
10050 (asciiParagraph): ditto
10051 (makeLaTeXFile): ditto
10053 * Spacing.C (writeEnvirBegin): STRCONV
10055 * LaTeXFeatures.C (getLanguages): STRCONV
10056 (getPackages): ditto
10058 (getBabelOptions): ditto
10059 (getTClassPreamble): ditto
10060 (getLyXSGMLEntities): ditto
10061 (getIncludedFiles): ditto
10065 (scanAuxFile): ditto
10068 * LString.h: add the STRCONV macros
10070 * BufferView_pimpl.C (savePosition): STRCONV
10071 (restorePosition): ditto
10072 (MenuInsertLyXFile): ditto
10074 * vc-backend.C (scanMaster): change from submatch[...] to
10077 * funcrequest.C: include config.h
10079 * factory.C: include config.h
10081 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10083 * box.C: include config.h
10085 * LaTeX.C (scanAuxFile): change from submatch[...] to
10089 2002-10-25 Angus Leeming <leeming@lyx.org>
10091 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10093 * ispell.[Ch] (setError): new method.
10094 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10095 Use setError() insetead of goto END.
10097 * lyx_cb.C (AutoSave): move out child process into new class
10100 2002-10-30 John Levon <levon@movementarian.org>
10102 * text3.C: make start appendix undoable
10104 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10106 * lyxlength.C (inPixels): Fix returned value.
10108 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10111 2002-10-24 Angus Leeming <leeming@lyx.org>
10113 * lyxgluelength.h: no need to forward declare BufferParams
10114 or BufferView, so don't.
10116 2002-10-21 John Levon <levon@movementarian.org>
10118 * BufferView.C: menuUndo ->undo, redo
10120 * BufferView.h: document, remove dead, make some methods private
10122 * paragraph_funcs.h:
10123 * paragraph_funcs.C:
10124 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10129 * sgml.C: move sgml open/close tag into sgml.C
10131 * bufferview_funcs.h: unused prototype
10134 * lyxfunc.C: remove unused
10137 * text.C: remove unused
10139 2002-10-21 John Levon <levon@movementarian.org>
10143 * BufferView_pimpl.h:
10144 * BufferView_pimpl.C: fix mouse wheel handling based on
10145 patch from Darren Freeman
10147 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10149 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10151 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10153 * lyxlength.C (inPixels): Fix hanfling of negative length.
10154 Fix LyXLength::MU case.
10156 2002-10-16 John Levon <levon@movementarian.org>
10158 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10160 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10162 * converter.C (view): add support for $$i (file name) and $$p
10163 (file path) for the viewer command. If $$i is not specified, then
10164 it is appended to the command (for compatibility with old syntax)
10166 2002-10-14 Juergen Vigna <jug@sad.it>
10168 * undo_funcs.C (textHandleUndo): alter the order in which the
10169 new undopar is added to the LyXText, as we have to set first
10170 the right prev/next and then add it as otherwise the rebuild of
10171 LyXText is not correct. Also reset the cursor to the right paragraph,
10172 with this IMO we could remove the hack in "redoParagraphs()".
10174 2002-10-09 Angus Leeming <leeming@lyx.org>
10176 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10177 to turn off an optimisation if a new inset is to be inserted.
10179 2002-10-11 André Pönitz <poenitz@gmx.net>
10181 * lyxtext.h: make some functions public to allow access
10182 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10184 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10186 * text3.C (dispatch): when changing layout, avoid an infinite loop
10189 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10191 * lyxrc.C (read): treat a viewer or converter command of "none" as
10194 * MenuBackend.C (expandFormats): for an update, also allow the
10195 formats that are not viewable
10197 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10198 script if it is newer than the lyxrc.defaults in user directory
10200 2002-10-07 André Pönitz <poenitz@gmx.net>
10202 * text.C: Vitaly Lipatov's small i18n fix
10204 2002-09-25 Angus Leeming <leeming@lyx.org>
10206 * ispell.h: doxygen fix.
10208 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10210 * buffer.h (readFile): Add a new argument to the method, to allow
10211 reading of old-format templates.
10213 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10215 * toc.C (getTocList): Get TOC from InsetWrap.
10217 2002-09-16 John Levon <levon@movementarian.org>
10219 * lyxfunc.C: check tabular for cut/copy too
10221 2002-09-12 John Levon <levon@movementarian.org>
10223 * LyXAction.C: tidy
10226 * factory.C: add header
10228 * paragraph_funcs.h:
10229 * paragraph_funcs.C: cleanup
10231 2002-09-11 John Levon <levon@movementarian.org>
10233 * PrinterParams.h: odd/even default to true
10235 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10237 * PrinterParams.h: update printer parameters for new xforms dialog
10239 2002-09-11 Angus Leeming <leeming@lyx.org>
10241 * lyxserver.C (read_ready): re-write to make it more transparent
10242 and to make it work in coherent fashion under Tru64 Unix.
10244 2002-09-11 André Pönitz <poenitz@gmx.net>
10248 * text3.C: implement LFUN_WORDSEL
10250 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10252 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10253 make floatlist_ a boost::shared_ptr<FloatList>
10255 * lyxtextclass.C: include FloatList.h
10256 (LyXTextClass): initialize floatlist_
10257 (TextClassTags): add TC_NOFLOAT
10258 (Read): match "nofloat" to TC_NOFLOAT and use it.
10259 (readFloat): modify call to floatlist_
10263 * FloatList.[Ch] (FloatList): remove commented out float
10265 (erase): new function
10267 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10269 * MenuBackend.C (expandToc): fix crash when there is no document
10272 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10274 * many files: Add insetwrap.
10276 2002-09-09 John Levon <levon@movementarian.org>
10278 * text2.C: remove confusing and awkward depth wraparound
10280 2002-09-09 John Levon <levon@movementarian.org>
10282 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10285 * buffer.C: remove getIncludeonlyList()
10288 * lyxfunc.C: remove headers
10290 2002-09-09 Juergen Vigna <jug@sad.it>
10292 * text.C (getColumnNearX): fix form Michael this is most
10293 probably a cut&paste bug.
10295 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10297 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10299 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10300 references, ws changes.
10302 * text2.C (init): update counters after init
10303 (insertParagraph): no need to set counter on idividual paragraphs.
10304 (setCounter): access the counters object in the textclass object
10305 on in the buffer object.
10306 (updateCounters): ditto
10308 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10309 shared_ptr<Counters> to avoid loading counters.h in all
10311 (LyXTextClass): initialize ctrs_
10312 (TextClassTags): add TC_COUNTER, and ...
10313 (Read): use it here.
10314 (CounterTags): new tags
10315 (readCounter): new function
10316 (counters): new funtion
10317 (defaultLayoutName): return a const reference
10319 * counters.C (Counters): remove contructor
10320 (newCounter): remove a couple of unneeded statements.
10321 (newCounter): simplify a bit.
10322 (numberLabel): some small formatting changes.
10324 * buffer.[Ch]: remove all traces of counters, move the Counters
10325 object to the LyXTextClass.
10327 2002-09-06 Alain Castera <castera@in2p3.fr>
10329 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10330 package to set the horizontal alignment on fixed width columns.
10333 * lyx_sty.h: added tabularnewline macro def.
10335 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10337 2002-09-06 John Levon <levon@movementarian.org>
10339 * LyXAction.C: tooltips for sub/superscript
10341 * MenuBackend.C: a bit more verbose
10343 * lyxfunc.C: tiny clean
10345 * undo_funcs.C: document undo_frozen
10347 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10349 * counters.C (Counters): add missing algorithm counter.
10351 * text2.C (setCounter): lookup the counter with layouts latexname
10352 instead of by section number.
10353 (setCounter): use a hackish way to lookup the correct enum
10355 a float name->type change
10356 reset enum couners with counter name directly instead of depth value.
10358 * counters.C (Counters): remove the push_backs, change to use the
10359 float type not the float name.
10360 (labelItem): remove unused string, float name->type change
10362 * counters.h: don't include vector, loose the enums and sects vectors
10364 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10366 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10367 (Read): add float->TC_FLOAT to textclassTags
10368 (Read): and handle it in the switch
10369 (readFloat): new function
10371 * FloatList.C (FloatList): comment out the hardcoded float
10374 * lyxlayout.h: ws change.
10376 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10378 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10380 2002-09-03 Angus Leeming <leeming@lyx.org>
10382 * BufferView_pimpl.h: qualified name is not allowed in member
10383 declaration: WorkArea & Pimpl::workarea() const;
10385 * factory.C: added using std::endl directive.
10387 * text3.C: added using std::find and std::vector directives.
10389 2002-08-29 André Pönitz <poenitz@gmx.net>
10392 * text2.C: remove unused member number_of_rows
10395 * BufferView2.C: remove file, move contents to...
10396 * BufferView.C: ... here
10398 * BufferView_pimpl.C:
10399 * factory.C: move more inset creation to factory
10401 * vspace.C: avoid direct usage of LyXText, ws changes
10404 don't provide direct access to WorkArea, use two simple
10405 acessors haveSelction() and workHeight() instead
10408 2002-08-29 John Levon <levon@movementarian.org>
10410 * BufferView_pimpl.C (dispatch): do not continue when
10413 2002-08-28 André Pönitz <poenitz@gmx.net>
10415 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10418 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10420 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10422 * buffer.C: increment LYX_FORMAT to 221
10424 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10425 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10427 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10429 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10431 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10433 * factory.C (createInset): use LyXTextClass::floats
10435 * MenuBackend.C (expandFloatListInsert):
10436 (expandFloatInsert):
10439 * text2.C (setCounter):
10441 * LaTeXFeatures.C (useFloat):
10442 (getFloatDefinitions):
10444 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10446 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10447 floatlist_, with accessor floats().
10449 * FloatList.h: remove global FloatList
10451 2002-08-26 André Pönitz <poenitz@gmx.net>
10453 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10457 * BufferView_pimpl.C:
10458 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10460 2002-08-25 John Levon <levon@movementarian.org>
10462 * LyXAction.C: fix margin note description
10464 2002-08-24 John Levon <levon@movementarian.org>
10468 * bufferview_funcs.C:
10470 * undo_funcs.C: cleanups
10472 * lyxfunc.C: disable CUT/COPY when no selection
10474 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10476 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10477 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10479 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10480 Add backward compatibility to "mono", "gray" and "no".
10482 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10484 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10485 (and file_format >= 200).
10487 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10491 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10493 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10495 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10497 * BufferView_pimpl.C:
10504 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10505 inset and code to make it work with the paragraph code. The inset
10506 can be anywhere in the paragraph, but will only do the expected
10507 thing in LaTeX if the layout file contains the parameter line
10509 (or more generally, a nonzero value) for that layout.
10511 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10513 * paragraph.h: remove the declaration of undefined counters class
10516 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10518 * text2.C (setCounter): fixed enumeration mis-count as reported by
10519 Dr. Richard Hawkins.
10521 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * paragraph_funcs.h: remove some unneeded includes
10525 * text.C (backspace): pasteParagraph now in global scipe
10527 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10528 (pasteSelection): ditto
10530 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10531 * paragraph_funcs.C (pasteParagraph): ... here
10533 2002-08-20 André Pönitz <poenitz@gmx.net>
10535 * commandtags.h: new LFUNs for swapping/copying table row/colums
10538 * lyxfunc.C: support for new lfuns
10540 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10543 * buffer.[Ch]: remove NO_COMPABILITY stuff
10545 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10547 * boost.C (throw_exception): new file, with helper function for
10548 boost compiled without exceptions.
10553 * ParameterStruct.h:
10554 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10556 * bufferlist.C (emergencyWriteAll): use boost bind
10558 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10560 * text.C: include paragraph_funcs.h
10561 (breakParagraph): breakParagraph is now in global scope
10563 * paragraph_funcs.[Ch]: new files
10565 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10568 * buffer.C: include paragraph_funcs.h
10569 (insertStringAsLines): breakParagraph is now in global scope
10571 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10574 * CutAndPaste.C: include paragraph_funcs.h
10575 (cutSelection): breakParagraphConservative is now in global scope
10576 (pasteSelection): ditto
10578 * buffer.h: declare oprator== and operator!= for
10579 Buffer::inset_iterator
10581 * bufferlist.C (emergencyWrite): don't use fmt(...)
10583 * text3.C: add using std::endl
10585 * BufferView.C (moveCursorUpdate): remove default arg
10587 2002-08-20 André Pönitz <poenitz@gmx.net>
10589 * buffer.[Ch]: move inline functions to .C
10592 * BufferView_pimpl.C:
10594 * buffer.[Ch]: use improved inset_iterator
10597 * paragraph.[Ch]: write one paragraph at a time
10599 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10601 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10602 style if style is not specified.
10604 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10606 * text2.C (setCounter): when searching for right label for a
10607 caption, make sure to recurse to parent insets (so that a caption
10608 in a minipage in a figure float works) (bug #568)
10610 2002-08-20 André Pönitz <poenitz@gmx.net>
10612 * text3.C: new file for LyXText::dispatch() and helpers
10614 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10616 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10618 2002-08-19 André Pönitz <poenitz@gmx.net>
10621 * text.C: new LyXText::dispatch()
10623 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10625 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10627 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10629 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10632 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10634 * Makefile.am: use $(variables) instead of @substitutions@
10636 2002-08-15 André Pönitz <poenitz@gmx.net>
10639 * BufferView_pimpl.C: streamlining mathed <-> outer world
10643 * LyXAction.C: remove unused LFUN_MATH
10645 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10647 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10649 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10651 * paragraph.C (Paragraph): reformat a bit
10652 (cutIntoMinibuffer): use builtin InsetList function instad of
10656 * buffer.C: include boost/bind.hpp, add using std::for_each
10657 (writeFileAscii): use ParagraphList iterators
10658 (validate): use for_each for validate traversal of paragraphs
10659 (getBibkeyList): use ParagraphList iterators
10660 (resizeInsets): use for_each to resizeInsetsLyXText for all
10662 (getParFromID): use ParagraphList iterators
10664 * BufferView2.C (lockInset): use paragraph list and iterators
10666 2002-08-14 John Levon <levon@movementarian.org>
10668 * lyxserver.C: remove spurious xforms include
10670 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10672 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10674 2002-08-13 André Pönitz <poenitz@gmx.net>
10677 * lyxfunc.C: further cleaning
10679 2002-08-13 André Pönitz <poenitz@gmx.net>
10681 * funcrequest.h: new constructor
10683 * funcrequest.C: move stuff here from .h
10686 * BufferView_pimpl.C:
10689 * lyxfunc.C: subsequent changes
10691 * lyxfunc.h: new view() member function
10693 * lyxfunc.C: subsequent changes
10695 2002-08-13 Angus Leeming <leeming@lyx.org>
10698 * BufferView_pimpl.C:
10706 changes due to the changed LyXView interface that now returns references
10707 to member variables not pointers.
10709 2002-08-13 Angus Leeming <leeming@lyx.org>
10711 * WordLangTuple (word, lang_code): return references to strings,
10716 * lyxtext.h: forward-declare WordLangTuple.
10721 * text.C: #include "WordLangTuple.h".
10724 * text.C: (selectNextWordToSpellcheck): constify return type.
10726 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10732 * paragraph_pimpl.h:
10735 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10736 suggested by Angus.
10737 Made updateCounter always count from start of buffer, and removed
10738 second argument (par).
10739 Reverted floats number display to '#'. Perhaps I'll try again when the
10740 code base is sanitized a bit.
10742 2002-08-12 Angus Leeming <leeming@lyx.org>
10744 * buffer.[Ch] (getLabelList): constify.
10746 2002-08-07 André Pönitz <poenitz@gmx.net>
10748 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10750 * funcrequest.h: extension to keep mouse (x,y) position
10752 2002-08-12 Juergen Vigna <jug@sad.it>
10754 * BufferView2.C (insertErrors): forbid undo when inserting error
10757 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10759 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10761 * ParagraphList.[Ch]: new files
10763 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10765 * BufferView2.C (lockInset): ParagraphList changes
10768 * bufferlist.C: ditto
10772 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10774 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10775 unused class variable counter_,
10777 * paragraph.[Ch] (getFirstCounter): delete unused function
10779 * counters.C: include LAssert.h
10780 (reset): add a new function with no arg, change other version to
10781 not have def. arg and to not allow empty arg.
10783 * text2.C (setCounter): remove empty arg from call to Counters::reset
10785 2002-08-11 John Levon <levon@movementarian.org>
10787 * Makefile.am: add WordLangTuple.h
10789 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10791 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10792 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10794 * insets/insettext.C: InsetList changes
10796 * graphics/GraphicsSupport.C (operator()): InsetList changes
10798 * toc.C (getTocList): InsetList changes
10800 * paragraph_pimpl.[Ch]: InsetList changes
10802 * paragraph.[Ch]: InsetList changes
10804 * buffer.C (inset_iterator): InsetList changes
10805 (setParagraph): ditto
10806 * buffer.h (inset_iterator): ditto
10807 * iterators.C (operator++): ditto
10808 * iterators.h: ditto
10810 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10812 * InsetList.[Ch]: new files, most InsetList handling moved out of
10815 * BufferView2.C (removeAutoInsets): InsetList changes
10817 (ChangeInsets): ditto
10819 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10821 * paragraph_pimpl.h (empty): new function
10823 * paragraph.[Ch] (empty): new function
10825 * other files: use the new Paragraph::empty function
10827 2002-08-09 John Levon <levon@movementarian.org>
10829 * lyxtext.h: remove unused refresh_height
10831 2002-08-09 John Levon <levon@movementarian.org>
10838 * paragraph.C: move sgml char escaping out of paragraph
10841 * paragraph.C: remove id setter
10845 * paragraph_pimpl.C: remove dead tex_code_break_column
10847 * bufferview_funcs.C: small cleanup
10849 * lyxfunc.C: remove dead proto
10851 * lyxtext.h: make some stuff private. Remove some dead stuff.
10853 * lyxgluelength.C: make as[LyX]String() readable
10855 2002-08-08 John Levon <levon@movementarian.org>
10860 * ToolbarDefaults.C:
10863 * toc.C: lyxaction cleanup
10865 2002-08-08 John Levon <levon@movementarian.org>
10867 * BufferView2.C: small cleanup
10870 * lyxfind.C: move unnecessary header into the .C
10872 2002-08-08 John Levon <levon@movementarian.org>
10874 * funcrequest.h: just tedious nonsense
10877 * lyx_main.C: cleanups
10880 * vspace.C: remove dead header lyx_main.h
10882 2002-08-07 Angus Leeming <leeming@lyx.org>
10885 * paragraph_pimpl.h:
10886 Forward declare class Counters in paragraph.h by moving the ctrs member
10887 variable into Paragraph::Pimpl.
10888 (counters): new method, returning a reference to pimpl_->ctrs.
10890 * text2.C: ensuing changes.
10892 2002-08-07 John Levon <levon@movementarian.org>
10894 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10896 * BufferView_pimpl.C: announce X selection on double/triple
10899 * lyx_main.C: use correct bool in batch dispatch
10901 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10903 2002-08-07 André Pönitz <poenitz@gmx.net>
10905 * funcrequest.h: new class to wrap a kb_action and its argument
10908 * BufferView_pimpl[Ch]:
10912 * lyxrc.C: subsequent changes
10915 2002-08-07 John Levon <levon@movementarian.org>
10917 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10918 document options change.
10920 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10925 * makefile.am: move counters functionality over from
10926 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10928 2002-08-06 John Levon <levon@movementarian.org>
10930 * WordLangTuple.h: new file for word + language code tuple
10941 * BufferView2.C: use WordLangTuple
10944 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10946 2002-08-06 John Levon <levon@movementarian.org>
10948 * lyx_main.C: fix cmdline batch handling
10950 2002-08-06 André Pönitz <poenitz@gmx.net>
10952 * lyxrc.C: set default for show_banner to true
10954 2002-08-06 John Levon <levon@movementarian.org>
10956 * pspell.C: fix a crash, and allow new aspell to work
10958 2002-08-06 John Levon <levon@movementarian.org>
10961 * kbmap.C: small cleanup
10964 * vspace.C: add const
10966 2002-08-05 John Levon <levon@movementarian.org>
10968 * LyXAction.C: back to tabular-insert
10970 2002-08-04 John Levon <levon@movementarian.org>
10973 * BufferView.C: cosmetic change
10975 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10985 * BufferView2.C: purge all "Lyx" not "LyX" strings
10988 * lyxcursor.C: attempt to add some documentation
10993 * ToolbarDefaults.C:
10994 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10995 merge with LFUN_TABULAR_INSERT
11002 * pspell.C: split up i/pspell implementations into separate
11003 files, many cleanups
11005 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11007 * text2.C: some cleanup
11009 * lyxfunc.C: don't check for isp_command == "none" any more, it
11010 didn't make any sense
11012 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11017 * makefile.am: move counters functionality over
11018 from text2.C/paragraph.[Ch] to counters.[Ch], and
11020 2002-08-02 John Levon <levon@movementarian.org>
11022 * buffer.C: s/lyxconvert/lyx2lyx/
11024 2002-08-02 Angus Leeming <leeming@lyx.org>
11026 * lyxlex.C: revert John's change as it breaks reading of the user
11029 2002-08-02 Angus Leeming <leeming@lyx.org>
11031 * importer.C (Import):
11032 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11033 changes due to LyXView::view() now returning a boost::shared_ptr.
11035 2002-08-02 John Levon <levon@movementarian.org>
11037 * lyxlex.C: small cleanup
11039 2002-08-02 John Levon <levon@movementarian.org>
11041 * text2.C (status): small cleanup, no logic change
11043 2002-08-01 John Levon <levon@movementarian.org>
11046 * buffer.C (writeFile): don't output alerts, caller
11050 * lyx_cb.C: from above
11052 * lyxfunc.C: allow to open non-existent files
11054 2002-07-31 John Levon <levon@movementarian.org>
11056 * lyxserver.C: don't let incidental errors get
11059 2002-07-30 John Levon <levon@movementarian.org>
11061 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11063 2002-07-30 John Levon <levon@movementarian.org>
11066 * lyxserver.C: remove I/O callback too
11068 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11073 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11075 * many files: strip,frontStrip -> trim,ltrim,rtrim
11077 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11079 * PrinterParams.h: remove extern containsOnly, and include
11080 support/lstrings.h instead.
11082 * LaTeX.C (scanAuxFile): modify because of strip changes
11084 * buffer.C (makeLaTeXFile): ditto
11085 * bufferparams.C (writeFile): ditt
11086 * lyxfont.C (stateText): ditto
11087 * lyxserver.C (read_ready): ditto
11088 * vc-backend.C (scanMaster): ditto
11090 * BufferView_pimpl.h: ws changes
11092 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11094 2002-07-26 André Pönitz <poenitz@gmx.net>
11096 * kb_sequence.C: remove unnedred usings
11098 2002-07-26 Juergen Vigna <jug@sad.it>
11100 * lyxfind.C (LyXReplace): we have to check better if the returned
11101 text is not of theLockingInset()->getLockingInset().
11103 2002-07-25 Juergen Vigna <jug@sad.it>
11105 * lyxfind.C (LyXReplace): don't replace if we don't get the
11108 * undo_funcs.C (createUndo): remove debugging code.
11110 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11112 * buffer.C (parseSingleLyXformat2Token): Use default placement
11113 when reading old floats.
11115 * FloatList.C (FloatList): Change the default placement of figure
11116 and tables to "tbp".
11118 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11120 * MenuBackend.C: using std::max
11122 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * MenuBackend.C (expandToc):
11125 (expandToc2): code moved from xforms menu frontend. It is now
11126 generic and TOCs are transparent to menu frontends.
11128 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11130 * toc.C (getTocList): protect against buf=0
11132 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11133 Menu as first parameter. Now, this calls itself recursively to
11134 expand a whole tree (this will be useful for TOC handling)
11135 (expandFloatInsert): remove 'wide' version of floats
11137 * MenuBackend.h (submenuname): returns the name of the submenu.
11138 (submenu): returns the submenu itself, provided it has been
11139 created by MenuBackend::expand
11141 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11143 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11144 insets which have noFontChange == true. (bug #172)
11146 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11148 * BufferView_pimpl.C: add connection objects and use them...
11151 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * MenuBackend.C (expandLastfiles):
11156 (expandFloatListInsert):
11157 (expandFloatInsert):
11158 (expand): split expand in parts
11160 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11162 * lyx_gui.C: use lyx_gui::exit()
11164 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11166 * LyXAction.C: show the failing pseudo action
11168 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11170 * buffer.C (readFile): Run the lyxconvert script in order to read
11173 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11177 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11179 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11183 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11185 2002-07-22 Herbert Voss <voss@lyx.org>
11188 * lyxlength.[Ch]: add support for the vertical lengths
11190 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11192 * toc.[Ch]: std:: fixes
11194 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11196 * lyxrc.C: do not include lyx_main.h
11198 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11204 * BufferView2.C: include "lyxlex.h"
11207 * bufferparams.h: do not #include "lyxlex.h"
11209 * lyxtextclasslist.C (Add): remove method
11210 (classlist): renamed to classlist_
11212 * paragraph_pimpl.C:
11216 * bufferview_funcs.C:
11221 * toc.C (getTocList): use BufferParams::getLyXTextClass
11223 * toc.C (getTocList): use InsetFloat::addToToc
11225 * toc.[Ch]: new files, containing helper functions to handle table
11228 * lyxfunc.C (dispatch): no need to remove spaces around command
11230 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11231 first command of the sequence; it is not very clever, but I do not
11232 have a better idea, actually
11234 * LyXAction.C (LookupFunc): make sure to remove space at the
11235 beginning and end of the command
11237 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * MenuBackend.C (getMenubar): new method: return the menubar of
11241 (read): treat differently reading of menu and menubar (in
11242 particular, the menubar has no name now)
11243 (Menu::menubar): remove
11245 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11248 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11250 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11251 a bibitem inset in a RTL paragraph.
11253 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11255 * paragraph_pimpl.C: constify
11257 * BufferView_pimpl.C:
11259 * lyxfunc.C: fix dispatch in a nicer way
11261 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11263 * lyxfunc.C (dispatch):
11264 * BufferView_pimpl.C:
11265 * BufferView_pimpl.h:
11267 * BufferView.h: rename Dispatch() to dispatch()
11269 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11271 * lyxlayout.C (Read): honor DependsOn tag
11273 * lyxlayout.[Ch] (depends_on): new method
11275 * version.C.in: update lyx_docversion
11277 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11279 * paragraph.C (validate): remove from here...
11280 * paragraph_pimpl.C (validate): ... and move here
11281 (isTextAt): make it const
11283 * buffer.C (getLists): ws cleanup
11285 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11287 * language.C (read): Use iso8859-1 encoding in latex_lang
11288 (this prevents LyX from crashing when using iso10646-1 encoding).
11290 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * text2.C (toggleInset): if cursor is inside an inset, close the
11293 inset and leave cursor _after_ it
11295 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11297 * lyxfunc.C: move minibuffer completion handling out of here
11299 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11301 * BufferView_pimpl.C:
11302 * LaTeX.C: fix dispatch calls
11304 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11306 * text.C (drawChars): Fix Arabic text rendering.
11308 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11312 * lyxfunc.C: remove message-push/pop
11316 * lyxfunc.C: rationalise some code by removing verboseDispatch
11317 in favour of a bool argument to dispatch()
11319 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * lyx_main.C (init): make sure to read symlinks as absolute paths
11323 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11326 * lyxfunc.C: no need for commandshortcut to be a member
11328 2002-07-15 André Pönitz <poenitz@gmx.net>
11330 * converter.C: add support for $$s (scripts from lib/scripts dir)
11331 * lyx_main.C: white space
11333 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11337 * lyxrc.C: remove second exit confirmation
11339 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11344 * BufferView_pimpl.h:
11345 * BufferView_pimpl.C:
11346 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11348 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11350 * MenuBackend.C (expand): add numeric shortcuts to document menu
11352 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11354 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11356 * lyxfont.C (setLyXFamily):
11363 * buffer.C (asciiParagraph): use ascii_lowercase
11365 2002-07-15 Mike Fabian <mfabian@suse.de>
11367 * lyxlex_pimpl.C (search_kw):
11368 * lyxlex.C (getLongString):
11369 * converter.h (operator<):
11370 * converter.C (operator<):
11371 * buffer.C (parseSingleLyXformat2Token):
11373 * ToolbarDefaults.C (read):
11374 * MenuBackend.C (checkShortcuts):
11376 * LColor.C (getFromGUIName):
11377 (getFromLyXName): use the compare_ascii_no_case instead of
11378 compare_no_case, because in turkish, 'i' is not the lowercase
11379 version of 'I', and thus turkish locale breaks parsing of tags.
11381 2002-07-16 Angus Leeming <leeming@lyx.org>
11383 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11384 now takes a Buffer const & argument.
11386 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11388 * BufferView.C (resize): check there's a buffer to resize
11390 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11392 * lyxfunc.C: remove dead code
11395 * lyxserver.C: use lyx_guii::set_read_callback
11397 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11399 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11400 an inset in a RTL paragraph.
11402 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11404 * lyxfunc.C: repaint after a font size update
11406 2002-07-15 André Pönitz <poenitz@gmx.net>
11408 * lyxlength.C: inBP should be able to return negative values
11410 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11412 * lyxfunc.C: use lyx_gui::update_fonts()
11414 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11416 * lyxfunc.C: use lyx_gui::update_color()
11418 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11424 * lyxrc.C: remove file->new asks for name option, and let
11425 buffer-new take an argument
11427 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11429 * BufferView_pimpl.C: remove unneeded extra repaint()
11431 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11433 * LyXAction.C: allow command-sequence with NoBuffer
11435 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11437 2002-07-10 Angus Leeming <leeming@lyx.org>
11439 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11441 2002-07-09 Angus Leeming <leeming@lyx.org>
11443 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11445 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11447 * lengthcommon.h: whitespace
11449 * lyxfunc.C: update scrollbar after goto paragraph
11451 * lyxtext.h: factor out page break drawing, and fix it so
11452 page break/added space paints as selected nicely
11454 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11456 * BufferView_pimpl.C: add FIXMEs, clean up a little
11458 2002-07-09 André Pönitz <poenitz@gmx.net>
11460 * lyxfont.[Ch]: support for wasy symbols
11462 2002-07-08 André Pönitz <poenitz@gmx.net>
11464 * BufferView_pimpl.C: apply John's patch for #93.
11466 2002-07-05 Angus Leeming <leeming@lyx.org>
11468 * BufferView_pimpl.C (buffer): generate previews if desired.
11470 * LColor.h: add "preview" to the color enum.
11472 * LColor.C (LColor): add a corresponding entry to the items array.
11474 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11477 2002-07-05 Angus Leeming <leeming@lyx.org>
11479 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11480 The body of the code is now in the method that is passed an ostream &
11481 rather than a file name.
11482 Pass an additional only_preamble parameter, useful for the forthcoming
11485 2002-07-03 André Pönitz <poenitz@gmx.net>
11487 * lyxfunc.C: simplify getStatus() a bit for math stuff
11489 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11493 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11495 * text.C (changeRegionCase): do not change case of all the
11496 document when region ends at paragraph end (bug #461)
11498 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11500 * paragraph.C (startTeXParParams):
11501 (endTeXParParams): add \protect when necessary
11503 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11505 * BufferView_pimpl.C (workAreaExpose): remove warning
11507 2002-06-27 Angus Leeming <leeming@lyx.org>
11509 * Makefile.am: add lyxlayout_ptr_fwd.h.
11511 2002-06-26 André Pönitz <poenitz@gmx.net>
11513 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11515 2002-06-25 Angus Leeming <leeming@lyx.org>
11517 * lyxfunc.C (dispatch): Comment out the call to
11518 grfx::GCache::changeDisplay. The method no longer exists now that the
11519 pixmap generation part of the graphics loader has been moved into
11522 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11524 * text2.C: layout as layout
11526 * text.C: layout as layout
11528 * tabular.C (OldFormatRead): layout as layout
11530 * paragraph_pimpl.C (TeXDeeper): layout as layout
11531 (realizeFont): layout as layout
11533 * paragraph.C (writeFile): layout as layout
11534 (validate): layout as layout
11535 (getFont): layout as layout
11536 (getLabelFont): layout as layout
11537 (getLayoutFont): layout as layout
11538 (breakParagraph): layout as layout
11539 (stripLeadingSpaces): layout as layout
11540 (getEndLabel): layout as layout
11541 (getMaxDepthAfter): layout as layout
11542 (applyLayout): layout as layout
11543 (TeXOnePar): layout as layout
11544 (simpleTeXOnePar): layout as layout
11545 (TeXEnvironment): layout as layout
11546 (layout): layout as layout
11547 (layout): layout as layout
11549 * lyxtextclass.C (compare_name): new functor to work with
11550 shared_ptr, layout as layout
11551 (Read): layout as layout
11552 (hasLayout): layout as layout
11553 (operator): layout as layout
11554 (delete_layout): layout as layout
11555 (defaultLayout): layout as layout
11557 * lyxlayout_ptr_fwd.h: new file
11559 * lyxlayout.C (Read): layout as layout
11561 * lyx_cb.C (MenuInsertLabel): layout as layout
11563 * bufferlist.C (newFile): layout as layout
11565 * buffer.C (readLyXformat2): layout as layout
11566 (parseSingleLyXformat2Token): layout as layout
11567 (insertStringAsLines): layout as layout
11568 (asciiParagraph): layout as layout
11569 (latexParagraphs): layout as layout
11570 (makeLinuxDocFile): layout as layout
11571 (simpleLinuxDocOnePar): layout as layout
11572 (makeDocBookFile): layout as layout
11573 (simpleDocBookOnePar): layout as layout
11574 (getLists): layout as layout
11576 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11578 * CutAndPaste.C (cutSelection): layout as layout
11579 (pasteSelection): layout as layout
11580 (SwitchLayoutsBetweenClasses): layout as layout
11582 * BufferView_pimpl.C (Dispatch): layout as layout
11583 (smartQuote): layout as layout
11585 * BufferView2.C (unlockInset): layout as layout
11587 2002-06-24 André Pönitz <poenitz@gmx.net>
11589 * lyxfunc.C: fix #487
11591 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11595 * lyxfunc.C: remove display_shortcuts, show_banner
11597 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11599 * Buffer_pimpl.C: oops, update on resize
11601 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11608 * BufferView.C: use repaint()
11610 * BufferView_pimpl.h:
11611 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11612 as it's a clearer description. Remove superfluous
11615 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11617 * text.C: fix bug 488. Not ideal, but getting
11618 getWord() to work properly for the insets that
11619 matter is more difficult ...
11621 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11623 * BufferView_pimpl.C:
11626 * lyxfunc.C: remove the six million index lyxfuncs to just
11627 one, and DTRT (bug 458)
11629 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11633 * BufferView_pimpl.h:
11634 * BufferView_pimpl.C: clean up resize() stuff,
11635 and unnecessary updateScreen()s
11637 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11641 * BufferView_pimpl.h:
11642 * BufferView_pimpl.C:
11645 * minibuffer.C: remove focus management of workarea,
11646 not needed. Use screen's greyOut()
11648 2002-06-17 Herbert Voss <voss@lyx.org>
11650 * converter.C: (convert) do not post a message, when converting
11651 fails, let the calling function decide what to do in this case
11653 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11655 * lyxfunc.C: tidy up a little
11657 2002-06-16 <alstrup@diku.dk>
11659 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11660 Got rid of FORMS_H_LOCATION include. Now we are
11663 2002-06-15 LyX Development team <lyx@rilke>
11665 * buffer.[Ch] (sgmlOpenTag):
11666 (sgmlCloseTag): Added support for avoiding pernicious mixed
11667 content. Return number of lines written.
11669 (makeLinuxDocFile):
11670 (makeDocBookFile): Fixed calls to sgml*Tag.
11671 Simple white space clean.
11673 (simpleDocBookOnePar): Simple white space clean.
11675 * tabular.[Ch] (docBook): Renamed to docbook and got another
11676 argument to related with the pernicious mixed content.
11678 (docbookRow): Fixed calls for docbook inset method.
11680 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11682 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11683 so it's X11 independent.
11687 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11689 2002-06-15 Lyx Development team <lyx@electronia>
11691 * intl.h: Renamed getTrans to getTransManager.
11693 2002-06-14 Angus Leeming <leeming@lyx.org>
11695 * Makefile.am: nuke forgotten stl_string_fwd.h.
11697 2002-06-12 Angus Leeming <leeming@lyx.org>
11699 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11701 2002-06-13 Angus Leeming <leeming@lyx.org>
11704 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11706 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11708 * kbmap.C (getiso): add support for cyrillic and greek
11710 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11714 * BufferView_pimpl.h:
11715 * BufferView_pimpl.C: move bogus scrolling logic
11718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11721 * BufferView_pimpl.C: view->resize() change
11723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.C: topCursorVisible
11728 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11732 * lyx_gui.C: move to frontends/
11736 * lyx_main.C: changes from above
11738 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11745 * lyx_main.C: minor tidy
11747 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11749 * BufferView_pimpl.h:
11750 * BufferView_pimpl.C:
11752 * BufferView.C: make painter() const,
11755 * BufferView2.C: use screen() accessor
11758 * lyx_main.C: some minor cleanup
11760 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11762 * BufferView_pimpl.h:
11763 * BufferView_pimpl.C: remove enter/leaveView,
11766 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11771 * BufferView_pimpl.h:
11772 * BufferView_pimpl.C: only construct screen once,
11775 * lyxrc.C: remove pointless comment
11777 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11780 * BufferView.C: remove active() and belowMouse()
11782 * BufferView_pimpl.h:
11783 * BufferView_pimpl.C: use workarea() not workarea_,
11784 and make it use a scoped_ptr instead
11786 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11788 * lyx_gui.C: add debug message on BadWindow
11790 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * sp_spell.C: fdopen is not part of the C++ standard.
11794 * paragraph.C (InsetIterator): use >= instead of ==
11796 2002-06-07 Angus Leeming <leeming@lyx.org>
11798 Fixes needed to compile with Compaq cxx 6.5.
11799 * BufferView_pimpl.C:
11806 * lyxtextclasslist.C:
11811 all c-library variables have been moved into namespace std. Wrap
11812 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11817 Add a using std::abs declaration.
11819 * kbmap.h (modifier_pair):
11820 * paragraph.h (InsetTable, InsetList):
11821 * lyxfont.h (FontBits):
11822 type definition made public.
11824 * bufferlist.C (emergencyWriteAll): the compiler complains that
11825 there is more than one possible lyx::class_fun template to choose from.
11826 I re-named the void specialisation as lyx::void_class_fun.
11828 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11830 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11831 the compiler is is unable to find tostr in write_attribute.
11833 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11835 * buffer.C (sgmlError): hide #warning
11837 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11839 * xtl/*: get rid of xtl, which is not in use anyway
11841 * LyXAction.C (init):
11842 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11843 were unimplemented xtl experimentation
11845 2002-06-04 André Pönitz <poenitz@gmx.net>
11847 * lyxfunc.C: disable array operation on simple formulae
11849 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11851 * converter.C: constify a bit
11853 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11855 * lyx_gui.C: check xforms version correctly
11857 2002-04-30 Herbert Voss <voss@lyx.org>
11859 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11862 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11864 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11865 attempt to register it with a VCS)
11867 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11869 * lyx_main.C (init): honor variables LYX_DIR_13x and
11872 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11876 * lyx_main.C: fix a crash on bad command line,
11877 and give a useful exit status on error
11879 * lyxfunc.C (doImport): allow -i lyx to work
11881 2002-03-30 André Pönitz <poenitz@gmx.net>
11883 * lyxfunc.C: mathed font changes
11885 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11900 * trans_mgr.h: srcdocs, and some minor cleanups
11902 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11904 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11905 call getFont all the time)
11907 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11909 * switch from SigC signals to boost::signals
11911 2002-05-29 André Pönitz <poenitz@gmx.net>
11913 * paragraph_pimpl.C (getChar): don't call size() too often...
11915 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11917 * paragraph_pimpl.C (insertChar): do not try to update tables when
11918 appending (pos == size())
11920 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11921 in order to reduce drastically the number of comparisons needed to
11922 parse a large document
11924 2002-05-29 André Pönitz <poenitz@gmx.net>
11930 * textclasslist.[Ch]:
11931 * sp_ispell.h: whitespace change
11933 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11935 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11936 lyxaction directly now.
11938 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11942 * lyxvc.C: remove unused headers
11944 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11951 * undo_funcs.C: some cleanups. Use shared_ptr
11952 and a template for the undo stacks.
11954 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11956 * BufferView_pimpl.h:
11957 * BufferView_pimpl.C:
11964 * text2.C: use key_state/mouse_state
11966 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11968 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11971 * chset.C: change include order
11972 (loadFile): use boost regex and get rid of LRegex and LSubstring
11974 * Makefile.am (BOOST_LIBS): new variable
11975 (lyx_LDADD): use it
11977 * LaTeX.C: change include order.
11978 (scanAuxFile): use boost regex and get rid of LRegex and
11982 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11987 * FontInfo.C: moved to frontends/xforms/
11990 * FontLoader.C: moved into frontends for GUIIzation
11995 * lyxfunc.C: changes from above
11997 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11999 * LColor.C: remove spurious X include
12001 * BufferView_pimpl.C:
12006 * text2.C: move font metrics to frontends/
12008 2002-05-24 Juergen Vigna <jug@sad.it>
12010 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12011 setting the undo_cursor.
12013 * ParagraphParameters.h: include local includes first.
12015 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12017 * BufferView_pimpl.C:
12018 * BufferView_pimpl.h:
12022 * screen.C: move WorkArea into frontends/
12028 * BufferView2.C: move LyXScreen into frontends/
12032 * lyx_gui.C: move lyxlookup into frontends/xforms/
12034 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12037 * BufferView_pimpl.C:
12047 * bufferview_funcs.C:
12060 * vc-backend.C: move LyX/XFormsView into frontends/
12062 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12074 * text2.C: move Painter to frontends/
12076 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12078 * buffer.C: comment out some some code that depend upon lyx_format
12081 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12082 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12084 * buffer.h (NO_COMPABILITY): turn off compability
12086 * ColorHandler.C: include scoped_array.hpp
12088 * font.C: Use more specific smart_ptr header.
12091 * ShareContainer.h: ditto
12092 * lyx_main.h: ditto
12094 * FontInfo.h: ditto
12095 * BufferView_pimpl.h: ditto
12096 * ColorHandler.h: ditto
12098 * kbmap.C (defkey): change call to shared_ptr::reset
12100 2002-05-21 Juergen Vigna <jug@sad.it>
12102 * buffer.C (insertErtContents): fix to insert ert asis if it is
12103 non empty. Skip it completely if it contains only whitespaces.
12105 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12107 * BufferView_pimpl.C:
12108 * BufferView2.C: clear selection on paste (bug 393)
12110 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12112 * DepTable.C: include ctime
12114 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12116 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12118 2002-05-14 Juergen Vigna <jug@sad.it>
12120 * text.C (breakParagraph): fixed function to honor the keepempty
12121 layout in the right maner and also to permit the right breaking
12122 algorithm on empty or non empyt keepempty paragraphs.
12124 * paragraph.C (breakParagraph): we have to check also if the par
12125 is really empty (!size()) for isempty otherwise we do the wrong
12128 2002-05-10 Juergen Vigna <jug@sad.it>
12130 * buffer.[Ch] : The following are only changes to the ert
12131 compatibility read reading old LaTeX layout and font stuff and
12132 convert it to ERTInsets.
12134 * buffer.h: added isErtInset().
12136 * buffer.C (struct ErtComp): add a fromlayout bool to check
12137 if we're inside a LaTeX layout.
12138 (isErtInset): new helper function.
12139 (insertErtContents): look for other ert insets before this one
12140 and insert the contents there, so that we don't have subsequent
12141 ERT insets with nothing between them. This way we create only one
12142 inset with multiple paragraphs. Also check if we don't insert only
12143 spaces ' ' as they are ignored anyway afterwards in the .tex file
12144 so if we have only spaces we will ignore this latex part in the
12146 (parseSingleLyXformat2Token \\layout): better compatibility when
12147 reading layout-latex stuff.
12148 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12150 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12151 stuff after reading the inset only get the information back from
12154 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12156 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12158 * LaTeXFeatures.C (getBabelOptions): New method.
12160 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * BufferView_pimpl.C (Dispatch): work around missing argument for
12165 2002-05-08 Juergen Vigna <jug@sad.it>
12167 * text.C (leftMargin): handle paragraph leftindent.
12169 * paragraph.C (writeFile): write the new \\leftindent tag.
12170 (validate): handle leftindent code.
12171 (TeXEnvironment): handle paragraphleftindent code again.
12173 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12175 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12176 for paragrap_extra indent code and new token \\leftindent.
12177 (latexParagraphs): handle the leftindent as environment.
12179 * ParameterStruct.h: added leftindent support.
12181 * ParagraphParameters.C (leftIndent): added support functions for
12182 the paragraph left indent.
12184 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12187 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12189 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12192 * text.C (computeBidiTables): No bidi in insetERT.
12194 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12197 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * version.C.in: pre 5
12201 2002-05-02 José Matos <jamatos@fep.up.pt>
12202 * buffer.C (makeDocBookFile): white space changes, add newline to
12204 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12206 * tabular.C (docBook): fix typo.
12208 2002-05-03 Juergen Vigna <jug@sad.it>
12210 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12211 change in LyXText as we can not be sure it was not freed.
12212 (drawOneRow): remove unused code.
12214 * text.C (drawInset): redo the calculation of the need_break_row as
12215 it could have a row which was already freed.
12216 (draw): look at the return value of drawInset and return false if
12217 it also returned false.
12218 (paintRowText): look at the return value of draw and return false if
12219 it also returned false.
12221 * lyxtext.h: added bool return type to drawInset() and draw() so that
12222 if we have a change in the row so that the rowbreak has to be redone
12223 we abort drawing as it will be called again.
12225 2002-05-02 Juergen Vigna <jug@sad.it>
12227 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12228 a change in the maintext also if we're inside an inset.
12229 (Dispatch): set the cursor again after a break line and after the
12230 screen has been updated as it could be we're in a different row.
12232 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12233 to set the cursor behind the pargraph with > size().
12234 (setCursor): check also for the same paragraph when checking where
12235 to put the cursor if we have a NFR inset.
12237 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12238 parts of layout read further up as it still was in the wrong
12241 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * screen.C (drawFromTo): change sine fullRebreak always return
12246 * buffer.C (parseSingleLyXformat2Token): reindent some
12248 * BufferView_pimpl.C (update): change since fullRebreak always
12250 (Dispatch): git rid of the last hardcoded "Standard"s.
12252 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12254 * text2.[Ch] (fullRebreak): make it return void now that we always
12257 2002-04-30 Juergen Vigna <jug@sad.it>
12259 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12260 ert compatibility check for "latex" layout.
12262 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12264 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12265 minipages: use col% instead of p%, and also use the current font.
12266 (makeLaTeXFile): Fix use babel condition.
12267 (parseSingleLyXformat2Token): Correct font when reading old floats.
12269 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12271 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12272 inserting list of floats.
12274 2002-04-25 Herbert Voss <voss@lyx.org>
12276 * MenuBackend.C (expand): don't add the graphics extensions to the
12279 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12281 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12282 non-existing layout, do not complain if it was the default layout
12283 of the original class (bug #342)
12285 2002-04-24 Juergen Vigna <jug@sad.it>
12287 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12288 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12290 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12292 * buffer.C (getBibkeyList): If using \bibliography, return the
12293 option field with the reference itself. Enables us to provide natbib
12294 support when using \bibliography.
12296 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12298 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12300 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12301 natbib is provided by the LaTeX class.
12303 2002-04-23 Juergen Vigna <jug@sad.it>
12305 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12308 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12310 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12312 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12314 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12315 ensuremath around textordmasculine, textordfeminine and
12318 2002-04-19 Juergen Vigna <jug@sad.it>
12320 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12321 reinitializing the buffer otherwise row-dimensions may be wrong.
12322 (update): reset also the selection cursors if they do exits otherwise
12323 their x/y positions may be wrong.
12325 * text2.C (cursorDown): don't enter the inset if we came from a row
12326 above and are one row over the inset.
12328 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12329 really leaving an inset.
12331 2002-04-18 Juergen Vigna <jug@sad.it>
12333 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12334 of the selected paragraph does not have the selected layout also if
12337 * text2.C (setLayout): fixed bug which did not change last selected
12340 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12341 changed the read and substituted \\end_float with \\end_inset!
12343 * BufferView_pimpl.C (cursorPrevious):
12344 (cursorNext): fixed to make it work with rows heigher than the work
12345 area without moving the cursor only the draw of the row.
12346 (workAreaMotionNotify): fix jumping over high rows.
12348 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12353 2002-04-16 Juergen Vigna <jug@sad.it>
12355 * text2.C (setCursor): set also the irow().
12356 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12358 (cursorDown): support for locking an inset if the x_fix value goes
12359 inside it. That way I can transverse insets too with cursor up/down.
12361 * lyxrow.h: added irow helper function same as other (i) functions.
12363 * BufferView_pimpl.C (cursorPrevious):
12364 (cursorNext): fixed for insets!
12366 2002-04-15 Juergen Vigna <jug@sad.it>
12368 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12369 position otherwise it is wrong in some cases.
12371 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12372 inside the inset before the call.
12374 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12376 * buffer.[Ch] (getBibkeyList): make it const.
12378 2002-04-12 Juergen Vigna <jug@sad.it>
12380 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12382 * text2.C (getCursorX): new helper function
12383 (setCursor): compute also ix_
12384 (setCursorFromCoordinates): set also ix.
12386 * lyxcursor.h: added ix_ and helper functions.
12388 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12390 * buffer.C (insertStringAsLines): dont break paragraph if the this
12391 paragraph is inside an inset which does not permit it!
12393 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12394 also with no chars on this paragraph.
12395 (paintRowText): only paint stuff if it's inside the workarea!
12397 * paragraph.C (breakParagraph): honor keepempty flag and break the
12398 paragraph always below not above.
12400 * BufferView2.C (unlockInset): update the paragraph layout on inset
12401 unlock as we changed paragraph in such a case.
12403 * lyxfind.C (LyXFind): clear the former selection if not found!
12405 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12406 again called in insertChar().
12408 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12409 an inset which uses the whole row!
12410 (rightMargin): ditto.
12411 (insertChar): force a rebreak if we inserted an inset!
12413 2002-03-28 Herbert Voss <voss@lyx.org>
12415 * lyxlength.[Ch]: add inBP() to get the right PS-point
12416 units (BigPoint). With inPixels we have rounding errors
12418 2002-04-11 Juergen Vigna <jug@sad.it>
12420 * text2.C (setCursorFromCoordinates): set iy to the right value.
12421 (setCursor): add check if row->previous exists!
12423 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12424 an old float_type as this was the case in the old code!
12426 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12428 * BufferView2.C (showLockedInsetCursor): use iy
12429 (fitLockedInsetCursor): ditto
12431 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12432 locked insets as there we have the right value now.
12434 * lyxcursor.C: added iy_ variable and iy functions to set to the
12435 baseline of cursor-y of the locked inset.
12437 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12438 (setCursor): fixed for insets which need a full row.
12440 * text.C (rowLastPrintable): don't ignore the last space when before
12441 an inset which needs a full row.
12442 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12443 as last character of a row when before a inset which needs a full row.
12445 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * version.C.in: update date
12449 * text2.C (fullRebreak): try to always return true and see what
12452 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12454 * MenuBackend.C (expand): use Floating::listName
12456 * FloatList.C (FloatList): add listName argument to the built-in
12459 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12460 text associated with the float.
12462 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12464 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12466 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * ShareContainer.h: add a couple of missing typenames.
12470 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12472 * lyxrc.C (getDescription): use _() correctly rather than N_().
12474 2002-03-28 Herbert Voss <voss@lyx.org>
12476 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12477 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12479 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12481 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12482 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12484 2002-03-29 Juergen Vigna <jug@sad.it>
12486 * lyxfunc.C (dispatch): add a missing fitCursor call.
12488 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12489 it was scrolled by a cursor move, so return the bool status.
12491 * BufferView.C (fitCursor): return the bool flag also to the outside
12492 world as this is needed.
12494 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12496 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12497 call the edit() as it is not needed (and wrong) IMO.
12498 (workAreaButtonPress): set the screen_first variable before evt.
12499 unlock the inset as this may change screen_first and then we have
12500 a wrong y position for the click!
12502 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12504 * MenuBackend.C (expand): another translation that I missed
12506 2002-03-28 Juergen Vigna <jug@sad.it>
12508 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12510 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12512 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12514 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12516 * MenuBackend.C (expand): fix export/view/update when there is no
12519 2002-03-27 Herbert Voss <voss@lyx.org>
12521 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12524 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12526 * bufferview_funcs.C (currentState): only show paragraph number
12527 for is DEVEL_VERSION is set.
12529 * lyxfunc.C (dispatch): put warning in INFO channel
12531 * MenuBackend.C (expand): translate the name of floats
12533 * FloatList.C (FloatList): mark the float names for translation
12535 * converter.C (convert): use LibScriptSearch
12537 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12539 * MenuBackend.C (defaults): fix default menu (we might as well get
12542 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12544 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12547 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * lyxvc.C: reorder includes.
12551 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12553 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12556 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12558 * CutAndPaste.C: change layouts earlier on paste
12559 to avoid crashing when calling getFont()
12561 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12563 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12566 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12568 * WorkArea.C: remove 'Pending' debug message.
12570 * most files: ws cleanup
12572 * buffer.[Ch]: ws changes
12574 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12576 2002-03-21 Juergen Vigna <jug@sad.it>
12578 * tabular.C (SetMultiColumn): collapse also the contents of the
12579 cells and set the last border right. Added a Buffer const * param.
12581 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12586 2002-03-19 Juergen Vigna <jug@sad.it>
12588 * text2.C (clearSelection): reset also xsel_cache.
12590 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12591 where it needs to be called (John tells us to do so too :)
12592 (selectionLost): reset sel_cache.
12594 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12596 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12598 * text2.C (setCursorIntern): put debuging code in INSETS channel
12600 2002-03-19 André Pönitz <poenitz@gmx.net>
12602 * lyxfunc.C: tiny whitespace change
12604 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12606 * ToolbarDefaults.C (init):
12607 * LyXAction.C (init):
12609 * BufferView_pimpl.C (Dispatch):
12610 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12612 2002-03-19 Allan Rae <rae@lyx.org>
12614 * exporter.C (Export): removeAutoInsets before doing anything else.
12615 While I've just introduced a dependency on BufferView this really is
12616 the best place to clean the buffer otherwise you need to cleanup in
12617 a dozen places before calling export or cleanup in a dozen functions
12620 * converter.C (runLaTeX):
12621 (scanLog): Better handling of removeAutoInsets and screen updates.
12623 * lyxfunc.C (dispatch): small whitespace changes
12625 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12627 * WorkArea.C (C_WorkAreaEvent): return a value.
12628 (event_cb): return 1 if we handled the event, 0 otherwise.
12630 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12632 2002-03-18 Juergen Vigna <jug@sad.it>
12634 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12635 (GetAdditionalWidth): ditto.
12636 (RightLine): ditto.
12639 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12640 inset if we're there actually (probably not used right now but this
12641 is the direction to go for unifying code).
12642 (paste): disable code to clear the selection.
12644 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12645 inside an InsetText and move the check further up as it is in the
12648 * text2.C (pasteSelection): set a selection over the pasted text.
12650 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12652 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12653 and libgraphics to build on Cygwin.
12655 2002-03-15 Juergen Vigna <jug@sad.it>
12657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12658 inserting an Inset into the paragraph. I know this is not the best
12659 fix but we already use current_view in CutAndPaste so we will remove
12660 all of it's using at the same time.
12662 * buffer.C (sgmlError): deactivated function till it is rewritten in
12663 the right mode, now it can create problems.
12665 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12666 before accessing it.
12668 2002-03-14 Juergen Vigna <jug@sad.it>
12670 * undo_funcs.C (textHandleUndo): do the right thing when updating
12671 the inset after the undo/redo.
12673 * text2.C (setCursor): just some testcode for #44 not ready yet.
12675 * undo_funcs.C (textHandleUndo): set the next() and previous()
12676 pointers of the paragraph to 0 before deleting otherwise we have
12677 problems with the Paragraph::[destructor].
12679 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12680 on a paragraph insertion.
12682 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * buffer.C (asciiParagraph): use += operator for char append to
12687 * paragraph.C (getFontSettings): compare >= not just >
12688 (highestFontInRange): ditto
12691 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * paragraph.C: change several algorithm to be more appripriate for
12694 the problem domain. This is lookip in FontList and in the InsetList.
12696 2002-03-13 André Pönitz <poenitz@gmx.net>
12699 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12701 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12706 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12708 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12710 * Painter.C (display): anon helper function, adjust code for this
12712 (pixmap): remove function.
12714 * Painter.h: remove private display variable.
12716 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12718 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12720 * WorkArea.[Ch]: remove figinset_canvas cruft.
12722 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * lyxtextclass.C (operator): add one item cache optimization.
12726 * bufferlist.h: doxy changes
12728 * bufferlist.C: ws changes
12730 * DepTable.[Ch] (ext_exist): place const in the right spot.
12732 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12734 (workAreaExpose): call resizeInsets when the with BufferView changes.
12735 (Dispatch): adjust for protectedBlank removal
12736 (specialChar): call updateInset if the insert went ok.
12738 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12739 specialChar instead.
12741 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12743 * BufferView.h: doxy change
12745 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12747 * lyxtextclass.C (operator[]): remove non-const version
12748 (defaultLayout): remove non-const version
12750 2002-03-12 Juergen Vigna <jug@sad.it>
12752 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12753 did resize the LyXText too.
12755 * buffer.C (readLyXformat2): set layout information on newly allocated
12758 * tabular.C (OldFormatRead): set layout information on the paragraph.
12760 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12762 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12764 2002-03-11 Juergen Vigna <jug@sad.it>
12766 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12768 (resizeCurrentBuffer): force also the insets to resize themselfes.
12769 (moveCursorUpdate): fixed up for InsetText.
12771 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12774 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12775 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12776 value of Dialogs::tooltipsEnabled().
12777 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12779 2002-03-08 Juergen Vigna <jug@sad.it>
12781 * BufferView_pimpl.C (updateInset): update inset inside inset also
12782 if it isn't inside theLockingInset().
12784 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * buffer.C (asciiParagraph): redo some of the word and line length
12788 (getLists): look for Caption instead of caption.
12790 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12792 * buffer.C (Buffer): initialize niceFile to true
12794 (makeLinuxDocFile):
12795 (makeDocBookFile): make sure niceFile is true on exit
12797 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12799 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12801 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12803 * LyXSendto.C: remove.
12804 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12805 * lyx_gui.C: remove now-redundant comment.
12806 * ColorHandler.h: remove forward declaration of class WorkArea.
12807 * lyxfunc.C: remove #include "WorkArea.h".
12809 2002-03-07 Juergen Vigna <jug@sad.it>
12811 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12812 got moved away with the DEPM and also set the inset_owner always
12813 right which before could have been omitted.
12815 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12818 wanted layout is not found.
12820 2002-03-07 Juergen Vigna <jug@sad.it>
12822 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12824 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * paragraph.C (breakParagraph): use default layout not layout of
12828 (Paragraph): clear ParagraphParameters.
12830 2002-03-06 Juergen Vigna <jug@sad.it>
12832 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12833 otherwise it would not be a valid lenght. Fixed a special case in
12834 the minipage compatibility read where we end the document with a
12837 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12838 was set as it could be 0 for InsetTexts first entry.
12840 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * paragraph.C (writeFile): if layout is empty write out
12843 defaultLayoutName().
12845 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12846 file without named layout we set layout to defaultLayoutName().
12848 2002-03-06 Juergen Vigna <jug@sad.it>
12850 * CutAndPaste.C (copySelection): set layout for new paragraph.
12852 * text.C (prepareToPrint): leave ERT inset left aligned
12853 (leftMargin): don't indent paragraphs inside ERT insets
12855 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * paragraph.C (breakParagraph): dont call clear do the work manually
12859 * paragraph.[Ch] (clear): remove function
12861 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * paragraph.C (Paragraph): dont call clear, the work has already
12866 * lyxtextclass.C (operator): assert if n is empty
12868 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12869 work manually instead.
12871 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12873 * BufferView_pimpl.C: protect selectionLost against text == 0
12875 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * text.C (breakParagraph): fix a setting layout to '0' problem.
12879 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12881 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12882 final location of file, for the included files, and graphics.
12884 2002-03-05 Juergen Vigna <jug@sad.it>
12886 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12888 2002-03-04 Juergen Vigna <jug@sad.it>
12890 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12892 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12893 last column of multicolumn cells.
12894 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12896 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12898 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12899 file if it doesn't go to a temporary file.
12901 * buffer.C (sgmlOpenTag):
12902 (sgmlCloseTag): remove extra newline insertion.
12904 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * text.C (getRowNearY): comment out debug msg
12908 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * text2.C: first -> first_y
12912 * text.C (getRowNearY): add some attemts at a possible
12913 optimization, not working.
12915 * tabular.[Ch]: add BufferParams to several function so that newly
12916 created paragraph can be initialized to he default layotu for the
12919 * tabular-old.C (ReadOld): add buf->params to call of Init
12921 * screen.C: rename text->first to text->first_y
12923 * paragraph.C (breakParagraph): always set layout in the broken
12926 * lyxtextclass.C (Read): remove lowercase
12929 (delete_layout): ditto
12931 * lyxtext.h: rename first -> first_y
12933 * lyxlayout.C (Read): remove lowercase
12936 (obsoleted_by): ditto
12938 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12940 * buffer.C (insertErtContents): add params are to InsetERT
12941 (parseSingleLyXformat2Token): add code to check if a paragraphs
12942 layout really exist.
12943 (parseSingleLyXformat2Token): add params to several inset
12945 (asciiParagraph): remove lowercase, do the layout comparisons with
12948 * BufferView_pimpl.C (cursorNext): first -> first_y
12949 (resizeCurrentBuffer): first -> first_y
12950 (updateScrollbar): first -> first_y
12951 (scrollCB): first -> first_y
12952 (workAreaMotionNotify): first -> first_y
12953 (workAreaButtonPress): first -> first_y
12954 (checkInsetHit): first -> first_y
12955 (cursorPrevious): first -> first_y
12956 (cursorNext): first -> first_y
12957 (Dispatch): add buffer_->params to severl inset contructors
12959 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12961 * lyxlayout.C (Read): remove some debug info that I forgot.
12963 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12964 clean up the code slightly.
12965 (makeLinuxDocFile): ditto
12966 (makeDocBookFile): ditto
12968 * text2.C: layout as string
12970 * text.C: layout as string
12972 * paragraph_pimpl.C: layout as string
12974 * paragraph.[Ch]: layout as string
12976 * lyxtextclasslist.[Ch]: layout as string
12978 * lyxtextclass.[Ch]: layout as string
12980 * lyxtext.h: layout as string
12982 * lyxlayout.[Ch]: layout as string
12984 * lyx_cb.C: layout as string
12986 * bufferview_funcs.C: layout as string
12988 * bufferparams.C: layout as string
12990 * buffer.C: layout as string
12992 * LyXView.[Ch]: layout as string
12994 * LaTeXFeatures.[Ch]: layout as string
12996 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12998 * BufferView_pimpl.C: change current_layout to string, remove
13003 (workAreaButtonRelease): layout as string
13005 * BufferView2.C (unlockInset): adjust
13007 * vspace.C (asLatexCommand): use an explict temp variable.
13009 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13011 * Makefile.am: use FRONTEND_*
13013 2002-03-01 Juergen Vigna <jug@sad.it>
13015 * tabular.C (SetWidthOfMulticolCell): changed to something better
13016 I hope but still work in progress.
13017 (recalculateMulticolumnsOfColumn): renamed function from
13018 recalculateMulticolCells as it is more appropriate now.
13019 (SetWidthOfCell): calculate multicols better.
13021 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13023 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13025 * lyxfunc.C (processKeySym): print sequence also if it is
13026 `deleted' (complete)
13028 * kbsequence.C (print): print sequence even if it is deleted
13029 (complete would be a better word, actually).
13031 * lyxfunc.C (dispatch): print complete options after a prefix key
13033 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13035 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13037 * text2.C (setCharFont): eliminate setCharFont code duplication.
13039 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13041 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13042 LFUN_TABULAR_FEATURE (bug #177)
13044 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13046 * Makefile.am: remove figure.h
13048 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13050 * Bufferview_pimpl.C:
13062 * text2.C: remove #include "lyx_gui_misc.h".
13064 * LaTeX.C: added #include <cstdio>
13066 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13068 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13069 that the paragraph following this one can have.
13071 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13073 * vspace.C (asLatexCommand): fix bogus gcc warning
13075 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13077 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13079 * text2.C (setLayout): get rid of redundant code
13081 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13083 * text2.C (incDepth): make sure depth cannot be increased beyond
13086 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13088 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13089 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13091 * PainterBase.h (image):
13092 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13093 a LyXImage const *.
13095 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13099 * BufferView_pimpl.C:
13100 * BufferView_pimpl.h:
13120 * sp_spell.C: remove fig inset, and the crap house of
13121 cards that follows it
13123 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13128 * os2_errortable.h:
13129 * nt_defines.h: move .h into support/
13131 * vms_defines.h: remove
13133 * WorkArea.C: add space in debug output
13137 * buffer.C: add WITH_WARNINGS
13141 * bufferlist.C: s/retrive/retrieve/, add docs
13150 * chset.C: add docs
13152 * lyxgui.C: add ID to X error handler
13154 * lyxtestclass.c: fix typo
13156 2002-02-26 Juergen Vigna <jug@sad.it>
13158 * tabular_funcs.C (write_attribute): changed so that some default
13159 attributes are not written at all.
13160 (getTokenValue): set default values before trying to read the
13161 value so we have the return value always set as default if we don't
13162 find the token we search for.
13164 * tabular.C (Write): write bools as bools not as strings!
13166 2002-02-22 Juergen Vigna <jug@sad.it>
13168 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13169 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13171 * text.C (leftMargin): don't add an indent for paragraphs inside
13172 tabular cells (fix #208).
13174 2002-02-21 José Matos <jamatos@fep.up.pt>
13176 * tabular.C (docBook): fixed support for long tables.
13178 2002-02-20 Juergen Vigna <jug@sad.it>
13180 * text2.C (getFont): get the drawing font of the Inset if this
13181 paragraph is inside an inset (only important for InsetERT for now).
13183 * buffer.C (insertErtContents): use new lanugage params in ERT
13186 * CutAndPaste.C: commenting out seemingly uneeded code.
13188 2002-02-19 Allan Rae <rae@lyx.org>
13190 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13191 Iterators might be simple to use but they also get invalidated.
13192 (removeAutoInsets): renamed saved cursor tracking variables and added
13193 some comments to clarify what everything does.
13195 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13202 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13203 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13206 * vc-backend.h: remove #include "support/syscall.h"
13210 * converter.C: rearrange #includes in Lars' approved fashion.
13212 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13213 forward declare class Timeout in the header file.
13215 * XFormsView.C: changes due to the above.
13217 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13218 similar to LyXView.
13220 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13221 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13223 2002-02-18 José Matos <jamatos@fep.up.pt>
13225 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13228 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13230 * a lot of small ws changes
13231 * add a lot of using std::XXX
13232 * use std construcs some places where approp.
13233 * use some exisint stuff from lyxfunctional where approp.
13234 * Make file changes to use partial linking (lets test this now...)
13236 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13240 remove #include "support/syscontr.h" as it's redundant. Always has been.
13248 change Systemcalls::System to Systemcalls::Wait and
13249 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13250 No change of functionality, just reflects the stripped down Systemcalls
13253 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13255 * debug.[Ch]: add a GRAPHICS type to the enum.
13257 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13259 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13261 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13264 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13266 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13267 match the changes below.
13269 * text2.C (toggleInset): if there is not editable inset at cursor
13270 position, try to see if cursor is _inside_ a collapsable inset
13273 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13275 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13276 document menu has a nice checkbox
13278 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13280 * lyxlength.C (asLatexString): change PW to output as percent of
13283 * lengthcommon.C: change '%' to 't%'
13285 * lyxfunc.C (dispatch): a few comments from Martin
13287 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13291 * BufferView_pimpl.h:
13292 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13295 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13297 * vspace.C (inPixels): fix compiler warning
13299 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13301 * lyxfunc.C (getStatus): fix status message for disabled commands.
13303 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13305 * BufferView_pimpl.C: fix crash on close buffer
13306 during selection (#227)
13308 2002-01-27 Herbert Voss <voss@lyx.org>
13310 * buffer.C: link old Figure to new graphic inset
13312 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13314 * FontLoader.C (getFontinfo): Change the latex font names in order
13315 to match the names of type1inst.
13317 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13321 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13322 (extchanged): ditto
13324 (remove_files_with_extension): ditto
13325 (remove_file): ditto
13328 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13329 document is smaller than the work area height. Do not initialize
13330 static variables to 0.
13332 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13334 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13336 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13337 LFUN_LAYOUT_PARAGRAPHS.
13339 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13340 tabular. It is possible to provide a possible cell, which will
13341 typically be the actcell from the corresponding insettabular
13343 * lyxfunc.C (getStatus): small cleanup; disable
13344 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13347 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13349 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13351 * paragraph.C (startTeXParParams):
13352 (endTeXParParams): new methods. The LaTeX code to
13353 start/end paragraph formatting
13354 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13355 empty (fixes bug #200)
13357 * vspace.C (inPixels): adapt to the change below
13358 (inPixels): [later] more cleanups (remove unused variables)
13360 * lyxlength.C (inPixels): change to use a width and a height as
13363 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13365 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13366 Replaced with \paperwidth
13368 * DepTable.C (insert): add std:: qualifier
13370 2002-01-18 Allan Rae <rae@lyx.org>
13372 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13375 * text.C (drawInset): Turned out I didn't know enough about how
13376 rebreaking worked. This fixes most of the redraw problems. I see
13377 an occasional cursor trail when a line is broken now and the cursor
13378 placement can seem out by a few pixels also after a rebreak.
13380 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13382 * buffer.C (parseSingleLyXformat2Token): update because minipage
13383 width is now a LyXLength
13385 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13387 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13390 2002-01-17 Juergen Vigna <jug@sad.it>
13392 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13394 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13395 is set correctly and the inset is updated correctly.
13397 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13399 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13400 the beginning of the loop.
13402 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13404 * lyxrc.C: improve help for use_scalable_fonts
13406 2002-01-17 Allan Rae <rae@lyx.org>
13408 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13410 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13412 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13413 make sure to set their inset_owner to the right value (bug #171)
13415 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13418 * DepTable.C: Implement mtime checking to reduce time spent doing
13421 2002-01-16 Juergen Vigna <jug@sad.it>
13423 * tabular.C (GetAdditionalHeight): one of error fixed.
13425 * lyxrc.C (output): small fix in writing use_pspell.
13427 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13429 * sp_base.h: #include LString.h
13431 2002-01-16 Allan Rae <rae@lyx.org>
13433 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13434 Can someone check this please?
13436 * text.C (drawInset): It was possible that p.row would be removed by
13437 breakAgainOneRow upsetting a few other settings. There may be another
13438 small tweak possible by setting need_break_row = 0 when p.row has been
13439 removed but I don't know enough about the logic here.
13441 2002-01-15 Allan Rae <rae@lyx.org>
13443 * text.C (insertChar): removed conditional truism.
13445 * BufferView2.C (removeAutoInsets): More tweaks.
13446 cur_par_prev could be a stray pointer. Check for trailing empty line
13447 in case last line was cur_par and only had an error inset on it.
13449 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13451 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13454 * vc-backend.C (most methods):
13455 * exporter.C (Export):
13456 * converter.C (convert):
13458 * LyXSendto.C (SendtoApplyCB):
13459 * lyxfunc.C (dispatch):
13463 * lyx_cb.C (AutoSave):
13465 * BufferView_pimpl.C (MenuInsertLyXFile):
13466 * buffer.C (runChktex): use Buffer::filePath().
13468 * buffer.h: rename filename to filename_; rename filepath to
13469 filepath_ and make it private
13470 (filePath): new method
13472 * buffer.C (writeFile): use fileName()
13475 * lyx_main.C (init): fix starting of LyX when the binary is a
13476 link from so,ewhere else.
13478 * minibuffer.C: include <cctype> for isprint
13480 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13482 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13483 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13484 name clash with InsetCollapsable's width function.
13486 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13488 * lastfiles.C: include <iterator>
13490 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13492 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13495 * buffer.C (makeLaTeXFile): ditto.
13496 Also make loop operation more transparent.
13498 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13500 * ToolbarDefaults.C: remove trailing comma closing namespace.
13502 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13504 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13507 * trans.C (Load): comment out unused variable, allowed.
13509 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13511 * minibuffer.[Ch] (append_char): new method to recieve input from the
13512 drop-down completion browser. If a key was pressed, then recieve this
13513 char and append it to the existing string.
13514 (peek_event): modify the positioning data passed to the completion
13515 browser so that it can be placed above the minibuffer rather than below.
13516 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13518 * LyXAction.C (init): alloe error-next for readonly documents.
13520 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13523 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13525 * bufferlist.C (readFile): create the buffer _after_ checking that
13528 * lyxfunc.C (verboseDispatch): fix handling of arguments
13530 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13532 * lyxrc.C: use string::erase() instead of initializing to "".
13535 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13537 * BufferView_pimpl.h:
13538 * BufferView_pimpl.C:
13541 * text2.C: tell X when we have made a selection for copying
13543 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13545 * BufferView_pimpl.C (MenuInsertLyXFile):
13546 * lyxfunc.C (menuNew):
13548 (doImport): add shortcuts to directory buttons
13550 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13553 * lyxfunc.C (setStatusMessage):
13554 (getStatusMessage): new methods
13555 (getStatus):use setStatusMessage instead of setErrorMessage
13556 (dispatch): when function is disabled, set error message here
13557 [instead of in getStatus previously]
13559 * BufferView_pimpl.C (workAreaButtonRelease): update
13560 toolbar/menubar here too.
13562 2002-01-13 Allan Rae <rae@lyx.org>
13564 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13565 Now seems indestructible. Remaining task is to audit all other
13566 code affected by deleteEmptyParagraphMechanism. One small quirk
13567 left is that an empty document with an error in the preamble can
13568 be made to report an error but no error box appears. I don't know
13570 (removeAutoInsets): Improved comments.
13572 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13575 * Thesaurus.C: update for Aiksaurus 0.14
13577 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13579 * text2.C (firstParagraph): removed member function, all uses
13580 replaces with ownerParagraph
13581 (redoParagraphs): here
13582 (updateInset): here
13583 (toggleAppendix): here
13584 * BufferView2.C (insertErrors): here
13585 (setCursorFromRow): here
13587 2002-01-13 Allan Rae <rae@lyx.org>
13589 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13590 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13591 There is still a way to segfault this although you may have to do this
13592 multiple times: Have an InsetERT with an unknown command in it.
13593 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13594 <down-arrow>, <Enter> again, View->DVI, BANG!
13596 * text2.C (setCursor):
13597 (deleteEmptyParagraphMechanism):
13598 * lyxtext.h (setCursor):
13599 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13600 Making use of the return value may help fix other bugs.
13602 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13604 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13606 * LyXView.C (updateMenubar): call MenuBar::update here
13607 (updateToolbar): but not here
13608 (showState): do not update toolbar/menubar
13610 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13611 should need to care about that.
13613 * lyxfunc.C (verboseDispatch): simplify a bit
13614 (getStatus): have a version which takes a pseudoaction, and
13615 another which requires a (kb_action,string).
13617 * LyXAction.C (retrieveActionArg): make it work also when action
13618 is not a pseudo-action.
13619 (getActionName): simplify a bit
13622 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13624 * lyxfunc.C (verboseDispatch): new families of methods with
13625 several ways to specify a command and a bool to indicate whether
13626 the command name and shortcut should be displayed in minibuffer
13627 (eventually, we could extend that to a finer bitmask like
13628 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13629 (dispatch): the pristine dispatch command which just, well,
13630 dispatchs! Note it still sets its result to minibuffer; I'm not
13633 * lyxfunc.h: remove setHintMessage
13635 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13637 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13639 * BufferView_pimpl.C (specialChar): delete new inset if we have
13640 not been able to insert it.
13642 * kbmap.C: revert to using int instead of kb_action, since all we
13643 are dealing with is pseudo-actions.
13645 * LyXAction.C (searchActionArg): change to return int instead of
13646 kb_action, since the result is a pseudoaction.
13648 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13650 * buffer.C (insertErtContents): Fix (partially) the font bug.
13652 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13654 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13655 as the other one is broken on my machine!
13657 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13660 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13662 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13664 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13665 reflect their actual use. Provide compatibility code for older lyxrc
13668 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13670 change names of popup font variables in line with the changes to lyxrc.C
13672 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13674 * buffer.C (asciiParagraph): avoid outputing a word twice after
13677 * lyxrc.C (getDescription): document that document_path and
13678 template_path can be empty.
13680 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13682 * LaTeXFeatures.C (getMacros):
13683 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13685 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13687 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13689 (getPackages): rename feature "floats" to "float". Use an array to
13690 iterate over 'simple' features (i.e. just a \usepackage). Add
13691 handling of "amsmath" (renamed from "amsstyle").
13693 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13695 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13698 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13700 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13701 FuncStaus::FuncStatus & FuncStaus::some_method().
13703 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13705 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13706 of the func_satus stuff. Edited and massaged in various ways by
13709 * lyxfunc.C (getStatus): use FuncStatus
13711 2002-01-08 Juergen Vigna <jug@sad.it>
13713 * text.C (nextBreakPoint): use function Inset::isChar().
13715 * paragraph.C (TeXOnePar): use function
13716 Inset::forceDefaultParagraphs.
13718 * buffer.C (latexParagraphs): use function
13719 Inset::forceDefaultParagraphs.
13721 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13723 * lyx_gui.C (init): set the style of the menu popups to
13724 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13726 2002-01-07 Juergen Vigna <jug@sad.it>
13728 * text.C (setHeightOfRow): small fix
13729 (prepareToPrint): don't look at alignment if we don't have the place
13732 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13734 * box.C: New file. Move the Box methods and functions out of box.h,
13735 following Lars' suggestion.
13737 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13739 * box.h: #include "support/LOstream.h", needed for inlined function.
13742 * lyxtextclasslist.C: added some using std declarations.
13744 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13746 * box.h: make signed dimensions to allow insets wider than
13747 the screen (bug #162)
13749 * BufferView_pimpl.C: add some insetHit debug
13751 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13753 * vc-backend.C: add FIXME
13755 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13757 * lyxfunc.C (getStatus): enable code for showing math font status
13760 2002-01-07 Juergen Vigna <jug@sad.it>
13762 * text.C (nextBreakPoint): removed debug output not needed anymore.
13764 2002-01-06 Juergen Vigna <jug@sad.it>
13766 * text.C (nextBreakPoint): fixed up this function we had this bug
13767 since ever but now hopefully we break row better.
13768 (insertChar): we have to check if an inset is the next char as it
13769 could now happen that a large inset is causing a break.
13771 2002-01-05 Juergen Vigna <jug@sad.it>
13773 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13774 if it doesn't like to be drawed.
13776 2002-01-04 Juergen Vigna <jug@sad.it>
13778 * BufferView2.C (lockInset): forgot to set a cursor.
13780 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13782 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13784 * FormMathsPanel.C:
13787 * form_maths_panel.C:
13788 * form_maths_panel.h:
13789 * form_maths_panel.fd: implemented sub- and super- buttons in math
13792 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13793 (or ^ space) to be used as in TeX (req'd by André).
13795 * lyxfunc.C: Allow ^ and _ again to be used both as
13796 super/subscript (mathed) and as themselves (in text).
13798 2002-01-03 Allan Rae <rae@lyx.org>
13800 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13801 "LyX" or the filename of the current buffer if it has one. This is a
13802 modified form of John Levon's patch.
13804 * XFormsView.C (setWindowTitle): also set icon title.
13806 * LyXView.h (setWindowTitle): signature changed.
13807 * XFormsView.h (setWindowTitle): ditto.
13809 2002-01-02 Juergen Vigna <jug@sad.it>
13811 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13813 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13815 * screen.C (topCursorVisible): introduce a temp var for
13816 text->cursor.row(), handle the case where this row is null. (kindo
13819 * text2.C (setCursor): add a couple of asserts.
13821 * paragraph.h (inset_iterator): add -> operator
13823 * paragraph.[Ch] (autoDeleteInsets): remove member function
13825 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13826 cursor pos correctly and handle inset deletion by itself.
13827 (insertErrors): move iterator declaration out of for expression
13829 * lyxtextclass.C: add <algorithm>
13831 * Makefile.am: added the new files to sources, removed layout.C
13833 * layout.C: removed file
13835 * layout.h: remove LYX_DUMMY_LAYOUT
13837 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13841 * lyxtextclass.[Ch]:
13842 * lyxtextclasslist.[Ch]: new files
13844 * include order changes to a lot of files, also changes because of
13847 2001-12-27 Juergen Vigna <jug@sad.it>
13849 * buffer.C (asciiParagraph): more fixes.
13851 * tabular.C (ascii): make ascii export support export of only the
13852 data separated by a column-delimiter.
13853 (ascii): better support for ascii export.
13855 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13857 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * tabular_funcs.C: use a "using std::getline" instead of the
13860 previous fix from Angus (necessary for cxx + lyxstring)
13862 2001-12-24 Juergen Vigna <jug@sad.it>
13864 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13866 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13867 problems. First check a minipage also if we have some ert-contents
13868 (not only on par->size(), second set the right depth of the paragraph
13869 on the relink to the root-paragraph-list!
13871 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13872 which then did not anymore update the main paragraphs on undo/redo!
13874 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13876 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13877 code. Support all font-changing funcs (even those which are not in
13878 menu currently). Support for reporting font settings in
13879 mathed (disabled until Andre provides a function on mathed's side).
13881 * func_status.h (toggle): small helper function to set toggle
13884 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13886 * tabular_funcs.C: getline -> std::getline
13888 2001-12-21 Juergen Vigna <jug@sad.it>
13890 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13891 accessed and could be 0 (I couldn't generate this but it seems
13894 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13897 * tabular_funcs.h: here and include iosfwd
13899 2001-12-20 Juergen Vigna <jug@sad.it>
13901 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13902 inside inset but undo_par was.
13904 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13906 * Thesaurus.C: always include <config.h> in sources.
13910 * box.h: do not include <config.h> in header files
13912 * text.C (paintLastRow): remove unused variable
13914 * text.C (transformChar):
13916 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13918 * Painter.C (text):
13919 * font.C (width): rewrite to use uppercase() instead of
13922 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13924 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13926 * lyxfind.C: clean up of find failure position change
13928 2001-12-20 Juergen Vigna <jug@sad.it>
13930 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13932 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13933 (TeXRow): added to LaTeX a single tabular row.
13934 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13935 (Latex): simplified and finally good LT-h/f support.
13936 (various_functions): just small adaptions for LT-h/f support.
13938 * tabular_funcs.[hC]: added and moved here all not classfunctions
13941 2001-12-19 Juergen Vigna <jug@sad.it>
13943 * tabular.[Ch]: better support for longtabular options (not finished
13946 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13948 * text.C (paintLastRow): use the label font instead of the font of
13949 the last character to compute the size of *_BOX. This makes more
13950 sense and avoids a crash with empty paragraphs.
13951 Use Painter::rectangle to draw EMPTY_BOX.
13953 2001-12-19 Juergen Vigna <jug@sad.it>
13955 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13956 the paragraphs if the replaced paragraph is not the first one!
13957 Tried to delete not used paragraphs but does not work yet so for
13958 now it's inside #ifdef's and by default off!
13960 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13962 * MenuBackend.C: include "lyx_main.h" instead of declaring
13963 lastfiles (actually was declared as LastFiles* instead of a
13966 2001-12-17 Juergen Vigna <jug@sad.it>
13968 * tabular.C (AppendColumn): applied John's fix
13970 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13974 * BufferView_pimpl.h:
13975 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13978 * box.h: new start of class for above
13980 * lyxfunc.C: ignore space-only minibuffer dispatches.
13981 Show the command name when it doesn't exist
13983 * minibuffer.C: don't add empty lines to the history
13985 * minibuffer.C: add a space on dropdown completion
13987 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13989 * text.C: fix line above/below drawing in insets
13991 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * lyxlength.C (LyXLength): Initialize private variables.
13995 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13997 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13998 when inserting error insets.
14000 2001-12-13 Juergen Vigna <jug@sad.it>
14002 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14003 actually sometimes the before-paragraph.
14004 (setUndo): don't clear the redostack if we're not actually undoing!
14006 2001-12-06 Juergen Vigna <jug@sad.it>
14008 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14009 and fixed redoing of main paragraph, so we can use it now ;)
14011 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14013 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14015 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14018 2001-12-13 André Pönitz <poenitz@gmx.net>
14021 * undo_func.C: minor cleanup
14023 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14025 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14026 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14027 font in urw-fonts package which is marked as -urw-fontspecific and
14028 does not work (incidentally, changing the encoding in the
14029 fonts.dir of this package to -adobe-fontspecific fixes the
14032 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14033 is a crash when undoing first paragraph (Juergen, please take a
14034 look). THis does not mean the undo fix is wrong, just that it
14037 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14038 the (Paragraph*) version when needed instead of duplicating the
14041 * text.C (workWidth): use Inset::parOwner to find out where the
14042 inset has been inserted. This is a huge performance gain for large
14043 documents with lots of insets. If Inset::parOwner is not set, fall
14044 back on the brute force method
14046 * paragraph_pimpl.C (insertInset):
14047 * paragraph.C (Paragraph):
14048 (cutIntoMinibuffer): set parOwner of insets when
14049 inserting/removing them
14051 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14053 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14059 * mathed/formulabase.C:
14060 * mathed/math_cursor.[Ch]:
14061 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14064 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14066 * lyxlength.[Ch] (operator!=): new function
14068 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14070 * text.C (workWidth): use Inset::parOwner to find out where the
14071 inset has been inserted. This is a huge performance gain for large
14072 documents with lots of insets. If Inset::parOwner is not set, fall
14073 back on the brute force method
14075 * paragraph_pimpl.C (insertInset):
14076 * paragraph.C (Paragraph):
14077 (cutIntoMinibuffer): set parOwner of insets when
14078 inserting/removing them
14080 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14082 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14084 * tabular-old.C (getTokenValue):
14085 * tabular.C (getTokenValue):
14086 (write_attribute): new versions for LyXLength
14087 (everywhere): adjust the use of widths
14089 * tabular.h: change the type of widths from string to LyXLength
14091 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14093 * paragraph.C: fixed missing line number count when exporting
14094 Environments to LaTeX file
14096 * buffer.C: added informational message for checking line numbers.
14098 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14100 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14101 paragraph, do the 'double space' part, but not the 'empty
14104 * text.C (workWidth): small optimization
14105 (getLengthMarkerHeight): use minimal size for negative lengths.
14107 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14109 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14111 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14113 2001-12-11 André Pönitz <poenitz@gmx.net>
14116 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14118 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14120 * text2.C: keep selection on a setFont()
14122 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14124 * lyx_cb.C: another bv->text misuse, from insert label
14126 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14129 * kbsequence.C: re-instate nmodifier mask
14131 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14133 * lyx_main.h: make lyxGUI private.
14135 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14137 * lyxfind.C: place the cursor correctly on failed search
14139 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14141 * text.C (getLengthMarkerHeight): for small heights, the arrows
14142 are not always on top/bottom of the text
14143 (drawLengthMarker): smaller arrows; take the left margin in
14144 account; draw also vfills.
14146 (paintLastRow): remove special code for vfill and standard spaces,
14147 since everything is handled in drawLengthMarker now.
14149 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14151 * buffer.C (insertErtContents): try to handle font and language
14152 interaction a bit better.g
14154 * ColorHandler.C (updateColor): change the hash to cover the whole
14155 LColor enum, ws cleanup
14156 (getGCLinepars): ditto
14157 (getGCLinepars): only lookup in the linecache once.
14159 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14161 * iterators.C (operator++): Make the iterator more robust
14163 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14170 * text.C: better added space drawing
14172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14175 * BufferView2.C: fix layout combo update on inset unlock
14177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14179 * Makefile.am: don't compile unused files
14181 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14185 * LyXAction.C: remove old LFUN_LAYOUTNO
14187 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14189 * paragraph_pimpl.h:
14190 * paragraph_pimpl.C: isTextAt() doesn't need font param
14192 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14195 * lyxlex.C: little cleanup
14197 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14199 * BufferView_pimpl.C: fix insertAscii for insets
14201 2001-12-05 Juergen Vigna <jug@sad.it>
14203 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14204 set the right font on the "multi" paragraph paste!
14206 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14212 * lyxlength.C: remove out-commented code.
14214 * BufferView_pimpl:
14228 * vc-backend.C: change "while(" to "while ("
14230 * lyxlength.[Ch]: add zero function to check if length is zero or
14232 * lyxgluelength.C: use it
14234 2001-12-05 Allan Rae <rae@lyx.org>
14236 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14237 Works for 2.95.3, from what I understand of Garst's reports this should
14238 work for other g++ versions. We're screwed if the abs(int) definition
14239 changed between bugfix releases of gcc.
14241 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14243 * text.C: fix chapter label offset !
14245 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14248 * text.C: fix hfill at end of line, clean up
14250 2001-12-04 Juergen Vigna <jug@sad.it>
14252 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14253 that we force an update of the inset and it's owners if neccessary.
14255 2001-12-03 Juergen Vigna <jug@sad.it>
14257 * text.C (rowLast): simplified code
14259 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14261 * lyxfunc.C: fix show options on timeout
14263 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14265 * screen.C (topCursorVisible): scroll half a page when the cursor
14266 reached top of bottom of screen
14268 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14270 * minibuffer.C: deactivate on loss of focus
14272 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14274 * vspace.[Ch] (operator!=): add operator.
14276 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14278 * BufferView_pimpl.C: refuse to open an inset when
14279 there's a selection.
14281 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14283 * BufferView_pimpl.C: allow to click on RHS of full row insets
14285 2001-11-30 Juergen Vigna <jug@sad.it>
14287 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14288 insets for undo reasons.
14290 2001-11-28 André Pönitz <poenitz@gmx.net>
14292 * vspace.[Ch]: cosmetical changes
14294 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14304 * kbsequence.C: part re-write of old kb code
14307 * WorkArea.C: remove Lgb_bug_find_hack
14309 2001-11-30 José Matos <jamatos@fep.up.pt>
14311 * buffer.C (makeDocBookFile): add a comment to point a hack.
14312 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14313 Fixed a double write of labels.
14315 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14318 * LaTeX.h Fixed bug in LaTeX class where it would not
14319 re-run latex if no depfiles were changed, but the .dvi was removed.
14321 2001-11-28 André Pönitz <poenitz@gmx.net>
14323 * all the files from the change on 2001/11/26:
14324 use lyx::layout_type instead of LyXTextClass::size_type
14325 use lyx::textclass_type instead of LyXTextClassList::size_type
14327 2001-11-29 Juergen Vigna <jug@sad.it>
14329 * text.C: added support for paragraph::isFreeSpacing()
14331 * buffer.C: same as above
14333 * paragraph.h: inserted isFreeSpacing() function to enable
14334 FreeSpacing inside InsetERT.
14336 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14337 of the paragraph's in the cut/copy buffer to 0!
14339 * text2.C (removeRow): remove the assert as it can!
14341 * lyxtext.h: added helper function firstRow returning firstrow and
14342 made firstrow private again.
14344 * BufferView2.C (lockInset): don't relock if we're already locked!
14346 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14347 the only paragraph.
14348 (removeRow): added Assert::(firstrow)
14350 * debug.C: forgot to add INSETTEXT here.
14352 2001-11-28 Juergen Vigna <jug@sad.it>
14354 * sp_spell.C (initialize): changed error text to more general
14355 spellchecker command use (not only ispell!)
14357 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14359 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14361 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14363 * vspace.C: initialise lyxgluelength on failure
14365 2001-11-28 Allan Rae <rae@lyx.org>
14367 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14368 declaration & definition that looks like a function declaration.
14370 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14372 * BufferView2.C (copy):
14373 (copyEnvironment): do not clear the selection when doing a copy.
14375 * text.C (paintFirstRow): compilation fix
14377 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14379 * tabular.C (Latex): correct line count when writing latex.
14381 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14383 * paragraph_pimpl.h:
14384 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14387 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14391 * LColor.C: change vfillline->added_space
14393 * text.C: add markers and text for added space
14395 * vspace.C: fix comment
14397 2001-11-28 André Pönitz <poenitz@gmx.net>
14399 * paragraph.C: whitespace changes
14400 * all the other files from the change on 2001/11/26:
14401 change *::pos_type into lyx::pos_type
14403 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14405 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14406 language of the document when inserting error insets.
14408 2001-11-26 André Pönitz <poenitz@gmx.net>
14410 * BufferView_pimpl.[Ch]:
14418 * paragraph_pimpl.[Ch]:
14421 * text2.C: reduce header dependencies, introduce type for positions
14423 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14425 * <various>: change to use Alert.h
14427 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14429 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14430 when encountering an unknown token.
14431 (readLyXformat2): Show an error message if there were unknown tokens.
14433 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14436 * BufferView_pimpl.C:
14440 * text2.C: use par->isInset()
14442 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14444 * paragraph_pimpl.h:
14445 * paragraph_pimpl.C: cleanup
14447 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14449 * text2.C (removeRow):
14450 * text.C (setHeightOfRow): remove useless (and costly) call to
14453 2001-11-20 Allan Rae <rae@lyx.org>
14455 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14456 Now need Inset*::checkInsertChar() to return true for appropriate
14457 cases so that the characters in the minibuffer will actually be
14460 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * text.C: change the order of the includes.
14463 (workWidth): initialize it at once.
14464 (workWidth): make maxw unsigned
14465 (setHeightOfRow): remove unused variable (inset)
14466 (selectSelectedWord): remove unused variable (inset)
14467 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14469 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14471 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14472 server is not running.
14474 (closeConnection): add debug info when server is disabled.
14476 * ColorHandler.C (getGCForeground): send debug message to GUI
14479 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14481 * kbmap.C (bind): modify because return conventions of
14482 kb_sequence::parse have changed.
14484 * kbsequence.C (parse): only ignore spaces and not any stupid
14485 control character. This avoids tests like s[i] <= ' ', which are
14486 guaranteed to fail with 8bit characters and signed chars.
14487 Change return code to string::npos when there have been no error
14488 (0 was a bad idea when error is at first character)
14490 2001-11-14 José Matos <jamatos@fep.up.pt>
14493 * buffer.C (simpleDocBookOnePar): removed unused argument.
14495 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14497 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14498 insets which are part of a word. Paragraph::isLetter takes care of
14499 that now. Use Paragraph::isInset to identify insets.
14500 (selectSelectedWord): do not test for hyphenation break.
14502 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14503 that protected spaces are considered as spaces.
14505 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14508 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14511 * lyxserver.C: fix it. and small cleanup.
14513 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14515 * BufferView_pimpl.C: use inline helpers
14518 * LaTeXFeatures.C: fix typos
14521 * Spacing.C: move spacing_string into class
14523 * ToolbarDefaults.C: move stuff into namespace anon
14525 * layout.h: update enum
14527 * lyxfunc.C: use better debug
14529 * minibuffer.h: fix typo
14533 * WorkArea.C: add and use Debug::WORKAREA
14537 * text2.C: code re-organisation, inline helpers
14539 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14541 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14542 std::vector.empty().
14544 2001-11-09 Allan Rae <rae@lyx.org>
14546 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14547 '\n's after tables. Tabular and ERT inset work now makes this no
14550 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14553 * minibuffer.C: fix crash, improve drop-down completion
14555 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14558 * lyxserver.C: invalidate fd's when doing endPipe()
14560 2001-11-08 José Matos <jamatos@fep.up.pt>
14562 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14563 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14566 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14568 2001-11-07 José Matos <jamatos@fep.up.pt>
14571 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14574 * buffer.C (sgmlOpenTag):
14575 * buffer.C (sgmlCloseTag): removed debug info.
14577 * buffer.h (sgmlOpenTag):
14578 * buffer.h (sgmlCloseTag): made public.
14580 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14582 * buffer.C (saveParamsAsDefaults):
14583 * lyx_cb.C (MenuLayoutSave): remove
14585 * LyXAction.C (init):
14587 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14589 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14591 * buffer.C (setPaperStuff): removed from here...
14593 * bufferparams.C (setPaperStuff): ... and moved there.
14595 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14599 * XFormsView.C: add support for drop-down completion
14601 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14603 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14606 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14608 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14611 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14613 * lyx_main.C: change ref to known bugs
14615 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14617 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14618 to work around older babel problems.
14620 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14622 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14624 2001-10-24 Juergen Vigna <jug@sad.it>
14626 * tabular-old.C (ReadOld): below variable changes reflected.
14628 * tabular.[Ch]: added ltType struct for longtable header/footer
14629 defines and changed all instances where they are used. Added
14630 future support for double top/bottom rows.
14632 2001-10-24 José Matos <jamatos@fep.up.pt>
14634 * buffer.h (docbookHandleCaption):
14635 * buffer.C (docbookHandleCaption): removed unused function.
14636 (makeDocBookFile): moved docbook supported version to v4.1.
14638 2001-10-24 José Matos <jamatos@fep.up.pt>
14641 * tabular.C (docbookRow): new function to export docbook code of a row.
14642 (DocBook): now honors the longtable flags.
14644 2001-10-23 José Matos <jamatos@fep.up.pt>
14647 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14648 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14650 * buffer.C (makeLinuxDocFile):
14651 (makeDocBookFile): reworked the preamble, more clean, and with
14652 support for lyx defined entities. Changed the document declaration
14653 to be more XML friendly.
14655 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14656 if we need to output XML that should be done with a filter.
14658 2001-10-22 Juergen Vigna <jug@sad.it>
14660 * sp_pspell.h (class PSpell): add alive function needed in the
14661 controller to see if the spellchecker could be started.
14663 2001-10-22 Juergen Vigna <jug@sad.it>
14665 * buffer.C (insertStringAsLines): modify the font for inserting
14666 chars in certain conditions by calling checkInsertChar(font).
14668 2001-10-19 Juergen Vigna <jug@sad.it>
14670 * text.C (workWidth): use getRow instead of wrong algorithm.
14671 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14673 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14678 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14680 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14682 * text.C (workWidth): do not search for the exact row when
14683 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14684 optimization for big documents.
14686 2001-10-18 Juergen Vigna <jug@sad.it>
14688 * text.C (workWidth): new function with added Inset * parameter.
14690 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14692 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14694 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14695 change return type of getColumnNearX.
14698 * text.C (changeRegionCase): use uppercase/lowercase instead of
14701 (rightMargin): simplify code by factoring out the uses of
14706 (appendParagraph): use Paragraph::size_type
14708 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14710 * vspace.C (asLatexString): add a missing break
14712 2001-10-15 Herbert Voss <voss@perce.de>
14714 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14716 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14718 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14721 2001-10-10 André Pönitz <poenitz@gmx.net>
14723 * lyxfunc.C: removed greek_kb_flag.
14725 2001-10-10 Herbert Voss <voss@perce.de>
14727 * lyx_main.C: delete global string help_lyxdir.
14729 2001-10-09 Herbert Voss <voss@perce.de>
14731 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14733 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14735 * lyx_main.C: added global string help_lyxdir.
14737 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14739 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14741 * lyxrc.C (set_font_norm_type): support iso8859-4
14743 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14745 * LaTeX.C (deplog): add another regex for MikTeX
14747 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14749 * lyxrc.C (set_font_norm_type): support iso8859-3
14751 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14753 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14755 * LaTeXFeatures.C: remove special case of french and index
14757 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14758 before \begin{document}). This solves several incompatibilities.
14760 2001-10-03 Garst Reese <reese@isn.net>
14762 * lyx_cb.C: change CheckTex error msg.
14764 2001-10-03 José Matos <jamatos@fep.up.pt>
14766 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14768 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14770 * .cvsignore: update
14772 * lyx_main.C (commandLineVersionInfo): use new style version info.
14774 * buffer.C (writeFile):
14776 (makeLinuxDocFile):
14777 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14779 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14781 * version.h: update to use stuff in version.C
14783 * version.C.in: new file. Contains version information determined
14784 at compile time. This is a merging of version.h and
14787 2001-10-03 Juergen Vigna <jug@sad.it>
14789 * BufferView_pimpl.C (update): don't change "dirty" status in
14792 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14794 * WorkArea.C (c-tor): re-position version string slightly.
14796 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14798 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14799 revert to previous code.
14801 WorkArea.[Ch]: (show, destroySplash): methods removed.
14803 WorkArea.C: rework code so that it's an amalgam of the codes before and
14804 after the splash screen was moved to WorkArea.
14806 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * vspace.C (inPixels):
14812 * buffer.C (insertStringAsLines):
14813 (asciiParagraph): fix types to be large enough
14815 * lyxlex_pimpl.h: change member status from short to int
14817 * layout.h: fix type of endlabeltype
14820 * kbsequence.C (parse): change return type to string::size_type
14822 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14825 * Bullet.C (bulletSize):
14826 (bulletEntry): do not use short ints as parameters
14828 * BufferView2.C (insertLyXFile): change a char to an int.
14830 * WorkArea.C (WorkArea): remove unneeded floats in computation
14832 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14834 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14836 * paragraph.C (asString): Do not ignore newline/hfill chars when
14837 copying to the clipboard.
14839 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14841 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14842 after a multi-line inset.
14844 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14846 * paragraph.C (validate): Set NeedLyXFootnoteCode
14848 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14850 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14851 and decrease-error to decrease.
14853 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14855 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14856 it more readable (should be equivalent)
14858 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14860 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14862 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14865 of a cursor (row, etc.) after a character has been deleted
14866 (deleteEmptyParagraphMechanism): call the method above on _all_
14867 cursors held by the LyXText when a double space has been
14870 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14872 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14874 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14876 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14877 background. Use greyOut() and the new show() methods to toggle between
14878 the foreground and background. Add code to remove the splash after
14879 its initial showing.
14881 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14882 (create_forms): no longer call Dialogs::showSplash.
14884 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14886 * .cvsignore: add version_info.h
14888 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14890 * version_info.h.in: new file
14892 * Makefile.am: add version_info.h.in
14894 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14895 version_info.h instead of VERSION_INFO
14897 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14899 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14900 The ERT inset now returns string().
14902 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14904 * lyxtext.h, text.C (selectNextWord): renamed as
14905 selectNextWordToSpellcheck.
14907 * text.C (selectNextWordToSpellcheck): Modified to not select
14908 words inside an ERT inset.
14910 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * lyx_cb.C (MenuLayoutSave): change a bit the question
14914 * sp_base.h: include <sys/types.h>
14916 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14918 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14920 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14922 * several files: fix typos in user-visible strings
14924 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14926 * text2.C (pasteSelection): do not set the selection, since it
14927 will be cleared later. Actually, the intent was to fix the way the
14928 selection was set, but I figured rmoving the code was just as good.
14930 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14932 * FontLoader.C (available): Check if font is available without
14935 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14937 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14939 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14941 * lyxrc.[Ch]: added display_graphics variable and associated code.
14943 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14945 * bufferparams.C (hasClassDefaults): new method. Returns true if
14946 the buffer parameters correspond to known class defaults
14948 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14950 * XFormsView.C (show): set minimum size to the main window.
14952 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14954 * text2.C (copySelection):
14956 * lyxfind.C (LyXReplace):
14957 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14958 LyXText::selectionAsString.
14960 * paragraph.C (asString): add "label" argument to the second form
14962 * text2.C (selectionAsString): add "label" argument and pass it to
14963 Paragraph::asString.
14965 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14967 * lyx_main.C (commandLineHelp): remove version information
14969 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14971 * lyx_main.C: add -version commandline option
14973 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14975 * paragraph.h: make the optional constructor arg required instead.
14976 some modifications to other files because of this.
14978 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14980 * lyxserver.C (C_LyXComm_callback): make it static
14982 * lyx_main.C (error_handler): make it static
14984 * lyx_gui.C (LyX_XErrHandler): make it static
14986 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14988 * WorkArea.C: make the extern "C" methods static.
14990 * Makefile.am (lyx_LDADD): simplify
14992 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14994 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14995 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14997 * LyXAction.C (init):
14998 * lyxfunc.C (dispatch): associated code removal.
15000 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * lyxfont.h (isSymbolFont): shut off warning
15004 * text.C (setHeightOfRow):
15005 (getVisibleRow): fix crash with empty paragraphs which have a
15008 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15010 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15013 2001-09-04 José Matos <jamatos@fep.up.pt>
15016 * tabular.C (docbook): rename docBook method to docbook.
15018 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15020 * Makefile.am: add dependencies to main.o.
15022 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15024 * FontLoader.C (available): Return false if !lyxrc.use_gui
15026 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15028 * FontInfo.C (query):
15029 * converter.C (view):
15030 * importer.C (Import):
15031 * exporter.C (Export): Can not -> cannot.
15033 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15035 * BufferView_pimpl.C: allow to create index inset even if
15038 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15040 * buffer.C (getLists): replace boost::tie code with an explicit pair
15041 as boost::tie can break some compilers.
15043 * iterators.h: Added a std:: declaration to the return type of
15046 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15048 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15051 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15053 * iterators.[Ch]: New files. Provide paragraph iterators.
15055 * buffer.C (changeLanguage): Use paragraph iterators.
15056 (isMultiLingual): ditto
15058 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15060 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15062 * FontLoader.C: Support for cmr font.
15064 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15066 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15067 (available): New method.
15069 * FontInfo.C (getFontname): Use scalable fonts even when
15070 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15073 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15075 * converter.C (Formats::view): reverted! Incorrect fix.
15077 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15079 * converter.C (Formats::view): only output the -paper option
15080 if the dvi viewer is xdvi, thereby fixing bug #233429.
15082 2001-08-23 Herbert Voss <voss@perce>
15084 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15086 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15088 * Spacing.h (Spacing): Set space to Default on in the default
15091 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15093 * vc-backend.h (RCS::versionString): add RCS to version
15094 (CVS::versionString): add CVS to version
15096 * vc-backend.C (scanMaster): do not add CVS to version.
15097 (scanMaster): do not add RCS to version
15099 * lyxvc.C (versionString): new method
15101 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15103 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15105 * Spacing.C (set): initialize fval
15107 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15109 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15112 2001-08-16 Juergen Vigna <jug@sad.it>
15114 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15116 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15118 * BufferView_pimpl.C:
15121 * text2.C: setParagraph takes linespacing now
15123 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15125 * LyxAction.C: add internal LFUN_CITATION_INSERT
15127 * LyXView.C: actually apply fix
15129 * bufferlist.C: fix open non-existent file
15131 * lyxfind.C: fix indentation
15133 * lyxfunc.C: remove unneeded assert, fix typo
15135 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15137 * MenuBackend.C: use "Floatname List"
15139 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15141 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15142 when converting LaTeX layout to insetERT.
15143 Generate a non-collapsed float when reading old float
15145 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15147 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15150 2001-08-13 Juergen Vigna <jug@sad.it>
15152 * text.C (fill): return 0 instead of 20 as this seems to be the more
15155 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15157 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15160 2001-08-13 Juergen Vigna <jug@sad.it>
15162 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15164 (SearchBackward): comment out the unlocking of the inset_owner this
15165 should not be needed!
15167 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15169 * Many files: Remove inherit_language, and add latex_language
15171 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15172 collapsible insets.
15174 2001-08-10 Juergen Vigna <jug@sad.it>
15176 * text.C (prepareToPrint): fixed hfill-width in draw!
15178 * BufferView2.C (selectLastWord): save the selection cursor as this
15179 now is cleared in the function LyXText::clearSelection!
15181 2001-08-08 Juergen Vigna <jug@sad.it>
15183 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15184 BACKSPACE type functions.
15186 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15187 is only cutted from the document but not put in the cut-buffer, where
15188 still the old stuff should be.
15190 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15192 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15194 * tabular.C (SetWidthOfCell): fixed special case where the width
15196 (LeftLine): handle '|' in align_special.
15198 (LeftAlreadyDrawed): ditto
15199 (SetWidthOfCell): ditto
15201 2001-08-07 Juergen Vigna <jug@sad.it>
15203 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15205 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15207 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15208 * lyxlex.[hC]: ditto
15210 2001-08-06 Juergen Vigna <jug@sad.it>
15212 * text.C (getVisibleRow): fix up row clearing a bit.
15214 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15216 * minibuffer.C: make sure the X server sees the changes in the input.
15218 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15220 * paragraph.C (getFont): split into...
15221 (getLabelFont): this
15222 (getLayoutFont): and this
15223 * paragraph_pimpl.C (realizeFont): calling this
15225 * text2.C (getFont): split into...
15226 (getLayoutFont): this
15227 (getLabelFont): and this
15228 (realizeFont): all three calling this
15230 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15233 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15235 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15237 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15239 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15240 layouts from the Quote inset insertion.
15242 2001-08-03 Juergen Vigna <jug@sad.it>
15244 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15246 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15247 only if status not is already CHANGED_IN_DRAW (second level).
15249 * text.C (draw): don't set the need_break_row when inside an
15252 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15254 * buffer.C (parseSingleLyXformat2Token): handle more latex
15257 * bufferview_funcs.[hC]: change function names to
15258 begin with small char, adjust other files.
15260 2001-08-02 André Pönitz <poenitz@gmx.net>
15263 BufferView_pimpl.C: remove broken special code for math-greek
15265 2001-08-02 Juergen Vigna <jug@sad.it>
15267 * BufferView_pimpl.C (update): redone this function so that we
15268 update the text again if there was a CHANGE_IN_DRAW.
15270 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15271 (drawFromTo): added a new internal bool which is used by draw() and
15273 (general): some cursor drawing problems fixed.
15275 2001-08-01 Juergen Vigna <jug@sad.it>
15277 * lyxfind.C (LyXFind): fixed
15278 (SearchForward): ditto
15279 (SearchBackward): ditto
15281 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15282 spurius drawing of the cursor in the main area.
15284 * text2.C (status): small fix which could lead to a segfault!
15285 (clearSelection): remove unneeded BufferView param.
15287 2001-08-01 André Pönitz <poenitz@gmx.net>
15289 * lyxfunc.C: small change due to changed mathed interface
15291 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15293 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15295 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15297 * lyxfunc.c: fail gracefully if file doesn't exist
15302 * BufferView_pimpl.C: IsDirWriteable() proto changed
15304 * LyXView.C: fix updateWindowTitle() to store the last title
15306 2001-07-31 Juergen Vigna <jug@sad.it>
15308 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15309 the font (wrong since using of Paragraph::highestFontInRange).
15311 * paragraph.C (highestFontInRange): added a default_size parameter.
15313 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15314 (setHeightOfRow): reformat
15316 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15318 * converter.[hC] + affected files: move to (inital-char)lowercase
15321 * ParagraphParameters.C (ParagraphParameters): remove commented code
15323 * PainterBase.[Ch]: remove commented code
15325 * LaTeXFeatures.h: add "bool floats" for float.sty
15327 * LaTeXFeatures.C (LaTeXFeatures): init floats
15328 (require): handle float
15329 (getPackages): do it with floats
15331 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * BufferView_pimpl.C (Dispatch): improve handling of
15334 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15336 * commandtags.h: #include lyxfont.h here temporarily to avoid
15339 * bufferlist.h: include LString.h here.
15341 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15343 * text2.C (getStringToIndex): new method.
15345 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15347 * *: Reduced header file dependencies all over.
15349 2001-07-30 Baruch Even <baruch@lyx.org>
15351 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15353 2001-07-29 Baruch Even <baruch@lyx.org>
15355 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15357 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15359 * ParameterStruct.h (endif): add a default constructor to make
15360 sure that all variables is initialized.
15362 * ParagraphParameters.C (ParagraphParameters): adjust
15364 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15366 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15367 index; also, check that there is something to index, and that it
15368 does not span over several paragraphs.
15369 (doubleClick): use WHOLE_WORD_STRICT for double click.
15371 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15373 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15376 2001-07-26 Baruch Even <baruch@lyx.org>
15378 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15379 an InsetFig figure, backwards compatible reading of old figure code.
15381 2001-07-27 Juergen Vigna <jug@sad.it>
15383 * text2.C: font.realize function adaption.
15385 * text.C (draw): add a warnings lyxerr text if needed.
15387 * layout.C: font.realize function adaption.
15389 * language.C: add inherit_language and implement it's handlings
15391 * bufferview_funcs.C (StyleReset): remove language parameter from
15392 font creation (should be language_inherit now).
15394 * bufferparams.C (writeFile): handle ignore_language.
15396 * paragraph.C (getFontSettings): the language has to be resolved
15397 otherwise we have problems in LyXFont!
15399 * lyxfont.C (lyxWriteChanges): added document_language parameter
15400 (update): removed unneeded language parameter
15402 * paragraph.C (validate): fixed wrong output of color-package when
15403 using interface colors for certain fonts in certain environments,
15404 which should not seen as that on the final output.
15406 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15408 * BufferView_pimpl.C:
15413 * LyXAction.C: add thesaurus support
15416 * lyxfind.C: add "once" parameter, for thesaurus, to not
15417 move to the next match
15419 2001-07-26 Juergen Vigna <jug@sad.it>
15421 * lyxfont.C (realize): honor ignore_language too!
15424 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15426 * text.C (draw): one place more for ignore_language to not draw
15429 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15431 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15433 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15435 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15436 the minipage conversion problem.
15438 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15440 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15443 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * BufferView.h: don't forward declare WorkArea
15447 * BufferView.C: don't include WorkArea.h
15449 2001-07-25 André Pönitz <poenitz@gmx.net>
15453 * lyxfunc.C: new LFUN 'math-space'
15455 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15457 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15459 * text2.C (toggleInset): call open/close
15461 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15463 * lyxfunc.C (dispatch): add debug for the disabled case
15465 * font.C (buttonText): make similar to rectText
15467 * buffer.C (readInset): comment out parsing of insetlist and
15470 * PainterBase.C (rectText): small correction
15472 * BufferView_pimpl.C: comment out insettheorem and insetlist
15473 * LyXAction.C: ditto
15474 * commandtags.h: ditto
15476 2001-07-24 Juergen Vigna <jug@sad.it>
15478 * text.C (draw): honor the ignore_language.
15480 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15482 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15484 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15487 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15489 * lyxtext.h: remove unused (and unimplemented) methods
15491 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15493 * text.C (getVisibleRow): honor background color
15496 * Painter.h: remove default color argument for fillRectangle
15498 * text.C (backgroundColor): new method
15500 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15502 * text.C (getVisibleRow): adjust
15504 * font.[Ch] (rectText): new method, metrics
15505 (buttonText): new method, metrics
15507 * PainterBase.[hC]: make rectText and buttonText always draw and take
15510 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15512 * ToolbarDefaults.C (read):
15513 * MenuBackend.C (read): allow escaping in all strings
15515 * BufferView_pimpl.C (insertAndEditInset): new method.
15516 (Dispatch): use insertAndEditInset whenever appropriate.
15518 * BufferView_pimpl.C (insertNote): removed
15520 * BufferView_pimpl.C (smartQuote): new method, moved from
15521 BufferView; if an insetquote cannot be inserted, insert a '"'
15524 * BufferView2.C: remove insertCorrectQuote();
15526 * lyxfunc.C (getStatus): Add support for all remaingin
15527 inset-insert lfuns.
15529 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15531 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15532 command (necessary to pass " as parameter of self-insert.
15534 * text.C (selectWordWhenUnderCursor):
15535 (selectWord): add word_location parameter
15536 (selectWordWhenUnderCursor): same + remove special code for word
15538 (selectNextWord): use kind() to guess type of insetspecialchar,
15541 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15542 (insertErtContents): create ert insets as collapsed.
15543 (readInset): better compatibility code for Info inset.
15545 2001-07-20 Juergen Vigna <jug@sad.it>
15547 * lyxfunc.C (dispatch): use always LyXFind now!
15549 * text2.C (init): add a reinit flag so that the LyXText can be
15550 reinited instead of deleted and reallocated (used in InsetText).
15552 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15558 2001-07-18 Juergen Vigna <jug@sad.it>
15560 * text.C (selectNextWord): handle insets inside inset by calling
15561 always the bv->text functions so that we can go up the_locking_inset!
15563 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15564 in strange locations when inside an inset!
15566 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15567 handling to include insets.
15569 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15571 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * LyXAction.C (init):
15575 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15576 LIGATURE_BREAK, since the name is so stupid.
15578 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15580 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15583 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15585 * sp_form.[Ch]: remove.
15587 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15589 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15592 * src/buffer.C (readInset): ditto.
15594 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15596 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15597 menuSeparator(), endOfSentenceDot(), ldots() and
15598 hyphenationPoint(), which are therefore removed.
15599 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15601 * LyXAction.C (init):
15602 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15604 * paragraph.C (getWord): removed.
15606 * BufferView_pimpl.C (Dispatch): use last word or selection for
15607 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15609 * lyx_main.C (queryUserLyXDir): do not ask before creating
15610 user_dir, except if it has been named explicitely.
15612 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15614 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15615 a document of zero size.
15617 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15619 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15620 approriately in the c-tor and in require().
15621 (getPackages): output the appropriate LaTeX for natbib support.
15623 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15624 variables "use_natbib" and "use_numerical_citations" when reading the
15626 (readInset): read the various natbib cite commands.
15627 (validate): white-space change.
15629 * bufferparams.[Ch]: new variables "bool use_natbib" and
15630 "bool use_numerical_citations".
15631 (writeFile): output them in the LyX file.
15633 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15635 * lyxfunc.C (getStatus): add support for all the inset insertion
15638 * text2.C (insertInset):
15639 * paragraph.C (insetAllowed):
15640 * BufferView_pimpl.C (insertInset): update to take in account the
15641 renaming of insertInsetAllowed
15643 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15645 * text2.C (getInset): new method. returns inset at cursor position.
15647 * BufferView_pimpl.C (Dispatch): changes because of this.
15649 * LyXAction.C (init): rename open-stuff to inset-toggle.
15651 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15653 * text2.C (toggleInset): renamed from openStuff; use
15656 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15658 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15660 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15662 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15664 * buffer.C (readLyXformat2): Add filename to the error dialog
15666 2001-07-18 Juergen Vigna <jug@sad.it>
15668 * tabular.C (GetCellNumber): put an assert here instead of the check!
15670 2001-07-17 Juergen Vigna <jug@sad.it>
15672 * BufferView_pimpl.C (toggleSelection): adapted too.
15674 * text.C (selectNextWord): adapted for use with insets.
15675 (selectSelectedWord): ditto
15677 2001-07-17 Juergen Vigna <jug@sad.it>
15679 * sp_spell.C (PSpell): fix initialitation order.
15681 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15683 * paragraph.C: spacing
15685 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15687 * sp_spell.C: repair language selection for pspell
15689 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15691 * lyxfunc.h: change more methods to begin with lower char.
15693 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15695 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15696 for unknown layouts.
15698 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15700 * buffer.C (readLyXformat2): Generate an error dialog if there are
15703 2001-07-16 Juergen Vigna <jug@sad.it>
15705 * sp_spell.C: always compile ISpell part.
15707 * lyxrc.C: added use_pspell entry and it's handling.
15709 2001-07-13 Juergen Vigna <jug@sad.it>
15711 * sp_spell.C: removed double includes.
15713 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15715 Consistent use of Lsstream.h:
15716 * Lsstream.h: added using std::stringstream for consistencies sake.
15718 * buffer.C: removed using std::stringstream
15720 * lyxfont.C (stateText):
15721 * paragraph.C (asString):
15722 * text.C (selectNextWord, selectSelectedWord):
15723 * text2.C (setCounter):
15724 * vspace.C (asString, asLatexString):
15725 std::ostringstream -> ostringstream.
15727 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15729 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15730 * commandtags.h: add LFUN_HELP_ABOUTLYX
15731 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15733 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15735 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15737 * lyx_gui_misc.C: remove spellchecker
15738 * lyxfunc.C: showSpellchecker
15740 * sp_ispell.h: added
15741 * sp_pspell.h: added
15742 * sp_spell.C: added
15743 * sp_form.[Ch]: removed
15744 * spellchecker.[Ch]: removed
15746 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15748 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15750 (simpleTeXSpecialChars): Simply print the input character without
15751 any special translation if pass_thru is set.
15753 * layout.h: Added bool pass_thru to layout class for being able to
15754 implement pass through of a paragraph for Literate Programming.
15756 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15757 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15758 * layout.C (Read): add "passthru" to list of layout tags and add
15759 code to set the pass_thru boolean when it is read.
15761 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15763 * trans_decl.h: remove allowed from KmodInfo
15765 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15766 remove allowed code
15769 * paragraph_pimpl.C (erase): use boost::prior
15771 * Painter.C (text): use data() instead of c_str() when length is
15773 * WorkArea.C (putClipboard): ditto
15774 * font.h (width): ditto
15776 * BufferView2.C: use it-> instead of (*it). for iterators
15778 * paragraph_pimpl.C: ditto
15779 * paragraph.C: ditto
15780 * minibuffer.C: ditto
15781 * language.C: ditto
15783 * encoding.C: ditto
15784 * counters.C: ditto
15785 * converter.C: ditto
15787 * Variables.C: ditto
15788 * TextCache.C: ditto
15789 * MenuBackend.C: ditto
15790 * LyXAction.C: ditto
15792 * FloatList.C: ditto
15793 * DepTable.C: ditto
15794 * ColorHandler.C (LyXColorHandler): ditto
15796 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15798 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15800 * text2.C (openStuff): reintroduce this method (which had been
15801 nuked in NEW_INSETS frenzy).
15803 * lyxfunc.C (Dispatch): when an action has not been handled, use
15804 its name in the error message, not its number.
15806 * paragraph.C (inInset): change method name to begin with lowercase.
15809 * text2.C: updates because of this.
15811 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15813 * ToolbarDefaults.C (add): add spaces in error message
15815 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15817 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15818 (readLyXformat2): rename return_par to first_par, use lyxlex's
15819 pushToken and remove the manual push handling.
15820 (parseSingleLyXformat2Token): add another ert comp. variable:
15821 in_tabular, rename return_par to first_par. handle newlines better
15823 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15825 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15827 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15829 * text2.C (getParFromID): removed
15831 * buffer.C (getParFromID): new method moved form lyxtext.
15832 * BufferView2.C (insertErrors): adjust
15833 (setCursorFromRow): adjust
15834 * BufferView_pimpl.C (restorePosition): adjust
15835 * lyxfunc.C (Dispatch): adjust
15836 * undo_funcs.C (textUndo): adjust
15838 (textHandleUndo): adjust
15839 (textHandleUndo): adjust
15841 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15843 * buffer.C: up' the LYX_FORMAT
15845 * lyxfont.h: turn NO_LATEX on as default
15847 * buffer.C (insertErtContents): new methods of tex style compability.
15848 (parseSingleLyXformat2Token): use it several places.
15849 * tabular.C (OldFormatRead): and here
15851 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15853 * text2.C: remove some commented code.
15856 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15857 * trans.C: changes because of the above.
15859 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15861 * text2.C (setCounter): Fix counters bug with bibliography layout.
15863 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15865 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15866 own member functions
15867 (simpleTeXSpecialChars): ditto
15869 2001-07-06 Juergen Vigna <jug@sad.it>
15871 * a lot of files: changed the access to LyXText::status and the
15872 call of undo-functions.
15874 * undo.[Ch]: added a inset_id to the undo informations.
15876 * undo_funcs.[Ch]: added and moved here all undo functions.
15878 * lyxtext.h: give the status enum a weight, made status_ a private
15879 variable and made accessor functions for it, removed the whole bunch
15880 of undo-functions as they are now in their own file, make some
15881 functions publically available. Added function ownerParagraph with
15884 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15885 made InInset() a const function, added getParFromID() function.
15887 * buffer.[Ch]: added const version for inset_iterator functions,
15888 added getInsetFromID() function.
15890 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15891 changed undo functions for new version.
15893 2001-07-05 Juergen Vigna <jug@sad.it>
15895 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15896 unknow mechanism does not call the proper constructor but only this
15897 one also if I request the other!?
15899 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15901 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15903 * text2.C (LyXText): use initialization lists.
15905 * lyxtext.h (Selection): initialize set_ and mark_
15906 (init): remove method
15908 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15910 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15912 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15914 * screen.[Ch]: change method names to begin with lowercase
15916 * BufferView_pimpl.C (updateScrollbar): simplify further and
15917 hopefully make it a bit faster.
15919 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15921 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15922 calling directly xforms functions.
15924 * Painter.C (Painter):
15925 * lyx_cb.C (MenuWrite):
15926 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15929 * lyx_gui.C: remove bogus guiruntime extern declaration.
15931 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15935 (redoDrawingOfParagraph): ditto
15936 (redoParagraphs): ditto
15937 (cutSelection): don't create a object for CutAndPaste use the
15938 static method directly
15939 (pasteSelection): ditto
15941 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15944 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15946 * modifications to some other files because of this.
15948 * Makefile.am (lyx_SOURCES): add XFormsView
15950 * XFormsView.[Ch]: new files
15952 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15953 the main window. Move the gui dependent stuff to XFormsView
15955 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * tabular.C (GetCellInset): update cur_cell also in the row/col
15958 version of this function.
15960 * lyxfunc.C: no need to include figure_form.h here.
15966 * lyxvc.C: no need to include forms.h here.
15968 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15970 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15972 * lyxfunc.C (Dispatch):
15974 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15975 constructor argument.
15977 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15979 * paragraph.C (Paragraph): dont't clear, and just set layout.
15980 (makeSameLayout): use params's copy contructor.
15982 * ParagraphParameters.[Ch] (makeSame): delete method
15984 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15986 * Variables.[Ch]: fix indentation, rename set to isSet
15988 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * lyxfunc.C (Dispatch): fix typo
15992 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15994 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15997 * bufferlist.C: include assert.h for emergencyWrite().
15999 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16001 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16002 give up at last (bug #425202) !
16004 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16010 * spellchecker.C: strip spellchecker options and bring up
16011 preferences tab instead
16013 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16015 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16016 the istringstream constructor
16018 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16020 * paragraph.C (getLayout): fix return value
16022 * paragraph.h: do not declare getLayout as inline.
16024 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16026 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16028 * lyxcursor.h (operator<): new func
16029 (operator>): new func
16030 (operator>=): new func
16031 (operator<=): new func
16033 * text.C (changeCase): use selection.start and selection.end
16034 (changeRegionCase): require from to be <= to. Require par to be a
16037 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16039 2001-06-27 Juergen Vigna <jug@sad.it>
16041 * text.C (cursorLeftOneWord): changed to return the cursor and added
16042 overlay with BufferView * parameter which calls this one.
16044 (selectWord): use new getWord function.
16045 (changeCase): renamed from changeWordCase as and extended to work
16046 also on selections.
16048 * lyxtext.h: added enum word_location
16050 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16051 changeCase as this operates now also on selections.
16053 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16055 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16057 * many files: send debug output to Debug::INFO instead of
16060 * converter.C (View):
16062 (Move): send debug output to Debug::FILES instead of console.
16064 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16066 * lyxfunc.C (getStatus): use func_status
16068 * func_status.h: new header, describing the results of
16069 LyXFunc::getStatus;
16071 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16074 2001-06-25 The LyX Project <jug@sad.it>
16076 * buffer.C (sgmlOpenTag):
16078 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16080 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16082 * text2.C: remove some dead code
16084 * tabular.C (GetCellInset): store the last cell checked (gotten)
16086 * tabular.h: add the helper for the speedup
16088 * lyxtext.h: remove some dead code
16090 2001-06-26 The LyX Project <Asger>
16092 * paragraph.C: Change export to LaTeX of alignment to
16093 \begin{center} and family for better roundtrip work with reLyX.
16095 * Tune the math drawing a bit.
16097 2001-06-25 The LyX Project <Asger>
16099 * LColor.C (LColor): New color for math background. New color
16102 2001-06-25 The LyX Project <jug@sad.it>
16104 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16106 * lyxfunc.C (Open):
16107 * bufferlist.C (newFile): do not restrict to files ending with
16110 * BufferView_pimpl.C (MenuInsertLyXFile):
16112 2001-06-24 The LyX Project <jug@sad.it>
16114 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16117 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16119 * lyxtext.h: rename most methods to begin with a small char.
16120 Lots of changes because of this.
16122 * paragraph.C (Paragraph): do not call fitToSize
16123 (erase): call Pimpl::erase
16124 (insertChar): call Pimpl::insertChar
16125 (insertInset): call Pipl::insertInset
16126 (breakParagraph): do not call fitToSize
16127 (breakParagraphConservative): do not call fitToSize
16128 (fitToSize): remove method
16130 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16132 2001-06-24 The LyX Project <Asger>
16134 * Fix Qt compilation^2
16136 2001-06-24 The LyX Project <jug@sad.it>
16138 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16139 depthHook(getDepth()-1).
16142 * ParagraphParameters.h:
16143 * ParameterStruct.h: change type of depth to unsigned int ==
16144 depth_type. Many adaptations to other files before of that.
16146 2001-06-24 The LyX Project <Asger>
16148 * Fix Qt compilation.
16150 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16152 * paragraph.h: renamed several methods to begin with small letter.
16153 several changes to many parts of the code because of this.
16155 2001-06-23 The LyX Project <jug@sad.it>
16157 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16158 rewritten to discard all double spaces when KeepEmpty is off
16159 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16160 to only handle newlines but not fiddle with spaces and friends.
16162 * lyxfunc.C (MenuNew): when doing 'new from template', use
16163 template_path as default directory
16165 2001-06-23 The LyX Project <Asger>
16167 * Clean-up of header file includes all over
16168 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16170 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16172 * paragraph.h: renamed from lyxparagraph.h
16174 2001-06-23 Asger <lyx@violet.home.sad.it>
16176 * Buffer.h: Removed Buffer::resize
16177 * BufferList.h: Removed BufferList::resize
16178 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16179 the document lazily when we change the width, or the font settings.
16181 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16183 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16185 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16187 * buffer.h: remove out of date comment
16189 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16192 * screen.C: fix "theoretical" GC leak
16194 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16196 * LaTeX.C (scanAuxFile):
16197 (deplog): remove trailing \r when reading stream (useful under
16200 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16202 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16203 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16204 and BufferView::theLockingInset(Inset*), so should use them and not
16205 access bv_->text->the_locking_inset directly.
16207 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16209 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16212 * tex-defs.h: remove old unused file
16214 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16216 * BufferView_pimpl.C: fix typo, remove minibuffer message
16217 when buffer has loaded
16219 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16221 * lyxfunc.C (Dispatch): use stringstream
16222 (MenuNew): use stringstream
16223 (Open): use stringstream
16225 * importer.C (Import): use stringstream
16227 * bufferview_funcs.C (CurrentState): use stringstream
16229 * LaTeX.C (run): use stringstream
16231 * BufferView_pimpl.C (savePosition): use stringstream
16232 (restorePosition): use stringstream
16233 (MenuInsertLyXFile): use stringstream
16235 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16248 * vspace.C: removed // -*- C++ -*- as first line.
16251 * version.h: added // -*- C++ -*- as first line.
16253 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16255 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16257 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16260 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16262 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16265 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16267 * gettext.C: include LString.h even when --disable-nls is on.
16269 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16271 * converter.h (Get): changed argument type from int to
16272 FormatList::size_type to avoid unnecessary conversion.
16274 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16277 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16279 * gettext.h: include LString.h even when --disable-nls is on.
16281 2001-06-07 Juergen Vigna <jug@sad.it>
16283 * text.C (BreakAgain): subst spaces with tabs.
16285 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16286 (resizeInsetsLyXText): set force on resizeLyXText.
16288 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16290 * gettext.h (gettext_init):
16291 (locale_init): use a real definition instead of a macro
16293 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16295 * Bufferview_pimpl.C:
16297 * LColor.C: further lcolor tidies
16299 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16301 * BufferView_pimpl.C (updateScrollbar): simplify.
16303 * BufferView2.C: don't include insets/insetinfo.h, change
16304 prototype for insertInset and call the Pimpl version. let
16305 updateInset call Pimpl version.
16307 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16308 gotoInset to BufferView::Pimpl
16310 2001-06-01 Juergen Vigna <jug@sad.it>
16312 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16313 inside a LockingInset (is the update needed at all?).
16315 2001-05-31 Juergen Vigna <jug@sad.it>
16317 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16318 here not the old one otherwise how should we compare it afterwards
16321 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16326 * FontInfo.C: bring C functions into global namespace when
16329 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * LString.h: make sure config.h has been loaded before LString.h.
16333 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16334 (one for each char read by EatLine!).
16336 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16339 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16341 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16342 to the same as the par we break from
16344 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16346 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16348 * MenuBackend.C (expand): also create menu entries for wide
16349 versions of the floats.
16351 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16353 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16355 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16356 frontends/Makefile.am
16362 * tabular.C (getTokenValue): add std::
16364 * tabular-old.C (getTokenValue): add std::
16365 (getTokenValue): ditto
16366 (getTokenValue): ditto
16368 * screen.C (ToggleSelection): adjust
16370 * lyxtext.h: put selection cursors inside a Selection struct.
16372 * lyxfunc.C (moveCursorUpdate): adjust
16374 * lyxfont.C (latexWriteStartChanges): add std::
16376 * lyxfind.C: adjust
16378 * font.h: delete with(char const *, LyXFont const &)
16380 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16382 * FontInfo.C (getFontname): add std::
16384 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16385 (workAreaButtonPress): adjust
16386 (tripleClick): adjust
16388 (moveCursorUpdate): adjust
16391 * BufferView2.C (gotoInset): adjust
16393 2001-05-30 Juergen Vigna <jug@sad.it>
16395 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16396 to check pspell I add this as default as I now have new pspell
16397 libraries and they seem to use this.
16399 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16401 * text2.C (CutSelection): make the cursor valid before the call to
16404 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16406 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16407 relied on 0 terminated strings and other horrors. Bug found due to
16408 the new assert in lyxstring!
16410 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16413 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16415 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16418 * lyxfunc.C (processKeySym): change method of getting to the
16421 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16422 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16423 * BufferView_pimpl.[Ch]: here as private methods.
16425 2001-05-28 Juergen Vigna <jug@sad.it>
16427 * text.C (SetHeightOfRow): added the update() call again as it is
16428 needed to initialize inset dimensions!
16430 2001-05-16 Juergen Vigna <jug@sad.it>
16432 * text2.C (SetCharFont): Add new function with BufferView * and
16433 bool toggleall parameters for setting insets internal fonts.
16434 (SetFont): Freeze the undo as we may change fonts in Insets and
16435 all this change should be inside only one Undo!
16437 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16438 setting font's in insets as for them we have the SetFont function!
16440 2001-05-15 Juergen Vigna <jug@sad.it>
16442 * text2.C (ClearSelection): to be sure we REALLY don't have any
16445 * tabular.C (TeXCellPreamble): fixed the left border problem for
16448 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16450 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16453 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16455 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16456 LFUN_BREAKPARAGRAPH.
16458 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16459 help test to "internal only", similar for LFUN_INSERT_URL
16461 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16462 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16463 auto_region_delete and deadkeys.
16465 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16468 * LColor.C: remove some dead entries, tidy a little
16470 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16472 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16474 (Dispatch): implement LFUN_ESCAPE
16476 * commandtags.h: add LFUN_ESCAPE
16478 * LyXAction.C (init): add entry for LFUN_ESCAPE
16480 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16481 Remove commented code.
16482 (insertNote): moved here
16483 (open_new_inset): moved here
16485 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16488 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16490 * kbmap.C (findbinding): clean it up and make it work correctly.
16492 * lyx_main.C (init): do not pass argc and argv as parameters
16494 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16496 * buffer.C: fix path for OS/2 & Win32
16500 * lyx_main.C: Added os:: class.
16502 * os2_defines.h: update
16504 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16506 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16507 better by trying again with reduced state.
16509 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16511 * lyxrc.C (read): print error about invalid key sequence only when
16512 debugging (because not all latinX keysyms are known to some X
16515 * kbsequence.C (getiso): add a few std:: qualifiers
16516 (getiso): comment out extra return statement.
16518 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16520 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16522 (Dispatch): enhance the accent inset a bit. (not perfect)
16524 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16526 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16528 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16530 * bufferlist.C (emergencyWrite): fix assert() call
16532 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16534 * text.C (InsertChar): Added trivial patch to only send the "you
16535 can not do multiple spaces this way" message once during a
16538 2001-05-08 Baruch Even <baruch@lyx.org>
16540 * Makefile.am: Changed order of libraries to get LyX to link properly
16541 with the gnome frontend.
16543 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16545 * LaTeXFeatures.h: add a std:: qualifier
16547 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16549 * paragraph.C (String): use stringstream
16551 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16553 * paragraph.C (writeFile): remove footflag arg
16555 * buffer.C (makeLaTeXFile): use stringstream
16556 (latexParagraphs): remove footnot gurba
16558 * LaTeXFeatures.C (getPackages): use stringstream
16559 (getMacros): likewise
16560 (getTClassPreamble): likewise
16561 (getFloatDefinitions): new method
16563 * paragraph.C (writeFile): reindent
16566 * WorkArea.h: revert the xpos + etc changes.
16568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16570 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16572 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16573 (pasteSelection): likewise
16574 * text2.C (CreateUndo): likewise
16576 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16578 * minibuffer.C (peek_event): temporarily reduce the functionality
16579 of the minibuffer (to allow args on lfuns)
16581 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16582 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16584 * buffer.C (readInset): add compability reading of old float
16585 lists, add reading of new style float list.
16586 (readInset): avoid reevaluation of inscmd.getCmdName()
16587 (getLists): reindent
16589 * MenuBackend.C (MenuItem): implement parsing of
16590 md_floatlistinsert and md_floatinsert.
16591 (expand::LastFiles): move initalizaton of iterators out of loop,
16592 avoid reevaluation.
16593 (expand::Documents): introduce typdedef vector<string> Strings,
16595 (expand::ExportFormats): introduce typedef vector<Format const *>
16596 Formats, and use it.
16597 (expand): implement FloatListInsert and FloatInsert.
16599 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16600 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16601 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16603 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16605 (Dispatch::LFUN_FLOAT_LIST): implement
16607 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16609 * LaTeX.C (run): Fix problem with --export code.
16611 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16613 * BufferView.[Ch] (workarea): removed.
16614 (getClipboard) new method; wrapper for workarea()->getClipboard()
16616 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16619 * WorkArea.h (width, height, xpos, ypos): These methods all
16620 returned the dimensions of the work_area sub-area of WorkArea,
16621 resulting in a position error if the WorkArea were resized. Now
16622 return the dimensions of the entire WorkArea.
16624 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16626 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16628 * LaTeX.C (deplog): correct the syntax of regex reg1
16630 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * undo.C: remove !NEW_INSETS cruft
16634 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16636 * text2.C: remove !NEW_INSETS cruft
16638 * text.C: remove !NEW_INSETS cruft
16640 * tabular.C: remove !NEW_INSETS cruft
16642 * spellchecker.C: remove !NEW_INSETS cruft
16644 * lyxtext.h: remove !NEW_INSETS cruft
16646 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16648 * lyxfunc.C: remove !NEW_INSETS cruft
16650 * lyxfind.C: remove !NEW_INSETS cruft
16652 * lyx_cb.C: remove !NEW_INSETS cruft
16654 * figureForm.C: remove !NEW_INSETS cruft
16656 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16658 * buffer.[Ch]: remove !NEW_INSETS cruft
16660 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16662 * CutAndPaste.C: remove !NEW_INSETS cruft
16664 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16666 * BufferView2.C: remove !NEW_INSETS cruft
16668 * BufferView.h: remove !NEW_INSETS cruft
16670 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16672 * Lsstream.h: include LString.h before the sstream headers to
16673 fix problem with gcc 2.95.3 and lyxstring
16675 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16677 * lyx_main.C: add using directives when needed for C functions
16678 declared in std:: namespace.
16680 2001-04-27 Juergen Vigna <jug@sad.it>
16682 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16683 (SetHeightOfRow): comment out the update call should not be needed!
16685 2001-04-13 Juergen Vigna <jug@sad.it>
16687 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16688 (LyXTabular): tried to minimize operator= operations (and realized
16689 hopfully Lars wish).
16691 2001-04-27 Juergen Vigna <jug@sad.it>
16693 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16695 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16697 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16699 * buffer.C (readInset): hack to make listof algorithm work
16701 * BufferView_pimpl.C: hack to make listof algorithm work
16703 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16705 * LyXAction.C: removed all !NEW_INSETS cruft
16706 (init): moved lfun_item in method
16708 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16710 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16712 * BufferView2.C (theLockingInset): white space.
16714 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16716 * minibuffer.C: include <iostream>
16718 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16720 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16722 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16724 * text.[Ch] (TransposeChars): new method
16726 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16728 * call message directly through LyXView instead of through LyXFunc
16729 * BufferView2.C: adjust
16730 * BufferView_pimpl.C: adjust
16731 * FontLoader.C: adjust
16733 * bufferview_funcs.C: adjust
16734 * converter.C: adjust
16735 * figureForm.C: adjust
16736 * importer.C: adjust
16738 * lyx_gui_misc.C: adjust
16739 * lyxfunc.C: adjust
16742 + more files in subdirs
16744 * lyxparagraph.h (size): move up int file
16747 * adjust all uses of Assert to lyx::Assert.
16749 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16750 lyxfunctional in namespace lyx
16751 * layout.C (hasLayout): ditto
16754 (delete_layout): ditto
16755 (NumberOfClass): ditto
16756 * converter.C (GetFormat): ditto
16761 * bufferlist.C (getFileNames): ditto
16762 (emergencyWriteAll): ditto
16765 * MenuBackend.C (hasSubmenu): ditto
16768 * BufferView_pimpl.C (getInsetByCode): ditto
16770 2001-04-18 Juergen Vigna <jug@sad.it>
16772 * vspace.C (asLatexString): fixed the 100% problem.
16774 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16776 * lyxfunc.C (Dispatch):
16778 * minibuffer.h: add a few std:: qualifiers
16780 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16782 * minibuffer.[Ch]: reimplement so that commands is initiated and
16783 run from lyxfunc, simplified som handling, and made the completion
16784 and history code for complete. wip.
16786 * lyxfunc.C (processKeySym): call message
16787 (miniDispatch): new temporary method
16788 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16789 (LFUN_MESSAGE): implement
16790 (LFUN_MESSAGE_PUSH): implement
16791 (LFUN_MESSAGE_POP): implement
16792 (initMiniBuffer): the initial/defualt minibuffer message.
16794 * lyxfont.[Ch]: inline some more getters
16796 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16798 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16800 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16801 (AutoSave): use LFUN_MESSAGE
16802 (Reconfigure): ditto
16804 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16806 * figureForm.C: use LFUN_MESSAGE
16808 * converter.C (runLaTeX): use LFUN_MESSAGE
16810 * bufferview_funcs.C: use LFUN_MESSAGE
16812 (changeDepth): ditto
16814 * bufferparams.h: use boost::
16816 * bufferlist.h: inherit privately from noncopyable
16818 * bufferlist.C (loadLyXFile): remove some commented code.
16820 * buffer.C (runChktex): use LFUN_MESSAGE
16822 * ShareContainer.h: inherit privately from noncopyable
16824 * ParagraphParameters.[hC] (depth): inline it.
16826 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16828 (message): new method
16829 (messagePush): ditto
16830 (messagePop): ditto
16831 (show): init minibuffer
16832 (showState): direct call
16834 * LaTeX.[Ch]: inherit privately from noncopyable
16835 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16836 instead of WriteStatus.
16838 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16840 * BufferView_pimpl.C (buffer): don't init minibuffer
16841 (workAreaButtonPress): use LFUN_MESSAGE
16842 (workAreaButtonRelease): ditto
16843 (savePosition): ditto
16844 (restorePosition): ditto
16845 (MenuInsertLyXFile): ditto
16846 (workAreaExpose): don't init minibuffer
16847 (update): remove commented code, simplify
16849 * BufferView2.C (openStuff): use LFUN_MESSAGE
16850 (toggleFloat): ditto
16853 (copyEnvironment): ditto
16854 (pasteEnvironment): ditto
16859 (updateInset): remove some commented code
16861 * lastfiles.h: inherit privately from noncopyable
16864 * lyx_main.h: ditto
16866 * lyxlex_pimpl.h: ditto
16868 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16869 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16870 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16872 * LyXAction.h: inherit privately from noncopyable, add methods
16873 func_begin, func_end, returning iterators to the func map.
16875 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16876 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16877 (func_begin): new method
16878 (func_end): new method
16880 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16882 (copySelection): ditto
16883 (pasteSelection): ditto
16885 * BufferView.C: whitespace change
16886 * BufferView.h: inherit privately from noncopyable
16888 2001-04-16 Allan Rae <rae@lyx.org>
16890 * tabular-old.C (l_getline):
16891 * spellchecker.C (sc_check_word):
16892 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16893 an unrecognised preprocessor directive. So ensure they're wrapped.
16895 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16897 * src/exporter.C (Export): Give an error message when path to file
16900 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16902 * LaTeX.C (deplog): Always check that foundfile exists.
16904 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16907 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16909 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16911 * tabular.[Ch] (getLabelList): implement new method
16913 * minibuffer.h: comment ouf setTiimer
16915 * minibuffer.C (ExecutingCB): constify res
16916 (peek_event): constify s
16917 (Set): constify ntext
16918 (Init): constify nicename
16920 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16922 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16923 (savePosition): use two params to Minibuffer::Set
16924 (restorePosition): ditto
16926 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16928 * lyx_main.C: include language.h
16930 * Makefile.am (lyx_main.o): add language.h
16932 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16938 * CutAndPaste.C: include gettext.h
16940 * lyxfont.h: remove old hack with ON and OFF.
16943 * lyxfont.h: do not include language.h...
16948 * bufferview_funcs.C:
16954 * paragraph.C: ... but do it here instead
16956 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16958 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16960 * tabular.C: small reformat
16962 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16965 (BreakParagraph): ditto
16966 (SetOnlyLayout): ditto
16969 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16972 * lastfiles.C: removed most using decl, add std:: where needed
16974 * buffer.C: ws changes
16976 * MenuBackend.C (class compare_format): put into anon namespace
16977 (expand): constify label, names, action, action2
16980 * text.C (SingleWidth): constify font
16981 (IsBoundary): constify rtl2
16982 (GetVisibleRow): constify ww
16984 * LaTeX.C (deplog): constify logfile
16986 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16988 (workAreaExpose): constify widthChange, heightChange
16990 * lyxrow.C (par): moved
16993 * lyxrow.h: as inlines here
16995 * lyxfont.h (shape): moved from lyxfont.C
16996 (emph): moved from lyxfont.C
16998 * lyxfont.C (LyXFont): use initialization list for all
17000 (shape): move to lyxfont.h as inline
17001 (emph): move to lyxfont.h as inline
17004 2001-04-04 Juergen Vigna <jug@sad.it>
17006 * vspace.C: had to include stdio.h for use of sscanf
17008 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17011 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17012 independent of xforms.
17014 2001-04-02 Juergen Vigna <jug@sad.it>
17016 * spellchecker.C: fixed namespace placing!
17018 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17020 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17021 the LyXParagraph * is 0.
17023 2001-03-29 Juergen Vigna <jug@sad.it>
17025 * vspace.C: added support for %, c%, p%, l%.
17026 (stringFromUnit): added helper function.
17027 (asLatexString): changed to give right results for the %-values.
17029 * buffer.C: convert the widthp in a width%.
17031 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17033 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17036 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17037 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17039 * lyx_cb.[Ch]: see above.
17041 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17045 * lyx.[Ch]: replaced by figure_form.[Ch].
17049 * lyxfunc.C: changed headers associated with above changes.
17051 2001-03-27 Juergen Vigna <jug@sad.it>
17053 * BufferView_pimpl.C: set the temporary cursor right!
17055 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17057 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17059 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17061 * LString.h: removed "using std::getline"!
17063 * BufferView_pimpl.C (Dispatch): changes due to changes in
17064 InsetInclude::Params.
17066 * buffer.C (tag_name): removed redundant break statements as they were
17067 producing lots of warnings with my compiler.
17069 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17071 * LString.h: add "using std::getline" when using the real <string>.
17073 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17075 * buffer.C: removed bitset usage.
17076 PAR_TAG moved to an anonymous name space.
17077 (tag_name): new funtion, also in the anonymous namespace.
17078 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17079 (makeDocBookFile): clean code. Completed transition from string arrays
17081 (SimpleDocBookOnePar): code clean.
17083 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17085 * tabular.C: add some comments.
17087 2001-03-22 Juergen Vigna <jug@sad.it>
17089 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17090 compatibility read a bit and fixed bug with minipage in different
17093 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17095 * buffer.C (pop_tag): removed.
17096 (push_tag): removed.
17097 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17098 array replaced with vector. Added support for CDATA sections.
17099 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17101 (makeDocBookFile): XML conformant declaration of CDATA section,
17102 fixed bug related to <emphasis> in the first paragraph char.
17103 (sgmlOpenTag): exclude empty tags.
17104 (sgmlCloseTag): ditto.
17106 * buffer.h (pop_tag): removed.
17107 (push_tag): removed.
17109 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17111 * language.h (Languages): added size_type and size().
17113 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17115 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17116 response on compability reading of minipages. One probliem is that
17117 the old usage of minipages was «flertydig»
17119 * several files here and in subdirs: don't use static at file
17120 scope use anon namespaces instead.
17122 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17124 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17125 LaTeX output. This is necessary for Literate document
17128 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17130 * buffer.C: insert hfill when needed.
17132 * tabular.C (l_getline): use string::erase, small whitespace change.
17134 * BufferView_pimpl.C: try the anon namespace.
17135 * WorkArea.C: ditto
17137 2001-03-16 Juergen Vigna <jug@sad.it>
17139 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17140 otherwise it won't open options-dialogs.
17142 * buffer.C: honor pextraWidth(p) on converting minipages.
17144 * tabular.C (l_getline): changed the functions to strip trailing \r.
17146 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17148 * BufferView_pimpl.C:
17149 * minibuffer..C: added "using SigC::slot" declaration.
17151 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17153 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17159 * paragraph.C: ditto
17161 * lyxtext.h: NO_PEXTRA
17163 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17165 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17166 * ParameterStruct.h: ditto
17167 * ParagraphParameters.h: ditto
17168 * lyxparagraph.h: ditto
17170 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17172 * buffer.C: add compability for minipage alignment.
17173 (latexParagraphs): remove unwanted pextra check.
17175 * several files: remove CXX_WORKING_NAMESPACES
17177 * buffer.C (pop_tag): tie is in namespace boost
17179 * BufferView.h: noncopyable is in namespace boost
17181 * lyx_main.h: ditto
17184 * lastfiles.h: ditto
17185 * bufferlist.h: ditto
17186 * ShareContainer.h: ditto
17188 * LyXAction.h: ditto
17191 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17193 * Merging changes from BRANCH_MVC back into HEAD.
17195 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17197 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17199 * BufferView_pimpl.C: change from intl.C
17203 * Makefile.am: move combox.*
17209 * intl.C: remove dialog (covered by prefs)
17211 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17213 * lyxfunc.C (Dispatch): removed redundant break statement.
17215 2001-03-14 Juergen Vigna <jug@sad.it>
17217 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17219 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17221 * buffer.C: add hack to fix compability reading of minipages.
17223 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17225 * buffer.C (getLists): Cleanup.
17227 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17229 * lyxfont.C (update): don't honor toggleall on font size.
17231 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17235 * Makefile.am: moved to frontends/xforms/
17239 * BufferView_pimpl.C: changes for moved mathpanel
17241 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17243 * gettext.h: fix gettext_init() in --disable-nls
17245 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17247 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17249 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17252 * lyx.h: strip external form
17254 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17256 * BufferView_pimpl.C: add comment, destroySplash()
17258 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17260 * BufferView_pimpl.C:
17264 * lyxfunc.C: use re-worked insetinclude
17266 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17268 * buffer.C: add using std::stringstream.
17270 * lyx_cb.C: readd using std::ios.
17272 * buffer.C: add using std::map.
17274 * BufferView_pimpl.C: add using std::vector.
17276 * ShareContainer.h: add std:: to swap.
17278 * buffer.h: add some typedefs
17279 * buffer.C (getLists): use them
17280 (getLists): renamed from getTocList.
17281 add a counter for the different float types and use it in the
17283 (getLists): use the same counter for the NEW_INSETS and the "non"
17286 * lyx_cb.h: remove unused items, includes, using etc.
17288 * ShareContainer.h: remove some commented code, add more comments
17289 and "documentation".
17291 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17293 * buffer.C (getTocList): make the list also when NEW_INSETS is
17296 * buffer.h: remove TocType
17298 * buffer.C (getTocList): change to return a map<string,
17299 vector<TocItem> >, implement for dynamic number of list.
17301 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17302 * text2.C (PasteSelection): adjust
17303 * CutAndPaste.C (pasteSelection): adjust
17305 * FloatList.C (FloatList): update from the new_insets branch.
17306 * Floating.[Ch]: ditto
17307 * LaTeXFeatures.C: ditto
17309 * lyxlex_pimpl.C: ditto
17311 * paragraph.C (Last): remove when NEW_INSETS is defined.
17313 * other file: changes because of the above.
17315 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17317 * lyxparagraph.h: rename next to next_, previous to previous_,
17318 make them private for NEW_INSETS. Rename Next() to next(),
17319 Previous() to previous().
17321 * other files: changes because of the above.
17323 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17326 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17329 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17331 * main.C (main): pass lyx_localedir to gettext_init().
17333 * gettext.h: remove locale_init and gettext_init macros
17335 * gettext.C (locale_init): new function
17336 (gettext_init): new function
17338 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17341 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17343 * Moved credits to frontends:
17344 * credits.[Ch]: removed
17345 * credits_form.[Ch]: removed
17346 * lyx_gui_misc.C: remove credits stuff
17349 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17351 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17353 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17354 unneeded destructor.
17356 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17357 a standalone pointer again.
17359 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17361 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17367 * ToolbarDefaults.C:
17376 * BufferView_pimpl.C: use new file dialog in GUII
17379 * lyx_cb.C: remove LayoutsCB to Toolbar
17381 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17383 * ShareContainer.h (get): add std:: qualifier
17385 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17387 * ShareContainer.h: define a proper ShareContainer::value_type
17388 type (and use typename to please compaq cxx)
17390 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17392 * lyxparagraph.h: move serveral local vars to
17393 ParameterStruct/ParagraphParameters., use ShareContainer in
17394 FontTable., make vars in FontTable private and add getter and
17397 * paragraph.C: changes because of the above.
17399 * lyxfont.h: remove copy constructor and copy assignment. (the
17400 default ones is ok), move number inside FontBits. move inlines to
17403 * lyxfont.C: add number to initializaton of statics, move several
17404 inlines here. constify several local vars. some whitespace
17405 cleanup. Dont hide outerscope variables.
17407 * Spacing.h: add two new constructors to match the set methods.
17409 * ShareContainer.h: new file, will perhaps be moved to support
17411 * ParameterStruct.h: new file
17413 * ParagraphParameters.h: new file
17415 * ParagraphParameters.C: new file
17417 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17418 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17420 * BufferView_pimpl.C: ParagraphParameter changes.
17421 * buffer.C: Likewise.
17422 * bufferview_funcs.C: Likewise.
17423 * text.C: Likewise.
17424 * text2.C: Likewise.
17426 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17428 * lyxfind.C (LyXReplace): do not redefine default argument in
17430 (IsStringInText): ditto
17431 (SearchForward): ditto
17432 (SearchBackward): ditto
17434 2001-03-06 Juergen Vigna <jug@sad.it>
17436 * lyxfind.C (IsStringInText): put parentes around expressions.
17438 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17440 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17442 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17444 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17446 * stl_string_fwd.h: add comment
17448 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17451 * tabular.C: remove unused DocBook methods
17457 killed DO_USE_DEFAULT_LANGUAGE
17459 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17461 * lyx_gui.C: do not include language.h.
17463 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17464 arguments in function implementation.
17466 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17468 * BufferView_pimpl.C: add <ctime>
17470 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17472 * BufferView_pimpl.C: add using std::find_if
17474 2001-02-27 José Matos <jamatos@fep.up.pt>
17476 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17479 2001-02-11 José Matos <jamatos@fep.up.pt>
17481 * buffer.C (makeDocBookFile): command styles now have a parameter as
17482 "title" by default.
17484 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17486 * layout_forms.[Ch]: removed
17487 * lyx_cb.[Ch]: out character
17488 * lyx_gui.C: out character
17489 * lyx_gui_misc.C: out character
17490 * bufferview_funcs.C: : out character,
17491 added toggleall as parameter in ToggleAndShow
17493 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17495 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17497 * text2.C (SetCurrentFont): Disable number property at boundary.
17499 2001-02-26 Juergen Vigna <jug@sad.it>
17501 * lyxfunc.C (getStatus): added a string argument override function so
17502 that this is correctly called from LyXFunc::Dispatch if it contains a
17503 do_not_use_argument which is used!
17504 (Dispatch): added check for "custom" export and call appropriate func.
17506 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17508 * lyxrc.C: Add language_command_local, language_use_babel and
17509 language_global_options.
17511 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17513 * buffer.C (makeLaTeXFile): Use language_use_babel and
17514 language_global_options.
17516 2001-02-23 Juergen Vigna <jug@sad.it>
17518 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17519 which works with LyXText and putted it inside BufferView. Here now we
17520 only call for that part the BufferView::Dispatch() function.
17522 * BufferView.C (Dispatch): added.
17524 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17525 functions which needs to use a LyXText over from LyXFunc.
17526 (MenuInsertLyXFile): added
17527 (getInsetByCode): added
17528 (moveCursorUpdate): added
17529 (static TEXT): added
17531 2001-02-22 Juergen Vigna <jug@sad.it>
17533 * BufferView_pimpl.C (update): call a status update to see if LyXText
17536 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17538 * vc-backend.C (revert): implement for CVS
17539 (getLog): implement for CVS
17541 2001-02-20 Juergen Vigna <jug@sad.it>
17543 * text2.C (ClearSelection): added BufferView param for inset_owner call
17545 * lyxfunc.C (TEXT): added this function and use it instead of
17546 directly owner->view()-text of getLyXText().
17548 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17550 * src/layout_forms.C: out preamble
17551 * src/layout_forms.h: out preamble
17552 * src/lyx_cb.C: out preamble
17553 * src/lyx_cb.h: out preamble
17554 * src/lyx_gui.C: out preamble
17555 * src/lyx_gui_misc.C: out preamble
17556 * src/lyxfunc.C: connect with guii preamble
17558 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17560 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17562 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17564 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17565 whether to run bibtex.
17567 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17569 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17571 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17573 * Makefile.am (lyx_SOURCES): removed bibforms.h
17575 * vspace.h: doxygen
17577 * text.C (GetVisibleRow): make several local vars const
17579 * tabular.C: small cleanup.
17581 * lyxserver.C (callback): use compare instead of strncmp
17583 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17584 inlines to after class or to paragraph.C
17586 * lyxfont.h: remove friend operator!=
17588 * converter.h: move friend bool operator< to non friend and after
17591 * combox.h: small cleanup
17593 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17594 to inlines after class def.
17596 * buffer.C (pop_tag): use string operations instead of strcmp
17598 * bmtable.c: doxygen, small cleanup
17600 * LaTeX.h: remove friend operator==
17602 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17614 * BufferView_pimpl.C:
17615 * BufferView.[Ch]: remove cruft
17617 2001-02-14 Juergen Vigna <jug@sad.it>
17619 * lyxfunc.C: removed #if 0 unused code
17621 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17623 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17625 * text2.C (SetSelection): added a BufferView * parameter
17627 2001-02-13 Juergen Vigna <jug@sad.it>
17629 * lyxfunc.C (Dispatch): fixed protected blank problem.
17630 * BufferView2.C (protectedBlank): added LyxText * parameter.
17632 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17633 (AppendColumn): same as above for column_info.
17635 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17636 (moveCursorUpdate): use a LyXText param for support of InsetText.
17638 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17639 (tripleClick): ditto
17641 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17643 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17645 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17647 * text2.C (SetSelection): set correct update status if inset_owner
17648 (ToggleFree): ditto
17650 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17652 * tabular.C: remove some commented code.
17654 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17656 * BufferView_pimpl.C: call hideSplash()
17658 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17661 * bibforms.h: remove
17664 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17665 add LFUN_CHILD_CREATE
17667 * counters.h: fix tiny typo
17672 * lyx.C: move splash to frontends/xforms/
17674 * lyx_gui_misc.C: move Include and Bibform to frontends
17676 * lyxvc.h: clarify comment
17678 * vspace.C: tiny housekeeping
17680 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17682 * text.C (PrepareToPrint): RTL Fix.
17684 * paragraph.C (GetUChar): New method.
17685 (String): Use GetUChar.
17687 * buffer.C (asciiParagraph): Use GetUChar.
17689 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17691 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17693 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17696 * buffer.C: rename to getLogName(), handle
17697 build log / latex log nicely
17699 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17702 * MenuBackend.h: remove support for reference menuitem type.
17704 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17706 * BufferView_pimpl.C: housekeeping
17707 * BufferView_pimpl.h:
17712 * minibuffer.h: move Timeout GUI-I
17714 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17716 * lyxrc.C (read): Update converters data-structures.
17718 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17720 * LaTeX.h (operator!=): add operator != for Aux_Info
17722 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17724 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17726 * LaTeXLog.C: deleted, useful code moved to Buffer
17729 * buffer.C: new function getLatexLogName()
17735 * lyxfunc.C: use frontends for LaTeX and VC logs
17737 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17739 * LaTeX.h: yet another std:: that Allan forgot.
17741 * Variables.C (set): renamed from isset(), because this clashes
17742 with some HP-UX macros (grr).
17744 2001-02-06 Allan Rae <rae@lyx.org>
17746 * LaTeX.h: Another bug fix. Missing std:: this time.
17748 2001-02-04 Allan Rae <rae@lyx.org>
17750 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17751 floats problem. I've left it commented out because it's not quite
17752 correct. It should also test that the current object is a table or
17753 figure inset. But I haven't gotten around to figuring out how to do
17754 that. I *think* it'll be something like: "table" == inset.type()
17756 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17759 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17761 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17762 all the citation/databases/styles in the auxilary file.
17763 (run): Rerun latex if there was a babel language error.
17765 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17767 * text.C (Backspace): Preserve the font when changing newline char
17769 (BreakParagraph): If the cursor is before a space, delete the space.
17771 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17773 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17775 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17776 new argument (code).
17777 (ChangeCitationsIfUnique): New method.
17779 * paragraph.C (GetPositionOfInset): Handle bibkey.
17781 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17783 * BufferView_pimpl.h: change type of Position::par_pos to
17784 LyXParagraph::size_type.
17786 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17788 * BufferView_pimpl.C (savePosition, restorePosition): Write
17789 messages to minibuffer.
17791 2001-01-28 José Matos <jamatos@fep.up.pt>
17793 * buffer.C (makeDocBookFile): adds support for document language.
17794 A silly restriction on the name of LatexCommand types where removed.
17795 Added support for CDATA sections, allows to chars unescaped, used
17796 among others in code, to avoid escape < and >.
17798 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17800 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17801 saved positions instrad of a stack. Furthermore, a position is
17802 stored using paragraph id/paragraph position.
17804 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17805 Remove LFUN_REF_BACK.
17807 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17809 * converter.C (dvipdfm_options): New method.
17811 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17813 * vspace.C (isValidLength): Fix for empty input string.
17815 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17817 * LyXAction.C (init): change description of LFUN_FIGURE to
17820 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17822 * LaTeX.C: add using directive
17824 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17826 * MenuBackend.C (expand): Fix the sorting of the formats.
17828 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17830 * lyx_main.C: tiny error message fix
17832 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17834 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17835 calling fl_initialize(). This fixes the problem with ',' as
17836 decimal separator in text files.
17838 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17840 * trans.C (process): Fix the keymap bug.
17842 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17844 * LaTeX.C (scanAuxFiles): New method. Provides support for
17845 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17846 (scanLogFile) Scan for "run BibTeX" messages.
17848 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17849 OT1 font encoding. Also, load the aecompl package if the ae
17852 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17854 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17856 * texrow.C (increasePos): turn two error messages into debug
17859 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17861 * LaTeX.C (scanAux): Handle the \@input macro.
17862 (runBibTeX): Use scanAux().
17864 * language.C (latex_options_): New field.
17866 * LaTeXFeatures.C (getMacros): Add language macros.
17868 * buffer.C (makeLaTeXFile): Small fix.
17870 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17872 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17874 * text2.C: add a using directive.
17876 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17881 * lyxfunc.C: kill LyXBell.
17883 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17885 * text.C (IsBoundary): Remove the error message
17887 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17889 * lyxrc.C (setDefaults): Correct initialization value for
17892 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17894 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17897 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17898 and GotoNextNote().
17900 * src/LyXAction.C: Added reference-next.
17902 * text.C (InsertChar): Use contains instead of strchr.
17904 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17906 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17908 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17909 alignment commands (when needed).
17911 * text.C (InsertChar): Add ':' to number separator chars.